C# Tips

Posted on March 28, 2020. Filed under: Uncategorized | Tags: , , , , |

Whether you’re still learning C# or you already have some experience, there will always be gaps in your knowledge, places where you are clueless as to your ignorance. In the series of articles in C# Tips I will provide a whole host of useful information about the sometimes underused or unknown features of both C# […]

Read Full Post | Make a Comment ( Comments Off on C# Tips )

Git tips & tricks for everyday use

Posted on May 28, 2018. Filed under: Uncategorized | Tags: , , , |

Part 1 and Part 2 I’ve been working with git for the last few years and I have some tricks to make my every day use a bit easier. So I wanted to share them and hopefully help someone with it. This article is aimed at somebody who has already some experience using git. via […]

Read Full Post | Make a Comment ( Comments Off on Git tips & tricks for everyday use )

Flight rules for git

Posted on November 21, 2017. Filed under: Uncategorized | Tags: , , , |

Flight rules for git What are “flight rules”? A guide for astronauts (now, programmers using git) about what to do when things go wrong. Flight Rules are the hard-earned body of knowledge recorded in manuals that list, step-by-step, what to do if X occurs, and why. Essentially, they are extremely detailed, scenario-specific standard operating procedures. […]

Read Full Post | Make a Comment ( Comments Off on Flight rules for git )

GitHub Secrets

Posted on January 20, 2017. Filed under: Uncategorized | Tags: , , , |

GitHub Secrets Over the years we’ve added quite a bit of stuff to GitHub. Sometimes we ship huge features, sometimes we ship small, lesser-known bonus features. Let’s talk about some of those secret features you may not know about. See also: Checking out pull requests locally

Read Full Post | Make a Comment ( Comments Off on GitHub Secrets )

Splitting a repo based on folder?

Posted on December 17, 2016. Filed under: Uncategorized | Tags: , , , |

Splitting a repo based on folder? [reddit] I have a repo that really should have been two different repos. Each project is in it’s own folder though (and I don’t think that no modification was made to both folders at the same time). Is there a way to split out this into two repos? Splitting […]

Read Full Post | Make a Comment ( Comments Off on Splitting a repo based on folder? )

Oh shit, git!

Posted on September 9, 2016. Filed under: Uncategorized | Tags: , , , , , , , , |

Oh shit, git! Git is hard: screwing up is easy, and figuring out how to fix your mistakes is fucking impossible. Git documentation has this chicken and egg problem where you can’t search for how to get yourself out of a mess, unless you already know the name of the thing you need to know […]

Read Full Post | Make a Comment ( Comments Off on Oh shit, git! )

Bash One-Liners Explained

Posted on June 16, 2016. Filed under: Uncategorized | Tags: , |

A five part series on Bash one-liners by Peteris Krumins Working with files Working with strings All about redirections Working with history Navigating around

Read Full Post | Make a Comment ( Comments Off on Bash One-Liners Explained )

The best way to store your dotfiles: A bare Git repository

Posted on February 17, 2016. Filed under: Uncategorized | Tags: , , |

The best way to store your dotfiles: A bare Git repository Recently I read about this amazing technique in an Hacker News thread on people’s solutions to store their dotfiles. User StreakyCobra showed his elegant setup and … It made so much sense! I am in the process of switching my own system to the […]

Read Full Post | Make a Comment ( Comments Off on The best way to store your dotfiles: A bare Git repository )

git stashed

Posted on June 17, 2015. Filed under: Uncategorized | Tags: , , , |

git stashed Typically, git stash just shows you the items in your stash. Now, git stashed shows you how long ago items were stashed

Read Full Post | Make a Comment ( Comments Off on git stashed )

How to undo (almost) anything with Git

Posted on June 9, 2015. Filed under: Uncategorized | Tags: , , , , , , , , |

How to undo (almost) anything with Git One of the most useful features of any version control system is the ability to “undo” your mistakes. In Git, “undo” can mean many slightly different things. When you make a new commit, Git stores a snapshot of your repository at that specific moment in time; later, you […]

Read Full Post | Make a Comment ( Comments Off on How to undo (almost) anything with Git )

« Previous Entries

Liked it here?
Why not try sites on the blogroll...