Skip to content

Instantly share code, notes, and snippets.

View krishagel's full-sized avatar

Kris Hagel krishagel

View GitHub Profile
# FreshGPT
# PSD401, written by Mason Pratz
#
# This is a Lambda function that is triggered via API call.
# It is designed to be called from Freshservice Workflow Automator, which passes in
# ticket information and receives script & GPT generated response data from this function.
import openai
import json
import os
bash-4.3$ brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry and just ignore them. Thanks!
Warning: Your XQuartz (2.7.5) is outdated
Please install XQuartz 2.7.8:
https://xquartz.macosforge.org
Warning: Unbrewed dylibs were found in /usr/local/lib.
bash-4.3$ brew install qgis --with-grass --with-postgis
==> Installing qgis from homebrew/science
==> Installing dependencies for homebrew/science/qgis: cmake, sqlite, boost
==> Installing homebrew/science/qgis dependency: cmake
==> Downloading https://homebrew.bintray.com/bottles/cmake-3.4.2.el_capitan.bottle.tar.gz
######################################################################## 100.0%
==> Pouring cmake-3.4.2.el_capitan.bottle.tar.gz
==> Caveats
Emacs Lisp files have been installed to:
/usr/local/share/emacs/site-lisp/cmake
@krishagel
krishagel / gist:e729382a3069ea9b25ee
Last active August 29, 2015 14:13
Elasticsearch & Node.js

David Corona - Developer on today.com team @davesters

Trent Swanson - FullScale 180 (Azure Consulting Co) Logstash is the filter of data from where it comes from to Elasticsearch Elasticsearch can index mongodb, but more and more they are just putting the data into ES elasticsearch npm module - easy queries elk stack easy to load on laptop

Joe Ellsworth - Bayes Analytic

@krishagel
krishagel / gist:3c1f9cd0f86aeff79232
Last active August 29, 2015 14:08
Ember Seattle Notes - November 2014
http://www.thoughtindustries.com/
@chrisvariety
Controllers for stateful actions -> isEditing type things in the controller
others are in the route -> save actions in the route
classmates.com github.com/classmates/Ember-Meetup-20141105
Jason Corns, Jake Bixby, Martin ?
Bamboo & Gradle? Build tools...
what are initializers and pods. need to study these a little more and figure out how I can use them
also need to figure out what services are. how can they be used instead of controllers
@krishagel
krishagel / gist:47f05dac66bbab6b3446
Last active August 29, 2015 14:08
Seattle API Meeting Notes
@jimheising - jim@ifttt.com
26 "Smart Objects" for every person on earth by 2020 - UN
MQTT & COAP are hot new protocols
70% of IoT market value will be created in manufacturing and healthcare.
* Connected Services That Make Existing "Things" Better *
* Invent Less Shit. Make Existing Shit Better With Services *
@runscope - John Sheehan Scale-oriented Architecture with API's
Rewriting a lot of their existing python services in Go
//application controller:
import Ember from 'ember';
export default Ember.Route.extend({
renderTemplate: function() {
// Render default outlet
this.render();
// render extra outlets
this.render("topnav", {
@krishagel
krishagel / gist:343ec36cfe8845ce1673
Last active August 29, 2015 14:06
MongoDB Seattle Notes
Dev Jumpstart: Build Your First App with MongoDB
docs.mongodb.com
mongodb university
----
Social Network created by Mongo
https://github.com/10gen-labs/socialite
@krishagel
krishagel / gist:75872ef6cecc0ea4dd60
Last active August 29, 2015 14:05
Seattle JS Meetup
Notes from SeattleJS meetup on 8/14/14
Nodebots
Parts Needed:
Breadboard
Arduino
Software Installs:
Git
Node
Arduino Software
@krishagel
krishagel / gist:fc6561241d0842ba1293
Last active August 29, 2015 14:05
Seattle API Meeting Notes
Seattle API Meeting Notes
John Musser @johnmusser / API Science @apiscience
10 Reasons Developers Hate Your API
Documentation:
Good Examples:
https://www.twilio.com/docs
https://stripe.com/docs/api