Skip to content

Instantly share code, notes, and snippets.

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

François Beaufort beaufortfrancois

🏠
Working from home
View GitHub Profile

How to download a Chrome binary for any given revision (kinda):

  1. Type in your version (something like “85.0.4173.0”) in the version information lookup field in OmahaProxy. If you don’t have the version string, this JSON lists a bunch of the most recent releases. Note that you can adjust the query parameters.
  2. Note down the resulting “Branch Base Position” (something like “778145”).
  3. Go to this page (or this one if you need more granularity), select the folder of your operating system and find the folder that has the number closest to your branch base position.

Voilá!

@nesquena
nesquena / .bash_profile
Created May 31, 2009 07:17
simple git branch ps1 with colored dirty state
# COLORS
LIGHT_GRAY="\[\033[0;37m\]"; BLUE="\[\033[1;36m\]"; RED="\[\033[0;31m\]"; LIGHT_RED="\[\033[1;31m\]";
GREEN="\[\033[0;32m\]"; WHITE="\[\033[1;37m\]"; LIGHT_GRAY="\[\033[0;37m\]"; YELLOW="\[\033[1;33m\]";
# GIT PROMPT (http://gist.github.com/120804)
function parse_git_branch {
git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ \(\1\)/';
}
function parse_git_status {
git status 2> /dev/null | sed -e '/(working directory clean)$/!d' | wc -l;
}