Skip to content

Instantly share code, notes, and snippets.

View Lartza's full-sized avatar

Lari Lartza

  • Tampere, Finland
  • 07:06 (UTC +03:00)
View GitHub Profile
Cake, cake, cake.
Cake, cake, cake.
Cake, cake, cake.
There's nothing you can do that can't be done.
Nothing you can sing that can't be sung.
Nothing you can say but you can learn how to play the game.
It's easy.
Nothing you can make that can't be made.
@Lartza
Lartza / PKGBUILD
Created February 8, 2015 14:26
bgs-git PKGBUILD
# Maintainer: melchips <truphemus dot francois at gmail dot com>
# Contributor: Lari Tikkanen <lartza@wippies.com>
pkgname=bgs-git
pkgver=0.6.r2.gd455737
pkgrel=1
pkgdesc="simple background setter based on imlib2"
arch=('i686' 'x86_64' 'armv7h')
url="https://github.com/Gottox/bgs"
license=('MIT')
depends=('imlib2' 'libxinerama')
../../release/libmurmur_ice.a(Murmur.o): In function `IceProxy::Murmur::Server::__begin_registerUser(std::map<Murmur::UserInfo, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<Murmur::UserInfo>, std::allocator<std::pair<Murmur::UserInfo const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > const&, std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > const*, IceInternal::Function<void (int)> const&, IceInternal::Function<void (IceUtil::Exception const&)> const&, IceInternal::Function<void (bool)> const&)::Cpp11CB::~Cpp11CB()':
M
#!/usr/bin/env python2
# -*- coding: utf-8
#
# munin-murmur.py
# Copyright (C) 2008 Stefan Hacker <dd0t@users.sourceforge.net>
# The getslice part to dynamically download the ice file from Murmur.
#
# Copyright (c) 2010 - 2016, Natenom <natenom@natenom.com>
#
# All rights reserved.
fastcgi_param QUERY_STRING $query_string;
fastcgi_param REQUEST_METHOD $request_method;
fastcgi_param CONTENT_TYPE $content_type;
fastcgi_param CONTENT_LENGTH $content_length;
fastcgi_param SCRIPT_NAME $fastcgi_script_name;
fastcgi_param REQUEST_URI $request_uri;
fastcgi_param DOCUMENT_URI $document_uri;
fastcgi_param DOCUMENT_ROOT $document_root;
@Lartza
Lartza / hugs.hs
Last active January 5, 2018 23:13
import Network.HostName
import System.Posix.User
main = do
hostname <- getHostName
username <- getLoginName
putStrLn (hostname ++ " hugs " ++ username)
@Lartza
Lartza / PKGBUILD
Created November 27, 2019 15:53
mcrcon 0.6.1 PKGBUILD
# Contributor: kreed <kreed@kreed.org>
# Contributor: rayman2200
# Maintainer: Eric Anderson <ejona86@gmail.com>
pkgname=mcrcon
pkgver=0.6.1
pkgrel=1
pkgdesc="Console based remote console (rcon) client for Minecraft servers"
arch=('i686' 'x86_64')
url="https://github.com/Tiiffi/mcrcon"
Maintainer: Joe George <joe at externl dot com>
pkgname="zeroc-ice-php"
pkgver=3.7.3
pkgrel=1
pkgdesc="PHP bindings for Ice RPC framework"
arch=("i686" "x86_64")
url="https://zeroc.com"
license=("GPL" "custom:Ice license")
makedepends=(
@Lartza
Lartza / rlcraft-backup.service
Last active December 7, 2020 23:01
RLCraft backups
[Unit]
Description=oneshot backup for rlcraft
# This can be problematic
#Requires=rlcraft.service
[Service]
Type=oneshot
User=lartza
Group=lartza
WorkingDirectory=/home/lartza
@Lartza
Lartza / server.cfg
Last active June 9, 2022 23:48
Contagion Dedicated Server configuration
hostname My Amazing Contagion Server
// Set the pause state of the server
setpause 0
// Control where the client gets content from
// 0 = anywhere, 1 = anywhere listed in white list, 2 = steam official content only
sv_pure 0
sv_consistency 0
// Is the server pausable
sv_pausable 0