Skip to content

Instantly share code, notes, and snippets.

View atalazer's full-sized avatar

Atalariq Barra Hadinugraha atalazer

View GitHub Profile
javascript: Promise.all([import('https://unpkg.com/turndown@6.0.0?module'), import('https://unpkg.com/@tehshrike/readability@0.2.0'), ]).then(async ([{
default: Turndown
}, {
default: Readability
}]) => {
/* Optional vault name */
const vault = "";
/* Optional folder name such as "Clippings/" */
@atalazer
atalazer / simple_translate.json
Created March 20, 2023 02:37
My Personal Simple Translate Configurations JSON File
{
"translationApi": "google",
"deeplPlan": "deeplFree",
"deeplAuthKey": "",
"targetLang": "en",
"secondTargetLang": "id",
"ifShowCandidate": true,
"whenSelectText": "showPanel",
"ifCheckLang": false,
"ifOnlyTranslateWhenModifierKeyPressed": true,
@atalazer
atalazer / cvimrc
Last active October 19, 2021 07:46
My cVim configurations :)
" ============================================
" Settings
" ============================================
set autoupdategist
set cncpcompletion
set ignorecase
set incsearch
set smartcase
set smoothscroll
set typelinkhints
@atalazer
atalazer / vim-vixen.json
Created October 16, 2021 08:04
My vim-vixen (Vim Keybindings Firefox Add-on) configurations
{
"keymaps": {
"0": { "type": "scroll.home" },
":": { "type": "command.show" },
"o": { "type": "command.show.open", "alter": false },
"O": { "type": "command.show.open", "alter": true },
"t": { "type": "command.show.tabopen", "alter": false },
"T": { "type": "command.show.tabopen", "alter": true },
"w": { "type": "command.show.winopen", "alter": false },
"W": { "type": "command.show.winopen", "alter": true },
@atalazer
atalazer / ad
Created September 26, 2021 03:04
Better way to create file or directory.
#!/bin/sh
# ad
# Better way to create file or directory.
# Inspired by:
# - https://github.com/tanrax/terminal-AdvancedNewFile
# - https://github.com/NNBnh/mk
ad() {