I hereby claim:
- I am scari on github.
- I am scari (https://keybase.io/scari) on keybase.
- I have a public key ASAcQQsH5AmSYGd2giYkVJDtazliK2AvDz8F8JSk9rTxDAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| <?php | |
| /** | |
| * Scrape the number of app reviews from iTunes. | |
| * | |
| * Set the iOS app id and the number of pages to scrape, and it creates a {$app_id}-reviews.csv file | |
| * | |
| * @author Kent Bye <[email protected]> | |
| * Modified and extended from Sean Murphy's gist at https://gist.github.com/1878352 | |
| */ |
This is not an official report nor reliable benchmark. The testing environments are vary. These EC2 latencies are measured by http://aws-latency.altaircp.com/ Thanks to my friends!
If you want to add a result from your location, feel free to comment on this gist. Please note that you need to try it several times to get an accurate result.
Asia Pacific (Seoul) ap-northeast-2 19ms
Asia Pacific (Tokyo) ap-northeast-1 92ms
| #!/bin/bash | |
| # Excerpts from https://enterprise.travis-ci.com/install/worker | |
| # | |
| populate_images() { | |
| DOCKER_CMD="docker -H tcp://0.0.0.0:2375" | |
| # pick the languages you are interested in | |
| langs='android erlang go haskell jvm node-js perl php python ruby' | |
| declare -a lang_mappings=('clojure:jvm' 'scala:jvm' 'groovy:jvm' 'java:jvm' 'elixir:erlang' 'node_js:node-js') |
| #!/usr/bin/env python3 | |
| import json | |
| import gspread | |
| from numpy.random import choice | |
| from oauth2client.client import SignedJwtAssertionCredentials | |
| SCOPE = ['https://spreadsheets.google.com/feeds'] | |
| json_key = json.load(open('google-apis-6b5aa3a6304d.json')) | |
| credentials = SignedJwtAssertionCredentials(json_key['client_email'], bytes(json_key['private_key'], 'utf-8'), SCOPE) |
| #!/usr/bin/env python3 | |
| import json | |
| import requests | |
| import numpy.random | |
| # https://developers.facebook.com/tools/explorer | |
| # I've used v2.3 and you need `read_stream` permission to use this script. | |
| from local_setting import FB_ACCESS_TOKEN | |
| POST_ID = '10206524181161780' # Use your one. This is mine XD |
| # $Id: vim-keys.conf,v 1.2 2010-09-18 09:36:15 nicm Exp $ | |
| # | |
| # vim-keys.conf, v1.2 2010/09/12 | |
| # | |
| # By Daniel Thau. Public domain. | |
| # | |
| # This configuration file binds many vi- and vim-like bindings to the | |
| # appropriate tmux key bindings. Note that for many key bindings there is no | |
| # tmux analogue. This is intended for tmux 1.3, which handles pane selection | |
| # differently from the previous versions |
| #!/usr/bin/env python3 | |
| import sys | |
| import re | |
| import json | |
| import requests | |
| from colorama import init, Fore, Back, Style | |
| URL = 'https://m.search.naver.com/p/csearch/dcontent/spellchecker.nhn' |
| { | |
| "cells": [ | |
| { | |
| "cell_type": "code", | |
| "execution_count": 1, | |
| "metadata": { | |
| "collapsed": false | |
| }, | |
| "outputs": [ | |
| { |
| # My configuration. | |
| # I had a trouble with `cuda` so I disabled it. | |
| # Don't forget to change dynamic shared lib install name after the build has finished. | |
| # | |
| # ex: | |
| # $ sudo install_name_tool -change libpython3.4m.dylib ~/anaconda3/lib/libpython3.4m.dylib ~/anaconda3/lib/python3.4/site-packages/cv2.so | |
| ANACONDA=/Users/scari/anaconda3 | |
| cmake -Wno-dev -D CMAKE_BUILD_TYPE=RELEASE \ | |
| -D BUILD_PERF_TESTS=OFF \ |