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
[hoge@hog1234xx ~]$ which perl | |
/usr/bin/perl |
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
./hoge.pl |
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
@$refMonth |
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
[funya@hogex ~]$ cd /usr/local/bin/ | |
[funya@hogex bin]$ ls | |
[funya@hogex ~]$ sudo yum install gcc | |
[funya@hogex bin]$ sudo yum install libjpeg-devel | |
[funya@hogex bin]$ sudo yum install zlib-devel | |
[funya@hogex bin]$ sudo wget http://www.sqlite.org/sqlite-autoconf-3070500.tar.gz | |
[funya@hogex bin]$ sudo tar xvfz sqlite-autoconf-3070500.tar.gz |
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
:e ++enc=shift_jis |
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
[funya@whogex ~]$ sudo yum install zsh |
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
# cat /etc/redhat-release | |
CentOS release 6.4 (Final) | |
# vim /proc/cpuinfo | |
model name : Intel(R) Xeon(R) CPU E5645 | |
cpu MHz : 2400.032 | |
cache size : 4096 KB | |
・・・ |
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
use strict; | |
use warnings; | |
use ExtUtils::MakeMaker; | |
WriteMakefile( | |
NAME => 'myapp.pl', | |
VERSION => '1.0', | |
AUTHOR => 'Funyamora Funya <hogehoge@hogenne.com>', | |
EXE_FILES => ['myapp.pl'], | |
PREREQ_PM => {'Mojolicious' => '2.0'}, |
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
package Triangle; | |
use Carp qw(croak); | |
my $subSpace = sub { | |
my($a,$b,$c) = @_; | |
my $s = ($a + $b + $c) / 2; | |
my $inRoot = $s * ($s - $a) * ($s - $b) * ($s - $c); | |
if ($inRoot >= 0){ | |
return sqrt($inRoot); | |
}else{ |
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
x | |
1文字削除 | |
dd(連打) | |
1行削除 | |
dd(x行目で1回目のdを押し、y行目で2回目のdを押す) | |
x行目〜y行目までを削除 | |
5dd (xdd) | |
5(x)行削除 |