Skip to content

Instantly share code, notes, and snippets.

View OscarGodson's full-sized avatar
:shipit:
Workin'

Oscar Godson OscarGodson

:shipit:
Workin'
  • CTO
  • Portland, OR
  • 03:49 (UTC -08:00)
View GitHub Profile
@OscarGodson
OscarGodson / apology.md
Created May 4, 2012 06:14 — forked from unclebob/apology.
Apology to Women Programmers.

Today I gave a keynote at ACCU in Oxford. In the midst of it I made two (count them) two statements that I should have known better than to make. I was describing the late '70s, and the way we felt about the C language at the time. My slide said something like: "C was for real men." Emily Bache, whom I know and hold in high regard, spoke up and said "What about women?". And I said something like: "We didn't allow women in those days." It was a dumb crack, and should either not have been said, or should have been followed up with a statement to the effect that that was wrong headed.

The second mistake I made was while describing Cobol. I mentioned Adm. Grace Hopper. I said something like "May she rest in peace." I don't know that any of the words were actually demeaning, but the tone was not as respectful as it should have been to an Admiral in the United State Navy, and one who was so instrumental in our industry; despite what I feel about Cobol.

I am a 59 year old programmer who was brought up

function clone(object) {
var cloned = Object.create(object.prototype || null);
Object.keys(object).map(function (i) {
cloned[i] = object[i];
});
return cloned;
}
<html class="js flexbox canvas canvastext webgl no-touch geolocation postmessage websqldatabase indexeddb hashchange history draganddrop websockets rgba hsla multiplebgs backgroundsize borderimage borderradius boxshadow textshadow opacity cssanimations csscolumns cssgradients cssreflections csstransforms csstransforms3d csstransitions fontface generatedcontent video audio localstorage sessionstorage webworkers applicationcache svg inlinesvg smil svgclippaths js flexbox canvas canvastext webgl no-touch geolocation postmessage websqldatabase indexeddb hashchange history draganddrop websockets rgba hsla multiplebgs backgroundsize borderimage borderradius boxshadow textshadow opacity cssanimations csscolumns cssgradients cssreflections csstransforms no-csstransforms3d csstransitions no-fontface no-generatedcontent video audio localstorage sessionstorage webworkers applicationcache svg inlinesvg smil svgclippaths js flexbox canvas canvastext webgl no-touch geolocation postmessage websqldatabase indexeddb hashchang
// This is mostly ganked from jQuery.load. If jQuery was half as good
// as Dojo then I wouldn't need to copy this function and modify it
// to fit my needs.
racism |ˈrāˌsizəm|
noun
the belief that all members of each race possess characteristics or abilities specific to that race, esp. so as to distinguish it as inferior or superior to another race or races.
• prejudice, discrimination, or antagonism directed against someone of a different race based on such a belief: a program to combat racism.
#hello world
this http://google.com is a test
// Will only run if there's JS, so it'll still fallback
$('a').click(function(){
// href = hello-world.html for example
var theUrl = $(this).attr('href');
$('#result').load(theUrl,function(){
history.pushState({},'',theUrl);
});
});
set nocompatible
"Color syntaxing of course
syntax on
" Tabs with ctrl+t
noremap <C-t> :tabnew<CR>
" Change tab name in Terminal
set title
(function(){function s(){return"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+"}function n(a){a=a.source;return function x(d,c){if(!d)return RegExp(a);a=a.replace(d,c.source||c);return x}}function p(){}var g={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:p,hr:/^( *[\-*_]){3,} *(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *#* *(?:\n+|$)/,lheading:/^([^\n]+)\n *(=|-){3,} *\n*/,blockquote:/^( *>[^\n]+(\n[^\n]+)*\n*)+/,
list:/^( *)([*+-]|\d+\.) [^\0]+?(?:\n{2,}(?! )(?!\1bullet)\n*|\s*$)/,html:/^ *(?:comment|closed|closing) *(?:\n{2,}|\s*$)/,def:/^ *\[([^\]]+)\]: *([^\s]+)(?: +["(]([^\n]+)[")])? *(?:\n+|$)/,paragraph:/^([^\n]+\n?(?!body))+\n*/,text:/^[^\n]+/};g.list=n(g.list)("bullet",/(?:[*+-](?!(?: *[-*]){2,})|\d+\.)/)();g.html=n(g.html)("comment",/<\!--[^\0]*?--\>/)("closed",/<(tag)[^\0]+?<\/\1>/)("closing",/<tag(?!:\/|@)\b(?:"[^"]*"|'[^']*'|[^'">])*?>/)(/tag/g,s())();g.paragraph=function(){var a=g.paragraph.source,
b=[
@OscarGodson
OscarGodson / .vimrc
Created March 14, 2012 19:49
My .vimrc
"Color syntaxing of course
syntax on
"colorscheme molokai
:colors molokai
"Lots of undo history... just in case
set history=700