Skip to content

Instantly share code, notes, and snippets.

View victorMoneratto's full-sized avatar

Victor Moneratto victorMoneratto

  • Wildlife Studios
View GitHub Profile
@victorMoneratto
victorMoneratto / . Pitch Black Theme.reg
Created October 24, 2023 04:12 — forked from AveYo/. Pitch Black Theme.reg
Pitch Black Theme.reg - now for Ctrl+Alt+Del (and logon on 11) as well - revised 2022-06-16
Windows Registry Editor Version 5.00
; Pitch Black Theme preset by AveYo, AccentPalette idea by /u/Egg-Tricky
; for Ctrl+Alt+Del, Logon, Taskbar, Start Menu, Action Center (10 & 11)
; revised 2022-06-16: show active taskbar button in accent color
[-HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Accent]
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Accent]
"AccentColorMenu"=dword:aa000000 ; Window borders and titlebar
"StartColorMenu"=dword:aa202020 ; Modals in UWP ex. Apply new refresh rate in 10
@victorMoneratto
victorMoneratto / take
Last active November 7, 2016 20:40
My ZIM custom functions
mkdir -p $1
cd $1
@victorMoneratto
victorMoneratto / sunshine.sh
Last active October 29, 2016 12:42
Simple bash script to change brightness on all monitors at once
#!/usr/bin/env bash
#
# ISC License
#
# Copyright (c) [year], [fullname]
#
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
@victorMoneratto
victorMoneratto / defer.h
Created July 23, 2016 21:36
C++11 defer scope implementation
// defer.h
//
// Copyright (c) 2016 Victor Moneratto
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software
// and associated documentation files (the "Software"), to deal in the Software without restriction,
// including without limitation the rights to use, copy, modify, merge, publish, distribute,
// sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//