Skip to content

Instantly share code, notes, and snippets.

View martypitt's full-sized avatar
:octocat:
Building Orbital and Taxi - https://orbitalhq.com

Marty Pitt martypitt

:octocat:
Building Orbital and Taxi - https://orbitalhq.com
View GitHub Profile
/// <reference path="typescript.api.d.ts" />
import tsapi = require("typescript.api");
export class Example {
}
{
"id": "83917940159_10153810543845160",
"from": {
"category": "Community",
"category_list": [
{
"id": "2612",
"name": "Community"
}
],
import {Injectable} from "@angular/core";
import {environment} from "app/../environments/environment";
import {Observable, ReplaySubject, Subject} from "rxjs";
const SockJS = require('sockjs-client');
const Stomp = require('stompjs');
// TODO : Find sockJs / StompJs typings
interface StompClient {
connect(params: any, connectHandler: (frame: Frame) => void, errorHandler: (error: any) => void)
subscribe(topic: string, handler: (value: Frame) => void)
@martypitt
martypitt / bootstrap.yml
Created January 1, 2018 22:01
Bootstrap a freshly minted ubuntu 16.04 - 17.10 box for ansible
---
- hosts: all
become: yes
become_user: root
gather_facts: no
pre_tasks:
- name: 'install missing modules'
raw: sudo apt-get -y install python-simplejson aptitude
@martypitt
martypitt / pom.xml
Last active October 30, 2018 22:01
Trade Compliance with Vyne
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.0.5.RELEASE</version>
</parent>
<modelVersion>4.0.0</modelVersion>
@martypitt
martypitt / test.md
Created October 24, 2023 07:11
Markdown test

New Topic

New Title

{collapsible="true" default-state="expanded"}

Content

A note highliughting important information

{style="warning"}