Skip to content

Instantly share code, notes, and snippets.

View Ragdata's full-sized avatar
:octocat:
Preparing ...

Ragdata Ragdata

:octocat:
Preparing ...
View GitHub Profile
@Ragdata
Ragdata / logging_to_syslog.md
Created August 23, 2024 22:25 — forked from jclosure/logging_to_syslog.md
Logging to syslog from bash and using dedicated custom log files that get rotated automatically

demo by creating a script called run.sh

#!/bin/bash

# https://urbanautomaton.com/blog/2014/09/09/redirecting-bash-script-output-to-syslog/
exec 1> >(logger -s -t $(basename $0) 2>&1)

for i in 1 2 3 4 5
do
@Ragdata
Ragdata / README.md
Created August 22, 2024 22:02 — forked from matusnovak/README.md
GPG + Git SSH Authentication and Signing on Windows 10

GPG + Git SSH Authentication and Signing on Windows 10

Introduction

This simple Gist will explain how to settup your GPG key to work for SSH authentication (with Git) and Git commit signing on Windows 10. This may seem straightforward on Linux, but there are certain tweaks needed on Windows.

No Cygwin, no MinGW, no Git Bash or any other Linux emulated environment. This works in pure Windows 10.

Software needed

@Ragdata
Ragdata / README.md
Created August 22, 2024 19:50 — forked from ecarlson94/README.md
WSL Configuration

Installing WSL (windows subsystem for linux)

Running the azure-team terraform make file to create your infrastructure may not work on a Windows machine. If you cannot get it to run, install a linux distribution where you will exectute the tf files. Setting up a distribution with all of the right dependencies does involve a bit of setup to get it configured properly. The following is a list of steps you'll need to complete:

Install WSL

@Ragdata
Ragdata / Makefile
Created August 7, 2024 06:29 — forked from isaacs/Makefile
# Hello, and welcome to makefile basics.
#
# You will learn why `make` is so great, and why, despite its "weird" syntax,
# it is actually a highly expressive, efficient, and powerful way to build
# programs.
#
# Once you're done here, go to
# http://www.gnu.org/software/make/manual/make.html
# to learn SOOOO much more.
@Ragdata
Ragdata / workflow-event-triggers.md
Created July 27, 2024 06:31
Events Triggering Workflows
@Ragdata
Ragdata / questions.md
Last active October 26, 2023 19:21
Interview Questions to Ask Prospective Employers as a Software Developer

❓ Interview Questions to Ask Prospective Employers as a Software Developer ❓

I've been a part of this industry at a professional level for more than two decades now, and in that time I've worked for some AMAZING companies ... and a couple of appalling ones as well. All of that experience helped me to realise the FIRST LAW OF PROFESSIONAL SOFTWARE ENGINEERING:

... The quality of your work is ultimately dictated by your employer ...

When you're being paid well, respected, and are made to feel secure because of the company's loyalty towards you, you'll rarely think twice before putting in that little extra bit of effort into your work. Conversely, when you're being paid less than you're worth, your supervisor or boss is an absolute PRICK, and you feel sick merely at the thought of having to drag your ass into the office tomorrow ... well ... the company pretty much deserves the shitty performance you can barely manage to put in each day for them.

Since the **SECOND LAW

@Ragdata
Ragdata / docker-desktop.md
Last active August 17, 2023 10:07
Install Docker Desktop on Windows 11

Install Docker Desktop on Windows 11

The following WSL configuration changes are purely optional, but can help to save a little more space on your system drive.

/etc/wsl.conf (per instance config)

Install Multiple Instances of WSL2 Linux on Windows 11

Here's an easy method which allows you to install multiple instances of any Linux Distro in any location under WSL2.

** Click on each heading to reveal instructions **

If you HAVEN'T installed WSL2 prior to this, open up a Powershell terminal and execute the following commands: