This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>jQuery Login Sample | https://github.com/Archie22is</title> | |
</head> | |
<body> | |
<input type="password" id="pass"> <input type="button" id="b" value="Login"><br> | |
<span id="err"></span> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Prev Next In jQuery - Sibeesh Passion</title> | |
<script src="http://sibeeshpassion.com/content/scripts/jquery-2.0.2.min.js"></script> | |
<script> | |
$(document).ready(function () { | |
var $first = $(".first"); | |
var i = 0; | |
$(".prev").click(function () { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Return 3 Recommended Posts using HubSpot Hubl | |
* Developer: Archie Makuwa | |
* Date: 12 October 2015 | |
* | |
* paste this snipped inside the a blog module | |
*/ | |
<!-- Applies to respective template --> by this I mean : blog_post / blog_internal templates --> | |
<div class="widget-module"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function createTable() { | |
var i=0, rowEl=null, | |
tableEl = document.createElement("table"); | |
// create 10 table rows, each with two cells | |
for (i=1; i <= 10; i++) { | |
rowEl = tableEl.insertRow(); // DOM method for creating table rows | |
rowEl.insertCell().textContent = "table cell "+ i +"-1" ; | |
rowEl.insertCell().textContent = "table cell "+ i +"-2" ; | |
} | |
document.body.appendChild( tableEl); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- This is your html --> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<p>Type something here and monitor the cosole output...</p> | |
</body> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
User-agent: * | |
# Directories | |
Disallow: /cgi-bin/ | |
Disallow: /wp-admin/ | |
Disallow: /trackback/ | |
Disallow: /wp-includes/ | |
Disallow: /comment-page- | |
Disallow: /wp-content/themes/ | |
Disallow: /wp-content/plugins/ | |
# Files |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="fixed"> | |
My fixed bar | |
</div> | |
<div id="targets"> | |
<div id="target-1"> | |
<a href="#target-2">Jump to target 2</a> | |
</div> | |
<div id="target-2"> | |
<a href="#target-3">Jump to target 3</a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// add the following script to your theme functions.php | |
// Archie22is ---> https://github.com/Archie22is | |
add_action('admin_menu', 'remove_pods_menu', 11); | |
function remove_pods_menu () { | |
get_currentuserinfo() ; | |
global $user_level; | |
if ($user_level < 10){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- HTML --> | |
<div class="switch"> | |
<div class="avg_words float_left"> | |
A+ (hover to see score) | |
</div> | |
<div class="avg_num"> | |
AVG = 98.35% | |
</div> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html class="no-js" lang=""> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="x-ua-compatible" content="ie=edge"> | |
<title></title> | |
<meta name="description" content=""> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
</head> | |
<body> |