Skip to content

Instantly share code, notes, and snippets.

View skullface's full-sized avatar
🍉
abolish ICE

skullface

🍉
abolish ICE
View GitHub Profile
@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);
}
@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 / 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 / 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",

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 / the_force_2020_5M_23D_19H_49m_32s.frag
Created May 24, 2020 01:36
what i ended up with from today’s shader workshop!
// giant circle owo
float circ(vec2 p) {
return length(p - 0.9) - 0.1;
}
// cycle thru color via cosine function
vec3 cosPalette( float t, vec3 a, vec3 b, vec3 c, vec3 d ) {
return a + b*cos( 6.28318*(c*t+d) );
}
@skullface
skullface / skullie-recipes.md
Last active June 7, 2020 03:04
ACNH craftables! 💖

Gold

  • Golden casket
  • Golden seat
  • Trophy case
  • Golden flooring
  • Gold-screen wall
  • Golden watering can
  • Golden slingshot
  • Lucky gold cat
  • Golden candlestick

🇰🇷 Spotify playlists of my favourite kpop releases of the year, month by month.

This isn’t a comprehensive list of all kpop tracks on Spotify, only the songs I’ve really enjoyed! Check the /r/kpop wiki for a calendar of every release.


Monthly playlists

⊹  +   * · .     ⊹ .     ˚ ✫ ⊹
˚  ✦ * · · +   ✦  ˚ º. * + ·
 ✫ º . ✫ ✵  ˚ ʰᵉˡˡᵒ ✫ ⋆ .   º
✧   *     ˚ *   ♡   ˚ ✫    ⋆˚ ✫
  ˚   ✹   . +   ⊹ .* ✦ · ✧˚ * ˚