Skip to content

Instantly share code, notes, and snippets.

View richardsonlima's full-sized avatar
:octocat:
Focusing

Richardson Lima richardsonlima

:octocat:
Focusing
View GitHub Profile
@richardsonlima
richardsonlima / free-ebooks.sh
Created August 29, 2018 20:49 — forked from amielucha/free-ebooks.sh
Free O'Reilly ebooks
wget http://www.oreilly.com/programming/free/files/modern-java-ee-design-patterns.epub
wget http://www.oreilly.com/programming/free/files/object-oriented-vs-functional-programming.epub
wget http://www.oreilly.com/programming/free/files/java-the-legend.epub
wget http://www.oreilly.com/programming/free/files/introducing-java-8.epub
wget http://www.oreilly.com/programming/free/files/a-whirlwind-tour-of-python.epub
wget http://www.oreilly.com/programming/free/files/20-python-libraries-you-arent-using-but-should.epub
wget http://www.oreilly.com/programming/free/files/hadoop-with-python.epub
wget http://www.oreilly.com/programming/free/files/how-to-make-mistakes-in-python.epub
wget http://www.oreilly.com/programming/free/files/functional-programming-python.epub
wget http://www.oreilly.com/programming/free/files/python-in-education.epub
@richardsonlima
richardsonlima / app-hugo-to-netlify.txt
Last active August 29, 2018 20:40
Create a new site on Netlify and link the repository.
https://app.netlify.com/start
https://forestry.io/#/
@richardsonlima
richardsonlima / links.txt
Created August 29, 2018 18:59
Parsed links from jenkins.io website (/solutions, blog and doc)
@richardsonlima
richardsonlima / convert-mkv-to-mp4.sh
Created August 28, 2018 01:06
Convert MKV to MP4
for f in *.mkv;do ffmpeg -i "$f" -c:v copy -c:a aac -b:a 256k "${f%mkv}mp4";done
@richardsonlima
richardsonlima / epub-to-mobi.txt
Created August 27, 2018 21:33
kindle converter files
https://cloudconvert.com/epub-to-mobi
@richardsonlima
richardsonlima / rasp-boot-over-usb.sh
Last active August 25, 2018 23:44
Raspibian Enable Boot over USB
echo program_usb_boot_mode=1 | sudo tee -a /boot/config.txt
# vcgencmd otp_dump | grep 17:
# Esse comando deve mostrar o seguinte resultado, o que significa que podemos partir para o boot via USB.
# 17:3020000a
@richardsonlima
richardsonlima / VALIDJSON-RFC-4627.txt
Created August 24, 2018 20:30
VALID JSON (RFC 4627)
https://jsonformatter.curiousconcept.com/
@richardsonlima
richardsonlima / consul-client.go
Created August 24, 2018 14:14
Consul Client Golang
package main
import(
//"encoding/json"
//"context"
"fmt"
//"io/ioutil"
"net/http"
"encoding/json"
@richardsonlima
richardsonlima / vault-client-2.go
Last active August 24, 2018 14:47
Vault Client Golang
package main
import (
"time"
"log"
"net/http"
"os"
"flag"
"fmt"
"text/tabwriter"
@richardsonlima
richardsonlima / GO-PATH.sh
Last active August 24, 2018 13:22
GO PATH
# Go standard envs
ENV GOPATH /go
ENV PATH /usr/local/go/bin:$PATH
ENV PATH $GOPATH/bin:$PATH
#/usr/lib/go/src/github.com/hashicorp/vault/api (from $GOROOT)
#/home/richardson/go-dev/src/github.com/hashicorp/vault/api (from $GOPATH)