Skip to content

Instantly share code, notes, and snippets.

@SeeGreatness
SeeGreatness / meta-tags.md
Created June 3, 2018 03:12 — forked from kevinSuttle/meta-tags.md
List of Usable HTML Meta and Link Tags

Copied from http://code.lancepollard.com/complete-list-of-html-meta-tags/

Basic HTML Meta Tags

<meta charset='UTF-8'>
<meta name='keywords' content='your, tags'>
<meta name='description' content='150 words'>
<meta name='subject' content='your website's subject'>
<meta name='copyright' content='company name'>
@kevinSuttle
kevinSuttle / meta-tags.md
Last active October 9, 2025 17:56 — forked from lancejpollard/meta-tags.md
List of Usable HTML Meta and Link Tags
@smonteverdi
smonteverdi / gist:1993937
Created March 7, 2012 15:55
PHP: Login Form
login_page.php
<form action="verify.php" method="post">
User Name:<br>
<input type="text" name="username"><br><br>
Password:<br>
<input type="password" name="password"><br><br>
<input type="submit" name="submit" value="Login">
</form>
verify.php
@mager
mager / spotify-apps-sandbox-click_to_play.js
Created February 10, 2012 19:30
Spotify Apps API - Play/pause with an HTML element (JS)
/* Instantiate the global sp object; include models & views */
var sp = getSpotifyApi(1);
var models = sp.require("sp://import/scripts/api/models");
var player = models.player;
$('#play-me').click(function(){
player.playing = !(player.playing);
if (player.playing == true) {
$('#play-me').empty().append('Playing!');
} else {
@josephwegner
josephwegner / jquery-hideIdleCursor.js
Created September 20, 2011 12:31
Hide your cursor on a web page when it is idle. Great if you're using a web page for some sort of TV Display and don't want the cursor messing things up.
//Requires jQuery - http://code.jquery.com/jquery-1.6.4.min.js
$(document).ready(function() {
var idleMouseTimer;
var forceMouseHide = false;
$("body").css('cursor', 'none');
$("#wrapper").mousemove(function(ev) {
if(!forceMouseHide) {
$("body").css('cursor', '');