- Download the perforce visual tool suite from here: http://www.perforce.com/perforce/downloads/index.html
- Copy only the p4merge.app file into your /Applications/ directory
# | |
# How to install automatically Oracle Java 7 under Salt Stack | |
# | |
# Thanks Oracle for complicating things :( | |
# | |
# 1. Create a java/ folder in your salt master | |
# 2. Paste this file in init.sls | |
# 3. salt '*' state.sls java | |
# | |
# Source: |
(by @andrestaltz)
So you're curious in learning this new thing called (Functional) Reactive Programming (FRP).
Learning it is hard, even harder by the lack of good material. When I started, I tried looking for tutorials. I found only a handful of practical guides, but they just scratched the surface and never tackled the challenge of building the whole architecture around it. Library documentations often don't help when you're trying to understand some function. I mean, honestly, look at this:
Rx.Observable.prototype.flatMapLatest(selector, [thisArg])
Projects each element of an observable sequence into a new sequence of observable sequences by incorporating the element's index and then transforms an observable sequence of observable sequences into an observable sequence producing values only from the most recent observable sequence.
open Microsoft.FSharp.Quotations.Patterns | |
let rec propertyName quotation = | |
match quotation with | |
| PropertyGet (_,propertyInfo,_) -> propertyInfo.Name | |
| Lambda (_,expr) -> propertyName expr | |
| _ -> "" | |
let myPropertyName = propertyName <@ fun (x : myClass) -> x.MyProperty @> | |
SSH_ENV="$HOME/.ssh/environment" | |
function start_agent { | |
echo "Initialising new SSH agent..." | |
/usr/bin/ssh-agent | sed 's/^echo/#echo/' > "${SSH_ENV}" | |
echo succeeded | |
chmod 600 "${SSH_ENV}" | |
. "${SSH_ENV}" > /dev/null | |
/usr/bin/ssh-add; | |
} |
cat /Library/Preferences/VMware\ Fusion/networking |
Observable.createWithDisposable (fun observer -> Observable.subscribeObserver observer eventAggregate) |
F:\perfview\perfview.exe -ClrEvents="default-stack-GCHeapSurvivalAndMovement" -StopOnGCOverMSec:500 -DelayAfterTriggerSec:0 -CircularMB:3000 -CollectMultiple:3 -NoGUI -NoNGENRundown -AcceptEULA -ThreadTime -DumpHeap -Process="Bede.Wallet.ServiceHost" collect |
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Specify Vagrant version and Vagrant API version | |
Vagrant.require_version ">= 1.6.0" | |
VAGRANTFILE_API_VERSION = "2" | |
# Create and configure the VM(s) | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| |
var errorCode = Marshal.GetHRForException(ex) & ((1 << 16) - 1); |