Blog
By Siavash Ghanbari ยท Founder of Emojar
๐Setting File Permissions for a Website on Linux, Step by Step
A walkthrough of chmod on a real server. 644 for pages, 755 for folders, 600 for SSH keys, 640 for secrets and setgid for a shared upload folder.
Tool GuideDeveloperLinuxServers๐ฆType an API Response in TypeScript From a JSON Sample
A walkthrough of turning a real JSON response into TypeScript interfaces, then fixing the spots a generator can't know about, such as nulls, enums and dates.
Tool GuideDeveloperTypeScriptJSON๐URL Decoding Problems: %25, Plus Signs and Malformed Input
Why decoded URLs show %20 twice over, why C++ turns into C, and what 'malformed URI' really means. A troubleshooting guide to percent-decoding.
Tool GuideDeveloperURLsTroubleshooting๐UUID v4 vs v7: Choosing IDs for Your Database
Random v4 or time-ordered v7? How each UUID is built, what it means for database indexes and privacy, and a quick decision table for picking the right one.
Tool GuideDeveloperUUIDDatabases๐คWhat Font Size, Line Height and Line Length Read Best?
Practical starting values for body text size, line height, letter spacing and line length, plus how WCAG contrast thresholds change for large text.
Tool GuideDeveloperTypographyCSS๐ฆWhat JavaScript Minification Actually Does to Your Code
Compression and mangling explained with real before-and-after Terser output, plus when to turn off name shortening and why minified code isn't secret.
Tool GuideDeveloperJavaScriptPerformance๐Where Base64 Hides in Your Stack, and How to Decode It
Basic auth headers, Kubernetes secrets, data URLs, JWT parts, email bodies. Six places Base64 shows up, how to recognize it, and what decoding tells you.
Tool GuideDeveloperBase64Debugging๐ฆWhich HTTP Status Code Should You Return? A Decision Guide
301 or 308? 404 or 410? 401, 403 or 422? A practical guide to picking the right HTTP status code for redirects, errors, logins and maintenance.
Tool GuideDeveloperHTTPAPIs๐ฏWhy Does My CSS Rule Lose? Specificity Scores Explained
How browsers score selectors as (a, b, c), how :is(), :not(), :has() and :where() count under Selectors Level 4, and how ties are broken.
Tool GuideDeveloperCSSFront End๐ขWhy Your Hex or Binary Conversion Looks Wrong, and How to Fix It
Got 4112 when you expected 10, or an error about an invalid digit? The seven most common base-conversion mistakes, with worked examples and fixes.
Tool GuideDeveloperBinaryHexadecimal๐YAML to JSON: Fixing Indentation Errors and Type Surprises
Why YAML fails to parse, and why it sometimes parses into values you didn't expect. Indentation, tabs, anchors, versions like 1.10, explained with examples.
Tool GuideDeveloperYAMLJSON๐Converting JSON to YAML for Kubernetes and CI Configs
Turn JSON into clean YAML for manifests and pipelines, and avoid the type traps (yes, no, dates) that make the same file parse differently in different tools.
Tool GuideDeveloperYAMLJSON๐ฐArticle Structured Data: Writing BlogPosting JSON-LD Step by Step
Which properties Article and BlogPosting markup should include, how to format dates and images, and a worked example of a blog post's JSON-LD.
Tool GuideDeveloperSEOStructured Data๐งพConvert JSON to TOML: Tables, Arrays of Tables and Null Values
Move a JSON config to pyproject.toml, Cargo.toml or Hugo: how objects become tables, why null is refused and what happens to numbers like 1.0.
Tool GuideDeveloperTOMLJSONโFAQ Schema Markup: How FAQPage JSON-LD Works and When to Use It
How FAQPage structured data is built, what changed for FAQ rich results in 2023, and a worked example of generating and checking JSON-LD for a help page.
Tool GuideDeveloperSEOStructured Data๐๏ธFormatting SQL โ Which Dialect, Keyword Case and Indent to Pick
Why a query formats fine as PostgreSQL but fails as Standard SQL, whether to uppercase keywords, and how to pick formatter settings your team can live with.
Tool GuideDeveloperSQLFormatting๐How to Build UTM Links That Keep Campaign Reports Clean
What the five UTM parameters mean, how to name them consistently, and a worked example of tagging links for a newsletter and a social post.
Tool GuideDeveloperMarketingAnalytics๐งฌHow to Generate a JSON Schema from Sample JSON (and Tighten It)
Infer a JSON Schema from a real API response, understand how required keys and mixed types are decided, then turn the draft into a contract you can trust.
Tool GuideDeveloperJSONJSON SchemaโฆHow to Make a Markdown Table Without Counting Pipes
Build GitHub-ready Markdown tables in a grid editor, set column alignment with colons, and keep pipes in cells from breaking the layout.
Tool GuideDeveloperMarkdownHow-to๐๏ธHow to Open, Sort and Filter a CSV File Without Excel
View a CSV export as a table in your browser: see every cell exactly as written, sort and filter columns, and save the filtered rows as a new CSV.
Tool GuideDeveloperCSVData
