Skip to content

Instantly share code, notes, and snippets.

@corysolovewicz
corysolovewicz / converting_dmg_iso.md
Created August 21, 2019 17:27
Converting DMG to ISO or CDR to ISO on macOS
@raecoo
raecoo / console.save.js
Last active April 25, 2024 13:19
Save JSON object to file in Chrome Devtool
// e.g. console.save({hello: 'world'})
(function(console){
console.save = function(data, filename){
if(!data) {
console.error('Console.save: No data')
return;
}
if(!filename) filename = 'console.json'
if(typeof data === "object"){
data = JSON.stringify(data, undefined, 4)