Skip to content

Instantly share code, notes, and snippets.

View charroch's full-sized avatar
🏠
Working from home

Carl-Gustaf Harroch charroch

🏠
Working from home
View GitHub Profile
@charroch
charroch / adb-cl.sh
Created April 9, 2015 15:15
Get the current running command line
adb shell cat /proc/$(adb shell ps | grep app_process | awk '{print $2}')/cmdline | strings

Keybase proof

I hereby claim:

  • I am charroch on github.
  • I am charroch (https://keybase.io/charroch) on keybase.
  • I have a public key whose fingerprint is 53D1 9857 9052 FB51 6925 2D05 96C9 3BA9 625A BE22

To claim this, I am signing this object:

@charroch
charroch / fonts
Last active October 9, 2017 08:58
adobe-source-code-pro-fonts oto-fonts otf-fira-mono otf-fira-sans otf-font-awesome powerline-fonts terminus-font ttf-bookerly ttf-dejavu ttf-droid ttf-fira-mono ttf-liberation ttf-monaco ttf-ms-fonts ttf-symbola
@charroch
charroch / pubsub_emulator.ts
Created July 25, 2019 14:58
Poor man pubsub firebase function emulator
import { PubSub } from '@google-cloud/pubsub'
import * as a from './index'
import { CloudFunction } from 'firebase-functions'
import { Message } from '@google-cloud/pubsub'
import * as dotenv from 'dotenv'
dotenv.config()
const pubsub = new PubSub({
projectId: process.env.GCLOUD_PROJECT
})