Skip to content

Instantly share code, notes, and snippets.

Shizeeg Unadequatov shizeeg

Block or report user

Report or block shizeeg

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
@shizeeg
shizeeg / PKGBUILD
Created Apr 4, 2018
torrent-mount v1.4.2 updated & fixed
View PKGBUILD
# Maintainer: petRUShka <petrushkin@yandex.ru>
# Contributor: Shizeeg Unadequatov <shizeeque@gmail.com>
pkgname=torrent-mount
pkgver=1.4.2
pkgrel=3
pkgdesc="Mount a torrent (or magnet link) as a filesystem in real time using torrent-stream and fuse. AKA MAD SCIENCE!"
arch=('any')
url="https://github.com/mafintosh/torrent-mount"
license=('MIT')
@shizeeg
shizeeg / send2kodi.sh
Last active Sep 7, 2018
Send any text to Kodi/XBMC
View send2kodi.sh
#!/bin/sh
# check if `xdotool` installed
if [[ ! -x $(which xdotool) ]];then
echo
echo "Install 'xdotool' first."
echo "In Arch Linux:"
echo "$ sudo pacman -S xdotool"
echo "or Ubuntu/Debian/etc.:"
echo "$ sudo apt-get install xdotool"
@shizeeg
shizeeg / txt2html.py
Last active Aug 29, 2015
worst code ever
View txt2html.py
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
txt2html.py. v0.0.4
Copyright (C) 2013-15 sh!zeeg <shizeeg@ya.ru>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
View gettitle.sh
#!/bin/sh
CONV='enconv -L ru -x utf8 '
# GET='curl -s --range=1-1024
#GET='wget -q -O - '
GET='elinks -source -force-html '
for arg in ${@}; do
if grep -q "http" <<<"${arg}" ;then
LINK="${arg}"
@shizeeg
shizeeg / show_room_occupants_count.patch
Created May 13, 2014
"show_room_occupants_count" option for mcabber
View show_room_occupants_count.patch
diff -r 0355be54e3a9 mcabber/mcabber/commands.c
--- a/mcabber/mcabber/commands.c Sun May 11 18:02:41 2014 +0200
+++ b/mcabber/mcabber/commands.c Tue May 13 20:02:43 2014 +0400
@@ -2074,10 +2074,12 @@
strncpy(buffer, "Room members:", 127);
scr_WriteIncomingMessage(bjid, buffer, 0, HBB_PREFIX_INFO, 0);
+ int cnt = 0;
resources = buddy_getresources(bud);
for (p_res = resources ; p_res ; p_res = g_slist_next(p_res)) {
@shizeeg
shizeeg / PKGBUILD
Created Mar 10, 2014
yetris Customizable Tetris(tm) for the terminal
View PKGBUILD
# Maintainer: Lucas de Sena <lucas DOT ta23 @ gmail DOT com>
# Developer: Alexandre Dantas <alex DOT dantas92 @ gmail DOT com>
# Contributor: Shizeeg Unadequatov <shizeeque @ gmail DOT com>
pkgname=yetris-git
pkgver=2.0.1.r0.g4e1be22
pkgrel=2
pkgdesc="Customizable Tetris(tm) for the terminal"
arch=('x86_64' 'i686')
url="http://www.github.com/alexdantas/yetris/"
@shizeeg
shizeeg / PKGBUILD
Created Jul 28, 2013
Micro-emacs version customized by Linus Torvalds PKGBUILD. Rewritten according official Arch Linux VCS Guides.
View PKGBUILD
# Maintainer: Marcin Karpezo <sirmacik at gmail dot com>
# Contributor: Shizeeg Unadequatov <shizeeque at gmail.com>
pkgname=uemacs-git
pkgver=20130222
pkgrel=1
pkgdesc="Micro-emacs version customized by Linus Torvalds"
arch=('i686' 'x86_64')
url="http://git.kernel.org/?p=editors/uemacs/uemacs.git;a=summary"
license=('custom')
@shizeeg
shizeeg / PKGBUILD
Created Jun 27, 2013
zathura lightweight document viewer. Arch Linux PKGBUILD.
View PKGBUILD
# Maintainer: Moritz Lipp <mlq@pwmt.org>
# Contributor: Shizeeg Unadequatov <shizeeque@gmail.com>
pkgname=zathura-git
_gitname='zathura'
pkgver=20130626
pkgrel=1
pkgdesc="a document viewer"
arch=('i686' 'x86_64')
url="http://pwmt.org/projects/zathura"
@shizeeg
shizeeg / yaspell.py
Created May 17, 2013
Yandex.Speller command-line client (alpha) Licensed under terms of GPL
View yaspell.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# vim: ts=4:st=4:et
"""
Yandex.Speller-cli For more info, see <http://www.yandex.net/speller>
Copyright (C) 2013 sh!zeeg <shizeeque@gmail.com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@shizeeg
shizeeg / PKGBUILD
Last active Dec 17, 2015
WebP loader for imlib2. Arch Linux PKGBUILD.
View PKGBUILD
# Maintainer: Ferk <ferkiwi at gmail.com>
# Contributor: Shizeeque Unadequatov <shizeeque@gmail.com>
pkgname=imlib2-webp-git
_gitname=imlib2-webp
pkgver=20121209
pkgrel=1
pkgdesc='A WebP loader for Imlib2. Enables WebP support for every application that uses the imlib2 library.'
arch=('i686' 'x86_64')
url='http://www.hauweele.net/~gawen/imlib2-webp.html'
You can’t perform that action at this time.