Skip to content

Instantly share code, notes, and snippets.

View bueltge's full-sized avatar
Always interested

Frank Bültge bueltge

Always interested
View GitHub Profile
@bueltge
bueltge / question.md
Created March 19, 2020 07:57
Rules to use open source solutions?

If I create new solutions, libraries then is often my task to search for existing solutions to use them or use them as library to create faster and more solid the goal. The current status is more feeling, a mind set on my side to decide is this repository useful and still active in maintenance. So I look at the project is it a 'one man show' or a lot of committers, an organization. This entirely depends on my priorities and field. The more experimental or niche work my do. Different languages may also exhibit different technical traits here which makes this more or less of a concern. In the end I will have to decide for myself, but a list of helping points is more transparent and supporting my decision.

So I want to create clues and indications (not really rules) to get an easier decision to use or not use this library in my project.

Maybe you had also thought about or you have the same problem.

How you decide about the dependencies in your project?

@bueltge
bueltge / gutenberg-whitelist.php
Created December 4, 2019 12:10
Gutenberg Whitelist
<?php
/**
* Plugin Name: Control Gutenberg blocks.
* Description:
* Plugin URI: https://bueltge.de
* Version: 1.0.0
* Author:
* Author URI:
* Licence: GPLv2+
*/
@bueltge
bueltge / table.css
Created October 21, 2019 12:17
Simple Responsive Tables with Flexbox
/* Default table styles for this demo */
table {
border-collapse: collapse;
text-align: left;
width: 100%;
}
table tr {
background: white;
border-bottom: 1px solid
}
@bueltge
bueltge / audit-performance.md
Last active December 31, 2019 13:32
Resources for Audit Performance

Resources

web.dev

Tools (online) for Audit Performance

Webhint

  • webhint is a customizable linting tool that helps you improve your site's accessibility, speed, cross-browser compatibility, and more
  • https://webhint.io/scanner/
@bueltge
bueltge / http-status-codes-explained.md
Last active June 13, 2023 13:16
HTTP Status Codes Explained

HTTP Status Codes Explained

In a Client-Server architecture, you (the Client end) receives various types of responses and to identify each of them, these HTTP Status Codes are divided into various categories. Each status code is a 3 digit number of which, the first digit determines the category and the rest two digits really gives the meaning to these HTTP Status Codes.

@bueltge
bueltge / cookie.html
Created July 1, 2019 13:38
cookie notice
@bueltge
bueltge / listing-13-1.php
Last active February 21, 2021 23:10 — forked from WordPress-Handbuch/listing-13-1.php
Plugin to include only specific plugins in the automatic updates
<?php
/**
* Plugin Name: Control plugin update.
* Description: xyz
* Plugin URI: https://wpbuch.com/listing-13-1
* Version: 1.0.0
* Author:
* Author URI:
* Licence: GPLv2+
*/
@bueltge
bueltge / emoji-removel.php
Last active March 25, 2019 08:16
Remove the Emoji Support in WordPress. #performance
<?php declare(strict_types=1);
/**
* Plugin Name: Emoji Removel.
* Description: Remove all Emoji support to laod faster on back - and front-end.
*/
add_action(
'init',
function () {
remove_action('wp_head', 'print_emoji_detection_script', 7);
@bueltge
bueltge / disable-rest-api.php
Last active April 30, 2020 04:22
Disable WordPress REST API for users, there have not enough rights
<?php # -*- coding: utf-8 -*-
declare(strict_types=1);
/**
* Plugin Name: Disable REST API
*/
// Completely disable wp-json access.
add_filter(
'rest_authentication_errors',
function () {
<?php # -*- coding: utf-8 -*-
/**
* Plugin Name: Gutenberg Add Formatting
* Description: Add formatting button in Gutenberg.
* Plugin URI:
* Version: 0.0.1
* Author:
* Author URI:
* Licence: MIT
* Text Domain: