Skip to content

Instantly share code, notes, and snippets.

@connor
connor / .jshintrc.js
Created January 11, 2012 22:20
jshintrc example
// NOTE: I added the .js extension to this gist so it would have syntax highlighting. This file should have NO file extension
{
// Settings
"passfail" : false, // Stop on first error.
"maxerr" : 100, // Maximum error before stopping.
// Predefined globals whom JSHint will ignore.
"browser" : true, // Standard browser globals e.g. `window`, `document`.
@ericelliott
ericelliott / essential-javascript-links.md
Last active November 8, 2024 17:29
Essential JavaScript Links
anonymous
anonymous / index.html
Created May 9, 2015 08:08
Fullscreen backgrounds with centered content Fullscreen backgrounds with centered content // source http://jsbin.com/hixub
<!DOCTYPE html>
<html>
<head>
<script src="http://code.jquery.com/jquery-1.10.2.min.js"></script>
<meta charset="utf-8">
<title>Fullscreen backgrounds with centered content</title>
<meta name="description" content="Fullscreen backgrounds with centered content">
<style id="jsbin-css">
/* background setup */
.background {
anonymous
anonymous / index.html
Created June 2, 2015 00:27
JS Bin // source http://jsbin.com/powituzave
<!DOCTYPE html>
<html>
<head>
<script src="https://code.jquery.com/jquery-1.11.1.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.8.3/underscore-min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/backbone.js/1.1.2/backbone-min.js"></script>
<meta charset="utf-8">
<title>JS Bin</title>
<style id="jsbin-css">
.b1-sel {
anonymous
anonymous / index.html
Created July 7, 2015 14:07
JS Bin // source http://jsbin.com/ricipeyibi
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>JS Bin</title>
<style id="jsbin-css">
.container {
width: 360px;
margin: 0 auto;
height: 500px;
anonymous
anonymous / index.html
Created September 4, 2015 08:15
JS Bin // source http://jsbin.com/fawimuxemi
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>JS Bin</title>
<style id="jsbin-css">
*{
padding: 0;
margin: 0;
box-sizing: border-box;