Skip to content

Instantly share code, notes, and snippets.

View datapimp's full-sized avatar

Jonathan Soeder datapimp

View GitHub Profile
@datapimp
datapimp / ip-ranges-by-city-state.json
Last active May 7, 2019 15:02
ip address ranges by state / city
{
"AL": {
"Birmingham": [
[
"12.196.136.0",
"12.196.136.255"
],
[
"47.36.227.0",
"47.36.227.255"
"boilerplate": {
"dllPlugin": {
"path": "node_modules/react-boilerplate-dlls",
"dlls": {
"SkypagerUI": [
"jquery",
"bootstrap/js/transition",
"bootstrap/js/alert",
"bootstrap/js/button",
"bootstrap/js/carousel",
  • Product Browse View

    • A Gallery-ish view with stylized panels containing products in the portfolio. A Panel might contain a 3d screenshot like image of the product or of a phone with one of the screens loaded in it. To the right of it might be the products logo, with some additional text or graphs or buttons underneath it (for example, a clone button)
  • On the architects.io portfolio manager view, This view would be used to display skypager, smooth, blueprint, stylish, etc

Project Codename: Supervisor

What is it? A central event bus which manages the spawning and creation of different sub-processes in the Skypager Authoring App, namely:

  • the Electron BrowserWindow
  • the Webpack Dev Server
  • The React-Native Packager Process
  • CLI Commands (npm run scripts)
@datapimp
datapimp / gist:ab6395c2c54cd84df678
Last active August 29, 2015 14:20
Atom editor control API

I would like an external interface around the Atom editor.

I would like to be able to:

stylish = new Stylish.EditorWrapper(atom: atomApplication)
component = new Stylish.Component(path: "/path/to/component/manifest.json")

stylish.editComponent(component)
@datapimp
datapimp / README.md
Created March 18, 2015 19:40
Contact Form with Customer.io and Segment.io
  1. Sign up for segment.io and customer.io

this will allow you to use one single javascript dependency with a common API for all of the tracking. You will need to put your key in the analytics partial

  1. include the analytics partial on every page.

  2. the contact form html and contact form javascript need to be present wherevever you need to let uses submit a contact form.

  3. the md5.js script is also a dependency

customer.io

@datapimp
datapimp / gist:c2f568ab7d1dc44050d8
Created February 17, 2015 20:52
React Component Definition Sugar
page "PackageDetailsPage"
state ->
loading: true
pkg: undefined
events
componentDidMount: ->
page = @
# This is a Brief::Model
#
# It allows me to describe the structure of a markdown file (with yaml frontmatter)
# and it creates a ruby class with methods that make all of the data easily accessible,
# and the repeatable structures accessible.
class Brief::Epic
include Brief::Model
meta do
title

Given markdown input like this:

# Section One
# Section Two
## Section Two Article One
## Section Two Article Two
# Section Three
## Section Three Article One