Skip to content

Instantly share code, notes, and snippets.

View Erisa's full-sized avatar
πŸ’•

Erisa A Erisa

πŸ’•
View GitHub Profile
@Erisa
Erisa / config.fish
Created February 16, 2020 01:12 — forked from Ovyerus/config.fish
Sexy fish prompt
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)
@Erisa
Erisa / prompt.ps1
Last active January 1, 2020 10:03 — forked from Ovyerus/prompt-preview.png
Hot powershell prompt
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
@Erisa
Erisa / pwsh-u1804.sh
Last active December 28, 2019 11:10
Install Powershell on Ubuntu 18.04 x64
# 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
@Erisa
Erisa / worker_links_wip.js
Last active September 8, 2020 07:08
worker links wip
@Erisa
Erisa / profile.json
Last active August 7, 2020 04:21
Windows Terminal Config
{
"$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",
@Erisa
Erisa / _dt_autosave.md
Last active January 18, 2020 12:18
DT's autosave but cleaned and has disable option

Important

These scripts/plugins are now being stored on the Erisa/RPG-Maker-Scripts repository, check there for the newest versions.

@Erisa
Erisa / dynamic_variables.rb
Last active February 28, 2023 21:35
Dynamic Variables [RPG Maker VX Ace]
if true #Set to false to disable script.
# (C) Copyright Erisa A (Seriel) 2019
###############################################################################
# Seriel ~ Dynamic Variables #
# See under this notice for some help. #
#=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
# The code here can be reused for any purpose, with credit given. #
# This includes both Commercial and Non-Commercial use. #
# However, contact is appreciated before Commercial use. #
# Modified versions must give credit, however it must not be implied that the #
@Erisa
Erisa / _switch_variable_logger.md
Last active January 18, 2020 12:11
Seriel ~ Switch/Variable Logger

Important

These scripts/plugins are now being stored on the Erisa/RPG-Maker-Scripts repository, check there for the newest versions.

@Erisa
Erisa / transfer_on_gameover.rb
Last active August 25, 2022 09:15
Seriel ~ Transfer Player on Gameover
if true #Set to false to disable script.
# Copyright Erisa A. (erisa.uk) 2018
###############################################################################
# Seriel ~ Transfer Player on Gameover ~ <3 #
#=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
# The code here can be reused for any purpose, with credit given. #
# This includes both Commercial and Non-Commercial use. #
# However, contact is appreciated before Commercial use. #
#=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
# Contact: | [email protected] #
@Erisa
Erisa / procedural_demo.py
Last active January 11, 2018 00:44
Some assignment for some college thing :teehee:
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")