OS: RaspberryPI Lite users you should create
dvandenbosch (sudoer)
gui (non sudoer)
install dotfiles (This is for Dan Van Den Bosch own sanity)
DO | |
$$ | |
DECLARE | |
value int := 0; | |
sql text := 'The constructed select statement'; | |
rec1 record; | |
rec2 record; | |
BEGIN | |
FOR rec1 IN | |
SELECT |
@echo off | |
setlocal | |
set SERVER1=10.30.1.15 | |
set SERVER2=10.30.1.16 | |
for %%i in (%SERVER1%, %SERVER2%) do ( | |
call :logoffUser %%i | |
) | |
exit /b |
@echo off | |
net use G: \\10.30.1.5\apps /persistent:yes |
OS: RaspberryPI Lite users you should create
dvandenbosch (sudoer)
gui (non sudoer)
install dotfiles (This is for Dan Van Den Bosch own sanity)
(((my_year - 1970) * 365) + | |
((my_year - 1970) / 4) - if(my_year % 4 = 0,1,0) + | |
IF(my_month > 1, 31, 0) + | |
IF(my_month > 2, IF((my_year % 4 = 0), 29, 28), 0) + | |
IF(my_month > 3, 31, 0) + | |
IF(my_month > 4, 30, 0) + | |
IF(my_month > 5, 31, 0) + | |
IF(my_month > 6, 30, 0) + | |
IF(my_month > 7, 31, 0) + | |
IF(my_month > 8, 31, 0) + |
Purpose:
This document outlines the steps to configure unattended upgrades on Debian-based Linux systems, ensuring that systems automatically receive and apply security updates.
WITH | |
my_table_name AS | |
( | |
SELECT 'v_forecast_summary' AS table_name | |
) | |
, colpad AS | |
( | |
SELECT | |
MAX(length(columns.column_name)) AS pad | |
FROM information_schema.columns |