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
param([switch]$Elevated) | |
function Test-Admin { | |
$currentUser = New-Object Security.Principal.WindowsPrincipal $([Security.Principal.WindowsIdentity]::GetCurrent()) | |
$currentUser.IsInRole([Security.Principal.WindowsBuiltinRole]::Administrator) | |
} | |
function Log-Info ($msg, $color = "Blue") { | |
if($host.UI.RawUI.ForegroundColor -ne $null) { | |
Write-Host "`n[$([datetime]::Now.ToLongTimeString())] $msg" -ForegroundColor $color -BackgroundColor "Gray" |
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
.tabbrowser-tab:not([selected=true]):not([multiselected=true]):not([beforeselected-visible="true"]) .tab-background { | |
border-right: 1px solid var(--lwt-background-tab-separator-color, rgba(0, 0, 0, .20)) !important; | |
} |
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
#!/bin/bash | |
#enable nullglob on startup if not enabled | |
shopt -q nullglob || shopt -s nullglob; | |
# Turns the given value into an array and verifies that the array has more than zero elements | |
# to check if the globbed file directory given exists | |
# requires nullglob to be or it will enable/disable during the function execution | |
glob_exists() { | |
shopt -q nullglob || (echo "nullglob must be enabled for glob_exists to work." && return 1); |
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
These are fonts for math layouts, like MathML or for use in LaTeX | |
Latin Modern Math: http://www.gust.org.pl/projects/e-foundry/latin-modern/download | |
STIX: https://www.stixfonts.org/ |
We can't make this file beautiful and searchable because it's too large.
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
typeID,typeName,description,iconID | |
0,#System,, | |
2,Corporation,, | |
3,Region,, | |
4,Constellation,, | |
5,Solar System,, | |
6,Sun G5 (Yellow),"A main-sequence stellar body of a class that is often yellow or yellow-orange in hue, generating and emitting energy from the vast hydrogen fusion process within the heart of the star. | |
Various numbers of planets of the terrestrial and gas giant types are found around these stars and the habitable zones often contain one or more planets.", | |
7,Sun K7 (Orange),"Yellow-orange and orange stars of this type are rather stable and believed to take tens of billions of years to burn through their core hydrogen reserves in a process of thermonuclear fusion. |
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
These are the programming fonts (for both editors and consoles/terminals) that I find useful, and where to download them. | |
Font Name | Download Location | |
Victor Mono | https://rubjo.github.io/victor-mono/ | |
Monoid | https://larsenwork.com/monoid/ | |
Hasklig | https://github.com/i-tu/Hasklig | |
Iosevka | https://github.com/be5invis/Iosevka | |
Fira Code | https://github.com/tonsky/FiraCode |
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
@ECHO OFF | |
:: This file enables the touchscreen when disabled and disables the touchscreen when enabled | |
:: There is an annoying bug fixed by using AutoIt to unpress the Windows Key | |
:: Make sure devcon_x64.exe and autoit3_x64.exe are present for x64 | |
:: devcon_x86.exe and autoit3.exe could be used for x86, but you need to replace | |
:: DEVCON_BINARY and AUTOIT_BINARY below | |
:: These binaries need to be placed in the location pointed to by DEVCON_DIR for the script |
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
/* | |
Created by Emily Mabrey via modification of the CSS provided by the Timvde/UserChrome-Tweaks project under the terms of the GPL-3.0. | |
Visit that project at https://github.com/Timvde/UserChrome-Tweaks | |
*/ | |
/* | |
Settings which will be used when compact layout is active. | |
These configured values make things super compact and much more space is available for the webpage. | |
*/ |
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
[add] | |
ignoreErrors = true | |
[alias] | |
add-maven-wrapper = "!mvn -N io.takari:maven:wrapper -B -Dmaven=\\$\\{versions.maven.ideal\\} -Denforcer.skip=true" | |
aliases = config --get-regexp '^(alias){1}([.]){1}(.)+' | |
changes = !f(){ git pull origin --prune "$@" && git submodule update --init; }; f | |
chmod = update-index --add --chmod=$1 | |
clearcreds = credential-cache exit | |
ignored = ls-files --other --ignored --exclude-standard |
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
import java.io.File; | |
import java.io.FileInputStream; | |
import java.io.FileOutputStream; | |
import java.io.IOException; | |
import java.io.ObjectInput; | |
import java.io.ObjectInputStream; | |
import java.io.ObjectOutputStream; | |
import java.io.ObjectStreamConstants; | |
import java.io.Serializable; | |
import java.util.ArrayList; |
NewerOlder