start new:
tmux
start new with session name:
tmux new -s myname
As configured in my dotfiles.
start new:
tmux
start new with session name:
<# | |
.SYNOPSIS | |
Downloads a file | |
.DESCRIPTION | |
Downloads a file | |
.PARAMETER Url | |
URL to file/resource to download | |
.PARAMETER Filename | |
file to save it as locally | |
.EXAMPLE |
It is possible to compile Go programs for a different OS, even though go build
says otherwise.
You'll need:
golang-crosscompile
helper script https://github.com/davecheney/golang-crosscompile# Other hosts (ISE, ConEmu) don't always work as well with PSReadLine. | |
# Also, if PS is run with -Command, PSRL loading is suppressed. | |
$psrlMod = Get-Module PSReadLine | |
if (($null -eq $psrlMod) -or ($host.Name -eq 'Windows PowerShell ISE Host')) { | |
return | |
} | |
elseif ($psrlMod.Version.Major -lt 2) { | |
throw "PSReadLine 1.x installed or not imported, import PSRL or ugprade to at least 2.x." | |
} |
from bs4 import BeautifulSoup | |
import requests | |
import re | |
import urllib2 | |
import os | |
import argparse | |
import sys | |
import json | |
# adapted from http://stackoverflow.com/questions/20716842/python-download-images-from-google-image-search |
using System; | |
using System.Collections.Generic; | |
using System.ComponentModel; | |
using System.Diagnostics.CodeAnalysis; | |
using System.Diagnostics.Contracts; | |
using System.Globalization; | |
using System.Linq; | |
using System.Text.RegularExpressions; | |
using System.Xml.Serialization; |
IRC friends, enemies and others,
Control of freenode has recently been seized by the proprietors of Freenode Limited, a holding company established by a previous head of freenode and a third party as part of a deal with a corporate sponsor. The terms of that deal were not disclosed, and remain unknown to me.
At the time, we, freenode's volunteer staff, were given informal guarantees that staff retained operational control of the network. The same guarantees were repeated after leadership was passed on to a new head of staff. I don't