This file contains 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
int A = 8; | |
int B = 9; | |
int C = 10; | |
int D = 11; | |
int E = 12; | |
int F = 13; | |
int G = 6; | |
int H = 7; | |
int D1 = 2; |
This file contains 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
#!/bin/bash | |
function quickping { | |
sudo ping -s 200 -i 0.1 -c $2 $1 | tail -n 1 | grep -oE '[\.0-9]+' | head -n 1 | |
} | |
target=$1 | |
max=$2 | |
for i in `seq 1 $max`; |
This file contains 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
# vim: fileencoding=utf-8 tw=100 expandtab ts=4 sw=4 : | |
from __future__ import unicode_literals | |
import json | |
import codecs | |
class AssetsLister(object): | |
def __init__(self, live, manifest): |
This file contains 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 href="?{% qspatch page=clients.paginator.num_pages %}"><span>{{ clients.paginator.num_pages }}</span></a> |
This file contains 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 | |
# vim: fileencoding=utf-8 tw=100 expandtab ts=4 sw=4 : | |
from __future__ import unicode_literals | |
from unittest import TestCase | |
try: | |
from dopy.manager import DoError, DoManager |
This file contains 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 | |
# vim: fileencoding=utf-8 tw=100 expandtab ts=4 sw=4 : | |
from __future__ import unicode_literals | |
try: | |
from deis import DeisClient | |
except ImportError: | |
DeisClient = None |
This file contains 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
# vim: fileencoding=utf-8 tw=100 expandtab ts=4 sw=4 : | |
# | |
# gmc_api | |
# (c) 2015 ActivKonnect | |
from django.core.exceptions import ValidationError | |
from django.utils.six import string_types | |
from django.utils.translation import get_language | |
from django.conf import settings |
This file contains 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
'use strict'; | |
const DIST_DIR = 'gif/static'; | |
const SRC_DIR = 'gif/static_src'; | |
const MAPS_DIR = 'maps'; | |
const JS_SRC = [ | |
'node_modules/angular/angular.js', | |
'node_modules/angular-route/angular-route.js', | |
'node_modules/angular-touch/angular-touch.js', |
This file contains 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 python3 | |
# vim: fileencoding=utf-8 tw=100 expandtab ts=4 sw=4 : | |
# | |
# ssh_replacer | |
# (c) 2015 ActivKonnect | |
from sys import argv, exit, stderr | |
from re import compile | |
from os import walk, path |
This file contains 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 python3 | |
# vim: fileencoding=utf-8 tw=100 expandtab ts=4 sw=4 : | |
import sys | |
import subprocess | |
from email.parser import Parser | |
from email.utils import parseaddr, formataddr | |
# --- |
OlderNewer