Skip to content

Instantly share code, notes, and snippets.

@ShinichiU
ShinichiU / redmine-newer-2-3-1-gantt.patch
Last active April 27, 2016 10:36
Redmine 2.3.1 のガントチャートに週表示を消して日付表示にするバッチ
Index: app/views/gantts/show.html.erb
===================================================================
--- app/views/gantts/show.html.erb (リビジョン 11915)
+++ app/views/gantts/show.html.erb (作業コピー)
@@ -76,12 +76,17 @@
headers_height = header_height
show_weeks = false
+ show_week_day_top = false
show_days = false

#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に感謝したいと思う

@hagino3000
hagino3000 / method_missing.js
Last active January 16, 2020 13:11
__noSuchMethod__ for Chrome
/**
* Enable route to __noSuchMethod__ when unknown method calling.
*
* @param {Object} obj Target object.
* @return {Object}
*/
function enableMethodMissing(obj) {
var functionHandler = createBaseHandler({});
functionHandler.get = function(receiver, name) {
@k4200
k4200 / gist:1192189
Created September 4, 2011 03:17
jQuery UI Autocomplete for Japanese IME
// jQuery UI doesn't work with Japanese, Chinese and probably other
// languages' IMEs.
//
// This code snippet is a modified code of jQuery UI Autocomplete 1.8.16
// that works with Japanese IME. It's based on the code in the ticket below.
// http://bugs.jqueryui.com/ticket/5933
//
// I briefly tested it, and it seems ok.
// Any comments/feedback would be appreciated.
//
# In your test_helper.rb
class ActiveRecord::Base
mattr_accessor :shared_connection
@@shared_connection = nil
def self.connection
@@shared_connection || retrieve_connection
end
end
<?php
/**
* Geohash
*
* @author Keisuke SATO
* @license MIT License
*
* # Based
* http://github.com/davetroy/geohash-js/blob/master/geohash.js
* Geohash library for Javascript