Skip to content

Instantly share code, notes, and snippets.

View gausie's full-sized avatar
🤠
workin hard

Samuel Gaus gausie

🤠
workin hard
View GitHub Profile
@semenko
semenko / dmidecode
Last active October 26, 2021 02:57
Dell XPS 13 2015 model 9343 on Ubuntu 15.04, dmidecode, lsusb, lspci
$ sudo dmidecode
# dmidecode 2.12
# SMBIOS entry point at 0x000f0000
SMBIOS 2.8 present.
<SNIP>
Handle 0x0000, DMI type 0, 24 bytes
BIOS Information
@bradberger
bradberger / script.js
Created July 30, 2014 07:33
Promise-based JS script loader
function script(url) {
if(Array.isArray(url)) {
var self = this, prom = [];
url.forEach(function(item) {
prom.push(self.script(item));
});
return Promise.all(prom);
}