ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew update
<?php | |
/* | |
// OTHER OPTION | |
// ---------------------- | |
// Put your ZPL code in a file e.g "barcode.zpl" | |
// Share your Zebra Printer, so that it can be accessed In Windows Explorer by typing | |
// e.g "\192.168.1.113[YOUR PRINTER NAME]"; | |
// Create PHP File, and write code: |
angular.module('myApp', ['ionic', 'myApp.services', 'myApp.controllers']) | |
.run(function(DB) { | |
DB.init(); | |
}); |
// MARK: Using NSURLSession | |
// Get first post | |
let postEndpoint: String = "http://jsonplaceholder.typicode.com/posts/1" | |
guard let url = NSURL(string: postEndpoint) else { | |
print("Error: cannot create URL") | |
return | |
} | |
let urlRequest = NSURLRequest(URL: url) |
cordova plugin add https://github.com/brodysoft/Cordova-SQLitePlugin.git |
Ionic: Advanced HTML5 Hybrid Mobile App Framework. It is built with HTML5 technologies on Apache Cordova and AngularJS.
Ionic's ultimate goal is to make it easier to develop native mobile apps with HTML5, also known as Hybrid apps.
Learn Ionic. Read the Docs and join the Forum. Keep up to date with the Blog. View the Source.
These commands are good as of 2010-11-18.
/usr/bin/ruby -e "$(/usr/bin/curl -fsSL https://raw.github.com/mxcl/homebrew/master/Library/Contributions/install_homebrew.rb)"
http://developer.apple.com/technology/xcode.html
try { | |
DB::connection()->getPdo()->beginTransaction(); | |
// database queries here | |
DB::connection()->getPdo()->commit(); | |
} catch (\PDOException $e) { | |
// Woopsy | |
DB::connection()->getPdo()->rollBack(); | |
} |
<?php | |
class MatchesControllerTest extends TestCase | |
{ | |
protected $user; | |
protected $profile; | |
public function setUp() | |
{ | |
parent::setUp(); | |
DB::beginTransaction(); |
<?php | |
/** | |
* An helper file for Laravel 4, to provide autocomplete information to your IDE | |
* Generated with https://github.com/barryvdh/laravel-ide-helper | |
* Updated for Laravel 4.1.8 (2013-12-13) | |
* | |
* @author Barry vd. Heuvel <barryvdh@gmail.com> | |
*/ | |
exit('Only to be used as an helper for your IDE'); |