Skip to content

Instantly share code, notes, and snippets.

View sherifsakr's full-sized avatar

SHERIF SAKR sherifsakr

View GitHub Profile
@sherifsakr
sherifsakr / kcna-prep-quiz.md
Created October 11, 2025 08:08 — forked from sudoevans/kcna-prep-quiz.md
KCNA Prep Questions

KCNA Full 60-Question Mock Exam (with Answers)

Format: Multiple Choice (single best answer).
Use this like the real exam: attempt all questions, then check answers at the end.

Kubernetes Fundamentals (Q1–20)

Q1. What is the smallest deployable unit in Kubernetes?
a) Container

@sherifsakr
sherifsakr / d8-attach-lib-form
Created October 28, 2021 23:28 — forked from batigolix/d8-attach-lib-form
drupal 8 attached library & js settings to form element
$form['interval'] = [
'#type' => 'textfield',
'#title' => $this->t('Reactivation interval'),
'#description' => $this->t(''),
'#maxlength' => 64,
'#size' => 64,
'#default_value' => $config->get('interval'),
'#suffix' => "<div class='description' id='human-interval'></div>",
'#description'=> $this->('Period after which account must be reactivated. Must be entered in days.'),
'#attached' => [