Skip to content

Instantly share code, notes, and snippets.

Halfway back to productivity

Dolores Portalatin meskarune

Halfway back to productivity
Block or report user

Report or block meskarune

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:d0eaa367a7a62aa6606af63173106822
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"
View gist:e16d029dd3fb10fb19333e9c06fa9c35
fc-cache -v
Font directories:

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

View irc.lua
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'))
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))
meskarune / vimrc
Created Jun 3, 2019
My Vim configuration
View vimrc
" 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"
" Colors
" True color support
if $TERM =~# 'xterm-termite\|xterm-kitty'
View gist:12c463181279e81e085da6136c8d9bce
Dark Sky, currently supported in API:
"clear-day" = "☀"
"clear-night" = "🌕" or "🌙" or "🌑"
"rain" = "🌧" or "💧"
"snow" = "🌨" or "❄"
"sleet" = "🌧" or "💧"
"wind" = "💨" or "🌬️" or "🍃"
"fog" = "🌫" or "🌁"
"cloudy" = "☁"
View poll.lua
local plugin = {}
local plugin.commands = {}
plugin.polls = {} = function (args)
-- poll open <poll name> <response1, response2, ...>
local _, _, pollid, responses = args.message:find("open%s+(%S+)%s+(.+)")
plugin.polls[#plugin.polls + 1] = { pollid = {poll_creator = args.sender, choices = {}, votes = {} } }
if responses then
View contributing.rst

Contributing to IRC Bot

Thanks for your interest in contributing to IRC Bot. What follows is a set of contribution guidelines to make contributing to this project easier.

Bugs and Feature Requests

Bug reports should contain any relevant information from the bot run with debugging set to true. Also explain what actions you took to cause the error and what you think might be the cause of the bug.

meskarune / dict.lua
Last active Mar 26, 2019
get dictionary definitions
View dict.lua
#!/usr/bin/env lua
local host, port = "", 2628
local socket = require("socket")
local tcp = assert(socket.tcp())
-- rfc:
-- list databases: SHOW DB
-- get definition: DEFINE gcide loquacious
#!/usr/bin/env bash
FG=(7 0 1 2 3 4 5 6)
BG=(0 8 1 9 2 10 3 11 4 12 5 13 6 14 7 15)
#echo " $(tput setaf 7)█$(tput bold)█ $(tput sgr0)White"
#echo " $(tput setaf 0)█$(tput bold)█ $(tput sgr0)Black"
#echo " $(tput setaf 1)█$(tput bold)█ $(tput sgr0)Red"
#echo " $(tput setaf 2)█$(tput bold)█ $(tput sgr0)Green"
#echo " $(tput setaf 3)█$(tput bold)█ $(tput sgr0)Yellow"
You can’t perform that action at this time.