Skip to content

Instantly share code, notes, and snippets.

View darjanin's full-sized avatar

Milan Darjanin darjanin

  • Vacuumlabs
  • Bratislava
View GitHub Profile
@darjanin
darjanin / elcappitan.md
Last active August 29, 2015 14:24
What I need to move to new installation

Preferences

  • mouse preferences

Terminal

  • terminal colors - gruvbox-dark-edited
  • vim config

OS X Preferences


most of these require logout/restart to take effect

# Enable character repeat on keydown
defaults write -g ApplePressAndHoldEnabled -bool false

# Set a shorter Delay until key repeat
@darjanin
darjanin / cv2_17_6_2015.md
Created June 17, 2015 13:40
Pocitacove videnie 2 17.6.2015 skuska

Skupina A - 17.6.2015

  1. Ktorými príznakmi popíšeme oblastí na základe vnútra oblastí.
  2. Popíšte navigačný prístup k výberu obrazov z databázy (CBIR) a používané projekčné metódy.
  3. Popíšte postup detekcie tvárí pomocou Gaussianov.
  4. Popíšte Houghovu transformáciu pre priamky ľubovoľného smeru.
  5. Popíšte Ittiho model vizuálnej pozornosti.
  6. Popíšte metódu SURF (detektor a deskriptor).
#!/bin/sh
# Alot of these configs have been taken from the various places
# on the web, most from here
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
# Set the colours you can use
black='\033[0;30m'
white='\033[0;37m'
red='\033[0;31m'
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Paint</title>
<style id="jsbin-css">
#container { position: relative; }
#imageView { border: 1px solid #000; }
#imageTemp { position: absolute; top: 1px; left: 1px; }
</style>
@darjanin
darjanin / back_side.png
Last active August 29, 2015 14:14
Snake game written in JS; Created in 2011 for Webovská grafika @matfyz
back_side.png
@darjanin
darjanin / priklady.rb
Created October 8, 2014 21:41
Jednoduche stredoskolske priklady v Ruby
# funkcia na nacitanie dvoch cisiel
def nacitaj_cislo(sprava = nil)
print sprava ? sprava : "Zadaj cislo: "
gets.chomp.to_i
end
def nacitaj_znak(sprava = nil)
print sprava ? sprava : "Zadaj znak: "
get.chomp[0]
end