Update CV, add build tool to regenerate PDF

This commit is contained in:
2012-04-11 18:36:48 +01:00
parent 173b2b8b5c
commit 07906fc39b
5 changed files with 152 additions and 62 deletions

40
build/update-cv.sh Executable file
View File

@@ -0,0 +1,40 @@
#!/bin/bash
TMPFILE="/tmp/cv.pdf"
OUTFILE="public/files/BenRobertsCv.pdf"
# If not specified, the input will be taken from the live website
URL="https://www.benroberts.net/cv/"
if [ "x$1" != "x" ]; then
URL=$1
fi
# This script has a few dependencies
WKHTMLTOPDF=`which wkhtmltopdf 2>/dev/null`
if [ $? -ne 0 ]; then
echo "This script requires wkhtmltopdf, which does not appear to be installed."
exit 1
fi
PDFTK=`which pdftk 2>/dev/null`
if [ $? -ne 0 ]; then
echo "This script requires pdftk, which does not appear to be installed."
exit 1
fi
# This script should be run from the homepage root directory, not from the build directory.
if [ ! -d `dirname $OUTFILE` ]; then
echo "output directory public/files does not exist"
exit 1
fi
echo "Updating CV from $URL to $OUTFILE"
# Use wkhtmltopdf to print the CV page. CSS styles hide the UI components not intended for print
$WKHTMLTOPDF --no-background $URL $TMPFILE
# Correct display bug in wkhtmltopdf output - retrieve only the first two pages.
# CV must be kept shorter than 2 pages long.
$PDFTK $TMPFILE cat 1-2 output $OUTFILE
# Remove temporary file
rm $TMPFILE

Binary file not shown.

View File

@@ -31,7 +31,12 @@
color: #333333; color: #333333;
text-align: center; text-align: center;
} }
h1 {
padding: 1.0em;
text-align: center;
}
/* /*
Images Images
*/ */
@@ -73,17 +78,27 @@
.no-print { .no-print {
display: none; display: none;
} }
.force-break {
page-break-after: always;
/* workaround for page break control not being supported in wkhtmltopdf */
min-height: 3.0cm;
}
body { body {
margin: 0; margin: 0;
/* workaround display bug in wkhtmltopdf */
min-height: 100cm;
} }
a {
color: inherit;
}
#page_content { #page_content {
margin-left: 1.5em; margin-left: 1.5em;
} }
#skills {
page-break-before: always;
}
} }

View File

