This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Script for scriptable to get the current capacity of FitX Gyms | |
*/ | |
let gymId = 1265369 | |
let api = "https://fitx-proxy.daniel-stefan.dev/api/utilization/" | |
let param = args.widgetParameter | |
if (param != null && param.length > 0) { | |
gymId = param | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Can be obtained here https://fitx-proxy.daniel-stefan.dev/ | |
let studioId = 1266927; | |
// Proxy for the utilization api | |
let proxyUrl = "https://fitx-proxy.daniel-stefan.dev/api/utilization/" | |
let param = args.widgetParameter; | |
if (param != null && param.length > 0) { | |
studioId = param; | |
} | |
const contextSize = 282; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export ZSH="/Users/danielklose/.oh-my-zsh" | |
ZSH_THEME="bira" | |
plugins=( | |
git | |
nvm | |
colorize | |
cp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# remap prefix from 'C-b' to 'C-a' | |
unbind C-b | |
set-option -g prefix C-a | |
bind-key C-a send-prefix | |
# switch panes using Alt-arrow without prefix | |
bind -n M-Left select-pane -L | |
bind -n M-Right select-pane -R | |
bind -n M-Up select-pane -U | |
bind -n M-Down select-pane -D |