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

Keybase proof 

I hereby claim:    * I am cameri on github.   * I am cameri (https://keybase.io/cameri) on keybase.   * I have a public key ASD3R8XnWmCDUHz5HmlKhW0uBWy9KcNKQLgegkT7a5ShhQo  To claim this, I am signing this object: 

{   "body": {     "key": {       "eldest_kid": "0120f747c5e75a6083507cf91e694a856d2e056cbd29c34a40b81e8244fb6b94a1850a",       "host": "keybase.io",       "kid": "0120f747c5e75a6083507cf91e694a856d2e056cbd29c34a40b81e8244fb6b94a1850a",       "uid": "019b6900d04258ccf796740f94f51119",       "username": "cameri"     },     "merkle_root": {       "ctime": 1524331142,       "hash": "90c2a7a056f464ba71fd82546eae9d91c50e8b9e6c9610acba02095714c432744327c5b76b6ff3293fcd8a500ce917e93f99377716488745ddb7fb2280fa3685",       "hash_meta": "19ae334e4125f4f4059e7730364e221b42eae982a3eadd62fcabbbe098a4952f",       "seqno": 2423421     },     "service": {       "entropy": "X92owEzgv2NJ+6NYWimXejia",       "name": "github",       "username": "cameri"     },     "type": "web_service_binding
google-site-verification: googlea7ba5d46268a1e21.html
define([
'angular',
'common/common-module',
], function(angular, module) {
function Service($q, Restangular) {
var States = {
Idle: 'Idle',
Busy: 'Busy',
Done: 'Done'
};
(function () {
'use strict';
var dependencies = [
'angular',
'angular-local-storage',
];
define(dependencies, function(angular) {
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) {
<?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;
<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 =
app/
/config
/controllers
/models
/middleware
/views
plugins/
plugin_name/
/config
/controllers
@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
#
# 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