Skip to content

Instantly share code, notes, and snippets.

set clipboard+=unnamed
let mapleader = ","
nmap <leader>w :w!<cr>
nmap <leader>q :q!<cr>
set so=7
set backsapce=eol,start,indent
set hlsearch
set magic
@ckcks12
ckcks12 / change-caps-to-control.reg
Created April 13, 2019 05:48
change-caps-to-control
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
"Scancode Map"=hex:00,00,00,00,00,00,00,00,02,00,00,00,1d,00,3a,00,00,00,00,00
@ckcks12
ckcks12 / wsl-ubuntu-theme.reg
Created February 28, 2019 08:53
WSL Ubuntu Theme Registry
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Console\C:_Program Files_WindowsApps_CanonicalGroupLimited.UbuntuonWindows_1804.2018.817.0_x64__79rhkp1fndgsc_ubuntu.exe]
"FaceName"="Hack"
"FontSize"=dword:00120000
"WindowAlpha"=dword:000000ff
"ColorTable00"=dword:240a30
"ColorTable01"=dword:a46534
"ColorTable02"=dword:069a4e
"ColorTable03"=dword:9a9806
"ColorTable04"=dword:0000cc
@ckcks12
ckcks12 / 072.js
Created December 7, 2018 23:58
On-Javascript-Console Parser for 072.com
(function(){
let destination = '다낭'
let q = {}
q.ticket = '.tblListB tr:not(:first-child)'
q.destInTicket = 'td:nth-child(2)'
q.departInTicket = 'td:nth-child(4)'
q.remainInTicket = 'td:nth-child(6)'
q.priceInTicket = 'td:nth-child(7)'
tickets = document.querySelectorAll(q.ticket)
#!/bin/bash
################################################################################
# echo setting
################################################################################
r='\033[0;31m'
y='\033[1;33m'
g='\033[0;32m'
b='\033[1;34m'
x='\033[0m'
@ckcks12
ckcks12 / add-private-network.sh
Last active July 13, 2023 01:01
vultr.com scripts
# echo setting
r='\033[0;31m'
y='\033[1;33m'
g='\033[0;32m'
b='\033[1;34m'
x='\033[0m'
function log() {
echo -e $@${x}
}
@ckcks12
ckcks12 / init-ubuntu-16.04.sh
Last active January 12, 2018 19:20
init.sh
#!/bin/bash
# echo setting
r='\033[0;31m'
y='\033[1;33m'
g='\033[0;32m'
b='\033[1;34m'
x='\033[0m'
function log() {
echo -e $@${x}
# Your init script
#
# Atom will evaluate this file each time a new window is opened. It is run
# after packages are loaded/activated and after the previous editor state
# has been restored.
#
# An example hack to log to the console when each text editor is saved.
#
# atom.workspace.observeTextEditors (editor) ->
# editor.onDidSave ->