Skip to content

Instantly share code, notes, and snippets.

View tarunxsh's full-sized avatar
🌀
lost in space

Tarunesh Gautam tarunxsh

🌀
lost in space
View GitHub Profile

ELF Format Cheatsheet

Introduction

Executable and Linkable Format (ELF), is the default binary format on Linux-based systems.

ELF

Compilation

@tarunxsh
tarunxsh / nano.md
Last active November 19, 2023 11:05
gnu nano syntax highlighting

default nano cmd in mac poits to pico editor

install gnu nano from homebrew brew install nano

Create a ~/.nanorc file and paste the include list above.

In your ~/.shell_profile set alias nano=./usr/local/bin/nano

@tarunxsh
tarunxsh / cpp-code-style.md
Created October 8, 2023 17:28
C++ Coding Style
@tarunxsh
tarunxsh / bot.py
Last active October 23, 2023 11:07
Telegram bot to convert webpage at given url into pdf
# -*- coding: utf-8 -*-
# MyBot https://t.me/Urlsepdfbot
#[if url doesn't work on desktop use mobile to open]
# how to use
# =========================================
# add auth token first
# run the file
# go to telegram
# /start cmd : (optional) to see start msg
# /help cmd : (optional) to get help

#DNS Basics Domain names are a core feature of the internet. It is simply a mechanism to give a friendly name to remove the need to use ip addresses directly. It also has a number of advantages, such as:

  1. It allows you to have more than one domain name pointing at the same ip address (ie same website).
  2. It allows you to host more than one website on a specific ip address (ie shared hosting, the website shown in the one associated with the domain name)
Record Type
@tarunxsh
tarunxsh / JSreference.js
Last active August 12, 2024 12:15
javascript basics
//======================================================================================================================
//Javascript
// Variables, Arrays, Functions,Loops, Classes, Objects
//======================================================================================================================
// single line comment using //
/*
multi line
comments in javascript
using this block
@tarunxsh
tarunxsh / hello.gif
Last active December 26, 2019 08:37
hello.gif