Skip to content

Instantly share code, notes, and snippets.

Jarod Brennfleck TheBrenny

Block or report user

Report or block TheBrenny

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@TheBrenny
TheBrenny / JavaFormatProfile.xml
Last active Mar 2, 2020
VSCode vs Eclipse Formatting
View JavaFormatProfile.xml
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<profiles version="13">
<profile kind="CodeFormatterProfile" name="Jarod" version="13">
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_ellipsis" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.parentheses_positions_in_for_statment" value="common_lines"/>
<setting id="org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries" value="true"/>
@TheBrenny
TheBrenny / AngleSpeed.java
Last active Dec 15, 2018
Raycasting my homebrew'd way using linear functions and their x and y intercepts! The map is (theoretically) infinite in length along both axis' leading into the negative and positive. (See also: https://www.desmos.com/calculator/axjo4hkzxg)
View AngleSpeed.java
public class AngleSpeed extends Vector {
protected float xSpeed;
protected float ySpeed;
public AngleSpeed(AngleSpeed old) {
this(old.distance, old.xSpeed, old.ySpeed, old.angle.getAngle());
}
public AngleSpeed(float speed, float xSpeed, float ySpeed, float angle) {
super(angle, speed);
@TheBrenny
TheBrenny / plaxify.css
Last active Jul 31, 2016
Plax without silly jQuery bloat!
View plaxify.css
span{
position: absolute;
top: 50%;
left: 50%;
text-shadow: 0 0 4px #FFFFFF;
font-size: 30px;
font-weight:bold;
font-family: Helvetica, Arial, sans-serif;
}
#l1{z-index: 18;}
You can’t perform that action at this time.