#Windows 7
Alt
+ PrtSc
Windows
+ PrtSc
##Windows 10
#Hey
I know you always forget how to do date conversion. Look at this.
#UNIX time
# date +%s
1444168730
##Configuration
###Accessing the neo4j server from outside
Uncomment the following line in conf/neo4j-server.properties
# Let the webserver only listen on the specified IP. Default is localhost (only
# accept local connections). Uncomment to allow any connection. Please see the
# security section in the neo4j manual before modifying this.
org.neo4j.server.webserver.address=0.0.0.0
#Overwriting a file | |
``` | |
sed -i "s/SN002/SN003/g" | |
``` |
#Welcome to Gistlog
##What is Gistlog? Gistlog makes your gist snippets readable like a blog. This page is the live sample of Gistlog. All the contents here come form your gist.
##Intallation
This repositry consists of html, css and js so just clone this repogitry to any web server. I recommend to use github pages. Just push to your repositry as <your_name>.github.io
git clone https://github.com/narutaro/narutaro.github.io.git
#Situation You have a running job which is taking longer time than expected and you gotta hit a road now. However, you don't want to stop the job cause it run long already.
#Solution This is what you can do.
Ctrl+Z
and put the job back groundjobs
disown
the job
#How to delete a file starting with - or --
##NO.1 - NG
$ rm '--attack_metadata'
rm: unrecognized option '--attack_metadata'
Try 'rm ./--attack_metadata' to remove the file ‘--attack_metadata’.
Try 'rm --help' for more information.
#Every second, 500 times
$ sar 1 500
Linux 3.19.0-25-generic (netflowc) 10/30/2015 _x86_64_ (16 CPU)
02:00:09 PM CPU %user %nice %system %iowait %steal %idle
02:00:10 PM all 20.25 0.00 6.00 23.25 0.00 50.50
02:00:11 PM all 19.02 0.00 6.21 32.71 0.00 42.06
02:00:12 PM all 18.47 0.00 5.69 33.21 0.00 42.63
inoue@netflowc:~/nfsen-1.3.6p1$ ./install.pl
Can't locate RRDs.pm in @INC (you may need to install the RRDs module) (@INC contains: ./libexec ./installer-items /etc/perl /usr/local/lib/perl/5.18.2 /usr/local/share/perl/5.18.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.18 /usr/share/perl/5.18 /usr/local/lib/site_perl .) at libexec/NfSenRRD.pm line 38.
BEGIN failed--compilation aborted at libexec/NfSenRRD.pm line 38.
Compilation failed in require at libexec/NfSen.pm line 43.
BEGIN failed--compilation aborted at libexec/NfSen.pm line 43.
Compilation failed in require at ./install.pl line 46.