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/sh | |
| # all variables found so far | |
| # execute the below line for all events | |
| # ~/bin/libnotify-skype.sh "%type" "%sname" "%sskype" "%smessage" "%fpath" "%fname" "%fsize" "%fprogress" "%fspeed" | |
| # below line prints all the param values on any event | |
| # notify-send "$1 $2 $3 $4 $5 $6 $7 $8 $9"; | |
| # shorthand for notification | |
| notif () { |
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/sh | |
| # System Update | |
| pacman --noconfirm -Syu | |
| #The essentials | |
| pacman --noconfirm -S base-devel vim git | |
| # Packer (AUR Helper) | |
| cd /tmp |
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 | |
| # youtube url player for raspberry pi, | |
| # ------------------------------------------------------------------ | |
| ytdlCmd="youtube-dl"; | |
| ytdlArgs="-f 140 --prefer-ffmpeg -g"; # 141 - 256k audio, 140 - 128k audio, 22 - best quality available | |
| playerCmd="omxplayer"; | |
| playerArgs="--vol -300"; |
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
| export static class CacheService { | |
| // static $inject = ["localStorageService", "$rootScope", "$timeout"] | |
| private static ls : localStorageService = undefined; // wrap localstorage to hide data | |
| private static instance : CacheService = undefined; | |
| private callables : Object = {}; | |
| private asyncCallables : Object = {}; | |
| constructor(ls : any, rootScope : any, timeout : any) { | |
| if(!this.instance) { |
OlderNewer