Skip to content

Instantly share code, notes, and snippets.

View traeH-Heart's full-sized avatar

KernelX traeH-Heart

  • Gorilla PHP
  • Manila Streets
View GitHub Profile
@traeH-Heart
traeH-Heart / event-loop.md
Created June 3, 2019 13:09 — forked from jesstelford/event-loop.md
What is the JS Event Loop and Call Stack?

Regular Event Loop

This shows the execution order given JavaScript's Call Stack, Event Loop, and any asynchronous APIs provided in the JS execution environment (in this example; Web APIs in a Browser environment)


Given the code

@traeH-Heart
traeH-Heart / Project Directory Structure
Created March 2, 2015 06:19
Recommended Project Directory Structure
<project name>/
application/
configs/
application.ini
controllers/
helpers/
forms/
layouts/
filters/
helpers/
@traeH-Heart
traeH-Heart / string in different ways
Created March 2, 2015 05:49
String in different ways
<?php
//STRING IN DIFFERENT WAYS
//----------------------------------------------
echo 'Iam David Heart';
echo 'embedded newlines
embedded newlines
embedded newlines';