Skip to content

Instantly share code, notes, and snippets.

View hossainemruz's full-sized avatar

Emruz Hossain hossainemruz

View GitHub Profile
@hossainemruz
hossainemruz / ElementaryDark.qss
Created July 28, 2019 08:48
Albert Theme: Elemetary Dark
/*
* author: Bart Zaalberg <https://github.com/bartzaalberg>
*
* Check http://doc.qt.io/qt-5/stylesheet-syntax.html especially the subtopics:
* The Style Sheet Syntax (http://doc.qt.io/qt-5/stylesheet-syntax.html)
* Qt Style Sheets Reference (http://doc.qt.io/qt-5/stylesheet-reference.html)
*/
* {
border: none;
apiVersion: stash.appscode.com/v1beta1
kind: BackupSession
metadata:
name: instant-trigger
namespace: <namespace>
spec:
invoker:
apiGroup: stash.appscode.com
kind: BackupConfiguration
name: <backupconfiguration name>
```yaml
apiVersion: kubedb.com/v1alpha2
kind: MySQL
metadata:
name: wordpress-mysql
namespace: demo
spec:
version: 8.0.21
replicas: 3
topology:
@hossainemruz
hossainemruz / k8s-prepare-node.sh
Created June 15, 2022 12:20
Bash script to automatically install and configure container runtime, cni plugins etc
#!/bin/bash
set -eou pipefail
#========== Step 1: Disable Swap ============
echo "Disabling Swap......."
sudo swapoff -a
sudo sed -i '/^[^#]/ s/\(^.*swap.*$\)/#\1/' /etc/fstab
free -h
echo ""
@hossainemruz
hossainemruz / my_linux_setup.md
Last active July 31, 2024 09:18
Tools and configuration I use in my Linux setup

Contributor License Agreement (CLA) for Expendwise

By submitting a contribution to Expendwise (the "Project"), you agree to the following terms:

1. Definitions

  • "You" refers to the individual or entity submitting the contribution.
  • "Contribution" means any code, documentation, or other material you submit to the Project.
  • "Author" refers to Emruz Hossain (GitHub: @hossainemruz), the original creator of the Project.

2. Grant of Copyright License