Jatin’s Newsletter

Share this post
What did you miss? August 2022
j471n.substack.com

What did you miss? August 2022

Jatin Sharma
Sep 1, 2022
Share this post
What did you miss? August 2022
j471n.substack.com
Twitter avatar for @j471n_
Jatin Sharma @j471n_
CSS Flex Box - "justify-content" Cheat Sheet #CSS #webdevelopment #developer https://t.co/lyrRTnMJPM
Image
8:09 PM ∙ Jan 18, 2023

In this article, I will solve a Wiggly Moustache CSS Challenge on CSS Battle.

In this article, I will solve a Totally Triangle CSS Challenge on CSS Battle.

I will create the Google Pay icon in this article using CSS only. Let's look at how we do that.

On the occasion of Independence day of India, I am starting a new series called CSS Flag. This is the first post where I'll create an Indian Flag using CSS.

This is the Cheat Sheet of Windows Commands. It gives you all the commands and a short description of the command. I've also attached the documentation link for further reading.

In this article, I will solve a Totally Triangle CSS Challenge on CSS Battle.

In this article, I will solve a Totally Triangle CSS Challenge on CSS Battle. Let's look at the problem first.

Problem

We need to create the following container by using CSS Properties only:

Solution

So now look at the Solution and how we are going to achieve this.

HTML <p> CSS

Now let's style the containers.

