Skip to content

Instantly share code, notes, and snippets.

View kenchan's full-sized avatar
💭
😄

Kenichi Takahashi kenchan

💭
😄
View GitHub Profile
*learn-vimscript.txt* Vimスクリプト基礎文法
Author: |thinca|
------------------------------------------------------------------------------
基礎 |learn-vimscript-basic|
数値 |learn-vimscript-number|
文字列 |learn-vimscript-string|
リスト |learn-vimscript-list|
辞書 |learn-vimscript-dictionary|
制御コマンド |learn-vimscript-command|
@hitode909
hitode909 / SolarizedLight.css
Created December 7, 2011 03:30
Solarized like LimeChat theme
html {
font-family: "Monaco";
background-color: #fdf6e3;
color: #657b83;
word-wrap: break-word;
margin: 0;
padding: 3px 4px 10px 4px;
}
body {
@sbleon
sbleon / acceptance_stats.rake
Created April 11, 2012 17:52
Add Turnip acceptance test LOC stats to "rake stats"
# lib/tasks/acceptance_stats.rake
#
# Add acceptance tests to "rake stats" output
if Rake::Task.task_defined? 'spec:statsetup'
Rake::Task['spec:statsetup'].enhance do
require 'rails/code_statistics'
::STATS_DIRECTORIES << %w(Acceptance\ tests spec/acceptance) if File.exist?('spec/acceptance')
::CodeStatistics::TEST_TYPES << 'Acceptance tests' if File.exist?('spec/acceptance')
end
end
@matope
matope / NoSQLデータモデリング技法.markdown
Created April 16, 2012 03:35
NoSQLデータモデリング技法

#NoSQLデータモデリング技法

原文:NoSQL Data Modeling Techniques « Highly Scalable Blog

I translated this article for study. contact matope[dot]ono[gmail] if any problem.

NoSQLデータベースはスケーラビリティ、パフォーマンス、一貫性といった様々な非機能要件から比較される。NoSQLのこの側面は実践と理論の両面からよく研究されている。ある種の非機能特性はNoSQLを利用する主な動機であり、NoSQLシステムによく適用されるCAP定理がそうであるように分散システムの基本的原則だからだ。一方で、NoSQLデータモデリングはあまり研究されておらず、リレーショナルデータベースに見られるようなシステマティックな理論に欠けている。本稿で、私はデータモデリングの視点からのNoSQLシステムファミリーの短い比較といくつかの共通するモデリングテクニックの要約を解説したい。

本稿をレビューして文法を清書してくれたDaniel Kirkdorfferに感謝したいと思う

@paulmillr
paulmillr / active.md
Last active September 1, 2025 18:36
Most active GitHub users (by contributions). https://paulmillr.com

Most active GitHub users (git.io/top)

The list would not be updated for now. Don't write comments.

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.

Because of GitHub search limitations, only 1000 first users according to amount of followers are included. If you are not in the list you don't have enough followers. See raw data and source code. Algorithm in pseudocode:

githubUsers
@taichi
taichi / code_reading.md
Last active April 10, 2024 13:04
太一のコードの読み方メモ

太一のコードの読み方メモ

全体として太一が感覚的に実践している事を論理的に説明しようと試みている為、
説明の粒度が適切でなかったり一貫性が無いように見える部分があるかもしれない。
普段やっているけども書ききれていない事も多分きっとある。

コードを読むとは何か

  • コードを嗜む
  • コードを学ぶ
  • 武器を手に入れる
@rummelonp
rummelonp / faraday.md
Last active May 20, 2022 12:23
Ruby の HTTP クライアントライブラリ Faraday が便利そう

Ruby の HTTP クライアントライブラリ Faraday が便利そう

Ruby の HTTP クライアントライブラリ Faraday が便利そう

API ラッパの開発には [RestClient gem][rest_client_gem] だとか
OAuth の必要なものは [Net/HTTP][net_http] + [OAuth gem][oauth_gem] を使ってた

[Twitter gem][twitter_gem] や [Instagram gem][instagram_gem] など API ライブラリのソースを読んでみると
[Faraday gem][faraday_gem] というものがよく使われてた

@kakutani
kakutani / affilication_count_sprk2012.md
Created June 9, 2012 05:36
Affiliation Count on Sapporo RubyKaigi 2012 Spakers

Affiliation Count on Sapporo RubyKaigi 2012 Spakers

(based on hand count by kakutani, they spelled their affiliation in inconsistent way. thanks to sprk2012 team for providing *.yml!)

Company-ish

  • 5: Eiwa System Management, Inc.
  • 4: COOKPAD Inc.
  • 3: Network Applied Communication Laboratory Ltd.
@mala
mala / gist:3128358
Created July 17, 2012 09:40
利用者の使っているフィルタリングソフトの基準に合わせて表示される広告にゾーニングを適用する法、及びその問題点について
https://twitter.com/bulkneets/status/224725678833147904
ってのを書いたわけだけど
元ネタは覚えてる人居ないかもしれないけど、ココらへんの話ねー
http://internet.watch.impress.co.jp/docs/news/20090728_305316.html
http://mixi.co.jp/press/2009/0727/1691/
で、後々、携帯電話会社とちゃんと連携して、契約者の年齢わかるようにした。
http://mixi.co.jp/press/2011/0119/4179/