Fluxxor by binarymuse
- 2014/05/12 first commit
- F8での "Flux" の登場からわずか4日
- 素朴な実装
- mixinベースの機能
- 〜React v0.12という感じ
#!/usr/bin/env python | |
"""Edit a file in the host nvim instance.""" | |
import os | |
import sys | |
from neovim import attach | |
args = sys.argv[1:] | |
if not args: | |
print "Usage: {} <filename> ...".format(sys.argv[0]) |
# Additional translations at https://github.com/plataformatec/devise/wiki/I18n | |
ja: | |
devise: | |
confirmations: | |
confirmed: 'アカウントを登録しました。' | |
send_instructions: 'アカウントの有効化について数分以内にメールでご連絡します。' | |
send_paranoid_instructions: "あなたのメールアドレスが登録済みの場合、本人確認用のメールが数分以内に送信されます。" | |
failure: | |
already_authenticated: 'すでにログインしています。' |
class Integer | |
N_BYTES = [42].pack('i').size | |
N_BITS = N_BYTES * 16 | |
MAX = 2 ** (N_BITS - 2) - 1 | |
MIN = -MAX - 1 | |
end | |
p Integer::MAX #=> 4611686018427387903 | |
p Integer::MAX.class #=> Fixnum | |
p (Integer::MAX + 1).class #=> Bignum |
$.getJSON('https://github.com/users/' + location.pathname.replace(/\//g, '') + '/contributions_calendar_data', weekendWork); | |
function weekendWork(contribs) { | |
var inwe = false, streak = 0, highest = 0, total = 0, possible = 0; | |
contribs.forEach(function (c) { | |
var d = new Date(c[0]).getDay(); | |
if (d === 6) { | |
inwe = true; | |
} else if (d === 0 && inwe) { | |
possible++; | |
if (c[1] !== 0) { |
The count of contributions (summary of Pull Requests, opened issues and commits) to public repos at GitHub.com from Wed, 21 Sep 2022 till Thu, 21 Sep 2023.
Only first 1000 GitHub users according to the count of followers are taken. This is because of limitations of GitHub search. Sorting algo in pseudocode:
githubUsers
.filter(user => user.followers > 1000)