Archive

Archive for the ‘Uncategorized’ Category

Adding CUPS server to MacOS 10.7 or later without client.conf

January 5th, 2024 No comments

Since MacOS version 10.7 Lion, it has not been possible to use the ServerName option in the CUPS client.conf configuration to add a remote CUPS and skip the local CUPS server. Instead, printers are expected to be added via the Settings app. However, for some reason, adding the printer there did not work for me. The printer was added successfully and looked fine, but when selecting the printer to print a document, it would display as “Offline” and it would say “Looking for printer” in the Jobs dialog. The fix is easy!

Read more…
Categories: Uncategorized Tags:

RT2870/RT3070 ath9k_htc and maximum number of STAs

April 3rd, 2022 No comments

For many years I have been using RT2870/RT3070 USB WiFi dongles and I was happy with them. They have great Linux support thanks to the ath9k_htc driver.

But as number of IoT devices increased, one day one of them couldn’t connect and hostapd was reporting errors like these:

Could not set STA to kernel driver
nl80211: NL80211_CMD_SET_STATION result: -105 (No buffer space available)
Read more…
Categories: Uncategorized Tags:

Missing Android manual

March 11th, 2018 1 comment

We all got Android devices without a proper manual so here are some basics I have learned over time…

Read more…

Categories: Uncategorized Tags:

RC5 device addressees and commands are partly “standardized”

March 5th, 2018 6 comments

During my attempt to program an Atmel micro-controller to act as a remote controller sending RC5 commands, the original remote suddenly stopped sending the correct Standby code to the device and I noticed device ID part of the RC5 frame has changed from 0x10 into 0x11. I accidentally switched the original remote to a mode for a different type of appliance! I realized that after I found a nice PDF from Freescale semiconductor showing a table with common device IDs and command IDs.

Read more…

Categories: AVR, Electronics, Programming, Uncategorized Tags:

[cz] Proč je Facebook a Messenger špatný

August 11th, 2017 2 comments

Facebook prý spojuje lidi a umožňuje být neustále s přáteli, aniž bych vystrčil nohu z baráku či postele. Facebook se tváří jako nejlepší kamarád a pomocník, že dělá pro nás to nejlepší. Ale je tomu opravdu tak? Read more…

Referer sending options in Firefox

March 16th, 2017 No comments

Sending Referer header to the target site after every click on a link is basically revealing URL of the referring site. Several sites mention it as a potential privacy concern but as far as I know there is no UI option in common browsers. Firefox since 28 added “hidden” options for this.
Read more…

Categories: Uncategorized Tags:

Tips for making a new password and how passwords work

October 22nd, 2016 No comments

From what I have seen, many people use weak passwords. But it’s actually easy to make them strong. Let’s see. Read more…

Categories: Uncategorized Tags:

[cz] Úvod do SQL

October 15th, 2016 No comments

SQL je nejběžnější jazyk používaný pro práci s RDBMs (relační databázové systémy). Protože je užitečné umět pracovat s databází, septal jsem stručný přehled operací, které se pomocí SQL dají dělat na jednoduchých konkrétních příkladech, s odkazy na další zdroje.

Read more…

Categories: Uncategorized Tags:

[cz] Generátor bankovního čísla účtu

April 1st, 2016 3 comments

Aby se předešlo překlepům a nechtěné platbě na cizí účet, využívají číšla účtů v ČR formát podle vyhášky č. 62/2004. V tomto článku je odkaz na generátor validních čísel.

Read more…

Categories: Uncategorized Tags:

Power Bank 5000mAh Solar Charger Reverse Engineering & Modification

December 17th, 2015 2 comments

I bought a cheap solar power bank from China to power my temperature sensor. Unfortunately it was shutting itself down once fully charged, requiring me to power on manually again. In this post I will show you my reverse-engineering notes, images and what I did to make it always powered on.

Read more…

Categories: Uncategorized Tags:
deadly laser