Skip to content

Instantly share code, notes, and snippets.

View orenaksakal's full-sized avatar
🍻

Oren Aksakal orenaksakal

🍻
View GitHub Profile
Privacy Policy for HS Tracking
HS Tracking is an internal Chrome extension developed for Hootsuite employees. This privacy policy outlines how the extension handles data.
Data Collection and Usage
HS Tracking logs tracking events to the browser console. It does not:
- Collect personal information
- Store or transmit data outside of the local browser environment
- Interfere with or modify any user data
!Disclaimer: Go for hosted version always which is amazing and you will get amazing support, I'm only experimenting with this for fun. In fact I'm a pro customer
Everything including auth works but you won't get a dashboard to view and edit your data unless you create one yourself or until team opensources dashboard as well
special thanks to patte for providing docker image at https://github.com/patte/convex-backend-docker
# Guide
## Preperations
Give a read to convex provided self hosting guide at https://github.com/get-convex/convex-backend/blob/main/SELFHOSTING.md

Let & Const in ES6

Because most of us know what are the differences between let const and var I would like to go a bit deeper and talk about what I have learned while studying how this simple code block gets evaluated "var foo = 'bar';".

Quick info

Javascript is a compiled language with these 3 layers

  1. Engine: Responsible of compilation and execution, entire start to end life of the program.
  2. Compiler: Parses the given tokens and generates the code to be read by machine.
  3. Scope: Contains the lookup schema/list for all the declarations also creates accessablity map and rules for declarations

Default Parameters

WHAT IS A PARAMETER ?

Parameter is a variable found in the function definition.
In compilation phase when we are on the line of a function definition with a parameter 
that parameter is registered to function's lexical scope as a local variable.

PARAMETER === LOCAL VARIABLE