Skip to content

Instantly share code, notes, and snippets.

View imtiazShakil's full-sized avatar
🤍
Alhamdulillah always

Imtiaz Shakil Siddique imtiazShakil

🤍
Alhamdulillah always
View GitHub Profile
@imtiazShakil
imtiazShakil / multiple_ssh_setting.md
Last active July 25, 2022 05:56 — forked from jexchan/multiple_ssh_setting.md
Multiple SSH keys for different github accounts

SSH Keys settings for github and gitlab

create different public key

create different ssh key according the article generate ssh key

$ ssh-keygen -t ed25519 -C "[email protected]"
@imtiazShakil
imtiazShakil / gist:44c777ba37c4482b7c0728d31256de99
Created September 19, 2021 05:32 — forked from psayre23/gist:c30a821239f4818b0709
Runtime Complexity of Java Collections
Below are the Big O performance of common functions of different Java Collections.
List | Add | Remove | Get | Contains | Next | Data Structure
---------------------|------|--------|------|----------|------|---------------
ArrayList | O(1) | O(n) | O(1) | O(n) | O(1) | Array
LinkedList | O(1) | O(1) | O(n) | O(n) | O(1) | Linked List
CopyOnWriteArrayList | O(n) | O(n) | O(1) | O(n) | O(1) | Array
@imtiazShakil
imtiazShakil / sublime-text-3-windows-shortcuts.md
Created August 14, 2020 17:52 — forked from mrliptontea/sublime-text-3-windows-shortcuts.md
Sublime Text 3 - Useful Shortcuts (Windows)

Sublime Text 3 - Useful Shortcuts (Windows)

General

Shortcut Description
Ctrl+Shift+P command prompt
Ctrl+Alt+P switch project
Ctrl+P go to file
Ctrl+G go to line

The Mysteries of GLIBC...

As a Java developer I occasionally have to mess around with Linux C and C++ code. This post is aimed at helping fellow Java developers overcome some Linux backward compatibility issues and navigate the almighty power of GLIBC.

GLIBC is a library of functions used by many Linux packages. Each new release contains bug fixes and new features. While code compiled with an older GLIBC will work with a new GLIBC the inverse is not true. This is where the trouble starts....

GLIBC cannot be upgraded (or at least its not recommended) and asking customers who receive your code to upgrade GLIBC or the OS is a real hassle. So let's do a dive in to the version numbers...

GLIBC Versions

@imtiazShakil
imtiazShakil / curl.md
Last active March 13, 2024 06:39 — forked from subfuzion/curl.md
curl POST examples

Common Options

-#, --progress-bar Make curl display a simple progress bar instead of the more informational standard meter.

-b, --cookie <name=data> Supply cookie with request. If no =, then specifies the cookie file to use (see -c).

-c, --cookie-jar <file name> File to save response cookies to.