Easily resolve Google Account and Drive integration issues on KDE with this simple script.
- Download the script:
The scriptfix_kde_google_integration.shis located alongside this README. Download it to your system.
| // ==UserScript== | |
| // @name GSeach Toggle Persian/English | |
| // @name:fa سوییچ فارسی/انگلیسی گوگل | |
| // @version 0.3 | |
| // @author Amir | |
| // @description GToggle can change google search language result between | |
| // English and Persian without any effect in RTL direction. (fork as tgxhx) | |
| // @description:fa با این اسکریپت به راحتی میتوان بین زبان انگلیسی و فارسی | |
| // در جستجوی گوگل سوییچ کرد، البته بدون تغییر در چینش | |
| // صفحه از چپ به راست. |
My relatively simple Oh My ZSH + tmux config I started using after transitioning from BASH
common theme for Oh My ZSH (needs to be installed extra - see https://github.com/jackharrisonsherlock/common)pimux for my tmux theme (https://github.com/ndyakov/pimux - installed via TPM)
Use JavaScript To View The Passwords
If you don’t want to make changes to a code each time you want to reveal a password, you can use JavaScript that’ll do the job for you in a single-click.
Although the JavaScript to reveal passwords can be run manually from the address bar, you may want to add it to the bookmarks bar so it’s then just a matter of a single-click to execute it.
| #!/bin/bash | |
| response=`curl -s "http://c.ganjoor.net/beyt-json.php"` | |
| m1=`echo $response | jq -r ".m1"` | |
| m2=`echo $response | jq -r ".m2"` | |
| poet=`echo $response | jq -r ".poet"` | |
| # fribidi still monkeys with the output tho | |
| echo -e "$m1\n$m2\n$poet" | fribidi |
| /*--- waitForKeyElements(): A utility function, for Greasemonkey scripts, | |
| that detects and handles AJAXed content. | |
| Usage example: | |
| waitForKeyElements ( | |
| "div.comments" | |
| , commentCallbackFunction | |
| ); |