Skip to content

Instantly share code, notes, and snippets.

View tterrag1098's full-sized avatar

tterrag tterrag1098

View GitHub Profile
<?php
$dir = isset($_GET['dir']) ? $_GET['dir'] : '.';
if ($dir[0] === '/' || preg_match("/\.\./", $dir)) {
header("Location: ". basename(__FILE__));
}
?>
<!doctype html>
<html lang="en">

Command Descriptions

Command Info
git clone [repo] Use the URL from the github page, this copies the repo to your computer
git status Prints out the current branch and other info
git checkout [branch] Switches to a different branch. Use -b to create a new branch.
git add [file] <file2> ... Adds files to be staged (used) for the next commit. Use git add . to add all changed files.
git commit Creates a commit with the staged changes, pops up a vi window to add a message. A shortcut is to do git commit -m "Commit message here" and it will directly commit with the given message.
git push
TODO:
Email Chelsey
Tutoring clarification
website info
backend info
server info
RESEARCH:
ruby
bootstrap
package team.chisel.common.inventory;
import lombok.Getter;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.entity.player.InventoryPlayer;
import net.minecraft.inventory.ClickType;
import net.minecraft.inventory.Container;
import net.minecraft.inventory.Slot;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
#include "QuickSorter.h"
QuickSorter::QuickSorter(Partition p) : type(p), Sorter<int>("Quicksort"){}
QuickSorter::~QuickSorter()
{
}
void QuickSorter::sort(int *arr, int size)
package crazypants.enderio.machine.obelisk.weather;
import net.minecraft.client.Minecraft;
import net.minecraft.client.particle.EntityFireworkSparkFX;
import net.minecraft.entity.item.EntityFireworkRocket;
import net.minecraft.util.MathHelper;
import net.minecraft.world.World;
import cpw.mods.fml.relauncher.ReflectionHelper;
import crazypants.enderio.machine.obelisk.weather.TileWeatherObelisk.WeatherTask;
package team.chisel.client.render;
import java.awt.geom.Rectangle2D;
import java.util.Arrays;
import java.util.List;
import javax.annotation.Nullable;
import lombok.Getter;
import lombok.RequiredArgsConstructor;
package com.creatubbles.ctbmod.client.gui.upload;
import java.awt.Graphics2D;
import java.awt.Image;
import java.awt.Rectangle;
import java.awt.image.BufferedImage;
import java.io.File;
import java.util.Map;
import java.util.Map.Entry;
package com.creatubbles.ctbmod.client.gui.upload;
import java.awt.Point;
import java.awt.Rectangle;
import java.io.File;
import java.io.FilenameFilter;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.concurrent.Executors;
package com.fireball1725.graves.helpers;
import net.minecraft.block.BlockAir;
import net.minecraft.block.state.IBlockState;
import net.minecraft.util.BlockPos;
import net.minecraft.world.World;
public class SafeBlockReplacer {