Tips related to exploitation systems
Use startup disk creator
under ubuntu.
Check what is you USB drive with lsblk
Unmount with sudo umount /dev/sdb1
Install iso with
sudo dd bs=4M if=dsl-4.4.10.iso of=/dev/sdb status=progress oflag=sync
Get interface name (e.g.: enp2s0): ip addr
Edit the file /etc/netplan/00-installer-config.yaml
and fix your interface name.
Tips to set Ubuntu desktop.
Install xfce terminal with Ubuntu software.
Use the command : sudo update-alternatives --config x-terminal-emulator
FTL and Into the Breach saves are in .local/share/
folder.
Set your desktop file in ~/.local/share/applications/
.
Tutorial to create a desktop file.
Complete list of keys on freedesktop.org.
sudo update-grub
Tested with box2d.
Header files (*.h
) must rely in a include folder, like /usr/local/include/
. You can group headers in folders, but you have to take folders into account for preprocessing :
On your file system :
include
|—— hello.h
\—— box2d
|── b2_world.h
\—— box2d.h
In C++ :
#include <hello.h>
#include <box2d/box2d.h>
Compiled files (*.a
or *.so
, commonly generated through a buil system like make
or cmake
), must rely in a linked folder, like /usr/local/lib
.
If your static lib is named libhello.a
, you link with the compiler flag -lhello
.
For instance, libbox2d.a
is linked with the flag -lbox2d
.
timedatectl set-local-rtc 1 --adjust-system-clock
timedatectl set-local-rtc 0 --adjust-system-clock