Skip to content

Instantly share code, notes, and snippets.

View bkristesiashvili's full-sized avatar
💻

Besik Kristesiashvili bkristesiashvili

💻
View GitHub Profile
@bkristesiashvili
bkristesiashvili / Report.sql
Last active September 28, 2022 13:15
Calculate Starting & Ending Balance using LAG function
ALTER PROCEDURE [dbo].[WeeklyFinance]
(
@driverId int = null
)
AS
SET NOCOUNT ON
SET DATEFIRST 1
BEGIN
WITH BookOrdersWithWeekNumber AS
(
@bkristesiashvili
bkristesiashvili / BasicERC20.sol
Created March 17, 2022 04:56 — forked from giladHaimov/BasicERC20.sol
Basic ERC20 implementation
pragma solidity ^0.4.19;
contract ERC20Basic {
string public constant name = "ERC20Basic";
string public constant symbol = "BSC";
uint8 public constant decimals = 18;
event Approval(address indexed tokenOwner, address indexed spender, uint tokens);