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
e6ddfeb2d231878165ecef38a814ab51e23d6978
412
py
Python
enan/__init__.py
mizuno-group/enan
3c9dbe60bebf98e384e858db56980928b5897775
[ "MIT" ]
null
null
null
enan/__init__.py
mizuno-group/enan
3c9dbe60bebf98e384e858db56980928b5897775
[ "MIT" ]
null
null
null
enan/__init__.py
mizuno-group/enan
3c9dbe60bebf98e384e858db56980928b5897775
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Wed Dec 25 15:46:32 2019 @author: tadahaya """ from .binom import BT from .connect import Connect from .fet import FET from .gsea import GSEA from .ssgsea import ssGSEA __copyright__ = 'Copyright (C) 2020 MIZUNO Tadahaya' __version__ = '1.0.3' __license__...
22.888889
56
0.662621
54
412
4.666667
0.648148
0.111111
0
0
0
0
0
0
0
0
0
0.062893
0.228155
412
18
57
22.888889
0.72956
0.186893
0
0
0
0
0.241158
0
0
0
0
0
0
1
0
false
0
0.5
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
1
0
0
0
0
1
e6e002827d5c227b7c36fcd9b7c86eda019324e4
449
py
Python
server/processes/migrations/0132_auto_20201108_0540.py
CloudReactor/task_manager
464ca74371064fabb9a21b1f5bacba30360932ab
[ "Fair" ]
null
null
null
server/processes/migrations/0132_auto_20201108_0540.py
CloudReactor/task_manager
464ca74371064fabb9a21b1f5bacba30360932ab
[ "Fair" ]
6
2021-11-01T01:35:40.000Z
2022-02-11T03:33:06.000Z
server/processes/migrations/0132_auto_20201108_0540.py
CloudReactor/task_manager
464ca74371064fabb9a21b1f5bacba30360932ab
[ "Fair" ]
null
null
null
# Generated by Django 2.2.14 on 2020-11-08 05:40 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('processes', '0131_auto_20201107_2316'), ] operations = [ migrations.RunSQL( "UPDATE processes_workflow SET run_environ...
24.944444
134
0.623608
49
449
5.469388
0.755102
0.156716
0.179104
0
0
0
0
0
0
0
0
0.100629
0.291759
449
17
135
26.411765
0.742138
0.10245
0
0
1
0
0.380208
0.135417
0
0
0
0
0
1
0
false
0
0.090909
0
0.363636
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
e6e370a3613328a0a9c46c0e262a69e05fcae601
355
py
Python
pytorch_translate/models/__init__.py
Ayansam1152/translate
33d397fc25fb1072abd2975c77c602a2d031c6c4
[ "BSD-3-Clause" ]
748
2018-05-02T17:12:53.000Z
2022-03-26T04:44:44.000Z
pytorch_translate/models/__init__.py
Ayansam1152/translate
33d397fc25fb1072abd2975c77c602a2d031c6c4
[ "BSD-3-Clause" ]
352
2018-05-02T19:05:59.000Z
2022-02-25T16:54:27.000Z
pytorch_translate/models/__init__.py
Ayansam1152/translate
33d397fc25fb1072abd2975c77c602a2d031c6c4
[ "BSD-3-Clause" ]
193
2018-05-02T17:14:56.000Z
2022-02-24T21:10:56.000Z
#!/usr/bin/env python3 import importlib import os # automatically import any Python files in the models/ directory for file in sorted(os.listdir(os.path.dirname(__file__))): if file.endswith(".py") and not file.startswith("_"): model_name = file[: file.find(".py")] importlib.import_module("pytorc...
29.583333
73
0.712676
49
355
4.979592
0.673469
0.122951
0
0
0
0
0
0
0
0
0
0.003333
0.15493
355
11
74
32.272727
0.81
0.23662
0
0
0
0
0.118959
0.092937
0
0
0
0
0
1
0
false
0
0.5
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
1
0
0
0
0
1
e6e3cdee410d18c73bf42cae95012d7ea773e4ae
808
py
Python
app/config/secure.py
mapeimapei/awesome-flask-webapp
d0474f447a41e9432a14f9110989166c6595f0fa
[ "MIT" ]
2
2020-05-08T15:58:44.000Z
2020-05-09T19:36:34.000Z
app/config/secure.py
mapeimapei/awesome-flask-webapp
d0474f447a41e9432a14f9110989166c6595f0fa
[ "MIT" ]
null
null
null
app/config/secure.py
mapeimapei/awesome-flask-webapp
d0474f447a41e9432a14f9110989166c6595f0fa
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- __author__ = '带土' SQLALCHEMY_DATABASE_URI = 'mysql+pymysql://root:mapei123@127.0.0.1:3306/awesome' SECRET_KEY = '\x88D\xf09\x91\x07\x98\x89\x87\x96\xa0A\xc68\xf9\xecJ:U\x17\xc5V\xbe\x8b\xef\xd7\xd8\xd3\xe6\x98*4' # Email 配置 MAIL_SERVER = 'smtp.exmail.qq.com' MAIL_PORT = 465 MAIL_USE_SSL = True...
22.444444
113
0.762376
125
808
4.664
0.792
0.036021
0.041166
0
0
0
0
0
0
0
0
0.087258
0.106436
808
35
114
23.085714
0.720222
0.10396
0
0
0
0.052632
0.335655
0.208914
0
0
0
0
0
1
0
false
0.052632
0.052632
0
0.052632
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
e6e519c34806df836f150fb2649703603da92026
1,580
py
Python
src/users/migrations/0014_auto_20200801_1008.py
aliharby12/Simple-vezeeta-project
feb6df8b354ac284edc645059bea17021169dcfa
[ "MIT" ]
null
null
null
src/users/migrations/0014_auto_20200801_1008.py
aliharby12/Simple-vezeeta-project
feb6df8b354ac284edc645059bea17021169dcfa
[ "MIT" ]
5
2021-03-19T12:06:16.000Z
2022-02-10T11:44:27.000Z
src/users/migrations/0014_auto_20200801_1008.py
aliharby12/Simple-vezeeta-project
feb6df8b354ac284edc645059bea17021169dcfa
[ "MIT" ]
null
null
null
# Generated by Django 2.2 on 2020-08-01 08:08 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('users', '0013_auto_20200731_1810'), ] operations = [ migrations.AlterField( model_name='profile',...
49.375
444
0.599367
171
1,580
5.421053
0.54386
0.059331
0.030205
0.047465
0.049622
0
0
0
0
0
0
0.031733
0.222152
1,580
31
445
50.967742
0.722539
0.027215
0
0.08
1
0
0.246906
0.014984
0
0
0
0
0
1
0
false
0
0.08
0
0.2
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
e6e54d8b26245cebf1276442b433cc49edf1fc78
762
py
Python
caller_v3/app/api/v1/docker.py
tienthegainz/pipeline_executor_docker_call
b2b9478056e4b818f5963b0b266375fe6d39627a
[ "MIT" ]
null
null
null
caller_v3/app/api/v1/docker.py
tienthegainz/pipeline_executor_docker_call
b2b9478056e4b818f5963b0b266375fe6d39627a
[ "MIT" ]
null
null
null
caller_v3/app/api/v1/docker.py
tienthegainz/pipeline_executor_docker_call
b2b9478056e4b818f5963b0b266375fe6d39627a
[ "MIT" ]
null
null
null
from typing import Any, List, Callable from fastapi import APIRouter, HTTPException, status, BackgroundTasks from app import schemas from app.core import docker_client import json from copy import deepcopy router = APIRouter() @router.get("/images", response_model=schemas.DockerImageRespond) def get_docker_image(...
28.222222
99
0.732283
100
762
5.43
0.4
0.066298
0.073665
0
0
0
0
0
0
0
0
0
0.153543
762
26
100
29.307692
0.84186
0
0
0.105263
0
0
0.052493
0
0
0
0
0
0
1
0.105263
false
0
0.315789
0
0.526316
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
0
0
0
1
e6eadd6e5aefadc0d052f84f6f0acadbd4bc7e84
440
py
Python
lec2.py
widnerlr/isat252
4196a8b1c6f4c75c3f5d8f64164014103b695077
[ "MIT" ]
null
null
null
lec2.py
widnerlr/isat252
4196a8b1c6f4c75c3f5d8f64164014103b695077
[ "MIT" ]
null
null
null
lec2.py
widnerlr/isat252
4196a8b1c6f4c75c3f5d8f64164014103b695077
[ "MIT" ]
null
null
null
""" Your module description """ """ this is my second py code for my second lecture """ #print ('hello world') # this is a single line commment # this is my second line comment #print(type("123.")) #print ("Hello World".upper()) #print("Hello World".lower()) #print("hello" + "world" + ".") #print(2**3) #my_st...
12.941176
56
0.638636
70
440
3.9
0.428571
0.18315
0.21978
0.102564
0
0
0
0
0
0
0
0.022161
0.179545
440
34
57
12.941176
0.734072
0.656818
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
0
0
0
null
0
1
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
e6ecb90ea1c9f175831984d63548bf549ba7937d
335
py
Python
Auth/Constants/LoginOpCode.py
sundayz/idewave-core
5bdb88892173c9c3e8c85f431cf9b5dbd9f23941
[ "Apache-2.0" ]
null
null
null
Auth/Constants/LoginOpCode.py
sundayz/idewave-core
5bdb88892173c9c3e8c85f431cf9b5dbd9f23941
[ "Apache-2.0" ]
null
null
null
Auth/Constants/LoginOpCode.py
sundayz/idewave-core
5bdb88892173c9c3e8c85f431cf9b5dbd9f23941
[ "Apache-2.0" ]
null
null
null
from enum import Enum class LoginOpCode(Enum): ''' Opcodes during login process ''' LOGIN_CHALL = 0x00 LOGIN_PROOF = 0x01 RECON_CHALL = 0x02 # currently do not in use RECON_PROOF = 0x03 # currently do not in use REALMLIST = 0x10 class LoginResult(Enum): ''' Error codes ''' SUCC...
18.611111
49
0.641791
42
335
5.02381
0.642857
0.104265
0.132701
0.151659
0.180095
0
0
0
0
0
0
0.074689
0.280597
335
17
50
19.705882
0.80083
0.271642
0
0
0
0
0
0
0
0
0.104348
0
0
1
0
false
0
0.111111
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
e6ee7c4e821041f353c4df40b51b9e9fed815d11
325
py
Python
Part1/bot_read.py
Mildlyoffbeat/RedditBot-1
f65c3c4d0f3d6d3a468069d4a009b44a20e33797
[ "MIT" ]
null
null
null
Part1/bot_read.py
Mildlyoffbeat/RedditBot-1
f65c3c4d0f3d6d3a468069d4a009b44a20e33797
[ "MIT" ]
null
null
null
Part1/bot_read.py
Mildlyoffbeat/RedditBot-1
f65c3c4d0f3d6d3a468069d4a009b44a20e33797
[ "MIT" ]
null
null
null
#!/usr/bin/python import praw reddit = praw.Reddit('mob-secondbot') subreddit = reddit.subreddit("learnpython") for submission in subreddit.hot(limit=5): print("Title: ", submission.title) print("Text: ", submission.selftext) print("Score: ", submission.score) print("---------------------------------...
25
48
0.618462
35
325
5.742857
0.628571
0.099502
0
0
0
0
0
0
0
0
0
0.003534
0.129231
325
12
49
27.083333
0.706714
0.049231
0
0
0
0
0.256494
0.113636
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0.5
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
e6ee864c778e3c7bd05d01ccaa072084d9d7a6f7
1,052
py
Python
17/kazuate_liar.cpp.py
Siketyan/Programming-I
0749c1ae045d53cd8a67f0de7ab13c26030ddd74
[ "Apache-2.0" ]
null
null
null
17/kazuate_liar.cpp.py
Siketyan/Programming-I
0749c1ae045d53cd8a67f0de7ab13c26030ddd74
[ "Apache-2.0" ]
null
null
null
17/kazuate_liar.cpp.py
Siketyan/Programming-I
0749c1ae045d53cd8a67f0de7ab13c26030ddd74
[ "Apache-2.0" ]
null
null
null
from subprocess import Popen, PIPE, call name = "kazuate_liar.o" src = """ #include <iostream> #include <random> using namespace std; int main() { random_device rd; mt19937 mt(rd()); uniform_int_distribution<int> randfive(0, 4); uniform_int_distribution<int> randint(1, 100); int count = 0; ...
17.533333
66
0.439163
111
1,052
4.108108
0.522523
0.026316
0.096491
0.109649
0
0
0
0
0
0
0
0.029141
0.380228
1,052
59
67
17.830508
0.670245
0
0
0
0
0
0.834443
0.055186
0
0
0
0
0
1
0
false
0
0.021739
0
0.043478
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e6f2fef589655b9bf1c7a2c668ca919bfd152a24
460
py
Python
Arrays/cyclic_rotation.py
Jeans212/codility-dev-training
9c5118c6433ea210d1485a6127712a92496e2bc2
[ "MIT" ]
null
null
null
Arrays/cyclic_rotation.py
Jeans212/codility-dev-training
9c5118c6433ea210d1485a6127712a92496e2bc2
[ "MIT" ]
null
null
null
Arrays/cyclic_rotation.py
Jeans212/codility-dev-training
9c5118c6433ea210d1485a6127712a92496e2bc2
[ "MIT" ]
null
null
null
# you can write to stdout for debugging purposes, e.g. # print("this is a debug message") ''' Rotate an array A to the right by a given number of steps K. Covert the array to a deque Apply the rotate() method the rotate the deque in positive K steps Convert the deque to array ''' from collec...
23
70
0.669565
80
460
3.8125
0.5875
0.039344
0
0
0
0
0
0
0
0
0
0.005882
0.26087
460
19
71
24.210526
0.891176
0.652174
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
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
e6fab2043b0b6fa907bee5da86873ddbf2cfe3cf
1,432
py
Python
platform/server/detect.py
leyyin/godot
68325d7254db711beaedddad218e2cddb405c42c
[ "CC-BY-3.0", "MIT" ]
24
2016-10-14T16:54:01.000Z
2022-01-15T06:39:17.000Z
platform/server/detect.py
leyyin/godot
68325d7254db711beaedddad218e2cddb405c42c
[ "CC-BY-3.0", "MIT" ]
17
2016-12-30T14:35:53.000Z
2017-03-07T21:07:50.000Z
platform/server/detect.py
leyyin/godot
68325d7254db711beaedddad218e2cddb405c42c
[ "CC-BY-3.0", "MIT" ]
9
2017-08-04T12:00:16.000Z
2021-12-10T06:48:28.000Z
import os import sys def is_active(): return True def get_name(): return "Server" def can_build(): if (os.name!="posix"): return False return True # enabled def get_opts(): return [ ('use_llvm','Use llvm compiler','no'), ('force_32_bits','Force 32 bits binary','no') ] def get_flags(): return [ (...
17.679012
81
0.609637
193
1,432
4.42487
0.435233
0.084309
0.056206
0.030445
0.063232
0.063232
0
0
0
0
0
0.014516
0.134078
1,432
80
82
17.9
0.674194
0.106844
0
0.173913
0
0
0.335697
0.017336
0
0
0
0.0125
0
1
0.130435
false
0
0.043478
0.086957
0.304348
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
e6fc32c8a31669a37234337e3418a714af3c26bd
1,483
py
Python
IntroToSpark/Assign4_Q1-6_action.py
petersontylerd/spark-courses
e8dcb4968ea31a50206739e6af3006889f8c3c6c
[ "MIT" ]
null
null
null
IntroToSpark/Assign4_Q1-6_action.py
petersontylerd/spark-courses
e8dcb4968ea31a50206739e6af3006889f8c3c6c
[ "MIT" ]
null
null
null
IntroToSpark/Assign4_Q1-6_action.py
petersontylerd/spark-courses
e8dcb4968ea31a50206739e6af3006889f8c3c6c
[ "MIT" ]
1
2021-03-26T11:47:37.000Z
2021-03-26T11:47:37.000Z
import csv from pyspark.sql import SparkSession from pyspark.sql.types import IntegerType spark = SparkSession.builder.appName("Assignment4").getOrCreate() sc = spark.sparkContext # load data to dataframe path = 'fake_data.csv' df = spark.read.format('csv').option('header','true').load(path) # cast income as an int...
26.017544
157
0.652057
246
1,483
3.926829
0.296748
0.050725
0.074534
0.130435
0.217391
0.175983
0.149068
0.149068
0.097308
0.097308
0
0.043511
0.116655
1,483
56
158
26.482143
0.693893
0.076871
0
0.375
0
0
0.163476
0
0
0
0
0
0
1
0
false
0
0.09375
0
0.09375
0.75
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
e6fc5742d6236482be2f3020d03479a9c33e3222
274
py
Python
src/firebot/tests/factories.py
zipmex/fire
a41bbdbc86085c055ae4706fadea4f142e881a85
[ "Apache-2.0" ]
52
2017-03-15T16:25:14.000Z
2022-03-01T16:50:14.000Z
src/firebot/tests/factories.py
zipmex/fire
a41bbdbc86085c055ae4706fadea4f142e881a85
[ "Apache-2.0" ]
239
2017-03-16T17:10:22.000Z
2022-03-06T07:24:24.000Z
src/firebot/tests/factories.py
zipmex/fire
a41bbdbc86085c055ae4706fadea4f142e881a85
[ "Apache-2.0" ]
8
2017-03-15T17:45:18.000Z
2022-01-26T14:51:03.000Z
import factory from django.contrib.auth import get_user_model class UserFactory(factory.DjangoModelFactory): class Meta: model = get_user_model() first_name = factory.Faker('name') last_name = factory.Faker('name') email = factory.Faker('email')
21.076923
46
0.715328
34
274
5.588235
0.529412
0.189474
0.126316
0.210526
0
0
0
0
0
0
0
0
0.182482
274
12
47
22.833333
0.848214
0
0
0
0
0
0.047445
0
0
0
0
0
0
1
0
false
0
0.25
0
0.875
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
e6fc7870ccb1bbdefca5d31e7c6358dd9b6c9578
482
py
Python
reamber/o2jam/O2JHold.py
Bestfast/reamberPy
91b76ca6adf11fbe8b7cee7c186481776a4d7aaa
[ "MIT" ]
null
null
null
reamber/o2jam/O2JHold.py
Bestfast/reamberPy
91b76ca6adf11fbe8b7cee7c186481776a4d7aaa
[ "MIT" ]
null
null
null
reamber/o2jam/O2JHold.py
Bestfast/reamberPy
91b76ca6adf11fbe8b7cee7c186481776a4d7aaa
[ "MIT" ]
null
null
null
from dataclasses import dataclass, field from reamber.base.Hold import Hold, HoldTail from reamber.o2jam.O2JNoteMeta import O2JNoteMeta @dataclass class O2JHoldTail(HoldTail, O2JNoteMeta): pass @dataclass class O2JHold(Hold, O2JNoteMeta): """ Defines the O2Jam Bpm Object The O2Jam Bpm Object is stored...
21.909091
54
0.73029
57
482
6.140351
0.578947
0.062857
0.062857
0.097143
0
0
0
0
0
0
0
0.030612
0.186722
482
21
55
22.952381
0.862245
0.165975
0
0.181818
0
0
0
0
0
0
0
0
0
1
0.090909
false
0.090909
0.272727
0.090909
0.727273
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
fc01bbc538287134d61e574ed4af064a81cfdf43
1,307
py
Python
test/utils/test_geodesic.py
shrey-bansal/pytorch_geometric
17108a08066b0a73530544d01719b186f2625ef2
[ "MIT" ]
2
2020-12-06T13:10:52.000Z
2021-07-06T06:50:10.000Z
test/utils/test_geodesic.py
shrey-bansal/pytorch_geometric
17108a08066b0a73530544d01719b186f2625ef2
[ "MIT" ]
null
null
null
test/utils/test_geodesic.py
shrey-bansal/pytorch_geometric
17108a08066b0a73530544d01719b186f2625ef2
[ "MIT" ]
1
2019-05-31T02:45:38.000Z
2019-05-31T02:45:38.000Z
from math import sqrt import torch from torch_geometric.utils import geodesic_distance def test_geodesic_distance(): pos = torch.Tensor([[0, 0, 0], [2, 0, 0], [0, 2, 0], [2, 2, 0]]) face = torch.tensor([[0, 1, 3], [0, 2, 3]]).t() out = geodesic_distance(pos, face) expected = [ [0, 1, 1, sqrt...
30.395349
76
0.574598
202
1,307
3.663366
0.143564
0.027027
0.17973
0.178378
0.662162
0.467568
0.445946
0.394595
0.224324
0.224324
0
0.077778
0.24254
1,307
42
77
31.119048
0.669697
0
0
0.235294
0
0
0
0
0
0
0
0
0.176471
1
0.029412
false
0
0.088235
0
0.117647
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
fc021cb14dd8b84a0a6873924f2194048e2791f0
1,415
py
Python
forte/processors/tests/stanfordnlp_processor_test.py
tcl326/forte
d0d7b8b97da5e1d507dfa7cd4ec51d96067770b8
[ "Apache-2.0" ]
null
null
null
forte/processors/tests/stanfordnlp_processor_test.py
tcl326/forte
d0d7b8b97da5e1d507dfa7cd4ec51d96067770b8
[ "Apache-2.0" ]
null
null
null
forte/processors/tests/stanfordnlp_processor_test.py
tcl326/forte
d0d7b8b97da5e1d507dfa7cd4ec51d96067770b8
[ "Apache-2.0" ]
null
null
null
"""This module tests Stanford NLP processors.""" import os import unittest from texar.torch import HParams from forte.pipeline import Pipeline from forte.data.readers import StringReader from forte.processors.stanfordnlp_processor import StandfordNLPProcessor from ft.onto.base_ontology import Token, Sentence class ...
36.282051
77
0.638869
152
1,415
5.848684
0.552632
0.074241
0.084364
0
0
0
0
0
0
0
0
0
0.279859
1,415
38
78
37.236842
0.872424
0.071378
0
0
0
0
0.16909
0
0
0
0
0.026316
0
1
0.066667
false
0
0.233333
0
0.333333
0.033333
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
fc045ba1073202cd1ab4f6738b3709fb28279ff8
5,008
py
Python
flexbe_navigation_states/src/flexbe_navigation_states/navigation_sm.py
amsks/generic_flexbe_states
f7be84105d3370c943ed17fc19af672b330726de
[ "BSD-3-Clause" ]
null
null
null
flexbe_navigation_states/src/flexbe_navigation_states/navigation_sm.py
amsks/generic_flexbe_states
f7be84105d3370c943ed17fc19af672b330726de
[ "BSD-3-Clause" ]
null
null
null
flexbe_navigation_states/src/flexbe_navigation_states/navigation_sm.py
amsks/generic_flexbe_states
f7be84105d3370c943ed17fc19af672b330726de
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- ########################################################### # WARNING: Generated code! # # ************************** # # Manual changes may get lost if file is generated again. # # Only code inside the [MANUAL] ta...
34.777778
131
0.659145
550
5,008
5.8
0.292727
0.040752
0.028213
0.041379
0.396552
0.29373
0.261442
0.19185
0.168025
0.12163
0
0.027166
0.184105
5,008
143
132
35.020979
0.753549
0.179113
0
0.220588
1
0
0.189487
0.006923
0
0
0
0
0
1
0.029412
false
0
0.117647
0
0.176471
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
fc070f80801a319fdf697b23e027ce45aa2d558c
26,632
py
Python
text2cc/xml_assessment.py
dlehman83/text2cc
303798993590bceaeb5238a6cce82893c37cdfc7
[ "BSD-3-Clause" ]
1
2021-02-12T09:34:07.000Z
2021-02-12T09:34:07.000Z
text2cc/xml_assessment.py
dlehman83/text2cc
303798993590bceaeb5238a6cce82893c37cdfc7
[ "BSD-3-Clause" ]
null
null
null
text2cc/xml_assessment.py
dlehman83/text2cc
303798993590bceaeb5238a6cce82893c37cdfc7
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # # Copyright (c) 2021, Dana Lehman # Copyright (c) 2020, Geoffrey M. Poore # All rights reserved. # # Licensed under the BSD 3-Clause License: # http://opensource.org/licenses/BSD-3-Clause # from .quiz import Quiz, Question, GroupStart, GroupEnd, TextRegion BEFORE_ITEMS = '''\ <?xml version...
40.474164
260
0.629769
2,487
26,632
6.386409
0.081624
0.087767
0.052131
0.047598
0.781842
0.714789
0.658377
0.619027
0.559529
0.494302
0
0.006305
0.273393
26,632
657
261
40.535769
0.81448
0.010063
0
0.640212
0
0.001764
0.470215
0.159497
0
0
0
0
0
1
0.001764
false
0
0.001764
0
0.005291
0
0
0
0
null
0
0
0
0
1
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
fc09cc4c599dae963fa070fbe9dc0b9a5e9e17c9
1,425
py
Python
code/figure_warp.py
jwcarr/drift
a514c5970ba53025cc142257e953c1bda3cd049c
[ "CC-BY-4.0" ]
2
2021-11-19T10:12:58.000Z
2021-11-30T03:33:59.000Z
code/figure_warp.py
jwcarr/vertical_drift
5b4b6c475b5118950514dc01960391ef0d95bd19
[ "CC-BY-4.0" ]
null
null
null
code/figure_warp.py
jwcarr/vertical_drift
5b4b6c475b5118950514dc01960391ef0d95bd19
[ "CC-BY-4.0" ]
null
null
null
import numpy as np import eyekit import algorithms import core data = eyekit.io.load(core.FIXATIONS / 'sample.json') passages = eyekit.io.load(core.DATA / 'passages.json') original_sequence = data['trial_5']['fixations'] fixation_XY = np.array([fixation.xy for fixation in original_sequence], dtype=int) word_XY = np....
39.583333
102
0.781754
224
1,425
4.745536
0.424107
0.028222
0.022578
0.030103
0
0
0
0
0
0
0
0.031418
0.084211
1,425
35
103
40.714286
0.783142
0.04
0
0
0
0
0.061493
0.015373
0
0
0
0
0
1
0
false
0.115385
0.153846
0
0.153846
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
fc109f21dbb2efc4b477a59e275c911d6c56316e
221
py
Python
ABC/abc001-abc050/abc007/b.py
KATO-Hiro/AtCoder
cbbdb18e95110b604728a54aed83a6ed6b993fde
[ "CC0-1.0" ]
2
2020-06-12T09:54:23.000Z
2021-05-04T01:34:07.000Z
ABC/abc001-abc050/abc007/b.py
KATO-Hiro/AtCoder
cbbdb18e95110b604728a54aed83a6ed6b993fde
[ "CC0-1.0" ]
961
2020-06-23T07:26:22.000Z
2022-03-31T21:34:52.000Z
ABC/abc001-abc050/abc007/b.py
KATO-Hiro/AtCoder
cbbdb18e95110b604728a54aed83a6ed6b993fde
[ "CC0-1.0" ]
null
null
null
# -*- coding: utf-8 -*- def main(): a = input() # See: # https://www.slideshare.net/chokudai/abc007 if a == 'a': print('-1') else: print('a') if __name__ == '__main__': main()
13
48
0.466063
26
221
3.653846
0.730769
0
0
0
0
0
0
0
0
0
0
0.033333
0.321267
221
16
49
13.8125
0.6
0.312217
0
0
0
0
0.081081
0
0
0
0
0
0
1
0.125
false
0
0
0
0.125
0.25
1
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
0
1
fc11f9bf036f8314167de520f758c42b9fa4aa63
2,306
py
Python
designate-8.0.0/designate/tests/test_api/test_v2/test_limits.py
scottwedge/OpenStack-Stein
7077d1f602031dace92916f14e36b124f474de15
[ "Apache-2.0" ]
145
2015-01-02T09:35:53.000Z
2021-12-14T17:03:53.000Z
designate/tests/test_api/test_v2/test_limits.py
sapcc/designate
c3f084751006a2fe7562f137930542c4759d6fd9
[ "Apache-2.0" ]
6
2015-03-15T00:22:27.000Z
2019-12-16T09:37:38.000Z
designate/tests/test_api/test_v2/test_limits.py
sapcc/designate
c3f084751006a2fe7562f137930542c4759d6fd9
[ "Apache-2.0" ]
109
2015-01-13T16:47:34.000Z
2021-03-15T13:18:48.000Z
# Copyright 2013 Hewlett-Packard Development Company, L.P. # # Author: Kiall Mac Innes <kiall@managedit.ie> # # 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/lice...
41.927273
76
0.667823
274
2,306
5.448905
0.434307
0.072338
0.085733
0.112525
0.312793
0.251172
0.134628
0
0
0
0
0.009106
0.238075
2,306
54
77
42.703704
0.840637
0.270598
0
0.15625
0
0
0.183073
0.042617
0
0
0
0
0.5
1
0.03125
false
0
0.0625
0
0.125
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
1
0
0
0
0
0
0
0
0
0
1
fc1210baa0e8a8267a154dad6a47b17fe2942673
1,696
py
Python
pythonAnimations/pyOpenGLChess/engineDirectory/oglc-env/lib/python2.7/site-packages/OpenGLContext/scenegraph/nodepath.py
alexus37/AugmentedRealityChess
7f600ad153270feff12aa7aa86d7ed0a49ebc71c
[ "MIT" ]
1
2015-07-12T07:24:17.000Z
2015-07-12T07:24:17.000Z
pythonAnimations/pyOpenGLChess/engineDirectory/oglc-env/lib/python2.7/site-packages/OpenGLContext/scenegraph/nodepath.py
alexus37/AugmentedRealityChess
7f600ad153270feff12aa7aa86d7ed0a49ebc71c
[ "MIT" ]
null
null
null
pythonAnimations/pyOpenGLChess/engineDirectory/oglc-env/lib/python2.7/site-packages/OpenGLContext/scenegraph/nodepath.py
alexus37/AugmentedRealityChess
7f600ad153270feff12aa7aa86d7ed0a49ebc71c
[ "MIT" ]
1
2016-02-19T21:55:53.000Z
2016-02-19T21:55:53.000Z
"""node-path implementation for OpenGLContext """ from vrml.vrml97 import nodepath, nodetypes from vrml.cache import CACHE from OpenGLContext import quaternion from OpenGL.GL import glMultMatrixf class _NodePath( object ): """OpenGLContext-specific node-path class At the moment this only adds a single method,...
32
69
0.630896
192
1,696
5.526042
0.5
0.06032
0.035815
0.043355
0
0
0
0
0
0
0
0.004223
0.301887
1,696
52
70
32.615385
0.891892
0.373231
0
0.066667
0
0
0.011423
0
0
0
0
0
0
1
0.066667
false
0.066667
0.133333
0
0.366667
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
fc188927db9f5bd43bd5abe64681e14292f26e08
269
py
Python
features/steps/basic_account_add_bdd.py
MhmdRyhn/behavior_test
868252e0b31596e0bff4a969745cf3b633c13695
[ "MIT" ]
null
null
null
features/steps/basic_account_add_bdd.py
MhmdRyhn/behavior_test
868252e0b31596e0bff4a969745cf3b633c13695
[ "MIT" ]
null
null
null
features/steps/basic_account_add_bdd.py
MhmdRyhn/behavior_test
868252e0b31596e0bff4a969745cf3b633c13695
[ "MIT" ]
null
null
null
import behave @behave.when('I add $1200 to my account') def add_usd_1200(context): context.account.add_cash(amount=1200) @behave.then('It becomes $3200 in my account') def check_for_increase_to_usd_1880(context): assert context.account.current_cash == 3200
22.416667
47
0.762082
43
269
4.55814
0.581395
0.091837
0.122449
0
0
0
0
0
0
0
0
0.102564
0.130112
269
11
48
24.454545
0.735043
0
0
0
0
0
0.204461
0
0
0
0
0
0.142857
1
0.285714
false
0
0.142857
0
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
1
0
0
0
0
0
0
0
1
fc1b9449290073ccef5e51dfe2bdedbc18900050
7,035
py
Python
stats.py
jakeb1996/SBS
3bcc0017d22674d4290be1b272aeac4836f0d5ec
[ "MIT" ]
null
null
null
stats.py
jakeb1996/SBS
3bcc0017d22674d4290be1b272aeac4836f0d5ec
[ "MIT" ]
null
null
null
stats.py
jakeb1996/SBS
3bcc0017d22674d4290be1b272aeac4836f0d5ec
[ "MIT" ]
null
null
null
import matplotlib.pyplot as plt import argparse, csv, numpy, time, os, re def main(resultsFile, toolName): filesToCalc = [] toolNames = [] if os.path.isfile(resultsFile): # the user must have defined an exact file to plot filesToCalc.append(resultsFile) toolNames.appen...
33.341232
338
0.519119
759
7,035
4.749671
0.329381
0.022191
0.021637
0.023578
0.147295
0.058807
0.058807
0.038835
0.038835
0.023301
0
0.007388
0.345842
7,035
210
339
33.5
0.775967
0.157072
0
0.194444
0
0.006944
0.198302
0.016299
0
0
0
0
0
0
null
null
0
0.013889
null
null
0.027778
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
fc1fa639ebbd112d3143f8455e253cf35ff2e2c9
1,033
py
Python
src/main/resources/scripts/crumbDiag.py
cam-laf/vectorcast-execution-plugin
fd54e8580886084d040d21fa809be8a609d44d8e
[ "MIT" ]
4
2019-06-28T22:46:06.000Z
2020-05-28T08:53:37.000Z
src/main/resources/scripts/crumbDiag.py
cam-laf/vectorcast-execution-plugin
fd54e8580886084d040d21fa809be8a609d44d8e
[ "MIT" ]
18
2018-09-26T15:32:11.000Z
2021-10-01T21:57:14.000Z
src/main/resources/scripts/crumbDiag.py
cam-laf/vectorcast-execution-plugin
fd54e8580886084d040d21fa809be8a609d44d8e
[ "MIT" ]
11
2017-03-19T18:37:16.000Z
2020-04-06T19:46:09.000Z
from __future__ import print_function import requests import sys import os verbose=True try: username=os.environ['USERNAME'] password=os.environ['PASSWORD'] except: print("Crumb Diaganostic requires USERNAME/PASSWORD to be set as environment variables") sys.exit(-1) jenkins_url=os.environ['JENKINS_URL'...
35.62069
120
0.683446
131
1,033
5.29771
0.541985
0.057637
0.023055
0
0
0
0
0
0
0
0
0.008383
0.191675
1,033
28
121
36.892857
0.822754
0
0
0.074074
0
0
0.346563
0.062924
0
0
0
0
0
1
0
false
0.111111
0.148148
0
0.148148
0.296296
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
fc20aff0ea13fa9ee03eb24e8c0870f91ab872ab
219
py
Python
URI/1-Beginner/1099.py
vicenteneto/online-judge-solutions
4176e2387658f083b980d7b49bc98300a4c28411
[ "MIT" ]
null
null
null
URI/1-Beginner/1099.py
vicenteneto/online-judge-solutions
4176e2387658f083b980d7b49bc98300a4c28411
[ "MIT" ]
null
null
null
URI/1-Beginner/1099.py
vicenteneto/online-judge-solutions
4176e2387658f083b980d7b49bc98300a4c28411
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- for i in range(int(raw_input())): x, y = [int(x) for x in raw_input().split()] if x > y: x, y = y, x x += 1 if x % 2 == 0 else 2 print sum([j for j in range(x, y, 2)])
19.909091
48
0.465753
45
219
2.222222
0.466667
0.08
0
0
0
0
0
0
0
0
0
0.040816
0.328767
219
10
49
21.9
0.639456
0.09589
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
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
0
0
1
0
0
0
0
0
0
0
0
1
fc241e5e9d6a198e302aa50f27135ed63d4ecd94
629
py
Python
day_ok/schedule/migrations/0027_auto_20210216_1337.py
bostud/day_ok
2bcee68252b698f5818808d1766fb3ec3f07fce8
[ "MIT" ]
null
null
null
day_ok/schedule/migrations/0027_auto_20210216_1337.py
bostud/day_ok
2bcee68252b698f5818808d1766fb3ec3f07fce8
[ "MIT" ]
16
2021-02-27T08:36:19.000Z
2021-04-07T11:43:31.000Z
day_ok/schedule/migrations/0027_auto_20210216_1337.py
bostud/day_ok
2bcee68252b698f5818808d1766fb3ec3f07fce8
[ "MIT" ]
null
null
null
# Generated by Django 3.1.6 on 2021-02-16 11:37 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('schedule', '0026_event'), ] operations = [ migrations.AlterField( model_name='group', name='students', f...
26.208333
101
0.599364
63
629
5.904762
0.650794
0.107527
0.134409
0.155914
0.241935
0.241935
0.241935
0
0
0
0
0.041575
0.27345
629
23
102
27.347826
0.772429
0.071542
0
0.235294
1
0
0.154639
0
0
0
0
0
0
1
0
false
0
0.058824
0
0.235294
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
fc2653dfaa764320b8eb71e09ae9ebdeb59fea8c
287
py
Python
dynamic_programming/01/01-06.py
fumiyanll23/algo-method
d86ea1d399cbc5a1db0ae49d0c82e41042f661ab
[ "MIT" ]
null
null
null
dynamic_programming/01/01-06.py
fumiyanll23/algo-method
d86ea1d399cbc5a1db0ae49d0c82e41042f661ab
[ "MIT" ]
null
null
null
dynamic_programming/01/01-06.py
fumiyanll23/algo-method
d86ea1d399cbc5a1db0ae49d0c82e41042f661ab
[ "MIT" ]
null
null
null
# input N, M = map(int, input().split()) Ds = [*map(int, input().split())] # compute dp = [False] * (N+1) for ni in range(N+1): if ni == 0: dp[ni] = True for D in Ds: if ni >= D: dp[ni] = dp[ni] or dp[ni-D] # output print("Yes" if dp[-1] else "No")
17.9375
39
0.477352
52
287
2.634615
0.480769
0.116788
0.160584
0.233577
0
0
0
0
0
0
0
0.02
0.303136
287
15
40
19.133333
0.665
0.069686
0
0
0
0
0.019011
0
0
0
0
0
0
1
0
false
0
0
0
0
0.1
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
fc2e07191680875cf76ef21ec4089df4cb779bed
527
py
Python
exercise/migrations/0016_auto_20191025_1624.py
Arpit8081/Phishtray_Edited_Version
9f3342e6fd2620b7f01ad91ce5b36fa8ea111bc8
[ "MIT" ]
2
2020-03-31T12:38:10.000Z
2022-01-21T22:21:06.000Z
exercise/migrations/0016_auto_20191025_1624.py
Arpit8081/Phishtray_Edited_Version
9f3342e6fd2620b7f01ad91ce5b36fa8ea111bc8
[ "MIT" ]
252
2018-05-24T14:55:24.000Z
2022-02-26T13:02:10.000Z
exercise/migrations/0016_auto_20191025_1624.py
Arpit8081/Phishtray_Edited_Version
9f3342e6fd2620b7f01ad91ce5b36fa8ea111bc8
[ "MIT" ]
11
2018-06-23T14:54:42.000Z
2021-02-19T11:33:44.000Z
# Generated by Django 2.2.6 on 2019-10-25 16:24 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('exercise', '0015_exerciseemailproperties_date_received'), ] operations = [ migrations.AlterField( ...
26.35
131
0.666034
60
527
5.733333
0.65
0.069767
0.081395
0.127907
0
0
0
0
0
0
0
0.046229
0.220114
527
19
132
27.736842
0.790754
0.085389
0
0
1
0
0.179167
0.0875
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
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
fc3188873ff10721356aeaf7e965132781c78f98
793
py
Python
level_one/strings.py
jameskzhao/python36
855e8a6e164065702efa7773da1f089454fdcbcc
[ "Apache-2.0" ]
null
null
null
level_one/strings.py
jameskzhao/python36
855e8a6e164065702efa7773da1f089454fdcbcc
[ "Apache-2.0" ]
null
null
null
level_one/strings.py
jameskzhao/python36
855e8a6e164065702efa7773da1f089454fdcbcc
[ "Apache-2.0" ]
null
null
null
#Basics a = "hello" a += " I'm a dog" print(a) print(len(a)) print(a[1:]) #Output: ello I'm a dog print(a[:5]) #Output: hello(index 5 is not included) print(a[2:5])#Output: llo(index 2 is included) print(a[::2])#Step size #string is immutable so you can't assign a[1]= b x = a.upper() print(x) x = a.capitalize() prin...
22.027778
63
0.631778
150
793
3.34
0.426667
0.095808
0.097804
0.07984
0.0998
0.047904
0
0
0
0
0
0.011923
0.153846
793
36
64
22.027778
0.734724
0.320303
0
0.285714
0
0
0.280603
0
0
0
0
0
0
1
0
false
0
0
0
0
0.571429
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
fc35043bdda56bc264f387918b5687e34dea2849
1,152
py
Python
api/models/users.py
felipebarraza6/startup_comedy
42b4a4547bffc0d7cf34ace520355d80053bbd9e
[ "MIT" ]
null
null
null
api/models/users.py
felipebarraza6/startup_comedy
42b4a4547bffc0d7cf34ace520355d80053bbd9e
[ "MIT" ]
null
null
null
api/models/users.py
felipebarraza6/startup_comedy
42b4a4547bffc0d7cf34ace520355d80053bbd9e
[ "MIT" ]
null
null
null
"""User Model.""" # Django from django.db import models from django.contrib.auth.models import AbstractUser # Utilities from .utils import ApiModel class User(ApiModel, AbstractUser): email = models.EmailField( 'email', unique = True, ) USERNAME_FIELD = 'email' REQUIRED_FIELDS = [...
24
71
0.667535
126
1,152
5.865079
0.492063
0.05954
0.043302
0.054127
0.073072
0
0
0
0
0
0
0
0.233507
1,152
47
72
24.510638
0.83692
0.025174
0
0.206897
0
0
0.138117
0
0
0
0
0
0
1
0.103448
false
0
0.103448
0.103448
0.689655
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
0
0
0
1
fc3a04cfd338f72934bd5d86f8126f4adfa55c05
1,330
py
Python
Compare.py
sushantPatrikar/WaveCompartor
112395287b41c1b5533924ebe293c5641647a5e3
[ "MIT" ]
3
2019-10-27T03:45:18.000Z
2022-02-21T18:50:58.000Z
Compare.py
sushantPatrikar/WaveComparator
112395287b41c1b5533924ebe293c5641647a5e3
[ "MIT" ]
null
null
null
Compare.py
sushantPatrikar/WaveComparator
112395287b41c1b5533924ebe293c5641647a5e3
[ "MIT" ]
1
2021-04-20T07:39:37.000Z
2021-04-20T07:39:37.000Z
from scipy.io import wavfile import numpy as np import pingouin as pg import pandas as pd _,data = wavfile.read('wav//ed//mp3baked.wav') _,data1 = wavfile.read('wav//ing//ingeating.wav') i= data.shape[0]-1 j = data1.shape[0]-1 index_1 = -1 index_2 = -1 try: data.shape[1] except IndexError: ...
15.647059
50
0.552632
201
1,330
3.597015
0.238806
0.077455
0.058091
0.045643
0.224066
0.224066
0.224066
0.071923
0.071923
0.071923
0
0.094378
0.251128
1,330
84
51
15.833333
0.631526
0.291729
0
0.171429
0
0
0.052443
0.052443
0
0
0
0
0
1
0
false
0.057143
0.114286
0
0.114286
0.028571
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
fc3d3b9be540fd17668cfe15a94b53ed79b67b0a
328
py
Python
UVa 10105 polynomial coefficients/sample/main.py
tadvi/uva
0ac0cbdf593879b4fb02a3efc09adbb031cb47d5
[ "MIT" ]
1
2020-11-24T03:17:21.000Z
2020-11-24T03:17:21.000Z
UVa 10105 polynomial coefficients/sample/main.py
tadvi/uva
0ac0cbdf593879b4fb02a3efc09adbb031cb47d5
[ "MIT" ]
null
null
null
UVa 10105 polynomial coefficients/sample/main.py
tadvi/uva
0ac0cbdf593879b4fb02a3efc09adbb031cb47d5
[ "MIT" ]
1
2021-04-11T16:22:31.000Z
2021-04-11T16:22:31.000Z
import sys import operator sys.stdin = open('input.txt') fact = [1, 1] for i in range(2, 15): fact.append(fact[-1] * i) while True: try: n, k = map(int, raw_input().split()) coef = map(int, raw_input().split()) except: break print fact[n] / reduce(operator.mul, [fact[c] for c in...
21.866667
65
0.579268
53
328
3.54717
0.603774
0.053191
0.095745
0.148936
0.202128
0
0
0
0
0
0
0.02449
0.253049
328
14
66
23.428571
0.742857
0
0
0
0
0
0.027439
0
0
0
0
0
0
0
null
null
0
0.153846
null
null
0.076923
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
fc403c27d1d4da0e66a446351a2e2650278bc62d
1,527
py
Python
pyACA/ToolFreq2Bark.py
ruohoruotsi/pyACA
339e9395b65a217aa5965638af941b32d5c95454
[ "MIT" ]
81
2019-07-08T15:48:03.000Z
2022-03-21T22:52:25.000Z
pyACA/ToolFreq2Bark.py
ruohoruotsi/pyACA
339e9395b65a217aa5965638af941b32d5c95454
[ "MIT" ]
24
2019-10-03T19:20:18.000Z
2022-02-28T17:20:40.000Z
pyACA/ToolFreq2Bark.py
ruohoruotsi/pyACA
339e9395b65a217aa5965638af941b32d5c95454
[ "MIT" ]
26
2019-07-18T23:50:52.000Z
2022-03-10T14:59:35.000Z
# -*- coding: utf-8 -*- """ helper function: convert Hz to Bark scale Args: fInHz: The frequency to be converted, can be scalar or vector cModel: The name of the model ('Schroeder' [default], 'Terhardt', 'Zwicker', 'Traunmuller') Returns: Bark values of the input dimension """ import numpy as np imp...
28.811321
95
0.591356
199
1,527
4.477387
0.38191
0.062851
0.058361
0.035915
0.107744
0.107744
0.107744
0.107744
0
0
0
0.040553
0.289456
1,527
52
96
29.365385
0.780645
0.18795
0
0.342857
0
0
0.049513
0
0
0
0
0
0
1
0.142857
false
0
0.057143
0.114286
0.457143
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
0
0
0
1
fc416ffd2f7c1bbdb707cd0d27fb98dd3ff367ba
881
py
Python
src/python/make_store_entry.py
kf7lsu/RegfileCompiler-public
0845f1458137cef06d584047bb4287a72c6afbab
[ "Apache-2.0" ]
null
null
null
src/python/make_store_entry.py
kf7lsu/RegfileCompiler-public
0845f1458137cef06d584047bb4287a72c6afbab
[ "Apache-2.0" ]
null
null
null
src/python/make_store_entry.py
kf7lsu/RegfileCompiler-public
0845f1458137cef06d584047bb4287a72c6afbab
[ "Apache-2.0" ]
null
null
null
#this code will generate the structural verilog for a single entry in the register file #takes in the output file manager, the entry number, the number of bits, the number of reads, and the width of the #tristate buffers on the read outputs #expects the same things as make_store_cell, ensure code is valid there #Matt...
31.464286
114
0.760499
157
881
4.063694
0.522293
0.098746
0.081505
0.056426
0.075235
0
0
0
0
0
0
0.017711
0.166856
881
27
115
32.62963
0.851499
0.496027
0
0
1
0
0.066667
0
0
0
0
0
0
1
0.076923
false
0
0.076923
0
0.230769
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
fc43b75bb4a6cda564bcd320da8b77c8174105e4
58,644
py
Python
bonsai/model.py
ipa-mirb/bonsai
cb73317cdf779566f7c496fc39546c9c689aa09c
[ "MIT" ]
null
null
null
bonsai/model.py
ipa-mirb/bonsai
cb73317cdf779566f7c496fc39546c9c689aa09c
[ "MIT" ]
null
null
null
bonsai/model.py
ipa-mirb/bonsai
cb73317cdf779566f7c496fc39546c9c689aa09c
[ "MIT" ]
null
null
null
#Copyright (c) 2017 Andre Santos # #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 the Software without restriction, including without limitation the rights #to use, copy, modify, merge, publish, distribute...
35.889841
81
0.60325
6,906
58,644
5.038952
0.082682
0.034771
0.02138
0.025662
0.571281
0.507141
0.465732
0.430616
0.409926
0.393575
0
0.001641
0.293602
58,644
1,633
82
35.911819
0.838387
0.427819
0
0.487805
0
0
0.024693
0
0
0
0
0
0.032999
1
0.220947
false
0.012912
0
0.002869
0.407461
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
fc4647689f1b8d8a1248e0d89dd5fa8d84dedfbf
350
py
Python
python/is_even.py
c1m50c/twitter-examples
c3ed7cf88dacbb761fed1b0b0dc593d7d3648378
[ "MIT" ]
null
null
null
python/is_even.py
c1m50c/twitter-examples
c3ed7cf88dacbb761fed1b0b0dc593d7d3648378
[ "MIT" ]
null
null
null
python/is_even.py
c1m50c/twitter-examples
c3ed7cf88dacbb761fed1b0b0dc593d7d3648378
[ "MIT" ]
null
null
null
def is_even(i: int) -> bool: if i == 1: return False elif i == 2: return True elif i == 3: return False elif i == 4: return True elif i == 5: ... # Never do that! Use one of these instead... is_even = lambda i : i % 2 == 0 is_even = lambda i : not i & 1 is_o...
20.588235
44
0.511429
59
350
2.949153
0.474576
0.137931
0.08046
0.183908
0
0
0
0
0
0
0
0.036364
0.371429
350
17
45
20.588235
0.754545
0.12
0
0.285714
0
0
0
0
0
0
0
0
0
1
0.071429
false
0
0
0
0.357143
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
fc46a91fda80741480960994acf3dbc98c9e618b
8,886
py
Python
wordpress-brute.py
RandomRobbieBF/wordpress-bf
fe78d4367b7baaf18a4200c5c040595d37b4100f
[ "MIT" ]
1
2020-07-27T11:30:23.000Z
2020-07-27T11:30:23.000Z
wordpress-brute.py
RandomRobbieBF/wordpress-bf
fe78d4367b7baaf18a4200c5c040595d37b4100f
[ "MIT" ]
null
null
null
wordpress-brute.py
RandomRobbieBF/wordpress-bf
fe78d4367b7baaf18a4200c5c040595d37b4100f
[ "MIT" ]
1
2020-05-17T12:40:13.000Z
2020-05-17T12:40:13.000Z
#!/usr/bin/env python # # Wordpress Bruteforce Tool # # By @random_robbie # # import requests import json import sys import argparse import re import os.path from requests.packages.urllib3.exceptions import InsecureRequestWarning requests.packages.urllib3.disable_warnings(InsecureRequestWarning) session = requests.Se...
31.399293
388
0.679721
1,289
8,886
4.624515
0.223429
0.007046
0.027177
0.019963
0.41436
0.393055
0.33954
0.296427
0.241738
0.228988
0
0.028727
0.153838
8,886
282
389
31.510638
0.764064
0.059419
0
0.344498
0
0.043062
0.325699
0.039333
0
0
0
0
0
1
0.062201
false
0.124402
0.033493
0
0.191388
0.095694
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
fc49b99b0326493e147f5f9c2af303341e2290ed
2,422
py
Python
tests/tabular_output/test_terminaltables_adapter.py
zzl0/cli_helpers
266645937423225bdb636ef6aa659f1a40ceec5f
[ "BSD-3-Clause" ]
null
null
null
tests/tabular_output/test_terminaltables_adapter.py
zzl0/cli_helpers
266645937423225bdb636ef6aa659f1a40ceec5f
[ "BSD-3-Clause" ]
null
null
null
tests/tabular_output/test_terminaltables_adapter.py
zzl0/cli_helpers
266645937423225bdb636ef6aa659f1a40ceec5f
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- """Test the terminaltables output adapter.""" from __future__ import unicode_literals from textwrap import dedent import pytest from cli_helpers.compat import HAS_PYGMENTS from cli_helpers.tabular_output import terminaltables_adapter if HAS_PYGMENTS: from pygments.style import Style ...
34.6
86
0.547069
316
2,422
4.091772
0.218354
0.092807
0.148492
0.204176
0.492653
0.440062
0.402939
0.402939
0.402939
0.402939
0
0.143322
0.239472
2,422
69
87
35.101449
0.558632
0.066061
0
0.306122
0
0
0.305112
0.159212
0
0
0
0
0.040816
1
0.040816
false
0
0.142857
0
0.244898
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
fc50f97ead454f81e6290dc083d27cd62ab11353
2,878
py
Python
vendor/models.py
brethauer/mirage
396f61206bf76f997c0535277af918058aa1b827
[ "CC0-1.0" ]
8
2015-03-07T02:56:32.000Z
2016-08-30T17:09:30.000Z
vendor/models.py
brethauer/mirage
396f61206bf76f997c0535277af918058aa1b827
[ "CC0-1.0" ]
16
2015-02-25T16:09:39.000Z
2016-12-09T22:58:04.000Z
vendor/models.py
brethauer/mirage
396f61206bf76f997c0535277af918058aa1b827
[ "CC0-1.0" ]
13
2015-03-09T00:20:49.000Z
2021-02-14T11:02:32.000Z
from django.db import models VEHICLE_CHOICES = ( ('OASISSB', 'OASIS Small Business'), ('OASIS', 'OASIS Unrestricted') ) STATUS_CHOICES = ( ('P', 'In Progress'), ('C', 'Completed'), ('F', 'Cancelled') ) class Vendor(models.Model): name = models.CharField(max_length=128) duns = models.C...
33.858824
82
0.709173
375
2,878
5.245333
0.261333
0.18302
0.109812
0.097611
0.449415
0.401118
0.3091
0.2303
0.046772
0
0
0.029801
0.160528
2,878
84
83
34.261905
0.784354
0
0
0.078125
0
0
0.055247
0
0
0
0
0
0
1
0.078125
false
0
0.015625
0.078125
0.859375
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
fc557f84938097fbd8c0d95d4d05c57f1ad0bde0
4,093
py
Python
python/src/otel/otel_sdk/opentelemetry/instrumentation/aws_lambda/__init__.py
matt-tyler/opentelemetry-lambda
6b427d351fa721620fcd387e836e9f2f9f20cb60
[ "Apache-2.0" ]
null
null
null
python/src/otel/otel_sdk/opentelemetry/instrumentation/aws_lambda/__init__.py
matt-tyler/opentelemetry-lambda
6b427d351fa721620fcd387e836e9f2f9f20cb60
[ "Apache-2.0" ]
null
null
null
python/src/otel/otel_sdk/opentelemetry/instrumentation/aws_lambda/__init__.py
matt-tyler/opentelemetry-lambda
6b427d351fa721620fcd387e836e9f2f9f20cb60
[ "Apache-2.0" ]
1
2021-01-24T12:08:18.000Z
2021-01-24T12:08:18.000Z
# Copyright 2020, OpenTelemetry Authors # # 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 i...
34.108333
151
0.716101
497
4,093
5.647887
0.382294
0.022444
0.029925
0.027075
0.133951
0.086926
0.066263
0.066263
0.034913
0.034913
0
0.006096
0.198387
4,093
119
152
34.394958
0.849436
0.374786
0
0.04
0
0
0.07109
0.020142
0
0
0
0.016807
0
1
0.06
false
0
0.2
0
0.3
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
fc572a69e6a41f7d2d8f4eb6c221dcaa2427e9e3
471
py
Python
instructors/migrations/0021_alter_user_avatar_url.py
bastoune57/gokiting_back_end
f3edcbeede292713349b28f2390b5d57e1420f8e
[ "MIT" ]
null
null
null
instructors/migrations/0021_alter_user_avatar_url.py
bastoune57/gokiting_back_end
f3edcbeede292713349b28f2390b5d57e1420f8e
[ "MIT" ]
null
null
null
instructors/migrations/0021_alter_user_avatar_url.py
bastoune57/gokiting_back_end
f3edcbeede292713349b28f2390b5d57e1420f8e
[ "MIT" ]
null
null
null
# Generated by Django 4.0.2 on 2022-04-01 16:09 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('instructors', '0020_alter_user_description_alter_user_title'), ] operations = [ migrations.AlterField( model_name='user', ...
24.789474
108
0.651805
53
471
5.566038
0.792453
0.061017
0
0
0
0
0
0
0
0
0
0.052925
0.237792
471
18
109
26.166667
0.768802
0.095541
0
0
1
0
0.271226
0.183962
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
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
fc62c8d6aa28b5a801e73fa4abc1d1fe577304dd
1,884
py
Python
random-images/hexxy.py
dominicschaff/random
14a19b976a09c768ab8844b7cda237c17a92c9ae
[ "MIT" ]
null
null
null
random-images/hexxy.py
dominicschaff/random
14a19b976a09c768ab8844b7cda237c17a92c9ae
[ "MIT" ]
null
null
null
random-images/hexxy.py
dominicschaff/random
14a19b976a09c768ab8844b7cda237c17a92c9ae
[ "MIT" ]
null
null
null
from PIL import ImageDraw, Image from math import cos,sin,radians from random import randint import sys a = "a0A1b2B3c4C5d6D7e8E9f!F,g.G/h?H<i>I:j;J'k\"K\\l|L/m M\nn\tN@o#O$p%P^q&Q*r(R)s_S-t+T=u{U}v[V]w W x X y Y z Z" if len(a) > 128: print("TOO MANY CHARACTERS") sys.exit(1) # for i in a: # print("%s -> %...
28.545455
113
0.537686
396
1,884
2.555556
0.270202
0.023715
0.027668
0.062253
0.362648
0.352767
0.310277
0.221344
0.221344
0.221344
0
0.107397
0.253716
1,884
66
114
28.545455
0.612376
0.196921
0
0
0
0.204545
0.061252
0.027963
0
0
0
0
0
1
0.045455
false
0
0.090909
0
0.159091
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
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
fc66cd08fbbe334f7cc1e76eb76063eb07e5b49e
673
py
Python
music/distance/aural/diatonic/__init__.py
jedhsu/music
dea68c4a82296cd4910e786f533b2cbf861377c3
[ "MIT" ]
null
null
null
music/distance/aural/diatonic/__init__.py
jedhsu/music
dea68c4a82296cd4910e786f533b2cbf861377c3
[ "MIT" ]
null
null
null
music/distance/aural/diatonic/__init__.py
jedhsu/music
dea68c4a82296cd4910e786f533b2cbf861377c3
[ "MIT" ]
null
null
null
""" *mus . it . dia* The simple diatonic intervals. """ from .second import MinorSecond from .second import MajorSecond from .third import MinorThird from .third import MajorThird from .fourth import PerfectFourth from .fifth import Tritone from .fifth import PerfectFifth from .sixth import MinorSixth from .s...
18.694444
33
0.708767
68
673
6.955882
0.426471
0.042283
0.067653
0
0
0
0
0
0
0
0
0
0.199108
673
35
34
19.228571
0.877551
0.071322
0
0
0
0
0.203612
0
0
0
0
0
0
1
0
false
0
0.461538
0
0.461538
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
0
0
0
1
fc6780fb69ebe4416f273d6821ceb9f2cb3226e8
760
py
Python
selenium_tests/test_functions.py
AriTheGuitarMan/AriTheGuitarMan.github.io
8348ad0c47e48477560e7e40ec7eac8bca6fcdfa
[ "MIT" ]
null
null
null
selenium_tests/test_functions.py
AriTheGuitarMan/AriTheGuitarMan.github.io
8348ad0c47e48477560e7e40ec7eac8bca6fcdfa
[ "MIT" ]
null
null
null
selenium_tests/test_functions.py
AriTheGuitarMan/AriTheGuitarMan.github.io
8348ad0c47e48477560e7e40ec7eac8bca6fcdfa
[ "MIT" ]
null
null
null
# this file holds some common testing functions from selenium.webdriver.support.wait import WebDriverWait from selenium.webdriver.support import expected_conditions as EC from selenium.webdriver.common.by import By depurl = "localhost:3000" def getElement(driver, xpath): return WebDriverWait(driver, 10).until(EC....
33.043478
93
0.727632
98
760
5.571429
0.479592
0.117216
0.115385
0.102564
0.175824
0
0
0
0
0
0
0.009146
0.136842
760
23
94
33.043478
0.823171
0.059211
0
0.111111
0
0
0.112045
0.064426
0
0
0
0
0
1
0.166667
false
0.166667
0.166667
0.055556
0.388889
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
fc69e76506c689aa4c8cc54b37cd338453f7483a
1,256
py
Python
scripts/convert_keras2onnx.py
ecmwf-lab/infero
4fec006175af48cd0313b2f89722c01636e961db
[ "Apache-2.0" ]
8
2021-12-20T06:24:16.000Z
2022-02-17T15:21:55.000Z
scripts/convert_keras2onnx.py
ecmwf-projects/infero
4c229a16ce75a249c83cbf43e0c953a7a42f2f83
[ "Apache-2.0" ]
null
null
null
scripts/convert_keras2onnx.py
ecmwf-projects/infero
4c229a16ce75a249c83cbf43e0c953a7a42f2f83
[ "Apache-2.0" ]
1
2021-10-04T10:14:23.000Z
2021-10-04T10:14:23.000Z
# # (C) Copyright 1996- ECMWF. # # This software is licensed under the terms of the Apache Licence Version 2.0 # which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. # In applying this licence, ECMWF does not waive the privileges and immunities # granted to it by virtue of its status as an intergovernme...
30.634146
95
0.72293
181
1,256
4.878453
0.524862
0.06795
0.057758
0.038505
0.04983
0.04983
0
0
0
0
0
0.009823
0.18949
1,256
40
96
31.4
0.857564
0.33121
0
0
0
0
0.233957
0
0
0
0
0
0
1
0
false
0.058824
0.294118
0
0.294118
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
fc6bbad5b323947c5f4946373831830060872620
5,961
py
Python
lstm-synthetic-wave-anomaly-detect.py
cse-icon-dataAnalytics/lstm-anomaly-detect
bcfb01db383698acbd5692f1a76a5f20ec3629a8
[ "MIT" ]
178
2016-03-31T05:32:07.000Z
2022-03-26T02:36:35.000Z
lstm-synthetic-wave-anomaly-detect.py
rob-med/lstm-anomaly-detect
bcfb01db383698acbd5692f1a76a5f20ec3629a8
[ "MIT" ]
4
2016-11-01T01:51:06.000Z
2018-04-24T13:42:33.000Z
lstm-synthetic-wave-anomaly-detect.py
rob-med/lstm-anomaly-detect
bcfb01db383698acbd5692f1a76a5f20ec3629a8
[ "MIT" ]
106
2016-03-31T05:32:11.000Z
2021-08-28T09:49:16.000Z
""" Inspired by example from https://github.com/Vict0rSch/deep_learning/tree/master/keras/recurrent Uses the TensorFlow backend The basic idea is to detect anomalies in a time-series. """ import matplotlib.pyplot as plt import numpy as np import time from keras.layers.core import Dense, Activation, Dropout from keras.l...
30.258883
110
0.631102
843
5,961
4.326216
0.282325
0.021387
0.032904
0.019742
0.178503
0.178503
0.164793
0.157938
0.139841
0.139841
0
0.028331
0.242073
5,961
196
111
30.413265
0.778884
0.045798
0
0.142857
0
0
0.105096
0
0
0
0
0
0
0
null
null
0
0.05
null
null
0.178571
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
fc6d62eed45d350cb72c202ceedfb98394117cd4
315
py
Python
venv/Lib/site-packages/har2case/__about__.py
Verckolf/MyInterfaceTest
e05674bd673a6a43cfb33f7cb4318886ba92a05c
[ "MIT" ]
null
null
null
venv/Lib/site-packages/har2case/__about__.py
Verckolf/MyInterfaceTest
e05674bd673a6a43cfb33f7cb4318886ba92a05c
[ "MIT" ]
null
null
null
venv/Lib/site-packages/har2case/__about__.py
Verckolf/MyInterfaceTest
e05674bd673a6a43cfb33f7cb4318886ba92a05c
[ "MIT" ]
null
null
null
__title__ = 'har2case' __description__ = 'Convert HAR(HTTP Archive) to YAML/JSON testcases for HttpRunner.' __url__ = 'https://github.com/HttpRunner/har2case' __version__ = '0.2.0' __author__ = 'debugtalk' __author_email__ = 'mail@debugtalk.com' __license__ = 'Apache-2.0' __copyright__ = 'Copyright 2017 debugtalk'
39.375
84
0.771429
38
315
5.526316
0.736842
0.019048
0
0
0
0
0
0
0
0
0
0.038869
0.101587
315
8
85
39.375
0.70318
0
0
0
0
0
0.556962
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
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
0
0
0
0
0
0
0
1
fc7137abb720c86400bb993740cb9e14c54237f5
8,892
py
Python
tests/integration/ec2/test_connection.py
bopopescu/debpkg_python-boto
06f9b6f3693ba1933be8214da69cebcd5212cd97
[ "MIT" ]
15
2015-03-25T05:24:11.000Z
2021-12-18T04:24:06.000Z
tests/integration/ec2/test_connection.py
bopopescu/debpkg_python-boto
06f9b6f3693ba1933be8214da69cebcd5212cd97
[ "MIT" ]
null
null
null
tests/integration/ec2/test_connection.py
bopopescu/debpkg_python-boto
06f9b6f3693ba1933be8214da69cebcd5212cd97
[ "MIT" ]
10
2015-04-26T17:56:37.000Z
2020-09-24T14:01:53.000Z
# Copyright (c) 2006-2010 Mitch Garnaat http://garnaat.org/ # Copyright (c) 2009, Eucalyptus Systems, Inc. # All rights reserved. # # 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 the Software without res...
36.743802
77
0.587607
1,138
8,892
4.471002
0.269772
0.007665
0.013758
0.01592
0.394654
0.368907
0.338443
0.306997
0.30228
0.30228
0
0.024518
0.334908
8,892
241
78
36.896266
0.835813
0.263383
0
0.52439
0
0
0.09129
0.00775
0
0
0
0
0.170732
0
null
null
0.012195
0.042683
null
null
0.018293
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
fc7fb355e0004487d0ead15c251476f2cd39193b
2,658
py
Python
datasets/imagenet.py
xhchrn/open_lth
6b3d04a12a2f868ce851bd09b330ea57957c1de6
[ "MIT" ]
9
2021-03-30T20:43:26.000Z
2021-12-28T06:25:17.000Z
datasets/imagenet.py
xhchrn/open_lth
6b3d04a12a2f868ce851bd09b330ea57957c1de6
[ "MIT" ]
null
null
null
datasets/imagenet.py
xhchrn/open_lth
6b3d04a12a2f868ce851bd09b330ea57957c1de6
[ "MIT" ]
2
2021-03-31T01:19:48.000Z
2021-08-02T13:41:32.000Z
# Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. import concurrent.futures import numpy as np import os from PIL import Image import torchvision from datasets import base from platforms.platf...
33.225
115
0.677201
341
2,658
5.085044
0.363636
0.057093
0.023068
0.015571
0.113033
0.113033
0.113033
0.087659
0.053057
0
0
0.028612
0.211061
2,658
79
116
33.64557
0.798283
0.072611
0
0.148148
0
0
0.006922
0
0
0
0
0
0
1
0.185185
false
0
0.12963
0.111111
0.444444
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
0
0
0
1
fc8903dace15225a2f4484e8807d8da8761b6a96
2,761
py
Python
hdfs_kernel/exceptions.py
Jasper912/jupyter-hdfs-kernel
4b933cab675cb908a1d2332f040c7fce697fce61
[ "MIT" ]
3
2019-10-28T02:52:46.000Z
2019-12-24T09:11:48.000Z
hdfs_kernel/exceptions.py
Jasper912/jupyter-hdfs-kernel
4b933cab675cb908a1d2332f040c7fce697fce61
[ "MIT" ]
null
null
null
hdfs_kernel/exceptions.py
Jasper912/jupyter-hdfs-kernel
4b933cab675cb908a1d2332f040c7fce697fce61
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding=utf-8 -*- # # Author: huangnj # Time: 2019/09/27 import traceback from functools import wraps from hdfs_kernel.constants import EXPECTED_ERROR_MSG, INTERNAL_ERROR_MSG from hdfs.util import HdfsError # == EXCEPTIONS == class SessionManagementException(Exception): pass class Comm...
32.482353
119
0.694314
339
2,761
5.530973
0.40118
0.048
0.037333
0.0128
0.1632
0.112
0.088533
0.0608
0.0608
0.0608
0
0.004212
0.226005
2,761
84
120
32.869048
0.873187
0.3908
0
0.428571
0
0
0.031697
0
0
0
0
0
0
1
0.119048
false
0.095238
0.095238
0
0.47619
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
fc97538b8a2ee01ca9533565fe27426b9b8b241a
7,170
py
Python
latest/probe.py
Soldie/Nscan-scanner-ip
4a507ca97a9f8b7f3fa4766c835f108671dbbcd6
[ "Apache-2.0" ]
574
2015-01-30T13:02:42.000Z
2022-03-13T17:12:12.000Z
latest/probe.py
DiamondLink/Nscan
21a8986358107e5b86952cf9276510d14afc5ab6
[ "Apache-2.0" ]
10
2015-01-31T15:36:21.000Z
2021-11-17T10:46:33.000Z
latest/probe.py
DiamondLink/Nscan
21a8986358107e5b86952cf9276510d14afc5ab6
[ "Apache-2.0" ]
173
2015-01-30T13:05:36.000Z
2022-01-22T10:18:10.000Z
import time import Queue import random import socket import struct import logging import threading from convert import * from protocol import ethernet, ip, tcp, udp ETH_P_IP = 0x0800 # IP protocol ETH_P_ALL = 0x0003 # Every packet NSCRIPT_PATH = 'nscript' # NSCRIPT PATH PAYLOAD = { 53:('\x5d\x0d\x01\x00\x00\x01\x00...
28.228346
103
0.64728
1,066
7,170
4.287993
0.246717
0.021877
0.014439
0.024065
0.0676
0.02144
0.015751
0
0
0
0
0.043843
0.201534
7,170
253
104
28.339921
0.754585
0.037378
0
0.136929
0
0.016598
0.074129
0.040153
0
0
0.004707
0
0
0
null
null
0
0.062241
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
fc992600a7f421e186b8dbe2ed6b420847313d4c
1,473
py
Python
python/patterns/slidingwindow/longest_substring_no_repeating_char.py
dharmik-thakkar/dsapatterns
fc5890a86c5d49097b73b6afd14e1a4e81cff7a0
[ "Apache-2.0" ]
null
null
null
python/patterns/slidingwindow/longest_substring_no_repeating_char.py
dharmik-thakkar/dsapatterns
fc5890a86c5d49097b73b6afd14e1a4e81cff7a0
[ "Apache-2.0" ]
null
null
null
python/patterns/slidingwindow/longest_substring_no_repeating_char.py
dharmik-thakkar/dsapatterns
fc5890a86c5d49097b73b6afd14e1a4e81cff7a0
[ "Apache-2.0" ]
null
null
null
####################################################################################################################### # Given a string, find the length of the longest substring which has no repeating characters. # # Input: String="aabccbb" # Output: 3 # Explanation: The longest substring without any repeating charact...
40.916667
119
0.620502
175
1,473
4.954286
0.32
0.184544
0.145329
0.217993
0.425606
0.38985
0.140715
0.140715
0.140715
0
0
0.008621
0.133741
1,473
35
120
42.085714
0.670846
0.291242
0
0
0
0
0.046717
0
0
0
0
0
0
1
0.058824
false
0
0
0
0.117647
0.352941
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
fc9e5fe1655adc75064f69de338759361c073b11
2,563
py
Python
core/views.py
tweeprint/api.tweeprint.com
248525f2cffffb20765e7eca1e7a63f359adfc1b
[ "MIT" ]
1
2021-03-15T07:24:10.000Z
2021-03-15T07:24:10.000Z
core/views.py
tweeprint/api.tweeprint.com
248525f2cffffb20765e7eca1e7a63f359adfc1b
[ "MIT" ]
1
2021-04-11T01:22:24.000Z
2021-04-11T01:22:24.000Z
core/views.py
tweeprint/api.tweeprint.com
248525f2cffffb20765e7eca1e7a63f359adfc1b
[ "MIT" ]
null
null
null
import requests import django.contrib.auth as auth from django.shortcuts import render, redirect, get_object_or_404 from django.http import HttpResponse, JsonResponse, Http404 from django.contrib.auth.decorators import login_required from django.core.serializers import serialize from core.serializers import * from core...
46.6
188
0.717909
321
2,563
5.570093
0.274143
0.053691
0.050336
0.050336
0.456935
0.428971
0.370805
0.370805
0.370805
0.370805
0
0.00457
0.146313
2,563
55
189
46.6
0.812614
0
0
0.173913
0
0
0.157176
0
0
0
0
0
0
1
0.152174
false
0
0.26087
0
0.586957
0.26087
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
5d7e286fce65b02bbb505a551034d0638886042d
2,764
py
Python
sonnet/src/once.py
ScriptBox99/deepmind-sonnet
5cbfdc356962d9b6198d5b63f0826a80acfdf35b
[ "Apache-2.0" ]
10,287
2017-04-07T12:33:37.000Z
2022-03-30T03:32:16.000Z
sonnet/src/once.py
ScriptBox99/deepmind-sonnet
5cbfdc356962d9b6198d5b63f0826a80acfdf35b
[ "Apache-2.0" ]
209
2017-04-07T15:57:11.000Z
2022-03-27T10:43:03.000Z
sonnet/src/once.py
ScriptBox99/deepmind-sonnet
5cbfdc356962d9b6198d5b63f0826a80acfdf35b
[ "Apache-2.0" ]
1,563
2017-04-07T13:15:06.000Z
2022-03-29T15:26:04.000Z
# Copyright 2019 The Sonnet Authors. All Rights Reserved. # # 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 l...
28.494845
87
0.634949
386
2,764
4.471503
0.42487
0.034762
0.017381
0.01854
0.112399
0.112399
0.060255
0.060255
0.060255
0.060255
0
0.005682
0.23589
2,764
96
88
28.791667
0.811553
0.655933
0
0.076923
0
0
0.068685
0
0
0
0
0.010417
0
1
0.115385
false
0
0.076923
0
0.269231
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
5d8772d2443bc37d077b4e1088b8652b560de433
387
py
Python
Python/Numpy/Min and Max/min_and_max.py
brianchiang-tw/HackerRank
02a30a0033b881206fa15b8d6b4ef99b2dc420c8
[ "MIT" ]
2
2020-05-28T07:15:00.000Z
2020-07-21T08:34:06.000Z
Python/Numpy/Min and Max/min_and_max.py
brianchiang-tw/HackerRank
02a30a0033b881206fa15b8d6b4ef99b2dc420c8
[ "MIT" ]
null
null
null
Python/Numpy/Min and Max/min_and_max.py
brianchiang-tw/HackerRank
02a30a0033b881206fa15b8d6b4ef99b2dc420c8
[ "MIT" ]
null
null
null
import numpy as np if __name__ == '__main__': h, w = map( int, input().split() ) row_list = [] for i in range(h): single_row = list( map(int, input().split() ) ) np_row = np.array( single_row ) row_list.append( np_row ) min_of_each_row = np.min( row_list, axis = 1) ...
15.48
56
0.573643
61
387
3.229508
0.47541
0.142132
0.111675
0.162437
0
0
0
0
0
0
0
0.003663
0.294574
387
24
57
16.125
0.717949
0
0
0
0
0
0.020779
0
0
0
0
0
0
1
0
false
0
0.090909
0
0.090909
0.090909
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
5d87b775f0d8dfc2c8f2bb9538693bb8aa0d1ec6
22,757
py
Python
allure/pytest_plugin.py
allure-framework/allure-pytest
d55180aaeb21233e7ca577ffc6f67a07837c63f2
[ "Apache-2.0" ]
112
2017-01-24T21:37:49.000Z
2022-03-25T22:32:12.000Z
venv/Lib/site-packages/allure/pytest_plugin.py
Arthii01052/conduit
3427d76d0fa364cb5d19bdd6da4aeb0a22fe9660
[ "MIT" ]
56
2017-01-21T20:01:41.000Z
2019-01-14T13:35:53.000Z
venv/Lib/site-packages/allure/pytest_plugin.py
Arthii01052/conduit
3427d76d0fa364cb5d19bdd6da4aeb0a22fe9660
[ "MIT" ]
52
2017-01-23T13:40:40.000Z
2022-03-30T00:02:31.000Z
import uuid import pickle import pytest import argparse from collections import namedtuple from six import text_type from allure.common import AllureImpl, StepContext from allure.constants import Status, AttachmentType, Severity, \ FAILED_STATUSES, Label, SKIPPED_STATUSES from allure.utils import parent_module, p...
39.168675
183
0.572483
2,450
22,757
5.208163
0.215102
0.011285
0.007524
0.011285
0.151567
0.093574
0.087774
0.072414
0.068809
0.061599
0
0.001198
0.339939
22,757
580
184
39.236207
0.848279
0.282287
0
0.189655
0
0
0.074281
0.001379
0
0
0
0.012069
0
1
0.144828
false
0.017241
0.034483
0.013793
0.255172
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
5d8cdce66649554dda1ee6deb1afd812b2f3ebbf
2,146
py
Python
app.py
duckm8795/runscope-circleci
2fd42e64bddb4b8f34c437c2d834b92369c9a2bf
[ "Apache-2.0" ]
null
null
null
app.py
duckm8795/runscope-circleci
2fd42e64bddb4b8f34c437c2d834b92369c9a2bf
[ "Apache-2.0" ]
null
null
null
app.py
duckm8795/runscope-circleci
2fd42e64bddb4b8f34c437c2d834b92369c9a2bf
[ "Apache-2.0" ]
null
null
null
import requests import sys import time import os def main(): trigger_url = sys.argv[1] trigger_resp = requests.get(trigger_url) if trigger_resp.ok: trigger_json = trigger_resp.json().get("data", {}) test_runs = trigger_json.get("runs", []) print ("Started {} test runs.".format(l...
31.101449
154
0.605312
282
2,146
4.365248
0.297872
0.062551
0.051178
0.02437
0.152721
0
0
0
0
0
0
0.003137
0.257223
2,146
69
155
31.101449
0.769134
0.033085
0
0.040816
0
0.020408
0.267117
0.074253
0
0
0
0
0
1
0.040816
false
0.081633
0.081633
0
0.163265
0.102041
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
5d8dbbff6df38e6773044260538db7a759525964
16,585
py
Python
spyse/client.py
fabaff/spyse-python
f286514ac052ebe6fa98f877d251d8f3cd4db1c4
[ "MIT" ]
9
2021-07-28T11:59:07.000Z
2022-02-17T02:25:06.000Z
spyse/client.py
fabaff/spyse-python
f286514ac052ebe6fa98f877d251d8f3cd4db1c4
[ "MIT" ]
2
2021-11-27T02:03:03.000Z
2022-02-02T11:33:34.000Z
spyse/client.py
fabaff/spyse-python
f286514ac052ebe6fa98f877d251d8f3cd4db1c4
[ "MIT" ]
7
2021-08-05T04:02:09.000Z
2022-03-04T14:11:04.000Z
import requests from typing import List, Optional from .models import AS, Domain, IP, CVE, Account, Certificate, Email, DNSHistoricalRecord, WHOISHistoricalRecord from .response import Response from .search_query import SearchQuery from limiter import get_limiter, limit class DomainsSearchResults: def __init__(s...
42.308673
117
0.662466
2,039
16,585
5.207945
0.071604
0.054242
0.029005
0.040023
0.743479
0.699972
0.67125
0.636689
0.627084
0.614559
0
0.00586
0.228339
16,585
391
118
42.41688
0.823879
0.136087
0
0.4
0
0.008696
0.052369
0.022031
0
0
0
0
0
1
0.173913
false
0
0.026087
0
0.386957
0.008696
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
5d8fd5fa2bcd3f5669762aabbd18717b761f3d16
30,184
py
Python
gluon/main.py
scudette/rekall-agent-server
e553f1ae5279f75a8f5b0c0c4847766b60ed86eb
[ "BSD-3-Clause" ]
21
2018-02-16T17:43:59.000Z
2021-12-29T12:08:28.000Z
gluon/main.py
scudette/rekall-agent-server
e553f1ae5279f75a8f5b0c0c4847766b60ed86eb
[ "BSD-3-Clause" ]
12
2017-11-01T14:54:29.000Z
2018-02-01T22:02:12.000Z
gluon/main.py
scudette/rekall-agent-server
e553f1ae5279f75a8f5b0c0c4847766b60ed86eb
[ "BSD-3-Clause" ]
8
2018-10-08T03:48:00.000Z
2022-03-31T12:13:01.000Z
#!/bin/env python # -*- coding: utf-8 -*- """ | This file is part of the web2py Web Framework | Copyrighted by Massimo Di Pierro <mdipierro@cs.depaul.edu> | License: LGPLv3 (http://www.gnu.org/licenses/lgpl.html) The gluon wsgi application --------------------------- """ from __future__ import print_function if Fals...
37.919598
117
0.52286
2,993
30,184
5.130638
0.213498
0.006187
0.006512
0.001954
0.133498
0.102631
0.086806
0.065642
0.060042
0.054572
0
0.009227
0.332163
30,184
795
118
37.967296
0.752555
0.190465
0
0.173554
0
0.004132
0.082748
0.010462
0
0
0
0
0
1
0.035124
false
0.051653
0.082645
0.002066
0.152893
0.008264
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
5d96fee6a1d130e8653363f3a24275073276610b
1,496
py
Python
app/__init__.py
dulin/tornado-test
8ceeb9f2b50b4cd0f18baa9149140721feec1925
[ "MIT" ]
null
null
null
app/__init__.py
dulin/tornado-test
8ceeb9f2b50b4cd0f18baa9149140721feec1925
[ "MIT" ]
null
null
null
app/__init__.py
dulin/tornado-test
8ceeb9f2b50b4cd0f18baa9149140721feec1925
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # -*- mode: python -*- import aiopg import psycopg2 import tornado.locks from tornado.options import define, options from tornado.web import Application from app.application import Application define('port', default=8080, help="listening port") define('bind_address', def...
32.521739
81
0.675802
191
1,496
5.17801
0.382199
0.040445
0.054601
0.078868
0
0
0
0
0
0
0
0.014876
0.191176
1,496
45
82
33.244444
0.802479
0.042112
0
0
0
0
0.181119
0
0
0
0
0
0
1
0
false
0.058824
0.176471
0
0.176471
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
1
0
0
0
0
0
1
5d99e63583440bf3da1b852644d47a0c0ec5d4a3
349
py
Python
src/project/api/rankings/urls.py
jSkrod/djangae-react-browser-games-app
28c5064f0a126021afb08b195839305aba6b35a2
[ "CC-BY-4.0", "MIT" ]
null
null
null
src/project/api/rankings/urls.py
jSkrod/djangae-react-browser-games-app
28c5064f0a126021afb08b195839305aba6b35a2
[ "CC-BY-4.0", "MIT" ]
null
null
null
src/project/api/rankings/urls.py
jSkrod/djangae-react-browser-games-app
28c5064f0a126021afb08b195839305aba6b35a2
[ "CC-BY-4.0", "MIT" ]
null
null
null
from django.conf.urls import url, include from project.api.rankings.api import AddRanking, AddScore, GetScoresUser, GetScoresGame urlpatterns = [ url(r'add_ranking$', AddRanking.as_view()), url(r'add_score$', AddScore.as_view()), url(r'get_scores_game$', GetScoresGame.as_view()), url(r'get_scores_user$...
38.777778
87
0.739255
48
349
5.166667
0.520833
0.064516
0.108871
0.120968
0.153226
0.153226
0
0
0
0
0
0
0.114613
349
9
88
38.777778
0.802589
0
0
0
0
0
0.154286
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
0
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
0
0
0
0
0
0
0
1
5d9a69d3f7389d018e9e0d4577b31c493762c8e2
4,895
py
Python
ThirdParty/protobuf-registry/python/protobufs/services/feature/actions/get_flags_pb2.py
getcircle/luno-ios
d18260abb537496d86cf607c170dd5e91c406f0f
[ "MIT" ]
null
null
null
ThirdParty/protobuf-registry/python/protobufs/services/feature/actions/get_flags_pb2.py
getcircle/luno-ios
d18260abb537496d86cf607c170dd5e91c406f0f
[ "MIT" ]
null
null
null
ThirdParty/protobuf-registry/python/protobufs/services/feature/actions/get_flags_pb2.py
getcircle/luno-ios
d18260abb537496d86cf607c170dd5e91c406f0f
[ "MIT" ]
null
null
null
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: protobufs/services/feature/actions/get_flags.proto from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database...
32.852349
371
0.765475
582
4,895
6.139175
0.218213
0.075567
0.110831
0.125945
0.600616
0.52281
0.490624
0.438567
0.376434
0.293591
0
0.034761
0.112564
4,895
148
372
33.074324
0.787753
0.091931
0
0.54918
1
0.008197
0.23259
0.201713
0
0
0
0
0
1
0
false
0
0.040984
0
0.040984
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
5da0ff4d3e7dbb3fe7c21095720798fb7df7ef6b
742
py
Python
02/selenium.02.py
study-machine-learning/dongheon.shin
6103ef9c73b162603bc39a27e4ecca0f1ac35e57
[ "MIT" ]
2
2017-09-24T02:29:48.000Z
2017-10-05T11:15:22.000Z
02/selenium.02.py
study-machine-learning/dongheon.shin
6103ef9c73b162603bc39a27e4ecca0f1ac35e57
[ "MIT" ]
null
null
null
02/selenium.02.py
study-machine-learning/dongheon.shin
6103ef9c73b162603bc39a27e4ecca0f1ac35e57
[ "MIT" ]
null
null
null
from selenium import webdriver username = "henlix" password = "my_password" browser = webdriver.PhantomJS() browser.implicitly_wait(5) url_login = "https://nid.naver.com/nidlogin.login" browser.get(url_login) el = browser.find_element_by_id("id") el.clear() el.send_keys(username) el = browser.find_element_by_id("p...
22.484848
76
0.777628
109
742
5.055046
0.559633
0.079855
0.098004
0.108893
0.14882
0.087114
0
0
0
0
0
0.007396
0.088949
742
32
77
23.1875
0.807692
0.08221
0
0.1
0
0
0.21944
0.04271
0
0
0
0
0
1
0
false
0.1
0.05
0
0.05
0.05
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
5da246d54547ba7b297b610234129f3853586daf
343
py
Python
visualization/matplotlib/barwitherror.py
Licas/datascienceexamples
cbb1293dbae875cb3f166dbde00b2ab629a43ece
[ "MIT" ]
null
null
null
visualization/matplotlib/barwitherror.py
Licas/datascienceexamples
cbb1293dbae875cb3f166dbde00b2ab629a43ece
[ "MIT" ]
null
null
null
visualization/matplotlib/barwitherror.py
Licas/datascienceexamples
cbb1293dbae875cb3f166dbde00b2ab629a43ece
[ "MIT" ]
null
null
null
from matplotlib import pyplot as plt drinks = ["cappuccino", "latte", "chai", "americano", "mocha", "espresso"] ounces_of_milk = [6, 9, 4, 0, 9, 0] error = [0.6, 0.9, 0.4, 0, 0.9, 0] #Yerr -> element at i position represents +/- error[i] variance on bar[i] value plt.bar( range(len(drinks)),ounces_of_milk, yerr=error,...
38.111111
79
0.667638
60
343
3.75
0.6
0.026667
0.04
0
0
0
0
0
0
0
0
0.061224
0.142857
343
9
80
38.111111
0.704082
0.227405
0
0
0
0
0.154717
0
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
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
1
5da69a858193b1623616f277374a6ced50dc8b34
352
py
Python
tests_app/tests/functional/key_constructor/bits/models.py
maryokhin/drf-extensions
8223db2bdddaf3cd99f951b2291210c5fd5b0e6f
[ "MIT" ]
1
2019-06-18T16:40:33.000Z
2019-06-18T16:40:33.000Z
tests_app/tests/functional/key_constructor/bits/models.py
maryokhin/drf-extensions
8223db2bdddaf3cd99f951b2291210c5fd5b0e6f
[ "MIT" ]
null
null
null
tests_app/tests/functional/key_constructor/bits/models.py
maryokhin/drf-extensions
8223db2bdddaf3cd99f951b2291210c5fd5b0e6f
[ "MIT" ]
1
2018-07-17T00:13:19.000Z
2018-07-17T00:13:19.000Z
# -*- coding: utf-8 -*- from django.db import models class KeyConstructorUserProperty(models.Model): name = models.CharField(max_length=100) class Meta: app_label = 'tests_app' class KeyConstructorUserModel(models.Model): property = models.ForeignKey(KeyConstructorUserProperty) class Meta:...
22
60
0.713068
38
352
6.473684
0.605263
0.089431
0.097561
0.138211
0.203252
0.203252
0
0
0
0
0
0.013986
0.1875
352
16
61
22
0.846154
0.059659
0
0.444444
0
0
0.054545
0
0
0
0
0
0
1
0
false
0
0.111111
0
0.777778
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
5da7c35c6f555424a35c54ce0dd94e20ac56d5b8
4,116
py
Python
ngraph_onnx/onnx_importer/utils/numeric_limits.py
cliveseldon/ngraph-onnx
a2d20afdc7acd5064e4717612ad372d864d03d3d
[ "Apache-2.0" ]
null
null
null
ngraph_onnx/onnx_importer/utils/numeric_limits.py
cliveseldon/ngraph-onnx
a2d20afdc7acd5064e4717612ad372d864d03d3d
[ "Apache-2.0" ]
null
null
null
ngraph_onnx/onnx_importer/utils/numeric_limits.py
cliveseldon/ngraph-onnx
a2d20afdc7acd5064e4717612ad372d864d03d3d
[ "Apache-2.0" ]
null
null
null
# ****************************************************************************** # Copyright 2018 Intel 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.o...
34.588235
94
0.640671
508
4,116
5.074803
0.283465
0.086889
0.037238
0.027929
0.438712
0.418154
0.418154
0.389837
0.355702
0.297517
0
0.002854
0.233722
4,116
118
95
34.881356
0.814521
0.536929
0
0.355556
0
0
0.025935
0
0
0
0
0
0
1
0.222222
false
0
0.155556
0
0.644444
0.022222
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
5da8c5b2385d6f73170c02cb6de27d3641c827fa
6,653
py
Python
amd64-linux/lib/ppc64_simple_components.py
qiyancos/Simics-3.0.31
9bd52d5abad023ee87a37306382a338abf7885f1
[ "BSD-4-Clause", "FSFAP" ]
1
2020-06-15T10:41:18.000Z
2020-06-15T10:41:18.000Z
amd64-linux/lib/ppc64_simple_components.py
qiyancos/Simics-3.0.31
9bd52d5abad023ee87a37306382a338abf7885f1
[ "BSD-4-Clause", "FSFAP" ]
null
null
null
amd64-linux/lib/ppc64_simple_components.py
qiyancos/Simics-3.0.31
9bd52d5abad023ee87a37306382a338abf7885f1
[ "BSD-4-Clause", "FSFAP" ]
3
2020-08-10T10:25:02.000Z
2021-09-12T01:12:09.000Z
## Copyright 2005-2007 Virtutech AB ## ## The contents herein are Source Code which are a subset of Licensed ## Software pursuant to the terms of the Virtutech Simics Software ## License Agreement (the "Agreement"), and are being distributed under ## the Agreement. You should have received a copy of the Agreeme...
37.587571
78
0.599579
932
6,653
4.124464
0.262876
0.081946
0.028616
0.024714
0.21488
0.159729
0.114724
0.086889
0.086889
0.086889
0
0.058848
0.284834
6,653
176
79
37.801136
0.749054
0.167143
0
0.165354
0
0
0.105857
0
0
0
0.039651
0
0
0
null
null
0
0.023622
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
5da9e73a716a3d83801c56b0312fd8f4d87f351c
385
py
Python
Front-end (Django)/course/migrations/0002_subject_number_of_questions.py
shadow0403bsr/AutomatedGradingSoftware
5031d22683a05f937615b3b8997152c285a2f930
[ "MIT" ]
null
null
null
Front-end (Django)/course/migrations/0002_subject_number_of_questions.py
shadow0403bsr/AutomatedGradingSoftware
5031d22683a05f937615b3b8997152c285a2f930
[ "MIT" ]
null
null
null
Front-end (Django)/course/migrations/0002_subject_number_of_questions.py
shadow0403bsr/AutomatedGradingSoftware
5031d22683a05f937615b3b8997152c285a2f930
[ "MIT" ]
null
null
null
# Generated by Django 3.0.1 on 2020-02-15 06:02 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('course', '0001_initial'), ] operations = [ migrations.AddField( model_name='subject', name='Number_Of_Questions', ...
20.263158
49
0.597403
41
385
5.512195
0.804878
0
0
0
0
0
0
0
0
0
0
0.072993
0.288312
385
18
50
21.388889
0.751825
0.116883
0
0
1
0
0.130178
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
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
5db0d4e1070be8121a1c33bca072f550967ebe82
6,969
py
Python
eek/spider.py
fusionbox/eek
8e962b7ad80c594a3498190fead016db826771e0
[ "BSD-2-Clause-FreeBSD" ]
5
2015-05-11T18:13:51.000Z
2021-07-17T04:53:27.000Z
eek/spider.py
fusionbox/eek
8e962b7ad80c594a3498190fead016db826771e0
[ "BSD-2-Clause-FreeBSD" ]
1
2015-03-06T20:32:14.000Z
2015-03-06T20:32:14.000Z
eek/spider.py
fusionbox/eek
8e962b7ad80c594a3498190fead016db826771e0
[ "BSD-2-Clause-FreeBSD" ]
2
2015-07-15T12:41:32.000Z
2015-10-12T21:40:14.000Z
import urlparse import csv import sys import re import collections import time import requests from eek import robotparser # this project's version from bs4 import BeautifulSoup try: import lxml except ImportError: HTML_PARSER = None else: HTML_PARSER = 'lxml' encoding_re = re.compile("charset\s*=\s*(\...
29.529661
99
0.605252
791
6,969
5.208597
0.25158
0.034709
0.01335
0.02233
0.215534
0.203155
0.129126
0.081553
0.081553
0.081553
0
0.004951
0.275506
6,969
235
100
29.655319
0.811052
0.004448
0
0.251397
0
0
0.056938
0.003889
0
0
0
0
0
0
null
null
0.039106
0.061453
null
null
0.022346
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
5db204f5af9206eceaf400a510a5e3d05316e861
2,647
py
Python
observations/r/zea_mays.py
hajime9652/observations
2c8b1ac31025938cb17762e540f2f592e302d5de
[ "Apache-2.0" ]
199
2017-07-24T01:34:27.000Z
2022-01-29T00:50:55.000Z
observations/r/zea_mays.py
hajime9652/observations
2c8b1ac31025938cb17762e540f2f592e302d5de
[ "Apache-2.0" ]
46
2017-09-05T19:27:20.000Z
2019-01-07T09:47:26.000Z
observations/r/zea_mays.py
hajime9652/observations
2c8b1ac31025938cb17762e540f2f592e302d5de
[ "Apache-2.0" ]
45
2017-07-26T00:10:44.000Z
2022-03-16T20:44:59.000Z
# -*- coding: utf-8 -*- from __future__ import absolute_import from __future__ import division from __future__ import print_function import csv import numpy as np import os import sys from observations.util import maybe_download_and_extract def zea_mays(path): """Darwin's Heights of Cross- and Self-fertilized Zea...
32.679012
74
0.705327
394
2,647
4.65736
0.532995
0.015259
0.026158
0.025068
0.055586
0
0
0
0
0
0
0.015934
0.217605
2,647
80
75
33.0875
0.870111
0.671326
0
0
0
0
0.101394
0
0
0
0
0
0
1
0.045455
false
0
0.409091
0
0.5
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
1
0
0
0
0
1
5db6309005811059a99432092acd5ed62236c399
23,282
py
Python
kvmagent/kvmagent/plugins/prometheus.py
qianfei11/zstack-utility
e791bc6b6ae3a74e202f6fce84bde498c715aee8
[ "Apache-2.0" ]
null
null
null
kvmagent/kvmagent/plugins/prometheus.py
qianfei11/zstack-utility
e791bc6b6ae3a74e202f6fce84bde498c715aee8
[ "Apache-2.0" ]
null
null
null
kvmagent/kvmagent/plugins/prometheus.py
qianfei11/zstack-utility
e791bc6b6ae3a74e202f6fce84bde498c715aee8
[ "Apache-2.0" ]
null
null
null
import os.path import threading import typing from prometheus_client import start_http_server from prometheus_client.core import GaugeMetricFamily, REGISTRY from kvmagent import kvmagent from zstacklib.utils import http from zstacklib.utils import jsonobject from zstacklib.utils import lock from zstacklib.utils impor...
36.492163
157
0.583541
2,701
23,282
4.779341
0.171788
0.017042
0.019521
0.017662
0.296692
0.17972
0.103029
0.055078
0.043613
0.032458
0
0.009802
0.307663
23,282
637
158
36.549451
0.791054
0.013616
0
0.200787
0
0.011811
0.229337
0.058454
0
0
0
0
0
0
null
null
0.001969
0.027559
null
null
0.011811
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
5dba0da51e77fecfd4eb4bbfdb42e2e652206d09
1,322
py
Python
core/migrations/0011_itemvariation_variation.py
manulangat1/djcommerce
2cd92631479ef949e0f05a255f2f50feca728802
[ "MIT" ]
1
2020-02-08T16:29:41.000Z
2020-02-08T16:29:41.000Z
core/migrations/0011_itemvariation_variation.py
manulangat1/djcommerce
2cd92631479ef949e0f05a255f2f50feca728802
[ "MIT" ]
15
2020-05-04T13:22:32.000Z
2022-03-12T00:27:28.000Z
core/migrations/0011_itemvariation_variation.py
manulangat1/djcommerce
2cd92631479ef949e0f05a255f2f50feca728802
[ "MIT" ]
1
2020-10-17T08:54:31.000Z
2020-10-17T08:54:31.000Z
# Generated by Django 2.2.6 on 2020-02-09 12:24 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('core', '0010_auto_20200130_1135'), ] operations = [ migrations.CreateModel( name='Variation', ...
34.789474
115
0.555219
126
1,322
5.698413
0.452381
0.044568
0.058496
0.091922
0.456825
0.384401
0.384401
0.384401
0.384401
0.384401
0
0.037716
0.298033
1,322
37
116
35.72973
0.735991
0.034039
0
0.387097
1
0
0.137255
0.018039
0
0
0
0
0
1
0
false
0
0.064516
0
0.16129
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
5dbe1aa985f0f74b54e5721ad988a0ced87ead89
469
py
Python
mygallary/urls.py
mangowilliam/my_gallary
4c87fe055e5c28d6ca6a27ea5bde7df380750006
[ "MIT" ]
null
null
null
mygallary/urls.py
mangowilliam/my_gallary
4c87fe055e5c28d6ca6a27ea5bde7df380750006
[ "MIT" ]
6
2021-03-19T02:06:21.000Z
2022-03-11T23:53:21.000Z
mygallary/urls.py
mangowilliam/my_gallary
4c87fe055e5c28d6ca6a27ea5bde7df380750006
[ "MIT" ]
null
null
null
from django.conf import settings from django.conf.urls.static import static from django.conf.urls import url from . import views urlpatterns = [ url('^$', views.gallary,name = 'gallary'), url(r'^search/', views.search_image, name='search_image'), url(r'^details/(\d+)',views.search_location,name ='images'...
20.391304
81
0.656716
58
469
5.206897
0.413793
0.099338
0.139073
0.119205
0
0
0
0
0
0
0
0
0.211087
469
23
82
20.391304
0.816216
0
0
0
0
0
0.104255
0
0
0
0
0
0
1
0
false
0
0.363636
0
0.363636
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
0
0
0
1
5dc01810c4c1797d877a743bdf67e61535eee657
1,914
py
Python
exercise_2/exercise_2.1.py
lukaszbinden/ethz-iacv-2020
271de804315de98b816cda3e2498958ffa87ad59
[ "MIT" ]
null
null
null
exercise_2/exercise_2.1.py
lukaszbinden/ethz-iacv-2020
271de804315de98b816cda3e2498958ffa87ad59
[ "MIT" ]
null
null
null
exercise_2/exercise_2.1.py
lukaszbinden/ethz-iacv-2020
271de804315de98b816cda3e2498958ffa87ad59
[ "MIT" ]
null
null
null
camera_width = 640 camera_height = 480 film_back_width = 1.417 film_back_height = 0.945 x_center = 320 y_center = 240 P_1 = (-0.023, -0.261, 2.376) p_11 = P_1[0] p_12 = P_1[1] p_13 = P_1[2] P_2 = (0.659, -0.071, 2.082) p_21 = P_2[0] p_22 = P_2[1] p_23 = P_2[2] p_1_prime = (52, 163) x_1 = p_1_prime[0] y_1 = p_1_pr...
23.060241
129
0.642633
484
1,914
2.02686
0.097107
0.171254
0.033639
0.024465
0.455657
0.247706
0.187564
0.167176
0.140673
0.140673
0
0.159091
0.172414
1,914
83
130
23.060241
0.460227
0.016196
0
0.105263
0
0
0.145213
0
0
0
0
0
0
1
0
false
0
0
0
0
0.175439
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
5dc1607dc008e8af7451051e5d28ffb9f945411a
998
py
Python
apps/zsh/singletons.py
codecat555/codecat555-fidgetingbits_knausj_talon
62f9be0459e6631c99d58eee97054ddd970cc5f3
[ "MIT" ]
4
2021-02-04T07:36:05.000Z
2021-07-03T06:53:30.000Z
apps/zsh/singletons.py
codecat555/codecat555-fidgetingbits_knausj_talon
62f9be0459e6631c99d58eee97054ddd970cc5f3
[ "MIT" ]
null
null
null
apps/zsh/singletons.py
codecat555/codecat555-fidgetingbits_knausj_talon
62f9be0459e6631c99d58eee97054ddd970cc5f3
[ "MIT" ]
null
null
null
# A rarely-updated module to assist in writing reload-safe talon modules using # things like threads, which are not normally safe for reloading with talon. # If this file is ever updated, you'll need to restart talon. import logging _singletons = {} def singleton(fn): name = f"{fn.__module__}.{fn.__name__}" ...
28.514286
78
0.645291
140
998
4.514286
0.621429
0.018987
0
0
0
0
0
0
0
0
0
0
0.288577
998
34
79
29.352941
0.890141
0.497996
0
0
0
0
0.179226
0.059063
0
0
0
0
0
1
0.055556
false
0.055556
0.055556
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
1
0
0
0
0
0
1
5dc4b2786f8172c270a1fc651693530424b90630
190
py
Python
python_program/condition.py
LiuKaiqiang94/PyStudyExample
b30212718b218c71e06b68677f55c33e3a1dbf46
[ "MIT" ]
5
2018-09-10T02:52:35.000Z
2018-09-20T07:50:42.000Z
python_program/condition.py
LiuKaiqiang94/PyStudyExample
b30212718b218c71e06b68677f55c33e3a1dbf46
[ "MIT" ]
null
null
null
python_program/condition.py
LiuKaiqiang94/PyStudyExample
b30212718b218c71e06b68677f55c33e3a1dbf46
[ "MIT" ]
null
null
null
def main(): val=int(input("input a num")) if val<10: print("A") elif val<20: print("B") elif val<30: print("C") else: print("D") main()
13.571429
33
0.442105
27
190
3.111111
0.62963
0.166667
0
0
0
0
0
0
0
0
0
0.05042
0.373684
190
13
34
14.615385
0.655462
0
0
0
0
0
0.079365
0
0
0
0
0
0
1
0.090909
false
0
0
0
0.090909
0.363636
1
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
0
1
5dc789560fb397b3832cccec69534dcbf26e36d2
5,902
py
Python
emilia/modules/math.py
masterisira/ELIZA_OF-master
02a7dbf48e4a3d4ee0981e6a074529ab1497aafe
[ "Unlicense" ]
null
null
null
emilia/modules/math.py
masterisira/ELIZA_OF-master
02a7dbf48e4a3d4ee0981e6a074529ab1497aafe
[ "Unlicense" ]
null
null
null
emilia/modules/math.py
masterisira/ELIZA_OF-master
02a7dbf48e4a3d4ee0981e6a074529ab1497aafe
[ "Unlicense" ]
null
null
null
from typing import List import requests from telegram import Message, Update, Bot, MessageEntity from telegram.ext import CommandHandler, run_async from emilia import dispatcher from emilia.modules.disable import DisableAbleCommandHandler from emilia.modules.helper_funcs.alternate import send_message import pynewtonmat...
35.769697
252
0.763978
803
5,902
5.43462
0.17061
0.075619
0.037809
0.082493
0.376031
0.36824
0.296517
0.296517
0.285518
0.285518
0
0.005975
0.120976
5,902
164
253
35.987805
0.835197
0
0
0.371429
0
0.021429
0.192138
0.004575
0
0
0
0
0
1
0.107143
false
0.107143
0.064286
0
0.171429
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
5dcd4858a80507237d1cda30d4f8de4336f40710
3,044
py
Python
src/views/age_results_widget.py
RubyMarsden/Crayfish
33bbb1248beec2fc40eee59e462711dd8cbc33da
[ "MIT" ]
null
null
null
src/views/age_results_widget.py
RubyMarsden/Crayfish
33bbb1248beec2fc40eee59e462711dd8cbc33da
[ "MIT" ]
8
2021-03-19T06:35:48.000Z
2021-03-31T14:23:24.000Z
src/views/age_results_widget.py
RubyMarsden/Crayfish
33bbb1248beec2fc40eee59e462711dd8cbc33da
[ "MIT" ]
null
null
null
import matplotlib from PyQt5.QtCore import Qt from PyQt5.QtWidgets import QHBoxLayout, QDialog, QPushButton, QWidget, QVBoxLayout, QLabel matplotlib.use('QT5Agg') import matplotlib.pyplot as plt from models.data_key import DataKey from utils import ui_utils class AgeResultsWidget(QWidget): def __init__(self, re...
30.747475
100
0.598555
352
3,044
4.971591
0.352273
0.052
0.038857
0.026286
0.035429
0.035429
0
0
0
0
0
0.00608
0.297635
3,044
98
101
31.061224
0.812442
0.017411
0
0.109589
0
0
0.045054
0
0
0
0
0.010204
0
1
0.068493
false
0
0.082192
0
0.232877
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
5dcfe5f1b4cd41078d4a64e401536ccb2333c29f
1,827
py
Python
shortio/utils.py
byshyk/shortio
054014b3936495c86d2e2cd6a61c3cee9ab9b0f2
[ "MIT" ]
null
null
null
shortio/utils.py
byshyk/shortio
054014b3936495c86d2e2cd6a61c3cee9ab9b0f2
[ "MIT" ]
null
null
null
shortio/utils.py
byshyk/shortio
054014b3936495c86d2e2cd6a61c3cee9ab9b0f2
[ "MIT" ]
null
null
null
"""Contains utility functions.""" BIN_MODE_ARGS = {'mode', 'buffering', } TEXT_MODE_ARGS = {'mode', 'buffering', 'encoding', 'errors', 'newline'} def split_args(args): """Splits args into two groups: open args and other args. Open args are used by ``open`` function. Other args are used by ``load``/``dum...
26.478261
74
0.603175
235
1,827
4.531915
0.259574
0.075117
0.033803
0.039437
0.298592
0.298592
0.240376
0.097653
0.097653
0.097653
0
0
0.259442
1,827
68
75
26.867647
0.78714
0.423645
0
0.166667
0
0
0.054968
0
0
0
0
0
0
1
0.208333
false
0
0
0
0.375
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
5dd62019e7ff928c4383fc35d24cbff743f0c13d
2,157
py
Python
airbyte-integrations/connectors/source-google-sheets/google_sheets_source/models/spreadsheet.py
rajatariya21/airbyte
11e70a7a96e2682b479afbe6f709b9a5fe9c4a8d
[ "MIT" ]
null
null
null
airbyte-integrations/connectors/source-google-sheets/google_sheets_source/models/spreadsheet.py
rajatariya21/airbyte
11e70a7a96e2682b479afbe6f709b9a5fe9c4a8d
[ "MIT" ]
4
2021-04-30T08:10:26.000Z
2021-04-30T13:53:34.000Z
airbyte-integrations/connectors/source-google-sheets/google_sheets_source/models/spreadsheet.py
rajatariya21/airbyte
11e70a7a96e2682b479afbe6f709b9a5fe9c4a8d
[ "MIT" ]
null
null
null
# MIT License # # Copyright (c) 2020 Airbyte # # 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 the Software without restriction, including without limitation the rights # to use, copy, modify, merge, publ...
26.62963
80
0.730644
280
2,157
5.614286
0.446429
0.05598
0.089059
0.111323
0.187659
0.187659
0.076336
0.076336
0.076336
0.076336
0
0.002327
0.20306
2,157
80
81
26.9625
0.912158
0.49096
0
0.470588
0
0
0
0
0
0
0
0
0
1
0
false
0
0.088235
0
0.794118
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
5dd6c916a8fdc58e1d4d7d9b990faa3a6330daf0
3,957
py
Python
spritecss/config.py
yostudios/Spritemapper
277cb76a14be639b6d7fa3191bc427409e72ad69
[ "MIT" ]
49
2015-01-22T14:27:32.000Z
2021-12-24T23:07:40.000Z
spritecss/config.py
tzuryby/Spritemapper
7cd3b68348a86982420b6231861fda4a0e676f35
[ "MIT" ]
2
2015-02-12T12:31:34.000Z
2015-04-12T10:43:17.000Z
spritecss/config.py
tzuryby/Spritemapper
7cd3b68348a86982420b6231861fda4a0e676f35
[ "MIT" ]
6
2015-04-03T07:29:54.000Z
2021-12-15T02:21:35.000Z
import shlex from os import path from itertools import imap, ifilter from urlparse import urljoin from .css import CSSParser, iter_events def parse_config_stmt(line, prefix="spritemapper."): line = line.strip() if line.startswith(prefix) and "=" in line: (key, value) = line.split("=", 1) return...
31.656
77
0.608036
515
3,957
4.508738
0.269903
0.05857
0.033161
0.020672
0.205857
0.147287
0.107666
0.070629
0.042205
0
0
0.002801
0.278241
3,957
124
78
31.91129
0.810224
0.014658
0
0.14
0
0
0.123044
0
0
0
0
0
0
0
null
null
0
0.08
null
null
0.06
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
5dd847419564638f2f188cabc13087183aa80082
83,813
py
Python
toontown/suit/DistributedLawbotBoss.py
SuperM0use24/TT-CL-Edition
fdad8394f0656ae122b687d603f72afafd220c65
[ "MIT" ]
null
null
null
toontown/suit/DistributedLawbotBoss.py
SuperM0use24/TT-CL-Edition
fdad8394f0656ae122b687d603f72afafd220c65
[ "MIT" ]
1
2021-06-08T17:16:48.000Z
2021-06-08T17:16:48.000Z
toontown/suit/DistributedLawbotBoss.py
SuperM0use24/TT-CL-Edition
fdad8394f0656ae122b687d603f72afafd220c65
[ "MIT" ]
3
2021-06-03T05:36:36.000Z
2021-06-22T15:07:31.000Z
from direct.showbase.ShowBase import * from direct.interval.IntervalGlobal import * from toontown.battle.BattleProps import * from direct.distributed.ClockDelta import * from direct.showbase.PythonUtil import Functor from direct.showbase.PythonUtil import StackTrace from direct.gui.DirectGui import * from panda3d.core ...
45.157866
363
0.655889
7,598
83,813
7.184522
0.143064
0.024548
0.034073
0.017751
0.296237
0.240822
0.203488
0.162069
0.141075
0.114274
0
0.016161
0.235143
83,813
1,855
364
45.18221
0.835379
0
0
0.338452
0
0.000591
0.076122
0.024352
0
0
0
0
0
0
null
null
0.005316
0.019492
null
null
0.000591
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
5ddabeb7b320c12ce5eecb63db650328a9b8e392
903
py
Python
utils/gridpeak.py
siwill22/magSA
9f3a12e6ed971d67444804cad57734dc0b4772ff
[ "MIT" ]
null
null
null
utils/gridpeak.py
siwill22/magSA
9f3a12e6ed971d67444804cad57734dc0b4772ff
[ "MIT" ]
null
null
null
utils/gridpeak.py
siwill22/magSA
9f3a12e6ed971d67444804cad57734dc0b4772ff
[ "MIT" ]
null
null
null
import numpy def gridpeak(t, X=None): # GP = GRIDPEAK(...) # gp = gridpeak(t) return gridpeaks based on Blakely # and Simpson method # gp = gridpeak(t,X) optionally remove peak values scoring less than X, # where X can be between 1 and 4. print 'shape ', t.shap...
29.129032
78
0.447398
165
903
2.448485
0.284848
0.079208
0.074257
0.059406
0.158416
0.158416
0.158416
0.158416
0.158416
0.158416
0
0.014414
0.385382
903
30
79
30.1
0.713514
0.245847
0
0
0
0
0.008889
0
0
0
0
0
0
0
null
null
0
0.055556
null
null
0.055556
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
5ddc336e8c10627292e9d9762e105aa2a19572a4
262
py
Python
Chapter 10/trackbackLog.py
Miillky/automate_the_boring_stuff_with_python
284b074b0738c66f38b54fe0fc5f69b3446e7e43
[ "MIT" ]
null
null
null
Chapter 10/trackbackLog.py
Miillky/automate_the_boring_stuff_with_python
284b074b0738c66f38b54fe0fc5f69b3446e7e43
[ "MIT" ]
null
null
null
Chapter 10/trackbackLog.py
Miillky/automate_the_boring_stuff_with_python
284b074b0738c66f38b54fe0fc5f69b3446e7e43
[ "MIT" ]
null
null
null
import traceback try: raise Exception('This is the error message.') except: errorFile = open('./Chapter 10/errorInfo.txt', 'w') errorFile.write(traceback.format_exc()) errorFile.close() print('The traceback info was written to errorInfo.txt')
32.75
60
0.709924
34
262
5.441176
0.794118
0.12973
0
0
0
0
0
0
0
0
0
0.009132
0.164122
262
8
60
32.75
0.835616
0
0
0
0
0
0.380228
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0.125
0
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
0
0
0
0
0
0
0
1
5ddf93a5acfa110cbd927feae9cad660c39b795d
926
py
Python
lesson10019_projects/pen/data/transition.py
muzudho/py-state-machine-practice
e31c066f4cf142b6b6c5ff273b56a0f89428c59e
[ "MIT" ]
null
null
null
lesson10019_projects/pen/data/transition.py
muzudho/py-state-machine-practice
e31c066f4cf142b6b6c5ff273b56a0f89428c59e
[ "MIT" ]
null
null
null
lesson10019_projects/pen/data/transition.py
muzudho/py-state-machine-practice
e31c066f4cf142b6b6c5ff273b56a0f89428c59e
[ "MIT" ]
null
null
null
from lesson14_projects.pen.data.const import ( A, E_A, E_AN, E_IS, E_OVER, E_PEN, E_PIN, E_THAT, E_THIS, E_WAS, INIT, IS, PEN, THIS, ) pen_transition_doc_v19 = { "title": "This is a pen", "entry_state": INIT, "data": { INIT: { E_OV...
19.702128
46
0.327214
93
926
2.967742
0.258065
0.163043
0.130435
0.144928
0
0
0
0
0
0
0
0.009592
0.549676
926
46
47
20.130435
0.652278
0
0
0.088889
0
0
0.035637
0
0
0
0
0
0
1
0
false
0
0.022222
0
0.022222
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
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
5de3cc8b6cc08416f6501e8a2abc20d6706d9dfa
1,037
py
Python
Keywords/__init__.py
cassie01/PumpLibrary
c2a4884a36f4c6c6552fa942143ae5d21c120b41
[ "Apache-2.0" ]
null
null
null
Keywords/__init__.py
cassie01/PumpLibrary
c2a4884a36f4c6c6552fa942143ae5d21c120b41
[ "Apache-2.0" ]
null
null
null
Keywords/__init__.py
cassie01/PumpLibrary
c2a4884a36f4c6c6552fa942143ae5d21c120b41
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- from .Alarm.alarm import Alarm from .DeliveryView.bolus import Bolus from .DeliveryView.info import Info from .DeliveryView.infusion import Infusion from .DeliveryView.infusion_parameter import InfusionParameter from .DeliveryView.priming import Priming from .HardwareControl.motor import Motor ...
31.424242
62
0.695275
94
1,037
7.56383
0.340426
0.135021
0.067511
0
0
0
0
0
0
0
0
0.001245
0.225651
1,037
32
63
32.40625
0.884184
0.020251
0
0
0
0
0.129191
0
0
0
0
0
0
1
0
false
0
0.482759
0
0.482759
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
0
0
0
1
5de3f2eb79030c2d37fe6eb8becce065096245d7
1,656
py
Python
src/responsibleai/rai_analyse/constants.py
Azure/automl-devplat2-preview
05f327fe4c2504e9d49001ce26d8b49627214138
[ "MIT" ]
7
2021-05-12T01:52:09.000Z
2021-12-22T17:22:14.000Z
src/responsibleai/rai_analyse/constants.py
Azure/automl-devplat2-preview
05f327fe4c2504e9d49001ce26d8b49627214138
[ "MIT" ]
5
2021-04-16T21:27:44.000Z
2021-04-26T03:17:44.000Z
src/responsibleai/rai_analyse/constants.py
Azure/automl-devplat2-preview
05f327fe4c2504e9d49001ce26d8b49627214138
[ "MIT" ]
null
null
null
# --------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # --------------------------------------------------------- class DashboardInfo: MODEL_ID_KEY = "id" # To match Model schema MODEL_INFO_FILENAME = "model_info.json" RAI_INSIGHTS_MODEL_...
35.234043
80
0.710145
186
1,656
5.903226
0.295699
0.210383
0.10929
0.141166
0.161202
0.065574
0
0
0
0
0
0.00072
0.161232
1,656
46
81
36
0.789777
0.259662
0
0
0
0
0.337993
0.214638
0
0
0
0
0
1
0
false
0
0
0
0.851852
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
5de7e5e6d54e182aae7ef185c563685a2425fd3b
1,211
py
Python
request_token/migrations/0009_requesttokenerror.py
alex-hutton/django-request-token
299c4cb22ce3012c7ef995a648e5b1ea6b8a84d7
[ "MIT" ]
null
null
null
request_token/migrations/0009_requesttokenerror.py
alex-hutton/django-request-token
299c4cb22ce3012c7ef995a648e5b1ea6b8a84d7
[ "MIT" ]
2
2019-11-13T22:22:41.000Z
2019-12-02T22:19:56.000Z
request_token/migrations/0009_requesttokenerror.py
hongquan/django-request-token
76a5f8fce268ff252900341c7dcd7e7d442effe1
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.10 on 2017-05-21 19:33 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('request_token', '0008_convert_token_data_to_jsonfield'), ...
44.851852
210
0.673823
142
1,211
5.549296
0.556338
0.040609
0.055838
0.083756
0.187817
0.121827
0.121827
0.121827
0.121827
0
0
0.0258
0.199835
1,211
26
211
46.576923
0.78741
0.0545
0
0
1
0
0.272329
0.079685
0
0
0
0
0
1
0
false
0
0.157895
0
0.315789
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
5de8ea4c838b0533ab68d0c0085a12cb95b9a807
896
py
Python
winter/controller.py
EvgenySmekalin/winter
24b6a02f958478547a4a120324823743a1f7e1a1
[ "MIT" ]
1
2020-03-28T14:54:28.000Z
2020-03-28T14:54:28.000Z
winter/controller.py
EvgenySmekalin/winter
24b6a02f958478547a4a120324823743a1f7e1a1
[ "MIT" ]
null
null
null
winter/controller.py
EvgenySmekalin/winter
24b6a02f958478547a4a120324823743a1f7e1a1
[ "MIT" ]
null
null
null
import typing from .core import Component _Controller = typing.TypeVar('_Controller') _ControllerType = typing.Type[_Controller] ControllerFactory = typing.NewType('ControllerFactory', typing.Callable[[typing.Type], object]) _controller_factory: typing.Optional[ControllerFactory] = None def controller(controller_cl...
30.896552
95
0.809152
91
896
7.582418
0.307692
0.197101
0.156522
0.147826
0
0
0
0
0
0
0
0
0.117188
896
28
96
32
0.872314
0
0
0
0
0
0.03125
0
0
0
0
0
0
1
0.222222
false
0
0.111111
0.055556
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
1
0
0
0
0
0
0
0
1
5deb5f7aaf6a1389fadf9c9089ff41e73863dbba
952
py
Python
libact/query_strategies/tests/test_variance_reduction.py
joequant/libact
4fbf4d59fd0d4e23858b264de2f35f674c50445b
[ "BSD-2-Clause" ]
1
2019-05-09T13:00:45.000Z
2019-05-09T13:00:45.000Z
libact/query_strategies/tests/test_variance_reduction.py
DunZhang/libact
e37e9ed6c36febe701d84b2d495c958ab02f0bc8
[ "BSD-2-Clause" ]
null
null
null
libact/query_strategies/tests/test_variance_reduction.py
DunZhang/libact
e37e9ed6c36febe701d84b2d495c958ab02f0bc8
[ "BSD-2-Clause" ]
1
2021-01-18T20:07:57.000Z
2021-01-18T20:07:57.000Z
import unittest from numpy.testing import assert_array_equal import numpy as np from libact.base.dataset import Dataset from libact.models import LogisticRegression from libact.query_strategies import VarianceReduction from .utils import run_qs class VarianceReductionTestCase(unittest.TestCase): """Variance red...
31.733333
77
0.615546
128
952
4.421875
0.414063
0.017668
0.015901
0.014134
0
0
0
0
0
0
0
0.037868
0.25105
952
29
78
32.827586
0.755961
0.055672
0
0
0
0
0.008959
0
0
0
0
0
0.095238
1
0.095238
false
0
0.333333
0
0.47619
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
0
0
0
1
5df2f0f840a2ef6d66c1e525c680fc2bedf30ceb
487
py
Python
apps/06_lolcat_factory/you_try/PRD/cat_service.py
dparito/10Apps-Python_w-Andy
77ca1ec280729a9002e49071e2f31cb5bc7b75cd
[ "MIT" ]
1
2019-04-29T17:43:22.000Z
2019-04-29T17:43:22.000Z
apps/06_lolcat_factory/you_try/PRD/cat_service.py
dparito/10Apps-Python_w-Andy
77ca1ec280729a9002e49071e2f31cb5bc7b75cd
[ "MIT" ]
null
null
null
apps/06_lolcat_factory/you_try/PRD/cat_service.py
dparito/10Apps-Python_w-Andy
77ca1ec280729a9002e49071e2f31cb5bc7b75cd
[ "MIT" ]
null
null
null
import os import shutil import requests def get_cat(folder, name): url = "http://consuming-python-services-api.azurewebsites.net/cats/random" data = get_data_from_url(url) save_image(folder, name, data) def get_data_from_url(url): response = requests.get(url, stream=True) return response.raw ...
22.136364
78
0.702259
72
487
4.597222
0.527778
0.120846
0.066465
0.084592
0.241692
0
0
0
0
0
0
0
0.176591
487
21
79
23.190476
0.825436
0
0
0
0
0
0.147844
0
0
0
0
0
0
1
0.214286
false
0
0.214286
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
5df431be7adb55ae6ec852df04ddc2566bd34906
2,411
py
Python
src/charma/media_info/manager.py
mononobi/charma-server
ed90f5ec0b5ff3996232d5fe49a4f77f96d82ced
[ "BSD-3-Clause" ]
1
2020-01-16T23:36:10.000Z
2020-01-16T23:36:10.000Z
src/charma/media_info/manager.py
mononobi/imovie-server
ed90f5ec0b5ff3996232d5fe49a4f77f96d82ced
[ "BSD-3-Clause" ]
24
2020-06-08T18:27:04.000Z
2021-06-06T12:01:39.000Z
src/charma/media_info/manager.py
mononobi/charma-server
ed90f5ec0b5ff3996232d5fe49a4f77f96d82ced
[ "BSD-3-Clause" ]
1
2020-12-20T05:29:04.000Z
2020-12-20T05:29:04.000Z
# -*- coding: utf-8 -*- """ media info manager module. """ from pyrin.core.mixin import HookMixin from pyrin.core.structs import Manager import pyrin.utils.path as path_utils from charma.media_info import MediaInfoPackage from charma.media_info.interface import AbstractMediaInfoProvider from charma.media_info.except...
28.702381
90
0.633762
255
2,411
5.890196
0.368627
0.065912
0.02996
0.037949
0
0
0
0
0
0
0
0.002934
0.293239
2,411
83
91
29.048193
0.878521
0.359602
0
0
0
0
0.026866
0
0
0
0
0
0.032258
1
0.096774
false
0
0.193548
0
0.548387
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
5dfa81c4561263d9017352c96e5be1e9f43f9cf3
2,220
py
Python
Assignment-1/Code/server3.py
pankajk22/Computer-Networks-Assignments
5c227ef59c31ab52cde160568242dbbc84482bc5
[ "MIT" ]
null
null
null
Assignment-1/Code/server3.py
pankajk22/Computer-Networks-Assignments
5c227ef59c31ab52cde160568242dbbc84482bc5
[ "MIT" ]
null
null
null
Assignment-1/Code/server3.py
pankajk22/Computer-Networks-Assignments
5c227ef59c31ab52cde160568242dbbc84482bc5
[ "MIT" ]
null
null
null
import socket import csv import traceback import threading s=socket.socket(socket.AF_INET,socket.SOCK_STREAM) usrpass={} def openfile(): filename="login_credentials.csv" with open(filename,'r')as csvfile: csv_file = csv.reader(csvfile, delimiter=",") for col in csv_file: usrpas...
23.368421
95
0.578378
271
2,220
4.697417
0.346863
0.021995
0.05106
0.054988
0.21524
0.179104
0.135114
0.056559
0.056559
0.056559
0
0.02225
0.271171
2,220
95
96
23.368421
0.764524
0.119369
0
0.209677
0
0
0.131173
0.010802
0
0
0
0
0
1
0.096774
false
0.145161
0.064516
0
0.193548
0.096774
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
b908698cf79967eaadf3686141afa64182f22f9d
4,756
py
Python
setup.py
UdoGi/dark-matter
3d49e89fa5e81f83144119f6216c5774176d203b
[ "MIT" ]
null
null
null
setup.py
UdoGi/dark-matter
3d49e89fa5e81f83144119f6216c5774176d203b
[ "MIT" ]
null
null
null
setup.py
UdoGi/dark-matter
3d49e89fa5e81f83144119f6216c5774176d203b
[ "MIT" ]
null
null
null
#!/usr/bin/env python from setuptools import setup # Modified from http://stackoverflow.com/questions/2058802/ # how-can-i-get-the-version-defined-in-setup-py-setuptools-in-my-package def version(): import os import re init = os.path.join('dark', '__init__.py') with open(init) as fp: initDat...
31.919463
75
0.603238
664
4,756
4.304217
0.399096
0.139958
0.045486
0.020994
0.069979
0.040588
0.040588
0
0
0
0
0.017701
0.204163
4,756
148
76
32.135135
0.737384
0.058452
0
0
0
0
0.637156
0.345629
0
0
0
0
0
1
0.007353
false
0
0.022059
0
0.036765
0.022059
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
b9093a206a1a67140ea6cc8087c03166f895cb37
1,732
py
Python
authenticationApp/templatetags/timetags.py
FilipBali/VirtualPortfolio-WebApplication
9236509205e37c2c682b7b2f518f5794a94fd178
[ "MIT" ]
null
null
null
authenticationApp/templatetags/timetags.py
FilipBali/VirtualPortfolio-WebApplication
9236509205e37c2c682b7b2f518f5794a94fd178
[ "MIT" ]
null
null
null
authenticationApp/templatetags/timetags.py
FilipBali/VirtualPortfolio-WebApplication
9236509205e37c2c682b7b2f518f5794a94fd178
[ "MIT" ]
null
null
null
# ====================================================================================================================== # Fakulta informacnich technologii VUT v Brne # Bachelor thesis # Author: Filip Bali (xbalif00) # License: MIT # ======================================================================================...
34.64
120
0.65127
181
1,732
6.082873
0.40884
0.043597
0.103542
0.076294
0.128974
0.128974
0.128974
0.128974
0.128974
0.128974
0
0.010589
0.127598
1,732
50
121
34.64
0.718068
0.196305
0
0.058824
0
0
0.093074
0
0
0
0
0
0
1
0.176471
false
0
0.147059
0.088235
0.588235
0.352941
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
b90f4e751b3217015ecc06286993d45ab12fc397
405
py
Python
{{ cookiecutter.repo_name }}/tests/test_environment.py
FrancisMudavanhu/cookiecutter-data-science
be766817a7399ccd714bf03d085609985fa7313a
[ "MIT" ]
null
null
null
{{ cookiecutter.repo_name }}/tests/test_environment.py
FrancisMudavanhu/cookiecutter-data-science
be766817a7399ccd714bf03d085609985fa7313a
[ "MIT" ]
null
null
null
{{ cookiecutter.repo_name }}/tests/test_environment.py
FrancisMudavanhu/cookiecutter-data-science
be766817a7399ccd714bf03d085609985fa7313a
[ "MIT" ]
null
null
null
import sys REQUIRED_PYTHON = "python3" required_major = 3 def main(): system_major = sys.version_info.major if system_major != required_major: raise TypeError( f"This project requires Python {required_major}." f" Found: Python {sys.version}") else: print(">>> ...
19.285714
62
0.632099
46
405
5.23913
0.608696
0.161826
0
0
0
0
0
0
0
0
0
0.006711
0.264198
405
20
63
20.25
0.802013
0
0
0
0
0
0.330864
0
0
0
0
0
0
1
0.076923
false
0.076923
0.076923
0
0.153846
0.076923
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
b90f54d52259df5370c156bb89c17f8368958017
1,845
py
Python
documents/aws-doc-sdk-examples/python/example_code/kda/kda-python-datagenerator-stockticker.py
siagholami/aws-documentation
2d06ee9011f3192b2ff38c09f04e01f1ea9e0191
[ "CC-BY-4.0" ]
5
2021-08-13T09:20:58.000Z
2021-12-16T22:13:54.000Z
documents/aws-doc-sdk-examples/python/example_code/kda/kda-python-datagenerator-stockticker.py
siagholami/aws-documentation
2d06ee9011f3192b2ff38c09f04e01f1ea9e0191
[ "CC-BY-4.0" ]
null
null
null
documents/aws-doc-sdk-examples/python/example_code/kda/kda-python-datagenerator-stockticker.py
siagholami/aws-documentation
2d06ee9011f3192b2ff38c09f04e01f1ea9e0191
[ "CC-BY-4.0" ]
null
null
null
# snippet-comment:[These are tags for the AWS doc team's sample catalog. Do not remove.] # snippet-sourcedescription:[kda-python-datagenerator-stockticker.py demonstrates how to generate sample data for Amazon Kinesis Data Analytics SQL applications.] # snippet-service:[kinesisanalytics] # snippet-keyword:[Python] # sn...
34.811321
162
0.720325
233
1,845
5.686695
0.579399
0.037736
0.067925
0.039245
0.047547
0
0
0
0
0
0
0.016927
0.16748
1,845
52
163
35.480769
0.845703
0.642276
0
0
1
0
0.121643
0
0
0
0
0
0
1
0.047619
false
0
0.190476
0
0.285714
0.047619
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
f8d46f993d25bd7f9f34660f23bf18928f5a3963
5,672
py
Python
module/classification_package/src/utils.py
fishial/Object-Detection-Model
4792f65ea785156a8e240d9cdbbc0c9d013ea0bb
[ "CC0-1.0" ]
1
2022-01-03T14:00:17.000Z
2022-01-03T14:00:17.000Z
module/classification_package/src/utils.py
fishial/Object-Detection-Model
4792f65ea785156a8e240d9cdbbc0c9d013ea0bb
[ "CC0-1.0" ]
null
null
null
module/classification_package/src/utils.py
fishial/Object-Detection-Model
4792f65ea785156a8e240d9cdbbc0c9d013ea0bb
[ "CC0-1.0" ]
1
2021-12-21T09:50:53.000Z
2021-12-21T09:50:53.000Z
import numpy as np import logging import numbers import torch import math import json import sys from torch.optim.lr_scheduler import LambdaLR from torchvision.transforms.functional import pad class AverageMeter(object): """Computes and stores the average and current value""" def __init__(self): sel...
33.761905
117
0.653738
799
5,672
4.439299
0.239049
0.074429
0.050747
0.035523
0.366789
0.343953
0.315478
0.290668
0.259656
0.249507
0
0.023662
0.232546
5,672
168
118
33.761905
0.791179
0.175599
0
0.125
0
0
0.027409
0
0
0
0
0
0.019231
1
0.201923
false
0
0.086538
0.009615
0.471154
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