Skip to content
View anton-dealmeida's full-sized avatar

Block or report anton-dealmeida

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. Docker: SQL Server with mounted Volume Docker: SQL Server with mounted Volume
    1
    # SQL Server with Docker
    2
    
                  
    3
    The following script will create a Docker container which will run SQL Server and assign a password for user 'sa'
    4
    This container will mount my C:\SQL_DB directory which contains my .mdf and .ldf files, 
    5
    it will then make those available to my container in the /sql_data directory.
  2. A simply little snippet to squash yo... A simply little snippet to squash your git commits into one commit for merging back to your source branch.
    1
    # Roll back all the commits done since branching from a develop branch but keep the changes.
    2
    # Note: Be careful to not loose your changes after running this command.
    3
    Write-Host "Rolling back commit tree to source branch."
    4
    git reset $(git merge-base develop $(git rev-parse --abbrev-ref HEAD))
    5
    Write-Host "Remember to commit all your changes and to run git push -f"
  3. docker cleanup guide: containers, im... docker cleanup guide: containers, images, volumes, networks
    1
    # Docker - How to cleanup (unused) resources
    2
    
                  
    3
    Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...
    4
    
                  
    5
    This is forked from [here](https://gist.github.com/bastman/5b57ddb3c11942094f8d0a97d461b430)