You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains 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
if you need users to be loged in first, before visiting your website, so it's easier to use a middleware to check if they're loged in or not.
inorder to have such a middleware, use the following code:
how to add zsh-like theme and feature to windows powershell
Better PowerShell
Theme | History | KeyBinding
in order to make windows powershell more comfortable and add a some theme and features like history binding, auto complete on keypress and so on, if you have used linux teminl wiht zsh for example, we are going to make powershell like that as much as we can.
Zero-Pad this is a zsh script in order to zero-pad mp4 & srt files so media players will always play them in natural integer format.
Zero-Pad
When I use linux OS, SMplayer is my favorite vidoe player but this media player has very anoying bug in it, beside all the
havy customaization available via a very nice and simple GUI,it has.
The bug is this media player will sort any files that their names astriting with digits in alphabetical order regardless of
natural integer numbers order, so for example after 1. file-name.mp4 it will jump to 11. file-name.mp4 instead of
2. file-name.mp4.
this bug is reporeted so many times but it's still there and no fix have been issued yet.
Translate selected text on Linux with ease! Assign a keyboard shortcut to instantly translate and pronounce selected texts. 🌐📝
Text Translator and Pronunciation Tool
This script provides a convenient way to check spelling, pronunciation, and translation of words or text using a dictionary (such as Google Translate) directly from your Linux desktop. It can be easily integrated with a keyboard shortcut, making it globally accessible for quick translation and pronunciation of selected text.
Background
As a non-native English speaker, I often find myself needing to verify the spelling, pronunciation, or translation of words, phrases, or paragraphs using an online dictionary like Google Translate. To streamline this process, I developed a script that allows me to quickly translate and hear the pronunciation of selected text with a simple keyboard shortcut.
If you have problem with remove multiple LinekedIn connections at once, this code may help you.
In this code there is a filter that checks conection's occupation and based on that it will remove some connections.
Use some keyword to filter your connections and remove some.
Useage
In order to use this script open your connections page at linkedin.com quick open,
then go to page inspect view and in the console paste the code below press Enter and wait till finishes it's job.