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
| virsh edit giji-DB | |
| virsh edit giji-APP | |
| virsh start giji-DB | |
| virsh start giji-APP | |
| virsh shutdown giji-DB | |
| virsh shutdown giji-APP | |
| virsh list --all |
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
| # TODO : これだと、外部へのゲートウェイ設定が消えていた。書いてあるがなあ。 | |
| nmcli c add type bridge ifname br0 | |
| nmcli c modify bridge-br0 bridge.stp no | |
| nmcli c modify bridge-br0 ipv4.method manual ipv4.addresses "192.168.0.100/24" ipv4.gateway "192.168.0.1" ipv4.dns "192.168.0.1" | |
| nmcli c modify bridge-br0 ipv4.gateway "" | |
| nmcli c modify bridge-br0 ipv4.dns "" | |
| nmcli c add type bridge-slave ifname enp2s0 master bridge-br0 | |
| brctl addif br0 enp2s0 |
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 NODE_PATH=`npm root -g` | |
| npm install --save-dev gulp gulp-sass gulp-coffee gulp-livescript gulp-yaml coffee-script livescript | |
| ### gulpfile.coffee | |
| gulp = require 'gulp' | |
| coffee = require 'gulp-coffee' | |
| gulp.task "coffee", -> | |
| paths = [ |
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
| JDK インストール | |
| npm install -g appcelerator tishadow | |
| appc setup | |
| appc ti setup |
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
| npm install -g appcelerator tishadow | |
| appc setup | |
| brew install sqlite3 | |
| cd "/Users/7korobi/Library/Application Support/Titanium/mobilesdk/osx/5.0.2.GA/" | |
| npm install -g sqlite3 | |
| npm install -g wrench | |
| appc setup | |
| appc ti setup |
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
| # /usr/lib/firewalld/services/*.xml を用意 | |
| # /usr/lib/firewalld/services/ssh.xml のポート訂正はよくやる。 | |
| firewall-cmd --permanent --add-rich-rule='rule family=ipv4 source address=192.168.0.0/24 service name=redis accept' | |
| firewall-cmd --permanent --add-rich-rule='rule family=ipv4 source address=192.168.0.0/24 service name=mongo accept' | |
| firewall-cmd --reload |
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
| COOKIE_REGEXP = /([^,=]+)=([^;]*); (domain=([^;]+)[;,] )?(path=([^;]+)[;,] )?(expires=(...,[^;,]+)[;,] )?(secure[;,] )?(HttpOnly(, |))?/ | |
| def scan_cookie(raw_cookie_text) | |
| (raw_cookie_text + ", ").scan(COOKIE_REGEXP) do |args| | |
| h = {} | |
| key, h[:value],_,h[:domain],_,h[:path],_,expires,secure,httponly = args | |
| h[:expires] = expires && Time.parse(expires) | |
| h[:secure] = secure && true | |
| h[:httponly] = httponly && true | |
| yield( key, h ) |
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
| root@android:/ # mount | |
| rootfs / rootfs ro,relatime 0 0 | |
| tmpfs /dev tmpfs rw,nosuid,relatime,size=876772k,nr_inodes=186387,mode=755 0 0 | |
| devpts /dev/pts devpts rw,relatime,mode=600 0 0 | |
| proc /proc proc rw,relatime 0 0 | |
| sysfs /sys sysfs rw,relatime 0 0 | |
| debugfs /sys/kernel/debug debugfs rw,relatime 0 0 | |
| none /acct cgroup rw,relatime,cpuacct 0 0 | |
| tmpfs /mnt/secure tmpfs rw,relatime,size=876772k,nr_inodes=186387,mode=700 0 0 | |
| tmpfs /mnt/asec tmpfs rw,relatime,size=876772k,nr_inodes=186387,mode=755,gid=1000 0 0 |
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
| sudo su | |
| apt-get update | |
| apt-get install python-software-properties | |
| add-apt-repository ppa:stebbins/handbrake-releases | |
| apt-get update | |
| apt-get install git | |
| apt-get install nfs-common | |
| apt-get install rdiff-backup | |
| apt-get install handbrake-cli |
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
| yum install patch aclocal autoconf automake libtool fribidi | |
| cd /tmp/ | |
| wget http://elders.princeton.edu/data/puias/6/x86_64/os/Addons/puias-addons-6-1.puias6.6.noarch.rpm | |
| wget http://elders.princeton.edu/data/puias/6/x86_64/os/Addons/fribidi-0.19.2-2.puias6.x86_64.rpm | |
| wget http://elders.princeton.edu/data/puias/6/x86_64/os/Addons/fribidi-devel-0.19.2-2.puias6.x86_64.rpm | |
| wget http://downloads.sourceforge.net/project/handbrake/0.9.8/HandBrake-0.9.8.tar.bz2?r=http%3A%2F%2Fashu-geek.blogspot.jp%2F2012%2F08%2Fhandbrake-098-released-with-updated.html&ts=1346546106&use_mirror=jaist | |
| rpm -Uvh puias-addons-6-1.puias6.6.noarch.rpm | |
| tar xvf HandBrake-0.9.8.tar.bz2 |
NewerOlder