It's 2024. You should use tsup instead of this.
π₯ Blazing fast builds
π CommonJS bundle
π² .mjs
bundle
β¨ .d.ts
bundle + type-checking
// I'm tired of extensions that automatically: | |
// - show welcome pages / walkthroughs | |
// - show release notes | |
// - send telemetry | |
// - recommend things | |
// | |
// This disables all of that stuff. | |
// If you have more config, leave a comment so I can add it!! | |
{ |
It's 2024. You should use tsup instead of this.
π₯ Blazing fast builds
π CommonJS bundle
π² .mjs
bundle
β¨ .d.ts
bundle + type-checking
#!/bin/bash | |
mkdir -p out | |
npx tsc src/index.ts -d --emitDeclarationOnly --module amd --outFile out/index.d.ts && | |
echo " | |
declare module '<npm package name>' { | |
import main = require('index'); | |
export = main; |
(() => { | |
let count = 0; | |
function getAllButtons() { | |
return document.querySelectorAll('button.is-following') || []; | |
} | |
async function unfollowAll() { | |
const buttons = getAllButtons(); |
πΆββοΈ 104km ββββββββββββββββββββ | |
π 80km ββββββββββββββββββββ | |
βπββοΈ 47km ββββββββββββββββββββ | |
π₯Ύ 6km ββββββββββββββββββββ | |
π΄ββοΈ 0km ββββββββββββββββββββ | |
235km total |
A couple of weeks ago I played (and finished) A Plague Tale, a game by Asobo Studio. I was really captivated by the game, not only by the beautiful graphics but also by the story and the locations in the game. I decided to investigate a bit about the game tech and I was surprised to see it was developed with a custom engine by a relatively small studio. I know there are some companies using custom engines but it's very difficult to find a detailed market study with that kind of information curated and updated. So this article.
Nowadays lots of companies choose engines like Unreal or Unity for their games (or that's what lot of people think) because d
Install Synthwave β84/Synthwave + Fluoromachine theme on VS Code (I used the Fluoromachine one)
Install Custom CSS and JS Loader
Command + Shift + P to open command palette > "Preferences: Open settings (JSON)"
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Ansi 0 Color</key> | |
<dict> | |
<key>Alpha Component</key> | |
<real>1</real> | |
<key>Blue Component</key> | |
<real>0.0</real> |
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | |
" Font | |
:set guifont=Source\ Code\ Pro:h14 | |
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | |
" Hide pointless junk at the bottom, doesn't work in .vimrc for some reason? | |
:set laststatus=0 | |
:set noshowmode "don't show --INSERT-- | |
:set noruler "don't show line numbers/column/% junk |