- should report to the CEO
- understands how technology fits into the larger, real world
- responsible for the culture
- head architect is the CTO in training
- must be excellent at communication
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
netstat -apn | grep $outgoing_ip_address |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$outstandingBalance = -34.05; | |
$pennies = abs($outstandingBalance) * 100; | |
var_dump((int) $pennies); // => int(3404) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* | |
* gcc -o rlimit rlimit.c | |
*/ | |
#include <sys/resource.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <fcntl.h> | |
#include <errno.h> | |
#include <string.h> |
Moved to http://hjr3.github.io
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def cardinal_define(name, &proc_over_proc) | |
self.class.send(:define_method, name) do |a_value, &a_proc| | |
proc_over_proc.call(a_proc).call(a_value) | |
end | |
end | |
cardinal_define(:maybe) do |a_proc| | |
lambda { |a_value| | |
a_proc.call(a_value) unless a_value.nil? | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Kernel | |
def let it | |
yield it | |
end | |
end |
Moved to http://hjr3.github.io