Skip to content

Instantly share code, notes, and snippets.

View bjorn's full-sized avatar
🇳🇱

Thorbjørn Lindeijer bjorn

🇳🇱
View GitHub Profile
@jurkan
jurkan / manademo
Created July 3, 2012 20:02
Manaclientautoupdate
#!/bin/bash
case $1 in
start)
cd /srv/manademo/
rm ./manaserv-game.log
rm ./manaserv-account.log
su manademo -c "HOME=\"/srv/manademo\" ./start-server.sh 2>/dev/null" > /dev/null &
;;
stop)
@thabetx
thabetx / GSoC_Tiled_2017.md
Last active August 28, 2017 15:43
Google Summer of Code 2017: Reusable Object Templates Final Report

Summary

This project aims to create a template system in Tiled. Any created object can be saved as a template. These templates can be instantiated elsewhere as objects that inherit the template’s properties.

Code and Work Details

These are the pull requests created during the project period (Note that all of these changes are merged into the master branch):

Reusable Object Templates #1587

@ssokolow
ssokolow / update_flatpak_cli.py
Last active November 4, 2024 19:38
Utility for making Flatpak-installed apps available in the terminal through their normal command names
#!/usr/bin/env python3
"""Flatpak CLI Shortcut Generator
A simple no-argument tool that generates launchers with traditional non-flatpak
command names for your installed Flatpak applications in ~/.local/bin/flatpak.
Does full collision detection and warns you if you forgot to add its output
directory to your PATH. Also overrules the command-line specified in the
``.desktop`` file if the Flatpak maintainer didn't include support for
command-line arguments.
@tobiasBora
tobiasBora / CMakeLists.txt
Last active June 5, 2024 18:23
Qt5: QML hello world with Cmake (+nix package manager)
cmake_minimum_required(VERSION 3.1.0)
project(demo VERSION 1.0.0 LANGUAGES CXX)
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)
set(CMAKE_AUTOUIC ON)