Skip to content

Instantly share code, notes, and snippets.

View dschulz's full-sized avatar
💭
🧉

Diego Schulz dschulz

💭
🧉
  • Hohenau, Paraguay
View GitHub Profile
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
# Golang
if [ -d ${HOME}/Golang ]; then
export GOPATH=${HOME}/Golang
if [ -d ${HOME}/Golang/bin ]; then

Keybase proof

I hereby claim:

  • I am dschulz on github.
  • I am dschulz (https://keybase.io/dschulz) on keybase.
  • I have a public key whose fingerprint is 271F 80EF 27E5 75C8 68C5 14DD A5A9 C829 F2AF 13F8

To claim this, I am signing this object:

dschulz@Diegos-MacBook-Pro:~/IdeaProjects/logistica$ java -jar build/libs/logistica-0.0.1-SNAPSHOT.jar
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v1.4.0.BUILD-SNAPSHOT)
@dschulz
dschulz / .bash_profile
Created April 25, 2016 03:11
Profile para bash para ejecutar minicom
# ~/.profile: executed by the command interpreter for login shells.
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
# exists.
# see /usr/share/doc/bash/examples/startup-files for examples.
# the files are located in the bash-doc package.
# the default umask is set in /etc/profile; for setting the umask
# for ssh logins, install and configure the libpam-umask package.
#umask 022
@dschulz
dschulz / gist:97eae51666d9b86e3108
Created December 5, 2015 20:52
Error getting golang.org/x/ packages
$ go build
acme/crypto.go:23:9: cannot find package "golang.org/x/crypto/ocsp" in any of:
/usr/local/go/src/golang.org/x/crypto/ocsp (from $GOROOT)
/home/dschulz/Golang/src/golang.org/x/crypto/ocsp (from $GOPATH)
acme/crypto.go:24:9: cannot find package "golang.org/x/crypto/sha3" in any of:
/usr/local/go/src/golang.org/x/crypto/sha3 (from $GOROOT)
/home/dschulz/Golang/src/golang.org/x/crypto/sha3 (from $GOPATH)
$
$
$ curl -v "https://golang.org/x/crypto/ocsp?go-get=1"
@dschulz
dschulz / gist:8282982
Created January 6, 2014 13:36
Manera sucia de asociar sesiones tmux al iniciar sesión.
#Agregar esto al final de .bash_profile
declare -i TMUXES=`ps aux | grep tmux | grep -v grep | wc -l`
if [ $TMUXES -gt 0 ] && [ -z "$TMUX" ] ; then
echo -e "\n\n\033[01;34mParece que hay una sesion tmux\033[0m"
read -p "Asociar? (s): " -n 1 ASOCIAR
case $ASOCIAR in
s)