This file contains hidden or 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 $(selector, context) { | |
context = context || document; | |
var firstChar = selector[0], | |
nameOnly = selector.substring(1, selector.length), | |
maybeId = firstChar === "#", | |
maybeClass = firstChar === ".", | |
isSimple = /^[\w-]*$/.test(nameOnly), | |
qsaRe = /^(.+[\#\.\s\[\*>:,]|[\[:])/, | |
element = |
This file contains hidden or 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 | |
curl -O "http://virtualization.modern.ie/vhd/IEKitV1_Final/VMWare_Fusion/IE6_XP/IE6.XP.For.MacVMware.sfx" | |
curl -O "http://virtualization.modern.ie/vhd/IEKitV1_Final/VMWare_Fusion/IE8_XP/IE8.XP.For.MacVMware.sfx" | |
curl -O "http://virtualization.modern.ie/vhd/IEKitV1_Final/VMWare_Fusion/IE7_Vista/IE7.Vista.For.MacVMware.part0{1.sfx,2.rar,3.rar,4.rar}" | |
curl -O "http://virtualization.modern.ie/vhd/IEKitV1_Final/VMWare_Fusion/IE8_Win7/IE8.Win7.For.MacVMware.part0{1.sfx,2.rar,3.rar}" | |
curl -O "http://virtualization.modern.ie/vhd/IEKitV1_Final/VMWare_Fusion/IE9_Win7/IE9.Win7.For.MacVMware.part0{1.sfx,2.rar,3.rar}" | |
curl -O "http://virtualization.modern.ie/vhd/IEKitV1_Final/VMWare_Fusion/IE10_Win7/IE10.Win7.For.MacVMware.part0{1.sfx,2.rar,3.rar,4.rar}" | |
curl -O "http://virtualization.modern.ie/vhd/IEKitV1_Final/VMWare_Fusion/IE10_Win8/IE10.Win8.For.MacVMware.part{1.sfx,2.rar,3.rar}" |
This file contains hidden or 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
do (root = this, factory = (window, document) -> | |
NS = "Hoge" | |
class Hoge | |
constructor: -> | |
@hoge = "hoge" | |
window[NS] = Hoge | |
) -> | |
# AMD |
This file contains hidden or 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 (global, document) { | |
var imgList = [ | |
"http://cdn1.iconfinder.com/data/icons/CrystalClear/128x128/mimetypes/pdf.png", | |
"http://cdn1.iconfinder.com/data/icons/CrystalClear/128x128/mimetypes/unknown.png", | |
"http://cdn1.iconfinder.com/data/icons/CrystalClear/128x128/mimetypes/document.png", | |
"http://cdn4.iconfinder.com/data/icons/CV_icons_by_miffo/128/references.png", | |
"http://cdn2.iconfinder.com/data/icons/oxygen/128x128/mimetypes/application-vnd.oasis.opendocument.text.png" | |
]; | |
preload(imgList, "imgOnLoaded"); |
This file contains hidden or 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
<style> | |
#bike { | |
display: inline-block; | |
&:after { | |
display: inline; | |
content: attr(data-text); | |
} | |
} | |
</style> |
NewerOlder