🧵 tvibe: a tmux session per project folder

On 21 September Mistral announced that GLM 5.3 would be served on its own infrastructure, and that tipped me off Claude Code and onto Vibe. The model is the reason I switched, but the habit that stuck is a small function I wrote the same week. An agent that works for ten minutes on its own is a different animal from a REPL you type into. The session now outlives the terminal you started it from, and if the terminal dies — SSH dropped, lid closed, train through a tunnel — the work should not die with it. tvibe is the four-line answer: ...

September 25, 2026 · 4 min · 670 words · ticapix

🚇 Automate SSH reverse tunnels with autossh

An RPi is deployed in an unknown local network and should connect to a public jump box. Later a user could connect to the jump box to reach the local network via the reverse tunnel. Configure your RPi I used Debian 11.8 on a RPi v1 (2011.12) and installed autossh and configured your reverse tunnel Example to bind 0.0.0.0:10022 on the onlinejumpbox and forward it to the RPi localhost:22 SSH server. ...

March 4, 2024 · 1 min · 145 words · ticapix

🕸️ Install Tailscale on Synology DSM 7

To keep this tutorial short, I’m assuming that the reader has the minimal level of knowledge to upload files, launch a container on the NAS and use SSH. This is a solution to configure Tailscale remotely when you only have QuickConnect access to your NAS. Install Container Manager on the NAS Click on Package Center -> Search for Container Manager -> and install it. It’ll create a docker volume that we are going to use next. ...

August 23, 2023 · 3 min · 426 words · ticapix

🚀 Install Ubuntu-18.04 on a NVMe disk

The price of NVMe disks getting closer or similar to SSDs, most recent servers have only NVMe disks. Unfortunately, installing Ubuntu-18.04 on such a server triggers the error Validation error: 'nvme.XXXXXX' is not valid under any of the given schemas in [...] This issue has been fixed in https://bugs.launchpad.net/ubuntu/+source/curtin/+bug/1840524/comments/8 but is not yet backported on 18.04.3 If you need to install 18.04, because for example of the NVIDIA driver support, the fix is to: ...

February 10, 2020 · 1 min · 118 words · ticapix

🧱 Unbrick and update a J-Link V8 clone

You can buy a Segger JTAG J-Link clone for a few USD on ebay, aliexpress, dx, … If you try to update its firmware with the official Segger tool, you’ll brick the probe. Don’t worry, smart people have already put a checklist to restore a working firmware and even update it to the latest official version. I just put all the needed info into one single page. Unbrick it To restore the firmware, you need to follow the instructions from http://www.sonsivri.to/forum/index.php?topic=41726.50. The best part? It works from Linux. ...

July 9, 2015 · 3 min · 601 words · ticapix

🔌 USBee AX Pro reprogramming

I bought a MCU123 USBee AX Pro clone on dx.com which is very similar to a Saleae Logic. To use it with the Saleae software, the VID/PID need to be reprogrammed. The procedure is well explained here if you have Windows. If you have Linux, continue to read. As explained in the Windows version of this tutorial, you have to flash the device with a special firmware that enables to read/write the EEPROM where the VID/PID are stored. ...

July 16, 2014 · 2 min · 285 words · ticapix

🎬 CanalPlay VOD

Attempt to rent a movie online with CanalPlay VOD 21h25 Find a movie and decide to watch it. First failure because Linux is not a supported OS Booting Windows XP in a Virtual Machine (vmware) Scan of the computer configuration from the CanalPlay website Incompatible media player -> Request to update to Windows Media Player 11 6 clicks further on the Microsoft website, before the update can be downloaded, a genuine Windows code must be entered. The code is given by an application to download and execute on the computer. Once the code entered, the download starts (25MB) Windows Media Player 11 installation Goto step 4. CanalPlay plugin installation Restart the browser Goto step 4. Windows Media Player 11 scan fails again. Reboot the computer (well, the VM) 21h36 During reboot, some system updates are applied. The plugin still doesn’t work with Firefox The scan finally works with IE Creating a CanalPlay account Wrong country: the movie is not available Creating an SSH Socks proxy to a server in France (Thanks OVH) 21h45 Renting the movie in SD for 48h for 4€ (Yes, I really want to try) The payment is rejected because a foreign credit card is used. Shutting down the VM 21h48 Creating a Purevid account Monthly subscription for 4.5€ Starting the movie in streaming from Linux with Firefox. 21h53

March 28, 2014 · 2 min · 222 words · ticapix

📺 LAN Screen + Audio sharing

This is my conf to stream my Linux desktop screen in my apartment using VLC. Server side The vlm configuration It captures my left screen and audio from pulseaudio. Video is encoded with X264 tuned for zerolatency. Audio is encoded in MP3. The element streams are encapsulated in a Transport Stream over RTSP. new Remote vod setup Remote input screen:// setup Remote option screen-fps=25 setup Remote option screen-caching=50 setup Remote option screen-top=0 setup Remote option screen-left=0 setup Remote option screen-width=1280 setup Remote option screen-height=1024 setup Remote option input-slave=pulse:// setup Remote option sout-udp-caching=50 setup Remote option udp-caching=50 setup Remote option rtsp-caching=50 setup Remote option tcp-caching=50 setup Remote output #transcode{vcodec=h264,venc=x264{tune=zerolatency,crf=30},acodec=mp3,ab=128}:rtp{mux=ts,description='screen',sdp=rtsp://:8888/remote.sdp} setup Remote enabled # extra venc option #preset=ultrafast # extra scaling #transcode{scale=1,fps=25,width=640,height=480} # extra output format #std{access=http,mux=ts,dst=localhost:8888} #std{access=file,mux=ts,dst=/tmp/remote.ts} #rtp{mux=ts,description='screen',sdp=rtsp://:8888/remote.sdp} The VLC command line cvlc --ttl 2 -vvv --color --vlm-conf screen.vlm Client Side The VLC command line vlc rtsp://localhost:8888/remote.sdp

March 20, 2014 · 1 min · 146 words · ticapix

🎛️ Blync 1: reverse-engineering the USB cube

There is a funny little USB gadget called the Blync identified by VID: 0x1130, PID: 0x0001. It’s a glowing RGB cube, but it has two defects for me: the driver is only available for Windows only 7 colors are available Let’s fix it. Software hack That’s the easy part. Plug your Blync under Windows running in a virtual machine. Start Wireshark under the Linux host Dump USB packets Think Replay packets in Python And Voilà: https://github.com/ticapix/blynux ...

March 3, 2014 · 3 min · 521 words · ticapix

✅ Pretty Check

Code #!/bin/sh function prettycheck { local TPUT='tput' local RED='1' local GREEN='2' local BLUE='4' #man 5 terminfo [ ! -f $(which $TPUT) ] && TPUT=true cmd="$@" echo "$> $cmd" $TPUT cuf $((`$TPUT cols` - 8)) # move the end-of-line minus 8 cols $TPUT cuu 1 # move on line up msgerr=$($cmd 2>&1 1> /dev/null) if [ "$?" -ne 0 ]; then $TPUT setaf $RED # change front color echo "[FAILED]" $TPUT setaf $BLUE # change front color echo "$msgerr" else $TPUT setaf $GREEN # change front color echo "[ OK ]" fi $TPUT reset } Demo

March 3, 2013 · 1 min · 95 words · ticapix