Skip to content

Instantly share code, notes, and snippets.

View CWade3051's full-sized avatar
💭
Working

Charles Wade CWade3051

💭
Working
View GitHub Profile
@CWade3051
CWade3051 / whosYourDaddy.py
Created August 22, 2013 03:27
Who's Your Daddy Python Program
# Write a Who's Your Daddy? program that lets the user enter the name of a male
# and produces the name of his father. (You can use celebrities, fictional characters,
# or even historical figures for fun.) Allow the user to add, replace, and delete father-son pairs.
import pickle
choice = None
wydd = {"Greg Cave": "Ernie Cave", "Charles Wade": "Charlie Wade", "Brian Waldron": "Dennis Waldron"}
while choice != "0":
print("""
@CWade3051
CWade3051 / charCreate.py
Created August 22, 2013 03:27
Character Creator Python Program
# Character Creator
# Write a Character Creator program for a role-playing game. The player should be given a pool of 30 points to spend
# on four attributes: Strength, Health, Wisdom, and Dexterity. The player should be able to spend points from the
# pool on any attribute and should also be able to take points from an attribute and put them back into the pool.
# import statements
import pickle
@CWade3051
CWade3051 / ReadMe.txt
Created August 10, 2013 12:10
Hello World from a bunch of diff lang
These files Demonstrate the "Hello World!" Program
in 50 different Languages.
For more Details, Open the File Named Below.
=========================
Index.htm
=========================
Thankyou for Downloading and Using Hello World Project.

kvz: "I'm recommending these Mac apps to a colleague who's losing his OSX virginity: https://gist.github.com/1372883. Anything you think I should add?"

Don't forget to look at the suggestions at the bottom, there's some cool stuff in there.

Essential

  • 1Password - password manager. intergrates with Dropbox & all main webbrowsers so you'll never lose a password again
  • Dropbox - a free 2GB folder in your homedir that stays in sync with all the devices you also install it on (linux/windows/mac/ipad/iphone/etc). Useful for backup, collaboration (share 1 folder with others), and keeping important documents with you.
  • Chrome - browsing
  • Colloquy - IRC
@CWade3051
CWade3051 / start
Created August 7, 2013 05:26 — forked from aubrey/start
HTML5: Starter
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title></title>
<!--[if IE]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link href="reset.css" rel="stylesheet" type="text/css">
<link href="style.css" rel="stylesheet" type="text/css">
@CWade3051
CWade3051 / gist:6171434
Last active December 20, 2015 17:49 — forked from padolsey/gist:527683
javaScript: Detect IE
// ----------------------------------------------------------
// A short snippet for detecting versions of IE in JavaScript
// without resorting to user-agent sniffing
// ----------------------------------------------------------
// If you're not in IE (or IE version is less than 5) then:
// ie === undefined
// If you're in IE (>=5) then you can determine which version:
// ie === 7; // IE7
// Thus, to detect IE:
// if (ie) {}
@CWade3051
CWade3051 / html4start.html
Created August 7, 2013 04:45
HTML: 4.01 Starter
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Your Page Title Goes Here</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<h1>Heading 1</h1>
<p1>Paragraph 1</p1>