Home avatar

Yehia :D

Setup old android tablet for development

anlinux-fedora

Before Starting, it’s a good idea to install a Custom ROM for your old device just to get the best out of it. Head to XDA and search for your device. But why you might ask ?

  • The installed custom ROM would bring you newer Android version + new kernel version. (not always)
  • Root access (more control in general).

In my case, I am using SM-T585 which came with Android 8.1 and later on I upgraded to 9.

How to download files and directories from github


Probably this is the easiest way to download files from github, by navigating to the file on github and click on the download button.

Unfortenitaly, it’s not the fastest, you will have to move the file to the desired destination and doesn’t work for raw files like (txt and .ext).

Now we talk :D, here’s a bash function (add to your alias section) I wrote to automate the download process by using the URL which contains blob keyword.

Full MPD setup on BSPWM + Polybar

MPD (Music Player Daemon) is an audio player, used to play audio tracks, organize playlists with some database for musics. In order to interface with it, a client is needed (in our case (ncmpcpp)[https://rybczak.net/ncmpcpp/] is used).

  • Install mpd and ncmpcpp on ArchLinux : sudo pacman -S mpd ncmpcpp
  • Install mpDris2 (provides MPRIS 2 support to mpd): yay -S mpdris2

There are multiple ways to auto-run mpd and mpdris2 :

How to setup tmux for advanced users ?

Tmux is a terminal multiplexer, it lets you switch easily between several programs in one terminal, detach them (they keep running in the background) and re-attach them to a different terminal.

It also allows you to have multiple panes open at the same time, each with their own shell running, with a single SSH connection (yes, it supports SSH). Not only that, you can also have multiple windows open at the same time, a bit like tabs with more panes in them.