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
#include <iostream> | |
#include <windows.h> | |
#include <stdlib.h> | |
#include "EasyBMP.h" // http://easybmp.sourceforge.net/ | |
using namespace std; | |
INPUT input[5][24]; | |
int complete = 0; | |
int colno = 0; |
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
orz=3 |
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
String.prototype.capitalize = function() { | |
return this.charAt(0).toUpperCase() + this.slice(1); | |
}; | |
var Greet = function(greeting, objection) { | |
this.greeting = greeting || 'hello'; | |
this.objection = objection || 'world'; | |
this.do = function() { | |
console.log((this.greeting + ', ' + this.objection + '!').capitalize()); | |
}; |
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
#PgUp::Volume_Up | |
#PgDn::Volume_Down | |
Pause::Media_Play_Pause | |
ScrollLock & h::send {Left} | |
ScrollLock & j::send {Down} | |
ScrollLock & k::send {Up} | |
ScrollLock & l::send {Right} | |
ScrollLock & y::send {Home} |
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
#include <stdio.h> | |
int main() { | |
int number; | |
while (1) { | |
printf("Enter your number: "); | |
scanf("%d", &number); | |
if (number > 10) { |
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
var WebSocket = require('websocket').client; | |
var request = require('request'); | |
var cheerio = require('cheerio'); | |
var stripJsonComments = require('strip-json-comments'); | |
var moment = require('moment-timezone'); | |
var fs = require('fs'); | |
var hostname = 'ws://typhoon.yumetaro.info/websocket'; | |
var ws = new WebSocket(); |
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('sugar'); | |
var fs = require('fs'); | |
var filenames = fs.readdirSync('.'); | |
filenames.forEach(function(filename) { | |
if (filename.endsWith('.png') || filename.endsWith('.jpg')) { | |
fs.stat(filename, function(err, stat) { | |
var time = new Date(Math.min(stat.mtime, stat.ctime, stat.atime)); | |
var timeString = time.getFullYear() + '-' + (time.getMonth() + 1).toString().padLeft(2, '0'); | |
fs.exists(timeString, function (exists) { |
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
var YouTyping=function(){function ぴ(ぴ){var ょ=new Date,ぴょ=ん(ょ.getHours(),2),ょょ=ん(ょ.getMinutes(),2),んょ=ん(ょ.getSeconds(),2),ぴん=ん(ょ.getMilliseconds(),3);$("#debug").append("["+ぴょ+":"+ょょ+":"+んょ+"."+ぴん+"] "+ぴ+"\n"),console.log(ぴ)}function ょ(ぴ){ぴ=ぴ.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var ょ=new RegExp("[\\?&]"+ぴ+"=([^&#]*)"),ん=ょ.exec(location.search);return null===ん?"":decodeURIComponent(ん[1].replace(/\+/g," "))}function ん(ぴ,ょ){return ぴ=ぴ.toString(),ぴ.length<ょ?ん("0"+ぴ,ょ):ぴ}var ぴょ=function(ん,ぴょ){var んょ=this;this.noteState={WAITING:0,HITTING:1,CLEARED:2,HITTINGFAILED:3,FAILED:4};var ょん,んん=function(){ょん=$.Deferred(),ぴ("Setting Player Up...");var ょ=document.createElement("script");ょ.src="https://www.youtube.com/iframe_api";var ん=document.getElementsByTagName("script")[0];return ん.parentNode.insertBefore(ょ,ん),ょん.promise()};window.onYouTubeIframeAPIReady=function(){var ん=んょ.settings;ぴ("Player API is Ready."),"true"===ょ("sandbox")&&this.DOM.player.setAttribute("sandbox","allow-same-origin allow-scripts"),んょ.player=n |
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
var YouTyping=function(){function ぴょん(ぴょん){var ぴょんぴょん=new Date,ぴょんぴょんぴょんぴょん=ぴょんぴょんぴょん(ぴょんぴょん.getHours(),2),ぴょんぴょんぴょんぴょんぴょん=ぴょんぴょんぴょん(ぴょんぴょん.getMinutes(),2),ぴょんぴょんぴょんぴょんぴょんぴょん=ぴょんぴょんぴょん(ぴょんぴょん.getSeconds(),2),ぴょんぴょんぴょんぴょんぴょんぴょんぴょん=ぴょんぴょんぴょん(ぴょんぴょん.getMilliseconds(),3);$("#debug").append("["+ぴょんぴょんぴょんぴょん+":"+ぴょんぴょんぴょんぴょんぴょん+":"+ぴょんぴょんぴょんぴょんぴょんぴょん+"."+ぴょんぴょんぴょんぴょんぴょんぴょんぴょん+"] "+ぴょん+"\n"),console.log(ぴょん)}function ぴょんぴょん(ぴょん){ぴょん=ぴょん.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var ぴょんぴょん=new RegExp("[\\?&]"+ぴょん+"=([^&#]*)"),ぴょんぴょんぴょん=ぴょんぴょん.exec(location.search);return null===ぴょんぴょんぴょん?"":decodeURIComponent(ぴょんぴょんぴょん[1].replace(/\+/g," "))}function ぴょんぴょんぴょん(ぴょん,ぴょんぴょん){return ぴょん=ぴょん.toString(),ぴょん.length<ぴょんぴょん?ぴょんぴょんぴょん("0"+ぴょん,ぴょんぴょん):ぴょん}var ぴょんぴょんぴょんぴょん=function(ぴょんぴょんぴょん,ぴょんぴょんぴょんぴょん){var ぴょんぴょんぴょんぴょんぴょんぴょん=this;this.noteState={WAITING:0,HITTING:1,CLEARED:2,HITTINGFAILED:3,FAILED:4};var ぴょんぴょんぴょんぴょんぴょんぴょんぴょんぴょん,ぴょんぴょんぴょんぴょんぴょんぴょんぴょんぴょんぴょん=function(){ぴょんぴょんぴょんぴょんぴょんぴょんぴょんぴょん=$.Deferred(),ぴょん("Setting Player |
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
var YouTyping=function(){function こころ(こころ){var いつも=new Date,ぴょん=ぴょ(いつも.getHours(),2),ぴょんと=ぴょ(いつも.getMinutes(),2),ぴょーん=ぴょ(いつも.getSeconds(),2),こころぴょん=ぴょ(いつも.getMilliseconds(),3);$("#debug").append("["+ぴょん+":"+ぴょんと+":"+ぴょーん+"."+こころぴょん+"] "+こころ+"\n"),console.log(こころ)}function いつも(こころ){こころ=こころ.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var いつも=new RegExp("[\\?&]"+こころ+"=([^&#]*)"),ぴょ=いつも.exec(location.search);return null===ぴょ?"":decodeURIComponent(ぴょ[1].replace(/\+/g," "))}function ぴょ(こころ,いつも){return こころ=こころ.toString(),こころ.length<いつも?ぴょ("0"+こころ,いつも):こころ}var ぴょん=function(ぴょ,ぴょん){var ぴょーん=this;this.noteState={WAITING:0,HITTING:1,CLEARED:2,HITTINGFAILED:3,FAILED:4};var いつもぴょん,ぴょぴょん=function(){いつもぴょん=$.Deferred(),こころ("Setting Player Up...");var いつも=document.createElement("script");いつも.src="https://www.youtube.com/iframe_api";var ぴょ=document.getElementsByTagName("script")[0];return ぴょ.parentNode.insertBefore(いつも,ぴょ),いつもぴょん.promise()};window.onYouTubeIframeAPIReady=function(){var ぴょ=ぴょーん.settings;こころ("Player API is Read |
OlderNewer