Skip to content

Instantly share code, notes, and snippets.

View nalumachurakesh's full-sized avatar

Rakesh Nalumachu nalumachurakesh

View GitHub Profile
@nalumachurakesh
nalumachurakesh / Convert.csx
Created December 16, 2020 01:25 — forked from goldytech/Convert.csx
Convert MSTest to XUnit
using System.Text.RegularExpressions;
using System;
using System.IO;
string path = string.Empty;
if (Env.ScriptArgs.Count() == 1)
{
path = Env.ScriptArgs[0];
}
@nalumachurakesh
nalumachurakesh / gitignore-add.md
Created November 24, 2020 21:14 — forked from kipyegonmark/gitignore-add.md
Adding a .gitignore to an existing repo. Source to original link -> http://monkeyhacks.com/link/adding-a-gitignore-to-an-existing-repo

First commit any outstanding code changes, and then, run this command:

git rm -r --cached

This removes everything from theindex, then just run:

git add

Commit it:

@nalumachurakesh
nalumachurakesh / create_new_ssh_key.md
Created June 21, 2020 19:52 — forked from JoaquimLey/create_new_ssh_key.md
Generating a new SSH key and adding it to the ssh-agent

Generating a new ssh-key

Open Terminal. Paste the text below, substituting in your GitHub email address.

ssh-keygen -t rsa -b 4096 -C "your_email@example.com"

This creates a new ssh key, using the provided email as a label

Generating public/private rsa key pair.

@nalumachurakesh
nalumachurakesh / Migration from SVN to Git
Last active June 15, 2020 19:42
Migration from SVN to Git
## Prepare a migration environment
Configure a migration environment on a local workstation and install the following software:
* [Git](https://git-for-windows.github.io/)
* [Subversion](https://subversion.apache.org/packages.html)
* [git-svn utility](https://www.kernel.org/pub/software/scm/git/docs/git-svn.html) (already part of Git)
You will also need to create a Git repository for your organization to host the converted SVN repository, you may follow [Create a new Git repo in your project
](/azure/devops/repos/git/create-new-repo)
@nalumachurakesh
nalumachurakesh / dotnet core .gitignore
Last active November 22, 2021 05:02 — forked from vmandic/dotnet core .gitignore
A default .NET Core project .gitignore file
*.swp
*.*~
project.lock.json
.DS_Store
*.pyc
# Visual Studio Code
.vscode
# User-specific files