Skip to content

Instantly share code, notes, and snippets.

trunet / graphql-go-mongodb-example.go
Created Jun 18, 2018 — forked from aquiseb/graphql-go-mongodb-example.go
Minimal example of GraphQL Golang and MongoDB playing nicely together. Edit
View graphql-go-mongodb-example.go
// Embedded in this article
package main
import (
ksmithut / .dockerignore
Last active May 27, 2022
Node Docker Compose nodemon
anttilipp /
Created Aug 2, 2017
Code to reproduce the "Temperature Circle" visualization.
# Hi all,
# this is the Python code I used to make the visualization "Temperature circle"
# (
# Please be aware that originally I wrote this for my tests only so the
# code was not ment to be published and is a mess and has no comments.
# Feel free to improve, modify, do whatever you want with it. If you decide
# to use the code, make an improved version of it, or it is useful for you
# in some another way I would be happy to know about it. You can contact me
# for example in Twitter (@anttilip). Unchecked demo data (no quarantees)
twolfson /
Last active Dec 28, 2019
Node.js ORM evaluation

We are planning on building a Node.js service. Here's our evaluation of the current ORM landscape:

Last updated: May 2 2016

bcomnes /
Last active Jun 10, 2022
my version of gpg on the mac
  1. brew install gnupg, pinentry-mac (this includes gpg-agent and pinentry)

  2. Generate a key: $ gpg --gen-key

  3. Take the defaults. Whatevs

  4. Tell gpg-agent to use pinentry-mac:

    $ vim ~/.gnupg/gpg-agent.conf 
bmhatfield / .profile
Last active Jun 6, 2022
Automatic Git commit signing with GPG on OSX
View .profile
# In order for gpg to find gpg-agent, gpg-agent must be running, and there must be an env
# variable pointing GPG to the gpg-agent socket. This little script, which must be sourced
# in your shell's init script (ie, .bash_profile, .zshrc, whatever), will either start
# gpg-agent or set up the GPG_AGENT_INFO variable if it's already running.
# Add the following to your shell init to set up gpg-agent automatically for every shell
if [ -f ~/.gnupg/.gpg-agent-info ] && [ -n "$(pgrep gpg-agent)" ]; then
source ~/.gnupg/.gpg-agent-info
jfsiii / fetch-chunked.js
Last active Apr 15, 2022
Quick example of using fetch to parse a chunked response
View fetch-chunked.js
var chunkedUrl = '';
function onChunkedResponseComplete(result) {
console.log('all done!', result)
wesbos / tab-trigger.js
Created Nov 16, 2015
How to properly get a TAB trigger working with Emmet inside of JSX
View tab-trigger.js
"keys": ["tab"],
"command": "expand_abbreviation_by_tab",
// put comma-separated syntax selectors for which
// you want to expandEmmet abbreviations into "operand" key
// instead of SCOPE_SELECTOR.
// Examples: source.js, text.html - source
"context": [
Unitech / bootstrap
Last active Feb 9, 2018
PM2 / Keymetrics for Heroku/Rackspace/Joyent/Amazon Elasticbeanstalk/Azure...
View bootstrap
busypeoples / AngularJS-ES6-Test-Skeleton
Last active Jun 6, 2020
AngularJS - Karma, Jasmine, Browserify, Stringify - ES6 Test Setup
We couldn’t find that file to show.