Skip to content

Instantly share code, notes, and snippets.

View Salem-Abderaouf's full-sized avatar
🏠
Working from home

Salem Raouf Salem-Abderaouf

🏠
Working from home
View GitHub Profile
@Salem-Abderaouf
Salem-Abderaouf / review-checklist.md
Created March 22, 2023 14:10 — forked from bigsergey/review-checklist.md
Front-end Code Review Checklist

Review checklist

General

  1. Does the code work?
  2. Description of the project status is included.
  3. Code is easily understand.
  4. Code is written following the coding standarts/guidelines (React in our case).
  5. Code is in sync with existing code patterns/technologies.
  6. DRY. Is the same code duplicated more than twice?

Conventional Commit Messages

See how a minor change to your commit message style can make a difference. Examples

Have a look at CLI util git-conventional-commits to ensure this conventions and generate changelogs

Commit Formats

Default

@Salem-Abderaouf
Salem-Abderaouf / rename.py
Last active July 24, 2022 23:11
Find string in filename and rename it
import os
import re
images = os.listdir('./')
for image in images:
image_copy = image
x = re.findall("\d", image_copy)
new_name = ''.join(x) + '.jpg'
try:
os.rename(image, new_name)
# react native git ignore file
# OSX
#
.DS_Store
# Xcode
#
build/
*.pbxuser
!default.pbxuser
@Salem-Abderaouf
Salem-Abderaouf / AR.jsx
Created December 23, 2021 14:35
Create AR app with viro
<ViroPortalScene passable={true}>
<ViroPortal
position={[0,0,-1]}
scale={[0.1,0.1,0.1]}
>
{
// ViroPortal to Create window or door
}
<Viro3DObject
source={your_source}