Skip to content

Instantly share code, notes, and snippets.

View jarebear6expepjozn6rakjq5iczi3irqwphcvb's full-sized avatar
Set your status

jarebear6expepjozn6rakjq5iczi3irqwphcvbswgkahd6b6twnxxid jarebear6expepjozn6rakjq5iczi3irqwphcvb

Set your status
View GitHub Profile
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIPAKPlDE7gjIb5Rmfji6qj5TVDIgG04HuXMv/kFy5HO user@wow
# load .env variables into xargs
export $(grep -v '^#' "$SCRIPT_DIR"/auth_core/example.bjorg.env | xargs -d '\n')
<?php
// This file walks you through the most common features of PHP's SQLite3 API.
// The code is runnable in its entirety and results in an `analytics.sqlite` file.
// Create a new database, if the file doesn't exist and open it for reading/writing.
// The extension of the file is arbitrary.
$db = new SQLite3('analytics.sqlite', SQLITE3_OPEN_CREATE | SQLITE3_OPEN_READWRITE);
// Errors are emitted as warnings by default, enable proper error handling.
import os
media_root = "media"
html_content_block = ""
def format_dir_name(i):
t = i.replace("_", " ").title()
return t
def format_file_name(i):
@jarebear6expepjozn6rakjq5iczi3irqwphcvb
jarebear6expepjozn6rakjq5iczi3irqwphcvb / .vimrc
Created January 29, 2024 21:15
chill it's just my .vimrc
set expandtab " use appropriate number of spaces when tab is used
set tabstop=4 " force tabs to four spaces
set shiftwidth=4 " backup enforcment for tabstop
filetype indent on " attempt to identify what kind of file we opened
syntax on " based on file type, attempt to do syntax highlighting
set smartindent " react to the syntax we think we understand and indent appropriately
set showmatch " show closing brackets
set ruler " show line and column number
<?php
/*
* PH[P]ramework
* by
* jarebear6expepjozn6rakjq5iczi3irqwphcvbswgkahd6b6twnxxid
___________________________
< I am an expert in my field. >
---------------------------
\ ^__^
<?php
/*
* a random-er world
*
___________________________
< I am an expert in my field. >
---------------------------
\ ^__^
\ (oo)\_______
<?php
/*
Plugin Name: Users in Database
Plugin URI:
Description: Puts users in the database
Version: 1.0
Author: Nick Bair
Author URI: https://github.com/njbair
*/
@jarebear6expepjozn6rakjq5iczi3irqwphcvb
jarebear6expepjozn6rakjq5iczi3irqwphcvb / plugin.php
Created June 8, 2023 15:53 — forked from ediathome/plugin.php
yourls-plugin-users-in-database.php - In connection with Auth Manager Plus
<?php
/*
Plugin Name: Users in Database
Plugin URI:
Description: Puts users in the database
Version: 1.0
Author: Nick Bair - revised by Martin Kolb
Author URI: https://github.com/njbair
Author URI: https://github.com/ediathome
*/
@jarebear6expepjozn6rakjq5iczi3irqwphcvb
jarebear6expepjozn6rakjq5iczi3irqwphcvb / .vimrc
Created March 15, 2023 16:44 — forked from lattera/.vimrc
vimrc for FreeBSD development
" Modeline and Notes {
" vim: set foldmarker={,} foldlevel=0 spell:
" }
" Basics {
set nocompatible " explicitly get out of vi-compatible mode
set noexrc " don't use local version of .(g)vimrc, .exrc
set background=dark " we plan to use a dark background
set cpoptions=aABceFsmq
" |||||||||