Skip to content

Instantly share code, notes, and snippets.

View LeeSaferite's full-sized avatar

Lee Saferite LeeSaferite

  • Lake City, FL, US
View GitHub Profile
@LeeSaferite
LeeSaferite / srd_5e_monsters.json
Created September 22, 2018 16:33 — forked from tkfu/srd_5e_monsters.json
A JSON file with all the D&D 5e SRD monster data
[
{
"name": "Aboleth",
"meta": "Large aberration, lawful evil",
"Armor Class": "17 (Natural Armor)",
"Hit Points": "135 (18d10 + 36)",
"Speed": "10 ft., swim 40 ft. ",
"STR": "21",
"STR_mod": "(+5)",
"DEX": "9",
@LeeSaferite
LeeSaferite / main.go
Created January 7, 2018 16:16 — forked from enricofoltran/main.go
A simple golang web server with basic logging, tracing, health check, graceful shutdown and zero dependencies
package main
import (
"context"
"flag"
"fmt"
"log"
"net/http"
"os"
"os/signal"
<?php
class EcomDev_Optimization_Model_Resource_Attribute_Source_Table extends Mage_Eav_Model_Entity_Attribute_Source_Table
{
protected static $_preloadedOptions = array();
protected static function _getStoreOptions($storeId, $attributeId)
{
if (!isset(self::$_preloadedOptions[$storeId])) {
$options = Mage::getResourceModel('eav/entity_attribute_option_collection')
@LeeSaferite
LeeSaferite / gist:3058243
Created July 6, 2012 05:15 — forked from molotovbliss/gist:2562551
Magento Snippets