Skip to content

Instantly share code, notes, and snippets.

View gmail.css
/* fejlec gombok */
a.gb_b.gb_cc, .gb_Nc.gb_Oc.gb_cc {display:none!important;}
/*#\:cj::before {content: "⎼ ";}*/
#\:cj::after {content: " ⎼ Fontos";}
.av {font-size:12px!important;}
.qh {font-weight:bold!important;}
@spcmd
spcmd / bblinks.txt
Last active Sep 24, 2019
Blackberry links
View bblinks.txt
View viewtube.js
// ==UserScript==
// @name ViewTube
// @version 2017.02.20
// @description Watch videos from video sharing websites without Flash Player.
// @author sebaro
// @namespace http://isebaro.com/viewtube
// @license GPL version 3 or any later version; http://www.gnu.org/copyleft/gpl.html
// @downloadURL https://raw.githubusercontent.com/sebaro/viewtube/master/viewtube.user.js
// @updateURL https://raw.githubusercontent.com/sebaro/viewtube/master/viewtube.user.js
// @icon https://raw.githubusercontent.com/sebaro/viewtube/master/viewtube.png
@spcmd
spcmd / PKGBUILD
Created Feb 22, 2017
sc-im-git PKGBUILD (Arch Linux)
View PKGBUILD
# Maintainer: Rhinoceros <https://aur.archlinux.org/account/rhinoceros>
# Contributor: Rhinoceros <https://aur.archlinux.org/account/rhinoceros>
# Git Version: spcmd <https://github.com/spcmd>
pkgname=sc-im-git
pkgver=0.5.0
pkgrel=1
pkgdesc='A spreadsheet program based on SC'
arch=('i686' 'x86_64')
url='https://github.com/andmarti1424/sc-im'
@spcmd
spcmd / brutal_doom.sh
Created May 22, 2016
Run `Brutal Doom` on Arch Linux
View brutal_doom.sh
#!/bin/sh
# Run `Brutal Doom` on Arch Linux
#
# Installation notes:
# - install gzdoom from the AUR: https://aur.archlinux.org/packages/gzdoom/
# - if the PGKBUILD has fmodex error, install fmodex first: https://aur.archlinux.org/packages/fmodex4.26.36/
# - download Brutal Doom from http://www.moddb.com/mods/brutal-doom and extract the content to a directory
# - set the `DIR` variable to the directory where Brutal Doom got extracted
# - run this file
@spcmd
spcmd / vim-x11.PKGBUILD
Created May 12, 2016
Customized Vim PGKBUILD (Arch Linux)
View vim-x11.PKGBUILD
# Based on this AUR pkg: https://aur.archlinux.org/packages/vim-x11/
# Might need to bump the pkgver variable to the current version before running makepkg
# You can manually download Vim 7.4.944 source from this archive: http://github.com/vim/vim/archive/v7.4.944.tar.gz
_pkgbase=vim
pkgname=vim-x11-spcmd
pkgver=7.4.944
_versiondir=74
pkgrel=1
_upstream_pkgrel=1
@spcmd
spcmd / ranger_simple_titlebar.py
Created Apr 26, 2016
Ranger titlebar which shows trash info
View ranger_simple_titlebar.py
# Simple titlebar plugin for ranger with trash indicator on the left side
# Trash indicator appears only if trash contains at least one file
# Indicator is a unicode symbol, it may not appear on some systems (plugin is tested on Arch Linux)
# Copy this file to ~/.config/ranger/plugins
from ranger.gui.widgets.titlebar import TitleBar
import os
def _get_left_part(self, bar):
@spcmd
spcmd / privoxy-blocklist
Created Mar 30, 2016
/etc/conf.d/privoxy-blocklist
View privoxy-blocklist
# Config of privoxy-blocklist
# array of URL for AdblockPlus lists
# for more sources just add it within the round brackets
URLS=("https://easylist-downloads.adblockplus.org/easylist.txt" "https://easylist-downloads.adblockplus.org/easyprivacy.txt" "https://easylist-downloads.adblockplus.org/fanboy-social.txt")
# config for privoxy initscript providing PRIVOXY_CONF, PRIVOXY_USER and PRIVOXY_GROUP
INIT_CONF="/etc/conf.d/privoxy"
# !! if the config above doesn't exist set these variables here !!
@spcmd
spcmd / youtube_redirect.lua
Created Mar 25, 2016
luakit redirect youtube.com to m.youtube.com
View youtube_redirect.lua
-- Put it in your rc.lua above the "End user script loading" part.
-- Redirect youtube.com to m.youtube.com
webview.init_funcs.youtube_redirect = function (view, w)
view:add_signal("navigation-request", function (v, uri)
if string.match(uri, "^https://www%.youtube%.com/-$") then
v.uri = "https://m.youtube.com/?app=m"
return false
end
if string.match(uri, "www%.youtube%.com/watch%?v=") then
@spcmd
spcmd / magnet2rtorrent.desktop
Created Mar 20, 2016
.desktop file for my magnet2rtorrent script
View magnet2rtorrent.desktop
[Desktop Entry]
Version=1.0
Type=Application
Name=magnet2rtorrent
Comment=Load magnet links to rtorrent (usable with Firefox, Luakit or other browsers)
Icon=/home/spcmd/.icons/rtorrent.png
Exec=magnet2rtorrent
Terminal=false