Skip to content

Instantly share code, notes, and snippets.

View ErlendEllingsen's full-sized avatar
☁️

Erlend Ellingsen ErlendEllingsen

☁️
View GitHub Profile
@ErlendEllingsen
ErlendEllingsen / privacypolicy.md
Created December 30, 2022 21:46
privacypolicy

Privacy Policy

Ellingsen built the DogFry app as an Ad Supported app. This SERVICE is provided by Ellingsen at no cost and is intended for use as is.

This page is used to inform visitors regarding my policies with the collection, use, and disclosure of Personal Information if anyone decided to use my Service.

If you choose to use my Service, then you agree to the collection and use of information in relation to this policy. The Personal Information that I collect is used for providing and improving the Service. I will not use or share your information with anyone except as described in this Privacy Policy.

The terms used in this Privacy Policy have the same meanings as in our Terms and Conditions, which are accessible at DogFry unless otherwise defined in this Privacy Policy.

// Command:
/alarm-add [item name] [gt | lt] [amount in gold | amount in %] [quantity (optional)]
/alarm-list
/alarm-remove [id]
// Example
/alarm-add black lotus gt 200g 1
/alarm-list
/alarm-remove 305
// Command:
/transmute <spell-name>
// Example
/transmute Water To Air
// Command:
transmute <spell-name>
// Example
transmute Water To Air
@ErlendEllingsen
ErlendEllingsen / enchanting-prices
Last active September 27, 2022 05:20
enchanting-prices
// Command:
/enchantprice <spell-name>
// Example
/enchantingprice Enchant Weapon - Spell Power
@ErlendEllingsen
ErlendEllingsen / crafting-price
Last active September 27, 2022 05:19
Crafting price
// Syntax
/craftprice <itemname|itemid>
// Examples
/craftprice Major Mana Potion
/craftprice Brilliant Wizard Oil
@ErlendEllingsen
ErlendEllingsen / price
Last active September 27, 2022 05:19
Price example
// Command:
/price <itemname|itemid>
/stackprice <itemname|itemid>
// Example
/price flask of titans
/stackprice dreamfoil
@ErlendEllingsen
ErlendEllingsen / email-link-decoder.js
Created December 28, 2018 14:31
Decode email links
<?php
class BasePathGenerator {
private static $isSet = false;
private static $foundBasePath = null;
public static function get() {
if (self::$isSet) return self::$foundBasePath;
if (!isset($_SERVER['REQUEST_URI'])) return false;
$jumps = explode('/', $_SERVER['REQUEST_URI']);
$c = count($jumps);
$c--; //Remove first element