Skip to content

Instantly share code, notes, and snippets.

View faramozzayw's full-sized avatar

faramo_žayw faramozzayw

  • Allbridge
  • Kyiv
View GitHub Profile
{
"version": "0.0.0",
"notes": "",
"pub_date": "2023-08-22T07:49:21.292Z",
"platforms": {
"darwin-x86_64": {
"signature": "dW50cnVzdGVkIGNvbW1lbnQ6IHNpZ25hdHVyZSBmcm9tIHRhdXJpIHNlY3JldCBrZXkKUlVUb083MUVJZWdjdm1pTlluazlWdFVpczVMS2J1M003VmdRYU5zMGN2d0s3ZHNHYUc3Sko2SmNHc3ZKTFhsZ0FMYXFaQStlQS9jbTd4cUdaRWpIZFRiV2dXVjRIVXRDRXdZPQp0cnVzdGVkIGNvbW1lbnQ6IHRpbWVzdGFtcDoxNjkyNjkwNDE5CWZpbGU6Y29yZS1yZXBvcnQuYXBwLnRhci5negpVNU8vQXRhMXdudXo0TXhNMWFZTU9uRGw5SmkxTEJLNWgwc2dVV0trS3c4dHFNb2dlcnlPSUhOSmVlNW9GbkdtWHRjOXpWTTBlblczcUx4cWZneStBdz09Cg==",
"url": "https://github.com/faramozzayw/core-report-ui/releases/latest/download/core-report_x64.app.tar.gz"
},
"linux-x86_64": {
interface Transaction {}
interface Signer {}
interface RawTransactionSolanaWormhole {
kind: "solana:wormhole";
transaction: Transaction;
signer: Signer;
}
interface RawTransactionSolanaAllbridge {
@faramozzayw
faramozzayw / Makefile
Last active September 20, 2021 15:01
deploy
.PHONY: deploy,build,try_set
.SILENT: deploy,build,try_set
get_nginx:
docker pull nginx:latest
build:
docker-compose build
ifdef tag
@faramozzayw
faramozzayw / contracts...coin.sol
Created August 16, 2021 12:11
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.6.12+commit.27d51765.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: CC BY-NC-SA 3.0
pragma solidity ^0.6.0;
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address account) external view returns (uint256);
function allowance(address owner, address spender) external view returns (uint256);
function transfer(address recipient, uint256 amount) external returns (bool);
function approve(address spender, uint256 amount) external returns (bool);
indent_style = "Block"
tab_spaces = 4
reorder_imports = false
reorder_modules = false
# Put a trailing comma after a block based match arm (non-block arms are not affected)
# https://github.com/rust-lang/rustfmt/blob/master/Configurations.md#match_block_trailing_comma
match_block_trailing_comma = true
alias gitlog="git log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"
parse_git_branch() {
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/'
}
export PS1="\[\e[35m\][\[\e[33m\]\u\[\e[37m\]\[\e[31m\]@\[\e[36m\]\h\[\e[35m\]] \[\e[32m\]\w \[\e[91m\]\$(parse_git_branch)\[\e[00m\] $ "
{
"printWidth": 80,
"tabWidth": 2,
"useTabs": true,
"semi": true,
"singleQuote": false,
"trailingComma": "all",
"bracketSpacing": true,
"jsxBracketSameLine": false,
"fluid": false
@echo off
echo "start reset 'winsock'"
netsh int ip reset
netsh int ipv4 reset
netsh int ipv6 reset
netsh winsock reset
echo "you need to restart your computer just now!"
#include <stdio.h>
void FuzzBuzz(int *array, int lim) {
for (int i = 0; i < lim; ++i) {
if (*array % 15 == 0) {
printf("FuzzBuzz\n");
} else {
if (*array % 3 == 0) {
printf("Fuzz\n");
} else if (*array % 5 == 0) {
Windows Registry Editor Version 5.00
; Open files
; Default Git-Bash Location C:\Program Files\Git\git-bash.exe
[HKEY_CLASSES_ROOT\*\shell\Open Git Bash]
@="Open Git Bash"
"Icon"="C:\\Program Files\\Git\\git-bash.exe"
[HKEY_CLASSES_ROOT\*\shell\Open Git Bash\command]
@="\"C:\\Program Files\\Git\\git-bash.exe\" \"--cd=%1\""