---
title: "0xBF (@0xbf) | Hashnode"
description: "0xBF (@0xbf) writes on Hashnode. Read their latest articles and follow their work."
url: "https://hashnode.com/@0xbf"
---

@0xbf

# 0xBF

@0xbf · Joined April 2021

### [Enable cursor smooth animation in VS Code](https://hn.0xbf.me/enable-cursor-smooth-animation-in-vs-code?utm_source=hashnode&utm_medium=feed)

Go to settings, search "cursor smooth", enable the smooth settings:

1 min read · [hn.0xbf.me](https://hn.0xbf.me/enable-cursor-smooth-animation-in-vs-code?utm_source=hashnode&utm_medium=feed)

[Aug 6, 2022](https://hashnode.com/posts/enable-cursor-smooth-animation-in-vs-code/62ee7686e3a3793580e007f2)

### [Pinia listen state change example](https://hn.0xbf.me/pinia-listen-state-change-example?utm_source=hashnode&utm_medium=feed)

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)) ...

1 min read · [hn.0xbf.me](https://hn.0xbf.me/pinia-listen-state-change-example?utm_source=hashnode&utm_medium=feed)

[Dec 12, 2021](https://hashnode.com/posts/pinia-listen-state-change-example/61b65c44b055806a4b00f73e)

### [Use s3cmd to batch set folder acl](https://hn.0xbf.me/use-s3cmd-to-batch-set-folder-acl?utm_source=hashnode&utm_medium=feed)

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 ...

1 min read · [hn.0xbf.me](https://hn.0xbf.me/use-s3cmd-to-batch-set-folder-acl?utm_source=hashnode&utm_medium=feed)

[Sep 21, 2021](https://hashnode.com/posts/use-s3cmd-to-batch-set-folder-acl/614a415d20bcc6765ac05a34)

### [Go Cheatsheet - Upload file to digitalocean space](https://hn.0xbf.me/go-cheatsheet-upload-file-to-digitalocean-space?utm_source=hashnode&utm_medium=feed)

Install packages: go get github.com/aws/aws-sdk-go go get github.com/gabriel-vasile/mimetype Files In main.go package main import ( "fmt" "io/ioutil" "log" "os" "s3upload/s3client" "time" "github.com/gabriel-vasile/mime...

2 min read · [hn.0xbf.me](https://hn.0xbf.me/go-cheatsheet-upload-file-to-digitalocean-space?utm_source=hashnode&utm_medium=feed)

[Aug 26, 2021](https://hashnode.com/posts/go-cheatsheet-upload-file-to-digitalocean-space/6127f45122e1ba252a88006f)

### [Go Cheatsheet - Generate UUIDv4 String](https://hn.0xbf.me/go-cheatsheet-generate-uuidv4-string?utm_source=hashnode&utm_medium=feed)

Use 3rd-party package to generate uuidv4 string: Step 1 Install package: go get github.com/google/uuid Step 2 Call function: func main() { uuidStr := uuid.NewString() fmt.Println(uuidStr) }

1 min read · [hn.0xbf.me](https://hn.0xbf.me/go-cheatsheet-generate-uuidv4-string?utm_source=hashnode&utm_medium=feed)

[Aug 26, 2021](https://hashnode.com/posts/go-cheatsheet-generate-uuidv4-string/6127e52422e1ba252a87feb9)
