Skip to content

Instantly share code, notes, and snippets.

View kellyjandrews's full-sized avatar
I don't get it.

Kelly Andrews kellyjandrews

I don't get it.
View GitHub Profile
@kellyjandrews
kellyjandrews / 01-building-an-image.md
Last active June 13, 2017 20:10
Docker App Development Workshop

Building an Image

@kellyjandrews
kellyjandrews / CoC.md
Last active September 29, 2017 15:22
Codeship Community Code of Conduct

Codeship Community Code of Conduct

Our Pledge

In the interest of fostering an open and welcoming environment, we as community admins pledge to making participation in our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.

Expected Behavior

@kellyjandrews
kellyjandrews / Dockerfile
Last active October 23, 2017 21:02
Codeship Example Files
FROM ubuntu:zesty
RUN mkdir /usr/src/app
WORKDIR /usr/src/app
COPY . .
CMD ["printenv"]
$ jx install
Context "minikube" modified.
Trying to create ClusterRoleBinding minikube-cluster-admin-binding for role: cluster-admin for user minikube
clusterrolebinding "minikube-cluster-admin-binding" created
Created ClusterRoleBinding minikube-cluster-admin-binding
Created ServiceAccount tiller in namespace kube-system
Trying to create ClusterRoleBinding tiller for role: cluster-admin and ServiceAccount: kube-system/tiller
Created ClusterRoleBinding tiller
Initialising helm using ServiceAccount tiller in namespace kube-system
$HELM_HOME has been configured at /Users/kellyandrews/.helm.
@kellyjandrews
kellyjandrews / 1_post.md
Last active May 24, 2018 15:16
SMS to Slack Integration

Getting Your Customers Feedback from SMS to Slack

Overview

Modern application development teams have adopted Slack as a place to collaborate as a team, and consolidate tools into one location to make operations run more efficiently.

In the case of a mobile app, getting instant feedback from customers via Slack messages can shorten the time to feature development, bug fixes, and other mission-critical use cases.

As an example, your mobile app can send an SMS directly to your customer success team's slack channel when an error occurs, or if a user needs help.

In this tutorial, I want to show you how you can connect your Slack channels to your customers using the Nexmo SMS API. The Nexmo SMS API can be configured to use a webhook for incoming SMS messages. We will use Webtask.io in this example to handle the incoming message and forward it to a Slack webhook.

@kellyjandrews
kellyjandrews / CreateVoiceApplication.md
Last active February 26, 2019 19:09
Nexmo Readme Boilerplate

Create a Voice Application

This application requires a Nexmo application and phone numbers. To create the application, use the nexmo app:create command with the Nexmo CLI.

The parameters are:

  • <<APP NAME>> - the name of the voice application
  • <<FILENAME>> - the name of the private key file, in this instance <<FILENAME>> is expected
  • <<ANSWER WEBHOOK>> - the webhook called the Nexmo number receives an inbound call
  • <<EVENT WEBHOOK>> - the webhook called when the call status changes
@kellyjandrews
kellyjandrews / image_blur.rb
Last active December 3, 2019 23:41
Bootcamp Challenges
class Image
def initialize(image)
@image = image
end
def displayImage
@image.each{|row| puts row.join}
end
@kellyjandrews
kellyjandrews / styles.less
Last active January 6, 2020 20:00
Fira Code/Operator Atom Less Settings
atom-text-editor.editor {
font-family: "OperatorMono-Medium";
text-rendering: optimizeLegibility;
font-size: 15px;
font-weight: 400;
line-height: 1.4;
atom-text-editor.editor .syntax--string.syntax--quoted,
atom-text-editor.editor .syntax--string.syntax--regexp {
-webkit-font-feature-settings: "liga" off, "calt" off;
@kellyjandrews
kellyjandrews / machine.js
Last active May 19, 2020 02:56
Generated by XState Viz: https://xstate.js.org/viz
const authMachine = Machine({
id: 'auth',
context: {
email: '',
password: '',
loginModal: false
},
initial: 'unauthorized',
states: {
unauthorized: {