(C-x means ctrl+x, M-x means alt+x)
The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf
:
'wget.vbs - similar to wget but written in vbscript | |
'based on a script by Chrissy LeMaire | |
' Usage | |
if WScript.Arguments.Count < 1 then | |
MsgBox "Usage: wget.vbs <url> (file)" | |
WScript.Quit | |
end if | |
' Arguments |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Web; | |
using System.Text.RegularExpressions; | |
//TODO: probably want to change this if you're using it your project | |
namespace ClothesHorse.Core | |
{ |
{ | |
"terminal": "C:/Program Files/Console2/Console.exe", | |
// In Console2 "Shell" section, have just "bash" with no args in a profile called "Terminal" | |
"parameters": ["-t", "Terminal", "-r", "/bin/xhere /bin/bash.exe", "`%CWD%`"] | |
} |
using System; | |
using SignalR.Client.Hubs; | |
namespace FANS.Demo | |
{ | |
internal class Program | |
{ | |
private static void Main(string[] args) | |
{ | |
try |
from geopy import units, distance | |
from mezzanine.core.managers import CurrentSiteManager | |
class GeoManager(CurrentSiteManager): | |
def near(self, latitude=None, longitude=None, distance_range=30): | |
queryset = super(GeoManager, self).get_query_set() | |
if not (latitude and longitude and distance_range): | |
return queryset.none() |
public class BootstrapService : ServiceControl | |
{ | |
private readonly HostSettings _settings; | |
private Container _container; | |
private CaseMonitor _monitor; | |
public BootstrapService(HostSettings settings) | |
{ | |
_settings = settings; | |
} |
################################################## | |
# | |
################################################## | |
param( | |
[Parameter(Mandatory = $true)][String]$subscriptionId, | |
[Parameter(Mandatory = $true)][String]$storageAccountName, | |
[Parameter(Mandatory = $true)][String]$affinityGroupName, | |
[Parameter(Mandatory = $true)][String]$imageName = 'MSFT__Windows-Server-2012-Datacenter-201208.01-en.us-30GB.vhd', | |
[Parameter(Mandatory = $true)][String]$adminPassword, |
Windows Registry Editor Version 5.00 | |
[HKEY_CURRENT_USER\Software\ConEmu\.Vanilla\Tasks] | |
"Count"=dword:00000009 | |
[HKEY_CURRENT_USER\Software\ConEmu\.Vanilla\Tasks\Task1] | |
"Name"="{PowerShell}" | |
"GuiArgs"="/single /Dir %userprofile%" | |
"Cmd1"="%SystemRoot%\\system32\\WindowsPowerShell\\v1.0\\powershell.exe" | |
"Active"=dword:00000000 |