Skip to content

Instantly share code, notes, and snippets.

View rofi.lua
--[[
rofi.lua - rofi-powered menus for awesome wm
Usage:
rofi = require("rofi")
change width (optional, default 500px):
rofi.width=300
bind to key:
@RobSis
RobSis / civilwar.txt
Last active Aug 29, 2015
Civil War is a Cleo mod for GTA: San Andreas.
View civilwar.txt
// Civil War is Cleo mod for San Andreas.
// It toggles bunch of cheats to create civil war-like
// settings and adds counter of kills since last death.
// Type CIVILWAR to enable/disable the mod, and Tab to
// hide/show the counter.
//
// http://gist.github.com/RobSis/
{$CLEO .cs}
@RobSis
RobSis / conf.mvn
Created Oct 8, 2014
A grc module for colourising the maven outputs
View conf.mvn
# a grc module for colourising the maven outputs
regexp=^\[WARNING\]
colours=bold yellow
count=once
-
regexp=^\[ERROR\]
colours=bold red
count=once
-
@RobSis
RobSis / quakec.vim
Created Apr 18, 2013
Vim syntax file for QuakeC language.
View quakec.vim
" Vim syntax file
" Language: QuakeC
" Maintainer: Robert Siska <github.com/RobSis>
" Last Change: 2013 Mar 03
" Quit when a (custom) syntax file was already loaded
if version < 600
syntax clear
elseif exists("b:current_syntax")
finish
@RobSis
RobSis / .ctags
Created Apr 18, 2013
The rules for ctags recognizing function and global variable definitions in QuakeC code.
View .ctags
--langdef=quakec
--langmap=quakec:.qc
--regex-quakec=/^[ \t]*(void|float|vector|string|entity)[ \t]*\([^(]*\)[ \t]*([a-zA-Z0-9_]+)[ \t]*\=/\2/f,functions/
--regex-quakec=/^[ \t]*\.?(float|vector|string|entity)[ \t]+([^();= ]+)[ \t]*(=.*)?;/\2/v,variable definitions/