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
#!/bin/bash | |
DIR=~/workspaces/kicad | |
REPOS=('symbols' 'footprints' '3dmodels') | |
for i in "${REPOS[@]}" | |
do | |
echo git -C $DIR/$i "$@" | |
git -C $DIR/$i "$@" |
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 is intended to be copied and pasted to a console, not executed as a script... for now. | |
# Install some stuff, I use yay, you may use something else | |
sudo pacman -S keepassxc rclone curl | |
mkdir -p ~/.local/bin | |
mkdir -p ~/.local/lib/private | |
chmod 0700 ~/.local/lib/private | |
# CREATE YOUR KEEPASSXC BASE IN ~/.local/lib/private/ |
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
# I use yay package manager on Arch | |
# This also assumes you have a Docker environment already setup | |
yay -S metasploit ruby-irb rubygems ruby-bundler | |
docker run --name postgres-metasploit -d -p 5432:5432 -e POSTGRES_PASSWORD=mysuperpassword postgres:alpine | |
msfdb --connection-string=postgresql://postgres:mysuperpassword@localhost:5432/postgres reinit --component database |
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
#!/bin/sh | |
git init | |
cat << EOF | tee .gitignore | |
# For PCBs designed using KiCad: http://www.kicad-pcb.org/ | |
# Format documentation: http://kicad-pcb.org/help/file-formats/ | |
# Temporary files | |
*.000 |
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
[bluetooth]# connect 94:54:93:4E:76:4E | |
Attempting to connect to 94:54:93:4E:76:4E | |
[CHG] Device 94:54:93:4E:76:4E Connected: yes | |
Connection successful | |
[CHG] Device 63:AD:14:BC:B4:C4 RSSI: -72 | |
[CHG] Device 63:AD:14:BC:B4:C4 ManufacturerData Key: 0x004c | |
[CHG] Device 63:AD:14:BC:B4:C4 ManufacturerData Value: | |
01 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ | |
00 . | |
[NEW] Primary Service (Handle 0xe7ce) |
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
Login to the machine and run the following commands. | |
# sudo su | |
# mysql | |
You will now be within the MySQL client. Issue the following commands. | |
> CREATE DATABASE <DATABASE_NAME>; | |
> GRANT ALL PRIVILEGES ON <DATABASE_NAME>.* TO '<DATABASE_USERNAME>'@'localhost' IDENTIFIED BY '<DATABASE_PASSWORD>'; |
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
<# | |
.SYNOPSIS | |
Removing Built-in apps from Windows 10 | |
.DESCRIPTION | |
Removing Built-in apps from Windows 10 | |
.PARAMETER | |
PathtoWim - Full path to .wim file. | |
selectapps - activates the selection function | |
index - allows the selection of an index. Default value is 1. | |
.EXAMPLE |
NewerOlder