rtfd/in/tasks.rst

150 lines
5.1 KiB
ReStructuredText
Raw Normal View History

2017-12-02 23:02:37 +01:00
Tasks
2018-07-12 06:56:42 +02:00
=====
2017-12-03 00:36:11 +01:00
2017-12-05 23:44:10 +01:00
* latest
2019-08-24 16:45:09 +02:00
* tty size → setfont (/usr/share/consolefonts/\*.psf.gz)
2019-07-15 12:53:23 +02:00
* vcard spec
2019-05-20 10:52:48 +02:00
* chntpw / reged -e
2019-05-20 00:57:55 +02:00
* chvt
2019-05-13 16:37:22 +02:00
* gpg edit change-usage (hidden)
2019-05-12 20:00:09 +02:00
* qrencode -l L -m 1 -s 8 -t PNG -o pgp.png 'openpgp4fpr:FFIINNGGEERRPPRRIINNTT'
2019-05-08 12:57:03 +02:00
* pdftk in.pdf background bg.pdf output out.pdf compress
* JFIF removal in background PDF files
* ghostscript -o in.img.pdf -sDEVICE=pdfwrite -dFILTERTEXT -dFILTERVECTOR in.pdf
* ghostscript -o in.tav.pdf -sDEVICE=pdfwrite -dFILTERIMAGE in.pdf
2019-05-05 22:02:15 +02:00
* chromium --ppapi-flash-path=/path/to/libpepflashplayer.so --ppapi-flash-version=32.0.0.171
2019-05-04 13:44:56 +02:00
* git commit -S, tag -s, user.signingKey
2019-04-14 17:52:24 +02:00
* youtube-dl -f bestvideo+bestaudio --all-subs --merge-output-format mkv url
2019-01-14 10:42:26 +01:00
* grub: have a root menu in grub.cfg, otherwise escape sends to CLI
2018-12-22 01:29:02 +01:00
* parted: print free, unit MB
2018-12-11 21:16:28 +01:00
* pass
2018-12-11 11:47:14 +01:00
* DNS override /etc/NetworkManager/NetworkManager.conf [main] dns=none
2018-12-10 08:22:12 +01:00
* firefox ~/.mozilla/plugins ← libflashplayer.so
2018-12-10 08:24:22 +01:00
* /etc/sysctl.conf net.ipv4.ip_forward=1 | /proc/sys/net/ipv4/ip_forward
* /etc/network/interfaces → up command args…
2018-11-20 15:46:40 +01:00
* lxc private network: reach out
* iptables -t nat -A POSTROUTING -o br0 -s 10.0.0.0/8 -j MASQUERADE
2018-11-20 16:09:18 +01:00
* lxc private network: get in
2018-12-04 16:25:07 +01:00
* iptables -t nat -A PREROUTING -i br0 -p tcp --dport 2211 -j DNAT --to 10.0.1.1:22
2018-11-04 23:08:13 +01:00
* hexdump -C -v file_path
2018-11-03 13:36:15 +01:00
* qemu-system avoid junk like floppy: -nodefaults -vga virtio
2018-11-02 11:21:05 +01:00
* xtra.squashfs empty media/data ← lib/live/mount/medium + data auto fstab
2018-11-02 11:08:34 +01:00
* grub-bios-setup not functionin with boot.img in an overlay fs
2018-09-24 23:12:13 +02:00
* qemu-system-x86_64 -initrd initrd.img -kernel vmlinuz -append root=/dev/sda1
2018-09-22 19:29:59 +02:00
* adduser user kvm for -enable-kvm
2018-09-21 00:09:16 +02:00
* qemu-img convert -p -O format input.ext output.ext
* qemu-img create -f format -o ?
* qemu-img create -f format name.ext [size]
* qemu-img info name.ext
* modprobe nbd
* qemu-nbd -c /dev/nbd? name.ext
* qemu-nbd -d /dev/nbd?
2018-09-24 23:06:53 +02:00
* qemu-system-x86_64 -enable-kvm -display sdl -m 2048 -drive file=name.ext,if=virtio
2018-09-12 00:21:37 +02:00
* sys: firmware-{misc-nonfree,netxen,realtek}
2018-08-31 23:01:21 +02:00
* catimg
2018-08-20 23:48:19 +02:00
* mount -t overlay overlay -o lowerdir=squashmount,upperdir=rwdir,workdir=emptydir squashfs-root
2018-08-13 21:03:18 +02:00
* optipng
2018-08-10 20:19:39 +02:00
* grub/efi: no biosdisk or ntldr
* chromium as alternate browser
2018-08-05 04:17:58 +02:00
* ['sphinx.ext.graphviz'] ⋅ graphviz_output_format = 'svg'
2018-08-04 01:02:43 +02:00
* remove users' .bashrc files
2018-08-04 00:57:27 +02:00
* deb [arch=amd64,i386] → /etc/apt/sources.list
2018-08-04 00:48:24 +02:00
* /etc/localtime -> /usr/share/zoneinfo/Europe/Paris
* /etc/timezone ← Europe/Paris
2018-08-04 00:41:28 +02:00
* /usr/local/share/ca-certificates ⇒ update-ca-certificates
2018-07-28 02:43:58 +02:00
* debian: buster/updates signed with archive-7 key
2018-07-28 02:38:11 +02:00
* .git/config ← receive.denyCurrentBranch = updateInsted
2018-07-15 22:26:27 +02:00
* python3: mutables persistent as constructors default
2018-07-14 20:48:54 +02:00
* atop, jq, netcat
2018-07-12 23:09:05 +02:00
* dependencies: readelf → ldd
2018-07-12 06:56:00 +02:00
* DebFromScratch: tasks
* /etc/dhcp/dhclient.conf no overwrite resolv.conf
2018-06-15 14:10:43 +02:00
* Dir::Etc::sourceparts "";
2018-06-15 14:07:38 +02:00
* Acquire::Check-Valid-Unitl false;
* APT::Install-Recommends "false";
2018-06-15 14:10:43 +02:00
* APT::Install-Suggests "false";
2018-06-15 14:07:38 +02:00
* debootstrap: minbase
* debootstrap: umount machine-id afterwards
* machine-id: /etc empty ⋅ /var/lib/dbus useless
2018-06-13 11:41:40 +02:00
* DEBIAN_FRONTEND="noninteractive" for apt install
2018-06-12 21:51:49 +00:00
* console-setup -> /etc/default/keyboard
* console-data -> loadkeys fr
2018-06-05 20:32:24 +02:00
* org.gnome.desktop.media-handling.autorun-never true
* org.gnome.desktop.interface.text-scaling-factor 1.5
2018-05-29 18:36:30 +02:00
* AppArmor/lxc? lxc.aa_profile = unconfined
2018-05-31 22:05:07 +02:00
* graphviz
2018-05-31 21:05:21 +02:00
* tig
* upx-ucl
2018-05-29 22:09:35 +02:00
* ?/vmlinuz apparmor=0 (KO backports profiles)
2018-05-29 05:17:17 +02:00
* LD_LIBRARY_PATH=path/to/libs path/to/executable
* upx --best executable
* nuitka --portable --python-version=3.5 --remove-output --show-progress --show-modules main.py
2018-06-06 17:56:55 +02:00
* bpython3
2017-12-05 23:44:10 +01:00
* sphinx configuration
* __git_complete gco _git_checkout
* git LFS
* apt-mirror
* DEBIAN_FRONTEND=noninteractive for keyboard-configuration interactive prompt
2017-12-06 21:11:30 +01:00
* sudo, sudoers
* sqlite
* umask
* node, process.umask(2)
2017-12-05 23:44:10 +01:00
* critical
* ~/.config/gtk-3.0 → bookmarks ⋅ settings.ini
* dbus-run-session -- gsettings set key value
* gsettings get key
* linux: ram merges live-media-path's squashfs files but not fully in RAM
* linux: toram=xxx.squashfs
* ram disk size argument
* panic kernel argument for seconds to automatically reboot
* ! manual build of live-boot system's initrd.img after kernel upgrade
* /etc/skel
* auto-update if firefox archive in ~/.local
* ? systemd-sysv ↔ linux-image-amd64 ↔ live-boot
* ! GUI keyboard-configuration /etc/default/keyboard
* reference missing mkdocs strict option
* apt-transport-https
* dhcpcd
* handle upstream GPG public keys
* check authenticity mirrors with GPG
2017-12-05 23:50:49 +01:00
* lxc-create packages
* ${init}
* ifupdown
* locales
* dialog
* isc-dhcp-client
* netbase
* net-tools
* iproute
* openssh-server
2017-12-05 23:44:10 +01:00
* extra
2018-04-16 00:34:39 +02:00
* json.load(f, object_pairs_hook=collections.OrderedDict)
2018-04-13 22:40:13 +02:00
* tty screenshot → sudo fbcat > name.ppm
2018-04-10 19:21:09 +02:00
* consoleblank=0 / setterm --blank 0
2017-12-05 23:44:10 +01:00
* on-the-fly LibreOffice documents conversion
* send emails as own domain name's alias
* personal GPG key signature
Name resolution
2018-07-12 06:56:42 +02:00
---------------
2017-12-05 23:44:10 +01:00
* /etc/hosts
::
127.0.0.1 localhost
::1 localhost