![最近電子工作やカードサイズPCで人気のArduino,ラズベリーパイ,BeagleBone Blackの使いわけを簡単にまとめてみた](https://cdn-ak-scissors.b.st-hatena.com/image/square/499fb05c68a2c78bf5ec1d1d7b2258c92421ac5f/height=288;version=1;width=512/http%3A%2F%2Fwww.limemo.net%2Fblog%2Fwp-content%2Fuploads%2F2013%2F05%2FIMG_4677-300x225.jpg)
環境は、rails 3.2.6、ruby 1.9.3、Google Chrome 22.0、Mac 10.7.5 です。 一行目のruby.exeをrubyと変更しscript/sslrailsを追加します。 (デフォルトでscript/railsというファイルがありますが、それとは別に追加します) ※余談ですが、私はエディタをEsppressoを利用していまして、Esppresso上でscript/railsを複製をしたら、Unix実行ファイルとして複製されませんでした。なので、Finderで複製することができました。sslrailsは「Unix実行ファイル」でないと動作しませんので、ご注意下さい。 #!/usr/bin/env ruby # This command will automatically be run when you run "rails" with Rails 3
The first version of Socket.IO was created shortly after Node.JS made its first appearance. I had been looking for a framework that easily enabled me to push data from a server to a client for a long time, and even had tried other approaches to server-side JavaScript. At the time, the main focus was on an interface equivalent to the upcoming WebSocket API that was in the process of standardization
A Domain-Specific Language, or DSL, is “a programming language of limited expressiveness focused on a particular domain”. It makes tasks in its domain easier by removing extraneous code for a particular task and allowing you to focus on the specific task at hand. It also helps other people read the code, because the purpose of the code is so clear. Here’s a little Internal DSL in Ruby: Smokestack.
これぞグローバル化。 マイクロソフトはSkypeの新しい機能をRe/codeのCode Conferenceで発表しました。それは、自分と違う言語を話す人とリアルタイムで会話ができるというもの。イヴェントではSkypeのGurdeep Pall主任が、ドイツ語を話す役員とのデモンストレーションを披露しました。会場にいたドイツ語スピーカーによると「完璧ではないが、なかなかいい出来だった」と評価していますよ。 この新機能は、相手が話している内容をスクリーン下部に字幕表示させるとことで意思疎通を可能にします。ただ、映画のようにすぐに文字が表示されるわけではなく、相手が話し終わるまで待つ必要があります。それでもかなり便利ですよね。また、多くの人がこの機能を使うことで、より正確・迅速な翻訳ができるようにアップデートされていくそうですよ。 この機能は今のところ、Windows搭載のパソコンでのみ動作す
Visibility.js is a wrapper for the Page Visibility API. It hides vendor prefixes and adds high level functions. Page Visibility API allows you to determine whether your web page is either visible to a user or hidden in background tab or prerendering. It allows you to use the page visibility state in JavaScript logic and improve browser performance by disabling unnecessary timers and AJAX requests,
Using the Page Visibility API Stay organized with collections Save and categorize content based on your preferences. Introduction As Web developers, we tend to get excited by new technologies that enable us to create ever more engaging, interactive Web pages. 3D graphics with WebGL? Absolutely. Advanced audio capabilities with WebAudio? Sure thing. Real-time collaboration applications using the We
ページ可視性 API (Page Visibility API) では、現在ページが見えているかどうかを調べる機能とともに、文書が表示されたり非表示になったりした時を監視することができるイベントを提供します。 これは特に、文書が表示されていない時に不必要なタスクの実行を抑止することで、リソースを節約したり実行効率を上げたりするために特に有用です。 ユーザーがウィンドウを最小化したり他のタブに切り替えたりした時、 API は visibilitychange イベントを送信してリスナーにページの状態が変化したことを知らせます。イベントを検出していくつかの操作を実行したり、様々な動作をしたりすることができます。例えば、ウェブアプリで動画を再生している場合、ユーザーがタブをバックグラウンドにした場合に動画を一時停止させ、ユーザーがこのタブに戻ったときに再生を再開させたりすることができます。ユーザ
Annotation.md Idobata Gemfile プレゼント tl;dr IdotabaのGemfileは"全プレ"になりました。ご笑納ください。→ Gemfile プレゼントについてのお詫び rebuild.fmのep36でお知らせさせていただきました、Idobataの最新版Gemfileプレゼントをお届けいたします。 過日はIdobata会議01への多数のご参加ありがとうございました。おかげさまで盛況なミートアップとなりました。 (当日会場を提供いただいたEngine Yardさまのブログにて、Idobata会議01当日の様子がまとめられています。ありがとうございます!) さて、肝心のGemfileですが、Engine Yard Cloudのstable-v4スタックでRuby 2.1.2が利用可能になるのを待ちつつ、2.1.2対応をしていたら、Gemfileをお届けするのが
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く