Skip to content

Instantly share code, notes, and snippets.

View CSalih's full-sized avatar
🔥

Salih Candir CSalih

🔥
View GitHub Profile
@CSalih
CSalih / power_point_hidden_slide_number.vba
Created June 22, 2024 01:19
Do not count page number for hidden slides in PPT
' Open VBA Editor with Alt + F11
' Insert > Module
' Pase code underneath and press F5 to run
' Source: https://stackoverflow.com/a/26469723
Sub Number_NonHidden()
'For v.2007 onwards only
Dim osld As Slide
Dim objSN As Shape
Dim lngNum As Long
'check all slides
@CSalih
CSalih / README.md
Last active October 13, 2022 09:13
Git commit convention

Git Conventional Commits

Note: This Gist is deprecated. The Documentation was moved to notion.

Guidelines

A git commit message has three parts: header, body and footer.
The header is required and is build with a type and a summary. body and footer are optional.

Structure of a commit:

@CSalih
CSalih / README.md
Created December 6, 2021 16:31
SSL Tunnel for Postman

SSH tunnel for Postman

Requirement

npm install -g http-proxy-to-socks

Setup

@CSalih
CSalih / toArray.md
Last active December 14, 2021 13:55
Converts an PHP Object to Array

Interface

interface Arrayable {
    public function toArray() : array;
}

Using a Trait:

trait JsonSerializableTrait {
@CSalih
CSalih / .bash_aliases
Last active September 28, 2023 07:59
Custom configuration for Bash
alias ls='ls --color=auto'
alias ll='ls -alF'
alias la='ls -A'
alias grep='grep --color=auto'