Search found 31 matches

by jessica
Wed Jan 23, 2019 4:48 am
Forum: Java
Topic: Java FizzBuzz Example
Replies: 1
Views: 128

Re: Java FizzBuzz Example

I may have to test that, I mod 15 may not work for 10... I will setup a Java environment and show my work.
by jessica
Mon Nov 26, 2018 2:00 pm
Forum: Born Again Shell Scripting
Topic: Valid IP Address
Replies: 0
Views: 107

Valid IP Address

A BASH script to test for valid 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 2...
by jessica
Fri Sep 28, 2018 7:41 am
Forum: Javascript
Topic: Vue.js -- This could be fun to play with!
Replies: 0
Views: 191

Vue.js -- This could be fun to play with!

So I found Vue.js at work. The powers above me decided to start using Vue.js on all of their projects. When going over the documentation for Vue, I noticed this little Code Pen, so I wanted to duplicate it and put it up on this site. I will be playing with it and adding more features, maybe list Wal...
by jessica
Tue Sep 18, 2018 11:20 am
Forum: VB Script
Topic: Ahh the good ole days
Replies: 0
Views: 170

Ahh the good ole days

I was asked to re-vamp an old PAR system at work and they wanted to do as minimum as possible to make the thing work like it 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 entir...
by jessica
Mon Sep 17, 2018 6:50 am
Forum: General Discussion
Topic: A list of online Fiddles
Replies: 0
Views: 121

A list of online Fiddles

Some of my favorite online fiddles to play on.

Name Types
RubyFiddleRuby
CodePenHTML, CSS, JS
PHPFiddlePHP
by jessica
Fri Sep 14, 2018 11:44 am
Forum: Ruby
Topic: It's beer time!
Replies: 0
Views: 182

It's beer time!

I've been posting a lot of FizzBuzz examples, although I want to create something a little more interesting. This time it is the Beer song. Notice the variables I have defined, count, containerType and getDrunkBy, these will play a part in the creation of the song. Also there is a function called ge...
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

| NAME | RELEASE DATE | VERSION | GODDESS NAME | |:-----|:------------:|:-------:|:-------------| | Achelois | | 0.2.x | A minor moon goddess whose name means "she who washes away pain". | Alcyone | | 0.3.x | One of the seven, Pleiades and daughter of Atlas and Pleione. She bore several children wit...
by jessica
Wed Sep 12, 2018 6:09 am
Forum: PHP
Topic: Bot Detection System
Replies: 0
Views: 235

Bot Detection System

0EWDLfuf <?php /** * Generates a list of robot useragent deffinitions for use with * $_SERVER['HTTP_USER_AGENT'] to identify robots * * Created by: Muddy_Funster @ forums.phpfreaks.com - 09/2013 * Updated and modified by: Jessica Brown for use on DIABLOS - 07/2017 * * A Huge Thank You to Psycho, Ki...
by jessica
Wed Sep 12, 2018 6:05 am
Forum: PHP
Topic: Constants are better defined through arrays.
Replies: 0
Views: 134

Constants are better defined through arrays.

WHAT? How? Do you even know what your talking about Jessica? Well, yes. So when creating many configurable items, you can setup NAMESPACE, and Global and pass different parameters all over the place many different ways, although one of the best methods I have used is actually pretty nice, clean and ...
by jessica
Wed Sep 12, 2018 5:58 am
Forum: PHP
Topic: Easy Dev, Debug, and Production Environment
Replies: 0
Views: 175

Easy Dev, Debug, and Production Environment

I like to create a environment.inc file, inside this file I will have a switch which will test for 3 different conditions PRODUCTION, DEBUG, DEVELOPMENT # Check the environment switch (ENVIRONMENT) { case "PRODUCTION":{ ini_set('display_errors', 0); ini_set('display_startup_errors', 0); error_report...