I hereby claim:
- I am micromaomao on github.
- I am maowtm (https://keybase.io/maowtm) on keybase.
- I have a public key ASBWYlQ8_f1DPRN9slDQM7YssGskMcQkqn5VDEWly5RNGQo
To claim this, I am signing this object:
-----BEGIN PGP SIGNED MESSAGE----- | |
Hash: SHA256 | |
2B30339029E6CBD128779A876B8AA3FDC9DAF7AA is the GPG public key for this account: @micromaomao / MaoWtm ( GitHub ) | |
-----BEGIN PGP SIGNATURE----- | |
Version: GnuPG v2 | |
iQIcBAEBCAAGBQJXgJ5xAAoJEGuKo/3J2veqixwQAKnDERmz5FPB0sCy+JI9mInq | |
vSwJOnzwoH81n94Tje8LyTX7GWCP/WdiZO3YrvtJPmLRda3Py9i3179hfrdo6JgB | |
fkRIP9jeJ/Nkp3bhKDVxt82b7QPkJUaY/tZ3F47JKjsDdQDsJEDdjf3BEFtcvI2n |
SELECT * FROM ( | |
SELECT | |
destinationAccount AS account, | |
round( | |
IFNULL((SELECT sum(credit) FROM transactions WHERE destinationAccount=tx.destinationAccount), 0) | |
- IFNULL((SELECT sum(credit) FROM transactions WHERE sourceAccount=tx.destinationAccount), 0) | |
, 9) | |
AS balance | |
FROM transactions tx | |
GROUP BY destinationAccount |
set nocompatible " be iMproved, required | |
filetype off " required | |
" set the runtime path to include Vundle and initialize | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
" alternatively, pass a path where Vundle should install plugins | |
"call vundle#begin('~/some/path/here') | |
" let Vundle manage Vundle, required |
I hereby claim:
To claim this, I am signing this object:
fetch('/subjects/?as=json').then(res => res.json()).then(subjs => { | |
function doSubject(i) { | |
if (i >= subjs.length) return void console.log('# Done!') | |
let subj = subjs[i] | |
console.log('# Doing ' + subj._id + '...') | |
checkSubject(subj).then(() => { doSubject(i + 1) }) | |
} | |
function checkSubject (subj) { | |
return Promise.all(subj.times | |
.map(time => checkEr(subj._id, time).then(b => Promise.resolve([time, b])))) |
use std::{io, mem}; | |
use std::io::Write; | |
struct LockHolder { | |
stdout_ptr: *mut io::Stdout, | |
lock_ptr: *mut io::StdoutLock<'static>, | |
} | |
impl LockHolder { | |
fn new() -> Self { |
setInterval(() => {try {let ele=Array.prototype.slice.call(document.querySelectorAll('.jsx-2732537345.options-image-wrapper'),-1)[0];ele.click();ele.remove();document.querySelector('.contextMenu-menuItem-delete').dispatchEvent(new MouseEvent('mousedown', {bubbles: true})); | |
document.querySelector('.button-base-kind-danger').click()} catch (e) {}}, 200) |
import Data.List | |
toListNums :: Int -> [Int] | |
chrToInt :: Char -> Int | |
chrToInt chr = read ([chr]) | |
toListNums num = if length rs == 4 then rs else 0:rs where rs = map chrToInt (show num) | |
ifDistinct :: (Eq a) => [a] -> Bool | |
ifDistinct [] = True | |
ifDistinct (x:px) = x `notElem` px && ifDistinct px |
#!/usr/bin/python | |
import sys | |
sys.path.insert(0, '../setval') | |
import setval as v | |
for x in range(32, 126): | |
xt = v.genpt(v.tryns(x)) | |
print "(" + chr(x) + xt + ")" |
players: [] | |
groups: | |
- name: players | |
permissions: | |
bukkit.command.help: true | |
bukkit.command.tps: true | |
coreprotect.help: true | |
coreprotect.inspect: true | |
coreprotect.lookup: true | |
essentials.afk: true |