Fabien Boutantin Development documentation¶
Hello !¶
This is my own pages for sharing my development stuff.
I also put some training about python I will "teach" in few days see this page.
Have a nice day !
My own Debian repository¶
I host some packages for Debian. To use them simply follow those 2 steps:
Add a new file /etc/apt/sources.list.d/boutantin_net.list with this content:
# Add Boutantin.net packages to apt
deb https://www.boutantin.net/repo/ /
Add the public key:
$ wget -qO - https://www.boutantin.net/repo/gpg.key | sudo tee /etc/apt/trusted.gpg.d/boutantin.net.gpg
$ wget -qO - https://www.boutantin.net/repo/gpg.key | sudo apt-key add -
Useful commands¶
ssh¶
You can reach host B using host A as a jump proxy using this command:
$ ssh user_B@host_B -j user_A@host_A
Host A
HostName host_A
User user_A
ProxyJump user_B@host_B
svn¶
Edit a log commit afterward:
$ svn propedit -r N --revprop svn:log'''
List commit from a user in Subversion:
$ svn log | sed -n '/blankman/,/-----$/ p'
*NIX¶
List locally installed packages:
$ dpkg --get-selections | grep -v deinstall
List files that do not contain a pattern:
$ grep -rL PATTERN DIRECTORY
Real life usage:
$ grep -rL "CMAKE_PORT" ../Filters/src/lib/gui/ | grep cpp | xargs fgrep .moc -l
List files that contains a missing ref in *.o files:
$ nm -Clo --undefined-only *.o | grep intrusive_ptr_add_ref | grep Gocad::Color
Fun with terminal:
$ echo "SKaaS is \nBatch Only" | figlet | cowsay -n | lolcat
Usefull make args:
- -j x: run make in // using x cores
- -k: don't stop on errors
Useful Links:¶
Color Make: add color to makefiles
CMake: meta makefiles
- A huge FAQ with lots of informations
fstab: Learn how to mount things on linux
Blender: Learn the Free 3d modeling and animating software
Have WSGI python in html work with Apache2
WebGL demos from khronos group