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
apt-get install libapache2-mod-fastcgi apache2-mpm-worker php5-fpm | |
a2enmod actions | |
vi /etc/apache2/mods-available/fastcgi.conf | |
vi /etc/apache2/sites-available/default | |
vi /etc/php5/fpm/pool.d/www.conf |
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
My updated notes follow: | |
Many thanks to the patient souls in #debian, #php-fpm, and #httpd on Freenode | |
Many commands and much info stolen from these locations: | |
http://www.rackaid.com/resources/linux-screen-tutorial-and-how-to/ | |
http://www.debian.org/releases/testing/amd64/release-notes/ch-upgrading.en.html#newkernel | |
https://sites.google.com/site/mydebiansourceslist/ | |
http://linux.justinhartman.com/Setting_up_a_LAMP_Server | |
http://www.debian-administration.org/articles/349 | |
http://www.lavluda.com/2008/02/02/install-imagemagick-support-to-your-debianubuntu-server/ |
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
Android ZXing Demo | |
You can download Eclipse from here: | |
http://developer.android.com/sdk/index.html | |
From top to bottom in Eclipse. | |
These are the changes I made to the cw-omnibus/Camera/ZXing project files | |
https://github.com/commonsguy/cw-omnibus | |
I did change the names of the package files by right clicking on them-- those changes are reflected in the text below (ex com.launchhouse.demo.zxing.ZXingDemo). The original names of the resources do not match the source material provided here. Right-click to make it so by renaming them in the file hierarchy pane. |
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
# Debian Linux Apache MySQL and PHP with SSL | |
# http://youtu.be/0bUo7mg2ZFw | |
# First things first-- update the system. | |
apt-get update | |
apt-get upgrade | |
# add the IP address, the fully qualified domain name, and the machine | |
# name |
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 | |
HOSTNAME="www" | |
DOMAIN="rustbeltrebellion.com" | |
IPV4="45.33.112.226" | |
IPV6="2600:3c00::f03c:91ff:fe26:42cf" | |
##### ##### | |
##### CONFIGURE THE HOSTNAME ##### |
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
brad@E530 should prefix all the commands I ran. | |
I don't know enough about sass, node-sass, or gulp-sass to know if the output to the stderr of: | |
brad@E530:~/Desktop/node-sass$ npm test > testResults.txt | |
is inportant or not. But, I wanted to mention it. (The stderr messages are posted between the command and the tail of the document created below.) | |
<<abridged yet unformatted barf of stdout>> | |
brad@E530:~/Desktop$ git clone --recursive [email protected]:bradchesney79/node-sass.git | |
Cloning into 'node-sass'... |
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
# Modify this file accordingly for your specific requirement. | |
# http://www.thegeekstuff.com | |
# 1. Delete all existing rules | |
iptables -F | |
# 2. Set default chain policies | |
iptables -P INPUT DROP | |
iptables -P FORWARD DROP | |
iptables -P OUTPUT DROP |
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 | |
#Become master of the everything within this host | |
[ `whoami` = root ] || exec su -c $0 root | |
#Update and Upgrade | |
echo "Updating and Upgrading" | |
apt-get update && sudo apt-get upgrade -y | |
sudo apt-get install dialog |
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
Home Assistant Demo | |
Hi, my name is Brad. | |
When someone said, "I have a nephew that does websites." or "I know a guy that could hook that thing up." That was and still is me. Sorry about that. | |
At the ripe age of 16, I got B's or better in high school so I got to go to college for Information Systems and my insignificant remaining High School education requirements. | |
I worked in construction to pay the bills for a spell when the Department of Education stopped footing my post secondary education bills. | |
I graduated just in time for the huge recession and bubble bursting when nobody was hiring and I was competing for entry level jobs against people with decades of experience. Not great. | |
I became a marine mechanic installing all kinds of weird analog equipment, on boats... Not marine as in military, marine as in watercraft. Radar, sonar, motors, auxillary systems... | |
I did wind up getting back into development. A lot of PHP and jQuery. | |
But, I am "fixing stuff" legacy. And I found my way into an Instrumentation Depa |
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
# using ubuntu LTS version | |
FROM ubuntu:20.04 AS builder-image | |
# avoid stuck build due to user prompt | |
ARG DEBIAN_FRONTEND=noninteractive | |
RUN apt-get update && apt-get install --no-install-recommends -y python3.9 python3.9-dev python3.9-venv python3-pip python3-wheel build-essential && \ | |
apt-get clean && rm -rf /var/lib/apt/lists/* | |
# create and activate virtual environment |