Skip to content

Instantly share code, notes, and snippets.

View thiennn2's full-sized avatar
🎯
Focusing

Nguyễn Ngọc Thiện thiennn2

🎯
Focusing
View GitHub Profile
@thiennn2
thiennn2 / changeLog3.3.10...3.4.3.md
Last active December 12, 2023 08:03
Change Log vuetify 3.3.10...3.4.3

Change Log for Vuetify 3.3.10...3.4.3

v3.4.3

Bug Fixes

  • date: use provided locale (fe38cb2), closes #18685
  • locale: dataFooter.itemsPerPageText typo in fr locale (#18594) (e66f65e)
  • router: match query with exact prop (870b091), closes #18724
  • VCarousel: add missing control item class and styling (f5292a3)
@thiennn2
thiennn2 / run.sh
Created June 18, 2022 04:17
sonar scanner for sonarqube
#!/bin/sh
SONARQUBE_URL="localhost:9000"
PROJECT_KEY="YOUR-PROJECT"
LOGIN="xxx"
docker run \
--rm \
--net host \
-e SONAR_HOST_URL="http://${SONARQUBE_URL}" \
@thiennn2
thiennn2 / docker-compose.yml
Created June 18, 2022 03:16
docker-compose file for sonarqube macos m1
version: "3"
services:
sonarqube:
platform: linux/x86_64
image: sonarqube:lts-community
depends_on:
- db
environment:
SONAR_JDBC_URL: jdbc:postgresql://db:5432/sonar
@thiennn2
thiennn2 / example-node-fetch.js
Last active May 13, 2021 03:38
example-node-fetch
#!/usr/bin/node
const fetch = require("node-fetch")
fetch('https://my-json-server.typicode.com/typicode/demo/posts', {
mode: 'cors',
headers: {
'Content-Type': 'application/xml',
'Accept': '*/*'
}
})
@thiennn2
thiennn2 / git.aliases.bash
Created April 22, 2021 04:05
git alias for bash windows
# shellcheck shell=bash
# cite 'about-alias'
# about-alias 'common git abbreviations'
alias g='git'
alias get='git'
# add
alias ga='git add'
alias gall='git add -A'
@thiennn2
thiennn2 / init.vim
Created August 17, 2020 02:07
VIM init file
let vimplug_exists=expand('~/.config/nvim/autoload/plug.vim')
if !filereadable(vimplug_exists)
if !executable("curl")
echoerr "You have to install curl or first install vim-plug yourself!"
execute "q!"
endif
echo "Installing Vim-Plug..."
echo ""
silent exec "!\curl -fLo " . vimplug_exists . " --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim"
@thiennn2
thiennn2 / init.vim
Last active November 10, 2020 06:45
neovim config
let vimplug_exists=expand('~/.config/nvim/autoload/plug.vim')
if !filereadable(vimplug_exists)
if !executable("curl")
echoerr "You have to install curl or first install vim-plug yourself!"
execute "q!"
endif
echo "Installing Vim-Plug..."
echo ""
silent exec "!\curl -fLo " . vimplug_exists . " --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim"
let mapleader = "\<Space>"
filetype plugin on
filetype plugin indent on
syntax on
syntax enable
highlight Normal ctermbg=None
set mouse=a

Keybase proof

I hereby claim:

  • I am thiennn2 on github.
  • I am water09 (https://keybase.io/water09) on keybase.
  • I have a public key ASBHDy1mgMhzrbQdSqDWEhWp63OCsZWgKijV4WMX4MmdzAo

To claim this, I am signing this object: