Skip to content

Instantly share code, notes, and snippets.

Avatar

Ian Oxley ianoxley

View GitHub Profile
@goyalankit
goyalankit / bash_to_zsh_history.rb
Last active Sep 10, 2020
Import bash history to zsh history.
View bash_to_zsh_history.rb
#################################################################
# = This script transfers bash history to zsh history
# = Change bash and zsh history files, if you don't use defaults
#
# = Usage: ruby bash_to_zsh_history.rb
#
# = Author: Ankit Goyal
#################################################################
# change if you don't use default values
@garann
garann / gist:3353532
Created Aug 14, 2012
Crowdsourced career mentorship for female developers
View gist:3353532

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

View equalize.js
//
// Forces equal heights on a jQuery array.
//
equalize: function(jq_arr, min_height) {
if (!jq_arr.length) {
return;
}
function do_equalize() {
var tallest = min_height || 0;
View base58.rb
# DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
# Version 2, December 2004
#
# Copyright (C) 2004 Sam Hocevar
# 14 rue de Plaisance, 75014 Paris, France
# Everyone is permitted to copy and distribute verbatim or modified
# copies of this license document, and changing it is allowed as long
# as the name is changed.
#
# DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
You can’t perform that action at this time.