Tag Archive for: code

Many times, while creating web pages, you intend to insert different symbols. These symbols are drawn on the web pages by making use of different HTML codes. With the help of this guide, we want to share with you all the methods using which you can insert the down arrow symbol in an HTML script.

How to Insert the Down Arrow Symbol using the HTML Code?

There are three different methods to insert an arrow symbol using the HTML code. All these methods are discussed below:

Method # 1: Using the Entity Number:

The first method of inserting the down arrow symbol makes use of the entity number “8595”. The HTML script for this method is shown in the following image:

We have used the entity number where we wanted to insert the down arrow in this HTML script.

Upon execution of this script, the down arrow appeared on our web page, as shown in the image below:

Method # 2: Using the Entity Name:

This method uses the entity name “darr” for the insertion of the down arrow on a web page. We have written the following HTML script for doing this:

In this HTML script, we have simply replaced the entity number used in the last script with the entity name “darr”.

The down arrow with this entity name is shown on the web page given below:

Method # 3: Using the Hexadecimal Reference:

The final method of inserting a down arrow symbol on a web page makes use of a hexadecimal reference “x2193”. For using this hexadecimal reference, we have created the following HTML script:

The result of this HTML script can be seen on the web page shown in the image below:

Putting it all Together:

Now, we just want to combine all three methods of inserting the down arrow symbol into an HTML script. We have implemented the following HTML script for this purpose:

The down arrow symbols because of using the entity number, entity name, and hexadecimal reference in HTML can be seen on the web page shown in the image below:


This article introduced you to something interesting, i.e., the insertion of the down arrow symbol on a web page. We shared with you three different methods that make use of multiple codes in HTML for inserting the said symbol within a web page. After going through all these methods, you can pick any of them according to your preference for inserting the down arrow symbol in your HTML scripts.

Source link

The Google Summer of Code (GSoC) is an international annual program in which Google awards stipends to contributors who successfully complete a free and open source software coding project during the summer. Launched in 2005, GSoC takes place from May to August. Project ideas are submitted by host organizations involved in open source software development, though students can also propose their own project ideas.

This year, the program was opened to anyone 18 years or older – not just students and recent graduates. Participants get paid to write software, with the amount of their stipend depending on the purchasing power parity of the country where they are located.

This is also the first time the Zephyr Project is participating in GSoC under The Linux Foundation umbrella. Please join us in welcoming these contributors and their projects:

Project #1: Arduino module based on Zephyr

1 contributor full-size (350 hours).

Arduino’s popularity is renowned as a popular framework for providing a simplified interface to program embedded devices. Recently, Arduino adopted mbed OS as the almohadilla RTOS for some of their newer devices. With that work, they separated out Arduino Core as an independent abstraction layer from Arduino Core for mbed. This opens up the possibility for leveraging Arduino Core on other OSes. The project idea is to create a Zephyr module that leverages the Arduino Core so that a developer can use Zephyr as the underlying OS when they use the Arduino framework on Arduino-compatible devices. The benefits to the user include:

  • Access to Arduino APIs as well as advanced Zephyr capabilities
  • Broader set of devices than the standard Arduino ecosystem thanks to Zephyrs’ device support
  • Ability to re-use Arduino tools like the Arduino IDE and wealth of libraries

Arduino Core is licensed under the GNU Lesser Universal Public License and Zephyr is licensed under Apache 2. That means this project will most likely need to be developed out of tree and in a separate repo to keep code and license separation. See #22247 for a historic discussion & soburi/arduino-on-zephyr for an earlier attempt prior to the Arduino Core architecture.

The contributor’s task is thus:

  • Implement a bare-bones Module based on Arduino Core that can compile for any target (no functionality, possibly in QEMU)
  • Implement a common peripheral from the Arduino API based on Zephyr such as Serial
  • Target one physical board, such as the Arduino Zero


Code License: LGPL

Contributor Details:

About the contributor: Dhruva is an undergraduate student dhruva  majoring in Electrical engineering. He has a broad range of interests from embedded software development to hardware design and has experience in working on SBCs, microcontrollers, and embedded Linux platforms.

Project #2: Apache Thrift Module for Zephyr

1 contributor full-size (350 hours).

