Skip to content

Instantly share code, notes, and snippets.

View DickSmith's full-sized avatar

Dick Smith DickSmith

  • Montréal
View GitHub Profile
@DickSmith
DickSmith / proguard-rules.pro
Created August 8, 2018 03:29
Proguard for NativeScript
# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in /Users/dicksmith/Library/Android/sdk/tools/proguard/proguard-android.txt
# You can edit the include path and order by changing the proguardFiles
# directive in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html
# Add any project specific keep options here:
@DickSmith
DickSmith / glum.sh
Last active January 7, 2022 16:32
GLUM (git latest upstream/master): a better way to "rebase"
############ GLUM BEGIN
# GLUM (git latest upstream/master; or, works like a merge, but looks like a rebase)
# Easy commands to manipulate your fork and make PRs
# Useful for projects where "rebasing" is required,
# but doing things the "rebase way" might not work for you.
# can be used for any branch, personal remote, and shared remote by changing these vars:
export GLUM_MASTER_BRANCH='master' # for sme this may be 'dev' or 'development'
export GLUM_ORIGIN_REMOTE='origin'
export GLUM_UPSTREAM_REMOTE='upstream' # leave as upstream if only using non-forked flows to prevent accidental forced pushes
export GLUM_HEAD='HEAD'
@DickSmith
DickSmith / times_arm64_disabled.html
Created March 13, 2018 18:23
Android NativeScript with ARM64 Enabled and Disabled
<!DOCTYPE html>
<html>
<head>
<title>Profiling</title>
<style>
* {
margin: 0px;
padding: 0px;
overflow: hidden;