@@ -21,19 +21,25 @@
<div class="span2 column"> <div class="span2 column">
<h3>Personal Information</h3> <h3>Personal Information</h3>
</div> </div>
<div class="span10 column"> <div class="span5 column">
<dl> <dl class="dl-horizontal">
<dt>Full Name</dt> <dt>Full Name</dt>
<dd><p>Benjamin Austin Roberts</p></dd> <dd><p>Benjamin Austin Roberts</p></dd>
<dt>Email Address</dt>
<dd><p>{mailto address="me@benroberts.net" encode="hex"}</p></dd>
<dt>Date of Birth</dt> <dt>Date of Birth</dt>
<dd><p>09/09/1986</p></dd> <dd><p>09/09/1986</p></dd>
<dt>Nationality</dt> <dt>Location</dt>
<dd><p>British</p></dd> <dd><p>Hampshire, United Kingdom</p></dd>
</dl>
</div>
<div class="span5 column">
<dl class="dl-horizontal">
<dt>Email Address</dt>
<dd><p>{mailto address="me@benroberts.net" encode="hex"}</p></dd>
<dt>Portfolio</dt>
<dd><p><a href="https://www.benroberts.net/" title="Portfolio">https://www.benroberts.net/</a></p></dd>
</dl> </dl>
</div> </div>
</div> </div>
@@ -50,23 +56,32 @@
<small>July 2010 - Present</small> <small>July 2010 - Present</small>
</h4> </h4>
<h5>Network Technical Specialist - Major Projects</h5> <h5>Network Technical Specialist - Major Projects</h5>
<p> <ul>
Design and implementation of network solutions for Atos customers in the Transport and Financial <li>
Services industries. Design and implementation of network solutions for Atos customers in the Transport and Financial
</p> Services industries.
<p> </li>
Installed, configured and managed an out of band console service for remote management of core <li>
infrastructure across multiple datacentres. Lead planner for all physical aspects of 5-datacentre core infrastructure upgrade including
</p> WAN circuit delivery, rack and equipment placement, power &amp; network connectivity, build validation,
<p> and logistics management for ~3000 items of hardware.
Designed, built and operated an 8-rack development lab containing ~70 mixed-vendor devices </li>
for validation of a large-scale internal project. <li>
</p> Designed, built and operated a large development lab for validation of a large-scale internal project, containing:
<p> <ul>
Lead planner for physical aspects of 5-datacentre core infrastructure upgrade including <li>~70 mixed-vendor devices across 8 fully populated, full-sized racks</li>
circuit delivery, rack and equipment placement, power/network connectivity, and logistics <li>500 copper &amp; fibre connections</li>
management for ~3000 items of hardware. <li>&gt;2.5km of network cabling</li>
</p> </ul>
</li>
<li>
Installation, configuration and maintenance of an out of band management service for remote console access
to hundreds of core infrastructure devices across multiple datacentres and unmanned sites.
</li>
<li>
On-call proximity support, providing out-of-hours coverage for any incidents requiring a hands-on activity at the local data centre.
</li>
</ul>
</li> </li>
<li> <li>
@@ -75,39 +90,52 @@
<small>June 2008 - May 2009</small> <small>June 2008 - May 2009</small>
</h4> </h4>
<h5>Internet Services Developer</h5> <h5>Internet Services Developer</h5>
<p> <ul>
Penetration testing of web applications and hardware devices for large financial <li>
institutions. Development of a perl/sql based data mining survey. Take-downs of Penetration testing of web applications and hardware devices for large financial institutions.
phishing sites (via legal channels), and other anti-phishing related activities. </li>
Windows Server/Active Directory/Exchange administration (including migrations to <li>
newer hardware/operating system versions). Development of a perl/sql based data mining survey.
</p> </li>
<li>
Take-downs of phishing sites (via legal channels), and other anti-phishing related activities.
</li>
<li>
Windows Server/Active Directory/Exchange administration (including migrations to newer hardware/operating system versions).
</li>
</ul>
</li> </li>
<li> <li>
<h4> <h4>
NXP Semiconductors NXP Semiconductors
<small></small> <small>June 2007 - September 2007</small>
</h4> </h4>
<h5>Student Intern</h5> <h5>Student Intern</h5>
<p> <ul>
Maintained and extended an existing internal web application using PHP and <li>
Perl. Installed and configured a streaming video on demand server on Red Maintained and extended an existing internal web application using PHP and Perl.
Hat Linux, with an embedded Linux client running on a Set Top Box. </li>
</p> <li>
Installion and configuration of a streaming video-on-demand server on Red
Hat Linux, with embedded Linux clients running on set-top boxes.
</li>
</ul>
</li> </li>
<li class="no-print"> <li class="no-print">
<h4> <h4>
Electronics and Computer Science Faculty, University of Southampton School of Electronics and Computer Science, University of Southampton
<small>September 2006 - June 2010</small> <small>September 2006 - June 2010</small>
</h4> </h4>
<h5>Helpdesk Assistant</h5> <h5>Helpdesk Assistant</h5>
<p> <ul>
Worked in the University's Computer Science Helpdesk on an ad-hoc basis, <li>
performing day-to-day tasks to help the System Administrators. This included Working in the University's Computer Science Helpdesk on an ad-hoc basis,
repairing and reinstalling the operating systems on lab PCs. performing day-to-day tasks to help the full-time System Administrators. This included
</p> repairing and reinstalling the operating systems on lab PCs.
</li>
</ul>
</li> </li>
</ol> </ol>
</div> </div>
@@ -122,12 +150,14 @@
<thead> <thead>
<tr> <tr>
<th>Certification</th> <th>Certification</th>
<th>Vendor</th>
<th>Date</th> <th>Date</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
<tr> <tr>
<th>CCNA</th> <td><strong>CCNA</strong></td>
<td>Cisco</td>
<td>Feb 2010 - Present</td> <td>Feb 2010 - Present</td>
</tr> </tr>
</tbody> </tbody>
@@ -156,10 +186,10 @@
</thead> </thead>
<tbody> <tbody>
<tr> <tr>
<th> <td>
Computer Science<br /> <strong>Computer Science</strong><br />
<small>with Distributed Systems and Networks</small> <em>with Distributed Systems and Networks</em>
</th> </td>
<td>MEng</td> <td>MEng</td>
<td><strong>First Class</strong></td> <td><strong>First Class</strong></td>
</tr> </tr>
@@ -183,22 +213,22 @@
</thead> </thead>
<tbody> <tbody>
<tr> <tr>
<th>Mathematics</th> <td><strong>Mathematics</strong></td>
<td>A-Level</td> <td>A-Level</td>
<td><strong>A</strong></td> <td><strong>A</strong></td>
</tr> </tr>
<tr> <tr>
<th>Physics</th> <td><strong>Physics</strong></td>
<td>A-Level</td> <td>A-Level</td>
<td><strong>A</strong></td> <td><strong>A</strong></td>
</tr> </tr>
<tr> <tr>
<th>Computing</th> <td><strong>Computing</strong></td>
<td>A-Level</td> <td>A-Level</td>
<td><strong>A</strong></td> <td><strong>A</strong></td>
</tr> </tr>
<tr> <tr>
<th>Further Mathematics</th> <td><strong>Further Mathematics</strong></td>
<td>AS-Level</td> <td>AS-Level</td>
<td><strong>B</strong></td> <td><strong>B</strong></td>
</tr> </tr>
@@ -209,7 +239,12 @@
</ol> </ol>
</div> </div>
</div> </div>
<!-- Forced page break -->
<div class="force-break">
<span style="display: none;">&nbsp;</span>
</div>
<div class="row" id="skills"> <div class="row" id="skills">
<div class="span2 column"> <div class="span2 column">
<h3>Skills</h3> <h3>Skills</h3>

View File

@@ -39,7 +39,7 @@
<div class="container"> <div class="container">
<div class="row"> <div class="row">
<div class="span12"> <div class="span12" id="header">
<h1> <h1>
Ben Roberts Ben Roberts
<small>MEng Computer Science @ ecs.soton.ac.uk</small> <small>MEng Computer Science @ ecs.soton.ac.uk</small>
@@ -107,4 +107,4 @@
</script><noscript><p><img src="http://miranda.sihnon.net/logs/piwik.php?idsite=3" style="border:0" alt=""/></p></noscript> </script><noscript><p><img src="http://miranda.sihnon.net/logs/piwik.php?idsite=3" style="border:0" alt=""/></p></noscript>
<!-- End Piwik Tag --> <!-- End Piwik Tag -->
</body> </body>
</html> </html>