This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
SONARQUBE_URL="localhost:9000" | |
PROJECT_KEY="YOUR-PROJECT" | |
LOGIN="xxx" | |
docker run \ | |
--rm \ | |
--net host \ | |
-e SONAR_HOST_URL="http://${SONARQUBE_URL}" \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3" | |
services: | |
sonarqube: | |
platform: linux/x86_64 | |
image: sonarqube:lts-community | |
depends_on: | |
- db | |
environment: | |
SONAR_JDBC_URL: jdbc:postgresql://db:5432/sonar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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': '*/*' | |
} | |
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let mapleader = "\<Space>" | |
filetype plugin on | |
filetype plugin indent on | |
syntax on | |
syntax enable | |
highlight Normal ctermbg=None | |
set mouse=a |
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: