Category:Programming
From Taclug
[edit]
Programming Notes
This category should encompass any programming tips and tricks and tutorials. The following are a few items which should be covered.
- Bash Scripting
- Perl One-Liners
- Regular Expressions
- Java
- PHP
- Programming Concepts like classes, functions, hashes, arrays.
[edit]
Bash Scripting
Here are some Q & A's from the List and other resources that could help you out during that midnite or later head-banging session:
Q (BobH): Is there some way, bash script or command, that I can globally open every .php file and effectively search for "\'" and replace with "'"?
A (ScottH):
for f in $(find . -type f -name *.php) do echo $f cat $f | sed "s/\"\\\'\"/\"\'\"/g" >$f.new mv $f.new $f done
[edit]
Unfinished Documentation
- Introduction to Java - Chuck Wolber - 6/15/2002
[edit]
Links to external reference material
- ezSQL (http://www.jvmultimedia.com/portal/book/print/14) - VERY Cool PHP Database Wrapper by Justin Vincent
- Adapting Justin Vincents EZ_SQL Database wrapper for PostgreSQL

