Recent Posts
Tmux Setup
Tmux cheat sheet Ctrl-b c Ctrl-b n Ctrl-b p iTerm2 Tmux Copy and Paste Option - Select with Mouse Paste should then work as normal Tmux config # mouse set -g mouse on # sane scrolling: bind -n WheelUpPane if-shell -F -t = "#{mouse_any_flag}" "send-keys -M" "if -Ft= '#{pane_in_mode}' 'send-keys -M' 'copy-mode -e; send-keys -M'" set-option -g status-interval 5 set-option -g automatic-rename on set-option -g automatic-rename-format '#{b:pane_current_path}' # theme tmux_conf_theme_left_separator_main='\uE0B0' tmux_conf_theme_left_separator_sub='\uE0B1' tmux_conf_theme_right_separator_main='\uE0B2' tmux_conf_theme_right_separator_sub='\uE0B3' # icons set -g @tmux_power_date_icon ' ' # set it to a blank will disable the icon set -g @tmux_power_time_icon '🕘' # emoji can be used if your terminal supports set -g @tmux_power_user_icon ' ' set -g @tmux_power_session_icon 'S' set -g @tmux_power_upload_speed_icon '↑' set -g @tmux_power_download_speed_icon '↓' set -g @tmux_power_left_arrow_icon '' set -g @tmux_power_right_arrow_icon '' # List of plugins set -g @plugin 'tmux-plugins/tpm' set -g @plugin 'wfxr/tmux-power' set -g @tmux_power_theme 'snow' set -g @plugin 'seebi/tmux-colors-solarized' set -g @colors-solarized 'dark' # Resurrect set -g @plugin 'tmux-plugins/tmux-resurrect' # Initialize TMUX plugin manager (keep this line at the very bottom of tmux.
read more
Google Takeout Map
Use this script to transform places to visit from semantic location history.
https://takeout.google.com Select Maps data Once the exported data is available download the zip. Extract the zip and provide the path to the json for the time range of choice. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 import json from geojson import Point from geojson import LineString from geojson import FeatureCollection from geojson import Feature points = [] with open("Location History/Semantic Location History/2021/2021_DECEMBER.
read more
Unicode and Character Sets
Overview History of Unicode spans multiple versions, but the latest and most popular is UTF-8. UTF-16 is the only web-encoding incompatible with ASCII, and never gained popularity on the web, where it is used by under 0.005% (less than 1 hundredth of 1 percent) of web pages. UTF-8, by comparison, is used by 97% of all web pages. UTF-8 is compatible with ASCII so it’s the same for the first 128 characters.
read more