Skip to content

Instantly share code, notes, and snippets.

View Phil-Venter's full-sized avatar
💭
I honestly have no idea what I'm doing...

Caffeinated Coder Phil-Venter

💭
I honestly have no idea what I'm doing...
View GitHub Profile
@Phil-Venter
Phil-Venter / atom-package-sync.cson
Last active June 28, 2017 09:20
Atom Package Sync
"atom-beautify":
prettyName: "Atom Beautify"
homepage: "https:/atom.io/packages/atom-beautify"
"autoclose-html":
prettyName: "Autoclose Html"
homepage: "https:/atom.io/packages/autoclose-html"
"file-icons":
prettyName: "File Icons"
homepage: "https:/atom.io/packages/file-icons"
"language-blade":
- [Complete List of HTML Meta Tags](https://gist.github.com/whitingx/3840905)
- [List of Usable HTML Meta and Link Tags](https://gist.github.com/kevinSuttle/1997924)
- [HTML5 Boilerplate explanations and suggestions of header tags](http://html5boilerplate.com/docs/head-Tips/)
- [Dublic Core Meta Tags](http://www.seoconsultants.com/meta-tags/dublin/)
- [Apple Meta Tags](http://developer.apple.com/safari/library/documentation/appleapplications/reference/safarihtmlref/articles/metatags.html)
- [OpenGraph Meta Tags](http://opengraphprotocol.org/)
- [Link Tag Meaning](http://intertwingly.net/wiki/pie/LinkTagMeaning)
- [Google Chrome HTML5 Tags](http://www.html5rocks.com/)
@Phil-Venter
Phil-Venter / file.md
Last active March 3, 2020 18:48
just here as a test

Hey congrats on landing here


Pease comment as to how you came accross this gist. :)

This is a bit of an obscure experiment to those who do not understand...

@Phil-Venter
Phil-Venter / .eslintrc.yml
Created March 16, 2020 19:32
Base eslint yml file
env:
commonjs: true
es6: true
extends: 'eslint:recommended'
globals:
Atomics: readonly
SharedArrayBuffer: readonly
parserOptions:
ecmaVersion: 2018
rules:
@Phil-Venter
Phil-Venter / set_shortcuts.sh
Last active April 29, 2020 11:29
Ubuntu Alterations
#!/bin/sh
gsettings set org.gnome.desktop.wm.keybindings activate-window-menu "['<Alt>space']";
gsettings set org.gnome.desktop.wm.keybindings begin-move "['<Alt>F7']";
gsettings set org.gnome.desktop.wm.keybindings begin-resize "['<Alt>F8']";
gsettings set org.gnome.desktop.wm.keybindings close "['<Alt>F4']";
gsettings set org.gnome.desktop.wm.keybindings cycle-group "['<Alt>F6']";
gsettings set org.gnome.desktop.wm.keybindings cycle-group-backward "['<Shift><Alt>F6']";
gsettings set org.gnome.desktop.wm.keybindings cycle-panels "[]";
gsettings set org.gnome.desktop.wm.keybindings cycle-panels-backward "[]";
gsettings set org.gnome.desktop.wm.keybindings cycle-windows "['<Alt>Escape']";
@Phil-Venter
Phil-Venter / v.lib.js
Last active July 27, 2020 12:37
Simple validators
/**
* a simple validation class with no external requirements
* @class V
*/
class V {
/**
* some of the possible data types
* @static
* @enum
* @memberof V
@Phil-Venter
Phil-Venter / Collection.php
Last active August 18, 2020 08:08
Playing around with Functional PHP
<?php
class Collection
{
private $data;
public function __construct($data)
{
$this->data = $data;
}
@Phil-Venter
Phil-Venter / Compose.md
Created March 8, 2024 14:03
Simple PHP pipe implementation
class Compose
{
    public static function pipe(callable ...$fns): Closure
    {
        return function ($initial) use ($fns) {
            return array_reduce($fns, fn ($prev, $curr) => $curr($prev), $initial);
        };
    }
}