Skip to content

Instantly share code, notes, and snippets.

@oreganoli
oreganoli / .gitignore
Created July 18, 2019 15:27
Godot .gitignore
# Godot-specific ignores
.import/
export.cfg
export_presets.cfg
# Mono-specific ignores
.mono/
# System/tool-specific ignores
.directory
@oreganoli
oreganoli / pom.xml
Created December 13, 2019 14:20
Maven compiler plugin for Java 13 with preview features
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<compilerArgs>
<arg>--enable-preview</arg>
</compilerArgs>
@oreganoli
oreganoli / layout.xml
Created March 7, 2020 20:27
Layout and strings
<?xml version="1.0" encoding="utf-8"?>
<layout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">
<data>
<variable
name="page"
type="String" />
</data>
package com.github.oreganoli.starchart;
/** A star's north-south coordinate on the celestial sphere, measured in degrees, ranging from -90° to 90° */
public class Declination {
private static int MAX_DEGREES = 90;
private static int MAX_MINSEC = 59;
public int degrees;
public int minutes;
public int seconds;