Skip to content

Instantly share code, notes, and snippets.

Jonathon Fry JonathonFry

Block or report user

Report or block JonathonFry

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
JonathonFry / Dangerfile
Created Nov 13, 2018
Dangerfile for Android Danger usage
View Dangerfile
warn("PR is classed as Work in Progress") if bitbucket_cloud.pr_title.include? "[WIP]"
warn("Big PR") if git.lines_of_code > 500
junit_tests_dir = "**/test-results/**/*.xml"
Dir[junit_tests_dir].each do |file_name|
junit.parse file_name
JonathonFry / Gemfile
Created Nov 13, 2018
Gemfile for Android Danger usage
View Gemfile
source ""
gem 'danger'
gem 'danger-junit'
gem 'danger-android_lint'
gem 'danger-checkstyle_format'
JonathonFry / munros-privacy-policy.html
Last active Sep 18, 2018
View munros-privacy-policy.html
<!DOCTYPE html><html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width"> <title>Privacy Policy</title> <style>body{font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; padding:1em;}</style></head> <body><h2>Privacy Policy</h2> <p> Jonathon Fry built the Munros app as a Free app. This SERVICE is provided by Jonathon Fry at no cost and is intended for use as is.
</p> <p>This page is used to inform visitors regarding my policies with the collection, use, and
disclosure of Personal Information if anyone decided to use my Service.
</p> <p>If you choose to use my Service, then you agree to the collection and use of information in relation
to this policy. The Personal Information that I collect is used for providing and improving the
Service. I will not use or share your information with anyone except as described
in this Privacy Policy.
</p> <p>
import android.os.Bundle;
import java.util.List;
import okhttp3.Cache;
JonathonFry / main.go
Created Mar 10, 2016
Simple http handler using Go
View main.go
package main
import (
func main() {
http.HandleFunc("/", helloWorldHandler)
http.ListenAndServe(":8080", nil)
You can’t perform that action at this time.