This file contains 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 | |
# check root and set MY_YUM | |
MY_YUM="sudo yum" | |
if [ ${EUID:-${UID}} = 0 ]; then | |
MY_YUM="yum" | |
fi | |
# remove exists git package | |
eval ${MY_YUM} erase -y git |
This file contains 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 | |
## VMware Workstation 12.1.0.3272444 | |
## kernel: 4.3.5-300.fc23.x86_64 | |
cd /usr/lib/vmware/modules/source | |
find . -type f -name \*.tar -exec cp {}{,.orig} \; | |
find . -type f -name \*.tar -exec tar xf {} \; | |
curl -O https://communities.vmware.com/servlet/JiveServlet/download/2576100-151611/b-c.patch.zip && \ | |
unzip b-c.patch.zip && rm -f b-c.patch.zip |
This file contains 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
## | |
## メンテナンスモード用コンフィグ | |
## | |
## How to use: | |
## maintenance mode on | |
## $ rename .conf .conf.maintenance *.conf && rename .conf.tmp .conf *.conf.tmp && service nginx restart | |
## maintenance mode off | |
## $ rename .conf .conf.tmp *.conf && rename .conf.maintenance .conf *.conf.maintenance && service nginx restart | |
## | |
## Tips: |
This file contains 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
## | |
## メンテナンスモード用コンフィグ | |
## | |
## How to use: | |
## maintenance mode on | |
## $ rename .conf .conf.maintenance *.conf && rename .conf.tmp .conf *.conf.tmp && service httpd restart | |
## maintenance mode off | |
## $ rename .conf .conf.tmp *.conf && rename .conf.maintenance .conf *.conf.maintenance && service httpd restart | |
## | |
## Tips: |
This file contains 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
<style type="text/css"> | |
<!-- | |
ul li { | |
display: inline; | |
} | |
ul li+li:before { | |
content: '\00a0->\00a0'; | |
} | |
--> |
This file contains 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 | |
# Script for installing tmux on systems where you don't have root access. | |
# tmux will be installed in $HOME/local/bin. | |
# It's assumed that wget and a C/C++ compiler are installed. | |
# exit on error | |
set -e | |
# create our directories |
This file contains 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 Crowsnest Tweak - Open item in background by pressing 'v' | |
// @namespace http://blog.tndl.net/ | |
// @description Crowsnest Tweak - Open item in background by pressing 'v' | |
// @include http://www.crowsnest.tv/* | |
// ==/UserScript== | |
function openNewBackgroundTab(url) { | |
var a = document.createElement("a"); | |
a.href = url; |
This file contains 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 Crowsnest Tweak - Open item in background by pressing 'v' | |
// @namespace http://blog.tndl.net/ | |
// @description Crowsnest Tweak - Open item in background by pressing 'v' | |
// @include http://www.crowsnest.tv/* | |
// ==/UserScript== | |
function openNewBackgroundTab(url) { | |
var a = document.createElement("a"); | |
a.href = url; |
This file contains 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 Crowsnest Tweak - Open item in background by pressing 'v' | |
// @namespace http://blog.tndl.net/ | |
// @description Crowsnest Tweak - Open item in background by pressing 'v' | |
// @include http://www.crowsnest.tv/* | |
// ==/UserScript== | |
var x; | |
var link; |
This file contains 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 Google Reader Tweak - Open feed item in background by pressing 'v' | |
// @namespace http://sunnywu.net/2007/08/02/google-reader-tweak-open-links-in-background/ | |
// @description Google Reader Tweak - Open feed item in background by pressing 'v' | |
// @include http://www.google.tld/reader/view/* | |
// @include https://www.google.tld/reader/view/* | |
// ==/UserScript== | |
var x; | |
var link; |