Skip to content

Instantly share code, notes, and snippets.

$ rvm gemset copy <source> <destination>
dir -recurse | where {$_.name -match "^\."} | rm
#requires -version 3
[CmdletBinding()]
param (
[string]
$Path
)
function Get-MD5 {
param (
[Parameter(Mandatory)]
@stphnclysmth
stphnclysmth / setenv.zsh
Created September 10, 2013 14:58
Csh-style variable exports in Zsh
# CSH-style variable exports
setenv () { typeset -x "${1}${1:+=}${(@)argv[2,$#]}" }