Categories
Belekas

Customised keyboard layout

It took me a long time to get a correct keyboard layout for myself. First, it was Physical keyboard layout which was bad (I had ANSI one)! So my friend spotted me to different standards: can be seen here. Later when I got correct Physical layout (with BIG ENTER key) (Drevo BladeMaster Pro). Still something […]

Categories
Belekas OpenStack

Force OpenStack to use public endpoint

External link: https://access.redhat.com/solutions/3883021

Categories
Belekas Fun Trumpi

Video 2 Audio

ffmpeg -i VIDEOFILE -acodec libmp3lame -metadata TITLE=”Name of Song” OUTPUTFILE.mp3

Categories
Belekas Trumpi

dpdk

https://lpic.lt/1100-dpdk-performance-nfv-ct.pdf1100-dpdk-performance-nfv-ct.pdf

Categories
Fun Kompai Trumpi

iptables taisykles part2

iptables –A OUTPUT -p tcp -m multiport –dport http,https -i eth0 -o eth1 -m time –timestart 12:00 –-timestop 13:00 –d 31.13.64.0/18 -j ACCEPT iptables -A INPUT -p udp -m time –timestart 02:00 –timestop 03:00 -j DROP iptables –A INPUT –p tcp –syn -m multiport -–dport http,https –m connlimit -–connlimit-above 20 –j REJECT -–reject-with-tcp-reset iptables -L […]

Categories
Fun Kompai Trumpi

Keliu monitoriu reguliavimas su xrandr

Sveiki, Dvieju monitoriu konfiguravimas per cmd be admin teisių. Pradžiai pažiūrėkim kokius monikus mes matom: xrandr Screen 0: minimum 320 x 200, current 1280 x 1024, maximum 8192 x 8192 VGA1 connected 1280×1024+0+0 (normal left inverted right x axis y axis) 443mm x 249mm 1600×900 60.0 + 1280×1024 75.0 60.0* 1152×864 75.0 1024×768 75.1 60.0 […]

Categories
Fun Kompai Linux install Paskaitos Trumpi

Grub2 boot debian and debian-kfreebsd

menuentry ‘Debian GNU/kFreeBSD, with kFreeBSD 9.0-2-amd64′ –class debian –class gnu-kfreebsd –class gnu –class os { insmod part_msdos insmod zfs set root='(/dev/ada0,msdos3)’ search –no-floppy –fs-uuid –set=root ffdedb2e77090087 echo ‘Loading kernel of FreeBSD 9.0-2-amd64 …’ kfreebsd /r/@/boot/kfreebsd-9.0-2-amd64.gz insmod part_msdos insmod zfs set root='(/dev/ada0,msdos3)’ search –no-floppy –fs-uuid –set=root ffdedb2e77090087 kfreebsd_module_elf /r/@/lib/modules/9.0-2-amd64/opensolaris.ko insmod part_msdos insmod zfs set root='(/dev/ada0,msdos3)’ search […]

Categories
Belekas

supermama.lt error kodas

Šian supermama.lt forumas išmetė tokią kliadą: mySQL query error: UPDATE ibf_cache_store SET cs_array=1,cs_value=’a:239:{i:74;a:40:{s:2: “id”;s:2:”74″;s:6: “topics”;s:1:”0″;s:5: “posts”;s:1:”0″;s:9: “last_post”;s:1:”0″;s:14: “last_poster_id”;s:1:”0″;s:4: “name”;s:7: “Bendras”;s:8: “position”;s:1:”1″;s:7: “use_ibc”;s:1:”0″;s:8: “use_html”;s:1:”0″;s:6: “status”;s:1:”1″;s:7: “last_id”;s:1:”0″;s:8: “sort_key”;s:9: “last_post”;s:10: “sort_order”;s:3: “Z-A”;s:5: “prune”;s:1:”1″;s:13: “preview_posts”;s:1:”0″;s:10: “allow_poll”;s:1:”1″;s:14: “allow_pollbump”;s:1:”0″;s:13: “inc_postcount”;s:1:”1″;s:9: “parent_id”;s:2:”-1″;s:12: “sub_can_post”;s:1:”0″;s:11: “quick_reply”;s:1:”0″;s:11: “redirect_on”;s:1:”0″;s:13: “redirect_hits”;s:1:”0″;s:20: “permission_showtopic”;s:1:”0″;s:13: “queued_topics”;s:1:”0″;s:12: “queued_posts”;s:1:”0″;s:12: “can_curators”;s:1:”0″;s:12: “can_cur_edit”;s:1:”0″;s:14: “can_cur_delete”;s:1:”0″;s:12: “can_cur_open”;s:1:”0″;s:13: “can_cur_close”;s:1:”0″;s:20: “can_cur_delete_topic”;s:1:”0″;s:13: “gemius_script”;s:361: “<!– (C)2008 Gemius SA – gemiusAudience […]

Categories
Belekas

Šalinam gzip?! TAIP! Diegiamės pigzee?!

Sveiki, norėdami pagreitinti archyvavimą ir išarchyvavimą pamėginkim naudoti pigz paketuką, pastarasis naudoja kelis jūsų kompo korus. Taigi kaip priversti sistemą naudoti pigz… tiesiog pašalinti gzip negalima. dpkg-divert –package pigz –divert /bin/gzip.fufel –rename /bin/gzip dpkg-divert –package pigz –divert /bin/gunzip.fufel –rename /bin/gunzip tada patikrinkime ar jie perkelti? ls -a /bin | grep -i zip ; dpkg-divert –list […]

Categories
Kompai Susirink

Naujas kompiuteris. Pigiausias pigiausias variantas. Susirink kompiuteri pats. 3-oji 2013 savaitė.

Sveiki, šiandien pasirinkau surinkti patį pigiausią kompiuterį, kokį tik įmanoma: a1.lt Prekė/aprašymas Kaina JNC ATX MIDITOWER RJA-320 87.00 Lt Crucial Spectek 8GB DDR3 PC3-10600 CL9 ST102464BA1339 117.00 Lt Western Digital CAVIAR Blue 250GB SATA 7200RPM 16MB WD2500AAKX 163.00 Lt Gigabyte GA-E350N 203.00 Lt Šis variantas pasižymi išskirtine plokšte su integruotu APU. Reiktų susižinoti, ar ši […]