This file contains 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
挂SS吧,或者用香港的DNS 218.102.23.228 |
This file contains 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
➜ deck.gl git:(master) ✗ npm run demo-build | |
> [email protected] demo-build /Users/qinwf/git/deckr/deck.gl | |
> npm run demo-build-clean && npm run demo-build-copy && npm run demo-build-script | |
> [email protected] demo-build-clean /Users/qinwf/git/deckr/deck.gl | |
> rm -fr dist-demo && mkdir -p dist-demo | |
This file contains 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
## Copy this file into config.site ## | |
CC="cc -xc99" | |
CPPFLAGS="-I/opt/csw/include" | |
CFLAGS="-I/opt/csw/include -O -xlibmieee" | |
LDFLAGS="-L/opt/csw/lib" | |
F77=f95 | |
FFLAGS=-O | |
CXX="CC -library=stlport4" | |
CXXFLAGS=-O | |
FC=f95 |
This file contains 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
// create an IAM Lambda role with access to dynamodb | |
// Launch Lambda in the same region as your dynamodb region | |
// (here: us-east-1) | |
// dynamodb table with hash key = user and range key = datetime | |
console.log('Loading event'); | |
var AWS = require('aws-sdk'); | |
var dynamodb = new AWS.DynamoDB({apiVersion: '2012-08-10'}); | |
exports.handler = function(event, context) { |
This file contains 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
library(prof) | |
library(re2r) | |
library(stringi) | |
strs = rep(c("this is test", "this is test, and this is not test", "they are tests"),1000000) | |
start_profiler("sample.log") | |
invisible(re2_match_all(input = strs, pattern = "(this)( is)")) | |
#invisible(stri_match_all(strs, regex = "(this)( is)")) | |
stop_profiler() | |
# google-pprof --text /home/out/R/x86_64-pc-linux-gnu-library/3.2/re2r/libs/re2r.so sample.lo |
Linux installation notes (tested under Ubuntu 14.04LTS/12.04LTS), assuming VirtualBox is already installed on host.
NewerOlder