Format: 1A Host: http://blog.acme.com
Welcome to the ACME Blog API. This API provides access to the ACME Blog service.
#!/bin/sh | |
set -ex | |
## El Capitan Download | |
## based on https://github.com/lioonline/OS-X-El-Capitan | |
## and https://7labs.heypub.com/tips-tricks/el-capitan-direct-download.html | |
## pkg file link - version 10.11.4 | |
HOST="http://osxapps.itunes.apple.com" | |
PATH="/apple-assets-us-std-000001/Purple69/v4/6a/c9/bc/6ac9bcc0-71a4-9b73-bb59-c1b053df10b9/" |
#!/usr/bin/env python | |
"""Convert CSV policies into AWS JSON format.""" | |
import json | |
import csv | |
POLICIES = 'terraform.csv' | |
CRUD_COL = 2 | |
ACTION_COL = 3 |
from datetime import datetime | |
import functools | |
class convert_argument(object): | |
def __init__(self, data_type): | |
print '__init__(data_type="%s")' % data_type | |
self.prefix_converter = 'convert_' | |
self.data_type = data_type |
<!doctype html> | |
<html> | |
<head> | |
<title>Atlas-iOS/Code/Utilities/ATLMediaInputStream.m</title> | |
<style type="text/css"> | |
body { color:#000000; background-color:#ffffff } | |
body { font-family:Helvetica, sans-serif; font-size:10pt } | |
h1 { font-size:14pt } | |
.code { border-collapse:collapse; width:100%; } | |
.code { font-family: "Monospace", monospace; font-size:10pt } |
import fileinput | |
MAX = 0 | |
P = 10000 | |
def identidade(matriz): | |
for i in range(MAX): | |
for j in range(MAX): | |
matriz[i][j] = int((i == j)) |
import gevent | |
import gevent.server | |
import gevent.monkey | |
gevent.monkey.patch_all() | |
import socket | |
import string | |
import random | |
import filecmp |
#!/bin/env python2.7 | |
from schematics.models import Model | |
from schematics.types import StringType | |
from schematics.exceptions import ValidationError | |
class EventType(StringType): | |
DIVIDER = ':' | |
import unittest | |
import hashlib | |
from schematics.models import Model | |
from schematics.types import IntType, StringType, MD5Type | |
from schematics.exceptions import ValidationError | |
class TestTransformers(unittest.TestCase): |
Welcome to the ACME Blog API. This API provides access to the ACME Blog service.
#!/usr/bin/env python | |
import sys | |
import os | |
def adf2mp3(input_path, output_path, buffer_size=1024*1024): | |
print 'Converting', output_path | |
input_file = open(input_path, 'rb') | |
output_file = open(output_path, 'wb') | |
for read_buffer in iter(lambda: input_file.read(buffer_size), ''): |