Skip to content

Instantly share code, notes, and snippets.

View EvanDarwin's full-sized avatar
💭
Always busy with something

Evan Darwin EvanDarwin

💭
Always busy with something
  • USA
View GitHub Profile
Hetzner Online AG http://www.hetzner.de/
SoftLayer http://www.softlayer.com/
UA Servers https://itldc.com/
webexxpurts.com http://webexxpurts.com/
Host Europe http://www.hosteurope.de/
OVH http://www.ovh.co.uk/
HostKey http://www.hostkey.com/
PEER 1 http://www.peer1.com/
3NT UK http://3nt.com/
eukhost.com http://eukhost.com/
void Print(Node head) {
if(head.next != null) {
System.out.println(head.next.data.toString());
Print(head.next);
}
}
@EvanDarwin
EvanDarwin / rpc.c
Created July 24, 2014 06:28
rock paper scissors game
#include <stdio.h>
#include <stdlib.h>
int roll_hand();
char* get_hand_name(int hand);
void print_win();
void print_lose();
int main(int argc, char **argv)
{
Premium domains are domains that have been purchased recently and are now
available on the market for resale. These domains are typically easy to
remember, generic, and will drive traffic to your business. As the
availability of .com domains diminishes, the price of generic premium
domains will continue to rise.
For a small investment, you can start your business online with a head start.
Shorter and more generic domains typically rank higher on Google, as well as
seeming more professional. Why register franks-cookie-factory.com when you can
register something that’s much easier to remember, like FranksFactory.com!
@EvanDarwin
EvanDarwin / stack_trace.php
Created October 7, 2012 05:44 — forked from JaggedJax/stack_trace.php
Simple human readable stack trace for PHP scripts or Web
/**
* Print out a stack trace from entry point to wherever this function was called.
* @param boolean $show_args Show arguments passed to functions? Default False.
* @param boolean $for_web Format text for web? Default True.
* @param boolean $return Return result instead of printing it? Default False.
*/
public static function stack_trace($show_args=false, $for_web=true, $return=false){
if ($for_web){
$before = '<b>';
$after = '</b>';