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 November 3, 2023 15:30
Find in file using ripgrep, then fuzzy find matched filenames with fzf, preview match using bat
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
<?php
// Let’s instantiate this class in our functions.php file:
if( is_admin() ) {
require 'simple_settings_page.php';
new simple_settings_page();
}