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
diff --git a/lib/universal_ruby_whois/server_list.rb b/lib/universal_ruby_whois/server_list.rb | |
index 65c2a18..15a94d9 100644 | |
--- a/lib/universal_ruby_whois/server_list.rb | |
+++ b/lib/universal_ruby_whois/server_list.rb | |
@@ -80,7 +80,6 @@ Whois::Server.define('nu', 'whois.nic.nu') | |
Whois::Server.define('pl', 'whois.dns.pl') | |
Whois::Server.define('ro', 'whois.rotld.ro') | |
Whois::Server.define('ru', 'whois.ripn.net') | |
-Whois::Server.define('se', 'whois.iis.se') | |
Whois::Server.define('sk', 'whois.ripe.net') |
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
CmdUtils.CreateCommand({ | |
name: "hitta", | |
icon: "http://www.hitta.se/favicon.ico", | |
homepage: "http://hitta.se/", | |
author: {name: "Simon Gate", email: "simon@noona.se"}, | |
license: "GPL", | |
description: "Sök på hitta.se", | |
takes: {"input": /.*/}, | |
preview: function(pblock, input) { | |
var split = input.text.match(/^(.+)(?:\si\s|,|\såp\s)(.+)/i); |
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
source /usr/local/git/contrib/completion/git-completion.bash | |
# Reset | |
Color_Off='\033[0m' # Text Reset | |
# Regular Colors | |
Black='\033[0;30m' # Black | |
Red='\033[0;31m' # Red | |
Green='\033[0;32m' # Green | |
Yellow='\033[0;33m' # Yellow |
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
<html> | |
<head></head> | |
<body> | |
<div id="message"> | |
</div> | |
<input type="text" id="text-input"> | |
<input type="submit" id="send-button"> | |
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script> | |
<script src="http://localhost:8888/nowjs/now.js"></script> | |
<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
<html> | |
<head></head> | |
<body> | |
<div id="message"> | |
</div> | |
<input type="text" id="text-input"> | |
<input type="submit" id="send-button"> | |
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script> | |
<script src="http://localhost:8888/nowjs/now.js"></script> | |
<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
#!/bin/sh | |
for day in $(seq 30 -1 0); do | |
git log --author="John Doe" --before="${day} days" --after="$[${day}+1] days" --format=oneline | | |
wc -l | |
done | spark | lolcat -a |
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
// Create a new object | |
ajax = new XMLHttpRequest(); | |
// Try to open a API resource that won't return a 200 or 201 | |
ajax.open("GET", "https://api.flattr.com/rest/v2/user", false); | |
ajax.send(); | |
// The response | |
ajax.responseText; | |
// "{"error":"unauthorized","error_description":"You are unauthorized to access the resource","error_uri":"http:\/\/developers.flattr.net\/api\/"}" |
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
$: << File.expand_path(".") + '/lib' | |
require 'sinatra' | |
require 'glorify' | |
get "/" do | |
@example = File.open("README.md", "rb").read | |
erb :index | |
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
<html> | |
<head> | |
<title>AddThis Flattr Test Page</title> | |
</head> | |
<body> | |
<!-- AddThis Button BEGIN --> | |
<div class="addthis_toolbox addthis_default_style "> | |
<a class="addthis_button_preferred_1"></a> | |
<a class="addthis_button_preferred_2"></a> |
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
############################################################################### | |
# General UI/UX # | |
############################################################################### | |
# Set computer name (as done via System Preferences → Sharing) | |
scutil --set ComputerName "MacBook Pro" | |
scutil --set HostName "MacBook Pro" | |
scutil --set LocalHostName "MacBook-Pro" | |
# Menu bar: disable transparency |
OlderNewer