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
# Pass in the name of the site you wich to create a cert for | |
domain_name = ARGV[0] | |
if domain_name == nil | |
puts "Y U No give me a domain name?" | |
else | |
system "openssl genrsa -out #{domain_name}.key 1024" | |
system "openssl req -new -key #{domain_name}.key -out #{domain_name}.csr -subj '/C=US/ST=NJ/L=Monroe/O=MyCompany/OU=IT/CN=#{domain_name}'" | |
system "cp #{domain_name}.key #{domain_name}.key.bak" |
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
HOMEBREW_VERSION: 0.8 | |
HEAD: 6d15547fa6d422fd55e3c7c7dcf617176afe55da | |
HOMEBREW_PREFIX: /usr/local | |
HOMEBREW_CELLAR: /usr/local/Cellar | |
HOMEBREW_REPOSITORY: /usr/local | |
HOMEBREW_LIBRARY_PATH: /usr/local/Library/Homebrew | |
Hardware: 8-core 64-bit sandybridge | |
OS X: 10.7 | |
Kernel Architecture: x86_64 | |
Ruby: 1.8.7-249 |
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 Domain | |
def self.matches?(request) | |
# ROOT_DOMAIN is a configurable value so we don't catch skip www.kickofflabs.com | |
request.host.downcase != KickoffLabs::ROOT_DOMAIN | |
end | |
end |
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
module Postmarker | |
def postmark_mail(*args) | |
mail_message = mail(*args) | |
if can_use_postmark?(mail_message.From.to_s) | |
mail_message.delivery_method.settings.merge!( | |
:address => 'smtp.postmarkapp.com', |
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
<script> | |
$(document).ready(function(){ | |
$("#signup_form").bind("kol:success", function(e, data, status, xhr) { | |
$div = $('<div style="display:inline;">'); | |
$div.append('<img height="1" width="1" style="border-style:none;" alt="" src="http://www.googleadservices.com/pagead/conversion/992175653/?value=20&label=J_1oCKunogMQpcyN2QM&guid=ON&script=0"/>'); | |
$div.appendTo('body'); | |
}); | |
}); | |
</script> |
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
#socialmessage, #socialnetworks{float:none;} | |
#gplus{float:left;} | |
#socialnetworks #Twitter, #socialnetworks #Facebook {float:left; !important} |
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
<script> | |
function getParameterByName(name) | |
{ | |
name = name.replace(/[\[]/, "\\\[").replace(/[\]]/, "\\\]"); | |
var regexS = "[\\?&]" + name + "=([^&#]*)"; | |
var regex = new RegExp(regexS); | |
var results = regex.exec(window.location.href); | |
if(results == null) | |
return null; | |
else |
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
<link href="http://a_domain.com/favicon.ico" rel="shortcut icon" type="image/vnd.microsoft.icon" /> |
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
function be { | |
if [[ -a Gemfile ]]; then | |
bundle exec $* | |
else | |
command $* | |
fi | |
} | |
alias heroku="be heroku" | |
alias rake="be rake" |
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
curl -d '[email protected]&api_key=your_api_key' https://api.kickofflabs.com/v1/1905/subscribe | |
curl -G -d "[email protected]" https://api.kickofflabs.com/v1/1905/info |