Skip to content

Instantly share code, notes, and snippets.

View janisozaur's full-sized avatar

Michał Janiszewski janisozaur

  • Poland
  • 20:26 (UTC +02:00)
View GitHub Profile
@janisozaur
janisozaur / main.cpp
Created January 1, 2012 23:59
qjson test
#include <QtCore/QCoreApplication>
#include <QJson/Parser>
#include <QVariant>
#include <QDebug>
using namespace QJson;
int main(int argc, char *argv[])
{
QCoreApplication a(argc, argv);
@janisozaur
janisozaur / dav_svn.conf
Created June 16, 2012 21:30
security-files
# dav_svn.conf - Example Subversion/Apache configuration
#
# For details and further options see the Apache user manual and
# the Subversion book.
#
# NOTE: for a setup with multiple vhosts, you will want to do this
# configuration in /etc/apache2/sites-available/*, not here.
# <Location URL> ... </Location>
# URL controls how the repository appears to the outside world.
@janisozaur
janisozaur / servers
Created June 17, 2012 22:46
subversion client config
[groups]
othervm = 192.168.0.183
[global]
[othervm]
ssl-client-cert-file = /home/janisozaur/Downloads/user.p12
@janisozaur
janisozaur / tab.tex
Created September 2, 2012 21:23
tabelka
\documentclass[a4paper,10pt]{article}
\usepackage[MeX]{polski}
\usepackage[polish,english]{babel}
\selectlanguage{english}
\usepackage{graphicx}
\usepackage[utf8]{inputenc}
\usepackage{algorithmic}
\usepackage{verbatim}
%opening
@janisozaur
janisozaur / vimrc
Created November 14, 2012 10:41
vimrc
" An example for a vimrc file.
"
" Maintainer: Bram Moolenaar <Bram@vim.org>
" Last change: 2011 Apr 15
"
" To use it, copy it to
" for Unix and OS/2: ~/.vimrc
" for Amiga: s:.vimrc
" for MS-DOS and Win32: $VIM\_vimrc
" for OpenVMS: sys$login:.vimrc
@janisozaur
janisozaur / ipin.py
Created November 24, 2012 23:45 — forked from urielka/ipin.py
iOS PNG uncrushers based on http://www.axelbrz.com.ar/?mod=iphone-png-images-normalizer with a fix for multiple IDAT
#---
# iPIN - iPhone PNG Images Normalizer v1.0
# Copyright (C) 2007
#
# Author:
# Axel E. Brzostowski
# http://www.axelbrz.com.ar/
# axelbrz@gmail.com
#
# References:
@janisozaur
janisozaur / .gitconfig
Created August 27, 2013 09:17
gitconfig
[color]
ui = auto
[alias]
lol = log --graph --decorate --pretty=oneline --abbrev-commit \
--pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) \
%C(bold blue)<%an>%Creset'
loll = log --graph --decorate --pretty=oneline --abbrev-commit \
--pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) \
%C(bold blue)<%an>%Creset' --numstat
lola = log --graph --decorate --pretty=oneline --abbrev-commit --all \
@janisozaur
janisozaur / iwyu-wrapper
Last active December 29, 2015 20:59
iwyu-wrapper
#!/bin/bash
/usr/local/bin/clang++ "$@" || exit $?
args="$*"
if [ "${args#* -c}" != "$args" ]; then
out="${args#* -o}"
out="${out%.o *}"
if [ "x$out" != "x" ]; then
include-what-you-use "$@" > $out.iwyu.txt 2>&1
fi
fi
# Created by compiling `viewport.c` with `-ffunction-sections` and then `objdump --section=.text.RCT2_CALLPROC_X -S viewport.c.o`
CMakeFiles/openrct2.dir/src/interface/viewport.c.o: file format elf32-i386
Disassembly of section .text.RCT2_CALLPROC_X:
00000000 <RCT2_CALLPROC_X>:
*A = Adjust flag
# Created by compiling `viewport.c` with `-ffunction-sections` and then `objdump --section=.text.RCT2_CALLPROC_X -S viewport.c.o`
CMakeFiles/openrct2.dir/src/interface/viewport.c.o: file format elf32-i386
Disassembly of section .text.RCT2_CALLPROC_X:
00000000 <RCT2_CALLPROC_X>:
*A = Adjust flag