Skip to content

Instantly share code, notes, and snippets.

Julian Andres Guarin Reyes julianguarinautoformax

Block or report user

Report or block julianguarinautoformax

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
julianguarinautoformax /
Created Mar 31, 2017
Git: Check files under git version control (the actual ones)
#This one is for the ones actually being tracked by git.
git ls-tree -r master --name-only
#If you want a list of files that ever existed (i.e. including deleted files):
git log --pretty=format: --name-only --diff-filter=A | sort - | sed '/^$/d'
julianguarinautoformax / qdirsample.cpp
Last active Feb 25, 2017
QDir & QFileInfo information
View qdirsample.cpp
/* QFileInfo:
* QDir:
#include <QCoreApplication>
#include <QDebug>
#include <QDir>
#include <QFile>
View Free Code Camp HMTL & CSS Intro
<link href="" rel="stylesheet" type="text/css">
.red-text {
color: red;
h2 {
font-family: Lobster, Monospace;
julianguarinautoformax / gist:c15bd28fcf8a3626cb806a59873c3c67
Last active May 24, 2017
Add branch name to your command line in bash terminal.
View gist:c15bd28fcf8a3626cb806a59873c3c67
parse_git_branch() {
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/'
export PS1="\u@\h \[\033[32m\]\w\[\033[33m\]\$(parse_git_branch)\[\033[00m\] $ "
You can’t perform that action at this time.