The FAQ maintained by Github covers most stumbling blocks, some other tips and tricks supplied here.
Add _site to .gitignore. The generated site should not be uploaded to Github since its gets generated by github.
| # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 | |
| # $Id: Portfile 71588 2010-09-17 05:21:24Z [email protected] $ | |
| PortSystem 1.0 | |
| name php5 | |
| conflicts php5-devel php52 | |
| # Update revision of php5-eaccelerator when updating version of php5 | |
| epoch 1 | |
| version 5.3.3 |
| #!/bin/sh | |
| # | |
| # Script to prepare and restore full and incremental backups created with innobackupex-runner. | |
| # | |
| # This script is provided as-is; no liability can be accepted for use. | |
| # | |
| INNOBACKUPEX=innobackupex-1.5.1 | |
| INNOBACKUPEXFULL=/usr/bin/$INNOBACKUPEX | |
| TMPFILE="/tmp/innobackupex-restore.$$.tmp" |
| #include <Awesomium/awesomium_capi.h> | |
| #include <string.h> | |
| #include <stdio.h> | |
| #if defined(__WIN32__) || defined(_WIN32) | |
| #include <windows.h> | |
| #elif defined(__APPLE__) | |
| #include <unistd.h> | |
| #endif | |
| // The URL to render |
| { | |
| "locales": { | |
| "en-as": { | |
| "tld": "as", | |
| "description": "American Samoa - English" | |
| }, | |
| "cr-sc": { | |
| "tld": "sc", | |
| "description": "Seychelles - Seychellois Creole" | |
| }, |
| { | |
| "locales": { | |
| "tl-ph": { | |
| "tld": "", | |
| "description": "" | |
| }, | |
| "nl-be": { | |
| "tld": "be", | |
| "description": "Belgium - Dutch" | |
| }, |
| { | |
| "locales": { | |
| "es-us": { | |
| "tld": "espanol.search.yahoo.com", | |
| "description": "United States - Spanish" | |
| }, | |
| "en-tw": { | |
| "tld": "tw.search.yahoo.com", | |
| "description": "" | |
| }, |
| { | |
| "locales": { | |
| "es-us": { | |
| "tld": "espanol.search.yahoo.com", | |
| "description": "United States - Spanish" | |
| }, | |
| "en-tw": { | |
| "tld": "tw.search.yahoo.com", | |
| "description": "" | |
| }, |
| { | |
| "locales": { | |
| "ko-kr": { | |
| "tld": "http://bing.com/?setmkt=ko-jr&setlang=match", | |
| "description": "Korea - Korean" | |
| }, | |
| "it-it": { | |
| "tld": "http://bing.com/?setmkt=it-it&setlang=match", | |
| "description": "Italy - Italian" | |
| }, |
The FAQ maintained by Github covers most stumbling blocks, some other tips and tricks supplied here.
Add _site to .gitignore. The generated site should not be uploaded to Github since its gets generated by github.
If you use git on the command-line, you'll eventually find yourself wanting aliases for your most commonly-used commands. It's incredibly useful to be able to explore your repos with only a few keystrokes that eventually get hardcoded into muscle memory.
Some people don't add aliases because they don't want to have to adjust to not having them on a remote server. Personally, I find that having aliases doesn't mean I that forget the underlying commands, and aliases provide such a massive improvement to my workflow that it would be crazy not to have them.
The simplest way to add an alias for a specific git command is to use a standard bash alias.
# .bashrc