View Kana Sorting Order
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
あぁアァ | |
いぃイィ | |
うゔぅウヺゥ | |
えぇエェ | |
おぉオォ | |
かがカガ | |
きぎキギ | |
くぐクグ | |
けげケゲ | |
こごコゴヶヵ |
View build-mingw-w64.sh
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/bash | |
# Please place the appropiate sources in these directories: | |
# Directory Source Where to get | |
# -------------------------------------------------------- | |
# m4/src m4 ftp://ftp.gnu.org/gnu/m4/ | |
# gmp/src libgmp ftp://ftp.gmplib.org/pub/ | |
# mpfr/src libmpfr http://www.mpfr.org/mpfr-current/#download | |
# mpc/src libmpc http://www.multiprecision.org/index.php?prog=mpc&page=download | |
# binutils-src binutils http://ftp.gnu.org/gnu/binutils/ |
View gist:c0c09061a5d805e22c16
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
qe8r | |
qi6w | |
q6t9 | |
12f5 | |
2ulz | |
29qx | |
4mkc | |
acmg8 | |
am51f | |
anb8u |
View blacklist
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
さっき-forvo-ankek | |
いとこ-forvo-atengid | |
ところで-forvo-cenpoy | |
くしゃみ-forvo-cocomlle | |
こんにちは-forvo-dn725 | |
レモン-forvo-GLOCS | |
しっかり-forvo-gotonobu | |
こんにちは-forvo-Hijiki | |
レモネード-forvo-hirata | |
ひどい-forvo-Hirorina |
View clean.js
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/nodejs --harmony | |
"use strict"; | |
require("prfun"); | |
function readAudio(filename) { | |
return new Promise(function (resolve, reject) { | |
let reader = new (require("wav").Reader)(); | |
let rawBuffer = new Buffer(0); | |
let format; |
View randomiseCards.py
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
# Randomises the due dates of the cards in a deck, but only bringing them closer to being due | |
# Run in Anki's REPL console (ctrl+:) | |
from random import random | |
from math import floor | |
deckName = u"わかった!" | |
for cid in self.col.decks.cids(self.col.decks.byName(deckName)["id"], True): | |
card = self.col.getCard(cid) |
View synaptic-touch-averager.js
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 nodejs | |
var x = []; | |
var y = []; | |
var buffer = ""; | |
require("child_process").spawn("evemu-record", {stdio: [process.stdin, "pipe", process.stderr]}).stdout.on("data", function (data) { | |
buffer += data.toString(); | |
if (buffer.indexOf("\n") >= 0) { | |
var lines = buffer.split("\n"); |
View level12.cpp
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 <chrono> | |
#include <map> | |
#include <vector> | |
#include <string> | |
#include <cstdlib> | |
#include <cstdio> | |
#include <unistd.h> | |
#include <sys/wait.h> |
View secrets.js
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
/** | |
* Room Avatar Commands | |
**/ | |
function fakeUnrecognized() { | |
var fullCmd = this.namespaces.concat(this.cmd).join(' '); | |
if (this.cmdToken === '!') { | |
return this.errorReply("The command '" + this.cmdToken + fullCmd + "' was unrecognized."); | |
} | |
return this.errorReply("The command '" + this.cmdToken + fullCmd + "' was unrecognized. To send a message starting with '" + this.cmdToken + fullCmd + "', type '" + this.cmdToken.repeat(2) + fullCmd + "'."); | |
} |
View perf.c
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
#define _GNU_SOURCE | |
#include <stdio.h> | |
#include <stdint.h> | |
#include <string.h> | |
#include <linux/perf_event.h> | |
#include <sched.h> | |
#include <sys/syscall.h> | |
#include <sys/wait.h> | |
#include <unistd.h> |
OlderNewer