How to set up multiple accounts with Mutt E-mail Client
Thanks to this article by Christoph Berg
Directories and files
~/
# ----------------------------------------------------------------- | |
# .gitignore for WordPress | |
# Bare Minimum Git | |
# http://ironco.de/bare-minimum-git/ | |
# ver 20150227 | |
# | |
# This file is tailored for a WordPress project | |
# using the default directory structure | |
# | |
# This file specifies intentionally untracked files to ignore |
/* | |
* grunt-cli | |
* http://gruntjs.com/ | |
* | |
* Copyright (c) 2012 Tyler Kellen, contributors | |
* Licensed under the MIT license. | |
* https://github.com/gruntjs/grunt-init/blob/master/LICENSE-MIT | |
*/ | |
'use strict'; |
Thanks to this article by Christoph Berg
Directories and files
~/
.tab-bar { | |
height: 34px; | |
padding: 0; | |
.tab { | |
-webkit-transform: none; | |
top: 2px; | |
line-height: 25px; | |
&.active { |
git push -f origin HEAD^:master |
window.onscroll = function() { | |
var d = document.documentElement; | |
var offset = d.scrollTop + window.innerHeight; | |
var height = d.offsetHeight; | |
console.log('offset = ' + offset); | |
console.log('height = ' + height); | |
if (offset >= height) { | |
console.log('At the bottom'); |
require 'mina/bundler' | |
require 'mina/rails' | |
require 'mina/git' | |
require 'mina/rvm' | |
require 'mina_sidekiq/tasks' | |
set :rails_env, 'production' | |
set :domain, 'YOUR_IP_OR_DOMAIN' | |
set :deploy_to, "/home/rails/#{rails_env}" | |
set :repository, '[email protected]:fousa/<YOUR_REPOSITORY>.git' |
/** | |
* Google analytics include (using "Universal Analytics") | |
* https://gist.github.com/acusti/8718758 | |
*/ | |
/*global define */ | |
define(function(require) { | |
'use strict'; | |
======= Prolbem ================================================================================================================= | |
I have installed : ruby-2.0.0,postgres-9.2 , now in rails app when I execute: | |
rake db:create , command I get: | |
PG::InvalidParameterValue: ERROR: new encoding (UTF8) is incompatible with the encoding of the template database (SQL_ASCII) | |
HINT: Use the same encoding as in the template database, or use template0 as template. | |
: CREATE DATABASE "my_db_name" ENCODING = 'unicode'....... | |
bin/rake:16:in `load' |
##
# Gzip Settings
##
gzip on;
gzip_disable "msie6";
gzip_vary on;
gzip_proxied any;
gzip_comp_level 6;
gzip_buffers 16 8k;