Skip to content

Instantly share code, notes, and snippets.

@OneFaced
OneFaced / UpdateArcDps.cmd
Last active April 5, 2022 16:00
GuildWars 2 ArcDps Update Script
REM <#
@echo off
copy UpdateArcDps.cmd UpdateArcDps.ps1 >NUL
PowerShell.exe -ExecutionPolicy Unrestricted -NoProfile -Command "&{Set-Alias REM Write-Host; .\UpdateArcDps.ps1}"
del UpdateArcDps.ps1
exit
REM #>
#MakeCDDVDAgain (so toxic!)
#T4 Purgatory, T1 Pop
@Tenzer
Tenzer / 000-README.md
Last active December 11, 2020 10:19
Cask upgrade

Cask-Upgrade

Small utility to help you manage packages installed via Homebrew Cask as it currently can't upgrade installed packages for you or clean up old versions.

The script will ask you if you want to upgrade applications which has newer versions available. Downloads from previous versions of applications will be removed when an application is updated, like what Homebrew has been doing since version 2.0.0. This behaviour can be disabled by setting the environment variable HOMEBREW_NO_INSTALL_CLEANUP.

Installation

@piscisaureus
piscisaureus / pr.md
Created August 13, 2012 16:12
Checkout github pull requests locally

Locate the section for your github remote in the .git/config file. It looks like this:

[remote "origin"]
	fetch = +refs/heads/*:refs/remotes/origin/*
	url = git@github.com:joyent/node.git

Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/* to this section. Obviously, change the github url to match your project's URL. It ends up looking like this: