Skip to content

Instantly share code, notes, and snippets.

Jason Freidman compnski

Block or report user

Report or block compnski

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View periscope sample sdks
Please update with customers submitted versions or ones we create inhouse.
PHP (from dan@ufn)
p_api_key = 'YOUR_API_KEY';
$filter_json = '{
"dashboard": 8227,
"embed": true,
"filters": [{"name": "AccountIDs", "value": "71005"}]
}';
$encode_json = urlencode(str_replace(' ','',$filter_json));
View go structs and interfaces
package main
import "fmt"
import "io"
type notACloser struct {
Close func() error
}
func close() error {
@compnski
compnski / table_hash.go
Last active Feb 14, 2019
Builds a SQL statement to hash a table in any of postgres/mysql/redshift, with the same result across the 3.
View table_hash.go
package main
import (
"flag"
"fmt"
"strings"
)
const DB_REDSHIFT = "redshift"
const DB_POSTGRES = "postgres"
You can’t perform that action at this time.