I hereby claim:
- I am diraol on github.
- I am diraol (https://keybase.io/diraol) on keybase.
- I have a public key ASAd47mpwKVkyZF9GXqivzXxxF21LRA3n8ZJ6RNYnwttmQo
To claim this, I am signing this object:
# POSIX Compatible | |
# Remove leading and trailing spaces and dashes | |
# also zsh compatible | |
echo " - - Esperança do vôo do avião - - " | iconv -t ascii//TRANSLIT | sed -E 's/[~\^]+//g' | sed -E 's/[^a-zA-Z0-9]+/-/g' | sed -E 's/^-+\|-+$//g' | sed -E 's/^-+//g' | sed -E 's/-+$//g' | tr A-Z a-z |
I hereby claim:
To claim this, I am signing this object:
# This gist shows how to build a nested python dict | |
# based on a string that will be splitted based on one specific character | |
# It can be a list, a dict or whatever you want to. | |
one_level_dict = { | |
'2.0/jobs/create': 'POST', | |
'2.0/jobs/list': 'GET', | |
'2.0/jobs/delete': 'POST', | |
'2.0/jobs/get': 'GET', | |
'2.0/jobs/reset': 'POST', |
sudo apt remove --purge vim vim-runtime vim-gnome vim-tiny vim-gui-common | |
sudo apt install liblua5.1-dev luajit libluajit-5.1 python3-dev ruby-dev libperl-dev libncurses5-dev libatk1.0-dev libx11-dev libxpm-dev libxt-dev | |
#Optional: so vim can be uninstalled again via `dpkg -r vim` | |
sudo apt install checkinstall | |
sudo rm -rf /usr/local/share/vim /usr/bin/vim | |
cd ~/tools |
"""Small script to parse pcap openflow files with python-openflow library. | |
###################################################################### | |
Copyright (C) 2016, Diego Rabatone Oliveira <diraol AT diraol DOT eng DOT br> | |
This program is free software: you can redistribute it and/or modify | |
it under the terms of the GNU General Public License as published by | |
the Free Software Foundation, either version 3 of the License, or | |
(at your option) any later version. | |
This program is distributed in the hope that it will be useful, | |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
// Load a recent jquery version | |
var jq = document.createElement('script'); | |
jq.src = "https://code.jquery.com/jquery-3.1.1.min.js"; | |
document.getElementsByTagName('head')[0].appendChild(jq); | |
// Wait until jquery is loaded before running the code below | |
window.setTimeout(()=>{ | |
jQuery.noConflict(); | |
// Check everyone for BAN | |
jQuery("input[name|='senderbanp']").attr('checked', true) | |
// Check everyone for filtering action |
# based on http://stackoverflow.com/questions/6470428/catch-multiple-exceptions-in-one-line-except-block | |
class ValidationError(Exception): | |
def __init__(self, attribute_name, message): | |
self.attribute_name = attribute_name | |
self.message = message | |
def __str__(self): | |
return self.message |
%%01 | |
\vfill | |
\begin{Requisito} | |
\ReqTipo{funcional}%Tipo | |
\ReqNome{Cadastrar usuário}%Nome | |
%\ReqLabel{cadUsu}%Label | |
\ReqDescr{O usuário realiza seu cadastro na plataforma.}%Desc. | |
\ReqPrioridade{alta}%Prioridade | |
\ReqStatus{aprovado}%Status | |
\ReqEstabilidade{alta}%Estabilidade |