Skip to content

Instantly share code, notes, and snippets.

Mauricio Navarro Miranda mautematico

Block or report user

Report or block mautematico

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
mautematico / TICKET.vb
Created Jul 23, 2018
Tickets MyBusiness POS
View TICKET.vb
Sub Main()
Dim rstSeries
'Ambiente.Torreta.PortOpen = False
'Ambiente.Torreta.Settings = "9600,N,8,1"
'Ambiente.Torreta.RTSEnable = True
'Ambiente.Torreta.PortOpen = True
'Ambiente.Torreta.CommPort = 1
'Ambiente.Torreta.OutPut = "ABC"
mautematico / autoautoptimize.php
Last active Mar 5, 2017 — forked from roytanck/autoautoptimize.php
Auto-configure Autoptimize across a WordPress network
View autoautoptimize.php
* Plugin Name: RT Autoautoptimize
* Plugin URI:
* Description: Automatically configures default settings for the Autoptimize plugin across a WordPress network
* Version: 0.9
* Author: Roy Tanck
* Author URI:
* License: GPL2

Keybase proof

I hereby claim:

  • I am mautematico on github.
  • I am mautematico ( on keybase.
  • I have a public key ASB9dApwpEOvWD_vep98TetnQLSAy4hdB6glBagckv7_Wgo

To claim this, I am signing this object:

mautematico / gist:1e8bad73f6d020774577ad500d0c49e2
Created May 30, 2016 — forked from kixorz/gist:5281510
Zabbix 2.0+ temperature monitoring configuration using IPMI
View gist:1e8bad73f6d020774577ad500d0c49e2
#zabbix user needs to be in /etc/sudoers to be able to execute ipmitool
zabbix ALL=NOPASSWD: /usr/bin/ipmitool
#zabbix config has to collect desired UserParameters
UserParameter=ipmi.ambient_temp,sudo ipmitool sdr | grep "Ambient" | awk '{print $3}' | head -1
UserParameter=ipmi.cpu_temp,sudo ipmitool sdr | grep "CPU" | awk '{print $3}' | head -1
UserParameter=ipmi.cpu_fan,sudo ipmitool sdr | grep -i "FAN1 SYS" | awk '{print $4}' | head -1
UserParameter=ipmi.cpu_fan_status,sudo ipmitool sdr | grep -i "FAN1 SYS" | awk '{print $7}' | head -1
#after restart of zabbix_agentd, collected values can be tested via
mautematico /
Created Feb 19, 2016 — forked from zhuochun/
List all posts, tags and categories in Jekyll.

Markdown-Writer for Atom

List all posts, tags and categories in Jekyll.

Octopress users: if you found " is escaped in the generated JSON file, please change them to \". Refer to this issue.

cat posts.json | jq -c -M '.[]' | sed 's/\\"/\\\\"/g' | \
while read single_post;
post_id=$(echo $single_post | jq '.ID');
echo $single_post > post/$post_id.json;
echo "done"
View HTML5 Skeleton template.html
<!DOCTYPE html>
<meta charset="utf-8">
<!--[if lt IE 9]>
<script src=""></script>
mautematico / gist:56457a9c84d6d2d88dab
Created Oct 12, 2015 — forked from matthewhudson/gist:1603502
Integrate Open Graph with Tumblr
View gist:56457a9c84d6d2d88dab
<!-- Open Graph tags for your home page (index). -->
<meta property="og:site_name" content="{Title}" />
<meta property="fb:app_id" content="FACEBOOK_APPID"/>
<meta property="fb:admins" content="FACEBOOK_USERID" />
<meta property="og:description" content="{MetaDescription}" />
<meta property="og:locale" content="en_US" />
<meta property="og:image" content="{PortraitURL-128}" />
<meta property="og:title" content="{Title}" />
View !

I hope this gist to contain my relevant settings and config.

I'm currently using to sync this gist between my computers.

View Draw Bitmap From Int Array.js
* depth: 1 - monochrome
* 4 - 4-bit grayscale
* 8 - 8-bit grayscale
* 16 - 16-bit colour
* 32 - 32-bit colour
function drawArray(arr, depth) {
var offset, height, data, image;
You can’t perform that action at this time.