Skip to content

Instantly share code, notes, and snippets.

@stephannielsen
stephannielsen / jquery.email-antispam.js
Last active June 14, 2018 08:22 — forked from mathiasbynens/jquery.email-antispam.js
Simple spam protection for email addresses using jQuery
/* Simple spam protection for email addresses using jQuery.
* Well, the protection isn’t jQuery-based, but you get the idea.
* This snippet allows you to slightly ‘obfuscate’ email addresses to make it harder for spambots to harvest them, while still offering a readable address to your visitors.
* E.g.
* <a href="mailto:foo(at)example(dot)com">foo at example dot com</a>
* →
* <a href="mailto:[email protected]">[email protected]</a>
*
* Attribution: https://gist.github.com/mathiasbynens/286824
*/
@stephannielsen
stephannielsen / Wake.ps1
Created January 24, 2017 11:21 — forked from alimbada/Wake.ps1
PowerShell script for sending Wake On LAN magic packets to given machines/MAC address(es)
#######################################################
##
## Wake.ps1, v1.0, 2013
##
## Adapted by Ammaar Limbada
## Original Author: Matthijs ten Seldam, Microsoft (see: http://blogs.technet.com/matthts)
##
#######################################################
<#