Skip to content

Instantly share code, notes, and snippets.

View thezawzaw's full-sized avatar

Zaw Zaw thezawzaw

View GitHub Profile
@pmacMaps
pmacMaps / featured-image--jekyll-post-snippets.html
Last active April 19, 2020 12:49
Sample code for Jekyll Featured Image Template Blog Post
<!-- 1. Post File [2018-09-30-Sample-Post.md] -->
---
layout: post
title: A Sample Post
date: 2018-09-30
author: Mike the Blogger
description: This is the one blog post to rule them all
featured-image: my-awesome-photo.jpg
featured-image-alt: Mike the Blogger speaking at Times Square, New York City, New York
categories: Side Hustle
@extremecoders-re
extremecoders-re / openwrt-qemu.md
Last active November 14, 2025 20:59
Running OpenWRT ARM under QEMU

Environment

The steps shown below are done on a Ubuntu VM using Qemu 3.0

$ qemu-system-arm -version
QEMU emulator version 3.0.0
Copyright (c) 2003-2017 Fabrice Bellard and the QEMU Project developers

To quit Qemu at any time press Ctrl+a x, i.e. Ctrl+a and then x

@florentchauveau
florentchauveau / .gitlab-ci.yml
Last active May 9, 2025 12:27
GitLab CI yaml file for building docker images
# This is a GitLab CI configuration to build the project as a docker image
# The file is generic enough to be dropped in a project containing a working Dockerfile
# Author: Florent CHAUVEAU <[email protected]>
# Mentioned here: https://blog.callr.tech/building-docker-images-with-gitlab-ci-best-practices/
# do not use "latest" here, if you want this to work in the future
image: docker:20
stages:
- build
@vdegenne
vdegenne / install-postgresql-12-red-hat.md
Last active May 14, 2022 07:40
Install PostgreSQL 12 on Red Hat distributions (tested on fedora 31)

General

First go on this page https://www.postgresql.org/download/linux/redhat/ and complete the form and follow the instructions.

Both the client and the server should be installed

sudo dnf install -y postgresql12
sudo dnf install -y postgresql12-server
@Sherex
Sherex / wikijs-keycloak-config-guide.md
Last active June 20, 2025 01:33
A guide for configuring Keycloak as a authentication provider in WikiJS | https://wiki.js.org | Feature request for adding this to the docs: https://requarks.canny.io/wiki/p/keycloak-auth-docs-proposal-for-a-guide-written