Add following line to your ~/.bash_aliases.
- tested on Ubuntu 12.04
alias scrapy_deploy='scrapy deploy; paplay --volume=65536 /usr/share/sounds/KDE-Sys-App-Positive.ogg'
| #!/usr/bin/env python | |
| from itertools import product | |
| from string import ascii_uppercase | |
| ints = [str(i) for i in range(10)] | |
| words = [''.join(i) for i in product(ascii_uppercase, repeat=3)] | |
| _nums = [''.join(i) for i in product(ints, repeat=3)] |
Add following line to your ~/.bash_aliases.
alias scrapy_deploy='scrapy deploy; paplay --volume=65536 /usr/share/sounds/KDE-Sys-App-Positive.ogg'
| #!/usr/bin/python | |
| #split vcf files | |
| import re | |
| working_dir = '/home/umair/Documents/Contacts/' | |
| input_file = 'contacts starred 26-06-2014.vcf' | |
| output_seed = 'contacts-part-' | |
| vcards_per_file = 1 |
| curl --cookie "locale=en_US" https://www.facebook.com/ |
| Open the /etc/systemd/logind.conf file in a text editor as root, for example, | |
| sudo -H gedit /etc/systemd/logind.conf | |
| Add a line HandleLidSwitch=ignore (make sure it's not commented out!), | |
| Restart the systemd daemon with this command: | |
| sudo restart systemd-logind |
| If you get this error on Ubuntu 14.04.1 LTS then you need to copy /lib/libtsocks.so | |
| $ sudo cp /lib/libtsocks.so /usr/lib/libtsocks.so |
| {"sku":"02366 20","productRef":"02366 20@1401-B1","image":"http://media.wuerth.com/stmedia/shop/348px/1337528.jpg","shortInfo":"Stahl verzinkt<br>SHR-BLA-(A2K)-M6X20","pdfCatalogPage":["http://media.wuerth.com/stmedia/shop/masterpages0000/LANG_de/03721.pdf"],"catalogSheet":"http://eshop.wuerth.de/stmedia/Blaetterkatalog/Gesamtkatalog/index.php?mode=or&searchquery=03721&hook_url=http://eshop.wuerth.de/-/","documentInfoMap":{},"cadValue":null,"showCadValue":null,"msdsInformations":[],"technicalInformation":"<table class=\"tech_table\"><tbody><tr><td class=\"tech_col_left\"><p>Nenndurchmesser</p></td><td class=\"tech_col_left\"><p>6 mm</p></td></tr><tr><td class=\"tech_col_left\"><p>Werkstoff</p></td><td class=\"tech_col_left\"><p>Stahl</p></td></tr><tr><td class=\"tech_col_left\"><p>Oberfläche</p></td><td class=\"tech_col_left\"><p>Verzinkt</p></td></tr><tr><td class=\"tech_col_left\"><p>Lochdurchmesser</p></td><td class=\"tech_col_left\"><p>8 mm</p></td></tr><tr><td class=\"tech_col_left\"><p>Länge</p></td> |
| Append following line to your ~/.profile file. | |
| export UNITY_LOW_GFX_MODE="1" | |
| Now log out and log in back. |
| $ echo $PATH | |
| ~/bin | |
| $ cat ~/bin/beep | |
| paplay /usr/share/sounds/freedesktop/stereo/complete.oga |
| Andorra | |
| Anguilla Footnote 1 | |
| Antigua and Barbuda | |
| Australia | |
| Austria | |
| Bahamas | |
| Barbados | |
| Belgium | |
| Bermuda Footnote 1 | |
| British citizens and British overseas citizens - A British citizen or a British overseas citizen who is re-admissible to the United Kingdom. |