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/python | |
import argparse | |
import sys | |
import datetime | |
from xml.etree.ElementTree import ElementTree | |
from xml.etree.ElementTree import ParseError | |
tree = ElementTree() | |
parser = argparse.ArgumentParser() |
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/python | |
import argparse | |
import requests | |
import json | |
import time | |
import sqlite3 | |
""" | |
Подписки пользователя |
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
<uwsgi> | |
<plugins>python3</plugins> | |
<!--<socket>/tmp/uwsgi.sock</socket> | |
<chmod-socket>664</chmod-socket> --> | |
<chdir>/home/rino/sites/centre/centre</chdir><!-- directory contains settings.py--> | |
<virtualenv>/home/rino/django</virtualenv><!-- top-level directory of virtualenv --> | |
<socket>127.0.0.1:3031</socket> | |
<processes>4</processes> | |
<pythonpath>/home/rino/sites/centre</pythonpath> | |
<pythonpath>/home/rino/django/lib/python3.4</pythonpath> |
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 requests | |
import argparse | |
import time | |
import os | |
import sys | |
import codecs | |
import json | |
import glob | |
import re |
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
// ==UserScript== | |
// @name Juick Yandex Ads Hide | |
// @namespace ads | |
// @version 0.1 | |
// @description removes empty rectangle which contain ugly ads | |
// @match http://juick.com/* | |
// @copyright @ap-Codkelden, 2014 | |
// ==/UserScript== | |
var YandexAds = document.getElementById('yandex_ad_728'); |
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/environment | |
# key bindings | |
# setup key accordingly | |
[[ -n "${key[Insert]}" ]] && bindkey "${key[Insert]}" overwrite-mode | |
[[ -n "${key[Up]}" ]] && bindkey "${key[Up]}" up-line-or-history | |
[[ -n "${key[Down]}" ]] && bindkey "${key[Down]}" down-line-or-history | |
[[ -n "${key[Left]}" ]] && bindkey "${key[Left]}" backward-char | |
[[ -n "${key[Right]}" ]] && bindkey "${key[Right]}" forward-char |
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 os import listdir | |
from os.path import isfile, join | |
#import argparse | |
import re | |
def isinput(filename): | |
# для итерации 1 | |
# r=re.compile('Chapter\d{1,3}\.html') | |
# для итерации 2 | |
r=re.compile('Chapter\d{1,3}\.xhtml') |
NewerOlder