Skip to content

Instantly share code, notes, and snippets.

@dypsilon
dypsilon / frontendDevlopmentBookmarks.md
Last active July 25, 2026 20:55
A badass list of frontend development resources I collected over time.
@cmartinbaughman
cmartinbaughman / GoogleHackMasterList.txt
Last active April 25, 2026 08:20
The definitive super list for "Google Hacking".
admin account info" filetype:log
!Host=*.* intext:enc_UserPassword=* ext:pcf
"# -FrontPage-" ext:pwd inurl:(service | authors | administrators | users) "# -FrontPage-" inurl:service.pwd
"AutoCreate=TRUE password=*"
"http://*:*@www” domainname
"index of/" "ws_ftp.ini" "parent directory"
"liveice configuration file" ext:cfg -site:sourceforge.net
"parent directory" +proftpdpasswd
Duclassified" -site:duware.com "DUware All Rights reserved"
duclassmate" -site:duware.com
@chuckhoupt
chuckhoupt / Backup-Recent.sh
Last active February 20, 2023 18:48
A shell script to backup a user's recently modified files to a remote server via rsync.
#!/bin/bash
set -eux
BACKUP_ACCOUNT=backupuser@backup.example.com
MAXSIZE=45000000000
# Wait for the net to come up
while [ ! $(ifconfig | grep 'status: active') ]; do
@xtman
xtman / ssh-tunnel-start
Created September 6, 2013 17:11
A shell script to establish a ssh tunnel using ssh command.
#!/bin/sh
LOCAL_HOST="localhost"
LOCAL_PORT=""
GATEWAY_USER=""
GATEWAY_HOST=""
GATEWAY_PORT=22
TARGET_HOST=""
@lrobert
lrobert / hardenUbuntu.sh
Last active August 3, 2023 20:04
Ubuntu Base Server Configuration/Hardening Script
#!/bin/bash
#
# Lee Robert's Base Ubuntu Installation script for use on Digital Ocean (Or any other ubuntu install really.)
# Made and tested with Ubuntu 13.04 64bit
#
# Steps:
# 01. Secure Root User
# 02. Make .bashrc print out pretty colors (and root's prompt will be red)
# 03. Create a local user
# 04. Update sudoers file so only root + local user can use sudo
@mwhite
mwhite / git-aliases.md
Last active August 6, 2026 11:16
The Ultimate Git Alias Setup

The Ultimate Git Alias Setup

If you use git on the command-line, you'll eventually find yourself wanting aliases for your most commonly-used commands. It's incredibly useful to be able to explore your repos with only a few keystrokes that eventually get hardcoded into muscle memory.

Some people don't add aliases because they don't want to have to adjust to not having them on a remote server. Personally, I find that having aliases doesn't mean I that forget the underlying commands, and aliases provide such a massive improvement to my workflow that it would be crazy not to have them.

The simplest way to add an alias for a specific git command is to use a standard bash alias.

# .bashrc
@jimmynotjim
jimmynotjim / _instructions.md
Last active April 19, 2024 05:26
Setup macOS 12 Monterey

Leaving this for historical reasons, but with the latest iteration I set up proper dotfiles. Check em out

Setup macOS with a Clean Install

After too many years of tinkering my machine is a bit all over. With Mojave High Sierra Montery I wanted to start fresh

1. Run Software Update

Make sure everything is up to date.

@UniIsland
UniIsland / files.txt
Last active February 17, 2023 23:04
find and remove large file from git history
135207 columns/static/img/ggj/c1.png
122010 columns/static/img/ggj/c2.png
144015 columns/static/img/ggj/c3.png
121790 sites/management/commands/invitation_code.txt
121795 sites/management/commands/invitation_code.txt
121800 sites/management/commands/invitation_code.txt
121805 sites/management/commands/invitation_code.txt
210125 sites/static/img/1.jpg
131079 sites/static/img/2.jpg
109902 sites/static/img/2011-ggj/daminghu.png
@rtrouton
rtrouton / gist:8016797
Last active September 28, 2023 12:54
createmyguest.sh script, original by nbalonso (https://gist.github.com/nbalonso/5696340)
#!/bin/bash
# Original script by Noel B. Alonso: https://gist.github.com/nbalonso/5696340
#variables
DSCL="/usr/bin/dscl"
SECURITY="/usr/bin/security"
LOGGER="/usr/bin/logger"
# Determine OS version
@hbin
hbin / bootstrap-scripts.md
Last active December 21, 2022 13:36
Bootstrap scripts

Bootstrap scripts

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install curl git-core python-software-properties

Firewall