Skip to content

Instantly share code, notes, and snippets.

Avatar

Johannes Ahrndt rostockahoi

View GitHub Profile
@rostockahoi
rostockahoi / Craftnet.postman_collection.json
Last active Jun 3, 2020
Craftnet Plugin License Generator (Postman)
View Craftnet.postman_collection.json
{
"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 Sep 9, 2018
One-line Micro-Editor installer
View micro-linux64-latest-installer.sh
# 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
View keybase.md

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 Feb 23, 2020 — forked from jackmu95/imagick3.4.3-PHP7.1-forge.sh
Install Imagick 3.4.3 on PHP 7.2 server (Laravel Forge)
View imagick3.4.3-PHP7.2-forge.sh
#!/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
You can’t perform that action at this time.