I hereby claim:
- I am widyakumara on github.
- I am widyakumara (https://keybase.io/widyakumara) on keybase.
- I have a public key ASASbu9-evdp33BK6vA3u8oTXP9VgojayfgWHw4IzCWJ8Ao
To claim this, I am signing this object:
| import { readFileSync, writeFileSync } from "node:fs"; | |
| import MP3Tag from "mp3tag.js"; | |
| const file = "rick astley/whenever you need somebody/never gonna give you up.mp3"; | |
| const buffer = readFileSync(file); | |
| const verbose = true; | |
| const mp3tag = new MP3Tag(buffer, verbose); | |
| mp3tag.read({ id3v1: false }); |
| if (env === 'production') { | |
| const noop = () => {} | |
| ['assert', 'clear', 'count', 'debug', 'dir', 'dirxml', 'error', | |
| 'exception', 'group', 'groupCollapsed', 'groupEnd', 'info', 'log', | |
| 'markTimeline', 'profile', 'profileEnd', 'table', 'time', 'timeEnd', | |
| 'timeline', 'timelineEnd', 'timeStamp', 'trace', 'warn', | |
| ].forEach((method) => { | |
| window.console[method] = noop | |
| }) | |
| } |
I hereby claim:
To claim this, I am signing this object:
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>webcam</title> | |
| <style type="text/css"> | |
| body { | |
| margin: 0; | |
| } | |
| .webcam { |
| git checkout master | |
| git fetch upstream | |
| git merge upstream/master | |
| git push |
| ## | |
| # Host Database | |
| # | |
| # localhost is used to configure the loopback interface | |
| # when the system is booting. Do not change this entry. | |
| ## | |
| 127.0.0.1 localhost | |
| 255.255.255.255 broadcasthost | |
| ::1 localhost |
| x = document; | |
| l = x.querySelectorAll("link[rel='alternate'][type='application/rss+xml']"); | |
| o = []; | |
| l.forEach(e => { | |
| o.push(e.href); | |
| }); | |
| o = o.join('\n'); | |
| c = e => { | |
| x.removeEventListener('copy', c, true); | |
| e.preventDefault(); |
| /* | |
| get only the latest relevant software download links from http://line6.com/software/index.html | |
| 1. select os | |
| 2. select product | |
| 3. select software (optional) | |
| 4. click go | |
| 5. open browser console & paste this code | |
| */ | |
| releases = $$('table'); |
http://www.easyrgb.com/index.php?X=MATH
http://www.easyrgb.com/index.php?X=MATH&H=01#text1
var_X = X / 100 //X from 0 to 95.047 (Observer = 2°, Illuminant = D65)
var_Y = Y / 100 //Y from 0 to 100.000
var_Z = Z / 100 //Z from 0 to 108.883
| # main display | |
| osascript -e 'tell application "Finder" to set desktop picture to POSIX file "/path/to/image.jpg"' | |
| # all displays | |
| osascript -e 'tell application "System Events" to set picture of every desktop to "/path/to/image.jpg"' |