Skip to content

Instantly share code, notes, and snippets.

@Christopher-A
Christopher-A / NSData+CommonDigest.h
Created October 9, 2012 05:33 — forked from 0xced/NSData+CommonDigest.h
NSData+CommonDigest: The most elegant NSData category for cryptographic hash functions
/*
Licensed under the MIT License
Copyright (c) 2011 Cédric Luthi
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
@Christopher-A
Christopher-A / gist:2033205
Created March 14, 2012 01:25 — forked from rcw3/gist:2018059
Self-contained WWDC Status Checker With Prowl For Cron Jobs
#!/bin/bash
api_key="your Prowl API key goes here"
cd ~
testSiteForChanges () {
ls "old_page.html" 1>/dev/null 2>/dev/null
if [ $? -eq "1" ] ; then