https://github.com/rg3/youtube-dl/
apt-get install libav-tools ffmpeg # Linux (either one of either should do) brew install ffmpeg # OSX choco install ffmpeg # Windows
var swap = function (array, pos1, pos2) { | |
var temp = array[pos1]; | |
array[pos1] = array[pos2]; | |
array[pos2] = temp; | |
}; | |
var heapsPermute = function (array, output, n) { | |
n = n || array.length; // set n default to array.length | |
if (n === 1) { | |
output(array); |
<!DOCTYPE html> | |
<script src="http://mbostock.github.com/d3/d3.v2.js?2.8.1"></script> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> | |
<style> | |
body { | |
font: 10px sans-serif; | |
} | |
rect { |
StringRequest request = new StringRequest(Request.Method.POST, url, new Response.Listener<String>() { | |
@Override | |
public void onResponse(String s) { | |
///handle response from service | |
}, new ErrorResponse() { | |
@Override | |
public void onErrorResponse(VolleyError volleyError) { | |
//handle error response | |
} | |
}) { |
With 2^0 = 1 bit signed integers, Unix time will overflow on: 00:00:01 UTC January 01, 1970 | |
With 2^0 = 1 bit unsigned integers, Unix time will overflow on: 00:00:02 UTC January 01, 1970 | |
With 2^1 = 2 bit signed integers, Unix time will overflow on: 00:00:02 UTC January 01, 1970 | |
With 2^1 = 2 bit unsigned integers, Unix time will overflow on: 00:00:04 UTC January 01, 1970 | |
With 2^2 = 4 bit signed integers, Unix time will overflow on: 00:00:08 UTC January 01, 1970 | |
With 2^2 = 4 bit unsigned integers, Unix time will overflow on: 00:00:16 UTC January 01, 1970 | |
With 2^3 = 8 bit signed integers, Unix time will overflow on: 00:02:08 UTC January 01, 1970 |
WITH double_entry_book AS ( | |
-- debits | |
SELECT | |
array_to_string(inputs.addresses, ",") as address | |
, inputs.type | |
, -inputs.value as value | |
, block_timestamp | |
FROM `bigquery-public-data.crypto_bitcoin.inputs` as inputs | |
UNION ALL |
// make sure you have changed your working directory to your project | |
cd app | |
// svelte | |
// see https://github.com/sveltejs/svelte/issues/2900#issuecomment-701644971 | |
npm install svelte | |
sed -i 's/svelte-\$/_$/g' ./node_modules/svelte/compiler.js | |
// sapper | |
npm install sapper |
https://github.com/rg3/youtube-dl/
apt-get install libav-tools ffmpeg # Linux (either one of either should do) brew install ffmpeg # OSX choco install ffmpeg # Windows
''' | |
Check if user in github follow you back or not | |
''' | |
import requests | |
username = input("Enter your username: ") | |
def main(username): |