Skip to content

Instantly share code, notes, and snippets.

@jmorvan
jmorvan / AwsDlInvoices.js
Created March 10, 2021 10:26
Amazon AWS dowload all invoices for selected period
//USE TO DOWNLOAD ALL INVOICES DISPLAYED ON SCREEN IN THE AWS CONSOLE BILLING SECTION
let jQ = window.jQuery
let downloadLink = invoiceName => `https://console.aws.amazon.com/billing/rest/v1.0/bill/invoice/download?invoicenumber=${invoiceName}&invoiceGroupId=${invoiceName}`
let downloadURL = function downloadURL(url, id){
const hiddenIFrameID = 'hiddenDownloader' + id
const iframe = document.createElement('iframe')
iframe.id = hiddenIFrameID
iframe.style.display = 'none'
@jmorvan
jmorvan / recovery.log
Created January 20, 2015 17:18
cm388 recovery.log
Starting recovery on Thu Jan 10 07:10:26 1980
framebuffer: fd 4 (480 x 800)
CWM-based Recovery v6.0.2.8
Starting recovery on Thu Jan 10 07:10:32 1980
framebuffer: fd 4 (480 x 800)
CWM-based Recovery v6.0.2.8
Starting recovery on Thu Jan 10 07:10:37 1980
framebuffer: fd 4 (480 x 800)
CWM-based Recovery v6.0.2.8
Starting recovery on Thu Jan 10 07:10:42 1980
@jmorvan
jmorvan / default.xml
Created January 20, 2015 16:21
Patched JB CWM default.xml repo manifest
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote name="aosp"
fetch="https://android.googlesource.com" />
<remote name="github"
fetch=".."
review="review.cyanogenmod.org" />