Skip to content

Instantly share code, notes, and snippets.

View justinTNT's full-sized avatar
🔎
taking a moment..

justinTNT justinTNT

🔎
taking a moment..
View GitHub Profile
@benkitzelman
benkitzelman / telstra-monitor.plist
Last active August 15, 2018 12:43
Telstra honesty report - monitor connection drops
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>telstra-monitor</string>
<key>KeepAlive</key>
<true/>
@mathisonian
mathisonian / index.md
Last active March 22, 2023 05:31
requiring npm modules in the browser console

demo gif

The final result: require() any module on npm in your browser console with browserify

This article is written to explain how the above gif works in the chrome (and other) browser consoles. A quick disclaimer: this whole thing is a huge hack, it shouldn't be used for anything seriously, and there are probably much better ways of accomplishing the same.

Update: There are much better ways of accomplishing the same, and the script has been updated to use a much simpler method pulling directly from browserify-cdn. See this thread for details: mathisonian/requirify#5

inspiration

@poizan42
poizan42 / checkmail.php
Created May 19, 2012 18:10
Mail verifier in php
<?php
/*
Copyright (C) 2012 Kasper F. Brandt
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 furnished to do
so, subject to the following conditions: