Skip to content

Instantly share code, notes, and snippets.

@mschmulen
mschmulen / README.md
Last active December 24, 2015 06:09
Angular Standalone, Disconnected and Mocked inline html and javascript

Simple Angular App Example, Disconnected and Mocked inline html and javascript

simply clone the repo locally and

 git clone https://gist.github.com/6755421.git AngularStandalone
 cd AngularStandalone
 open index.html
@chengyin
chengyin / linkedout.js
Last active July 11, 2021 15:23
Unsubscribe all LinkedIn email in "one click". For an easier to use version, you can check out the bookmarklet: http://chengyin.github.io/linkedin-unsubscribed/
// 1. Go to page https://www.linkedin.com/settings/email-frequency
// 2. You may need to login
// 3. Open JS console
// ([How to?](http://webmasters.stackexchange.com/questions/8525/how-to-open-the-javascript-console-in-different-browsers))
// 4. Copy the following code in and execute
// 5. No more emails
//
// Bookmarklet version:
// http://chengyin.github.io/linkedin-unsubscribed/
@mschmulen
mschmulen / uninstall-strongloop-suite.sh
Created January 3, 2014 19:05
uninstall strongloop suite
#!/bin/sh
(( ${#} > 0 )) || {
echo 'The uninstaller is now trying to remove StrongLoop Suite'
echo 'Press Control-C to quit or Enter to continue the script with sudo: '
read
echo 'Re-running the script with sudo.'
echo 'You may be prompted for a password for the sudo command.'
sudo ${0} sudo
exit $?
}