Skip to content

Instantly share code, notes, and snippets.

View jay75chauhan's full-sized avatar
☄️
NEVER GIVE UP

jay chauhan jay75chauhan

☄️
NEVER GIVE UP
View GitHub Profile
@jay75chauhan
jay75chauhan / Transactions.sol
Created January 12, 2022 13:12 — forked from adrianhajdin/Transactions.sol
Build and Deploy a Modern Web 3.0 Blockchain App | Solidity, Smart Contracts
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;
import "hardhat/console.sol";
contract Transactions {
uint256 transactionCount;
event Transfer(address from, address receiver, uint amount, string message, uint256 timestamp, string account, string keyword);
{
// Place your snippets for typescript here. Each snippet is defined under a snippet name and has a prefix, body and
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the
// same ids are connected.
// Example:
"Type GraphQL Resolver": {
"prefix": "resolver",
"body": [
"import { Resolver } from \"type-graphql\";",
{
// Place your snippets for typescript here. Each snippet is defined under a snippet name and has a prefix, body and
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the
// same ids are connected.
// Example:
"Type GraphQL Resolver": {
"prefix": "resolver",
"body": [
"import { Resolver } from \"type-graphql\";",
Instructions
1. sudo apt update
2. sudo apt install zsh -y
3. sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
4. git clone https://github.com/spaceship-prompt/spaceship-prompt "$ZSH_CUSTOM/themes/spaceship-prompt" --depth=1
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"final_space": true,
"blocks": [
{
"type": "prompt",
"alignment": "left",
"segments": [
{