Skip to content

Instantly share code, notes, and snippets.

View belfie13's full-sized avatar
🤘

CIIDMike belfie13

🤘
  • B13
  • Australis
View GitHub Profile
@belfie13
belfie13 / css-grid-calendar.markdown
Last active December 24, 2019 07:22
CSS grid calendar
@belfie13
belfie13 / CIID-CSS-Modal.html
Created October 22, 2018 17:18
Modal View With CSS
<!doctype html>
<html lang=en>
<head>
<title></title>
<style>
#modal {
display: none;
}
#modal:target {
display: initial;
@belfie13
belfie13 / sublime_setup.md
Created November 2, 2019 02:27 — forked from barnes7td/sublime_setup.md
Sublime Terminal Setup

Setup Terminal for Sublime Shorcut "subl":

Open terminal and type:

1. Create a directory at ~/bin:

mkdir ~/bin

2. Copy sublime executable to your ~/bin directory:

@belfie13
belfie13 / columns.php
Last active December 26, 2019 15:43
cPanel UAPI HTTPS Remote Procedure Call with cURL
<?php
/**
* takes an array of parameters and formats them into an array for UAPI RPC.
* $columns = [
* 'value',
* 'value'
* ];
*/
@belfie13
belfie13 / CIID-WadBorems.md
Last active May 4, 2022 13:17
PHP User Input with HTML Form and HTTP POST Request Method

Wad Borems (Web Forms)

HTML

DOM clobbering

  • Avoid using the names of built-in form properties with the name content attribute.

form-associated elements

@belfie13
belfie13 / CIID-Gists.md
Last active March 11, 2020 14:20
How to implement a 'Gists' type workflow.

Notes

r we sarps to comment extrenuously within these all be it simple collection of text forming idea to get the gist.

  • a gist is a repository
    • a file of any type or a small collection of related or dependant files
    • files link relatively (easily lol) in a gist container
    • has a title or summary
  • can have a gist library
  • can have built in editor
@belfie13
belfie13 / CIID-CSS-MediaQueries-Temple.css
Last active March 11, 2020 18:36
A template for essential CSS Media Queries to include.
@charset "UTF-8";
/* ~~~>>> Summary <<<~~~
* screen (px)
* <640 : small phones
* 641-1280 : large phones, tablets
* 1281+ : desktops
*/
@media only screen
@belfie13
belfie13 / x-man-page.html
Last active March 11, 2020 21:06
open man pages in terminal.app on macOS?
<a href="x-man-page://netstat">man netstat</a>
@belfie13
belfie13 / Recurse through child nodes.js
Created March 11, 2020 21:27
JavaScript Examples from developer.mozilla.org
// The following function recursively calls a callback function for each node contained by a root node
// (including the root itself):
function eachNode(rootNode, callback)
{
if (!callback)
{
const nodes = []
eachNode(rootNode, function(node)
{
@belfie13
belfie13 / InYourFaces.php
Created April 7, 2020 19:59
B13 GuitMuso
<?php
// Frequency hertz()
// PitchClass::A::B::C::D::E::F::G
// Accidental::NATURAL::SHARP::FLAT
// Octave number()
// Note pitchClass() accidental() octave()
# note is defined by frequency(Hz) but can translate into pitchClass/accidental/octave
# mode is made up of intervals
# scale is a mode starting from a tonic, or set of notes with key