Skip to content

Instantly share code, notes, and snippets.

View BrianLusina's full-sized avatar
🛠️
Building engines with crayons & legos 🖍️ 🏗️ 🧱

The Lusina BrianLusina

🛠️
Building engines with crayons & legos 🖍️ 🏗️ 🧱
View GitHub Profile

Introduction Write something nice here! First off, thank you for considering contributing to Active Admin. It's people like you that make Active Admin such a great tool.

[source: Active Admin] Need more inspiration? [1] Read The Docs [2] Mustache.js

Tell them why they should read your guidelines. Following these guidelines helps to communicate that you respect the time of the developers managing and developing this open source project. In return, they should reciprocate that respect in addressing your issue, assessing changes, and helping you finalize your pull requests.

[source: Hoodie]

Contributing

When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change.

Please note we have a code of conduct, please follow it in all your interactions with the project.

Pull Request Process

  1. Ensure any install or build dependencies are removed before the end of the layer when doing a
Enabling communication with API if server has Self-Signed Certificate
@BrianLusina
BrianLusina / README-Template.md
Created November 12, 2017 10:02 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@BrianLusina
BrianLusina / ExcellentAdventure.java
Created July 27, 2017 14:42 — forked from jonfhancock/ExcellentAdventure.java
This set of classes demonstrates what a Not Dumb ViewHolder should look like. It lightens the load on the Adapter, and places decisions about what to do with user interactions on the Activity where it belongs.
public class ExcellentAdventure {
@Retention(SOURCE)
@StringDef({ERA_BC, ERA_AD})
public @interface Era {
}
public static final String ERA_BC = "BC";
public static final String ERA_AD = "AD";
@BrianLusina
BrianLusina / StatefulRecyclerView.java
Created July 26, 2017 07:37 — forked from FrantisekGazo/StatefulRecyclerView.java
Retain & restore recycler view scroll position
package eu.f3rog.ui.custom;
import android.content.Context;
import android.os.Bundle;
import android.os.Parcelable;
import android.support.annotation.Nullable;
import android.support.v7.widget.RecyclerView;
import android.util.AttributeSet;
/**
@BrianLusina
BrianLusina / weather.dat
Last active January 13, 2017 20:48
Read data from Weather.dat file, fetch the day with the largest spread
Dy MxT MnT AvT HDDay AvDP 1HrP TPcpn WxType PDir AvSp Dir MxS SkyC MxR MnR AvSLP
1 88 59 74 53.8 0.00 F 280 9.6 270 17 1.6 93 23 1004.5
2 79 63 71 46.5 0.00 330 8.7 340 23 3.3 70 28 1004.5
3 77 55 66 39.6 0.00 350 5.0 350 9 2.8 59 24 1016.8
4 77 59 68 51.1 0.00 110 9.1 130 12 8.6 62 40 1021.1
5 90 66 78 68.3 0.00 TFH 220 8.3 260 12 6.9 84 55 1014.4
6 81 61 71 63.7 0.00 RFH 030 6.2 030 13 9.7 93 60 1012.7
7 73 57 65 53.0 0.00 RF 050 9.5 050 17 5.3 90 48 1021.8
8 75 54 65 50.0 0.00 FH 160 4.2 150 10 2.6 93 41 1026.3
9 86 32* 59 6 61.5 0.00 240 7.6 220 12 6.0 78 46 1018.6