(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.
(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.
# strip out iBooks citation | |
sed -E -e 's/^[ ]?[0-9]* //g' | sed -E -e 's/“[ ]?[0-9]?[ ]?//g' | sed -E -e 's/”$//g' | sed -E -e 's/^(Excerpt From).*//g' |
At Timeline Labs, we are continuously looking at new technologies to see what fits our needs. We are especially excited about Kubernetes from Google to manage our services atop Docker and CoreOS.
This process for installing Kubernetes on CoreOS uses Flannel for Kubernetes networking and should be cloud provider agnostic. To deploy the Kubernetes master functionality into the cluster, it uses fleetctl
.
Thanks to Kelsey Hightower and his blog posts! They served as a great starting point for this process.
Add the cloud config below to your own and bring up your cluster using a CoreOS version with Docker 1.3 (currently v472.0.0 in alpha). During that initial boot, the download-kubernetes and download-flannel units will download binaries from the latest project release and use those.
osascript -e 'tell application "iOS Simulator" to quit' | |
osascript -e 'tell application "Simulator" to quit' | |
xcrun simctl erase all |
// | |
// LinkedTextView.h | |
// | |
// Created by Benjamin Bojko on 10/22/14. | |
// | |
// The MIT License (MIT) | |
// | |
// Copyright (c) 2014 Benjamin Bojko | |
// | |
// Permission is hereby granted, free of charge, to any person obtaining a copy |
#!/bin/bash | |
sudo kextunload -b com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport | |
sudo kextload -b com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport |
function hooks(hooksTitle, hooksMessage, hooksApi){ | |
var data = { hooksTitle: hooksTitle, hooksMessage: hooksMessage, hooksApi: hooksApi }; | |
body = ""; | |
for (var key in data){ | |
body += key + "=" + encodeURIComponent(data[key]) + "&"; | |
} | |
body = body.substring(0, body.length - 1); | |
var req = new XMLHttpRequest; |
This is a simple way to get your iCloud Photos / photostream photos out of the Photos app and into Lightroom. Photos get synced from your phone into your Photos library automatically, and this script periodically copies them out into an "import" folder where Lightroom's auto import feature can take over.
To install, copy copy-out-photos
into ~/bin
and net.benhollis.CopyPhotos.plist
into ~/Library/LaunchAgents
. Customize copy-out-photos
to point to where your Photos library is and where your Lightroom import folder is. Then run these commands:
chmod a+x ~/bin/copy-out-photos
launchctl load ~/Library/LaunchAgents/net.benhollis.CopyPhotos.plist