Skip to content

Instantly share code, notes, and snippets.

View marknutter's full-sized avatar

Mark Nutter marknutter

  • Area Studios
  • Minneapolis, MN
View GitHub Profile
// Initialize Firebase
var config = {
apiKey: "AIzaSyBU70QU9a7qLpEs1Ap7p8EBCR5SO7qTZBI",
authDomain: "lpanalytics-33dfd.firebaseapp.com",
databaseURL: "https://lpanalytics-33dfd.firebaseio.com",
storageBucket: "",
};
{
"binary_file_patterns":
[
"*.jpg",
"*.jpeg",
"*.png",
"*.gif",
"*.ttf",
"*.tga",
"*.dds",
@marknutter
marknutter / woah
Created March 6, 2015 14:52
Offer of a lifetime
Hi Potential Partner,
(1) I am responding to your advertisment on a website, as a web developer, meaning you have invited me to send you this email, however I have no intention of repeatedly sending emails to you, therefore there is no need to ask for unsubscribe. While these contents may not precisely meet your current desires, it is a genuine offer and should be considered carefully, although it is realised it will only attract a high achiever.
(2) A friend and I are building a website but need some help coz currently the learning process is very slow. Free help is not expected. It has been started by using PHP & MySQL. By attempting to enter into hourly rate negotiations with web developers in the past, it has been found to be no faster than learning the process from the Internet, and for that reason web developers on a partnership basis are now sought.
(3) We are seeking one leading developer and also developers who operate in a special industry. The leading developer needs big ambitions, bu
nativeState =
{
currentPane: "middle",
topBars:
{
activityTopBar:
{
title: "Test Activity 1",
activityState: "comments",
visible: true
2012-10-22T20:16:53+00:00 app[web.1]: ** [NewRelic][10/22/12 20:16:53 +0000 170cca30-a813-4e4a-819b-c46a127343f2 (2)] INFO : New Relic Ruby Agent 3.3.4 Initialized: pid = 2
2012-10-22T20:16:53+00:00 app[web.1]: ** [NewRelic][10/22/12 20:16:53 +0000 170cca30-a813-4e4a-819b-c46a127343f2 (2)] INFO : Application: oqodo
2012-10-22T20:16:53+00:00 app[web.1]: ** [NewRelic][10/22/12 20:16:53 +0000 170cca30-a813-4e4a-819b-c46a127343f2 (2)] INFO : Dispatcher: thin
2012-10-22T20:16:54+00:00 app[web.1]:
2012-10-22T20:16:54+00:00 app[web.1]: [DEVISE] Devise.use_salt_as_remember_token is deprecated and has no effect. Please remove it.
2012-10-22T20:16:54+00:00 app[web.1]:
2012-10-22T20:17:07+00:00 heroku[web.1]: Stopping process with SIGKILL
2012-10-22T20:17:07+00:00 heroku[web.1]: Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch
2012-10-22T20:17:08+00:00 heroku[web.1]: Process exited with status 137
2012-10-22T20:17:21+00:00 heroku[router]: Error H20 (App boot timeout) -> GET o
$scope.openDiscussion = function(discussion) {
window.cordovaInterface(discussion.description, function(a) { console.log(a)});
$location.path(discussion.key.replace(/\:/g,'/'));
}
ruby-1.9.3-p194@kona:
system:
uname: "Darwin Marks-iMac.local 12.0.0 Darwin Kernel Version 12.0.0: Sun Jun 24 23:00:16 PDT 2012; root:xnu-2050.7.9~1/RELEASE_X86_64 x86_64"
bash: "/bin/bash => GNU bash, version 3.2.48(1)-release (x86_64-apple-darwin12)"
zsh: "/bin/zsh => zsh 4.3.11 (i386-apple-darwin12.0)"
rvm:
version: "rvm 1.15.5 () by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]"
updated: "19 days 15 hours 59 minutes 3 seconds ago"
@marknutter
marknutter / gist:3660257
Created September 6, 2012 20:47
Modification to angular-resource.js to allow for specification of which attributes to persist to the server on a per action basis
/**
* @license AngularJS v1.0.0rc12
* (c) 2010-2012 Google, Inc. http://angularjs.org
* License: MIT
*/
(function(window, angular, undefined) {
'use strict';
/**
* @ngdoc overview
this.find(".action_items").scroll(function() {
     if ((!self.options.all_loaded) && (!self.options.loading_on_scroll)) {
       $(".title_and_create:visible").html($(this).scrollTop() + " - h " + $(this).height());
       if ($(this).scrollTop() > $(this).height() - 40) {
         self.options.loading_on_scroll = true;
         self.options.params.page = self.options.params.page + 1;
         self.getItems(true);
       }
     }
   });
==> Downloading http://ftp.gnome.org/pub/gnome/sources/librsvg/2.26/librsvg-2.26.3.tar.gz
File already downloaded and cached to /Library/Caches/Homebrew
==> export CFLAGS='-I/usr/local/Cellar/glib/2.24.2/include/glib-2.0 -I/usr/local/Cellar/glib/2.24.2/lib/glib-2
==> export LDFLAGS='-L/usr/local/Cellar/glib/2.24.2/lib -L/usr/local/Cellar/gettext/0.17/lib -lglib-2.0 -lintl
==> ./configure --disable-debug --disable-dependency-tracking --prefix=/usr/local/Cellar/librsvg/2.26.3 --enab
==> make install
Making install in .
CC rsvg-affine.lo
CC librsvg-features.lo
/bin/sh ./libtool --silent --tag=CC --mode=compile /usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I. -D_REENTRANT -I/usr/local/Cellar/libxml2/2.7.7/include/libxml2 -I/usr/local/Cellar/libgsf/1.14.17/include/libgsf-1 -I/usr/local/Cellar/glib/2.24.2/include/glib-2.0 -I/usr/local/Cellar/glib/2.24.2/lib/glib-2.0/include -I/usr/local/Cellar/gettext/0.17/include -DHAVE_SVGZ=1 -I/usr/local/Cellar/libxml2/2.7.7/include/libxml2 -I/usr/local/Cellar/libcroco/0.