AGQR の放送を保存するスクリプト.
- 31日まである月に翌日の指定が失敗する
というバグが存在する.
!function(){ | |
function render(){ | |
var t=performance.now()/1000; | |
document.querySelectorAll(".schedule_member_base_grn")[1].style.position="relative"; | |
var p=document.querySelectorAll(".user-grn"); | |
var n=p.length; | |
for(var i=0;i<n;i++){ | |
var s=p[i].style; | |
s.position="absolute"; | |
s.top=48*Math.sin(2*Math.PI*(i/n+t))+"px"; |
#!/usr/bin/ruby | |
require 'rss' | |
require 'open-uri' | |
require 'uri' | |
# 日本人っぽいのだけ欲しい場合' | |
URL = 'http://xpathfeed.com/feed?url=http%3A%2F%2Fjp.xvideos.com%2F&xpath_list=%2F%2F*%5B%40class%3D%22thumbBlock%22%5D%2Fdiv%2Fp%5B1%5D%2Fa' | |
RSS::Parser.parse(open(URL).read).channel.items.each{|x| | |
uri = URI.parse x.link |
AGQR の放送を保存するスクリプト.
というバグが存在する.
/***** Niconico Mylist Search ブックマークレット ***** | |
ニコニコ動画のマイリストをインクリメンタルサーチします。 | |
@auther : moroya http://moroya.hatenablog.jp/ | |
@license: MIT License | |
*/ | |
(function($){ | |
if(location.href.indexOf('www.nicovideo.jp/my/mylist') === -1) { | |
if(window.confirm('このページはニコニコ動画の\nマイリストページではありません\nマイリストページへジャンプしますか?')) { | |
location.href="http://www.nicovideo.jp/my/mylist"; |
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.
If you are not in the list you don't have enough followers. 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)
原文:Scaling Isomorphic Javascript Code (This is just for study, please contact me at tily05 atmark gmail.com if any problem.)
考えてみれば Model-View-Controller とか MVC ってよく聞くよね。実際どんなものか知ってる? 抽象的に言うなら「オブジェクト情報の保持されるグラフィック・システム (つまり、ラスターではないグラフィック。ゲームとか) 上に構築された、表示系を中心としたアプリケーションにおいて、主要な機能どうしの関わりをうまく分離すること」とでも言おうか。もう少し深く考えを押し進めてみれば、これは当然、他のさまざまなアプリケーションにもあてはまる言葉 (bucket term ?) だ。
過去に多くの開発コミュニティが MVC による解決案を提供し、それによってよくあるユースケースにうまく対処し、地位を築くことができた。例をあげるなら、Ruby や Python コミュニティは Rails や Django を作り、MVC アーキテクチャを実現した。