Skip to content

Instantly share code, notes, and snippets.

clang: warning: no such sysroot directory: ''
clang: warning: no such sysroot directory: ''
creating ./icu_config.gypi
{ 'target_defaults': { 'cflags': [],
'default_configuration': 'Release',
'defines': [],
'include_dirs': [],
'libraries': []},
'variables': { 'asan': 0,
'host_arch': 'x64',
{
"scripts": {
"build": "babel index.js --out-dir dist --source-map",
"prepublish": "npm run build",
"test": "standard index.js && npm run build && tap test/*.js"
}
}
@bcomnes
bcomnes / gist:26a6c2a705ff0da40708
Created September 14, 2015 22:55
Super short modern ssh keys
$ ssh-keygen -t ed25519
http://ed25519.cr.yp.to/
function Life (seed) {
if (!(this instanceof Life)) {
return new Life(seed)
}
this.seed = seed
this.height = seed.length
this.width = seed[0].length
this.prevBoard = []
this.board = cloneArray(seed)
}
@bcomnes
bcomnes / OS config
Last active March 28, 2016 18:17
mafintosh patterns
@mafintosh │ JSON_voorhees: i put in env.USERPROFILE + .conf.rc on win
description "ipfs daemon"
start on (local-filesystems and net-device-up IFACE!=lo)
stop on runlevel [!2345]
limit nofile 524288 1048576
limit nproc 524288 1048576
chdir /home/jbenet
exec start-stop-daemon --start --chuid jbenet --exec /home/jbenet/go/bin/ipfs daemon
respawn
@bcomnes
bcomnes / ansible-examples.yml
Last active March 2, 2021 06:25
Ansible Yaml Syntax Exampls
---
# Thanks halberom!
# http://blog.halberom.co.uk/ansible_yaml_syntax.html
- hosts: foo
tasks:
- name: single line plain style
file: path=/tmp/foo state=touch
- name: multi line plain style
file: path=/tmp/foo
@bcomnes
bcomnes / index.html
Created May 19, 2015 00:41
Fragmention example
<!DOCTYPE html>
<html>
<head>
<title>Fragmention</title>
<script async src="//cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
<script async src="//cdn.rawgit.com/chapmanu/fragmentions/4e44a80756add65e25f3913d1352154a49525bdd/fragmention.min.js"></script>
<style type="text/css">
body {
font-family: 'Source Sans Pro', 'Helvetica Neue', Arial, sans-serif;
[2015-05-14 13:21:57] <chrisdickinson> bret: tl;dr on node/iojs – io.js project continues to release as usual until convergence repo is ready, next major version after current io.js major version will be new node – i.e., if io.js releases v3.0.0, node will release v4.0.0 and development will continue from there
[2015-05-14 13:22:26] <bret> !m chrisdickinson
[2015-05-14 13:22:31] <chrisdickinson> io.js TC and governance is adopted by node foundation as the "TSC" which sits under the foundation board
[2015-05-14 13:23:05] <chrisdickinson> all existing node core members join the TSC (so, julien gilli, orangemocha, wyatt preul, et al, join the TC)
[2015-05-14 13:23:10] <chrisdickinson> sorry, TSC.
[2015-05-14 13:23:16] <chrisdickinson> we earned ourselves a new letter in the process!
[2015-05-14 13:23:19] <ogd> chrisdickinson: what does tsc stand for
[2015-05-14 13:23:32] <chrisdickinson> technical steering committee
[2015-05-14 13:23:36] <bret> techical support committee :troll:
[2015-05-14 13:23:43] <bret> (jk
@bcomnes
bcomnes / .screenrc
Last active May 22, 2024 21:11
ssh agent forwarding in tmux and gnu screen
# Fix agent forwarding
# https://gist.github.com/martijnvermaat/8070533
# http://techblog.appnexus.com/2011/managing-ssh-sockets-in-gnu-screen/
# See .ssh/rc for socket linking
unsetenv SSH_AUTH_SOCK
setenv SSH_AUTH_SOCK $HOME/.ssh/ssh_auth_sock.$HOSTNAME