2014 m. lapkričio 21 d., penktadienis

Apie systemd

systemd boikotas:
http://boycottsystemd.org/

uselessd:
tai systemd atmaina, kuri naudoja mažiau (ang. useless) procesų. http://uselessd.darknedgy.net/

Kokios yra argumentų už systemd loginės klaidos?
http://judecnelson.blogspot.de/2014/09/systemd-biggest-fallacies.html

2014 m. lapkričio 20 d., ketvirtadienis

Kaip įrašynėti su kamera naudojant Gnu/linux

vlc $ vlc v4l2:///dev/video0 MPlayer $ mplayer tv:// -tv driver=v4l2:width=640:height=480:device=/dev/video0 kitos programos: $ chesse
http://askubuntu.com/questions/48245/webcam-apps-and-ways-of-checking-if-webcam-is-working  - programos
https://help.ubuntu.com/community/Webcam - įvairios programų komandos

2014 m. lapkričio 18 d., antradienis

Maven

Maven installiavimas:
$ sudo apt-get install maven Konfiguracijos failas
$dpkg -L maven |grep xml   
/etc/maven/settings.xml
Eclipse IDE projekto failų sukūrimas:
$mvn eclipse:eclipse Naujo projekto kūrimas komandine eilute mvn archetype:generate -DgroupId=lt.mokymai -DartifactId=SecondMavenProject -Dpackage=lt.mokymai.maven -Dversion=1.0-SNAPSHOT Kompiliavimas:
$ mvn clean compile Testavimas:
$ mvn clean test clean panaikina / compile sukuria target katalogą $ ls
pom.xml src target
$ mvn clean
$ ls
pom.xml src
target kataloge sukuriamas .jar failas tačiau jis nėra perkeltas į lokalią maven repozitoriją $ mvn clean package target kataloge sukuriamas .jar failas ir perkeliama į lokalia repozitorija `ls ~/.m2/repository/../..` $ mvn clean install Kaip paleisti tomcat serverį? mvn org.apache.tomcat.maven:tomcat7-maven-plugin:2.2:run-war
Komandos
src Visas projekto išeities kodas
src/main Projekto pagrindinio artefakto išeities kodas
src/main/java Projekto java išeities kodas
src/main/resources Nekompiliuojami projekto resursai
src/main/webapp Projekto žiniatinklio aplikacijos resursai
src/test Projekto testavimui skirtas išeities kodas
src/test/java Projekto testavimo java išeities kodas
src/test/resources Projekto nekompiliuojami testavimo resursai
target Maven darbinis katalogas
pom.xml Projekto aprašo byla

Padeada kai meta klaidą:
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.15:test

$ mvn clean install -U

2014 m. lapkričio 5 d., trečiadienis

zsh diegimas

zsh praplečia įprastą shell funcionalumą.

Instaliuojam zsh. sudo apt-get install zsh Atsisiunčiam oh-my-zsh iš 'https://github.com/robbyrussell/' wget --no-check-certificate http://install.ohmyz.sh -O - | sh Kaip padaryti, kad zsh būtų pagrindinė shell?
sudo chsh -s $(which zsh) $(whoami) grep sup /etc/passwd
sup:x:1000:1000:sup,,,:/home/sup:/usr/bin/zsh

Kad nustatymai įsigaliotų reikia iš naujo prijungti prie sesijos.

zsh temos:
https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
Kur rasti zsh temas? ls ~/.oh-my-zsh/themes/ Kur keisti zsh konfiguracijas? nano ~/.zshrc ZSH_THEME="random" - generuos atsitiktines temas.

Naudojamos temos.
ZSH_THEME="fino"


ZSH_THEME="robbyrussell"



Šaltiniai:
http://ohmyz.sh/
http://blog.coolaj86.com/articles/zsh-is-to-bash-as-vim-is-to-vi.html -- zsh diegimas.
https://www.youtube.com/watch?v=1S3MUVIAieE -- zsh diegimas
https://www.youtube.com/watch?v=m07MiM6rmMc -- ką galima daryti su zsh?

2014 m. lapkričio 1 d., šeštadienis

Start pages

http://gocom.deviantart.com/art/Estacado-start-page-187078857
http://zivallh.deviantart.com/art/Start-Page-261029460
https://gokoururi.github.io/homepage/index-light.html
https://github.com/gokoururi/homepage
https://github.com/asusgenius/StartScreen-Modern
https://github.com/Bokagha/Kat-Startpage
https://github.com/Xender/homepage
https://github.com/Shockersify/WebPage
https://github.com/quodroc/HumbleNewTabPage
https://github.com/Nipaa/Ohayou
https://github.com/Nipaa/Starter/tree/master
https://github.com/mukyu/NeaterPage
https://github.com/Bokagha/Startpage
https://github.com/JackosDev/Minimo-Homepage/
https://github.com/Boltovnya/boltohomepage/
https://github.com/Duhuhu/home
https://github.com/Suzuismywaifu/My-homepage
https://github.com/haruismywaifu/homepage
https://github.com/andreicek/homepage
https://github.com/adrian20038/homepage
https://github.com/ubuntufag/html
http://a.pomf.se/hqqrpm.rar
https://github.com/Matachines/Homepage
https://github.com/benwaffle/Homepage
https://github.com/tmathmeyer/homepage
https://github.com/E66666666/homepage
http://pastebin.com/6TRAHFjh
https://github.com/JackosDev/Minimo-Homepage
https://github.com/JackosDev/Ricerca-Homepage
http://twily.info/firefox/homepage
http://twily.info/newtab/
http://pastebin.com/AatN2BVX
http://www.mediafire.com/download/c7djqxrjdjiy434/home.zip
https://github.com/quetea/homepage
http://pastebin.com/bYkfLbbG
http://start.io/
https://github.com/cfrank/Home
https://github.com/tavidatum/Start