This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Apache Server Configs v2.14.0 | MIT License | |
# https://github.com/h5bp/server-configs-apache | |
# (!) Using `.htaccess` files slows down Apache, therefore, if you have | |
# access to the main server configuration file (which is usually called | |
# `httpd.conf`), you should add this logic there. | |
# | |
# https://httpd.apache.org/docs/current/howto/htaccess.html. | |
# ###################################################################### |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
define('TOKEN', 'some-secret-token'); | |
define('REMOTE_REPOSITORY', 'git@github.com:username/repository.git'); | |
define('DIR','/var/www/repository/'); | |
define('BRANCH','refs/heads/master'); | |
define('LOGFILE', 'log.txt'); | |
define('GIT', '/usr/bin/git'); | |
define('AFTER_PULL', '/usr/bin/node ./node_modules/gulp/bin/gulp.js default --dist'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get install ruby ruby-dev gcc | |
sudo gem install jekyll bundler |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!Left:: | |
Send, {Home} | |
Return | |
!Right:: | |
Send, {End} | |
Return |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
directory=$1 | |
if [ "$directory" == "" ] | |
then | |
echo -e $"${0##*/}: missing operand" | |
exit 1; | |
fi; | |
if ! [[ -r "$directory" && -w "$directory" ]] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// config/db.js | |
module.exports = { | |
url : 'mongodb://localhost/acquisition' | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"dev": { | |
"host": "", | |
"user": "", | |
"pass": "", | |
"path": "" | |
}, | |
"dist": { | |
"host": "", | |
"user": "", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lts/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// JavaScript Document | |
// Scripts written by __gulp_init__author_name @ __gulp_init__author_company | |
module.exports = { | |
// config task, generate configuration file for uploads & BrowserSync and prompt dev for input | |
config(gulp, plugins, requested = "") { | |
// generate config.json and start other functions | |
const generate_config = (file_name, mode = "ftp") => { | |
// store array of config file URIs |
OlderNewer