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
{"lastUpload":"2021-10-08T16:21:28.961Z","extensionVersion":"v3.4.3"} |
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 | |
sudo apt remove composer | |
sudo apt update | |
sudo apt install curl | |
sudo curl -s https://getcomposer.org/installer | php | |
sudo mv composer.phar /usr/bin/composer |
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 | |
sudo a2enmod http2 | |
sudo a2dismod php7.4 | |
sudo a2dismod mpm_prefork | |
sudo a2enmod mpm_event proxy_fcgi setenvif | |
sudo apt install php7.4-fpm -y | |
sudo systemctl start php7.4-fpm | |
sudo systemctl enable php7.4-fpm |
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 | |
DB_HOST='localhost' | |
DB_USER='root' | |
DB_PASS='password' | |
DB='default' | |
functionAlterTable(){ | |
read a b c <<< "${ROW}" | |
echo "START QUERY: alter table $a modify $b char(36);" |
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
var gulp = require('gulp'); | |
var watch = require('gulp-watch'); | |
var cleanCSS = require('gulp-clean-css'); | |
var uglify = require('gulp-uglify'); | |
var rename = require('gulp-rename'); | |
var concat = require('gulp-concat'); | |
var merge = require('merge-stream'); | |
var scss = require('gulp-scss'); | |
function version(){ |
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/sh | |
# Rebuilds The Parbake Project from it's git repositories | |
# Jason D Snider <jason@jasonsnider.com> | |
# Configure the build script | |
PROJECT_PATH="/var/www/parbake.org" | |
APACHE_PROCESS="www-data" | |
USER="jsnider" | |
GIT_ACCESS="git@github.com:" |
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/sh | |
# Rebuilds parbaked project from it's git repositories | |
# Jason D Snider <jason@jasonsnider.com> | |
# Configure the build script | |
PROJECT_PATH="/var/www/jasonsnider.com" | |
APACHE_PROCESS="www-data" | |
USER="jsnider" | |
GIT_ACCESS="git@github.com:" |
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/sh | |
# Completely removes, rebuilds and reconfigures jasonsnider.com from it's git repositories | |
# Jason D Snider <jason@jasonsnider.com> | |
## Start by removing the entire website | |
rm -fR /var/www/jasonsnider.com/tinker | |
## Build the code base | |
cd /var/www/jasonsnider.com && git clone git@github.com:jasonsnider/tinker.git |
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 | |
#============================================================================= | |
# The MIT License (http://www.opensource.org/licenses/mit-license.php) | |
# Copyright (c) 2010, Jason Snider <jsnider77@gmail.com> | |
# | |
# vhosts.sh - Assists in building new VirtualHosts | |
# | |
# Assists in quickly building local dev sites. Out of the box, this shouldn't | |
# be used in production, though with a little modification it can be suited |
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 | |
################################################################################################# | |
# README | |
# | |
# Purges your dev DB and rebuilds it from source | |
#------------------------------------------------------------------------------------------------ | |
# Usage | |
# | |
# ./dropTables.sh dbuser dbpass some_db /path/to/20100812123210.sql | |
#------------------------------------------------------------------------------------------------ |