Skip to content

Instantly share code, notes, and snippets.

View alalm3i's full-sized avatar

Nabeel alalm3i

View GitHub Profile
@alalm3i
alalm3i / script.js
Created May 10, 2025 09:59
Guess the code function
const $app = document.querySelector('.app');
const $modal = document.querySelector('.modal');
const $currency = $app.querySelector('.currency');
const $currencyContainer = $currency.querySelector('.currency-container');
const $currencyValue = $currency.querySelector('.value');
const $blockSetTime = $app.querySelector('.set-time');
// const $timeInput = $blockSetTime.querySelector('.time_input');
const $timeValue = $blockSetTime.querySelector('.time_val');
const $timeItems = $blockSetTime.querySelector('.set-time-items');
const $blockForecast = $app.querySelector('.forecast');

Learning Plan for Test Driven Development (TDD)

These learning resources primarily focus on Test Driven Development (TDD).

  • There is an emphasis on learning using PHP, Laravel and PHPUnit.
  • All these resources are free (at the time of writing)
@alalm3i
alalm3i / lamp.sh
Created March 10, 2018 12:48 — forked from aamnah/lamp.sh
Bash script to install Apache, MySQL and PHP as well as PHPMyAdmin and some tweaks. For Debian and Ubuntu. To run, copy the script to the server and run ``bash lamp.sh``
#!/bin/sh
#######################################
# Bash script to install an AMP stack and PHPMyAdmin plus tweaks. For Debian based systems.
# Written by @AamnahAkram from http://aamnah.com
# In case of any errors (e.g. MySQL) just re-run the script. Nothing will be re-installed except for the packages with errors.
#######################################
#COLORS