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
#!/usr/bin/env ruby | |
require 'bundler/setup' | |
require 'rest-client' | |
require 'json' | |
teamcity_url = ENV['TEAMCITY_URL'] | |
build_num = ENV['BUILD_NUMBER'] | |
build_type = ENV['BUILD_TYPE'] | |
github_token = ENV['GITHUB_TOKEN'] |
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
require 'resque' | |
module Resque | |
def self.mock! | |
puts "*** Mocking Resque" if ENV['VERBOSE'] | |
extend MockExt | |
@jobs = [] | |
end | |
module MockExt |
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 FogBugz Kanban beautifier | |
// @namespace http://divinemedia.com/ | |
// @version 0.4 | |
// @description Make FogBugz Kanban board status display friendly | |
// @include http://*/* | |
// @match https://*.fogbugz.com/default.asp?pg=pgPlugin&sPluginId=kanbanboard@ergonlabs.com | |
// @copyright 2011+, Barnabas Debreczeni (keo@goa.hu) | |
// ==/UserScript== |
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
SELECT people.* | |
FROM `people` | |
INNER JOIN | |
`people_sections` ON `people`.`id` = `people_sections`.`person_id` AND `people_sections`.`deleted_at` IS NULL | |
INNER JOIN `event_types` ON `event_types`.`section_id` = `people_sections`.`section_id` AND `event_types`.`deleted_at` IS NULL | |
INNER JOIN `events` ON `events`.`event_type_id` = `event_types`.`id` AND `events`.`competition_id` = 16777237 AND `events`.`deleted_at` IS NULL | |
WHERE | |
`people`.`deleted_at` IS NULL | |
AND (`people`.`country_id` = 16777217) | |
GROUP BY `people`.`id` |
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
ssh-dss AAAAB3NzaC1kc3MAAACBAKuvrrvbl3xlSrLMxN2+ow7/tvtMfLLbzxMsCNcGRzeit/rsnRD94etOFpw/3N1zqsUOQxXiiTGZkntyjnPdELUDhC/I9CuN8ZgbRVhX3AOAYXtrUrLqze+kha20Pt3z9s6kyWtG6FwNGtoQ1TKIPJgZ2L4IG7XHheoUDiRD8/mvAAAAFQC3+aDMPgfMv0W05XNdWj/M/iMfUQAAAIB9Zg90B6BybIjJGo0db0SNGWxE802jJ/wIlK2wJ3+4q3dAKA+YZAN5kiv8c/qv9T1Bbo3VB+i+ojmmZqhhzXMv20w8V+zWvKkHIoWkGJLdEfYq40z/h92bBiF60GKRU34F0xcWPdDrZ9sZ3A8hoLni2eacm85MhR47O55oVIA/dAAAAIAN8vW79O9Cj67w+HUJ2T1Y0MZnBVrJmBwJ9dlghzAEQBp27nvu+9W8hIaxcVm4ShvJ+2SPvHmIHqObKKGP7C6Ze6eznixKGnwGiesPph1ixUwkgVCRjtInQazgzqwG47VafQ6kinKUyOWEtkOwXsYij445zguQQHksKMei5fN2Ww== /Users/keo/.ssh/id_dsa |
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
<div id="fb-root"></div> | |
<script> | |
window.fbAsyncInit = function() { | |
FB.init({ | |
appId : 'YOUR APP ID', | |
status : true, // check login status | |
cookie : true, // enable cookies to allow the server to access the session | |
xfbml : true // parse XFBML | |
}); | |
}; |
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 | |
# super-duper post-receive hook | |
# (c) 2011 Barnabas Debreczeni <keo@goa.hu> | |
DEPLOY_TO=/webapps/cms | |
umask 002 | |
echo "++++++++++++++++++++++++++++++++++++++++++++ deploying to $DEPLOY_TO" |
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
protect_from_forgery | |
include Hobo::Controller::AuthenticationSupport | |
before_filter :except => [:login, :forgot_password, :accept_invitation, :do_accept_invitation, :reset_password] do | |
login_required unless User.count == 0 | |
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
20 | |
10 13 425 166 275 107 382 87 458 332 392 110 82 78 21 17 164 30 473 398 238 74 261 138 258 176 342 68 | |
27 47 2 3 5 7 11 13 17 19 23 29 31 37 41 43 47 53 59 61 67 71 73 79 83 89 97 101 103 107 109 113 127 131 137 139 149 151 157 163 167 173 179 181 191 193 197 199 211 223 227 229 233 239 241 251 257 263 269 271 277 281 283 293 307 311 313 317 331 337 347 349 353 359 367 373 379 383 389 397 401 409 419 421 431 433 439 443 449 457 461 463 467 479 487 491 | |
2 2 118 80 400 316 | |
3 3 339 250 301 199 109 34 | |
31 47 2 3 5 7 11 13 17 19 23 29 31 37 41 43 47 53 59 61 67 71 73 79 83 89 97 101 103 107 109 113 127 131 137 139 149 151 157 163 167 173 179 181 191 193 197 199 211 223 227 229 233 239 241 251 257 263 269 271 277 281 283 293 307 311 313 317 331 337 347 349 353 359 367 373 379 383 389 397 401 409 419 421 431 433 439 443 449 457 461 463 467 479 487 491 | |
29 47 2 3 5 7 11 13 17 19 23 29 31 37 41 43 47 53 59 61 67 71 73 79 83 89 97 101 103 107 109 113 127 131 137 139 149 151 157 163 167 173 179 181 191 193 197 199 211 22 |
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
5 | |
5 3 00S 02W 009 W50 E0W | |
10 6 000S0W 00000W 000WW0 000WWW W0400W 0000WW 0300WW W000WW 0000WW WE0000 | |
15 9 00W0000S0 0000W0000 0WW000000 00W000000 000050000 000080005 050000000 000000000 W0W00W000 00WW0WW00 WWWW00000 0W0090500 WWW0W0000 WW00WW000 0W0WWE000 | |
20 12 40000000S00W 000000000000 03000000000W 100000008000 000000000000 000000700000 000000000700 000000000000 070000000000 000000002070 000100000000 000000000430 000000000000 000004004000 350000000000 W02010000030 W10000000000 000100000300 000009000000 0E0000005000 | |
25 15 0WS00W0W600WWW0 0W6W00WWW0WW0W0 WW0W00W0WW0WWWW W0WW04WWWW0WW0W WW0W0000WWWWWW0 000WWW000WWW9W0 W0WWWW00000WWW0 0WWW0WW0W00WW90 WWW000WW0000WWW W0W000WW0000WWW 0W0800WW0W00000 W000W0W4WW00WWW 000000WW00000WW W000030000304W0 W00000W0000000W W08000000000000 WW00WW00W0W0400 000W0W00300W050 00WWWWWW0WWWW40 00WWWWWWWW00WW0 00WW0000W000WW0 000000000000WWW W602000000W05W0 090000000000W0W WWWWWW000000EW0 |