Skip to content

Instantly share code, notes, and snippets.

View andrewconnell's full-sized avatar
📺
Building courses for @Voitanos

Andrew Connell andrewconnell

📺
Building courses for @Voitanos
View GitHub Profile
@andrewconnell
andrewconnell / npm-errors.log
Created December 22, 2017 18:01
npm list -g --depth=0 errors
npm ERR! missing: archy@^1.0.0, required by nyc@11.3.0
npm ERR! missing: arrify@^1.0.1, required by nyc@11.3.0
npm ERR! missing: caching-transform@^1.0.0, required by nyc@11.3.0
npm ERR! missing: convert-source-map@^1.3.0, required by nyc@11.3.0
npm ERR! missing: debug-log@^1.0.1, required by nyc@11.3.0
npm ERR! missing: default-require-extensions@^1.0.0, required by nyc@11.3.0
npm ERR! missing: find-cache-dir@^0.1.1, required by nyc@11.3.0
npm ERR! missing: find-up@^2.1.0, required by nyc@11.3.0
npm ERR! missing: foreground-child@^1.5.3, required by nyc@11.3.0
npm ERR! missing: istanbul-lib-coverage@^1.1.1, required by nyc@11.3.0
this.context.application.navigatedEvent.add(this, myCallbackFunction);
this.context.placeholderProvider.changedEvent.add(this, myCallbackFunction);
;;
;; Domain: voitanos.io
;; Exported: 2017-08-29 18:39:17
;;
;; This file is intended for use for informational and archival
;; purposes ONLY and MUST be edited before use on a production
;; DNS server. In particular, you must:
;; -- update the SOA record with the correct authoritative name server
;; -- update the SOA record with the contact e-mail address information
;; -- update the NS record(s) with the authoritative name servers for this domain.
@andrewconnell
andrewconnell / git-commit-message-emoji.md
Created August 21, 2017 13:48
Emoji's I use for commit messages

Suggested Emojis

Emoji Raw Emoji Code Description
🎨 :art: when refactoring format/structure of the code
📝 :pencil: when performing minor changes/fixing the code or language
🐎 :racehorse: when improving performance
📚 :books: when writing docs
@andrewconnell
andrewconnell / nasa-apollo-missions.json
Created August 17, 2017 16:20
JSON array of NASA Apollo missions
[
{
"id": "AS-201",
"name": "",
"launch_date": "02/26/1966",
"end_date": "",
"image": "as-201.png",
"wiki_href": "https://en.wikipedia.org/wiki/AS-201",
"summary": "First flight of Saturn IB and Block I CSM; suborbital to Atlantic Ocean; qualified heat shield to orbital reentry speed",
"crew": []
@andrewconnell
andrewconnell / docker-compose.yml
Created May 23, 2017 09:36
201705-techorama-office-addins
version: '2'
services:
minicrm-addin-ng:
build: ./minicrm-addin-ng
image: andrewconnell/minicrm-addin-ng:latest
ports:
- "4200:4200"
minicrm-api:
build: ./minicrm-api
image: andrewconnell/minicrm-api:latest
@andrewconnell
andrewconnell / openssl.conf
Last active March 8, 2024 07:29
OpenSSL configuration file that uses Alternate Names & Subject Alternate Names
[ req ]
default_bits = 2048
default_keyfile = server-key.pem
distinguished_name = subject
req_extensions = req_ext
x509_extensions = x509_ext
string_mask = utf8only
# The Subject DN can be formed using X501 or RFC 4514 (see RFC 4519 for a description).
# Its sort of a mashup. For example, RFC 4514 does not provide emailAddress.

check the version of node you're running

$ node -v

you want to see the results of v6.. or higher...

if not, install the latest LTS / Current version from https://nodejs.org

{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"project": {
"name": "apollo"
},
"apps": [
{
"root": "src",
"outDir": "dist",
"assets": [
@andrewconnell
andrewconnell / drip-blogpost-autotagger.html
Created February 24, 2017 13:31
Drip script snippet used to auto tag visitors
<!-- drip auto-tagger -->
<!--
this script does four things:
1) finds all tags for a blog post & converts to tags in the format: interest-[pascalCasePostTag]
2) converts blog post title to drip tag in the format: read-[pascalCaseBlogPostTitle]
3) sends the tags to drip for the current user
4) registers "Read blog post" drip event on current user
-->
<p>
<script type="text/javascript">