Skip to content

Instantly share code, notes, and snippets.

@RenegadeEagle
RenegadeEagle / Test
Created May 27, 2014 20:43
For Cameron
package co.renegadeeagle.jframetest;
import javax.swing.JFrame;
import javax.swing.JPanel;
public class Test extends JFrame{
JPanel panel;
public Test(){
super("Test");
panel = new JPanel();
package co.renegadeeagle.jframetest;
import javax.swing.JFrame;
import javax.swing.JPanel;
public class Test extends JFrame{
JPanel panel;
public Test(){
super("Test");
panel = new JPanel();
package co.renegadeeagle.jframetest;
import javax.swing.JFrame;
import javax.swing.JPanel;
public class Test extends JFrame{
JPanel panel;
public Test(){
super("Test");
panel = new JPanel();
@RenegadeEagle
RenegadeEagle / AutoSmelt.java
Created July 31, 2014 06:56
AutoSmelt plugin
package co.renegadeeagle.plugins.autosmelt;
import org.bukkit.Material;
import org.bukkit.enchantments.Enchantment;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.block.BlockBreakEvent;
import org.bukkit.inventory.ItemStack;
import org.bukkit.plugin.java.JavaPlugin;
&9Sign up on our forums to get connected with the community at &bPurePvP.org/forums
&9Want to support the server and get some awesome perks? &bDonate &9to us at &bdonate.purepvp.org!
&9You can get out side of spawn with ease by using the command &b/randomtp
&9Follow us on twitter for updates! &b@RenegadeEagle!
&9You can buy and sell things at at any time by using &b/shop!
&9Vote for us daily to gain awesome rewards such as &bmoney &9and &bspawners!
&9Lava flow has been disabled to prevent regeneration and auto walls.
&9 4 direct blasts of TnT on obsidian will break it!
@EventHandler
public void onSomething(PlayerInteractEvent event){
if(event.getAction() == Action.RIGHT_CLICK_BLOCK){
Block block = event.getClickedBlock();
if(block.getType() == Material.WALL_SIGN){
if(block.getState() instanceof Sign){
Sign sign = (Sign) block.getState();
String line = ChatColor.stripColor(sign.getLine(1));
if(line.equalsIgnoreCase("Knight")){
//do shit
@RenegadeEagle
RenegadeEagle / Movies
Last active May 26, 2016 19:53
Updated periodically as I watch movies that I really like
This is my personal list of movies I update every so often, consider everyone asks me for movie suggestions.
=-=-==-=-==-=-==-=-==-=-==-=-==-=-==-=-==-=-=
Index:
* (Must Watch)
% (Netflix)
1-5(Rating)
& (based on a true story)
! (Hiest Movie)
Movies Link: http://dev.cj.gy/movie/login.php
List of TV shows I enjoy.
=-=-==-=-==-=-==-=-==-=-==-=-==-=-==-=-==-=-=
Index:
* (Must Watch)
% (Netflix)
1-5(Rating)
& (based on a true story)
=-=-==-=-==-=-==-=-==-=-==-=-==-=-==-=-==-=-=
@RenegadeEagle
RenegadeEagle / gist:accbd46af97226468c125f24aaab1d2e
Last active March 28, 2021 07:30
Linux Beginner Commands
Here is a list of the most common commands you will use.
Remember:
You can always hit the "up" key on the keyboard to use the last command.
Create an empty file from scratch:
command: touch <filename>
example: touch main.py
List all folders and files in the current directory you are in: