Tag: git

How to compile Incus

Incus is a manager for virtual machines and system containers. A virtual machine is an instance of an operating system that runs on a computer, along with the main operating system. A virtual machine uses hardware virtualization features for the separation from the main operating system. A system container is an instance of an operating …

Continue reading

Permanent link to this article: https://blog.simos.info/how-to-compile-incus/

Git clones vs Shallow Git clones

When cloning a Git repository, there is an option to limit the amount of history your clone will have. If you set the parameter to –depth 1, you get the least amount of history, and you create a shallow clone. The git clone man page says that you cannot push your commits if you have …

Continue reading

Permanent link to this article: https://blog.simos.info/git-clones-vs-shallow-git-clones/

Playing with Git

Git is a version control system (VCS) software that is used for source code management (SCM). There are several examples of VCS software, such as CVS and SVN. What makes Git different is that it is a distributed VCS, that is, a DVCS. Being a DVCS, when you use Git you create fully capable local …

Continue reading

Permanent link to this article: https://blog.simos.info/playing-with-git/

Converting between XKB and XML

I completed the stage that takes keyboard layout files from XKB (X.Org) and converts them to XML documents, based on a keyboard layout Relax NG schema. Then, these XML documents can also be converted back to keyboard layout files. Here is an imaginary example of a keyboard layout file. // Keyboard layout for the Zzurope …

Continue reading

Permanent link to this article: https://blog.simos.info/converting-between-xkb-and-xml/

ANTLR grammar for XKB, and Relax NG schema (draft)

I completed the ANTLRv3 grammar for symbols/ configuration files of XKB. The grammar can parse and create the abstract syntax tree (AST) for all keyboard layouts in xkeyboard-config. ANTLRv3 helps you create parsers for domain specific languages (DSL), an example of which is the configuration files in XKB. Having the ANTLRv3 grammar for a configuration …

Continue reading

Permanent link to this article: https://blog.simos.info/antlr-grammar-for-xkb-and-relax-ng-schema-draft/

Looking into the symbol files

In the previous post, we talked about the ANTLR grammar that parses the XKB layout files. The grammar is available at http://code.google.com/p/keyboardlayouteditor/source/browse. I’ll rather push to the freedesktop repository once the project is completed. Now it’s too easy for me, just doing svn commit -m something. Below you can see the relevant layout files for …

Continue reading

Permanent link to this article: https://blog.simos.info/looking-into-the-symbol-files/