Skip to content

Instantly share code, notes, and snippets.

View itsariful's full-sized avatar
🏠
Working from home

Ariful islam itsariful

🏠
Working from home
View GitHub Profile
@itsariful
itsariful / generate-ssh-key.sh
Created December 30, 2020 13:11 — forked from grenade/01-generate-ed25519-ssh-key.sh
Correct file permissions for ssh keys and config.
ssh-keygen -t rsa -b 4096 -N '' -C "rthijssen@gmail.com" -f ~/.ssh/id_rsa
ssh-keygen -t rsa -b 4096 -N '' -C "rthijssen@gmail.com" -f ~/.ssh/github_rsa
ssh-keygen -t rsa -b 4096 -N '' -C "rthijssen@gmail.com" -f ~/.ssh/mozilla_rsa
@itsariful
itsariful / gist:de244b6e172d23c903c5e0a28ddcfdb5
Created February 13, 2022 14:42 — forked from elliotcondon/gist:f0f3141f34d1e57fc55387574c49262c
A Closer Look at Applying Filter Variations in ACF.
function acf_get_value( $post_id, $field ) {
// Load meta value.
$value = acf_get_metadata( $post_id, $field['name'] );
/**
* Filters the $value after it has been loaded.
*
* @date 28/09/13
* @since 5.0.0