letsencrypt na Slackware

Posted on Mon 01 April 2019 in Linux, Wirtualizacja • 3 min read

Generowanie certyfikatów LetsEncrypt na dystrybucji Slackware nie jest możliwe za pomocą domyślnego skryptu urzędu czyli Certbota.

Z pomocą przychodzi napisany, zdaje się w Bashu, skrypt dehydrated. Poniżej opisuję jego jak najszybsze i bezproblemowe (ha!) użycie.

W niniejszym artykule pokazuję jak generować certyfikaty dla dwóch serwerów, jeden z nich to serwer …


Continue reading

Regexp is not friendly?

Posted on Thu 28 March 2019 in Wypociny • 1 min read

Znalazłem dziś wpis, którego fragment mnie zaintrygował: "Mutt has built-in, powerful regex search but I sought something more intuitive."

Cóż, mogę się częściowo z tym zgodzić, zapamiętanie (nie "zmemoryzowanie") mnogości reguł może stanowić pewne wyzwanie ale czy jest to wystarczający powód by szukać czegoś bardziej intuicyjnego? I czy słowo "intuicyjny …


Continue reading

tvheadend: antena, kabel i discontinuity errors

Posted on Wed 16 January 2019 in Shitz • 1 min read

Trochę trudno mi w to uwierzyć ale wygląda na to, że błędy:

tvheadend[16529]: TS: PolskaWarszawa/522MHz/TVP2 HD Transport error indicator (total 20)
tvheadend[16529]: TS: PolskaWarszawa/522MHz/TVP2 HD: TELETEXT @ #205 Continuity counter error (total 2)
tvheadend[16529]: TS: PolskaWarszawa/522MHz/TVP2 HD: H264 @ #202 Continuity counter error …

Continue reading

iTerm2 global HotKey

Posted on Thu 04 October 2018 in Macbook, Tips 4 Mac OSX • 1 min read

[video width="720" height="450" mp4="http://scyzoryk.fubar.pl/wp-content/uploads/2018/10/iterm2.mp4" loop="true" autoplay="true" preload="auto"][/video]

Używam dość egzotycznych ustawień GUI na swoim macOS-ie: mapowanie klawiszy załatwiam Karabinerem ale oprócz niego mam jeszcze parę wynalazków w Hammerspoonie.

Karabiner pozwala mi przypisać klawiszom inne …

Continue reading

Change pfSense page title

Posted on Wed 01 August 2018 in Hacks (wannabe) • 1 min read

The very first web page of pfSense you see is login page. The problem is that HTML title of this page is ALWAYS "Login". If you have, like me, more than one pfSense istances you could have problems with KeePassXC Auto-Type feature.
I don't know yet why but Auto-Type do …

Continue reading

Masz NAS-a i RAID1? Ha ha...

Posted on Fri 06 July 2018 in Shitz • 1 min read

Czujesz się bezpieczny? Ja się tak czułem, do czasu aż padła płyta główna, a raczej zasilanie i to w tak cudowny sposób, że uszkodziło elektronikę w obu dyskach. Obu - bo miałem RAID1 na ReadyNAS Ultra 2.

Nic się złego nie stało, bo dmuchałem na zimne czyli mam TO CO WAŻNE …


Continue reading

Proxmox: Mount USB disk to VZ or LXC container

Posted on Fri 06 April 2018 in Wirtualizacja • 1 min read

First check what is the number of VZ container you want to mount disk to:
vzlist
      CTID      NPROC STATUS    IP_ADDR         HOSTNAME
       113       …

Continue reading

Proxmox: Transfer machines images from 3.x to 4.x lvm-thin storage

Posted on Fri 06 April 2018 in Wirtualizacja • 1 min read

I want to migrate all my machines from old 3.x Proxmox box to new 4.4.

There's lvm-thin storage on new machine that I cannot directly access from the old one.

So after many attemps I found a way:

  1. create new storage inside ‚data’ logical volume:
lvcreate -n …

Continue reading

Proxmox: resize disk in LXC container

Posted on Fri 06 April 2018 in Proxmox, Tips4Unices, Wirtualizacja • 1 min read

  1. Shutdown container.
  2. Resize disk with GUI: select machine, click Resources, select Disk and click Resize Disk or
  3. Resize disk with console: pct resize <vmid> <disk> <size> [OPTIONS]
  4. On Proxmox machine in console: e2fsck -fy /dev/pve/vm-<vmid>-disk-x resize2fs /dev/pve/vm-<vmid>-disk-x
  5. Sometimes you will need to …

Continue reading

Fix your gyroscopic exercise tool (Powerball)

Posted on Thu 05 April 2018 in Hacks (wannabe) • 2 min read

Saint Nicholas from Myrna brought my son a Powerball gyroscopic exercise tool. It is great device to build strength of hand's muscles but is very sensitive to accidental dropping.
Too sensitive in my opinion which could be a part of producers way of doing business. But I could be wrong …

Continue reading