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>Conforming XHTML 1.0 Strict Template</title> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.js"></script> | |
<script type="text/javascript"> | |
$(function(){ | |
$("#selectBoxId").change(function(){ | |
var selectedValue = $(this).find(":selected").val(); |
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>Conforming XHTML 1.0 Strict Template</title> | |
<style> | |
@-webkit-keyframes turnit{ | |
from{ | |
-webkit-transform: rotate(0deg); | |
} |
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
cQuery.animations = []; | |
setInterval("cQuery.runAnimations()", 100); | |
cQuery.runAnimations = function(){ | |
for(var i=0; i < cQuery.animations.length; i++){ | |
cQuery.animations[i].animation(); | |
} | |
} | |
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
<? | |
$n = 10; | |
$i = 3; | |
if(calc($n) < calc($i){ | |
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
import os | |
def listDirectory(directory, tabStops, originalPath): | |
tabStops = tabStops + "\t" | |
os.chdir(directory) | |
newPath = os.getcwd() | |
dirlist = os.listdir(".") |
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
#!/bin/sh | |
# | |
# Copyright (c) 2007 Andy Parkins | |
# | |
# An example hook script to mail out commit update information. This hook | |
# sends emails listing new revisions to the repository introduced by the | |
# change being reported. The rule is that (for branch updates) each commit | |
# will appear on one email and one email only. | |
# | |
# This hook is stored in the contrib/hooks directory. Your distribution |
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
var n = 0, | |
i = 0, | |
GL = { | |
i: 0, | |
}; | |
//incrementation on a local variable | |
console.time('local'); | |
n = 0; | |
while(n < 2000000){ |
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
for(i = 0; i < Obj.length; i++){} |
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
for(i = 0, ii = Obj.length; i < ii; i++){} |
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
for(i = Obj.length; i--;){} |
OlderNewer