Skip to content

Instantly share code, notes, and snippets.

View hookdump's full-sized avatar
🏠
Working from home

Ignacio hookdump

🏠
Working from home
View GitHub Profile
➜ salemail git:(master) jitsu snapshots create
warn:
warn: Nodejitsu has been acquired by GoDaddy
warn:
warn: Read more at: https://nodejitsu.com/godaddy
warn: Or run: jitsu godaddy
warn:
info: Welcome to Nodejitsu akerr
info: jitsu v0.15.0, node v0.10.35
info: It worked if it ends with Nodejitsu ok
@hookdump
hookdump / successful local build (npm install)
Created February 19, 2015 17:31
succesful local build (npm install)
➜ salemail git:(master) ✗ npm install
> time@0.11.1 install /Users/ig/dev/salemail/node_modules/time
> node-gyp rebuild
CXX(target) Release/obj.target/time/src/time.o
SOLINK_MODULE(target) Release/time.node
SOLINK_MODULE(target) Release/time.node: Finished
> bcrypt@0.8.1 install /Users/ig/dev/salemail/node_modules/bcrypt
@hookdump
hookdump / failed build (create snapshot)
Created February 19, 2015 17:34
failed build (create snapshot)
➜ salemail git:(master) jitsu snapshots create
warn:
warn: Nodejitsu has been acquired by GoDaddy
warn:
warn: Read more at: https://nodejitsu.com/godaddy
warn: Or run: jitsu godaddy
warn:
info: Welcome to Nodejitsu akerr
info: jitsu v0.15.0, node v0.10.35
info: It worked if it ends with Nodejitsu ok
@hookdump
hookdump / gist:2bbbb28cfaeefa9b95b8
Created February 20, 2015 12:58
pftontstash issue
~/pyglui(master ✔) sudo python setup.py install
generating glew.pxd based on '/usr/include/GL/glew.h'
missing cimport in module 'pyglui.cygl': pyglui/ui.pyx
missing cimport in module 'pyglui.cygl': pyglui/graph.pyx
Compiling pyglui/ui.pyx because it changed.
Compiling pyglui/graph.pyx because it changed.
Compiling pyglui/cygl/utils.pyx because it changed.
Compiling pyglui/cygl/shader.pyx because it changed.
Compiling pyglui/pyfontstash/fontstash.pyx because it changed.
Cythonizing pyglui/cygl/shader.pyx
@hookdump
hookdump / 686.sh
Created December 14, 2015 23:54 — forked from scruffyfox/687.sh
Checks every 3 seconds if patch is out
#!/usr/bin/env bash
while [ 1 ]; do
RESP=$(curl --silent 'http://www.dota2.com/686')
if [[ $RESP != *"<title>Dota 2 - 6.86 Coming Soon</title>"* ]]; then
echo "***** PATCH OUT HYPE ******"
exit
else
echo "not out"
fi

Keybase proof

I hereby claim:

  • I am hookdump on github.
  • I am ifreiberg (https://keybase.io/ifreiberg) on keybase.
  • I have a public key ASA5MlmvVRCn3FElHSvdAakt1EVRMTU31w59IEWp5auLpwo

To claim this, I am signing this object:

@hookdump
hookdump / automount-shared.sh
Created May 15, 2017 02:35
automount-vbox-shared
#!/bin/sh
#-----------------------------------------------------------------------------
# Discover VirtualBox shared folders and mount them if it makes sense
#-----------------------------------------------------------------------------
if ! type VBoxControl > /dev/null; then
echo 'VirtualBox Guest Additions NOT found' > /dev/stderr
exit 1
fi
@hookdump
hookdump / increment_build_number.js
Created July 4, 2017 02:56
Cordova hook for incrementing build numbers
#!/usr/bin/env node
// Save hook under `project-root/hooks/before_prepare/`
//
// Don't forget to install xml2js using npm
// `$ npm install xml2js`
var fs = require('fs');
var xml2js = require('xml2js');
@hookdump
hookdump / markdown.component.ts
Created September 7, 2017 12:35 — forked from istupakov/markdown.component.ts
Angular 4 Markdown Component with Router Navigation.
import { Component, Input, ViewChild, AfterViewInit, ElementRef } from '@angular/core';
import { Router } from '@angular/router';
import { markdown } from 'markdown';
@Component({
selector: 'markdown',
template: `<div [innerHtml]="html" #root></div>`
})
export class MarkdownComponent implements AfterViewInit {
@ViewChild('root') root: ElementRef;
@hookdump
hookdump / stream.js
Created January 10, 2020 18:58
Monitorear tuits
var Twit = require('twit')
var T = new Twit({
consumer_key: '***',
consumer_secret: '***',
access_token: '***',
access_token_secret: '***',
timeout_ms: 60*1000,
})