Skip to content

Instantly share code, notes, and snippets.

View kalimar's full-sized avatar

Kalimar Maia kalimar

View GitHub Profile
@kalimar
kalimar / keybase.md
Created July 13, 2020 19:14
Verify my keybase identity

Keybase proof

I hereby claim:

  • I am kalimar on github.
  • I am kalimar (https://keybase.io/kalimar) on keybase.
  • I have a public key whose fingerprint is 2B25 4560 7833 7EA2 EAA2 8551 FA74 098B C10D 9F32

To claim this, I am signing this object:

@kalimar
kalimar / index.html
Last active June 30, 2020 20:17
basic map
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Display a map</title>
<meta name="viewport" content="initial-scale=1,maximum-scale=1,user-scalable=no" />
<script src="https://api.mapbox.com/mapbox-gl-js/v1.11.0/mapbox-gl.js"></script>
<link href="https://api.mapbox.com/mapbox-gl-js/v1.11.0/mapbox-gl.css" rel="stylesheet" />
<style>
body { margin: 0; padding: 0; }
@kalimar
kalimar / index.html
Created March 20, 2020 15:31 — forked from lemwerks/index.html
Austin Heatmaps
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Under Armour Runs + Rides Heatmaps</title>
<meta name="viewport" content="initial-scale=1,maximum-scale=1,user-scalable=no" />
<script src="https://api.mapbox.com/mapbox-gl-js/v1.8.1/mapbox-gl.js"></script>
<link href="https://api.mapbox.com/mapbox-gl-js/v1.8.1/mapbox-gl.css" rel="stylesheet" />
<style>
@kalimar
kalimar / starbucks_us_locations.csv
Created August 27, 2019 20:01 — forked from dankohn/starbucks_us_locations.csv
8902 locations of US Starbucks with addresses, latitude, and longitude
We can't make this file beautiful and searchable because it's too large.
-149.8935557,61.21759217,Starbucks - AK - Anchorage 00001,"601 West Street_601 West 5th Avenue_Anchorage, Alaska 99501_907-277-2477"
-149.9054948,61.19533942,Starbucks - AK - Anchorage 00002,"Carrs-Anchorage #1805_1650 W Northern Lights Blvd_Anchorage, Alaska 99503_907-339-0500"
-149.7522,61.2297,Starbucks - AK - Anchorage 00003,"Elmendorf AFB_Bldg 5800 Westover Avenue_Anchorage, Alaska 99506"
-149.8643361,61.19525062,Starbucks - AK - Anchorage 00004,"Fred Meyer - Anchorage #11_1000 E Northern Lights Blvd_Anchorage, Alaska 995084283_907-264-9600"
-149.8379726,61.13751355,Starbucks - AK - Anchorage 00005,"Fred Meyer - Anchorage #656_2300 Abbott Road_Anchorage, Alaska 99507_907-365-2000"
-149.9092788,61.13994658,Starbucks - AK - Anchorage 00006,"Fred Meyer - Anchorage (Dimond) #71_2000 W Dimond Blvd_Anchorage, Alaska 995151400_907-267-6700"
-149.7364877,61.19533265,Starbucks - AK - Anchorage 00007,"Safeway-Anchorage #1817_7731 E Northern Lights Blvd_Anchorage, Alaska 99504_907-331-1700"
-149.8211,61.2156
@kalimar
kalimar / rails-notes.md
Last active August 24, 2019 02:38
Notes during Rails only dev environment

Made sure local ruby version is 2.5.1 Ran bundle install unsuccessfully. Error Message:

An error occurred while installing mysql2 (0.5.2), and Bundler cannot continue.
Make sure that `gem install mysql2 -v '0.5.2' --source 'https://rubygems.org/'` succeeds before bundling.

Updated bundler with gem install bundler to 2.0.2

bundle --version shows 1.16.4

Layout

Keymap 0: Basic layer

,--------------------------------------------------.           ,--------------------------------------------------.
|   `    |   1  |   2  |   3  |   4  |   5  |  6   |           |  7   |   8  |   9  |   0  |   -  |   =  |        |
|--------+------+------+------+------+-------------|           |------+------+------+------+------+------+--------|
| TAB    |   Q  |   W  |   E  |   R  |   T  |      |           |      |   Y  |   U  |   I  |   O  |   P  |   \    |
|--------+------+------+------+------+------|  VIM |           | VIM  |------+------+------+------+------+--------|
|Esc/ctrl|   A  |   S  |   D  |   F  |   G  |------|           |------|   H  |   J  |   K  |   L  |   ;  |   '    |
MMMMMMMMMMxxxxxxxxxxxxxxxxxnxxxxxxxxxxxxxnxxxxxxMMMMMMMMMMMWWWWWWMWWWWWWMMMMMMWWWWWWWWWWWWWWW@W@@@@@@@@@@@@@@@@@@@@@@#@@@###@#########################
MMMMMMMMxxxxxxxnnnxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxMMxMMMMMWWWWWWWWW@@@WWWWWWWWWWW@@@@@@@@@@@WWWWW@@@@@@@@@@@@@@@@@@@@@@@@#############################
MMMMMMMxxxxxxnnnnnxxxxxxxxxxxxxxnnxxxxxxxxxxxxxxxxxxxxMMMx::;;izWn::::#W+:::*@+:::::*#::ni::MWWWW@@@@@@@@@@@@@@@@@@@@@@@##@@##########################
MMMMMxxxxxxxnnnnnnxxxxxxxxxxxxxnnnnnnnxxxxxxxxxxxxxxxxxxxx zz *@: ,@; :i z, MWWWWWWW@W@@@@@@@@@@@@@@@@@@@@@@@#########################
MMMxMxxxxxxnnnnnnnnnnnnxxxnnnnnnnnnnnnnnnxxnxxnnxxxxxxxxxx .* iz ,*z@` `Wz*` *#i z, MWWWWWWW@WW@@@@@@@@@@@@@@@@@@@@@@#########################
MMxxxxxxxxxxnxxnnnnnnnnxnnnnnnnnnnnnnnnnnnnxnnxxxxxxxxxxxx ,n iz iWMW` . MM@` `WWi z, MWWWWWWWWWWWWWW@WW@@@@@@@@@@@@@@@@@@@@####################
xxxxxxxxxxnxxxxxnnnnnnnnnnnnnnnnnnnnnnnnnnnnnxxxxxxxxxxxxx ,n ;z ;xMx ; zMW` `MWi ,` MWWWWWWWWWWWWWWWWW@@@@@@@@
@kalimar
kalimar / git_aliases
Created September 29, 2016 13:38
My favorite git commands
alias glg='git log --color --graph --pretty=format:"%h %C(yellow)%d%Creset %ar%n%C(cyan)%s%Creset %an%n"'
alias gl='git log --topo-order --pretty=format:"${_git_log_medium_format}"'
alias gia='git add'
alias gmC='git merge --no-commit'
alias "gh"="git for-each-ref --count=30 --sort=-committerdate refs/heads/ --format='%(refname:short)' | more"
  1. test
    How does this look
  2. foo I think it might work
@kalimar
kalimar / iterm2Badges.md
Last active June 30, 2022 13:27
How to add a badge to iterm2 on Zsh

Custom Badges in iTerm2

iTerm2 - the popular terminal emulator for OSX has added some really neat features. One of those, is badges. From the documentation: A badge is a large text label that appears in the top right of a terminal session to provide dynamic status, such as the current host name or git branch.

I had some trouble figuring out how to build a badge so I wanted to share a quick walk-through. Thanks to Chris Mar for teaching me.

Install shell integrations on iTerm.

Easy enough - it's an option on the dropdown menu