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
| # PowerShell functions for managing git worktrees with agent pattern | |
| # Based on: https://gist.github.com/dhh/18575558fc5ee10f15b6cd3e108ed844 | |
| function ga { | |
| <# | |
| .SYNOPSIS | |
| Create a new git worktree and branch | |
| .DESCRIPTION | |
| Creates a new git worktree with a branch name following the pattern: | |
| ../[current-dir]--[branch-name] |
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
| from py532lib.i2c import * | |
| from py532lib.frame import * | |
| from py532lib.constants import * | |
| from py532lib.mifare import * | |
| import ndef | |
| import logging | |
| last_card_data = None |
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
| mkdir c:\github | |
| winget install --id=Git.Git -e --accept-package-agreements --accept-source-agreements | |
| winget install --id=Microsoft.VisualStudioCode -e | |
| winget install --id=AgileBits.1Password -e | |
| winget install --id=7zip.7zip -e | |
| winget install --id=Twilio.Authy -e | |
| winget install --id=Bethesda.Launcher -e | |
| winget install --id=Microsoft.Bicep -e | |
| winget install --id=Microsoft.bitsmanager -e | |
| winget install --id=BrutalChess.BrutalChess -e |
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
| using namespace System.Management.Automation | |
| using namespace System.Management.Automation.Language | |
| if ($host.Name -eq 'ConsoleHost') | |
| { | |
| Import-Module PSReadLine | |
| } | |
| #Import-Module PSColors | |
| #Import-Module posh-git | |
| Import-Module -Name Terminal-Icons |
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
| { | |
| "final_space": true, | |
| "console_title": true, | |
| "console_title_style": "folder", | |
| "blocks": [ | |
| { | |
| "type": "prompt", | |
| "alignment": "left", | |
| "horizontal_offset": 0, | |
| "vertical_offset": 0, |
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
| using namespace System.Management.Automation | |
| using namespace System.Management.Automation.Language | |
| if ($host.Name -eq 'ConsoleHost') | |
| { | |
| Import-Module PSReadLine | |
| } | |
| Import-Module PSColors | |
| #Import-Module posh-git | |
| Import-Module -Name Terminal-Icons |
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
| from TikTokApi import TikTokApi | |
| import random | |
| import string | |
| proxy = "some_cool" | |
| api = TikTokApi.get_instance(use_test_endpoints=True) | |
| did = ''.join(random.choice(string.digits) for num in range(19)) | |
| count = 500 |
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
| { | |
| "final_space": true, | |
| "console_title": true, | |
| "console_title_style": "folder", | |
| "blocks": [ | |
| { | |
| "type": "prompt", | |
| "alignment": "left", | |
| "horizontal_offset": 0, | |
| "vertical_offset": 0, |
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
| #requires -Version 2 -Modules posh-git | |
| function Write-Theme { | |
| param( | |
| [bool] | |
| $lastCommandFailed, | |
| [string] | |
| $with | |
| ) |
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
| analytics.twitter.com | |
| api.mixpanel.com | |
| api.segment.io | |
| attestation.xboxlive.com | |
| az416426.vo.msecnd.net | |
| browser.pipe.aria.microsoft.com | |
| c.bing.com | |
| c.msn.com | |
| c1.microsoft.com | |
| cdn-gl.imrworldwide.com |
NewerOlder