i-stos i-stos

View persnav.js
1 2 3 4 5 6 7 8 9 10
/**
* Name: Persistant Navigation Menu
* Type: jQuery Plugin - jQuery v1.7.2
* Description: Makes any navigation menu or DOM element persistant
* Author: Billy Onjea (blog.istocode.com)
* --------------------------------------------------------------------
* Minimum CSS Classes:
* --------------------------------------------------------------------
* .persisting {
* position: fixed;
View index.php
1 2 3 4 5 6 7 8 9
 
<?php
 
/**
* Validate & Send simple e-mail
*/
 
function validate_field ($field) {
$field = htmlspecialchars($field, ENT_QUOTES);
View MySQL-Guide.txt
1 2 3 4 5 6 7 8 9 10
==========================================================================================================
MySQL Guide - Basics
==========================================================================================================
Connect/Disconnect from MySQL Server
----------------------------------------------------------------------------------------------------------
:~ sudo mysqld_safe //Turns on MySQL server
:~ mysql -h host -u root -p //Connects to MySQL server: "no need to specify host on local"
mysql> quit; //Disconnects from MySQL
:~ mysqladmin -u root -p shutdown //Shuts down MySQL server
----------------------------------------------------------------------------------------------------------
View gist:2470859
1 2 3 4 5 6 7 8 9 10
// ----------------------------------------------------------
// 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) {}
View html5-template.html
1 2 3 4 5 6 7 8 9 10
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
 
<title> Untitled Document </title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="keywords" content="">
<meta name="author" content="">
Something went wrong with that request. Please try again.