Make sure you've had Stylus browser extension installed:
- Chrome: https://chrome.google.com/webstore/detail/stylus/clngdbkpkpeebahjckkjfobafhncgmne
- Firefox: https://addons.mozilla.org/firefox/addon/styl-us/
THen click the following link:
Make sure you've had Stylus browser extension installed:
THen click the following link:
The package that linked you here is now pure ESM. It cannot be require()
'd from CommonJS.
This means you have the following choices:
import foo from 'foo'
instead of const foo = require('foo')
to import the package. You also need to put "type": "module"
in your package.json and more. Follow the below guide.await import(…)
from CommonJS instead of require(…)
.<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title></title> | |
<link href="https://unpkg.com/tailwindcss@^2/dist/tailwind.min.css" rel="stylesheet"> | |
</head> | |
<body class="m-4"> | |
<button class="bg-gray-300 my-2 px-4 py-2 rounded-md" onclick="flip()">Flip</button> |
You also might wanna just use Whisky which does this automatically
This guide works on macOS 13.4+ using Command Line Tools for XCode 15 Beta!
In the recent WWDC, Apple announced and released the "game porting toolkit", which upon further inspection this is just a modified version of CrossOver's fork of wine which is a "compatibility layer" that allows you to run Windows applications on macOS and Linux.
// 3D Dom viewer, copy-paste this into your console to visualise the DOM as a stack of solid blocks. | |
// You can also minify and save it as a bookmarklet (https://www.freecodecamp.org/news/what-are-bookmarklets/) | |
(() => { | |
const SHOW_SIDES = false; // color sides of DOM nodes? | |
const COLOR_SURFACE = true; // color tops of DOM nodes? | |
const COLOR_RANDOM = false; // randomise color? | |
const COLOR_HUE = 190; // hue in HSL (https://hslpicker.com) | |
const MAX_ROTATION = 180; // set to 360 to rotate all the way round | |
const THICKNESS = 20; // thickness of layers | |
const DISTANCE = 10000; // ¯\\_(ツ)_/¯ |
The instance resource is often at full capacity. Therefore, we should create a script to automatically retry launching the instance at regular intervals.
The script also includes basic logging and will stop launching once you have successfully launched the instance.
// ==UserScript== | |
// @name HackMD `ui-` classes highlighter | |
// @namespace http://hackmd.io/ | |
// @version 0.1.2 | |
// @description Show all `ui-` classes | |
// @author stanley2058, Yukaii | |
// @match https://hackmd.io/* | |
// @match https://local.localhost/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=hackmd.io | |
// @grant GM.getValue |
Beast Mode is a custom chat mode for VS Code agent that adds an opinionated workflow to the agent, including use of a todo list, extensive internet research capabilities, planning, tool usage instructions and more. Designed to be used with 4.1, although it will work with any model.