* { margin: 0; background: #0b2429; } p { position: fixed; width: 200; height: 200; background: #f3ac3c; transform: rotate(45deg); left: -100; top: -100; }

Note: In CSS Battle you can use 100 instead of 100px. You don't need to define px in CSS. However, if you are using rem or %, you need to pass them separately. That's why in the above CSS code there are no units mostly. For more info visit here

Minify the code or CSS by using any CSS Minifier. It helps you to reduce the characters in the code which will increase the score.

Minified Version:

<p><style>*{margin:0;background:#0B2429}p{position:fixed;width:200;height:200;background:#F3AC3C;transform:rotate(45deg);left:-100;top:-100} Alternative Method CSS body { background: linear-gradient(135deg, #f3ac3c 100px, #0b2429 100px); }

You can achieve this by using linear-gradient() also which is a lot simpler. You don't even need HTML in this.

Wrapping up

There are many ways to solve this. You can share your approach in the comments. If you like this then don't forget to ❤️ it. And I'll see you in the next article. See you soon.

In this article, I have made all countries' flags by using HTML and CSS. At the end of the article. You will have a special Bonus (you have to reach the end of the article to see it).

This article is special, you may ask why. It is because, in my last article CSS Flag: India, I said-

I am starting a new series called CSS Flag. Where I'll be making different countries' flags starting with India.

I asked myself "Why don't I make an article which will have all 195 countries' flags instead of creating 195 articles?". Well, Here I am.

In this article, I have made all countries' flags by just using HTML and CSS. At the end of the article. You will have a special Bonus (you have to reach the end of the article to see it).

Disclaimer

  • The idea of this series came up in my mind on 15 August as I mention in my previous article CSS Flag: India.

  • I don't want to hurt anyone's feelings or sentiments through this article. As It could offend some people if their country's flag is slightly off point. I respect every country's flag and its people. If you find any mistakes in any of the flags then please let me know. I'll fix it as soon as possible.

  • If there are some issues with Codepen in mobile devices try to switch to the desktop mode or visit through desktop/laptop browsers.

  • I have used images (PNG) in some of the flags as well because it was kind of complex to create them.

  • The size of each flag is 300x200 pixels. Some of the countries' flags use different sizes. So It could be a little bit different due to the size difference.

Table of Contents:

  • Afghanistan

  • Albania

  • Algeria

  • Andorra

  • Angola

  • Antigua and Barbuda

  • Argentina

  • Armenia

  • Australia

  • Austria

  • Azerbaijan

  • Bahamas

  • Bahrain

  • Bangladesh

  • Barbados

  • Belarus

  • Belgium

  • Belize

  • Benin

  • Bhutan

  • Bolivia

  • Bosnia and Herzegovina

  • Botswana

  • Brazil

  • Brunei

  • Bulgaria

  • Burkina Faso

  • Burundi

  • Cambodia

  • Cameroon

  • Canada

  • Cape Verde

  • Central African

  • Chad

  • Chile

  • China

  • Colombia

  • Comoros

  • Democratic Republic of the Congo

  • Republic of the Congo

  • Costa Rica

  • Croatia

  • Cuban

  • Cyprus

  • Czechia

  • Denmark

  • Djibouti

  • Dominica

  • Dominican

  • East Timor

  • Ecuador

  • Egypt

  • El Salvador

  • Equatorial Guinea

  • Eritrea

  • Estonia

  • Eswatini

  • Ethiopia

  • Fiji

  • Finland

  • France

  • Gabon

  • Gambia

  • Georgia

  • Germany

  • Ghana

  • Greece

  • Grenada

  • Guatemala

  • Guinea

  • Guinea-Bissau

  • Guyana

  • Haiti

  • Honduras

  • Hungary

  • Iceland

  • India

  • Indonesia

  • Iran

  • Iraq

  • Ireland

  • Israel

  • Italy

  • Ivory Coast

  • Jamaica

  • Japan

  • Jordan

  • Kazakhstan

  • Kenya

  • Kiribati

  • North Korea

  • South Korea

  • Kuwait

  • Kyrgyzstan

  • Laos

  • Latvia

  • Lebanon

  • Lesotho

  • Liberia

  • Libya

  • Liechtenstein

  • Lithuania

  • Luxembourg

  • Madagascar

  • Malawi

  • Malaysia

  • Maldives

  • Mali

  • Malta

  • Marshall Islands

  • Mauritania

  • Mauritius

  • Mexico

  • Micronesia

  • Moldova

  • Monaco

  • Mongolia

  • Montenegro

  • Morocco

  • Mozambique

  • Myanmar

  • Namibia

  • Nauru

  • Nepal

  • Netherland

  • New Zealand

  • Nicaragua

  • Niger

  • Nigeria

  • North Macedonia

  • Norway

  • Oman

  • Pakistan

  • Palau

  • Palestine

  • Panama

  • Papua New Guinea

  • Paraguay

  • Peru

  • Philippines

  • Poland

  • Portugal

  • Qatar

  • Romania

  • Russia

  • Rwanda

  • Saint Kitts and Nevis

  • Saint Lucia

  • Saint Vincent and the Grenadines

  • Samoa

  • San Marino

  • São Tomé and Príncipe

  • Saudi Arabia

  • Senegal

  • Serbia

  • Seychelles

  • Sierra Leone

  • Singapore

  • Slovakia

  • Slovenia

  • Solomon Islands

  • Somalia

  • South Africa

  • South Sudan

  • Spain

  • Sri Lanka

  • Sudan

  • Suriname

  • Sweden

  • Switzerland

  • Syria

  • Taiwan

  • Tajikistan

  • Tanzania

  • Thailand

  • Togo

  • Tonga

  • Trinidad and Tobago

  • Tunisia

  • Turkey

  • Turkmenistan

  • Tuvalu

  • Uganda

  • Ukraine

  • United Arab Emirates

  • United Kingdom

  • United States

  • Uruguay

  • Uzbekistan

  • Vanuatu

  • Vatican City

  • Venezuela

  • Vietnam

  • Yemen

  • Zambia

  • Zimbabwe

Afghanistan

Albania

Algeria

Andorra

Angola

Antigua and Barbuda

Argentina

Armenia

Australia

Austria

Azerbaijan

Bahamas

Bahrain

Bangladesh

Barbados

Belarus

Belgium

Belize

Benin

Bhutan

Bolivia

Bosnia and Herzegovina

Botswana

Brazil

Brunei

Bulgaria

Burkina Faso

Burundi

Cambodia

Cameroon

Canada

Cape Verde

Central African

Chad

Chile

China

Colombia

Comoros

Democratic Republic of the Congo

Republic of the Congo

Costa Rica

Croatia

Cuban

Cyprus

Czechia

Denmark

Djibouti

Dominica

Dominican

East Timor

Ecuador

Egypt

El Salvador

Equatorial Guinea

Eritrea

Estonia

Eswatini

Ethiopia

Fiji

Finland

France

Gabon

Gambia

Georgia

Germany

Ghana

Greece

Grenada

Guatemala

Guinea

Guinea-Bissau

Guyana

Haiti

Honduras

Hungary

Iceland

India

Indonesia

Iran

Iraq

Ireland

Israel

Italy

Ivory Coast

Jamaica

Japan

Jordan

Kazakhstan

Kenya

Kiribati

North Korea

South Korea

Kuwait

Kyrgyzstan

Laos

Latvia

Lebanon

Lesotho

Liberia

Libya

Liechtenstein

Lithuania

Luxembourg

Madagascar

Malawi

Malaysia

Maldives

Mali

Malta

Marshall Islands

Mauritania

Mauritius

Mexico

Micronesia

Moldova

Monaco

Mongolia

Montenegro

Morocco

Mozambique

Myanmar

Namibia

Nauru

Nepal

Netherland

New Zealand

Nicaragua

Niger

Nigeria

North Macedonia

Norway

Oman

Pakistan

Palau

Palestine

Panama

Papua New Guinea

Paraguay

Peru

Philippines

Poland

Portugal

Qatar

Romania

Russia

Rwanda

Saint Kitts and Nevis

Saint Lucia

Saint Vincent and the Grenadines

Samoa

San Marino

São Tomé and Príncipe

Saudi Arabia

Senegal

Serbia

Seychelles

Sierra Leone

Singapore

Slovakia

Slovenia

Solomon Islands

Somalia

South Africa

South Sudan

Spain

Sri Lanka

Sudan

Suriname

Sweden

Switzerland

Syria

Taiwan

Tajikistan

Tanzania

Thailand

Togo

Tonga

Trinidad and Tobago

Tunisia

Turkey

Turkmenistan

Tuvalu

Uganda

Ukraine

United Arab Emirates

United Kingdom

United States

Uruguay

Uzbekistan

Vanuatu

Vatican City

Venezuela

Vietnam

Yemen

Zambia

Zimbabwe

Bonus

As I told you at the start of the article I'll attach a bonus section. Here it is. You can find all countries' flags in the following Codepen (All in One):

Wrapping up

I have used images in some of the flags as well because it was kind of complex to create them. I hope you enjoyed the article, if you did then don't forget to press ❤️. If you have any queries or suggestions don't hesitate to drop them. You can extend your support by Buying me a Coffee. I'll see you in the next one.

References

  • Wikipedia

  • seekflag.com

Thumbnail image by @krisetya at Unsplash

In this article, I have made all (195) countries' flags by just using HTML and CSS. At the end of the article. You will have a special Bonus (you have to reach the end of the article to see it).

This is the Cheat Sheet of Windows Commands. It gives you all the commands and a short description of the command. I've also attached the documentation link for further reading.

What is Command Prompt in Windows?

Command Prompt, also known as cmd.exe is a command line interpreter application on Windows Operating System. It's used to execute entered commands.

What are the CMD Commands?

CMD Commands are the specific set of instructions given to Command Prompt to perform some kind of task or function on a Windows PC. Most of the Windows commands are used to automate tasks via scripts and batch files and perform advanced administrative tasks or functions. Many commands can help you troubleshoot and solve certain problems on windows.

Windows Commands List Commands Functions arp Displays and modifies the Internet-to-adapter address translation tables used by the Address in Networks and communication management assoc Displays or modifies file name extension associations attrib Displays, sets, or removes attributes assigned to files or directories. bcdboot Enables you to quickly set up a system partition, or to repair the boot environment located on the system partition bcdedit Used to manage boot configuration data bitsadmin Used to manage the Background intelligent Transfer Service break Enable/Disable break copability CTRL+C\ in CMD cacls Used to change permissions of files call Used one batch program to call another certreq Used to request certificates from a certification authority certutil Manage Certification Authority files and Services cd Used to change directory or go to a specific one chcp Displays the number of active console code page chdir Same as cd command chkdsk Used to check and repair issues in the disk chkntfs Used to check the NTFS file system choice Prompts the user to select one item from a list of single-character choices in a batch program, and then returns the index of the selected choice. If used without parameters, choice displays the default choices Y and N. cipher Used to encrypt/decrypt file and folder cleanmgr Used to clean temp files and recycle bin automatically clip Copy result of any command to windows clipboard cls Clear CMD screen cmd Used to start a new CMD shell cmdkey Creates, lists, and deletes stored user names and passwords or credentials. cmstp Used to install or remove a connection manage service profile color Change the color of the CMD shell using options comp Compare contents of two files or two sets of files compact Displays or alters the compression of files or directories on NTFS partitions covert Converts a disk from one disk type to another. copy Copy one or more files to another location date Displays or sets the system date. defrag Locates and consolidates fragmented files on local volumes to improve system performance. del Deletes one or more files. dir Used to display files and folder list diskpart helps you manage your computer's drives (disks, partitions, volumes, or virtual hard disks) dispdiag Logs display information to a file. doskey Recalls previously entered command-line commands, edits command lines, and creates macros. driverquery Display a list of installed device drivers and their properties echo Displays messages or turns on or off the command echoing feature endlocal Ends localization of environment changes in a batch file erase Used to delete one or more file eventcreate Enables an administrator to create a custom event in a specified event log exit Exits the command interpreter or the current batch script. expand Expands one or more compressed files extrac32 Extracts files from a cabinet or source. fc Compares two files or sets of files and displays the differences between them. find Searches for a string of text in a file or files, and displays lines of text that contain the specified string findstr Searches for patterns of text in files finger Displays information about users on a specified remote computer fondue Enables Windows optional features by downloading required files from Windows Update or another source specified by Group Policy for Runs a specified command for each file, within a set of files forfiles Selects and runs a command on a file or set of files. This command is most commonly used in batch files format Format a disk to accept Windows files. You must be a member of the Administrators group to format a hard drive fsutil File System utility to manage file and drive properties ftp Use FTP service to transfer files from one PC to another ftype Display/Modify file extensions type associations getmac Used to display the MAC address of your network adapter goto Used to direct a batch program to a line identified by a label gpresult Display Group Policy Settings and Resultant Set of Policy for a user gpupdate Updates Group Policy settings help Displays a list of the available commands or detailed help information on a specified command hostname Displays the hostname portion of the full computer name of the computer icacls Displays or modifies discretionary access control lists (DACLs) on specified files, and applies stored DACLs to files in specified directories if Performs conditional processing in batch programs ipconfig Display and change windows IP Configuration klist Displays a list of currently cached Kerberos tickets ktmutil Starts the Kernel Transaction Manager utility label Used to change the name of a disk lodctr Allows you to register or save performance counter name and registry settings in a file and designate trusted services logman Used to manage performance monitor logs logoff Log a use off makecab Package existing files into a cabinet (.cab) file md Creates a directory or subdirectory mkdir Creates a directory or subdirectory mklink Creates a directory or file symbolic or hard link mmc Access Microsoft Management Console mode Displays system status, changes system settings, or reconfigures ports or device more Displays one screen of output at a time mountvol Creates, deletes, or lists a volume mount point. You can also link volumes without requiring a drive letter move Moves one or more files from one directory to another directory msdt Invokes a troubleshooting pack at the command line or as part of an automated script, and enables additional options without user input msiexec Provides the means to install, modify, and perform operations on Windows Installer from the command line msinfo32 Display system information mstsc Create a remote Desktop connection nbtstat Displays NetBIOS over TCP/IP (NetBT) protocol statistics netcfg Installs the Windows Preinstallation Environment (WinPE), a lightweight version of Windows used to deploy workstations net print Displays information about a specified printer queue or a specified print job, or controls a specified print job netsh Display or modify network configuration net Used to manage network resources and services netstat Display active TCP/IP connections nslookup Displays information that you can use to diagnose Domain Name System (DNS) infrastructure openfiles Queries or display open files path Set PATH environment variable for executable files pathping Latency and packet loss info for each node in the network path pause Used to stop processing of a batch file perfmon Access Performance monitor in CMD ping Test network connection to a computer pktmon Used for advanced packet capture and event collection, drop detection, filtering, and counting pnpunattend Audits a computer for device drivers, and performs unattended driver installations, or searches for drivers without installing and, optionally, report the results to the command line pnputil Used to manage the driver store popd Go to the latest path/folder stored by the PUSHD command powerShell Access Powershell powerShell_ise Windows PowerShell Integrated Scripting Environment (ISE) is a graphical host application that enables you to read, write, run, debug, and test scripts print Used to print a text file from CMD powercfg Used to configure power settings and know battery health prompt Displaying any text you want, such as the name of the current directory, the time and date, etc. pushd Stores the current directory for use by the popd command, and then changes to the specified directory pwlauncher Enables or disables the Windows To Go Startup Options rd Deletes a directory recover Recovers readable information from a bad or defective disk ReFSUtil ReFSUtil is a tool included in Windows and Windows Server that attempts to diagnose heavily damaged ReFS volumes reg Performs operations on registry subkey information and values in registry entries regini Modifies the registry from the command line or a script, and applies changes that were present in one or more text files regsvr32 Registers .dll files as command components in the registry relog Extracts performance counters from performance counter logs into other formats, such as text-TSV (for tab-delimited text), text-CSV (for comma-delimited text), binary-BIN, or SQL rem Records comments in a script, batch, or config.sys file. If no comment is specified, rem adds vertical spacing ren Renames files or directories rename Renames files or directories replace Replace existing files in a directory. If used with the /a\ option, this command adds new files to a directory instead of replacing existing files rmdir Deletes a directory robocopy Copies file data from one location to another route Displays and modifies the entries in the local IP routing table rpcping Confirms the RPC connectivity between the computer running Microsoft Exchange Server and any of the supported Microsoft Exchange Client workstations on the network rundll32 Loads and runs 32-bit dynamic-link libraries (DLLs) rasdial Display Remote Access Service Status runas Run a program as different user sc Use Service Controller to manage Windows services schtasks Schedules commands and programs to run at a specific time secedit Configures and analyzes system security set Displays, sets, or removes cmd.exe\ environment variables setx Creates or modifies environment variables in the user or system environment, without requiring programming or scripting sfc Scans and verifies the integrity of all protected system files and replaces incorrect versions with correct versions shift Changes the position of batch parameters in a batch file shutdown Enables you to shut down or restart local or remote computers, one at a time. sort Reads input, sorts data, and writes the results to the screen, to a file, or another device start Starts a separate Command Prompt window to run a specified program or command subst Associates a path with a drive letter sxstrace Diagnoses side-by-side problems systeminfo Displays detailed configuration information about a computer and its operating system strings Find ANSI and UNICODE strings in binary files takeown Used to take the ownership of a file taskkill Ends one or more tasks or processes tasklist Displays a list of currently running processes on the local computer or a remote computer tcmsetup Enable/Disable the TAPI client telnet Communicates with a computer running the telnet server service time Displays or sets the system time timeout Pauses the command processor for the specified number of seconds title Creates a title for the Command Prompt window tpmtool This utility can be used to get information about the Trusted Platform Module (TPM). tpmvscmgr The tpmvscmgr command-line tool allows users with Administrative credentials to create and delete TPM virtual smart cards on a computer tracerpt The tracerpt command parses Event Trace Logs, log files generated by Performance Monitor, and real-time Event Trace providers tracert Trace route to a remote host by sending ICMP request messages tree Displays the directory structure of a path or of the disk in a drive graphically type Displays the contents of a text file typeperf writes performance data to the command window or to a log file tzutil Displays the Windows Time Zone utility unlodctr Removes Performance counter names and Explains text for a service or device driver from the system registry ver Displays the operating system version number verifier Driver Verifier monitors Windows kernel-mode drivers and graphics drivers to detect illegal function calls or actions that might corrupt the system verify Verify whether files are saved correctly on the disk vol Displays the disk volume label and serial number vssadmin Show shadow copy backups, installed shadow copy writers and providers wbadmin Enables you to back up and restore your operating system, volumes, files, folders, and applications from a command prompt waitfor Sends or waits for a signal on a system wecutil Enables you to create and manage subscriptions to events that are forwarded from remote computers wevtutil Enables you to retrieve information about event logs and publishers where Displays the location of files that match the given search pattern whoami Displays user, group, and privileges information for the user who is currently logged on to the local system winrs Windows Remote Management allows you to manage and execute programs remotely winrm Windows Remote Management wmic Displays WMI information inside an interactive command shell. wscript Windows Script Host provides an environment in which users can execute scripts in a variety of languages that use a variety of object models to perform tasks xcopy Copies files and directories, including subdirectories :: Comment Wrapping up

There are many more commands that I might have missed. If you enjoyed this article then don't forget to press ❤️ & SAVE FOR LATER USE ⌛. If you have any queries or suggestions don't hesitate to drop them. You can extend your support by Buying me a Coffee

You might be interested in JavaScript Cheat Sheet

In this article, we are going to look at some of the best extensions of August that you need to install for better productivity. So without further due, let's get into it.

Thanks for taking the time to go through my newsletter. Let me know on Twitter, if you have any questions regarding this, I’d be happy to help.

See you later.

Best Regards,

Jatin

Share this post
What did you miss? August 2022
j471n.substack.com
Comments
TopNew

No posts

Ready for more?

© 2023 Jatin Sharma
Privacy ∙ Terms ∙ Collection notice
Start WritingGet the app
Substack is the home for great writing