--disable-sync
Disables syncing browser data to a Google Account.
--disable-sync-types
| #!/usr/bin/env perl | |
| use strict; | |
| use warnings; | |
| use feature qw(say); | |
| my $outfile = 'zeitgeist.txt'; | |
| open(my $fh, '>', $outfile) or die "Cannot create $outfile, $!\n"; |
| #!/bin/env zsh | |
| mkdir -p chrome-crx | |
| id=$1 | |
| downloadUrl="https://clients2.google.com/service/update2/crx?response=redirect&prodversion=56.0&x=id%3D$id%26installsource%3Dondemand%26lang%3Den-US%26uc" | |
| if [ ! -f "chrome-crx/$id.crx" ]; then | |
| curl -Lso "chrome-crx/$id.crx" "$downloadUrl" | |
| fi |
| #!/usr/bin/env perl | |
| use strict; | |
| use warnings; | |
| use feature qw(say); | |
| use Text::CSV; | |
| my $csv = Text::CSV->new({ sep_char => ',' }); | |
| my $outfile = 'resolvers.csv'; |
| #!/usr/bin/env zsh | |
| # | |
| # https://adamheins.com/blog/ctrl-p-in-the-terminal-with-fzf | |
| # This is the same functionality as fzf's ctrl-t, except that the file or | |
| # directory selected is now automatically cd'ed or opened, respectively. | |
| fzf-edit-file-or-open-dir() { | |
| local out key file helpline | |
| helpline="Ctrl-f to open in Finder | uses ag -g\"\" respecting .ignore" | |
| IFS=$'\n' out=($(ag -g "" | fzf --header="$helpline" --exit-0 --expect=ctrl-f)) |
| # | |
| # For a full list of active aliases, run `alias`. | |
| # | |
| # virtualenv | |
| # lazy loading saves on shell startup time | |
| workon() { | |
| [ -z "$WORKON_HOME" ] && { | |
| unset -f workon | |
| export WORKON_HOME=$HOME/.virtualenvs | |
| export PROJECT_HOME=$HOME/Documents/Python |
| # homebrew configuration | |
| export HOMEBREW_INSTALL_BADGE="☕️ " | |
| # | |
| # https://iterm2.com/shell_integration.html | |
| source ${HOME}/.iterm2_shell_integration.zsh | |
| # z is the new j (installed from brew) | |
| source "$(brew --prefix)/etc/profile.d/z.sh" | |
| # Fuzzy search - fzf & Co | |
| # Ctrl-R - command history | |
| # Ctrl-T - files - full paths |
| # LOCALE SETTINGS | |
| export LANG=en_US.UTF-8 | |
| export LC_CTYPE=en_US.UTF-8 | |
| # LC_ALL overwrites all other variables | |
| export LC_ALL=en_US.UTF-8 | |
| # PATH | |
| # http://stackoverflow.com/questions/6555751/ | |
| # system-wide environment settings for zsh(1) | |
| # if [ -x /usr/libexec/path_helper ]; then | |
| # eval `/usr/libexec/path_helper -s` |
| " Only MacVim-related options here | |
| " | |
| :cd ~/Documents | |
| " | |
| " start in fullscreen mode | |
| " set fu | |
| set columns=80 | |
| set lines=42 | |
| set guifont=Hack:h14 | |
| " set guifont=Space\ Mono:h14 |
| " :set spelllang=pl,en | |
| " :set spell | |
| " ---- Color scheme ---- | |
| " in .gvimrc for MacVim | |
| let g:seoul256_background = 235 | |
| colo seoul256 | |
| " Make Vim more useful | |
| " Enable syntax highlighting | |
| " syntax on will overrule commands like :highlight | |
| " but syntax enable not - see docs |