Skip to content

Instantly share code, notes, and snippets.

View joeljerushan's full-sized avatar
🟢
ETA 10 million LKR in 2025

Joel Jerushan joeljerushan

🟢
ETA 10 million LKR in 2025
View GitHub Profile
@joeljerushan
joeljerushan / com.googlecode.iterm2.plist
Created June 25, 2023 01:44
com.googlecode.iterm2.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>AlternateMouseScroll</key>
<true/>
<key>AppleAntiAliasingThreshold</key>
<integer>1</integer>
<key>ApplePressAndHoldEnabled</key>
<false/>
@joeljerushan
joeljerushan / .deps...npm...hardhat...console.sol
Created March 2, 2024 02:12
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.22+commit.4fc1097e.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: MIT
pragma solidity >=0.4.22 <0.9.0;
library console {
address constant CONSOLE_ADDRESS =
0x000000000000000000636F6e736F6c652e6c6f67;
function _sendLogPayloadImplementation(bytes memory payload) internal view {
address consoleAddress = CONSOLE_ADDRESS;
/// @solidity memory-safe-assembly
@joeljerushan
joeljerushan / index.html
Created April 24, 2024 11:41
Sample HTML for learning
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Home</title>
<style>
.amma {
display: flex;
flex-direction: column;
@joeljerushan
joeljerushan / teletgram.js
Created January 27, 2025 03:24
Telegram Bot API
import express from 'express';
import dotenv from 'dotenv';
import { Telegraf } from 'telegraf';
import { DateTime } from 'luxon';
import { MongoClient } from 'mongodb';
dotenv.config();
// MongoDB Connection Setup
const URI = process.env.ATLAS_URI;
@joeljerushan
joeljerushan / .p10k.zsh
Created July 12, 2025 04:11
.p10k.zsh my settings
# Generated by Powerlevel10k configuration wizard on 2025-07-12 at 09:36 +0530.
# Based on romkatv/powerlevel10k/config/p10k-rainbow.zsh, checksum 49619.
# Wizard options: nerdfont-v3 + powerline, small icons, rainbow, unicode,
# vertical separators, flat heads, flat tails, 2 lines, disconnected, no frame, compact,
# many icons, fluent, transient_prompt, instant_prompt=verbose.
# Type `p10k configure` to generate another config.
#
# Config for Powerlevel10k with powerline prompt style with colorful background.
# Type `p10k configure` to generate your own config based on it.
#