Skip to content

Instantly share code, notes, and snippets.

View andronedev's full-sized avatar
:shipit:
I may be slow to respond.

Nicolas andronedev

:shipit:
I may be slow to respond.
View GitHub Profile
@andronedev
andronedev / ha-termux-install.sh
Last active July 27, 2024 15:58
TERMUX HOME ASSISTANT INSTALL
#!/data/data/com.termux/files/usr/bin/bash
set -e
# Couleurs pour les messages
RED='\033[0;31m'
GREEN='\033[0;32m'
YELLOW='\033[1;33m'
NC='\033[0m'
@echo off
setlocal
:: Demande le mot de passe MySQL root
set /p MYSQL_ROOT_PASSWORD=Entrez le mot de passe MySQL root:
:: Met à jour Chocolatey et installe les dépendances
choco upgrade chocolatey -y
choco install git -y
choco install php -y
@andronedev
andronedev / delete_github_artifacts.sh
Last active April 22, 2024 17:05
GitHub Artifact Cleaner
#!/bin/bash
# Basic Documentation
cat << EOF
GitHub Artifact Cleaner
-----------------------
This script deletes all artifacts from a specified GitHub repository.
USAGE:
1. Ensure that the provided GitHub token has the necessary permissions to access the artifacts.
@andronedev
andronedev / hidegpt.user.js
Last active February 2, 2024 15:26
[AI HIDE] Easily hide chatgpt, bard, Gemini PRO, Claude.ai at school
// ==UserScript==
// @name [CHATGPT] Easily hide chatgpt at school
// @namespace http://tampermonkey.net/
// @version 1.2
// @description Change title and favicon of OpenAI Chat website
// @author @andronedev & @kckmdev
// @match https://chat.openai.com/*
// @match https://claude.ai/*
// @match https://bard.google.com/*
// @grant none
@andronedev
andronedev / install-discord.bash
Last active June 22, 2022 17:25 — forked from lnoering/install-discord.bash
Install discord (for the .tar.gz)
#!/usr/bin/env bash
cd ~/
mkdir -p ~/.local/bin
wget "https://discord.com/api/download/stable?platform=linux&format=tar.gz" -O discord.tar.gz
tar -xvf discord.tar.gz -C ~/.local/bin
sudo ln -s ~/.local/bin/DiscordCanary/discord.png /usr/share/icons/discord.png
sudo ln -s ~/.local/bin/DiscordCanary/DiscordCanary /usr/bin
wget https://gist.githubusercontent.com/AdrianKoshka/a12ca0bfe2f334a9f208aff72f8738c3/raw/9d606ad7ce7cc1dd23f6a99993e2396540538a02/discord.desktop -O discord.desktop
mkdir -p ~/.local/share/applications/
mv ~/discord.desktop ~/.local/share/applications/
@andronedev
andronedev / main.py
Last active March 14, 2022 18:48
VANCED SCRAPPER
import requests
import json
import os
import sys
androidVariants = ["armv7", "armv8", "x86", "x86_64", "arm64_v8a", "x86_64_aarch64"]
languages = ["fr", "en", "de", "es","it", "nl", "pl", "pt", "ru", "sv", "tr", "uk"]
themes = ["black", "dark"]
roots = ["root", "nonroot"]
@andronedev
andronedev / install_openjdk11.sh
Last active October 5, 2021 20:54 — forked from babjo/install_openjdk11.sh
A script to install openjdk11 with curl
curl https://download.java.net/java/ga/jdk11/openjdk-11_osx-x64_bin.tar.gz \
| tar -xz \
&& mv jdk-11.jdk java
[ { id: "CREATE_INSTANT_INVITE", desc: "Permet de créer des invitations instantanées" },
{ id: "KICK_MEMBERS", desc: "Permet de kicker les membres" },
{ id: "BAN_MEMBERS", desc: "Permet de bannir des membres" },
{ id: "ADMINISTRATOR", desc: "Permet toutes les permissions et contourne les écrasements de permissions des canaux" },
{ id: "MANAGE_CHANNELS", desc: "Permet la gestion et l'édition des canaux" },
{ id: "MANAGE_GUILD", desc: "Permet la gestion et l'édition de la guilde" },
{ id: "READ_MESSAGES", desc: "Permet de lire les messages sur un canal. Le canal n'apparaîtra pas pour les utilisateurs sans cette autorisation" },
{ id: "SEND_MESSAGES", desc: "Permet d'envoyer des messages dans un canal." },
{ id: "SEND_TTS_MESSAGES", desc: "Permet d'envoyer des messages /tts" },
{ id: "MANAGE_MESSAGES", desc: "Permet de supprimer les messages des autres utilisateurs" },
[
[
{
"id": 1,
"type": "dev",
"joke": "Les filles c'est comme les noms de domaine.",
"answer": "Celles que j'aime sont déjà prises."
},
{
"id": 2,
[ "$UID" -eq 0 ] || exec sudo "$0" "$@"
su
apt install unzip curl ; rm -rf /tmp/acun*
apt install libxdamage1 libgtk-3-0 libasound2 libnss3 libxss1 libx11-xcb1 -y
cd /tmp; rm master.zip -f
curl -L -o master.zip http://github.com/neolead/acunetix-linux/zipball/master/
unzip master.zip
cd `ls|grep neolead` && cat acupatch* > acupatch.tgz
tar -zxvf acupatch.tgz
chmod +x ./acunetix_trial.sh