This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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:
- 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:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>webcam</title> | |
| <style type="text/css"> | |
| body { | |
| margin: 0; | |
| } | |
| .webcam { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| git checkout master | |
| git fetch upstream | |
| git merge upstream/master | |
| git push |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## | |
| # 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| 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
NewerOlder