Skip to content

Instantly share code, notes, and snippets.

View cameri's full-sized avatar
∞/21M

Ricardo Arturo Cabral Mejía cameri

∞/21M
View GitHub Profile
#
# This example file shows you how to set up a basic drop table.
# Drop tables can be used in both a mob's equipment and drops
# to have multiple items tied to a single table.
SkeletonKingDrops:
Drops:
- KingsCrown 1 0.01
- 371:0 32-64 1
- exp 100
- heroesexp 200
#
# These example files show you some of the basic attributes and
# skills MythicMobs can use. Far more is possible!
SkeletalKnight:
Type: WITHER_SKELETON
Display: '&4Skeletal Knight'
Health: 40
Damage: 8
Drops:
- gold_nugget 2 0.5
#
# These example files show you some of the basic attributes and
# skills MythicMobs can use. Far more is possible!
SkeletalKnight:
Type: WITHER_SKELETON
Display: '&4Skeletal Knight'
Health: 40
Damage: 8
Drops:
- gold_nugget 2 0.5
@cameri
cameri / menu.js
Created September 25, 2016 00:00
var Promise = require("bluebird");
var utils = require('../utils');
function onMenu(msg,match) {
return new Promise(function(resolve,reject){
utils.getJSON({
hostname: 'www.menu.com.do',
path: '/api/v1/businesses/search.json?query=q:' + encodeURIComponent(match[1]),
agent: false // create a new agent just for this one request
app/
/config
/controllers
/models
/middleware
/views
plugins/
plugin_name/
/config
/controllers
<html>
<head>
<meta http-equiv="Pragma" content="no-cache"/>
<meta http-equiv="Expires" content="-1"/>
<meta http-equiv="CacheControl" content="no-cache"/>
<script>
(function(){})();</script>
<script type="text/javascript">
function decode_string(in_str) { return decodeURIComponent(in_str); }
function decode_action() {var f = document.forms[0];if (f.attributes['action'] != undefined) {f.attributes['action'].value = decode_string(f.attributes['action'].value);} else { f.action = decode_string(f.action);}}function submit_form() {var e = document.forms[0].elements;e[1].value = decode_string(e[1].value);e[2].value = decode_string(e[2].value);e[5].value = decode_string(e[5].value);e[7].value = decode_string(e[7].value);document.forms[0].submit();}function cookie_redirect() {var cookie = '';var e = document.forms[0].elements;var uri = (document.forms[0].attributes['action'] != undefined) ?document.forms[0].attributes['action'].value : document.forms[0].action;var path =
<?php
namespace App\Controller\Api;
use Cake\Utility\Hash;
use Cake\Core\Configure;
use Cake\Collection\Collection;
use Cake\Event\Event;
use App\Controller\Api\AppController;
use App\Model\Response\OkHttpResponse;
define([
'angular',
'moment',
'private/tickers',
'private/services/wip',
'shared/services/post',
'shared/services/dialog',
], function(angular, moment) {
'use strict';
function PostsService ($q, Post, WipService, DialogService) {
(function () {
'use strict';
var dependencies = [
'angular',
'angular-local-storage',
];
define(dependencies, function(angular) {
define([
'angular',
'common/common-module',
], function(angular, module) {
function Service($q, Restangular) {
var States = {
Idle: 'Idle',
Busy: 'Busy',
Done: 'Done'
};