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
| '''Sandpile class''' | |
| class Sandpile: | |
| '''A mathmatical sandpile.''' | |
| def __init__(self, pile, cols, rows): | |
| self.cols = cols | |
| self.rows = rows | |
| self.pile = pile |
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
| ; =================================== | |
| ; | |
| ; Use this file to find out which device channel is your microfone. | |
| ; | |
| ; Author: Matheus Carnelutt | |
| ; based on: https://www.autohotkey.com/boards/viewtopic.php?t=15509 | |
| ; | |
| ; =================================== | |
| SetBatchLines -1 |
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 AutoHotkey v2.0 | |
| _dashKey := "L" | |
| _petalKey := "M" | |
| isHealing := true | |
| ; Ctrl + Alt + P stops the script | |
| ^!P:: ExitApp |
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 Windows PowerShell 5.1 or PowerShell Core (pwsh) | |
| param( | |
| [Parameter(Mandatory=$true)] | |
| [Alias("i", "in")] # Aliases for InputFile | |
| [string]$InputFile, | |
| [ValidateSet('default', 'whatsapp', 'gpu-hevc', 'gpu-h264')] | |
| [Alias("p")] # Alias for Preset | |
| [string]$Preset = 'default' # Default compression preset |