This command will update the references/branches locally on your machine and notify about deleted branches from origin
git fetch -p
Before creating a branch, update your project, after that, go to master branch and then run the command:
This command will update the references/branches locally on your machine and notify about deleted branches from origin
git fetch -p
Before creating a branch, update your project, after that, go to master branch and then run the command:
| # Change to match your CPU core count | |
| workers 1 | |
| # Min and Max threads per worker | |
| threads 1, 6 | |
| directory "/home/rails/RubyFinanceTracker" | |
| app_dir = File.expand_path("../..", __FILE__) | |
| shared_dir = "#{app_dir}/shared" |
| /* | |
| * Original script by: Shafiul Azam | |
| * Version 4.0 | |
| * Modified by: Luigi Balzano | |
| * Description: | |
| * Inserts Countries and/or States as Dropdown List | |
| * How to Use: | |
| In Head section: |
| var redis = require("redis") | |
| , subscriber = redis.createClient() | |
| , publisher = redis.createClient(); | |
| subscriber.on("message", function(channel, message) { | |
| console.log("Message '" + message + "' on channel '" + channel + "' arrived!") | |
| }); | |
| subscriber.subscribe("test"); |
| { | |
| "vars": { | |
| "@gray-base": "#000", | |
| "@gray-darker": "lighten(@gray-base, 13.5%)", | |
| "@gray-dark": "lighten(@gray-base, 20%)", | |
| "@gray": "lighten(@gray-base, 33.5%)", | |
| "@gray-light": "lighten(@gray-base, 46.7%)", | |
| "@gray-lighter": "lighten(@gray-base, 93.5%)", | |
| "@brand-primary": "darken(#428bca, 6.5%)", | |
| "@brand-success": "#5cb85c", |
| #!/bin/sh | |
| # | |
| # redis - this script starts and stops the redis-server daemon | |
| # | |
| # chkconfig: - 85 15 | |
| # description: Redis is a persistent key-value database | |
| # processname: redis-server | |
| # config: /etc/redis/redis.conf | |
| # config: /etc/sysconfig/redis | |
| # pidfile: /var/run/redis.pid |
| # updated variant of older solution: | |
| # http://www.davidverhasselt.com/2012/05/13/how-to-migrate-passwords-from-legacy-systems-to-devise | |
| class User < ActiveRecord::Base | |
| # ... | |
| def valid_password?(password) | |
| if legacy_password? | |
| # Use Devise's secure_compare to avoid timing attacks |