Skip to content

Instantly share code, notes, and snippets.

Avatar

Matthew DeTullio mjdetullio

  • San Francisco, CA
View GitHub Profile
@aalmiray
aalmiray / build.gradle
Last active Sep 8, 2020
Aggregated Jacoco reports in a multi-project Gradle build
View build.gradle
// ****************************************************************************
// The `org.kordamp.gradle.jacoco` plugin takes care of mane aspects shown here
// http://kordamp.org/kordamp-gradle-plugins/#_org_kordamp_gradle_jacoco
//
// The code shown here is obsolete. Use it at your own risk
// ****************************************************************************
allprojects {
apply plugin: 'java'
apply plugin: 'jacoco'
@Tydus
Tydus / howto-standalone-toolchain.md
Last active Apr 22, 2020
How to install Standalone toolchain for Android
View howto-standalone-toolchain.md

HOWTO Cross compiling on Android

5W1H

What is NDK

NDK (Native Develop Toolkit) is a toolchain from Android official, originally for users who writes native C/C++ code as JNI library. It's not designed for compiling standalone programs (./a.out) and not compatible with automake/cmake etc.

What is Standalone Toolchain

"Standalone" refers to two meanings:

  1. The program is standalone (has nothing connect to NDK, and don't need helper scripts to run it)
  2. The toolchain is made for building standalone programs and libs, and which can used by automake etc.

(Optional) Why NDK is hard to use

By default, NDK uses android flavor directory structure when it's finding headers and libs, which is different from GNU flavor, so the compiler cannot find them. For Example:

@kevinpschaaf
kevinpschaaf / github_issues_to_csv_v3.rb
Created Jun 20, 2012 — forked from tkarpinski/github_issues_to_csv.rb
Exports Github issues to CSV (API v3)
View github_issues_to_csv_v3.rb
require 'octokit'
require 'csv'
require 'date'
# Description:
# Exports Github issues from one or more repos into CSV file formatted for import into JIRA
# Note: By default, all Github comments will be assigned to the JIRA admin, appended with
# a note indicating the Github user who added the comment (since you may not have JIRA users
# created for all your Github users, especially if it is a public/open-source project:
#
You can’t perform that action at this time.