Skip to content

Instantly share code, notes, and snippets.

View Hunter-Dolan's full-sized avatar

Hunter Dolan Hunter-Dolan

View GitHub Profile
/***** crystalmail|Mail mail task styles *****/
#messagetoolbar
{
position: absolute;
background: url('images/header.png') repeat-x;
top: 26px;
left: 0px;
right: 0px;
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!-- saved from url=(0051)http://www.gnu.org/licenses/gpl-3.0-standalone.html -->
<HTML><STYLE>
body {
font-family:Arial,Helvetica,sans-serif;
color: #333;
background-color: #FFFFFF;
margin: 0px;
}
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!-- saved from url=(0051)http://www.gnu.org/licenses/gpl-3.0-standalone.html -->
<HTML><STYLE>
body {
font-family:Arial,Helvetica,sans-serif;
color: #333;
background-color: #FFFFFF;
margin: 0px;
}
@Hunter-Dolan
Hunter-Dolan / jsonipjquery.html
Created January 8, 2011 02:30
Json IP jQuery Script
<!--Include jQuery-->
<script src="http://code.jquery.com/jquery-1.4.4.js"></script>
<script>
//Get the JSON Code
$.getJSON("http://jsonip.hdcomputers.us/json/",{},
function(data) {
//JS Goodness here! Your ip variable is data.ip
alert('Your IP Address is ' + data.ip)
});
</script>
@Hunter-Dolan
Hunter-Dolan / rawhttpjsonip
Created January 8, 2011 02:35
Raw HTTP Request Data of Json IP
Data should go here
@Hunter-Dolan
Hunter-Dolan / Made By HD Credit
Created January 29, 2011 21:59
Gives Me Credit!
<div id="credit"><style>#credit {font-family: "Lucida Grande", Verdana, Arial, sans-serif;font-size: 23px;}#credit mbhdc {background: #f0f0f0;padding:15px;word-spacing: 1px;letter-spacing: -2px;color: #b9b9b9;text-align: center;text-shadow: 0px -1px 0px #7b7b7b;font-family: Helvetica, Verdana, Arial;background-position: 5px 5px;background-repeat: no-repeat;widows: 0;-webkit-border-radius: 5px;-moz-border-radius: 5px;-moz-box-shadow: inset 0 0 2px 2px #707070;-webkit-box-shadow: inset 0 0 2px 2px #A9A9A9;box-shadow: inset 0 0 5px 5px #707070;}#credit mbhd a{word-spacing: 1px;letter-spacing: -2px;color: #b9b9b9;text-align: center;text-shadow: 0px -1px 0px #7b7b7b;font-family: Helvetica, Verdana, Arial;widows: 0;text-decoration:none;}#credit mbhd a:hover {border-bottom: 3px #b9b9b9 dashed;}#credit mbhd.donate a{margin-left:10px;color: #00bc80;text-decoration:none;}#credit mbhd.donate a:hover {border-bottom: 3px #00bc80 dashed;}</style><mbhdc><mbhd><a href="madebyhd.co.cc">Made By HD</a></mbhd> |<mbhd class="dona
<?php
echo "<center><h1>Just so you know... I'm awesome!</h1><br><br><h3>-HD</h3></center>";
echo"<center><form action='?'>Enter DNA Code Here: <input name='dna'><br><input type='submit' value='Convert!'><input type='hidden' name='process' value='true'></form>";
if(isset($_GET['process'])) {
echo "<br><br><br>Your mRNA Code is: <b>";
$dna= str_split($_GET['dna'], 1);
$mrna = array();
foreach ($dna as $l) {
function hash() {
var page = document.location.hash.replace('#!/', '');
if (page == ''){
page = 'home';
}
return page;
}
@Hunter-Dolan
Hunter-Dolan / gist:1069527
Created July 7, 2011 13:42
automagically.php
<?php
header('Location: https://team.studio182.net/');
?>