Skip to content

Instantly share code, notes, and snippets.

View Wolfy64's full-sized avatar

David De Wulf Wolfy64

View GitHub Profile
// create a bookmark and use this code as the URL, you can now toggle the css on/off
// thanks+credit: https://dev.to/gajus/my-favorite-css-hack-32g3
javascript: (function() {
var elements = document.body.getElementsByTagName('*');
var items = [];
for (var i = 0; i < elements.length; i++) {
if (elements[i].innerHTML.indexOf('* { background:#000!important;color:#0f0!important;outline:solid #f00 1px!important; background-color: rgba(255,0,0,.2) !important; }') != -1) {
items.push(elements[i]);
}
}
@Wolfy64
Wolfy64 / GitCommitEmoji.md
Created February 28, 2019 04:42 — forked from parmentf/GitCommitEmoji.md
Git Commit message Emoji
@Wolfy64
Wolfy64 / _Autoloader.php
Created October 9, 2018 14:38
PHP Autoloader
<?php
namespace App\Classes;
/**
* Autoloader for class and namespace
*/
Class Autoloader
{
/**
@Wolfy64
Wolfy64 / README-Template.md
Created July 19, 2018 18:36 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@Wolfy64
Wolfy64 / webdev_online_resources.md
Created July 16, 2018 23:01 — forked from bradtraversy/webdev_online_resources.md
Online Resources For Web Developers (No Downloading)
@Wolfy64
Wolfy64 / gist:2ec44953b2df3a21dc0f98b59bba3cfc
Created June 16, 2018 01:02
JavaScript - Recursion - entries: Object
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>JavaScript - Recursion - entries()</title>
<style>
#myContainer {
max-width: 300px;
margin: 6px auto;
@Wolfy64
Wolfy64 / palindrome.js
Last active May 15, 2018 23:24
palindrome JS
function palindrome(str) {
regExp = /[^a-z\d]/gi; // Keep every letters and digits
word = str.toLowerCase().replace(regExp, '');
palindrome = word.split('').reverse().join('');
return palindrome === word;
}