[ Launch: sin waves ] 8175771 by dvdrtrgn See Previous Inlet [ Gist ]
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
@media all { | |
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ | |
body { | |
background-color: #eee; | |
color: #333 ; | |
font-size: 9pt ; | |
} | |
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ | |
} |
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>JS Bin</title> | |
<!--[if IE]> | |
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script> | |
<![endif]--> | |
<style> | |
article, aside, figure, footer, header, hgroup, |
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
document.createElement('header'); | |
document.createElement('nav'); | |
document.createElement('section'); | |
document.createElement('article'); | |
document.createElement('aside'); | |
document.createElement('footer'); | |
/*** OR ***/ | |
//<script type="text/javascript" src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script> |
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
<?xml version="1.0" encoding="utf-8"?> | |
<txtsrc> | |
<item author="Dune"> | |
<title>Litany Against Fear</title> | |
<lines> | |
<line>I must not fear.</line> | |
<line>Fear is the mind-killer.</line> | |
<line>Fear is the little-death that brings total obliteration.</line> | |
<line>I will face my fear.</line> | |
<line>I will permit it to pass over me and through me.</line> |
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
if (document.getElementById('hello')) { | |
document.getElementById('hello').innerHTML = 'Hello World - this was inserted using JavaScript'; | |
} | |
var original_array = [], | |
dup_array; | |
for (var j = 0; j < 1500000; j++) { | |
original_array[j] = 9; | |
} |
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
My iTunes Match Track upgrading and process info: | |
If you have less than 25,000 tracks: | |
1. First let iTunes Match do its things and find all possible matches in your | |
library and finish uploading any non-matching tracks. | |
2. Once its done, make a new Smart Playlist (I made a folder for all my Smart | |
iTunes Match Related Playlists) |
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 lineate(obj){ | |
var arr = [], i; | |
for (i in obj) arr.push([i,obj[i]].join(':')); | |
console.log(arr); | |
} | |
var obj = { a:1, b:2, c:3, "123":'xyz' }; | |
/* log1 */ lineate(obj); | |
obj.a = 4; | |
/* log2 */ lineate(obj); | |
delete obj.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
location.parse = function () { //_qp_// | |
var i, e, arr, str = location.search, | |
out = new(function Queries() {}); | |
if (!str || str.charAt(0) !== '?') { | |
return {}; | |
} | |
arr = decodeURI(str.substr(1)).split('&'); // no '?' | |
for (i = 0; i < arr.length; i++) { | |
e = arr[i].split('='); |
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
<!--[if IE]> | |
<style type="text/css"> | |
/* place css fixes for all versions of IE in this conditional comment */ | |
.thrColHybHdr #sidebar1, .thrColHybHdr #sidebar2 { padding-top: 30px; } | |
.thrColHybHdr #mainContent { zoom: 1; padding-top: 15px; } | |
/* the above proprietary zoom property gives IE the hasLayout it needs to avoid several bugs */ | |
</style> | |
<![endif]--> | |
------------------------------------------------------------------------ |
OlderNewer