Skip to content

Instantly share code, notes, and snippets.

View DanielStefanK's full-sized avatar
✌️
hi

Daniel Stefan Klose DanielStefanK

✌️
hi
  • Dortmund, Germany
View GitHub Profile
/**
* 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
}
//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;
export ZSH="/Users/danielklose/.oh-my-zsh"
ZSH_THEME="bira"
plugins=(
git
nvm
colorize
cp
# 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