Skip to content

Instantly share code, notes, and snippets.

/* This is a FluidApp userscript for Google Inbox for Mac.
Includes options for total badge count and unread badge count.
1) You need the paid version of FluidApp (http://fluidapp.com/)
2) Point Fluid to https://inbox.google.com (I recommend the icon from here: https://medium.com/@chrismessina/create-an-icon-for-google-inbox-in-your-dock-ed269312e3bc)
3) Set the user-agent to Chrome
4) Go to window -> userscript and add click the plus sign under the first table (on the left). Name the item 'Inbox'.
5) In the second table (on the right) click the plus and type in "*inbox.google.com*".
6) Paste the contents of this document into the script area below that.
7) Configure badge count (for total or unread only) in the code below.
Nov 2 15:12:46 Zurruchno installd[86] <Notice>: 0x16e1bb000 -[MIClientConnection installPath:withOptions:completion:]: Install of "/var/mobile/Media/Downloads/3117124869267619106/-7979392519707096209" type Customer requested by itunesstored (pid 308)
Nov 2 15:12:48 Zurruchno installd[86] <Notice>: 0x16e087000 -[MIInstaller performInstallationWithError:]: Installing <MIInstallableBundle ID=com.client.storegrunt; Version=3.22.00, ShortVersion=3.22.00>
Nov 2 15:12:48 Zurruchno misagent[414] <Notice>: attempt to install invalid profile: 0xe8008012
Nov 2 15:12:48 Zurruchno installd[86] <Error>: 0x16e087000 -[MIInstallableBundle _installEmbeddedProfileInBundle:]: Could not install embedded profile: 0xe8008012 (This provisioning profile cannot be installed on this device.)
Nov 2 15:12:48 Zurruchno installd[86] <Error>: SecTrustEvaluate [leaf IssuerCommonName SubjectCommonName]
Nov 2 15:12:50 Zurruchno installd[86] <Error>: 0x16e087000 +[MICodeSigningVerifier _validateSignatureAndCopyInfoForURL:withOptions:er

Keybase proof

I hereby claim:

  • I am jamesdaniels on github.
  • I am jamesuriah (https://keybase.io/jamesuriah) on keybase.
  • I have a public key ASB-xFm8Id6qWZ6EDQ0BA9srwEy45ZRL3HAbpfFp3JT95wo

To claim this, I am signing this object:

import { Component } from '@angular/core';
import { Observable } from 'rxjs/Observable';
import { Subscription } from 'rxjs/Subscription';
import * as firebase from 'firebase/app';
import { AngularFireAuth } from 'angularfire2/auth';
import { AngularFireStorage } from 'angularfire2/storage';
@Component({
selector: 'app-upload',
templateUrl: './upload.component.html',
const chunk_while = (input, predicate) =>
input.reduce((accumulator, current, index) =>
index > 0 && predicate(input[index-1], current) &&
[...accumulator.slice(0, accumulator.length-1), [...accumulator[accumulator.length-1], current]] ||
[...accumulator, [current]]
, [])