Skip to content

Instantly share code, notes, and snippets.

View josemotanet's full-sized avatar

José Mota josemotanet

View GitHub Profile
@brammitch
brammitch / arch_install.sh
Last active April 3, 2024 16:30
Install Arch Linux on Dell XPS 13 (9360) / Dual Boot with Windows 10
# Resources
https://wiki.archlinux.org/index.php/installation_guide
http://www.bhartiya.io/always-updated-arch-linux-tutorial/30411
https://wiki.archlinux.org/index.php/Dell_XPS_13_(9360)
http://www.rodsbooks.com/gdisk/cgdisk-walkthrough.html
# TO-DO
# Set up periodic TRIM for SSD
# 1 Pre-installation
@dabrahams
dabrahams / gist:3030332
Created July 2, 2012 01:10
My new, simpler offlineimap configuration
# -*- mode: conf; -*-
#
# NOTE: Settings generally support python interpolation. This means
# values can contain python format strings which refer to other values
# in the same section, or values in a special DEFAULT section. This
# allows you for example to use common settings for multiple accounts:
#
# [Repository Gmail1]
# trashfolder: %(gmailtrashfolder)s
#
@darcyparker
darcyparker / vimModeStateDiagram.svg
Last active June 10, 2025 18:46
Vim Modes Transition Diagram in SVG https://rawgithub.com/darcyparker/1886716/raw/eab57dfe784f016085251771d65a75a471ca22d4/vimModeStateDiagram.svg Note, most of the nodes in this graph have clickable hyperlinks to documentation.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@justintv
justintv / .bashrc
Created August 17, 2009 00:53
Display git branch in bash prompt
# If you work with git, you've probably had that nagging sensation of not knowing what branch you are on. Worry no longer!
export PS1="\\w:\$(git branch 2>/dev/null | grep '^*' | colrm 1 2)\$ "
# This will change your prompt to display not only your working directory but also your current git branch, if you have one. Pretty nifty!
# ~/code/web:beta_directory$ git checkout master
# Switched to branch "master"
# ~/code/web:master$ git checkout beta_directory
# Switched to branch "beta_directory"