Skip to content

Instantly share code, notes, and snippets.

The head revision FW does not work with my rad1o badge

list of open questions

  1. does the new FW utilize some HW-Components which may be broken (from the beginning) but never used by the old FW?

HiRes Pictures of the rad1o board

Click to expand!
@dirksan28
dirksan28 / LinuxCodeSnippets.md
Last active October 3, 2022 18:28
Random linux related stuff which makes life easier

Collection of code-snippets...

mainly linux related ;-)

Recursive fulltext search in a tree of jar-files

FTsearchInJars Search for the word gif and print the number of occurrences within the jars.

f () 
{ 
 find . -name '*.jar' -exec bash -c "echo -n '{} ' ; unzip -p {} | strings | grep -ci '$1' " \; | sort -n -k 2
@dirksan28
dirksan28 / PSUs.md
Last active October 15, 2022 08:27
Random electronics related stuff
@dirksan28
dirksan28 / RolandEM55Floppy.md
Last active November 25, 2023 13:53
Gotek emulator for Roland EM-55 howto
@dirksan28
dirksan28 / ESRValues.md
Created September 13, 2022 01:06
ESR values for electrolytic capacitors

Testing electrolytic capacitors...

Table of known good ESR values for electrolytics

C/V 10V 16V 25V 35V 63V 160V 250V
1uF 5 4 6 10 20
2.2uF 2.5 3 4 9 14
4.7uF 6 3 2 6 5
10uF 1.6 1.5 1.7 2 3 6
22uF 3 0.8 2 1 0.8 1.6 3

Install XGecu TL866 II plus on linux

tl866

  • Obtain a copy of the Xgpro software. This is the official link: http://www.xgecu.com for XGecu T56/TL866II Plus Software Version 10.15
  • Install Wine if required.
  • Extract the contents of the XgproV10xx_setup.rar and run wine ./XgproV1013_Setup.exe or double click from file manager app. Note that the application should install fine, but you won't be able to talk to the device just yet.
  • Download setupapi.dll from https://github.com/radiomanV/TL866/tree/master/wine and copy it to the same location where you installed Xgpro. This might be somewhere like ~/.wine/drive_c/Xgpro or similar.
  • As root, create /etc/udev/rules.d/50-xgpro.rules and add the following:
SUBSYSTEM=="usb", ATTR{idVendor}=="a466", ATTR{idProduct}=="0a53", GROUP="plugdev", MODE="0666"
@dirksan28
dirksan28 / FW_ZPB30A1.md
Last active January 5, 2023 00:21
Custom Firmware for Electronic load ZPB30A1 (60W)

HowTo Update the Firmware of the Electronic load ZPB30A1 (60W)

FwUpdateDone

Motivation

  • new operation modes:
    • CC: Constant current
    • CR: Constant resistance
    • CP: Constant power
    • CV: Constant voltage (slow regulation due to hardware limitations)
  • Easily usable menu system with many configuration options

Firefox tweaks

limit cache size

Firefox will create a large cache if your hard drive or SSD has a lot of space. To constrain it:

  • In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button accepting the risk.
  • In the search box above the list, type or paste cache.d and pause while the list is filtered
  • Double-click the browser.cache.disk.smart_size.enabled preference to switch the value from true to false -- this is necessary to override the size, otherwise Firefox will enlarge it again in a day or two
  • Double-click the browser.cache.disk.capacity preference to display a dialog where you can edit the size, then click OK -- if this number is 7 digits, for example, 1000000, that is 1 gigabyte; if this number is 6 digits, for example, 500000, that is 500 megabytes.

How to embed diagrams natively to github markdown files

Code example

Here is a simple flow chart:

```mermaid
flowchart TD;
    B([B This is the text in a round-box])
    A==>B;

A-->C[\This is text in a parallelogram called C];