I no longer mantain this list. There are lots of other very comprehensive JavaScript link lists out there. Please see those, instead (Google "awesome JavaScript" for a start).
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
import Foundation | |
import AVFoundation | |
// AudioPlayer Class Definition | |
class AudioPlayer: NSObject { | |
private let runLoop: NSRunLoop = NSRunLoop.currentRunLoop() | |
private let stdinHandle: NSFileHandle = NSFileHandle.fileHandleWithStandardInput() | |
private let items: [AVPlayerItem]! | |
private var queuePlayer: AVQueuePlayer! |
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
https://www.gnu.org/licenses/gpl-3.0.en.html | |
GNU GENERAL PUBLIC LICENSE v3 |
In React 0.12, we're making a core change to how React.createClass(...)
and JSX works.
If you're using JSX in the typical way for all (and only) React components, then this transition will be seamless. Otherwise there are some minor breaking changes described below.
The Problem
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
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
// these code can simply get wwdc2014 videos and pdfs get it into the download tools | |
// https://developer.apple.com/videos/wwdc/2014/ | |
// paset it in chrome or safrari | |
var hds = sds = pdfs = []; | |
function model_session() { | |
var tmp = { | |
title:"", | |
hd : "", | |
sd : "", |
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
// Framework | |
function createInjector() { | |
var instanceCache = {}; | |
var providerCache = {}; | |
function constant(key, value) { | |
instanceCache[key] = value; | |
} |
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 | |
while : | |
do | |
dev=$(ip link | grep state | awk '{ sub(":", "", $2); print $2 }' | grep vpn) | |
if [ $? -ne 0 ]; then | |
sleep 5 | |
continue | |
fi | |
break |
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
/***** Fork me on Github *****/ | |
#fork-me-on-github { | |
opacity : 0.8; | |
background-color : #A00; | |
color : #FFF; | |
display : block; | |
position : fixed; | |
z-index : 10; | |
right : -6em; |