Skip to content

Instantly share code, notes, and snippets.

@jablan
jablan / lspci
Created October 14, 2016 17:31 — forked from anonymous/lspci
zlaja t420 lspci
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
00:16.3 Serial controller: Intel Corporation 6 Series/C200 Series Chipset Family KT Controller (rev 04)
00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (rev 04)
00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b4)
00:1c.1 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 2 (rev b4)
00:1c.3 PCI bridge: Intel Corpor
@jablan
jablan / katapult.md
Created April 18, 2015 20:36
Katapult - stišavanje botova

Katapult

Ideja

Iskoristiti crowdsourcing i machine learning za sakrivanje botovskih komentara sa news sajtova.

Komponente

  • Server sa bazom podataka, API interfejs
  • Ekstenzija za browser 1
![](http://i.minus.com/iksxZVrsUwA1I.jpeg)
[Me](http://pentangle.net):
> About one star is born each year in our galaxy. The number of stars in the galaxy is approximately constant. So about one star dies each year in the Milky Way.
> There are about 10 billion stars in the galaxy. Therefore a random star has a 1 in 10 billion chance of dying each year.
> You can't see individual stars outside or galaxy with the naked eye. The galaxy is about 100 000 light years across. So let's say the most distant star you can observe with the naked eye is 100 000 light years away. It's probably more like 1000 ly though.
@jablan
jablan / gist:570c3e59dc47b19e8a35
Created September 15, 2014 09:36
Jeftini vodič za kupovinu bicikla

Jeftini vodič za kupovinu bicikla

Često se, po forumima i drugde, provlači teza da bez 200€ ne možete kupiti dobar bajs. Nažalost, ova teza obično ide bez onog najbitnijeg, a to je definicija dobrog bajsa.

Ako nemate 200€, a bicikl vam treba da biste se prevezli od tačke A do tačke B, ili se provozali po kraju ili oko Ade, nema smisla da štekate pare 2-3 godine. Bolje ikakav bicikl, nego nikakav. Ovaj vodič napisan je sa ciljem da neiskusnima makar malo pomogne u kupovini baš baš jeftinog bicikla. Vodič je takođe vrlo subjektivan i vođen je iskustvima i stavovima svog autora. Ne mora značiti da će vam uopšte pomoći.

Tip bicikla

U oglasima nalazi se svašta. Od bicikala iz pedesetih koje su vozile naše dede, do kradenih munja iz zapadne Evrope koje nove koštaju preko 1000€.

@jablan
jablan / lat2cir.sed
Created July 8, 2014 16:58
Konverzija iz latinice u ćirilicu
s/Lj/Љ/g
s/Nj/Њ/g
s/Dž/Џ/g
s/LJ/Љ/g
s/NJ/Њ/g
s/DŽ/Џ/g
s/A/А/g
s/B/Б/g
s/V/В/g
s/G/Г/g
def geom_sequence c
Enumerator.new { |y|
a = 1
loop {
y << a
a *= c
}
}
end