Skip to content

Instantly share code, notes, and snippets.

View Auax's full-sized avatar
🌎
Around da world

Auax Auax

🌎
Around da world
View GitHub Profile
@Auax
Auax / tauri_icon_gen.py
Created July 25, 2022 20:28
Automatically generate all different icons from a base image for a Tauri Application. It also creates the .ico and .icns files for both Windows and macOS.
"""
Generate icons for a Tauri Application
----------------------
By Ibai Farina
For correct functionality, the base logo should be 512x512 or larger (keeping the aspect ratio).
"""
__title__ = 'Tauri Icon Generator'
__author__ = 'Ibai Farina'
__license__ = 'MIT'
@Auax
Auax / AsyncRequests.py
Created April 24, 2022 19:27
Base File to send AIOHTTP Asynchronus requests using Python 3
import asyncio
import json
import time
from pystyle import Colors, Colorate
from typing import Dict, Any, List, Tuple
from aiohttp import ClientSession
from yarl import URL
@Auax
Auax / blinklearning-hack-searchbar-version.js
Last active May 31, 2023 18:33
Blinklearning hack for browsers with neither the console enabled nor extensions.
/* Weird code to access the iframe and its variables as this code
is intended to run in the 'javascript:' context in the search bar.
Used in Chromebook with both dev console and extensions blocked :) */
function run_() {
/* Get iframe's document and window (to access the variables of its context) */
const iframe_ = document.getElementById("class_iframe");
const iWindow = iframe_.contentWindow;
const iDocument = iWindow.document;
/* Get all correction buttons */
let els = iDocument.querySelectorAll(".js-correct, .js-save");
@Auax
Auax / assault_cube_memory.go
Created January 22, 2022 00:40
Change Assault Cube's rifle ammo using this simple external script. Although this is a simple demonstration, it can be freely used.
// ASSAULT CUBE Go external cheat.
// The objective of this script is to show how to perform operations such as writing / reading the memory of a process.
// With this script, you can change the rifle ammo inside the game.
// You can set the ammo's value, ammo's address offset, and more inside the main() function.
// Note: The window must be windowed for this to work.
// BY AUAX 2006
package main
import (