start new:
tmux
start new with session name:
tmux new -s myname
//We must add the following to your .bashrc (C:\cygwin\home\user\.bashrc): | |
alias ruby='/cygdrive/c/Ruby21-x64/bin/ruby' | |
alias gem='/cygdrive/c/Ruby21-x64/bin/gem.bat' | |
alias irb='/cygdrive/c/Ruby21-x64/bin/irb.bat' | |
alias compass='/cygdrive/c/Ruby21-x64/bin/compass.bat' | |
alias sass='/cygdrive/c/Ruby21-x64/bin/sass.bat' | |
alias scss='/cygdrive/c/Ruby21-x64/bin/scss.bat' |
#!/usr/bin/env ruby | |
# An HTTP/HTTPS/FTP file downloader library/CLI based upon MiniPortile's | |
# HTTP implementation. | |
# | |
# Author: Jon Maken | |
# License: 3-clause BSD | |
# Revision: 2012-03-25 23:01:19 -0600 | |
require 'net/http' | |
require 'net/https' if RUBY_VERSION < '1.9' |
I've been wanting to do a serious project in Go. One thing holding me back has been a my working environment. As a huge PyCharm user, I was hoping the Go IDE plugin for IntelliJ IDEA would fit my needs. However, it never felt quite right. After a previous experiment a few years ago using Vim, I knew how powerful it could be if I put in the time to make it so. Luckily there are plugins for almost anything you need to do with Go or what you would expect form and IDE. While this is no where near comprehensive, it will get you writing code, building and testing with the power you would expect from Vim.
I'm assuming you're coming with a clean slate. For me this was OSX so I used MacVim. There is nothing in my config files that assumes this is the case.
#Run as root or add sudo at the beginning of each command | |
iptables -F | |
# Allow loopback | |
iptables -I INPUT 1 -i lo -j ACCEPT | |
iptables -A INPUT -i lo -j ACCEPT | |
iptables -A OUTPUT -o lo -j ACCEPT |
import java.util.*; | |
import java.io.*; | |
class StreamGobbler extends Thread | |
{ | |
InputStream is; | |
String type; | |
StreamGobbler(InputStream is, String type) | |
{ |
** Tested In Linux/Mac **
** Based on Thomas work: https://gist.github.com/kadel/9d9d4949a8035cd0c5fb **
:
# List System(s) | |
virsh -c qemu:///system list | |
virsh list # List running | |
virsh list --all # List all | |
# Open guest VM console | |
virsh console <instance> | |
# Control specific instance | |
virsh start <instance> |
#IRC Reference
Not intended as a guide for newbies, more like a "cheat sheet" for the somewhat experienced IRC user, especially one who wields some power over a channel.
##The Basics
/join #channel
/part #channel