Skip to content

Instantly share code, notes, and snippets.

View dwtompkins's full-sized avatar
💭
Coding

Daniel Tompkins dwtompkins

💭
Coding
View GitHub Profile
@gnanderson
gnanderson / fif.sh
Last active June 13, 2023 04:46
Find in file using ripgrep, then fuzzy find matched filenames with fzf, preview match using bat
View fif.sh
fif() {
rg \
--column \
--line-number \
--no-column \
--no-heading \
--fixed-strings \
--ignore-case \
--hidden \
--follow \
@douglasanro
douglasanro / functions.php
Created April 16, 2017 22:22
Create WordPress settings page For custom options
View functions.php
<?php
// Let’s instantiate this class in our functions.php file:
if( is_admin() ) {
require 'simple_settings_page.php';
new simple_settings_page();
}