Skip to content

Instantly share code, notes, and snippets.

View MaikeMota's full-sized avatar
🏠
Working from home

Maike Mota MaikeMota

🏠
Working from home
View GitHub Profile
@MaikeMota
MaikeMota / osmc-java-jdownloader-installer.sh
Created April 8, 2020 19:01 — forked from atiris/osmc-java-jdownloader-installer.sh
Wizard to install the current version of JDownloader (jdownloader.org) on raspberry pi (running osmc or another linux). You can install (together or individually) latest java for RPI, download and install headless JDownloader (my.jdownloader.org) and create service to start JDownloader after boot and restart automatically after crash.
#!/bin/bash
# Script: osmc-java-jdownloader-installer.sh
# Author: Jozef Pažin
# Description: Wizard to install the current version of java and/or jdownloader on raspberry pi running osmc.
# License: MIT | use arbitrarily, attribution is not required
# How to run:
# - Check if this code is correct first because this script need to be run under root and run gist
# from web is not recommended in terms of security only that you know exactly what it does. Check it:
# curl -Ls https://gist.github.com/atiris/34dc670264274b3a472f2a718e4de83a/raw | nano -
@MaikeMota
MaikeMota / DownloadBills.js
Created August 28, 2018 17:27
Nubank Bills Download
let billsToCSV = [];
document.querySelectorAll('[ng-click]').forEach((item, i)=> {
let text = item.textContent;
if(text !== undefined && text.indexOf("Exportar para CSV") > 0){
billsToCSV.push(item);
}
});
billsToCSV.forEach((item, index) => {
setTimeout(()=>{
item.click();