Skip to content

Instantly share code, notes, and snippets.

View philmerrell's full-sized avatar

Phil Merrell philmerrell

  • Boise State University
  • Boise, Idaho
View GitHub Profile
@philmerrell
philmerrell / angular.json
Created November 5, 2018 23:45
Set up angular.json for use with ionic cordova build
{
"$schema": "./node_modules/@angular-devkit/core/src/workspace/workspace-schema.json",
"version": 1,
"defaultProject": "app",
"projects": {
"app": {
"root": "",
"sourceRoot": "src",
"projectType": "application",
"prefix": "",
@philmerrell
philmerrell / audio.service.ts
Created November 20, 2017 21:10
Angular audio service class
import { Injectable } from '@angular/core';
import { Observable, BehaviorSubject } from 'rxjs/Rx';
@Injectable()
export class AudioService {
public audio: HTMLAudioElement;
public timeElapsed: BehaviorSubject<string> = new BehaviorSubject('00:00');
public timeRemaining: BehaviorSubject<string> = new BehaviorSubject('-00:00');
public percentElapsed: BehaviorSubject<number> = new BehaviorSubject(0);
{
"config": {
"chainId": 15,
"homesteadBlock": 0,
"eip155Block": 0,
"eip158Block": 0
},
"difficulty": "200000000",
"gasLimit": "2100000",
"alloc": {
@philmerrell
philmerrell / package.json
Created October 8, 2012 19:26
troubleshooting with nodejitsu
{
"name": "bsuclickertest",
"subdomain": "philmerrell.bsuclickertest",
"scripts": {
"start": "clicker-server.js"
},
"version": "0.0.0-6",
"engines": {
"node": "0.8.x"
},