Skip to content

Instantly share code, notes, and snippets.

View kilip's full-sized avatar
🏠
In Search of Enlightenment

Anthonius Munthi kilip

🏠
In Search of Enlightenment
View GitHub Profile
@kilip
kilip / GitCommitEmoji.md
Created September 30, 2024 03:48 — forked from parmentf/GitCommitEmoji.md
Git Commit message Emoji
@kilip
kilip / git-join-commit.md
Last active September 26, 2024 01:42
Join several commits into one commit

Git Merge Commits Tutorial

In this tutorial we will merge several commits into one single commit

1. Change to Your Working Directory

Navigate to your project directory:

@kilip
kilip / dev-tools.md
Last active September 21, 2024 03:36
Setting dev tools
@kilip
kilip / sign-old-commit.md
Last active April 25, 2024 01:44
Git Sign old commit

Example

To sign two specific commits that are respectively 4 and 5 commits back in Git, you can use the git rebase command with the --exec option to sign the commits as they are being rebased. Here are the steps:

  1. Get the hash of the first (older) commit you want to sign by running git log.

  2. Run git rebase -i HEAD~5.

  3. This will open up a text editor with a list of the last 5 commits. Replace the word "pick" with "edit" for the first commit (5) you want to sign.

@kilip
kilip / multipass-on-bridged-network.md
Created February 5, 2023 01:25 — forked from ynott/multipass-on-bridged-network.md
Instructions for running multipass on a bridge network

1. Environmental information

  • OS: Ubuntu 20.04.2 LTS (GNU/Linux 5.8.0-59-generic x86_64)
  • Network: 192.168.xxx.0/24
  • Ubuntu multipass host machine IP: 192.168.xxx.yyy(static IP)
  • NIC: enp2s0(bridge host NIC)
  • Bridge NIC:br0

2. Prerequisites

@kilip
kilip / instructions.md
Created May 27, 2022 03:08 — forked from matthewjberger/instructions.md
Install a nerd font on ubuntu

1.) Download a Nerd Font

2.) Unzip and copy to ~/.fonts

3.) Run the command fc-cache -fv to manually rebuild the font cache

@kilip
kilip / Makefile
Created May 18, 2022 03:19 — forked from mpneuried/Makefile
Simple Makefile to build, run, tag and publish a docker containier to AWS-ECR
# import config.
# You can change the default config with `make cnf="config_special.env" build`
cnf ?= config.env
include $(cnf)
export $(shell sed 's/=.*//' $(cnf))
# import deploy config
# You can change the default deploy config with `make cnf="deploy_special.env" release`
dpl ?= deploy.env
include $(dpl)
@kilip
kilip / heroku.md
Created August 22, 2021 07:27
Heroku Configuration
@kilip
kilip / truenas-kubernetes.md
Last active October 22, 2020 03:55
TrueNAS Scale Kubernetes Step
midclt call -job kubernetes.update '{"pool": "hd1","cluster_cidr":"10.42.0.0/16", "service_cidr": "10.43.0.0/16","cluster_dns_ip":"10.43.0.10","route_v4_interface":"enp0s3","route_v4_gateway": "10.0.60.1"}'