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
### Keybase proof | |
I hereby claim: | |
* I am kirindave on github. | |
* I am kirindave (https://keybase.io/kirindave) on keybase. | |
* I have a public key whose fingerprint is E31F 2C5C 62E1 CB57 3B5B AF97 73DC C83A E5E6 E137 | |
To claim this, I am signing this object: |
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
(defn assoc-if | |
"Can someone explain to me how this is not in the stdlib?" | |
([h key value xformer] | |
(if-not (nil? value) | |
(assoc h key (xformer value)) | |
h)) | |
([h key value] (assoc-if h key value identity))) |
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
validate_tables: function() { | |
// Sometimes you can have as much fun indoors as outdoors. | |
var self = this; | |
var found = 0; var needed = this.tables.length; var reported = 0; | |
var callback = function(present) { | |
if(present) { | |
found += 1; | |
} | |
reported += 1; | |
if(reported == needed) { |
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
(define-action (index) | |
`(html ,(html-header "Account") | |
(body | |
(h4 "Note that this action needs to reflect that a user is logged in.") | |
(a ([href "/account/login"]) "Login") (br) | |
(a ([href "/account/signup"]) "Signup")))) | |
(define-action (response formp1 formp2) | |
(dispatch/c | |
`(html ,(html-header "Account") |
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
%% ``The contents of this file are subject to the Erlang Public License, | |
%% Version 1.1, (the "License"); you may not use this file except in | |
%% compliance with the License. You should have received a copy of the | |
%% Erlang Public License along with this software. If not, it can be | |
%% retrieved via the world wide web at http://www.erlang.org/. | |
%% | |
%% Software distributed under the License is distributed on an "AS IS" | |
%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See | |
%% the License for the specific language governing rights and limitations | |
%% under the License. |
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>Test</title> | |
<style> | |
.popup { | |
border: double 3px #000000; | |
font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif; | |
font-size: 12px; | |
display: none; | |
position: absolute; |
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>Welcome to Oatmeal Homeland!</title> | |
<meta name="description" content=""> | |
<meta name="keywords" content="Private server, WoW, World of Warcraft"> | |
<STYLE> | |
:link {color: #666633; font-weight: normal;} |
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
makeSearchCommand({ | |
name: "Powerset", | |
url: "http://www.powerset.com/explore/go/{QUERY}", | |
icon: "http://www.powerset.com/favicon.ico", | |
description: "Searches Powerset for your words.", | |
preview: function(p, txt) { | |
p.innerHTML = "Searches powerset for: <i>" + txt.text + "</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
// ==UserScript== | |
// @name gaia-c-t-userscript | |
// @namespace http://github.com/linuxfood/gaia-c-t-userscript/ | |
// @description A greasemonkey script adding a whole mess 'o features to GaiaOnline, C&T | |
// @include http://www.gaiaonline.com/forum/c-t-tech-talk/* | |
// ==/UserScript== | |
/* ======================================== | |
Key vars | |
======================================== */ |
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
%% ``The contents of this file are subject to the Erlang Public License, | |
%% Version 1.1, (the "License"); you may not use this file except in | |
%% compliance with the License. You should have received a copy of the | |
%% Erlang Public License along with this software. If not, it can be | |
%% retrieved via the world wide web at http://www.erlang.org/. | |
%% | |
%% Software distributed under the License is distributed on an "AS IS" | |
%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See | |
%% the License for the specific language governing rights and limitations | |
%% under the License. |
OlderNewer