Skip to content

Instantly share code, notes, and snippets.

@khanghh
khanghh / settings.js
Last active May 5, 2021 06:30
my vscode settings
{
// =========== watcher exclueded file =============
"files.watcherExclude": {
"**/.git/objects/**": true,
"**/.git/subtree-cache/**": true,
"**/node_modules/*/**": true
},
// ================ vim settings =================
"vim.useCtrlKeys": false,
// ==UserScript==
// @name Unblur scribd.com
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://vi.scribd.com/*
// @grant none
// ==/UserScript==
(function() {
@khanghh
khanghh / signing_apk.md
Created January 3, 2019 08:53
signing apk

Create a key using

$ keytool -genkey -v -keystore debug.keystore -alias androiddebugkey -keyalg RSA -keysize 2048 -validity 10000

Then sign the apk using

@khanghh
khanghh / remove_disable_copy.md
Last active January 4, 2019 09:57
remove disable copy
* {
  -webkit-user-select: text !important;  /* Chrome 49+ */
  -moz-user-select: text !important;     /* Firefox 43+ */
  -ms-user-select: text !important;      /* No support yet */
  user-select: text !important;  
}
@khanghh
khanghh / trash.desktop
Created January 4, 2019 17:42
/usr/share/trash.desktop
[Desktop Entry]
Name=Trash
GenericName=Trash
Exec=nautilus trash:///
Icon=user-trash
Terminal=false
Type=Application
Actions=empty-trash;
[Desktop Action empty-trash]
@khanghh
khanghh / unlock_ultimate-guitar.com.user.js
Last active June 17, 2019 05:56
tabs.ultimate-guitar.com unlock
// ==UserScript==
// @name tabs.ultimate-guitar.com unlock
// @version 1.0.0
// @author Hoang Hong Khang
// @description Unlock all pro features
// @namespace http://tampermonkey.net/
// @match https://tabs.ultimate-guitar.com/*
// @grant none
// @run-at document-start
// ==/UserScript==
// ==UserScript==
// @name Remove disable copy
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match *://*/*
// @grant none
// ==/UserScript==
@khanghh
khanghh / blockblockadblock.user.js
Created January 30, 2019 15:58
BlockBlockAdBlock
// ==UserScript==
// @name BlockBlockAdBlock
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://maclife.vn/*
// @match https://blockadblock.com/*
// @grant none
// ==/UserScript==
@khanghh
khanghh / config
Created March 21, 2019 13:14
ssh-config
Host *
StrictHostKeyChecking no
UserKnownHostsFile /dev/null