I hereby claim:
- I am degoodmanwilson on github.
- I am degoodmanwilson (https://keybase.io/degoodmanwilson) on keybase.
- I have a public key whose fingerprint is 16AE 4433 11C6 66C8 7FE1 5052 447F 4D71 9FE2 9BC9
To claim this, I am signing this object:
| /****** | |
| This algorithm, when followed, will generally score between 3,000 and 4,000 points. | |
| How it works: | |
| The inner loop of alternating left-then-down sorts incoming blocks into a gradient, with largest value blocks in the lower left. | |
| After a while, the top-left to bottom-right diagonals need to be collapsed; This is accomplished with the right-then-down. | |
| The timing of the right-then-down could probably be heavily optimized. The outer up-then-down is to avoid a condition where you | |
| can get stuck forever if all the bottom rows are full. | |
| ******/ | |
| while(1) |
I hereby claim:
To claim this, I am signing this object:
| https://github.com/slackhq/easy-peasy-bot | |
| git clone git@github.com:slackuserdegoodmanwilson2/easy-peasy-bot.git | |
| npm install --save botkit-middleware-apiai | |
| var apiai = require('botkit-middleware-apiai')({ | |
| token: process.env.APIAI_TOKEN | |
| }); |
| #include <sys/types.h> | |
| #include <microhttpd.h> | |
| #include <stdio.h> | |
| #include <string.h> | |
| #include <stdlib.h> | |
| #define PORT 8888 | |
| #define POSTBUFFERSIZE 512 | |
| #define MAXNAMESIZE 20 | |
| #define MAXANSWERSIZE 512 |
| require 'grape' | |
| class GoodInterfaceDesign < Grape::API | |
| format :json | |
| params do | |
| requires :name, type: String | |
| end | |
| post '/' do | |
| {:name => params[:name]} |
| swagger: '2.0' | |
| info: | |
| description: A programmatic gateway to securing your app with Sqreen. | |
| version: 'v1' | |
| title: Sqreen API | |
| contact: | |
| name: "Sqreen API Team" | |
| email: "api@sqreen.io" | |
| host: api.sqreen.io | |
| basePath: /v1 |
| var recastai = require('recastai').default |
| var recastai = require('recastai').default | |
| module.exports = (app) => { | |
| // Your code here | |
| app.log('Yay! The app was loaded!') | |
| // example of probot responding 'Hello World' to a new issue being opened | |
| app.on('issues.opened', async context => { | |
| app.log(context.payload.issue.title) | |
| const recastai = require('recastai').default | |
| const GphApiClient = require('giphy-js-sdk-core') | |
| const giphy_client = GphApiClient(process.env.GIPHY_KEY) | |
| module.exports = (app) => { | |
| // Your code here | |
| app.log('Yay! The app was loaded!') |
Goals:
Let's begin with a warmup. Imagine that we want to greet new visitors to our open source project, by sending them a gif when they open a new issue.
Begin by making a sandbox repository, to keep everything nice and contained. https://github.com/new