Skip to content

Instantly share code, notes, and snippets.

View enpitsuLin's full-sized avatar
๐Ÿฃ
keep young, keep naive

enpitsulin enpitsuLin

๐Ÿฃ
keep young, keep naive
View GitHub Profile
@maple3142
maple3142 / CVE-2025-55182.http
Last active December 8, 2025 12:07
CVE-2025-55182 React Server Components RCE POC
POST / HTTP/1.1
Host: localhost
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36
Next-Action: x
Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryx8jO2oVc6SWP3Sad
Content-Length: 459
------WebKitFormBoundaryx8jO2oVc6SWP3Sad
Content-Disposition: form-data; name="0"
/**
* expend version of van-js v0.11.10
* just for study
* @copyright Tao xin
* @link https://github.com/jorgebucaran/hyperapp
*/
import { BindFunc, ChildDom, DerivedProp, Primitive, Props, State, StateView, TagFunc, default as Van } from "./van"
// This file consistently uses `let` keyword instead of `const` for reducing the bundle size.
@fabiospampinato
fabiospampinato / use_boxer.ts
Created May 1, 2023 17:34
A little Voby hook for rendering hit boxes around each element on the page
/* IMPORT */
import {$$} from 'voby';
import {useEffect} from '~/hooks';
/* MAIN */
const useResizeObserver = ( ref: $<Element | undefined>, fn: ResizeObserverCallback, options: ResizeObserverOptions = {} ): void => {
@enpitsuLin
enpitsuLin / xLog.css
Last active February 27, 2024 03:41
My xLog theme
html {
--theme-color: #4f46e5;
}
html.dark {
--theme-color: #818cf8;
}
:root {
--sidebar-width: 20rem;
# enable run remote script
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
# Scoop configruation
$env:SCOOP = 'E:\scoop' # custom scoop install dir
$env:SCOOP_GLOBAL = 'E:\scoop\apps' # custom scoop app install dir
[environment]::setEnvironmentVariable('SCOOP_GLOBAL', $env:SCOOP_GLOBAL, 'Machine')
[environment]::setEnvironmentVariable('SCOOP', $env:SCOOP, 'User')
Invoke-WebRequest -useb get.scoop.sh | Invoke-Expression
import { Browser, chromium, firefox, webkit } from "playwright";
import { afterAll, beforeAll, describe, it } from "vitest";
const browserTypes = process.env.ALL_BROWSERS
? [chromium, firefox, webkit]
: [chromium];
for (const browserType of browserTypes) {
describe(`browser:${browserType.name()}`, () => {
let browser: Browser;
@itumeles1
itumeles1 / anime-js-scrollmagic-scroll-based-animations.markdown
Created July 16, 2021 00:33
Anime.js + ScrollMagic Scroll Based Animations

Anime.js + ScrollMagic Scroll Based Animations

A example of using ScrollMagic to trigger Anime.js animations. Some of the animations are set to play when triggered and some are set to progress as the user scrolls the page.

A Pen by itumeles1 on CodePen.

License.

@bergmannjg
bergmannjg / rearct-native-app-in-wsl2.md
Last active November 27, 2025 08:58
Building a react native app in WSL2
@rxaviers
rxaviers / gist:7360908
Last active December 8, 2025 08:43
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: ๐Ÿ˜„ :smile: ๐Ÿ˜† :laughing:
๐Ÿ˜Š :blush: ๐Ÿ˜ƒ :smiley: โ˜บ๏ธ :relaxed:
๐Ÿ˜ :smirk: ๐Ÿ˜ :heart_eyes: ๐Ÿ˜˜ :kissing_heart:
๐Ÿ˜š :kissing_closed_eyes: ๐Ÿ˜ณ :flushed: ๐Ÿ˜Œ :relieved:
๐Ÿ˜† :satisfied: ๐Ÿ˜ :grin: ๐Ÿ˜‰ :wink:
๐Ÿ˜œ :stuck_out_tongue_winking_eye: ๐Ÿ˜ :stuck_out_tongue_closed_eyes: ๐Ÿ˜€ :grinning:
๐Ÿ˜— :kissing: ๐Ÿ˜™ :kissing_smiling_eyes: ๐Ÿ˜› :stuck_out_tongue: