**forked from luislavena's gist
UPDATE 2014-12-21: RubyGems 1.8.30, 2.0.15 and 2.2.3 have been released.
It requires manual installation, please see instructions below.
Hello,
| sudo apt-get update | |
| sudo apt-get install openssh-server | |
| sudo apt-get install p7zip p7zip-full unzip python-pip python-dev | |
| sudo apt-get install gfortran libopenblas-dev liblapack-dev | |
| sudo pip install numpy | |
| sudo pip install scipy |
| <?xml version="1.0" encoding="utf-8"?> | |
| <key name="Software"> | |
| <key name="ConEmu"> | |
| <key name=".Vanilla" modified="2017-12-11 20:35:09" build="171205"> | |
| <value name="StartType" type="hex" data="02"/> | |
| <value name="CmdLine" type="string" data=""/> | |
| <value name="StartTasksFile" type="string" data=""/> | |
| <value name="StartTasksName" type="string" data="{Shells::cmd}"/> | |
| <value name="StartFarFolders" type="hex" data="00"/> | |
| <value name="StartFarEditors" type="hex" data="00"/> |
| require 'rubygems' | |
| require 'nokogiri' | |
| require 'fileutils' | |
| require 'date' | |
| require 'uri' | |
| # usage: ruby import.rb my-blog.xml | |
| # my-blog.xml is a file from Settings -> Basic -> Export in blogger. | |
| data = File.read ARGV[0] |
**forked from luislavena's gist
UPDATE 2014-12-21: RubyGems 1.8.30, 2.0.15 and 2.2.3 have been released.
It requires manual installation, please see instructions below.
Hello,
| Windows Registry Editor Version 5.00 | |
| ; | |
| ; Adds 'Atom' to context menu (when you right click) in Windows Explorer. | |
| ; | |
| ; Save this file to disk with a .reg extension. Replace C:\\Users\\<<winuser>>\\AppData\\Local\\atom\\app-0.165.0\\atom.exe with | |
| ; the path to the atom executable on your machine. I am on Atom 0.165.0 when I created this script. | |
| ; | |
| ; Please replace <<winuser>> with the user profile name on your Windows machine. | |
| ; This has been tested with Windows 7 64 bit. |
| Action | tmux | screen |
|---|---|---|
| start a new session | tmux tmux new tmux new-session |
screen |
| start a new session with a name | tmux new -s name | screen -S name |
| re-attach a detached session | tmux attach tmux attach-session |
screen -r |
| re-attach a detached session with a name | tmux attach -t name tmux a -t name |
screen -r name |
| re-attach an attached session (detaching it from elsewhere) | tmux attach -dtmux attach-session -d | screen -dr |
| # Steps to build and install tmux from source. | |
| # Takes < 25 seconds on EC2 env [even on a low-end config instance]. | |
| VERSION=2.7 | |
| sudo yum -y remove tmux | |
| sudo yum -y install wget tar libevent-devel ncurses-devel | |
| wget https://github.com/tmux/tmux/releases/download/${VERSION}/tmux-${VERSION}.tar.gz | |
| tar xzf tmux-${VERSION}.tar.gz | |
| rm -f tmux-${VERSION}.tar.gz | |
| cd tmux-${VERSION} |
| # Not advisable. Do this ONLY if you understand what you are doing! | |
| # This will terminate all your tmux or screen sessions, if you have any work yet to be saved, you will not be able to recover if you do this. | |
| # Kill all the tmux sessions | |
| tmux ls | grep : | cut -d. -f1 | awk '{print substr($1, 0, length($1)-1)}' | xargs kill | |
| # Kill all the detached screen sessions | |
| screen -ls | grep Detached | cut -d. -f1 | awk '{print $1}' | xargs kill |
| # List of plugins | |
| # Supports `github_username/repo` or full git URLs | |
| set -g @tpm_plugins " \ | |
| tmux-plugins/tpm \ | |
| tmux-plugins/tmux-sensible \ | |
| tmux-plugins/tmux-resurrect \ | |
| " | |
| # Other examples: | |
| # github_username/plugin_name \ |