Skip to main content

Raymii.org Raymii.org Logo

Quis custodiet ipsos custodes?
Home | About | All pages | Cluster Status | RSS Feed

Snippets

DateItem
16-07-2024 18:30OpenSSL get entire certificate chain from a domain or loop over entire chain in file
11-07-2024 23:39Using nodeSelector to deploy a Kubernetes Helm chart only on x86/amd64 nodes, not arm64
22-02-2022Execute a script in a Yocto package on every image build
09-02-2022Log all Item properties and functions in Qml
09-02-2022Loop over all Repeater items or Delegate's in Qml
04-10-2021Render markdown in a Qt QML Text or TextEdit control
23-05-2021Exclude lines in less (or journalctl)
05-04-2021Run one specific clang-tidy check on your entire codebase
17-03-2021Record your Linux Desktop with ffmpeg and slop to any format
25-02-2021QT / QML Signals and Slots with C++
26-08-2020Get all SSH public keys from gitlab
25-08-2020Get number of incoming connections on specific port with ss
18-07-2020C++ Remove leading or trailing characters from std::string
07-11-2019std::string to lowercase or uppercase in C++
23-10-2019std::accumulate in C++
02-10-2019Send commands or input to a detached screen session
14-07-2019Bash bits: find has a -delete flag
12-07-2019Only zero is false, everything else is true in C++
25-06-2019connman operstate list
22-06-2019C++ template definitions in a .cpp file (instead of a header file)
17-06-2019C++ create and write to a CSV file with a variadic template
08-06-2019C++ variadic template recursive example
07-06-2019C++ create and write to a CSV file
23-05-2019Match dig 127.0.0.53 server with systemd-resolvd server
07-05-2019Bash Bits: Find all files containing specific text (and remove them)
06-05-2019Bash Bits: Randomize a cronjob to run between 00:00 and 06:00 hours
05-05-2019Bash Bits: Check if a program is installed
02-04-2019Where is dropbearconvert on Ubuntu?
26-02-2019Get a JSON value with bash and sed
17-10-2018Find files in tar archives and extract specific files from tar archives
03-09-2018tping - ping with a timestamp
23-07-2018Send email with multiple inline images via bash with a loop
19-04-2018Ansible - add apt_key inline
11-04-2018Synergy, no mouse cursor on Ubuntu 17.10
10-04-2018FreeIPA DNS workaround for DNS zone [...]. already exists in DNS and is handled by server(s):
04-03-2018haproxy: restrict specific URLs to specific IP addresses
09-04-2017Check HTTP status code for a page on all DNS records
05-03-2017Traceroute IPv6 to Smokeping Target config
25-09-2016Firefox History stats with Bash
23-09-2016Create /etc/shadow crypted password entries
08-09-2016Ansible - create playbooks and role file and folder structure
11-01-2016Deborphan cleanup until no more orphaned packages left
14-07-2015Find all services using libssl to restart after an OpenSSL update
04-01-2015Get all IP ranges from an AS number
31-12-2014pfSense allow web interface access on WAN from specific IP
29-12-2014Arch Linux AUR PKGBUILD generate new checksums
01-09-2014Get the current or all Firefox tab urls in Bash
06-07-2014CentOS 5 CA Certificate Bundle Update
28-06-2014Traceroute to Smokeping Target config
14-03-2014OS X: Remove all Apple Remote Dekstop settings
18-01-2014Remove unused CentOS/Red Hat kernels
30-12-2013Bash Bits: Simple command line arguments
15-12-2013Apache access/error log to syslog
12-12-2013haproxy: set specific ssl ciphers
11-12-2013haproxy: add strict transport security or any other http header
10-12-2013haproxy: ssl backends
09-12-2013haproxy: redirect to ssl or other website
02-11-2013Corosync Notes
28-10-2013Remove unused Ubuntu kernels
09-10-2013OpenSSL One liner to create self signed certificate
21-09-2013Bash Bits: Check if item is in array
18-09-2013Bash Bits: Add colour output to your script
15-09-2013Bash Bits: Debug Logging
14-09-2013Bash Bits: Trap Control C (SIGTERM)
03-09-2013OS X - Enable access for assistive devices via the command line
14-08-2013OpenVZ dnsmasq set capabilities failed fix
26-07-2013OpenSSL - Generate Psuedo Random Passwords
10-07-2013OS X: Disable Notification Center
27-06-2013Strip all non-ascii characters from a file
26-06-2013Bash Incremental History Search / Autocomplete
04-06-2013OS X - Turn Bonjour off or on via the command line
03-06-2013OS X - Turn off sleep from the command line
10-05-2013OS X: Turn firewall on or off from the command line
02-05-2013Join Mac OS X to an Active Directory / OpenDLAP directory from the commandline
13-04-2013HP ILO - Quickly gather ILO version and firmware information via CURL
13-03-2013NGINX: Hide / Block .git and .svn folders
13-03-2013NGINX: Catch all error codes
10-02-2013Systemd rosetta / cheatsheet
09-02-2013OpenSSL Generate CSR non-interactive
09-02-2013OpenSSL match certificate and private key
02-02-2013Munin - Fix MySQL plugin on Ubuntu 12.04 and Debian 6
31-01-2013Munin - Set up the NGINX status plugin on Ubuntu 12.04
28-01-2013Exploring /proc/ - tips and tricks for the procfs
23-01-2013Fix CentOS IPTables rule saving (iptables: Saving firewall rules to /etc/sysconfig/iptables: /etc/init.d/iptables: line 274: restorecon: command not found)
23-01-2013OpenSSL one liner to get expiry date from SSL Certificate of any website
05-12-2012Set OS X hostname from the commandline
06-09-2012Correctly grep and display the uptime, load average and amount of users
09-07-2012Postfix snippets - not finished
16-05-2012Bash - do something in every subdirectory
01-01-2012Some Bash and Arch Tweaks
14-09-2008Bash script for massive rename to numbers
08-07-2008Javascript tricks
15-06-2008Convert FLV's to MP3
03-02-2008Bash ja/nee keuze
29-11-2007Imagemagick thumbnailer
01-01-2007Vim Cheatsheet