Skip to content

Instantly share code, notes, and snippets.

View LouiseMcMahon's full-sized avatar

Louise McMahon LouiseMcMahon

View GitHub Profile
@LouiseMcMahon
LouiseMcMahon / Large List
Last active December 13, 2023 13:44
Recuiter Spam List
@199rec.co.uk
@24-7recruitment.net
@2kpeople.co.uk
@33six.net
@365rec.com
@3aaa.co.uk
@3rglobal.com
@48digital.co.uk
@4itrecruitment.co.uk
@752solutions.com
@LouiseMcMahon
LouiseMcMahon / scratch.sh
Created July 21, 2017 08:14
List unused node versions in NVM
#This will list all node versions without an alias
$(nvm list | grep -v -e "->" | grep -P "(v\d+\.\d+\.\d+)" -o)
#This uses the above to find and remove node versions in NVM without an alias
for version in $(nvm list | grep -v -e "->" | grep -P "(v\d+\.\d+\.\d+)" -o)
do
nvm uninstall $version
done
@LouiseMcMahon
LouiseMcMahon / gist:7ffb27c7d9b4244f87fa2821b593588c
Created September 22, 2016 17:54
Run scrapy email output and S3 logs script
#!/usr/bin/env python
import os
import boto3
import datetime
import time
#wait 5 minutes
time.sleep(60*5)