Skip to content

Instantly share code, notes, and snippets.

View LukeMcNemee's full-sized avatar

Luke McNemee LukeMcNemee

View GitHub Profile
import java.util.Scanner;
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/**
import java.util.Scanner;
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/**
import java.util.Scanner;
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/**
*
@LukeMcNemee
LukeMcNemee / ansi.java
Created October 19, 2017 15:41
ANSI codes for colors
public static final String ANSI_RESET = "\u001B[0m";
public static final String ANSI_BLACK = "\u001B[30m";
public static final String ANSI_RED = "\u001B[31m";
public static final String ANSI_GREEN = "\u001B[32m";
public static final String ANSI_YELLOW = "\u001B[33m";
public static final String ANSI_BLUE = "\u001B[34m";
public static final String ANSI_PURPLE = "\u001B[35m";
public static final String ANSI_CYAN = "\u001B[36m";
public static final String ANSI_WHITE = "\u001B[37m";
@LukeMcNemee
LukeMcNemee / Zadani.java
Created October 12, 2017 13:23
Practice, for cycles and conditions
/**
*
* @author lukemcnemee
*/
public class Zadani {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
/*
Template 2085 Neuron
http://www.tooplate.com/view/2085-neuron
*/
body {
background: #000000;
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package swingworkers;
import java.awt.Cursor;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
#!/bin/bash
dnf install -y make gcc redhat-rpm-config python3-devel python3-pip libffi-devel openssl-devel
pip3 install mitmproxy
dnf install -y tinyproxy
dnf install -y fedora-packager fedora-review
dnf group install -y workstation-product-environment
@LukeMcNemee
LukeMcNemee / MyList.java
Created November 14, 2016 13:19
simplified list interface
/**
*
* @author lukemcnemee
*/
public interface MyList {
/**
* vlozi item do listu
* @param item polozka k vlozeni
#!/bin/bash
#komentar
echo $1 $2 #vypise prvni dva parametry skriptu
END=50 #nastavi END na 50
for i in $(seq 1 $END); do #for cyklus od 1 do 50
echo $i;