You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
itunes-client って何? rubygems.org katsuma/itunes-client itunes-clientはローカルのiTunesの操作を簡単に扱う高レベルなAPIを提供するgemです。たとえばトラックの操作はこんな感じで行えます。 背景 似たようなことを実現するものとして、AppleEventをラップして高レベルのAPIを提供するrb-appscriptや、それを利用したiTunes専用のライブラリrb-itunes などがあります。ところが、iTunes10.6からSandboxが加わることで、これ系のライブラリは全部動作しなくなりました。 で、対応方法としてAppleScriptを介すことで回避はできるのですが、taifuやmusicalを書き直してる中で、何度も同じようなコードを書き続けているので、分離して管理したほうが実装しやすいなと思い、今回分離して
ドメインウェブの設定が見つかりません 考えられる原因 ドメインウェブの設定がまだ行われていない。 ドメインウェブの設定がまだ反映されていない。(反映には数時間~24時間かかることがあります) ドメインウェブ・DNSの設定が誤っている。 アカウントが存在しない、契約が終了している、削除されている。
A simple Ruby wrapper for the Foursquare API.install gem install foursquare example # foursquare's site uses email as the user name fq = Foursquare.new('username_or_phone','password') fq.test fq.venues(geolat, geolong, {:limit=>10,:q=>'pizza'}) fq.tips(geolat,geolong,{:limit=>10}) fq.checkins({:geolat=>'',:geolong=>''}) fq.checkin(vid,venue,shout,{:private=>0,:twitter=>0,:facebook=>1,:geolat=>'12.
RESTful API の作成に特化したマイクロフレームワーク grape の存在を知ったので調査してみる事にしました。API の実装 に Rails の ActionController は重厚すぎる、Sinatra は軽いけど手間がかかる。。。という中で作られたこのフレームワーク、はたしてその実力は… grape の特徴# grape の特徴は概ね以下の通りです。grape 自体が Rack アプリケーションなので Rails3 に組み込むことが出来ます。というよりは組み込んで使うのが前提のようです(勿論単体でも動きます)。 Rack アプリケーション Sinatra ライクな DSL 自動で JSON にシリアライズ(#serializable_hash または #to_json が存在すればOKみたい) grape を使ってみる# 特徴を掴んだところで、実際にインストールして使って
Makes creating XML/JSON responses in Rails 3, 4 and 5 easy and fun. The built-in XML/JSON support of Rails is great but: You surely don’t want to expose your models always with all attributes. actsasapi enriches the models and controllers of your app in a rails-like way so you can easily determine how your API responses should look like. Features DRY templates for your api responses Ships with sup
Googleの仮名漢字変換APIを利用して,平仮名のテキストを与えると自動的に仮名漢字変換してくれる,glitch-imeというGemを作った. Google 日本語入力 - CGI API デベロッパーガイド glitch-ime | RubyGems.org | your community gem host gem install glitch-ime インスタンスを作るときにテキストを渡して,generateすると何か出してくれる. require 'glitch-ime' ime = GlitchIME.new('にわにはにわにわわにがいます') 10.times { puts img.generate } これで,こんなのができる. ニワニハニワ二話waniが鋳ます 庭には二羽丹羽ワニがイマス にわにはにわ丹羽waniがいます ニワニハニワ庭鰐が射ます ニワニハニワ二輪わにがい
Episodes Archives Jobs The Changelog - Open Source moves fast. Keep up. Latest episode Episode 0.4.2 - Rails 3.1 and SproutCore with Yehuda Katz Adam and Wynn caught up with Yehuda Katz to talk about upcoming changes in Rails 3.1, SproutCore, and his growing list of open source projects. Go to episode The Changelog is a weekly podcast and blog that covers what's fresh and new in Open Source. Decem
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く