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
enum | |
{ | |
FOUND_WARP, | |
FOUND_WARP_DESTINATION, | |
FOUND_BPM_CHANGE, | |
FOUND_STOP, | |
FOUND_MARKER, | |
NOT_FOUND | |
}; |
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
/* Custom CSS */ | |
.changeset { | |
display: inline; | |
} | |
.status { | |
display: inline-block; | |
width: 320px; | |
vertical-align: top; | |
font-size: 20px; |
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
@namespace url(http://www.w3.org/1999/xhtml); | |
@-moz-document domain("fail.in.th") { | |
#page, #wrapper, #content { | |
overflow: visible; | |
} | |
#wrapper { | |
padding-top: 15px !important; |
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
// Lite Tutorial - ReX | |
// 6K MX | |
// Charted by Technikawesome | |
// Converted from BMS using http://bmse-notedrop.jgate.de/ | |
TimingMode,2 | |
// beat 0 - 130bpm | |
N,0,5 | |
N,0,6 | |
N,0.5,1 |
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 el = document.querySelector('textarea.file-contents'); | |
el.value = el.value.replace(/[\s\S]/g, function(a) { | |
if (a.charCodeAt(0) > 127) | |
return encodeURIComponent(a).replace(/%/g, '\\x'); | |
return 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
@namespace url(http://www.w3.org/1999/xhtml); | |
a:hover, input:hover, textarea:hover | |
a:focus, input:focus, textarea:focus { | |
-moz-animation-duration: 0.2s; | |
-moz-animation-iteration-count: infinite; | |
-moz-animation-name: bounceszz; | |
-moz-animation-direction: alternate; | |
} |
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 <stdio.h> | |
#include <stdlib.h> | |
#include <math.h> | |
#include <stdint.h> | |
#include <algorithm> | |
union operation_t { | |
uint8_t opcode; | |
uint32_t hash; | |
}; |
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
# Operator Is Me - Annotated Source Code Solution | |
# written by Thai Pangsakulyanont (@dtinth) | |
# in CoffeeScript, I love it. | |
# | |
# I added commentaries to this source code after I finished writing it | |
# at the time of competitions there were no comments at all. | |
fs = require 'fs' | |
# This class manages each call. |
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
hcf = (a, b, c, d) -> | |
return hcf hcf(a,b), hcf(c,d) if c? and d? | |
return hcf b, a if b > a | |
return hcf b, a % b if b > 0 | |
return a | |
data = [ | |
hcf 447369380069, 466032068393, 485107268193, 496917524923 | |
hcf 6519505243, 7386277141, 8580293573, 9418028861 | |
hcf 43537239727, 378745650149, 559929527, 111868166383 |
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== | |
// @id com.dtinth.puzzlecaptcha | |
// @name Puzzle Captcha Solver | |
// @namespace http://dt.in.th/ | |
// @author @dtinth | |
// @description Solves captcha on https://puzzlecaptcha.apprabbit.com/. Written on 2011-07-29. | |
// @include https://puzzlecaptcha.apprabbit.com/ | |
// ==/UserScript== | |
// this function loads an image from URL, |