Skip to content

Instantly share code, notes, and snippets.

View shizeeg's full-sized avatar

Shizeeg Unadequatov shizeeg

View GitHub Profile
@shizeeg
shizeeg / yaspell.py
Created May 17, 2013 12:32
Yandex.Speller command-line client (alpha) Licensed under terms of GPL
#!/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 December 17, 2015 00:38
WebP loader for imlib2. Arch Linux 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'
@shizeeg
shizeeg / PKGBUILD
Created April 28, 2013 08:53
Terminal emulator for directfb. Fixed PKGBUILD.
# Maintainer: Jesse Jaara <gmail.com: jesse.jaara>
# Contributor: Shizeeg Unadequatov <shizeeque@gmail.com>
pkgname=dfbterm-git
pkgver=20121217
pkgrel=1
pkgdesc="Terminal emulator for directfb. Git version"
arch=('i686' 'x86_64')
url="http://www.directfb.org"
license=('LGPL')
@shizeeg
shizeeg / PKGBUILD
Last active December 16, 2015 18:19
Toolkit engine for DirectFB. Fixed PKGBUILD.
# Contributor: Georgios N. Tsalikis <aliverius@tsalikis.net>
# Contributor: Shizeeque Unadequatov <shizeeque@gmail.com>
pkgname=lite-git
pkgver=20121223
pkgrel=1
pkgdesc="A toolkit engine for DirectFB"
arch=('i686' 'x86_64')
url="http://www.directfb.org"
license="LGPL"
@shizeeg
shizeeg / PKGBUILD
Created April 17, 2013 09:24
swiften-git version 20130408 from AUR work with spectrum2-git
# Maintainer: ntkoopman ???
# Contributor: Shizeeg Unadequatov <shizeeque@gmail.com>
pkgname=swiften-git
pkgver=20130408
pkgrel=1
pkgdesc="XMPP Client Library"
arch=('i686' 'x86_64')
url="http://swift.im/"
license=('GPL3')
@shizeeg
shizeeg / PKGBUILD
Last active December 16, 2015 06:59
luasocket-git PKGBUILD for Arch Linux updated according latest official AUR Guidelines.
# Maintainer: Alfredo Palhares <masterkorp@masterkorp.net>
# Contributor: Shizeeg Unadequatov <shizeeque@gmail.com>
# Please submit your patches to:
# https://github.com/masterkorp/pkgbuilds
pkgname=luasocket-git
_gitname=luasocket
pkgver=20130605
pkgrel=2
@shizeeg
shizeeg / xdg-dirs.c
Last active December 15, 2015 22:39
XDG Directories.
/****************************************************************************
* xdg-dirs show XDG environment variables.
* Copyright (C) 2013 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.
*
* This program is distributed in the hope that it will be useful,
@shizeeg
shizeeg / ftpscrot.sh
Last active December 15, 2015 15:18
Take screenshot, upload to narod.ru then show link on the terminal.
#!/bin/sh
# http://help.yandex.ru/narod/creating/ftp.xml
#
LOGIN=
PASS=
LFTP=/usr/bin/lftp
SCROT=/usr/bin/scrot
SCROTOPTS=
REMOTEDIR=
IMGDIR="/tmp/"
@shizeeg
shizeeg / txt2html.py
Last active August 29, 2015 14:17
worst code ever
#!/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.
#!/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}"