Skip to main content

Understanding and Resolving CORS Error

· 5 min read
Anand Techie
Software Developer, Frontend

What is CORS and CORS preflight?

Cross-Origin Resource Sharing (CORS) is an HTTP-based security mechanism controlled and enforced by the client (web browser) that allows controlled access to resources located outside of a given domain.

Generally, for security reasons, browsers forbid requests that come in from cross-domain sources. However, there could be cases where you want to overcome this and access cross-domain resources, and CORS makes this possible.

Kannada via Tamizh part 2

· 4 min read
Anand Raja
Senior Software Engineer

Case (வேற்றுமை உருபுகள்)

நன்னூலார் கருத்துப்படி எட்டு வேற்றுமைகளுமே உருபுகள் என்பதாம். அவை பெயர், ஐ, ஆல், கு, இன், அது, கண், விளி என்பன ஆகும். For more, 1, 2

  1. I love you.
TamizhKannadaHindi
naan ungalai/unnai kathalikkirennaanu nimmannu/ninnannu preetisteenimujhe tum se pyaar hai

Bash terminal customization

· 8 min read
Anand Raja
Senior Software Engineer

Linux Shells

When we open up our terminal, chances are that it uses Bash as its UNIX shell environment. But other shell environments exist such as the C Shell, Korn Shell, Z Shell, and even the Fish Shell. All of these different shell environments have their own pros and cons, and you should consider them before you choose one to use on your own system.

Kannada via Tamizh part 1

· 4 min read
Anand Raja
Senior Software Engineer

Pattern Mapping

tip
  • Pa in Tamil is equivalent to Ha in Kannada [Eg: Paal - Haalu, Pasi - Hasivu] and so Pu to Hu [Eg: Puli - Huli], Pe to He [Eg: Pen (பெண்) - Hennu]
  • Vaa in Tamil is equivalent to Baa in Kannada [Eg: Vaai - Baai] and so Ve to Be [Eg: Venum - Beku, Vendam - Beda, Velli - Belli], Vi to Bi [Eg: Vidu - Bidu]
  • The verbs ending with suffix nga (to convey respect) in Tamil is equivalent to i/li in Kannada, depending on the verb. [Eg: Sollunga - Heli, Utkarunga - Kuthkoli, Paarunga - Nodi]
  • The nouns ending with am in Tamil is equivalent to aa in Kannada. [Eg: Artham - Arthaa, Samacharam - Samacharaa, Vishesam - Vishesaa, Paanakkam (பானகம்) - Paanakka, Varusham - Varushaa]

The Necessary IT Jargon Buster

· 10 min read
Anand Raja
Senior Software Engineer

ECMA International - An organization that creates standards for technologies.

ECMAScript

The specification defined in ECMA-262 for creating a general purpose scripting language.
Synonym - ECMAScript specification

ECMA-262 - This is a standard published by Ecma International. It contains the specification for a general purpose scripting language. While ECMA-262 is the name of the standard, it represents the scripting language specification ECMAScript. ECMAScript provides the rules, details, and guidelines that a scripting language must observe to be considered ECMAScript compliant.

Kuruntokai - Verse 02

· 4 min read
Anand Raja
Senior Software Engineer

கொங்கு தேர் வாழ்க்கை

2. குறிஞ்சி - தலைவன் கூற்று

கொங்கு தேர் வாழ்க்கை அஞ்சிறைத் தும்பி!
காமம் செப்பாது, கண்டது மொழிமோ:
பயிலியது கெழீஇய நட்பின், மயில் இயல்,
செறி எயிற்று, அரிவை கூந்தலின்
நறியவும் உளவோ, நீ அறியும் பூவே?

இயற்கைப் புணர்ச்சி புணர்ந்தவழி, தலைமகளை இயற்கைப் புணர்ச்சிக்கண் இடையீடுபட்டு நின்ற தலைமகன், நாணின் நீக்குதற்பொருட்டு, மெய் தொட்டுப் பயிறல் முதலாயின அவள்மாட்டு நிகழ்த்திக

குறுந்தொகை - 02
பாடியவர் - இறையனார்

Browser Engines - Digest

· 7 min read
Anand Raja
Senior Software Engineer

A JavaScript engine and a render engine are both important components of a web browser. However, they have different functions. This guide explores browser engines, their implementations, and specialized Firefox-based alternatives that offer enhanced privacy, performance, and customization options.

JavaScript Engine

A JavaScript engine is responsible for executing JavaScript code. JavaScript is a programming language that is used to add interactivity to web pages. When a web page contains JavaScript code, the browser's JavaScript engine is responsible for parsing and executing JS code. It uses JIT compilation for improved performance.

Render Engine

A render(rendering) engine is responsible for displaying the content of a web page on the screen. This includes the HTML, CSS, and JavaScript code. The render engine takes the code and converts it into a visual representation that can be displayed on the screen. In browsers, it works in conjunction with the JavaScript engine via the DOM(Document Object Model). A rendering engine is also known as a browser engine or layout engine. A browser engine is a core software component of every major web browser.

How to Fix WSL2 & VPN Connectivity Issues

· 10 min read
Anand Raja
Senior Software Engineer

Comprehensive guide to fix WSL2 and Cisco AnyConnect VPN internet connectivity issues.

There is a known issue with DNS forwarding in WSL2 and WSL1 when using VPN (see GitHub Issue #1350). Additionally, there are specific problems with Cisco AnyConnect VPN client. This guide provides workarounds for these issues and should work for Ubuntu and Debian distributions.

The Problem - Common Symptoms

When connected to Cisco AnyConnect VPN, you may encounter the following DNS resolution failures:

  • Package updates fail - sudo apt update displays errors like:
Err:1 http://archive.ubuntu.com/ubuntu focal-updates InRelease
Temporary failure resolving 'archive.ubuntu.com'
Err:2 http://archive.ubuntu.com/ubuntu focal-backports InRelease
Temporary failure resolving 'archive.ubuntu.com'
Reading package lists... Done
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/focal/InRelease Temporary failure resolving 'archive.ubuntu.com'
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/focal-updates/InRelease Temporary failure resolving 'archive.ubuntu.com'
  • Git operations fail - git pull displays errors like:
// code-block-error-line
fatal: unable to access 'https://github.com/actionanand/wiki.git/': Could not resolve host: github.com
  • Network connectivity fails - ping google.com displays:
ping: google.com: Temporary failure in name resolution