Skip to content

Instantly share code, notes, and snippets.

View Jawabiscuit's full-sized avatar
👾

Jonas Avrin Jawabiscuit

👾
  • Greater NYC Metropolitan
View GitHub Profile
@Jawabiscuit
Jawabiscuit / KnownFolderPath.ps1
Last active March 23, 2022 02:21 — forked from YoraiLevi/KnownFolderPathPS5.ps1
Change windows user folders with powershell
<#
.SYNOPSIS
Sets a known folders path using SHSetKnownFolderPath.
.PARAMETER Folder
The known folder whose path to set.
.PARAMETER Path
The path.
#>
function Set-KnownFolderPath {
Param (
@Jawabiscuit
Jawabiscuit / cygwinlist.md
Created December 24, 2020 19:55 — forked from erikvip/cygwinlist.md
Import/Export Cygwin List of installed packages

Import & Export Cygwin List of installed Packages

If you want to go from 32 to 64 bit Cygwin but keep all the packages[1], you might find yourself in a spot where you would like to export the list of cygwin packages and also be able to install cygwin with all these packages again. I will tell you how. Open your Cygwin shell and enter

cygcheck -c -d | sed -e "1,2d" -e 's/ .*\$//' > packagelist

This will simply dump a list of installed packages. To install Cygwin 64 with these packages selected, download setup-x86_64[2] and execute it with the command line parameters

./setup-x86_64 -P `awk 'NR==1{printf \$1}{printf ",%s", \$1}' packagelist`
ּ_בּ
בּ_בּ
טּ_טּ
כּ‗כּ
לּ_לּ
מּ_מּ
סּ_סּ
תּ_תּ
٩(×̯×)۶
٩(̾●̮̮̃̾•̃̾)۶