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
1a8287bb24f4652787ef08c0f07c41db1efb2cd8
1,529
py
Python
src/sql_injection/bad_authentication.py
Enprogames/SQL-Injection-Example
6c89fd388373c58c7bfcfd3db431d33df28df30a
[ "Apache-2.0" ]
null
null
null
src/sql_injection/bad_authentication.py
Enprogames/SQL-Injection-Example
6c89fd388373c58c7bfcfd3db431d33df28df30a
[ "Apache-2.0" ]
null
null
null
src/sql_injection/bad_authentication.py
Enprogames/SQL-Injection-Example
6c89fd388373c58c7bfcfd3db431d33df28df30a
[ "Apache-2.0" ]
null
null
null
# sql_injection/bad_authentication.py from django.conf import settings from django.contrib.auth.backends import BaseBackend from django.contrib.auth.hashers import check_password from django.contrib.auth.hashers import make_password from django.contrib.auth.models import User class SettingsBackend(BaseBackend): "...
39.205128
140
0.683453
191
1,529
5.324607
0.434555
0.049164
0.066863
0.082596
0.166175
0.129794
0.06293
0
0
0
0
0.016625
0.213211
1,529
38
141
40.236842
0.828761
0.30085
0
0.090909
0
0
0.105518
0
0
0
0
0
0
1
0.090909
false
0.227273
0.227273
0
0.545455
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
1
0
0
2
1a853f3174943b2868458e3fd5209f38f6c49f91
26,053
py
Python
humaniq.py
Dexter-Maine/Eeveaem
ba9b551971d64274a7e5dd5ac87f820a96ab5060
[ "MIT" ]
null
null
null
humaniq.py
Dexter-Maine/Eeveaem
ba9b551971d64274a7e5dd5ac87f820a96ab5060
[ "MIT" ]
null
null
null
humaniq.py
Dexter-Maine/Eeveaem
ba9b551971d64274a7e5dd5ac87f820a96ab5060
[ "MIT" ]
null
null
null
#!/usr/bin/python3 import time from web3 import Web3, KeepAliveRPCProvider, IPCProvider web3 = Web3(KeepAliveRPCProvider(host='127.0.0.1', port='8545')) # Global Declarations global true global false global hmq_account_0_a global hmq_account_1_a global hmq_account_2_a global hmq_account_3_a global hmq_accou...
56.269978
3,870
0.734196
3,721
26,053
4.74953
0.062349
0.052962
0.049793
0.034855
0.690601
0.611837
0.563062
0.50116
0.469813
0.433656
0
0.027629
0.110889
26,053
463
3,871
56.269978
0.735322
0.020036
0
0.267606
0
0.035211
0.350457
0.100866
0
0
0.003353
0
0
1
0.049296
false
0.032864
0.004695
0
0.053991
0.197183
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1a854f27f0f56d7e922198cf9ddc37bf19fd9e75
731
py
Python
translations/en.py
fossabot/snips-app-say-it-again
9a73575667ce4958c989b8ee8fa49cf64cde09a8
[ "MIT" ]
7
2018-12-01T15:00:05.000Z
2019-03-21T22:11:00.000Z
translations/en.py
fossabot/snips-app-say-it-again
9a73575667ce4958c989b8ee8fa49cf64cde09a8
[ "MIT" ]
15
2018-12-23T14:39:32.000Z
2020-02-01T18:59:15.000Z
translations/en.py
fossabot/snips-app-say-it-again
9a73575667ce4958c989b8ee8fa49cf64cde09a8
[ "MIT" ]
10
2018-12-21T20:52:22.000Z
2020-03-30T19:05:10.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ This module contains the result sentences and intents for the English version of the Say it again skill. """ # Result sentences RESULT_SAY_SORRY = "Sorry, I don't remember what I said. I must have fallen asleep." RESULT_TEXT_SORRY = "Sorry, I don't remember what you s...
38.473684
90
0.753762
117
731
4.555556
0.478632
0.045028
0.061914
0.078799
0.315197
0.275797
0.232645
0.131332
0
0
0
0.006339
0.136799
731
18
91
40.611111
0.838352
0.236662
0
0
0
0
0.628885
0.164534
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
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
1a85a960a6472eb85416df8f920eee65f1eef307
65
py
Python
authentication/account/__init__.py
vo0doO/pydj-persweb
efcd6b7090230f7c0b9ec056008f6d1d9e876ed9
[ "CC0-1.0" ]
null
null
null
authentication/account/__init__.py
vo0doO/pydj-persweb
efcd6b7090230f7c0b9ec056008f6d1d9e876ed9
[ "CC0-1.0" ]
4
2020-05-06T17:22:00.000Z
2021-12-13T20:43:30.000Z
authentication/account/__init__.py
vo0doO/pydj-persweb
efcd6b7090230f7c0b9ec056008f6d1d9e876ed9
[ "CC0-1.0" ]
null
null
null
default_app_config = 'authentication.account.apps.AccountConfig'
32.5
64
0.861538
7
65
7.714286
1
0
0
0
0
0
0
0
0
0
0
0
0.046154
65
1
65
65
0.870968
0
0
0
0
0
0.630769
0.630769
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
1a85f5e8e7e8c3eb8c8d249a4d30db324f44895e
1,065
py
Python
dlib/tools/python/test/generate_numpy_returns_test_data.py
asm-jaime/facerec
e5e101b9f478168ead179e6b08b5605ea7607da2
[ "CC0-1.0" ]
11,719
2015-01-03T22:38:57.000Z
2022-03-30T21:45:04.000Z
tools/python/test/generate_numpy_returns_test_data.py
KiLJ4EdeN/dlib
eb1f08ce6ab3ca6f9d10425d899103de3c0df56c
[ "BSL-1.0" ]
2,518
2015-01-04T04:38:06.000Z
2022-03-31T11:55:43.000Z
tools/python/test/generate_numpy_returns_test_data.py
KiLJ4EdeN/dlib
eb1f08ce6ab3ca6f9d10425d899103de3c0df56c
[ "BSL-1.0" ]
3,308
2015-01-01T14:34:16.000Z
2022-03-31T07:20:07.000Z
#!/usr/bin/python # The contents of this file are in the public domain. See LICENSE_FOR_EXAMPLE_PROGRAMS.txt # # This utility generates the test data required for the tests contained in test_numpy_returns.py # # Also note that this utility requires Numpy which can be installed # via the command: # pip insta...
32.272727
98
0.738028
166
1,065
4.524096
0.578313
0.093209
0.039947
0.050599
0.082557
0.082557
0
0
0
0
0
0.012304
0.160563
1,065
33
99
32.272727
0.82774
0.293897
0
0
1
0
0.410738
0.166443
0
0
0
0
0
1
0
false
0
0.210526
0
0.210526
0.052632
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1a85fcc456833de5c744c6e5ff7017326cb330f4
788
py
Python
Chapter 4/4-2.py
Nolazco1/pythonProjects
33938487cb2e4771ea4ff6716703868844d04e52
[ "MIT" ]
null
null
null
Chapter 4/4-2.py
Nolazco1/pythonProjects
33938487cb2e4771ea4ff6716703868844d04e52
[ "MIT" ]
null
null
null
Chapter 4/4-2.py
Nolazco1/pythonProjects
33938487cb2e4771ea4ff6716703868844d04e52
[ "MIT" ]
null
null
null
# This program assists a technician in the process # of checking a substance's temperature. # Nmaed constant to represent the maximum # temperature. MAX_TEMP = 102.5 # Get the substance's temperature. temperature = float(input("Enter the subtance's Celsius temperature: ")) # As long as necessary, instruct ...
32.833333
73
0.717005
110
788
5.118182
0.490909
0.099467
0.0746
0.092362
0.10302
0
0
0
0
0
0
0.014241
0.19797
788
23
74
34.26087
0.876582
0.38198
0
0
0
0
0.555066
0
0
0
0
0
0
1
0
false
0
0
0
0
0.6
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
1a89418df5aafa2cea0e5892d56ee2b5f2a950c1
9,495
py
Python
custom/aaa/tests/test_eligible_couple_query_helper.py
dannyroberts/commcare-hq
4b0b8ecbe851e46307d3a0e635d6d5d6e31c3598
[ "BSD-3-Clause" ]
null
null
null
custom/aaa/tests/test_eligible_couple_query_helper.py
dannyroberts/commcare-hq
4b0b8ecbe851e46307d3a0e635d6d5d6e31c3598
[ "BSD-3-Clause" ]
null
null
null
custom/aaa/tests/test_eligible_couple_query_helper.py
dannyroberts/commcare-hq
4b0b8ecbe851e46307d3a0e635d6d5d6e31c3598
[ "BSD-3-Clause" ]
null
null
null
from __future__ import absolute_import from __future__ import unicode_literals from datetime import date from django.test.testcases import TestCase from custom.aaa.dbaccessors import EligibleCoupleQueryHelper from custom.aaa.models import Child, Woman, WomanHistory from six.moves import range class TestEligibleCou...
37.98
108
0.562717
877
9,495
5.873432
0.148233
0.044263
0.051252
0.038827
0.73112
0.702
0.682586
0.676762
0.676762
0.664725
0
0.039778
0.316904
9,495
249
109
38.13253
0.754394
0
0
0.625
0
0
0.208741
0.067404
0
0
0
0
0.066964
1
0.071429
false
0
0.03125
0.004464
0.125
0
0
0
0
null
0
0
0
0
1
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
2
1a89de4b46f00e88cfbed3e6547fad63b83b5448
31,473
py
Python
sapextractor/algo/prod/obj_centr_log.py
aarkue/sap-meta-explorer
613bf657bbaa72a3781a84664e5de7626516532f
[ "Apache-2.0" ]
null
null
null
sapextractor/algo/prod/obj_centr_log.py
aarkue/sap-meta-explorer
613bf657bbaa72a3781a84664e5de7626516532f
[ "Apache-2.0" ]
null
null
null
sapextractor/algo/prod/obj_centr_log.py
aarkue/sap-meta-explorer
613bf657bbaa72a3781a84664e5de7626516532f
[ "Apache-2.0" ]
null
null
null
import pandas as pd from dateutil import parser from pm4pymdl.objects.mdl.exporter import exporter as mdl_exporter from pm4pymdl.objects.ocel.exporter import exporter as ocel_exporter from sapextractor.utils.dates import timestamp_column_from_dt_tm from pandas.core.frame import DataFrame from sapextractor.database_conn...
71.205882
293
0.722302
3,892
31,473
5.457091
0.079394
0.055558
0.026932
0.047648
0.712275
0.616366
0.49814
0.423655
0.345591
0.308395
0
0.006957
0.114002
31,473
441
294
71.367347
0.754707
0.127951
0
0.174051
0
0.012658
0.264639
0.048249
0
0
0
0.002268
0
1
0.006329
false
0
0.022152
0
0.031646
0.246835
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1a8c55fdde1ff4ebdfeb884f8d8ccf37742a0471
2,676
py
Python
src/tempgen/parsers/docx.py
k5md/Templated-Generator
f3cd2bc6c7de6f68fa1e5835471e8eaa9163d530
[ "MIT" ]
null
null
null
src/tempgen/parsers/docx.py
k5md/Templated-Generator
f3cd2bc6c7de6f68fa1e5835471e8eaa9163d530
[ "MIT" ]
null
null
null
src/tempgen/parsers/docx.py
k5md/Templated-Generator
f3cd2bc6c7de6f68fa1e5835471e8eaa9163d530
[ "MIT" ]
null
null
null
import docx from tempgen.parsers.parser import AbstractParser class Parser(AbstractParser): def paragraph_replace_text(self, paragraph, str, replace_str): ''' https://github.com/python-openxml/python-docx/issues/30#issuecomment-881106471 ''' count = 0 search_pos = 0 ...
39.940299
125
0.563901
312
2,676
4.676282
0.24359
0.057574
0.047978
0.047978
0.201508
0.190541
0.05072
0.05072
0.05072
0.05072
0
0.009029
0.337818
2,676
67
126
39.940299
0.814334
0.029148
0
0.271186
0
0
0.013592
0
0
0
0
0
0
1
0.084746
false
0
0.033898
0
0.169492
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1a8e5dbcf98db15a0749e18b881fa87a7833778c
523
py
Python
Contract/models.py
Hyped-247/rp
9e3c6287ec2a183998f6ddadc20153736bbefaf3
[ "MIT" ]
null
null
null
Contract/models.py
Hyped-247/rp
9e3c6287ec2a183998f6ddadc20153736bbefaf3
[ "MIT" ]
null
null
null
Contract/models.py
Hyped-247/rp
9e3c6287ec2a183998f6ddadc20153736bbefaf3
[ "MIT" ]
null
null
null
from django.db import models from Apt.models import Apt from Owner.models import Owner from Renter.models import Renter class Contract(models.Model): owner = models.ForeignKey(Owner) renter = models.ForeignKey(Renter) apt = models.ForeignKey(Apt) active = models.BooleanField(default=True) start_d...
27.526316
54
0.745698
66
523
5.848485
0.469697
0.093264
0.098446
0
0
0
0
0
0
0
0
0.020548
0.162524
523
18
55
29.055556
0.860731
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.285714
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
1a90e4197c82e64e65616870e1cd90e24176a9dd
466
py
Python
tf/easytensorflow.py
mutazag/mdsi_deeplearn
45776b3ec3ed952d59477c5f29e444c4de277f11
[ "MIT" ]
null
null
null
tf/easytensorflow.py
mutazag/mdsi_deeplearn
45776b3ec3ed952d59477c5f29e444c4de277f11
[ "MIT" ]
null
null
null
tf/easytensorflow.py
mutazag/mdsi_deeplearn
45776b3ec3ed952d59477c5f29e444c4de277f11
[ "MIT" ]
null
null
null
# https://github.com/easy-tensorflow/easy-tensorflow/blob/master/1_TensorFlow_Basics/Tutorials/1_Graph_and_Session.ipynb #%% import tensorflow as tf # tf.disable_eager_execution() #%% a = 2 b = 3 c = tf.add(a, b, name='Add') print(c) #%% # to run the graph, put it in a session and run sess = tf.Session() print(s...
13.314286
120
0.665236
77
466
3.935065
0.532468
0.092409
0.079208
0.085809
0
0
0
0
0
0
0
0.010309
0.167382
466
34
121
13.705882
0.770619
0.521459
0
0.181818
0
0
0.028708
0
0
0
0
0
0
1
0
false
0
0.090909
0
0.090909
0.363636
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1a92064954db18af7514af8bb12eb3b5c7406db8
639
py
Python
msk/consumer.py
wingkwong/aws-playground
5d395bb63e6f47bb4a536bab9e34ca0744e79c5d
[ "MIT" ]
1
2021-09-10T05:21:39.000Z
2021-09-10T05:21:39.000Z
msk/consumer.py
wingkwong/aws-playground
5d395bb63e6f47bb4a536bab9e34ca0744e79c5d
[ "MIT" ]
null
null
null
msk/consumer.py
wingkwong/aws-playground
5d395bb63e6f47bb4a536bab9e34ca0744e79c5d
[ "MIT" ]
null
null
null
from kafka import KafkaConsumer from json import loads # Define Amazon MSK Brokers brokers=['<YOUR_MSK_BROKER_1>:9092', '<YOUR_MSK_BROKER_2>:9092'] # Define Kafka topic to be consumed from kafka_topic='<YOUR_KAFKA_TOPIC>' # A Kafka client that consumes records from a Kafka cluster consumer = KafkaConsumer( ...
31.95
64
0.690141
83
639
5.108434
0.60241
0.09434
0.061321
0
0
0
0
0
0
0
0
0.021912
0.214398
639
19
65
33.631579
0.822709
0.192488
0
0
0
0
0.173828
0.09375
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0.071429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1a9611f6590b2309ddd6925053805e4c14110715
12,176
py
Python
MNIST_VAE.py
federicobergamin/Variational-Autoencoders
6cae335c82ec55aa5fa9f260e7daa2ad6ace453e
[ "MIT" ]
1
2019-12-23T12:12:13.000Z
2019-12-23T12:12:13.000Z
MNIST_VAE.py
federicobergamin/Variational-Autoencoders
6cae335c82ec55aa5fa9f260e7daa2ad6ace453e
[ "MIT" ]
null
null
null
MNIST_VAE.py
federicobergamin/Variational-Autoencoders
6cae335c82ec55aa5fa9f260e7daa2ad6ace453e
[ "MIT" ]
null
null
null
''' We are going to learn a latent space and a generative model for the MNIST dataset. ''' import numpy as np import torch import torch.utils import torch.utils.data from torch.utils.tensorboard import SummaryWriter import torchvision import torch.nn.functional as F from torchvision import datasets, transforms, utils...
37.931464
185
0.634938
1,587
12,176
4.686831
0.200378
0.020973
0.02541
0.015058
0.364076
0.323609
0.273998
0.261495
0.244421
0.229901
0
0.024639
0.243348
12,176
320
186
38.05
0.782698
0.224622
0
0.267327
0
0
0.127088
0.050749
0
0
0
0
0
1
0.009901
false
0
0.059406
0
0.069307
0.059406
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1a965592916f1ea93fda3c740173e3525efb4396
513
py
Python
sqrt_test.py
patrickjwolf/lambdata
10098611d4a074ab6685a14eb1d3ef183975e814
[ "MIT" ]
null
null
null
sqrt_test.py
patrickjwolf/lambdata
10098611d4a074ab6685a14eb1d3ef183975e814
[ "MIT" ]
null
null
null
sqrt_test.py
patrickjwolf/lambdata
10098611d4a074ab6685a14eb1d3ef183975e814
[ "MIT" ]
null
null
null
import unittest from sqrt import lazy_sqrt, builtin_sqrt, newton_sqrt1 class SqrtTests(unittest.TestCase): """obligatory docstring, tests square root functions""" def test_sqrt9(self): self.assertEqual(newton_sqrt1(9), 3) self.assertEqual(lazy_sqrt(9), 3) def test_sqrt2(self): ...
28.5
61
0.68616
62
513
5.403226
0.564516
0.098507
0
0
0
0
0
0
0
0
0
0.049383
0.210526
513
18
62
28.5
0.777778
0.095517
0
0
0
0
0.0181
0
0
0
0
0
0.230769
1
0.230769
false
0.076923
0.153846
0
0.538462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
1a97c3f3a52c4076a37c5647166b601d480b1378
5,202
py
Python
examples/allennlp/allennlp_simple.py
kevtran23/optuna
4f2fa9c60d9a216ff3cfbc0f3ca12cb32ff53434
[ "MIT" ]
null
null
null
examples/allennlp/allennlp_simple.py
kevtran23/optuna
4f2fa9c60d9a216ff3cfbc0f3ca12cb32ff53434
[ "MIT" ]
null
null
null
examples/allennlp/allennlp_simple.py
kevtran23/optuna
4f2fa9c60d9a216ff3cfbc0f3ca12cb32ff53434
[ "MIT" ]
null
null
null
""" Optuna example that optimizes a classifier configuration for IMDB movie review dataset. This script is based on the example of allentune (https://github.com/allenai/allentune). In this example, we optimize the validation accuracy of sentiment classification using AllenNLP. Since it is too time-consuming to use the...
33.133758
113
0.716455
649
5,202
5.546995
0.360555
0.023333
0.0075
0.010833
0.147222
0.112222
0.076667
0.076667
0.076667
0.065
0
0.016321
0.175509
5,202
156
114
33.346154
0.823036
0.16436
0
0.018868
0
0.028302
0.106368
0
0
0
0
0
0
1
0.04717
false
0
0.113208
0
0.198113
0.04717
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1a989a264435ff4aa2d09487fe41bd4339c5d13b
4,145
pyp
Python
bootstrapper.pyp
NiklasRosenstein/c4ddocs
9be4efba47d0dbd5787622933b21fdcf8fb5272e
[ "MIT" ]
29
2017-03-10T18:00:11.000Z
2021-02-22T22:56:36.000Z
bootstrapper.pyp
NiklasRosenstein/c4ddev
9be4efba47d0dbd5787622933b21fdcf8fb5272e
[ "MIT" ]
17
2017-04-26T14:13:49.000Z
2018-07-07T21:37:35.000Z
bootstrapper.pyp
NiklasRosenstein/c4ddocs
9be4efba47d0dbd5787622933b21fdcf8fb5272e
[ "MIT" ]
5
2017-07-21T22:24:15.000Z
2020-08-17T05:51:19.000Z
# localimport-v1.7.3-blob-mcw99 import base64 as b, types as t, zlib as z; m=t.ModuleType('localimport'); m.__file__ = __file__; blob=b'\ eJydWUuP20YSvutXEMiBpIfmeOLDAkJo7GaRAMEGORiLPUQrEBTVkumhSKK75Uhj5L+nHv2iSNpyfBiTXY+uqq76qpoqy+qsP\ /SyLIv4t+a5rVT0vleiU1o0XfSDdM8dEf95PFVNm9f96V28KstPQqqm71D4Kf9H/jZeNaehlzqq++Fqn49t...
61.865672
99
0.895537
268
4,145
13.716418
0.723881
0.014146
0.009793
0.01197
0.021219
0.021219
0.021219
0.021219
0
0
0
0.12317
0.04415
4,145
66
100
62.80303
0.804644
0.039566
0
0.035714
0
0
0.016348
0
0
1
0
0
0
1
0.017857
false
0
0.160714
0
0.214286
0
0
0
1
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
1
0
0
0
0
0
0
0
0
0
0
0
0
2
1a98b5e99f3f08c40346d868f154e3474a9471fd
703
py
Python
main/increasing-order-search-tree/increasing-order-search-tree.py
EliahKagan/old-practice-snapshot
1b53897eac6902f8d867c8f154ce2a489abb8133
[ "0BSD" ]
null
null
null
main/increasing-order-search-tree/increasing-order-search-tree.py
EliahKagan/old-practice-snapshot
1b53897eac6902f8d867c8f154ce2a489abb8133
[ "0BSD" ]
null
null
null
main/increasing-order-search-tree/increasing-order-search-tree.py
EliahKagan/old-practice-snapshot
1b53897eac6902f8d867c8f154ce2a489abb8133
[ "0BSD" ]
null
null
null
# Definition for a binary tree node. # class TreeNode: # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution: def increasingBST(self, root: TreeNode) -> TreeNode: head = TreeNode(None) link = head def dfs(subroot :...
26.037037
56
0.479374
69
703
4.826087
0.405797
0.081081
0.096096
0
0
0
0
0
0
0
0
0
0.445235
703
26
57
27.038462
0.853846
0.211949
0
0
0
0
0
0
0
0
0
0
0
1
0.133333
false
0
0
0
0.266667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1a9922af72c1516621850ee44f2b5c699c589d4b
2,715
py
Python
src/lex.py
urlordjames/pointysnake
cac720068d55ffec8e7b220285e460faf6ceaa3e
[ "MIT" ]
1
2020-07-12T14:20:58.000Z
2020-07-12T14:20:58.000Z
src/lex.py
urlordjames/pointysnake
cac720068d55ffec8e7b220285e460faf6ceaa3e
[ "MIT" ]
5
2020-07-16T15:58:41.000Z
2020-07-24T01:42:59.000Z
src/lex.py
urlordjames/pointysnake
cac720068d55ffec8e7b220285e460faf6ceaa3e
[ "MIT" ]
null
null
null
def lex(filename): f = open(filename, "r") src = f.read() f.close() lines = src.split("\n") newlines = [] for line in lines: if len(line) < 1 or line[0] == "#": continue newlines.append(line) tokens = [] for line in newlines: tokens.append(toke...
28.882979
92
0.467403
270
2,715
4.67037
0.318519
0.057098
0.061063
0.099921
0.199841
0.149881
0.118953
0.118953
0.053925
0
0
0.023745
0.317495
2,715
93
93
29.193548
0.656773
0
0
0.130952
0
0
0.150645
0.007735
0
0
0
0
0.011905
1
0.02381
false
0
0.011905
0
0.059524
0.011905
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1a9934c641a8e06786f568b40c4021e92eb93c05
7,678
py
Python
__init__.py
wailord90/Capstone
5d82339e31905f5c7ef3131f15526d9bc29f0a98
[ "Apache-2.0" ]
1
2019-03-14T19:29:55.000Z
2019-03-14T19:29:55.000Z
__init__.py
wailord90/Capstone
5d82339e31905f5c7ef3131f15526d9bc29f0a98
[ "Apache-2.0" ]
null
null
null
__init__.py
wailord90/Capstone
5d82339e31905f5c7ef3131f15526d9bc29f0a98
[ "Apache-2.0" ]
2
2019-02-09T21:13:50.000Z
2019-03-14T21:03:52.000Z
from flask_bootstrap import Bootstrap # from pipenv.vendor.dotenv import load_dotenv from flask import Flask, render_template, request, jsonify, redirect, Response import os import thread import json import pprint import pusher import cv2 import sys import numpy import time import serial from time_convert import pretty...
33.973451
165
0.586481
881
7,678
4.968218
0.323496
0.003655
0.010966
0.012337
0.205392
0.163582
0.134339
0.134339
0.130226
0.110121
0
0.032564
0.300078
7,678
225
166
34.124444
0.781913
0.130112
0
0.26087
0
0
0.124868
0.031292
0
0
0
0
0
0
null
null
0.018634
0.10559
null
null
0.018634
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
1a99b203e16bffe37d41eec19674afc04eae9420
129
py
Python
djatracker/data/admin.py
na0495/Djatracker
1a7a57897b87b70c1543ed6f4ab4e3b02a7da899
[ "MIT" ]
null
null
null
djatracker/data/admin.py
na0495/Djatracker
1a7a57897b87b70c1543ed6f4ab4e3b02a7da899
[ "MIT" ]
null
null
null
djatracker/data/admin.py
na0495/Djatracker
1a7a57897b87b70c1543ed6f4ab4e3b02a7da899
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import MappingData # Register your models here. admin.site.register(MappingData)
18.428571
32
0.813953
17
129
6.176471
0.647059
0
0
0
0
0
0
0
0
0
0
0
0.124031
129
6
33
21.5
0.929204
0.20155
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
1a9abd84e1be3db2d14bf1598d2908aacba99eaf
417
py
Python
DailyChallenge/LC_198.py
iphyer/LeetcodeSummary
ad5229bbb8e76083e5c7f0312fa0c8ff78d516a9
[ "MIT" ]
null
null
null
DailyChallenge/LC_198.py
iphyer/LeetcodeSummary
ad5229bbb8e76083e5c7f0312fa0c8ff78d516a9
[ "MIT" ]
null
null
null
DailyChallenge/LC_198.py
iphyer/LeetcodeSummary
ad5229bbb8e76083e5c7f0312fa0c8ff78d516a9
[ "MIT" ]
null
null
null
class Solution: def rob(self, nums: List[int]) -> int: # DP # dp[i]: the max value until house i dp = [0] * len(nums) N = len(nums) if N == 1: return nums[0] if N == 2: return max(nums[0], nums[1]) dp[0] = nums[0] dp[1] = max(nums[0], nums[1]) ...
29.785714
51
0.446043
72
417
2.583333
0.347222
0.064516
0.086022
0.129032
0.139785
0
0
0
0
0
0
0.057252
0.371703
417
13
52
32.076923
0.652672
0.088729
0
0
0
0
0
0
0
0
0
0
0
1
0.090909
false
0
0
0
0.272727
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1a9bf2335bf26bc4c9f9e7623fc0e9e3be656abc
3,381
py
Python
experiment_basic.py
caranha/GDMC_experiments
9cbef15c5fe2cb1703535586aded0cde5112cd3e
[ "MIT" ]
null
null
null
experiment_basic.py
caranha/GDMC_experiments
9cbef15c5fe2cb1703535586aded0cde5112cd3e
[ "MIT" ]
null
null
null
experiment_basic.py
caranha/GDMC_experiments
9cbef15c5fe2cb1703535586aded0cde5112cd3e
[ "MIT" ]
null
null
null
import random import interfaceUtils # Add text to a sign def setSignText(x, y, z, line1 = "", line2 = "", line3 = "", line4 = ""): l1 = 'Text1:\'{"text":"'+line1+'"}\'' l2 = 'Text2:\'{"text":"'+line2+'"}\'' l3 = 'Text3:\'{"text":"'+line3+'"}\'' l4 = 'Text4:\'{"text":"'+line4+'"}\'' blockNBT = "{"+...
33.81
100
0.572316
436
3,381
4.426606
0.389908
0.012435
0.018135
0.029016
0.082383
0.040415
0.040415
0.040415
0
0
0
0.041387
0.24963
3,381
99
101
34.151515
0.719354
0.18249
0
0
0
0
0.196207
0.032093
0
0
0
0.010101
0
1
0.047619
false
0
0.031746
0
0.095238
0.015873
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
1a9d1bf580afd0ee0a24298894018f257f2969f5
351
py
Python
MyGame/code/constants.py
Chad474/2dPyGame
22d2c19a5407fa4b539b772facfc5c08e6860ddd
[ "MIT" ]
null
null
null
MyGame/code/constants.py
Chad474/2dPyGame
22d2c19a5407fa4b539b772facfc5c08e6860ddd
[ "MIT" ]
null
null
null
MyGame/code/constants.py
Chad474/2dPyGame
22d2c19a5407fa4b539b772facfc5c08e6860ddd
[ "MIT" ]
null
null
null
import pygame TITLE = 'Gravity' BLOCK_SIZE = 32 SCREEN_WIDTH = 1024 # 32 * 32 SCREEN_HEIGHT = 576 # 32* 18 SCREEN = pygame.display.set_mode((SCREEN_WIDTH, SCREEN_HEIGHT)) COLOR_KEY = (200,0,200) MAX_FPS = 60 def split(frame, x, y, w, h): img = pygame.Surface([w, h]) img.blit(frame, (0,0), (x...
18.473684
64
0.612536
57
351
3.631579
0.596491
0.028986
0.028986
0.038647
0
0
0
0
0
0
0
0.105263
0.242165
351
18
65
19.5
0.672932
0.039886
0
0
0
0
0.022222
0
0
0
0
0
0
1
0.083333
false
0
0.083333
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1a9d7cda48b1e296206076d3d46cfc71b4de07c2
1,852
py
Python
ytdlscript.py
antsareflying/ytdlscript
e03e965bfab1b7148982ea9fef04d06b6b5a84c1
[ "MIT" ]
null
null
null
ytdlscript.py
antsareflying/ytdlscript
e03e965bfab1b7148982ea9fef04d06b6b5a84c1
[ "MIT" ]
null
null
null
ytdlscript.py
antsareflying/ytdlscript
e03e965bfab1b7148982ea9fef04d06b6b5a84c1
[ "MIT" ]
null
null
null
""" MIT License Copyright (c) 2021 Moon Seongmu 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, ...
38.583333
418
0.759179
287
1,852
4.885017
0.560976
0.062767
0.023538
0.038516
0.064194
0.064194
0
0
0
0
0
0.003778
0.142549
1,852
47
419
39.404255
0.879093
0.576674
0
0.142857
0
0.071429
0.572351
0.224806
0
0
0
0
0
1
0.071429
false
0
0.214286
0.071429
0.357143
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1a9dcbe44706cc17ddb463f1054c5280c08ef119
36,033
py
Python
grid_generator/body_fitted_grid_generator.py
Mayu14/2D_comp_viscos
a62633d8684b218b52e39d47a13717a1edfa4a46
[ "MIT" ]
1
2020-05-08T18:00:28.000Z
2020-05-08T18:00:28.000Z
grid_generator/body_fitted_grid_generator.py
Mayu14/2D_comp_viscos
a62633d8684b218b52e39d47a13717a1edfa4a46
[ "MIT" ]
null
null
null
grid_generator/body_fitted_grid_generator.py
Mayu14/2D_comp_viscos
a62633d8684b218b52e39d47a13717a1edfa4a46
[ "MIT" ]
1
2020-02-20T09:26:27.000Z
2020-02-20T09:26:27.000Z
# coding: utf-8 from math import sqrt from scipy import interpolate from scipy.spatial import Delaunay import numpy as np from numpy.linalg import norm from naca_4digit_test import Naca_4_digit, Naca_5_digit from joukowski_wing import joukowski_wing_complex, karman_trefftz_wing_complex import matplotlib.pyplot as plt i...
38.537968
219
0.532512
5,149
36,033
3.568266
0.096329
0.016981
0.007838
0.014369
0.41893
0.351657
0.288684
0.241496
0.191313
0.169216
0
0.062446
0.322704
36,033
935
220
38.537968
0.690309
0.062193
0
0.25
0
0
0.016842
0.00663
0
0
0
0
0
1
0.073308
false
0
0.016917
0.015038
0.18985
0.007519
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1a9e25b8e38841c4bac70ac6ccb33656070cf168
868
py
Python
slot/d/water.py
smashwidget/dl-1
352a65b9e40a623d7a9e5a693fa2b412f27d8cff
[ "Apache-2.0" ]
null
null
null
slot/d/water.py
smashwidget/dl-1
352a65b9e40a623d7a9e5a693fa2b412f27d8cff
[ "Apache-2.0" ]
null
null
null
slot/d/water.py
smashwidget/dl-1
352a65b9e40a623d7a9e5a693fa2b412f27d8cff
[ "Apache-2.0" ]
null
null
null
from slot import * class Leviathan(DragonBase): ele = 'water' att = 125 a = [('a', 0.6)] class Siren(DragonBase): ele = 'water' att = 125 a = [('s', 0.9), ('a', 0.2)] class Dragonyule_Jeanne(DragonBase): ele = 'water' att = 125 a = [('a', 0.30), ('cc', 0.15)] DJ = Dragonyule_Jeann...
20.186047
45
0.559908
118
868
4.050847
0.381356
0.217573
0.301255
0.351464
0.330544
0.330544
0.225941
0.225941
0
0
0
0.087963
0.253456
868
43
46
20.186047
0.649691
0
0
0.4
0
0
0.097814
0
0
0
0
0
0
1
0
false
0
0.028571
0
0.942857
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
4
1a9e2fd106422503a1e5fac850661d45c2df7299
4,238
py
Python
cmp/gnfa.py
kikeXD/Grammar-Analyser
ca8f35c0e36e3d8181dab78bb0231e101f953437
[ "MIT" ]
1
2020-02-13T16:52:57.000Z
2020-02-13T16:52:57.000Z
cmp/gnfa.py
kikeXD/Grammar-Analyser
ca8f35c0e36e3d8181dab78bb0231e101f953437
[ "MIT" ]
null
null
null
cmp/gnfa.py
kikeXD/Grammar-Analyser
ca8f35c0e36e3d8181dab78bb0231e101f953437
[ "MIT" ]
1
2020-02-13T16:44:26.000Z
2020-02-13T16:44:26.000Z
from cmp.regex import Regex from cmp.nfa_dfa import NFA import pydot from pprint import pprint class GNFA: def __init__(self, nfa :NFA): self.nfa = nfa self.states = nfa.states + 2 self.start = 0 self.finals = [nfa.states + 1] self.transitions = { state: {} for state in rang...
37.175439
119
0.51345
489
4,238
4.386503
0.186094
0.125874
0.065268
0.068531
0.386946
0.265268
0.217716
0.100699
0.044755
0
0
0.012141
0.35866
4,238
114
120
37.175439
0.777042
0.173903
0
0.135135
0
0
0.020684
0
0
0
0
0
0.013514
1
0.081081
false
0.013514
0.054054
0.013514
0.22973
0.013514
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1a9e301a01427b553ef254d21db7775e0f228100
4,203
py
Python
python/venv/lib/python2.7/site-packages/openstackclient/tests/image/v2/fakes.py
sjsucohort6/openstack
8471e6e599c3f52319926a582358358ef84cbadb
[ "MIT" ]
null
null
null
python/venv/lib/python2.7/site-packages/openstackclient/tests/image/v2/fakes.py
sjsucohort6/openstack
8471e6e599c3f52319926a582358358ef84cbadb
[ "MIT" ]
null
null
null
python/venv/lib/python2.7/site-packages/openstackclient/tests/image/v2/fakes.py
sjsucohort6/openstack
8471e6e599c3f52319926a582358358ef84cbadb
[ "MIT" ]
null
null
null
# Copyright 2013 Nebula Inc. # # 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...
27.116129
121
0.520343
414
4,203
5.188406
0.415459
0.0554
0.011639
0.013966
0.111266
0.084264
0.048883
0.048883
0.01257
0.01257
0
0.020349
0.34523
4,203
154
122
27.292208
0.760174
0.145848
0
0.232
0
0.008
0.25399
0.034444
0
0
0
0
0
1
0.016
false
0
0.032
0
0.064
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1a9f200093ff908223023512ea9b5b6f00c68650
312
py
Python
tools_queue.py
sohamkor/TeachMeWebApp
820eff092c6891cf556ee22e47b14f7c4047fd60
[ "MIT" ]
null
null
null
tools_queue.py
sohamkor/TeachMeWebApp
820eff092c6891cf556ee22e47b14f7c4047fd60
[ "MIT" ]
null
null
null
tools_queue.py
sohamkor/TeachMeWebApp
820eff092c6891cf556ee22e47b14f7c4047fd60
[ "MIT" ]
null
null
null
class Queue(object): def __init__(self): self.items = [] def isEmpty(self): return len(self.items) == 0 def enqueue(self, itemToAdd): self.items.insert(0, itemToAdd) def dequeue(self): return self.items.pop() def size(self): return len(self.items)
19.5
39
0.583333
39
312
4.564103
0.435897
0.252809
0.146067
0.191011
0.247191
0
0
0
0
0
0
0.009009
0.288462
312
15
40
20.8
0.792793
0
0
0
0
0
0
0
0
0
0
0
0
1
0.454545
false
0
0
0.272727
0.818182
0
0
0
0
null
1
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
1
0
0
0
1
1
0
0
5
1aa1225f975c24c5462e87cbb4bbe01830ca0112
2,557
py
Python
wwyfcs/utils/create_examples.py
shc558/wwyfcs
05ca6c94f59f7317e4e597d3df18f549dcadf7c1
[ "MIT" ]
1
2021-03-24T18:00:03.000Z
2021-03-24T18:00:03.000Z
wwyfcs/utils/create_examples.py
shc558/wwyfcs
05ca6c94f59f7317e4e597d3df18f549dcadf7c1
[ "MIT" ]
null
null
null
wwyfcs/utils/create_examples.py
shc558/wwyfcs
05ca6c94f59f7317e4e597d3df18f549dcadf7c1
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import argparse import os import pandas as pd from sklearn.model_selection import train_test_split # load data and tag lines with source characters' names def load_data(args): data = pd.read_csv(args.file_path) data['id:data'] = data[args.id_colname]+':'+data[args.data_colname] return dat...
36.014085
96
0.678138
381
2,557
4.393701
0.293963
0.037634
0.071087
0.026284
0.297491
0.215054
0.20908
0.158303
0.133811
0.133811
0
0.006705
0.183418
2,557
70
97
36.528571
0.795019
0.095424
0
0.214286
0
0
0.164716
0
0
0
0
0
0
1
0.053571
false
0
0.071429
0
0.160714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1aa1a697528836b8f497782c36ef0f059f0914be
2,445
py
Python
dottyDrawings.py
riyap/DottyDrawings
33691c390ef939507e6499c56ab3e0f33485734f
[ "MIT" ]
null
null
null
dottyDrawings.py
riyap/DottyDrawings
33691c390ef939507e6499c56ab3e0f33485734f
[ "MIT" ]
null
null
null
dottyDrawings.py
riyap/DottyDrawings
33691c390ef939507e6499c56ab3e0f33485734f
[ "MIT" ]
null
null
null
from tkinter import * color = 'black' def red(): global color color = 'red' def orange(): global color color = 'orange' def yellow(): global color color = 'yellow' def green(): global color color = 'lime green' def lime_green(): global color color = 'green' def ...
26.010638
77
0.592229
349
2,445
4.13467
0.197708
0.106722
0.144144
0.116424
0.296604
0.296604
0.264033
0.264033
0.264033
0.264033
0
0.018043
0.251943
2,445
93
78
26.290323
0.770913
0.009816
0
0.333333
0
0
0.08122
0
0
0
0
0
0
1
0.178571
false
0
0.011905
0
0.190476
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1aa1c12c8ef5bbdcb0a900983b817113c8754fc5
1,080
py
Python
metrics.py
mrhhodd/capsnet-keras
3e4f9024552072f27d124dda3ff346855c1ca5ca
[ "MIT" ]
null
null
null
metrics.py
mrhhodd/capsnet-keras
3e4f9024552072f27d124dda3ff346855c1ca5ca
[ "MIT" ]
null
null
null
metrics.py
mrhhodd/capsnet-keras
3e4f9024552072f27d124dda3ff346855c1ca5ca
[ "MIT" ]
null
null
null
from tensorflow.keras import backend as K EPSILON = K.epsilon() def accuracy(y_true, y_pred): [tp, tn, fp, fn] = _analyse_data(y_true, y_pred) return K.mean((tp + tn) / (tp + tn + fp + fn + EPSILON)) def specificity(y_true, y_pred): [_, tn, fp, _] = _analyse_data(y_true, y_pred) return K.mean(tn / ...
30.857143
76
0.641667
181
1,080
3.546961
0.198895
0.116822
0.102804
0.17134
0.426791
0.376947
0.297508
0.247664
0.247664
0.197819
0
0.012896
0.210185
1,080
34
77
31.764706
0.739742
0
0
0.086957
0
0
0
0
0
0
0
0
0
1
0.217391
false
0
0.043478
0
0.478261
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
1
0
0
0
0
0
0
0
2
1aa1ca7c87724c54b585e2a6a3bad71ad929799e
2,598
py
Python
tests/test_envfile.py
jaysonsantos/prettyconf
3c6a17340d040b6b39b7185b888f0a2bdc04fb0c
[ "MIT" ]
null
null
null
tests/test_envfile.py
jaysonsantos/prettyconf
3c6a17340d040b6b39b7185b888f0a2bdc04fb0c
[ "MIT" ]
null
null
null
tests/test_envfile.py
jaysonsantos/prettyconf
3c6a17340d040b6b39b7185b888f0a2bdc04fb0c
[ "MIT" ]
null
null
null
import os from prettyconf.loaders import EnvFile from .base import BaseTestCase class EnvFileTestCase(BaseTestCase): def setUp(self): super(EnvFileTestCase, self).setUp() self.envfile = os.path.join(self.test_files_path, "envfile") def test_basic_config_object(self): config = EnvFile...
38.776119
108
0.667821
308
2,598
5.438312
0.292208
0.170149
0.200597
0.071642
0.435224
0.316418
0.255522
0.185075
0.185075
0.071642
0
0.007576
0.187067
2,598
66
109
39.363636
0.785511
0
0
0.12
0
0.04
0.224018
0.068129
0
0
0
0
0.52
1
0.18
false
0
0.06
0.02
0.3
0
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
1
0
0
0
0
0
0
0
0
0
2
1aa29587a4eba407d37fdbf858f15f5c5df32ab9
68
py
Python
geotrek/feedback/tests/__init__.py
jmdecastel/GEOTADMIN
15547c0a99ae4c541ca517cdbc2cf17ab5c96f87
[ "BSD-2-Clause" ]
null
null
null
geotrek/feedback/tests/__init__.py
jmdecastel/GEOTADMIN
15547c0a99ae4c541ca517cdbc2cf17ab5c96f87
[ "BSD-2-Clause" ]
null
null
null
geotrek/feedback/tests/__init__.py
jmdecastel/GEOTADMIN
15547c0a99ae4c541ca517cdbc2cf17ab5c96f87
[ "BSD-2-Clause" ]
null
null
null
from .test_views import * # NOQA from .test_email import * # NOQA
22.666667
33
0.705882
10
68
4.6
0.6
0.347826
0
0
0
0
0
0
0
0
0
0
0.205882
68
2
34
34
0.851852
0.132353
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
1aa3b2b635b5e0fe136530f149a2852716edea06
163
py
Python
ExamPrep/Shit Comp/Python Code/RootsOriginal/BisectionMethod.py
FHomewood/ScientificComputing
bc3477b4607b25a700f2d89ca4f01cb3ea0998c4
[ "IJG" ]
null
null
null
ExamPrep/Shit Comp/Python Code/RootsOriginal/BisectionMethod.py
FHomewood/ScientificComputing
bc3477b4607b25a700f2d89ca4f01cb3ea0998c4
[ "IJG" ]
null
null
null
ExamPrep/Shit Comp/Python Code/RootsOriginal/BisectionMethod.py
FHomewood/ScientificComputing
bc3477b4607b25a700f2d89ca4f01cb3ea0998c4
[ "IJG" ]
null
null
null
#Imports from bisection import * #Constants LowerLimit = 0.0 UpperLimit = 10.0 def f(x): return (x)**2 Root = bisection(f,LowerLimit,UpperLimit) print Root
12.538462
41
0.711656
24
163
4.833333
0.666667
0
0
0
0
0
0
0
0
0
0
0.044444
0.171779
163
12
42
13.583333
0.814815
0.09816
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0.142857
null
null
0.142857
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
1
0
0
0
0
0
0
0
0
2
1aa4b3a113ac926ca89f8c9615ae6678dd7f9cd5
5,622
py
Python
hand_of_ros/roomba_control/scripts/create_controller.py
robertsatya/ros-bot
12ef876beee36ebb1d9af90c6e9d8b1b0a4a76d2
[ "MIT" ]
null
null
null
hand_of_ros/roomba_control/scripts/create_controller.py
robertsatya/ros-bot
12ef876beee36ebb1d9af90c6e9d8b1b0a4a76d2
[ "MIT" ]
null
null
null
hand_of_ros/roomba_control/scripts/create_controller.py
robertsatya/ros-bot
12ef876beee36ebb1d9af90c6e9d8b1b0a4a76d2
[ "MIT" ]
null
null
null
#!/usr/bin/env python from Tkinter import * import tkMessageBox import tkSimpleDialog import struct import sys, glob # for listing serial ports import rospy from roomba_control.srv import * send_mode = None def create_control_service_client(x): global send_mode try: if send_mode == None: ...
31.58427
98
0.544468
594
5,622
5.050505
0.377104
0.035
0.073333
0.054
0.272333
0.194
0.194
0.155
0.134333
0.134333
0
0.021589
0.357346
5,622
177
99
31.762712
0.808746
0.234436
0
0.133333
0
0.008333
0.115367
0.020677
0
0
0
0
0
0
null
null
0.008333
0.058333
null
null
0.016667
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
1aa5ff8d79fad0cf1844b76d7b3b8225587726b3
1,248
py
Python
search/nlp/qu/alpha_numbers.py
octabytes/search
750124d2de0e349249e3183daccc83ba5a82af36
[ "Apache-2.0" ]
null
null
null
search/nlp/qu/alpha_numbers.py
octabytes/search
750124d2de0e349249e3183daccc83ba5a82af36
[ "Apache-2.0" ]
null
null
null
search/nlp/qu/alpha_numbers.py
octabytes/search
750124d2de0e349249e3183daccc83ba5a82af36
[ "Apache-2.0" ]
null
null
null
alpha_numbers = [ { "alpha": "one", "number": 1 }, { "alpha": "two", "number": 2 }, { "alpha": "three", "number": 3 }, { "alpha": "four", "number": 4 }, { "alpha": "five", "number": 5 }, { ...
14.682353
51
0.310096
91
1,248
4.21978
0.417582
0.0625
0.0625
0
0
0
0
0
0
0
0
0.034591
0.490385
1,248
84
52
14.857143
0.569182
0
0
0.240964
0
0
0.255609
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
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1aa66e4a88e8039f0db550652234c2a41fa7e240
2,510
py
Python
pdfmerge3/pdfmerge3.py
marciojmo/pdfmerge3
f1fa598000dd304fc85bcb60bb72e35e1121feea
[ "MIT" ]
null
null
null
pdfmerge3/pdfmerge3.py
marciojmo/pdfmerge3
f1fa598000dd304fc85bcb60bb72e35e1121feea
[ "MIT" ]
null
null
null
pdfmerge3/pdfmerge3.py
marciojmo/pdfmerge3
f1fa598000dd304fc85bcb60bb72e35e1121feea
[ "MIT" ]
null
null
null
#!/usr/bin/env python """ Merge pdf files into a single file. EXAMPLES pdfmerge3 -o output.pdf Merges all pdf files from the current folder in lexicographic order and put the result in output.pdf pdfmerge3 -o output.pdf file1.pdf file2.pdf file3.pdf Merges file1.pdf, file2.pdf, file3.pdf (in t...
30.987654
111
0.657371
360
2,510
4.466667
0.327778
0.069652
0.11194
0.026119
0.18408
0.18408
0.073383
0.038557
0
0
0
0.006828
0.241434
2,510
80
112
31.375
0.83771
0.347809
0
0.116279
0
0
0.146465
0
0
0
0
0
0
1
0.069767
false
0
0.069767
0
0.232558
0.139535
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1aa707c8a85977c3cb01e58f2e7d0ab3b1f10872
2,685
py
Python
openGaussBase/testcase/KEYWORDS/restrict/Opengauss_Function_Keyword_Restrict_Case0020.py
opengauss-mirror/Yat
aef107a8304b94e5d99b4f1f36eb46755eb8919e
[ "MulanPSL-1.0" ]
null
null
null
openGaussBase/testcase/KEYWORDS/restrict/Opengauss_Function_Keyword_Restrict_Case0020.py
opengauss-mirror/Yat
aef107a8304b94e5d99b4f1f36eb46755eb8919e
[ "MulanPSL-1.0" ]
null
null
null
openGaussBase/testcase/KEYWORDS/restrict/Opengauss_Function_Keyword_Restrict_Case0020.py
opengauss-mirror/Yat
aef107a8304b94e5d99b4f1f36eb46755eb8919e
[ "MulanPSL-1.0" ]
null
null
null
""" Copyright (c) 2022 Huawei Technologies Co.,Ltd. openGauss is licensed under Mulan PSL v2. You can use this software according to the terms and conditions of the Mulan PSL v2. You may obtain a copy of Mulan PSL v2 at: http://license.coscl.org.cn/MulanPSL2 THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, W...
36.283784
124
0.665922
316
2,685
5.509494
0.370253
0.045951
0.082711
0.119472
0.541068
0.541068
0.541068
0.541068
0.479035
0.479035
0
0.009781
0.200372
2,685
74
125
36.283784
0.800652
0.220112
0
0.368421
0
0
0.28071
0.096695
0
0
0
0
0.210526
1
0.157895
false
0
0.105263
0
0.289474
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1aa7f5994534e2c541d01b757ecf3f65fc58d25f
17,858
py
Python
acwingcli/__main__.py
jasonsun0310/acwingcli
ef5de599b8fceeb16563aa4f2ac10db106b374da
[ "MIT" ]
null
null
null
acwingcli/__main__.py
jasonsun0310/acwingcli
ef5de599b8fceeb16563aa4f2ac10db106b374da
[ "MIT" ]
null
null
null
acwingcli/__main__.py
jasonsun0310/acwingcli
ef5de599b8fceeb16563aa4f2ac10db106b374da
[ "MIT" ]
null
null
null
import json import acwingcli.actions as actions import sys import os import acwingcli.commandline_writer as cmdwrite # import acwingcli import argparse import subprocess import acwingcli.update as update import os import websocket import json import threading import psutil import acwingcli.utils as utils import ti...
46.264249
134
0.582708
2,002
17,858
5.039461
0.132368
0.034889
0.033898
0.032709
0.584994
0.541084
0.457924
0.421548
0.398553
0.381207
0
0.004536
0.284018
17,858
385
135
46.384416
0.781636
0.004088
0
0.478632
0
0
0.140198
0.005567
0
0
0
0
0
1
0.037037
false
0.002849
0.099715
0.005698
0.196581
0.014245
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1aa9303e674b4308db627878870a3d77956ca97a
9,760
py
Python
main.py
Readix/TrafficMonitoring
eaaf63b4973d44de37b7593eb4507e65b24b4e95
[ "MIT" ]
null
null
null
main.py
Readix/TrafficMonitoring
eaaf63b4973d44de37b7593eb4507e65b24b4e95
[ "MIT" ]
null
null
null
main.py
Readix/TrafficMonitoring
eaaf63b4973d44de37b7593eb4507e65b24b4e95
[ "MIT" ]
null
null
null
import cv2 import numpy as np import json import os import re import yolo.darknet.darknet as darknet import haversine import imutils as imu from tracker.sort import * #-------------------------------------------- ''' res_path - path to: - calibration.npy - perspective_matrix.npy - mask.png - sides.png...
38.27451
175
0.569365
1,308
9,760
4.087156
0.18578
0.023569
0.01459
0.019641
0.235503
0.150767
0.139169
0.139169
0.095024
0.095024
0
0.054065
0.266598
9,760
254
176
38.425197
0.692791
0.009016
0
0.125
0
0
0.070502
0.00957
0
0
0.000425
0
0
1
0.014423
false
0
0.043269
0
0.067308
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1aaa5460c4001c62707a01ed99a09b49ed09db38
1,975
py
Python
otindex/scripts/load_taxonomy_files.py
OpenTreeOfLife/ottreeindex
cc5b5ae0d191317be5ed98febcb3bfca99c07b86
[ "BSD-2-Clause" ]
1
2017-03-10T22:27:18.000Z
2017-03-10T22:27:18.000Z
otindex/scripts/load_taxonomy_files.py
OpenTreeOfLife/otindex
cc5b5ae0d191317be5ed98febcb3bfca99c07b86
[ "BSD-2-Clause" ]
31
2016-08-17T20:00:51.000Z
2020-10-08T20:35:28.000Z
otindex/scripts/load_taxonomy_files.py
kcranston/ottreeindex
cc5b5ae0d191317be5ed98febcb3bfca99c07b86
[ "BSD-2-Clause" ]
null
null
null
# Imports ott.csv, synonyms.csv, tree_otu_assoc.csv into the database # Assumes database already set up. This happends either in initializedb.py # if running pyramid app or setup_db.py for testing (both in # this same directory) import datetime as dt import argparse import psycopg2 as psy import os # other databa...
35.909091
82
0.696203
253
1,975
5.241107
0.387352
0.036953
0.027149
0.033937
0.199095
0.081448
0.081448
0
0
0
0
0.001289
0.214177
1,975
55
83
35.909091
0.853093
0.195443
0
0
0
0
0.178594
0
0
0
0
0
0
0
null
null
0
0.257143
null
null
0.085714
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
1aaad603bf5e83f2d58f456fd2cb27bd0fae1730
15,679
py
Python
ghostwriter/home/tests/test_views.py
bbhunter/Ghostwriter
1b684ddd119feed9891e83b39c9b314b41d086ca
[ "BSD-3-Clause" ]
1
2022-02-04T20:24:35.000Z
2022-02-04T20:24:35.000Z
ghostwriter/home/tests/test_views.py
bbhunter/Ghostwriter
1b684ddd119feed9891e83b39c9b314b41d086ca
[ "BSD-3-Clause" ]
null
null
null
ghostwriter/home/tests/test_views.py
bbhunter/Ghostwriter
1b684ddd119feed9891e83b39c9b314b41d086ca
[ "BSD-3-Clause" ]
null
null
null
# Standard Libraries import logging from datetime import date, timedelta # Django Imports from django.conf import settings from django.db.models import Q from django.test import Client, TestCase from django.test.utils import override_settings from django.urls import reverse # Ghostwriter Libraries from ghostwriter.fa...
34.611479
96
0.675553
1,786
15,679
5.759239
0.101344
0.075831
0.053082
0.057748
0.734882
0.709314
0.691231
0.655454
0.635718
0.632121
0
0.009535
0.217361
15,679
452
97
34.688053
0.828702
0.041138
0
0.591176
0
0
0.040654
0.010547
0
0
0
0
0.194118
1
0.147059
false
0.108824
0.026471
0
0.202941
0
0
0
0
null
0
0
0
0
1
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
1
0
0
0
0
0
3
1aad579bb647de889b27f15e5b9e096cbdc98efc
1,400
py
Python
05_topic_modeling/topic_modeling.py
alyonavyshnevska/text_visualization_course
882a49290edf98640d20805ade14d6dfa7903e51
[ "MIT" ]
null
null
null
05_topic_modeling/topic_modeling.py
alyonavyshnevska/text_visualization_course
882a49290edf98640d20805ade14d6dfa7903e51
[ "MIT" ]
1
2019-04-23T01:23:17.000Z
2019-05-01T15:53:20.000Z
05_topic_modeling/topic_modeling.py
alyonavyshnevska/text_visualization_course
882a49290edf98640d20805ade14d6dfa7903e51
[ "MIT" ]
null
null
null
from gensim.models.ldamodel import LdaModel as ldamodel from gensim import corpora import pprint from gensim.test.utils import datapath import pyLDAvis import pyLDAvis.gensim from clean_data import clean as clean def train_model(texts): # turn our tokenized documents into a id <-> term dictionary dictionary =...
30.434783
71
0.730714
184
1,400
5.369565
0.407609
0.080972
0.07085
0.121457
0.135628
0.082996
0
0
0
0
0
0.00613
0.184286
1,400
46
72
30.434783
0.859019
0.182857
0
0
0
0
0.077397
0.041337
0
0
0
0
0
1
0.076923
false
0
0.269231
0
0.384615
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
0
0
0
0
0
1
0
1ab14723dda2ad5abaa75d0e99e89f0f9a425b1d
3,480
py
Python
selenium/test_login_unfollow_follow_message_check.py
civicboom/civicboom
239cb9c2f1e8afa42ea2736c171e6043b04a7ff0
[ "MIT" ]
null
null
null
selenium/test_login_unfollow_follow_message_check.py
civicboom/civicboom
239cb9c2f1e8afa42ea2736c171e6043b04a7ff0
[ "MIT" ]
null
null
null
selenium/test_login_unfollow_follow_message_check.py
civicboom/civicboom
239cb9c2f1e8afa42ea2736c171e6043b04a7ff0
[ "MIT" ]
null
null
null
#!/usr/bin/env python from selenium import selenium import unittest, time, re class Login_Unfollow_Follow_SendMessage_ReceiveMessage(unittest.TestCase): def setUp(self): self.verificationErrors = [] self.selenium = selenium("test-browser-linux-master", 4444, "IE on Windows", "http://test.civicboom...
40.465116
114
0.609483
439
3,480
4.671982
0.252847
0.046806
0.040956
0.040956
0.666504
0.590444
0.590444
0.56704
0.56704
0.56704
0
0.024428
0.258908
3,480
85
115
40.941176
0.770841
0.005747
0
0.582278
0
0
0.218849
0.049147
0
0
0
0
0.126582
0
null
null
0.088608
0.025316
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
1
0
0
0
0
0
2
1ab294b9434a7343b63cc5b761a5e72a521a3292
3,681
py
Python
pylons/decorators/secure.py
KinSai1975/Menira.py
ca275ce244ee4804444e1827ba60010a55acc07c
[ "BSD-3-Clause" ]
118
2015-01-04T06:55:14.000Z
2022-01-14T08:32:41.000Z
pylons/decorators/secure.py
KinSai1975/Menira.py
ca275ce244ee4804444e1827ba60010a55acc07c
[ "BSD-3-Clause" ]
21
2015-01-03T02:16:28.000Z
2021-03-24T06:10:57.000Z
pylons/decorators/secure.py
KinSai1975/Menira.py
ca275ce244ee4804444e1827ba60010a55acc07c
[ "BSD-3-Clause" ]
53
2015-01-04T03:21:08.000Z
2021-08-04T20:52:01.000Z
"""Security related decorators""" import logging import urlparse from decorator import decorator try: import webhelpers.html.secure_form as secure_form except ImportError: import webhelpers.pylonslib.secure_form as secure_form from pylons.controllers.util import abort, redirect from pylons.decorators.util imp...
32.008696
75
0.653355
460
3,681
5.108696
0.376087
0.038298
0.034043
0.048936
0.182979
0.164255
0.093617
0.05617
0.05617
0.05617
0
0.00401
0.254822
3,681
114
76
32.289474
0.852716
0.38006
0
0.153846
0
0
0.135808
0
0
0
0
0
0
1
0.076923
false
0
0.153846
0
0.307692
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1ab4bfddddae575d022743618b16597b55734005
393
py
Python
ntu_data.py
qiuwch/lt
3a36f325a70a37f8152e8f62387628f6dabcabeb
[ "MIT" ]
null
null
null
ntu_data.py
qiuwch/lt
3a36f325a70a37f8152e8f62387628f6dabcabeb
[ "MIT" ]
null
null
null
ntu_data.py
qiuwch/lt
3a36f325a70a37f8152e8f62387628f6dabcabeb
[ "MIT" ]
null
null
null
import os import glob seq_id = 'S001' # cam_id = 'C001' cam_id = '*' pid = 'P001' rid = 'R001' aid = 'A007' data_root = './data/NTU' seq_path = '{seq_id}{cam_id}{pid}{rid}{aid}_rgb/img_00001.jpg'.format(**locals()) seq_path = os.path.join(data_root, seq_path) print(seq_path) def get_images(path): files = glob...
16.375
81
0.676845
66
393
3.787879
0.469697
0.14
0.064
0
0
0
0
0
0
0
0
0.05988
0.150127
393
24
82
16.375
0.688623
0.038168
0
0
0
0
0.202128
0.130319
0
0
0
0
0
1
0.0625
false
0
0.125
0
0.25
0.125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1ab581d03430d3b70b00302350af75c95eb520dd
6,876
py
Python
pydax/_schema.py
cclauss/pydax
75c7d7041041043695d693c0f36110a3f4cd1d9c
[ "Apache-2.0" ]
11
2020-11-12T21:51:49.000Z
2021-07-12T15:47:09.000Z
pydax/_schema.py
cclauss/pydax
75c7d7041041043695d693c0f36110a3f4cd1d9c
[ "Apache-2.0" ]
138
2020-11-14T01:35:08.000Z
2021-07-22T05:52:29.000Z
pydax/_schema.py
cclauss/pydax
75c7d7041041043695d693c0f36110a3f4cd1d9c
[ "Apache-2.0" ]
5
2020-12-03T22:04:39.000Z
2021-07-13T17:03:53.000Z
# # Copyright 2020 IBM Corp. 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 law or a...
39.517241
119
0.681792
839
6,876
5.445769
0.281287
0.059532
0.027577
0.015758
0.181659
0.150361
0.150361
0.122784
0.109433
0.109433
0
0.002077
0.22993
6,876
173
120
39.745665
0.860623
0.547993
0
0.037736
0
0
0.073602
0
0
0
0
0
0
1
0.150943
false
0.037736
0.132075
0
0.471698
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1ab5f348f3b648c7e38b865f80541d5d68554892
1,760
py
Python
pliki_przejsciowe/kolorujemy_ksiazki.py
stared/wizualizacja-wolnych-lektur
ad4219b4587aeb7d8ade3546ad9922ad1b5104b2
[ "CC-BY-3.0" ]
6
2015-08-05T09:59:45.000Z
2018-07-13T04:09:43.000Z
pliki_przejsciowe/kolorujemy_ksiazki.py
stared/wizualizacja-wolnych-lektur
ad4219b4587aeb7d8ade3546ad9922ad1b5104b2
[ "CC-BY-3.0" ]
null
null
null
pliki_przejsciowe/kolorujemy_ksiazki.py
stared/wizualizacja-wolnych-lektur
ad4219b4587aeb7d8ade3546ad9922ad1b5104b2
[ "CC-BY-3.0" ]
8
2016-09-13T11:13:43.000Z
2021-03-18T08:01:56.000Z
import requests from collections2 import Counter import simplejson as json import re books = json.load(open("books2.json")) color_stem = json.load(open("stemmizer_kolory.json")) colors = json.load(open("kolory_nowe.json")) def root_word(word, stem_dict): if word in stem_dict: return stem_dict[word] ...
35.918367
127
0.572727
244
1,760
3.983607
0.377049
0.08642
0.061728
0.026749
0
0
0
0
0
0
0
0.004721
0.277841
1,760
48
128
36.666667
0.760031
0
0
0.05
0
0
0.149432
0.011932
0
0
0
0
0
0
null
null
0
0.1
null
null
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
1
0
0
0
0
0
0
0
0
1
1ab79890c8715d44cb5a582ad20c54a470f52918
1,259
py
Python
turngeneration/forms.py
jbradberry/django-turn-generation
dbfec9d0addbff2d8d54597b7520e171938c9107
[ "MIT" ]
null
null
null
turngeneration/forms.py
jbradberry/django-turn-generation
dbfec9d0addbff2d8d54597b7520e171938c9107
[ "MIT" ]
null
null
null
turngeneration/forms.py
jbradberry/django-turn-generation
dbfec9d0addbff2d8d54597b7520e171938c9107
[ "MIT" ]
1
2019-12-12T19:36:15.000Z
2019-12-12T19:36:15.000Z
from django.contrib.contenttypes.models import ContentType from django import forms from . import models class PauseForm(forms.ModelForm): class Meta: model = models.Pause fields = ('reason',) def clean(self): cleaned_data = super(PauseForm, self).clean() if not self.instanc...
29.27907
80
0.652105
141
1,259
5.730496
0.368794
0.10396
0.084158
0.056931
0.55198
0.55198
0.398515
0.398515
0.398515
0.398515
0
0
0.253376
1,259
42
81
29.97619
0.859574
0
0
0.451613
0
0
0.067514
0
0
0
0
0
0
1
0.064516
false
0
0.096774
0
0.354839
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1ab98a6d7dd06d056ddf62a198dd9ded5f6d2846
2,047
py
Python
bot.py
technicalwritingEditor/Discord2FB-Bot
e5e10329ea2056adf451f352c4d582dc281281d1
[ "MIT" ]
3
2018-06-03T00:58:27.000Z
2021-10-06T09:41:11.000Z
bot.py
technicalwritingEditor/Discord2FB-Bot
e5e10329ea2056adf451f352c4d582dc281281d1
[ "MIT" ]
null
null
null
bot.py
technicalwritingEditor/Discord2FB-Bot
e5e10329ea2056adf451f352c4d582dc281281d1
[ "MIT" ]
1
2018-07-13T19:45:33.000Z
2018-07-13T19:45:33.000Z
import discord from discord.ext import commands import facebook from discord.ext.commands import Bot Client = discord.Client() bot = commands.Bot(command_prefix = "/") #Tells what the prefix before every command should be. @bot.event async def on_ready(): ''' Function to just tell us that the bot is not active. Ev...
37.218182
170
0.72936
318
2,047
4.613208
0.408805
0.034083
0.035446
0.046353
0.159509
0.130879
0.130879
0.130879
0.130879
0.130879
0
0.004598
0.149976
2,047
54
171
37.907407
0.838506
0.089888
0
0.206897
0
0
0.332406
0
0
0
0
0
0
1
0
false
0.034483
0.137931
0
0.137931
0.034483
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1ab9ac6dd4bb10c4ea54f939af124df3ccd014f8
561
py
Python
tool/click_demo.py
KEVINYZY/python-tutorial
ae43536908eb8af56c34865f52a6e8644edc4fa3
[ "Apache-2.0" ]
2
2021-01-04T10:44:44.000Z
2022-02-13T07:53:41.000Z
tool/click_demo.py
zm79287/python-tutorial
d0f7348e1da4ff954e3add66e1aae55d599283ee
[ "Apache-2.0" ]
null
null
null
tool/click_demo.py
zm79287/python-tutorial
d0f7348e1da4ff954e3add66e1aae55d599283ee
[ "Apache-2.0" ]
2
2019-02-28T07:53:30.000Z
2021-07-28T07:11:20.000Z
# -*- coding: utf-8 -*- # Author: XuMing <xuming624@qq.com> # Brief: import click @click.command() @click.option('--count', default=1, help="num") @click.option('--rate', type=float, help='rate') @click.option('--gender', type=click.Choice(['man', 'woman']), default='man', help='select sex') @click.option('--center'...
25.5
96
0.632799
74
561
4.689189
0.527027
0.126801
0
0
0
0
0
0
0
0
0
0.012371
0.135472
561
21
97
26.714286
0.703093
0.110517
0
0
0
0
0.222222
0
0
0
0
0
0
1
0.076923
false
0
0.076923
0
0.153846
0.307692
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1abbc4f259e0af349f90eba1f861bc51de4ccaec
2,780
py
Python
vertigo/datasets/fetchers.py
rmarkello/vertigo
35c79faf3a62b9b3941f0c989640c2f5de8f819e
[ "Apache-2.0" ]
null
null
null
vertigo/datasets/fetchers.py
rmarkello/vertigo
35c79faf3a62b9b3941f0c989640c2f5de8f819e
[ "Apache-2.0" ]
null
null
null
vertigo/datasets/fetchers.py
rmarkello/vertigo
35c79faf3a62b9b3941f0c989640c2f5de8f819e
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """ Functions for fetching datasets from the internet """ from collections import namedtuple import os.path as op from .osf import _get_data_dir, _get_dataset_info from .utils import _fetch_files ANNOT = namedtuple('Surface', ('lh', 'rh')) def fetch_fsaverage(version='fsaverage', data_dir=N...
31.235955
79
0.611871
337
2,780
4.940653
0.439169
0.042042
0.012012
0.046847
0.058859
0
0
0
0
0
0
0.009369
0.270504
2,780
88
80
31.590909
0.811637
0.375899
0
0
0
0
0.147826
0
0
0
0
0
0
1
0.026316
false
0
0.131579
0
0.184211
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1abc0cd17b3be692c4ae6a95012e1e744129a64f
6,798
py
Python
rdkit/ML/ModelPackage/UnitTestPackage.py
kazuyaujihara/rdkit
06027dcd05674787b61f27ba46ec0d42a6037540
[ "BSD-3-Clause" ]
1,609
2015-01-05T02:41:13.000Z
2022-03-30T21:57:24.000Z
rdkit/ML/ModelPackage/UnitTestPackage.py
kazuyaujihara/rdkit
06027dcd05674787b61f27ba46ec0d42a6037540
[ "BSD-3-Clause" ]
3,412
2015-01-06T12:13:33.000Z
2022-03-31T17:25:41.000Z
rdkit/ML/ModelPackage/UnitTestPackage.py
bp-kelley/rdkit
e0de7c9622ce73894b1e7d9568532f6d5638058a
[ "BSD-3-Clause" ]
811
2015-01-11T03:33:48.000Z
2022-03-28T11:57:49.000Z
# # Copyright (C) 2002-2008 greg Landrum and Rational Discovery LLC # """ unit tests for the model and descriptor packager """ import os import random import unittest from xml.dom import minidom from xml.etree import ElementTree as ET from rdkit import Chem from rdkit import RDConfig from rdkit.Chem import Descripto...
38.191011
104
0.597823
811
6,798
4.963009
0.286067
0.017391
0.040248
0.02087
0.354783
0.325217
0.306584
0.24
0.228075
0.175155
0
0.016084
0.268314
6,798
177
105
38.40678
0.793124
0.101059
0
0.328358
0
0.007463
0.119521
0.022164
0
0
0
0
0.186567
1
0.097015
false
0
0.11194
0.007463
0.238806
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1abce33b89f98cb52f1c4e73fa1fee092929d3eb
9,545
py
Python
plugins/logger/standardout/standard_out.py
Ghostkeeper/Luna
0dfc8694538c9d1ad3941602de2d4b6b815db657
[ "CC0-1.0" ]
null
null
null
plugins/logger/standardout/standard_out.py
Ghostkeeper/Luna
0dfc8694538c9d1ad3941602de2d4b6b815db657
[ "CC0-1.0" ]
null
null
null
plugins/logger/standardout/standard_out.py
Ghostkeeper/Luna
0dfc8694538c9d1ad3941602de2d4b6b815db657
[ "CC0-1.0" ]
null
null
null
#!/usr/bin/env python #-*- coding: utf-8 -*- #This software is distributed under the Creative Commons license (CC0) version 1.0. A copy of this license should have been distributed with this software. #The license can also be read online: <https://creativecommons.org/publicdomain/zero/1.0/>. If this online license dif...
42.995495
227
0.753064
1,418
9,545
4.929478
0.188999
0.055794
0.02432
0.018598
0.58598
0.58226
0.550072
0.550072
0.499285
0.492704
0
0.00997
0.148874
9,545
222
228
42.995496
0.850443
0.531378
0
0.3
0
0
0.111032
0
0
0
0
0
0
1
0.063636
false
0
0.027273
0
0.090909
0.172727
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1abdc7d1f6e3c3d399749e13a801f518de7ed6a4
147
py
Python
6kyu/(6 kyu) Square Digits Sequence/(6 kyu) Square Digits Sequence.py
e1r0nd/codewars
9b05e32a26ee5f36a4b3f1e76a71e0c79b3c865b
[ "MIT" ]
49
2018-04-30T06:42:45.000Z
2021-07-22T16:39:02.000Z
(6 kyu) Square Digits Sequence/(6 kyu) Square Digits Sequence.py
novsunheng/codewars
c54b1d822356889b91587b088d02ca0bd3d8dc9e
[ "MIT" ]
1
2020-08-31T02:36:53.000Z
2020-08-31T10:14:00.000Z
(6 kyu) Square Digits Sequence/(6 kyu) Square Digits Sequence.py
novsunheng/codewars
c54b1d822356889b91587b088d02ca0bd3d8dc9e
[ "MIT" ]
25
2018-04-02T20:57:58.000Z
2021-05-28T15:24:51.000Z
def square_digits_sequence(n): s = set() while n not in s: s.add(n) n = sum(int(d)**2 for d in str(n)) return len(s)+1
21
42
0.52381
29
147
2.586207
0.689655
0
0
0
0
0
0
0
0
0
0
0.020202
0.326531
147
6
43
24.5
0.737374
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
1abdcea8efc0ca3c44292b62fd849e170b45bca7
1,466
py
Python
forge/blade/entity/npc/mobs.py
jarbus/neural-mmo
7ad02fab50f2781c0a71f7d2afd10c1503110736
[ "MIT" ]
1,450
2019-03-04T15:47:38.000Z
2022-03-30T03:33:35.000Z
forge/blade/entity/npc/mobs.py
jarbus/neural-mmo
7ad02fab50f2781c0a71f7d2afd10c1503110736
[ "MIT" ]
34
2019-03-05T09:50:38.000Z
2021-08-31T15:20:27.000Z
forge/blade/entity/npc/mobs.py
LaudateCorpus1/neural-mmo
a9a7c34a1fb24fbf252e2958bdb869c213e580a3
[ "MIT" ]
164
2019-03-04T16:09:19.000Z
2022-02-26T15:43:40.000Z
#NPC definitions with AI overrides per NPC, as required. from forge.blade.entity import NPC from forge.blade.item import Item, RawMeat, Sword from forge.blade.lib import AI from forge.blade.lib.Enums import Material from forge.blade.modules import DropTable, Skill class Chicken(NPC.Passive): def __init__(self, po...
30.541667
71
0.662347
193
1,466
4.948187
0.352332
0.04712
0.073298
0.059686
0.427225
0.427225
0.295288
0.073298
0.073298
0
0
0.022847
0.223738
1,466
47
72
31.191489
0.816344
0.100273
0
0.342857
0
0
0
0
0
0
0
0
0
1
0.114286
false
0.057143
0.142857
0
0.371429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
1abe13c8550d375e49e3544c2d226393aab8428e
1,638
py
Python
backend/apps/api/system/models/enums.py
offurface/smsta
b8a1f2e6efe6c71703c8d57e8aae255ad213863c
[ "MIT" ]
null
null
null
backend/apps/api/system/models/enums.py
offurface/smsta
b8a1f2e6efe6c71703c8d57e8aae255ad213863c
[ "MIT" ]
null
null
null
backend/apps/api/system/models/enums.py
offurface/smsta
b8a1f2e6efe6c71703c8d57e8aae255ad213863c
[ "MIT" ]
null
null
null
"""Перечисления""" from enum import Enum, unique from django.utils.translation import gettext_lazy as _ from etc.choices import ChoicesEnumMixin, get_choices @unique class Gender(ChoicesEnumMixin, Enum): """ Пол """ FEMALE = 1, _("Женский") MALE = 2, _("Мужской") @unique class DisabilityGroup(C...
18.613636
54
0.655067
161
1,638
6.453416
0.440994
0.076997
0.051973
0.040423
0.042348
0
0
0
0
0
0
0.016266
0.211844
1,638
87
55
18.827586
0.788536
0.067155
0
0.214286
0
0
0.107269
0
0
0
0
0
0
1
0
false
0
0.071429
0
0.666667
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
1abe388e69a825f7770361eb67cf1c3461ead767
2,168
py
Python
notes/algo-ds-practice/problems/dp/double_helix.py
Anmol-Singh-Jaggi/interview-notes
65af75e2b5725894fa5e13bb5cd9ecf152a0d652
[ "MIT" ]
6
2020-07-05T05:15:19.000Z
2021-01-24T20:17:14.000Z
notes/algo-ds-practice/problems/dp/double_helix.py
Anmol-Singh-Jaggi/interview-notes
65af75e2b5725894fa5e13bb5cd9ecf152a0d652
[ "MIT" ]
null
null
null
notes/algo-ds-practice/problems/dp/double_helix.py
Anmol-Singh-Jaggi/interview-notes
65af75e2b5725894fa5e13bb5cd9ecf152a0d652
[ "MIT" ]
2
2020-09-14T06:46:37.000Z
2021-06-15T09:17:21.000Z
''' Two finite, strictly increasing, integer sequences are given. Any common integer between the two sequences constitute an intersection point. Take for example the following two sequences where intersection points are printed in bold: First= 3 5 7 9 20 25 30 40 55 56 57 60 62 Second= 1 4 7 11 14 25 44 47 5...
31.42029
152
0.627768
377
2,168
3.578249
0.371353
0.017791
0.066716
0.088955
0.171979
0.151223
0.113417
0.044477
0
0
0
0.076308
0.250461
2,168
68
153
31.882353
0.752615
0.506458
0
0
0
0
0.00754
0
0
0
0
0
0
1
0.057143
false
0
0.028571
0
0.171429
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
0
0
0
0
0
1
0
1abfc9f54d479adbe3c36baf00a9a7fac7331057
40,724
py
Python
libcst/matchers/_matcher_base.py
dendisuhubdy/LibCST
1acf2c83d132d4f665dd5de3684330463cbd361e
[ "Apache-2.0" ]
null
null
null
libcst/matchers/_matcher_base.py
dendisuhubdy/LibCST
1acf2c83d132d4f665dd5de3684330463cbd361e
[ "Apache-2.0" ]
null
null
null
libcst/matchers/_matcher_base.py
dendisuhubdy/LibCST
1acf2c83d132d4f665dd5de3684330463cbd361e
[ "Apache-2.0" ]
null
null
null
# 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. # pyre-strict import collections.abc import re from dataclasses import fields from enum import Enum, auto from typing import ( Callable, ...
38.637571
90
0.651336
5,146
40,724
5.054023
0.108045
0.017225
0.005191
0.005383
0.512227
0.475584
0.415757
0.37946
0.354852
0.336858
0
0.001931
0.262597
40,724
1,053
91
38.674264
0.864136
0.45499
0
0.503145
0
0
0.080959
0.031031
0
0
0
0
0
1
0.138365
false
0.002096
0.016771
0.052411
0.371069
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1ac0100cb9b2c279cea35555f4fa8cbff672edda
4,911
py
Python
visualize/loss_function.py
Drchen-AI/NN_DL_tensorflow2.0
3bf26a0b48e2aa78eecb3910104738612c176678
[ "MIT" ]
null
null
null
visualize/loss_function.py
Drchen-AI/NN_DL_tensorflow2.0
3bf26a0b48e2aa78eecb3910104738612c176678
[ "MIT" ]
null
null
null
visualize/loss_function.py
Drchen-AI/NN_DL_tensorflow2.0
3bf26a0b48e2aa78eecb3910104738612c176678
[ "MIT" ]
null
null
null
# coding:utf8 import torch from torch import nn, optim # nn 神经网络模块 optim优化函数模块 from torch.utils.data import DataLoader from torch.autograd import Variable from torchvision import transforms, datasets from visdom import Visdom # 可视化处理模块 import time import numpy as np # 可视化app viz = Visdom() # 超参数 BATCH_SIZE = 40 LR ...
32.959732
122
0.576461
667
4,911
4.073463
0.296852
0.032389
0.023187
0.023923
0.172617
0.155318
0.142805
0.094222
0.080972
0.038278
0
0.037883
0.268988
4,911
148
123
33.182432
0.718942
0.131134
0
0.12
0
0.03
0.085877
0.048261
0
0
0
0
0
1
0.02
false
0.01
0.08
0
0.12
0.03
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1ac1c18d81b3fb08cc942e5904dbb8a0b2570d9d
1,783
py
Python
connections/migrations/0001_initial.py
jamisonwight/KnectarPy
082ab65ed9ab8e8ee5351f0f1027eea0e432c88c
[ "MIT" ]
null
null
null
connections/migrations/0001_initial.py
jamisonwight/KnectarPy
082ab65ed9ab8e8ee5351f0f1027eea0e432c88c
[ "MIT" ]
null
null
null
connections/migrations/0001_initial.py
jamisonwight/KnectarPy
082ab65ed9ab8e8ee5351f0f1027eea0e432c88c
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.2 on 2017-06-26 17:23 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ...
45.717949
169
0.653393
195
1,783
5.733333
0.364103
0.042934
0.062612
0.09839
0.581395
0.507156
0.434705
0.434705
0.434705
0.434705
0
0.014514
0.227145
1,783
38
170
46.921053
0.796807
0.038138
0
0.333333
1
0
0.123059
0.05914
0
0
0
0
0
1
0
false
0
0.133333
0
0.266667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1ac1d6d3fc31da110e9581cf6f625215065fc6d5
3,737
py
Python
Car.py
molenathyhoangxuannguyen/Math_Quiz_1-Car
cbcd31bf12e13fe3a31725a46df9af14214b77c2
[ "MIT" ]
null
null
null
Car.py
molenathyhoangxuannguyen/Math_Quiz_1-Car
cbcd31bf12e13fe3a31725a46df9af14214b77c2
[ "MIT" ]
null
null
null
Car.py
molenathyhoangxuannguyen/Math_Quiz_1-Car
cbcd31bf12e13fe3a31725a46df9af14214b77c2
[ "MIT" ]
null
null
null
#Written by Thy H. Nguyen import turtle from math import pi import random def main(): wns = turtle.Screen() def banh_xe(bichthuy): bichthuy.shape("circle") bichthuy.shapesize(0.1,0.1) bichthuy.speed(10) bichthuy.pensize(6) def ve_hinh_tron(number,cao): fo...
27.07971
107
0.578539
498
3,737
4.214859
0.24498
0.045736
0.068604
0.091472
0.331586
0.264412
0.14626
0.098142
0.041925
0.041925
0
0.106383
0.270538
3,737
137
108
27.277372
0.66361
0.006422
0
0.070796
0
0
0.082435
0
0
0
0
0
0
1
0.070796
false
0
0.026549
0
0.097345
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1ac20c1a12bae5faab7bd06bd64e2ac8f107be97
1,242
py
Python
src/learning/migrations/0025_user_and_tutorial_relations_cascade.py
Alirezaja1384/MajazAmooz
9200e46bed33aeb60d578a5c4c02013a8032cf08
[ "MIT" ]
3
2021-04-01T19:42:53.000Z
2022-03-01T09:50:17.000Z
src/learning/migrations/0025_user_and_tutorial_relations_cascade.py
Alirezaja1384/MajazAmooz
9200e46bed33aeb60d578a5c4c02013a8032cf08
[ "MIT" ]
null
null
null
src/learning/migrations/0025_user_and_tutorial_relations_cascade.py
Alirezaja1384/MajazAmooz
9200e46bed33aeb60d578a5c4c02013a8032cf08
[ "MIT" ]
null
null
null
# Generated by Django 3.1.7 on 2021-04-27 13:05 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('learning', '0024_tutoria...
38.8125
177
0.68277
136
1,242
6.058824
0.382353
0.048544
0.067961
0.106796
0.479369
0.479369
0.362864
0.28034
0.28034
0.28034
0
0.019192
0.202899
1,242
31
178
40.064516
0.813131
0.036232
0
0.32
1
0
0.158996
0.048536
0
0
0
0
0
1
0
false
0
0.12
0
0.24
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
1ac3f96b97737e3eb3f7b8408474c5d059166aee
442
py
Python
functions/odd_and_even_sum.py
MaggieIllustrations/softuni-github-programming
f5695cb14602f3d2974359f6d8734332acc650d3
[ "MIT" ]
null
null
null
functions/odd_and_even_sum.py
MaggieIllustrations/softuni-github-programming
f5695cb14602f3d2974359f6d8734332acc650d3
[ "MIT" ]
null
null
null
functions/odd_and_even_sum.py
MaggieIllustrations/softuni-github-programming
f5695cb14602f3d2974359f6d8734332acc650d3
[ "MIT" ]
1
2022-01-14T17:12:44.000Z
2022-01-14T17:12:44.000Z
number = input() def get_sums(type_numbers, number): result = 0 if type_numbers == "even": result = sum(list(map(int, filter(lambda x: int(x) % 2 == 0, number)))) elif type_numbers == "odd": result = sum(list(map(int, filter(lambda x: int(x) % 2 == 1, number)))) return result evens_...
24.555556
79
0.615385
68
442
3.852941
0.397059
0.080153
0.099237
0.122137
0.282443
0.282443
0.282443
0.282443
0.282443
0.282443
0
0.014409
0.214932
442
17
80
26
0.740634
0
0
0
0
0
0.131519
0
0
0
0
0
0
1
0.090909
false
0
0
0
0.181818
0.090909
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1ac490b577ea5dda5544e1fbb2ce5bee62233294
1,955
py
Python
algorithms/iterative_tree_traversals.py
avg-2049-joe/py-algo-ds
4f9c3c086e134ee23fcc0ee3b981e81f40e860cd
[ "MIT" ]
null
null
null
algorithms/iterative_tree_traversals.py
avg-2049-joe/py-algo-ds
4f9c3c086e134ee23fcc0ee3b981e81f40e860cd
[ "MIT" ]
null
null
null
algorithms/iterative_tree_traversals.py
avg-2049-joe/py-algo-ds
4f9c3c086e134ee23fcc0ee3b981e81f40e860cd
[ "MIT" ]
null
null
null
""" Iterative versions of the tree traversals TODO: Using a set defeats the purpose of iteration (reducing the space usage) """ class BinaryTree(object): """Object represents a binary tree""" def __init__(self, value): self.value = value self.left = None self.right = None def in_orde...
22.732558
77
0.570844
256
1,955
4.253906
0.277344
0.102847
0.071625
0.093664
0.449036
0.404959
0.359045
0.312213
0.251607
0.113866
0
0.00155
0.340153
1,955
85
78
23
0.842636
0.267519
0
0.711111
0
0
0
0
0
0
0
0.023529
0
1
0.088889
false
0
0
0
0.177778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
2
1ac500dbb07444e0474269ea82dee2adab318324
11,587
py
Python
pycatia/tps_interfaces/capture.py
evereux/catia_python
08948585899b12587b0415ce3c9191a408b34897
[ "MIT" ]
90
2019-02-21T10:05:28.000Z
2022-03-19T01:53:41.000Z
pycatia/tps_interfaces/capture.py
evereux/catia_python
08948585899b12587b0415ce3c9191a408b34897
[ "MIT" ]
99
2019-05-21T08:29:12.000Z
2022-03-25T09:55:15.000Z
pycatia/tps_interfaces/capture.py
evereux/catia_python
08948585899b12587b0415ce3c9191a408b34897
[ "MIT" ]
26
2019-04-04T06:31:36.000Z
2022-03-30T07:24:47.000Z
#! usr/bin/python3.6 """ Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-09-25 14:34:21.593357 .. warning:: The notes denoted "CAA V5 Visual Basic Help" are to be used as reference only. They are there as a guide as to how the visual basic / catscript function...
30.018135
111
0.53793
1,157
11,587
5.312878
0.197061
0.041158
0.019522
0.024402
0.355783
0.322596
0.315764
0.256873
0.194729
0.179762
0
0.047739
0.383533
11,587
385
112
30.096104
0.812824
0.554414
0
0.175
1
0
0.017801
0.007752
0
0
0
0
0
1
0.3
false
0
0.125
0.0125
0.6125
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
1
0
0
0
0
1
0
0
3
1ac8d5589ceca70f9e89f1d4ba9ffbf6e4b2d824
1,257
py
Python
yandex_algorithm2/home1c.py
erjan/coding_exercises
53ba035be85f1e7a12b4d4dbf546863324740467
[ "Apache-2.0" ]
null
null
null
yandex_algorithm2/home1c.py
erjan/coding_exercises
53ba035be85f1e7a12b4d4dbf546863324740467
[ "Apache-2.0" ]
null
null
null
yandex_algorithm2/home1c.py
erjan/coding_exercises
53ba035be85f1e7a12b4d4dbf546863324740467
[ "Apache-2.0" ]
null
null
null
''' Как известно, два наиболее распространённых формата записи даты — это европейский (сначала день, потом месяц, потом год) и американски (сначала месяц, потом день, потом год). Системный администратор поменял дату на одном из бэкапов и сейчас хочет вернуть дату обратно. Но он не проверил, в каком формате дата использ...
18.761194
374
0.686555
200
1,257
4.315
0.565
0.024334
0.034762
0.05562
0.095017
0.095017
0.067207
0.067207
0
0
0
0.036765
0.242641
1,257
66
375
19.045455
0.861345
0.679395
0
0.294118
0
0
0.020253
0
0
0
0
0
0
1
0.058824
false
0
0
0
0.352941
0.058824
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1ac958a3278a36707325e087561792a722194785
356
py
Python
tests/__init__.py
crsanderford/brainrender
6d2f1c2150ef381d08daaf1cff1ae287de0cc5e8
[ "BSD-3-Clause" ]
226
2020-10-19T13:41:36.000Z
2022-03-29T11:22:43.000Z
tests/__init__.py
RobertoDF/BrainRender
a92dc3b08f743721521ae233f15b1814207bf08c
[ "MIT" ]
90
2020-10-14T09:52:48.000Z
2022-03-25T15:51:09.000Z
tests/__init__.py
RobertoDF/BrainRender
a92dc3b08f743721521ae233f15b1814207bf08c
[ "MIT" ]
36
2020-10-14T13:04:14.000Z
2022-03-25T15:31:29.000Z
from brainrender import settings settings.INTERACTIVE = False settings.OFFSCREEN = True settings.DEFAULT_ATLAS = "allen_mouse_100um" from vedo import settings as vsettings vsettings.useDepthPeeling = False vsettings.screenshotTransparentBackground = False # vedo for transparent bg vsettings.useFXAA = True # This n...
29.666667
76
0.823034
43
356
6.744186
0.604651
0.096552
0.110345
0
0
0
0
0
0
0
0
0.009709
0.132022
356
11
77
32.363636
0.928803
0.182584
0
0
0
0
0.059028
0
0
0
0
0
0
1
0
true
0
0.25
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
1ac9d75cb11357f8d4a47e717d459835c97dc46a
38
py
Python
src/lib/symbol.py
DTenore/skulpt
098d20acfb088d6db85535132c324b7ac2f2d212
[ "MIT" ]
2,671
2015-01-03T08:23:25.000Z
2022-03-31T06:15:48.000Z
src/lib/symbol.py
wakeupmuyunhe/skulpt
a8fb11a80fb6d7c016bab5dfe3712517a350b347
[ "MIT" ]
972
2015-01-05T08:11:00.000Z
2022-03-29T13:47:15.000Z
src/lib/symbol.py
wakeupmuyunhe/skulpt
a8fb11a80fb6d7c016bab5dfe3712517a350b347
[ "MIT" ]
845
2015-01-03T19:53:36.000Z
2022-03-29T18:34:22.000Z
import _sk_fail; _sk_fail._("symbol")
19
37
0.763158
6
38
4
0.666667
0.5
0
0
0
0
0
0
0
0
0
0
0.078947
38
1
38
38
0.685714
0
0
0
0
0
0.157895
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
1acaa8c1153a3b9bb299ba78526d2d3b51be4f66
593
py
Python
topo/optimized/__init__.py
ceball/topographica
ec0eea614409ceb7473e04bc2f6b6c888099160f
[ "BSD-3-Clause" ]
null
null
null
topo/optimized/__init__.py
ceball/topographica
ec0eea614409ceb7473e04bc2f6b6c888099160f
[ "BSD-3-Clause" ]
null
null
null
topo/optimized/__init__.py
ceball/topographica
ec0eea614409ceb7473e04bc2f6b6c888099160f
[ "BSD-3-Clause" ]
null
null
null
import os (basepath, _) = os.path.split(os.path.abspath(__file__)) warn_for_each_unoptimized_component = False try: from distutils.core import run_setup # Run the setup script in the sandbox, so that it doesn't complain about unknown args when launched through nose run_setup(basepath + "/compile.py") ...
34.882353
116
0.740304
79
593
5.417722
0.683544
0.028037
0.093458
0.107477
0.135514
0
0
0
0
0
0
0
0.185497
593
17
117
34.882353
0.886128
0.283305
0
0
0
0
0.279621
0
0
0
0
0
0
0
null
null
0
0.454545
null
null
0.090909
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
1
0
0
0
0
2
1acb8eb322e9aec321348f3d36693b0a3fc3fd97
5,618
py
Python
sdk/python/pulumi_gcp/organizations/get_project.py
dimpu47/pulumi-gcp
38355de300a5768e11c49d344a8165ba0735deed
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_gcp/organizations/get_project.py
dimpu47/pulumi-gcp
38355de300a5768e11c49d344a8165ba0735deed
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_gcp/organizations/get_project.py
dimpu47/pulumi-gcp
38355de300a5768e11c49d344a8165ba0735deed
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Dict, List, Mapping, Optional, Tuple, Union from .. import ...
36.245161
185
0.659665
700
5,618
5
0.198571
0.041143
0.058286
0.085714
0.257714
0.150571
0.072857
0.026286
0
0
0
0.000466
0.236383
5,618
154
186
36.480519
0.815385
0.101104
0
0.118644
1
0
0.150572
0.017065
0
0
0
0
0
1
0.110169
false
0
0.042373
0.076271
0.271186
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
1acc2f32cc9a7a1f5f4e8cb7660bd8849614cb8a
3,035
py
Python
app/models/users.py
dwcaraway/govly
c3a134c2d8ae911c0ab05d9b96014a7c18bfac45
[ "MIT" ]
5
2018-03-14T18:55:35.000Z
2021-10-04T00:16:38.000Z
app/models/users.py
dwcaraway/govly
c3a134c2d8ae911c0ab05d9b96014a7c18bfac45
[ "MIT" ]
null
null
null
app/models/users.py
dwcaraway/govly
c3a134c2d8ae911c0ab05d9b96014a7c18bfac45
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ vitals.models.users ~~~~~~~~~~~~~~~~~~~ :author: Dave Caraway :copyright: © 2014-2015, Fog Mine LLC :license: Proprietary, see LICENSE for more details. """ import base64 import os from flask.ext.security import RoleMixin, UserMixin from ..framework.sql import ( db...
32.634409
110
0.677759
408
3,035
4.911765
0.301471
0.127745
0.149701
0.151697
0.402196
0.337325
0.221058
0.168663
0.132735
0.091816
0
0.02874
0.163097
3,035
92
111
32.98913
0.759843
0.076771
0
0.032787
0
0
0.071506
0
0
0
0
0
0
1
0.032787
false
0.016393
0.065574
0
0.819672
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1acc37fde77112dc03495f8a8ad528c34e34685e
7,273
py
Python
data.py
jgoppert/iekf_analysis
d41ad34b37ef2636e20680accf399ea4a9332811
[ "BSD-3-Clause" ]
5
2018-01-16T06:46:38.000Z
2019-06-19T10:17:12.000Z
data.py
jgoppert/iekf_analysis
d41ad34b37ef2636e20680accf399ea4a9332811
[ "BSD-3-Clause" ]
null
null
null
data.py
jgoppert/iekf_analysis
d41ad34b37ef2636e20680accf399ea4a9332811
[ "BSD-3-Clause" ]
null
null
null
from transforms3d.taitbryan import quat2euler import matplotlib.pyplot as plt import numpy as np from util import X, Xe class Data(object): """ Data object for sim data """ def __init__(self): self.x = [] self.J = [] self.K_mag = [] self.K_gps = [] self.K_accel...
31.621739
78
0.514643
1,076
7,273
3.339219
0.131041
0.038965
0.082661
0.090175
0.641247
0.600612
0.554411
0.509045
0.35931
0.276092
0
0.021381
0.299051
7,273
229
79
31.759825
0.683405
0.011825
0
0.364583
0
0
0.057271
0
0
0
0
0
0
1
0.03125
false
0
0.020833
0.005208
0.0625
0.005208
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1acc4bb74661ef6bbaf044a243078ab4c44c027c
580
py
Python
utils/decorators.py
amigne/ZosTeroPs
d76023faa0cba8ff3f01018ca252969df86dcf60
[ "MIT" ]
4
2021-03-18T12:29:10.000Z
2022-01-26T10:03:12.000Z
utils/decorators.py
amigne/ZosTeroPs
d76023faa0cba8ff3f01018ca252969df86dcf60
[ "MIT" ]
7
2021-02-06T09:13:57.000Z
2021-03-19T21:09:59.000Z
utils/decorators.py
amigne/ZosTeroPs
d76023faa0cba8ff3f01018ca252969df86dcf60
[ "MIT" ]
null
null
null
from django.conf import settings from django.http import HttpResponseRedirect def ssl_required(view_func): def _wrapped_view_func(request, *args, **kwargs): if (hasattr(settings, 'GUI_SSL_REDIRECT') and settings.GUI_SSL_REDIRECT and request and not request.is_secure()): request...
41.428571
79
0.701724
71
580
5.422535
0.478873
0.083117
0.077922
0.098701
0.25974
0
0
0
0
0
0
0
0.201724
580
13
80
44.615385
0.831533
0
0
0
0
0
0.053448
0
0
0
0
0
0
1
0.181818
false
0
0.181818
0
0.636364
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
1acca912a31ec6a2ebcc918e528a3318f2a3f937
1,874
py
Python
client_code/landing/settings/ColorChanger.py
Alcampopiano/OpenQuestion
8576ec3372eca3b3b51661ad7f5c615fe8193946
[ "BSD-3-Clause" ]
4
2021-01-27T15:36:21.000Z
2021-06-04T17:43:27.000Z
client_code/landing/settings/ColorChanger.py
Alcampopiano/OpenQuestion
8576ec3372eca3b3b51661ad7f5c615fe8193946
[ "BSD-3-Clause" ]
1
2021-02-04T20:24:38.000Z
2021-02-05T13:47:41.000Z
client_code/landing/settings/ColorChanger.py
Alcampopiano/OpenQuestion
8576ec3372eca3b3b51661ad7f5c615fe8193946
[ "BSD-3-Clause" ]
2
2021-01-27T15:36:30.000Z
2021-02-02T06:11:35.000Z
import anvil.facebook.auth import anvil.google.auth, anvil.google.drive from anvil.google.drive import app_files import anvil.js def set_theme(theme_map): css = themed_css for name, value in theme_map.items(): css = css.replace(f"%color:{name}%", value) anvil.js.call_js("setThemeCss", css) # This is t...
21.54023
120
0.699039
265
1,874
4.916981
0.279245
0.147352
0.182655
0.138143
0.349194
0.067536
0.067536
0.067536
0.067536
0
0
0.031037
0.140342
1,874
87
121
21.54023
0.777778
0.067769
0
0.229508
0
0.065574
0.822821
0.129014
0
0
0
0
0
1
0.016393
false
0
0.065574
0
0.081967
0
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
1acfcd0292220871f431e4e473efb911e7c66800
1,098
py
Python
conary_test/repositorytest/filecontentstest.py
sassoftware/conary
d418968acd5e11ee17ed6d91ca395ea10a040222
[ "Apache-2.0" ]
43
2015-03-31T01:37:10.000Z
2021-11-14T16:26:48.000Z
conary_test/repositorytest/filecontentstest.py
sassoftware/conary
d418968acd5e11ee17ed6d91ca395ea10a040222
[ "Apache-2.0" ]
9
2015-06-10T16:39:41.000Z
2020-01-27T16:35:01.000Z
conary_test/repositorytest/filecontentstest.py
sassoftware/conary
d418968acd5e11ee17ed6d91ca395ea10a040222
[ "Apache-2.0" ]
9
2015-04-07T08:12:37.000Z
2020-01-26T09:54:18.000Z
# # Copyright (c) SAS Institute Inc. # # 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 in w...
28.153846
74
0.640255
146
1,098
4.815068
0.657534
0.085349
0.036984
0.045519
0.056899
0
0
0
0
0
0
0.00489
0.255009
1,098
38
75
28.894737
0.854523
0.504554
0
0.125
0
0
0.032197
0
0
0
0
0
0.125
1
0.0625
false
0
0.125
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1ad07d6aab73d167ba977ffa3a12a00f276ccca7
2,582
py
Python
global_finprint/annotation/urls/assignment.py
GlobalFinPrint/global_finprint
8a91ceaaed42aaa716d8c9f27518ba673ebf351c
[ "Apache-2.0" ]
null
null
null
global_finprint/annotation/urls/assignment.py
GlobalFinPrint/global_finprint
8a91ceaaed42aaa716d8c9f27518ba673ebf351c
[ "Apache-2.0" ]
6
2020-06-05T18:42:32.000Z
2022-01-13T00:48:57.000Z
global_finprint/annotation/urls/assignment.py
GlobalFinPrint/global_finprint
8a91ceaaed42aaa716d8c9f27518ba673ebf351c
[ "Apache-2.0" ]
null
null
null
from django.conf.urls import url, include from django.views.decorators.csrf import csrf_exempt from global_finprint.annotation.views.assignment import VideoAutoAssignView, ManageAssignmentView, ObservationListView, \ AssignmentListView, AssignmentListTbodyView, AssignmentModalBodyView, UnassignModalBodyView, Assig...
52.693878
124
0.755616
282
2,582
6.659574
0.280142
0.038339
0.090522
0.063898
0.056443
0
0
0
0
0
0
0
0.093726
2,582
48
125
53.791667
0.802564
0
0
0
0
0
0.30519
0.20488
0
0
0
0
0
1
0
false
0
0.121212
0
0.121212
0.090909
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1ad0ae27acc8dbfede485ff88f989be820ffa27e
3,512
py
Python
pytext/data/test/data_test.py
NunoEdgarGFlowHub/pytext
2358b2d7c8c4e6800c73f4bd1c9731723e503ed6
[ "BSD-3-Clause" ]
1
2019-02-25T01:50:03.000Z
2019-02-25T01:50:03.000Z
pytext/data/test/data_test.py
NunoEdgarGFlowHub/pytext
2358b2d7c8c4e6800c73f4bd1c9731723e503ed6
[ "BSD-3-Clause" ]
null
null
null
pytext/data/test/data_test.py
NunoEdgarGFlowHub/pytext
2358b2d7c8c4e6800c73f4bd1c9731723e503ed6
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved import unittest from pytext.common.constants import Stage from pytext.data import Data, RawBatcher, types from pytext.data.sources.data_source import SafeFileWrapper from pytext.data.sources.tsv import TSVDataSource from pyt...
39.909091
85
0.660308
402
3,512
5.634328
0.293532
0.092715
0.030905
0.031788
0.471082
0.418543
0.370861
0.370861
0.339514
0.339514
0
0.011983
0.215831
3,512
87
86
40.367816
0.810458
0.067198
0
0.304348
0
0
0.060226
0.017426
0
0
0
0
0.26087
1
0.086957
false
0
0.115942
0
0.231884
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1ad0bb118d7657c0226c9703cf3e0988adf2f733
1,765
py
Python
main.py
GrDaniel/duplicates_finder
edb5bb601494f50425850ce5bcfb4e37955541ba
[ "MIT" ]
null
null
null
main.py
GrDaniel/duplicates_finder
edb5bb601494f50425850ce5bcfb4e37955541ba
[ "MIT" ]
null
null
null
main.py
GrDaniel/duplicates_finder
edb5bb601494f50425850ce5bcfb4e37955541ba
[ "MIT" ]
null
null
null
import os from itertools import chain from hashlib import sha256 class DuplicatesRemover(object): def __init__(self, search_path: str, file_type: str): self.path = search_path self.f_type = file_type def find_duplicates(self): file_paths = self.collect_file_paths() files_size...
33.942308
104
0.648159
238
1,765
4.457983
0.281513
0.076343
0.067861
0.082941
0.131951
0
0
0
0
0
0
0.012298
0.26289
1,765
51
105
34.607843
0.803228
0.095184
0
0.108108
0
0
0.015424
0.014139
0
0
0
0
0
1
0.162162
false
0
0.081081
0.027027
0.378378
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1ad18fb2a9e0d96a010fcbc48c609ae14cc20cfb
415
py
Python
Python-Advanced/functions_advanced/absolute_values.py
Xamaneone/SoftUni-Intro
985fe3249cd2adf021c2003372e840219811d989
[ "MIT" ]
null
null
null
Python-Advanced/functions_advanced/absolute_values.py
Xamaneone/SoftUni-Intro
985fe3249cd2adf021c2003372e840219811d989
[ "MIT" ]
null
null
null
Python-Advanced/functions_advanced/absolute_values.py
Xamaneone/SoftUni-Intro
985fe3249cd2adf021c2003372e840219811d989
[ "MIT" ]
null
null
null
def convert_iterable_to_absolute(nums_list): result = list(map(lambda x: abs(x), nums_list)) return result nums = map(lambda el: float(el), input().split()) print(convert_iterable_to_absolute(nums)) # def convert_iterable_to_absolute(nums_list): # result = [abs(el) for el in nums_list] # return resu...
27.666667
51
0.718072
63
415
4.47619
0.31746
0.212766
0.241135
0.35461
0.780142
0.609929
0.609929
0.609929
0
0
0
0
0.146988
415
15
52
27.666667
0.79661
0.462651
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0
0
0.4
0.2
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1ad19cefd911536d3cd0c13616bd9ef7f9d045b4
2,686
py
Python
Question.py
asdfadrian/OpenTester
b893025fcdc3e5c9b8581a64b68fbafe32e30988
[ "Apache-2.0" ]
null
null
null
Question.py
asdfadrian/OpenTester
b893025fcdc3e5c9b8581a64b68fbafe32e30988
[ "Apache-2.0" ]
null
null
null
Question.py
asdfadrian/OpenTester
b893025fcdc3e5c9b8581a64b68fbafe32e30988
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Mon May 14 12:20:07 2018 @author: 1172334950C """ class Question(object): """ This is used as the structure to format questions and retrieve those properties for our tests number : string Display element number within the Test Container questi...
27.131313
120
0.612063
288
2,686
5.680556
0.409722
0.061125
0.06846
0.023227
0
0
0
0
0
0
0
0.016251
0.312733
2,686
98
121
27.408163
0.869989
0.306404
0
0
0
0
0.015458
0
0
0
0
0
0
1
0.340426
false
0
0
0.212766
0.574468
0.12766
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
1
1
0
0
3
46b7f5466652a294010568c915735275e982b3b9
107
py
Python
envs/hns/mujoco-worldgen/mujoco_worldgen/util/envs/__init__.py
jiayu-ch15/curriculum
7305833b8f875c91f7598029f63fd3e543a0fd82
[ "MIT" ]
424
2019-09-17T15:50:41.000Z
2022-03-26T07:10:21.000Z
envs/hns/mujoco-worldgen/mujoco_worldgen/util/envs/__init__.py
jiayu-ch15/curriculum
7305833b8f875c91f7598029f63fd3e543a0fd82
[ "MIT" ]
7
2019-09-18T08:54:58.000Z
2020-08-28T15:12:45.000Z
envs/hns/mujoco-worldgen/mujoco_worldgen/util/envs/__init__.py
jiayu-ch15/curriculum
7305833b8f875c91f7598029f63fd3e543a0fd82
[ "MIT" ]
81
2019-09-18T00:14:25.000Z
2022-03-30T18:25:08.000Z
from .env_viewer import EnvViewer from .examine_env import examine_env from .flexible_load import load_env
26.75
36
0.859813
17
107
5.117647
0.470588
0.229885
0
0
0
0
0
0
0
0
0
0
0.11215
107
3
37
35.666667
0.915789
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
46b8e3c90bcd926a8f712d20d77daa3692772f66
6,095
py
Python
test/unit/test_network_util.py
shannonxtreme/DeepReg
373f6c28fed1d7376d5c39340b08a3814804efb2
[ "Apache-2.0" ]
null
null
null
test/unit/test_network_util.py
shannonxtreme/DeepReg
373f6c28fed1d7376d5c39340b08a3814804efb2
[ "Apache-2.0" ]
null
null
null
test/unit/test_network_util.py
shannonxtreme/DeepReg
373f6c28fed1d7376d5c39340b08a3814804efb2
[ "Apache-2.0" ]
null
null
null
# coding=utf-8 """ Tests for deepreg/model/network/util """ import pytest import tensorflow as tf import deepreg.model.network.util as util from deepreg.model.backbone import global_net, local_net, u_net def test_wrong_inputs(): """ Function to test wrong input types passed to build backbone func """ ...
29.587379
88
0.597539
790
6,095
4.403797
0.165823
0.03593
0.016384
0.037942
0.735556
0.688991
0.643001
0.619143
0.582351
0.546996
0
0.022001
0.29155
6,095
205
89
29.731707
0.783696
0.210664
0
0.50365
0
0
0.092908
0.005605
0
0
0
0
0.072993
1
0.058394
false
0
0.029197
0
0.087591
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
46ba3880bb819e029eff762b12b3a9362a955d15
4,841
py
Python
code/tmp_rtrip/test/test_importlib/test_locks.py
emilyemorehouse/ast-and-me
3f58117512e125e1ecbe3c72f2f0d26adb80b7b3
[ "MIT" ]
24
2018-01-23T05:28:40.000Z
2021-04-13T20:52:59.000Z
code/tmp_rtrip/test/test_importlib/test_locks.py
emilyemorehouse/ast-and-me
3f58117512e125e1ecbe3c72f2f0d26adb80b7b3
[ "MIT" ]
17
2017-12-21T18:32:31.000Z
2018-12-18T17:09:50.000Z
code/tmp_rtrip/test/test_importlib/test_locks.py
emilyemorehouse/ast-and-me
3f58117512e125e1ecbe3c72f2f0d26adb80b7b3
[ "MIT" ]
null
null
null
from . import util as test_util init = test_util.import_importlib('importlib') import sys import unittest import weakref from test import support try: import threading except ImportError: threading = None else: from test import lock_tests if threading is not None: class ModuleLockAsRLockTests: ...
30.639241
79
0.622185
492
4,841
5.890244
0.256098
0.019324
0.032781
0.041408
0.221532
0.133195
0.115942
0.063492
0
0
0
0.002947
0.299112
4,841
157
80
30.834395
0.851164
0.01384
0
0.16
0
0
0.006524
0
0
0
0
0
0.08
1
0.088
false
0.032
0.072
0.008
0.32
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
46bc10fa6ebc50719d08ff180aa6f6a2e590a585
9,053
py
Python
archived_code/sed_test_AI_64_8.py
jacob975/deep_learning
52a5073589cf78aeadfde8ea51f687bc497a059b
[ "MIT" ]
null
null
null
archived_code/sed_test_AI_64_8.py
jacob975/deep_learning
52a5073589cf78aeadfde8ea51f687bc497a059b
[ "MIT" ]
10
2018-03-14T08:44:12.000Z
2018-11-13T13:45:53.000Z
archived_code/sed_test_AI_64_8.py
jacob975/deep_learning
52a5073589cf78aeadfde8ea51f687bc497a059b
[ "MIT" ]
null
null
null
#!/usr/bin/python3 ''' Abstract: This is a code for test AI with given sed data. Usage: sed_test_AI_64_8.py [source] [id] [directory] [AI] Editor and Practicer: Jacob975 ################################## # Python3 # # This code is made in python3 # ################################...
37.102459
150
0.642218
1,259
9,053
4.444797
0.24305
0.020014
0.025733
0.028592
0.201573
0.145818
0.061115
0.028234
0.023946
0.013581
0
0.022062
0.218933
9,053
243
151
37.255144
0.76934
0.372363
0
0.05
0
0
0.071505
0
0
0
0
0
0
1
0.05
false
0
0.091667
0.008333
0.175
0.158333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
46bc78afaeb62cb0bbad5b4d159a408a129ad787
677
py
Python
compare_lists/compare.py
Esukhia/text_utils
562065d4dedba127f8aaeee03ca3d9f071805f62
[ "MIT" ]
1
2017-01-26T22:37:57.000Z
2017-01-26T22:37:57.000Z
compare_lists/compare.py
Esukhia/tibtext_utils
562065d4dedba127f8aaeee03ca3d9f071805f62
[ "MIT" ]
null
null
null
compare_lists/compare.py
Esukhia/tibtext_utils
562065d4dedba127f8aaeee03ca3d9f071805f62
[ "MIT" ]
null
null
null
from PyTib.common import open_file, write_file import os monlam = open_file('input/monlam1_total_corrected.txt').split('\n') monlam_entries = [a.split(' | ')[0] for a in monlam] monlam_entries = [a.rstrip('་') for a in monlam_entries] monlam_dict = {a: True for a in monlam_entries} non_monlam = {} in_path = 'input/us...
35.631579
81
0.675037
110
677
3.963636
0.381818
0.119266
0.055046
0.082569
0.137615
0.06422
0
0
0
0
0
0.003521
0.161004
677
18
82
37.611111
0.760563
0
0
0
0
0
0.131462
0.079764
0
0
0
0
0
1
0
false
0
0.125
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
0
0
0
0
0
0
0
0
0
1
0
46bc7d4de06ca22e044fe05c60711faebec83394
801
py
Python
lustre/minification.py
half-cambodian-hacker-man/lustre
93e2196a962cafcfd7fa0be93a6b0d563c46ba75
[ "MIT" ]
3
2020-09-06T02:21:09.000Z
2020-09-30T00:05:54.000Z
lustre/minification.py
videogame-hacker/lustre
93e2196a962cafcfd7fa0be93a6b0d563c46ba75
[ "MIT" ]
null
null
null
lustre/minification.py
videogame-hacker/lustre
93e2196a962cafcfd7fa0be93a6b0d563c46ba75
[ "MIT" ]
null
null
null
import typing from starlette.responses import Response, HTMLResponse from starlette.templating import _TemplateResponse try: import htmlmin except ImportError: htmlmin = None def setup_html_minification( response_classes=[HTMLResponse, _TemplateResponse], **minification_config ): assert htmlmin is n...
28.607143
84
0.750312
90
801
6.466667
0.488889
0.072165
0.051546
0.082474
0
0
0
0
0
0
0
0
0.188514
801
27
85
29.666667
0.895385
0
0
0
0
0
0.062422
0
0
0
0
0
0.052632
1
0.105263
false
0
0.263158
0
0.473684
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
46bdf7ca5389b5cf7a84c57dce254fb87783c3f5
165
py
Python
packs/openhab/actions/set_state.py
jonico/st2contrib
149c9c553f24360d91a14fef7ea6146707de75fd
[ "Apache-2.0" ]
164
2015-01-17T16:08:33.000Z
2021-08-03T02:34:07.000Z
packs/openhab/actions/set_state.py
jonico/st2contrib
149c9c553f24360d91a14fef7ea6146707de75fd
[ "Apache-2.0" ]
442
2015-01-01T11:19:01.000Z
2017-09-06T23:26:17.000Z
packs/openhab/actions/set_state.py
jonico/st2contrib
149c9c553f24360d91a14fef7ea6146707de75fd
[ "Apache-2.0" ]
202
2015-01-13T00:37:40.000Z
2020-11-07T11:30:10.000Z
from lib.action import BaseAction class SetStateAction(BaseAction): def run(self, item, state): self._put(item, state) return {'status': 'ok'}
20.625
33
0.654545
20
165
5.35
0.8
0.168224
0
0
0
0
0
0
0
0
0
0
0.224242
165
7
34
23.571429
0.835938
0
0
0
0
0
0.048485
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.8
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
46bf10d65b2898b4623a80c0d43fb1265448ebae
10,711
py
Python
src/iceberg_penguins/search/data_processing/m_im_util.py
iceberg-project/Penguins
80297bc812e2a3811cbcfd1025e81072631b1c5c
[ "MIT" ]
3
2018-04-02T19:59:06.000Z
2019-02-15T16:42:13.000Z
src/iceberg_penguins/search/data_processing/m_im_util.py
iceberg-project/Penguins
80297bc812e2a3811cbcfd1025e81072631b1c5c
[ "MIT" ]
15
2018-09-12T19:18:08.000Z
2020-08-06T21:59:56.000Z
src/iceberg_penguins/search/data_processing/m_im_util.py
iceberg-project/Penguins
80297bc812e2a3811cbcfd1025e81072631b1c5c
[ "MIT" ]
2
2019-03-06T06:18:14.000Z
2019-05-06T16:18:06.000Z
""" Utility scripts for images Author: Hieu Le License: MIT Copyright: 2018-2019 """ import os import numpy as np from PIL import Image from scipy import misc #AT this point, I don't even know what is this file about. junk codes assembly. def list_to_file(f,list): file = open(f,"w") for i in list: file....
37.98227
128
0.559892
1,970
10,711
3.024873
0.077157
0.119483
0.040275
0.067125
0.829334
0.815909
0.795603
0.769424
0.758181
0.732841
0
0.038304
0.200542
10,711
281
129
38.117438
0.657597
0.041639
0
0.579208
0
0
0.026547
0
0
0
0
0
0
1
0.069307
false
0
0.019802
0.00495
0.158416
0.004951
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
46bf2f91cab789c97cc83c0134f194ca9fcd7f20
6,024
py
Python
templates/openwisp2/settings.py
wanman/ansible-openwisp2
4688cf0f17dae37f716fe2526db43c3f486d0ece
[ "BSD-3-Clause" ]
null
null
null
templates/openwisp2/settings.py
wanman/ansible-openwisp2
4688cf0f17dae37f716fe2526db43c3f486d0ece
[ "BSD-3-Clause" ]
null
null
null
templates/openwisp2/settings.py
wanman/ansible-openwisp2
4688cf0f17dae37f716fe2526db43c3f486d0ece
[ "BSD-3-Clause" ]
null
null
null
import os # Build paths inside the project like this: os.path.join(BASE_DIR, ...) BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) # SECURITY WARNING: keep the secret key used in production secret! SECRET_KEY = '{{ openwisp2_secret_key }}' # SECURITY WARNING: don't run with debug turned on in p...
29.101449
129
0.623008
585
6,024
6.218803
0.335043
0.057174
0.037383
0.030236
0.14486
0.11215
0.037933
0.02199
0.02199
0
0
0.014069
0.221282
6,024
206
130
29.242718
0.761458
0.11587
0
0.106509
0
0.005917
0.459118
0.287679
0
0
0
0
0
0
null
null
0.04142
0.005917
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
46c38085c612adaa0ca6f062ec208baa84525144
1,056
py
Python
Yahoo_OAuth/migrations/0001_initial.py
namur007/JJE_App
7765953455133f33a5dcc4a2f3a99ffb38eae71f
[ "MIT" ]
2
2017-05-05T14:02:37.000Z
2017-07-21T13:19:31.000Z
Yahoo_OAuth/migrations/0001_initial.py
namur007/JJE_App
7765953455133f33a5dcc4a2f3a99ffb38eae71f
[ "MIT" ]
7
2018-01-31T13:28:12.000Z
2020-02-19T01:57:55.000Z
Yahoo_OAuth/migrations/0001_initial.py
namur007/JJE_App
7765953455133f33a5dcc4a2f3a99ffb38eae71f
[ "MIT" ]
null
null
null
# Generated by Django 2.2.6 on 2019-10-24 22:23 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] ope...
34.064516
156
0.610795
111
1,056
5.657658
0.54955
0.119427
0.044586
0.070064
0
0
0
0
0
0
0
0.019206
0.260417
1,056
30
157
35.2
0.784891
0.042614
0
0
1
0
0.084242
0
0
0
0
0
0
1
0
false
0
0.130435
0
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
46c47142371b3e46378834e1371af47748000547
36,685
py
Python
source/pysnmp_mibs/TOKEN-RING-RMON-MIB.py
vkushnir/docker_syslog-ng
7f5632231c1884a90a272a4c002448ca9133aa02
[ "MIT" ]
null
null
null
source/pysnmp_mibs/TOKEN-RING-RMON-MIB.py
vkushnir/docker_syslog-ng
7f5632231c1884a90a272a4c002448ca9133aa02
[ "MIT" ]
null
null
null
source/pysnmp_mibs/TOKEN-RING-RMON-MIB.py
vkushnir/docker_syslog-ng
7f5632231c1884a90a272a4c002448ca9133aa02
[ "MIT" ]
null
null
null
# # PySNMP MIB module TOKEN-RING-RMON-MIB (http://pysnmp.sf.net) # ASN.1 source http://mibs.snmplabs.com:80/asn1/TOKEN-RING-RMON-MIB # Produced by pysmi-0.0.7 at Fri Feb 17 12:48:35 2017 # On host 5641388e757d platform Linux version 4.4.0-62-generic by user root # Using Python version 2.7.13 (default, Dec 22 2016, 09:2...
172.230047
11,057
0.778929
3,627
36,685
7.878412
0.090709
0.016308
0.022047
0.032021
0.36336
0.275346
0.211759
0.208609
0.200875
0.186877
0
0.094891
0.081314
36,685
212
11,058
173.042453
0.752982
0.008532
0
0
0
0
0.075434
0.013805
0
0
0
0
0
1
0
false
0.004975
0.034826
0
0.084577
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
46c557a179c5fb92ac9408ec04bd8055c84518c8
554
py
Python
reviews/models.py
connor-blackburn/HighCal
6669d5be6298eefd3f5189df7d30a5c06ce1e04d
[ "MIT" ]
null
null
null
reviews/models.py
connor-blackburn/HighCal
6669d5be6298eefd3f5189df7d30a5c06ce1e04d
[ "MIT" ]
8
2021-06-02T00:51:39.000Z
2022-03-12T00:10:27.000Z
reviews/models.py
connor-blackburn/HighCal
6669d5be6298eefd3f5189df7d30a5c06ce1e04d
[ "MIT" ]
null
null
null
from django.db import models from django.utils import timezone """ Model for client reviews """ class Review(models.Model): job_title = models.CharField(max_length=200) review_title = models.CharField(max_length=200) description = models.TextField() created_date = models.DateTimeField(auto_now_add=True...
32.588235
86
0.749097
71
554
5.661972
0.56338
0.049751
0.099502
0.114428
0.159204
0.159204
0
0
0
0
0
0.017021
0.151625
554
17
87
32.588235
0.838298
0
0
0
0
0
0
0
0
0
0
0
0
1
0.083333
false
0
0.166667
0.083333
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
46c56182630c419e1daaa07b3dec063b0e47636b
517
py
Python
src/driver/slack_driver.py
tubone24/tech_blog_spider
f91feea445d87d31e81bd920c7d386e42c495aee
[ "MIT" ]
null
null
null
src/driver/slack_driver.py
tubone24/tech_blog_spider
f91feea445d87d31e81bd920c7d386e42c495aee
[ "MIT" ]
7
2021-06-25T07:50:21.000Z
2021-11-06T04:44:55.000Z
src/driver/slack_driver.py
rcy1314/spider-feed
fbab76c8e221053f611cadd4d27642ef8725e76d
[ "MIT" ]
1
2022-02-10T21:05:13.000Z
2022-02-10T21:05:13.000Z
import json from output.slack_output_data import SlackOutputData from interface.driver.slack_driver import SlackDriver from dataclasses import asdict import requests from util.logger import AppLog _logger = AppLog(__name__) class SlackDriverImpl(SlackDriver): def __init__(self, url: str): self.url = url ...
27.210526
57
0.748549
65
517
5.723077
0.446154
0.08871
0
0
0
0
0
0
0
0
0
0
0.170213
517
18
58
28.722222
0.867133
0
0
0
0
0
0.040619
0
0
0
0
0
0
1
0.142857
false
0
0.428571
0
0.642857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
46c5bcf324a8b41403c291c8dfde501e02e20e93
188
py
Python
src/bitinfo_holding_alert/config.py
Jimsparkle/bitinfo_holding_alert
bc79112615686fadf98c9fe634fb8e7eefbe9918
[ "MIT" ]
null
null
null
src/bitinfo_holding_alert/config.py
Jimsparkle/bitinfo_holding_alert
bc79112615686fadf98c9fe634fb8e7eefbe9918
[ "MIT" ]
null
null
null
src/bitinfo_holding_alert/config.py
Jimsparkle/bitinfo_holding_alert
bc79112615686fadf98c9fe634fb8e7eefbe9918
[ "MIT" ]
null
null
null
"""Default configuration when no ENV variables are set.""" CLOUDFLARE_BYPASS_URL = "http://localhost:8191/v1" TRACK_COIN = "dogecoin" TRACK_ADDRESS = "DRSqEwcnJX3GZWH9Twtwk8D5ewqdJzi13k"
31.333333
58
0.792553
21
188
6.904762
0.952381
0
0
0
0
0
0
0
0
0
0
0.064706
0.095745
188
5
59
37.6
0.788235
0.276596
0
0
0
0
0.507692
0.261538
0
0
0
0
0
1
0
false
0.333333
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
46c8a4498347859a35abd81cfed9f5d58806930a
1,841
py
Python
src/zojax/widget/captcha/widget.py
Zojax/zojax.widget.captcha
9aa315bc0ec85ecd5bf0743296e4733e0b2b8de5
[ "ZPL-2.1" ]
null
null
null
src/zojax/widget/captcha/widget.py
Zojax/zojax.widget.captcha
9aa315bc0ec85ecd5bf0743296e4733e0b2b8de5
[ "ZPL-2.1" ]
null
null
null
src/zojax/widget/captcha/widget.py
Zojax/zojax.widget.captcha
9aa315bc0ec85ecd5bf0743296e4733e0b2b8de5
[ "ZPL-2.1" ]
null
null
null
############################################################################## # # Copyright (c) 2009 Zope Foundation and Contributors. # All Rights Reserved. # # This software is subject to the provisions of the Zope Public License, # Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution. # THIS SOF...
32.298246
78
0.67572
207
1,841
5.917874
0.478261
0.022857
0.026939
0.037551
0
0
0
0
0
0
0
0.006477
0.161325
1,841
56
79
32.875
0.786917
0.250407
0
0
0
0
0.007463
0
0
0
0
0
0
1
0.222222
false
0
0.259259
0.111111
0.703704
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
1
1
0
0
3
46c8ae10d53e8ce4d08d1a08d67812ca60bf79fe
5,407
py
Python
VirusTotalAVBot/modules/virustotal.py
kenanismayilov335/VirusTotal-File-Scan-Bot
369e8bba10ce40cf9e9bdaeba018496e8509cd8d
[ "MIT" ]
null
null
null
VirusTotalAVBot/modules/virustotal.py
kenanismayilov335/VirusTotal-File-Scan-Bot
369e8bba10ce40cf9e9bdaeba018496e8509cd8d
[ "MIT" ]
null
null
null
VirusTotalAVBot/modules/virustotal.py
kenanismayilov335/VirusTotal-File-Scan-Bot
369e8bba10ce40cf9e9bdaeba018496e8509cd8d
[ "MIT" ]
6
2020-11-01T17:46:27.000Z
2022-03-01T14:34:17.000Z
import hashlib import logging import os import requests import time from VirusTotalAVBot import VT_API logger = logging.getLogger("VirusTotal Methods") api_base_url = "https://www.virustotal.com/api/v3" header = {'x-apikey': VT_API} def vthash(filehash: str): """Returns the analysis data class for a file in Vir...
32.572289
118
0.630294
688
5,407
4.832849
0.258721
0.050526
0.057744
0.07218
0.41594
0.355188
0.348271
0.321805
0.321805
0.295338
0
0.011879
0.2371
5,407
165
119
32.769697
0.792727
0.120769
0
0.330189
0
0.018868
0.281316
0.095329
0
0
0
0
0
1
0.066038
false
0
0.056604
0
0.226415
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
46c92a616b9d9851d72ec6a3219d86df867f63c1
621
py
Python
apps/keyboard/migrations/0004_auto_20210328_2122.py
ZhuoZhuoCrayon/AcousticKeyBoard-Web
0a0ead78aec7ed03898fd51e076aa57df966508c
[ "MIT" ]
null
null
null
apps/keyboard/migrations/0004_auto_20210328_2122.py
ZhuoZhuoCrayon/AcousticKeyBoard-Web
0a0ead78aec7ed03898fd51e076aa57df966508c
[ "MIT" ]
null
null
null
apps/keyboard/migrations/0004_auto_20210328_2122.py
ZhuoZhuoCrayon/AcousticKeyBoard-Web
0a0ead78aec7ed03898fd51e076aa57df966508c
[ "MIT" ]
null
null
null
# Generated by Django 3.1.5 on 2021-03-28 13:22 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("keyboard", "0003_algorithmmodelinst"), ] operations = [ migrations.AddField( model_name="algorithmmodelinst", name="...
25.875
78
0.613527
59
621
6.338983
0.627119
0.096257
0.122995
0.144385
0.518717
0.518717
0.518717
0
0
0
0
0.042129
0.273752
621
23
79
27
0.78714
0.072464
0
0.352941
1
0
0.174216
0.04007
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
46c9302c3f4b4a29c5ed9d253acad5c1dab9d819
323
py
Python
instagram_api/response/profile_notice.py
Yuego/instagram_api
b53f72db36c505a2eb24ebac1ba8267a0cc295bb
[ "MIT" ]
13
2019-08-07T21:24:34.000Z
2020-12-12T12:23:50.000Z
instagram_api/response/profile_notice.py
Yuego/instagram_api
b53f72db36c505a2eb24ebac1ba8267a0cc295bb
[ "MIT" ]
null
null
null
instagram_api/response/profile_notice.py
Yuego/instagram_api
b53f72db36c505a2eb24ebac1ba8267a0cc295bb
[ "MIT" ]
null
null
null
from .mapper import ApiResponse, ApiResponseInterface from .mapper.types import Timestamp, AnyType __all__ = ['ProfileNoticeResponse'] class ProfileNoticeResponseInterface(ApiResponseInterface): has_change_password_megaphone: bool class ProfileNoticeResponse(ApiResponse, ProfileNoticeResponseInterface): pa...
24.846154
73
0.839009
26
323
10.153846
0.692308
0.075758
0
0
0
0
0
0
0
0
0
0
0.105263
323
12
74
26.916667
0.913495
0
0
0
0
0
0.065015
0.065015
0
0
0
0
0
1
0
false
0.285714
0.285714
0
0.714286
0
1
0
1
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
1
0
0
4