Skip to content

Instantly share code, notes, and snippets.

@s3lcsum
s3lcsum / gcp-gpu-vm-hashcat.md
Created August 17, 2020 11:40 — forked from koenrh/gcp-gpu-vm-hashcat.md
Running Hashcat on Google Cloud's new GPU-based VMs

Running Hashcat on Google Cloud's GPU-based VMs

In February 2017, Google announced the availability GPU-based VMs. I spun up a few of these instances, and ran some benchmarks. Along the way, I wrote down the steps taken to provision these VM instances, and install relevant drivers.

Update April 2019: Updated instructions to use instances with the Tesla T4 GPUs.

@s3lcsum
s3lcsum / docker-cleanup-resources.md
Last active September 28, 2019 03:30 — forked from bastman/docker-cleanup-resources.md
docker cleanup guide: containers, images, volumes, networks

Docker - How to cleanup (unused) resources

Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...

delete everything

docker kill $(docker ps -qa ) 
docker volume rm $(docker volume ls -q) 
docker network rm $(docker network ls -q) 
@s3lcsum
s3lcsum / timemachine_exclude_dev_dirs.sh
Last active September 17, 2019 11:15 — forked from techouse/timemachine_exclude_dev_dirs.sh
Instruct Time Machine to exclude some development directories
#!/usr/bin/env bash
# This simple bash script is aimed at excluding some development specific directories.
#
# In this configuration it will instruct Time Machine to exclude directories named:
# - node_modules
# - vendor
#
# Feel free to update this array to your own needs.
EXCLUDED_DIRECTORIES=( "node_modules" "vendor" )