Skip to content

Instantly share code, notes, and snippets.

View ronnie's full-sized avatar

Ronnie Moore ronnie

View GitHub Profile
@ronnie
ronnie / iex_msg_ctrl.gs
Created May 31, 2020 00:58 — forked from MEN8v/iex_msg_ctrl.gs
Creates custom google sheet menu to pull dividend info from IEX and then replace the formulas with the fetched values
//***GLOBALS***//
var ss = SpreadsheetApp.getActive();
var portfolioSheet = ss.getSheetByName("master"); //replace master with name of the tab that has your portfolio data
var columnToCheck = portfolioSheet.getRange("A:A").getValues();
// Get the last row based on the data range of a single column.
var lastRow = getLastRowSpecial(columnToCheck);
/**
* Imports JSON data to your spreadsheet Ex: IMPORTJSON("http://myapisite.com","city/population")
* @param url URL of your JSON data as string
@ronnie
ronnie / git-cheat-list.md
Created February 6, 2018 17:33
Git cheat list
@ronnie
ronnie / download_my_podcasts.py
Created June 1, 2016 14:50 — forked from janetriley/download_my_podcasts.py
A Python script to download podcasts from an xml feed and tag the MP3s.
"""
A script for downloading some podcasts and tagging the files so I can import them to iTunes.
"""
import pycurl
import os.path
import sys
from BeautifulSoup import BeautifulStoneSoup
import eyed3
@ronnie
ronnie / gist:5cbaf75c57a06ba75a8b8759737a6aa7
Created May 7, 2016 04:02 — forked from majascules/gist:d21786759ed43ec3a0ee
Installing csvkit with Yosimite or higher (OSX 10.10)
#!/bin/bash
#
#Install Homebrew
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
#
#Install Python
brew install python
#
#Install CSVKit and check to make sure that it is in your path
pip install csvkit
@ronnie
ronnie / 0_reuse_code.js
Created November 16, 2015 19:21
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
@ronnie
ronnie / pr.md
Last active August 29, 2015 14:19 — forked from piscisaureus/pr.md

Locate the section for your github remote in the .git/config file. It looks like this:

[remote "origin"]
	fetch = +refs/heads/*:refs/remotes/origin/*
	url = git@github.com:joyent/node.git

Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/* to this section. Obviously, change the github url to match your project's URL. It ends up looking like this:

on showgrowl(theNotify, theImage, theTitle, theMessage)
tell application "Growl"
-- Make a list of all the notification types
-- that this script will ever send:
set the allNotificationsList to ¬
{"Login", "Logout", "Present", "Text Message", "Invitation", "File Transfer Completed"}
-- Make a list of the notifications
-- that will be enabled by default.
-- Those not enabled by default can be enabled later