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
SET DATABASE UNIQUE NAME HSQLDB4C7FC2CD20 | |
SET DATABASE GC 0 | |
SET DATABASE DEFAULT RESULT MEMORY ROWS 0 | |
SET DATABASE EVENT LOG LEVEL 0 | |
SET DATABASE TRANSACTION CONTROL LOCKS | |
SET DATABASE DEFAULT ISOLATION LEVEL READ COMMITTED | |
SET DATABASE TRANSACTION ROLLBACK ON CONFLICT TRUE | |
SET DATABASE TEXT TABLE DEFAULTS '' | |
SET DATABASE SQL NAMES FALSE | |
SET DATABASE SQL REFERENCES FALSE |
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
#!env python | |
# coding: utf-8 | |
import os | |
import sys | |
import re | |
from pprint import pprint | |
import subprocess | |
import argparse | |
from collections import OrderedDict |
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
config!version = 001002101 | |
server!bind!1!port = 80 | |
server!group = www-data | |
server!keepalive = 1 | |
server!keepalive_max_requests = 500 | |
server!panic_action = /usr/share/cherokee/cherokee-panic | |
server!pid_file = /var/run/cherokee.pid | |
server!server_tokens = full | |
server!timeout = 15 | |
server!user = www-data |
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
# coding=utf8 | |
from itertools import permutations | |
import functools | |
def muliplySets(set_a, set_b): | |
'''Возвращает сочетания элементов списков | |
Вызов muliplySets(('a', 'b'), ('c', 'd')) | |
вернет (('a', 'c'), ('a', 'd'), ('b', 'c'), ('b', 'd')) | |
''' |
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
a = ["adsfgsdfg", "q45r3465365", "aer2r32q", "asdasdasd", "6666"] | |
def encode(s): | |
class Magic(object): | |
def __eq__(self, other): | |
return True | |
s = Magic() | |
return s | |
print(encode(a[0]) == a[1]) | |
print(encode(a[1]) == a[2]) |
Having trouble installing the latest stable version of tmux?
Save yourself some time and run this little fellow!
- gcc
- wget
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 __future__ import print_function | |
from functools import partial | |
import random | |
__author__ = 'Alexey "Averrin" Nabrodov' | |
__version__ = '0.0.0' |
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
readme: | |
url: http://morroblivion.com/forums/skyrim/skyblivion-mod-releases/4122 | |
xpath: '//*[@id="node-4122"]/div[2]/div[2]/div' | |
style: 'dark' | |
versions: | |
"0.6.0": | |
components: | |
"test.7z": | |
type: archive | |
dest: 'Data' |
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
readme: | |
url: http://morroblivion.com/forums/skyrim/archived-topics/4195 | |
xpath: '//*[@id="node-4195"]/div[2]/div[2]/div' | |
style: 'dark' | |
news: | |
whatever: | |
title: New release 0.6 | |
description: Blah-blah | |
url: http://morroblivion.com/forums/skyrim/skywind-mod-releases/3323 | |
whatever2: |