Skip to content

Instantly share code, notes, and snippets.

View meskarune's full-sized avatar
Halfway back to productivity

Dolores Portalatin meskarune

Halfway back to productivity
View GitHub Profile
@meskarune
meskarune / plants.md
Last active July 23, 2023 20:39
Plant Wish List

Orchids

  • Monnierara Millennium Magic 'Witchcraft'
  • Dendrobium pseudo equitans
  • Dendrobium Blue Happiness
  • Dendrobium blue twinkle
  • Aerangis fastuosa
  • Vanilla - own
  • Ludisia Discolor - own
  • Brassavola nodosa (species) or Brassavola little stars (more vigorous hybrid)

Option 1 - INI file:

[time]
; timezone in TZ https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
timezone = Europe/Helsinki

[F4:65:A0:A6:D9:71]
name = one
location = bedroom
CREATE TABLE IF NOT EXISTS Sensors (
MAC_Address INT PRIMARY KEY NOT NULL,
Name TEXT NOT NULL,
Location TEXT NOT NULL);
CREATE TABLE IF NOT EXISTS Readings (
MAC_Address INT NOT NULL references sensors (MAC_Address),
Tempurature REAL NOT NULL,
Humidity REAL NOT NULL,
Pressure REAL NOT NULL,
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import logging
from bleson import get_provider, Observer, logger
#import sqlite3
import datetime
import pytz
import threading
LiberationMono-Regular.ttf: "Liberation Mono" "Regular"
PowerlineSymbols.otf: "PowerlineSymbols" "Medium"
LiberationMono-Bold.ttf: "Liberation Mono" "Bold"
LiberationMono-Italic.ttf: "Liberation Mono" "Italic"
LiberationMono-BoldItalic.ttf: "Liberation Mono" "Bold Italic"
Fura Code Regular Nerd Font Complete Mono.otf: "FuraCode Nerd Font Mono" "Regular"
Fura Code Regular Nerd Font Complete Mono.ttf: "FuraCode Nerd Font Mono" "Regular"
Fura Code Retina Nerd Font Complete Mono.otf: "FuraCode Nerd Font Mono" "Retina"
Fura Code Retina Nerd Font Complete Mono.ttf: "FuraCode Nerd Font Mono" "Retina"
Fura Code Medium Nerd Font Complete Mono.otf: "FuraCode Nerd Font Mono" "Medium"
fc-cache -v
Font directories:
/usr/share/fonts
/usr/local/share/fonts
/home/meskarune/.local/share/fonts
/home/meskarune/.fonts
/usr/share/fonts/100dpi
/usr/share/fonts/75dpi
/usr/share/fonts/OTF
/usr/share/fonts/OpenImageIO

Pull the lock up at 0

turn until it clicks

write down numbers, 12 in total

7 have .5 - they stop between whole numbers, they are decoys

5 are whole numbers

irc.conn = function (irc_config)
-- the config would need irc_config.authtype, for now I'll set it for testing
-- this could be one of nicksserve, sasl or none
local authtype = 'sasl'
if authtype == 'sasl' then
irc.connection:send(('CAP REQ :sasl\r\n'))
end
irc.connection:send(('NICK %s\r\n'):format(irc_config.handle))
irc.connection:send(('USER %s * 8 :%s\r\n'):format(irc_config.ident, irc_config.gecos))
end
@meskarune
meskarune / vimrc
Created June 3, 2019 22:39
My Vim configuration
" Vim defaults rather than vi ones. Keep at top.
set nocompatible
" set Vim-specific sequences for RGB colors - needed with tmux
if &term =~# 'tmux\|tmux-256color'
let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum"
let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum"
endif
" Colors
" True color support
if $TERM =~# 'xterm-termite\|xterm-kitty'
Dark Sky, currently supported in API:
"clear-day" = "☀"
"clear-night" = "🌕" or "🌙" or "🌑"
"rain" = "🌧" or "💧"
"snow" = "🌨" or "❄"
"sleet" = "🌧" or "💧"
"wind" = "💨" or "🌬️" or "🍃"
"fog" = "🌫" or "🌁"
"cloudy" = "☁"