Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Ignacio hookdump

🏠
Working from home
View GitHub Profile
View filo-24202.md

Filosofía CBC - Comisión 24202 (Lun y Jue de 9 a 11hs)

Datos varios

Modalidad

Los encuentros sincrónicos (videollamada) son los Jueves de 9 a 10hs.

Ingresar acá: https://meet.google.com/rmh-dgwy-bru

@hookdump
hookdump / stream.js
Created Jan 10, 2020
Monitorear tuits
View stream.js
var Twit = require('twit')
var T = new Twit({
consumer_key: '***',
consumer_secret: '***',
access_token: '***',
access_token_secret: '***',
timeout_ms: 60*1000,
})
@hookdump
hookdump / markdown.component.ts
Created Sep 7, 2017 — forked from istupakov/markdown.component.ts
Angular 4 Markdown Component with Router Navigation.
View markdown.component.ts
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 / increment_build_number.js
Created Jul 4, 2017 — forked from ohh2ahh/increment_build_number.js
Cordova hook for incrementing build numbers
View increment_build_number.js
#!/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 / automount-shared.sh
Created May 15, 2017
automount-vbox-shared
View automount-shared.sh
#!/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
View keybase.md

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 / 686.sh
Created Dec 14, 2015 — forked from scruffyfox/687.sh
Checks every 3 seconds if patch is out
View 686.sh
#!/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
View gist:2bbbb28cfaeefa9b95b8
~/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 / failed build (create snapshot)
Created Feb 19, 2015
failed build (create snapshot)
View 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 / successful local build (npm install)
Created Feb 19, 2015
succesful local build (npm install)
View successful 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