Skip to content

Instantly share code, notes, and snippets.

View Amoenus's full-sized avatar

Romans Pokrovskis Amoenus

View GitHub Profile
@Amoenus
Amoenus / nginx-proxy-manager-dark-theme.css
Last active September 10, 2024 21:14
nginx proxy manager dark theme
a {
color: rgb(140, 140, 250);
}
::-webkit-scrollbar-track-piece {
background-color: rgba(255, 255, 255, 0.2) !important;
}
::-webkit-scrollbar-track {
background-color: rgba(255, 255, 255, 0.3) !important;
}
::-webkit-scrollbar-thumb {

Keybase proof

I hereby claim:

  • I am amoenus on github.
  • I am amoenus (https://keybase.io/amoenus) on keybase.
  • I have a public key ASAasL2hdt3sRwPJ58DnfEY3ePbUWC3mZcSORrAXd6Sg2Qo

To claim this, I am signing this object:

UsoClient StartScan
UsoClient StartDownload
UsoClient StartInstall
wuauclt /detectnow /updatenow
git config --global alias.squash '!f(){ git reset --soft HEAD~${1} && git commit --edit -m"$(git log --format=%B --reverse HEAD..HEAD@{1})"; };f'
@Amoenus
Amoenus / SingleOrArrayConverter.cs
Created April 26, 2017 14:48
SingleOrArrayConverter
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace SomeNameSpace
{
public class SingleOrArrayConverter<T> : JsonConverter
{
@Amoenus
Amoenus / apply master.bat
Created April 3, 2017 10:39
SQL Plus script runner
@echo off
echo Setting credentials
set user_name=USERNAME
echo User Name: %user_name%
set password=PASSWORD
echo Password: %password%
set net_service_name=DATABASESID
echo SID: %net_service_name%
echo running master.sql script
(
@ECHO OFF
PowerShell.exe -Command "get-process | where { $_.Name -like '*notepad*' } | foreach { $_.Kill() }"
pause
@echo off
cd C:\Development\D2
echo Getting latest changes for D2.
"%PathToIde%\TF.exe" get $/DEV/Development/D2 /recursive
echo Update script completed.
pause
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
#IfWinActive ahk_class ConsoleWindowClass
^V::
Send !{space}
Send e
Send p
shutdown -r -t 0