Skip to content

Instantly share code, notes, and snippets.

View artistro08's full-sized avatar
🏠
Working from home

Devin Green artistro08

🏠
Working from home
View GitHub Profile
@artistro08
artistro08 / README.MD
Last active August 30, 2022 19:39
Dynamic Layout builder for OctoberCMS
@artistro08
artistro08 / plugin-management.php
Created October 30, 2021 13:25
Plugin Management from the Deploy Console in RainLab.Deploy on OctoberCMS
<?php
// Install A plugin from the Rainlab Deploy Console
Artisan::call('plugin:install', ['name' => 'Acme.BlogPost', '--force' => true]);
echo Artisan::output();
// Remove A plugin from the Rainlab Deploy Console
Artisan::call('plugin:remove', ['name' => 'Acme.BlogPost', '--force' => true]);
echo Artisan::output();
@artistro08
artistro08 / bootstrap-icons.sh
Created June 17, 2022 21:18
Create JSON Import file from icons. Used for Tailor Entries in OctoberCMS
#!/bin/bash
#
# Bash file to create json output of Bootstrap Icons.
# Used for Tailor, an OctoberCMS Feature
# Requires jq: https://stedolan.github.io/jq
#
index=0
for file in $(ls *.svg);
@artistro08
artistro08 / tasks.json
Created March 3, 2023 01:33
Add October CMS Commands to VS Code
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "october:install",
"type": "shell",
"command": "php artisan october:install",
"problemMatcher": []
@artistro08
artistro08 / README.MD
Last active April 27, 2025 23:39
How to setup a LEMP Development Environment with WSL2 & Valet Linux