{ | |
"workbench.startupEditor": "none", | |
"workbench.iconTheme": "moxer-icons", | |
"workbench.colorTheme": "Aura Dark", | |
"workbench.settings.editor": "json", | |
"breadcrumbs.enabled": false, | |
"explorer.compactFolders": false, | |
"editor.wordWrap": "bounded", | |
"editor.tabSize": 2, | |
"editor.inlineSuggest.enabled": true, |
import { | |
ElementRef, | |
ForwardRefExoticComponent, | |
createElement, | |
forwardRef, | |
} from "react"; | |
import { cn } from "./utils"; | |
export function extend<T extends { className?: string }>( | |
Component: ForwardRefExoticComponent<T>, |
-
Follow the instructions to install Custom CSS and JS Loader for VSCode
-
Make a file with the
rgbcode.css
content, and follow the instructions in the above link to add the file path to thesettings.json
. For example, mine is:
"vscode_custom_css.imports": ["file:///C:/Users/drake/Documents/rgbcode/rgbcode.css"]
DO NOT RUN THIS , it will attempt to recursively overwrite files.
What follows is very simple deobufscation & explanation of what the code is doing. I have changed the library imports to make it more clear
The original code: https://github.com/RIAEvangelist/node-ipc/blob/847047cf7f81ab08352038b2204f0e7633449580/dao/ssl-geospec.js
import path from "path";
Discord timestamps can be useful for specifying a date/time across multiple users time zones. They work with the Unix Timestamp format and can be posted by regular users as well as bots and applications.
The Epoch Unix Time Stamp Converter is a good way to quickly generate a timestamp. For the examples below I will be using the Time Stamp of 1543392060
, which represents November 28th, 2018
at 09:01:00
hours for my local time zone (GMT+0100 Central European Standard Time).
Style | Input | Output (12-hour clock) | Output (24-hour clock) |
---|---|---|---|
Default | <t:1543392060> |
November 28, 2018 9:01 AM | 28 November 2018 09:01 |
pixiv_id | authors_twitter | link | |
---|---|---|---|
665980 | @necocoya | https://twitter.com/Analya_20/status/1389309367720284165 | |
4546023 | @Vert_320 | https://twitter.com/Analya_20/status/1389244245375135744 | |
5375435 | @boris_noborhys | https://twitter.com/Analya_20/status/1389008657841594371 | |
5375435 | @boris_noborhys | https://twitter.com/Analya_20/status/1381423107022467076 | |
5375435 | @boris_noborhys | https://twitter.com/Analya_20/status/1373078835579785221 | |
5375435 | @boris_noborhys | https://twitter.com/Analya_20/status/1372232770399899651 | |
5375435 | @boris_noborhys | https://twitter.com/Analya_20/status/1367122344259575812 | |
5375435 | @boris_noborhys | https://twitter.com/Analya_20/status/1359280126991740933 | |
5375435 | @boris_noborhys | https://twitter.com/Analya_20/status/1345563714947309568 |
The package that linked you here is now pure ESM. It cannot be require()
'd from CommonJS.
This means you have the following choices:
- Use ESM yourself. (preferred)
Useimport foo from 'foo'
instead ofconst foo = require('foo')
to import the package. You also need to put"type": "module"
in your package.json and more. Follow the below guide. - If the package is used in an async context, you could use
await import(…)
from CommonJS instead ofrequire(…)
. - Stay on the existing version of the package until you can move to ESM.
// Tracking cursor position in real-time without JavaScript | |
// Demo: https://twitter.com/davywtf/status/1124146339259002881 | |
package main | |
import ( | |
"fmt" | |
"net/http" | |
"strings" | |
) |