This is the reference point. All the other options are based off this.
|-- app
| |-- controllers
| | |-- admin
| Regex for matching ALL Japanese common & uncommon Kanji (4e00 – 9fcf) ~ The Big Kahuna! | |
| ([一-龯]) | |
| Regex for matching Hirgana or Katakana | |
| ([ぁ-んァ-ン]) | |
| Regex for matching Non-Hirgana or Non-Katakana | |
| ([^ぁ-んァ-ン]) | |
| Regex for matching Hirgana or Katakana or basic punctuation (、。’) |
| #!/usr/bin/env python | |
| """ | |
| Interactive execution with automatic history, tries to mimic Mathematica's | |
| prompt system. This environment's main features are: | |
| - Numbered prompts (In/Out) similar to Mathematica. Only actions that produce | |
| output (NOT assingments, for example) affect the counter and cache. | |
| - The following GLOBAL variables always exist (so don't overwrite them!): | |
| _p: stores previous result which generated printable output. |
| postgres: | |
| adapter: postgresql | |
| database: myapp_test | |
| username: postgres | |
| before_script: | |
| - "psql -c 'create database myapp_test;' -U postgres" | |
| - "rake db:migrate" |
cribbed from http://pastebin.com/xgzeAmBn
Templates to remind you of the options and formatting for the different types of objects you might want to document using YARD.
| module UnionQuery | |
| extend ActiveSupport::Concern | |
| included do | |
| def self.union(relation_to_unite, type=nil) | |
| LazyUnionQuery.new self, relation_to_unite, type | |
| end | |
| end | |
| end |
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] というものがよく使われてた
| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | |
| <html> | |
| <head> | |
| <link rel="stylesheet" href="http://code.jquery.com/qunit/git/qunit.css" type="text/css" media="screen" /> | |
| <!-- when.js Promises implementation --> | |
| <script src="https://raw.github.com/cujojs/when/master/when.js"></script> | |
| <!-- Unit testing and mocking framework --> | |
| <script type="text/javascript" src="http://code.jquery.com/qunit/git/qunit.js"></script> |
| This playbook has been removed as it is now very outdated. |