Skip to content

Instantly share code, notes, and snippets.

📈
Working on BetterPT's GraphQL API

Damian Esteban damianesteban

📈
Working on BetterPT's GraphQL API
Block or report user

Report or block damianesteban

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View auth0-examples.ts
import * as auth0 from 'auth0';
import axios from 'axios';
// axios client example
const axiosClient = axios.create({
baseURL: 'https://APP_DOMAIN',
timeout: 5000,
maxRedirects: 2,
withCredentials: true,
});
View cognitoAuthorizer.js
console.log('Loading function');
var jwt = require('jsonwebtoken');
var request = require('request');
var jwkToPem = require('jwk-to-pem');
var userPoolId = 'us-east-2_xxxxxxxxxx';
var region = 'us-east-2'; //e.g. us-east-1
var iss = 'https://cognito-idp.' + region + '.amazonaws.com/' + userPoolId;
var pems;
View keybase.md

Keybase proof

I hereby claim:

  • I am damianesteban on github.
  • I am damianesteban (https://keybase.io/damianesteban) on keybase.
  • I have a public key ASAraaD7HYLgBiehzlm7b_A-Y-_wPTAjm_18KyDu6qeR_go

To claim this, I am signing this object:

View fakehl7.txt
MSH|^~\&|ADT1|MCM|LABADT|MCM|198808181126|SECURITY|ADT^A04|MSG00001|P|2.4
EVN|A01-|198808181123
PID|||PATID1234^5^M11||JONES^WILLIAM^A^III||19610615|M-||2106-3|1200 N ELM STREET^^GREENSBORO^NC^27401-1020|GL|(919)379-1212|(919)271-3434~(919)277-3114||S||PATID12345001^2^M10|123456789|9-87654^NC
NK1|1|JONES^BARBARA^K|SPO|||||20011105
NK1|1|JONES^MICHAEL^A|FTH
PV1|1|I|2000^2012^01||||004777^LEBAUER^SIDNEY^J.|||SUR||-||1|A0-
AL1|1||^PENICILLIN||PRODUCES HIVES~RASH
AL1|2||^CAT DANDER
DG1|001|I9|1550|MAL NEO LIVER, PRIMARY|19880501103005|F||
View SketchSystems.spec
My Awesome Sketch
Logged Out
login -> Logged In
Logged In
View testing.wsdl
<definitions name="HelloService"
targetNamespace="http://www.examples.com/wsdl/HelloService.wsdl"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:tns="http://www.examples.com/wsdl/HelloService.wsdl"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<message name="SayHelloRequest">
<part name="firstName" type="xsd:string"/>
View test.wsdl
<?xml version="1.0"?>
<definitions name="Tutorial"
targetNamespace=http://Guru99.com/Tutorial.wsdl
xmlns:tns=http://Guru99.com/Tutorial.wsdl
xmlns:xsd1=http://Guru99.com/Tutorial.xsd
xmlns:soap=http://schemas.xmlsoap.org/wsdl/soap/
xmlns="http://schemas.xmlsoap.org/wsdl/">
<types>
<schema targetNamespace=http://Guru99.com/Tutorial.xsd
xmlns="http://www.w3.org/2000/10/XMLSchema">
View gist:be2d733a0faefe4e3955ce8bc7336b8a
Verifying my Blockstack ID is secured with the address 1BUSneeEF3f5tE5awiJEhDWZDsBzPVRJpq https://explorer.blockstack.org/address/1BUSneeEF3f5tE5awiJEhDWZDsBzPVRJpq
@damianesteban
damianesteban / keyGeneration.swift
Created Nov 1, 2017
Basic Key Generation w/ Swift
View keyGeneration.swift
let keyData = NSMutableData(length: 64)!
let result = SecRandomCopyBytes(kSecRandomDefault, 64, keyData.mutableBytes.bindMemory(to: UInt8.self, capacity: 64))
You can’t perform that action at this time.