Skip to content

Instantly share code, notes, and snippets.

Jacob jakeleveroni

Block or report user

Report or block jakeleveroni

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
jakeleveroni / BaseFirestore.service.ts
Created May 22, 2018
Issue passing variables into module to initialize angularfire2
View BaseFirestore.service.ts
import { Injectable } from '@angular/core';
import { AngularFirestore } from 'angularfire2/firestore';
providedIn: 'root'
export class BaseFirestoreService {
constructor(private firestore: AngularFirestore) {
jakeleveroni /
Last active Jan 13, 2016
A simple python script that will take a path to a package.json file then go through the 'dependancies' section git cloning any git repositories listed. Both the path to the json file and the path to where the repos should be cloned can be changed on lines 5 and 6.
import os
import json
jsonPath = "package.json" # path to package.json
cloneDir = "~/" # path to where you want to clone to
if not os.path.isfile(jsonPath):
print 'Unable to locate package.json, terminating process...'
You can’t perform that action at this time.