Skip to content

Instantly share code, notes, and snippets.

View m3lixir's full-sized avatar
🏴‍☠️
Open to work, but only if it’s fun

Melisa K. Savich m3lixir

🏴‍☠️
Open to work, but only if it’s fun
View GitHub Profile
@m3lixir
m3lixir / resume.json
Last active October 18, 2024 04:04
test description
{
"meta": {
"theme": "flat"
},
"basics": {
"name": "Melisa K. Savich",
"label": "Security Research Engineer",
"email": "[email protected]",
"phone": "+12489432251",
"website": "https://melisasavich.com",
@turicas
turicas / screenshot.py
Created June 6, 2020 20:34
Python script to take screenshot of a website
#!/usr/bin/env python3
# requires: pip install splinter
import argparse
import datetime
import os
import shutil
import time
from urllib.parse import urlparse
from pathlib import Path
@viniciusjssouza
viniciusjssouza / site optimizations
Created April 11, 2019 13:34
Web site optimizations
Optimizing websites is an art that few are familiar with. The more the engineer is able to list off the top of their head, the more likely they are to do all of the following naturally as they code instead of having to return later.
(Also, typically a professionally constructed site should score over 75 percent when analyzed by gtmetrix.com, which can also serve as a checklist.)
- Optimize all assets
- Place all assets on a separate, cookie-free domain. Using a CDN is best
- Avoid inline JavaScript and CSS
- Enable gzipping
- Ensure all code is minified
- Defer parsing of JavaScript

Cover Letters - Initial Effective Communication

It’s imperative that you communicate why you are the right person for the job. Employers have a problem. They need an engineer or data scientist on their team, and you can be that person! They’ll never get the chance to meet you unless you introduce yourself. Be sure to make a strong first impression by following the guidelines in this ReadMe.

Follow the First Rule of Job Search

“Never say or write anything unless it positively supports your position as an applicant.”+

  • Communicate why you are the right person for the job
  • Don’t undermine yourself
  • Failing to send a cover letter
  • Not showing enough interest in the company
@TrevorJTClarke
TrevorJTClarke / BrowserDeviceInfo.js
Created September 1, 2015 17:52
A quick list of browsers and devices for use in testing. Chrome is used for all devices that need simulation.
var devices = [
{ name: 'Desktop - Huge', width: 2880, height: 1800, ratio: 2, type: 'desktop' },
{ name: 'Desktop - Extra Large', width: 1920, height: 1080, ratio: 1, type: 'desktop' },
{ name: 'Desktop - Large', width: 1440, height: 900, ratio: 1, type: 'desktop' },
{ name: 'Desktop - HiDPI', width: 1366, height: 768, ratio: 1, type: 'desktop' },
{ name: 'Desktop - MDPI', width: 1280, height: 800, ratio: 1, type: 'desktop' },
{ name: 'Laptop with HiDPI screen', width: 1440, height: 900, ratio: 2, type: 'desktop' },
{ name: 'Laptop with MDPI screen', width: 1280, height: 800, ratio: 1, type: 'desktop' },
{ name: 'Laptop with touch', width: 1280, height: 950, ratio: 1, type: 'desktop' },
{ name: 'Tablet - Portrait', width: 768, height: 1024, ratio: 1, type: 'tablet' },
@kemitche
kemitche / simple_app.py
Last active October 6, 2024 12:15
reddit OAuth 2.0 Python Webserver Example
#!/usr/bin/env python
from flask import Flask, abort, request
from uuid import uuid4
import requests
import requests.auth
import urllib
CLIENT_ID = None # Fill this in with your client ID
CLIENT_SECRET = None # Fill this in with your client secret
REDIRECT_URI = "http://localhost:65010/reddit_callback"
@hubgit
hubgit / README.md
Last active March 11, 2025 17:21
Remove metadata from a PDF file, using exiftool and qpdf. Note that embedded objects may still contain metadata.

Anonymising PDFs

PDF metadata

Metadata in PDF files can be stored in at least two places:

  • the Info Dictionary, a limited set of key/value pairs
  • XMP packets, which contain RDF statements expressed as XML

PDF files

@adamawolf
adamawolf / Apple_mobile_device_types.txt
Last active March 14, 2025 10:14
List of Apple's mobile device codes types a.k.a. machine ids (e.g. `iPhone1,1`, `Watch1,1`, etc.) and their matching product names
i386 : iPhone Simulator
x86_64 : iPhone Simulator
arm64 : iPhone Simulator
iPhone1,1 : iPhone
iPhone1,2 : iPhone 3G
iPhone2,1 : iPhone 3GS
iPhone3,1 : iPhone 4
iPhone3,2 : iPhone 4 GSM Rev A
iPhone3,3 : iPhone 4 CDMA
iPhone4,1 : iPhone 4S