We will install Larave 4.1 with PHP5.5 & Latest nginx on Ubuntu 12.04.3 x64.
apt-get update && apt-get upgrade
adduser [username]
usermod -aG sudo [username]
apt-get -y install git
| $subscription = new Recurly_Subscription(); | |
| $subscription->plan_code = $_POST['plan_id']; | |
| $subscription->currency = 'USD'; | |
| $unique_id = uniqid(); | |
| $subscription->account = new Recurly_Account($unique_id); | |
| $subscription->account->first_name = $_POST['user']['first_name']; | |
| $subscription->account->last_name = $_POST['user']['last_name']; | |
| $subscription->account->email = $_POST['user']['email']; |
| /* Bootstrap */ | |
| /* ====================================================== */ | |
| /*! normalize.css v3.0.1 | MIT License | git.io/normalize */ | |
| html { | |
| font-family: sans-serif; | |
| -ms-text-size-adjust: 100%; | |
| -webkit-text-size-adjust: 100%; | |
| } | |
| body { |
| /** | |
| * Binds a TinyMCE widget to <textarea> elements. | |
| */ | |
| angular.module('ui.tinymce', []) | |
| .value('uiTinymceConfig', {}) | |
| .directive('uiTinymce', ['uiTinymceConfig', function(uiTinymceConfig) { | |
| uiTinymceConfig = uiTinymceConfig || {}; | |
| var generatedIds = 0; |
| var gulp = require('gulp'), | |
| plug = require("gulp-load-plugins")({lazy:false}) | |
| wiredep = require('wiredep').stream; | |
| gulp.task('bower', function () { | |
| gulp.src('app/index.html') | |
| .pipe(wiredep()) | |
| .pipe(gulp.dest('app/')); | |
| }); |
| app.directive('ngEnter', function () { | |
| return function (scope, element, attrs) { | |
| element.bind("keydown keypress", function (event) { | |
| if(event.which === 13) { | |
| scope.$apply(function (){ | |
| scope.$eval(attrs.ngEnter); | |
| }); | |
| event.preventDefault(); | |
| } |
| <?php | |
| /** | |
| *###################################################################### | |
| *# breadcrumbs | |
| *###################################################################### | |
| */ | |
Bower-installer was written as a command-line app and doesn't yet expose an API. You could just use exec if you want to:
var exec = require('child_process').exec;
gulp.task('task', function (cb) {
exec('bower-installer', function (err, stdout, stderr) {
console.log(stdout);
console.log(stderr);
cb(err);
});
To hide iterm from the dock
/usr/libexec/PlistBuddy -c 'Add :LSUIElement bool true' /Applications/iTerm.app/Contents/Info.plist
And this to undo:
/usr/libexec/PlistBuddy -c 'Delete :LSUIElement' /Applications/iTerm.app/Contents/Info.plist
Just remove the line from bootstrap.css
/*# sourceMappingURL=bootstrap.css.map */