Skip to content

Instantly share code, notes, and snippets.


Pedro M. M. pmrt

View GitHub Profile
pmrt /
Last active Nov 6, 2020
Help: Available Commands for Eve Echoes Atlas


Available Commands

set <property> <value>

Set changes the property <property> value to <value>. Typing set defaults will reset settings to default settings with no further confirmation. e.g. set font_size 12

Available properties:

  • font_size. Font size of rendered textboxs in map.
View style.css
Container es mejor que sea una clase, los id tienen prioridad absoluta y solo se suelen usar para un elemento
que vayas a usar en javascript en específico. Por ejemplo un vídeo.
Pon en el html todos los elementos con la clase .parrot y añade en la clase de parrot que quieras con .parrot-n
por ejemplo: <div class="parrot p-23"></div>. Si es dinámico con javascript mejor, para que puedas añador y quitar
fácilmente sin tener que tocar código.
pmrt / appInfo.js
Created Nov 3, 2019
WhatsApp constants
View appInfo.js
// appInfo (for HKDF)
feacbgeaf: function(e, t, n) {
"use strict";
Object.defineProperty(t, "__esModule", {
value: !0
}), t.default = function(e, t) {
var n = function(e) {
return (0, i.default)(e, {
[u.default.AUDIO]: function() {
View crawler.js
const api = ''
error throws an error with a provided `msg`
function error(msg) {
console.error(`Ha ocurrido un error: ${msg}`)
View Email from
Received: by 2002:a17:90a:a383:0:0:0:0 with SMTP id x3csp4204415pjp;
Mon, 29 Apr 2019 15:08:03 -0700 (PDT)
X-Google-Smtp-Source: APXvYqxQvFrSVuxAHjJD5jeCeyGg8RPvDoQ0Rb3jUzjDZlyk8vU4+iufWJfM0ciNxqVPj3crxHrP
X-Received: by 2002:a5d:4f8b:: with SMTP id d11mr2782013wru.150.1556575683657;
Mon, 29 Apr 2019 15:08:03 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1556575683; cv=none;; s=arc-20160816;
pmrt / findBlockRange.js
Last active Mar 10, 2019
find surrounding block ranges
View findBlockRange.js
function areSameBlock(a, b) {
a.getType() === b.getType()
function findBlockRange(contentState, areEqualFn, startBlock) {
const after = block => contentState.getBlockAfter(block.getKey())
const before = block => contentState.getBlockBefore(block.getKey())
const find = (block, nextBlock, directionFn) => {
if (!nextBlock || !areEqualFn(block, nextBlock)) {
View PropDiff.js
function isObject(exp) {
return typeof exp === 'object';
function isArray(exp) {
return Array.isArray(exp);
function isEqual(exp, older, newer) {