Skip to content

Instantly share code, notes, and snippets.

@MAH1987
MAH1987 / README.md
Created November 11, 2023 21:32 — forked from justincjahn/README.md
Minecraft server(s) using systemd and screen.

Install

# Install dependencies
sudo yum install -y java-1.8.0-openjdk screen

# Create a new unprivileged user for minecraft
useradd -r -m -d /opt/minecraft minecraft

# Create the directory that will house our minecraft instances

sudo su --shell /bin/bash minecraft

{{--
Icon view component for Laravel 7.
@disclaimer The icons used in this component are taken from "Refactoring UI Heroicons" (md-outline collection).
For more info https://github.com/refactoringui/heroicons by Steve Schoger & Adam Wathan.
@copyright MIT
@author Maurizio <https://twitter.com/mauriziolepora>
@MAH1987
MAH1987 / htz-bashrc
Last active November 16, 2021 08:53 — forked from vsefer/htz-bashrc
Bash config from Hetzner
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
# If not running interactively, don't do anything
case $- in
*i*) ;;
*) return;;
esac
@MAH1987
MAH1987 / 01_Laravel 5 Simple ACL manager_Readme.md
Created February 3, 2016 22:13 — forked from amochohan/01_Laravel 5 Simple ACL manager_Readme.md
Laravel 5 Simple ACL - Protect routes by an account / role type

#Laravel 5 Simple ACL manager

Protect your routes with user roles. Simply add a 'role_id' to the User model, install the roles table and seed if you need some example roles to get going.

If the user has a 'Root' role, then they can perform any actions.

Installation

Simply copy the files across into the appropriate directories, and register the middleware in App\Http\Kernel.php

@MAH1987
MAH1987 / Package Control.sublime-settings
Last active December 10, 2015 13:49
Sublime Text 3 Settings / Package Control
{
"bootstrapped": true,
"in_process_packages":
[
],
"installed_packages":
[
"BracketHighlighter",
"EasyDiff",
"Emmet",

Keybase proof

I hereby claim:

  • I am mah1987 on github.
  • I am mherzog (https://keybase.io/mherzog) on keybase.
  • I have a public key whose fingerprint is F64E CB1F BBA6 BBA1 5FE6 0950 976E 6904 C357 3A56

To claim this, I am signing this object: