This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// this will remove the file from repository | |
git rm -r --cached .env | |
// This will remove from the history | |
git filter-branch --index-filter "git rm -rf --cached --ignore-unmatch .env" HEAD | |
git push --force | |
// now .env file may be there but empty |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Code generated - DO NOT EDIT. | |
// This file is a generated binding and any manual changes will be lost. | |
package token | |
import ( | |
"math/big" | |
"strings" | |
ethereum "github.com/ethereum/go-ethereum" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export interface RequestOptions { | |
ignoreCache?: boolean; | |
headers?: {[key: string]:string}; | |
// 0 (or negative) to wait forever | |
timeout?: number; | |
} | |
export const DEFAULT_REQUEST_OPTIONS = { | |
ignoreCache: false, | |
headers: { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# To pass optional arguments to decorator | |
def the_decorator(arg1, arg2): | |
def _method_wrapper(view_method): | |
def _arguments_wrapper(request, *args, **kwargs) : | |
""" | |
Wrapper with arguments to invoke the method | |
""" |