Skip to content

Instantly share code, notes, and snippets.

View mateusmedeiros's full-sized avatar
🏠
Working from home

Mateus Medeiros mateusmedeiros

🏠
Working from home
View GitHub Profile

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

@mateusmedeiros
mateusmedeiros / doodad.service
Last active August 16, 2017 14:09
Systemd services
[Unit]
Description=App running with puma + improvised rvm gemset support
[Service]
RootDirectory=/srv/http
WorkingDirectory=/www/doodad
User=http
Group=http
EnvironmentFile=/etc/systemd/system/doodad.vars
gw20b2_mips.bin: file format binary
Disassembly of offset 0xa000:
080a0000 <0xa000>:
80aa000: 07a8020a j 0x80aa01c
80aa004: 00000000 nop
80aa008: 04000a08 j 0x280010
@mateusmedeiros
mateusmedeiros / README.md
Last active February 26, 2016 14:20 — forked from jxson/README.md

Synopsis

At the top of the file there should be a short introduction and/ or overview that explains what the project is. This description should match descriptions added for package managers (Gemspec, package.json, etc.)

Why?

A short description of the motivation behind the creation and maintenance of the project. This should explain why the project exists.

Code Example

@mateusmedeiros
mateusmedeiros / Preferences.sublime-settings
Last active August 29, 2015 14:03
Sublime settings for ST3. Highlighted the ones more difficult for other people to like.
{
// Chances are you won't like those
"draw_centered": true,
"highlight_line": true,
"draw_white_space": "all",
"save_on_focus_lost": true,
"enable_tab_scrolling": false,
@mateusmedeiros
mateusmedeiros / excerpt
Created July 17, 2014 23:59
excerpt smealum
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <ctr/types.h>
#include <ctr/srv.h>
#include <ctr/APT.h>
#include <ctr/GSP.h>
#include <ctr/HID.h>
#include <ctr/SOC.h>
#include <ctr/FS.h>
# Additional translations at https://github.com/plataformatec/devise/wiki/I18n
# Este arquivo deve ser colocado em config/locales/devise.pt-BR.yml
pt-BR:
devise:
confirmations:
confirmed: "Sua conta foi confirmada com sucesso."
send_instructions: "Você receberá um e-mail para confirmar sua conta em alguns minutis."
send_paranoid_instructions: "Caso seu endereço de e-mail já exista em nossa base, você receberá um e-mail com instruções sobre como ativar sua conta."
failure:
@mateusmedeiros
mateusmedeiros / compton.conf
Last active February 11, 2016 12:32
Compton config
backend = "xr_glx_hybrid";
paint-on-overlay = true;
glx-no-stencil = true;
no-dock-shadow = true;
no-dnd-shadow = true;
clear-shadow = true;
shadow = true;
fading = true;
@mateusmedeiros
mateusmedeiros / tmux.conf
Last active August 14, 2018 10:26
tmux.conf
set-option -g default-shell $SHELL
set -g base-index 1
set -s escape-time 0
set -g mouse on
set -g history-limit 100000
set -g default-terminal screen
This file has been truncated, but you can view the full file.