Keybase proof
I hereby claim:
- I am jamesbibby on github.
- I am jamesbibby (https://keybase.io/jamesbibby) on keybase.
- I have a public key ASBBMzwtZSsrne3DX9vS5M1E2shYPeENk0OnXPQlZHmMFAo
To claim this, I am signing this object:
import React, { Component } from 'react'; | |
import logo from './logo.svg'; | |
import './App.css'; | |
class App extends Component { | |
render() { | |
return ( | |
<div className="App"> | |
<header className="App-header"> | |
<img src={logo} className="App-logo" alt="logo" /> |
import React, { Component } from 'react'; | |
import logo from './logo.svg'; | |
import './App.css'; | |
class App extends Component { | |
render() { | |
return ( | |
<div className="App"> | |
<header className="App-header"> | |
<img src={logo} className="App-logo" alt="logo" /> |
// The base url for the site | |
const baseURL = '.bibs.codes'; | |
/** | |
The actual request handler | |
Remaps the URL from: api.bibs.codes/service_name to service_name.bibs.codes | |
**/ | |
async function handleRequest(request) { | |
const url = new URL(request.url); | |
// skip the leading '/' and split the request |
const ASSET_PATHS = [ | |
'/asset-manifest.json', | |
'/favicon.ico', | |
'/manifest.json', | |
'/precache-manifest.', | |
'/serviceWorker.js', | |
'/static/' | |
]; | |
const S3_BUCKET = "bibs-hello-world-react"; |
// listening to the fetch event is how to intercept requests in a worker | |
addEventListener('fetch', event => { | |
event.respondWith(new Response('hello world')) | |
}) |
I hereby claim:
To claim this, I am signing this object:
import Stomp from 'stomp-client'; | |
const destination = 'pdp.integration'; | |
const client1 = new Stomp('54.215.168.194', 62613); | |
const client2 = new Stomp('54.215.168.194', 62616); | |
export function updateTickets() { | |
console.log('about to send message 1'); |
import Stomp from 'stomp-client'; | |
const destination = 'pdp.integration'; | |
const client1 = new Stomp('54.215.168.194', 62613); | |
const client2 = new Stomp('54.215.168.194', 62616); | |
export function updateTickets() { | |
console.log('about to send message 1'); |
#!/usr/bin/python | |
import subprocess | |
import fileinput | |
import re | |
GITHUB_USER="" #enter your username | |
REPO="" #enter the name of your repo | |
print "Starting pre-commit hook..." |