Firefox tab less 2022.12.09 We can customize Firefox interface to hide the tabs bar : First, we have to tell Firefox that we want to customize its interface. Read more
Udev Webcam linux howto 2022.04.01 You 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 more
Git Rebase From Upstream git howto 2020.11.08 This 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 more
Local git dev git howto 2019.12.02 Define 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 only Read more
Mysql prompt tip howto mysql prompt 2019.11.25 You 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 more
Force #wifi interface name on #Ubuntu 18.04 console howto linux network shell ubuntu udev wifi 2018.09.07 Using 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 more
Eve-style clock demo in Red, livecoded! 2017.01.04 Demo Red is a next-gen programming language, strongly inspired by REBOL. Main features are: Homoiconic (Red is its own meta-language and own ** data-format **) Functional, imperative, ** reactive ** and symbolic programming Prototype-based object support **Gradual and multi-**typing ** Macros ** system Rich set of built-in datatypes (50+) Both statically and JIT- compiled to native code Cross-compilation right . Read more
Consul 0.7.1 | HashiCorp 2017.01.04 Consul is a critical infrastructure service for organizations that rely on it for service discovery, key/value storage, and health checks. Read more
French Git Log git 2016.06.07 Git log in colors. git log --pretty='format:%Cblue%h%Creset %ad %Cred%<(8,trunc)%an%Creset%Cgreen%d%Creset %s' --date=short Shows how to use pretty format in Git with colors and fixed with columns (trunc) : Read more
Allow invalid date in MySQL dev mysql 2016.05.23 Just in case you absolutely have to insert a date in MySQL that does’nt exist, eg 2014-02-30, you can run MySQL server in a special mode that authorizes such dates : Read more
Invisible code sticks forever Javascript web 2015.08.24 A few months ago, I read an article about brain training by learning a new language : very interesting story about William Alexander who failed to learn french but strenghten his brain trying to. Read more
Tmux for the impatient linux tmux 2015.07.08 tmux 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 more
Get rid of the Desktop icon in Nautilus 3.10 side bar 2014.11.07 Add in ~/.config/gtk-3.0/settings.ini gtk-shell-shows-desktop=0 Remove all entries in ~/.config/user-dirs.dirs but let this one : XDG_DESKTOP_DIR="$HOME/" If you remove this too, each time nautilus is launched, it will create a ~/Desktop folder. Read more
Stretched background with IE8 2014.07.17 Side note : Microsoft has dropped support for IE8 last april 2014 :-( There are still some clients that want their webapp to work perfectly on IE8. Read more
2048 Gremlins Javascript web 2014.04.28 2048 : a very famous game where you have to slide the numbered tiles to join same numbers, and cumulate them to obtain 2048 ! Read more