Skip to content

Instantly share code, notes, and snippets.

# /Users/oki/.config/tmuxinator/tb.yml
name: tb
root: ~/dev/work/tachobus
# Optional tmux socket
# socket_name: foo
# Note that the pre and post options have been deprecated and will be replaced by
# project hooks.
[font]
# normal = { family = "Monaco", style = "Regular" }
# normal = { family = "Monooki", style = "Regular" }
# normal = { family = "JetBrains Mono", style = "Regular" }
# normal = { family = "CommitMono Nerd Font Propo", style = "Regular" }
# normal = { family = "CommitMono Nerd Font Mono", style = "Regular" }
normal = { family = "CommitMono Nerd Font", style = "Regular" }
size = 14
# unbind C-b
# set -g prefix C-a
set -g default-terminal "tmux-256color"
set -ag terminal-overrides ",xterm-256color:RGB"
unbind r
bind r source-file ~/.tmux.conf
# set -g prefix C-s
#!/bin/bash
#
# This file echoes a bunch of 24-bit color codes
# to the terminal to demonstrate its functionality.
# The foreground escape sequence is ^[38;2;<r>;<g>;<b>m
# The background escape sequence is ^[48;2;<r>;<g>;<b>m
# <r> <g> <b> range from 0 to 255 inclusive.
# The escape sequence ^[0m returns output to default
setBackgroundColor()
Data for: https://wiki.teltonika-gps.com/view/FMC920_Teltonika_Data_Sending_Parameters_ID
239 => "ignition",
240 => "movement",
80 => "data_mode",
21 => "gsm_signal",
200 => "sleep_mode",
69 => "gnss_status",
181 => "gnss_pdop",
182 => "gnss_hdop",
66 => "external_voltage",
work|⇒ git clone git@github.com:legal-telematics/frontend.git
Cloning into 'frontend'...
remote: Enumerating objects: 79, done.
remote: Counting objects: 100% (79/79), done.
remote: Compressing objects: 100% (53/53), done.
remote: Total 79 (delta 18), reused 70 (delta 12), pack-reused 0 (from 0)
Receiving objects: 100% (79/79), 135.46 KiB | 700.00 KiB/s, done.
Resolving deltas: 100% (18/18), done.
work|⇒ cd frontend
frontend|master ⇒ ls
import = [ "~/.config/alacritty/themes/themes/campbell.toml" ]
[font]
# normal = { family = "Monaco", style = "Regular" }
# normal = { family = "Monooki", style = "Regular" }
# normal = { family = "JetBrains Mono", style = "Regular" }
# normal = { family = "CommitMono Nerd Font Propo", style = "Regular" }
# normal = { family = "CommitMono Nerd Font Mono", style = "Regular" }
normal = { family = "CommitMono Nerd Font", style = "Regular" }
[alias]
ci = commit
co = checkout
st = status
d = diff
lp = log -p
l = log --abbrev-commit
pr = pull --rebase
po = push origin
pp = push production
@oki
oki / fix
Last active November 9, 2023 09:22
tb-devops|master⚡ ⇒ brew remove ansible
Uninstalling /opt/homebrew/Cellar/ansible/8.6.0_1... (30,291 files, 445.5MB)
tb-devops|master⚡ ⇒ brew install ansible.rb
Error: Failed to load cask: ansible.rb
Cask 'ansible' is unreadable: wrong constant name #<Class:0x0000000132b16e70>
Warning: Treating ansible.rb as a formula.
==> Downloading https://ghcr.io/v2/homebrew/core/ansible/manifests/8.5.0_1
Already downloaded: /Users/oki/Library/Caches/Homebrew/downloads/7883d6116327f8dbacc0433a06e78abbc1e858c60e6612bd0f81619a198f26fb--ansible-8.5.0_1.bottle_manifest.json
==> Fetching ansible
⇒ dig communication.etoll.gov.pl +trace
; <<>> DiG 9.10.6 <<>> communication.etoll.gov.pl +trace
;; global options: +cmd
. 40354 IN NS a.root-servers.net.
. 40354 IN NS f.root-servers.net.
. 40354 IN NS h.root-servers.net.
. 40354 IN NS b.root-servers.net.
. 40354 IN NS k.root-servers.net.
. 40354 IN NS j.root-servers.net.