teleren/devto huggingface dataset:
How to enable PowerShell in Github Codespaces?
Tags: github, powershell, codespaces
Published: 2024-02-26 09:40:09

---
title: How to enable PowerShell in Github Codespaces?
published: true
date: 2024-02-24 18:30:00 UTC
tags: Github,Powershell,CodeSpaces,Github
canonical_url: http://www.codetolive.in/github/powershell/codespaces/Enabling-the-powershell-in-Github-CodeSpaces/
---

Are you the one stuck with the below issue?

1. Unable to find the PowerShell in the GitHub codespaces terminal.
2. PowerShell is not available after installing the extension in the GitHub codespaces.
3. Not comfortable with Bash.

See the below image, the PowerShell option is missing in the CodeSpaces terminal and you're going to learn how to enable it now.

  ![Github CodeSpaces - PowerShell missing](http://www.codetolive.in/assets/images/posts/Codetolive_GitHub_CodeSpaces_PowerShell_missing.png)  
  

_Fig 1. Github CodeSpaces - PowerShell missing_

No worries. You can enable the PowerShell in the GitHub codespaces because many of us have done it already.

### 1. Go to your GitHub repository

  ![Github repository - dev container](http://www.codetolive.in/assets/images/posts/Codetolive_blog_Github_devcontainer.png)
_Fig 2. Github repository - dev container_

### 2. Open the “devcontainer.json”

Open the file "devcontainer.json".  
If you haven't configured the dev container already then configure the new one by selecting the "configure dev container" option under the CodeSpaces. Refer to the below image,

  ![Github CodeSpaces - Add dev container](http://www.codetolive.in/assets/images/posts/Codetolive_GitHub_CodeSpaces_Add_dev_container.png)  
  

_Fig 3. Github CodeSpaces - Add dev container_

### 3. Launch your codespace

### 4. Add PowerShell to the dev container

Go to the devcontainer folder -> devcontainer.json and add the below lines to enable the PowerShell inside your container.

```
{
  "image": "mcr.microsoft.com/devcontainers/universal:2",
  "features": {
    "ghcr.io/devcontainers/features/powershell:1": {}
  }
}

```

Rebuild the container,

  ![Github CodeSpaces - Add PowerShell and rebuild the container](http://www.codetolive.in/assets/images/posts/Codetolive_GitHub_CodeSpaces_Add_PowerShell_and_rebuild_container.png)  
  

_Fig 4. Github CodeSpaces - Add PowerShell and rebuild the container_

Here you go, the PowerShell is enabled in your GitHub CodeSpaces terminal.

  ![Github CodeSpaces - PowerShell enabled](http://www.codetolive.in/assets/images/posts/Codetolive_blog_Github_PowerShell_enabled_after_rebuild_container.png)  
  

_Fig 5. Github CodeSpaces - PowerShell enabled_
Filters even numbers from an array, squares them, and prints the result.
Tags: javascript, array, tutorial, node
Published: 2024-02-24 18:20:21

This script defines an array of numbers and filters out the even numbers.
It then squares the filtered even numbers and stores them in a new array.
Finally, it outputs the squared even numbers to the console.

```
let arr = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
let newArr = arr.filter(function(num) {
  return num % 2 == 0
}).map(function(num) {
  return num * num
})
console.log(newArr)
```
Shillong teer result today
Published: 2024-02-24 17:43:55

Shillong Teer counters become spaces where friendships are forged, stories are shared, and a sense of togetherness prevails, contributing to the city’s social fabric.
 
Shillong Teer is deeply rooted in tradition. Many believe that the Teer result is influenced by nature and dreams, prompting pre-betting rituals to invoke luck and seek blessings from the spiritual realm.
 
Aside from its usual daily presence, Shillong [Teer result](https://shillongteerresult.co.com/) also takes center stage during local festivals like Shad Suk Myn Siem, infusing these cultural gatherings with a heightened sense of exhilaration.
 
This traditional game has been handed down through generations, with grandparents happily sharing their Teer stories and passing on their enthusiasm to younger age groups.Amidst this blend of culture, music plays a significant role in adding vibrancy to Teer events and further honoring the archers who are revered as local heroes.
Khanapara Teer awaits you as you fly arrows, draw numbers, and make fortunes! If you enjoy archery games and enjoy testing your luck with numbers, then you’re in for a treat.

This blog post explores the latest Khanapara Teer results from Shillong, Juwai, and Khanapara for 2024. Take a look at the trends in Khanapara Teer results today and discover the thrill of the game!

Please stay tuned for today’s [Khanapara Teer Result](https://khanaparateerresult.co.com/) and common number, Shillong Teer result list, and Juwai Teer result. Our Khanapara Teer list and Shillong Teer results are updated regularly. Join us on Facebook for instant updates and discussions. Keep an eye out for Khanapara Shillong Teer results.
Crafting a Pinterest-Inspired Bicycle Scene with HTML, CSS & CodeParrot 🚴✨
Published: 2024-02-24 17:41:53

{% codepen https://codepen.io/soniya1/pen/qBvzgWm %}


- 🚴‍♀️ **Setting the Scene with HTML**: We start by laying down the vibe with `div` elements for each part of our bicycle scene. Think of it as giving every part of the bike and our cyclist their own spotlight 🌟. Each tire, pedal, and even the clouds get their own `div` squad, making it super easy to animate them individually later.

- 🎨 **CSS Styling Vibes**: Next up, we splash some color and style onto our HTML structure. Using `border-radius` for those round vibes on tires and heads, and `box-shadow` to make everything pop with a 3D effect. It's like dressing up our bike and cyclist in their coolest outfits to stand out 🕶️.

- 🔄 **Animating the Dream**: Now, we bring the dream to life with CSS animations. We've got our cyclist bobbing like they're really pedaling through those keyframe animations, tires spinning with that endless energy, and clouds drifting across the sky. It's all about making the scene move and groove 🕺💃.

- 🤯 **Creative CSS Magic**: We dive deeper into the creativity pool with pseudo-elements (`:before`, `:after`) to add all those extra special touches without cluttering the HTML. It’s like accessorizing with earrings and necklaces but for our bicycle scene. This is where we get fancy with the details for that extra flair ✨.

- 🦜 **Powered by CodeParrot**: Shoutout to the **_CodeParrot VS Code_** extension for making our coding journey smoother than a TikTok dance transition. It’s like having a coding buddy that suggests the next move, so we can create this animated masterpiece without breaking a sweat 💦👩‍💻.

- **Conclusion**: So, what we've got is a bicycle animation that's not just moving, but vibing, all thanks to the power of HTML and CSS. With some help from CodeParrot, we turned a static scene into a dynamic, living story. It's a perfect blend of tech and creativity, showing off what's possible when we mix code with a dash of Gen Z sparkle 🌟🚀.
Top JavaScript Tools on Codepen
Published: 2024-02-24 17:22:29


### A Gradient Color Generator in HTML CSS & JavaScript

{% codepen https://codepen.io/SH20RAJ/pen/vYPwvor %}

### Markdown to HTML Converter - SopKit

{% codepen https://codepen.io/SH20RAJ/pen/oNVRywP %}

### An Image Editor in HTML CSS & JavaScript

{% codepen https://codepen.io/SH20RAJ/pen/MWxdLwy %}


### A Notes App in HTML CSS & JavaScript

{% codepen https://codepen.io/SH20RAJ/pen/gOEJqrE %}


### A Drawing App in HTML CSS & JavaScript
{% codepen https://codepen.io/SH20RAJ/pen/gOEJqME %}


### Create Todo List App in HTML CSS & JavaScript
{% codepen https://codepen.io/SH20RAJ/pen/oNVRmWM %}


### A Dynamic Calendar in HTML CSS & JavaScript

{% codepen https://codepen.io/SH20RAJ/pen/jOJodwq %}


### Random Password Generator in HTML CSS & JavaScript

{% codepen https://codepen.io/SH20RAJ/pen/yLwWZoV %}


### Resize and Compress Images in HTML CSS & JavaScript

{% codepen https://codepen.io/SH20RAJ/pen/ZEPNwXK %}

### A Playable PIANO in HTML CSS & JavaScript

{% codepen https://codepen.io/SH20RAJ/pen/KKELJyg %}

```html
<!-- Coding by CodingLab | www.codinglabweb.com-->
```
Simple game with JS
Tags: html, css, javascript
Published: 2024-02-24 17:19:17

I have created a simple game with JS called DOTS

Use: 
 + MVP architecture design pattern
 + Singleton design pattern
 + Object management like Unity Scene
 + Handle event like C# WinForms

Check it out:
 + [Game](https://dots-sage.vercel.app/)
 + [Code](https://github.com/nicejjss/DOTS)

If you like my little game, please give me a star on repository.
Coding with love!!!
Exploring the Top Alternatives to React.js in 2024
Tags: webdev, react, javascript, discuss
Published: 2024-02-24 17:08:58


Are you considering alternatives to React.js for your next frontend project? While React.js has been a go-to choice for many developers, there are several compelling alternatives worth exploring in 2024. Let's delve into some of the top options:

_For detailed explanations, refer to the [full article](https://bluesockets.com/react/react-js-alternatives-2024/)._

## Vue.js:

- **Overview**: Vue.js has gained popularity for its simplicity and ease of integration.
- **Key Features**: Two-way data binding, component-based architecture, intuitive template syntax.
- **Use Cases**: Ideal for rapid prototyping and projects of varying scales.

## Angular:

- **Overview**: Developed by Google, Angular offers a comprehensive solution for web applications.
- **Key Features**: Complete framework, TypeScript integration, powerful CLI.
- **Use Cases**: Suited for large-scale applications and teams familiar with TypeScript.


## Svelte:

- **Overview**: Svelte offers highly optimized and performant applications by shifting the heavy lifting to the build step.
- **Key Features**: Compiles to vanilla JavaScript, automatic code splitting, no virtual DOM.
- **Use Cases**: Perfect for performance-critical applications and beginners learning web development.

## Preact:

- **Overview**: Preact is a lightweight alternative to React with a similar API and developer experience.
- **Key Features**: Small size, React compatibility, fast and efficient rendering.
- **Use Cases**: Suitable for performance-centric projects and migration from React.


## Solid.js:

- **Overview**: Solid.js focuses on reactivity and performance with fine-grained reactivity.
- **Key Features**: Fine-grained reactivity, JSX syntax, immutable data structures.
- **Use Cases**: Excellent for highly reactive applications and teams preferring React-like syntax.

## Inferno.js:

- **Overview**: Inferno.js is a lightweight library with a focus on performance and a React-like API.
- **Key Features**: Highly performant, small-size, component-based architecture.
- **Use Cases**: Ideal for performance-centric applications and migration from React.


In conclusion, while React.js remains popular, it's good to explore alternative frameworks and libraries to find the best fit for your project. What are your thoughts on React and which Javascript framework do you prefer?
How to Code a Dictionary App in React | Full Tutorial
Tags: javascript, webdev, react, beginners
Published: 2024-02-24 17:07:55

We will create a Dynamic Dictionary app in React which would allow the user to search for a word and list down all the details including definitions, pronunciations with audio examples, synonyms, antonyms, example usage, etc.

If you like this tutorial please leave your feedback in the comments and subscribe to the [channel](https://www.youtube.com/@JutsuPoint) and follow on [GitHub](https://github.com/strongSoda/) and [Twitter](https://twitter.com/EhThing).

{% embed https://www.youtube.com/watch?v=BCjYbNHs8l4 %}
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬


## About Me

I’m a Senior Product Engineer from India, working in web and mobile development. I enjoy turning complex problems into simple, beautiful, and intuitive software. I blog to share my software knowledge with others.

My job is to build your idea so that it is functional and user-friendly but at the same time attractive. Moreover, I add a personal touch to your product and make sure that is eye-catching and easy to use. I aim to help you validate and scale your startup most creatively.

### Quick Links
- [Hire Me](https://imran.wiki/)
- [Coding YouTube Channel](https://www.youtube.com/@JutsuPoint)
- [LinkedIn](https://www.linkedin.com/in/imrankhan001/)
- [Twitter](https://twitter.com/EhThing)
- [🎁 Screen Recording Software](https://screen.studio/@Xenr1)
Free Unlimited Image Hosting | Get Image CDN Free | GurImg
Published: 2024-02-24 16:54:08

Free Unlimited Image Hosting | Get Image CDN Free | GurImg

{% youtube https://youtu.be/14ZUS6gc3UY?si=14PxraATYhr8s27C %}


image hosting,free image hosting,hosting,unlimited image hosting,free hosting,image,free image hosting site,free image hosting sites,free image hosting website,image hosting free,unlimited,best free image hosting sites,free unlimited image hosting,free images hosting,free image hosting google,image hosting site free,image hosting sites free,image hosting site,free image hosting websites,free image hosting site 2021,unlimited image storage free
free image hosting,image hosting,hosting,unlimited image hosting,free hosting,image,free image hosting site,free image hosting sites,free image hosting website,image hosting free,unlimited,best free image hosting sites,free unlimited image hosting,free images hosting,free image hosting google,image hosting site free,image hosting sites free,image hosting site,free image hosting websites,free image hosting site 2021,unlimited image storage free
https://school-drop.com/
Published: 2024-02-24 16:49:42

🚀 Приветствуем всех в School Drop - топовой школе арбитража трафика 🚀

Если вы увлечены темой арбитража трафика, ищете способы эффективного слива трафика или интересуетесь уроками и стратегиями этого захватывающего мира, Добро Пожаловать! 🎯

📚 Наши курсы арбитража трафика созданы с нуля, чтобы дать вам не только теоретические знания, но и практические навыки для успешного заработка. Мы расскажем о различных источниках трафика, подробно разберем способы и термины арбитража, а также познакомим с разнообразными нишами для успешной монетизации.

💼 Ищете вакансии арбитража трафика без опыта? Мы предоставляем такие возможности! У нас вы сможете не только начать свой путь в этой индустрии, но и учиться у профессионалов, готовых поделиться своим опытом.

💡 Кроме того, наши курсы включают обучение использованию различных инструментов, включая браузеры для арбитража трафика, а также дадут понимание офферов, CPA, и многого другого. Мы расскажем, как легально и эффективно заниматься арбитражем трафика в различных сферах, включая криптовалюту, беттинг, дейтинг, и даже вливание трафика в тикток!

🌐 Наша обширная команда арбитражников стоит вам на помощи, а также мы предоставляем информацию о компаниях, конференциях и партнерских программах, чтобы вы могли максимально эффективно использовать свои знания и навыки.

🔍 Ищите арбитраж трафика 2024? Мы всегда обновляем наши программы обучения и предоставляем актуальную информацию, чтобы вы были в курсе последних тенденций.

Присоединяйтесь к нам, и вместе мы освоим все тонкости арбитража трафика, открыв новые горизонты и возможности для успешного заработка! 💰✨
List of Docker Commands with Examples
Tags: devops, docker, softwaredevelopment
Published: 2024-02-24 16:33:55


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ybnpdc620ei6zm10m1dr.png)

Docker is a popular platform for containerization, and it comes with a variety of commands to manage containers, images, networks, and volumes. Here’s a list of some commonly used Docker commands, with examples:

### Container Management:

1. Docker run:
-Creates and starts a container from an image.
$ docker run -d — name my_container nginx

2. Docker ps:
-Lists running containers.
$ docker ps

3. docker ps -a:
-Lists all containers (running and stopped).
$ docker ps -a

4. Docker stop:
-Stops a running container.
$ docker stop my_container

5. Docker start:
-Starts a stopped container.
$ docker start my_container

6. Docker restart:
-Restarts a container.
$ docker restart my_container

7. Docker exec:
— Executes a command in a running container.
$ docker exec -it my_container bash

8. Docker rm:
— Removes one or more containers.
$ docker rm my_container

### Image Management:

9. Docker images:
— Lists all available images.
$ docker images

10. Docker pull:
— Pulls an image from a registry.
$ docker pull ubuntu:latest

11. Docker rmi:
— Removes one or more images.
$ docker rmi ubuntu:latest

12. Docker build:
— Builds a Docker image from a Dockerfile.
$ docker build -t custom_image:tag .

### Network Management:

13. docker network ls:
— Lists all networks.
$ docker network ls

14. docker network create:
— Creates a new network.
$ docker network create my_network

15. docker network connect:
— Connects a container to a network.
$ docker network connect my_network my_container

### Volume Management:

16. docker volume ls:
— Lists all volumes.
$ docker volume ls

17. Docker volume create:
— Creates a new volume.
$ docker volume create my_volume

18. Docker volume inspect:
— Displays detailed information about a volume.
$ docker volume inspect my_volume

These are just a few examples, and there are many more Docker commands available. You can explore the Docker documentation for more in-depth information: [[Docker CLI documentation]] (https://docs.docker.com/engine/reference/commandline/docker/). For additional information on coding and programming, you may also [visit](https://www.crazycoderscafe.com/).
Transfer Hostinger domain to Blogger
Published: 2024-02-24 16:48:57

Transfer Hostinger domain to Blogger

{% youtube https://youtu.be/wJkZFvEW-Ak?si=36SwXIKg9-xkr4ye %}


how to add custom domain in blogger,how to setup custom domain on blogger,how to connect hostinger domain to blogger,hostinger domain to blogger,connect domain to blogger,connect hostinger domain to blogger,connect custom domain to blogger,how to connect domain in blogger,how to connect custom domain to blogger,hostinger connet domain connet blogger,hostinger domain connect in blogger,blogger me hostinger ka domain kaise add kare
My head hurts with JavaScript
Published: 2024-02-24 16:48:47

**Rant 101**

So javaScript just got a whole lot confusing. 

Everything was all smooth and easy-going until I got up to functions. Writing a function is easy enough but writing a function within a function within a function then executing something known as a callback function... then there's the IIFE (which I kinda get). Then there's also arrow functions which kinda knocked me off my chair a bit. I know it gets harder than this but jeez-louise my head hurts. I'm going to start watching a whole lot of YouTube videos on this particular subject because so far this is this most confusing yet its the one thing I really want to get my head around. 

So if anyone has any recommendations, I would love to see it.

PS: Sorry about the rant
Linked account - problem with update product configuration (Test mode)
Tags: razorpay
Published: 2024-02-24 16:46:29

Hi, I am testing razorpay APIs in test mode. After successful creating linked account, stakeholder account and request product configuration I am trying to update the product configuration
This pass successully but when fetching it, it is stuck in "needs_clarification" with desciption "We're unable to validate the account number from the document attached". 
Becuase I am in test mode (so input data is not real) not clear why I am stick on this status and what parameters I was missing to supply so it moves on to next status (under_review)
Thanks for any help

below is the response from razorpay

  requested_configuration: [],
  active_configuration: {
    settlements: {
      account_number: '8223082230',
      ifsc_code: 'HDFC0000316',
      beneficiary_name: 'yossiga kumar'
    }
  },
  requirements: [
    {
      field_reference: 'settlements.ifsc_code',
      resolution_url: '/accounts/acc_Ne5DQi80eBF5U0/products/acc_prd_Nek2wi7RRXspzJ',
      reason_code: 'needs_clarification',
      description: "We're unable to validate the account number from the document attached. Kindly submit a cancelled cheque/welcome letter merged along with the document.",
      status: 'required'
    },
    {
      field_reference: 'settlements.beneficiary_name',
      resolution_url: '/accounts/acc_Ne5DQi80eBF5U0/products/acc_prd_Nek2wi7RRXspzJ',
      reason_code: 'needs_clarification',
      description: "We're unable to validate the account number from the document attached. Kindly submit a cancelled cheque/welcome letter merged along with the document.",
      status: 'required'
    },
    {
      field_reference: 'settlements.account_number',
      resolution_url: '/accounts/acc_Ne5DQi80eBF5U0/products/acc_prd_Nek2wi7RRXspzJ',
      reason_code: 'needs_clarification',
      description: "We're unable to validate the account number from the document attached. Kindly submit a cancelled cheque/welcome letter merged along with the document.",
      status: 'required'
    }
  ],
  tnc: { id: 'tnc_Nek2wd40F0QrDO', accepted: true, accepted_at: 1708783156 },
  id: 'acc_prd_Nek2wi7RRXspzJ',
  product_name: 'route',
  activation_status: 'needs_clarification',
  account_id: 'acc_Ne5DQi80eBF5U0',
  requested_at: 1708783156
}
[[24-02-24 18:13:28.943]] [LOG]    query status response:  {
  accountId: 'acc_Ne5DQi80eBF5U0',
  productId: 'acc_prd_Nek2wi7RRXspzJ',
  accountStatus: 'created',
  productStatus: 'needs_clarification',
  error: ''
}