This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python2 | |
import os, sys, dbus | |
from random import randint | |
program = os.path.basename(sys.argv[0]) | |
bus = dbus.SessionBus() | |
obj = bus.get_object("im.pidgin.purple.PurpleService", "/im/pidgin/purple/PurpleObject") | |
purple = dbus.Interface(obj, "im.pidgin.purple.PurpleInterface") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python2 | |
# -*- coding: UTF-8 -*- | |
from string import maketrans | |
from lxml import html | |
import codecs | |
import random | |
import datetime | |
import os | |
import time |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: app/helpers/repositories_helper.rb | |
=================================================================== | |
--- app/helpers/repositories_helper.rb (revision 5885) | |
+++ app/helpers/repositories_helper.rb (working copy) | |
@@ -79,7 +79,7 @@ | |
def render_changes_tree(tree) | |
return '' if tree.nil? | |
- output = '' | |
+ output = '' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
from __future__ import print_function | |
import urllib | |
import sys | |
import os | |
from datetime import date, timedelta, datetime | |
from BeautifulSoup import BeautifulSoup |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
from taskw import TaskWarrior | |
import os.path, time | |
class TConky (object): | |
NONE = "--- \n" | |
CONKY_HEADER = """ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import os | |
def transmission2list(): | |
tsystem_call = "transmission-remote -l" | |
fin,fout = os.popen4(tsystem_call) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1234567;0700;Pobudka; | |
1234567;0730;Kawa, fajka, eztv; | |
1234567;0800;Zakupy, Śniadanie; | |
1234567;0900;Robota; | |
1234567;1300;Obiad serial; | |
1234567;1400;Robota; | |
1234567;1800;Telefon; | |
1234567;1900;Kawa, seriale; | |
1234567;1945;Plan na Jutro; | |
1234567;2000;Robota, zalążek roboty na jutro; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import urllib | |
import sys | |
import os | |
import re | |
import unicodecsv as csv | |
from BeautifulSoup import BeautifulSoup |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import urllib | |
import sys | |
import os | |
import unicodecsv as csv | |
import glob | |
import datetime |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Path to your oh-my-zsh configuration. | |
ZSH=$HOME/.oh-my-zsh | |
ZSH_CUSTOM=$HOME/.oh-my-zsh-custom | |
ZSH_THEME="" | |
plugins=(bundle brew gem git git-flow debian django pip python rails rake svn terminator wakeonlan) | |
vd() { wget --no-check-certificate -c http://files.malik.pro/$1 } | |
avd() { aria2c -c http://files.malik.pro/$1 } | |
gt() { grep --color=always -n -Rs $1 . } | |
gtf() { grep -Rl $1 . } |
OlderNewer