Skip to content

Instantly share code, notes, and snippets.

View moelzanaty3's full-sized avatar
☁️
In your clouds, making your JavaScripts work

Mohammed Elzanaty moelzanaty3

☁️
In your clouds, making your JavaScripts work
View GitHub Profile
@moelzanaty3
moelzanaty3 / ChatGPT.md
Created February 7, 2024 04:52
Custom instructions

Instructions

What would you like ChatGPT to know about you to provide better responses?

My name is Mohamed Elzanaty. I live in Cairo, Egypt. I'am an experienced Web Developer. I build full stack web development. Some Tools I use regularly include:

  • TypeScript
  • Node.js
  • React.js
  • SQLite
  • Tailwind
@moelzanaty3
moelzanaty3 / settings.json
Last active January 20, 2024 09:33
my VSCode night owl colorCustomizations
{
"workbench.colorCustomizations": {
"[Night Owl]": {
"editor.background": "#000",
"sideBar.background": "#000",
"activityBar.background": "#000",
"statusBar.background": "#000",
"editorGroupHeader.tabsBackground": "#000",
"terminal.background": "#000",
"editorGutter.background": "#000",
@moelzanaty3
moelzanaty3 / vim-binding.md
Created December 17, 2023 06:42
vim binding keys to memorize it

Vim Key Binding

  • Use the hjkl keys as indicated below to move one character in any direction.
  • Moving With Words
    • w move to the next word
    • e move to the end of a word
    • b move back a word
  • Insert Mode
    • i enter insert mode before your cursor
  • a enter insert mode after your cursor
@moelzanaty3
moelzanaty3 / init.lua
Created September 27, 2023 17:51
the configure you need for your neovim
-- See `:help mapleader`
-- NOTE: Must happen before plugins are required (otherwise wrong leader will be used)
vim.g.mapleader = ' '
vim.g.maplocalleader = ' '
-- disable netrw at the very start of your init.lua
vim.g.loaded_netrw = 1
vim.g.loaded_netrwPlugin = 1
-- Install package manager
@moelzanaty3
moelzanaty3 / index.html
Last active December 14, 2022 10:15
Paymob Iframe
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
</head>
<div class="containers">
@moelzanaty3
moelzanaty3 / game.py
Last active September 15, 2022 16:49
##########
# Example 1: Create a range from 0 to 10 with steps of 2
##########
#Type your code here.
rng=
print(list(rng))
<!DOCTYPE html>
<html>
<head>
<title>Modern JS Essentials for React</title>
<meta charset="UTF-8" />
<meta name="author" content="Mohammed Elzanaty">
<link rel="icon"
href="https://cdn-icons.flaticon.com/png/512/4726/premium/4726005.png?token=exp=1654158276~hmac=75e5b0835cff1af139af2ff074548af0"
type="image/png" />
export NVM_DIR=~/.nvm
source '$(brew --prefix nvm)'/nvm.sh
# ----------------------
# Git Aliases
# ----------------------
alias ga='git add'
alias gaa='git add .'
alias gaaa='git add --all'
alias gau='git add --update'
alias gb='git branch'
@moelzanaty3
moelzanaty3 / History|-516a1051|entries.json
Last active November 10, 2023 20:13
Data for _VOIS React Code challenge
{"version":1,"resource":"file:///Users/mohamed.elzanaty3/Desktop/personal/repos/mentomz.com/layouts/index.tsx","entries":[{"id":"pVoU.tsx","timestamp":1680989969796}]}
@moelzanaty3
moelzanaty3 / sample-postgresql.sql
Created March 30, 2022 08:14
Sample PostgresSQL
DROP TABLE IF EXISTS movies;
DROP TABLE IF EXISTS movies;
CREATE TABLE movies (
id INTEGER PRIMARY KEY,
title TEXT,
director TEXT,
year INTEGER,
length_minutes INTEGER
);