Skip to content

Instantly share code, notes, and snippets.

View MRuth's full-sized avatar

Montana Ruth MRuth

View GitHub Profile
@MRuth
MRuth / private_fork.md
Created May 27, 2022 22:20 — forked from 0xjac/private_fork.md
Create a private fork of a public repository

The repository for the assignment is public and Github does not allow the creation of private forks for public repositories.

The correct way of creating a private frok by duplicating the repo is documented here.

For this assignment the commands are:

  1. Create a bare clone of the repository. (This is temporary and will be removed so just do it wherever.)

git clone --bare [email protected]:usi-systems/easytrace.git

-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v2
mQINBFdtjLABEADQLUVnokMwsNGE/c26+xG0ACOp86lRBMu1NjGRfLRHn6Xiawb8
Lv8f5YXM20NTjayfRE4sh+HWz5rC2fibVi/cOppRes+xbQesQ5WY6QXubk+vD2tW
ha2YozJTnoEpAq6LaJFuID92WysmrfU1wCZVp+00PBJ4W2mDsl5kfxqZW2oWU6if
4v/a2Xw+zAuh251riCHD9dl/9oduSQC0cUsb+hGW7ChPgQiv9va9qpLcvNu3UEGq
x/AK273RtKUqWwDHd15o4nXCK5uBQZOE79MP1cs4/uSJgMYB0Ymp8edzcOi61M9K
4vM1y3zogyKoFxr/hqFYxDP2GKbbWOV6MKqI8Gfx2kxWeBI+29AxPpaNIYgd6nyW
ykp/sY+HArUbNf2je8g6SVOxWa1f7wPMYn+9CP5Czhd7fXhK4dqItxORv12Pm6zg
import java.net.URL
import java.util.ResourceBundle
import javafx.beans.Observable
import javafx.event.ActionEvent
import javafx.fxml.FXML
import javafx.scene.control.TableView
import javafx.scene.{control => jfxsc}
import javafx.{event => jfxe, fxml => jfxf}
import com.sun.javafx.scene.control.skin.TableHeaderRow
import scalafx.Includes._
@MRuth
MRuth / openpgp.txt
Created June 26, 2016 07:05
OpenKeychain Linked Identity
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:7c22c1f2eb1b8d09e25f3752f87a4c466dfef4e2]
@MRuth
MRuth / openpgp.txt
Created June 26, 2016 07:05
OpenKeychain Linked Identity
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:7c22c1f2eb1b8d09e25f3752f87a4c466dfef4e2]
@MRuth
MRuth / keybase.md
Last active February 10, 2017 00:28

Keybase proof

I hereby claim:

  • I am MRuth on github.
  • I am mruth (https://keybase.io/mruth) on keybase.
  • I have a public key whose fingerprint is 7C22 C1F2 EB1B 8D09 E25F 3752 F87A 4C46 6DFE F4E2

To claim this, I am signing this object:

@MRuth
MRuth / FizzBuzz
Last active August 29, 2015 14:21
Optimized FizzBuzz
public class FizzBuzz {
public static void main(String[] args) {
for(int i = 1; i < 100; i++)
System.out.println(fizzBuzz(3,5,i));
}
public static String fizzBuzz(int f, int b, int i)
{
return (i % (f*b) == 0) ? "FizzBuzz" : (i % f == 0) ? "Fizz" : (i % b == 0) ? "Buzz" : Integer.toString(i);
}