Skip to content

Instantly share code, notes, and snippets.


Airton Zanon airtonzanon

View GitHub Profile


  • Sara Goleman
  • Michelangelo VanDan
  • Rasmus Lerdorf
  • Marco Pivetta
  • Bruno Neves
  • Airton Zanon
  • Ricardo Tulio
  • Taylor Otwell
  • Ben Ramsey
airtonzanon /
Created May 13, 2017
Keyboard Disable and Enable Toggle
status=$(xinput list --long "AT Translated Set 2 keyboard" | grep "disabled")
if [[ "$status" =~ "disabled" ]]
echo "Enabling keyboard"
xinput enable "AT Translated Set 2 keyboard"
View .bashrc
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
# If not running interactively, don't do anything
case $- in
*i*) ;;
*) return;;
airtonzanon / v-exim-queue-12later
Last active Oct 26, 2016
E-mail log para verificar a fila do exim (emails que estão por mais de 12 horas nela)
View v-exim-queue-12later
# info: Send email log to email
# options: NONE
# Variable&Function #
airtonzanon /
Last active Oct 25, 2016
Some Exim Commands

Some Exim Commands

  • exim -bp or mailq - List queue
  • exim -bpc - Count e-mails in queue
  • exim -qff - Force try to send queue, even freeze e-mails (if you use -qf, just try to send queue without freeze e-mails)
  • exiqgrep -i -z | xargs exim -Mrm - Remove all freeze e-mails from queue - if you use without -z, you can remove all e-mails from queue
  • exim -Mrm message-id - Remove a message from queue
  • exim -Mvh message-id - View a message's header
  • exim -Mvb message-id - View a message's body
  • exim -v -M message-id - Try to send again some message
View PessoaModel.php
class Pessoa {
private $nome;
private $sexo;
private $idade;
public function __construct($nome = null, $sexo = null, $idade = null){
$this->nome = $nome;
airtonzanon /
Last active Oct 18, 2016
Enable Developer Mode Chromebook

#How enable Developer Mode Chromebook


  • When you enable developer mode all of your files, directorys and accounts will be deleted.
  • Google doesn't support your Chromebook in developer mode.


  • Turn on your Chromebook.
View gist:00b83de183e5fcde3661
Verifying that +airtonzanon is my blockchain ID.