Get it from http://developer.apple.com. You will not be able to submit apps to any stores using this XCode version, so turn away if that is something you might want to do.
In XCode's Preferences > Downloads you can install command line tools.
// includes bindings for fetching/fetched | |
var PaginatedCollection = Backbone.Collection.extend({ | |
initialize: function() { | |
_.bindAll(this, 'parse', 'url', 'pageInfo', 'nextPage', 'previousPage'); | |
typeof(options) != 'undefined' || (options = {}); | |
this.page = 1; | |
typeof(this.perPage) != 'undefined' || (this.perPage = 10); | |
}, | |
fetch: function(options) { |
sudo cp /System/Library/Extensions/IOAHCIFamily.kext/Contents/PlugIns/IOAHCIBlockStorage.kext/Contents/MacOS/IOAHCIBlockStorage /System/Library/Extensions/IOAHCIFamily.kext/Contents/PlugIns/IOAHCIBlockStorage.kext/Contents/MacOS/IOAHCIBlockStorage.original | |
# for Mountain Lion 10.8.3 | |
sudo perl -pi -e 's|(\x52\x6F\x74\x61\x74\x69\x6F\x6E\x61\x6C\x00{1,20})[^\x00]{9}(\x00{1,20}\x54)|$1\x00\x00\x00\x00\x00\x00\x00\x00\x00$2|sg' /System/Library/Extensions/IOAHCIFamily.kext/Contents/PlugIns/IOAHCIBlockStorage.kext/Contents/MacOS/IOAHCIBlockStorage | |
# for Mountain Lion 10.8.1-10.8.2 and Lion 10.7.5 | |
#sudo perl -pi -e 's|(\x52\x6F\x74\x61\x74\x69\x6F\x6E\x61\x6C\x00{1,20})[^\x00]{9}(\x00{1,20}\x4D)|$1\x00\x00\x00\x00\x00\x00\x00\x00\x00$2|sg' /System/Library/Extensions/IOAHCIFamily.kext/Contents/PlugIns/IOAHCIBlockStorage.kext/Contents/MacOS/IOAHCIBlockStorage | |
# for Mountain Lion 10.8.0 and Lion 10.7.4 BELOW | |
#sudo perl -pi -e 's|(\x52\x6F\x74\x61\x74\x69\x6F\x6E\x61\x6C\x00{1,20})[^\x00]{9}(\x00{1,20}\x51)|$1\x00\x0 |
//express3.0 | |
var express = require('express'); | |
var app = express(); | |
app.set('port', 3000); | |
app.set('views', __dirname + '/views'); | |
app.set('view engine', 'jade'); | |
app.use(express.bodyParser()); | |
app.use(express.methodOverride()); | |
//session & cookie |
function hello(name) { | |
return function(req, res, next) { | |
res.send('hello ' + name); | |
} | |
} | |
app.use(hello('tobi')) |
# First install requirements for BREW | |
# http://mxcl.github.com/homebrew/ | |
# https://github.com/mxcl/homebrew/wiki/installation | |
# Requirements | |
# - An Intel CPU 2 | |
# - OS X 10.5 or higher | |
# - Command Line Tools for Xcode (https://developer.apple.com/downloads) | |
# or Xcode with X11 (http://itunes.apple.com/us/app/xcode/id448457090) | |
# - Java Developer Update (https://connect.apple.com/) |
var mongoose = require('mongoose') | |
, flow = require('flow') | |
, Quiz = mongoose.model('Quiz'); | |
exports.setup = function(app) { | |
var controller, route; | |
controller = new exports.ApiController; | |
app.namespace('/api/quiz', function() { | |
app.get('/', controller.index); | |
}); |
// <== BOOTSTRAP | |
var App = Ember.Application.create(); | |
App.stateManager = Ember.StateManager.create(); | |
DS.fixtureAdapter.createRecord = function(store, type, record) { | |
var json = record.toJSON(); | |
json.id = 1; | |
store.didCreateRecord(record, json); |
<?php defined('SYSPATH') or die('No direct script access.'); | |
/** | |
* Панель администрирования новых разработчиков | |
* | |
* @author Nook <nook@live.ru> | |
* @version 0.1 | |
* @package Admin2 | |
*/ | |
/** |
Get it from http://developer.apple.com. You will not be able to submit apps to any stores using this XCode version, so turn away if that is something you might want to do.
In XCode's Preferences > Downloads you can install command line tools.