This file contains hidden or 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
[barnekr@saturnino:mediacas on master*]$ export |grep AWS | |
declare -x AWS_ACCESS_KEY_ID="xxx" | |
declare -x AWS_SECRET_ACCESS_KEY="xxx" |
This file contains hidden or 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
Nothing to see here move along | |
This file contains hidden or 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
#!/usr/bin/env ruby -w | |
require 'hpricot' | |
require 'net/http' | |
require 'net/https' | |
require 'uri' | |
require 'tempfile' | |
test_http = "http://gist.github.com/69452" | |
test_https = "https://gist.github.com/42af948558a3b3704bab" |
This file contains hidden or 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
<html> | |
<head> | |
<title>Yo</title> | |
<script type="text/javascript" src="http://jqueryjs.googlecode.com/files/jquery-1.3.2.min.js"></script> | |
<script type="text/javascript" charset="utf-8"> | |
$(function() { | |
div = $('<div class="futureproof"><p>Future Feature</p></div>'); | |
$(".future").each(function(i) { | |
offset = $(this).offset(); | |
var id = "futureproof_" + i; |
This file contains hidden or 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
[barnekr@saturnino:~]$ punch status --full | |
... | |
status: | |
:time: 2009-03-04 09:03:50.349649 -06:00 | |
:status: in | |
... |
This file contains hidden or 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
<html> | |
<script type="text/javascript" src="http://jqueryjs.googlecode.com/files/jquery-1.3.2.min.js"></script> | |
<script type="text/javascript" charset="utf-8"> | |
var $j = jQuery.noConflict(); | |
var verify_hci_agreement_checked = function(form) { | |
if ($j('#checkme').attr('checked') == false) { | |
msg = "You must agree to the terms." | |
alert(msg) | |
$j('div#notice').text(msg).show(); | |
return false; |
This file contains hidden or 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
[barnekr@saturnino:~]$ irb | |
>> require 'activerecord' | |
=> true | |
>> ActiveRecord::VERSION::STRING | |
=> "2.3.2" |
This file contains hidden or 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
>> Regexp.escape('asdf') | |
=> "asdf" | |
>> Regexp.escape('asdf*') | |
=> "asdf\\*" | |
>> Regexp.escape(/asdf*/) | |
TypeError: can't convert Regexp into String | |
from (irb):3:in `escape' | |
from (irb):3 | |
from :0 | |
>> Regexp.escape(/asdf/) |
This file contains hidden or 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
[barnekr@saturnino:~]$ dig healthcampnash.com | |
; <<>> DiG 9.4.2-P2 <<>> healthcampnash.com | |
;; global options: printcmd | |
;; connection timed out; no servers could be reached | |
[barnekr@saturnino:~]$ dig cnn.com | |
; <<>> DiG 9.4.2-P2 <<>> cnn.com | |
;; global options: printcmd | |
;; Got answer: |
This file contains hidden or 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
asdf |