Skip to content

Commit

Permalink
Add functionality to create cv static files
Browse files Browse the repository at this point in the history
---HOW-TO-UPDATE-MY-CV---
-Modify my cv by editing ~/static/cv/mindosoft_cv.xml
~=mindosoft.github.com path

-Run initialize.sh which downloads the required files
to run the xmlcv.pl script provided by charlieharvey.org.uk
or from justincase/xmlcv.tar.gz directory.

-Then run update_cvs_github_site.sh to copy the files
generated to the static files directory.

-Finally 'git push' to update the github page
  • Loading branch information
MINDoSOFT committed Oct 19, 2011
1 parent df7d25b commit a490e6a
Show file tree
Hide file tree
Showing 7 changed files with 480 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitignore
@@ -0,0 +1,4 @@
static/scripts/xmlcv/*
static/scripts/xmlcv
static/scripts/xmlcv.tar.gz

278 changes: 278 additions & 0 deletions static/cv/mindosoft_cv.xml
@@ -0,0 +1,278 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE resume PUBLIC "-//Sean Kelly//DTD Resume 1.5.1//EN"
"http://xmlresume.sourceforge.net/dtd/resume.dtd">
<resume id="sergios stamatis">

<header>
<name id="Stamatis Sergios">
<firstname>Sergios</firstname>
<surname>Stamatis</surname>
</name>
<contact>
<url>http://mindosoft.github.com/</url>
<email>"insert_my_nickname_here"@gmail.com (use without the quotes"" and
replace insert_my_nickname_here with my nickname</email>
<description>Send me an email for detailed contact information stating your
company and job proposition.</description>
</contact>
<birth>
<date>
<dayOfMonth>27</dayOfMonth>
<month>January</month>
<year>1988</year>
</date>
</birth>
</header>

<skillarea>
<title>Programming experience</title>
<skillset>
<skill>Programming: C (DBMS implementation, UNIX system calls (implementation of a shell),
IPC communication (using shared memory, semaphores), Network programming (implementation of a music server).
</skill>
<skill>Object-oriented programming: C++ (Ferry boat simulation), good understanding of object-oriented concepts
inheritance, polymorphism, encapsulation.
</skill>Assembly: MIPS, PicoBlaze (implementation of Mastermind on Xilinx Spartan-3 FPGA), x86 (debugging to find
buffer overflow exploits, computer security class).
<skill>DB: SQL, MySQL, PostgreSQL, PostGIS
</skill>Shell Scripting: Bash (implementation of a script that calculates final grades of students, makes a report
for general student performance and emails the student with the highest grade)
<skill>Parallel Programming: MPI (implementation of Cannon's algorithm for matrix multiplication)
</skill>
<skill>Digital Systems Design: Xilinx ISE (implemented a MIPS processor with a subset of MIPS's commands,
ModelSim XE (used for debugging various components), VHDL (implemented a FSMD with serial communication to PC,
PicoBlaze integration)
</skill>
<skill>Integrated Circuit Design: SPICE, Magic
</skill>
<skill>Java (implementation of an online e-commerce store)
</skill>
<skill>Version control using Git and www.github.com including setting up repository, branching, merging.
</skill>
<skill>Other: Python (Django Web framework experience), PHP, HTML, JavaScript. Barely touched: Ruby, Io
</skill>
</skillset>
</skillarea>
<skillarea>
<title>Languages</title>
<skillset>
<skill>Greek: Speak and write (first language)
</skill>
<skill>English: Speak and write (second language)
</skill>
</skillset>
</skillarea>

<academics>
<degrees>
<degree>
<level>Ptychio/Bachelor degree</level>
<subjects>
<subject>
<title>Informatics and Telecommunications</title>
</subject>
</subjects>
<institution>National and Kapodestrian University of Athens</institution>
<date><year>2011</year></date>
<gpa>
<score>7.4</score>
<possible>10</possible>
<note>Up to now. Dissertation due.</note>
</gpa>
<gpa>
<score>7.6</score>
<possible>10</possible>
<note>Expected.</note>
</gpa>
</degree>
<degree>
<level>Apolytirio (High School Diploma)</level>
<subjects>
<subject>
<title>Science</title>
</subject>
</subjects>
<institution>Agiou Georgiou Lakatamias Lyceum, <city>Nicosia</city>, <country>Cyprus</country></institution>
<date><year>2005</year></date>
<gpa>
<score>19 5/12 out of 20 (Excellent)</score>
</gpa>
</degree>

<degree>
<level>IGCSE</level>
<subjects>
<subject>
<title>English</title>
<result>B</result>
</subject>
</subjects>
</degree>
</degrees>
</academics>

<history>
<job>
<jobtitle>Cashier</jobtitle>
<employer>OPAP Glory Ltd <city>Nicosia </city> <country>Cyprus</country></employer>
<period>
<from>
<date>
<year>2005</year>
</date>
</from>
<to>
<date>
<year>2011</year>
</date>
</to>
</period>
<projects>
<project title="Cashier">Summer job as a cashier at a bookmaker shop.
</project>
</projects>
</job>
<job>
<jobtitle>Volunteer at the <link href="http://www.nicosiamarathon.com/">1st Nicosia Marathon</link></jobtitle>
<employer>Ktorides Foundation <city>Nicosia </city> <country>Cyprus</country></employer>
<period>
<from>
<date>
<dayOfMonth>4</dayOfMonth>
<month>October</month>
<year>2010</year>
</date>
</from>
<to>
<date>
<dayOfMonth>10</dayOfMonth>
<month>October</month>
<year>2010</year>
</date>
</to>
</period>
</job>
</history>

<interests>
<title>Artistic skills and competences</title>

<interest><title>Playing Guitar.</title></interest>
<interest><title>Amateur sound engineer (recording, mixing etc).</title></interest>
<interest><title>Electronics enthusiast (made some diy guitar effects pedals).</title></interest>

<title>Extracurricular Activities</title>

<interest><title>During the school years: member of the computer club and the glee club.</title></interest>
</interests>
<!--
<objective targets="sysadmin">
<para>A talented systems administrator, with GNU/Linux and Windows expertise,
seeking to build on his solid technology, project management, support,
training and development skills for a charity, NGO or business comitted to
social and environmental justice.
</para>
</objective>
-->
<!--
<skillarea>
<title>Technical Overview</title>
<skillset>
<skill level="6 years professional experience">Administration and support for Windows
(3.1, 95, 98, NT4, 2000, XP)
</skill>
<skill level="5 years professional experience">Sysadmin and support of GNU/Linux
(Debian, Ubuntu, Mandrake, RedHat)
</skill>
<skill level="7 years professional experience">Programming including Java, perl, php, bash scripting,
DOS batch, C/C++.
</skill>
<skill level="7 years professional experience">Networking - including TCP/IP, cabling, security,
configuration.
</skill>
<skill level="6 years professional experience">High quality application support and training.</skill>
<skill level="4 years professional experience">W3C compliant (X)HTML and CSS. XML,
XSLT, and JavaScript.
</skill>
<skill level="3 years professional experience">Project management experience and planning.</skill>
<skill>Excellent time management and work prioritisation.</skill>
<skill>Outstanding communication skills.</skill>
</skillset>
</skillarea>
-->



<!--
<skillarea targets="cv_full,web">
<title>Web technologies</title>
<skillset>
<skill>Perl, ruby, php development - whole product lifecycle and project management
experience.
</skill>
<skill>Fluent, accessible and standards compliant (x)html, css, xml, xslt, rss,
JavaScript, Java Applets.
</skill>
<skill>Dynamic websites using databases - MySQL, postgresql and SQL Server
backends with perl, ruby, php and ASP frontends.
</skill>
<skill>Database administration - professionally responsible for deployment and administration of
MySQL and SQL Server servers.
</skill>
<skill>Webserver deployment, configuration and administration of Apache on Windows
and GNU/Linux platforms.
</skill>
<skill>RSS feeds - created feed generator, and XSLT documents for
<link href="http://peopleandplanet.org/rss/news.xml">People &amp; Planet news services</link>, using
php/xml/MySQL/xslt/html/css knowledge.
</skill>
<skill>wiki administration - Deployed and administer
<a href="http://theoarc.org.uk/wiki">Oxford Action Resource Centre wiki</a>.
</skill>
</skillset>
</skillarea>
-->

<!--
<skillarea targets="cv_full,sysadmin">
<title>Systems Administration experience</title>
<skillset>
<skill></skill>
<skill>Apache: Building from scratch; configuration; modules including mod_perl, mod_ruby,
mod_fastcgi, mod_rewrite; security; deployment.
</skill>
<skill>Email: installation, configuration and management of postfix, cyrus-imapd,
squirrelmail, mercury, exim, clamav, spamassassin, amavis, Infinite InterChange.
</skill>
<skill>Windows 3.1-XP: Administration, configuration, installation, troubleshooting.
</skill>
</skillset>
</skillarea>
-->
<!--No publications yet
<pubs>
<pub>
<artTitle>
<link href="http://charlieharvey.org.uk/writings/free_software_as_diy_culture_pdf_.pdf">
Free Software as DIY culture</link>
</artTitle>
<publisher>University of Gothenberg, Sweden</publisher>
</pub>
</pubs>
-->


<!--No referees yet
<referees>
</referees>
-->

<lastModified>
<date>
<month>September</month>
<year>2011</year>
</date>
</lastModified>

</resume>
Empty file.
53 changes: 53 additions & 0 deletions static/scripts/initialize.sh
@@ -0,0 +1,53 @@
#!/bin/bash

# Checking if xmlcv library is present or else download and extract it
if [ ! -d xmlcv ];then
echo "Directory xmlcv does not exist"
if [ ! -f xmlcv.tar.gz ];then
echo "Downloading xmlcv library"
wget -q http://charlieharvey.org.uk/src/xmlcv.tar.gz
RETVAL=$?
if [ $RETVAL -ne 0 ];then
cp justincase/xmlcv.tar.gz .
echo "charlieharvey.org.uk is down"
fi
fi
tar xzvf xmlcv.tar.gz
fi

# Checking if required library for xmlcv is installed
dpkg -s libxslt1.1 | grep installed
RETVAL=$?
if [ $RETVAL -ne 0 ];then
echo "Please install libxslt1.1 package (then rerun this script) using:"
echo "sudo apt-get install libxslt1.1"
exit 1
fi

# Checking if required files for xmlcv exist
# mindosoft_cv.xml is my cv file in xml format
# myxmlcv.pl is my custom xmlcv.pl script
if [ ! -f ../cv/mindosoft_cv.xml ];then
echo "File mindosoft_cv.xml does not exist please reclone the git repository"
exit 2
fi
if [ ! -f myxmlcv.pl ];then
echo "File myxmlcv.pl does not exist please reclone the git repository"
exit 2
fi
echo "Directory xmlcv exists, copying myxmlcv.pl and mindosoft.xml"

# Main work is here, copy the required files then run the myxmlcv.pl script
cp ../cv/mindosoft_cv.xml xmlcv/.
cp myxmlcv.pl xmlcv/.
cd xmlcv
./myxmlcv.pl mindosoft_cv.xml

# Check if the main work finished smoothly
RETVAL=$?
if [ $RETVAL -ne 0 ];then
echo "A problem occured please rerun this script"
exit 3
fi
echo "Everything completed successfully. Run ./update_cvs_github_site.sh"
exit 0
Binary file added static/scripts/justincase/xmlcv.tar.gz
Binary file not shown.

0 comments on commit a490e6a

Please sign in to comment.