Skip to content

Instantly share code, notes, and snippets.

Avatar

Eric Mink lucidBrot

View GitHub Profile
@lucidBrot
lucidBrot / sound_comparison.diff
Created Jul 28, 2020
Before and After adding the `snd_hda_intel.dmic_detect=0` kernel boot argument.
View sound_comparison.diff
diff --git a/sound_normal_linux.txt b/sound_linux_nosndhdainteldmicdetect.txt
index f3d5e91..77e1574 100755
--- a/sound_normal_linux.txt
+++ b/sound_linux_nosndhdainteldmicdetect.txt
@@ -1,75 +1,112 @@
# (set -x && aplay -l && pacmd list-cards)
-# the system was booted without additional kernel arguments
+# the system was booted with kernel argument snd_hda_intel.dmic_detect=0
+ aplay -l
**** List of PLAYBACK Hardware Devices ****
@lucidBrot
lucidBrot / iPhone11,8 17C5053a sepi
Created Dec 10, 2019
iPhone11,8 17C5053a sepi repost
View iPhone11,8 17C5053a sepi
Since the original tweet by @s1guza was taken down as a "copyright violation"™
iPhone11,8 17C5053a sepi 9f974f1788e615700fec73006cc2e6b533b0c6c2b8cf653bdbd347bc1897bdd66b11815f036e94c951250c4dda916c00
View keybase.md

Keybase proof

I hereby claim:

  • I am lucidbrot on github.
  • I am lucidbrot (https://keybase.io/lucidbrot) on keybase.
  • I have a public key whose fingerprint is FC5A D891 70DD 132A CB34 3EFE 88C9 76AE F1B5 687B

To claim this, I am signing this object:

@lucidBrot
lucidBrot / bookmarklet_image_dwl.js
Last active May 18, 2020
Bookmarklet to download all images on a page
View bookmarklet_image_dwl.js
// as one-liner for bookmarklet
javascript:;(function(){var images=[].slice.call(document.querySelectorAll('img'));try{images.forEach(function(img){downloadResource(img.src)})}catch(e){alert("Download failed.");console.log('Download failed.',e)}function forceDownload(blob,filename){var a=document.createElement('a');a.download=filename;a.href=blob;a.click()}function downloadResource(url,filename){if(!filename)filename=url.split('\\').pop().split('/').pop();fetch(url,{headers:new Headers({'Origin':location.origin}),mode:'cors'}).then(response=>response.blob()).then(blob=>{let blobUrl=window.URL.createObjectURL(blob);forceDownload(blobUrl,filename)}).catch(e=>console.error(e))}}).call(window);
You can’t perform that action at this time.