This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var express = require("express"); | |
| var step = require("step"); | |
| var app = express.createServer(); | |
| app.get("/", function(req, res) | |
| { | |
| step( | |
| function one() | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # download libpng 1.4.x (1.5 didn't work yet with GraphicsMagick 1.3.12) | |
| ./configure --prefix=$HOME/INST && make && make install | |
| # download libjpeg | |
| ./configure --prefix=$HOME/INST && make && make install | |
| # download GraphicsMagick | |
| CFLAGS=-I$HOME/INST/include LDFLAGS=-L$HOME/INST/lib ./configure --prefix=$HOME/INST --disable-openmp --disable-openmp-slow && make && make install |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| if (!item && error) | |
| createItem() | console.log(error) | console.log("Look Ma!"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| + | |
| - | |
| / | |
| * | |
| | | |
| & | |
| % | |
| ^ | |
| > | |
| < |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| if (!item && error) | |
| createItem() | console.log(error); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| if (!item && error) { | |
| createItem(); | |
| console.log(error); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| if (!item) | |
| createItem(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| if (!item) { | |
| createItem(); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @implementation CalendarView: CPView | |
| { | |
| } | |
| -(id)init { | |
| self = [super initWithFrame:CGRectMake(0, 0, 200, 200)]; | |
| if (self) { | |
| [self loadData]; | |
| } | |
| return self; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var ENV = require("system").env, | |
| FILE = require("file"), | |
| JAKE = require("jake"), | |
| task = JAKE.task, | |
| FileList = JAKE.FileList, | |
| app = require("cappuccino/jake").app, | |
| configuration = ENV["CONFIG"] || ENV["CONFIGURATION"] || ENV["c"] || "Debug", | |
| OS = require("os"); | |
| app ("MyApplication", function(task) |