Skip to content

Instantly share code, notes, and snippets.

Building awesome teams, software, and systems architecture

Victor Quinn victorquinn

Building awesome teams, software, and systems architecture
View GitHub Profile
View gist:b8c8191476fda9d2bea1407d9f50ef0a
Verifying that "" is my Blockstack ID.
victorquinn /
Created Aug 29, 2016
Camlistore Arch Linux Systemd


How to install Camlistore on Arch Linux as a background process using Systemd.

YMMV, this worked for me on my system.

As a system service

  1. Install Camlistore with your AUR client of choice (e.g. yaourt -S camlistore or aura -A camlistore)
  2. Copy the camlistored.service file below to /etc/systemd/system/camlistored@.service
  3. Run systemctl enable camlistored@myuser.service (replace "myuser" with your username)
View gist:559b308289b65a0fa2df
# Install LocationKit as a CocoaPod by adding it to your Podfile:
pod 'LocationKit', '~> 2.0.0'
# Then just run `pod install` from your project root.
victorquinn / AppDelegate.m
Last active Aug 29, 2015
Start LocationKit
View AppDelegate.m
// Add the following line above the @implementation section in AppDelegate.m
#import <LocationKit/LocationKit.h>
// From within AppDelegate.m’s application:didFinishLaunchingWithOptions: method,
// add the following lines to initialize and launch LocationKit:
[LocationKit startWithApiToken:@"<yourApiTokenHere>" andDelegate:nil];
victorquinn / InfoPlist.strings
Created May 27, 2015
LocationKit Permissions Configuration
View InfoPlist.strings
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "">
<plist version="1.0">
<string>Change this line to inform consumer about how location is being used in the background</string>
View gist:974023dc07cc3dcfa96a
You can now send me #bitcoin here:
Verifying that +victor is my Bitcoin username

Keybase proof

I hereby claim:

  • I am victorquinn on github.
  • I am victorquinn ( on keybase.
  • I have a public key whose fingerprint is 0C78 5D78 CCCF 28C3 9841 222F EF30 4CDD 429F 5478

To claim this, I am signing this object:

victorquinn / .gitignore
Last active Aug 29, 2015
Bluebird memory leak
View .gitignore
victorquinn / promise_while_loop.js
Last active Feb 9, 2021
Promise "loop" using the Bluebird library
View promise_while_loop.js
var Promise = require('bluebird');
var promiseWhile = function(condition, action) {
var resolver = Promise.defer();
var loop = function() {
if (!condition()) return resolver.resolve();
return Promise.cast(action())
victorquinn / Fibonacci Ratio
Last active Dec 26, 2015
Fibonacci approaching Golden Ratio
View Fibonacci Ratio
var _ = require('lodash');
// Helper function for generating the nth Fibonacci number
var fibonacci = _.memoize(function(n) {
return n < 2 ? n : fibonacci(n - 1) + fibonacci(n - 2);
var fibonacci_ratio = function(n) {
return fibonacci(n) / fibonacci(n - 1);