Skip to content

Instantly share code, notes, and snippets.

View ppcamp's full-sized avatar

Pedro Augusto Campos Dos Santos ppcamp

View GitHub Profile
@ppcamp
ppcamp / sources.list
Created February 12, 2022 14:21 — forked from h0bbel/sources.list
/etc/apt/sources.list for Ubuntu 18.04.1 LTS Bionic Beaver
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://us.archive.ubuntu.com/ubuntu/ bionic main restricted
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates main restricted
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic-updates main restricted
@ppcamp
ppcamp / save-object-blob.js
Last active May 30, 2024 02:50 — forked from philipstanislaus/gist:c7de1f43b52531001412
Save a blob (object generated in UI) locally as a file
/**
* Saves a Blob object as a file with the specified filename.
*
* @param {Blob} blob - The Blob object to be saved.
* @param {String} filename - The desired filename for the saved file.
* @example
* const foo = `
* NAME;DESCR
* Foo;desc1
* bar;desc2