Search found 9 matches: Have

Searched query: have

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

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
Tue Sep 18, 2018 11:20 am
Forum: VB Script
Topic: Ahh the good ole days
Replies: 0
Views: 168

Ahh the good ole days

... a little more current. I wanted to share some of the hair pulling I found along my journey, here is a great example of how classic ASP does not have short circuit evaluation on their 'if statements'. eP9DdJRg <% dim var1, var2, var3, var4, var5, var6 var1 = true var2 = false var3 = "1" var4 ...
by jessica
Fri Sep 14, 2018 11:44 am
Forum: Ruby
Topic: It's beer time!
Replies: 0
Views: 179

It's beer time!

... 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 getDrunkBy which ...
by jessica
Wed Sep 12, 2018 6:09 am
Forum: PHP
Topic: Bot Detection System
Replies: 0
Views: 232

Bot Detection System

... not currently possible"; if(!is_dir($this->lfPath)){ if(!mkdir($this->lfPath)){ throw new RuntimeException("error creating directory! PHP must have write permissions for this folder -- $lfPath"); } } } public function setExclude($mixed){ $mixed = (array)$mixed; $this->excludes = array_merge($this->excludes, ...
by jessica
Wed Sep 12, 2018 6:05 am
Forum: PHP
Topic: Constants are better defined through arrays.
Replies: 0
Views: 132

Constants are better defined through arrays.

... 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 simple to implement. sebJr5k6 $defines = array( "DEFKEY"=>"upper", # Options are upper or lower "VERSION"=>"0.2.1", ...
by jessica
Wed Sep 12, 2018 5:58 am
Forum: PHP
Topic: Easy Dev, Debug, and Production Environment
Replies: 0
Views: 172

Easy Dev, Debug, and Production Environment

I like to create a 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', ...
by jessica
Sun Sep 09, 2018 9:23 am
Forum: PHP
Topic: String to Array Function
Replies: 0
Views: 128

String to Array Function

This function is an ideal way to take a string and have separators to parse keys and values. This is great for giving a definitions list or just have the ability to have an array from long strings. Default separators are == and &&, although you may ...
by jessica
Sun Sep 09, 2018 8:41 am
Forum: Welcome Lounge
Topic: Jessica Brown
Replies: 0
Views: 152

Jessica Brown

Hello everyone, Well I would like to get this forum started, so I will start with myself. My name is Jessica, I have been 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 ...
by jessica
Fri Sep 07, 2018 8:13 am
Forum: General Discussion
Topic: FizzBuzz, what?
Replies: 0
Views: 157

FizzBuzz, what?

... let me explain. FizzBuzz is a basic test to provide someone to test their ability to code in the language they are claiming. Default rules are, have your script loop from 1 to 100, on every 3, output Fizz, on every 5 output Buzz, on every 15v output FizzBuzz. Showing every number opposite to ...