Skip to content

Instantly share code, notes, and snippets.

View CrashAngelArts's full-sized avatar

Crash Angel Arts CrashAngelArts

  • Brazil, São Paulo / SP
View GitHub Profile
#!/usr/bin/env bash
# --- CORES ---
RED='\033[0;31m'
GREEN='\033[0;32m'
BLUE='\033[0;34m'
PURPLE='\033[0;35m'
CYAN='\033[0;36m'
YELLOW='\033[1;33m'
NC='\033[0m' # No Color
@CrashAngelArts
CrashAngelArts / archinstall.sh
Last active January 11, 2026 00:55
ArchLinux (Install Minimal)
#!/bin/bash
Init()
{
loadkeys br-abnt2
}
Network_Config()
{
#!/bin/bash
loadkeys br-abnt2
INTERFACE="wlan0"
REDE="CurvaDeRio"
SENHA=""
cp nftables.conf /etc
systemctl enable nftables --now
nft -f /etc/nftables.conf
#!/bin/bash
Applications(){
apt -y install lolcat figlet python3-pip git gh cmatrix tmux zsh tealdeer zoxide delta cava cargo wget curl
}
TMUX(){
cd
git clone https://github.com/gpakosz/.tmux.git
ln -s -f .tmux/.tmux.conf
#!/bin/bash
# Verifica se um diretório foi fornecido como argumento
if [ $# -eq 0 ]; then
echo "Uso: $0 <diretorio>"
exit 1
fi
# Diretório de entrada
diretorio="$1"
# Loop para percorrer todos os arquivos e subdiretórios
find "$diretorio" -type f -name "*.ANS" -print0 | while IFS= read -r -d $'\0' arquivo; do
#!/bin/bash
ANSI_MOTD_ART_DIR="${XDG_CONFIG_HOME:-$HOME/.config}/ansimotd"
if [ ! -d "$ANSI_MOTD_ART_DIR" ]; then
mkdir -p "$ANSI_MOTD_ART_DIR"
fi
import os
import random
import string
from tqdm import tqdm import subprocess
import sys
def generate_random_name(length=4):
return ''.join(random.choices(string.ascii_lowercase, k=length))
def get_all_files_and_dirs(directory):
#include "CoreMinimal.h"
#include "GameFramework/Actor.h"
#include "Blueprint/BlueprintStruct.h"
#include "Blueprint/Blueprint.h"
int main()
{
// Criar um novo Blueprint
TSharedPtr<Blueprint> MyBlueprint = MakeShareable(new Blueprint());
@CrashAngelArts
CrashAngelArts / Thow_Phrases_Similarity.py
Created May 14, 2024 22:44
Compare Thow Phrases Similarity
import os
from git import Repo
from langchain_community.document_loaders.generic import GenericLoader
from langchain_community.document_loaders.parsers import LanguageParser
from langchain_text_splitters import Language
from qdrant_client import models, QdrantClient
import numpy as np
import torch
from sentence_transformers import SentenceTransformer
@CrashAngelArts
CrashAngelArts / build tor static library
Created May 11, 2024 22:43
build tor as library static
https://github.com/cretz/tor-static
users who realize that INSTALL files still exist should simply
follow the directions at
https://www.torproject.org/docs/tor-doc-unix
If you got the source from git, run "./autogen.sh", which will