Skip to content

Instantly share code, notes, and snippets.

View MonksterFX's full-sized avatar
🎯
Focusing

Max Mönch MonksterFX

🎯
Focusing
View GitHub Profile
@pmanlukas
pmanlukas / github_kpis.md
Created January 9, 2020 08:28 — forked from jonico/github_kpis.md
GitHub related KPIs

GitHub Related KPIs

Source of Inspiration

screen shot 2016-06-09 at 13 12 05

Insight Partners is a VC which has companies like Twitter, Docker, BlaBlaCar, HelloFresh and bmc in their portfolio. They developed the periodic table of software development KPIs to steer their portfolio.

The KPIs used by Insight Partners are a good starter for companies who like to transform their business as they are

@tolpp
tolpp / android-send-push-locally-using-adb.adoc
Last active April 4, 2024 16:33
This gist explains how to send push notification locally using ADB without need network connection.

Requirements:

  • Device should be a rooted (simulator’s are rooted by default)

  • adbd should be started as root. (Rub command: adb root )

Now, send local push message using command:

@peter-jung
peter-jung / applescript_from_mac.py
Created February 22, 2017 09:28
How to call an Applescript from Python on Mac?
import subprocess, sys
applescript='''
tell application "System Events"
set processName to name of processes whose frontmost is true
do shell script "echo " & processName
end tell
'''
args = [item for x in [("-e",l.strip()) for l in applescript.split('\n') if l.strip() != ''] for item in x]
proc = subprocess.Popen(["osascript"] + args ,stdout=subprocess.PIPE )
progname = proc.stdout.read().strip()
@MeLlamoPablo
MeLlamoPablo / nvmlink
Created February 1, 2017 11:34
Creates a symlink to /usr/bin/node after using nvm
@nijikokun
nijikokun / base64-utf8.module.js
Last active May 20, 2024 20:29
Javascript Base64 UTF8 for the Browser / Server. Base64 UTF-8 Encoding and Decoding Libraries / Modules for AMD, CommonJS, Nodejs and Browsers. Cross-browser compatible.
// UTF8 Module
//
// Cleaner and modularized utf-8 encoding and decoding library for javascript.
//
// copyright: MIT
// author: Nijiko Yonskai, @nijikokun, nijikokun@gmail.com
(function (name, definition, context, dependencies) {
if (typeof context['module'] !== 'undefined' && context['module']['exports']) { if (dependencies && context['require']) { for (var i = 0; i < dependencies.length; i++) context[dependencies[i]] = context['require'](dependencies[i]); } context['module']['exports'] = definition.apply(context); }
else if (typeof context['define'] !== 'undefined' && context['define'] === 'function' && context['define']['amd']) { define(name, (dependencies || []), definition); }
else { context[name] = definition.apply(context); }