create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
# Compiled source # | |
################### | |
*.com | |
*.class | |
*.dll | |
*.exe | |
*.o | |
*.so | |
# Packages # |
var elixir = require('laravel-elixir'); | |
var gulp = require('gulp'); | |
var uglify = require('gulp-uglify'); | |
var minify = require('gulp-minify-css'); | |
var _ = require('underscore'); | |
/* | |
|-------------------------------------------------------------------------- | |
| Uglify Task | |
|-------------------------------------------------------------------------- |
<?php | |
use Phalcon\Mvc\Controller; | |
use Phalcon\Mvc\Dispatcher; | |
use Phalcon\Mvc\DispatcherInterface; | |
use Phalcon\Mvc\Model\CriteriaInterface; | |
use Phalcon\Mvc\ModelInterface; | |
use Phalcon\Mvc\View; | |
abstract class RestController extends Controller |
#!/usr/bin/env zsh | |
branch=`git rev-parse --abbrev-ref HEAD` | |
git show-branch | ack '\*' | ack -v "$branch" | head -n1 | sed 's/.*\[\(.*\)\].*/\1/' | sed 's/[\^~].*//' | |
# How it works: | |
# 1| Display a textual history of all commits. | |
# 2| Ancestors of the current commit are indicated | |
# by a star. Filter out everything else. |
#!/bin/bash | |
# works with a file called VERSION in the current directory, | |
# the contents of which should be a semantic version number | |
# such as "1.2.3" | |
# this script will display the current version, automatically | |
# suggest a "minor" version update, and ask for input to use | |
# the suggestion, or a newly entered value. |
$(function() { | |
$('[data-toggle="modal"]').on('click', function(e) { | |
e.preventDefault(); | |
var url = $(this).attr('href'); | |
if (!url.indexOf('#') == 0) { | |
var l = Ladda.create(this); | |
var modal, modalDialog, modalContent; |
# Thanks to this post: | |
# http://blog.ikato.com/post/15675823000/how-to-install-consolas-font-on-mac-os-x | |
$ brew install cabextract | |
$ cd ~/Downloads | |
$ mkdir consolas | |
$ cd consolas | |
$ curl -O http://download.microsoft.com/download/f/5/a/f5a3df76-d856-4a61-a6bd-722f52a5be26/PowerPointViewer.exe | |
$ cabextract PowerPointViewer.exe | |
$ cabextract ppviewer.cab |
#!/bin/bash | |
# PhalconPhp with PHP7 installation on ubuntu:16.04 | |
sudo apt-get update | |
sudo apt-get install -y php7.0-fpm \ | |
php7.0-cli \ | |
php7.0-curl \ | |
php7.0-gd \ |
sources: | |
/tmp: https://github.com/kr/beanstalkd/archive/v1.10.tar.gz | |
commands: | |
01_make_beanstalkd: | |
cwd: /tmp/beanstalkd-1.10 | |
command: make | |
02_install_beanstalkd: | |
cwd: /tmp/beanstalkd-1.10 |