I hereby claim:
- I am ivandeex on github.
- I am ivandeex (https://keybase.io/ivandeex) on keybase.
- I have a public key whose fingerprint is E5A3 B8ED 566D 0832 ABC6 8963 FD2D 747B 2D1A 4766
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| <# | |
| .SYNOPSIS | |
| Create a new desktop wallpaper from various sources and optionally overlay some text. | |
| .DESCRIPTION | |
| The script can be run manually, at logon or even as a scheduled task to update the wallpaper regularly | |
| Wallpaper sources include: | |
| - A solid colour | 
| <html><head><title>test0</title> | |
| <script src="bower_components/jquery/dist/jquery.js"></script> | |
| <script src="bower_components/sprintf/src/sprintf.js"></script> | |
| <style> | |
| table { | |
| border-collapse: collapse; | |
| } | |
| td { | |
| border: 1px solid black; | |
| transition: 0.1s ease-out; | 
Бесплатный скрипт для Photoshop: экспорт векторных слоев из PSD в SVG
https://habrahabr.ru/company/ua-hosting/blog/277673/
Как использовать скрипт
| apt-get install kexec-tools | |
| # Insert this at the top of /etc/init.d/rcS | |
| if grep -qv ' kexeced$' /proc/cmdline ;then | |
| kexec --load /vmlinuz --initrd=/initrd.img --append='root=LABEL=DOROOT kexeced' && | |
| mount -o ro,remount / && | |
| kexec -e | |
| fi | |
| # Then just use apt/dpkg to install whatever kernel you want, e.g. from http://kernel.ubuntu.com/~kernel-ppa/mainline/ | 
| # Put in const.py...: | |
| class _const: | |
| class ConstError(TypeError): | |
| pass | |
| def __setattr__(self,name,value): | |
| if self.__dict__.has_key(name): | |
| raise self.ConstError, "Can't rebind const(%s)"%name | |
| self.__dict__[name]=value | |
| import sys | |
| sys.modules[__name__]=_const() | 
| class Borg: | |
| __shared_state = {} | |
| def __init__(self): | |
| self.__dict__ = self.__shared_state | |
| # and whatever else you want in your class -- that's all! | 
| from crontab import CronTab | |
| from datetime import datetime, timedelta | |
| import time | |
| import os | |
| import xmlrpclib | |
| import urlparse | |
| import logging | |
| import json | |
| import shlex | 
| # supervisord service for sysstemd (CentOS 7.0+) | |
| # by ET-CS (https://github.com/ET-CS) | |
| [Unit] | |
| Description=Supervisor daemon | |
| [Exec] | |
| User=vanko | |
| WorkDir=/home/vanko | |
| [Service] | 
| [program:tornado] | |
| environment=PATH="/home/vanko/.virtualenvs/env1/bin" | |
| command=/home/vanko/.virtualenvs/env1/bin/python /home/vanko/app1/app.py --port=%(process_num)s |