Reusable utility types missing from TypeScript core library. Enjoy!
/**
* The MIT License (MIT)
*
It's 2024. You should use tsup instead of this.
🔥 Blazing fast builds
😇 CommonJS bundle
🌲 .mjs
bundle
✨ .d.ts
bundle + type-checking
feat: new feature
fix(scope): bug in scope
feat!: breaking change
/ feat(scope)!: rework API
chore(deps): update dependencies
build
: Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)ci
: Changes to CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)chore
: Changes which doesn't change source code or tests e.g. changes to the build process, auxiliary tools, librariesconst fetch = (...args) => console.log(...args) // mock | |
function httpRequest(url, method, data) { | |
const init = { method } | |
switch (method) { | |
case 'GET': | |
if (data) url = `${url}?${new URLSearchParams(data)}` | |
break | |
case 'POST': | |
case 'PUT': | |
case 'PATCH': |
These libraries can be used to quickly create a GUI for configureable parameters using sliders, checkboxes, colors pickers etc
on run argv | |
set repoPath to (item 1 of argv) | |
tell application "iTerm" | |
set newWindow to (create window with default profile) | |
tell current session of newWindow | |
write text "cd " & quoted form of repoPath & " && npx git-cz" | |
end tell | |
end tell | |
end run |
/** | |
* Generate web videos mp4 + webm from given folder | |
* You can pass options by file in videos.json | |
* Options are crop size | |
* NODE and FFMEPG is required. On mac brew install node && brew install ffmpeg | |
* FFMPEG command are inspired by https://gist.github.com/Vestride/278e13915894821e1d6f | |
* eg: node videos.js --input=../inputDir --output=../dir/outputDir --prefix=compressed --r-audio | |
* if missing outputDir, inputDir will be use | |
*/ |
Note
to active Office without crack, just follow https://github.com/WindowsAddict/IDM-Activation-Script,
you wiil only need to run
irm https://massgrave.dev/ias | iex