Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View FabricioFFC's full-sized avatar

Fabrício Ferrari de Campos FabricioFFC

View GitHub Profile
@meirbon
meirbon / Dell XPS 15 9560 Manjaro Setup instructions
Last active March 31, 2024 01:21
Small, quick guide to set up Manjaro on the XPS 15 9560
# 1. First of all of course get Manjaro:
https://manjaro.org/get-manjaro/
# I recommend using Etcher to copy the image to your USB:
https://etcher.io/
# 2. Before installing make sure:
# - Secure boot is disabled in BIOS
# - Your SSD, HDD or NVME drive is set to AHCI instead of RAID
# - Fastboot should be on Auto or minimal, but this shouldn't matter to much
@adeekshith
adeekshith / .git-commit-template.txt
Last active February 21, 2024 12:06 — forked from Linell/.git-commit-template.txt
This commit message template helps you write great commit messages and enforce it across teams.
# <type>: (If applied, this commit will...) <subject> (Max 50 char)
# |<---- Using a Maximum Of 50 Characters ---->|
# Explain why this change is being made
# |<---- Try To Limit Each Line to a Maximum Of 72 Characters ---->|
# Provide links or keys to any relevant tickets, articles or other resources
# Example: Github issue #23
@robheittman
robheittman / gist:768524
Created January 6, 2011 20:34
A .bashrc on Ubuntu with rvm support
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
# If not running interactively, don't do anything
if [[ -n "$PS1" ]] ; then
# don't put duplicate lines in the history. See bash(1) for more options
# ... or force ignoredups and ignorespace
HISTCONTROL=ignoredups:ignorespace
@brodock
brodock / bash git branch
Created March 23, 2010 18:35
Git branch on Shell
# colocar no ~/.profile
# Git Branch
function parse_git_branch {
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1) /'
}
GREEN="\[\e[0;32m\]"
YELLOW="\[\e[0;33m\]"
NC="\[\e[0m\]"
@kevinold
kevinold / prawn_term_sheet.rb
Created October 22, 2009 19:25 — forked from mileszs/prawn_term_sheet.rb
Testing Prawn PDF generation
#!/usr/bin/ruby -w
#
# Testing Prawn PDF generation
require 'rubygems'
require 'prawn'
require 'prawn/layout'
require 'prawn/format'
class TermSheet < Prawn::Document