Second test of script

This commit is contained in:
2016-09-09 15:31:13 -04:00
parent 60a09d8cf0
commit 8bfb67fdad
8 changed files with 61 additions and 23 deletions
+8
View File
@@ -0,0 +1,8 @@
<h4 id="pengzhan-hao">Pengzhan Hao</h4>
<h4 id="master-student-of-binghamton-university-suny">Master Student of Binghamton University, SUNY</h4>
<h4 id="working-on-oscloud">Working on OS/Cloud</h4>
<h4 id="interested-in-mlgeo-computing">Interested in ML/Geo Computing</h4>
<h4 id="experience">Experience</h4>
<p>2013<sub>2014 2013</sub>2014 2016~</p>
<h4 id="blog">Blog</h4>
<p><a href="./blog.html">Mil años de solitario</a></p>
+1
View File
@@ -0,0 +1 @@
<p>-&gt;Mil años de solitario&lt;- -&gt;INDEX&lt;-</p>
+13
View File
@@ -0,0 +1,13 @@
#### Pengzhan Hao
#### Master Student of Binghamton University, SUNY
#### Working on OS/Cloud
#### Interested in ML/Geo Computing
#### Experience
2013~2014
2013~2014
2016~
#### Blog
[Mil años de solitario](./blog.html)
+2
View File
@@ -0,0 +1,2 @@
->Mil años de solitario<-
->INDEX<-
+6 -23
View File
@@ -1,23 +1,6 @@
<html>
<head>
<meta charset="UTF-8">
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-82637164-1', 'auto');
ga('send', 'pageview');
</script>
</head>
<body>
<h1 id="coder-sherlocks-website">Coder Sherlock's Website</h1>
<ul>
<li>My blog <a href="./blog.html">Mil años de solitario</a></li>
<li>My code repo <a href="./code.html">Don't try to be smart</a></li>
<li>About me <a href="./mycv.html">Curriculum Vitae</a></li>
</ul>
</body>
</html>
<h1 id="coder-sherlocks-website">Coder Sherlock's Website</h1>
<ul>
<li>My blog <a href="./blog.html">Mil años de solitario</a></li>
<li>My code repo <a href="./code.html">Don't try to be smart</a></li>
<li>About me <a href="./mycv.html">Curriculum Vitae</a></li>
</ul>
Binary file not shown.
Executable
+20
View File
@@ -0,0 +1,20 @@
#!/usr/bin/python
import argparse
import os
def main():
parser = argparse.ArgumentParser()
parser.add_argument("op")
parser.add_argument("type")
res = parser.parse_args()
print(res)
if __name__ == "__main__":
main()
Executable
+11
View File
@@ -0,0 +1,11 @@
#!/bin/bash
TARGET="../draft"
#DRAFTS=$(ls -l $TARGET| awk '!/index/ {print $9}')
DRAFTS=$(ls -l $TARGET| awk '{print $9}')
for DRAFT in $DRAFTS
do
pandoc $TARGET/$DRAFT -o ../$(echo $DRAFT| cut -d'.' -f1).html
done