Udev Webcamlinuxhowto2022.04.01You can change the device link so your webcam will be always accessible at the same location /dev/video99. You can also persist some settings via the v4l-ctl command.Read moreConsole Font Sizelinuxconsolehowto2022.03.29This days, with 4K monitors, the linux console is unreadable : the font is too small. So how can we scale the font size in the console after boot ?Read moreGit Rebase From Upstreamgithowto2020.11.08This note explains how to apply new commits in your forked repo from the parent (upstream) repo. If not already done, add a “remote” to the parent’s repo like this :Read moreLocal gitdevgithowto2019.12.02Define a repo somewhere in your file system with a bare init
mkdir -p /somewhere/repo/test_project cd /somewhere/repo/test_project git init --bare Now create a local folder for your work with init onlyRead moreMysql prompt tiphowtomysqlprompt2019.11.25You can change the mysql prompt client so you know where you are.
Very usefull when you manage a lot of mysql databases and you forget which one :-)Read moreDisable tabs in FirefoxdwmFirefoxhowtolinux2019.11.18If you use a tiled window manager like me, Suckless DWM for example, and have Firefox as your browser, you may be interested by not showing the tabs.Read moreInstall iso on USB key using #Linux console onlyconsolehowtolinuxusb2018.11.08How to flash any iso (think about your favorite distro) on an USB key without graphical IHM ?
sudo dd if=/path/to/image.Read moreForce #wifi interface name on #Ubuntu 18.04consolehowtolinuxnetworkshellubuntuudevwifi2018.09.07Using Udev, you can change the wifi interface name.
First, you need to get the mac address.
$ ip link 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 2: **wlp1s0**: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT group default qlen 1000 link/ether **9c:b6:d0:8a:71:11** brd ff:ff:ff:ff:ff:ff My wifi interface is name wlp1s0 and its mac address is just after the keyword “link/ether” : 9c:b6:d0:8a:71:11.Read moreDocker from scratch, Go and Multipart uploadconsoledevdockergohowtominimalscratchubuntu2018.01.26To reduce docker container size we can built the image from scratch instead of using bloated images, like debian or worse ubuntu.Read moreSamba public shareconsolehowtolinuxsambashell2018.01.10How to configure a Debian based Linux distribution to share a folder with anyone on the network, with read and write access ?Read moreConvert PDF to PNG with enough resolutionconsolehowtoImageMagicklinuxshell2017.03.28As ‘man convert’ states :
The convert program is a member of the ImageMagick suite of tools. Use it to convert between image formats as well as resize an image, blur, crop, despeckle, dither, draw on, flip, join, re-sample, and much more.Read moreDon't forget master infos in your MySQL dumpdevhowtomysql2017.02.20I tried to resync a slave MySQL after it disconnected from the master. But the binary log was already deleted on master, so the only solution was to restore from the last backup.Read moreMySQL import from csvdevhowtomysql2016.10.12To import a local CSV file into MySQL, use the syntax below :
LOAD DATA LOW_PRIORITY LOCAL INFILE '/path/tofile.csv' INTO TABLE database.Read moreMySQL export to csvdevhowtomysql2016.10.12To export a mysql results in CSV format, use the syntax below :
SELECT field1, field2, ... FROM table WHERE condition INTO OUTFILE '/tmp/toto.Read moreCheyenne server and POST size limitcheyennehowto2016.10.03By default, in Cheyenne, the header size limit for a post request is 102'400.
If you want to ajust this limit you can define the post-mem-limit parameter in the global context or in a specific webapp.Read moreBoot Linux in text consolebootconsolehowtolinuxtext2016.08.29Get rid of graphic boot on Linux with a few modifications in grub configuration :
# edit your grub config sudo vi /etc/default/grub # remove splash, quiet, .Read moreWireless auto configuration with guessnet on Linuxhowtolinuxubuntu2015.05.17Assume we have access to the wifi at work and at home. How can I configure my laptop to automatically connect to the right network without using a graphical network manager ?Read more