This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://discord.com/channels/1390012484194275541/1410499858170646610/1419446267771359353 | |
# https://wiki.hypr.land/Hypr-Ecosystem/hyprcursor/ | |
env = XCURSOR_THEME,Bibata-Modern-Ice | |
env = XCURSOR_SIZE,48 # Adjust size (e.g., 16, 24, 32)3234 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", | |
"blocks": [ | |
{ | |
"alignment": "right", | |
"type": "prompt", | |
"segments": [ | |
{ | |
"style": "powerline", | |
"invert_powerline": true, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
winget install --name Notepad++ | |
winget install --name "7-Zip for Windows" | |
winget install JanDeDobbeleer.OhMyPosh | |
# Install IIS | |
Dism /Online /Enable-Feature /FeatureName:IIS-DefaultDocument /All | |
wsl --install | |
winget install git.git | |
winget install OpenJS.NodeJS.LTS | |
winget install Microsoft.Powershell | |
winget install Microsoft.VisualStudioCode |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static class MappingExtensions | |
{ | |
public static TT Map<TT, ST>(this TT targetType, ST sourceType, | |
params string[] namesOfPropertiesToIgnore) where TT : class | |
{ | |
if (sourceType == null) | |
{ | |
return null; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static T DeserializeObject<T>(string xml) | |
{ | |
using (MemoryStream mem = new MemoryStream(Encoding.UTF8.GetBytes(xml))) | |
{ | |
XmlSerializer deser = new XmlSerializer(typeof(T)); | |
return (T)deser.Deserialize(mem); | |
} | |
} |