— Clone repository with submodules automatically:
git clone --recursive [email protected]:name/repo.git
— Initialize submodules after regular cloning:
| using System; | |
| using System.ComponentModel; | |
| using System.Drawing; | |
| using System.Linq; | |
| using System.Runtime.InteropServices; | |
| using System.Security; | |
| using System.Security.Permissions; | |
| using System.Windows.Input; | |
| namespace Demo |
— Clone repository with submodules automatically:
git clone --recursive [email protected]:name/repo.git
— Initialize submodules after regular cloning:
| $theme = Get-ChildItem $env:UserProfile\\AppData\\Local\\Programs\\oh-my-posh\\themes\\ | Get-Random | |
| echo "hello! today's lucky theme is: $theme :)" | |
| oh-my-posh --init --shell pwsh --config $theme.FullName | Invoke-Expression |
| # author: GitHub@TitanRGB | |
| # This document allows GitHub to correctly identify Altium Designer, KiCAD, Gerber and Eagle documents and add them to GitHub Repository's language statistics. | |
| # 这个文档可以使GitHub正确的识别Altium Designer、KiCAD、Gerber以及Eagle的文档,并将它们加入到GitHub Repository的语言统计中。 | |
| # https://gist.github.com/TitanRGB/61c37bf71159cc9a511558ec7c218339 | |
| *.OutJob linguist-detectable=true | |
| *.PcbDoc linguist-detectable=true | |
| *.PrjPCB linguist-detectable=true | |
| *.SchDoc linguist-detectable=true |
| // Logiops (Linux driver) configuration for Logitech MX Master 3. | |
| // Includes gestures, smartshift, DPI. | |
| // Tested on logid v0.2.3 - GNOME 3.38.4 on Zorin OS 16 Pro | |
| // What's working: | |
| // 1. Window snapping using Gesture button (Thumb) | |
| // 2. Forward Back Buttons | |
| // 3. Top button (Ratchet-Free wheel) | |
| // What's not working: | |
| // 1. Thumb scroll (H-scroll) | |
| // 2. Scroll button |
| using namespace System.Management.Automation | |
| using namespace System.Management.Automation.Language | |
| if ($host.Name -eq 'ConsoleHost') | |
| { | |
| Import-Module PSReadLine | |
| } | |
| Import-Module -Name Terminal-Icons |
| { | |
| "final_space": true, | |
| "console_title": true, | |
| "console_title_style": "folder", | |
| "blocks": [ | |
| { | |
| "type": "prompt", | |
| "alignment": "left", | |
| "horizontal_offset": 0, | |
| "vertical_offset": 0, |