Skip to content

Instantly share code, notes, and snippets.

View rostockahoi's full-sized avatar
💭

Johannes Ahrndt rostockahoi

💭
View GitHub Profile
@rostockahoi
rostockahoi / Makefile
Last active December 11, 2021 20:39
Development commands for Laravel based projects
################################################
# The Makefile
#
### @version 0.2
### @link https://gist.github.com/rostockahoi/beb31c907de6a32c28bac976672de3f9
### @author Johannes Ahrndt
### @copyright @webhubworks - webhub GmbH
################################################
.SILENT:
@rostockahoi
rostockahoi / Craftnet.postman_collection.json
Last active June 3, 2020 14:32
Craftnet Plugin License Generator (Postman)
{
"info":{
"_postman_id":"ca72bd7c-e45c-4894-a57b-ab8f33141af3",
"name":"Craftnet",
"schema":"https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item":[
{
"name":"Craft plugin license generator",
"request":{
@rostockahoi
rostockahoi / micro-linux64-latest-installer.sh
Last active September 9, 2018 12:31
One-line Micro-Editor installer
# Run as root
# Micro: https://github.com/zyedidia/micro
curl -s https://api.github.com/repos/zyedidia/micro/releases/latest \
| grep "browser_download_url.*linux64.tar.gz" \
| cut -d : -f 2,3 \
| tr -d \" \
| wget --quiet --show-progress -O /tmp/tmp-micro.tar.gz -i - && \
tar -xzf /tmp/tmp-micro.tar.gz --directory /tmp && \
cp /tmp/micro*/micro /usr/local/bin && \
rm -r /tmp/micro* && rm /tmp/tmp-micro.tar.gz

Keybase proof

I hereby claim:

  • I am rostockahoi on github.
  • I am joah (https://keybase.io/joah) on keybase.
  • I have a public key ASACimqoNS_Ib-uFzbqvxtyVJfZuHlYgFx_SZouOYx64Cgo

To claim this, I am signing this object:

@rostockahoi
rostockahoi / imagick3.4.3-PHP7.2-forge.sh
Last active February 23, 2020 14:19 — forked from jacobmllr95/imagick3.4.3-PHP7.1-forge.sh
Install Imagick 3.4.3 on PHP 7.2 server (Laravel Forge)
#!/bin/bash
if [ "$EUID" -ne 0 ]
then echo "Please run as root"
exit
fi
apt-get install pkg-config libmagickwand-dev -y
cd /tmp
wget https://pecl.php.net/get/imagick-3.4.3.tgz
tar xvzf imagick-3.4.3.tgz