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 ZeroMQ | |
import Venice | |
import Foundation | |
import C7 | |
let context = try! Context() | |
struct Error: ErrorProtocol { | |
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
// // | |
// // main.swift | |
// // broq_swift | |
// // | |
// // Created by badim on 1/19/16. | |
// // Copyright © 2016 badim. All rights reserved. | |
// // | |
import SwiftZMQ |
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 cocilib | |
@_exported import SQL | |
enum OracleError: ErrorType { | |
case NotConnected | |
} |
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
Оскільки, Підряднику необхідно отримати відповідні послуги («Послуги») за Проектом; | |
І оскільки, Субпідрядник готовий надати такі Послуги; | |
А також, оскільки, | |
Додаток 1 (Статті посилань Генеральної Угоди); | |
Додаток 2 (Меморандум щодо надання технічної допомоги установам Державної ветеринарної та фітосанітарноі служби України (ДВФСС) та Національної} академії аграрних наук (НААН)); | |
Додаток 3 (Посилання на міжнародні стандарті біологічної безпеки та засобів захисту (СББ); | |
Додаток 4 (Список особливо небезпечних інфекцій (ОНІ) в Україні); | |
Додаток 5 (Стандартні процедури діяльності Донора (СПД)); | |
Додаток 6 (Обсяг робіт (ОР) (Послуги) включає повний перелік послуг "під ключ", що має бути виконаний Субпідрядником за цим Договором; |
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 boto | |
import boto.s3.connectionDELAY = 1 | |
conn = boto.connect_s3( | |
aws_access_key_id=settings.AWS_ACCESS_KEY_ID, | |
aws_secret_access_key=settings.AWS_SECRET_ACCESS_KEY, | |
calling_format=boto.s3.connection.OrdinaryCallingFormat(), | |
) |
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 django.forms.models import model_to_dict | |
class ModelDiffMixin(object): | |
def __init__(self, *args, **kwargs): | |
super(ModelDiffMixin, self).__init__(*args, **kwargs) | |
self.__initial = self._dict | |
@property | |
def diff(self): |
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
<link rel="import" href="../ace-element/ace-element.html"> | |
<link rel="import" href="../chart-js/chart-js.html"> | |
<link rel="import" href="../core-menu/core-submenu.html"> | |
<link rel="import" href="../core-item/core-item.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { |
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 | |
def rel(*x): | |
return os.path.join(os.path.abspath(os.path.dirname(__file__)), os.pardir, *x) | |
env = { | |
'DJANGO_SECRET_KEY': 'sakdfj;adlskfjs;alkdjf;lsdkajflksaddsfadf', | |
'DATABASE_NAME': 'donut_clubs', | |
'DATABASE_USER': 'badim', | |
'DATABASE_PASSWORD': '', |
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 re | |
from operator import __getitem__ | |
import requests#pip install requests | |
from collections import Counter | |
from time import sleep | |
url = r'https://api.vk.com/method/wall.getComments' | |
params = {'owner_id': -23762795, | |
'post_id': 64220, |
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
iptables -t mangle -I POSTROUTING -o vlan2 -j TTL --ttl-set 129&iptables -t mangle -I PREROUTING -i vlan2 -j TTL --ttl-set 128 |