Skip to content

Instantly share code, notes, and snippets.

@vikbert
vikbert / chrome.MD
Last active May 2, 2024 02:26
[chrome plugin] chrome plugin and extensions

Plugins used

# simple english dict
youdao chrome

@rl4debug
rl4debug / hugo-learn.md
Last active May 2, 2024 02:25
[hugo static website generator] #hugo
@HerringtonDarkholme
HerringtonDarkholme / nihongo.cpp
Last active May 2, 2024 02:25
g++ nihongo.cpp
#define エスティーディー std
#define アイオーストリーム <iostream>
#define ユージング using
#define イフ if
#define インクルード #include
#define イント int
#define シーアウト cout
#define シーイン cin
#define ネームスペース namespace
#define ブール bool
@rl4debug
rl4debug / chrome-shortcut-key-macos.md
Created February 2, 2020 09:35
[chrome shortcut key macos]
  • Delete 1 browsing history item on address bar Shift + Fn + Delete
@rl4debug
rl4debug / makefile-cheatsheet.md
Created April 3, 2020 15:17
[makefile] #makefile

Special macros:

  • $@ is the name of the file to be made
  • $? is the name of changed depandents
  • $< the name of related file that caused the action
  • $* the prefix shared by target and dependent files
@rl4debug
rl4debug / tdd-references.md
Created March 21, 2020 17:53
[TDD reference]
  • 8k: https://blog.usejournal.com/lean-testing-or-why-unit-tests-are-worse-than-you-think-b6500139a009

  • >1k: https://medium.com/pacroy/why-most-unit-testing-is-waste-tests-dont-improve-quality-developers-do-47a8584f79ab
@rl4debug
rl4debug / 0_reuse_code.js
Created October 6, 2016 09:34
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@rl4debug
rl4debug / chrome-dev-xpath-cheatsheet.md
Last active May 2, 2024 02:22
[chrome dev xpath] #chrome #chromedev #devtool
  • id contains string
//*[contains(@id, "mystring")]
  • ptag's text contains: //p[text()[contains(., "mystring")]]
  • first element id contains: (//*[contains(@id, "mystring")])[1]
@vielhuber
vielhuber / README.MD
Last active May 2, 2024 02:21
chrome developer console tricks #chrome #tools

network: filter external requests

-domain:*tld.com

current / last nth active dom element

$0
$1
$2