- Visual Studio installed on your system
- Admin Privileges
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
int main() { | |
int i = 10; | |
int j = i; | |
int &ai = i; | |
int *pi = &i; | |
*pi = *pi + 1; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# client.rb | |
require 'socket' | |
require 'digest/sha1' | |
require 'json' | |
hostname = "localhost" | |
port = 2000 | |
socket = TCPSocket.open(hostname, port) | |
1.times do |i| | |
content = "#{i.to_s}: #{ARGV[0].to_s}" | |
msg = { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function filtered_img = bfilt( img, sigma_s, sigma_r) | |
%BFILT bilateral filter applied on img using sigma_s, sigma_r. | |
% img image, spatial, range deviation sigma_s, sigma_r | |
h = waitbar(0, 'Applying Bilateral Filter...'); | |
set(h, 'Name', 'Bilateral Filter Progress Bar'); | |
% compute window size - depends on sigma_s | |
w = ceil(1.5*sigma_s); |
-
\curl -sSL https://get.rvm.io | bash -s stable
-
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"
at the BOTTOM (last line - important!) of my .bashrc file. I had it in my .bash_profile file (I am on Ubuntu) and that only partially worked leading to the confusing errors.
- restart terminal
setxkbmap -option
Where can be for example of:
caps:none – Disables Caps Lock.
caps:super – Caps Lock becomes an additional Super (aka Win key).
caps:ctrl_modifier – Caps Lock becomes an additional Ctrl.
caps:numlock – Caps Lock becomes an additional Num Lock.
caps:escape – Caps Lock becomes an additional Escape.
caps:backspace – Caps Lock becomes an additional Backspace.
Read ruby documentation
pry
ri String
Generate documentation:
-
c-b ]
toggle copy mode - scroll within window -
c-b w
list windows
- Set Caps to Ctrl:
setxkbmap -layout ch -option ctrl:nocaps
sudo vim /etc/default/keyboard and change XKBOPTIONS="ctrl:nocaps"
install shutter
sudo add-apt-repository ppa:shutter/ppa
sudo apt-get update
Vim 7.1 >
Eclipse 4.6.x (Neon)
Java SDK 1.7 >=
- Download the Eclim 4.6 installer.