Oct 112011
 

….I can assure you, if I can’t do it in bash, it doesn’t need to be done…..the other side of the argument was, well, bash isn’t multi-threaded…..hahahahaha …..really??? Run this……

#!/bin/bash
 
set -m # Enable Job Control
trap '' 2 # disable ctrl + c so you can't stop this bitch
rand=${RANDOM} # lets find some big random number
 
let POWEROFTWO=${rand}**2 # and since its not big enough, make it ^2
 
	for i in `seq ${POWEROFTWO}`; do # start HUGE num jobs in parallel
		echo "99999999999^99999999999" | bc
		sleep 1 &
	done
 
# Wait FOREVER for jobs to finish cause you can't stop me now nemo
while [ 1 ]; do fg 2> /dev/null; [ $? == 1 ] && break; done

Aug 152006
 

I am teaching three Distance Learning Classes for the Maysville Community & Technical College beginning in the fall semester.

The two courses are:
NIS230 – Introduction to Unix (using Fedora Core Linux)
CIS200 – MySQL & PHP Programming

The first course, NIS230, is a repeat of the Winter course using a revised edition of the book with an additional chapter on Linux System Security. The book includes Fedora Core 2 installation CD’s which have a bug if it is installed on a dual-boot system and since the latest version of Fedora Core 4 is out, I will be handing these CD’s out to students and recommend they use this edition instead (or any other Linux distribution of their choice). As an alternative to installing Fedora Core Linux, we also offer the option of using the Adios bootable Linux distribution (or any bootable Linux distribution will suffice). The book & lecture content will be updated, as needed, since Linux is a rapidly changing operating system that remains in constant development.

The combined MySQL + PHP course will be split into two 8 week courses, and using the excellent book Build Your Own Database Driven Website Using PHP & MySQL from SitePoint.

Aug 052005
 

The two presentations I will be giving cover MySQL Database Administration (August 1 & 2) and PHP Programming Basics (August 3 – 5).

MySQL Database Administration: (from the web site): This two-day, instructor-led course will provide an overview of MySQL database administration tasks. MySQL is an open source relational database product that is available for both the Windows and Unix operating system platforms. MySQL is frequently used to support data-driven web sites. This workshop will provide an overview of what MySQL is and how it works; coverage of the MySQL installation process on the Windows platform, and basic MySQL database administration tasks.

Prerequisite knowledge: Familiarity with fundamental database design concepts and SQL (Structure Query Language).

Audience: This course is intended for IT professionals who are responsible for developing and/or administering a MySQL database.

PHP Programming Basics: (from the web site) This three-day, instructor-led course is designed to provide an overview of PHP server-side programming. Topics include: PHP server installation and configuration; PHP statement syntax, data types and variables; control structures; functions; integrating PHP and HTML; passing data between pages; and creating and testing PHP server-side scripts.

Prerequisite knowledge: Basic knowledge of HTML.

Audience: This course is intended for IT professionals who are responsible for developing and maintaining PHP/HTML web applications.

Information about the KCTCS (from the web site): The Kentucky Community and Technical College System (KCTCS) recognizes the need for skilled instructors to teach emerging technologies. This need will be addressed during the Working Connections Institute 2005, a one week training session at West Kentucky Community and Technical College in Paducah Kentucky. After two successful Working Connections Institutes in 2003 and 2004, KCTCS is once again very proud to offer this technical training opportunity to KCTCS IT faculty & staff. Choose from 2-day, 3-day, and 5-day workshop sessions; each of which is designed to help prepare you to teach in the constantly changing world of Information Technology.