Skip to content

Instantly share code, notes, and snippets.

View jlcarruda's full-sized avatar
:shipit:
Focusing

GG jlcarruda

:shipit:
Focusing
View GitHub Profile
@jlcarruda
jlcarruda / .wslconfig
Last active December 26, 2023 21:55
Build a custom Kernel for WSL2 for module load
[wsl2]
kernel=C:\\Users\\WIN10_USER\\bzimage
@jlcarruda
jlcarruda / arch-qtile-install.sh
Created August 8, 2023 01:12
giga-arch-qtile installer
git clone https://github.com/jlcarruda/giga-arch-qtile ~/.ricing && ~/.ricing/installer.sh
@jlcarruda
jlcarruda / check-tmux-docker.sh
Created May 17, 2023 14:11
Check if tmux and docker service is running
MAIN_TMUX_SESSION="$(tmux ls | awk '{print substr($1, 1, length($1)-1)}')"
if [[ -z $MAIN_TMUX_SESSION ]] then
/usr/bin/tmux new-session -s main;
#else
# /usr/bin/tmux attach -t main;
fi
# Check if docker service is running
IS_DOCKER_RUNNING="$(service docker status | grep 'Docker is running')"
if [[ -z $IS_DOCKER_RUNNING ]]; then
set-option -sa terminal-overrides ",xterm*:Tc"
########## Common configs ############
unbind C-b
set -g prefix C-a
bind C-a send-prefix
setw -g mode-keys vi
setw -g mouse on
setw -g monitor-activity on
# Links to download linux headers when make command fails
# https://http.kali.org/kali/pool/main/l/linux/ (linux-headers and common)
# https://kali.download/kali/pool/main/l/linux/ (linux kbuild)
# Credits: https://www.hackster.io/thatiotguy/enable-monitor-mode-in-tp-link-tl-wn722n-v2-v3-128fc6
# Tested on Kali Linux 2022.3
# Commands used to Setup the Adapter from aircrack repository
apt update
apt install bc -y
rmmod r8188eu.ko