Tag: python

How to make a snap package for lolcat with snapcraft on Ubuntu

In this post we are going to see how to make snap installation packages for a program called lolcat. What you need for this tutorial? This tutorial is similar to Snap a python application. If you first follow that tutorial, then this one will reinforce what you have learned and expand to dealing with more …

Continue reading

Permanent link to this article: https://blog.simos.info/how-to-make-a-snap-package-for-lolcat-with-snapcraft-on-ubuntu/

How to create a snap with snapcraft for howdoi (CLI utilility for stackoverflow)

In the tutorial How to create a snap for how2 (stackoverflow from the terminal) in Ubuntu 16.04 we saw how to create a snap with snapcraft for the CLI utility called how2. That was a software based on nodejs. In this post we will repeat the process for another CLI utility called howdoi by Benjamin …

Continue reading

Permanent link to this article: https://blog.simos.info/how-to-create-a-snap-with-snapcraft-for-howdoi-cli-utilility-for-stackoverflow/

Μαθήματα γλώσσας προγραμματισμού Python στα ελληνικά

Στο φόρουμ του Ubuntu-gr έχουν ξεκινήσει μαθήματα για τη γλώσσα προγραμματισμού Python. Το πρώτο μάθημα είναι για τη ρύθμιση του περιβάλλοντος Python στο σύστημά σας, οπότε μπορείτε εύκολα να λάβετε μέρος και να παρακολουθήσετε τα επόμενα βήματα. Μέσω του φόρουμ του Ubuntu-gr γίνεται και η μετάφραση στα ελληνικά ενός οδηγού εκμάθησης της γλώσσας Python, που …

Continue reading

Permanent link to this article: https://blog.simos.info/%ce%bc%ce%b1%ce%b8%ce%ae%ce%bc%ce%b1%cf%84%ce%b1-%ce%b3%ce%bb%cf%8e%cf%83%cf%83%ce%b1%cf%82-%cf%80%cf%81%ce%bf%ce%b3%cf%81%ce%b1%ce%bc%ce%bc%ce%b1%cf%84%ce%b9%cf%83%ce%bc%ce%bf%cf%8d-python-%cf%83/

The Keyboard Layout Editor

Update Dec 2010: Get the latest version of the Keyboard Layout Editor from https://github.com/simos/keyboardlayouteditor (this entry is a repost, the original was lost in a database mishap.) As part of the 2008 GSoC program, I worked on a Keyboard Layout Editor for the X.Org Foundation. The Keyboard Layout Editor (KLE) is an application that allows …

Continue reading

Permanent link to this article: https://blog.simos.info/the-keyboard-layout-editor/

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/

Parsing XKB files with antlr

antlr (well, antlr3) is an amazing tool that replaces lex/flex, yacc/bison. One would use antlr3 if they want to deal with Domain-Specific Languages (DSL), an example of which are the text configuration files. In our case, we use antlr3 to parse some of the XKB configuration files, those found in /etc/X11/xkb/symbols/??. Our aim is to …

Continue reading

Permanent link to this article: https://blog.simos.info/parsing-xkb-files-with-antlr/