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
#include <algorithm> | |
#include <functional> | |
#include <iostream> | |
#include <iterator> | |
#include <memory> | |
#include <sstream> | |
#include <string> | |
#include <unordered_map> | |
#include <vector> |
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
#include <stdio.h> | |
#include <stdlib.h> | |
#include <stddef.h> | |
#include <string.h> | |
#include <unistd.h> | |
#include <errno.h> | |
#include <assert.h> | |
#include <limits.h> | |
#include <time.h> |
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
ffmpeg -f lavfi -i "aevalsrc='if(gte(t,0)*lt(t,0.2)+gte(t,0.3)*lt(t,0.5),0.1*sin(697*2*PI*t)+0.1*sin(1209*2*PI*t),if(gte(t,0.6)*lt(t,0.8),0.1*sin(852*2*PI*t)+0.1*sin(1209*2*PI*t),0))'" -strict experimental -c:a aac -b:a 128k -t 4 117.m4a |
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
{ | |
"nodes": { | |
"i0": { | |
"_type": "src", | |
"location": "http://example.com/input.mp4", | |
"_out": [ "a:0", "v:0" ] | |
}, | |
"i1": { | |
"_type": "src", | |
"location": "http://example.com/picture.png", |
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
def _i2osp(x, xlen): | |
if six.PY3: | |
return x.to_bytes(xlen, 'big', signed=False) | |
else: | |
c = xlen | |
b = [] | |
while c > 0: | |
q = x // 4294967296 | |
r = x - q * 4294967296 |
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
01234.0123456789abcdef.0123456789abcdef.0123456789abcdef.0123456789abcdef.0123456789abcdef.0123456789abcdef.0123456789abcdef.0123456789abcdef.0123456789abcdef.example.com 127.0.0.1 | |
01234.0123456789abcdef.0123456789abcdef.0123456789abcdef.0123456789abcdef.0123456789abcdef.0123456789abcdef.0123456789abcdef.0123456789abcdef.0123456789abcdef.example.com 127.0.0.2 | |
01234.0123456789abcdef.0123456789abcdef.0123456789abcdef.0123456789abcdef.0123456789abcdef.0123456789abcdef.0123456789abcdef.0123456789abcdef.0123456789abcdef.example.com 127.0.0.3 | |
01234.0123456789abcdef.0123456789abcdef.0123456789abcdef.0123456789abcdef.0123456789abcdef.0123456789abcdef.0123456789abcdef.0123456789abcdef.0123456789abcdef.example.com 127.0.0.4 | |
01234.0123456789abcdef.0123456789abcdef.0123456789abcdef.0123456789abcdef.0123456789abcdef.0123456789abcdef.0123456789abcdef.0123456789abcdef.0123456789abcdef.example.com 127.0.0.5 | |
01234.0123456789abcdef.0123456789abcdef.0123456789abcdef.0123456789abcdef.0123456789abcdef.0123456789abcdef.0123456789a |
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
#!/bin/sh | |
PKG_CONFIG_PATH= | |
LDFLAGS= | |
CPPFLAGS= | |
add_lib_path() { | |
PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$1/lib/pkgconfig | |
LDFLAGS="$LDFLAGS -L$1/lib" | |
CPPFLAGS="$CPPFLAGS -I$1/include/$2" | |
} |
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 sqlalchemy.ext.declarative import declarative_base | |
import sqlalchemy as sa | |
from sqlalchemy import create_engine | |
from sqlalchemy import orm | |
base = declarative_base() | |
class Foo(base): | |
__tablename__ = 'foo' |
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 sys | |
import os | |
import fcntl | |
import termios | |
import array | |
import string | |
import random | |
import time | |
attrs = [ |
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
* |