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
var sys = require("sys"), | |
utils = require("utils"), | |
tcp = require("tcp"); | |
/** | |
* The Interpret object is just a namespace for the various interpreter | |
* functions such as textToIrc and ircToText. | |
*/ | |
this.Interpret = { | |
/** |
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
var sys = require('sys'), | |
irc = require('./vendor/irc'); | |
// The bot is a very thin wrapper around our IRC | |
// mobile. Instaniate the bot and then call | |
// ``connect()`` when you're ready to go. | |
// Send messages to IRC with the .send(channel, msg) | |
// method. | |
// | |
// You can do standard IRC commands through the |
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
<!-- INCLUDE overall_header.html --> | |
<!-- IF S_FORUM_RULES --> | |
<div class="forumrules"> | |
<!-- IF U_FORUM_RULES --> | |
<h3>{L_FORUM_RULES}</h3><br /> | |
<a href="{U_FORUM_RULES}"><b>{L_FORUM_RULES_LINK}</b></a> | |
<!-- ELSE --> | |
<h3>{L_FORUM_RULES}</h3><br /> | |
{FORUM_RULES} |
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
{ | |
"_id" : "1_522311", | |
"chr" : "1", | |
"pos" : 522311, | |
"groups" : | |
[{ | |
"_id" : "12345", | |
"label" : "group1", | |
"capabilities" : [{"name" : "value"}, {"name2": "value2"}] | |
}, |
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
INSERT IGNORE INTO phpbb.phpbb_profile_fields_data(user_id) SELECT user_id FROM phpbb.phpbb_users; | |
UPDATE phpbb.phpbb_profile_fields_data a | |
LEFT OUTER JOIN mt_ars.mt_author_meta ars_opt_in ON (a.user_id = ars_opt_in.author_meta_author_id + 999 AND ars_opt_in.author_meta_type = 'field.ars_opt_in') | |
LEFT OUTER JOIN mt_ars.mt_author_meta partner_opt_in ON (a.user_id = partner_opt_in.author_meta_author_id + 999 AND partner_opt_in.author_meta_type = 'field.partner_opt_in') | |
LEFT OUTER JOIN mt_ars.mt_author_meta beerology_url ON (a.user_id = beerology_url.author_meta_author_id + 999 AND beerology_url.author_meta_type = 'field.beerology_url') | |
LEFT OUTER JOIN mt_ars.mt_author_meta bio ON (a.user_id = bio.author_meta_author_id + 999 AND bio.author_meta_type = 'field.bio') | |
LEFT OUTER JOIN mt_ars.mt_author_meta display_email ON (a.user_id = display_email.author_meta_author_id + 999 AND display_email.author_meta_type = 'field.display_email') | |
LEFT OUTER JOIN mt_ars.mt_author_meta gender ON (a.user_id = gender.a |
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
# configuration for php Xcache module | |
[xcache-common] | |
;; install as zend extension (recommended), normally "$extension_dir/xcache.so" | |
zend_extension = /usr/lib/php5/20060613/xcache.so | |
[xcache.admin] | |
xcache.admin.enable_auth = On | |
# Configure this to use admin pages | |
xcache.admin.user = "admin" |
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
#!/bin/sh | |
# | |
# An example hook script to verify what is about to be committed. | |
# Called by git-commit with no arguments. The hook should | |
# exit with non-zero status after issuing an appropriate message if | |
# it wants to stop the commit. | |
# | |
# To enable this hook, rename this file to "pre-commit". | |
exec cucumber -f progress |
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
<? | |
function checkmobile(){ | |
if(isset($_SERVER["HTTP_X_WAP_PROFILE"])) return true; | |
if(preg_match("/wap\.|\.wap/i",$_SERVER["HTTP_ACCEPT"])) return true; | |
if(isset($_SERVER["HTTP_USER_AGENT"])){ | |
// Quick Array to kill out matches in the user agent | |
// that might cause false positives |
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
// ==UserScript== | |
// @name Scrumy Unread Count | |
// @namespace http://fluidapp.com | |
// @description What does this do? | |
// @include * | |
// @author Someone | |
// ==/UserScript== | |
(function(){ | |
if (window.fluid){ |
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
undefined method `map' for #<String:0x00000101424c38> | |
/Users/kurt/Documents/Projects/ars-main-site/vendor/sprockets/secretary.rb:69:in `expand_paths' | |
/Users/kurt/Documents/Projects/ars-main-site/vendor/sprockets/secretary.rb:31:in `add_load_locations' | |
/Users/kurt/Documents/Projects/ars-main-site/vendor/sprockets/secretary.rb:22:in `reset!' | |
/Users/kurt/Documents/Projects/ars-main-site/vendor/sprockets/secretary.rb:14:in `initialize' | |
/Users/kurt/Documents/Projects/ars-main-site/Rakefile:22:in `new' | |
/Users/kurt/Documents/Projects/ars-main-site/Rakefile:22:in `sprocketize' |