openpgp4fpr:e6b26a59ad3bd80da22cf54baffc8a6894648b15
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
# Author: lavaramano <lavaramano AT gmail DOT com> | |
# Improved by: BaSh - <bash.lnx AT gmail DOT com> | |
# Ported to Weechat 0.3.0 by: Sharn - <sharntehnub AT gmail DOT com) | |
# This Plugin Calls the libnotify bindings via python when somebody says your nickname, sends you a query, etc. | |
# To make it work, you may need to download: python-notify2 (and libnotify - libgtk) | |
# Requires Weechat 0.3.0 | |
# Released under GNU GPL v2 | |
# 2023-01-25, Karol Będkowski | |
# migratr to pynotifier, support weechat-matrix; filter old messages; change script name |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Simple HTTPS server for verifying client connections. | |
package main | |
import ( | |
"crypto/tls" | |
"crypto/x509" | |
"crypto/x509/pkix" | |
"flag" | |
"fmt" | |
"io/ioutil" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set nocompatible | |
syntax on | |
filetype plugin indent on | |
set wildmenu | |
set autoindent | |
"set number | |
set backspace=indent,eol,start | |
set ruler | |
set ignorecase | |
set smartcase |
I hereby claim:
- I am KarolBedkowski on github.
- I am kbedkowski (https://keybase.io/kbedkowski) on keybase.
- I have a public key whose fingerprint is F252 8619 C236 5532 FF47 929A 1DA3 2734 B3B7 0625
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import csv | |
from xml.etree import ElementTree | |
from petl import tocsv, fromcsv, convertall | |
def tocsvunicode(table, filename, encoding='utf-8', **kwds): | |
data = (map(lambda x: unicode(x).encode(encoding), row) for row in table) | |
tocsv(data, filename, **kwds) | |
def fromcsvunicode(source=None, dialect=csv.excel, encoding='utf-8', **kwargs): | |
table = fromcsv(source, dialect, **kwargs) |