One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
<!DOCTYPE html> | |
<!-- | |
Single file Tic Tac Toe against the Computer | |
https://gist.github.com/wiseley/9458565/ | |
Author: Matt Wiseley | |
License: GPL - http://www.gnu.org/licenses/gpl.html | |
--> | |
<html> | |
<head> | |
<meta charset="UTF-8"> |
// reverse word and compare | |
function isPalindrome1(word) { | |
var s = ''; | |
for (var i=word.length-1; i>=0; i--) { | |
s += word[i]; | |
} | |
return s === word; | |
} | |
// compare from end to end (more efficient) |
<?php | |
# Fill our vars and run on cli | |
# $ php -f db-connect-test.php | |
$dbname = 'name'; | |
$dbuser = 'user'; | |
$dbpass = 'pass'; | |
$dbhost = 'host'; | |
$connect = mysql_connect($dbhost, $dbuser, $dbpass) or die("Unable to Connect to '$dbhost'"); |
Most standard ways to get a favicon from a page, in preferred order
<link href="http://someserver/favicon.ico" rel="shortcut icon" />
<link href="http://someserver/favicon.ico" rel="shortcut" />
<link href="http://someserver/favicon.ico" rel="icon" />
<link href="http://someserver/favicon.png" rel="apple-touch-icon" />
<link href="http://someserver/favicon.png" rel="apple-touch-icon-precomposed" />
<link href="http://someserver/favicon.ico" rel="image_src" />
## Sublime Text 3 Serial key build is 3176 | |
> * Added these lines into /etc/hosts | |
127.0.0.1 www.sublimetext.com | |
127.0.0.1 license.sublimehq.com | |
> * Used the license key | |
----- BEGIN LICENSE ----- |
I use the first | |
—– BEGIN LICENSE —– | |
Michael Barnes | |
Single User License | |
EA7E-821385 | |
8A353C41 872A0D5C DF9B2950 AFF6F667 | |
C458EA6D 8EA3C286 98D1D650 131A97AB | |
AA919AEC EF20E143 B361B1E7 4C8B7F04 |
/* http://meyerweb.com/eric/tools/css/reset/ | |
v2.0-modified | 20110126 | |
License: none (public domain) | |
*/ | |
html, body, div, span, applet, object, iframe, | |
h1, h2, h3, h4, h5, h6, p, blockquote, pre, | |
a, abbr, acronym, address, big, cite, code, | |
del, dfn, em, img, ins, kbd, q, s, samp, | |
small, strike, strong, sub, sup, tt, var, |