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
# /etc/sysconfig/docker | |
OPTIONS='--selinux-enabled -g /path/to/directory' |
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 vol-list a | |
Name Path | |
------------------------------------------------------------------------------ | |
hoge.img /path/to/a/hoge.img |
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
raven% df | |
Filesystem 512-blocks Used Available Capacity iused ifree %iused Mounted on | |
/dev/disk1 974700800 716893256 257295544 74% 2759317 4292207962 0% / | |
devfs 366 366 0 100% 634 0 100% /dev | |
map -hosts 0 0 0 100% 0 0 100% /net | |
map auto_home 0 0 0 100% 0 0 100% /home | |
localhost:/hogehogefugafugapiyopi 974700800 974700800 0 100% 0 0 100% /Volumes/MobileBackups |
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
[3] pry(main)> RGhost::Convert.new(nil).to :jpeg | |
NoMethodError: undefined method `empty?' for nil:NilClass | |
from /Users/atton/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/bundler/gems/rghost-141a28abb655/lib/rghost/ruby_ghost_engine.rb:156:in `shellescape' | |
[5] pry(main)> RGhost::Convert.new(true).to :jpeg | |
NoMethodError: undefined method `empty?' for nil:NilClass | |
from /Users/atton/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/bundler/gems/rghost-141a28abb655/lib/rghost/ruby_ghost_engine.rb:156:in `shellescape' |
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
form_with(url: hoge_url, data: {remote: false}) |
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
[Unit] | |
Description=Redis persistent key-value database | |
After=network.target | |
[Service] | |
ExecStart=/usr/local/bin/redis-server /etc/redis.conf --daemonize no | |
ExecStop=/usr/local/bin/redis-cli -p 6379 shutdown | |
[Install] | |
WantedBy=multi-user.target |
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
cat > /usr/lib/systemd/system/httpd.service << EOF | |
[Unit] | |
Description=The Apache HTTP Server | |
After=network.target remote-fs.target nss-lookup.target | |
Documentation=man:httpd(8) | |
Documentation=man:apachectl(8) | |
[Service] | |
Type=notify | |
#EnvironmentFile=/usr/local/apache2/conf/httpd.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
"Mounts": [ | |
{ | |
"Name": "98ef888300af713d65b6d7534d835c7bd2e95270ad5eb016da749bbbb5f6d409", | |
"Source": "/var/lib/docker/volumes/98ef888300af713d65b6d7534d835c7bd2e95270ad5eb016da749bbbb5f6d409/_data", | |
"Destination": "/var/jenkins_home", | |
"Driver": "local", | |
"Mode": "", | |
"RW": true, | |
"Propagation": "" | |
} |
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
# ~/.config/git/ignore | |
.DS_Store | |
*.swp |
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
# [13] pry(#<#<Class:0x007ffdce310d48>>)> puts (p self.class.ancestors) | |
[#<Class:0x007ffdce310d48>, | |
#<Module:0x007ffdcead5600>, | |
#<Module:0x007ffdce9c6f48>, | |
UsersHelper, | |
ApplicationHelper, | |
#<Module:0x007ffdcd741030>, | |
ActionDispatch::Routing::RouteSet::MountedHelpers, | |
#<Module:0x007ffdce310ca8>, | |
#<Module:0x007ffdcd1a8c68>, |