Skip to content

Instantly share code, notes, and snippets.

View devmessias's full-sized avatar
🎯
Focusing

bruno messias devmessias

🎯
Focusing
View GitHub Profile
@devmessias
devmessias / vtk_queue_py.py
Created August 25, 2021 12:19
vtk_queue thread
from queue import Queue
import queue
from threading import Thread
import numpy as np
import time
import vtk
import threading
queue_of_functions = Queue()
@devmessias
devmessias / report.md
Last active September 30, 2021 14:31
GSoC 2021 - Bruno Messias - Final Report
gsoc fury

Google Summer of Code 2021 Final Work Product

  • Name: Bruno Messias
  • Organisation: Python Software Foundation
@devmessias
devmessias / example.ipynb
Created March 10, 2019 15:16 — forked from pelson/example.ipynb
Example of authenticating a GitHub app using jwt in Python
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@devmessias
devmessias / example.ipynb
Created March 10, 2019 15:16 — forked from pelson/example.ipynb
Example of authenticating a GitHub app using jwt in Python
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@devmessias
devmessias / fish_prompt.fish
Created September 2, 2017 20:42
My custom fish prompt based acidhub fish prompt
function fish_prompt --description 'Write out the prompt'
set laststatus $status
function _git_branch_name
echo (git symbolic-ref HEAD ^/dev/null | sed -e 's|^refs/heads/||')
end
function _is_git_dirty
echo (git status -s --ignore-submodules=dirty ^/dev/null)
end
if [ (_git_branch_name) ]
set -l git_branch (set_color -o blue)(_git_branch_name)
@devmessias
devmessias / 00.howto_install_phantomjs.md
Created August 27, 2017 23:40 — forked from julionc/00.howto_install_phantomjs.md
How to install PhantomJS on Debian/Ubuntu

How to install PhantomJS on Ubuntu

Version: 1.9.8

Platform: x86_64

First, install or update to the latest system software.

sudo apt-get update
sudo apt-get install build-essential chrpath libssl-dev libxft-dev
@devmessias
devmessias / rememberLastSlideReveal.js
Last active June 2, 2017 17:53
Rember last slide of reveal.js
var stateReveal = JSON.parse(window.localStorage.getItem("state"));
if (stateReveal != null){
Reveal.navigateTo(stateReveal.indexh, stateReveal.indexv)
}
window.onbeforeunload = function(e){
window.localStorage.setItem("state", JSON.stringify(Reveal.getState()))
};
// ==UserScript==
// @name why github?
// @namespace http://brunomessias.com
// @include http://github.com/*
// @include https://github.com/*
// @include https://gist.github.com/*
// @version 1.0
// @description Removes the dark menubar from GitHub.
// @author devmessias
// @grant none
@devmessias
devmessias / avalontestandomonitor example.com
Created September 3, 2016 19:20
avalontestandomonitor example.com
avalontestandomonitor example.com
@devmessias
devmessias / avalontestandomonitor.com
Created September 3, 2016 17:11
avalontestandomonitor.com example.com
avalontestandomonitor example.com