This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env sh | |
## | |
# This is script with usefull tips taken from: | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# | |
# install it: | |
# curl -sL https://raw.github.com/gist/2266927/hack.sh | sh | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a = setInterval(function () { | |
window.scrollTo(0,document.body.scrollHeight); | |
$(".ProfileCard-userFields").each( function() { | |
if($(this).find('.ProfileCard-bio').text().match(new RegExp("google|twitter|airbnb|entrepreneur|founder|tech|growthhacking|hacking|official|consultant|analytics|ecom|startup|ceo|ux|seo|ecommerce|growth"), "g") !== null ) | |
{ | |
$(this).parent().find('.not-following .user-actions-follow-button.js-follow-btn').click(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* _optimizely_evaluate=force */ | |
$('head').append('<style type="text/css">.something {display:none !important;}</style>'); | |
/* _optimizely_evaluate=safe */ | |
$('head').append('<style type="text/css">.something {display:none !important;}</style>'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use clearInterval(a); to stop interval or reload page | |
a = setInterval(function () { | |
// Scroll to bottom | |
window.scrollTo(0,document.body.scrollHeight); | |
// Unfollow | |
$(".icon-button-unfollow").click(); | |
}, 1000); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set messages to {"Love you! 😍", "You are the best!", "Kiss 😘😘", "😘", "😍😍😍", "💋"} | |
set message to some item of messages | |
tell application "Messages" | |
send message to buddy "[email protected]" of (service 1 whose service type is iMessage) | |
end tell |