Skip to content

Instantly share code, notes, and snippets.

# Instalación
sudo add-apt-repository ppa:sunab/kdenlive-release
sudo apt-get update
sudo apt-get install x264 melt
# Analisis de movimiento
# smoothing
# description: Used during appication. Number of frames for lowpass filtering (2N + 1 frames)
# default=15 range: 0-100
# Git branch in prompt.
parse_git_branch() {
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/'
}
export PS1="\u \[\e[1;33m\]\w\[\e[1;36m\]\$(parse_git_branch)\[\033[00m\] $ "
goroutine 3554 [running]:
runtime/pprof.writeGoroutineStacks(0x1d5b640, 0xc4227fb880, 0x30, 0xc4211a2510)
/home/aledbf/.gimme/versions/go1.8.3.linux.amd64/src/runtime/pprof/pprof.go:603 +0x79
runtime/pprof.writeGoroutine(0x1d5b640, 0xc4227fb880, 0x2, 0xc420846a90, 0x40fe08)
/home/aledbf/.gimme/versions/go1.8.3.linux.amd64/src/runtime/pprof/pprof.go:592 +0x44
runtime/pprof.(*Profile).WriteTo(0x1dbe4e0, 0x1d5b640, 0xc4227fb880, 0x2, 0xc4227fb880, 0xc420846cc0)
/home/aledbf/.gimme/versions/go1.8.3.linux.amd64/src/runtime/pprof/pprof.go:302 +0x3b5
net/http/pprof.handler.ServeHTTP(0xc4211a23d1, 0x9, 0x1d69a40, 0xc4227fb880, 0xc4222e1f00)
/home/aledbf/.gimme/versions/go1.8.3.linux.amd64/src/net/http/pprof/pprof.go:209 +0x1d1
net/http/pprof.Index(0x1d69a40, 0xc4227fb880, 0xc4222e1f00)
#!/bin/bash
#
# Retrieve temporal credentials with MFA from awscli
#
#
# Usage . ./awslogin.sh 2FA_TOKEN
#
AWS_ACCOUNT_ID="123456"
AWS_USERNAME="usuario"
#!/bin/bash
#
# Retrieve temporal credentials with MFA from awscli
#
#
# Usage . ./awslogin.sh 2FA_TOKEN
#
AWS_ACCOUNT_ID="123456"
AWS_USERNAME="usuario"