Skip to content

Instantly share code, notes, and snippets.

View stuartelimu's full-sized avatar
🎯
Focusing

Stuart Elimu stuartelimu

🎯
Focusing
View GitHub Profile
@stuartelimu
stuartelimu / ausers-urls.py
Last active February 22, 2021 18:28
Article
from django.contrib import admin
from django.urls import path, include
urlpatterns = [
path('admin/', admin.site.urls),
path('accounts/', include('accounts.urls')),
]
license: gpl-3.0
height: 500
scrolling: no
border: yes
@stuartelimu
stuartelimu / README.md
Created August 1, 2021 00:23
Hello, world!

i am tryin to piece things together

@stuartelimu
stuartelimu / README.md
Last active August 1, 2021 00:34
Hello, world

I am tryin to piece things together.

const FORM = document.querySelector('form');
const submit = (e) => {
// prevent default action ie page refresh
e.preventDefault();
// submit form
FORM.submit();
@stuartelimu
stuartelimu / .htaccess
Created July 6, 2019 11:28
Laravel setup file for infinityfree.net
##################################################
#
# Replace the fields with your app and domain name
#
##################################################
DirectoryIndex <app name>/public/index.php index.html index.htm index2.html
RewriteEngine on