Skip to content

Instantly share code, notes, and snippets.

View Marax's full-sized avatar

Roman Mařák Marax

View GitHub Profile
@dg
dg / composing.presenters.php
Created May 31, 2018 14:00
Composing presenters without inheritance
<?php
// composing presenters without inheritance
// (requires nette/application 2.4.11)
trait RequireLoggedUser
{
public function injectRequireLoggedUser()
{
@larryhou
larryhou / ExportTool.cs
Last active March 31, 2023 11:07
Command-line building tool for Unity project
using UnityEditor;
using System.Collections.Generic;
// Put this memu command script into Assets/Editor/
class ExportTool
{
static void ExportXcodeProject ()
{
EditorUserBuildSettings.SwitchActiveBuildTarget (BuildTarget.iOS);
@gamanox
gamanox / user.cfg
Created November 12, 2015 18:35
star citizen
; This is the newest FAST User.cfg BoredGamer has made as of 28th September 2015
; Custom User.cfg - This is a command that used to unlock the console to allow commands, I just leave it here in case they change it in a patch so that you need it again!
Con_Restricted = 0
; This Setting basically sets the basis for your config, 1-4, 1 is Low but best performance & 4 is Very High Graphics but most intensive. It sets loads of settings & it’s important it’s at the top of the .cfg so that anything below it overwrites parts of it.
sys_spec = 1
; Remove Maxfps to have a less stable max framerate (but it will be at it’s highest), I suggest setting at an achievable level, slower PCs go for 30, Fast PCs set at your monitors Refresh rate. If unsure delete it.
sys_maxfps = 60