- Name: Bruno Messias
- Organisation: Python Software Foundation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from queue import Queue | |
| import queue | |
| from threading import Thread | |
| import numpy as np | |
| import time | |
| import vtk | |
| import threading | |
| queue_of_functions = Queue() |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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())) | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| avalontestandomonitor example.com |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| avalontestandomonitor example.com |
NewerOlder