Skip to content

Instantly share code, notes, and snippets.

View skullface's full-sized avatar
🍉
abolish ICE

skullface

🍉
abolish ICE
View GitHub Profile

Furniture

  • Billiard table (green)
  • Imperial low table (red)
  • Marimba
  • Menu chalkboard (natural/brown)
  • Oil barrel (green)
  • Popcorn machine (black)
  • Punching bag (blue)
  • Velvet stool
  • Floating biotope planter (black)
@skullface
skullface / settings.json
Last active June 3, 2021 21:35
Visual Studio Code settings
{
"workbench.startupEditor": "newUntitledFile",
"editor.minimap.enabled": false,
"editor.renderControlCharacters": false,
"workbench.iconTheme": "vs-minimal",
"window.zoomLevel": 0,
"git.confirmSync": false,
"todo-tree.tree.showScanModeButton": false,
"workbench.sideBar.location": "right",
"workbench.colorTheme": "GitHub Dark",
@skullface
skullface / lint-autofix.yml
Created November 19, 2021 03:21
Teensy GitHub Action to autofix linting errors (from the script defined in your package.json) per https://mskelton.medium.com/auto-formatting-code-using-prettier-and-github-actions-ed458f58b7df
name: Lint and autofix
on:
pull_request:
branches: [main]
jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
@skullface
skullface / vercel-preview-url.yml
Last active March 19, 2023 21:06
GitHub action to edit pull request with Vercel preview deploy URL for the branch
name: Link to Vercel preview deploy
on:
pull_request:
types: [opened]
jobs:
update-pr:
runs-on: ubuntu-latest
steps:
@skullface
skullface / get-all-element-text-console.js
Created December 19, 2023 17:00
Get the contents of all elements on a page with an HTML class of `class-name` within the browser console.
const el = document.querySelectorAll('.class-name');
for (i = 0; i < el.length; i++) {
console.log(el[i].innerText);
}