projects
/
dotfiles
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f698ab8
)
add a create htaccess password function
author
patrick nsukami
<ndkpatt@gmail.com>
Wed, 24 Feb 2016 23:27:30 +0000
(23:27 +0000)
committer
patrick nsukami
<ndkpatt@gmail.com>
Wed, 24 Feb 2016 23:27:30 +0000
(23:27 +0000)
.bash_function
patch
|
blob
|
history
diff --git
a/.bash_function
b/.bash_function
index
a0c6039
..
6434ddb
100644
(file)
--- a/
.bash_function
+++ b/
.bash_function
@@
-2,6
+2,11
@@
# my weird function file
# lots of this coming from the internets
+my_create_htaccess_pwd(){
+ local password=$1
+ openssl passwd -crypt $password
+}
+
my_find_file_size(){
#echo "$(wc -c file.ext | awk '{print $1}') / 1024" | bc
local file=$1