I hereby claim:
- I am cobyr on github.
- I am crandquist (https://keybase.io/crandquist) on keybase.
- I have a public key ASArJkkXkoBqc33LLG1UXy-4EyrJpkA8Fa99WljfyNfDfgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/bin/sh | |
# | |
#set -x | |
#set -v | |
# | |
# This was rewritten in /bin/sh since bash is not readily available | |
# everywhere. /bin/sh is available on all *NIX systems. | |
# | |
##################################################################### | |
# PCI data gathering script for Coalfire Systems, Inc. |
import java.util.ArrayList; | |
import java.util.Scanner; | |
public class IdentifierCheck | |
{ | |
public static void main(String[] args) | |
{ | |
// input from user | |
Scanner in = new Scanner(System.in); |
A checklist for designing and developing internet scale services, inspired by James Hamilton's 2007 paper "On Desgining and Deploying Internet-Scale Services."
# set prompt | |
export PS1=`ruby ~/bin/master-prompt.rb` |
require 'rubygems' | |
require 'geek_painter' | |
master_piece = GeekPainter.paint do | |
label "\\# \\t ".in(:white) | |
#label "[".in(:brown) | |
#label "\\u".in :light_gray | |
#label "@".in :yellow | |
#label "\\h".in :light_gray | |
#label "]".in(:brown) |
require 'date' | |
class Time | |
# Returns a new Time, +years+ later than this time. Feb 29 of a | |
# leap year will be rounded up to Mar 1 if the target date is not a leap | |
# year. | |
def plus_year(years) | |
Time.local(year + years, month, day, hour, min, sec, usec) | |
end | |
# Returns a new Time, +months+ later than this time. The day will be | |
# rounded down if it is not valid for that month. |
def self.search what, where | |
x = Vendetta::Business.find(:all, | |
:conditions => { | |
:search_terms => what, | |
:geo_location_terms => where, | |
} | |
) | |
x.map { |y| with y } | |
end |
require 'nokogiri' | |
namespace :import do | |
desc "Import XML file" | |
task :xml => :environment do | |
xml_file = File.dirname(__FILE__) + "/../../db/one.xml" | |
rtf_directory = File.dirname(__FILE__) + "/../../db/txt/" | |
puts "DESTROYING! " |
When we agreed that the marriage | |
was over and that it would be okay | |
by each of us to pursue happiness | |
with someone else, I really had no | |
idea how much it would hurt when | |
she did. |