Skip to content

Instantly share code, notes, and snippets.

@qinwf
qinwf / config.site
Created August 19, 2016 13:02 — forked from jeroen/config.site
Building R on Solaris
## 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
@qinwf
qinwf / lambda-dynamo
Created May 22, 2016 09:37 — forked from markusklems/lambda-dynamo
Short aws lambda sample program that puts an item into dynamodb
// 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) {
@qinwf
qinwf / shit.md
Created April 23, 2016 10:40 — forked from jeroen/shit.md
Getting shit to work

Getting shit to work

Disclaimers

  • No authority
  • Official reference is writing r extentions (joke extentions)
  • If you thought writing regular r packages was tricky, hold on
@qinwf
qinwf / README.md
Created March 29, 2016 08:40 — forked from magnetikonline/README.md
IE 7/8/9/10/11 Virtual machines from Microsoft - Linux w/VirtualBox installation notes.
@qinwf
qinwf / 00.howto_install_phantomjs.md
Created March 26, 2016 07:56 — forked from julionc/00.howto_install_phantomjs.md
How to install PhantomJS on Debian/Ubuntu

How to install PhantomJS on Ubuntu

Version: 1.9.8

Platform: x86_64

First, install or update to the latest system software.

sudo apt-get update
sudo apt-get install build-essential chrpath libssl-dev libxft-dev
@qinwf
qinwf / hubot.conf
Created December 15, 2015 17:04 — forked from DavidWittman/hubot.conf
Hubot Upstart Script
# hubot
description "Hubot Campfire bot"
author "David Wittman <david@wittman.com>"
start on filesystem or runlevel [2345]
stop on runlevel [!2345]
# Path to Hubot installation
env HUBOT_DIR='/opt/hubot/'
#!/bin/sh
# This assumes you have:
# 1) A user called `hubot` in charge of the bot.
# 2) A file called /home/hubot/.hubotrc that contains the Hubot credentials.
#
# To set the adapter either edit bin/hubot to specify what you want or append
# `-- -a campfire` to the $DAEMON variable below.
#
### BEGIN INIT INFO

Rust feature staging and you

Recently I've been overhauling the mechanisms for introducing unstable features to both the Rust language and libraries. Part of that work landed for the 1.0.0-alpha release when we started producing warnings about using unstable library APIs, which I'm sure you noticed. Now the transition to the system described in [RFC 507][rfc-507] is nearing completion, so it's time to remind everybody what's happening and how to cope with it.

@qinwf
qinwf / readme.md
Last active August 29, 2015 14:18 — forked from jeroen/readme.md

R on Solaris

By Jeroen Ooms, April 2015. Suggestions welcome.

VirtualBox Image: http://bit.ly/r-solaris
Username: root
Password: solaris11