Category:Programming

From Taclug


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.

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


Unfinished Documentation

  • Introduction to Java - Chuck Wolber - 6/15/2002

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

Articles in category "Programming"

There are 0 articles in this category.
Navigation
  • Aggregator (http://www.taclug.org/planet/)
  • Gallery (http://www.taclug.org/gallery)
  • Library (http://chameleon.homelinux.net/OpenDB/listings.php?owner_id=taclib)