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
| apiVersion: extensions/v1beta1 | |
| kind: Deployment | |
| metadata: | |
| labels: | |
| app: postgres-db | |
| name: postgres-db | |
| spec: | |
| replicas: 1 | |
| template: | |
| metadata: |
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
| # Please make this file available to others | |
| # by sending it to <[email protected]> | |
| # | |
| # this config file was automatically generated | |
| # using lirc-0.9.1-git(default) on Thu Oct 6 18:02:51 2016 | |
| # | |
| # contributed by | |
| # | |
| # brand: pctv.conf.conf | |
| # model no. of remote control: |
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
| / index |
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 cgi | |
| from google.appengine.ext import blobstore | |
| from django.contrib import admin | |
| from django import forms | |
| from .models import FileDownload | |
| class DLAdminForm(forms.ModelForm): |
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 csv | |
| import json | |
| with open('names_en-uk.csv') as csvfile: | |
| reader = csv.reader(csvfile) | |
| print json.dumps(set([row.pop() for row in reader])) |
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 google.appengine.ext import blobstore | |
| from google.appengine.api import images | |
| from django.conf import settings | |
| from django.core.files.storage import Storage | |
| import mimetypes | |
| import cloudstorage | |
| import os |
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 time, tweepy, pusher | |
| # Twitter conf | |
| CONSUMER_KEY = '' | |
| CONSUMER_SECRET = '' | |
| ACCESS_TOKEN = '' | |
| ACCESS_TOKEN_SECRET = '' | |
| # pusher conf | |
| pusher.app_id = '' |
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
| # Needs libyaml and pyyaml installed | |
| # on mac: brew install libyaml && pip install PyYAML | |
| import time, datetime, yaml, sys, os, subprocess, threading, requests, random, argparse, re | |
| threads = [] | |
| parser = argparse.ArgumentParser() | |
| parser.add_argument('-p', '--port', default='8080') | |
| parser.add_argument('-a', '--address', default='localhost') |
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 tweepy | |
| import datetime | |
| import time | |
| def time_search(*args, **kwargs): | |
| begin = kwargs['begin'] | |
| end = kwargs['end'] | |
| start_time = begin |
NewerOlder