PHP Web Server
Some common ones:
<VirtualHost IPADDRESS:PORT> | |
ServerAdmin [email protected] | |
ServerName domain.com | |
ServerAlias www.domain.com | |
DocumentRoot /var/www/html | |
<Directory "/var/www/html"> | |
Options FollowSymLinks | |
AllowOverride All | |
Order allow,deny |
module Jekyll | |
# Sass plugin to convert .scss to .css | |
# | |
# Note: This is configured to use the new css like syntax available in sass. | |
require 'sass' | |
class SassConverter < Converter | |
safe true | |
priority :low | |
def matches(ext) |
# System, IDE and tmp files | |
.DS_Store* | |
ehthumbs.db | |
Icon? | |
Thumbs.db | |
# Wordpress Files | |
.htaccess | |
wp-*.php |
(function($) { | |
$.fn.comboBox = function () { | |
var $this = $(this); | |
return $this.on("change", function(){ | |
if ( $this.val() === 'add' ) { | |
$("<input type='text' />").blur(function(e) { | |
e.preventDefault(); | |
var $i = $(this), | |
val = $i.val(), | |
selected = $this.find("option:contains('" + ucWord(val) + "')"); |
alias cipr="git log -1 --pretty=format:'git commit -a --author="'"%an <%aE>" --message="%s %b"'"'" |
// Generated on 2013-06-06 using generator-angular 0.2.2 | |
'use strict'; | |
var LIVERELOAD_PORT = 35729; | |
var lrSnippet = require('connect-livereload')({ port: LIVERELOAD_PORT }); | |
var mountFolder = function (connect, dir) { | |
return connect.static(require('path').resolve(dir)); | |
}; | |
// # Globbing | |
// for performance reasons we're only matching one level down: |
(function(ele){ | |
var win = window, | |
addEvt = win.addEventListener, | |
y = ele.offsetHeight; | |
ele.style.transition = "0.2s"; | |
function hide () { | |
ele.style.opacity = 0.1; | |
} |
compass: { | |
options: { | |
sassDir: '<%= yeoman.app %>/styles', | |
cssDir: '.tmp/styles', | |
imagesDir: '<%= yeoman.app %>/images', | |
javascriptsDir: '<%= yeoman.app %>/scripts', | |
fontsDir: '<%= yeoman.app %>/styles/fonts', | |
importPath: '<%= yeoman.app %>/bower_components', | |
relativeAssets: false, | |
generatedImagesDir: '.tmp/images/generated', |