Posts

Showing posts from June, 2020

Remove Screen Flickering OBS 💻📹

I was recently trying out OBS for my new YouTube Channel ! but faced weird flickering issues when recording, after a lot of tweaking I found the solution.  You have to turn of Vsync on your system. On KDE the steps are as follows: Open System Settings Then go to Display and Monitor section Click on Compositor Here, change Tearing Prevention (vsync) to Never This should do the trick. Try again and you shouldn't face flickering issues anymore.

Sync Forked Repository With Upstream 🔁✔️

Here's the situation, You have forked a repository on GitHub, you have made your changes and sent a pull request and that request has been merged.  Now you want to make further changes, but the repository mentions that you are X commits ahead or/and X commits behind upstream repository. So how do you sync it? You can delete your fork and fork the original repository again, but that is a very tedious thing to do. Here's another way to do this: 1. Clone your fork git clone https://github.com/yourname/repo.git cd yourname/repo 2. Add upstream remote git remote add upstream https://github.com/original-author/repo.git git fetch upstream 3. Ignore all changes in fork and sync with upstream git reset --hard upstream/master git push -f origin master Only do this if you have no changes on your fork that you will like to keep. This will set your fork's master to be the same as upstream's master. Now you are free to make any changes you wish to

Enable Dark Mode On Chrome Everywhere 🌜🌎

Image
Preview of GitHub with Dark Mode There are lots of extensions out there that turn your web browsing experience much better if you prefer dark backgrounds (who doesn't right?). My favourite one is Dark Reader but there's just one problem, mobile versions of chrome don't support extensions. This trick will help you turn on dark mode everywhere. Steps: Visit Chrome flags by entering chrome://flags/ into the address bar. Search for dark in the flags search bar. On Desktop versions you'll have to enable the flag "Force Dark Mode for Web Contents" which is tagged #enable-force-dark . On Android versions you'll have to enable the flag "Darken websites checkbox in themes setting" which is tagged #darken-websites-checkbox-in-themes-setting . Restart Chrome and enjoy the dark side. That's all, Thank you for reading. Hopefully this post was helpful to you, see you in the next one.