Moved to https://github.com/josephholsten/boring/tree/master/app/nginx
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
<# | |
HOW TO INSTALL | |
Open your Powershell ISE Profile (when in the ISE type psedit $profile) and either paste this content into it and save, or dot source the file wherever you saved it. | |
Use Get-Help about_Scripts for more info on dot sourcing | |
#> | |
#Microsoft O365 Menu Items | |
New-Variable -name O365ISECREDENTIAL -scope Script |
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
# downgrade to php5.4 first | |
sudo apt-get install software-properties-common python-software-properties | |
sudo add-apt-repository ppa:ondrej/php5-oldstable -y | |
sudo apt-get update | |
sudo apt-get upgrade | |
sudo apt-get install php5 | |
# install ajenti | |
wget -O- https://raw.github.com/Eugeny/ajenti/master/scripts/install-ubuntu.sh | sudo sh |
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 | |
read -p "Enter your Site Name to be created (include .com):" SITENAME | |
#1. Create apache2 site and it's folders | |
mkdir /var/www/html/$SITENAME | |
mkdir /var/www/html/$SITENAME/public_html/ | |
chmod -R 755 /var/www/html/$SITENAME/public_html/ | |
cat > /etc/apache2/sites-available/$SITENAME.conf << EOF | |
<VirtualHost *:80> | |
ServerAdmin admin@$SITENAME | |
ServerName $SITENAME |
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 update | |
sudo apt-get dist-upgrade | |
sudo adduser --system --home=/opt/odoo --group odoo | |
sudo su - odoo -s /bin/bash | |
sudo apt-get install postgresql | |
sudo pg_createcluster 9.3 main --start | |
sudo su - postgres | |
createuser --createdb --username postgres --no-createrole --no-superuser --pwprompt odoo (OclassAdm) |
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
# YASIC - Yet Another System Info Script | |
# Gets various information about the computer that it's run on | |
# Returned information: | |
# * Hostname | |
# * Manufacturer | |
# * Model | |
# * Serial Number | |
# * Asset Tag | |
# * Processor | |
# * Memory |
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 | |
JAVA_VER=jdk-9.0.4 | |
JAVA_FILE=jdk-9.0.4_linux-x64_bin.tar.gz | |
cd /opt/ | |
wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" "http://download.oracle.com/otn-pub/java/jdk/9.0.4+11/c2514751926b4512b076cc82f959763f/jdk-9.0.4_linux-x64_bin.tar.gz" | |
tar xzf $JAVA_FILE | |
rm -rf $JAVA_FILE | |
cd "/opt/${JAVA_VER}/" | |
alternatives --install /usr/bin/java java "/opt/${JAVA_VER}/bin/java" 1 | |
alternatives --install /usr/bin/javac javac "/opt/${JAVA_VER}/bin/javac" 1 |
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 | |
### Core | |
xcode-select --install | |
xcodebuild -license | |
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
brew tap caskroom/cask | |
brew update && brew upgrade brew-cask && brew cleanup && brew cask cleanup | |
brew install brew-cask | |
brew install git | |
brew install wget |
This bootstraps FaaS onto your Raspberry Pi or ARM board with Docker.
Any Linux/UNIX process can be made a serverless function. Communication with functions is via an API gateway with an easy to use UI portal.
https://github.com/alexellis/faas
Here's the one-shot equivalent from the TestDrive guide
As per https://www.reddit.com/r/jailbreak/comments/95qb5d/discussion_cydia_impactor_ccp_160_error_megathread/ Cydia Impactor is currently throwing the following error on Windows:
---------------------------
Error
---------------------------
http-win.cpp:160
Peer certificate cannot be authenticated with given CA certificates
OlderNewer