13 Oct, 2008
Posted by: Sterling Hamilton In: Code
Alrighty then - I have taken the PHP script I wrote to do this and converted it to a Shell script so it would be faster.
It’s prettier…because it has colors now - or a function that helps me produce colors anyway!
Right now it’s still really simple code.
The most complicated bits about it are the regular [...]
Tags:
Code,
Exyst,
joomla,
Programming,
script,
Server,
Shell,
Simple,
VirtueMart,
work,
X-Cart
13 Oct, 2008
Posted by: Sterling Hamilton In: Code
Need to style some of that text in your script?
Well then use this bad boy:
#!/bin/bash
#
# Example usage:
# echo ${RedF}This text will be red!${Reset}
# echo ${BlueF}{$BoldOn}This will be blue and bold!${BoldOff} - and this is just blue!${Reset}
# echo ${RedB}${BlackF}This has a red background and black font!${Reset}and everything after the reset is normal text!
Colors() {
Escape="\033";
[...]
09 Oct, 2008
Posted by: Sterling Hamilton In: Design
Below is a list of rules for great logo design.
Use them wisely and they will save you tons of time during your designing.
Thank you Tanner Christensen: http://www.tannersite.com/
09 Oct, 2008
Posted by: Sterling Hamilton In: Code
I wrote a script today that basically goes through and finds all websites on our servers and displays the ones that have Joomla and what version of Joomla it has installed.
Example Output:
Retrieving Site List…
[http://www.breweryarts.org] [Mambo] [4.5.4]
[http://www.artbyblair.com] [Mambo] [4.5.4]
[http://www.budgaugh.com] [Joomla!] [1.0.13]
[http://www.ecomadness.com] [Joomla!] [1.0.15]
[http://www.janusstudio.com] [Joomla!] [1.0.11]
[http://www.sharonchandler.com] [Mambo] [4.5.4]
See code below:
08 Oct, 2008
Posted by: Sterling Hamilton In: Code
Here’s a little something I wrote at work today.
Basically we charge per e-mail sent out using PHPList.
Until now we have not been keeping track of who is sending out what and thus we haven’t been billing accordingly. I decided to fix that!
So below is a script that will be run at the beginning of every [...]