Home / How-To & Tutorials / Scripting

Scripting

DataTables Hide Empty Columns Plugin – Automatically hide any columns that are empty

I recently posted two other DataTables plugins I created, one for keeping the table conditions in the URL, and another for keeping AJAX sourced tables up-to-date. Well, I created another one! One project I’m working on has a lot of ...

Read More »

DataTables Live Ajax Plugin – Keep your AJAX sourced tables up to date

I’m a big fan of the Open Source jQuery plugin DataTables. Out of all the jQuery plugins I have used, I feel comfortable saying it’s one of the most stable and powerful.  For those of you who don’t know what ...

Read More »

Adding JS & CSS Files To CKEditor Content

Recently, I’ve been working on a web-development project (Which I’m omitting from this post), which uses the popular WYSIWYG editor, CKEditor. A popular issue with WYSIWYG editors, is even though they have display a very accurate depiction of what the content ...

Read More »

Bash Tips And Tricks (Part 1)

I have always thought of bash as a “Quick ‘n Dirty” way of taking care of things, it isn’t by any means a powerful language. It’s not meant for writing programs, not meant for creating games, not meant for much ...

Read More »

Bash Parallel – easily run parallel processes in bash

You don’t have to write complicated bash shell scripts to accomplish parallel processing! Take this as an example of the hard way, It’s going to create 5 “threads” and each while loop can run with 5 at a time. Eh… Complicated. ...

Read More »

Perl – Executing System Commands

Perl comes with the ability to execute commands at the OS level, on any OS you are running (Linux, Windows, Mac, etc etc) There are three options available, all are different: system – Returns an exit code of the command ...

Read More »

Perl Tips And Tricks (Part 1)

A good developer tries to use as little lines of code as possible. If theres 2 ways to do something, and one takes one line, and the other takes 3, then you typically would want to go with the one ...

Read More »

Viewing Bash Exit Status Codes With Pipes

Recently I was executing bash scripts from within bash scripts, and executing commands based off of exit code, typically I just use or just the typical But now what if you are also piping the output of script.sh through tee? Then you ...

Read More »

Why the GOTO Statement Is Evil

What is the goto statement? Basically, it’s a way for you to easily “jump” around in your code. You can insert “goto labels” within your code, then simply jump to that segment of your code by just inserting “goto LABELNAME”. ...

Read More »

Automate server backups to Amazon S3

I’ve always tried to figure out what the best way would be to backup a server, without me having to do anything at all. I looked online and found a lot of great websites, software that does it but everything ...

Read More »