Skip to content

Instantly share code, notes, and snippets.

View xrd's full-sized avatar

Chris Dawson xrd

View GitHub Profile
$ dokku proxy:build-config nathan-test
This is not a git repository
-----> Ensuring network configuration is in sync for nathan-test
-----> Configuring nathan-test.paas.vivoh.com...(using built-in template)
-----> Configuring thehartford.vivoh.com...(using built-in template)
-----> Configuring v1.thehartford.vivoh.com...(using built-in template)
-----> Creating https nginx.conf
Enabling HSTS
Reloading nginx$ dokku proxy:build-config nathan-test
This is not a git repository
/* glibconfig.h
*
* This is a generated file. Please modify 'glibconfig.h.in'
*/
#ifndef __GLIBCONFIG_H__
#define __GLIBCONFIG_H__
#include <glib/gmacros.h>
{#if dialogOpen}
<div class="background"/>
<div class="dialog">
<input type="email" bind:email>
<button on:click={dialogOpen = false}>Close</button>
<div>
{/if}
<button on:click={dialogOpen = true}>Login</button>
@xrd
xrd / HelloWorld.spec.js
Created May 29, 2019 20:40
test/unit/specs/HelloWorld.spec.js
import Vue from 'vue'
import HelloWorld from '@/components/HelloWorld'
describe('HelloWorld.vue', () => {
it('should render correct contents', () => {
const Constructor = Vue.extend(HelloWorld)
const vm = new Constructor().$mount()
expect(vm.$el.querySelector('.hello h1').textContent)
.toEqual('Welcome to Your Vue.js App')
})
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC7nh9NSXLqU0Rr6UvXz3Wy7QkMuaOdVUAuYrMwRYo60BX7PLVSzRMr+YdvfffoFYWrUkB9FXZCKya5Nbbg5nlbICmHq4gZA09Uu7UV60jxR9f1U1vsqsGBeflSKWasCthpH8y+wketAlWrnl/7oHtHZhXmTr8HwlaUz9EhWJZ/aFpyAxUX22Qf8eHK0paytxZFRG4d6f/Ke9K4SVfAgrUgK1imPXZ5NfvlmTKLpz/3MZ3LQcQ9RSXu9CYciCC3PNvFrkAmzaQOpQ7XyV5iygJ7wVhSQnAnVccbd6/Cj9B6nPfLHpaJq7XqoEsHuzrC3dvRuKQ4wFx1TZWTqcabmJa7 xrdawson@penguin
import React from 'react';
import { StyleSheet, Text, View, TextInput, Button, Image, ImageBackground } from 'react-native';
const remote = 'https://i.pinimg.com/736x/80/29/a9/8029a9bf324c79b4803e1e5a2aba25f3--costume-makeup-iphone-wallpaper.jpg';
export default class App extends React.Component {
render() {
return (
<ImageBackground source=
const functions = require('firebase-functions');
const os = require('os');
const fs = require('fs');
const path = require('path');
const admin = require('firebase-admin');
admin.initializeApp();
exports.testItOut = functions.firestore
.document('blarg/{docId}')
.onUpdate((change, context) => {
const functions = require('firebase-functions');
const os = require('os');
const fs = require('fs');
const path = require('path');
exports.testItOut = functions.firestore
.document('blarg/{docId}')
.onUpdate((change, context) => {
console.log( "Inside #testItOut" );
const admin = require('firebase-admin');
ax ay az
1 40 50
2 41 49
3 39 52
4 35 49
5 34 46
6 33 45
7 32 42
8 30 40
9 29 32