You can install XCode from the AppStore. Once done, install the XCode Command Line tools.
xcode-select --install
| var express = require('express'), | |
| app = express(); | |
| // More variables initialized... | |
| // More routes, settings, etc. | |
| // This is the OPTIONS endpoint | |
| app.options('*', function (req, res, next) { | |
| origin = req.headers.origin; | |
| if (origin == undefined) { |
| #!/usr/bin/env bash | |
| npm ls -gp | awk -F/ '/node_modules/ && !/node_modules.*node_modules/ {print $NF}' | xargs npm -g rm |
| #!/bin/sh | |
| function abort { | |
| echo "$1" | |
| exit 1 | |
| } | |
| set -e | |
| /usr/bin/which -s git || abort "brew install git first!" | |
| test -d /usr/local/.git || abort "brew update first!" |
| <dependencies> | |
| <dependency> | |
| <groupId>com.tinkerpop.blueprints</groupId> | |
| <artifactId>blueprints-core</artifactId> | |
| <version>${blueprints.version}</version> | |
| <exclusions> | |
| <exclusion> | |
| <artifactId>commons-logging</artifactId> | |
| <groupId>commons-logging</groupId> | |
| </exclusion> |
| <?php | |
| /** | |
| * Pagination class that outputs HTML compatible with Twitter Bootstrap. | |
| * It uses a sliding scale when displaying the pagination links. | |
| * | |
| * @author Amir Khawaja <[email protected]> | |
| */ | |
| class Pagination | |
| { |
| package controllers; | |
| import controllers.Constants; | |
| import play.mvc.Controller; | |
| import utils.PaginationInfo; | |
| import java.util.List; | |
| /** | |
| * Sample controller. | |
| */ |