defaults write -g ApplePressAndHoldEnabled -bool false
defaults write -g CGFontRenderingFontSmoothingDisabled -bool NObrew tap homebrew/cask-fonts
brew cask install font-fira-code| version: '3.6' | |
| services: | |
| traefik: | |
| image: traefik:1.6-alpine | |
| container_name: traefik | |
| restart: always | |
| ports: | |
| - 80:80 | |
| - 443:443 |
| wget https://dev.mysql.com/get/mysql-apt-config_0.8.10-1_all.deb | |
| dpkg -i mysql-apt-config_0.8.10-1_all.deb # choose OK | |
| apt-get update | |
| apt-get install mysql-client |
| const zlib = require("zlib"); | |
| const Protobuf = require("pbf"); | |
| const postgis = require("tilelive-postgis"); | |
| const tilelive = require("@mapbox/tilelive"); | |
| const VectorTile = require("@mapbox/vector-tile").VectorTile; | |
| postgis.registerProtocols(tilelive); | |
| const uri = | |
| "postgis://postgres@localhost/test?table=test&layerName=myLayer&geometry_field=geom"; |
| use std::collections::HashMap; | |
| pub trait Source<'a> { | |
| fn get_id(&self) -> &'a str; | |
| } | |
| pub type Sources<'a> = HashMap<&'a str, Source<'a>>; | |
| #[derive(Copy, Clone, Debug)] | |
| pub struct TableSource<'a> { |
postgresql.conf -> log_min_messages = debug1
postgis_config.h.in -> #define POSTGIS_DEBUG_LEVEL 1
./autogen.sh
./configure --enable-debug
make
make installgit remote add upstream [email protected]:mapbox/mapbox-gl-js.git
git fetch upstream
git rebase upstream/master| select * from pg_timezone_names where date_part('hour', (now() at time zone 'UTC') + utc_offset) = 0; |
| # -*- sh -*- vim:set ft=sh ai et ts=2 sw=2 sts=2: | |
| # It might be bash like, but I can't have my co-workers knowing I use zsh | |
| PROMPT='%{$fg[magenta]%}%n@%m:%{$fg_bold[blue]%}%2~ $(git_prompt_info)%{$reset_color%}%(!.#.$) ' | |
| ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[red]%}‹" | |
| ZSH_THEME_GIT_PROMPT_SUFFIX="›%{$reset_color%}" |