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
#0 0xb7d6eb5d in ?? () from /lib/i386-linux-gnu/i686/cmov/libc.so.6 | |
#1 0xb7e1cdef in g_array_append_vals () from /lib/i386-linux-gnu/libglib-2.0.so.0 | |
#2 0x08049b4d in logs (msg=0x804dfe9 "fuse is finished\n", len=17) at hatexmpp.c:38 | |
#3 0x08049b8a in logstr (msg=0x804dfe9 "fuse is finished\n") at hatexmpp.c:46 | |
#4 0x0804b87c in fuseinit (argc=3, argv=0xbffff634) at fuse.c:560 | |
#5 0x08049fc7 in main (argc=3, argv=0xbffff634) at hatexmpp.c:149 |
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
hoster = rand((ARGV[0] || 2).to_i) | |
alllist = "Spartan Federation | |
Gaia's Stepdaughters | |
University of Planet | |
Peacekeeping Forces | |
Human Hive | |
Lord's Believers | |
Morgan Industries |
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
require 'mechanize' | |
www = Mechanize.new | |
pg = www.get ARGV[0] | |
magics = pg.at('div[@class="cloudcast-play-button-container"]')["m-preview"] | |
puts magics.gsub("previews", "c/m4a").gsub("mp3","m4a") |
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
a = lambda do yield "test" end | |
a.call do |a| puts a end |
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
module Komariq | |
def self.update_entries(criteria, action) | |
while true | |
needs_update = criteria.call | |
count = needs_update.count | |
if count > 0 | |
Rails.logger.info "#{count} feeds need to be updated" | |
needs_update.each do |entry| | |
begin | |
Rails.logger.info "Feed #{feed.id} is going to be updated" |
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
# written by faze, revised by BlastHardcheese | |
crawl () { | |
case "$1" in | |
"cao" ) | |
local user="joshua" | |
local server="crawl.akrasiac.org" | |
;; | |
"cdo" ) | |
local user="crawl" |
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
#!/usr/bin/env ruby | |
# git-put host:path | |
dash_u = ARGV.include? '-u' | |
ARGV.delete '-u' | |
host = ARGV[0].split(":")[0] | |
path = ARGV[0].split(":")[1..-1].join(":") | |
`ssh #{host} 'git init --bare #{path}'` | |
`git push #{ARGV[0]} \`git branch\`` | |
if dash_u |
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
{-# LANGUAGE ForeignFunctionInterface #-} | |
module A (encodeCrockford, decodeCrockford) where | |
import Foreign.Marshal.Utils | |
import Foreign.Ptr | |
import Foreign.C.String | |
import Foreign.C.Types | |
import Foreign.Marshal.Array | |
import Codec.Crockford |
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
#!/usr/bin/env python | |
# Readable Python syntax implementation in pure Python | |
# See http://tinyurl.com/3xhqgs for syntax description | |
# Usage: ./rpython.py hello_world.py | |
# This program greatly improves python syntax, blah blah blah | |
from subprocess import call | |
import sys |
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
-- Bitcoin (฿) daemon monitor | |
-- %bitcoin_speed - current speed in khash/s | |
-- %bitcoin_balance - current balance | |
-- by Voker57 <[email protected]> | |
-- Public domain | |
local defaults={ | |
update_interval=30 * 1000 |