Skip to content

Instantly share code, notes, and snippets.

@bruteforks
bruteforks / aws-nuke.sh
Created July 9, 2024 16:59
Shell script for dotfiles to download latest aws-nuke from github and make executable - A tool to nuke all AWS resources in your account
#!/usr/bin/env bash
# Set the target directory
TARGET_DIR="$HOME/.local/bin"
# Fetch the latest release version
latest_version=$(curl -s https://api.github.com/repos/rebuy-de/aws-nuke/releases/latest | grep -oP '"tag_name": "\K(.*)(?=")')
# Remove the 'v' prefix from the version number
version=${latest_version#v}
@bruteforks
bruteforks / aws-vault.sh
Created June 20, 2024 16:15
Install latest aws-vault script
# Download the latest aws-vault binary for Linux AMD64
curl -SL "https://github.com/99designs/aws-vault/releases/latest/download/aws-vault-linux-amd64" -o aws-vault
# Move the binary to /usr/bin
sudo mv aws-vault /usr/bin/aws-vault
# Make it executable
chmod +x /usr/bin/aws-vault
@bruteforks
bruteforks / LyraExperienceDefinition.h
Last active January 31, 2024 22:55
Unreal engine 5.3.2 Lyra Different AI Pawns
// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "Engine/DataAsset.h"
#include "LyraExperienceDefinition.generated.h"
class UGameFeatureAction;
class ULyraPawnData;
class ULyraExperienceActionSet;
@bruteforks
bruteforks / Mixamo.js
Created January 22, 2024 07:29 — forked from gnuton/Mixamo.js
Script which downloads all mixamo animations for one character.
// Mixamo Animation downloadeer
//
// Author: Antonio Aloisio <gnuton@gnuton.org>
// Contributions: kriNon
//
// The following script make use of mixamo2 API to download all anims for a single character that you choose.
// The animations are saved with descriptive long names instead of the short ones used by default by mixamo UI.
//
// This script has been written by gnuton@gnuton.org and the author is not responsible of its usage
//
# GIT heart FZF
# -------------
is_in_git_repo() {
git rev-parse HEAD > /dev/null 2>&1
}
fzf-down() {
fzf --height 50% --min-height 20 --border --bind ctrl-/:toggle-preview "$@"
}
@bruteforks
bruteforks / Vagrantfile for Fedora 31 and Python 3.8
Created June 6, 2023 06:45 — forked from ospatil/Vagrantfile for Fedora 31 and Python 3.8
Vagrant configuration for Fedora 31 and Python 3.8
# -*- mode: ruby -*-
# vi: set ft=ruby :
# All Vagrant configuration is done below. The "2" in Vagrant.configure
# configures the configuration version (we support older styles for
# backwards compatibility). Please don't change it unless you know what
# you're doing.
Vagrant.configure("2") do |config|
# The most common configuration options are documented and commented below.
# For a complete reference, please see the online documentation at
@bruteforks
bruteforks / atomic_habits.md
Created January 27, 2023 18:18 — forked from saikocat/atomic_habits.md
[Advice] Summary of Atomic Habits
@bruteforks
bruteforks / lynx dump vim - -c.txt
Created January 26, 2023 15:42
dump html and pipe into vim to edit all the links from a website
lynx --dump https://www.reddit.com | vim - -c 'v%https\?://%d'