چطور میتونیم اسم پروژه جنگو خودمونو تغییر بدیم👇🏻
https://stackoverflow.com/questions/53024807/changing-a-project-name-in-django
https://stackoverflow.com/questions/53024807/changing-a-project-name-in-django
Stack Overflow
Changing a project name in django
I changed the name of my django project from oldname to newname using Pycharm's refactor > rename. I have scoured through the project and it seems to have changed the name everywhere. But when I try
Forwarded from Linuxor ?
یکی از کار های تکراری هکر ها اسکن کردن پورت های سرور شماست برای اینکه بفهمن چه پورت بازی دارین و متناسب با سرویس روی اون حمله رو انجام بدن.
ابزار Portspoof همه پورت هاتون رو به عنوان پورتهای باز نشون میده و جواب پکت هارو فیک میده. در نتیجه مهاجم موقع اسکن کردن گمراه میشه و نمیتونه متوجه شه کدوم پورت واقعاً بازه و کدوم بسته.
https://github.com/drk1wi/portspoof
@Linuxor
ابزار Portspoof همه پورت هاتون رو به عنوان پورتهای باز نشون میده و جواب پکت هارو فیک میده. در نتیجه مهاجم موقع اسکن کردن گمراه میشه و نمیتونه متوجه شه کدوم پورت واقعاً بازه و کدوم بسته.
https://github.com/drk1wi/portspoof
@Linuxor
👍1
Forwarded from Linuxor ?
بستگی به پیچیدگی و تیم پروژتون باید تصمیم بگیرید از چه استراتژی برنچینگ Git استفاده کنید
این مقاله اومده 6 نوع استراتژی برنچینگ Git برای DevOps همراه با جوانب مثبت و منفی اونهارو نوشته
https://dev.to/juniourrau/6-types-of-git-branching-strategy-g54
@Linuxor
این مقاله اومده 6 نوع استراتژی برنچینگ Git برای DevOps همراه با جوانب مثبت و منفی اونهارو نوشته
https://dev.to/juniourrau/6-types-of-git-branching-strategy-g54
@Linuxor
⚡1
Forwarded from PentesterLand Academy - Public
مفتخرم که اعلام کنم شش منبع واقعا فارسی جذاب برای ریسرچ و درک اسیب پذیری توسط بچه ها گروه منتورینگ اکادمی پنتسترلند داره جلو برده میشه
چنل سکیوریتی ریسرچ علیرضا عزیز @Vulnerability_Researcher
( https://news.1rj.ru/str/web_appsec )
چنل توضیح اسیب پذیری اریا
( https://news.1rj.ru/str/toor2root )
کانال کد انالیز عرفان
( https://news.1rj.ru/str/CodeReview0o0 )
توییتر علی( https://x.com/alimostafaeiorg?s=21)
چنل یوتیوب هانتلرن
( https://youtube.com/@huntlearnco?si=qm9l6UebChNUfDhA )
چنل یوتیوب پن تسترلند
https://www.youtube.com/@pentesterland
هر شش تا تایید میشه شدید و بعد استپ دوم و رد کردن لایه اسیب پذیری ها به شدت می تونه نسبت به دیدی که کسب میکنید کمک کنه
چنل سکیوریتی ریسرچ علیرضا عزیز @Vulnerability_Researcher
( https://news.1rj.ru/str/web_appsec )
چنل توضیح اسیب پذیری اریا
( https://news.1rj.ru/str/toor2root )
کانال کد انالیز عرفان
( https://news.1rj.ru/str/CodeReview0o0 )
توییتر علی( https://x.com/alimostafaeiorg?s=21)
چنل یوتیوب هانتلرن
( https://youtube.com/@huntlearnco?si=qm9l6UebChNUfDhA )
چنل یوتیوب پن تسترلند
https://www.youtube.com/@pentesterland
هر شش تا تایید میشه شدید و بعد استپ دوم و رد کردن لایه اسیب پذیری ها به شدت می تونه نسبت به دیدی که کسب میکنید کمک کنه
Forwarded from Linuxor ?
اگه خواستین یه دیتابیس معروف رو حرفه ای بشین این سایت برای هر دیتابیس کلی آموزش و سوال how to با راه حلش داره
database.guide
(توی گوشی با حالت desktop mode بازش کنید)
@Linuxor
database.guide
(توی گوشی با حالت desktop mode بازش کنید)
@Linuxor
Forwarded from Webinarfarsi | Soheib Kiani | وبینار فارسی
Linkedin
#webinarfarsi | Soheib Kiani
اطمینان 100% میدم اگر این لیست رو داشتی الان سطحت 2x از بقیه
بالاتر بود چون اینجا آخرین تکنولوژی بکار رفته!
برای اینکه یک Software engineer بشی "پیشنهاد" میکنم
یه سری به اینا بزن
به زیادیش دقت نکن
هفتگی برنامه ریزی کن و همیشه اخرین ها رو بخون
1. Engineering…
بالاتر بود چون اینجا آخرین تکنولوژی بکار رفته!
برای اینکه یک Software engineer بشی "پیشنهاد" میکنم
یه سری به اینا بزن
به زیادیش دقت نکن
هفتگی برنامه ریزی کن و همیشه اخرین ها رو بخون
1. Engineering…
انقدر با proxmox سرطانای مختلفو تجربه کردم کلی چیز میز هست که یاد گرفتمو باید براش بنویسم
هرموقع بتونم به یه کافنیگ استیبل برسم که عین آدم کار کنه اموزش میذارم براش💀
هرموقع بتونم به یه کافنیگ استیبل برسم که عین آدم کار کنه اموزش میذارم براش💀
Forwarded from CleverDevs (Mammad)
بنظرم نکته ریز و مهمی بود که اگه فرانت کارید بهتره رعایت کنید
#Frontend #uiux
@CleverDevs - @CleverDevsGp
#Frontend #uiux
@CleverDevs - @CleverDevsGp
Forwarded from Webinarfarsi | Soheib Kiani | وبینار فارسی
Linkedin
#webinarfarsi | Soheib Kiani | 10 comments
کامل ترین “Cheat Sheet” موجود برای Rest API ! ! !
تقریبا بیشتر مواردی که اینجا مطرح هستش بهش اشاره شده
با سرچ کردن keyword ها میتونید به اطلاعات خوبی برسید
Architectural Principles of REST
1. Client-Server Architecture
- Strict separation of concerns…
تقریبا بیشتر مواردی که اینجا مطرح هستش بهش اشاره شده
با سرچ کردن keyword ها میتونید به اطلاعات خوبی برسید
Architectural Principles of REST
1. Client-Server Architecture
- Strict separation of concerns…
Forwarded from Linuxor ?
Forwarded from Webinarfarsi | Soheib Kiani | وبینار فارسی
کامل ترین “Cheat Sheet” موجود برای Rest API ! ! !
تقریبا بیشتر مواردی که اینجا مطرح هستش بهش اشاره شده
با سرچ کردن keyword ها میتونید به اطلاعات خوبی برسید
Architectural Principles of REST
1. Client-Server Architecture
- Strict separation of concerns
- Clients make requests
- Servers process and respond
- Enables independent evolution of components
2. Statelessness
- Each request contains complete context
- No server-side session storage
- Improves scalability and reliability
- Enables horizontal scaling
3. Cacheability
- Responses can be cached
- Reduces server load
- Improves response times
- Clearly defined cache control mechanisms
4. Layered System
- Components can be independently replaced
- No direct dependency between layers
- Enhances system flexibility
- Supports complex architectures
5. Uniform Interface
- Standardized communication protocol
- Consistent resource identification
- Manipulation through representations
- Self-denoscriptive messages
HTTP Methods Detailed
GET
- Purpose: Retrieve resource data
- Characteristics:
- Safe operation
- Idempotent
- No side effects
- Example:
POST
- Purpose: Create new resources
- Characteristics:
- Submits data to server
- Generates new resource
- Not idempotent
- Example:
PUT
- Purpose: Complete resource replacement
- Characteristics:
- Updates entire resource
- Idempotent
- Requires full resource representation
- Example:
PATCH
- Purpose: Partial resource modification
- Characteristics:
- Updates specific fields
- More efficient than PUT
- Less bandwidth consumption
- Example:
DELETE
- Purpose: Remove resources
- Characteristics:
- Removes specified resource
- Idempotent
- Can return success/failure status
- Example:
HTTP Status Codes
2xx Success
- 200 OK: Standard successful response
- 201 Created: Resource successfully generated
- 204 No Content: Successful request with no response body
3xx Redirection
- 301 Moved Permanently: Resource relocated
- 304 Not Modified: Cached resource unchanged
- 307 Temporary Redirect: Temporary resource movement
4xx Client Errors
- 400 Bad Request: Invalid syntax
- 401 Unauthorized: Authentication required
- 403 Forbidden: Insufficient permissions
- 404 Not Found: Resource doesn't exist
- 409 Conflict: Request conflicts with current state
5xx Server Errors
- 500 Internal Server Error: Unexpected server issue
- 502 Bad Gateway: Invalid server response
- 503 Service Unavailable: Temporary server limitations
- 504 Gateway Timeout: Server didn't receive timely response
Resource Design Principles
Endpoint Naming
- Use nouns
- Prefer plural forms
- Lowercase with hyphens
- Hierarchical and logical structure
- Example:
Query Parameters
- Filtering:
- Sorting:
- Pagination:
Security Best Practices
Authentication
- OAuth 2.0
- JWT (JSON Web Tokens)
- API Keys
- OpenID Connect
Authorization
- Role-Based Access Control (RBAC)
- Attribute-Based Access Control (ABAC)
- Fine-grained permission management
Protection Strategies
- Always use HTTPS
- Input validation
- Output encoding
- Rate limiting
- CORS configuration
- Security headers
- Regular security audits
Performance Optimization
Caching Strategies
- Browser caching
- CDN implementation
- ETag support
- Cache-Control headers
Efficiency Techniques
- Compression
- Minimal payload
- Efficient serialization
- Pagination
- Bulk operations
Documentation Guidelines
- Clear endpoint denoscriptions
- Request/response examples
- Error code explanations
- Authentication requirements
- Version management
تقریبا بیشتر مواردی که اینجا مطرح هستش بهش اشاره شده
با سرچ کردن keyword ها میتونید به اطلاعات خوبی برسید
Architectural Principles of REST
1. Client-Server Architecture
- Strict separation of concerns
- Clients make requests
- Servers process and respond
- Enables independent evolution of components
2. Statelessness
- Each request contains complete context
- No server-side session storage
- Improves scalability and reliability
- Enables horizontal scaling
3. Cacheability
- Responses can be cached
- Reduces server load
- Improves response times
- Clearly defined cache control mechanisms
4. Layered System
- Components can be independently replaced
- No direct dependency between layers
- Enhances system flexibility
- Supports complex architectures
5. Uniform Interface
- Standardized communication protocol
- Consistent resource identification
- Manipulation through representations
- Self-denoscriptive messages
HTTP Methods Detailed
GET
- Purpose: Retrieve resource data
- Characteristics:
- Safe operation
- Idempotent
- No side effects
- Example:
/users/123POST
- Purpose: Create new resources
- Characteristics:
- Submits data to server
- Generates new resource
- Not idempotent
- Example:
/usersPUT
- Purpose: Complete resource replacement
- Characteristics:
- Updates entire resource
- Idempotent
- Requires full resource representation
- Example:
/users/123PATCH
- Purpose: Partial resource modification
- Characteristics:
- Updates specific fields
- More efficient than PUT
- Less bandwidth consumption
- Example:
/users/123DELETE
- Purpose: Remove resources
- Characteristics:
- Removes specified resource
- Idempotent
- Can return success/failure status
- Example:
/users/123HTTP Status Codes
2xx Success
- 200 OK: Standard successful response
- 201 Created: Resource successfully generated
- 204 No Content: Successful request with no response body
3xx Redirection
- 301 Moved Permanently: Resource relocated
- 304 Not Modified: Cached resource unchanged
- 307 Temporary Redirect: Temporary resource movement
4xx Client Errors
- 400 Bad Request: Invalid syntax
- 401 Unauthorized: Authentication required
- 403 Forbidden: Insufficient permissions
- 404 Not Found: Resource doesn't exist
- 409 Conflict: Request conflicts with current state
5xx Server Errors
- 500 Internal Server Error: Unexpected server issue
- 502 Bad Gateway: Invalid server response
- 503 Service Unavailable: Temporary server limitations
- 504 Gateway Timeout: Server didn't receive timely response
Resource Design Principles
Endpoint Naming
- Use nouns
- Prefer plural forms
- Lowercase with hyphens
- Hierarchical and logical structure
- Example:
/user-profiles/activeQuery Parameters
- Filtering:
?status=active- Sorting:
?sort=name- Pagination:
?page=2&limit=50Security Best Practices
Authentication
- OAuth 2.0
- JWT (JSON Web Tokens)
- API Keys
- OpenID Connect
Authorization
- Role-Based Access Control (RBAC)
- Attribute-Based Access Control (ABAC)
- Fine-grained permission management
Protection Strategies
- Always use HTTPS
- Input validation
- Output encoding
- Rate limiting
- CORS configuration
- Security headers
- Regular security audits
Performance Optimization
Caching Strategies
- Browser caching
- CDN implementation
- ETag support
- Cache-Control headers
Efficiency Techniques
- Compression
- Minimal payload
- Efficient serialization
- Pagination
- Bulk operations
Documentation Guidelines
- Clear endpoint denoscriptions
- Request/response examples
- Error code explanations
- Authentication requirements
- Version management
Forwarded from Linuxor ?
اگه خواستی درباره سیستم عامل ها بدونی هر روز یکی از قسمت های اینو بخون، خیلی از مباحث سیستم عامل رو با مثال توضیح داده :
https://mohitmishra786.github.io/exploring-os/src/
@Linuxor
https://mohitmishra786.github.io/exploring-os/src/
@Linuxor
Forwarded from Applyfarsi30
ما یک موسسه بین المللی در خیلی از کشورهای دنیا داریم
که میان فرصت های کاآموزی رو برای دانشجویان کشورشون فراهم میکنن
دقیقا مثل تبادل دانشجو
ولی این بار کارآموزی هستش
یعنی دقیقا همون کارآموزی که من و شما درموردش میدونیم
برای اینکه شما انتخاب بشید باید چند تا شرایط رو داشته باشید:
- اینکه زبان انگلیسی بلد باشد چون قبل از ثبت نام از شما آزمون گرفته میشه
- باید میان افراد برتر باشید تا جزو شانس پذیرش باشید
- بعد از انتخاب شده شما به مصاحبه دعوت میشید که سخت نیست
- بعد از اینکه قبول شدید از شما مدارکی مثل انگیزه نامه، رزومه و . . . گرفته میشه
این موسسه در ایران اسمش "آیسته ایران"
اینم لینکش
https://iaeste.ir/
این پوزیشن ها معمولا اواخر پاییز تا اواسط زمستان باز میشن
پس حواستون جمع باشه
که میان فرصت های کاآموزی رو برای دانشجویان کشورشون فراهم میکنن
دقیقا مثل تبادل دانشجو
ولی این بار کارآموزی هستش
یعنی دقیقا همون کارآموزی که من و شما درموردش میدونیم
برای اینکه شما انتخاب بشید باید چند تا شرایط رو داشته باشید:
- اینکه زبان انگلیسی بلد باشد چون قبل از ثبت نام از شما آزمون گرفته میشه
- باید میان افراد برتر باشید تا جزو شانس پذیرش باشید
- بعد از انتخاب شده شما به مصاحبه دعوت میشید که سخت نیست
- بعد از اینکه قبول شدید از شما مدارکی مثل انگیزه نامه، رزومه و . . . گرفته میشه
این موسسه در ایران اسمش "آیسته ایران"
اینم لینکش
https://iaeste.ir/
این پوزیشن ها معمولا اواخر پاییز تا اواسط زمستان باز میشن
پس حواستون جمع باشه