gergely.polonkai.eu
Gergely Polonkai: About the author
http://gergely.polonkai.eu/about
Gergely Polonkai is a systems engineer of a telco company, and also a freelancer self- and software developer. He is learning about different IT subjects since the late 1990s. These include web development, application building, systems engineering, IT security and many others. He also dug his nose deeply into free software, dealing with different types of Linux and its applications, while also writing and contributing to some open source projects. Some fun stats and links. I’m a registered Linux User :).
gergely.polonkai.eu
Gergely Polonkai
http://gergely.polonkai.eu/blog/tag/emacs
Articles under this tag. Add Python docstring to the beginning of anything in Emacs. Nov 30, 2016 : 08:52. Now that I write Python code for a living, I write a lot of functions, classes, and modules. What I still tend to forget, and also find tedious, is adding docstrings. Unlike many developers, writing documentation is not an enemy of mine, but it usually comes to my mind when I finish implementation. The procedure, roughly, is this:. Get account data programatically from id-manager. Nov 3, 2016 : 10:58.
gergely.polonkai.eu
Gergely Polonkai: Disclaimer
http://gergely.polonkai.eu/disclaimer
The content of this site. Is written by Gergely Polonkai. And is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. Therefore, views expressed on this site are my personal views and do not necessarily reflect the views of my employer. The articles and thoughts on this site are solely my own unless otherwise stated, and therefore, they do not represent (nor are they intended to represent) the positions, opinions or policies of my employer or any other company or person.
gergely.polonkai.eu
Gergely Polonkai: Edit file as another user in Emacs
http://gergely.polonkai.eu/2016/11/10/edit-file-as-other-user-in-emacs
Edit file as another user in Emacs. Nov 10, 2016 : 09:57. I have recently found this article. By Bozhidar Batsov on opening the current file as root. I barely use tramp. For sudo access, but when I do, I almost never use root as the target user. So I decided to fix it for my needs. If the user is not specified, the default is still root. Also, if the current buffer is not visiting a file, I prompt for a filename. As I’m not an. User, I didn’t bother calling. Larr; How I started with Emacs. I believe one ...
gergely.polonkai.eu
Gergely Polonkai: Finding non-translated strings in Python code
http://gergely.polonkai.eu/2016/12/22/finding-non-translated-strings-in-python-code
Finding non-translated strings in Python code. Dec 22, 2016 : 10:35. When creating multilingual software, be it on the web, mobile, or desktop, you will eventually fail to mark strings as translatable. I know, I know, we developers are superhuman and never do that, but somehow I stopped trusting myself recently, so I came up with an idea. While searching for ready made Python lexers, I bumped into the awesome. Class (among other means), which is meant to be subclassed. You add a bunch of. List (this will...
gergely.polonkai.eu
Gergely Polonkai: Rename automatically named foreign keys with Alembic
http://gergely.polonkai.eu/2017/01/02/rename-automatically-named-foreign-keys-with-alembic
Rename automatically named foreign keys with Alembic. Jan 2, 2017 : 10:41. Now I could easily drop such constraints using. Alembic.op.drop constraint('users ibfk1', 'users', type ='foreignkey'). And recreate them with. Alembic.op.create foreign key('fk user client', 'users', 'clients', ['client id'], ['id']). Larr; Finding non-translated strings in Python code. Comments powered by Disqus. Gergely Polonkai is a systems engineer of a telco company, and also a freelancer self- and software developer.
gergely.polonkai.eu
Gergely Polonkai: Resume
http://gergely.polonkai.eu/resume
Resume [ want some keywords only? I am Gergely Polonkai. Sometimes referred to as W00d5t0ck. A software developer, systems engineer and administrator. I was born on 7 March, 1983. In Budapest, Hungary. I spent my life moving here-and-there in the country, and finally settled in Veresegyház. You can reach me on gergely@polonkai.eu. Or by phone on 36 (30) 7375-706. I fluently speak and write English. And currently learning Icelandic. I have graduated in 2001. Based clients, and Debian GNU/Linux. There, tog...
gergely.polonkai.eu
Gergely Polonkai
http://gergely.polonkai.eu/blog/tag/python
Articles under this tag. Rename automatically named foreign keys with Alembic. Jan 2, 2017 : 10:41. Finding non-translated strings in Python code. Dec 22, 2016 : 10:35. When creating multilingual software, be it on the web, mobile, or desktop, you will eventually fail to mark strings as translatable. I know, I know, we developers are superhuman and never do that, but somehow I stopped trusting myself recently, so I came up with an idea. Slugify in Python 3. Dec 8, 2016 : 13:54. Nov 30, 2016 : 08:52.
gergely.polonkai.eu
Gergely Polonkai
http://gergely.polonkai.eu/blog/tag/mysql
Articles under this tag. Rename automatically named foreign keys with Alembic. Jan 2, 2017 : 10:41. Mar 5, 2013 : 13:49. Just insert it in your database, feed them two Google coordinates, and you get the distance in kilometres. If you happen to need it in miles, change the constant. Gergely Polonkai is a systems engineer of a telco company, and also a freelancer self- and software developer.