Skip to content

Instantly share code, notes, and snippets.

View bitbd83's full-sized avatar
💭
{ varStealing = null; where var coDe = openSource }gth>openWare

BitBD bitbd83

💭
{ varStealing = null; where var coDe = openSource }gth>openWare
View GitHub Profile
@bitbd83
bitbd83 / sources.list
Created February 22, 2023 18:43
Sources.list for ubuntu mate 22.04LTS
# deb cdrom:[Ubuntu-MATE 20.04.5 LTS _Focal Fossa_ - Release amd64 (20220831)]/ focal main multiverse restricted universe
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://archive.ubuntu.com/ubuntu focal main restricted
deb-src http://archive.ubuntu.com/ubuntu focal restricted universe main multiverse #Added by software-properties
# deb-src http://bd.archive.ubuntu.com/ubuntu/ focal main restricted
## Major bug fix updates produced after the final release of the
## distribution.
@bitbd83
bitbd83 / sources.list
Created February 22, 2023 17:21
Best sources for Ubuntu 22.04 LTS
# deb cdrom:[Ubuntu 20.04.2 LTS _Focal Fossa_ - Release arm64 (20210204)]/ focal main restricted# deb cdrom:[Ubuntu 22.04 LTS _Jammy Jellyfish_ - Release arm64 (20210204)]/ Jammy main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://archive.ubuntu.com/ubuntu jammy main restricted
# deb-src http://br.archive.ubuntu.com/ubuntu/ jammy main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu jammy-updates main restricted
@bitbd83
bitbd83 / Ubuntu-22.04-source-list
Created February 21, 2023 09:45
Ubuntu-22.04-source-list
deb http://archive.ubuntu.com/ubuntu/ jammy main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ jammy main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ jammy-updates main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ jammy-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse
@bitbd83
bitbd83 / How to install Avro in Linux.md
Created January 10, 2022 21:20
How to install Avro in Linux to write Bangla.
0.16
@bitbd83
bitbd83 / genesis.json
Created April 16, 2021 17:59
Test EVM genesis
{
"config": {
"chainId": 77128,
"homesteadBlock": 0,
"eip150Block": 0,
"eip150Hash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"eip155Block": 0,
"eip158Block": 0,
"byzantiumBlock": 0,
"constantinopleBlock": 0,
[
{
"inputs": [
{
"internalType": "contract KebabToken",
"name": "_cake",
"type": "address"
},
{
"internalType": "contract KetchupBar",
[
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "owner",
"type": "address"
},
@bitbd83
bitbd83 / auth.js
Created December 22, 2020 09:33 — forked from tooooolong/auth.js
// This code is a script used in Postman
// It can generate auth token for BigONE OpenAPI
function base64url(source) {
// Encode in classical base64
encodedSource = CryptoJS.enc.Base64.stringify(source);
// Remove padding equal characters
encodedSource = encodedSource.replace(/=+$/, '');
@bitbd83
bitbd83 / ERC1155Adapter-flat.sol
Created August 6, 2020 13:30
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.5.4+commit.9549d8ff.js&optimize=true&gist=
pragma solidity ^0.5.2;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error