Save an extra 5% with promo code SAVEFIVE on your first purchase with a new account.❖ See Details Create Account
Nodejitsu has joined GoDaddy We are excited to join GoDaddy to help spearhead their largest Node.js product: Website Builder. Please read our blog post to learn more about customer transition plans and our continued support for Open Source within the node community. Want to know all the details? Read the full blog post or read the GoDaddy Announcement. Other popular posts - Scaling Isomorphic Java
はじめに あんまり見当たらなかったので node.js での Twitter bot 制作について解説してみます。つぶやきを受け取ってそれをそのままオウム返しするところまで 20 行くらいで実現できます。User Stream でつなぐので cron で回す必要も無いです。 (追記: 2013/03/23) Twitter の API 1.1 化に伴い、以下のエントリを参考に twitter モジュールの代わりに mtwitter モジュールを使ってみてください: 1文字足すだけで Twitter API 1.1 対応する - 凹みTips (追記: 2014/04/30) 元の twitter モジュールでも対応されているので問題なく動きます。 下準備 Twitter のアカウントへ接続するために、Consumer Key と Access Token を取得します。 http://mu
cgiを作っているときにサーバからのレスポンスをファイルに書きだしてデバッグするということがあると思います。 javascriptでは狭義的にファイルの読み書きはできませんがnode.jsを用いるとファイルの読み書きが可能になります。 ファイルの書き込みは追記ではなくて、呼ばれるたびに新規作成になります。 ファイルを読み込むとき var fs = require('fs'); var read = fs.createReadStream('./hello.js'); read.on('data', function (data) { console.log('read: data'); }) .on('end', function () { console.log('read: end'); }) .on('error', function (exception) { console.lo
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く