From 4442c1217323ec8cc62c038e8467094578ea3324 Mon Sep 17 00:00:00 2001 From: acevest Date: Fri, 30 Oct 2015 10:09:09 +0800 Subject: [PATCH] ... --- learn/doc/mac_bash_profile | 3 ++ learn/h5/ball1.html | 70 +++++++++++++++++++++++++++++++++ learn/h5/ball2.htm | 79 ++++++++++++++++++++++++++++++++++++++ tools/comm/cs | 3 +- 4 files changed, 154 insertions(+), 1 deletion(-) create mode 100644 learn/h5/ball1.html create mode 100644 learn/h5/ball2.htm diff --git a/learn/doc/mac_bash_profile b/learn/doc/mac_bash_profile index b9820f2..08a89dd 100644 --- a/learn/doc/mac_bash_profile +++ b/learn/doc/mac_bash_profile @@ -1,8 +1,11 @@ export PATH=/usr/local/sbin:$PATH export PATH="$(brew --prefix homebrew/php/php56)/bin:$PATH" export PATH=/Users/Ace/sys/bin:$PATH +export PATH=/Users/Ace/workspace/github/metasploit-framework:$PATH +export MSF_DATABASE_CONFIG=/Users/Ace/workspace/github/metasploit-framework/config/database.yml export PS1="\W\$ " alias ll='ls -lGh' alias ls='ls -Gh' alias rm='rm -rf' +alias msf='msfconsole' diff --git a/learn/h5/ball1.html b/learn/h5/ball1.html new file mode 100644 index 0000000..45c2c72 --- /dev/null +++ b/learn/h5/ball1.html @@ -0,0 +1,70 @@ + + + + + + + 手机重力控制测试 + + + +

+		
+
+
+ + + + diff --git a/learn/h5/ball2.htm b/learn/h5/ball2.htm new file mode 100644 index 0000000..caa6236 --- /dev/null +++ b/learn/h5/ball2.htm @@ -0,0 +1,79 @@ + + + + + + + 手机重力控制测试 + + + +

+		
+
+
+ + + + \ No newline at end of file diff --git a/tools/comm/cs b/tools/comm/cs index 3cbb05f..8d96f31 100755 --- a/tools/comm/cs +++ b/tools/comm/cs @@ -6,6 +6,7 @@ # Description: Create Source Code # ------------------------------------------------------------------------ use strict; +use POSIX qw(strftime); my $filename = " File Name: "; my $author = " Author: Zhao Yanbai\n"; @@ -118,7 +119,7 @@ sub build_str{ $s .= $author; $s .= $t{lts}; - $s .= $timestr . localtime() . "\n"; + $s .= $timestr . strftime "%Y-%m-%d %H:%M:%S %A %Z\n", localtime; $s .= $t{lts}; $s .= $description; -- 2.44.0