This file contains 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
(define (number-until stream cond) | |
(letrec ([f (lambda (stream n) | |
(let ([pr (stream)]) | |
(if (cond (car pr)) (lambda() (f (cdr (pr)) (+ n 1))) (n) )))]) | |
(f stream 0))) |
This file contains 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
SLIKE: | |
.dcm pomeni DICOM format | |
aeskulap - program za gledat slike | |
I = imread ('0010.png'); %prebere sliko | |
imshow(I) %narise sliko | |
imshow(I, [200 250]) % skrièi spekter, oz intenziteto omejimo na samo od 200 - 250 | |
set(gca, 'Position', [0.1 0.1 0.9 0.9]) %rob od slike | |
subplot (1,2,1)%zaslikar veè slik na eno -> st vrstic, stolpcev, index kamor želimo risat | |
imshow(I); % da jo not zapiše |
This file contains 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
Update-ExecutionPolicy Unrestricted | |
cinst git | |
cinst githubforwindows | |
cinst SublimeText3.app | |
cinst SublimeText3.PackageControl | |
cinst jivkok.SublimeText3.Packages | |
cinst ConEmu | |
cinst EthanBrown.ConEmuConfig | |
cinst GoogleChrome |
This file contains 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
Set-ExplorerOptions -showHidenFilesFoldersDrives -showProtectedOSFiles -showFileExtensions | |
Enable-RemoteDesktop | |
cinst GoogleChrome | |
cinst vlc | |
cinst 7zip | |
cinst chocolatey | |
cinst uTorrent | |
cinst paint.net | |
cinst f.lux |
This file contains 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
s1 0 1 1 0 1 0 | |
k 1 1 1 0 0 0 | |
t1 0 1 1 1 0 1 | |
s2 0 1 0 1 1 0 | |
k 1 1 1 0 0 0 | |
t2 0 1 0 0 0 1 | |
t1 xor t2 | |
= 1 1 0 0 1 1 |
This file contains 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
varnostna povezava SA | |
Je enosm. povezava med pošiljateljem in prejemnikom z določenimi var. storitvami. | |
VP enolično identificirajo trije parametri: | |
SPI (tip zascite) | |
IP | |
protokol (AH ali ESP) | |
AH: packet authentication | |
ESP: packet encryption plus (optionally auth) |
This file contains 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
Dogovarjanje s stranko 5h | |
Priprava okolja 1h | |
Uporaba frameworka 10h | |
(za enostavno možnost nadgradenj, boljšo berljivost kode, hitrejše izvajanje..) | |
Dodajanje statičnih strani 2h | |
Css statičnih strani 5h | |
Izdelava menija, glave in noge 2h | |
Načrtovanje in migracija podatkovne baze 5h | |
Priprava administracije 10h | |
Možnost dodajanja novic 2h |
This file contains 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
cd; ../.././../../home # /home | |
cd; cd "echo PWD" # /home/user/echo PWD | |
echo bla2 > bla1 # V datoteki bla1 pise bla2 | |
export PATH=$PATH:~; hello.sh # kako pozenemo ukaz | |
najvecje st s 5 biti: 31 | |
cd ~/..; export HOME=user; cd; cd $HOME/$PWD # /home/user/user/home/user | |
cat bla1 >> bla2; cat bla2 > bla1 # Kaj je v bla1? BarFoo | |
cat bla1 >> bla2; cat bla1 >> bla2 # kaj je v bla1? BarFooFoo | |
cat bla1 > bla2; cat bla1 > bla2 # Kaj je v bla1? Foo | |
echo $PATH izpise /sbin:~: ... # Kako pozenemo route? Odg: samo: route. |
This file contains 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
import copy | |
# G | |
# P | |
# V | |
# P R | |
# P P | |
# G R | |
# V V G P P R |
This file contains 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
///** | |
// * Created by dcrystalj on 28.4.2014. | |
// */ | |
public class Point { | |
int x,y; | |
public int dot(Point p) { | |
return this.x * p.x + this.y * p.y; | |
} |