You can find the original link here.
<!DOCTYPE html> <head> <title> Resume </title> </head> <body> <h1> Resume </h1> <div id='information'> <h2> My Name </h2> <p> email@address.com </p> <p> 100 Address St</p> <p> Town, State 01234 </p> <p> (100) 200-5000 </p> </div> <div id='education'> <h2> Education </h2> <p> University Education and whatnot </p> </div> <div id='technical-skills'> <h2> Technical Skills </h2> <h3> Languages </h3> <p> Arabic, English and French </p> <h3>Programming languages</h3> <p>all the programming languages I know</p> </div> <div id='work-experience'> <h2> Work Experience </h2> <dl> <dt> <h3> First Job </h3> </dt> <dd> <p> what did I do on that job </p> </dd> <dd> <p> more stuff </p> </dd> <dd> <p> even more stuff </p> </dd> </dl> <dt> <h3> Second Job </h3> </dt> <dd> <p> what did I do on that job as well </p> </dd> <dd> <p> more stuff </p> </dd> </div> <div id='table'> <h2> Table </h2> <p> This table is just a proof of conception. </p> <table border='1'> <tr> <th> Table Header 1 </th> <th> Table Header 2 </th> </tr> <tr> <td> First Box </td> <td> Second Box </td> </tr> <tr> <td> Third Box </td> <td> Fourth Box </td> </tr> </table> <p> You can find my projects on <a href='https://github.com/ThyArmageddon/dgplug' target='blank'>Github</a>. </p> </div> </body> </html>
Problem: To create resume using html
Description: Creating a resume using HTML tags
Below is the link to the program: link
To see my resume click here
Html assignment
Problem: To create resume using html
Description: Creating a resume using HTML tags
Below is the link to the program
Html training doc. Code in GitHub
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>About Josep Caselles</title> 5 </head> 6 <body> 7 <div id="container" style="width:730px"> 8 <div id="header" style="text-align:center;width:700px;border-style:solid;border-width:5px;border-color:red;" > 9 <h1>Josep Caselles</h1> 10 <h2>About me</h2> 11 </div> 12 <div id="Content" style="width:710px;"> 13 <div id="General" style="width:340px;float:left;margin-top:10px;padding-right:50px;padding-left:10px;border-style:solid;border-width:5px;border-color:yellow;" > 14 <p>Josep Caselles is the nickname for Arnau Orriols, pianist by profession. I'm graduated at Catalonia's Superior School of Music, at Barcelona. Currently I combine my concertist life with teaching work in a musical school.</p> 15 <p>I've been into software development for two years now. I started in a corricular course in college learning basic c++, and after that, mostly self-training, I 've started to learnt to develop Android applicatons with Java and the Android API. Apart from that, I've managed to learn everything I could about FOSS and Linux systems. </p> 16 <p>My main goal nowadays is to find somewhere to take my carreer where these poles of my life converge. All suggestions are much appreciated :)</p> 17 </div> 18 <div id="resume" style="width:265px;float:left;margin:10px;padding-left:5px;border-style:solid;border-width:5px;border-color:blue;"> 19 <h2>Resume</h2> 20 <hr> 21 <h3>Contact</h3> 22 <p>Arnau Orriols</p> 23 <p>josepcaselles@gmail.com</p> 24 <p>Barcelona, Spain.</p> 25 <h3>Education</h3> 26 <ul> 27 <li>Piano Interpretation Degree</li> 28 <li>Some other stuff</li> 29 </ul> 30 <h3>Links of your interest</h3> 31 <ul> 32 <li><a href="https://github.com/JCaselles?tab=repositories" target="_blank">GitHub Repositories</a></li> 33 <li><a href="http://josepcaselles.wordpress.com" target="_blank">Personal Blog</a></li> 34 </ul> 35 </div> 36 </div> 37 </div> 38 </body> 39 </html>
Now in this problem we will add two numbers and return the result.
Run the above program like:
$ python add.py
We made one more change in this example.
This is a change to test my account.
A second change to test my account.
Repeat the assignment of printing the title and author of each post in planet.fedoraproject.org, but this time using feedparser.
(virt)[manel@manu virt]$ yolk -l Python - 2.7.3 - active development (/usr/lib/python2.7/lib-dynload) distribute - 0.6.24 - active feedparser - 5.1.3 - active pip - 1.1 - active wsgiref - 0.1.2 - active development (/usr/lib/python2.7) yolk - 0.4.3 - active
1 #!/usr/bin/env python 2 3 from sys import exit 4 import feedparser 5 6 url = "http://planet.fedoraproject.org/rss20.xml" 7 8 def print_blog_info (): 9 10 """ 11 This function uses feedparser to parse the rss feed of planet.fedoraproject 12 and prints the title and author. 13 14 Feedparser parses al the content with feedparser.parse (url) function. 15 All entries corresponding to the different blogs are stored in 16 feedparser.entries[], being a dicctionary where you can extract different 17 content giving the propper key. The key needed here is "title", which gives 18 us the title of the post. Then from it we can extract the author and title 19 of the given post. 20 21 """ 22 23 z = 0 24 25 rss_doc =feedparser.parse (url) 26 27 for x in range(len(rss_doc.entries)): 28 z += 1 29 tmp = rss_doc.entries[x]['title'].split(':') 30 print """ 31 Blog Entry n. %.2i: 32 ----------------- 33 34 Tile: '%s' 35 Author: %s 36 """ % (z, tmp[1], tmp[0]) 37 38 39 if __name__ == "__main__": 40 print_blog_info () 41 exit(0)
the steps:
$ yum install pip
$ pip install python-virtualenv
$ mkdir virtual
$cd virtual
$virtualenv virt1
$source virt1/bin/activate
(virt1)$ pip install beautifulsoup4
planetparser.py code link.
$python planetparser.py
I installed feedparser modules for this assignment in my 'virt1' environment.
(virt1) $ yolk -l Python - 2.7.5 - active development (/usr/lib/python2.7/lib-dynload) beautifulsoup4 - 4.2.1 - active feedparser - 5.1.3 - active lxml - 3.2.1 - active pip - 1.3.1 - active requests - 1.2.3 - active setuptools - 0.6c11 - active wsgiref - 0.1.2 - active development (/usr/lib/python2.7) yolk - 0.4.3 - active
This program will read RSS1.0, RSS2.0, or ATOM feed and output author and title. Default is RSS1.0.
$ python planetparser_rss_v2.py -h Usage: planetparser_rss_v2.py [options] Options: -h, --help show this help message and exit -f FORMAT, --format=FORMAT format: rss10, rss20, or atom
A link to the source code.
Casper: Installation de seeks Fedora Indonesia: Mengembalikan Repository Fedora 19 Yang Hilang Amit Saha: /proc/cpuinfo on various architectures
First of all, setup optionparser
parser = OptionParser() parser.set_defaults(rss_format="rss10") parser.add_option("-f", "--format", dest="rss_format", help="format: rss10, rss20, or atom", metavar="FORMAT") (option, args) = parser.parse_args() #print 'RSS format is %s' % option.rss_format
Retrieve data from URL and store them into a string.
# fetch data s_url = 'http://planet.fedoraproject.org/' + \ option.rss_format + \ '.xml' f = feedparser.parse(s_url) #print 'Total number of post: %d' % len(f)
Retrieve blog author & title
if option.rss_format == 'atom': # ATOM for a, t in zip( \ [f.entries[i].author for i in range(len(f))], \ [f.entries[i].title for i in range(len(f))]): print '%s: %s' % (a, t) else: # RSS1.0 and RSS2.0 for i in range(len(f)): print f.entries[i].title