I hereby claim:
- I am huangfj on github.
- I am j0n (https://keybase.io/j0n) on keybase.
- I have a public key ASBkytSxPeJ5OCPwC9ASI-K-8GbggHh7RYCRT1hqw-_nUAo
To claim this, I am signing this object:
from distutils.core import setup | |
import py2exe | |
data_files = [("config.ini"),("test.db")] | |
includes = ["mechanize", "simplejson", "PIL.Image"] | |
options = {"py2exe": | |
{ "compressed": 1, | |
"optimize": 2, |
<?php | |
$localfile = "test.mp4"; | |
$size = filesize($localfile); | |
$start = 0; | |
$end = $size - 1; | |
$length = $size; | |
header("Accept-Ranges: 0-$size"); |
#This is the "site config" for nginx | |
upstream django { | |
# Distribute requests to servers based on client IP. This keeps load | |
# balancing fair but consistent per-client. In this instance we're | |
# only using one uWGSI worker anyway. | |
ip_hash; | |
server unix:/tmp/uwsgi.sock; | |
} | |
server { |
#! /bin/bash | |
sudo yum install -y gcc g++ gtk+-devel libjpeg-devel libtiff-devel jasper-devel libpng-devel zlib-devel cmake unzip sqlite-devel readline-devel bzip2-devel openssl-devel ncurses-devel | |
sudo yum install -y yum-priorities | |
sudo rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm | |
sudo yum install -y eigen3-devel --enablerepo=epel | |
su -c 'yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/el/updates/6/i386/rpmfusion-free-release-6-1.noarch.rpm http://download1.rpmfusion.org/nonfree/el/updates/6/i386/rpmfusion-nonfree-release-6-1.noarch.rpm' | |
sudo yum install -y ffmpeg-devel | |
export PYTHON_PREFIX=/usr/local/python-2.7.7 |
# NAT Traversal via UPnP Port Mapping | |
# Written by Nikos Fotoulis <nikofot at gmx.com> | |
# This code is public domain. | |
# | |
# Tested on Thomsom TG858v7 modem router. | |
# UPnP is hairy. May not work with other routers | |
# Feedback is welcome. | |
# | |
# How to add multicast address on Mac OS please refer to | |
# http://blogs.agilefaqs.com/2009/11/08/enabling-multicast-on-your-macos-unix/ |
analyzer: | |
generic_name_analyzer: | |
type: "custom" | |
tokenizer: "icu_tokenizer" | |
filter: ["word_split", "icu_folding", "english_stop"] | |
trigram_name_analyzer: | |
type: "custom" | |
tokenizer: "icu_tokenizer" | |
filter: ["icu_folding", "english_stop", "trigram_filter"] |
I hereby claim:
To claim this, I am signing this object:
use anyhow::{anyhow, Result}; | |
use cuckoofilter::CuckooFilter; | |
use futures::future::join_all; | |
use serde_json::Value; | |
use std::collections::hash_map::DefaultHasher; | |
use tracing::debug; | |
const REST_URL: &str = "https://btc.getblock.io/<YOUR OWN API KEY>/testnet"; | |
const LAST_BLOCK_HASH: &str = "00000000000010f9d43bb5c329aef7c5ab0c4f115cb5a0f4484b0267769ee0ff"; | |
const ACCOUNTS: [&str; 1] = ["tb1q95e88yfvytshvkk8pv7eguzj05qatlty0wm687"]; |
I hereby claim:
To claim this, I am signing this object: