Skip to content

Instantly share code, notes, and snippets.

View Downlord's full-sized avatar

Downlord Downlord

  • Islas Baleares, España
View GitHub Profile
@Downlord
Downlord / downlord.json
Last active September 29, 2024 07:44
oh-my-posh theme
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"alignment": "left",
"segments": [
{
"background": "#BF231D",
"foreground": "#ffffff",
"style": "plain",
@Downlord
Downlord / maintenance
Created February 25, 2021 11:03 — forked from warlord0/maintenance
Icinga2 Bash Script for Downtime
#!/bin/bash
# Icinga2 Maintenance mode / Downtime
#
# https://icinga.com/docs/icinga2/latest/doc/12-icinga2-api/#icinga2-api-actions
# Program details
PROGNAME=$(basename $0)
RELEASE="Revision 1.0.0"
AUTHOR="(c) 2020 Paul Bargewell ([email protected])"
@Downlord
Downlord / .gitconfig
Created April 24, 2016 16:12 — forked from robmiller/.gitconfig
Some useful Git aliases that I use every day
#
# Working with branches
#
# Get the current branch name (not so useful in itself, but used in
# other aliases)
branch-name = "!git rev-parse --abbrev-ref HEAD"
# Push the current branch to the remote "origin", and set it to track
# the upstream branch
publish = "!git push -u origin $(git branch-name)"
; ticker - A Simple Time Tracker
; track your time usage on a daily basis
#InstallKeybdHook
#InstallMouseHook
Menu, Tray, Icon, %A_WinDir%\system32\shell32.dll, 44
Menu, Tray, Tip, ticker - A Simple Time Tracker`nPress right control to see details
SetWorkingDir, C:\Users\%A_UserName%\Documents
SetTimer, CheckTime, 60000 ; updates every 1 minute