Skip to content

Instantly share code, notes, and snippets.

@flores
flores / 0_reuse_code.js
Created March 5, 2014 00:07
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@flores
flores / gist:3419610
Created August 21, 2012 21:34 — forked from garann/gist:3353532
Crowdsourced career mentorship for female developers

I was inspired by Selena Deckelmann's list of Career Resources for Women (http://www.chesnok.com/daily/career-resources-for-women/), but couldn't think of much to contribute. So I thought maybe those of us already in the field and in a position to mentor could work on creating more. Please fork or comment and add your own!

Also: there is a wealth of info online and elsewhere dating back to the first time it occurred to our species to exchange labor for currency on these topics in general. What I hope we can provide here is our take as individuals. What we would say to someone if we were sitting across from her acting as a mentor. I don't think we should worry about being objectively "right", or about duplicating topics. I add this bit of anti-editorializing in hopes that women will contribute without feeling pressured to be experts, which I worry might prevent them from doing so. TY. :)

Applying for jobs

surfer.get({
url: resources.notifications.url,
parameters: {
channel: "foo"
},
headers: {
origin: "http://yourdomain.com",
accept: resources.schema["1.0"].MessageList,
},
on: {
@flores
flores / interface_change
Created September 22, 2011 01:02 — forked from lancelakey/interface_change
Change /etc/network/interfaces subnet
#!/usr/bin/env ruby
# Purpose
# Iterate over a range of IP addresses
# Change the /etc/network/interfaces subnet
# WARNING!
# I haven't tested this yet
# It might not work
require 'socket'
profile = false
if ARGV.first == "-p"
profile = true
ARGV.shift
end
port = ARGV.shift
@flores
flores / wordpress.vcl
Created June 28, 2011 23:37 — forked from onyxfish/wordpress.vcl
ChicagoNow Varnish configuration (development version)
backend app1 {
.host = "127.0.0.1";
.port = "8000";
}
acl purge {
"127.0.0.1";
"::1";
}