Skip to content

Instantly share code, notes, and snippets.

@Joaquin6
Last active September 30, 2020 08:57
Show Gist options
  • Save Joaquin6/5f837097a56bf732f3469d2a7c9d75b4 to your computer and use it in GitHub Desktop.
Save Joaquin6/5f837097a56bf732f3469d2a7c9d75b4 to your computer and use it in GitHub Desktop.
NotesProfile.txt
# 7-Zip http://www.7-zip.org/download.html
# Git https://git-scm.com/download/win
# Regex http://www.grymoire.com/Unix/Regular.html#uh-12
# AwkRef http://www.grymoire.com/Unix/AwkRef.html
# Notepad++ https://notepad-plus-plus.org/download/v7.5.4.html
# ArsClip http://www.joejoesoft.com/vcms/97/
# Aria2 https://github.com/aria2/aria2/releases/tag/release-1.33.1
# Deluge http://download.deluge-torrent.org/windows/?C=M;O=D
# Transmission https://transmissionbt.com/download/
# Git Windows http://developeronfire.com/blog/configuration-of-git-on-windows-to-make-life-easy
# PoSh-Git https://github.com/PoshCode/PSGit/wiki/Command-Proposals
# WinMerg http://developeronfire.com/blog/configuration-of-git-on-windows-to-make-life-easy
# Chocolatey https://chocolatey.org/
# GitHubGist Øyvind Kallstad https://gist.github.com/gravejester?page=2, https://gist.github.com/toenuff/6715170
# GitNotes C:\Users\A469526\Documents\WindowsPowerShell\GitProfile.ps1
# BoxStarter http://boxstarter.org/
# WebHook/Azure https://haacked.com/
# Policy Analyzer https://blogs.technet.microsoft.com/secguide/2016/01/22/new-tool-policy-analyzer/
# ChangePassword https://stackoverflow.com/questions/1066131/how-to-programmatically-change-active-directory-password
# Commandline https://developers.google.com/web/shows/ttt/series-2/windows-commandline
# C:\txt\Windows Run commands to start Control Panel items.txt
# c:\txt\CmdLineMinasi.txt
# Scott Hanselman http://www.hanselman.com/blog/ScottHanselmans2014UltimateDeveloperAndPowerUsersToolListForWindows.aspx
# Babun (CygWin) http://babun.github.io/
# LinqPad http://www.linqpad.net/Download.aspx
# dcs|ad(.?)min|((\d{1,3})\.){3}\.\d{1,3}
# (dir).where{$_.lastwritetime -ge (get-date).AddDays(-1)} | sort LastWriteTime
# dir | ? lastwritetime -ge (get-date).AddDays(-1) | sort LastWriteTime
# Chocolatey C:\dev\PSSnippets.ps1
# Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
# iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
# choco upgrade chocolatey
#WinMerge with Git
[diff]
tool = winmerge
[difftool]
prompt = false
[difftool "winmerge"]
cmd = winmergeu.exe -e -u-x -wl -wr -dl base -dr mine \"$LOCAL\" \"$REMOTE\" -wl -wr -dl base -dr mine \"$LOCAL\" \"$REMOTE\"
# Posh-Git
# Load posh-git example profile
# . 'C:\tools\poshgit\dahlbyk-posh-git-a1795ab\profile.example.ps1'
#if(Test-Path Function:\Prompt) {Rename-Item Function:\Prompt PrePoshGitPrompt -Force}
<#
Rename-Item Function:\Prompt PoshGitPrompt -Force
function Prompt() {if(Test-Path Function:\PrePoshGitPrompt){++$global:poshScope; New-Item function:\script:Write-host -value "param([object] `$object, `$backgroundColor, `$foregroundColor, [switch] `$nonewline) " -Force | Out-Null;$private:p = PrePoshGitPrompt; if(--$global:poshScope -eq 0) {Remove-Item function:\Write-Host -Force}}PoshGitPrompt}
#>
# Load posh-git example profile
if (Test-Path 'C:\tools\poshgit\dahlbyk-posh-git-a1795ab\profile.example.ps1')
{
. 'C:\tools\poshgit\dahlbyk-posh-git-a1795ab\profile.example.ps1'
}
# dir (split-path (w choco)[1])
# PS> find-package choco*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment