Skip to content

Instantly share code, notes, and snippets.

tobynet tobynet

  • Toyama, Japan
Block or report user

Report or block tobynet

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@tobynet
tobynet / min-caml-syscall.bin.txt
Created May 10, 2019
メモ of min-camlのプログラムからシェルが取れるか? https://cookies.hatenablog.jp/entry/2018/12/16/120213
View min-caml-syscall.bin.txt
52 53 90 3c bb 89 e3 51 3c b9 53 89 e1 3c ba 31 d2 cd 80
@tobynet
tobynet / index.html
Created Mar 26, 2019
[sandbox][WIP] JB sandbox
View index.html
<div class="javabo">
<a href="javascript:void" class="redjavabo">
今すぐダウンロード
</a>
</div>
<p class="control">
<label for="input">Your dream:</label>
<input id="input" value="" placeholder="is ...?">
<br>
@tobynet
tobynet / index.html
Last active Mar 26, 2019
Make your own JavaButton
View index.html
<div class="javabo">
<a href="javascript:void" class="redjavabo">
今すぐダウンロード
</a>
</div>
<p class="control">
<label for="input">Your dream:</label>
<input id="input" value="" placeholder="is ...?">
<br>
@tobynet
tobynet / random-string-for-54-novel.py
Created Jul 4, 2018
#54文字の文学賞 のジェネレータ https://ujiqn.github.io/54-novel/ に入れる用スクリプト(ランダム版)
View random-string-for-54-novel.py
#!/usr/bin/env python
WIDTH = 9
HEIGHT = 6
import random
#src = "┣╋┻┳┫"
src = "☐⊡▤▥▩▨▧▦▣"
# string -> [shuffled string]
@tobynet
tobynet / rotation-string-for-54-novel.py
Last active Jul 4, 2018
#54文字の文学賞 のジェネレータ https://ujiqn.github.io/54-novel/ に入れる用スクリプト
View rotation-string-for-54-novel.py
#!/usr/bin/env python
import numpy as np
message = \
'''
 
 あなたと
  ジャバ
 
 今すぐ
@tobynet
tobynet / index.html
Created Feb 25, 2018
[PoC] CSS logging with React, ジャバボタン.css
View index.html
<h1>[PoC] CSS logging in <code>`input type=password`</code> with React, ジャバボタン.CSS</h1>
<p><strong>Input "java"</strong> in the following password field like JavaButton.</p>
<div id="input-button" class="redjavabo"></div>
<p><a href="https://github.com/facebook/react/issues/11896">Original issue is here.</a></p>
@tobynet
tobynet / watch-qmk-make.sh
Created Dec 9, 2017
Watch your code for keymaps and compile qmk firmware with inotifywait command.
View watch-qmk-make.sh
#!/bin/env bash
# ref. https://github.com/rvoicilas/inotify-tools/wiki#inotifywait
# ref. inotifywait --help
cd qmk_firmware
while inotifywait --recursive --event modify \
keyboards/lets_split/keymaps/j3/ ; do
make lets_split/rev2:j3
done
@tobynet
tobynet / index.html
Last active Sep 7, 2017
[WIP] inheritance.in.js
View index.html
<p>Open the <em>Console</em> and see it!</p>
<img src="https://i.gyazo.com/e3ac4649fb1d6e1f93a47ef5a8dd9c9e.gif" style="border: 1px solid lightgray;">
<p>or press <code>F12</code> to open console in DevTools on your browser.</p>
View script.babel
// Codepen inserts 'use strict' in head!!
// Error
//this.poop = '💩';
//console.log(`[top] this.poop: ${poop}`);
const Foo = function f() {
this.poopInF = '💩inFunc';
console.log(`[f()] this.poopInF: ${this.poopInF}`);
}
You can’t perform that action at this time.