create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
| $ -> | |
| # Inspired in | |
| # [this](http://adamjspooner.github.com/coffeescript-meet-backbonejs/) | |
| # | |
| # Live sample [here](http://jrmoran.com/playground/backbone-coffeescript/) | |
| # override backbone sync, so when we remove/save items no server calls | |
| # are made | |
| Backbone.sync = (method, model, success, error) -> success() |
| // Just do this : (and include backbone.js) | |
| var Kind = function() { | |
| this.initialize && this.initialize.apply(this, arguments); | |
| }; | |
| Kind.extend = Backbone.Model.extend | |
| //Simpler | |
| var Thing = function() {}; | |
| Thing.extend = Backbone.Model.extend |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
| // URL for Jira's REST API for issues | |
| var getIssueURL = "https://[Your Jira host]/rest/api/2/issue/"; | |
| // Personally I prefer the script to handle request failures, hence muteHTTPExceptions = true | |
| var fetchArgs = { | |
| contentType: "application/json", | |
| headers: {"Authorization":"Basic [Your BASE64 Encoded user:pass]"}, | |
| muteHttpExceptions : true | |
| }; |
| <?php | |
| class PhotoApiTest extends TestCase { | |
| public function setUp() | |
| { | |
| parent::setUp(); | |
| Route::enableFilters(); |
| <?php | |
| class BaseController extends Controller { | |
| private $application_name = 'The Cool Kid'; | |
| protected $layout = 'base'; | |
| // The cool kids' way of handling page titles. | |
| protected $title = array( | |
| 'parent' => '', | |
| 'seperator' => '::', |
| <?php | |
| class BlogController extends Controller | |
| { | |
| /** | |
| * Posts | |
| * | |
| * @return void | |
| */ | |
| public function showPosts() |
| <?php | |
| /********************************************************************************************* | |
| * Example usage (In view) | |
| * <div class="welcome"> | |
| <?php echo Form::open(array('route'=>'process','class'=>'form-horizontal'))?> | |
| <?php echo Form::textField('first_name')?> | |
| <?php echo Form::textField('last_name')?> | |
| <?php echo Form::emailField('email')?> | |
| <?php echo Form::passwordField('password')?> | |
| <?php echo Form::selectField('select_one', array('1'=>'abc', '2'=>'def'))?> |
| var gulp = require('gulp'); | |
| // Let's make things more readable by | |
| // encapsulating each part's setup | |
| // in its own method | |
| function startExpress() { | |
| var express = require('express'); | |
| var app = express(); | |
| app.use(express.static(__dirname)); |
| #puppet module install example42/php; | |
| #puppet module install puppetlabs/apache; | |
| #puppet module install puppetlabs/mysql" | |
| # config.vm.provision :puppet do |puppet| | |
| # puppet.manifests_path = "manifests" | |
| # puppet.manifest_file = "site.pp" | |
| # puppet.module_path = "/Users/[USERNAME]/.puppet/modules" | |
| # end |