-
Notifications
You must be signed in to change notification settings - Fork 399
Create devcontainer.json #13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
TarheelCoupe43
wants to merge
1
commit into
random-robbie:master
Choose a base branch
from
TarheelCoupe43:patch-1
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| { | ||
| "image": "mcr.microsoft.com/devcontainers/universal:2", | ||
| "features": {TarheelCoupe43/bruteforce-lists} | ||
| "ghcr.io/devcontainers-extra/features/amplify-cli:2": {}} | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
import zipfile
import os
Folder and file structure
base_dir = "/mnt/data/MohammedRizwan-Portfolio"
os.makedirs(base_dir + "/Projects", exist_ok=True)
os.makedirs(base_dir + "/Job-Resources", exist_ok=True)
Create files with content
index.html
index_html_content = """
<title>Mohammed Rizwan – IT Recruiter | Portfolio</title>Mohammed Rizwan
IT Recruiter | Bench Sales Expert | Dubai, UAE
Email: [email protected] | LinkedIn
with open(base_dir + "/index.html", "w") as f:
f.write(index_html_content)
style.css
style_css_content = """body {
font-family: Arial, sans-serif;
line-height: 1.6;
margin: 0;
padding: 0;
background-color: #fdfcfb;
color: #333;
}
header {
text-align: center;
padding: 2rem;
background-color: #0a3d62;
color: #fff;
}
header h1 {
margin: 0;
font-size: 2.5rem;
}
header p a {
color: #ffda79;
text-decoration: none;
}
section {
padding: 2rem;
max-width: 800px;
margin: auto;
border-bottom: 1px solid #ddd;
}
section h2 {
color: #0a3d62;
}
ul {
list-style-type: square;
padding-left: 1.5rem;
}
footer {
text-align: center;
padding: 1rem;
background-color: #0a3d62;
color: #fff;
}"""
with open(base_dir + "/style.css", "w") as f:
f.write(style_css_content)
Resume.pdf placeholder
with open(base_dir + "/Resume.pdf", "wb") as f:
f.write(b"%PDF-1.4\n%Placeholder Resume PDF")
Projects
projects_content = {
"Recruitment-Process-Demo.md": "# Recruitment Process Demo\n\nThis file demonstrates a sample recruitment workflow:\n\n1. Candidate Sourcing\n2. Screening & Shortlisting\n3. Interview Coordination\n4. Vendor/Client Communication\n5. Offer & Onboarding",
"Bench-Sales-Tracker.xlsx": "", # placeholder empty file
"Vendor-Network-Strategy.md": "# Vendor Network Strategy\n\nSteps to build and scale a successful vendor network:\n\n1. Identify potential vendors\n2. Establish communication and build relationships\n3. Maintain a database with contact and performance metrics\n4. Regularly update vendors on available candidates\n5. Track submissions and placements"
}
for filename, content in projects_content.items():
with open(os.path.join(base_dir, "Projects", filename), "w") as f:
f.write(content)
Job Resources
job_resources_content = {
"UAE-IT-Job-Portals.md": "# Top IT Job Portals – UAE\n\n- LinkedIn UAE: https://www.linkedin.com/jobs/\n- Bayt: https://www.bayt.com/en/uae/jobs/\n- Naukri Gulf: https://www.naukrigulf.com/\n- Indeed UAE: https://www.indeed.ae/\n- Glassdoor UAE: https://www.glassdoor.com/Job/uae-jobs-SRCH_IL.0,3_IN209.htm",
"Candidate-Screening-Tips.md": "# Candidate Screening Tips\n\n1. Review resume for relevant skills and experience\n2. Check availability for H1B, OPT, CPT candidates\n3. Conduct brief phone/virtual interview to assess communication\n4. Shortlist based on client requirements and skill alignment\n5. Keep detailed notes for vendor/client updates"
}
for filename, content in job_resources_content.items():
with open(os.path.join(base_dir, "Job-Resources", filename), "w") as f:
f.write(content)
Create ZIP file
zip_path = "/mnt/data/MohammedRizwan-Portfolio.zip"
with zipfile.ZipFile(zip_path, 'w', zipfile.ZIP_DEFLATED) as zipf:
for root, dirs, files in os.walk(base_dir):
for file in files:
file_path = os.path.join(root, file)
arcname = os.path.relpath(file_path, base_dir)
zipf.write(file_path, arcname)
zip_path