Skip to content

Instantly share code, notes, and snippets.

View kirbysebastian's full-sized avatar
🎯
Focusing

ksebasti kirbysebastian

🎯
Focusing
View GitHub Profile
@kirbysebastian
kirbysebastian / BigOCheatSheet
Last active April 19, 2025 13:37
Big O Notation Cheat Sheet
Link: https://www.bigocheatsheet.com/
#Big O Cheat Sheet:
-Big Os-
O(1) Constant
- no loops
O(log N) Logarithmic
Reference: https://hackernoon.com/what-does-the-time-complexity-o-log-n-actually-mean-45f94bb5bfbf
@kirbysebastian
kirbysebastian / Bash Commands
Created March 11, 2020 11:01
Bash Scripting Commands
SHEBANG
#!/bin/bash
FILE OPERATORS CONDITIONS
-d <FILE> - TRUE if directory
-e <FILE> - TRUE if exists
-f <FILE> - TRUE if exists and if REGULAR FILE
-r <FILE> - TRUE if readable by you
-s <FILE> - TRUE if exists and not empty
-w <FILE> - TRUE if file is writable by you
@kirbysebastian
kirbysebastian / Bash Essentials
Created February 2, 2020 09:21
Bash essential commands
SHEBANG
#!/bin/bash
FILE OPERATORS
-d [FILE] - TRUE if directory
-e [FILE] - TRUE if exists
-f [FILE] - TRUE if exists and if REGULAR FILE
-r [FILE] - TRUE if readable by you
-s [FILE] - TRUE if exists and NOT EMPTY
-w [FILE] - TRUE if WRITABLE by you
@kirbysebastian
kirbysebastian / VIM Essentials
Last active February 1, 2020 17:10
VIM essential commands.
MODES
Normal Mode - [ESC]
Insert Mode - 'i'
Line Mode - ':'
Visual Mode - 'v'
Replace Mode - 'R'
NAVIGATION / MOTION
'j' - move cursor down
'k' - move cursor up
Data Types
- Integers -> int()
- Whole numbers
- Floating Point -> float()
- Numbers with decimal point
- Strings ("") -> str()
- Immutable ordered sequence of characters
- Lists [] -> list()
- Mutable ordered sequence of objects
- Dictionaries {Key: Value} -> dict()

Contributing

When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change.

Please note we have a code of conduct, please follow it in all your interactions with the project.

Pull Request Process

  1. Ensure any install or build dependencies are removed before the end of the layer when doing a
@kirbysebastian
kirbysebastian / .vimrc
Last active January 11, 2020 13:03
My current updated vimrc configuration file
"Set absolute linenumbers
"set nu
"Set relative linenumbers
"set rnu
"Set hybrid linenumbers
set nu rnu
set tabstop=4
@kirbysebastian
kirbysebastian / wordpress_themes.txt
Last active January 3, 2020 14:08
Wordpress theme lists that I personally liked.
1. Iceberg
2. Leven
3. Cvio
4. Vertica
5. oXe.
6. gillion.shufflehound.com
@kirbysebastian
kirbysebastian / README-Template.md
Created January 2, 2020 16:07 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites