Giter Site home page Giter Site logo

misc's Introduction

misc

misc scripts and tools Setting up java: Go here https://github.com/stiasta/misc/blob/master/java_setup.md

Useful commands:

Find files in a git repo that has been changed the most.

To find which files have been changed the most in a git repo the command under can be used:

On windows:

git log --pretty=format: --name-only | sort | uniq -c | sort /R | head -100

On unix based:

git log --pretty=format: --name-only | sort | uniq -c | sort -rg | head -10

The files that have been changed the most can give an indication that something is wierd with those files.

Find self signed certificate that is invalidating the local certificate store.

This powershell command will output the certificate that can cause the local certificate store to be invalidated. A text file will be created called c:\computer_filtered. If this file is empty everything should be ok.

Get-Childitem cert:\LocalMachine\root -Recurse | Where-Object {$_.Issuer -ne $_.Subject} | Format-List * | Out-File "c:\computer_filtered.txt"

Updating one or more nuget packages in a C# Solution

To run this powershell command you have to open Package Manager Console from visual studio and run this command:

(PackageName1, PackageName2, PackageName3) | ForEach-Object { Get-Package $_ } | ForEach-Object { Update-Package -id $_.id -ProjectName $_.projectname }

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.