Skip to content

Instantly share code, notes, and snippets.

View Unh0lyTigg's full-sized avatar

Robert Allen Unh0lyTigg

View GitHub Profile
#wrapper {
max-width: 940px;
margin: 0 auto;
padding: 0 5%;
}
<article class="rssitem">
<h3 class="rss-title">New Website coming together nicely.</h3><h3 class="rss-pinned"></h3>
<hr class="rss-title-sep" />
<h6>August 8<sup>th</sup>, 2014</h6>
<p>Currently just working on the homepage, I'll add the other pages soon...</p>
</article>
$(document).scroll(function() {
if ($(document).scrollTop() > 0) {
$('header').css('position', 'fixed');
$('header').css('z-index', '1');
} else {
$('header').css('position', 'static');
$('header').css('z-index', 'auto');
}
});
package org.unh0lytigg.mobeds;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.Random;
import net.minecraft.block.Block;
import net.minecraft.block.BlockDirectional;
import net.minecraft.block.ITileEntityProvider;
import net.minecraft.block.material.Material;
{
"name": "74LS00",
"function": "TTL Quad Nand Gate",
"pins": [
{
"id": 1,
"function": "1A"
},
{
"id": 2,
package org.utlauncher;
import java.util.List;
import org.utlauncher.data.Package;
import com.google.common.collect.Lists;
public enum PackageManager {
INSTANCE;
@Unh0lyTigg
Unh0lyTigg / Grid.java
Created October 2, 2014 23:12
Word Search
package org.unh0lytigg.wordsearch;
import java.util.List;
import java.util.Map;
import com.google.common.collect.Lists;
import com.google.common.collect.Maps;
public class Grid {
configurations {
attachSource
}
def loadSourcePaths() {
def result = new HashMap<String, String>()
configurations.attachSource.each {
def depFile = file(it)
def filename = depFile.getName()
package org.unh0lytigg.circuitboards.base;
import java.lang.annotation.Annotation;
import java.util.Set;
import cpw.mods.fml.common.discovery.ASMDataTable;
import cpw.mods.fml.common.discovery.ASMDataTable.ASMData;
public class ASMUser {
private static ASMDataTable table;
def findNativeName() {
final String osNameStr = System.properties['os.name']
return [
'linux': {
osNameStr ==~ /(?i)linux.*/
},
'windows': {
osNameStr ==~ /(?i)windows.*/
},
'osx': {