#Yoeman, bower, grunt.js cli tool usage
Installation, node.js and npm are required.
npm install -g yo grunt-cli bower
compass is a sass compoments of ruby, and you can install compass by rubygem
gem install compass
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" | |
| "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>Label</key> | |
| <string>org.redis.redis-server</string> | |
| <key>Program</key> | |
| <string>/usr/local/bin/redis-server</string> | |
| <key>ProgramArguments</key> |
| nodemailer = require 'nodemailer' | |
| fs = require 'fs' | |
| _sendMail = (email, code) -> | |
| contentHtml = [ | |
| "親愛的 Node.js 台灣社群朋友," | |
| "<p>" | |
| "由於你的支持,社群活動才能夠得以持續進行,因此特別送上 JSDC 邀請碼," | |
| "<br/>" | |
| "<br/>" |
| $lolcommits --disable | |
| dyld: Library not loaded: /usr/local/lib/libjpeg.8.dylib | |
| Referenced from: /usr/local/bin/mogrify | |
| Reason: image not found | |
| /Library/Ruby/Gems/1.8/gems/mini_magick-3.5.0/lib/mini_magick.rb:26:in `image_magick_version': private method `split' called for nil:NilClass (NoMethodError) | |
| from /Library/Ruby/Gems/1.8/gems/mini_magick-3.5.0/lib/mini_magick.rb:34:in `valid_version_installed?' | |
| from /Library/Ruby/Gems/1.8/gems/lolcommits-0.4.3/lib/lolcommits/configuration.rb:137:in `valid_imagemagick_installed?' | |
| from /Library/Ruby/Gems/1.8/gems/lolcommits-0.4.3/bin/lolcommits:43:in `die_on_fatal_conditions!' |
| var Speakers = [ | |
| { | |
| "name": "Kuro Hsu", | |
| "job": "", | |
| "topic": "Optimizing Your Mobile Web Apps." | |
| }, | |
| { | |
| "name": "Paul Li", | |
| "job": "", | |
| "topic": "樸實與浮華 (Plain and Vanity)" |
#Yoeman, bower, grunt.js cli tool usage
Installation, node.js and npm are required.
npm install -g yo grunt-cli bower
compass is a sass compoments of ruby, and you can install compass by rubygem
gem install compass
| var express = require('express'), | |
| routes = require('./routes'), | |
| http = require('http'), | |
| server; | |
| var app = express(); | |
| app.configure(function(){ | |
| app.set('port', process.env.PORT || 3000); | |
| app.set('views', __dirname + '/views'); |
| var http = require('http') | |
| http.createServer(function (req, res) { | |
| (function () { | |
| res.write('hello world \n'); | |
| setTimeout(arguments.callee, 500); | |
| })(); | |
| }).listen(3000, '127.0.0.1'); |
| // remove a room key | |
| client.on('disconnect', function (data) { | |
| var key = room.indexOf(client.id);; | |
| room.splice(key, 1); | |
| io.sockets.socket(adminId).emit('query-room-list', room); | |
| }); |
| var socket = io.connect(); | |
| socket.on('news', function (data) { | |
| console.log(data); | |
| socket.emit('my other event', { my: 'data' }); | |
| }); |
| window.onerror = function(message, file, line) { | |
| var sFormattedMessage = '[' + file + ' (' + line + ')] ' + message; | |
| _gaq.push(['_trackEvent', 'Exceptions', 'Application', sFormattedMessage, null, true]); | |
| } |