- Download Instant Client:
- instantclient-basic-macos.x64-11.2.0.4.0.zip
- instantclient-sdk-macos.x64-11.2.0.4.0.zip
- instantclient-sqlplus-macos.x64-11.2.0.4.0.zip
-
Unzip and move to /opt
-
Create symlink
Unzip and move to /opt
Create symlink
(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.
/** | |
* # Global logging module | |
* | |
* This is a global set of hooks that catch all $log messages sent out by the | |
* application. Currently they are simply passed off directly to console.log | |
* but this could be updated later to allow them to be stored locally, sent to | |
* a server etc. | |
*/ | |
angular.module('ngLogging', []) |
1. Download https://github.com/dz0ny/leapcast/archive/master.zip | |
2. Extract zip to C:\leapcast | |
3.1 Download Python 2.7: | |
x86: http://www.python.org/ftp/python/2.7.5/python-2.7.5.msi | |
x64: http://www.python.org/ftp/python/2.7.5/python-2.7.5.amd64.msi | |
3.2 Install Python to C:\Python27 | |
NOTE: If you have a newer version, install 2.7.5 and edit the environment variable and change for example "C:\Python33" to "C:\Python27". | |
4.1 Download Setuptools here: http://www.lfd.uci.edu/~gohlke/pythonlibs/#setuptools |
var hzAdDebug = !1, | |
hzVersion = "4.11", | |
keywords, adCont, urlPrefix = "https:" == location.protocol ? "https://ssl14.ovh.net/~hoverzoo" : "http://hoverzoom.net"; | |
function addAffiliateLinks() { | |
try { | |
if (0 != location.host.indexOf("www.amazon.")) { | |
var a = { | |
com: "-20", | |
fr: "-21", |
import java.util.concurrent.ConcurrentHashMap | |
import java.util.concurrent.CountDownLatch | |
import akka.dispatch.Future | |
import akka.dispatch.Promise | |
import scala.collection.JavaConversions._ | |
import scala.collection.JavaConversions | |
import akka.dispatch.ExecutionContext | |
import java.util.concurrent.Executors | |
import java.util.concurrent.atomic.AtomicReference |
Latency Comparison Numbers (~2012) | |
---------------------------------- | |
L1 cache reference 0.5 ns | |
Branch mispredict 5 ns | |
L2 cache reference 7 ns 14x L1 cache | |
Mutex lock/unlock 25 ns | |
Main memory reference 100 ns 20x L2 cache, 200x L1 cache | |
Compress 1K bytes with Zippy 3,000 ns 3 us | |
Send 1K bytes over 1 Gbps network 10,000 ns 10 us | |
Read 4K randomly from SSD* 150,000 ns 150 us ~1GB/sec SSD |
window.getLangStats = function getLangStats(repos) { | |
var mapper = function(ent){return ent.language}, | |
reducer = function(stats, lang) {stats[lang] = (stats[lang] || 0) + 1; return stats}, | |
langStats = repos.map(mapper).reduce(reducer, {}); | |
delete langStats['null']; | |
return Object.keys(langStats).sort(function(a,b){return langStats[b] - langStats[a]}); | |
}; | |
window.ghApiCallHandler = function(result) { | |
if (Math.floor(result.meta.status/100) == 2) |
#!/bin/bash | |
function jsonval { | |
temp=`echo $json | sed 's/\\\\\//\//g' | sed 's/[{}]//g' | awk -v k="text" '{n=split($0,a,","); for (i=1; i<=n; i++) print a[i]}' | sed 's/\"\:\"/\|/g' | sed 's/[\,]/ /g' | sed 's/\"//g' | grep -w $prop` | |
echo ${temp##*|} | |
} | |
json=`curl -s -X GET http://twitter.com/users/show/$1.json` | |
prop='profile_image_url' | |
picurl=`jsonval` |