Skip to content

Instantly share code, notes, and snippets.

View gonza7aav's full-sized avatar

Aguirre Gonzalo Adolfo gonza7aav

  • Corrientes, Argentina
View GitHub Profile
@gonza7aav
gonza7aav / GoogleSportsCalendar.js
Created July 14, 2024 06:05
This will create a calendar button for matches in "more matches" google result
// ==UserScript==
// @name Google Sports Calendar
// @version 1.0.0
// @author gonza7aav
// @match https://www.google.com/*
// @grant none
// @run-at context-menu
// ==/UserScript==
(function() {
@gonza7aav
gonza7aav / exportAPK.sh
Created August 23, 2021 22:46
Exports the apk of the app entered
#!/usr/bin/bash
# USAGE: ./exportAPK appname
# get the list of packages | filter by the appname
APK_PATH=$(adb shell pm list packages -f | grep -o /data/app/.*$1.*base\.apk)
# transfer the apk file to the running folder
adb pull '.'$APK_PATH $1'.apk'
# kill the adb server
@gonza7aav
gonza7aav / SteamGiftsEnhancer.user.js
Last active July 11, 2021 23:19
This will remove the giveaways already entered in Steam Gifts
// ==UserScript==
// @name Steam Gifts Enhancer
// @description This will remove the giveaways already entered in Steam Gifts
// @version 1.0.2
// @author gonza7aav
// @match https://www.steamgifts.com/
// @match https://www.steamgifts.com/giveaways/
// @match https://www.steamgifts.com/giveaways/search?*
// @grant none
// @run-at context-menu
@gonza7aav
gonza7aav / SteamCardExchangeEnhancer.user.js
Last active July 14, 2024 06:01
This will add the column 'Price per Badge' to Inventory Watchlist in Steam Card Exchange
// ==UserScript==
// @name Steam Card Exchange Enhancer
// @description This will add the column 'Price per Badge' to Inventory Watchlist in Steam Card Exchange
// @version 2.0.5
// @author gonza7aav
// @match https://www.steamcardexchange.net/index.php?userlist
// @grant none
// @run-at context-menu
// @icon https://www.steamcardexchange.net/include/design/img/favicon_blue_small.png
// ==/UserScript==
@gonza7aav
gonza7aav / java-encapsulation-snippet.json
Last active August 23, 2021 22:20
A VS Code snippet to create the getters and setters for a variable
"Encapsulation principle": {
"prefix": ["encapsulation", "getter", "setter", "private"],
"body": [
"private ${1:type} ${2:variable};",
"",
"private void ${2/(.*)/set${1:/capitalize}/} (${1:type} _${2:variable}) {",
"\tthis.${2:variable} = _${2:variable};",
"}",
"",
"public ${1:type} ${2/(.*)/get${1:/capitalize}/} () {",
@gonza7aav
gonza7aav / netflix-list-exporter.js
Created May 1, 2021 08:46
Netflix | This will download your list as a JSON file
/*
Netflix - List Exporter
This will download your list as a JSON file
*/
/*
🚀 Usage
1. Go to Netflix
2. Go to your List
3. Open the browser console