Skip to content

Instantly share code, notes, and snippets.

@nathansmith
nathansmith / 1_form-reset.scss
Last active September 8, 2019 09:33
Form Reset
// `Default font for form elements.
//----------------------------------------------------------------------------------------------------
$form-font-stack: Arial, "Liberation Sans", FreeSans, sans-serif !default;
$form-font-size: 13px !default;
// `Form Element Reset.
//----------------------------------------------------------------------------------------------------
input::ms-clear,
@mattes
mattes / og.txt
Last active May 7, 2022 01:53
Open Graph debugger
http://ogp.me/
https://moz.com/blog/meta-data-templates-123
https://search.google.com/structured-data/testing-tool
https://developers.facebook.com/tools/debug/og/object - https://developers.facebook.com/docs/reference/opengraph
https://cards-dev.twitter.com/validator - https://dev.twitter.com/cards/types
https://developers.pinterest.com/tools/url-debugger/ - https://developers.pinterest.com/docs/rich-pins/overview/
https://developer.linkedin.com/docs/share-on-linkedin
@bencharb
bencharb / parse_boa_statements.py
Last active December 10, 2023 00:53
parse bank of america pdf statements
'''
Transform Bank of America PDF text into tables.
Example:
python parse_boa_statements.py test/joint_dump.txt test/pers_dump.txt --output test/combined.csv
Example of original PDF text (copy/pasted from PDF):
MISTER NAME | Account # 999 99999 9999 | November 24, 2015 to December 24, 2015
Your checking account
Page 3 of 4
@Krzysiu
Krzysiu / extractAndGeotagFrames.bat
Created November 22, 2017 19:28
Extract frames from video every X seconds and geotag them using GPS data file. Requires exiftool and ffmpeg.
@echo off
rem Ksheesh Geotag Video Frames 0.0.1
rem
rem Extract frames from video every X seconds and geotag them using GPS data file.
rem Requires exiftool and ffmpeg.
rem Copyright (c) 2017 krzysiu.net
rem
rem Permission is hereby granted, free of charge, to any person obtaining a copy
rem of this software and associated documentation files (the "Software"), to deal
@jgamblin
jgamblin / instantkali.sh
Created March 5, 2018 00:39
Start an EC2 Kali Instance In Under 60 Seconds.
#!/bin/bash
set -e
set -u
clear
ami="ami-10e00b6d"
size="t2.medium"
today=$(date +"%m-%d-%y-%H%M")
localip=$(curl -s https://ipinfo.io/ip)
@nullableVoidPtr
nullableVoidPtr / extract_commbank.py
Last active December 10, 2023 00:55
Generate transactions CSV from Commonwealth Bank of Australia PDF statements
#!/usr/bin/env python
# SPDX-License-Identifier: MIT
# Copyright nullableVoidPtr
import sys
import PyPDF2
import re
from decimal import Decimal
from datetime import datetime
from typing import Iterable, Tuple, Optional
@bcheck555
bcheck555 / extractAndGeotagFrames.bat
Last active May 11, 2024 05:45 — forked from Krzysiu/extractAndGeotagFrames.bat
Extract frames from video every X seconds and geotag them using GPS data file. Requires exiftool and ffmpeg. Modified to prep Insta360 video for Streetview.
@echo off
rem Updates to prep Insta360 One X2 video for Streetview upload.
rem Brian Check
rem 13 Mar 2021
rem Ksheesh Geotag Video Frames 0.0.1
rem
rem Extract frames from video every X seconds and geotag them using GPS data file.
rem Requires exiftool and ffmpeg.