Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions hackathonGNU/.vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"liveServer.settings.port": 5501
}
21 changes: 21 additions & 0 deletions hackathonGNU/ResumeBuilder/1/License.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2019 Vinay Somawat

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
53 changes: 53 additions & 0 deletions hackathonGNU/ResumeBuilder/1/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# Resume generator
Web based editor to create Resume in a customizable template with the facility to save the file in .pdf formate.

###### Live Demo : https://vinaysomawat.github.io/Resume-Builder/

###### Technologies: HTML, CSS, JavaScript


**Note** : Click the "VIEW INSTRUCTIONS" button in the editor to read usage instructions.

#### Features
- Resume content can be edited just like a normal document editor (cut,copy,undo etc).
- Entire sections can be added, reordered, removed just by cut,copy,pasting method.
- Section visibility can be toggled while retaining the content.
- Options provided in the left panel to modify the template and formatting.
- Sub-points can be added with various bullet styles and adjustable indentation.
- Script provided to merge multiple pages and compress the PDF.

#### Using the merge & compress script
- You must be able to run python file on your system for this.
- Save the individual pages in PDF format with name ```1.pdf``` , ```2.pdf```
- Download the ```compress_pdf.py``` file and open it in a text editor.
- Set the following variables :
- ```dir_path``` : Directory path where you saved the PDFs for individual page
- ```num_of_pages``` : Number of files to merge (i.e. pages in your Resume)
- ```out_file``` : Name of output file
- Run this python file.
- Note: As this creates a new PDF file, you may have to see permission settings or run with sudo on terminal.

**Note** : Use Google Chrome

----------------------------------------------------------------------------------------------------------------
To setup the project on your local machine:

1. Click on `Fork`.
2. Go to your fork and `clone` the project to your local machine.
3. `git clone https://github.com/vinaysomawat/Resume-Builder.git`

To contribute to the project:

1. Choose any open issue from [here](https://github.com/vinaysomawat/Resume-Builder/issues).
2. Comment on the issue: `Can I work on this?` and get assigned.
3. Make changes to your fork and send a PR.

To create a PR:

Follow the given link to make a successful and valid PR: https://help.github.com/articles/creating-a-pull-request/

To send a PR, follow these rules carefully,**otherwise your PR will be closed**:

1. Make PR title in this format: `Fixes #IssueNo : Name of Issue`

For any doubts related to the issues, i.e., to understand the issue better etc, comment down your queries on the respective issue.
16 changes: 16 additions & 0 deletions hackathonGNU/ResumeBuilder/1/compress_pdf.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import os
import sys

dir_path = "/absolute/path/to/directory/"
# Make sure dir_path is ending in /
num_of_pages = 2
out_file = dir_path+"14010XXXX_CV.pdf"


cmd = "gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/screen -dNOPAUSE -dQUIET -dBATCH -sOutputFile="+out_file
# cmd = "gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/printer -dNOPAUSE -dQUIET -dBATCH -sOutputFile="+out_file
for i in range(1,num_of_pages+1):
filename = dir_path+str(i)+".pdf"
cmd = cmd+" "+filename

os.system(cmd)
5 changes: 5 additions & 0 deletions hackathonGNU/ResumeBuilder/1/css/bootstrap.min.css

Large diffs are not rendered by default.

42 changes: 42 additions & 0 deletions hackathonGNU/ResumeBuilder/1/css/column_scroll.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
#left , #right {
overflow: auto;
padding: 0;
}
#right {
right: 0;
}
@media(min-width:768px)
{
#left , #right {
position: absolute;
margin-top: 0px;
top: 0;
bottom: 0;
}
}

@media print {
.no-print, .no-print * { display: none !important; }

#left , #right {
overflow: initial;
min-height: initial;
height: initial;
position: relative;
margin-top: 0px;
}

.col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 { float: left; }
.col-sm-12 { width: 100%; }
.col-sm-11 { width: 91.66666667%; }
.col-sm-10 { width: 83.33333333%; }
.col-sm-9 { width: 75%; }
.col-sm-8 { width: 66.66666667%; }
.col-sm-7 { width: 58.33333333%; }
.col-sm-6 { width: 50%; }
.col-sm-5 { width: 41.66666667%; }
.col-sm-4 { width: 33.33333333%; }
.col-sm-3 { width: 25%; }
.col-sm-2 { width: 16.66666667%; }
.col-sm-1 { width: 8.33333333%; }
}
Loading