Skip to content

Instantly share code, notes, and snippets.

View Strykar's full-sized avatar
:electron:
pkt_label

Avinash H. Duduskar Strykar

:electron:
pkt_label
View GitHub Profile
@Strykar
Strykar / Ucenter_Ublox-Linux
Created July 1, 2020 04:49
Connect to your Ublox GPS on a Linux machine from Ucenter on Windows.
socat -v /dev/cuaU0,ispeed=115200,ospeed=115200,echo=0,raw TCP4-LISTEN:1234,reuseaddr,nodelay
#!/usr/bin/env python
# coding=utf-8
#
# Python Script
#
# Copyleft © Manoel Vilela
#
#
from argparse import ArgumentParser
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
insmod part_gpt
insmod part_msdos

Keybase proof

I hereby claim:

  • I am Strykar on github.
  • I am strykar (https://keybase.io/strykar) on keybase.
  • I have a public key whose fingerprint is EA0E A7D8 75BB 7760 4FFA 4040 44AE C75A 17CB 3085

To claim this, I am signing this object:

IgnorePath '/etc/ld.so.cache' # "File containing an ordered list of libraries found in the directories specified in /etc/ld.so.conf, as well as those found in the trusted directories."
IgnorePath '/usr/share/info/dir'
IgnorePath '/var/lib/logrotate.status'
IgnorePath '/var/lib/upower/history-*.dat'
IgnorePath '/etc/udev/hwdb.bin' # https://www.freedesktop.org/software/systemd/man/hwdb.html
IgnorePath '/usr/lib/udev/hwdb.bin' # https://www.freedesktop.org/software/systemd/man/hwdb.html
IgnorePath '/usr/lib/locale/locale-archive'
IgnorePath '/etc/gconf/gconf.xml.defaults/%gconf-tree.xml'
IgnorePath '/var/lib/systemd/catalog/database' # Message catalog cache
IgnorePath '/var/lib/systemd/coredump/core.*.lz4' # Core dumps
# This will probably be need to run again after setting up weechat and restarting it.
/buffer_autoset add core.weechat notify 3
/buffer_autoset add irc.server.* notify 3
/buffer_autoset add relay.relay.list short_name relay
/buffer_autoset add core.weechat localvar_set_my_control 1
/buffer_autoset add core.highmon localvar_set_my_control 1
/buffer_autoset add core.chanmon localvar_set_my_control 1
/buffer_autoset add irc.freenode.##news localvar_set_my_control 1
/buffer_autoset add irc.freenode.##news short_name news
@Strykar
Strykar / weechat_servers
Last active December 7, 2019 12:50
weechat IRC server list - update hostnames/passwords as required
# Get SSL fingerprint: cat ~/.znc/znc.pem | openssl x509 -sha512 -fingerprint -noout | tr -d ':' | tr 'A-Z' 'a-z' | cut -d = -f 2
# Install (wee-slack - https://github.com/wee-slack/wee-slack)
# Goto https://my.slack.com/home - search for 'xoxs' in the page source for the Slack token (Assuming API/legacy tokens are disabled)
# For multiple teams /set plugins.var.python.slack.slack_api_token [token1],[token2],[token3]
# Use lowercase names for everything
/secure passphrase <pass>
/secure set slack_token <xoxs-token>
/set plugins.var.python.slack.slack_api_token ${sec.data.slack_token}
@Strykar
Strykar / weechat_conf1
Last active December 17, 2019 03:21
weechat config part 1 based off https://gist.github.com/pascalpoitras/8406501
/mouse enable
/set irc.server_default.capabilities account-notify,away-notify,cap-notify,multi-prefix,server-time,znc.in/server-time-iso,znc.in/self-message
/set weechat.plugin.autoload "*,!guile,!javascript,!lua,!php,!tcl,!perl,!fifo,!xfer,!charset,!ruby"
/set spell.check.default_dict en,fr
/set spell.check.suggestions 3
/set spell.color.suggestion *green
/spell enable
/trigger add setdict signal irc_channel_opened;irc_pv_opened;irc_server_opened
/trigger set setdict conditions "(${buffer[${tg_signal_data}].full_name} =* irc.undernet.* || (${buffer[${tg_signal_data}].full_name} =~ fr$ && ${buffer[${tg_signal_data}].local_variables.type} == channel)) && ${info:spell_dict,${buffer[${tg_signal_data}].full_name}} !~ ^fr"
/trigger set setdict command "/command -buffer ${buffer[${tg_signal_data}].full_name} * /mute /spell setdict fr,en"
@Strykar
Strykar / myweechat.md
Last active December 22, 2025 14:22 — forked from pascalpoitras/1.md
My always up-to-date WeeChat configuration (weechat-dev)

WeeChat Screenshot

Add 4 pane layout

/window merge all
/eval /window splith ${calc:8 / ${window[gui_current_window].win_height} * 100 // 1}
/buffer add -switch highmon
/window splitv 40
/buffer ##news
/window splitv 75

/buffer exec.conky

@Strykar
Strykar / kitty.conf
Last active November 22, 2019 08:06
Kitty terminal config
#font_family Fira Code
#bold_font Pragmata Pro Mono Bold
#italic_font Pragmata Pro Mono Italic
#bold_italic_font Pragmata Pro Mono Bold Italic
#font_size 14.0
#font_family Victor Mono
#bold_font Victor Mono Bold
#italic_font Victor Mono SemiBold Oblique
#bold_italic_font Victor Mono Bold Italic