I hereby claim:
- I am sigriston on github.
- I am sigrist (https://keybase.io/sigrist) on keybase.
- I have a public key whose fingerprint is 7DC8 2828 92BD 0B44 8423 67C3 4742 418B 11E8 57F3
To claim this, I am signing this object:
| { | |
| "keyboard": "kbdfans/kbd75/rev2", | |
| "keymap": "qmk_layout_thiago", | |
| "layout": "LAYOUT", | |
| "layers": [ | |
| [ | |
| "KC_ESC", | |
| "KC_F1", | |
| "KC_F2", | |
| "KC_F3", |
| #!/bin/bash | |
| if [[ -z "$1" ]]; then | |
| echo ERROR: no arguments passed! | |
| echo Usage: "$0 [save | restore]" | |
| exit 1 | |
| fi | |
| if [[ ! -f ./package.json ]]; then |
I hereby claim:
To claim this, I am signing this object:
| #!/usr/bin/env node | |
| let funcs = [] | |
| for (let i = 0; i < 4; i++) { | |
| funcs.push(x => x * i) | |
| } | |
| console.log(funcs[0](10)) // prints '0' | |
| console.log(funcs[1](10)) // prints '10' | |
| console.log(funcs[2](10)) // prints '20' |
| extern crate flate2; | |
| use std::fs::File; | |
| use std::io::Read; | |
| use flate2::read::GzDecoder; | |
| fn main() { | |
| let gzhello = File::open("hello.txt.gz").unwrap(); | |
| let mut gunzipped = GzDecoder::new(gzhello).unwrap(); |
| 'use strict'; | |
| var util = require('util'); | |
| var stream = require('stream'); | |
| var Writable = stream.Writable || require('readable-stream').Writable; | |
| function dbConnect(connectionString) { | |
| console.log('connectionString', | |
| connectionString); | |
| return { |
| var Sequelize = require('sequelize'); | |
| var sequelize = new Sequelize(null, null, null, { | |
| dialect: 'sqlite' | |
| }); | |
| var User = sequelize.define('User', { | |
| username: Sequelize.STRING, | |
| birthday: Sequelize.DATE | |
| }); |
| public class Main { | |
| static int y = 10; | |
| static int f(int x) { | |
| int y = 2; | |
| return y ^ 2 + g(x); | |
| } | |
| static int g(int x) { | |
| return x * y; |
| #!/bin/sh | |
| # Add R packages repo | |
| apt-key adv --keyserver keys.gnupg.net --recv-key 381BA480 | |
| cat >> /etc/apt/sources.list <<EOF | |
| deb http://cran.rstudio.com/bin/linux/debian wheezy-cran3/ | |
| EOF | |
| apt-get update | |
| # Install R |
| module.exports = function(grunt) { | |
| // ... | |
| grunt.initConfig({ | |
| //... | |
| // Deploy settings (task config, put inside grunt.initConfig) | |
| rsync: { |