Enable cursor smooth animation in VS Code
Go to settings, search "cursor smooth", enable the smooth settings:
Search for a command to run...
Go to settings, search "cursor smooth", enable the smooth settings:
Style <script setup lang="ts"> const color = ref("red) </script> <style scoped> .text { color: v-bind('color') } </style>
Pinia export const initData = function () { const instance = useCounterStore() // listen on change, then save to localStorage instance.$subscribe((mutation, state) => { localStorage.setItem(instance.$id, JSON.stringify(state)) ...
Steps 1, Buy & install Dank Mono font (https://dank.sh) 2, In settings.json, add: "editor.fontFamily": "Dank Mono, Menlo, Monaco", "editor.fontLigatures": true, "editor.tokenColorCustomizations": { "textMateRules": [ {...
General components Meraki UI ( https://merakiui.com/ ) Tailwind Components ( https://tailwindcomponents.com/ ) Tailblocks ( https://tailblocks.cc/ ) DaisyUI ( https://daisyui.com/ ) LofiUI ( https://lofiui.co/ ) MambaUI ( https://mambaui.com/ ) Flow...
Steps: 1, Install stagehand: $ flutter pub global activate stagehand 2, Add installed pub bin to PATH: export PATH="$PATH":"$HOME/soft/flutter/.pub-cache/bin" 3, Use stagehand to generate a simple project $ stagehand package-simple
Problem You want to upload file to s3, but want to encrypt it first Solution Method 1) Use gpg to encrypt the file first, then use the s3cmd to upload: gpg is a built-in command in Linux, and in Mac you may need to manually install it via: $ brew ins...
Install brew install s3cmd Set acl Make one file public s3cmd setacl s3://spacename/file.txt --acl-public Make all the files at a folder public recursively s3cmd setacl s3://spacename/path/to/folder/ --acl-public --recursive Make one file private ...
We can use channels to easily simulate a worker pool: package main import ( "fmt" "time" ) func main() { numWorkers := 5 numJobs := 100 // make sure these 2 channels have buffer size of numJobs jobChan := make(chan int, num...