View app.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from flask import Flask, request, redirect, url_for, render_template, session, flash | |
import sqlite3 | |
import hashlib | |
import dbMain | |
app = Flask(__name__) | |
app.config["SECRET_KEY"] = "my_secret_key" | |
db_locale = 'igdbaccounts.db' | |
#---------------------------------------------- |
View Bindable.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public abstract class Bindable : MonoBehaviour, INotifyPropertyChanged | |
{ | |
private readonly Dictionary<string, object> _properties = new Dictionary<string, object>(); | |
private static readonly StackTrace stackTrace = new StackTrace(); | |
public event PropertyChangedEventHandler PropertyChanged; | |
/// <summary> | |
/// Resolves a Property's name from a Lambda Expression passed in. | |
/// </summary> |
View ThefuckDidIJustDo.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.riagenic.BlockFarmer.core.asm.utils; | |
import com.google.common.collect.Maps; | |
import net.minecraftforge.fml.common.FMLLog; | |
import net.minecraftforge.fml.common.ObfuscationReflectionHelper; | |
import net.minecraftforge.fml.common.asm.transformers.deobf.FMLDeobfuscatingRemapper; | |
import java.io.IOException; | |
import java.net.URL; | |
import java.nio.charset.Charset; |
View gist:bf5313c1e6596142edff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static void RenderFloatingItemIcon(float x, float y, float z, Item item, float partialTickTime, boolean animate) { | |
BlockPos pos = new BlockPos(x,y,z); | |
// Create Empty EntityItem to help with Rendering Positionining. | |
EntityItem entity = new EntityItem(mc.theWorld,pos.getX(),pos.getY(), pos.getZ()); | |
if (entity.ticksExisted == 0) | |
{ | |
entity.lastTickPosX = entity.posX; | |
entity.lastTickPosY = entity.posY; | |
entity.lastTickPosZ = entity.posZ; |