- 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
# 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
#include <iostream> | |
using namespace std; | |
int main() { | |
int i = 10; | |
int j = i; | |
int &ai = i; | |
int *pi = &i; | |
*pi = *pi + 1; |
1 . cygwin installiere (x86 verion (auso nid 64bit)): source: http://cygwin.com/install.html
2 . Cygwin package manager installiere (drmit uf windows in cygwin s gliche wie apt-get uf linux distros chasch mache)
lynx -source rawgit.com/transcode-open/apt-cyg/master/apt-cyg > apt-cyg
install apt-cyg /bin
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
i1 = [1,2,3,4,5] | |
i2 = (0...(i1.size-1)).inject([]) {|pairs,x| pairs += ((x+1)...i1.size).map {|y| [i1[x],i1[y]]}} |
- install ubuntu 14.04 LTS (64bit)
- run
sudo apt-get install build-essential
- download
http://lmb.informatik.uni-freiburg.de/resources/binaries/eccv2010_trackingLinux64.zip
- from:
http://lmb.informatik.uni-freiburg.de/resources/software.php
- unzip downloaded source
- run
make
within unzipped folder - run the example:
./tracking cars1.bmf 0 20 8
... and this is how the story started...
:s/foo/bar/gc
replace every foo in a text with bar (confirm after each detected occurrence).
goto beginning of a word (move cursor onto its first letter), type v1ey
to copy that word and move cursor to target word (its first letter) and type v1ep
to overwrite it with copied word (not taht overwritten word is now in clipboard, i.e. can be pastes again - easy word swaps).
Locations you should know: ~/.vimrc
Initially, do this:
rvm @webshop3 do gem list
rvm @global do gem install bundler -v=1.8.2
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
# add a method that allows an object to add dyn. new instance methods. | |
module A | |
klass.instance_eval do | |
send(:attr_accessor, :observers) | |
instance_variable_set("@#{:observers}", []) | |
end | |
end | |
# including this object prepends a class' initializer | |
module B |