Apache Thrift is an IDL specification,RPC framework, and code generator that abstracts away transport and protocol details to let developers focus on application logic.It works across all major operating systems, supports over 27 programming languages, 7 protocols, and 6 low-level transports. Originally developed at Facebook in 2007, it was subsequently shared with the Apache Software Foundation. 

SPDX license identified apache 2.0

Supporting Thrift in the Zephyr RTOS would benefit the community greatly. It would lead to new software and hardware technologies, new products, and additional means for cloud integration. Thrift can be used over virtually any transport as well and for that reason, it is a natural choice for the many different physical communication layers supported by Zephyr. The project idea is to get the proof-of-concept Thrift for Zephyr Module into shape for upstreaming. To achieve that, the contributor must:

  • Perform additional integration for Thrift features (protocols, transports)
  • Author additional sample applications using supported boards or Qemu
  • Author additional tests and generate coverage reports using the Zephyr Test Framework
  • Ensure the module follows appropriate coding guidelines and satisfies module requirements
  • Contribute any necessary improvements back to the Apache Thrift Project.
  • Contribute any necessary improvements back to the Zephyr Project.


Code License: Apache 2.0.

Contributor Details:

Name: Young

About the contributor: Young is a student majoring in  communication engineering, and he will pursue his Master’s degree in computer engineering. He has a broad range of interests from front-end development to hardware design, and has experience in working on the Web, IoT and embedded platforms. A low-cost single-board computer with a RISC-V 64 processor designed by him in 2021 was reported by several geek media.

Source link

PowerShell is a convenient application used to automate the system’s management, run commands/scripts, tasks automation, etc. It is a cross-platform tool that can run on different operating systems such as Windows, Linux, and Mac. It is composed of a Command shell, configuration management frameworks, and scripting language. It is very much similar to the Windows Command prompt; however, it comes up with some advanced tools/features for example it is available across multiple platforms, it provides task automation solutions, etc.

Considering the key features of PowerShell you must be thinking about getting started with PowerShell. But worried about how to write code/script in PowerShell! If that’s the case then this write-up is going to assist you in this regard from the scratch.

Before moving toward the main topic let’s have a look at the content that we are going to cover in this write-up:

So, let’s begin!

What is a Script?

In PowerShell, a script is a set of instructions stored in a text file with the extension “.ps1”. PowerShell will understand and execute these instructions in a sequence to achieve different functionalities.

How to create a script file?

To write code in PowerShell, we have to create a script file first and then we can write the code within that file. We can create a PowerShell script file using any text editor, or PowerShell ISE. In this write-up, we will create a script in PowerShell ISE.

The below-listed steps will assist you to create a Script File in PowerShell ISE:

Press “Win + R”.
A new window will appear, type “powershell_ise.exe”:

Press “Ok”. Consequently, the following window will appear:

Here, in the scripting pane, we can write the code while the output will be displayed on the console. Moreover, we can run the code/script file from the console. The PowerShell script file will always be saved with the .ps1 extension.

PowerShell set execution policy

If you are running your first program/script in PowerShell then you have to set the execution policy as RemoteSigned. To do that you have to run the PowerShell as administrator as shown in the following snippet:

Next, copy the below-given command and paste it into the Windows PowerShell:

Set-ExecutionPolicy RemoteSigned

Allow the permissions and hit the “Enter” key to set the execution policy to remote signed.

How to run a program/Script in PowerShell?

We can run a script file or code using two different ways i.e. using “console”, and using the “run” button.

How to run a script file or code from the console?

To run a script, we have to type/specify the “.” followed by the complete path of the file on the console:

Afterwards, press the “Enter” to run the script/code.

How to run a script file or code using the run button?

The second way to run a code is very simple i.e. press the run button as mentioned in the below snippet:

How to write your first program in PowerShell?

The below example will let you understand how to create a simple program in PowerShell ISE:

In this example program we will utilize the “Write-Host” command to print a simple string on the console:

Write-Host «Welcome to linuxhint.com»

This is how we can get started with the PowerShell.


To write code in PowerShell, we have to create a script file first and then we can write the code within that file. A PowerShell script file can be created using any text editor like notepad, VS code, or PowerShell ISE. The script file must be saved with a “.ps1” extension, and it can run from the “console” or using the “run” button. This write-up explained how to create a script file, how to write code in a script file, and how to run a script file using the PowerShell ISE.

Source link