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
| echo blacklist acer-wmi | sudo tee -a /etc/modprobe.d/blacklist-acer-wmi.conf | |
| echo softdep intel_ips pre: i915 | sudo tee -a /etc/modprobe.d/blacklist-acer-wmi.conf |
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 | |
| if [ $# == 3 ]; then | |
| echo "From: $1 To: $2" | |
| lynx -dump "http://ajax.googleapis.com/ajax/services/language/translate?v=1.0&q=$3&langpair=$1|$2"|awk -F'"' '{print $6}' | |
| else | |
| lynx -dump "http://ajax.googleapis.com/ajax/services/language/translate?v=1.0&q=$1&langpair=|cs"|awk -F'"' '{print "From: "$10" To: cs \n"$6}';echo | |
| lynx -dump "http://ajax.googleapis.com/ajax/services/language/translate?v=1.0&q=$1&langpair=|en"|awk -F'"' '{print "From: "$10" To: en \n"$6}';echo |
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 | |
| # | |
| # Caps Lock killer | |
| # | |
| case "$1" in | |
| deactivate) | |
| xmodmap -e "remove lock = Caps_Lock" | |
| ;; | |
| activate) |
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
| # generic install and usage of rhc | |
| # install rhc gem | |
| export RB_USER_INSTALL=true | |
| export PATH=$PATH:/home/holly/.gem/ruby/1.8/bin | |
| gem install --user-install --source http://gems.rubyforge.org --source https://openshift.redhat.com/app/repo/ rhc | |
| # json-1.5.1 | |
| # parseconfig-0.5.2 | |
| # rhc-0.69.3 |
NewerOlder