Skip to content

Instantly share code, notes, and snippets.

View remluben's full-sized avatar
🎯
Laravel + Cockpit

Benjamin Ulmer remluben

🎯
Laravel + Cockpit
View GitHub Profile
<?php
/*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
@remluben
remluben / composer.json
Last active December 28, 2015 17:38
Composer: Laravel 4.x composer.json
{
"name": "remluben/project",
"description": "The project description.",
"license": "WTFPL",
"authors": [
{
"name": "remluben",
"email": "ulmer.benjamin@gmail.com"
}
],
@remluben
remluben / getsetgen.php
Created November 8, 2013 21:43
Shellscript: PHP Getter & Setter Generator
#!/usr/bin/php
<?php
/*
* Quelle: http://blog.dennis.io/php-gettersetter-generator/
*/
if (!is_file($argv[2]))
die('Use this way: '.$argv[0].' <class_name> <path_to_your_class`s_php_file>'."\n");
require_once($argv[2]);
@remluben
remluben / license-mit
Last active December 26, 2015 15:39
License: MIT
The MIT License (MIT)
Copyright (c) 2015 Benjamin Ulmer
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
@remluben
remluben / license-wtfpl
Created October 26, 2013 21:05
License: WTFPL
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE