Skip to content

Instantly share code, notes, and snippets.

View rriggin's full-sized avatar
📈
+++++++

Ryan Riggin rriggin

📈
+++++++
View GitHub Profile
@rriggin
rriggin / canvassing-data
Last active July 23, 2025 03:31
Canvassing Data - Running Record - 1612 Total Addresses - Updated 2025-07-22 22:31:01
name,address,street_address,city,state,zip_code,full_address,source,import_date,import_time
,"8342 Greenwood Cir, Lenexa, KS 66215\",8342 Greenwood Cir,Lenexa,KS,66215,"8342 Greenwood Cir, Lenexa, KS 66215\",Google Maps List Scraper - Shawnee 1,2025-07-22,22:22:03
,"14641 W 85th Terrace, Lenexa, KS 66215\",14641 W 85th Terrace,Lenexa,KS,66215,"14641 W 85th Terrace, Lenexa, KS 66215\",Google Maps List Scraper - Shawnee 1,2025-07-22,22:22:03
,"8610 S Oakview Dr, Lenexa, KS 66215\",8610 S Oakview Dr,Lenexa,KS,66215,"8610 S Oakview Dr, Lenexa, KS 66215\",Google Maps List Scraper - Shawnee 1,2025-07-22,22:22:03
,"14902 W 84th St, Lenexa, KS 66215\",14902 W 84th St,Lenexa,KS,66215,"14902 W 84th St, Lenexa, KS 66215\",Google Maps List Scraper - Shawnee 1,2025-07-22,22:22:03
,"8345 Acuff Ln, Lenexa, KS 66215\",8345 Acuff Ln,Lenexa,KS,66215,"8345 Acuff Ln, Lenexa, KS 66215\",Google Maps List Scraper - Shawnee 1,2025-07-22,22:22:03
,"8337 Acuff Ln, Lenexa, KS 66215\",8337 Acuff Ln,Lenexa,KS,66215,"8337 Acuff Ln, Lenexa
0 notifications total
Skip to search
Skip to main content
Close jump menu
Search
Home
My Network
Jobs
<?php
//This get Access token from Refresh Token
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://accounts.zoho.com/oauth/v2/token",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
@rriggin
rriggin / zoho1.txt
Last active January 10, 2019 16:52
<?PHP
$testJson = file_get_contents("php://input");
$file = fopen("NEWOUTPUT.txt","a+");
echo fwrite($file,$testJson."------------------------");
fclose($file);
$results = explode("&",$testJson);
$dataResult = "";
require 'rubygems'
require 'sinatra'
require 'data_mapper'
# Set up Database Connection
DataMapper.setup(:default, ENV['DATABASE_URL'] || 'postgres://localhost/kciodev')
class Job
@rriggin
rriggin / gist:5321655
Created April 5, 2013 18:47
error log
2013-04-05T18:04:57+00:00 app[web.1]: http://kcio.herokuapp.com/new -> /create
2013-04-05T18:04:57+00:00 heroku[router]: at=info method=POST path=/create host=kcio.herokuapp.com fwd="99.163.25.14" dyno=web.1 connect=11ms service=38ms status=500 bytes=30
2013-04-05T18:04:57+00:00 heroku[router]: at=info method=GET path=/favicon.ico host=kcio.herokuapp.com fwd="99.163.25.14" dyno=web.1 connect=1ms service=17ms status=404 bytes=18
2013-04-05T18:04:57+00:00 app[web.1]: 99.163.25.14 - - [05/Apr/2013 18:04:57] "GET /favicon.ico HTTP/1.1" 404 18 0.0004
2013-04-05T18:04:57+00:00 app[web.1]: ip-10-102-5-137.ec2.internal - - [05/Apr/2013:18:04:57 UTC] "GET /favicon.ico HTTP/1.1" 404 18
2013-04-05T18:04:57+00:00 app[web.1]: - -> /favicon.ico
@rriggin
rriggin / gist:5321600
Created April 5, 2013 18:41
kcio app.rb
require 'rubygems'
require 'sinatra'
require 'data_mapper'
# Set up Database Connection
DataMapper.setup(:default, ENV['DATABASE_URL'] || 'postgres://localhost/kciodev')
class Job
include DataMapper::Resource
@rriggin
rriggin / Gemfile
Last active December 15, 2015 19:39
source 'https://rubygems.org'
gem 'sinatra'
gem 'data_mapper'
gem 'pg'
gem 'dm-postgres-adapter'
gem 'sinatra-authentication'
@rriggin
rriggin / calculator.rb
Created August 16, 2012 01:03 — forked from JoshCheek/calculator.rb
simple sinatra calculator app
# Lets create a simple calculator app together, it should have a get method for localhost:4567/calculator that displays two forms
# the first form should post (note that post is one of those http methods) to localhost:4567/add, and have two fields named "num1" and "num2"
# the second form should post to localhost:4567/subtract with the same args
# the page that they go to should display the result, and have a link to get back to calculator
require 'rubygems'
require 'sinatra'
get '/calculator' do
'