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
| function getGlobalThis() { | |
| if (typeof globalThis === 'object') return globalThis; | |
| Object.defineProperty(Object.prototype, '__magic__', { | |
| get: function() { | |
| return this; | |
| }, | |
| configurable: true | |
| }); |
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
| const speakText = (text) => speechSynthesis.speak(new SpeechSynthesisUtterance(text)) |
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
| <span class="js-indicator-modifier mail-status unread" style=" | |
| font-size: 0.4rem; | |
| text-align: center; | |
| ">2</span> |
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
| "use strict" | |
| const execa = require("execa") | |
| const { default: ow } = require("ow") | |
| module.exports = class Audic { | |
| constructor(src) { | |
| ow(src, ow.string) | |
| this._src = src |
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
| const kve = require("kve") | |
| const fontColourContrast = require("font-color-contrast") | |
| const parseColour = require("parse-color") | |
| kve.colour = (object) => { | |
| const { hex } = parseColour(object) | |
| const fontColour = fontColourContrast(hex) | |
| const html = ` | |
| <style> | |
| .item { |
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
| const { app, BrowserWindow, ipcMain: ipc } = require('electron') | |
| let win | |
| function createWindow() { | |
| win = new BrowserWindow({ | |
| webPreferences: { | |
| nodeIntegration: true, | |
| }, | |
| show: 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
| const basea = require("basea") | |
| const val = [...fs.readFileSync("example.js")] | |
| const res = val.map(val => basea(val.toString(), 2)) | |
| console.log(res) |
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
| #include <node.h> | |
| #include <windows.h> | |
| #include <iostream> | |
| #include <list> | |
| #include <iterator> | |
| using namespace std; | |
| namespace winds { | |
| using namespace v8; |
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
| gource -f -1920x1080 --multi-sampling --camera-mode track --seconds-per-day 1 --auto-skip-seconds 1 --file-idle-time 0 --bloom-multiplier 1.5 --bloom-intensity 1.0 -e 0.5 --font-colour FFFFFF --background 212121 --font-size 18 --hide mouse,progress |
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
| const chance = require('secure-chance') | |
| function secureMathRandom() { | |
| const res = chance.floating({ min: 0, max: 1, fixed: 15 }); | |
| return res !== 1 ? res : secureMathRandom() | |
| } | |
| module.exports = secureMathRandom |