Skip to content

Instantly share code, notes, and snippets.

View h8d13's full-sized avatar
🐦
Cygn3 L3g0 😶‍🌫️

HADEON h8d13

🐦
Cygn3 L3g0 😶‍🌫️
  • Brussels, Belgium
  • 11:20 (UTC +02:00)
View GitHub Profile
@jake-b
jake-b / usb_hid_gadget.sh
Created May 7, 2020 14:12
Emulate both a keyboard and mouse using the USB
#!/bin/bash
# References:
# https://www.isticktoit.net/?p=1383
# http://irq5.io/2016/12/22/raspberry-pi-zero-as-multiple-usb-gadgets/
# After running this, use hid_gadget_test.c <https://github.com/aagallag/hid_gadget_test/blob/master/hid_gadget_test.c>
cd /sys/kernel/config/usb_gadget/
@calvince
calvince / .bashrc
Last active July 17, 2025 03:48
make ubuntu terminal look like parrot os terminal. use nano .bashrc from the terminal then replace older baashrc with the new parrot os bashrc
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
# If not running interactively, don't do anything
[ -z "$PS1" ] && return
# don't put duplicate lines in the history. See bash(1) for more options
# ... or force ignoredups and ignorespace
HISTCONTROL=ignoredups:ignorespace