Experiment Nebula Mesh - Part 2technicallinux2022.09.10In my previous post, I used Nebula to setup a secured network between 2 virtual machines.
This time, I’ll try to make a MySQL client and server communicate through a Nebula tunnel.Read moreExperiment Nebula Mesh - Part 1technicallinux2022.07.16Is it possible to use the public network, namely Internet, to make 2 machines communicate securely ? And if possible something easier to install and configure than OpenVpn ?Read moreUdev 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 moreBig clock in a terminallinuxshellterminal2020.10.14This note explains how to show a big clock on Linux without using an application or having a browser opened on time.Read moreChange local ownCloud sync directorylinuxowncloud2020.09.12To change the name of ownCloud main folder, there is a little trick you can do on Linux (may work as well on other platforms).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 moreMake your ubuntu LTS kernel up to datekernellinuxubuntu2019.10.27Install LTS Hardware Enablement Stack
sudo apt-get install --install-recommends linux-generic-hwe-18.04 xserver-xorg-hwe-18.04 Clean
sudo apt purge --autoremove Reboot to load new kernelRead 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 moreVS Code loses Go autocompletion on Linuxbugdevgolinux2018.03.27On my Linux, just after upgrading Go to version 1.9, I lost autompletion functionality in VS Code.
:vscode_completion_not_working
This tip did not work for me.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 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 moreTmux for the impatientlinuxtmux2015.07.08tmux Create a new session (the first time) tmux a Attach to an existing session Ctrl+b d Detach Ctrl+b PgUp/PgDown Scroll (quit with q) also can use mouse after first page up or down (see tips below to activate normal mouse scrolling) Ctrl+b [ Copy mode (quit with q) Ctrl+b " Split horizontally Ctrl+b % Split vertically Ctrl+b arrow key Switch pane Hold Ctrl+b + arrow keys Resize pane Ctrl+b + z Toggle zoom in pane Tips Copy/pasting sudo apt-get install xclip Install xclip so buffer copied inside tmux are also available to X Shift + mouse selection Select text to copy Ctrl + Shift + C Copy Ctrl + Shift + V Paste Use the mouse for scrolling set -g mouse on put this command in ~/.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 moreHorizontal rule in zsh promptlinuxpromptshellzsh2014.12.26Put in your ~/.zshrc :
PS1=$'%U${(r:$COLUMNS:: :)}%u'$PS1 _src = superuser.com _Read moreIncrease wordpress max file upload sizelinuxphpwordpress2014.12.05On Ubuntu/Debian distro, edit the /etc/wordpress/htaccess and add this lines :
php_value upload_max_filesize 50M php_value post_max_size 50M php_value memory_limit 50MRead moreSubstitute a text only in files where it appearslinuxshell2014.12.03For example, to substitute foo with bar
for f in `grep -lR foo`; do echo -n ">> $f"; sed 's/foo/bar/g' $f > $f.Read moreConvert multiple files to utf8 using vimlinuxshellvim2014.12.03The fastest and more efficient way to batch multiple files encoding conversion :
vim +"argdo se fileencoding=utf-8 | w | bnext" +"q" ` find .Read moreZSH, nohup and background process that lasts...linuxzsh2014.11.27When I switched to ZSH, and let BASH behind, I missed some behaviour : one of them was the ability to quit my terminal while some jobs are still alive.Read moreusb mount and policykitdbusdesktopdwmgnome-settings-daemonlinuxpolicykitstorageubuntuusb2014.06.18DWM is my tiled window manager. It’s fast, flexible and fun. My linux desktop is up and running after a few seconds… (ok, thanks also to the ssd :-) ).Read more