Search found 8 matches: Then

Searched query: then

by jessica
Mon Nov 26, 2018 2:00 pm
Forum: Born Again Shell Scripting
Topic: Valid IP Address
Replies: 0
Views: 104

Valid IP Address

... IP Addresses Dxw1LBzN #!/bin/bash function valid_ip() { local ip=$1 local stat=1 if [[ $ip =~ ^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$ ]]; then OIFS=$IFS IFS='.' ip=($ip) IFS=$OIFS [[ ${ip[0]} -le 255 && ${ip[1]} -le 255 \ && ${ip[2]} -le 255 && ${ip[3]} -le 255 ]] stat=$? fi return $stat ...
by jessica
Tue Sep 18, 2018 11:20 am
Forum: VB Script
Topic: Ahh the good ole days
Replies: 0
Views: 167

Ahh the good ole days

... should. I was told to just leave it as the old classic ASP code and add the functionality they wanted. Needless to say this actually took longer then just rebuilding the entire system to something a little more current. I wanted to share some of the hair pulling I found along my journey, here ...
by jessica
Wed Sep 12, 2018 11:03 am
Forum: General Discussion
Topic: Table for version numbers for something I'll eventually create
Replies: 0
Views: 118

Table for version numbers for something I'll eventually create

... and Eos and associated with the Greek goddess of justice, Dike. | Até | | 3.0.x | Greek goddess of mischief, delusion, ruin, and folly. | Athena | | 4.0.x | Goddess of wisdom, poetry, art, and war strategy. Daughter of Zeus and born from his forehead fully grown, wearing battle armour. ...
by jessica
Wed Sep 12, 2018 6:09 am
Forum: PHP
Topic: Bot Detection System
Replies: 0
Views: 231

Bot Detection System

... Thorpe @ forums.phpfreaks.com * for their help and advice. * * This links into the robotstext.org site to access thier current * robot list. It then produces an array of these useragents that * can be used to check if a visitor is a robot or not. * Call: $yourVar = new getRobots(); * Setter ...
by jessica
Wed Sep 12, 2018 5:58 am
Forum: PHP
Topic: Easy Dev, Debug, and Production Environment
Replies: 0
Views: 170

Easy Dev, Debug, and Production Environment

... 1); error_reporting(E_ALL); break; } default:{ break; } } Inside my header file, or index.php whatever you would use to load on every page, I will then have a constant called define(ENVIRONMENT, "PRODUCTION"); Now where ever you want different actions depending on the environment (such as a test ...
by jessica
Sun Sep 09, 2018 10:40 am
Forum: Born Again Shell Scripting
Topic: Menu Driven Linux Info System
Replies: 0
Views: 216

Menu Driven Linux Info System

... | awk '{ print $1}' | cut -d'%' -f1) partition=$(echo $output | awk '{print $2}') write_header " Disk Usage Info" if [ "$EXCLUDE_LIST" != "" ] ; then df -H | grep -vE "^Filesystem|tmpfs|cdrom|${EXCLUDE_LIST}" | awk '{print $5 " " $6}' else df -H | grep -vE "^Filesystem|tmpfs|cdrom" | awk '{print ...
by jessica
Sun Sep 09, 2018 10:17 am
Forum: Born Again Shell Scripting
Topic: CHMOD 644 and 755
Replies: 0
Views: 92

CHMOD 644 and 755

On a server the maximum file permissions should never be higher then 755 for a folder and 644 for a file. CHMOD is actually much more powerful then what many think, here is a 1 line chmod argument you can use to set both the files and folders in 1 line.

Code: Select all

chmod -R u+rwX,go+rX,go-w /folder
by jessica
Sun Sep 09, 2018 8:41 am
Forum: Welcome Lounge
Topic: Jessica Brown
Replies: 0
Views: 152

Jessica Brown

... a developer since my first computer in 1979, which was the BASIC A that the TRS-80 model 1 came with. I did eventually move to a Tandy Coco 2, then in the early 80's I was introduced to Turbo Basic, which was the first compiling language I have ever seen. In 1994, the world of HTML came to ...