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
| // Based on http://eli.eliandlyndi.com/2011/06/28/turntable-fm-mute-until-next-track-starts/ | |
| // To use this make a bookmark then save this as the url and click it when needed. | |
| javascript: | |
| (function() { | |
| function toggleMute() { | |
| $(".volume-icon").click(); | |
| } | |
| toggleMute(); |
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
| REJECT_RULE_NO=$(iptables -L INPUT --line-numbers | grep 'REJECT' | awk '{print $1}'); if ! (iptables-save | grep -q -- "-A INPUT -p tcp -m state --state NEW -m tcp --dport 80 -j ACCEPT"); then iptables -I INPUT $REJECT_RULE_NO -p tcp -m state --state NEW -m tcp --dport 80 -j ACCEPT; fi |
NewerOlder