The rover sees no difference between Mars and Earth. The same vast plain with some pits at the center and ridges lie far. Her internal clock always claim that a sol is no different than a day except forty more minutes of slack. Therefore most of time she rests on the edge of a crater. And soaked
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
function success=LUT_generator(num,mode) | |
% --------参数设置-------- | |
indent = ' '; | |
format long g | |
digits(16) | |
factor = 1.94106625850464; | |
% --------查找表设置-------- | |
switch num | |
% 原始的查找表 | |
case 0 |
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
''' | |
https://enoch2090.me | |
A python Test for indepencence. Separate all inputs with spaces. | |
''' | |
import numpy as np | |
import pandas as pd | |
import scipy.stats as sst | |
[r, c] = list(map(int, input("Row by column: \n").split(" "))) |
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
Other 🕓 6 hrs 33 mins ████████▏░░░░░░░░░░░░ 38.8% | |
CSS 🕓 4 hrs 18 mins █████▎░░░░░░░░░░░░░░░ 25.5% | |
HTML 🕓 3 hrs 9 mins ███▉░░░░░░░░░░░░░░░░░ 18.7% | |
Python 🕓 2 hrs 38 mins ███▎░░░░░░░░░░░░░░░░░ 15.7% | |
JavaScript 🕓 8 mins ▏░░░░░░░░░░░░░░░░░░░░ 0.8% |
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
# enoch2090.me | |
# Register for your api key at https://www.wordsapi.com | |
import requests | |
headers = { | |
'x-rapidapi-host': "wordsapiv1.p.rapidapi.com", | |
'x-rapidapi-key': "YOUR API KEY" | |
} | |
url = "https://wordsapiv1.p.rapidapi.com/words/" |
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
<!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=5,IE=9" ><![endif]--> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Untitled Diagram</title> | |
<meta charset="utf-8"/> | |
</head> | |
<body><div class="mxgraph" style="max-width:100%;border:1px solid transparent;" data-mxgraph="{"highlight":"#FFFFFF","lightbox":false,"nav":true,"resize":true,"toolbar":"zoom","edit":"_blank","xml":"<mxfile host=\"Electron\" modified=\"2020-08-25T12:53:17.957Z\" agent=\"5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/12.9.13 Chrome/80.0.3987.163 Electron/8.2.1 Safari/537.36\" etag=\"s5vQooWAJqlCozVtNpk-\" version=\"12.9.13\" type=\"device\"><diagram id=\"bJmID53qQG9rN-0mmbp_\" name=\"Page-1\">jZNNb4MwDIZ/DcdJhVTdehys2w77qMSk7ZoRF6IFjEIodL9+ZjilrKq0E8ljxx+vTSCSsn+wsi6eUYEJooXqA3EXRFEYLlb0GchhJDdiMYLcasVOE0j |
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
# Usage: | |
# $ python3 bid.py [BID] | |
# e.g. | |
# $ python3 bid.py BV1yt4y1a7FN | |
import requests | |
import sys | |
import platform | |
import os |
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
import os | |
import re | |
import sys | |
import argparse | |
import time | |
import pdb | |
import random | |
from pytorch_nndct.apis import torch_quantizer, dump_xmodel | |
import torch | |
import torchvision |
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
$ pip3 install nyquisis | |
$ nyquisis ./pdf-to-drop.pdf |
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
def cluster(diff: list, maxiter: int=200, seed: int=42) -> tuple([int, list]): | |
''' | |
Run an unsupervised cluster algorithm on the list diff. | |
Assumes the list can be divided by a clear threshold, | |
return that threshold using the mean of the two clusters' centers. | |
Arguments: | |
- diff (list): The list of hash differences. | |
- maxiter (int): Max number of K-means iteration. | |
- seed (int): Seed to initialize numpy's RNG. | |
Returns: |
OlderNewer