mirror of
https://github.com/avinal/avinal.github.io.git
synced 2026-07-04 07:40:09 +05:30
fix markdown error and 404
This commit is contained in:
@@ -1,22 +1,18 @@
|
|||||||
---
|
---
|
||||||
title: The Big Red Ants
|
title: The Big Red Ants
|
||||||
date: 2012-02-27 22:47
|
date: 2012-02-27 22:47
|
||||||
tags: ants, sav
|
tags: [ants, sav]
|
||||||
category: article
|
category: article
|
||||||
description: In a bird’s eye view if we see around us, ants are the common and
|
description: 'The Big Red Ants'
|
||||||
tiniest living entitiy seen by naked eye. One of them are the big red ants, in
|
|
||||||
my view they are unique from others in two ways, first they live on trees and
|
|
||||||
second their anteenas are too long and bent in middle, seems like their fore
|
|
||||||
legs. Their mandible (mouth) seems like eagle’s beak.
|
|
||||||
---
|
---
|
||||||
|
|
||||||
# The Big Red Ants
|
# The Big Red Ants
|
||||||
|
|
||||||
In a bird’s eye view if we see around us, ants are the common and
|
In a bird's eye view if we see around us, ants are the common and
|
||||||
tiniest living entitiy seen by naked eye. One of them are the big red
|
tiniest living entitiy seen by naked eye. One of them are the big red
|
||||||
ants, in my view they are unique from others in two ways, first they
|
ants, in my view they are unique from others in two ways, first they
|
||||||
live on trees and second their anteenas are too long and bent in middle,
|
live on trees and second their anteenas are too long and bent in middle,
|
||||||
seems like their fore legs. Their mandible (mouth) seems like eagle’s
|
seems like their fore legs. Their mandible (mouth) seems like eagle's
|
||||||
beak.
|
beak.
|
||||||
|
|
||||||
As I observed them making and reparing their nests, I concluded that
|
As I observed them making and reparing their nests, I concluded that
|
||||||
@@ -32,13 +28,13 @@ translucent cloth like structure to cover remainings of leaf. A nest
|
|||||||
hangs by a branch of the trees.
|
hangs by a branch of the trees.
|
||||||
|
|
||||||
A nest is skillfully divided into living rooms, barracks, storehouse,
|
A nest is skillfully divided into living rooms, barracks, storehouse,
|
||||||
egg room and queen’s room. The eggroom, lies at the center of nest to
|
egg room and queen's room. The eggroom, lies at the center of nest to
|
||||||
protect from outer attack until last time. Besides that, lies queen’s
|
protect from outer attack until last time. Besides that, lies queen's
|
||||||
room. Living rooms are sequenncly joined with eggroom. There are
|
room. Living rooms are sequenncly joined with eggroom. There are
|
||||||
different rooms for workers, food searchers etc. The partition of the
|
different rooms for workers, food searchers etc. The partition of the
|
||||||
room resembles atom’s electron shell, one upon another. At last barracks
|
room resembles atom's electron shell, one upon another. At last barracks
|
||||||
are the outermost rooms, just like outermost orbit of electron. The
|
are the outermost rooms, just like outermost orbit of electron. The
|
||||||
defence system is strongest at the nest’s opening. A nest may size as
|
defence system is strongest at the nest's opening. A nest may size as
|
||||||
2-3 footballs and have 50 to 10000 ants. There may be more openings.
|
2-3 footballs and have 50 to 10000 ants. There may be more openings.
|
||||||
|
|
||||||
Now about their attacking and protecting skills. A solider is unique
|
Now about their attacking and protecting skills. A solider is unique
|
||||||
|
|||||||
@@ -3,8 +3,11 @@ title: Create the VLC User Documentation for one Mobile Port(Android)
|
|||||||
date: 2020-12-01 23:47
|
date: 2020-12-01 23:47
|
||||||
modified: 2020-12-31 23:19
|
modified: 2020-12-31 23:19
|
||||||
category: development
|
category: development
|
||||||
tags: vlc, gsod, gsod2020
|
tags: [vlc, gsod, gsod2020]
|
||||||
description: The project was to Create the VLC User Documentation for Android Mobile Port which was previously hosted on VLC’s wiki pages. The major portion of this was to start everything from scratch including chapter separation, section organization.
|
description: 'The project was to Create the VLC User Documentation for Android
|
||||||
|
Mobile Port which was previously hosted on VLC's wiki pages. The major portion
|
||||||
|
of this was to start everything from scratch including chapter separation,
|
||||||
|
section organization.'
|
||||||
---
|
---
|
||||||
|
|
||||||
# Create the VLC User Documentation for one Mobile Port(Android)
|
# Create the VLC User Documentation for one Mobile Port(Android)
|
||||||
@@ -18,7 +21,7 @@ and a team of volunteers. VLC for Android is a port of the VLC for
|
|||||||
Android OS.
|
Android OS.
|
||||||
|
|
||||||
The project was to Create the VLC User Documentation for Android Mobile
|
The project was to Create the VLC User Documentation for Android Mobile
|
||||||
Port which was previously hosted on VLC’s wiki pages. The major portion
|
Port which was previously hosted on VLC's wiki pages. The major portion
|
||||||
of this was to start everything from scratch including chapter
|
of this was to start everything from scratch including chapter
|
||||||
separation, section organization and an engaging and easy to follow for
|
separation, section organization and an engaging and easy to follow for
|
||||||
both technical and non-technical users. The original proposal can be
|
both technical and non-technical users. The original proposal can be
|
||||||
|
|||||||
@@ -1,31 +1,12 @@
|
|||||||
---
|
---
|
||||||
title: Google Summer of Code 2021
|
title: Google Summer of Code 2021
|
||||||
date: 2021-08-19 23:07
|
date: 2021-08-19 23:07
|
||||||
tags: gsoc, FOSSology
|
tags: [gsoc, FOSSology]
|
||||||
category: development
|
category: development
|
||||||
description: This is the final report of my Google Summer of Code 2021 at The FOSSology Project.
|
description: This is the final report of my Google Summer of Code 2021 at The FOSSology Project.
|
||||||
---
|
---
|
||||||
# Google Summer of Code 2021
|
# Google Summer of Code 2021
|
||||||
|
|
||||||
date
|
|
||||||
2021-08-19 23:07
|
|
||||||
|
|
||||||
tags
|
|
||||||
gsoc, FOSSology
|
|
||||||
|
|
||||||
category
|
|
||||||
report
|
|
||||||
|
|
||||||
summary
|
|
||||||
This is the final report of my Google Summer of Code 2021 at The
|
|
||||||
FOSSology Project.
|
|
||||||
|
|
||||||
slug
|
|
||||||
final-evaluation
|
|
||||||
|
|
||||||
status
|
|
||||||
published
|
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
.rd {color:red;font-weight:bold}
|
.rd {color:red;font-weight:bold}
|
||||||
.gr{color:green;font-weight:bold}
|
.gr{color:green;font-weight:bold}
|
||||||
@@ -57,7 +38,7 @@ Since the FOSSology project moved on Github, it has used only the free
|
|||||||
Travis CI service for OSS projects. At the time of writing Travis CI has
|
Travis CI service for OSS projects. At the time of writing Travis CI has
|
||||||
reduced its free tier CI services. GitHub Actions provides faster
|
reduced its free tier CI services. GitHub Actions provides faster
|
||||||
builds. Since GitHub Actions is a fully managed service by GitHub, we
|
builds. Since GitHub Actions is a fully managed service by GitHub, we
|
||||||
don’t need to know how to scale and operate the infrastructure to run
|
don't need to know how to scale and operate the infrastructure to run
|
||||||
it.
|
it.
|
||||||
|
|
||||||
It is straightforward to use with GitHub because when we fork a
|
It is straightforward to use with GitHub because when we fork a
|
||||||
@@ -508,7 +489,7 @@ The list below describes them.
|
|||||||
|
|
||||||
### GitHub Actions CI Tasks
|
### GitHub Actions CI Tasks
|
||||||
|
|
||||||
| \# | CI Tasks | Status |
|
| # | CI Tasks | Status |
|
||||||
|-----|-----------------------------------------|----------------------------------------------------------|
|
|-----|-----------------------------------------|----------------------------------------------------------|
|
||||||
| 1 | <span class="gr">build</span> | Added Ubuntu 20.04 GCC 8, 9 and Clang, GCC 7 not working |
|
| 1 | <span class="gr">build</span> | Added Ubuntu 20.04 GCC 8, 9 and Clang, GCC 7 not working |
|
||||||
| 2 | <span class="gr">c/cpp unit test</span> | Added, delagent, scheduler and ununpack not working |
|
| 2 | <span class="gr">c/cpp unit test</span> | Added, delagent, scheduler and ununpack not working |
|
||||||
@@ -580,7 +561,7 @@ described below.
|
|||||||
|
|
||||||
1. Since the new build system is still in review. You must fork
|
1. Since the new build system is still in review. You must fork
|
||||||
FOSSology and pull the
|
FOSSology and pull the
|
||||||
[\#2075](https://github.com/fossology/fossology/pull/2075) pull
|
[#2075](https://github.com/fossology/fossology/pull/2075) pull
|
||||||
request branch. Once you are in FOSSology root, run these commands.
|
request branch. Once you are in FOSSology root, run these commands.
|
||||||
|
|
||||||
> ```bash
|
> ```bash
|
||||||
@@ -768,14 +749,14 @@ width="350" alt="A Bug Meme" />
|
|||||||
- Packages don't contain copyright, readme, and license files. CMake
|
- Packages don't contain copyright, readme, and license files. CMake
|
||||||
doesn't provide a way to include these files. This is being tracked by
|
doesn't provide a way to include these files. This is being tracked by
|
||||||
issue
|
issue
|
||||||
[\#21832](https://gitlab.kitware.com/cmake/cmake/-/issues/21832).
|
[#21832](https://gitlab.kitware.com/cmake/cmake/-/issues/21832).
|
||||||
- While packaging the symbolic links may or may not be dereferenced and
|
- While packaging the symbolic links may or may not be dereferenced and
|
||||||
hence results in copying the folder too in the target directory.
|
hence results in copying the folder too in the target directory.
|
||||||
- Running tests locally may require switching to `fossy` user.
|
- Running tests locally may require switching to `fossy` user.
|
||||||
- While configured for testing, it may give permission errors.
|
- While configured for testing, it may give permission errors.
|
||||||
- Scheduler, Ununpack, and Delagent unit and functional tests are not
|
- Scheduler, Ununpack, and Delagent unit and functional tests are not
|
||||||
working. I have added an issue
|
working. I have added an issue
|
||||||
[\#2084](https://github.com/fossology/fossology/issues/2084) to track
|
[#2084](https://github.com/fossology/fossology/issues/2084) to track
|
||||||
the progress on fixing these tests.
|
the progress on fixing these tests.
|
||||||
- CMake doesn't generate uninstall targets. The closest thing to
|
- CMake doesn't generate uninstall targets. The closest thing to
|
||||||
uninstall is [this
|
uninstall is [this
|
||||||
@@ -807,12 +788,12 @@ new build system.
|
|||||||
## Related Resources and Links
|
## Related Resources and Links
|
||||||
|
|
||||||
- Fix FOSSology agent tests issue
|
- Fix FOSSology agent tests issue
|
||||||
[\#2084](https://github.com/fossology/fossology/issues/2084)
|
[#2084](https://github.com/fossology/fossology/issues/2084)
|
||||||
- feat(CI): Migrate API docs generation and deployment to GitHub Actions
|
- feat(CI): Migrate API docs generation and deployment to GitHub Actions
|
||||||
pull request
|
pull request
|
||||||
[\#1917](https://github.com/fossology/fossology/pull/1917)
|
[#1917](https://github.com/fossology/fossology/pull/1917)
|
||||||
- feat(CI): Migrate Static Checks and Analysis to GitHub Actions from
|
- feat(CI): Migrate Static Checks and Analysis to GitHub Actions from
|
||||||
Travis CI [\#1919](https://github.com/fossology/fossology/pull/1919)
|
Travis CI [#1919](https://github.com/fossology/fossology/pull/1919)
|
||||||
|
|
||||||
## Future Development Plans
|
## Future Development Plans
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
title: I am loving it! RedHat
|
title: I am loving it! RedHat
|
||||||
date: 2022-02-25 20:47
|
date: 2022-02-25 20:47
|
||||||
category: development
|
category: development
|
||||||
tags: kubernetes, redhat, docker, golang, tekton, openshift, intern
|
tags: [kubernetes, redhat, docker, golang, tekton, openshift, intern]
|
||||||
description: I made it to the Red Hat as a DevTools intern. This post is about onboarding and how I prepared myself for working on the actual project.
|
description: I made it to the Red Hat as a DevTools intern. This post is about onboarding and how I prepared myself for working on the actual project.
|
||||||
---
|
---
|
||||||
# My internship at Red Hat
|
# My internship at Red Hat
|
||||||
@@ -50,10 +50,10 @@ with their category.
|
|||||||
class="float-md-right rounded ml-3 float-md-right rounded ml-3"
|
class="float-md-right rounded ml-3 float-md-right rounded ml-3"
|
||||||
style="height:20em" alt="Gopher on the ladder" />
|
style="height:20em" alt="Gopher on the ladder" />
|
||||||
|
|
||||||
One of Golang’s biggest advantages is that it offers the clarity and
|
One of Golang's biggest advantages is that it offers the clarity and
|
||||||
ease of use that other languages lack. Golang’s advantages make it easy
|
ease of use that other languages lack. Golang's advantages make it easy
|
||||||
for new programmers to quickly understand the language and for seasoned
|
for new programmers to quickly understand the language and for seasoned
|
||||||
veterans to easily read each other’s code.
|
veterans to easily read each other's code.
|
||||||
|
|
||||||
- [Official Go Documentation](https://go.dev/doc/) - *Start from here*
|
- [Official Go Documentation](https://go.dev/doc/) - *Start from here*
|
||||||
- [Go by Example](https://gobyexample.com/) - *bite-size examples for
|
- [Go by Example](https://gobyexample.com/) - *bite-size examples for
|
||||||
@@ -67,7 +67,7 @@ veterans to easily read each other’s code.
|
|||||||
ide*
|
ide*
|
||||||
- [The Go Programming Language - Book](https://www.gopl.io/) *for
|
- [The Go Programming Language - Book](https://www.gopl.io/) *for
|
||||||
learning advanced level golang*
|
learning advanced level golang*
|
||||||
- [Golang Tutorial for Beginners \| Full Go Course - TechWorld with
|
- [Golang Tutorial for Beginners | Full Go Course - TechWorld with
|
||||||
Nana](https://youtu.be/yyUHQIec83I) *if you prefer video tutorials, I
|
Nana](https://youtu.be/yyUHQIec83I) *if you prefer video tutorials, I
|
||||||
don't :)*
|
don't :)*
|
||||||
|
|
||||||
@@ -75,7 +75,7 @@ veterans to easily read each other’s code.
|
|||||||
|
|
||||||
Docker takes away repetitive, mundane configuration tasks and is used
|
Docker takes away repetitive, mundane configuration tasks and is used
|
||||||
throughout the development lifecycle for fast, easy, and portable
|
throughout the development lifecycle for fast, easy, and portable
|
||||||
application development - desktop and cloud. Docker’s comprehensive
|
application development - desktop and cloud. Docker's comprehensive
|
||||||
end-to-end platform includes UIs, CLIs, APIs, and security that are
|
end-to-end platform includes UIs, CLIs, APIs, and security that are
|
||||||
engineered to work together across the entire application delivery
|
engineered to work together across the entire application delivery
|
||||||
lifecycle.
|
lifecycle.
|
||||||
@@ -88,7 +88,7 @@ alt="The Docker Architecture" />
|
|||||||
Katacoda](https://www.katacoda.com/courses/docker) *interactive
|
Katacoda](https://www.katacoda.com/courses/docker) *interactive
|
||||||
lessons on docker and containers*
|
lessons on docker and containers*
|
||||||
- [Docker for beginners](https://docker-curriculum.com/)
|
- [Docker for beginners](https://docker-curriculum.com/)
|
||||||
- [Docker Tutorial for Beginners \| TechWorld with
|
- [Docker Tutorial for Beginners | TechWorld with
|
||||||
Nana](https://youtu.be/3c-iBn73dDE) *video tutorial*
|
Nana](https://youtu.be/3c-iBn73dDE) *video tutorial*
|
||||||
|
|
||||||
### [Kubernetes](https://kubernetes.io/)
|
### [Kubernetes](https://kubernetes.io/)
|
||||||
@@ -97,7 +97,7 @@ alt="The Docker Architecture" />
|
|||||||
class="float-md-left border mr-3 float-md-left border mr-3" width="200"
|
class="float-md-left border mr-3 float-md-left border mr-3" width="200"
|
||||||
alt="Kubernetes tech" />
|
alt="Kubernetes tech" />
|
||||||
|
|
||||||
**Kubernetes** is the Greek word for a ship’s captain. We get the words
|
**Kubernetes** is the Greek word for a ship's captain. We get the words
|
||||||
Cybernetic and Gubernatorial from it. The Kubernetes project focuses on
|
Cybernetic and Gubernatorial from it. The Kubernetes project focuses on
|
||||||
building a robust platform for running thousands of containers in
|
building a robust platform for running thousands of containers in
|
||||||
production.
|
production.
|
||||||
|
|||||||
@@ -1,16 +1,16 @@
|
|||||||
---
|
---
|
||||||
title: How I implemented WakaTime embeddable Coding Graph GHA?
|
title: How I implemented WakaTime embeddable Coding Graph GHA?
|
||||||
date: 2021-02-02 21:47
|
date: 2021-02-02 21:47
|
||||||
tags: wakatime, github-action, coding
|
tags: [wakatime, github-action, coding]
|
||||||
category: development
|
category: development
|
||||||
description: if you use WakaTime to track your coding activity. You can add that to
|
description: 'If you use WakaTime to track your coding activity. You can add that to
|
||||||
your README as a bar graph or embed it in your blog/portfolio. Just add this
|
your README as a bar graph or embed it in your blog/portfolio. Just add this
|
||||||
action to any of your repositories and there you have it.
|
action to any of your repositories and there you have it.'
|
||||||
---
|
---
|
||||||
|
|
||||||
# How I implemented WakaTime embeddable Coding Graph GHA?
|
# How I implemented WakaTime embeddable Coding Graph GHA?
|
||||||
|
|
||||||
<a href="https://github.com/avinal/Profile-Readme-WakaTime"><img src="https://raw.githubusercontent.com/avinal/Profile-Readme-WakaTime/b281d074ee75f9626b39d10e2e518c6a297208a3/waka.png" class="img-fluid"></a>
|

|
||||||
|
|
||||||
## Implementation Details
|
## Implementation Details
|
||||||
|
|
||||||
@@ -97,8 +97,7 @@ into technical details. Three parts are as below.
|
|||||||
where I found them 🙂.
|
where I found them 🙂.
|
||||||
|
|
||||||
Another problem was to separate repository name from combined
|
Another problem was to separate repository name from combined
|
||||||
*username/repository-name* provided by <span
|
*username/repository-name* provided by `${GITHUB_REPOSITORY}`. GitHub doesn't
|
||||||
class="title-ref">\${GITHUB_REPOSITORY}</span>. GitHub doesn't
|
|
||||||
provides a direct way to get just the repo name. We used *Internal
|
provides a direct way to get just the repo name. We used *Internal
|
||||||
Field Separator*. It returns an array and works similar to `split()`
|
Field Separator*. It returns an array and works similar to `split()`
|
||||||
command in Python and Java.
|
command in Python and Java.
|
||||||
@@ -140,7 +139,7 @@ into technical details. Three parts are as below.
|
|||||||
## How to use this GitHub Actions?
|
## How to use this GitHub Actions?
|
||||||
|
|
||||||
1. First get your WakaTime API Key. You can get it from your
|
1. First get your WakaTime API Key. You can get it from your
|
||||||
\[WakaTime\](<https://wakatime.com>) account settings.
|
[WakaTime](<https://wakatime.com>) account settings.
|
||||||
|
|
||||||
2. Save WakaTime API Key to Repository Secret. Find that by clicking
|
2. Save WakaTime API Key to Repository Secret. Find that by clicking
|
||||||
the Settings tab. Keep the name of the secret as
|
the Settings tab. Keep the name of the secret as
|
||||||
@@ -149,8 +148,8 @@ into technical details. Three parts are as below.
|
|||||||
3. Add the following line in your README.md of your repo.
|
3. Add the following line in your README.md of your repo.
|
||||||
|
|
||||||
```html
|
```html
|
||||||
<img src-"https://github.com/<username>/<repository-name>/blob/<branch-name>/images/stat.svg" alt-"Alternative Text"/>
|
<img src="https://github.com/<username>/<repository-name>/blob/<branch-name>/images/stat.svg" alt="Alternative Text"/>
|
||||||
Example: <img src-"https://github.com/avinal/avinal/blob/main/images/stat.svg" alt-"Avinal WakaTime Activity"/>
|
Example: <img src="https://github.com/avinal/avinal/blob/main/images/stat.svg" alt="Avinal WakaTime Activity"/>
|
||||||
```
|
```
|
||||||
|
|
||||||
> You can use this method to embed in web pages too. **Do not use the
|
> You can use this method to embed in web pages too. **Do not use the
|
||||||
@@ -192,7 +191,7 @@ into technical details. Three parts are as below.
|
|||||||
|
|
||||||
6. Please wait till 12 AM UTC to run this workflow automatically. Or
|
6. Please wait till 12 AM UTC to run this workflow automatically. Or
|
||||||
you can force run it by going to the Actions tab. Or you can add the
|
you can force run it by going to the Actions tab. Or you can add the
|
||||||
following lines under <span class="title-ref">on:</span> to run with
|
following lines under `on:` to run with
|
||||||
every push. Search for 12 AM UTC to find the equivalent time in your
|
every push. Search for 12 AM UTC to find the equivalent time in your
|
||||||
time zone.
|
time zone.
|
||||||
|
|
||||||
@@ -206,4 +205,4 @@ into technical details. Three parts are as below.
|
|||||||
|
|
||||||
## My Coding Activity
|
## My Coding Activity
|
||||||
|
|
||||||
<img class="img-fluid" src="https://raw.githubusercontent.com/avinal/avinal/main/images/stat.svg">
|

|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
---
|
---
|
||||||
title: Move WSL 2 Safely to another Drive
|
title: Move WSL 2 Safely to another Drive
|
||||||
date: 2020-12-31 19:07
|
date: 2020-12-31 19:07
|
||||||
tags: wsl, wsl2
|
tags: [wsl, wsl2]
|
||||||
category: development
|
category: development
|
||||||
description: It is real pain when you have small SSD and Windows Subsystem for Linux
|
description: 'It is real pain when you have small SSD and Windows Subsystem for Linux
|
||||||
(WSL) is growing exponentially in size. There is no easy way to move the
|
(WSL) is growing exponentially in size. There is no easy way to move the
|
||||||
WSL installation to another drive. Here in this blog I will discuss how
|
WSL installation to another drive. Here in this blog I will discuss how
|
||||||
to tackle this problem with bite size steps.
|
to tackle this problem with bite size steps.'
|
||||||
---
|
---
|
||||||
|
|
||||||
# Move WSL 2 Safely to another Drive
|
# Move WSL 2 Safely to another Drive
|
||||||
@@ -29,8 +29,8 @@ to tackle this problem with bite size steps.
|
|||||||
currently running/stopped.
|
currently running/stopped.
|
||||||
|
|
||||||
```powershell
|
```powershell
|
||||||
PS C:\Users\Avinal> wsl -l -v
|
PS C:\\Users\\Avinal> wsl -l -v
|
||||||
PS C:\Users\Avinal>
|
PS C:\\Users\\Avinal>
|
||||||
NAME STATE VERSION
|
NAME STATE VERSION
|
||||||
* Ubuntu Running 2
|
* Ubuntu Running 2
|
||||||
Kali Stopped 2
|
Kali Stopped 2
|
||||||
@@ -40,41 +40,41 @@ to tackle this problem with bite size steps.
|
|||||||
(*Ubuntu* used as example)
|
(*Ubuntu* used as example)
|
||||||
|
|
||||||
```powershell
|
```powershell
|
||||||
PS C:\Users\Avinal> wsl -t Ubuntu
|
PS C:\\Users\\Avinal> wsl -t Ubuntu
|
||||||
```
|
```
|
||||||
|
|
||||||
4. Export to some folder. (Here exporting *Ubuntu* as *ubuntu-ex.tar*
|
4. Export to some folder. (Here exporting *Ubuntu* as *ubuntu-ex.tar*
|
||||||
to *Z:wsl2*)
|
to *Z:wsl2*)
|
||||||
|
|
||||||
```powershell
|
```powershell
|
||||||
PS C:\Users\Avinal> wsl --export Ubuntu "Z:\export\ubuntu-ex.tar"
|
PS C:\\Users\\Avinal> wsl --export Ubuntu "Z:\\export\\ubuntu-ex.tar"
|
||||||
```
|
```
|
||||||
|
|
||||||
5. Unregister previous WSL installation
|
5. Unregister previous WSL installation
|
||||||
|
|
||||||
```powershell
|
```powershell
|
||||||
PS C:\Users\Avinal> wsl --unregister Ubuntu
|
PS C:\\Users\\Avinal> wsl --unregister Ubuntu
|
||||||
```
|
```
|
||||||
|
|
||||||
6. Create a new folder and import your WSL installation to that folder.
|
6. Create a new folder and import your WSL installation to that folder.
|
||||||
|
|
||||||
```powershell
|
```powershell
|
||||||
PS C:\Users\Avinal> New-Item -Path "Z:\wsl2" -ItemType Directory
|
PS C:\\Users\\Avinal> New-Item -Path "Z:\\wsl2" -ItemType Directory
|
||||||
|
|
||||||
Directory: Z:\
|
Directory: Z:\\
|
||||||
|
|
||||||
Mode LastWriteTime Length Name
|
Mode LastWriteTime Length Name
|
||||||
---- ------------- ------ ----
|
---- ------------- ------ ----
|
||||||
d----- 31-12-2020 21:03 wsl2
|
d----- 31-12-2020 21:03 wsl2
|
||||||
|
|
||||||
PS C:\Users\Avinal> wsl --import Ubuntu "Z:\wsl2" "Z:\export\ubuntu-ex.tar"
|
PS C:\\Users\\Avinal> wsl --import Ubuntu "Z:\\wsl2" "Z:\\export\\ubuntu-ex.tar"
|
||||||
```
|
```
|
||||||
|
|
||||||
7. Check after import is complete
|
7. Check after import is complete
|
||||||
|
|
||||||
```powershell
|
```powershell
|
||||||
PS C:\Users\Avinal> wsl -l -v
|
PS C:\\Users\\Avinal> wsl -l -v
|
||||||
PS C:\Users\Avinal>
|
PS C:\\Users\\Avinal>
|
||||||
NAME STATE VERSION
|
NAME STATE VERSION
|
||||||
* Ubuntu Running 2
|
* Ubuntu Running 2
|
||||||
Kali Stopped 2
|
Kali Stopped 2
|
||||||
@@ -83,7 +83,7 @@ PS C:\Users\Avinal>
|
|||||||
8. Mark one of your WSL distribution as *(default)*.
|
8. Mark one of your WSL distribution as *(default)*.
|
||||||
|
|
||||||
```powershell
|
```powershell
|
||||||
PS C:\Users\Avinal> wsl -s Ubuntu
|
PS C:\\Users\\Avinal> wsl -s Ubuntu
|
||||||
```
|
```
|
||||||
|
|
||||||
9. After exporting your default user will be set as
|
9. After exporting your default user will be set as
|
||||||
@@ -91,7 +91,7 @@ PS C:\Users\Avinal> wsl -s Ubuntu
|
|||||||
username, run following command
|
username, run following command
|
||||||
|
|
||||||
```powershell
|
```powershell
|
||||||
PS C:\Users\Avinal> ubuntu config --default-user user_name
|
PS C:\\Users\\Avinal> ubuntu config --default-user user_name
|
||||||
```
|
```
|
||||||
|
|
||||||
10. Finally run `wsl` and you have successfully moved your WSL 2
|
10. Finally run `wsl` and you have successfully moved your WSL 2
|
||||||
|
|||||||
+1
-1
@@ -23,7 +23,7 @@
|
|||||||
// https://username.github.io/repo-name/one/two?a=b&c=d#qwe becomes
|
// https://username.github.io/repo-name/one/two?a=b&c=d#qwe becomes
|
||||||
// https://username.github.io/repo-name/?p=/one/two&q=a=b~and~c=d#qwe
|
// https://username.github.io/repo-name/?p=/one/two&q=a=b~and~c=d#qwe
|
||||||
// Otherwise, leave segmentCount as 0.
|
// Otherwise, leave segmentCount as 0.
|
||||||
var segmentCount = 1;
|
var segmentCount = 0;
|
||||||
|
|
||||||
var l = window.location;
|
var l = window.location;
|
||||||
l.replace(
|
l.replace(
|
||||||
|
|||||||
+2
-2
@@ -5,8 +5,8 @@
|
|||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<link rel="stylesheet" href="/website/mdn-style.css">
|
<link rel="stylesheet" href="/mdn-style.css">
|
||||||
<link rel="stylesheet" href="/website/foo-style.min.css">
|
<link rel="stylesheet" href="/foo-style.min.css">
|
||||||
|
|
||||||
<title>Document</title>
|
<title>Document</title>
|
||||||
<script src="/redirect.js"></script>
|
<script src="/redirect.js"></script>
|
||||||
|
|||||||
Reference in New Issue
Block a user