most of these require logout/restart to take effect
# Enable character repeat on keydown
defaults write -g ApplePressAndHoldEnabled -bool false
# Set a shorter Delay until key repeat
assertArrayHasKey() | |
assertClassHasAttribute() | |
assertClassHasStaticAttribute() | |
assertContains() | |
assertContainsOnly() | |
assertContainsOnlyInstancesOf() | |
assertCount() | |
assertEmpty() | |
assertEqualXMLStructure() | |
assertEquals() |
#!/usr/bin/env bash | |
sudo cp -rR /etc/yum.repos.d/ /etc/yum.repos.d-backup/ | |
sudo ln -s /CCDNSandbox/Vagrant /vagrant | |
sudo chmod 755 /vagrant/shell/*.sh | |
sudo /vagrant/shell/os-detect.sh | |
sudo /vagrant/shell/initial-setup.sh | |
sudo /vagrant/shell/update-puppet.sh | |
sudo /vagrant/shell/librarian-puppet-vagrant.sh |
{ | |
"name": "codeconsortium/ccdn-sandbox", | |
"description": "The \"CodeConsortium Standard Edition\" distribution", | |
"license": "MIT", | |
"type": "project", | |
"autoload": { | |
"psr-0": { "": "src/" } | |
}, | |
"minimum-stability": "dev", | |
"repositories": [ |
/******************************************************************************* | |
1. DEPENDENCIES | |
*******************************************************************************/ | |
var gulp = require('gulp'); // gulp core | |
sass = require('gulp-sass'), // sass compiler | |
uglify = require('gulp-uglify'), // uglifies the js | |
jshint = require('gulp-jshint'), // check if js is ok | |
rename = require("gulp-rename"); // rename files | |
concat = require('gulp-concat'), // concatinate js |
/* | |
* Copyright 2008-2011 the original author or authors. | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
Edit ~/.zshrc and uncomment the following line
DISABLE_UNTRACKED_FILES_DIRTY="true"
add this to projects mounted over NFS
git config --add oh-my-zsh.hide-status 1
also, you could edit ~/.oh-my-zsh/plugins/gitfast/gitfast.plugin.zsh
but changes might potentially be lost in udpates
function git_prompt_info() {
server { listen 80; | |
server_name example.com; | |
access_log /var/log/example.com/nginx.access.log; | |
error_log /var/log/example.com/nginx.error.log; | |
root /var/www/apps/example.com/public; | |
charset utf-8; | |
location / { | |
rewrite ^ https://$host$request_uri? permanent; | |
} |