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
| #!/bin/bash | |
| class=org.gnome.desktop.interface | |
| name=text-scaling-factor | |
| gs_status=$(gsettings get "$class" "$name") | |
| if [[ $gs_status = 1.0 ]]; then | |
| echo "scaling up" | |
| new_gs_status=1.25 | |
| else |
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
| #!/bin/bash | |
| ### Requirements: | |
| ### - exa | |
| ### - ripgrep | |
| ### - column | |
| ### - updated db for `locate` command (best set up with a cron task) | |
| function main() { |
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
| // ==UserScript== | |
| // @name Make table content link to correct course | |
| // @version 1 | |
| // @grant none | |
| // @include https://grades.cs.technion.ac.il/* | |
| // ==/UserScript== | |
| let allFields = Array.from(document.getElementsByClassName("black-text")).slice(0,-1); | |
| for(let i = 0 ; i < allFields.length / 2 ; i++) { |