- Always use enum for status field
- Push Ifs Up: Move if condition from inside function to caller when the if condition is returning early
- Push Fors Down: Prefer passing list of objects to function instead of function inside loop of objects, to allow batch operation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ! Aug 2, 2025 https://x.com | |
| x.com##div.r-1udh08x.r-1ifxtd0.r-rs99b7.r-1phboty.r-1867qdf.r-1kqtdi0.r-kemksi.css-175oi2r:nth-of-type(4) | |
| x.com##div.r-1udh08x.r-1ifxtd0.r-rs99b7.r-1phboty.r-1867qdf.r-1kqtdi0.r-kemksi.css-175oi2r:nth-of-type(5) | |
| ! Aug 13, 2025 https://www.reddit.com | |
| www.reddit.com##.nd\:pt-\[54px\].nd\:mt-md.nd\:rounded-4.nd\:bg-neutral-background-weak | |
| ! Sep 14, 2025 https://www.facebook.com | |
| www.facebook.com##.x1y1aw1k > div > div > .xyen2ro.x1uc6qws.x1n2onr6 > .x1y1aw1k.xwib8y2 | |
| www.facebook.com##.x1y1aw1k > div > div > .xyen2ro.x1uc6qws.x1n2onr6 > .x1cnzs8.xjkvuk6.x193iq5w.x2lah0s.xdt5ytf.x78zum5.x9f619.x1ja2u2z.x1n2onr6 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "amp": { | |
| "updates": { | |
| "mode": "warn" | |
| } | |
| }, | |
| "amp.dangerouslyAllowAll": true | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "$schema": "https://opencode.ai/config.json", | |
| "share": "disabled", | |
| "autoupdate": "notify", | |
| "permission": { | |
| "external_directory": { | |
| "~/go/**": "allow" | |
| } | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $(function(){ | |
| $('.link-stop-watching').click(); | |
| setTimeout(function(){location.reload();},2000); | |
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| for dir in ~/go/src/xxx/* | |
| do | |
| echo $dir | |
| cd $dir | |
| do something || true | |
| cd .. | |
| done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: "2" | |
| run: | |
| tests: false | |
| allow-parallel-runners: true | |
| linters: | |
| default: none | |
| enable: | |
| - bodyclose | |
| - copyloopvar | |
| - err113 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # macOS | |
| .DS_Store | |
| # Window | |
| *.exe | |
| # IntelliJ | |
| .idea | |
| # VSCode |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [sqlfluff] | |
| dialect = mysql | |
| max_line_length = 120 | |
| [sqlfluff:indentation] | |
| tab_space_size = 4 | |
| implicit_indents = allow | |
| [sqlfluff:rules:capitalisation.keywords] | |
| capitalisation_policy = upper |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # https://typeof.net/Iosevka/customizer | |
| # https://github.com/be5invis/Iosevka/blob/main/build-plans.toml | |
| # https://github.com/be5invis/Iosevka/blob/main/doc/custom-build.md | |
| [buildPlans.IosevkaPacman] | |
| family = "Iosevka Pacman" | |
| spacing = "term" | |
| exportGlyphNames = true | |
| [buildPlans.IosevkaPacman.ligations] | |
| inherits = "clike" |
NewerOlder