Skip to content

Instantly share code, notes, and snippets.

View Vivelin's full-sized avatar
🏳️‍🌈

Laura Verdoes Vivelin

🏳️‍🌈
View GitHub Profile
@Vivelin
Vivelin / ArialRoboto.user.css
Last active December 20, 2020 01:21
Replace Arial and similar fonts with Roboto
/* ==UserStyle==
@name Arial font replacement (Firefox)
@namespace vivelin.net
@version 1.0.0
@description Replace Arial, Helvetica and similar fonts with Roboto. Requires Roboto to be installed locally. Available from <https://github.com/google/roboto/releases>.
@author Vivelin
@updateURL https://gist.githubusercontent.com/Vivelin/76b56deeb000c01811243009e134b181/raw/ArialRoboto.user.css
@license unlicense
==/UserStyle== */
@Vivelin
Vivelin / profile.ps1
Created June 24, 2019 08:47
Basic Powerline-like PowerShell prompt. Save to `$PROFILE.AllUsersAllHosts`.
# Note: requires a Powerline-patched font to display properly
# See https://github.com/powerline/fonts
$CURRENT_BG = $null
$SEGMENT_DELIMETER_GLYPH = ""
$GIT_BRANCH_GLYPH = ""
function prompt {
Write-PowerlineUserContext
Write-PowerlineLocation
Write-PowerlineGit
@Vivelin
Vivelin / StackExchange readability tweaks.user.css
Last active May 19, 2020 06:36
StackExchange readability tweaks
/* ==UserStyle==
@name StackExchange readability tweaks
@namespace vivelin.net
@version 1.1.2
@description A few tweaks to make long posts on StackExchange etc. a bit more readable.
@author Vivelin
@updateURL https://gist.githubusercontent.com/Vivelin/eab0768a823a53245184a71f934b4ec6/raw/StackExchange%2520readability%2520tweaks.user.css
@license unlicense
==/UserStyle== */
@-moz-document domain("stackexchange.com"),
@Vivelin
Vivelin / Wikipedia readability tweaks.user.css
Last active July 22, 2022 08:45
Wikipedia readability tweaks
/* ==UserStyle==
@name Wiki readability tweaks
@namespace vivelin.net
@version 1.1.3
@description A few tweaks to make long texts on WikiMedia-based sites a bit more readable.
@author Vivelin
@updateURL https://gist.githubusercontent.com/Vivelin/9d2da31b40c5420e791f29f1c1f9d2dd/raw/Wikipedia%2520readability%2520tweaks.user.css
@license unlicense
@preprocessor less
==/UserStyle== */
@Vivelin
Vivelin / One Dark Wikipedia.user.css
Last active May 28, 2019 07:13
One Dark Wikipedia
/* ==UserStyle==
@name One Dark Wikipedia
@namespace vivelin.net
@version 1.0.0
@description Displays code on Wikipeda using colors from Atom's One Dark theme
@author Vivelin
@updateURL https://gist.githubusercontent.com/Vivelin/919d1413c5ac4688609ee2731c68fd84/raw/One%2520Dark%2520Wikipedia.user.css
@license unlicense
==/UserStyle== */
@Vivelin
Vivelin / prompt.txt
Created May 16, 2019 06:06
Basic powerline prompts for Windows Command Prompt
# Edit environment variables for your account -> PROMPT
# Replace %username% with the desired name, otherwise it is replaced by SYSTEM
$E[30;102m$S%username%$S$E[34;7m$E[34;40m$M$S$P$S$E[27m$E[0m$S
# Edit the system environment variables -> PROMPT
$E[30;101m$S⚡$S$E[34;7m$E[34;40m$M$S$P$S$E[27m$E[0m$S
@Vivelin
Vivelin / .bashrc
Last active May 13, 2019 13:19
Ubuntu basic powerline prompt
# For regular users
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32;07m\] \u \[\033[01;44;27m\]\[\033[0;07;34m\] \w \[\033[34;27m\]\[\033[00;27m\] '
# For root
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;31;07m\] \u \[\033[01;44;27m\]\[\033[0;07;34m\] \w \[\033[34;27m\]\[\033[00;27m\] '
@Vivelin
Vivelin / One-Dark-StackExchange.user.css
Last active May 28, 2019 08:49
One Dark StackExchange
/* ==UserStyle==
@name One Dark StackExchange
@namespace vivelin.net
@version 1.0.1
@description Displays code snippets on StackOverflow and other StackExchange sites using colors from Atom's One Dark theme
@author Vivelin
@updateURL https://gist.githubusercontent.com/Vivelin/05eaf3ddb44863a1300b0f8166032ed5/raw/One-Dark-StackExchange.user.css
@license unlicense
==/UserStyle== */
@Vivelin
Vivelin / One-Dark-Github.user.css
Last active May 4, 2023 13:03
One Dark GitHub
/* ==UserStyle==
@name One Dark Github
@namespace vivelin.net
@version 1.0.13
@description Displays code and gists on GitHub using colors from Atom's One Dark theme
@author Vivelin
@updateURL https://gist.githubusercontent.com/Vivelin/ece1babb13eb95d7c18700d832fb3262/raw/One-Dark-Github.user.css
@license unlicense
==/UserStyle== */
Param (
[Parameter(Mandatory = $true)][String]$subscriptionId,
[Parameter(Mandatory = $true)][String]$sourceResourceGroupName,
[Parameter(Mandatory = $true)][String]$sourceSiteName,
[Parameter(Mandatory = $true)][String]$targetResourceGroupName,
[Parameter(Mandatory = $true)][String]$targetSiteName
)
$ErrorActionPreference = "Stop"