Skip to content

Instantly share code, notes, and snippets.

View sburns's full-sized avatar

Scott Burns sburns

View GitHub Profile
We can't make this file beautiful and searchable because it's too large.
,COMPANY_ID_HASHED,COMPANY_INDUSTRY,HEADCOUNT_INITIAL,HEADCOUNT_CURRENT,HEADCOUNT_BUCKET,ACCOUNT_GEO_CITY,ACCOUNT_GEO_STATE,ACCOUNT_GEO_COUNTRY,ACCOUNT_LOCATION,GLOBAL_REGION,ACCOUNT_CANCELLATION_DATE,ACCOUNT_DELETED_DATE,CUSTOMER_STATUS,ACCOUNT_TENURE_DAYS,CUST_INFO_PRODUCT_PLAN_TYPE,CUSTOMER_CONTRACT_VALUE,COMPANY_ANNUAL_REVENUE_BUCKET,ACCOUNT_CREATED_DATE,ACCOUNT_CREATOR_TITLE,ACCOUNT_AGE,EMPLOYEE_GROWTH_RATE,LAT,LNG
0,944e821ade9c340c022cd9a5c870d25d1d0afb48,Banking,3,3.0,1-10,Brooklyn,New York,United States,US,,,,Subscriber,10,,,,2023-03-17 08:33:44+00:00,AE1,41,0.0,40.6781784,-73.9441579
1,7d4732ec2d971ca40595b9b040b910e2be109671,Internet Software & Services,0,150.0,101-150,,Western Cape,South Africa,ROW,EMEA,,,In Trial,0,,,$10M-$50M,2022-05-16 08:04:02+00:00,SAE2,346,0.43352601156069365,-33.2277918,21.8568586
2,5f2929e6445b3086a8ea9f63eb9f004a730ef368,Education Services,0,25.0,25-75,,,South Africa,ROW,EMEA,,,In Trial,0,,,$1M-$10M,2022-06-27 10:58:05+00:00,AE3,304,0.08223684210526316,-30.559482,22.93750
@sburns
sburns / example-lambda-gha.yml
Last active December 4, 2020 23:23
This is an example GitHub Actions workflow to continuously deploy a Lambda function.
name: example CICD
on:
push:
branches:
- master
paths:
# only commits containing changes under these paths will trigger this workflow
- 'services/example/**'
- 'lib/example/**'
@sburns
sburns / app.prod.json
Created September 14, 2016 18:14
Sample JSON file produced by webpack-bundle-tracker
{
"status":"done",
"chunks":
{
"app":[{
"name":"app-e601e3f402dee00ca72a.js",
"path":"/Users/scott/code/health/health/static/bundles/app-e601e3f402dee00ca72a.js"
},
{
"name":"app-e601e3f402dee00ca72a.css",
@sburns
sburns / stratasan_developer.md
Last active August 27, 2016 03:25 — forked from briandailey/stratasan_developer.md
Stratasan: Web Developer

Web Developer

Become a Stratanaut!

Who We Are

Stratasan is a Nashville-based company that provides intelligence on healthcare markets to hospital strategists, physician offices, community care experts, and others. We aggregate healthcare data, curate it, and provide reports and tools that aid healthcare decision-making. As an example, we give guidance to

@sburns
sburns / tree.txt
Created August 15, 2016 14:23
Stratasan Confident Asset Deployments, Pt2: Project Layout
health/
├── ISSUE_TEMPLATE.md
├── Makefile
├── README.txt
├── assets
│   ├── bundle.js
│   ├── config
│   │   └── app.webpack.config.js
│   ├── package.json
│   └── svg
@sburns
sburns / bundle.js
Created August 15, 2016 14:11
Stratasan Confident Asset Deployments, Pt2: Bundler
var webpack = require('webpack');
var path = require('path');
var BundleTracker = require('webpack-bundle-tracker');
var autoprefixer = require('autoprefixer');
var ExtractTextPlugin = require("extract-text-webpack-plugin");
var OptimizeCssAssetsPlugin = require('optimize-css-assets-webpack-plugin');
var BrowserSyncPlugin = require('browser-sync-webpack-plugin');
var SvgStore = require('webpack-svgstore-plugin');
const environment = process.env.NODE_ENV;
@sburns
sburns / app.webpack.config.js
Created August 15, 2016 14:10
Stratasan Confident Asset Deployments, Pt2: App-Specific Configuration File
const path = require('path');
module.exports = options => ({
externals: {
jquery: 'jQuery'
},
entry: {
account: [
'babel-polyfill',
path.join(__dirname, '../../health/account/assets')
@sburns
sburns / pynash_channels_abstract.md
Created June 9, 2016 15:27
PyNash abstract for upcoming talk on Channels

Scott Burns will introduce Channels, an exciting line of work in the Django community. The WSGI specification has take python web frameworks a very long ways since it was introduced in 2003. We have a variety of frameworks and web servers that can serve said frameworks. However the web has evolved since 2003, notably with the introduction of Websockets. WSGI cannot handle the communication model provided by Websockets and much work and thought has gone into how python web frameworks will continue to evolve and provide these features to application developers.

Channels is one such attempt at rewriting some of Django's innards to be more amenable to different client-server communication models. In this talk Scott will briefly cover WSGI, how Django implements it currently, what Channels aims to do and demo a simple site built on Channels.

@sburns
sburns / script.md
Last active July 9, 2018 08:35
This is a 5-minute (hahaha yeah right) demo of some things you might not have thought to do with the jupyter notebook to make it a good dev environment.

tmux all the things

$ tmux new -s demo

Make & activate a virtualenv

pyenv virtualenv 3.5.0 demo
pyenv activate demo
python --version
@sburns
sburns / print_sql.py
Created December 10, 2014 15:07
Print a literal SQLAlchemy statement
print(str(select.compile(engine, compile_kwargs={'literal_binds': True}))