Skip to content

Instantly share code, notes, and snippets.

Install Zsh and Oh-my-zsh on Rocky Linux

Based on this article

ALL INSTALLATIONS ASSUME YES WHEN PROMPTED, that's what -y does

This script can be copy paste to ssh as is. No hands installation. :-)

yum install zsh -y
@ebell451
ebell451 / killDocker.md
Created October 27, 2022 03:50 — forked from nicolaskopp/killDocker.md
How to delete `C:\ProgramData\Docker` and fixing "Access denied" errors

Still an issue in May 2021. Welcome to the future of web development. Take this Gist to rest and calm down.

Here is how to delete C:\ProgramData\Docker.

  1. Uninstall docker the normal way (yeah you may have already done that)
  2. Copy this:
    # Leave swarm mode (this will automatically stop and remove services and overlay networks)
 docker swarm leave --force
@ebell451
ebell451 / SP_SearchTables.sql
Last active May 19, 2023 18:15 — forked from chrispret/SP_SearchTables.sql
Search SQL Tables for text with filters for tables, columns, and schema
-- Originally found here: https://gallery.technet.microsoft.com/scriptcenter/c0c57332-8624-48c0-b4c3-5b31fe641c58
-- Modified to include column filter
IF OBJECT_ID('SP_SearchTables','P') IS NOT NULL
DROP PROCEDURE SP_SearchTables
GO
CREATE PROCEDURE SP_SearchTables
@Tablenames VARCHAR(500)
,@Columnnames VARCHAR(500)
,@IgnoreColumnForTextSearch Bit = 0
,@SearchStr NVARCHAR(500) = '%9000%'