diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3268211 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.*.sw? diff --git a/app/AppKernel.php b/app/AppKernel.php index 8fddcb8..9e16e2d 100644 --- a/app/AppKernel.php +++ b/app/AppKernel.php @@ -17,6 +17,7 @@ class AppKernel extends Kernel new Symfony\Bundle\AsseticBundle\AsseticBundle(), new Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle(), new JMS\SecurityExtraBundle\JMSSecurityExtraBundle(), + new Io\TcpdfBundle\IoTcpdfBundle(), new GergelyPolonkai\FrontBundle\GergelyPolonkaiFrontBundle(), ); diff --git a/app/autoload.php b/app/autoload.php index 64ba187..3abbfcc 100644 --- a/app/autoload.php +++ b/app/autoload.php @@ -3,6 +3,8 @@ use Symfony\Component\ClassLoader\UniversalClassLoader; use Doctrine\Common\Annotations\AnnotationRegistry; +require_once __DIR__.'/../vendor/tcpdf/tcpdf.php'; + $loader = new UniversalClassLoader(); $loader->registerNamespaces(array( 'Symfony' => array(__DIR__.'/../vendor/symfony/src', __DIR__.'/../vendor/bundles'), @@ -14,6 +16,7 @@ $loader->registerNamespaces(array( 'Monolog' => __DIR__.'/../vendor/monolog/src', 'Assetic' => __DIR__.'/../vendor/assetic/src', 'Metadata' => __DIR__.'/../vendor/metadata/src', + 'Io' => __DIR__.'/../vendor/bundles', )); $loader->registerPrefixes(array( 'Twig_Extensions_' => __DIR__.'/../vendor/twig-extensions/lib', diff --git a/src/GergelyPolonkai/FrontBundle/Controller/DefaultController.php b/src/GergelyPolonkai/FrontBundle/Controller/DefaultController.php index 473f395..2c13aed 100644 --- a/src/GergelyPolonkai/FrontBundle/Controller/DefaultController.php +++ b/src/GergelyPolonkai/FrontBundle/Controller/DefaultController.php @@ -11,4 +11,25 @@ class DefaultController extends Controller { return $this->render('GergelyPolonkaiFrontBundle:Default:index.html.twig', array()); } + + public function disclaimerAction() + { + return $this->render('GergelyPolonkaiFrontBundle:Default:disclaimer.html.twig', array()); + } + + public function resumeAction($_format) + { + if ($_format == 'pdf') + { + return $this->get('io_tcpdf')->quick_pdf($this->renderView('GergelyPolonkaiFrontBundle:Default:resume.html.twig', array( + 'format' => $_format, + ))); + } + else + { + return $this->render('GergelyPolonkaiFrontBundle:Default:resume.html.twig', array( + 'format' => $_format, + )); + } + } } diff --git a/src/GergelyPolonkai/FrontBundle/Resources/config/routing.yml b/src/GergelyPolonkai/FrontBundle/Resources/config/routing.yml index f05a6c6..1dfd9c9 100644 --- a/src/GergelyPolonkai/FrontBundle/Resources/config/routing.yml +++ b/src/GergelyPolonkai/FrontBundle/Resources/config/routing.yml @@ -5,3 +5,9 @@ GergelyPolonkaiFrontBundle_homepage: GergelyPolonkaiFrontBundle_disclaimer: pattern: /disclaimer.html defaults: { _controller: GergelyPolonkaiFrontBundle:Default:disclaimer } + +GergelyPolonkaiFrontBundle_resume: + pattern: /resume.{_format} + defaults: { _controller: GergelyPolonkaiFrontBundle:Default:resume } + requirements: + _format: html|pdf diff --git a/src/GergelyPolonkai/FrontBundle/Resources/views/Default/disclaimer.html.twig b/src/GergelyPolonkai/FrontBundle/Resources/views/Default/disclaimer.html.twig new file mode 100644 index 0000000..9f4db2e --- /dev/null +++ b/src/GergelyPolonkai/FrontBundle/Resources/views/Default/disclaimer.html.twig @@ -0,0 +1,6 @@ +{% extends 'GergelyPolonkaiFrontBundle:Default:front_base.html.twig' %} +{% block title %} - Disclaimer{% endblock %} +{% block content %} +

Disclaimer

+

The articles and thoughts on this site is originated from me, unless otherwise stated. Please use them with this statement in your mind. If you use anything, please put a backlink on your site to the given article(s) or the main page.

+{% endblock content %} diff --git a/src/GergelyPolonkai/FrontBundle/Resources/views/Default/front_base.html.twig b/src/GergelyPolonkai/FrontBundle/Resources/views/Default/front_base.html.twig index 51a41b5..d6b2bab 100644 --- a/src/GergelyPolonkai/FrontBundle/Resources/views/Default/front_base.html.twig +++ b/src/GergelyPolonkai/FrontBundle/Resources/views/Default/front_base.html.twig @@ -4,6 +4,7 @@ Gergely Polonkai{% block title %}{% endblock %} +
@@ -21,6 +22,9 @@ :: Copyright © 2012, Gergely Polonkai :: Disclaimer ::
+ diff --git a/src/GergelyPolonkai/FrontBundle/Resources/views/Default/resume.html.twig b/src/GergelyPolonkai/FrontBundle/Resources/views/Default/resume.html.twig new file mode 100644 index 0000000..c40e161 --- /dev/null +++ b/src/GergelyPolonkai/FrontBundle/Resources/views/Default/resume.html.twig @@ -0,0 +1,158 @@ +{% extends 'GergelyPolonkaiFrontBundle:Default:front_base.html.twig' %} +{% block title %} - Disclaimer{% endblock %} +{% block content %} +

Resume

+

Personal information

+
+
Name
+
Gergely Polonkai
+ +
Birth date
+
7 March, 1983
+ +
Address
+
+ 23 Dembinszky str.
+ Budapest
+ H-1071 +
+ +
Marital status
+
single
+ +
Phone number
+
+36 (30) 737-5706
+ +
E-mail
+
gergely{% if format == 'pdf' %}@{% else %}{% endif %}polonkai.eu
+
+

Qualification

+
+
2002-2004
+
+ University of Veszprém, Székesfehér
+ Informatics engineer assistant (Hungarian "OKJ", didn't finish) +
+ +
1997-2001
+
+ Táncsics Mihály Szakközépiskola, Szakiskola és Kollégium, Veszprém
+ Building technician (leaving certificate only) +
+
+

Workplaces

+
+
September, 2010 -
+
+ Brokernet Group Zrt. / B-Logic Kft.
+ systems engineering
+ Contact: András Kajli
+ +36 (30) 737-5702
+

Debian GNU/Linux servers (standalone and Heartbeat2 clusters), Apache web server, Exim4/Courier based mail system, Bacula based backup, MySQL, PostgreSQL, Oracle Database 10g/11g, Microsoft SQL Server 2005 and 2008, Windows 2003 Server and Windows Server 2008 (standalone and clusters), Active Directory, Group Policy, centralised ESET NOD32 antivirus, Windows cluster based file server with AD backend, WSUS, OTRS::ITSM helpdesk, Nagios and Zabbix based monitoring, virtualization with Citrix XenServer, IT security solutions with SonicWall appliances, Microsoft ForeFront, SELinux, Snort and iptables, PHP and Perl based development

+
+ +
December, 2007 - March, 2010
+
+ Lufthansa Systems Hungary
+ systems administrator
+ Contact: László Kiss-Kalló
+ +36 (30) 429-9483
+

Red Hat Enterprise Linux and SUSE Linux Enterprise Server based servers (standalone and Heartbeat2 clusters), SAN, iSCSI and NFS based storages, Apache httpd and tomcat web servers, MySQL and Oracle 10g Databases, Bacula based backup, Windows 2003 Server and Windows Server 2008 (standalone and clusters), Active Directory, Group Policy, Exchange Server 2005, Microsoft SQL Server 2005, open source Xen virtualization, Citrix XenServer and XenApp, VMware ESXi and vSphere, Nagios monitoring, Linux hardening project (SELinux, firewalls of different kinds, fighting application security issues)

+
+ +
November, 2006 - August, 2007
+
+ eWorldCom Kft.
+ system developer, systems administrator
+ Contact: N/A, as the company no longer exists
+

Creating a Gentoo Linux based system for the VoIP server solution developed by the company

+
+ +
March, 2004 - July, 2006
+
+ Webvilág Kft.
+ web programmer, systems administrator, project manager
+ Contact: Péter Bali
+ +36 (30) 318-4050
+

PHP and MySQL based web pages, Debian GNU/Linux based web servers and firewall

+
+ +
June, 2002 - October, 2003
+
+ GaTeS Group Kft.
+ systems administrator, web programmer
+ Contact: N/A, as the company no longer exists
+

Debian GNU/Linux based gateway (iptables, QoS with tc), PHP and MySQL based web page

+
+ +
January, 1998 - October, 2000
+
+ Táncsics Mihály Szakközépiskola, Szakiskola és Kollégium, Veszprém
+ systems administrator (part time, as a student)
+ Contact: Imre Pataki
+ +36 (20) 970-5830
+

Debian GNU/Linux based servers, Squid proxy, Apache web server, Exim4 and Courier based e-mail server, Samba file server

+
+
+

Observations

+ +

References

+

I made the whole or parts of the following web pages:

+ +

Aquities

+

Quickness, self-training, interests in the news of my profession, quick recognition, creativity, reliability, open mind, thorough work in a team or on my own

+

I easily make myself out in program code written by someone else, and I can work with such effectively.

+

Skills

+
+
Languages
+
English "A" and "B" certificate. Writing and speaking english fluently
+ +
Computer knowledge
+
+ DOS, Windows, Linux, applications of Microsoft Office and LibreOffice, Programming in PHP, Perl, C and Bash, database management using MySQL and PostgreSQL, HTML, XML, C/C++, OpenLDAP, GIMP, QuarkXPress, VoIP, Citrix XenServer and XenApp based virtualization, Linux and BSD based security, SELinux.
+ Learning the basics of any applications in 5-7 days. +
+
+

Abilities

+

My friends know me as a tough, intelligent and agile man. I learn fast and easily. I have good communication skills. I am an open minded person. I do my work with full attention.

+

Ambitions

+

I like to work for firms which can develop my skills and can give me financial stability and an interesting job.

+
You can download the latest version of my resume at {{ app.request.uri }}.
+{% endblock content %} diff --git a/web/css/front.css b/web/css/front.css index ebcb1f9..b40ec49 100644 --- a/web/css/front.css +++ b/web/css/front.css @@ -41,6 +41,48 @@ body { padding: 8px; } +#content h3 { + margin: .5em 0 .2em 0; +} + +#content p { + margin: .2em 0; + text-indent: 2em; +} + +#content a { + color: black; + text-decoration: underline; +} + +#content p.article-date { + text-indent: 0; + font-size: 80%; + color: #7f7f7f; +} + +dt { + font-weight: normal; + text-decoration: underline; +} + +dd p { + text-indent: 0 !important; + margin-top: .5em !important; +} + +#page-disclaimer { + margin-top: 2em; + text-align: right; + font-size: 80%; + color: #7f7f7f; +} + +#page-disclaimer a { + color: #7f7f7f; + text-decoration: underline; +} + #bottombar-wrapper { display: block; }