Skip to content

Instantly share code, notes, and snippets.

View jjoaquim's full-sized avatar
💭
If something isn’t broke, fix it ’til it is.

José Carlos Joaquim jjoaquim

💭
If something isn’t broke, fix it ’til it is.
View GitHub Profile
@jjoaquim
jjoaquim / git-clearHistory
Created December 20, 2024 19:49 — forked from stephenhardy/git-clearHistory
Steps to clear out the history of a git/github repository
-- Remove the history from
rm -rf .git
-- recreate the repos from the current content only
git init
git add .
git commit -m "Initial commit"
-- push to the github remote repos ensuring you overwrite history
git remote add origin [email protected]:<YOUR ACCOUNT>/<YOUR REPOS>.git
#!/bin/bash
#
# DROPKICK.SH
#
# Detect and Disconnect the DropCam and Withings devices some people are using to
# spy on guests in their home, especially in AirBnB rentals. Based on Glasshole.sh:
#
# http://julianoliver.com/output/log_2014-05-30_20-52
#
# This script was named by Adam Harvey (http://ahprojects.com), who also
@jjoaquim
jjoaquim / web-servers.md
Created March 1, 2016 23:23 — forked from willurd/web-servers.md
Big list of http static server one-liners

Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.

Discussion on reddit.

Python 2.x

$ python -m SimpleHTTPServer 8000