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
# See https://github.com/GermainZ/kitty-weechat-hints |
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
diff --git a/README.md b/README.md | |
index cce0d81..7a9e5bb 100644 | |
--- a/README.md | |
+++ b/README.md | |
@@ -72,9 +72,11 @@ default, and can be shown to display line numbers next to the chat window | |
(Depending on your configuration, you may need to adjust some of its settings | |
for it to be displayed correctly, but the defaults should suit most users.) | |
-It is useful for `:<num>` commands, which will start WeeChat's cursor mode and | |
+It is useful for `:{num}` commands, which will start WeeChat's cursor mode and |
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
#!/usr/bin/zsh | |
# Shell script to recolor a wallpaper using for a specific colorscheme (e.g. | |
# can be used to recolor wallpapers to go with certain terminal colorschemes). | |
# Works best for minimalistic wallpapers. | |
# | |
# Usage: `./recolor.sh path_to_wallpaper` | |
# Recolored wallpaper will be saved as `path_to_wallpaper.recolored`. | |
# The colors to use (in hexadecimal format). Modify to your liking. | |
declare -a hexes=("1d2021", "ebdbb2", "282828", "928374", "cc241d", "fb4934", \ |
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
'''Print info of matched game for Steam searches in input (".steam <query>"). | |
Dependencies | |
============ | |
- `python-requests <http://python-requests.org>`_ | |
Usage: | |
====== |
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
'''Print game info for any Steam URLs in input. | |
Dependencies | |
============ | |
- `python-requests <http://python-requests.org>`_ | |
Usage: | |
====== |
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
#!/usr/bin/env python2 | |
# -*- coding: utf-8 -*- | |
""" | |
USAGE | |
python2 web2pdf.py <URL> | |
DESCRIPTION | |
Extract main content from a web page and convert it to PDF. |
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
#!/usr/bin/env bash | |
# Upload text/images to clbin.com from the command line | |
# License: ISC http://www.isc.org/downloads/software-support-policy/isc-license/ | |
clip() { | |
if command -v xclip &> /dev/null; then | |
xclip -selection clip <<< "$@" | |
elif command -v xsel &> /dev/null; then | |
xsel -b -i <<< "$@" | |
fi |
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
pkgname=devhost-git | |
pkgver=27.4ebe75f | |
pkgrel=1 | |
pkgdesc="Upload and manage files on http://d-h.st (Dev-Host)" | |
arch=('any') | |
url="https://github.com/GermainZ/dev-host-cl.git" | |
license=('GPL3') | |
depends=('python' 'python-requests') | |
makedepends=('git') | |
provides=('devhost') |
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
#!/usr/bin/env python2 | |
import feedparser | |
import urllib | |
from dateutil import parser, tz, relativedelta | |
from datetime import datetime, tzinfo, timedelta | |
from HTMLParser import HTMLParser | |
from re import search | |
import logging |
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
<?xml version="1.0" encoding="utf-8"?> | |
<resources> | |
<string-array name="modes"> | |
<item>@string/whitelist_array_item</item> | |
<item>@string/blacklist_array_item</item> | |
</string-array> | |
<string-array name="locations"> | |
<item>Défaut</item> | |
<item>Profil1</item> | |
<item>Profil2</item> |