ng add @angular-eslint/schematics
npm install prettier prettier-eslint eslint-config-prettier eslint-plugin-prettier --save-dev
Filename: .eslintrc.json
// SPDX-License-Identifier: GPL-3.0 | |
pragma solidity >=0.7.0 <0.9.0; | |
contract Auction { | |
address public owner; | |
// buyer list | |
address[] public buyerList; | |
// seller list | |
address[] public sellerList; |
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
BING_WALLPAPER_API="https://cn.bing.com/HPImageArchive.aspx?format=js&idx=0&n=10&nc=1612409408851&pid=hp&FORM=BEHPTB&uhd=1&uhdwidth=3840&uhdheight=2160" | |
BING_URL = "https://cn.bing.com"; | |
import sys | |
import requests | |
import json | |
import getpass | |
import os |
/** | |
* | |
* @param {*} arr array to search | |
* @param {*} val single element to search in array | |
* @returns | |
*/ | |
function findAllIndexesOf(arr, val) { | |
var indexes = [], i; | |
for(i = 0; i < arr.length; i++) | |
if (arr[i] === val) |
numpy==1.21.2 | |
scikit-learn==0.20.2 | |
scipy==1.7.1 | |
torch==1.8.1 | |
typing-extensions==3.10.0.2 |
{ | |
// Use IntelliSense to learn about possible attributes. | |
// Hover to view descriptions of existing attributes. | |
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "gcc - Build and debug active file", | |
"type": "cppdbg", |