Bellingham, WA, USA | [email protected]
Agile Development: web sites/applications/services, modules, plugins, widgets
Small Business Portals: CRMs, Storefronts, Mapping Applications
Personal Sites: Blogs, Portfolio's, Informational Sites
| #!/bin/bash | |
| sudo apt-get update | |
| sudo apt-get install apache2 apache2-utils -yq | |
| sudo systemctl enable apache2 | |
| sudo systemctl start apache2 | |
| sudo apt-get install php libapache2-mod-php php-mysql -yq | |
| sudo apt-get install php-curl php-gd php-mbstring php-xml php-xmlrpc -yq | |
| sudo a2enmod rewrite | |
| sudo systemctl restart apache2 | |
| cd /var/www |
| /* | |
| * Brian Teachman <[email protected]> | |
| * Date : 8/18/2016 | |
| */ | |
| #include "stdafx.h" | |
| #include <iostream> | |
| #include <fstream> | |
| #include <string> | |
| #include <vector> |
| /* | |
| * Write a C++ program that reads a word from the user into a C string and | |
| * reports the number of vowels in the word.Then the program should read a | |
| * whole line of text from the user into a string class variable and report | |
| * the number of vowels in the whole line. | |
| * | |
| * For credit, give your instructor a line - by - line walkthrough of your | |
| * code explaining how it works.Be prepared to modify your program to alter | |
| * the algorithm in some way. | |
| * |
| /* | |
| * CH.10 Structs: Class Exercize | |
| * | |
| * Select the revision tab above for previous versions (github only) | |
| * | |
| * Revision 1: Brian Teachman, Brandon Sobjack, Carolyn Stratford | |
| * Revision 2-7: Brian | |
| * | |
| * 8/16/2016 | |
| */ |
| /* | |
| * CH.8 Vectors: Class Exercize | |
| * | |
| * Brian Teachman & Brandon Sobjack | |
| * 8/11/2016 | |
| */ | |
| #include "stdafx.h" | |
| #include <iostream> | |
| #include <vector> |
| import os | |
| def update_increment(start_number, directory=None, direction='increment'): | |
| if directory is None: | |
| directory = os.path.abspath('.') | |
| for file_name in os.listdir(directory): | |
| # The two characters of the filename are numbers |
| #!/bin/sh | |
| # | |
| domain_name=$1 | |
| # check arguements | |
| if $1==''; then | |
| domain_name='test' | |
| fi | |
| # install server |
Bellingham, WA, USA | [email protected]
Agile Development: web sites/applications/services, modules, plugins, widgets
Small Business Portals: CRMs, Storefronts, Mapping Applications
Personal Sites: Blogs, Portfolio's, Informational Sites
| # http://xael.org/norman/python/python-nmap | |
| # lets check for common ports using nmap | |
| import nmap | |
| nmScan = nmap.PortScanner() | |
| nmScan.scan('127.0.0.1', '0-1023') | |
| for port in nmScan['127.0.0.1']['tcp']: | |
| thisDict = nmScan['127.0.0.1']['tcp'][port] | |
| print 'Port ' + str(port) + ': ' + thisDict['product'] + ', v' + thisDict['version'] |