Kalashnikov unveils a retro-styled electric car

kalashnikov cv-1

Russian weapons manufacturer Kalashnikov unveiled a line of electric and hybrid cars, buggies and motorcycles this week. One of those vehicles is a retro-styled concept car named CV-1, capable of running for 350 kilometers with a single charge and accelerating from 0 to 100 km/h in 6 seconds. And it doesn’t look that bad.

Disenchantment

disenchantment

Is it just me or Disenchantment has a Game of Thrones vibe? Also, the show is really good; not Simpsons good, but really good.

Canhoto ou destro, tudo depende da espinha dorsal

A espinha dorsal – e não o cérebro, como se pensava até agora – é que define se somos canhotos ou destros. Esta conclusão foi avançada num artigo da autoria investigadores da Universidade Ruhr de Bochum, juntamente com outros investigadores da Holanda e África do Sul.

Um estudo publicado no eLife no ano passado sugere que, ao contrário do que se pensava, não nasces canhoto(a) ou destro(a) devido às diferenças genéticas entre os dois hemisférios do teu cérebro, mas sim a um mecanismo na espinha dorsal.

Para saberes mais sobre este estudo e como funciona este mecanismo, lê o texto que escrevi no Espalha Factos.

Bash: how-to improve history manipulation

By default, up and down keys allow you to navigate your bash history. Another option is the history built-in command and bash expansions (ex.: !2 runs the second command, oldest to newest, from your bash history).

There are also tools, like bash-it, that allow for better history manipulation, but this also adds a lot of other stuff, so it might make your .bashrc load slower. It will make your bash look good as hell too.

Another option for an awesome way to access your bash history is the following snippet, based on bash-it‘s history plugin:

if [ -t 1 ]
then
    bind '"\e[A": history-search-backward'
    bind '"\e[B": history-search-forward'
fi

With this, you only need to write part of a command, press the up arrow and it will complete it with the commands in bash history file that match to what you’ve written.

I’ve add it to the end of my .bashrc. Together with bash completion, it improves my workflow by a lot.