Skip to content

Instantly share code, notes, and snippets.

View EliasSalom's full-sized avatar
:octocat:
Working

elias sallom EliasSalom

:octocat:
Working
View GitHub Profile
@EliasSalom
EliasSalom / README.md
Last active March 30, 2023 19:26
AWS-deploy

AWS deploy steps

Description

this readme will show how to deploy to AWS backend for web system

Steps

@EliasSalom
EliasSalom / open-NX-monorepo.md
Last active January 29, 2023 18:20
docker file

Create NX workspace - Monorepo

1.

2.

3.

4.

@EliasSalom
EliasSalom / iab_categories_openrtb2.4.json
Created December 19, 2022 11:47 — forked from akrylysov/iab_categories_openrtb2.4.json
List of IAB categories from OpenRTB 2.4 specification in JSON format
{
"IAB1": "Arts & Entertainment",
"IAB1-1": "Books & Literature",
"IAB1-2": "Celebrity Fan/Gossip",
"IAB1-3": "Fine Art",
"IAB1-4": "Humor",
"IAB1-5": "Movies",
"IAB1-6": "Music",
"IAB1-7": "Television",
"IAB2": "Automotive",
@EliasSalom
EliasSalom / semantic-commit-messages.md
Last active January 26, 2023 09:39 — forked from joshbuchea/semantic-commit-messages.md
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

@EliasSalom
EliasSalom / dateTime.js
Last active June 16, 2022 11:23
Javascript Date and Time
// getFullYear() - Returns the 4-digit year
// getMonth() - Returns a zero-based integer (0-11) representing the month of the year.
// getDate() - Returns the day of the month (1-31).
// getDay() - Returns the day of the week (0-6). 0 is Sunday, 6 is Saturday.
// getHours() - Returns the hour of the day (0-23).
// getMinutes() - Returns the minute (0-59).
// getSeconds() - Returns the second (0-59).
// getMilliseconds() - Returns the milliseconds (0-999).
// getTimezoneOffset() - Returns the number of minutes between the machine local time and
@EliasSalom
EliasSalom / Readme.md
Last active June 13, 2022 13:57
Screen-Size

All screen style

  1. 320px — 480px: Mobile devices
  2. 481px — 768px: iPads, Tablets
  3. 769px — 1024px: Small screens, laptops
  4. 1025px — 1200px: Desktops, large screens
  5. 1201px and more —  Extra large screens, TV

320px — 480px: Mobile devices 📱

@EliasSalom
EliasSalom / proto.md
Last active June 7, 2022 11:14
install grpc

install protobuf on mac (python)

you can to follow the link click here 1) brew install protobuf

pip install grpcio grpcio-tools

@EliasSalom
EliasSalom / Router.js
Last active May 20, 2022 06:30
React-Router
const Menu: React.FC = () => {
return (
<Router>
<nav>
<ul className='Menu-navbar'>
<div className='Menu-Logo-place'>
<Link to="/"><img className='Menu-logo-image' src={Menu_logo} alt="lt" /></Link>
</div>
<div className='Menu-list-place'>
@EliasSalom
EliasSalom / ObjectLoop.js
Last active March 15, 2022 01:01
ObjectLoop
function LoopOverObject(obj)
{
for (let prop in obj) {
console.log(prop, obj[prop]);
// Check if Arry of (numbers or strings)
if(typeof obj[prop] === 'object' && Array.isArray(obj[prop]) === true)
{
for(let arr of obj[prop])
{
console.log(">> "+arr);
@EliasSalom
EliasSalom / variousCountryListFormats.js
Created December 9, 2021 16:07 — forked from incredimike/variousCountryListFormats.js
List of Countries in various Javascript data structures: Alphabetical country lists & Country data objects.
// Lists of countries with ISO 3166 codes, presented in various formats.
// Last Updated: July 30, 2020
// If you're using PHP, I suggest checking out:
// https://github.com/thephpleague/iso3166
// or Laravel: https://github.com/squirephp/squire
//
// JS developers can check out:
// https://www.npmjs.com/package/iso3166-2-db
//