The Cobox — Knowledge is Growth
Tutorials, course notes and interview questions, free for everyone who wants to learn.
- All
- Python 133
- Tools 30
- Tutorials 20
- DATABASE 10
- PHP 8
- C & C++ 5
- Java 4
- Web Development 2
- General Blogs 1
-
How to create a REST API in Laravel: resources, validation and Sanctum tokens
Build a complete JSON API in Laravel: migration and model, an API resource controller, form request validation, API resources for the response shape, pagination and filtering, token authentication with Sanctum, and tests with real request and response output.
-
Laravel roles and permissions: Spatie package, gates and policies
Add roles and permissions to a Laravel app: install spatie/laravel-permission, create roles and permissions, protect routes with middleware, check access in code and Blade, and combine it with gates and policies. Tested on a fresh Laravel app.
-
External sort explained: sorting data that does not fit in memory
What external sorting is and why it exists: splitting a huge file into sorted runs, merging them with a k-way merge, how many passes it needs, and a complete Python implementation tested on a million numbers with a memory comparison.
-
Git workflow for beginners: init, commit, branch, merge, push and undo
A day-to-day Git workflow from an empty folder to a pushed feature: init, add, commit, branches, merging, resolving a conflict, pushing to a remote and undoing a commit safely. Every command was run and the output is shown.
-
Fundamental software engineering interview questions: fresher to experienced
The questions almost every software engineering interview contains, from 'introduce yourself' to unit tests, validation, APIs, MVC and deployment, with what interviewers look for, a sample answer structure for each, and small tested code examples.
-
Google Cloud Translation API in PHP: API key, REST client and the official library
Translate text from PHP with the Google Cloud Translation API: create a project and a restricted API key, call the Basic (v2) REST endpoint with cURL, batch and cache translations, handle errors, and use the official google/cloud-translate library (v3) in core PHP, CodeIgniter or Laravel.
-
eBay API integration in PHP: search items with the Browse API and OAuth
Search eBay listings from PHP the current way: create API keys, get an OAuth application token, call the Browse API item_summary search with cURL, show the results safely, cache the token and handle errors. Replaces the retired Finding API.
-
Python interpreter, expressions and booleans: a first-episode study guide
What Python is, how the interpreter runs code in interactive and script mode, how expressions, precedence and booleans work, and how to read a syntax error.
-
Python basics: numbers, variables, strings, logic and type conversion
A beginner guide to Python numbers, operator precedence, variables, strings and f-strings, comparisons, and, or, not, type conversion and common errors, with exercises.
-
Python identifiers, keywords, data types, type casting and escape characters
Python tokens, the naming rules for identifiers, keywords, dynamic typing, the built-in data types, type casting, escape sequences and raw strings, with tested output.
-
EP 4: Identifiers, Keywords and Data Types
This Lecture contain types of Identifies, List of keywords and List of data types with definitions of each type. Int value detail description.
-
Python Full Course | Episode 5: Base Conversions
Base conversions: —--------------------- bin() {to convert the value from any base to binary} bin(15) ‘0b1111’ oct() {you can convert any value from any base to octal } oct(786) ‘0o175316’ hex() {from any base to hexadecimal} hex(10) ‘0xa’ Float data type: —------------------ x = 20.3 Complex data t