Skip to content

Instantly share code, notes, and snippets.

@Bostonncity
Bostonncity / 0_reuse_code.js
Created December 15, 2015 17:45
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@Bostonncity
Bostonncity / clone_current.txt
Created December 15, 2015 17:43 — forked from mrroot5/clone_current
Git clone en la carpeta actual.
git clone https://github.com/my-user/repo.git .
@Bostonncity
Bostonncity / targeted-auto-follow.js
Created December 15, 2015 17:42 — forked from thomasrstegelmann/targeted-auto-follow.js
I modified Karan's script to follow only profiles that match a certain keyword. Please see https://medium.com/marketing-102/how-i-grew-from-300-to-5k-followers-in-just-3-weeks-2436528da845#.75mau0pj9 for details
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();
}
@Bostonncity
Bostonncity / url
Created December 15, 2015 17:40 — forked from TheMapSmith/url
Enter file contents herehttps://q3.webtechwireless.com/sizzles/com.webtechwireless.quadrant.Quadrant/Quadrant.jsp?initTimeRange=last2Hours&initTimeZone=US/Eastern&initSubApp=MappingNavMenuItem&initFID=40&ticket=490350DB08D50668C8582AAA425F1992&locale=en_US
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Bostonncity
Bostonncity / nya.ipynb
Created December 15, 2015 17:35 — forked from domitry/nya.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Bostonncity
Bostonncity / unifi.sh
Created December 15, 2015 17:34 — forked from 4lun/unifi.sh
Start UniFi Controller from CLI (OSX)
java -jar /Applications/UniFi.app/Contents/Resources/lib/ace.jar ui
{
"severity": "permanent",
"tags": [],
"delivery-status": {
"message": " ",
"code": 406,
"description": " ",
"session-seconds": 0.1486649513244629
},
"envelope": {
@Bostonncity
Bostonncity / us-state-names-abbrevs.php
Created December 10, 2015 10:25 — forked from maxrice/us-state-names-abbrevs.php
US State Names & Abbreviations as PHP Arrays
<?php
/* From https://www.usps.com/send/official-abbreviations.htm */
$us_state_abbrevs_names = array(
'AL'=>'ALABAMA',
'AK'=>'ALASKA',
'AS'=>'AMERICAN SAMOA',
'AZ'=>'ARIZONA',
'AR'=>'ARKANSAS',
/*
Startup20: A Sensible Replacement for the MS Windows "Startup/" Folder
======================================================================
Author: "Paul Prince" <[email protected]>
License: Modified BSD License; see ./LICENSE.txt
Inspired by:
------------
- WindowPadX