- GitHub Staff
- https://bento.me/kyanny
- @kyanny
- in/kyanny
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 ruby | |
# Usage | |
# $ ruby tools/table.rb | |
require 'terminal-table' | |
def make_table rank | |
headings = [ rank.upcase ] | |
qs = eval(File.read("tools/#{rank}.txt")).to_a | |
rows = qs.map { |q| | |
[q] |
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
copy( | |
$$('.problem-group .problem-box__header__title').map(function(el){ return el.textContent.split(/:/)[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
require 'thread' | |
V = Struct.new(:x, :y, :visited, :goal) | |
m = [] | |
$w = 10 | |
$h = 10 | |
$h.times do |h| | |
l = [] |
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
(let* ((elapsed | |
(float-time | |
(time-subtract | |
(date-to-time "2019-01-17 18:05") | |
(date-to-time "2019-01-17 13:19")))) | |
(in_minutes (/ elapsed 60)) | |
(in_hours (/ in_minutes 60)) | |
(remained_minutes (mod in_minutes 60))) | |
(format "%d hours %d minutes" in_hours remained_minutes)) |
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 current = null; | |
var originalStyle = ''; | |
document.onmouseover = function(e) { | |
current = document.elementFromPoint(e.clientX, e.clientY); | |
originalStyle = current.style; | |
current.style = 'background: rgba(255, 0, 0, 0.2)'; | |
if (window.speechSynthesis) { | |
var synth = speechSynthesis; | |
var message = current.textContent; |
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
戦後の一時期に比べれば、その欲望の熾烈さは明らかに減少した。もはや戦後ではない_1947年経済白書 | |
プロパガンダとは大衆の感情に訴えて、彼らの想像力を呼び起こし、国民大衆の心を引きつけることにある_アドルフ・ヒトラー | |
科学的な説明は知識人のためにあり、宣伝という近代的な武器は大衆に対するものだ_アドルフ・ヒトラー | |
永遠に選択が行われ、強者が常に生命を維持し、かつ生きる権利をも保持するのであり、弱者は滅んでいく_アドルフ・ヒトラー | |
思考とは驚きからの絶えざる飛翔である_アルバート・アインシュタイン | |
もし光の速度で光を追いかけたなら、光は止まって見えるだろうか?_アルバート・アインシュタイン | |
ぼくはいつも残り物で残り物のことをするのが好き_アンディ・ウォーホル | |
お金はぼくにとってその瞬間なんだ。お金はぼくのムード_アンディ・ウォーホル | |
ぼくは考え出したら絵はもうダメになると思う_アンディ・ウォーホル | |
コークはコーク、どれだけお金があっても街角のホームレスが飲んでいるものよりおいしいコークなんて買えない_アンディ・ウォーホル |
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
2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222 |
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
hello |
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
@-moz-document url-prefix("https://github.com/notifications"), url-prefix("https://github.com/notifications/participating"), regexp("https://github.com/.*/notifications.*") { | |
.list-group-item.navigation-focus { | |
outline: 1px black dashed; | |
} | |
} |
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
hello |