Skip to content

Instantly share code, notes, and snippets.

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

Uen's Qurus

🏠
Working from home
  • Uen Media
  • Frankfurt am Main
View GitHub Profile
@Qurus
Qurus / README.MD
Created September 7, 2023 17:27 — forked from artistro08/README.MD
How to setup a LEMP Development Environment with WSL2 & Valet Linux
@Qurus
Qurus / LoginRegister.module
Created May 10, 2023 23:39
loginrgister module
<?php namespace ProcessWire;
/**
* ProcessWire Login and Register Process
*
* ProcessWire 3.x, Copyright 2017 by Ryan Cramer
* https://processwire.com
*
* CONFIGURATION PROPERTIES
* ------------------------
@Qurus
Qurus / search-form.js
Created January 24, 2023 10:20 — forked from awojtczyk/search-form.js
Shopify ajax search
$(function() {
var currentAjaxRequest = null;
var searchForms = $('form[action="/search"]').css('position', 'relative').each(function() {
var input = $(this).find('input[name="q"]');
input.attr('autocomplete', 'off').bind('keyup change', function() {
var term = $(this).val();
var form = $(this).closest('form');
var searchURL = '/search?type=product&q=*' + term + '*';
var resultsList = $('.search-results');
resultsList.perfectScrollbar({
@Qurus
Qurus / INSTALL-SHOPWARE-SIX.md
Created February 10, 2022 12:16 — forked from MadMikeyB/INSTALL-SHOPWARE-SIX.md
Shopware 6 - Laravel Valet Driver

Install Shopware 6 (For Development)

cd ~/sites
valet park
# clone shopware
git clone -b 6.1 https://github.com/shopware/development.git shopware
# change directory
cd shopware
# install dependencies
Homebrew/terminal/zsh
OSX Productivity - Window Management/Quick Launcher/Hyperswitch
OSX Settings - Dock/Finder
Web Browser - Extensions - AdBlock, Privacy Badger, OneTab, JSONViewer, Stylus, Vue Devtools, React Devtools
Node.js - nvm
Code Editor - vs code
Code Editor Extensions
Break timer and Flux
xcode-select --install
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew update
brew cask install iterm2
# update iterm2 settings -> colors, keep directory open new shell, keyboard shortcuts
brew install bash # latest version of bash
# set brew bash as default shell
brew install fortune
brew install cowsay
brew install git
alexcvzz.vscode-sqlite
andys8.jest-snippets
apollographql.vscode-apollo
austincummings.razor-plus
bobsparadox.seti-black
BriteSnow.vscode-toggle-quotes
christian-kohler.npm-intellisense
christian-kohler.path-intellisense
CoenraadS.bracket-pair-colorizer
dbaeumer.vscode-eslint
@Qurus
Qurus / creative-cloud-disable.md
Created May 2, 2020 15:24 — forked from andreibosco/creative-cloud-disable.md
disable creative cloud startup on mac
@Qurus
Qurus / myBook.json
Last active November 6, 2019 16:25
[
{
"id": "A1",
"title": "The Lean Startup",
"complete": false,
"progress": 45,
"finishedOn": "",
"author": "Eric Ries",
"rating": 0,
"tags": ["business", "tech"],

Nginx Configuration

Dokku uses nginx as its server for routing requests to specific applications. By default, access and error logs are written for each app to /var/log/nginx/${APP}-access.log and /var/log/nginx/${APP}-error.log respectively

nginx:access-logs <app> [-t]             # Show the nginx access logs for an application (-t follows)
nginx:build-config <app>                 # (Re)builds nginx config for given app
nginx:error-logs <app> [-t]              # Show the nginx error logs for an application (-t follows)