Hodžův blog

Author Archive

05 Kvě

RepRap – první tisk

Po úspěšném sestavení 3D tiskárny zde máme první tisk. Nejedná se prozatím o nějaký profesionální výstup – tiskárna je sice po vzhledové stránce nepatrně „učesaná“, nicméně touha tisknout zvítězila nad nutností kalibrovat. Z tohoto důvodu je na prvním výtisku (testovací čtverec)  jasně vidět nedostatek hmoty a velké rozestupy. I tak ale považuji výstup za úspěch. […]

29 Dub

RepRap – už skoro tiskneme

Nemožné se stalo skutečností – po 6 měsících jsem se dokopal k tomu, abych provedl stavbu své první 3D tiskárny.  Aktuálně jsem ve fázi kdy je vše funkční (osy x,y a z;  extruder; hot end; hot bed).  Zbývá udělat drobné kosmetické úpravy, koupit nějaké odolné sklo na tisk a nakalibrovat. Tisknout budu z PLA a […]

26 Lis

HowTo fix a mdadm problem auto-read-only or resync=PENDING

Mdadm problem after new install of Debian GNU Linux. root@n40l:~# cat /proc/mdstat Personalities : [raid1] [raid6] [raid5] [raid4] md3 : active (auto-read-only) raid5 sdc1[0] sde1[2] sdd1[1] 3907025920 blocks super 1.2 level 5, 512k chunk, algorithm 2 [3/3] [UUU] resync=PENDING md2 : active raid1 sda3[0] sdb3[2] 235885432 blocks super 1.2 [2/2] [UU] md1 : active (auto-read-only) […]

18 Bře

HowTo block facebook with iptables

Insert these lines into your firewall: iptables -t filter -I FORWARD -s 192.168.0.0/24 -m tcp -p tcp -m iprange –dst-range 66.220.144.0-66.220.159.255 –dport 443 -j REJECT –reject-with tcp-reset iptables -t filter -I FORWARD -s 192.168.0.0/24 -m tcp -p tcp -m iprange –dst-range 69.63.176.0-69.63.191.255 –dport 443 -j REJECT –reject-with tcp-reset iptables -t filter -I FORWARD -s 192.168.0.0/24 […]

15 Bře

HowTo Install Latest Redmine on Debian 6 (Squeeze, Ruby-on-Rails, Apache2 Passenger)

This is a short .bash_history manual… First install fresh Debian Squueze from businesscard (when selecting packages uncheck ALL). Correct hostname: # vi /etc/hostname server.example.com

06 Bře

Where can I find repository for debian etch packages?

All Debian releases are archived at archive.debian.org, so: deb http://archive.debian.org/debian/ etch main non-free contrib deb http://archive.debian.org/debian-security/ etch/updates main non-free contrib deb http://archive.debian.org/debian-volatile/ etch/volatile main non-free contrib deb-src http://archive.debian.org/debian/ etch main non-free contrib deb-src http://archive.debian.org/debian-security/ etch/updates main non-free contrib deb-src http://archive.debian.org/debian-volatile/ etch/volatile main non-free contrib

03 Říj

Oprava nefunkční digestoře Ariston

Po necelých šesti letech provozu se mi rozbila „značková“ digestoř Ariston. Nejprve přestala odsávat a následně i svítit. Tak trochu z lenosti a tak trochu z nedostatku času jsem zavolal do servisu, kolik by stála nová elektronika. Když jsem od technika následně zjistil, že cena základní desky odpovídá dvoum třetinám ceny nové digestoře, rozhodl jsem […]

02 Zář

HowTo resolve ProFTPD problem: Fatal: unknown configuration directive ‚SQLHomedirOnDemand‘ on line xxx of ‚/etc/proftpd/proftpd.conf‘

This directive has been deprecated with ProFTPD 1.3.1rc1. Please use CreateHome instead. http://www.proftpd.org/docs/howto/CreateHome.html

01 Srp

HowTo install Oracle Instant Client and PHP OCI8 module under Debian Squueze (Ubuntu) 64bit

1) Download the Basic and the SDK packages from http://www.oracle.com (registration needed). # mkdir -p /opt/oracle/instantclient # cd /opt/oracle/instantclient # wget http://download.oracle.com/otn/linux/instantclient/112020/instantclient-basic-linux-x86-64-11.2.0.2.0.zip # wget http://download.oracle.com/otn/linux/instantclient/112020/instantclient-sdk-linux-x86-64-11.2.0.2.0.zip“

30 Čvc

HowTo fix a problem „DeprecationWarning: the sha module is deprecated; use the hashlib module instead import sha“ in Pyzor

After a fresh Pyzor install I’m getting this error message: # aptitude install pyzor # pyzor discover /usr/lib/pymodules/python2.6/pyzor/__init__.py:11: DeprecationWarning: the sha module is deprecated; use the hashlib module instead import sha /usr/lib/pymodules/python2.6/pyzor/client.py:12: DeprecationWarning: the multifile module has been deprecated since Python 2.5 import multifile downloading servers from http://pyzor.sourceforge.net/cgi-bin/inform-servers-0-3-x

Hodžův blog is is proudly powered by Wordpress and the Magellan Theme