Skip to content

Instantly share code, notes, and snippets.

View unflores's full-sized avatar

A Flores unflores

View GitHub Profile
@unflores
unflores / http connection monitor
Last active March 10, 2016 09:33
Never forget....
sudo tcpdump -A -s 0 'tcp port 80 and (((ip[2:2] - ((ip[0]&0xf)<<2)) - ((tcp[12]&0xf0)>>2)) != 0)' -i lo
sudo mount -t vboxsf shared_dev /home/ubuntu/shared_dev/
@unflores
unflores / included.js
Created November 10, 2017 10:56
Once a singleton always a singleton
var Thing = require('./thing');
console.log('Include thing from another file');
console.log(Thing.thing, ":thing in included");
@unflores
unflores / putty.bat
Created November 16, 2017 12:13
This is the kind of thing I forget
start "" "C:\Users\unflores\Documents\utilities\putty.exe" -load "dev"
@unflores
unflores / Dots.js
Created February 8, 2019 14:26
Gotta get them dots!
import React from 'react'
class Dots extends React.Component {
constructor(props) {
super(props)
this.state = {
dots: '',
timerID: null,
}
}
git st | tail --lines=+2| awk -F ' ' '{print $2}'|xargs sed -i 's/\r//g'
module Compliance
module IdentityVerification
class TestingWebhookSubdomain
def initialize(stage, env, host)
@stage = stage
@host = host
@env = env
end
def value
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.