- Docker inserts iptables rules when it's started by default
- buster uses nftables by default
- let's make Docker use nftables instead
- PROFIT
Install Docker CE and nftables:
# For recent versions of Ubuntu: | |
- https://www.pugetsystems.com/labs/hpc/ubuntu-22-04-server-autoinstall-iso/ | |
# Docs: | |
- https://wiki.ubuntu.com/FoundationsTeam/AutomatedServerInstalls | |
- https://wiki.ubuntu.com/FoundationsTeam/AutomatedServerInstalls/ConfigReference | |
- https://cloudinit.readthedocs.io/en/latest/topics/datasources/nocloud.html | |
- https://discourse.ubuntu.com/t/please-test-autoinstalls-for-20-04/15250/53 | |
# Download ISO Installer: |
#!/bin/bash | |
######################################################## | |
# | |
# ## i3_maximize.sh ## | |
# | |
# Implements maximization of a window in i3. | |
# Swaps the focused container into a new workspace and | |
# and restores it when run again. | |
# |
Originally from: https://raw.githubusercontent.com/systemik/pwnagotchi-bt-tether/master/GPS-via-PAW | |
Systemik made the original code and shaynemk on the pwnagotchi boards added timestamps, altitude, and satellites to the code | |
You can follow the original guide if you want, this one is just using a bit different code and is typed out a bit better | |
This is just the android part of the whole guide but the rest can be found here https://community.pwnagotchi.ai/t/setting-up-paw-gps-on-android | |
And just so everyone knows, me (Arttumiro) didnt do anything coding related at all, i just changed up the guide a bit and made it easier to follow. | |
====================================================================================== | |
Site of the app I use : http://paw-android.fun2code.de (It needs a lot of permissions but it will not do anything automatically) | |
Dont worry about incompatibility warnings, the gps code should still work even with that. |
Install Docker CE and nftables:
# MOVED HERE https://gist.github.com/dysinger/2a768db5b6e3b729ec898d7d4208add3 |
#!/bin/bash | |
# start vault | |
VAULT_UI=true vault server -dev -dev-root-token-id=root -dev-listen-address=127.0.0.1:8200 | |
# login as root - DO NOT DO THIS IN PRODUCTION | |
vault login root | |
# write some secrets | |
vault kv put secret/test color=blue number=eleventeen |
# Query current usage for runtime, kubelet and pods | |
curl -s http://localhost:10255/stats/summary | jq .node.systemContainers | |
# Quick scan of the cgroup paths to see what does exist | |
ls -ld /sys/fs/cgroup/**/podruntime.slice | |
ls -ld /sys/fs/cgroup/**/system.slice | |
# Validate what cgroup a single process uses | |
cat /proc/$(pidof kubelet)/cgroup |
As the Ghidra open source community is growing, trying to document the new projects around Ghidra. Feel free to fork the gist and propose improvements.
This only works if Wire was built with disabled ASAR packaging (see #335 and #147). Right now only Linux app is being built in this way, so if you are on Linux, you can proceed with the steps below, if not — adapt Gruntfile.js
, set asar: false
and compile Wire from sources.
Let's suppose Wire is installed in $INSTALLDIR
, on my Linux it is /usr/lib/wire-desktop/
.
Create a new file $INSTALLDIR/css/dark-theme.css
with the contents below.
Open in text editor $INSTALLDIR/dist/main.js
, and after line 321: case 'webview':
add this:
contents.on('dom-ready', () => {
contents.insertCSS(fs.readFileSync(path.join(APP_PATH, 'css', 'dark-theme.css'), 'utf8'))