Skip to content

Instantly share code, notes, and snippets.

@BorjaOuterelo
BorjaOuterelo / README.md
Created June 10, 2019 11:33 — forked from jacobsvante/README.md
My version of the Agnoster theme, with Virtualenv support

agnoster.zsh-theme

A ZSH theme optimized for people who use:

  • Solarized
  • Git
  • Unicode-compatible fonts and terminals (I use iTerm2 + Menlo)

For Mac users, I highly recommend iTerm 2 + Solarized Dark

@BorjaOuterelo
BorjaOuterelo / uROS_all.repos
Created November 5, 2018 15:16
Micro-ROS packages
repositories:
ament/ament_cmake:
type: git
url: https://github.com/ament/ament_cmake.git
version: 0.5.1
ament/ament_index:
type: git
url: https://github.com/ament/ament_index.git
version: 0.5.1
ament/ament_lint:
@BorjaOuterelo
BorjaOuterelo / PKGBUILD
Last active December 21, 2017 08:19
Aur p4v 2017.3.1601999 change
# Maintainer: Ben Widawsky <ben@bwidawsk.net>
# Contributor: Jonathan Arnold <jarnold@buddydog.org>
# Contributor: Marq Schneider <queueRAM@gmail.com>
pkgname=p4v
pkgver=2017.3.1601999
pkgrel=1
pkgdesc="Perforce Visual Client"
arch=('x86_64')
url="http://www.perforce.com"
@BorjaOuterelo
BorjaOuterelo / stopwatch.h
Last active March 17, 2017 09:49
Time measuring functions.
std::chrono::steady_clock::time_point start() {
return std::chrono::steady_clock::now();
}
template <typename T>
void stop(const std::chrono::steady_clock::time_point &start,
const std::string &prefix = "Time Passed: ",
const std::string &suffix = "s") {
std::cout << prefix
<< std::chrono::duration_cast<T>(