I hereby claim:
- I am blu3monkey on github.
- I am devbowser (https://keybase.io/devbowser) on keybase.
- I have a public key ASBM4TFcUFhpHeN2KIvGlG6Z8yCZmB0ZVznoljsPz2rSOgo
To claim this, I am signing this object:
| <style> | |
| ul { | |
| font-size: 1.5em; | |
| line-height: 1em; | |
| } | |
| </style> | |
| <ul> | |
| <li>Coffee</li> | |
| <li>Tea</li> |
| <?php | |
| function validEmail($email){ | |
| // Check the formatting is correct | |
| if(filter_var($email, FILTER_VALIDATE_EMAIL) === false){ | |
| return FALSE; | |
| } | |
| // Next check the domain is real. | |
| $domain = explode("@", $email, 2); | |
| return checkdnsrr($domain[1]); // returns TRUE/FALSE; | |
| } |
| initialize passes to zero | |
| initialize failures to zero | |
| initialize student to one | |
| while student counter is less than or equal to ten | |
| input the next exam result | |
| if the student passed |
| [ | |
| { | |
| "title": "Title here", | |
| "author": "Author Name", | |
| "url": "URL link to post" | |
| }, | |
| ] |
| My job is so f**king unbelievable. | |
| I'll try to sum it up by first telling you about the folks I work with: | |
| First, there is this supermodel wanna-be chick. Yeah, okay, she is pretty hot, but damn is she completely useless. | |
| The girl is constantly fixing her hair or putting on make-up. | |
| She is extremely self-centred and has never once considered the needs or wants of anyone but herself. | |
| She is as dumb as a box of rocks, and I still find it surprising that she has enough brain power to continue to breathe. | |
| The next chick is completely the opposite. She might even be one of the smartest people on the planet. |
I hereby claim:
To claim this, I am signing this object:
| # Composer | |
| .composer | |
| vendor/* | |
| !*/vendor/* | |
| # Sass | |
| .sass-cache | |
| # Grav Specific | |
| backup/* |
| /* | |
| In C# there are various reasons that you may have for needing to thread your applications out. | |
| I'm not going into detail what reasons you would have for doing so, I am only going to explain how it's done. | |
| I'll be going over a complete example of C# threading, and then explain each piece of the code to help break it down. | |
| It is important to note, that I ain't no oracle, legend or whatever, and I am still learning myself. Hopefully everyone | |
| continues to learn throughout their lifetime. | |
| We'll be writing a xample code that will send chunks of 10,000 numbers to 4 worker threads. | |
| The worker threads will find all prime numbers in the given chunk and print them to the screen. | |
| There is no guarantee that prime numbers will be listed in order, so one may want to pop the output |
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Text; | |
| using System.Threading; | |
| namespace ThreadingConsoleApp | |
| { | |
| class Program | |
| { |
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Text; | |
| using System.Threading; | |
| namespace MultiThreadedConsoleApp | |
| { | |
| class Program | |
| { |