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
| { | |
| "pools" : [ | |
| { | |
| "url" : "POOL_URL", | |
| "user" : "USER", | |
| "pass" : "PASS" | |
| } | |
| ] | |
| , | |
| "intensity" : "18,17,17", |
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 | |
| # encoding: utf-8 | |
| import npyscreen | |
| import qbtce | |
| import datetime | |
| api = qbtce.API() | |
| def parse_depth(): |
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
| # i3 config file (v4) | |
| # | |
| # Please see http://i3wm.org/docs/userguide.html for a complete reference! | |
| # | |
| # This config file uses keycodes (bindsym) and was written for the QWERTY | |
| # layout. | |
| # | |
| # To get a config file with the same key positions, but for your current | |
| # layout, use the i3-config-wizard | |
| # |
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
| # /etc/i3status.conf | |
| # i3status configuration file. | |
| # see "man i3status" for documentation. | |
| # It is important that this file is edited as UTF-8. | |
| # The following line should contain a sharp s: | |
| # ß | |
| # If the above line is not correctly displayed, fix your editor first! | |
| general { |
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
| import os | |
| import subprocess | |
| import sys | |
| path = sys.argv[1] | |
| for fname in os.listdir(path): | |
| (name, ext) = os.path.splitext(fname) | |
| if ext == '.zip': | |
| ret = subprocess.call("mkdir" + " {0}".format(name), shell=True) |
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
| from BeautifulSoup import BeautifulSoup | |
| f = open("chrome-fav.html","r") | |
| html = f.read() | |
| f.close() | |
| soup = BeautifulSoup(html) | |
| bookmarks = soup.findAll('a') | |
| # attributes: href, add_date, icon etc. |
NewerOlder