Skip to content

Instantly share code, notes, and snippets.

View ArPharazon's full-sized avatar

Sean Holm ArPharazon

View GitHub Profile
# This is an example test case for the Robot Framework KubeLibrary
# https://github.com/devopsspiral/KubeLibrary
*** Settings ***
Library KubeLibrary None True False
*** Variables ***
${POD_NAME_PATTERN} my-pod-name
${NAMESPACE} my-namespace
${IMAGE_NAME} my-image:1.0.0
@ArPharazon
ArPharazon / .bash_prompt.sh
Created May 26, 2020 12:09 — forked from miki725/.bash_prompt.sh
Custom bash prompt which displays: (virtualenv) user:/path (git-branch)
#!/bin/bash
#
# DESCRIPTION:
#
# Set the bash prompt according to:
# * the active virtualenv
# * the branch of the current git/mercurial repository
# * the return value of the previous command
# * the fact you just came from Windows and are used to having newlines in
# your prompts.
@ArPharazon
ArPharazon / reboot_required_check.sh
Created March 21, 2019 03:55
Zabbix monitoring script - useful for checking if Linux box needs a reboot
#!/bin/bash
##################################
# Zabbix monitoring script
#
# Checking urgency in changelog
# for updates which require system restart
#
##################################
# Contact:
# anton.lugovoi@yandex.ru
@ArPharazon
ArPharazon / CreateDateAzureSQLDW.sql
Last active March 5, 2024 13:11 — forked from mlongoria/CreateDateAzureSQLDW.sql
Creates a calendar table in Azure SQL Data Warehouse
/*
-- This script is a slightly modified version of Meagan Longoria's script for creating a calendar table / date dimension in Azure SQL Data Warehouse.
-- The original blog post and source is located at: https://datasavvy.me/2016/08/06/create-a-date-dimension-in-azure-sql-data-warehouse/
-- changes:
-- 1. added a fiscal columns: FiscalYearStartDate, FiscalYearEndDate, FiscalYear, FiscalQuarter & FiscalMonth
-- 2. added a column for the week start and end dates
*/
-- Creates a table called 'dbo.Calendar'. Change the table name on line 86. Change date range on line 2.
-- change the fiscal year start month as needed - mine happens to start July
@ArPharazon
ArPharazon / about.md
Created August 11, 2011 06:54 — forked from jasonrudolph/about.md
Programming Achievements: How to Level Up as a Developer