Skip to content

Instantly share code, notes, and snippets.

View alazhar's full-sized avatar
🎯
Focusing

Al Azhar alazhar

🎯
Focusing
View GitHub Profile
Byobu is a suite of enhancements to tmux, as a command line
tool providing live system status, dynamic window management,
and some convenient keybindings:
F1 * Used by X11 *
Shift-F1 Display this help
F2 Create a new window
Shift-F2 Create a horizontal split
Ctrl-F2 Create a vertical split
Ctrl-Shift-F2 Create a new session
@willywos
willywos / tmux.conf
Created October 8, 2016 05:12
My tmux configurations, it's literally the best tmux eveeeer.
###########################
# Configuration
###########################
# use UTF8
set -g utf8
set-window-option -g utf8 on
# set shell
set -g default-shell /bin/zsh
@mattiasghodsian
mattiasghodsian / readme.md
Last active July 25, 2024 15:52
How to create a Windows application Installer with NSIS

Nullsoft Scriptable Install System is also known as NSIS open-source system to create Windows application installers. NSIS is a script-based system allowing you to create the logic behind your installer/setup file in a complex way to install tasks. NSIS offers plug-ins and other scripts, for example, to download/install 3rd-party files or communicate with Windows.

The tutorial application

This tutorial will guide you through installing and creating your first Windows installer with Nullsoft Scriptable Install System and how to compile your project. Captura Portable will be used as "our application" for the sake of this tutorial.

Installation

Head to NSIS official site and download the latest release and install it. Run NSIS and you will be welcomed with a menu like below, It's always a good practice to read the Documentation before jumping in t

@benoitpetit
benoitpetit / docker-compose.yml
Last active July 20, 2024 16:20
complete Gitlab installation and a runner with docker
version: '4.5'
services:
# GITLAB
gitlab-web:
image: 'gitlab/gitlab-ce:latest'
restart: always
container_name: gitlab-web
hostname: '192.168.0.14'
environment:
@Greyvend
Greyvend / repository_pattern.py
Created February 7, 2021 15:59
Repository pattern implementation in Python
"""
This is Python implementation of Repository pattern for accessing Data model
in an Object Oriented manner, simulating collection interface and abstracting
persistence operations.
The Repository also has Factory method for dealing with different Databases. Another
approach is to add direct engine string ingestion to the Repository __init__ method.
"""
from abc import ABC