Skip to content

Instantly share code, notes, and snippets.


Joseph R. Quinn quinnjr

View GitHub Profile
quinnjr / output.txt
Created May 10, 2022 12:53
Output of failed cphalcon build
View output.txt
This file has been truncated, but you can view the full file.
==> Making package: php-phalcon 5.0.0beta3-1 (Tue 10 May 2022 08:46:15 AM EDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found
==> Validating source files with b2sums... ... Passed
==> Extracting sources...
-> Extracting with bsdtar
==> Starting prepare()...
View index.js
This file has been truncated, but you can view the full file.
Object.defineProperty(exports, "__esModule", { value: true });
const {
quinnjr /
Last active April 28, 2023 19:01
How to easily add environment variables to an Angular application

How to easily add environment variables to an Angular application

This guide assumes that you already have an angular application set up by ng create and are using Angular CLI for compilation.

Other guides that I've read rely upon re-writing your environments/environment.ts| files with each compilation. I find this to be completely unnecessary when angular's internal use of webpack can just be extended to include environment variables.

1. Add @angular-builders/custom-webpack to your dev-dependencies

quinnjr / Makefile
Created January 25, 2020 22:52
A generic, not-perfect F# compilation Makefile
View Makefile
# Copyright (C) Joseph R. Quinn 2020
# SPDX-License-Identifier: ISC
ifeq ($(OS),"Windows_NT")
FSC := $(shell where fsc)
FSC := $(shell which fsharpc)
input := $(shell find . -type f -name "*.fs")

Keybase proof

I hereby claim:

  • I am quinnjr on github.
  • I am quinnjr ( on keybase.
  • I have a public key whose fingerprint is 72ED 47C1 3FF3 672F B86F 3F00 D9AA 1466 6023 1B68

To claim this, I am signing this object:

quinnjr / asciiputsonglasses
Created February 23, 2019 20:00 — forked from staringispolite/asciiputsonglasses
Ascii art sunglasses meme
View asciiputsonglasses
Puts on glasses:
( •_•)>⌐■-■
Takes off glasses ("mother of god..."):
( •_•)>⌐■-■
View Destiny2_LFG_Report.js
// ==UserScript==
// @name Destiny 2 LFG Reports
// @namespace
// @version 0.0.1
// @description Appends a raid report link and pvp info link to public fireteams on the Destiny LFG app.
// @author Joseph R. Quinn <>
// @match*&fireteamId=*
// @grant none
// @noframess
// ==/UserScript==
# Maintainer: Filipe Laíns (FFY00) <>
# Contributor: Pieter Goetschalckx <3.14.e.ter <at> gmail <dot> com>
pkgdesc="Free messaging app for services like WhatsApp, Slack, Messenger and many more."
arch=('x86_64' 'i686')
View simulated_grades.sql
-- FUNCTION: public.simulate_grades()
-- DROP FUNCTION public.simulate_grades();
CREATE OR REPLACE FUNCTION public.simulate_grades(
LANGUAGE 'plpgsql'
COST 100
View quicksort_linked_list.c
* @file quicksort_linked_list.c
* @author Joseph R. Quinn
* @date 14 July 2018
* @brief An implementation of a recursive quicksort algorithm on
* a singly-linked list.
#include "quicksort_linked_list.h"