Import-Module posh-git
function prompt {
$origLastExitCode = $LASTEXITCODE
$prompt = "$($ExecutionContext.SessionState.Path.CurrentLocation)"
$prompt += "`n"
if ($status = Get-GitStatus -Force) {
$prompt += "["
I created a little script to break up the order in which we give updates in our standup.
# Random Stand Up Row Call Order divided by sections
##################################################################
# instead of purely random standup order,
# I want to go through the standup in a specific sections
# (leads, dev, pms, and people that only show up sometimes)
This is an alias I find useful to have in my dev environment.
I worked with a lot of different people in different projects and in different git repositories.
so I am often going to the repo's website to give people reference to code, so this command makes it easy to quickly get to the repo's website.
## add this to your .bashrc or .profile file
alias gito="browse_to_git_repo"
browse_to_git_repo() {
# this assumes the remote origin url is using an ssh url
There are some sites that I like having on my taskbar as if they were applications.
You can easily do that by creating a shortcut to your chromium exe (chrome, edge, vivaldi, etc) and append the following option:
--app="your website address goes here"
--app tells it to open the site in "app mode"
then you just pass the website address
Here is an example of my shortcut target:
## include this on your powershell profile | |
function title | |
{ | |
param([string] $title ) | |
$Host.UI.RawUI.WindowTitle = $title | |
} | |
function refreshenv | |
{ | |
$env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User") |
This is a quick set of tips I am writing for a friend.
- You can plan every city, hotel/hostel, and activity for your trip.
- You can just pick a date to leave and and date to come back and decide everything on the go.
- (my fav) Pick the cities, one or two main things I want to see at each city and where I want to stay (hotel/hostel)
I usually like hostels. Particularly, a hostels that has a bar as well.