Skip to content

Instantly share code, notes, and snippets.

View alimertcakar's full-sized avatar

Ali Mert Çakar alimertcakar

View GitHub Profile

First cd src Then find . -type f | xargs wc -l | awk -F "." '$1>100'

Filter files with 100+ lines in react project or filter files with 100+ lines in nodejs project or filter files with 100+ lines in dotnet project or filter files with 100+ lines in any project.

source for script.

@dlaehnemann
dlaehnemann / contribute_github_without_write_access.md
Last active August 11, 2024 18:55
contributing to github repo without write access: pull from origin repo, push to your own fork

Whenever I want to create pull requests to a repo that I don't have write access to, I:

  1. Fork the original repo to my account.
  2. Clone the original repo to my local machine.
  3. Add my fork as an additional remote and make it the push default.
  4. Make changes in a new branch locally.
  5. Push this branch to my fork.
  6. Create a pull request from there.
@joepie91
joepie91 / vpn.md
Last active April 25, 2025 13:58
Don't use VPN services.

Don't use VPN services.

No, seriously, don't. You're probably reading this because you've asked what VPN service to use, and this is the answer.

Note: The content in this post does not apply to using VPN for their intended purpose; that is, as a virtual private (internal) network. It only applies to using it as a glorified proxy, which is what every third-party "VPN provider" does.

  • A Russian translation of this article can be found here, contributed by Timur Demin.
  • A Turkish translation can be found here, contributed by agyild.
  • There's also this article about VPN services, which is honestly better written (and has more cat pictures!) than my article.