This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
user:sachy:lakatux [2018/06/14 17:48]
sachy bbr
user:sachy:lakatux [2019/01/31 16:48] (current)
sachy posrane bc
Line 340: Line 340:
 # echo "​net.ipv4.tcp_congestion_control=bbr"​ >> /​etc/​sysctl.d/​bbr.conf # echo "​net.ipv4.tcp_congestion_control=bbr"​ >> /​etc/​sysctl.d/​bbr.conf
 </​code>​ </​code>​
 +==== .nanorc ====
 +set smooth
 +set softwrap
 +set tabsize 2
 +set constantshow
 +unset locking
 +bind ^L copytext all
 +==== URL v xattr ====
 +Nejaky debil vymyslel a defaultne zapnul ukladani URL stahovaneho souboru do xattr. Informace samotná je uložena jako vlastnost user.xdg.origin.url,​ případně user.xdg.referrer.url
 +By default se tak chova wget (při kompilaci vypnout parametrem --disable-xattr;​ za běhu --no-xattr) a chromajzl.
 +==== Leading zeros v bc ====
 +"​bc"​ zahazuje 0 na zacatku desetinnych cisel, protoze americani maji vseobecne s cislama problem (a neexistuje ani zadny prepinac ktery by to zapnul)
 +<​code>​echo "​5*0.1"​ | bc
 +Nastesti co nedokaze basic calculator, dokaze sed... Fix do .bashrc:
 +<​code>​alias bc="bc | sed -e '​s/​^\./​0./​g'​ -e '​s/​^-\./​-0./​g'"</​code>​
 ==== TODO ==== ==== TODO ====
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 4.0 International
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki