Skip to content

Instantly share code, notes, and snippets.

@jatinchauhann
jatinchauhann / sample-mongo-commands.json
Created July 4, 2017 09:12
Mondo DB useful commands for beginners. Adapted from a YouTube Video - https://www.youtube.com/watch?v=pWbMrx5rVBE
//after installing mondodb
//cd to the 'bin' directory of the mongodb folder
//run the following commands in the cmd (run as administrator -for Windows)
mongod --directoryperdb --dbpath C:\mongodb\data\db --logpath C:\mongodb\log\mongo.log --logappend --rest --install
//to start the mongodb service
net start MongoDB
//to enter mongodb service (this is necessary to start the mongo service)
mongo
@GotoFinal
GotoFinal / BlockColors.java
Last active August 29, 2015 14:19
Full Item builder
package utils.builder;
public final class BlockColors
{
public static final byte WHITE = 0x0;
public static final byte ORANGE = 0x1;
public static final byte MAGENTA = 0x2;
public static final byte LIGHT_BLUE = 0x3;
public static final byte YELLOW = 0x4;
public static final byte LIME = 0x5;
@twizmwazin
twizmwazin / build.py
Created February 17, 2015 06:37
SportBukkit Build Script
#!/bin/python
#
# Copyright 2015 Kevin Phoenix. All rights reserved.
#
# Temporary script written to automatically compile SportBukkit 1.8 builds
# from the real1.8 branch. To run this script, git, maven, and bash need to
# be accessible from the command line.
import os
import shutil

Common App & Stanford Essays

The following are my responses to the main Common App essay and the Stanford application questions. You're welcome to read them to try and understand how I got "in" to Stanford, or just for fun. Whatever you choose to try and take away from these essays, I hope you get something out of them. Or nothing at all, that works too. Enjoy.

A Brief Note

There's no secret formula. There are a lot of people more qualified than me that got denied. Even though they may have been more qualified, I beat them when it came to the essays. The most important part of your application is your essays, so I would encourage you to spend a lot of time on them. Spend time reflecting on who you are and how you can use your essays to communicate that. The readers of the over 40,000 Stanford applicants know a fake essay from a mile away. If you want to have a chance at admission, your essays need to be 100% authentic you, not 90% authentic you and 10% your mom/tutor/fake self.

If you plan to apply, I

@Brottweiler
Brottweiler / CHANGELOG.md
Last active April 25, 2024 00:41
Report Macro Tools for reporters on PGM based servers

Changelog

29 August 2017

- Change script back to working on Stratus, and detect server within the script itself

2 February 2017

- Changed script to be server neutral

15 July 2016

  • Tweaked report LOG format
@chaseking
chaseking / Utilizing the Boss Health Bar
Created July 21, 2013 22:15
Class that allows you to display text using the boss health bar. Note: Whenever you see "MinecraftFPS.getInstance()", replace that with the instance of your main class.
package com.chasechocolate.example;
import java.lang.reflect.Field;
import java.util.HashMap;
import net.minecraft.server.v1_6_R2.DataWatcher;
import net.minecraft.server.v1_6_R2.EntityPlayer;
import net.minecraft.server.v1_6_R2.Packet;
import net.minecraft.server.v1_6_R2.Packet205ClientCommand;
import net.minecraft.server.v1_6_R2.Packet24MobSpawn;
@aadnk
aadnk / GhostManager.java
Last active July 13, 2019 21:22
Second version of GhostManager
package com.comphenix.example;
import java.util.HashSet;
import java.util.Iterator;
import java.util.Set;
import org.bukkit.Bukkit;
import org.bukkit.OfflinePlayer;
import org.bukkit.entity.Player;
import org.bukkit.plugin.Plugin;
@aadnk
aadnk / CancellationDetector.java
Last active April 23, 2025 02:06
A class that allows you to detect which plugin cancelled a given event.
package com.comphenix.example;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.EnumMap;
import java.util.Iterator;
import java.util.List;
import org.bukkit.event.Cancellable;
@nikcub
nikcub / README.md
Created October 4, 2012 13:06
Facebook PHP Source Code from August 2007