Skip to content

Instantly share code, notes, and snippets.

Problem

In Arch Linux mkinitcpio -p linux

shows

Possibly missing firmware for module: aic94xx
Possibly missing firmware for module: wd719x
Possibly missing firmware for module: xhci_pci
@imitronov
imitronov / wp-admin-add-posts-state.php
Created February 10, 2020 08:53 — forked from martijn94/wp-admin-add-posts-state.php
Snippet to add post state to a WordPress page
<?php
//======================================================================
// Add post state to the projects page
//======================================================================
add_filter( 'display_post_states', 'ecs_add_post_state', 10, 2 );
function ecs_add_post_state( $post_states, $post ) {
@imitronov
imitronov / docker-help.md
Created November 6, 2018 18:07 — forked from bradtraversy/docker-help.md
Docker Commands, Help & Tips

Docker Commands, Help & Tips

Show commands & management commands

$ docker

Docker version info

@imitronov
imitronov / mysqldump.php
Created September 18, 2018 06:44 — forked from micc83/mysqldump.php
Simple PHP script to dump a MySql database
<?php
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
$database = 'db';
$user = 'user';
$pass = 'pass';
$host = 'localhost';