- Encrypted root partition
- AES-256 bit cipher
- Argon2id variant for PBKDF
- Sha3-512 bit hash
- rEFInd bootloader
- With dreary theme
- Optimal Settings (optimized for aesthetics, and boot time)
- Boot into backups thanks to refind-btrfs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This example uses M2M-100 models converted to the CTranslate2 format. | |
# Download CTranslate2 models: | |
# • M2M-100 418M-parameter model: https://bit.ly/33fM1AO | |
# • M2M-100 1.2B-parameter model: https://bit.ly/3GYiaed | |
import ctranslate2 | |
import sentencepiece as spm | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pkg install pulseaudio | |
dir=$(pwd) | |
if grep -q "anonymous" ~/../usr/etc/pulse/default.pa | |
then | |
echo "module already present" | |
else | |
echo "load-module module-native-protocol-tcp auth-ip-acl=127.0.0.1 auth-anonymous=1" >> ~/../usr/etc/pulse/default.pa | |
fi | |
if grep -q "exit-idle" ~/../usr/etc/pulse/daemon.conf | |
then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<migrationMap> | |
<name value="1.13.2 to 1.14" /> | |
<description value="1.13.2 to 1.14 MCP changes" /> | |
<entry oldName="net.minecraft.GameVersion" newName="net.minecraft.util.MinecraftVersion" type="class" /> | |
<entry oldName="net.minecraft.advancements.AdvancementList.Listener" newName="net.minecraft.advancements.AdvancementList.IListener" type="class" /> | |
<entry oldName="net.minecraft.advancements.RequirementsStrategy" newName="net.minecraft.advancements.IRequirementsStrategy" type="class" /> | |
<entry oldName="net.minecraft.advancements.criterion.AbstractCriterionInstance" newName="net.minecraft.advancements.criterion.CriterionInstance" type="class" /> | |
<entry oldName="net.minecraft.block.Block.EnumOffsetType" newName="net.minecraft.block.Block.OffsetType" type="class" /> | |
<entry oldName="net.minecraft.block.BlockAbstractBanner" newName="net.minecraft.block.AbstractBannerBlock" type="class" /> |
This gist aims to facilitate the switching from bash
to zsh
as our defaut shell.
We will be using oh-my-zsh with the powerful theme: Powerlevel9k. You will find all the links below.
This process applies mainly for Arch Linux, but can be setup for any other distro (in theory :)).
I'm also using Gnome Terminal and pacaur as package manager.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
Replace existing standard gtag.js tracking-code with this | |
snippet in order to store the Client ID in localStorage and use this ID when present | |
converted for direct code implementation from Simo Ahava´s solution for GTM; see | |
https://www.simoahava.com/analytics/use-localstorage-client-id-persistence-google-analytics/ | |
for details | |
Client IDs will survive deletion of cookies by user or ITP 2.1 |
- Download Android SDK, NDK, system and kernel source code;
- Download modified lxc and libcap source code (ppoffiec/lxc-android, ppoffice/libcap-android)
- Build Android system from source first so that we can link to its shared library when we build lxc (or maybe we don't have to);
- Modify Android kernel config and make sure lxc-checkconfig does not report any missing features. Then build kernel;
- Modify Android
system/core/rootdir/init.rc
according toinit.rc.diff
. Make sure you mount all the cgroup subsystems needed (cpu, cpuacct, cpuset, memory, pids, devices, freezer, blkio) under/sys/fs/cgruop
, otherwise lxc won't find them; - Rebuilt the Android system image so that the modified init.rc is in the image;
- Fire up the emulator with custom kernel (
emulator -kernel kernel-file-path
) and use adb shell and dmesg to check if everything is doing ok.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//this requires being able to run at kernel mode and assumes you're using MSVC | |
//this also uses an unnamed structure for cr0_t, which is a nonstandard extension of the C language | |
//data structure for cr0 | |
typedef union _cr0_t | |
{ | |
struct | |
{ | |
uint64_t protection_enable : 1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
;;; | |
;;; Copyright (C), zznop, brandonkmiller@protonmail.com | |
;;; | |
;;; This software may be modified and distributed under the terms | |
;;; of the MIT license. See the LICENSE file for details. | |
;;; | |
;;; DESCRIPTION | |
;;; | |
;;; This PoC shellcode is meant to be compiled as a blob and prepended to a ELF |
# Choose 11025Hz for the intermediate IF/audio frequency
airspyhf_rx -f 144.66 -a 768000 -r stdout | \
csdr fir_decimate_cc 69.65986394557823129252 0.005 HAMMING | \
csdr fmdemod_quadri_cf | csdr limit_ff 0.5 | csdr deemphasis_nfm_ff 11025 | \
csdr fastagc_ff | csdr limit_ff 0.5 | csdr convert_f_s16 | \
/usr/local/bin/direwolf -c ~/bin/sdr-1200bps.conf -t 0 -T "%FT%TZ" -r 11025 -D 1 -B 1200 -
NewerOlder