Skip to content

Instantly share code, notes, and snippets.

View evokelektrique's full-sized avatar
🌱

EVOKE evokelektrique

🌱
View GitHub Profile
@evokelektrique
evokelektrique / Caddyfile
Created September 21, 2023 20:56
How to deploy Laravel + Vite to Caprover
:80 {
root * /srv/app/public
@websockets {
header Connection *upgrade*
header Upgrade websocket
}
reverse_proxy @websockets 127.0.0.1:6001 {
header_down -X-Powered-By
}
@evokelektrique
evokelektrique / dots.md
Last active December 10, 2021 11:19
Generate grid dots with javascript

Dots with JavaScript

function create_dot(i = 0, j = 0) {
  s = document.createElement("span"); 
 s.classList.add("custom_span"); 
FROM hexpm/elixir:1.12.0-erlang-24.0-alpine-3.13.3 AS build
# install build dependencies
RUN apk add --no-cache build-base npm git python3
# prepare build dir
WORKDIR /app
# install hex + rebar
RUN mix local.hex --force && \
@evokelektrique
evokelektrique / replicant_TODO.md
Last active August 16, 2021 20:24
Replicant Todo List

Goals

  • Centeralizing Posts On Development
  • Centralizing WooCommerce Products
  • Centralizing Users
  • Centralizing Media

ON GOING

  • Logs Expiration ( )