Skip to content

Instantly share code, notes, and snippets.

View davzoku's full-sized avatar
learning in public

Walter Teng davzoku

learning in public
View GitHub Profile
@davzoku
davzoku / awesome-commands
Last active December 21, 2017 09:05
🐱‍👤 On my way to become a shortcut kage
We couldn’t find that file to show.
@davzoku
davzoku / git-pull-all
Created December 21, 2017 13:36
🛠️ git pull all repositories in .bat and .sh
Credits to:
.bat https://stackoverflow.com/questions/24223630/how-to-git-pull-for-multiple-repos-on-windows
.sh https://stackoverflow.com/questions/3497123/run-git-pull-over-all-subdirectories
@davzoku
davzoku / steps-to-gitignore-alr-committed.md
Created January 8, 2018 08:06
steps-to-gitignore-alr-committed
  1. Add path to gitignore file

  2. Run git rm -r --cached foldername

  3. Commit changes.

@davzoku
davzoku / fast-access-to-chrome-settings-w-omnibar.md
Last active June 6, 2021 10:32
Use below hack to access the chrome settings or any website from chrome with 4 keystrokes or less!

Fast Access to Chrome Settings with Omnibar

by Walter Teng, Jun 2021

Normally, chrome settings can be accessed by either:

  • typing chrome://settings/ on the omnibar or
  • by click on the "customize and control" button (aka 3 dot button) on the top right corner of chrome to access the chrome menu.

With the settings below, we can perform the same actions in 4 keystrokes or less

Access Chrome Settings from Omnibar

@davzoku
davzoku / quick-notepad-in-browser.md
Created June 6, 2021 15:13
Use your browser as your notepad. Fuss-free!

Quick Notepad in Browser

Ever wish that you can turn your browser into a quick writing pad just to store some temporary strings of data?

This can be done by using the contenteditable attribute that is supported by most modern browser. Just copy the following code snippet in the browser omnibar and type away

Tip 1: save the following snippet as a bookmark and you can access it quickly via the bookmarks bar.

Tip 2: This should be used for temporary data that you don't mind losing. The notes will not be saved anywhere, unless you do a CTRL + S to save the webpage.

@davzoku
davzoku / custom-slides.css
Last active April 30, 2023 13:56
Custom Slides css for Obsidian Slides Plugin
/* Apply styles to containing divs for slides */
.slides {
/* Set overflows to allow for auto vertical scroll bar and no horizontal scroll bar */
overflow-x: hidden !important;
overflow-y: auto !important;
/* Enable pointer events so users can click and drag on scrollbars */
pointer-events: auto !important;
}
/*