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 / github.md
Created March 25, 2019 18:43
git repo syncing

git remote add upstream https://github.com//.git

git fetch upstream

git checkout master

git merge upstream/master

git push

@shenghaoyang
shenghaoyang / blueEnable_ALARM_non_mainline.md
Last active October 3, 2024 20:32
Bluetooth support on Raspberry Pis running Arch Linux ARM with non-mainline kernel.

#1 Update: Recent Rapsberry Pi (downstream) kernel dt-overlays now exposes a config option "krnbt" that negates the need for all this.

Relevant PRs: raspberrypi/linux#3682

Enabling bluetooth

[Pi 3B (Non-Plus) / Pi Zero W ONLY]

As of kernel package, linux-raspberrypi-4.14.59-1, support for notifying the kernel of the

@meskarune
meskarune / ansiseq.txt
Created March 13, 2018 03:22
list of ansi escape sequences
╔══════════╦════════════════════════════════╦═════════════════════════════════════════════════════════════════════════╗
║ Code ║ Effect ║ Note ║
╠══════════╬════════════════════════════════╬═════════════════════════════════════════════════════════════════════════╣
║ 0 ║ Reset / Normal ║ all attributes off ║
║ 1 ║ Bold or increased intensity ║ ║
║ 2 ║ Faint (decreased intensity) ║ Not widely supported. ║
║ 3 ║ Italic ║ Not widely supported. Sometimes treated as inverse. ║
║ 4 ║ Underline ║ ║
║ 5 ║ Slow Blink ║ less than 150 per
@timvisee
timvisee / falsehoods-programming-time-list.md
Last active April 24, 2025 23:38
Falsehoods programmers believe about time, in a single list

Falsehoods programmers believe about time

This is a compiled list of falsehoods programmers tend to believe about working with time.

Don't re-invent a date time library yourself. If you think you understand everything about time, you're probably doing it wrong.

Falsehoods

  • There are always 24 hours in a day.
  • February is always 28 days long.
  • Any 24-hour period will always begin and end in the same day (or week, or month).
@meskarune
meskarune / weechat-relay-info.lua
Last active August 11, 2018 12:01
get version info from weechat relay
#!/usr/bin/lua
-- libraries: lua-socket, lua-sec, lua-argparse
-- weechat relay documentation: https://weechat.org/files/doc/stable/weechat_relay_protocol.en.html
local socket = require("socket")
local ssl = require("ssl")
local argparse = require "argparse"
-- Setup CLI options - docs: https://argparse.readthedocs.io/en/stable/index.html
local parser = argparse() {
name = "Weechat relay info",
@Rishabh04-02
Rishabh04-02 / myweechat.md
Created May 3, 2017 21:22 — forked from pascalpoitras/1.md
My always up-to-date WeeChat configuration (weechat-dev)

WeeChat Screenshot

Enable mouse support

/mouse enable

Encrypted password in sec.conf

Jelly Beans Terminal Color Theme

https://ptpb.pw/qUwt.png

Terminal Colors

@ornicar
ornicar / bgs
Created February 11, 2017 10:07
https://9to5mac.files.wordp2/galaxy.jpg
http://lichess1.org/assets/images/background/
http://www.uncalke.com/i/darth-maul-wallpaper-background.jpg
https://wallpapers.wallhaven.cc/wallpapers/full/wallhaven-95299.jpg
http://lichess1.org/assets/images/background/landscape.jpg
http://wallpaper-gallery.net/image.php?pic=/images/purple-images/purple-images-19.jpg
http://i.imgur.com/gq3khFg.png
http://lichess1.org/assets/images/background/wood.jpg
http://wallpapers.wallhaven.cc/wallpapers/full/wallhaven-229265.jpg
http://wallpapercave.com/wp/8ltWi0l.jpg
@cryzed
cryzed / fix-infinality.md
Last active March 20, 2025 13:16
A set of instructions on how to fix the harfbuzz + Infinality issue and restoring good-looking, Infinality-like font rendering.

Disclaimer: Please follow this guide being aware of the fact that I'm not an expert regarding the things outlined below, however I made my best attempt. A few people in IRC confirmed it worked for them and the results looked acceptable.

Attention: After following all the steps run gdk-pixbuf-query-loaders --update-cache as root, this prevents various gdk-related bugs that have been reported in the last few hours. Symptoms are varied, and for Cinnamon the DE fails to start entirely while for XFCE the icon theme seemingly can't be changed anymore etc.

Check the gist's comments for any further tips and instructions, especially if you are running into problems!

Screenshots

Results after following the guide as of 11.01.2017 13:08: