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| # mkdir /usr/src/php7 | |
| # cd /usr/src/php7 | |
| # aria2c https://gist.githubusercontent.com/risyasin/8b42849ff4b5786292d3/raw/eae0e67737bcb2f4eed6d72c24a6d560dd7161de/ubuntu-php7-install.sh | |
| ## php7 compile requirements | |
| apt-get install -y git build-essential autoconf automake pkg-config libtool | |
| apt-get install -y re2c | |
| apt-get install -y bison | |
| apt-get install -y openssl | |
| apt-get install -y libssl-dev |
| # Licensed under MIT. | |
| # Copyright (2016) by Kevin van Zonneveld https://twitter.com/kvz | |
| # | |
| # This Makefile offers convience shortcuts into any Node.js project that utilizes npm scripts. | |
| # It functions as a wrapper around the actual listed in `package.json` | |
| # So instead of typing: | |
| # | |
| # $ npm script build:assets | |
| # | |
| # you could just as well type: |
| [Unit] | |
| Description=The NGINX HTTP and reverse proxy server | |
| After=syslog.target network.target remote-fs.target nss-lookup.target | |
| [Service] | |
| Type=forking | |
| PIDFile=/var/run/nginx.pid | |
| ExecStartPre=/usr/sbin/nginx -t | |
| ExecStart=/usr/sbin/nginx | |
| ExecReload=/bin/kill -s HUP $MAINPID |
| ## Create a source directory | |
| ## mkdir /usr/src/php7 | |
| ## cd /usr/src/php7 | |
| ## copy this files as /usr/src/php7/install.sh | |
| ## aria2c https://gist.githubusercontent.com/risyasin/92075324caa9a46bfd5c/raw/83e0851c42afc4f3557bc4aea02197ddf92fed73/centos-php7-install.sh | |
| ## php7 compile requirements | |
| dnf install -y git | |
| dnf install -y gcc bison automake autoconf |
| [Informational 1xx] | |
| 100="Continue" | |
| 101="Switching Protocols" | |
| [Successful 2xx] | |
| 200="OK" | |
| 201="Created" | |
| 202="Accepted" | |
| 203="Non-Authoritative Information" | |
| 204="No Content" |
| #!/bin/bash | |
| # From http://tech.serbinn.net/2010/shell-script-to-create-ramdisk-on-mac-os-x/ | |
| # | |
| ARGS=2 | |
| E_BADARGS=99 | |
| if [ $# -ne $ARGS ] # correct number of arguments to the script; | |
| then |
| nano /etc/bind/named.conf.local | |
| ``` | |
| zone "evrima.net" { | |
| type master; | |
| file "/var/lib/bind/evrima.net.hosts"; | |
| allow-transfer { | |
| 127.0.0.1; |
| # to generate your dhparam.pem file, run in the terminal | |
| openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
| "use strict"; | |
| var gulp = require('gulp'), | |
| concat = require('gulp-concat'), | |
| nodemon = require('gulp-nodemon'), | |
| mincss = require('gulp-minify-css'), | |
| uglify = require('gulp-uglify'), | |
| jshint = require('gulp-jshint'), | |
| head = require('gulp-header'), | |
| bs = require('browser-sync').create(), |