Skip to content

Instantly share code, notes, and snippets.

View tranvannhat's full-sized avatar
☀️
other way...

Nhat Tran tranvannhat

☀️
other way...
View GitHub Profile
@tranvannhat
tranvannhat / customize-scrollbar.css
Created January 17, 2024 07:33 — forked from spemer/customize-scrollbar.css
✨ Customize website's scrollbar like Mac OS. Not supports in Firefox and IE.
/* Customize website's scrollbar like Mac OS
Not supports in Firefox and IE */
/* total width */
body::-webkit-scrollbar {
background-color: #fff;
width: 16px;
}
/* background of the scrollbar except button or resizer */
@tranvannhat
tranvannhat / cloudSettings
Last active October 31, 2019 03:18
VSCode Setting
{"lastUpload":"2019-10-31T03:18:11.388Z","extensionVersion":"v3.4.3"}
Vue.filter('formatNumber', function (value) {
const rounded = Math.round(value * 100) / 100
return rounded.toString().replace('.', ',').replace(/\B(?=(\d{3})+(?!\d))/g, ".");
});
### Keybase proof
I hereby claim:
* I am tranvannhat on github.
* I am nhattv (https://keybase.io/nhattv) on keybase.
* I have a public key ASBqhCeO2qamuQVyrQUpy1RdJSm45L0vnsHlY3L0ok7bYAo
To claim this, I am signing this object:
@tranvannhat
tranvannhat / angular-library.txt
Last active June 5, 2019 03:03
Những thư viện hay, nên dùng cho Angular
ngx-mask: thêm định dạng tiền tệ, ngày giờ,... cho input
ngx-chips: thêm tag,...