These scripts/plugins are now being stored on the Erisa/RPG-Maker-Scripts repository, check there for the newest versions.
This file contains 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
#============================================================================== | |
# ** Game_Event | |
#------------------------------------------------------------------------------ | |
# This class handles events. Functions include event page switching via | |
# condition determinants and running parallel process events. Used within the | |
# Game_Map class. | |
#============================================================================== | |
class Game_Event < Game_Character | |
attr_accessor :id |
This file contains 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
print("-=-=-=-=-=-=-=-=-=-=-") | |
print("= Welcome to quiz!! =") | |
print("-=-=-=-=-=-=-=-=-=-=-") | |
print() | |
score = 0 | |
question = 1 | |
print("[- Question 1 -]") | |
print("Q -- Into which sea does the Nile flow?") | |
print("A: Amundsen") |
This file contains 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
print("┌-────────────────────────────-┐ _ ") | |
print("│ Procedural Programming Demo │ ( ) _ ") | |
print("│ With Python! │ (_` )_('> ") | |
print("├─────────────────────────────-┤ (__,~_)8 ") | |
print("│ │ _YY_ ") | |
print('""""|""|""^^^|^^^^^^^^^^^"""|""^^^^^^^"""|"^') | |
def procedure_demo(): | |
print("\n\nThis demo is actually a procedure in itself, but lets demo one anyway!") | |
print("(Comments will help here") |
This file contains 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://docs.microsoft.com/en-us/powershell/scripting/install/installing-powershell-core-on-linux?view=powershell-6#ubuntu-1804 | |
# Download the Microsoft repository GPG keys | |
wget -q https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb | |
# Register the Microsoft repository GPG keys | |
sudo dpkg -i packages-microsoft-prod.deb | |
rm -v packages-microsoft-prod.deb | |
# Update the list of products |
This file contains 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
function prompt { | |
$lastCmdFailed = !$?; | |
$asciiSymbols = $true # If your terminal doesn't display unicode properly | |
# Cause $IsWindows and shit doesn't exist on current Windows Powershell version | |
$windows = $IsWindows -or $env:OS -eq 'Windows_NT' | |
if ($windows) { | |
$admin = [bool](([System.Security.Principal.WindowsIdentity]::GetCurrent()).groups -match 'S-1-5-32-544') | |
$name = $env:UserName |
These scripts/plugins are now being stored on the Erisa/RPG-Maker-Scripts repository, check there for the newest versions.
This file contains 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
$numOfArgs = $args.Length | |
for ($i=1; $i -le $numOfArgs; $i++) | |
{ | |
$target = $($args[$i-1]) | |
write-host "Trying: $($target)" | |
winget install $args[$i-1] | |
write-host "Finished trying: $($target)" | |
} |
This file contains 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
set -g symb '▲' | |
set -g leading_brace 0 | |
set -g has_launched 0 | |
function git_info | |
set -l branch (git rev-parse --abbrev-ref HEAD 2> /dev/null) | |
printf "%s(%s%s%s)" $c0 $c1 $branch $c0 | |
set -l changes (git status --porcelain --ignore-submodules 2> /dev/null) |
This file contains 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://aka.ms/terminal-profiles-schema", | |
"defaultProfile": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}", | |
"snapToGridOnResize": false, | |
"profiles": { | |
"defaults": { | |
"fontFace": "Cascadia Code", | |
"useAcrylic": true, | |
"padding": "0, 0, 0, 0", | |
"colorScheme": "One Half Dark", |
OlderNewer