Skip to content

Instantly share code, notes, and snippets.

View voleoo's full-sized avatar
🏠
Working from home

Viktor Leonets voleoo

🏠
Working from home
View GitHub Profile
var cnJqueryUi = angular.module('cn.jquery', []);
cnJqueryUi.directive('autoComplete', function($http) {
// by default do not format autocomplete data
var defaultFormatter = function(data) { return data };
return {
scope: {
@voleoo
voleoo / deploy.rb
Created November 23, 2013 20:50 — forked from mm53bar/deploy.rb
require File.join(File.dirname(__FILE__), 'deploy/nginx')
require File.join(File.dirname(__FILE__), 'deploy/log')
default_run_options[:pty] = true
set :ssh_options, { :forward_agent => true }
set :application, "appname"
set :repository, "git@giturl"
set :scm, :git

AngularJS best ressources

Following the AngularJS PARIS meetup (25/2 à 19h à Paris with @sampaccoud @dzen @_kemar @tchack13 @vinz et @revolunet)

Here's our best AngularJS ressources : twitter, github, articles & blogs. Please comment and add your good stuff !

# MySQL. Versions 4.1 and 5.0 are recommended.
#
# Install the MySQL driver:
# gem install mysql2
#
# And be sure to use new-style password hashing:
# http://dev.mysql.com/doc/refman/5.0/en/old-client.html
development:
adapter: mysql2
encoding: utf8