Skip to content

Instantly share code, notes, and snippets.

View charliewynn's full-sized avatar

Charlie Wynn charliewynn

View GitHub Profile
@charliewynn
charliewynn / gist:8b8af005bfe89f49ebab865f24cd63f3
Created October 13, 2023 16:54
Search Windows multiple files for substring
findstr /s mystring ./*
findstr /s "my string with spaces" ./*
DECLARE @searchValue NVARCHAR(255) = '1856' -- Text or Number (text is converted in number if necessary)
IF OBJECT_ID('tempdb..#SearchResults') IS NOT NULL
BEGIN
DROP TABLE #SearchResults
END
CREATE TABLE #SearchResults (
TableName NVARCHAR(128),
ColumnName NVARCHAR(128),
* {
letter-spacing: 3px;
text-shadow: -3px 0 1px cyan, 3px 0 1px red;
}
@charliewynn
charliewynn / FindValue.sql
Created November 18, 2020 21:28
Sql find value
--Run using
-- exec SearchAllTables 'my Search'
--maybe edit the order By at the very bottom of this file
-- drop proc SearchAllTables
CREATE PROC SearchAllTables
(
@SearchStr nvarchar(100)
)
@charliewynn
charliewynn / AHK Script
Last active November 17, 2017 01:52
K95 profile, with autohot key
;you have to re-map the f keys so they work.
;Otherwise AHK will just 'wait' for the number key after - if there is non then nothing happens
f1::f1
f2::f2
f3::f3
f4::f4
f5::f5
f6::f6
f7::f7
f8::f8