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
e0b6d6d790f6a66450e484645051fdb746a7bea5
594
py
Python
cloudsky_backend/settings/cloudsky_backend_settings_prod.py
minicloudsky/cloudsky_backend
8b48593014af3ff22a57719c59e3de77765052b6
[ "MIT" ]
null
null
null
cloudsky_backend/settings/cloudsky_backend_settings_prod.py
minicloudsky/cloudsky_backend
8b48593014af3ff22a57719c59e3de77765052b6
[ "MIT" ]
null
null
null
cloudsky_backend/settings/cloudsky_backend_settings_prod.py
minicloudsky/cloudsky_backend
8b48593014af3ff22a57719c59e3de77765052b6
[ "MIT" ]
null
null
null
# coding=utf-8 # Database # https://docs.djangoproject.com/en/3.1/ref/settings/#databases DATABASES = { "default": { 'ENGINE': 'django.db.backends.mysql', 'HOST': 'mysql', 'PORT': 3306, 'USER': 'root', 'PASSWORD': 'root', 'NAME': 'cloudsky_backend' ...
21.214286
65
0.494949
51
594
5.686275
0.764706
0.075862
0
0
0
0
0
0
0
0
0
0.0275
0.326599
594
27
66
22
0.6975
0.138047
0
0.1
0
0
0.45625
0.179167
0
0
0
0
0
1
0
false
0.1
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
1
0
0
0
0
0
1
e0b6dc0ad9486b174747b1a73d9f8a5520585618
190
py
Python
adv/fwspsa_visual.py
eliphatfs/adversarial
62c51e22734fd6bc2f674d0a96fddd177e06c507
[ "Apache-2.0" ]
null
null
null
adv/fwspsa_visual.py
eliphatfs/adversarial
62c51e22734fd6bc2f674d0a96fddd177e06c507
[ "Apache-2.0" ]
1
2021-09-01T07:31:34.000Z
2021-09-01T07:31:34.000Z
adv/fwspsa_visual.py
eliphatfs/adversarial
62c51e22734fd6bc2f674d0a96fddd177e06c507
[ "Apache-2.0" ]
1
2021-06-11T13:26:13.000Z
2021-06-11T13:26:13.000Z
# %% import os import pickle import matplotlib.pyplot as plt # %% batch_1 = pickle.load(open(r'sucess_rate_22_15_15.pkl', 'rb')) plt.plot(batch_1, label='batch 1') plt.legend() plt.show()
15.833333
62
0.710526
33
190
3.909091
0.666667
0.139535
0
0
0
0
0
0
0
0
0
0.053892
0.121053
190
11
63
17.272727
0.718563
0.026316
0
0
0
0
0.181319
0.131868
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
e0b978670e30c6efefd4dc8bf4ca5eeb2912241a
508
py
Python
test.py
enrikb/uhid-freebsd
3b48d74a0e7a489e5b420c8552b403ab45aab19b
[ "BSD-2-Clause" ]
null
null
null
test.py
enrikb/uhid-freebsd
3b48d74a0e7a489e5b420c8552b403ab45aab19b
[ "BSD-2-Clause" ]
null
null
null
test.py
enrikb/uhid-freebsd
3b48d74a0e7a489e5b420c8552b403ab45aab19b
[ "BSD-2-Clause" ]
null
null
null
from __future__ import print_function import uhid_freebsd as uhid import os for dev in uhid.enumerate(): print("Device:", dev["device"]) print(" Path:", dev["path"]) print(" VendorId: 0x%04x" % dev["vendor_id"]) print(" ProductId: 0x%04x" % dev["product_id"]) print(" ProductDesc:", dev["produc...
29.882353
52
0.604331
71
508
4.15493
0.535211
0.047458
0.054237
0
0
0
0
0
0
0
0
0.022388
0.208661
508
16
53
31.75
0.711443
0
0
0
0
0
0.253937
0
0
0
0
0
0
1
0
false
0
0.214286
0
0.214286
0.5
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
e0bba8c3d6955a27798ea84c11fb8eb6eb1851e0
7,542
py
Python
ansys/dpf/core/operators/mesh/split_mesh.py
jfthuong/pydpf-core
bf2895ebc546e0004f759289bfc9a23196559ac3
[ "MIT" ]
18
2021-10-16T10:38:29.000Z
2022-03-29T11:26:42.000Z
ansys/dpf/core/operators/mesh/split_mesh.py
jfthuong/pydpf-core
bf2895ebc546e0004f759289bfc9a23196559ac3
[ "MIT" ]
79
2021-10-11T23:18:54.000Z
2022-03-29T14:53:14.000Z
ansys/dpf/core/operators/mesh/split_mesh.py
jfthuong/pydpf-core
bf2895ebc546e0004f759289bfc9a23196559ac3
[ "MIT" ]
5
2021-11-29T18:35:37.000Z
2022-03-16T16:49:21.000Z
""" split_mesh =============== Autogenerated DPF operator classes. """ from warnings import warn from ansys.dpf.core.dpf_operator import Operator from ansys.dpf.core.inputs import Input, _Inputs from ansys.dpf.core.outputs import Output, _Outputs from ansys.dpf.core.operators.specification import PinSpecification, Spec...
29.810277
91
0.574118
804
7,542
5.189055
0.154229
0.063279
0.03164
0.034516
0.413231
0.386146
0.314477
0.301534
0.295062
0.295062
0
0.004002
0.304163
7,542
252
92
29.928571
0.790968
0.443384
0
0.224719
1
0
0.065507
0.006377
0
0
0
0
0
1
0.123596
false
0
0.05618
0
0.303371
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
e0c6bc833f50474b70b33b473fcb50623575f9ef
9,650
py
Python
main.py
Akshay-Rohatgi/Kh0p3sh
98bad15f7f29128e341c7f77ffd04198c07478f4
[ "MIT" ]
8
2020-07-09T23:30:46.000Z
2021-08-19T17:59:55.000Z
main.py
Akshay-Rohatgi/Kh0p3sh
98bad15f7f29128e341c7f77ffd04198c07478f4
[ "MIT" ]
null
null
null
main.py
Akshay-Rohatgi/Kh0p3sh
98bad15f7f29128e341c7f77ffd04198c07478f4
[ "MIT" ]
3
2020-07-10T09:57:15.000Z
2021-01-31T15:59:37.000Z
from func import * import getpass import os user = getpass.getuser() print(''' ========================================================== _ ___ ___ ____ _ | |/ / | / _ \ |___ \ | | | ' /| |__ | | | |_ __ __) |___| |__ | < | '_ \| | | | '_ \|__ </ __| '_ \ | . \| | | | |_...
41.956522
212
0.49399
1,060
9,650
4.424528
0.233019
0.026439
0.032409
0.036461
0.387207
0.350533
0.332409
0.320469
0.306823
0.306823
0
0.059353
0.263212
9,650
230
213
41.956522
0.600281
0.017409
0
0.27027
0
0.016216
0.60044
0.144475
0
0
0
0
0
1
0
false
0.016216
0.016216
0
0.027027
0.248649
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
e0c9a232f6aae3dc867c47071f1236548d620fa1
4,500
py
Python
daemon/examples/myservices/sample.py
kleberango/core
87ca431e73fec22faeaebd6b25fc76e0b165c639
[ "BSD-2-Clause" ]
null
null
null
daemon/examples/myservices/sample.py
kleberango/core
87ca431e73fec22faeaebd6b25fc76e0b165c639
[ "BSD-2-Clause" ]
null
null
null
daemon/examples/myservices/sample.py
kleberango/core
87ca431e73fec22faeaebd6b25fc76e0b165c639
[ "BSD-2-Clause" ]
1
2021-09-03T19:18:54.000Z
2021-09-03T19:18:54.000Z
""" Simple example for a user-defined service. """ from core.services.coreservices import CoreService, ServiceMode class MyService(CoreService): """ Custom CORE Service :var str name: name used as a unique ID for this service and is required, no spaces :var str group: allows you to group services wi...
40.540541
113
0.673333
612
4,500
4.921569
0.300654
0.025564
0.023904
0.018592
0.276892
0.276892
0.264276
0.264276
0.231076
0.188247
0
0.003947
0.268
4,500
110
114
40.909091
0.910443
0.660222
0
0.138889
0
0
0.138631
0
0
0
0
0
0
1
0.138889
false
0.027778
0.027778
0
0.638889
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
e0c9b98541be03cf9be9d2e655358ee3cf41104a
347
py
Python
app.py
nathan-verghis/PlagueDoctors
9a2f2a678573a856f7da254b4b9d6e433f564b3d
[ "CC-BY-3.0", "MIT" ]
null
null
null
app.py
nathan-verghis/PlagueDoctors
9a2f2a678573a856f7da254b4b9d6e433f564b3d
[ "CC-BY-3.0", "MIT" ]
null
null
null
app.py
nathan-verghis/PlagueDoctors
9a2f2a678573a856f7da254b4b9d6e433f564b3d
[ "CC-BY-3.0", "MIT" ]
null
null
null
import psycopg2 conn = psycopg2.connect( database='vital-cat-208.defaultdb', user='asap_verg', password='VnG9hSgLqu6SQx@', sslmode='require', sslrootcert='certs/ca.crt', sslkey='certs/client.maxroach.key', sslcert='certs/client.maxroach.crt', port=26257, host='free-tier.gcp-us-centr...
24.785714
56
0.691643
41
347
5.829268
0.853659
0.09205
0.158996
0
0
0
0
0
0
0
0
0.044068
0.149856
347
13
57
26.692308
0.766102
0
0
0
0
0
0.463977
0.340058
0
0
0
0
0
1
0
false
0.083333
0.083333
0
0.083333
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
e0cd3d5156289a1eff9ef6a929460307e6a73701
5,135
py
Python
main.py
jellycsc/building-autoencoders-in-Pytorch
3f05d8dd279746d6fa1b1724228574445d65459f
[ "MIT" ]
28
2019-05-11T17:30:46.000Z
2020-12-02T08:01:41.000Z
main.py
jellycsc/Pytorch-CIFAR-10-autoencoder
3f05d8dd279746d6fa1b1724228574445d65459f
[ "MIT" ]
1
2021-07-26T10:29:42.000Z
2021-08-02T12:39:21.000Z
main.py
jellycsc/Pytorch-CIFAR-10-autoencoder
3f05d8dd279746d6fa1b1724228574445d65459f
[ "MIT" ]
9
2021-02-25T11:18:54.000Z
2021-11-16T21:50:20.000Z
# Numpy import numpy as np # Torch import torch import torch.nn as nn import torch.nn.functional as F import torch.optim as optim from torch.autograd import Variable # Torchvision import torchvision import torchvision.transforms as transforms # Matplotlib %matplotlib inline import matplotlib.pyplot as plt # OS impo...
31.697531
87
0.562804
585
5,135
4.85641
0.326496
0.019711
0.022527
0.042239
0.171771
0.117564
0.075326
0.075326
0.075326
0.075326
0
0.041508
0.282181
5,135
161
88
31.89441
0.729246
0.119572
0
0.105263
0
0
0.089453
0.011126
0
0
0
0
0
0
null
null
0
0.096491
null
null
0.114035
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
e0ce0b102f37599b112e528ad603e22bd7b61b8a
9,872
py
Python
users/views.py
nevilparmar11/Music_Sharing_Site
1dec47e0cdbe88b96a99dbfba4e5205e04b746f5
[ "MIT" ]
3
2020-03-20T14:45:50.000Z
2021-06-17T13:30:21.000Z
users/views.py
nevilparmar11/Music_Sharing_Site
1dec47e0cdbe88b96a99dbfba4e5205e04b746f5
[ "MIT" ]
4
2021-03-19T02:23:50.000Z
2022-01-13T02:36:34.000Z
users/views.py
nevilparmar11/Music_Sharing_Site
1dec47e0cdbe88b96a99dbfba4e5205e04b746f5
[ "MIT" ]
null
null
null
from itertools import chain from django.contrib import messages from django.contrib.auth import authenticate, login from django.contrib.auth import logout from django.contrib.auth.models import User from django.http import JsonResponse from django.shortcuts import render, get_object_or_404, redirect from django.db.mod...
39.019763
123
0.642119
1,098
9,872
5.574681
0.12204
0.061755
0.06829
0.082339
0.68992
0.571475
0.537004
0.489953
0.475739
0.459729
0
0.000405
0.249088
9,872
252
124
39.174603
0.825307
0.009724
0
0.50237
0
0
0.121392
0.023849
0
0
0
0
0
1
0.061611
false
0.056872
0.052133
0.009479
0.218009
0.004739
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
e0d32ff8da3ac604b54b16ed39579b49ede5c552
637
py
Python
src/sentry/cache/django.py
seukjung/sentry-custom
c5f6bb2019aef3caff7f3e2b619f7a70f2b9b963
[ "BSD-3-Clause" ]
20
2016-10-01T04:29:24.000Z
2020-10-09T07:23:34.000Z
src/sentry/cache/django.py
fotinakis/sentry
c5cfa5c5e47475bf5ef41e702548c2dfc7bb8a7c
[ "BSD-3-Clause" ]
8
2019-12-28T23:49:55.000Z
2022-03-02T04:34:18.000Z
src/sentry/cache/django.py
zaasmi/codeerrorhelp
1ab8d3e314386b9b2d58dad9df45355bf6014ac9
[ "BSD-3-Clause" ]
7
2016-10-27T05:12:45.000Z
2021-05-01T14:29:53.000Z
""" sentry.cache.django ~~~~~~~~~~~~~~~~~~~ :copyright: (c) 2010-2014 by the Sentry Team, see AUTHORS for more details. :license: BSD, see LICENSE for more details. """ from __future__ import absolute_import from django.core.cache import cache from .base import BaseCache class DjangoCache(BaseCache): def set(...
25.48
75
0.695447
88
637
4.977273
0.431818
0.091324
0.109589
0.136986
0.212329
0.212329
0
0
0
0
0
0.01518
0.172684
637
24
76
26.541667
0.815939
0.252747
0
0
0
0
0
0
0
0
0
0
0
1
0.3
false
0
0.3
0.1
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
e0d4054c672ef32c4a1e2b8c585db06391029cf4
3,779
py
Python
test/completion/comprehensions.py
kirat-singh/jedi
65bc1c117b3175cb4d492484775c3fd7f207bc92
[ "MIT" ]
4,213
2015-01-02T15:43:22.000Z
2022-03-31T16:15:01.000Z
test/completion/comprehensions.py
kirat-singh/jedi
65bc1c117b3175cb4d492484775c3fd7f207bc92
[ "MIT" ]
1,392
2015-01-02T18:43:39.000Z
2022-03-27T18:43:59.000Z
test/completion/comprehensions.py
PeterJCLaw/jedi
070f191f550990c23220d7f209df076178307cf6
[ "MIT" ]
525
2015-01-02T19:07:31.000Z
2022-03-13T02:03:20.000Z
# ----------------- # list comprehensions # ----------------- # basics: a = ['' for a in [1]] #? str() a[0] #? ['insert'] a.insert a = [a for a in [1]] #? int() a[0] y = 1.0 # Should not leak. [y for y in [3]] #? float() y a = [a for a in (1, 2)] #? int() a[0] a = [a for a,b in [(1,'')]] #? int() a[0] a = [a for ...
14.478927
91
0.473935
644
3,779
2.767081
0.197205
0.043771
0.070707
0.047138
0.210438
0.179574
0.120651
0.069024
0.069024
0.047699
0
0.041148
0.234718
3,779
260
92
14.534615
0.575035
0
0
0.185567
0
0
0.006623
0
0
0
0
0
0
0
null
null
0.020619
0
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
e0d42099d704ada5c23aa55319412d853f10c3fb
31,405
py
Python
src/geni.py
hhugo/General
5237123668e939c0cb83aa3e1c4756473336bc7e
[ "MIT" ]
7
2020-11-09T02:07:18.000Z
2021-02-20T08:29:05.000Z
src/geni.py
hhugo/General
5237123668e939c0cb83aa3e1c4756473336bc7e
[ "MIT" ]
null
null
null
src/geni.py
hhugo/General
5237123668e939c0cb83aa3e1c4756473336bc7e
[ "MIT" ]
3
2020-11-09T00:57:00.000Z
2021-02-20T08:31:51.000Z
import itertools import functools import os import sys import textwrap max_arity = 6 def generate(*element, **kwds): p = functools.partial(print, file=kwds.get("file")) previous_line_was_end = False for line in indent(element, kwds.get("indent", 0)): line_is_end = line.strip() == "end" i...
33.409574
264
0.605031
3,688
31,405
4.899675
0.081074
0.005202
0.014112
0.008301
0.499391
0.423409
0.353735
0.322136
0.270504
0.228611
0
0.003381
0.265499
31,405
939
265
33.445154
0.779989
0.021493
0
0.342593
1
0.021164
0.192056
0.06341
0
0
0
0.001065
0.007937
1
0.12037
false
0
0.006614
0.029101
0.201058
0.001323
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
e0d5f9ffa58bffd735e9f128507bcb818ea7a889
7,059
py
Python
wilson_maze.py
Jaco7Fourie/BrickWall
319dc504c6110f8de654b793b8489676f0421ca9
[ "MIT" ]
1
2020-10-18T16:42:13.000Z
2020-10-18T16:42:13.000Z
wilson_maze.py
Jaco7Fourie/BrickWall
319dc504c6110f8de654b793b8489676f0421ca9
[ "MIT" ]
1
2020-10-18T17:45:05.000Z
2020-10-24T04:29:26.000Z
wilson_maze.py
Jaco7Fourie/BrickWall
319dc504c6110f8de654b793b8489676f0421ca9
[ "MIT" ]
null
null
null
from typing import List, Any, Tuple from grid_cell import WalledCell from random import sample class WilsonMaze: """ Generates a maze based on Wilson's algorithm that interprets the maze as a uniform spanning tree of the graph of cells. The algorithm is based on random walks between cells that have their ...
50.784173
120
0.598385
951
7,059
4.303891
0.22082
0.094063
0.067432
0.035182
0.338627
0.302223
0.281212
0.256291
0.241143
0.222086
0
0.014974
0.309392
7,059
138
121
51.152174
0.824615
0.25981
0
0.362637
1
0
0.064484
0.01369
0
0
0
0.007246
0
1
0.043956
false
0
0.032967
0
0.120879
0.010989
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
e0d7ac5a325d0fa42f13a3d66411ee32777fd36b
2,134
py
Python
main.py
mcniggga/plu
061896b30598b0e1808c7b42944e319a48830807
[ "MIT" ]
null
null
null
main.py
mcniggga/plu
061896b30598b0e1808c7b42944e319a48830807
[ "MIT" ]
null
null
null
main.py
mcniggga/plu
061896b30598b0e1808c7b42944e319a48830807
[ "MIT" ]
1
2022-01-05T21:24:17.000Z
2022-01-05T21:24:17.000Z
import renderer,lvl_loader mul=input("multiplayer?(y/n)") online=False if mul=="y": import network online=True def controler(): target = None inp="" while True: inp = input().split(" ") command = inp[0] arg1=inp[1] if command == "move": if arg1 == "up": ...
38.8
130
0.544049
278
2,134
4.125899
0.258993
0.244115
0.148213
0.076722
0.437663
0.437663
0.399303
0.339146
0.267655
0.267655
0
0.038615
0.296157
2,134
54
131
39.518519
0.725033
0
0
0.08
0
0
0.073571
0.01687
0
0
0
0
0
1
0.02
false
0
0.04
0
0.06
0.04
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e0d7ea33c1f0aa21db2aecda5d80a31e35125119
4,219
py
Python
herbarium/pylib/herbarium_dataset.py
rafelafrance/herbarium_phenology
b33889090fcaf9482927cb1d089f03316dbe86be
[ "MIT" ]
null
null
null
herbarium/pylib/herbarium_dataset.py
rafelafrance/herbarium_phenology
b33889090fcaf9482927cb1d089f03316dbe86be
[ "MIT" ]
13
2021-09-08T20:15:40.000Z
2022-03-03T21:22:30.000Z
herbarium/pylib/herbarium_dataset.py
rafelafrance/herbarium_phenology
b33889090fcaf9482927cb1d089f03316dbe86be
[ "MIT" ]
null
null
null
"""Generate training data.""" import warnings from collections import namedtuple import torch from PIL import Image from torch.utils.data import Dataset from torchvision import transforms from .const import ALL_TRAITS from .const import ROOT_DIR Sheet = namedtuple("Sheet", "path coreid order y_true") InferenceSheet ...
30.135714
87
0.58995
493
4,219
4.918864
0.251521
0.03299
0.024742
0.020619
0.385155
0.341443
0.32
0.32
0.32
0.280412
0
0.006421
0.298649
4,219
139
88
30.352518
0.813113
0.086987
0
0.352941
1
0
0.025164
0
0
0
0
0
0
1
0.098039
false
0
0.078431
0.019608
0.27451
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
e0d980d9c97cb9a14aac8e812e524e0989e8e22c
349
py
Python
src/send_location.py
mizamae/HomeAutomation
8c462ee4c31c1fea6792cb19af66a4d2cf7bb2ca
[ "MIT" ]
null
null
null
src/send_location.py
mizamae/HomeAutomation
8c462ee4c31c1fea6792cb19af66a4d2cf7bb2ca
[ "MIT" ]
9
2017-11-21T15:45:18.000Z
2022-02-11T03:37:54.000Z
src/send_location.py
mizamae/HomeAutomation
8c462ee4c31c1fea6792cb19af66a4d2cf7bb2ca
[ "MIT" ]
1
2020-07-22T02:24:17.000Z
2020-07-22T02:24:17.000Z
import requests file_contents=b'{"_type":"location","tid":"ad","acc":67,"batt":81,"conn":"m","lat":42.8171802,"lon":-1.6013,"tst":1510572418}' headers = {'Content-Type': 'application/json'} #print(file_contents) response = requests.post('http://localhost:8000/owntracks/mizamae/', data=file_contents, headers=h...
38.777778
127
0.704871
47
349
5.148936
0.787234
0.14876
0
0
0
0
0
0
0
0
0
0.098462
0.068768
349
9
128
38.777778
0.646154
0.057307
0
0
0
0.2
0.551402
0.339564
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e0dc12d3e83fec9cc63fefbcc36fed64d0bcbd6d
955
py
Python
gateways/clients/s3_client.py
HathorNetwork/hathor-explorer-service
81236deceac12ddfd813b33723481421a9064c82
[ "MIT" ]
null
null
null
gateways/clients/s3_client.py
HathorNetwork/hathor-explorer-service
81236deceac12ddfd813b33723481421a9064c82
[ "MIT" ]
51
2021-05-21T18:58:15.000Z
2022-03-29T17:45:00.000Z
gateways/clients/s3_client.py
HathorNetwork/hathor-explorer-service
81236deceac12ddfd813b33723481421a9064c82
[ "MIT" ]
1
2022-02-08T21:15:26.000Z
2022-02-08T21:15:26.000Z
from typing import Union from boto3.session import Session from common.configuration import S3_ENDPOINT class S3Client: """This is an abstraction for boto3 s3 client """ def __init__(self) -> None: session = Session() if S3_ENDPOINT is None: self.client = session.client('s3')...
28.088235
72
0.597906
116
955
4.836207
0.474138
0.071301
0.060606
0.081996
0.089127
0
0
0
0
0
0
0.015129
0.307853
955
33
73
28.939394
0.833585
0.241885
0
0
0
0
0.012195
0
0
0
0
0.030303
0
1
0.125
false
0
0.1875
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
e0e3ee2812b18ab18916d8b9d8cb17341f66eda8
731
py
Python
src/main/python/leetcode-python/easy/ReverseInteger.py
sonymoon/algorithm
cc2a9e0125fc64bdbf6549034bad6482d2027ea2
[ "Apache-2.0" ]
null
null
null
src/main/python/leetcode-python/easy/ReverseInteger.py
sonymoon/algorithm
cc2a9e0125fc64bdbf6549034bad6482d2027ea2
[ "Apache-2.0" ]
null
null
null
src/main/python/leetcode-python/easy/ReverseInteger.py
sonymoon/algorithm
cc2a9e0125fc64bdbf6549034bad6482d2027ea2
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python # -*- coding: UTF-8 -*- # Given a 32-bit signed integer, reverse digits of an integer. class Solution: max32BitsNum = 1 << 31 def reverse(self, x): """ :type x: int :rtype: int """ if x > Solution.max32BitsNum - 1 or x < -Solution.max32BitsNum: ...
22.151515
94
0.470588
95
731
3.621053
0.410526
0.052326
0.18314
0.02907
0.040698
0
0
0
0
0
0
0.085308
0.422709
731
32
95
22.84375
0.729858
0.169631
0
0.111111
0
0
0
0
0
0
0
0
0
1
0.055556
false
0
0
0
0.333333
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
0
0
0
0
0
0
0
0
0
0
1
e0e4bcda64cd0726f81d7cea3e3de048b57aeab1
1,092
py
Python
spot_tools/relabelling.py
shiwei23/ImageAnalysis3
1d2aa1721d188c96feb55b22fc6c9929d7073f49
[ "MIT" ]
19
2020-08-20T15:05:10.000Z
2021-08-17T19:31:07.000Z
spot_tools/relabelling.py
shiwei23/ImageAnalysis3
1d2aa1721d188c96feb55b22fc6c9929d7073f49
[ "MIT" ]
2
2019-10-31T13:29:05.000Z
2021-08-12T17:32:32.000Z
spot_tools/relabelling.py
shiwei23/ImageAnalysis3
1d2aa1721d188c96feb55b22fc6c9929d7073f49
[ "MIT" ]
4
2020-08-21T07:39:25.000Z
2021-03-10T08:10:43.000Z
# This is functions to repick import numpy as np # generate recombined spots def generate_recombined_spots(repeat_cand_spots, repeat_ids, original_cand_spots, original_ids): """Function to re-assemble fitted original candidate spots and repeat candidate spots to perform spot repick to determine relabeli...
40.444444
96
0.700549
147
1,092
4.938776
0.408163
0.11157
0.061983
0.052342
0.088154
0.088154
0.088154
0
0
0
0
0.003542
0.224359
1,092
27
97
40.444444
0.853601
0.238095
0
0
1
0
0.163164
0
0
0
0
0
0
1
0.066667
false
0
0.066667
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e0e57e74e49d6f740b3741c119775a29766fefee
413
py
Python
events/migrations/0047_participant_date_of_birth.py
horacexd/clist
9759dfea97b86514bec9825d2430abc36decacf0
[ "Apache-2.0" ]
166
2019-05-16T23:46:08.000Z
2022-03-31T05:20:23.000Z
events/migrations/0047_participant_date_of_birth.py
horacexd/clist
9759dfea97b86514bec9825d2430abc36decacf0
[ "Apache-2.0" ]
92
2020-01-18T22:51:53.000Z
2022-03-12T01:23:57.000Z
events/migrations/0047_participant_date_of_birth.py
VadVergasov/clist
4afcdfe88250d224043b28efa511749347cec71c
[ "Apache-2.0" ]
23
2020-02-09T17:38:43.000Z
2021-12-09T14:39:07.000Z
# Generated by Django 2.2.10 on 2020-04-16 20:44 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('events', '0046_participant_addition_fields'), ] operations = [ migrations.AddField( model_name='participant', name=...
21.736842
58
0.617433
45
413
5.533333
0.8
0
0
0
0
0
0
0
0
0
0
0.066445
0.271186
413
18
59
22.944444
0.760797
0.11138
0
0
1
0
0.169863
0.087671
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e0e6fea9211f9d3c980a95b0d1012b6a9c62b926
1,236
py
Python
src/getpaid/ogone/tests/test_ogone.py
collective/getpaid.ogone
f48b32c9237c4c92818ceb07812658b44219b08e
[ "ZPL-2.1" ]
null
null
null
src/getpaid/ogone/tests/test_ogone.py
collective/getpaid.ogone
f48b32c9237c4c92818ceb07812658b44219b08e
[ "ZPL-2.1" ]
null
null
null
src/getpaid/ogone/tests/test_ogone.py
collective/getpaid.ogone
f48b32c9237c4c92818ceb07812658b44219b08e
[ "ZPL-2.1" ]
null
null
null
__docformat__ = "reStructuredText" import doctest import unittest from zope.testing.doctestunit import DocFileSuite from zope.app.testing import placelesssetup, ztapi from zope.app.annotation import interfaces as annotation_interfaces from zope.app.annotation import attribute from getpaid.core.interfaces import IStore...
37.454545
79
0.731392
107
1,236
8.280374
0.429907
0.036117
0.037246
0.047404
0.060948
0
0
0
0
0
0
0
0.203074
1,236
32
80
38.625
0.899492
0
0
0
0
0
0.046117
0
0
0
0
0
0
1
0.074074
false
0
0.333333
0.037037
0.444444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
e0e73a5296e954483820d1d84922309efbfd5540
587
py
Python
utest/writer/test_aligners.py
Kompakti/robotframework
3ac75d5212f544018ef1cc99a8b68c222715df5f
[ "ECL-2.0", "Apache-2.0" ]
4
2020-09-13T08:56:49.000Z
2021-01-10T11:21:34.000Z
utest/writer/test_aligners.py
Kompakti/robotframework
3ac75d5212f544018ef1cc99a8b68c222715df5f
[ "ECL-2.0", "Apache-2.0" ]
2
2020-10-15T19:39:58.000Z
2020-10-15T19:41:03.000Z
utest/writer/test_aligners.py
Kompakti/robotframework
3ac75d5212f544018ef1cc99a8b68c222715df5f
[ "ECL-2.0", "Apache-2.0" ]
4
2016-02-29T15:42:22.000Z
2018-05-08T08:58:18.000Z
import unittest from robot.parsing.model import TestCaseTable from robot.utils.asserts import assert_equal from robot.writer.aligners import ColumnAligner class TestColumnAligner(unittest.TestCase): def test_counting_column_widths(self): table = TestCaseTable(None) table.set_header(['test cases'...
34.529412
71
0.696763
75
587
5.32
0.573333
0.067669
0.120301
0.130326
0.205514
0.205514
0.205514
0.205514
0
0
0
0.033333
0.182283
587
16
72
36.6875
0.797917
0
0
0
0
0
0.097104
0
0
0
0
0
0.25
1
0.083333
false
0
0.333333
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
e0f2ae79962590da8cf8b17bb083886a4495fd91
5,365
py
Python
technologies/PyFragmentLocator/syb.py
A-Kastner/101repo
692a1a967b1d0f6db0c64739f9c13d68a6a6ae17
[ "MIT" ]
15
2015-04-23T02:43:22.000Z
2021-12-07T13:39:26.000Z
technologies/PyFragmentLocator/syb.py
A-Kastner/101repo
692a1a967b1d0f6db0c64739f9c13d68a6a6ae17
[ "MIT" ]
4
2021-12-02T15:53:30.000Z
2022-02-09T22:54:15.000Z
technologies/PyFragmentLocator/syb.py
A-Kastner/101repo
692a1a967b1d0f6db0c64739f9c13d68a6a6ae17
[ "MIT" ]
14
2015-06-04T10:05:20.000Z
2021-03-08T12:20:26.000Z
from functools import partial, reduce import copy from collections import namedtuple from functools import partial import sys sys.setrecursionlimit(10**3) #helpers def curry(f): arg_num = f.func_code.co_argcount def wrap(*args): _f = partial(f, *args) if hasattr(f, 't'): _f.t = f...
19.229391
93
0.566822
741
5,365
4.043185
0.210526
0.010681
0.006008
0.018692
0.336449
0.316756
0.255674
0.23231
0.23231
0.190921
0
0.005339
0.301771
5,365
278
94
19.298561
0.794447
0.10233
0
0.327684
0
0
0.005538
0
0
0
0
0
0.022599
1
0.186441
false
0.011299
0.028249
0.056497
0.519774
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
4604996daf46e45f46b5f9790308762bb8b40927
1,585
py
Python
usuarios/views.py
gaston38kpo/tienda-messirve-commerce
bb485789e9a65ae03a6408d89138d7026bf0c38a
[ "MIT" ]
2
2021-11-14T09:29:56.000Z
2021-11-14T21:20:12.000Z
usuarios/views.py
gaston38kpo/tienda-messirve-commerce
bb485789e9a65ae03a6408d89138d7026bf0c38a
[ "MIT" ]
4
2021-11-12T16:12:09.000Z
2021-11-15T15:14:42.000Z
usuarios/views.py
gaston38kpo/tienda-messirve-commerce
bb485789e9a65ae03a6408d89138d7026bf0c38a
[ "MIT" ]
null
null
null
from django.shortcuts import render from django.shortcuts import redirect from django.contrib.auth import authenticate from django.contrib.auth import login from django.contrib.auth import logout from django.contrib.auth.models import User from products.models import Product from cart.models import Cart # Create your ...
31.078431
103
0.670032
184
1,585
5.728261
0.255435
0.056926
0.064516
0.079696
0.379507
0.208729
0.208729
0.208729
0.208729
0.108159
0
0
0.219558
1,585
51
104
31.078431
0.852061
0.014511
0
0.289474
0
0
0.100577
0
0
0
0
0
0
1
0.105263
false
0.105263
0.210526
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
4607b88b065a120424d90a3db7fc557ac42702a1
3,197
py
Python
stacks/NStack.py
udaysekhar24/begineers-recipes
4e7de0cbc0155913ac7c1414947765d6d6c9f3f2
[ "Apache-2.0" ]
null
null
null
stacks/NStack.py
udaysekhar24/begineers-recipes
4e7de0cbc0155913ac7c1414947765d6d6c9f3f2
[ "Apache-2.0" ]
null
null
null
stacks/NStack.py
udaysekhar24/begineers-recipes
4e7de0cbc0155913ac7c1414947765d6d6c9f3f2
[ "Apache-2.0" ]
null
null
null
# Problem: Implement a 3 stack # Algorithm for n-stacks using dynamic arrays (list) # Stack: LIFO (Last In First Out) # pop from top and push to top # data = our dynamic array # Maintain tops array for n-number of stacks and initialize to -1 # Maintain lengths for each stack. # Push(stack, value) # Check i...
31.653465
91
0.587739
456
3,197
4.063596
0.197368
0.094981
0.192661
0.094981
0.504047
0.448462
0.448462
0.369131
0.33891
0.310847
0
0.025244
0.293713
3,197
100
92
31.97
0.795394
0.28777
0
0.462687
0
0
0.017333
0
0
0
0
0
0
1
0.074627
false
0
0
0
0.119403
0.358209
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
460b29e378a2c8c899e44333af5a81a473d521cd
505
py
Python
app/editor/migrations/0007_auto_20190810_1530.py
sappachok/django-anaconda
1ffd33ded759f622b6db23a3550a898b62350403
[ "MIT" ]
null
null
null
app/editor/migrations/0007_auto_20190810_1530.py
sappachok/django-anaconda
1ffd33ded759f622b6db23a3550a898b62350403
[ "MIT" ]
7
2019-12-06T05:34:28.000Z
2021-06-10T18:25:17.000Z
app/editor/migrations/0007_auto_20190810_1530.py
sappachok/django-datasci
1ffd33ded759f622b6db23a3550a898b62350403
[ "MIT" ]
null
null
null
# Generated by Django 2.2.4 on 2019-08-10 15:30 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('editor', '0006_auto_20190810_1420'), ] operations = [ migrations.AlterField( model_name='python...
25.25
130
0.651485
59
505
5.474576
0.677966
0.074303
0.086687
0.136223
0
0
0
0
0
0
0
0.079692
0.229703
505
19
131
26.578947
0.750643
0.089109
0
0
1
0
0.144105
0.050218
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
460b4df5713c3bcfa292a83c3b19357d9722cdbb
1,701
py
Python
CommonLibrary/modern.py
Lucywu2017/ui-test
b90f91ce18e93474eef6ed9471d1cd510ac2f9aa
[ "MIT" ]
null
null
null
CommonLibrary/modern.py
Lucywu2017/ui-test
b90f91ce18e93474eef6ed9471d1cd510ac2f9aa
[ "MIT" ]
1
2018-05-17T02:31:34.000Z
2018-05-17T02:31:34.000Z
CommonLibrary/modern.py
Lucywu2017/ui-test
b90f91ce18e93474eef6ed9471d1cd510ac2f9aa
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import datetime from sqlalchemy import Column, Integer, String from sqlalchemy.engine import create_engine from CommonLibrary.Util import parse_config import sqlalchemy import sqlalchemy.orm import sqlalchemy.ext.declarative # 解析配置文件 # config = parse_config() # 与数据库建立链接 # engine = create_engin...
27.885246
116
0.677837
194
1,701
5.752577
0.474227
0.040323
0.067204
0.041219
0.198925
0.145161
0.145161
0.145161
0.145161
0.145161
0
0.013015
0.186949
1,701
60
117
28.35
0.793926
0.289242
0
0.25
0
0
0.158918
0.051564
0
0
0
0
0
1
0
false
0
0.21875
0
0.53125
0.03125
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
460c27efae5952e5c496e1553e7b8bf64ba9e382
273
py
Python
src/spikedetection/__init__.py
FongAnthonyM/python-spikedetection
7af53e4c0a36b305563b5a8a48f151bbbea9e1ea
[ "MIT" ]
null
null
null
src/spikedetection/__init__.py
FongAnthonyM/python-spikedetection
7af53e4c0a36b305563b5a8a48f151bbbea9e1ea
[ "MIT" ]
1
2022-02-24T01:38:33.000Z
2022-02-24T04:44:22.000Z
src/spikedetection/__init__.py
FongAnthonyM/python-spikedetection
7af53e4c0a36b305563b5a8a48f151bbbea9e1ea
[ "MIT" ]
null
null
null
""" __init__.py spikedetection provides tools for detection epileptic spikes. """ # Package Header # from .header import * # Header # __author__ = __author__ __credits__ = __credits__ __maintainer__ = __maintainer__ __email__ = __email__ # Imports # # Local Packages #
16.058824
61
0.758242
26
273
6.576923
0.769231
0
0
0
0
0
0
0
0
0
0
0
0.161172
273
16
62
17.0625
0.746725
0.446886
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
460d9ec94eb560dbaa4b72320555be86e997f062
3,953
py
Python
supbot/statemanager/state.py
adsau59/Supbot2
8f8dd4bf822b42975ffe659a388b54889c500ff1
[ "MIT" ]
18
2020-02-06T19:24:51.000Z
2022-02-04T12:20:49.000Z
supbot/statemanager/state.py
adsau59/Supbot2
8f8dd4bf822b42975ffe659a388b54889c500ff1
[ "MIT" ]
6
2020-06-30T14:24:00.000Z
2021-07-06T19:53:31.000Z
supbot/statemanager/state.py
adsau59/Supbot2
8f8dd4bf822b42975ffe659a388b54889c500ff1
[ "MIT" ]
5
2020-02-13T23:31:27.000Z
2021-12-10T04:54:58.000Z
from enum import Enum from typing import Tuple, cast from abc import ABC from supbot import g from supbot.results import GotoStateResult class State(Enum): """ Represents different states of the gui in whatsapp app """ MAIN = 0, CHAT = 1, SEARCH = 2 class GUIState(ABC): def __init__(s...
28.235714
94
0.613964
447
3,953
5.252796
0.194631
0.041738
0.11925
0.101363
0.526405
0.488075
0.448893
0.382453
0.336457
0.287053
0
0.001071
0.291424
3,953
139
95
28.438849
0.837201
0.069061
0
0.483146
0
0
0.023703
0
0
0
0
0
0
1
0.168539
false
0
0.05618
0.033708
0.516854
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
460f837cec5fbc43963ce3e2f6100902bd76ae96
18,906
py
Python
Docker/Helpers/src/github.com/roscopecoltran/scancode-toolkit/src/commoncode/fileutils.py
roscopecoltran/SniperKit-Core
4600dffe1cddff438b948b6c22f586d052971e04
[ "MIT" ]
null
null
null
Docker/Helpers/src/github.com/roscopecoltran/scancode-toolkit/src/commoncode/fileutils.py
roscopecoltran/SniperKit-Core
4600dffe1cddff438b948b6c22f586d052971e04
[ "MIT" ]
null
null
null
Docker/Helpers/src/github.com/roscopecoltran/scancode-toolkit/src/commoncode/fileutils.py
roscopecoltran/SniperKit-Core
4600dffe1cddff438b948b6c22f586d052971e04
[ "MIT" ]
null
null
null
# # Copyright (c) 2017 nexB Inc. and others. All rights reserved. # http://nexb.com and https://github.com/nexB/scancode-toolkit/ # The ScanCode software is licensed under the Apache License version 2.0. # Data generated with ScanCode require an acknowledgment. # ScanCode is a trademark of nexB Inc. # # You may not use...
31.146623
118
0.651433
2,524
18,906
4.799525
0.201664
0.013373
0.015024
0.010979
0.232954
0.185901
0.165428
0.137609
0.107727
0.093198
0
0.002861
0.260499
18,906
606
119
31.19802
0.863601
0.152015
0
0.230769
0
0
0.028514
0.00241
0
0
0
0.009901
0.003663
0
null
null
0.010989
0.058608
null
null
0.003663
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
4612387e266602fd8fa38c9c7e7c99355be11efe
478
py
Python
testEven.py
anayakoti/FirstSample
8ef05772991644e63a4fd6759458f449cd2b00c0
[ "bzip2-1.0.6" ]
null
null
null
testEven.py
anayakoti/FirstSample
8ef05772991644e63a4fd6759458f449cd2b00c0
[ "bzip2-1.0.6" ]
null
null
null
testEven.py
anayakoti/FirstSample
8ef05772991644e63a4fd6759458f449cd2b00c0
[ "bzip2-1.0.6" ]
null
null
null
#User gives input and loop continues until user keeps entering even numbers Evennumber=0; while(Evennumber%2==0): print("Let me check if the entered number is even or not"); Evennumber=int(input()); if(Evennumber%2==0): print("Number enter is even"); if(Evennumber%2!=0): print("You hav...
19.916667
76
0.633891
69
478
4.391304
0.492754
0.108911
0.118812
0.168317
0.257426
0
0
0
0
0
0
0.020115
0.271967
478
23
77
20.782609
0.850575
0.303347
0
0
0
0
0.317221
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
46157362593cbe49fcbaf5926c9124d8cc2c83f7
8,131
py
Python
libica/openapi/libgds/models/create_volume_request.py
umccr-illumina/libica
916d27eea499f29bee590268b84208effb0cc576
[ "MIT" ]
null
null
null
libica/openapi/libgds/models/create_volume_request.py
umccr-illumina/libica
916d27eea499f29bee590268b84208effb0cc576
[ "MIT" ]
4
2021-11-15T10:47:51.000Z
2022-02-22T04:43:20.000Z
libica/openapi/libgds/models/create_volume_request.py
umccr-illumina/libica
916d27eea499f29bee590268b84208effb0cc576
[ "MIT" ]
null
null
null
# coding: utf-8 """ Genomic Data Store Service No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 The version of the OpenAPI document: v1 Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 imp...
34.308017
312
0.632886
957
8,131
5.199582
0.166144
0.048232
0.057476
0.08742
0.524719
0.466439
0.436897
0.305064
0.261254
0.188505
0
0.016778
0.281638
8,131
236
313
34.45339
0.835131
0.385069
0
0.085714
1
0
0.094595
0.033551
0
0
0
0
0
1
0.152381
false
0
0.038095
0
0.333333
0.019048
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
1ca55da66b0418f7cd551131d1515757ae4d0780
26,694
py
Python
test/IECoreGL/ShadingTest.py
goddardl/cortex
323a160fd831569591cde1504f415a638f8b85bc
[ "BSD-3-Clause" ]
null
null
null
test/IECoreGL/ShadingTest.py
goddardl/cortex
323a160fd831569591cde1504f415a638f8b85bc
[ "BSD-3-Clause" ]
null
null
null
test/IECoreGL/ShadingTest.py
goddardl/cortex
323a160fd831569591cde1504f415a638f8b85bc
[ "BSD-3-Clause" ]
null
null
null
########################################################################## # # Copyright (c) 2012-2013, Image Engine Design Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redis...
29.301866
161
0.606391
3,542
26,694
4.557312
0.119989
0.013381
0.03779
0.041816
0.69093
0.665717
0.655123
0.642176
0.624272
0.609404
0
0.074887
0.221623
26,694
910
162
29.334066
0.701992
0.078744
0
0.534375
0
0.010938
0.127997
0.015861
0
0
0
0
0.040625
1
0.054688
false
0
0.007813
0.001563
0.084375
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1cb5430e160a5f8f8e943f1acb082270353a43d8
296
py
Python
learnpyqt/source/basic/creating_a_window_2.py
ykyang/org.allnix.python
f9d74db2db026b20e925ac40dbca7d21b3ac0b0f
[ "Apache-2.0" ]
null
null
null
learnpyqt/source/basic/creating_a_window_2.py
ykyang/org.allnix.python
f9d74db2db026b20e925ac40dbca7d21b3ac0b0f
[ "Apache-2.0" ]
null
null
null
learnpyqt/source/basic/creating_a_window_2.py
ykyang/org.allnix.python
f9d74db2db026b20e925ac40dbca7d21b3ac0b0f
[ "Apache-2.0" ]
null
null
null
# tag::imports[] from PySide2.QtWidgets import QApplication, QPushButton # end::imports[] import sys # tag::QApplication[] app = QApplication(sys.argv) # end::MainWindow[] # tag::QWidget[] window = QPushButton("Push Me") window.show() # end::QWidget[] # tag::exec[] app.exec_() # end::exec[]
15.578947
55
0.685811
36
296
5.611111
0.527778
0
0
0
0
0
0
0
0
0
0
0.003846
0.121622
296
18
56
16.444444
0.773077
0.408784
0
0
0
0
0.042169
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
1cbaedc5bfa2de4626254e3312f101e71ebb7d70
2,828
py
Python
evaluation/wordpress/push_docker_images_to_back_registry.py
seveirbian/gear-old
8d3529a9bf42e652a9d7475c9d14e9a6afc69a76
[ "Apache-2.0" ]
null
null
null
evaluation/wordpress/push_docker_images_to_back_registry.py
seveirbian/gear-old
8d3529a9bf42e652a9d7475c9d14e9a6afc69a76
[ "Apache-2.0" ]
null
null
null
evaluation/wordpress/push_docker_images_to_back_registry.py
seveirbian/gear-old
8d3529a9bf42e652a9d7475c9d14e9a6afc69a76
[ "Apache-2.0" ]
null
null
null
import sys # package need to be installed, pip install docker import docker import time import yaml import os class Pusher: def __init__(self, images): self.images_to_push = images self.private_registry = "202.114.10.146:10000" def check(self): # detect whether the file exists, if tru...
31.775281
117
0.539604
314
2,828
4.716561
0.343949
0.037812
0.056718
0.09318
0.184335
0.115463
0.056718
0.056718
0
0
0
0.010326
0.349364
2,828
88
118
32.136364
0.794565
0.092999
0
0.092593
0
0
0.089202
0
0
0
0
0
0
0
null
null
0
0.092593
null
null
0.148148
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
1cbc0706114153e5e7fede3fb066194178f69ad9
1,848
py
Python
ingenico/connect/sdk/domain/payment/capture_payment_request.py
festicket/connect-sdk-python3
c399c6443789dd978f319c89e1ebd387c812a77b
[ "MIT" ]
12
2016-09-26T21:46:31.000Z
2020-12-23T18:44:54.000Z
ingenico/connect/sdk/domain/payment/capture_payment_request.py
festicket/connect-sdk-python3
c399c6443789dd978f319c89e1ebd387c812a77b
[ "MIT" ]
3
2020-05-02T16:53:02.000Z
2020-06-02T12:49:51.000Z
ingenico/connect/sdk/domain/payment/capture_payment_request.py
festicket/connect-sdk-python3
c399c6443789dd978f319c89e1ebd387c812a77b
[ "MIT" ]
11
2017-07-16T00:55:28.000Z
2021-09-24T17:00:49.000Z
# -*- coding: utf-8 -*- # # This class was auto-generated from the API references found at # https://epayments-api.developer-ingenico.com/s2sapi/v1/ # from ingenico.connect.sdk.data_object import DataObject class CapturePaymentRequest(DataObject): __amount = None __is_final = None @property def amou...
31.322034
149
0.642857
229
1,848
5.074236
0.379913
0.054217
0.047332
0.024096
0.092943
0.092943
0
0
0
0
0
0.003003
0.279221
1,848
58
150
31.862069
0.869369
0.36039
0
0.066667
1
0
0.036551
0
0
0
0
0
0
1
0.2
false
0
0.033333
0
0.466667
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
1cbcb00eeccaf24c1bb4bf5aed6e8e390c64a7be
294
py
Python
product/migrations/0009_delete_mymodel.py
harshit212705/ShopHere
ee571703f6be63f475cbe608a2fb8f5c2720013f
[ "MIT" ]
null
null
null
product/migrations/0009_delete_mymodel.py
harshit212705/ShopHere
ee571703f6be63f475cbe608a2fb8f5c2720013f
[ "MIT" ]
8
2020-09-07T21:12:04.000Z
2022-02-18T18:08:27.000Z
product/migrations/0009_delete_mymodel.py
harshit212705/ShopHere
ee571703f6be63f475cbe608a2fb8f5c2720013f
[ "MIT" ]
null
null
null
# Generated by Django 3.0 on 2019-12-18 21:33 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('product', '0008_auto_20191218_1844'), ] operations = [ migrations.DeleteModel( name='MyModel', ), ]
17.294118
47
0.605442
31
294
5.645161
0.870968
0
0
0
0
0
0
0
0
0
0
0.142857
0.285714
294
16
48
18.375
0.690476
0.146259
0
0
1
0
0.148594
0.092369
0
0
0
0
0
1
0
false
0
0.1
0
0.4
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
1cbe94a1a017c4140dc070997303eeb6ca9a51fe
3,511
py
Python
python/douban/douban.py
jennyzdse/jennyzdse.github.io
005c2088aeaa4b2101dd9275b18d72bb8fab7917
[ "MIT" ]
null
null
null
python/douban/douban.py
jennyzdse/jennyzdse.github.io
005c2088aeaa4b2101dd9275b18d72bb8fab7917
[ "MIT" ]
null
null
null
python/douban/douban.py
jennyzdse/jennyzdse.github.io
005c2088aeaa4b2101dd9275b18d72bb8fab7917
[ "MIT" ]
null
null
null
#!/usr/bin/env python import urllib import urllib2 import sys, re import cookielib import hashlib import httplib import StringIO DEBUG = 1 def Connect2Web(addr): aResp = urllib2.urlopen(addr); web_pg = aResp.read(); if DEBUG: print addr #print web_pg return web_pg def getReviewList(url): ...
26.201493
132
0.565081
499
3,511
3.93988
0.270541
0.089013
0.056968
0.034588
0.234995
0.169888
0.155646
0.08647
0.08647
0.041709
0
0.015861
0.227855
3,511
133
133
26.398496
0.709332
0.10168
0
0.223404
0
0.021277
0.3036
0.077095
0
0
0
0
0
0
null
null
0
0.074468
null
null
0.06383
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
1cbeb956bfbc9b42b399a6915cfe8bec10ae748c
1,402
py
Python
mipengine/controller/api/error_handlers.py
madgik/MIP-Engine
d707a4189457cecd977ddac8c213f308c8282b37
[ "MIT" ]
4
2021-01-19T18:45:38.000Z
2022-01-31T13:25:45.000Z
mipengine/controller/api/error_handlers.py
madgik/MIP-Engine
d707a4189457cecd977ddac8c213f308c8282b37
[ "MIT" ]
136
2020-12-31T11:10:00.000Z
2022-03-31T22:21:55.000Z
mipengine/controller/api/error_handlers.py
madgik/MIP-Engine
d707a4189457cecd977ddac8c213f308c8282b37
[ "MIT" ]
9
2021-05-21T06:05:14.000Z
2021-12-02T09:09:01.000Z
import enum import traceback from quart import Blueprint from mipengine.controller.api.exceptions import BadRequest from mipengine.controller.api.exceptions import BadUserInput from mipengine.node_tasks_DTOs import InsufficientDataError error_handlers = Blueprint("error_handlers", __name__) INSUFFICIENT_DATA_ERROR_...
31.863636
124
0.815977
164
1,402
6.682927
0.353659
0.071168
0.095803
0.10219
0.140511
0.076642
0
0
0
0
0
0.009693
0.116976
1,402
43
125
32.604651
0.875606
0
0
0
0
0.034483
0.171184
0.042796
0
0
0
0
0
1
0.137931
false
0
0.206897
0.068966
0.655172
0.172414
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
1cc04bec81fe60d037c3127416e7afcddb1af5ce
2,976
py
Python
nixui/state_model.py
adrianparvino/nix-gui
569337b614d72d26769b49457c929c67367a5584
[ "MIT" ]
null
null
null
nixui/state_model.py
adrianparvino/nix-gui
569337b614d72d26769b49457c929c67367a5584
[ "MIT" ]
null
null
null
nixui/state_model.py
adrianparvino/nix-gui
569337b614d72d26769b49457c929c67367a5584
[ "MIT" ]
null
null
null
import collections from nixui.options import api from nixui.utils.logger import logger class SlotMapper: def __init__(self): self.slot_fns = collections.defaultdict(list) def add_slot(self, key, slot): self.slot_fns[key].append(slot) def __call__(self, key): def fn(*args, **kwar...
36.740741
108
0.649194
373
2,976
4.91689
0.246649
0.052345
0.092694
0.052345
0.343511
0.25518
0.162486
0.098146
0.098146
0.054526
0
0.001789
0.248656
2,976
80
109
37.2
0.818426
0.050067
0
0.101695
0
0
0.092068
0
0
0
0
0.0125
0
1
0.169492
false
0
0.050847
0.033898
0.305085
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
1cc1b99c530bb18e6b1739fd56a16785bb280cc6
546
py
Python
developement_code/volcab_generate.py
darongliu/Input_Method
28055937fc777cbba8cbc4c87ba5a2670da7d4e2
[ "MIT" ]
1
2018-07-03T07:42:42.000Z
2018-07-03T07:42:42.000Z
developement_code/volcab_generate.py
darongliu/Input_Method
28055937fc777cbba8cbc4c87ba5a2670da7d4e2
[ "MIT" ]
null
null
null
developement_code/volcab_generate.py
darongliu/Input_Method
28055937fc777cbba8cbc4c87ba5a2670da7d4e2
[ "MIT" ]
null
null
null
#! /usr/bin/python import codecs all_word = set() count = 0 with codecs.open('../data/all_chinese.ptt.corpus.20140906.txt','r',encoding = 'utf8') as f: for line in f: word = line.split() for one_word in word: all_word.add(one_word) print count count = count+1 print len(al...
24.818182
91
0.571429
83
546
3.674699
0.445783
0.091803
0.065574
0.104918
0.27541
0.157377
0
0
0
0
0
0.035443
0.276557
546
21
92
26
0.736709
0.031136
0
0.210526
0
0
0.130682
0.081439
0
0
0
0
0
0
null
null
0
0.052632
null
null
0.105263
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
1cc691530847141380445953db51f85b3f9f8c6a
1,135
py
Python
listMacs.py
bentasker/HomePlugAV_Crypto_bypass_exploit
96e6e1a16095cfacad2bb46b01dd4ffad07ac1a4
[ "CECILL-B" ]
null
null
null
listMacs.py
bentasker/HomePlugAV_Crypto_bypass_exploit
96e6e1a16095cfacad2bb46b01dd4ffad07ac1a4
[ "CECILL-B" ]
null
null
null
listMacs.py
bentasker/HomePlugAV_Crypto_bypass_exploit
96e6e1a16095cfacad2bb46b01dd4ffad07ac1a4
[ "CECILL-B" ]
null
null
null
# -*- coding: utf-8 -*- # # List potential HomePlugAV MAC addresses found in a pcap # # Usage: listMacs.py [pcap filename] # First we need to import the scapy modules files as it's not installed on the server import sys try: # Import Scapy from scapy.all import * from scapy.utils import rdpcap except: sys....
24.148936
96
0.667841
174
1,135
4.356322
0.511494
0.047493
0.039578
0.05277
0.145119
0.145119
0.145119
0.145119
0.145119
0.145119
0
0.061822
0.187665
1,135
46
97
24.673913
0.760304
0.3163
0
0.380952
0
0
0.028909
0
0
0
0
0
0
0
null
null
0
0.238095
null
null
0.095238
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
1cc726810933dde887dd61371f56498124a5fc4a
935
py
Python
01_Scripts/Strudent_Script.py
Magdyedwar1996/python-level-one-codes
066086672f43488bc8b32c620b5e2f94cedfe3da
[ "MIT" ]
1
2021-11-16T14:14:38.000Z
2021-11-16T14:14:38.000Z
01_Scripts/Strudent_Script.py
Magdyedwar1996/python-level-one-codes
066086672f43488bc8b32c620b5e2f94cedfe3da
[ "MIT" ]
null
null
null
01_Scripts/Strudent_Script.py
Magdyedwar1996/python-level-one-codes
066086672f43488bc8b32c620b5e2f94cedfe3da
[ "MIT" ]
null
null
null
names = input("Enter names seperated by commas : ").split(",") assignments = [int(x) for x in input("Enter assignment counts separated by commas : ").split(",")] grades = [int(y) for y in input("Enter grades separated by commas : ").split(",")] new_grades = [] for i in range(len(assignments)): new_grades.append(gr...
46.75
115
0.700535
148
935
4.398649
0.466216
0.0553
0.059908
0.067588
0.076805
0.076805
0
0
0
0
0
0.001299
0.176471
935
20
116
46.75
0.844156
0
0
0.181818
0
0
0.167614
0
0
0
0
0
0
0
null
null
0
0
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
0
0
0
0
0
1
1cce754a0315b03f8d27608beba0ed81264b204a
410
py
Python
neigh1/migrations/0018_auto_20191027_2207.py
SteveMitto/neighborhood
1f79c0cb807ffd91b80e2d663ab142572f7f1931
[ "MIT" ]
null
null
null
neigh1/migrations/0018_auto_20191027_2207.py
SteveMitto/neighborhood
1f79c0cb807ffd91b80e2d663ab142572f7f1931
[ "MIT" ]
8
2020-06-06T00:20:09.000Z
2022-02-10T10:40:46.000Z
neigh1/migrations/0018_auto_20191027_2207.py
SteveMitto/neighborhood
1f79c0cb807ffd91b80e2d663ab142572f7f1931
[ "MIT" ]
null
null
null
# Generated by Django 2.2.5 on 2019-10-27 19:07 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('neigh1', '0017_bussines_bussiness_photo'), ] operations = [ migrations.RemoveField( model_name='profile', name='bussineses',...
19.52381
52
0.578049
39
410
5.974359
0.769231
0
0
0
0
0
0
0
0
0
0
0.070922
0.312195
410
20
53
20.5
0.755319
0.109756
0
0.142857
1
0
0.165289
0.07989
0
0
0
0
0
1
0
false
0
0.071429
0
0.285714
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
1ccedfdbca03e6297cbc87a7adbea20c4ba5b774
640
py
Python
setup.py
stiebels/boids
e1f3ed66382b95cdc3213fc41cdda18b8cd12ceb
[ "MIT" ]
null
null
null
setup.py
stiebels/boids
e1f3ed66382b95cdc3213fc41cdda18b8cd12ceb
[ "MIT" ]
null
null
null
setup.py
stiebels/boids
e1f3ed66382b95cdc3213fc41cdda18b8cd12ceb
[ "MIT" ]
null
null
null
from setuptools import find_packages, setup setup(name = 'boids', version = '1.0.0', description = '', author = 'Simon Stiebellehner', author_email = 'ucabsti@ucl.ac.uk', maintainer = 'Simon Stiebellehner', maintainer_email = 'ucabsti@ucl.ac.uk', url = 'https://github.com/stiebels/', p...
30.47619
69
0.623438
69
640
5.637681
0.652174
0.061697
0.077121
0.087404
0.097686
0
0
0
0
0
0
0.005769
0.1875
640
20
70
32
0.742308
0
0
0
0
0
0.296875
0
0
0
0
0
0
1
0
true
0
0.055556
0
0.055556
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
1cd1fede4857ab38f0d3c1c81fd35ddec6fee4d4
14,096
py
Python
vistrails/api/__init__.py
remram44/VisTrails-mybinder
ee7477b471920d738f3ac430932f01901b56ed44
[ "BSD-3-Clause" ]
null
null
null
vistrails/api/__init__.py
remram44/VisTrails-mybinder
ee7477b471920d738f3ac430932f01901b56ed44
[ "BSD-3-Clause" ]
null
null
null
vistrails/api/__init__.py
remram44/VisTrails-mybinder
ee7477b471920d738f3ac430932f01901b56ed44
[ "BSD-3-Clause" ]
null
null
null
############################################################################### ## ## Copyright (C) 2014-2016, New York University. ## Copyright (C) 2011-2014, NYU-Poly. ## Copyright (C) 2006-2011, University of Utah. ## All rights reserved. ## Contact: contact@vistrails.org ## ## This file is part of VisTrails. ## ## ...
36.997375
102
0.670758
1,598
14,096
5.690864
0.195244
0.02859
0.055641
0.079173
0.437651
0.419947
0.358478
0.298878
0.268419
0.251704
0
0.003038
0.206087
14,096
380
103
37.094737
0.809579
0.129257
0
0.340206
0
0
0.012325
0
0
0
0
0
0.056701
0
null
null
0.010309
0.051546
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
1cd47f52e2fb734aaa967ffd6b444afb4a0356f0
12,762
py
Python
MITx-6.00.2x/ProblemSet5/ps5.py
maistrovas/My-Courses-Solutions
7a74add8e853f6c609d1f2656492e1c7c676a7e9
[ "MIT" ]
null
null
null
MITx-6.00.2x/ProblemSet5/ps5.py
maistrovas/My-Courses-Solutions
7a74add8e853f6c609d1f2656492e1c7c676a7e9
[ "MIT" ]
null
null
null
MITx-6.00.2x/ProblemSet5/ps5.py
maistrovas/My-Courses-Solutions
7a74add8e853f6c609d1f2656492e1c7c676a7e9
[ "MIT" ]
null
null
null
# 6.00.2x Problem Set 5 # Graph optimization # Finding shortest paths through MIT buildings # import string # This imports everything from `graph.py` as if it was defined in this file! from graph import * # # Problem 2: Building up the Campus Map # # Before you write any code, write a couple of sentences here # de...
34.032
105
0.624432
1,552
12,762
5.090206
0.199098
0.026203
0.024684
0.028861
0.502658
0.429747
0.376456
0.291646
0.277215
0.267342
0
0.031263
0.263125
12,762
374
106
34.122995
0.808698
0.447892
0
0.338983
0
0
0.011221
0
0
0
0
0
0
0
null
null
0.025424
0.016949
null
null
0.050847
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
1cd5dbbb8ec37a487f5cdac47066fe6385476150
1,550
py
Python
app/src/routers/user.py
jrpespinas/fastapi-webapp
f3dfc4023d4e3fde67bafc78dc03e55469e3317c
[ "MIT" ]
null
null
null
app/src/routers/user.py
jrpespinas/fastapi-webapp
f3dfc4023d4e3fde67bafc78dc03e55469e3317c
[ "MIT" ]
null
null
null
app/src/routers/user.py
jrpespinas/fastapi-webapp
f3dfc4023d4e3fde67bafc78dc03e55469e3317c
[ "MIT" ]
null
null
null
""" This program is composed of the endpoints for the `Users` module. """ from fastapi import APIRouter, Depends, status from sqlalchemy.orm import Session from typing import List from .. import schemas, database, oauth2 from ..repository import user router = APIRouter(prefix="/user", tags=["Users"]) @router.post("/...
26.724138
88
0.723226
216
1,550
4.986111
0.240741
0.102136
0.07428
0.111421
0.555246
0.497679
0.464253
0.464253
0.464253
0.464253
0
0.006808
0.147097
1,550
57
89
27.192982
0.807867
0.041935
0
0.465116
0
0
0.01828
0
0
0
0
0
0
1
0.116279
false
0
0.116279
0.116279
0.348837
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
1cd9dc6ab87b211e144d168a1b4c18321ce998b2
14,018
py
Python
src/amuse/community/bonsai2/interface.py
sibonyves/amuse
5557bf88d14df1aa02133a199b6d60c0c57dcab7
[ "Apache-2.0" ]
null
null
null
src/amuse/community/bonsai2/interface.py
sibonyves/amuse
5557bf88d14df1aa02133a199b6d60c0c57dcab7
[ "Apache-2.0" ]
12
2021-11-15T09:13:03.000Z
2022-02-02T14:53:04.000Z
src/amuse/community/bonsai2/interface.py
sibonyves/amuse
5557bf88d14df1aa02133a199b6d60c0c57dcab7
[ "Apache-2.0" ]
null
null
null
import os.path from amuse.community import * from amuse.community.interface.gd import GravitationalDynamicsInterface, GravitationalDynamics class Bonsai2Interface(CodeInterface, LiteratureReferencesMixIn, GravitationalDynamicsInterface, StoppingConditionInterface, CodeWithDataDirectories): """ .. ...
42.607903
166
0.627408
1,530
14,018
5.611765
0.154902
0.020382
0.042395
0.09434
0.6959
0.658281
0.633357
0.630794
0.606802
0.600629
0
0.020237
0.277358
14,018
328
167
42.737805
0.827345
0.132829
0
0.562232
0
0.025751
0.327138
0.00883
0
0
0
0
0
1
0.072961
false
0
0.012876
0.004292
0.141631
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1ce4dafa17af676b37bb5d3aba8def4bb52b0f63
799
py
Python
Chapter04/html_table_parser.py
PacktPublishing/Python-Penetration-Testing-Cookbook
74eba54a5d9921db0c4679cb4374a742118d4be8
[ "MIT" ]
48
2017-12-08T16:38:09.000Z
2022-03-20T12:49:31.000Z
Chapter04/html_table_parser.py
shamiul94/Python-Penetration-Testing-Cookbook
a152f14bf7eb1fde2612808f47d7609b58d48980
[ "MIT" ]
null
null
null
Chapter04/html_table_parser.py
shamiul94/Python-Penetration-Testing-Cookbook
a152f14bf7eb1fde2612808f47d7609b58d48980
[ "MIT" ]
34
2017-12-28T14:01:10.000Z
2022-03-16T15:54:30.000Z
import urllib2 import pandas as pd from bs4 import BeautifulSoup url = "https://www.w3schools.com/html/html_tables.asp" try: page = urllib2.urlopen(url) except Exception as e: print e pass soup = BeautifulSoup(page, "html.parser") table = soup.find_all('table')[0] new_table = pd.DataFrame( columns=['...
24.212121
68
0.697121
123
799
4.382114
0.479675
0.074212
0.06679
0.081633
0.118738
0.118738
0.118738
0
0
0
0
0.016871
0.18398
799
32
69
24.96875
0.809816
0.187735
0
0
0
0
0.135093
0
0
0
0
0
0
0
null
null
0.043478
0.130435
null
null
0.086957
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
1ce558369971e6c6838e123f97538b5eb2a44521
11,736
py
Python
researchMethods/src/fffit/pso.py
jhonatheberson/artificial-intelligence
8dfe70385bd3721b47a85411be21d9f1846c8ad3
[ "MIT" ]
null
null
null
researchMethods/src/fffit/pso.py
jhonatheberson/artificial-intelligence
8dfe70385bd3721b47a85411be21d9f1846c8ad3
[ "MIT" ]
null
null
null
researchMethods/src/fffit/pso.py
jhonatheberson/artificial-intelligence
8dfe70385bd3721b47a85411be21d9f1846c8ad3
[ "MIT" ]
1
2021-04-03T18:44:15.000Z
2021-04-03T18:44:15.000Z
"""Algorithm optimization of particle swarm (PSO). The particle optimization algorithm is a metaheuristic, it attempts to optimize a problem interactively with a swarm of particles percoorendo to a mathematical function or search space. the algorithm has the following steps: 1 - Creates a sample space, which is t...
39.38255
96
0.58819
1,438
11,736
4.691933
0.211405
0.025345
0.013043
0.012598
0.257448
0.200534
0.162591
0.103602
0.059878
0.048318
0
0.006383
0.319189
11,736
297
97
39.515152
0.838048
0.345092
0
0.142857
0
0
0.052079
0
0
0
0
0.016835
0
1
0.088435
false
0
0.020408
0
0.142857
0.013605
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
1ce61188aa36bc77ea973639b95f6464296aef74
499
py
Python
src/tequila/autograd_imports.py
doomspec/tequila
28979009a79fa6288d2892f01ae18c02f96792e6
[ "MIT" ]
35
2021-11-07T20:53:07.000Z
2022-03-24T14:29:11.000Z
src/tequila/autograd_imports.py
doomspec/tequila
28979009a79fa6288d2892f01ae18c02f96792e6
[ "MIT" ]
7
2022-01-18T19:00:11.000Z
2022-03-09T22:25:48.000Z
src/tequila/autograd_imports.py
doomspec/tequila
28979009a79fa6288d2892f01ae18c02f96792e6
[ "MIT" ]
9
2021-11-16T18:03:35.000Z
2022-02-22T19:57:23.000Z
# make sure to use the jax/autograd numpy from tequila.utils.exceptions import TequilaException __AUTOGRAD__BACKEND__ = None try: import jax from jax import numpy jax.config.update('jax_platform_name', 'cpu') __AUTOGRAD__BACKEND__ = "jax" except ImportError: try: import autograd as jax ...
27.722222
79
0.723447
60
499
5.683333
0.533333
0.131965
0
0
0
0
0
0
0
0
0
0
0.220441
499
17
80
29.352941
0.876607
0.078156
0
0.285714
0
0
0.165939
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
1cea170fd9e9935a97eb59abed5b040fe20b22c3
27,846
py
Python
myapp/views.py
naaniz/Malicious-Urlv5
1eeb60bd59ff3a211b1a5ffb0c363f22c64a4be7
[ "MIT" ]
null
null
null
myapp/views.py
naaniz/Malicious-Urlv5
1eeb60bd59ff3a211b1a5ffb0c363f22c64a4be7
[ "MIT" ]
null
null
null
myapp/views.py
naaniz/Malicious-Urlv5
1eeb60bd59ff3a211b1a5ffb0c363f22c64a4be7
[ "MIT" ]
null
null
null
#!/usr/bin/python # -*- coding: utf-8 -*- def warn(*args, **kwargs): pass from django.shortcuts import render from django.http import HttpResponse, JsonResponse from django.db.models import Q from .models import * # Create your views here. def getServerStatus(request): return HttpResponse(request) def error...
34.125
371
0.424118
2,522
27,846
4.65226
0.116574
0.028637
0.056678
0.049092
0.681156
0.631126
0.595415
0.585698
0.538652
0.509759
0
0.021595
0.467859
27,846
815
372
34.166871
0.770212
0.045859
0
0.704545
0
0
0.163597
0.003341
0
0
0
0
0
1
0.02972
false
0.001748
0.068182
0.005245
0.164336
0.008741
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
0
0
0
0
0
0
0
0
0
0
0
1
1cebb58b36e141276b6906e4a223579d8817dafa
2,468
py
Python
02_data_types/01_numbers.py
twiindan/selenium_lessons
798557e8f584f9e6655414c13f232017483f0439
[ "Apache-2.0" ]
null
null
null
02_data_types/01_numbers.py
twiindan/selenium_lessons
798557e8f584f9e6655414c13f232017483f0439
[ "Apache-2.0" ]
null
null
null
02_data_types/01_numbers.py
twiindan/selenium_lessons
798557e8f584f9e6655414c13f232017483f0439
[ "Apache-2.0" ]
1
2020-07-16T09:49:47.000Z
2020-07-16T09:49:47.000Z
#-*- coding: utf-8 -*- spam = 65 # an integer declaration. print(spam) print(type(spam)) # this is a function call eggs = 2 print(eggs) print(type(eggs)) # Let's see the numeric operations print(spam + eggs) # sum print(spam - eggs) # difference print(spam * eggs...
27.422222
89
0.450567
229
2,468
4.851528
0.458515
0.072907
0.081908
0.037804
0.054005
0.054005
0
0
0
0
0
0.005163
0.215154
2,468
89
90
27.730337
0.568405
0.675851
0
0.148148
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.851852
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
1cf53ede37db1675cc05edd312f8f65adfffffff
1,305
py
Python
templatesBlender/BlenderScripting.py
nexssp/language_python
f4cc09752e56a6f53f5854c78a0de30038cc8c58
[ "MIT" ]
2
2019-12-19T10:35:58.000Z
2020-01-15T19:52:32.000Z
templatesBlender/BlenderScripting.py
nexssp/language_python
f4cc09752e56a6f53f5854c78a0de30038cc8c58
[ "MIT" ]
null
null
null
templatesBlender/BlenderScripting.py
nexssp/language_python
f4cc09752e56a6f53f5854c78a0de30038cc8c58
[ "MIT" ]
null
null
null
# nexss-compiler: blender --background -noaudio -E CYCLES # Nexss PROGRAMMER - Blender/Python3 # Python 3.7 import platform import json import sys import io import os from bpy import context import bpy from importlib import import_module sys.path.append(os.getenv("NEXSS_PACKAGES_PATH") + "\\Nexss\\Lib\\") import Blen...
25.588235
76
0.749425
165
1,305
5.878788
0.527273
0.02268
0.035052
0
0
0
0
0
0
0
0
0.018166
0.114176
1,305
50
77
26.1
0.820934
0.416858
0
0
0
0
0.140162
0
0
0
0
0
0
1
0
false
0
0.47619
0
0.47619
0.047619
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
1cfc0b71d976926b6532b006c048654c1e4f694a
2,240
py
Python
flask_app/apiv1/user.py
BlacksInTechnologyOrg/bit-job-board
6f8bc45496e2c7e97eb8f89af2bff248a83e97c0
[ "MIT" ]
1
2018-04-17T22:59:22.000Z
2018-04-17T22:59:22.000Z
flask_app/apiv1/user.py
BlacksInTechnologyOrg/bit-job-board
6f8bc45496e2c7e97eb8f89af2bff248a83e97c0
[ "MIT" ]
null
null
null
flask_app/apiv1/user.py
BlacksInTechnologyOrg/bit-job-board
6f8bc45496e2c7e97eb8f89af2bff248a83e97c0
[ "MIT" ]
null
null
null
import logging from flask import Blueprint, jsonify, request from flask_jwt_extended import ( jwt_required, get_jwt_identity, get_csrf_token, current_user, ) from flask_restplus import Api, Resource, Namespace from ..errors import UserNotFoundError from ..messaging import MessageHandler from ..models.us...
27.654321
85
0.598214
237
2,240
5.540084
0.35865
0.069307
0.053313
0.054836
0.376238
0.260472
0.260472
0.260472
0.199543
0.199543
0
0.018844
0.289286
2,240
80
86
28
0.805905
0.032143
0
0.358209
0
0
0.116096
0.011101
0
0
0
0.0125
0
1
0.074627
false
0
0.104478
0.029851
0.358209
0.014925
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
1cffbd44a7f8209cc26a9e54aa7785943b7337aa
326
py
Python
stocks/migrations/0020_remove_stockin_is_in.py
kagadanta/siks-api
c5b02b548949b0db76e018bb6ab177dcde7974d6
[ "FTL" ]
null
null
null
stocks/migrations/0020_remove_stockin_is_in.py
kagadanta/siks-api
c5b02b548949b0db76e018bb6ab177dcde7974d6
[ "FTL" ]
9
2021-03-19T01:51:38.000Z
2022-03-12T00:23:28.000Z
stocks/migrations/0020_remove_stockin_is_in.py
kagadanta/siks-api
c5b02b548949b0db76e018bb6ab177dcde7974d6
[ "FTL" ]
null
null
null
# Generated by Django 3.0.3 on 2020-03-22 22:00 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('stocks', '0019_auto_20200323_0458'), ] operations = [ migrations.RemoveField( model_name='stockin', name='is_in', ), ...
19.176471
47
0.592025
36
326
5.222222
0.805556
0
0
0
0
0
0
0
0
0
0
0.134783
0.294479
326
16
48
20.375
0.682609
0.138037
0
0
1
0
0.146953
0.082437
0
0
0
0
0
1
0
false
0
0.090909
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e8004379cbb3af71a7042953ebde2c5b0e4127c0
252
py
Python
manage.py
HenryChenV/Friday
efae6ecfe868ae097feb70393ae62d971dcff68e
[ "MIT" ]
null
null
null
manage.py
HenryChenV/Friday
efae6ecfe868ae097feb70393ae62d971dcff68e
[ "MIT" ]
null
null
null
manage.py
HenryChenV/Friday
efae6ecfe868ae097feb70393ae62d971dcff68e
[ "MIT" ]
2
2016-09-20T12:19:09.000Z
2019-03-29T16:54:53.000Z
#-*- coding=utf-8 -*- from settings import SERVER, DEBUG from wechat.robot import wechat_server, debug_shell if __name__ == "__main__": if DEBUG: debug_shell() else: wechat_server(server=SERVER["mode"], port=SERVER["port"])
19.384615
65
0.662698
32
252
4.84375
0.53125
0.141935
0
0
0
0
0
0
0
0
0
0.004975
0.202381
252
12
66
21
0.766169
0.079365
0
0
0
0
0.069264
0
0
0
0
0
0
1
0
true
0
0.285714
0
0.285714
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
e8040172163db765ff1132f2c9f6a60c8c8d3712
657
py
Python
jerex_train.py
Brant-Skywalker/jerex
09b330fe4472cb9dde2dd7f8ac4d0c574fa08cd0
[ "MIT" ]
39
2021-02-19T12:56:30.000Z
2022-03-26T08:08:57.000Z
jerex_train.py
Brant-Skywalker/jerex
09b330fe4472cb9dde2dd7f8ac4d0c574fa08cd0
[ "MIT" ]
13
2021-03-07T05:22:22.000Z
2022-03-17T13:21:44.000Z
jerex_train.py
Brant-Skywalker/jerex
09b330fe4472cb9dde2dd7f8ac4d0c574fa08cd0
[ "MIT" ]
7
2021-04-29T08:02:52.000Z
2022-03-31T02:00:06.000Z
import hydra from hydra.core.config_store import ConfigStore from omegaconf import OmegaConf from configs import TrainConfig from jerex import model, util cs = ConfigStore.instance() cs.store(name="train", node=TrainConfig) @hydra.main(config_name='train', config_path='configs/docred_joint') def train(cfg: TrainCon...
26.28
97
0.754947
93
657
5.021505
0.419355
0.06424
0.077088
0.09636
0.164882
0.164882
0.115632
0
0
0
0
0
0.121766
657
24
98
27.375
0.809359
0
0
0
0
0
0.171994
0
0
0
0
0
0
1
0.0625
false
0
0.3125
0
0.375
0.0625
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
e8042903d610a6214a5db61f7fd15492e114d53a
225
py
Python
week 2/Sorting the Sentence.py
Dawit-Getachew/A2SV_Practice
2fe06d725e0acfe668c6dae98fe3ef6e6e26ef61
[ "MIT" ]
null
null
null
week 2/Sorting the Sentence.py
Dawit-Getachew/A2SV_Practice
2fe06d725e0acfe668c6dae98fe3ef6e6e26ef61
[ "MIT" ]
null
null
null
week 2/Sorting the Sentence.py
Dawit-Getachew/A2SV_Practice
2fe06d725e0acfe668c6dae98fe3ef6e6e26ef61
[ "MIT" ]
null
null
null
class Solution: def sortSentence(self, s: str) -> str: s=s.split() s.sort(key = lambda x: x[-1]) sent="" for i in s: sent += (i[:-1]+" ") s=sent.strip() return s
25
42
0.431111
31
225
3.129032
0.612903
0.103093
0
0
0
0
0
0
0
0
0
0.014706
0.395556
225
9
43
25
0.698529
0
0
0
0
0
0.004425
0
0
0
0
0
0
1
0.111111
false
0
0
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e809d3bd9cbef842ee21a7bda1dd2fd1aa00fa56
1,360
py
Python
manip.py
navbot/dh_p3
e0433ddd85048434e8dd3c71d90bbedfab2fcfef
[ "MIT" ]
null
null
null
manip.py
navbot/dh_p3
e0433ddd85048434e8dd3c71d90bbedfab2fcfef
[ "MIT" ]
null
null
null
manip.py
navbot/dh_p3
e0433ddd85048434e8dd3c71d90bbedfab2fcfef
[ "MIT" ]
null
null
null
import pandas import numpy as np char_harmony = pandas.read_csv('char_harmony.csv') #print(char_harmony) events_harmony = pandas.read_csv('events_harmony.csv') #print(events_harmony) single = [0]*len(events_harmony.index) group = [0]*len(events_harmony.index) male_dominated = [0]*len(events_harmony.index) female_dom...
29.565217
84
0.705147
196
1,360
4.693878
0.219388
0.226087
0.097826
0.073913
0.402174
0.226087
0.158696
0.080435
0
0
0
0.01431
0.126471
1,360
46
85
29.565217
0.760101
0.145588
0
0
0
0
0.180796
0.055363
0
0
0
0
0
1
0
false
0
0.071429
0
0.071429
0.035714
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e8115a9ad58e6f9b389014a9fe2e1b8b9bd876af
1,060
py
Python
backend/kesaseteli/applications/services.py
iivoraitahila/yjdh
4a9b46e0458529548af818534600eadd4f96a048
[ "MIT" ]
null
null
null
backend/kesaseteli/applications/services.py
iivoraitahila/yjdh
4a9b46e0458529548af818534600eadd4f96a048
[ "MIT" ]
null
null
null
backend/kesaseteli/applications/services.py
iivoraitahila/yjdh
4a9b46e0458529548af818534600eadd4f96a048
[ "MIT" ]
null
null
null
from applications.models import Application, SummerVoucher def update_summer_vouchers_using_api_data( summer_vouchers_data: list, instance: Application ) -> None: existing_summer_voucher_ids = [] for summer_voucher_data in summer_vouchers_data: summer_voucher_id = summer_voucher_data.pop("id", No...
37.857143
70
0.69717
122
1,060
5.729508
0.377049
0.260372
0.128755
0.103004
0.091559
0.091559
0
0
0
0
0
0
0.24434
1,060
27
71
39.259259
0.872659
0.156604
0
0
0
0
0.002247
0
0
0
0
0
0
1
0.05
false
0
0.05
0
0.1
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e812774c9e0fe28b6f6f08d7dfa7f4886249341f
205
py
Python
tests/interactive/font/default.py
bitcraft/pyglet
144257c365ca85528c6a4c5bed8141e683d7a9b6
[ "BSD-3-Clause" ]
15
2015-01-21T12:29:01.000Z
2018-12-09T09:17:33.000Z
tests/interactive/font/default.py
bitcraft/pyglet
144257c365ca85528c6a4c5bed8141e683d7a9b6
[ "BSD-3-Clause" ]
null
null
null
tests/interactive/font/default.py
bitcraft/pyglet
144257c365ca85528c6a4c5bed8141e683d7a9b6
[ "BSD-3-Clause" ]
9
2015-12-12T09:12:46.000Z
2021-12-26T13:29:14.000Z
"""Test that a font with no name given still renders using some sort of default system font. """ import unittest from . import base_text class TEST_DEFAULT(base_text.TextTestBase): font_name = ''
15.769231
68
0.741463
31
205
4.774194
0.741935
0.108108
0
0
0
0
0
0
0
0
0
0
0.185366
205
12
69
17.083333
0.886228
0.434146
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
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
1
0
0
0
0
1
e8137d6403107e691727434e2e137af05ff7d679
4,272
py
Python
t-rex chrome game using hand gestures/enjoy.py
shobhitsundriyal/Friends_Hack
5781e930a348e7b9a7d6477876571c43c212ef0d
[ "MIT" ]
16
2020-10-02T15:04:11.000Z
2021-10-18T14:21:57.000Z
t-rex chrome game using hand gestures/enjoy.py
shobhitsundriyal/Friends_Hack
5781e930a348e7b9a7d6477876571c43c212ef0d
[ "MIT" ]
26
2020-10-02T11:57:42.000Z
2021-10-06T10:15:28.000Z
t-rex chrome game using hand gestures/enjoy.py
shobhitsundriyal/Friends_Hack
5781e930a348e7b9a7d6477876571c43c212ef0d
[ "MIT" ]
152
2020-10-02T12:05:11.000Z
2021-10-10T05:49:59.000Z
# -*- coding: utf-8 -*- """enjoy.ipynb Automatically generated by Colaboratory. Original file is located at https://colab.research.google.com/drive/1B07kRKviWLrE9xHizPPuR1EFpN5P4WVq """ import cv2 import numpy as np import math import webbrowser import pyautogui #webbrowser.open_new(http://www.trex-game.skipser...
33.116279
81
0.611891
604
4,272
4.261589
0.374172
0.012432
0.011655
0.025253
0.189977
0.175214
0.145299
0.145299
0.122766
0.122766
0
0.073593
0.242978
4,272
129
82
33.116279
0.722325
0.288624
0
0
1
0
0.035337
0
0
0
0
0
0
1
0
false
0
0.084746
0
0.084746
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
e81a198fe50f0d8d2fdd84e411df8b75f10ca718
635
py
Python
Rock, Paper, Scissors.py
Shrijan21/hacktoberfest2021-2
fc51f782999ba7aeaed7382b054ce08ea21795f0
[ "CC0-1.0" ]
null
null
null
Rock, Paper, Scissors.py
Shrijan21/hacktoberfest2021-2
fc51f782999ba7aeaed7382b054ce08ea21795f0
[ "CC0-1.0" ]
null
null
null
Rock, Paper, Scissors.py
Shrijan21/hacktoberfest2021-2
fc51f782999ba7aeaed7382b054ce08ea21795f0
[ "CC0-1.0" ]
null
null
null
print("Rock..Paper..Scissors..") print("Type rock or paper or scissors") player1 = input("player 1, Your move: ") player2 = input("player 2, Your move: ") if player1 == player2: print("It's a draw!") elif player1 == "rock": if player2 == "scissors": print("player1 wins!") elif player2 == "paper": print...
27.608696
41
0.625197
80
635
4.9625
0.3
0.100756
0.120907
0.151134
0.34005
0
0
0
0
0
0
0.040856
0.190551
635
23
42
27.608696
0.731518
0
0
0.26087
0
0
0.407166
0.037459
0
0
0
0
0
1
0
false
0
0
0
0
0.434783
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
e81c4d7da6cf94f2ff4c2f267747cc7a8e60bc52
231
py
Python
custom_components/hisense_tv/const.py
lindsaymarkward/ha_hisense_tv
f135c2026d5e9453b3fcde40724ca9a186e354ed
[ "MIT" ]
16
2021-04-06T23:03:25.000Z
2022-02-14T10:39:38.000Z
custom_components/hisense_tv/const.py
lindsaymarkward/ha_hisense_tv
f135c2026d5e9453b3fcde40724ca9a186e354ed
[ "MIT" ]
24
2021-04-08T00:36:50.000Z
2022-03-06T17:46:41.000Z
custom_components/hisense_tv/const.py
lindsaymarkward/ha_hisense_tv
f135c2026d5e9453b3fcde40724ca9a186e354ed
[ "MIT" ]
5
2021-12-02T17:37:21.000Z
2022-02-17T01:33:51.000Z
ATTR_CODE = "auth_code" CONF_MQTT_IN = "mqtt_in" CONF_MQTT_OUT = "mqtt_out" DATA_KEY = "media_player.hisense_tv" DEFAULT_CLIENT_ID = "HomeAssistant" DEFAULT_MQTT_PREFIX = "hisense" DEFAULT_NAME = "Hisense TV" DOMAIN = "hisense_tv"
25.666667
36
0.78355
35
231
4.685714
0.571429
0.164634
0
0
0
0
0
0
0
0
0
0
0.108225
231
8
37
28.875
0.796117
0
0
0
0
0
0.376623
0.099567
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e81ec88ce7120d2001409200532ea0b77d84e130
6,330
py
Python
python/IP.py
KastnerRG/tinker
fa9a3da9bb9cb3f3fbed0dddacd84ce8cf93a2a7
[ "BSD-3-Clause" ]
7
2016-09-23T01:25:03.000Z
2019-05-29T15:21:00.000Z
python/IP.py
drichmond/tinker
fa9a3da9bb9cb3f3fbed0dddacd84ce8cf93a2a7
[ "BSD-3-Clause" ]
4
2016-04-02T06:40:29.000Z
2016-05-26T15:56:20.000Z
python/IP.py
drichmond/tinker
fa9a3da9bb9cb3f3fbed0dddacd84ce8cf93a2a7
[ "BSD-3-Clause" ]
2
2016-12-12T13:52:31.000Z
2018-02-26T14:25:40.000Z
# ---------------------------------------------------------------------- # Copyright (c) 2016, The Regents of the University of California All # rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # ...
29.44186
77
0.615798
840
6,330
4.57381
0.319048
0.028631
0.020042
0.019781
0.297762
0.275377
0.255075
0.214472
0.214472
0.179073
0
0.001962
0.275197
6,330
214
78
29.579439
0.83544
0.308215
0
0.244898
0
0
0.101927
0
0
0
0
0.004673
0
0
null
null
0.020408
0.040816
null
null
0.061224
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
e829c524d938bec4cced8aeea67b16be411ef731
2,506
py
Python
src/bxgateway/services/btc/abstract_btc_block_cleanup_service.py
doubleukay/bxgateway
ac01fc9475c039cf4255576dd4ecd6bff6c48f69
[ "MIT" ]
21
2019-11-06T17:37:41.000Z
2022-03-28T07:18:33.000Z
src/bxgateway/services/btc/abstract_btc_block_cleanup_service.py
doubleukay/bxgateway
ac01fc9475c039cf4255576dd4ecd6bff6c48f69
[ "MIT" ]
4
2019-11-06T22:08:00.000Z
2021-12-08T06:20:51.000Z
src/bxgateway/services/btc/abstract_btc_block_cleanup_service.py
doubleukay/bxgateway
ac01fc9475c039cf4255576dd4ecd6bff6c48f69
[ "MIT" ]
10
2020-08-05T15:58:16.000Z
2022-02-07T23:51:10.000Z
from abc import abstractmethod from bxutils import logging from bxcommon.services.transaction_service import TransactionService from bxcommon.utils.blockchain_utils.btc.btc_object_hash import Sha256Hash from bxgateway.services.abstract_block_cleanup_service import AbstractBlockCleanupService from bxgateway.services....
37.969697
112
0.713488
273
2,506
6.230769
0.344322
0.042328
0.04468
0.028219
0.032922
0
0
0
0
0
0
0.005615
0.218276
2,506
65
113
38.553846
0.862685
0.076217
0
0.136364
0
0
0.076549
0
0
0
0
0.015385
0
1
0.090909
false
0.022727
0.181818
0
0.295455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
e838082a16c2e6e268ac2da3202b5336abbd9a15
1,180
py
Python
ensembler/Activations.py
brandongk-ubco/ensembler
9d4ab1a07f686eee8b5a4e721a6acc44da3ef94d
[ "MIT" ]
null
null
null
ensembler/Activations.py
brandongk-ubco/ensembler
9d4ab1a07f686eee8b5a4e721a6acc44da3ef94d
[ "MIT" ]
null
null
null
ensembler/Activations.py
brandongk-ubco/ensembler
9d4ab1a07f686eee8b5a4e721a6acc44da3ef94d
[ "MIT" ]
null
null
null
from enum import Enum from monai.networks.layers.factories import Act class Activations(Enum): leaky_relu = "leaky_relu" relu = "relu" tanh = "tanh" swish = "swish" cos = "cos" liht = "liht" piecewise_linear = "piecewise_linear" linear = "linear" def __str__(self): ...
26.818182
67
0.563559
126
1,180
5.166667
0.34127
0.147465
0.208909
0
0
0
0
0
0
0
0
0
0.340678
1,180
43
68
27.44186
0.836761
0
0
0
0
0
0.113456
0
0
0
0
0
0
1
0.111111
false
0
0.055556
0.083333
0.722222
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
0
0
0
0
0
0
0
0
0
0
1
08fd78b97941cbd67e8b5d189db109afcb9a2e98
1,455
py
Python
flask_blog/__init__.py
dmitriyvek/flask-blog
86e94f9a9bdae682061bb26662da9649f6a4e6ab
[ "MIT" ]
null
null
null
flask_blog/__init__.py
dmitriyvek/flask-blog
86e94f9a9bdae682061bb26662da9649f6a4e6ab
[ "MIT" ]
null
null
null
flask_blog/__init__.py
dmitriyvek/flask-blog
86e94f9a9bdae682061bb26662da9649f6a4e6ab
[ "MIT" ]
null
null
null
from flask import Flask from flasgger import Swagger from flask_debugtoolbar import DebugToolbarExtension from flask_debug_api import DebugAPIExtension from flask_marshmallow import Marshmallow from flask_mail import Mail from flask_migrate import Migrate from config.settings import app_config from config.swagger_conf...
27.980769
57
0.767698
199
1,455
5.346734
0.271357
0.093045
0.06109
0.041353
0.052632
0.052632
0
0
0
0
0
0
0.154639
1,455
51
58
28.529412
0.865041
0
0
0
0
0
0.071478
0.041237
0
0
0
0
0
1
0.025641
false
0
0.358974
0
0.410256
0.102564
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
1c07f352f301bc46fb3e5ebcf32732d00edc5739
3,762
py
Python
tests/mocks/student/migrations/0001_initial.py
TheMOOCAgency/figures
4f991ed32626c25b4d67300c9b8019a36c5db297
[ "MIT" ]
1
2020-07-27T19:50:53.000Z
2020-07-27T19:50:53.000Z
tests/mocks/student/migrations/0001_initial.py
TheMOOCAgency/figures
4f991ed32626c25b4d67300c9b8019a36c5db297
[ "MIT" ]
3
2020-06-05T21:19:02.000Z
2022-02-10T18:09:04.000Z
tests/mocks/student/migrations/0001_initial.py
TheMOOCAgency/figures
4f991ed32626c25b4d67300c9b8019a36c5db297
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.15 on 2019-03-23 19:54 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django_countries.fields import openedx.core.djangoapps.xmodule_django.models class Migrat...
54.521739
442
0.628123
430
3,762
5.327907
0.327907
0.035356
0.038411
0.042776
0.439983
0.431253
0.346574
0.330423
0.28983
0.197294
0
0.012628
0.221159
3,762
68
443
55.323529
0.769283
0.018341
0
0.35
1
0
0.163957
0.015176
0
0
0
0
0
1
0
false
0
0.1
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1c0d1f97ca951e508b0f5056ad1edee5d51ce235
8,395
py
Python
media.py
dramoslance/movies
f57274fd6418269296aa2bf3cad10247ec4aa1dd
[ "MIT" ]
null
null
null
media.py
dramoslance/movies
f57274fd6418269296aa2bf3cad10247ec4aa1dd
[ "MIT" ]
null
null
null
media.py
dramoslance/movies
f57274fd6418269296aa2bf3cad10247ec4aa1dd
[ "MIT" ]
null
null
null
import webbrowser class Movie(object): """This class represents movies entity, created to storage all information related.""" def __init__(self): """ Inits the movie instance.""" self.data = [] self._visits = 0 @property def title(self): """Gets the title for a mo...
18.82287
78
0.515307
876
8,395
4.807078
0.089041
0.055569
0.034196
0.049394
0.354073
0.287818
0.214913
0.193541
0.178817
0.051057
0
0.000401
0.405479
8,395
445
79
18.865169
0.843318
0.367719
0
0.323308
0
0
0
0
0
0
0
0
0
1
0.323308
false
0
0.007519
0
0.443609
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
1c101fea9be510b684a9c55de1e05d9aedc9090c
262
py
Python
internetdefense/apps/include/management/commands/clearcache.py
gnubrasil/idl-members
25f0c048c9cae047cedc4aa0eb58548fac760849
[ "MIT" ]
175
2015-01-01T06:23:10.000Z
2021-12-07T09:08:51.000Z
internetdefense/apps/include/management/commands/clearcache.py
jwyterlin/idl-members
76c467ff38de1c46666d911837f934a76aa6fc7b
[ "MIT" ]
5
2015-03-21T03:34:32.000Z
2017-03-03T00:19:49.000Z
internetdefense/apps/include/management/commands/clearcache.py
jwyterlin/idl-members
76c467ff38de1c46666d911837f934a76aa6fc7b
[ "MIT" ]
38
2015-02-03T23:49:05.000Z
2020-07-30T16:26:56.000Z
from django.core.cache import cache from django.core.management.base import BaseCommand class Command(BaseCommand): help = 'Flush the entire cache' def handle(self, *args, **options): cache.clear() self.stdout.write('Cache cleared\n')
23.818182
51
0.698473
34
262
5.382353
0.705882
0.10929
0.153005
0
0
0
0
0
0
0
0
0
0.19084
262
10
52
26.2
0.863208
0
0
0
0
0
0.141221
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.714286
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
1c190c81cfd14178bc02ddb5888f34d5006b05f4
810
py
Python
deepl.py
poliakustyczny/deepl.py
ea23de871824260834ed7ee73c4c168a605e70b5
[ "MIT" ]
null
null
null
deepl.py
poliakustyczny/deepl.py
ea23de871824260834ed7ee73c4c168a605e70b5
[ "MIT" ]
null
null
null
deepl.py
poliakustyczny/deepl.py
ea23de871824260834ed7ee73c4c168a605e70b5
[ "MIT" ]
null
null
null
#!/usr/bin/python3 import sys, requests, json URL = "https://www.deepl.com/jsonrpc" def encodeRequest(text): return(json.dumps({"jsonrpc" : "2.0", "method" : "LMT_handle_jobs", "params" : { "jobs" : [ { "kind" : "default", "raw_en_sentence" : text } ], "lang" : { "user_preferred_langs" : [ "EN", "PL"], "source_l...
35.217391
303
0.648148
98
810
5.244898
0.632653
0.066148
0
0
0
0
0
0
0
0
0
0.011611
0.149383
810
22
304
36.818182
0.734398
0.020988
0
0
0
0
0.335019
0.059418
0
0
0
0
0
1
0.142857
false
0
0.071429
0.142857
0.285714
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
1
0
0
0
1
1c1b082d78a8d6ba3182f23d1d2041f2c8252ee2
44,894
py
Python
04Cuarto/Procesamiento_Digital_de_Seniales_PDS/Tema1/Practica1/src/controller/Controllers.py
elsudano/Facultad
8ff2c5904f0a38a3a0682e040da4439f2bc872f2
[ "MIT" ]
2
2017-02-20T09:26:42.000Z
2021-11-21T21:56:35.000Z
04Cuarto/Procesamiento_Digital_de_Seniales_PDS/Tema1/Practica1/src/controller/Controllers.py
elsudano/Facultad
8ff2c5904f0a38a3a0682e040da4439f2bc872f2
[ "MIT" ]
1
2016-10-06T16:59:39.000Z
2017-09-21T08:04:51.000Z
04Cuarto/Procesamiento_Digital_de_Seniales_PDS/Tema1/Practica1/src/controller/Controllers.py
elsudano/Facultad
8ff2c5904f0a38a3a0682e040da4439f2bc872f2
[ "MIT" ]
4
2016-10-06T16:41:01.000Z
2019-11-21T12:37:20.000Z
#!/usr/bin/python # -*- coding: UTF-8 -*- """Lista de controladores del programa. En este fichero podemos encontrarnos todos los controladores, de todas las vistas de nuestro programa. """ from src.controller.Controller import Controller, Path from src.model.Models import * from src.controller.Controllers import * fr...
38.502573
161
0.559362
5,694
44,894
4.274324
0.124166
0.037349
0.02305
0.025844
0.720519
0.694059
0.665379
0.636289
0.61217
0.575931
0
0.039041
0.310777
44,894
1,165
162
38.535622
0.747431
0.110037
0
0.661941
0
0.001091
0.13048
0.029494
0
0
0
0.0103
0
1
0.081788
false
0.011996
0.004362
0
0.112323
0.027263
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
1c23542f2dbc4541793d5b768804deed6bc2f71d
5,168
py
Python
main.py
deibraz-free/dsp_effects
1ca1f1f400ea276755ede54d0b2d2a5d12cf61b7
[ "MIT" ]
null
null
null
main.py
deibraz-free/dsp_effects
1ca1f1f400ea276755ede54d0b2d2a5d12cf61b7
[ "MIT" ]
null
null
null
main.py
deibraz-free/dsp_effects
1ca1f1f400ea276755ede54d0b2d2a5d12cf61b7
[ "MIT" ]
null
null
null
''' Created by Deividas Brazauskas 2020 # Read in WAV file into Python Class sound1 = AudioProcessing('input.wav') # Set the speed of the audio sound1.set_audio_speed(0.5) # Set the pitch of the audio sound1.set_audio_pitch(2) # Reverse the content of the audio sound1.set_reverse() # Add an echo to the a...
32.3
96
0.719234
826
5,168
4.320823
0.223971
0.083217
0.109274
0.026898
0.300364
0.253572
0.194172
0.155226
0.125806
0.125806
0
0.030871
0.153831
5,168
159
97
32.503145
0.785273
0.245356
0
0.136364
0
0
0.014136
0
0
0
0
0
0
1
0.147727
false
0.102273
0.079545
0
0.261364
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
1c2413ae39c65fd0c2056646307caa7bfb882115
2,552
py
Python
lbrc_flask/validators.py
LCBRU/lbrc_flask
f5f6c3f3832a9040e941c6398b7f150e567d4762
[ "MIT" ]
null
null
null
lbrc_flask/validators.py
LCBRU/lbrc_flask
f5f6c3f3832a9040e941c6398b7f150e567d4762
[ "MIT" ]
null
null
null
lbrc_flask/validators.py
LCBRU/lbrc_flask
f5f6c3f3832a9040e941c6398b7f150e567d4762
[ "MIT" ]
null
null
null
import re from datetime import datetime, date from dateutil.parser import parse from dateutil.relativedelta import relativedelta def standardise_nhs_number(nhs_number): return re.sub('[- ]', '', nhs_number or '') def calculate_nhs_number_checksum(nhs_number): checkcalc = lambda sum: 11 - (sum % 11) cha...
24.538462
206
0.601881
389
2,552
3.812339
0.251928
0.109238
0.018881
0.04855
0.249494
0.154417
0.059339
0.018881
0.018881
0.018881
0
0.027163
0.221003
2,552
103
207
24.776699
0.718813
0.027429
0
0.230769
0
0.046154
0.147237
0.119
0
0
0
0
0
1
0.138462
false
0
0.061538
0.015385
0.553846
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
1c318164acf7e698b7f26a2cd24daddb4ab19760
9,488
py
Python
src/lslidar_ws/devel/lib/python2.7/dist-packages/lslidar_c16_msgs/msg/_LslidarC16ScanUnified.py
Louis-AD-git/racecar_ws
3c5cb561d1aee11d80a7f3847e0334e93f345513
[ "MIT" ]
null
null
null
src/lslidar_ws/devel/lib/python2.7/dist-packages/lslidar_c16_msgs/msg/_LslidarC16ScanUnified.py
Louis-AD-git/racecar_ws
3c5cb561d1aee11d80a7f3847e0334e93f345513
[ "MIT" ]
null
null
null
src/lslidar_ws/devel/lib/python2.7/dist-packages/lslidar_c16_msgs/msg/_LslidarC16ScanUnified.py
Louis-AD-git/racecar_ws
3c5cb561d1aee11d80a7f3847e0334e93f345513
[ "MIT" ]
null
null
null
# This Python file uses the following encoding: utf-8 """autogenerated by genpy from lslidar_c16_msgs/LslidarC16ScanUnified.msg. Do not edit.""" import codecs import sys python3 = True if sys.hexversion > 0x03000000 else False import genpy import struct import genpy import lslidar_c16_msgs.msg import std_msgs.msg cla...
34.007168
145
0.629743
1,286
9,488
4.435459
0.180404
0.042076
0.030856
0.031557
0.56136
0.551893
0.526297
0.521038
0.507363
0.489481
0
0.031689
0.241674
9,488
278
146
34.129496
0.761084
0.148503
0
0.611607
1
0.004464
0.179902
0.037622
0
0
0.001262
0
0
1
0.053571
false
0
0.03125
0
0.15625
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
1c35b41d2b552f2d8aeffa311e0ce09792ebbbc7
1,486
py
Python
lingobarter/core/app.py
LeightonStreet/LingoBarter
3fffd95c38973ca9b9ce284070522ba758efe489
[ "Apache-2.0" ]
7
2016-01-22T05:01:52.000Z
2019-02-07T10:23:12.000Z
lingobarter/core/app.py
LeightonStreet/LeightonStreet
3fffd95c38973ca9b9ce284070522ba758efe489
[ "Apache-2.0" ]
6
2016-03-26T23:32:47.000Z
2016-04-01T07:10:42.000Z
lingobarter/core/app.py
LeightonStreet/LeightonStreet
3fffd95c38973ca9b9ce284070522ba758efe489
[ "Apache-2.0" ]
1
2016-03-26T23:31:00.000Z
2016-03-26T23:31:00.000Z
from flask import Flask, Blueprint # noinspection PyProtectedMember from flask.helpers import _endpoint_from_view_func from lingobarter.core.config import LingobarterConfig from lingobarter.utils.aliases import dispatch_aliases class LingobarterApp(Flask): """ Implements customizations on Flask - Config h...
34.55814
87
0.709287
168
1,486
6.035714
0.392857
0.039448
0.035503
0.039448
0.055227
0
0
0
0
0
0
0.002536
0.203903
1,486
42
88
35.380952
0.854607
0.171602
0
0
0
0
0.041525
0
0
0
0
0
0
1
0.173913
false
0
0.173913
0.043478
0.565217
0.086957
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
1c38486b5a0bdf40a741bd9dbc89b9eb9f489f78
1,828
py
Python
modules/exploits/example.py
BA7JCM/metasploit-framework
a977d485084aefda76aeac2b15a8f5a4607938fc
[ "BSD-2-Clause", "BSD-3-Clause" ]
2
2022-02-19T07:46:56.000Z
2022-02-22T02:42:09.000Z
modules/exploits/example.py
BA7JCM/metasploit-framework
a977d485084aefda76aeac2b15a8f5a4607938fc
[ "BSD-2-Clause", "BSD-3-Clause" ]
5
2020-10-08T15:04:39.000Z
2020-10-08T15:04:46.000Z
modules/exploits/example.py
BA7JCM/metasploit-framework
a977d485084aefda76aeac2b15a8f5a4607938fc
[ "BSD-2-Clause", "BSD-3-Clause" ]
1
2022-03-01T05:18:40.000Z
2022-03-01T05:18:40.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # standard modules import logging # extra modules dependencies_missing = False try: import requests except ImportError: dependencies_missing = True from metasploit import module metadata = { 'name': 'Python Module Example', 'description': ''' P...
28.123077
120
0.599562
196
1,828
5.5
0.607143
0.052876
0.038961
0.044527
0
0
0
0
0
0
0
0.016736
0.215536
1,828
64
121
28.5625
0.735007
0.080416
0
0.148936
0
0.021277
0.397015
0.027463
0
0
0
0.015625
0
1
0.021277
false
0
0.085106
0
0.148936
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
1c399fadb353613479b7f9eb7478ded5c5946060
3,460
py
Python
src/db-up/azext_db_up/vendored_sdks/azure_mgmt_sql/sql/models/server.py
Mannan2812/azure-cli-extensions
e2b34efe23795f6db9c59100534a40f0813c3d95
[ "MIT" ]
207
2017-11-29T06:59:41.000Z
2022-03-31T10:00:53.000Z
src/db-up/azext_db_up/vendored_sdks/azure_mgmt_sql/sql/models/server.py
Mannan2812/azure-cli-extensions
e2b34efe23795f6db9c59100534a40f0813c3d95
[ "MIT" ]
4,061
2017-10-27T23:19:56.000Z
2022-03-31T23:18:30.000Z
src/db-up/azext_db_up/vendored_sdks/azure_mgmt_sql/sql/models/server.py
Mannan2812/azure-cli-extensions
e2b34efe23795f6db9c59100534a40f0813c3d95
[ "MIT" ]
802
2017-10-11T17:36:26.000Z
2022-03-31T22:24:32.000Z
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator. # Changes ...
39.770115
104
0.619942
383
3,460
5.490862
0.315927
0.039943
0.07418
0.068474
0
0
0
0
0
0
0
0.000366
0.209538
3,460
86
105
40.232558
0.768556
0.47659
0
0
0
0
0.357528
0.126575
0
0
0
0
0
1
0.029412
false
0.058824
0.029412
0
0.147059
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
1c3a763bfa27750340ecc34c91ff0be3c4d675bc
815
py
Python
ontask/migrations/0023_auto_20191230_0837.py
pinheiroo27/ontask_b
23fee8caf4e1c5694a710a77f3004ca5d9effeac
[ "MIT" ]
33
2017-12-02T04:09:24.000Z
2021-11-07T08:41:57.000Z
ontask/migrations/0023_auto_20191230_0837.py
pinheiroo27/ontask_b
23fee8caf4e1c5694a710a77f3004ca5d9effeac
[ "MIT" ]
189
2017-11-16T04:06:29.000Z
2022-03-11T23:35:59.000Z
ontask/migrations/0023_auto_20191230_0837.py
pinheiroo27/ontask_b
23fee8caf4e1c5694a710a77f3004ca5d9effeac
[ "MIT" ]
30
2017-11-30T03:35:44.000Z
2022-01-31T03:08:08.000Z
# Generated by Django 2.2.8 on 2019-12-29 22:07 from django.db import migrations def move_excluded_items_to_payload(apps, schema_editor): if schema_editor.connection.alias != 'default': return # Traverse the scheduled actions and move the exclude_items field from # the object field to the payloa...
28.103448
74
0.694479
99
815
5.525253
0.585859
0.065814
0.093236
0.104205
0.095064
0
0
0
0
0
0
0.048362
0.213497
815
28
75
29.107143
0.804992
0.22454
0
0
1
0
0.11859
0.036859
0
0
0
0
0
1
0.0625
false
0
0.0625
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1c3cb9ecbb3df30bfc9f2d479fbb9378e8a24818
4,777
py
Python
scripts/dht_node.py
nishp77/lbry-sdk
7531401623a393a1491e3b65de0e2a65f8e45020
[ "MIT" ]
null
null
null
scripts/dht_node.py
nishp77/lbry-sdk
7531401623a393a1491e3b65de0e2a65f8e45020
[ "MIT" ]
null
null
null
scripts/dht_node.py
nishp77/lbry-sdk
7531401623a393a1491e3b65de0e2a65f8e45020
[ "MIT" ]
null
null
null
import asyncio import argparse import logging import csv from io import StringIO from typing import Optional from aiohttp import web from prometheus_client import generate_latest as prom_generate_latest, Gauge from lbry.dht.constants import generate_id from lbry.dht.node import Node from lbry.dht.peer import PeerManag...
43.825688
136
0.675529
645
4,777
4.831008
0.289922
0.006418
0.005777
0.026958
0.227856
0.150193
0.131579
0.109114
0.082157
0.082157
0
0.010739
0.200754
4,777
108
137
44.231481
0.805396
0
0
0.083333
1
0.020833
0.187984
0.004605
0
0
0
0
0
1
0.010417
false
0
0.135417
0
0.1875
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
1c45f0f1abed23f91b8387f0e241a1dcfc49a84b
3,035
py
Python
examples/neurospin/histogram_fits.py
fperez/nipy
559f17150bd9fa8ead4fd088b330d7cf7db7aa79
[ "BSD-3-Clause" ]
1
2015-05-07T16:53:33.000Z
2015-05-07T16:53:33.000Z
examples/neurospin/histogram_fits.py
fperez/nipy
559f17150bd9fa8ead4fd088b330d7cf7db7aa79
[ "BSD-3-Clause" ]
null
null
null
examples/neurospin/histogram_fits.py
fperez/nipy
559f17150bd9fa8ead4fd088b330d7cf7db7aa79
[ "BSD-3-Clause" ]
null
null
null
# emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: __doc__ = \ """ Example of a script that perfoms histogram analysis of an activation image, to estimate activation Z-score with various heuristics: * Gamma-Gaussian model * Gaussian mixture model ...
30.969388
80
0.629984
461
3,035
4.034707
0.303688
0.009677
0.043011
0.047312
0.423118
0.374731
0.352688
0.352688
0.316129
0.296774
0
0.029523
0.129489
3,035
97
81
31.28866
0.674489
0.123558
0
0.206897
0
0
0.176499
0
0
0
0
0
0
0
null
null
0
0.068966
null
null
0.017241
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
1c476d41ac879c082652e00bd7f7e69e609c5a8a
14,750
py
Python
game/gamesrc/objects/world/quests.py
abbacode/avaloria
02e1805ac6e74543c96408b7951429f94bc140ca
[ "ClArtistic" ]
null
null
null
game/gamesrc/objects/world/quests.py
abbacode/avaloria
02e1805ac6e74543c96408b7951429f94bc140ca
[ "ClArtistic" ]
null
null
null
game/gamesrc/objects/world/quests.py
abbacode/avaloria
02e1805ac6e74543c96408b7951429f94bc140ca
[ "ClArtistic" ]
null
null
null
import random from prettytable import PrettyTable from src.utils import create, utils from ev import Object from game.gamesrc.objects import copyreader class QuestManager(Object): """ This object is attached to the character and manages all quests received. """ def at_object_creation(self): "...
48.360656
175
0.592746
1,650
14,750
5.090909
0.118182
0.044286
0.037143
0.056667
0.521429
0.436786
0.356905
0.271905
0.227738
0.188333
0
0.004305
0.29139
14,750
304
176
48.519737
0.799369
0.001627
0
0.237154
0
0
0.120626
0.029691
0
0
0
0
0
0
null
null
0
0.019763
null
null
0.031621
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
1c47ea87396ab3c1281919e883bf6c4c9a9cdcd1
757
py
Python
mysite/polls/admin.py
thomasbtf/hello-django
37c5188667d6eeb2043e3bdd45294dd16e754507
[ "MIT" ]
null
null
null
mysite/polls/admin.py
thomasbtf/hello-django
37c5188667d6eeb2043e3bdd45294dd16e754507
[ "MIT" ]
null
null
null
mysite/polls/admin.py
thomasbtf/hello-django
37c5188667d6eeb2043e3bdd45294dd16e754507
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import Choice, Question class ChoiceInline(admin.TabularInline): model = Choice extra = 3 class QuestionAdmin(admin.ModelAdmin): fieldsets = [ (None, {'fields': ['question_text']}), ('Date information', {'fields': ['pub_date'],...
26.103448
80
0.630119
77
757
6.064935
0.623377
0.059957
0.077088
0
0
0
0
0
0
0
0
0.003454
0.235139
757
29
81
26.103448
0.803109
0
0
0
0
0
0.147757
0
0
0
0
0
0
1
0.045455
false
0
0.090909
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
0
0
0
1
0
0
1
1c4ac0d7a55d4170cae7b7ec8b9808ffa64edcae
910
py
Python
dsvfile/Models/FactorySystem/InserterComponent.py
phoenixx-666/dsvread
8a073c12343b2f0d34f9b728282dfefe10999f24
[ "MIT" ]
2
2021-03-01T19:57:20.000Z
2021-08-02T20:54:48.000Z
dsvfile/Models/FactorySystem/InserterComponent.py
phoenixx-666/dsvread
8a073c12343b2f0d34f9b728282dfefe10999f24
[ "MIT" ]
null
null
null
dsvfile/Models/FactorySystem/InserterComponent.py
phoenixx-666/dsvread
8a073c12343b2f0d34f9b728282dfefe10999f24
[ "MIT" ]
null
null
null
from ...Fields import Int16Field, FloatField, BoolField from ...Fields.Enums import EInserterStage, EItem from . import Model, Int32Field class InserterComponent(Model): version = Int32Field() id = Int32Field() entityId = Int32Field() pcId = Int32Field() stage = EInserterStage() speed = Int32F...
26
55
0.653846
82
910
7.170732
0.487805
0.095238
0.05102
0
0
0
0
0
0
0
0
0.067723
0.237363
910
34
56
26.764706
0.779539
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.09375
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
1c4ba9127383e7ed1f6c5948e5fb447701515444
758
py
Python
SI/2021-1/IA/TP1/src/01.py
luksamuk/study
7a4062cb894be52d786852b4729ac6a4e784b5a3
[ "MIT" ]
3
2019-03-13T02:16:44.000Z
2020-03-05T21:14:18.000Z
SI/2021-1/IA/TP1/src/01.py
luksamuk/study
7a4062cb894be52d786852b4729ac6a4e784b5a3
[ "MIT" ]
1
2019-03-15T00:52:59.000Z
2019-03-15T00:53:54.000Z
SI/2021-1/IA/TP1/src/01.py
luksamuk/study
7a4062cb894be52d786852b4729ac6a4e784b5a3
[ "MIT" ]
1
2020-03-05T21:14:29.000Z
2020-03-05T21:14:29.000Z
from typing import Final # O pão dormido tem 60% de desconto, ou seja, # tem 40% do valor do pão fresco BREAD_COST: Final = 4.60 OLD_BREAD_COST: Final = BREAD_COST * 0.4 def print_aligned(prompt, number): print('{}{:6.2f}'.format(prompt, number)) # Input do usuário while True: try: old_breads = int(i...
28.074074
73
0.663588
109
758
4.46789
0.559633
0.110883
0.073922
0.078029
0.090349
0
0
0
0
0
0
0.020725
0.236148
758
26
74
29.153846
0.82038
0.153034
0
0
0
0
0.275157
0
0
0
0
0
0
1
0.058824
false
0
0.058824
0
0.117647
0.411765
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
1c4c69ac759bca8546404748116179f840445218
924
py
Python
basichttp/myapp/views.py
Bossabossy/Templog
1d653f9a1c23d189940950bce808a3e26d618e15
[ "BSD-2-Clause" ]
null
null
null
basichttp/myapp/views.py
Bossabossy/Templog
1d653f9a1c23d189940950bce808a3e26d618e15
[ "BSD-2-Clause" ]
null
null
null
basichttp/myapp/views.py
Bossabossy/Templog
1d653f9a1c23d189940950bce808a3e26d618e15
[ "BSD-2-Clause" ]
null
null
null
from django.shortcuts import render from django.http import HttpResponse from django.http import JsonResponse from myapp.models import Record, Attribute, Node #from myapp.models import Room #http://localhost:8000/access_room/?temp=25.0&humi=80.0 def access_room(request): if request.method == 'GET': #print "GET: %s"%...
33
91
0.715368
134
924
4.858209
0.402985
0.046083
0.043011
0.061444
0
0
0
0
0
0
0
0.014652
0.113636
924
28
92
33
0.78022
0.119048
0
0.095238
0
0
0.126847
0
0
0
0
0
0
1
0.190476
false
0
0.190476
0.095238
0.571429
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
1
0
0
1
1c50ce99434920bde6ba8b885bb08aae5abec261
426
py
Python
DigitalRead.py
AnandVetcha/IntelEdison_Python
32900e43bdbf12969e37bc9966ca8d62233d86a0
[ "MIT" ]
null
null
null
DigitalRead.py
AnandVetcha/IntelEdison_Python
32900e43bdbf12969e37bc9966ca8d62233d86a0
[ "MIT" ]
null
null
null
DigitalRead.py
AnandVetcha/IntelEdison_Python
32900e43bdbf12969e37bc9966ca8d62233d86a0
[ "MIT" ]
null
null
null
import time import mraa ###### Programe Begins #### print (mraa.getVersion()) #Print mraa version for reference # Initiate Digital Pin 8 with direction in Button = mraa.Gpio(8) Button.dir(mraa.DIR_IN) while 1: # Read voltage at Digital Pin value = Button.read() if value == 1: ...
22.421053
60
0.593897
55
426
4.581818
0.6
0.071429
0.126984
0
0
0
0
0
0
0
0
0.020134
0.300469
426
18
61
23.666667
0.825503
0.274648
0
0
0
0
0.111864
0
0
0
0
0
0
0
null
null
0
0.166667
null
null
0.25
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
1c5322b1397d268c1d8c1b57b37a50e19b766898
2,010
py
Python
python2.7/site-packages/twisted/test/proto_helpers.py
84KaliPleXon3/sslstrip-hsts-openwrt
f875ded48078a3ed84bffef1e69dcbeaf2e77ae3
[ "MIT" ]
4
2020-10-31T19:52:05.000Z
2021-09-22T11:39:27.000Z
python2.7/site-packages/twisted/test/proto_helpers.py
84KaliPleXon3/sslstrip-hsts-openwrt
f875ded48078a3ed84bffef1e69dcbeaf2e77ae3
[ "MIT" ]
null
null
null
python2.7/site-packages/twisted/test/proto_helpers.py
84KaliPleXon3/sslstrip-hsts-openwrt
f875ded48078a3ed84bffef1e69dcbeaf2e77ae3
[ "MIT" ]
2
2020-02-27T08:28:35.000Z
2020-09-13T12:39:26.000Z
# Copyright (c) 2001-2004 Twisted Matrix Laboratories. # See LICENSE for details. try: from cStringIO import StringIO except ImportError: from StringIO import StringIO from twisted.protocols import basic from twisted.internet import error class LineSendingProtocol(basic.LineReceiver): lostConn = False ...
23.372093
66
0.627861
220
2,010
5.681818
0.35
0.0288
0.0264
0.0256
0.1472
0.1168
0.1168
0.064
0.064
0
0
0.006181
0.275622
2,010
85
67
23.647059
0.852335
0.038308
0
0.101695
0
0
0.010368
0
0
0
0
0
0
1
0.254237
false
0.016949
0.084746
0.016949
0.576271
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
1c572b42114460c7cb792249a93ac1b87ef0e9f2
1,160
py
Python
src/tests/models/readingtip_test.py
uradora/ohtu-miniprojekti-2021
50df66fc2dbbfb7efd22a3b6fd8c7cce8b84467b
[ "MIT" ]
null
null
null
src/tests/models/readingtip_test.py
uradora/ohtu-miniprojekti-2021
50df66fc2dbbfb7efd22a3b6fd8c7cce8b84467b
[ "MIT" ]
17
2021-03-30T14:42:50.000Z
2021-04-26T18:30:34.000Z
src/tests/models/readingtip_test.py
uradora/ohtu-miniprojekti-2021
50df66fc2dbbfb7efd22a3b6fd8c7cce8b84467b
[ "MIT" ]
1
2021-11-26T13:46:57.000Z
2021-11-26T13:46:57.000Z
import unittest from models.readingtip import ReadingTip from models.tag import Tag from models.user import User class TestReadingTip(unittest.TestCase): def setUp(self): self.user = User("maija", "jahph5Ie") def test_constructor_sets_fields_correctly(self): tags = [Tag("kirjat"), Tag("maksull...
41.428571
95
0.690517
135
1,160
5.859259
0.311111
0.098609
0.189633
0.064475
0.355247
0.297092
0.250316
0.14665
0.14665
0.14665
0
0.021807
0.169828
1,160
27
96
42.962963
0.799585
0
0
0.090909
0
0
0.22069
0
0
0
0
0
0.272727
1
0.181818
false
0
0.181818
0
0.409091
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
0
0
0
0
0
0
0
0
0
0
1
1c58f2a4b792dc26565ec8e6a9f9925007d2b1a0
8,349
py
Python
practice/technical_interview/solutions.py
wilding/Playground
7649837e0ac099c0eed39fa9d4a69c7c0064b046
[ "MIT" ]
null
null
null
practice/technical_interview/solutions.py
wilding/Playground
7649837e0ac099c0eed39fa9d4a69c7c0064b046
[ "MIT" ]
null
null
null
practice/technical_interview/solutions.py
wilding/Playground
7649837e0ac099c0eed39fa9d4a69c7c0064b046
[ "MIT" ]
null
null
null
# //////////////////////////// Question 1 //////////////////////////// def question1(s, t): """input- two strings output- True if anagram of t is substring in s, False otherwise""" if not t: return False t_list = list(t) for i in range(len(s)): value = s[i] if value i...
31.269663
156
0.544257
1,281
8,349
3.479313
0.150664
0.087952
0.124523
0.156159
0.204622
0.13821
0.106125
0.09042
0.07247
0.07247
0
0.072577
0.262307
8,349
266
157
31.387218
0.65108
0.162175
0
0.188235
0
0
0.055942
0.004343
0
0
0
0
0
0
null
null
0
0
null
null
0.211765
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
1c5acb4f34834fdfcff2f89973567f670bf0ffd7
1,297
py
Python
spacy/es/language_data.py
TerminalWitchcraft/spaCy
29adbef095c04e21a691e912671e4ec21082b047
[ "MIT" ]
1
2018-09-24T17:00:23.000Z
2018-09-24T17:00:23.000Z
spacy/es/language_data.py
TerminalWitchcraft/spaCy
29adbef095c04e21a691e912671e4ec21082b047
[ "MIT" ]
null
null
null
spacy/es/language_data.py
TerminalWitchcraft/spaCy
29adbef095c04e21a691e912671e4ec21082b047
[ "MIT" ]
null
null
null
# encoding: utf8 from __future__ import unicode_literals from .. import language_data as base from ..language_data import update_exc, strings_to_exc from ..symbols import ORTH, LEMMA from .stop_words import STOP_WORDS from .tokenizer_exceptions import TOKENIZER_EXCEPTIONS, ORTH_ONLY def get_time_exc(hours): exc...
23.581818
68
0.582884
157
1,297
4.535032
0.318471
0.240169
0.067416
0.089888
0.227528
0.179775
0.179775
0.123596
0
0
0
0.009595
0.276793
1,297
54
69
24.018519
0.749467
0.010794
0
0.102564
0
0
0.065574
0
0
0
0
0
0
1
0.025641
false
0
0.153846
0
0.205128
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1c5d113af39af7354969c738620c01e6442ab32e
266
py
Python
01_Maior_Numero.py
Bruna-Fernandes/Python
2af20ec86f202bebfd4e0647589ec3f8449534a7
[ "MIT" ]
null
null
null
01_Maior_Numero.py
Bruna-Fernandes/Python
2af20ec86f202bebfd4e0647589ec3f8449534a7
[ "MIT" ]
null
null
null
01_Maior_Numero.py
Bruna-Fernandes/Python
2af20ec86f202bebfd4e0647589ec3f8449534a7
[ "MIT" ]
null
null
null
# 01_Faça um Programa que peça dois números e imprima o maior deles. n1 = int(input('Digite primeiro número:')) n2 = int(input('Digite segundo número:')) if (n1 > n2): print('O maior número digitado foi: ', n1) else: print('O menor número digitado foi: ', n2)
26.6
68
0.68797
43
266
4.232558
0.627907
0.065934
0.153846
0
0
0
0
0
0
0
0
0.036697
0.180451
266
9
69
29.555556
0.798165
0.24812
0
0
0
0
0.520202
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1c66fcef79ec7ee74b9bb572c37619f501e13852
1,122
py
Python
extra/docker/django/config/production_settings.py
rlaneyjr/project_pawz
27f316ef35968ed1319ec0585a050ebed795763a
[ "MIT" ]
null
null
null
extra/docker/django/config/production_settings.py
rlaneyjr/project_pawz
27f316ef35968ed1319ec0585a050ebed795763a
[ "MIT" ]
13
2020-02-12T00:12:52.000Z
2022-02-12T09:42:36.000Z
extra/docker/django/config/production_settings.py
rlaneyjr/project_pawz
27f316ef35968ed1319ec0585a050ebed795763a
[ "MIT" ]
null
null
null
from .common_settings import * DEBUG = False assert SECRET_KEY is not None, ( 'Please provide DJANGO_SECRET_KEY environment variable with a value') ALLOWED_HOSTS += [ os.getenv('DJANGO_ALLOWED_HOSTS'), ] DATABASES['default'].update({ 'NAME': os.getenv('DJANGO_DB_NAME'), 'USER': os.getenv('DJANGO_DB_...
28.05
73
0.714795
152
1,122
4.921053
0.434211
0.149733
0.149733
0.106952
0.069519
0
0
0
0
0
0
0.001017
0.123886
1,122
39
74
28.769231
0.759919
0
0
0
0
0
0.394831
0.031194
0
0
0
0
0.032258
1
0
false
0.064516
0.032258
0
0.032258
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
1c675bbed0fc1c9c416e472ff350591c8c0e88db
427
py
Python
phoenix-code-samples/fit_gauss.py
phoenix-project/phoenix
17c0acf0c9f57b0e94a6510b7d411f64beb1a85d
[ "BSD-Source-Code", "ADSL" ]
1
2021-08-18T15:34:21.000Z
2021-08-18T15:34:21.000Z
phoenix-code-samples/fit_gauss.py
phoenix-project/phoenix
17c0acf0c9f57b0e94a6510b7d411f64beb1a85d
[ "BSD-Source-Code", "ADSL" ]
null
null
null
phoenix-code-samples/fit_gauss.py
phoenix-project/phoenix
17c0acf0c9f57b0e94a6510b7d411f64beb1a85d
[ "BSD-Source-Code", "ADSL" ]
1
2016-01-30T16:16:06.000Z
2016-01-30T16:16:06.000Z
import phmath, phm import scipy p=phm.phm() amplitude = 15 mean = 10 sigma = 0.5 NP = 200 par = [amplitude, mean, sigma] deviation = scipy.rand(NP)/1.0 x = scipy.linspace(mean-10*sigma, mean +10*sigma, 200) y = phmath.gauss_eval(x,par) + deviation data = [] for k in range(NP): data.append( [x[k], y[k]]) res = phm...
17.08
54
0.667447
81
427
3.469136
0.469136
0.064057
0.117438
0
0
0
0
0
0
0
0
0.069252
0.154567
427
24
55
17.791667
0.709141
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0.105263
null
null
0.052632
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
1c6b08c223dbe0a05470ddf0cff0546cc8168f9d
6,092
py
Python
tests/config/test_config.py
lpmi-13/cfripper
36bfdc45855112496977806e1a93d98d010399ed
[ "Apache-2.0" ]
null
null
null
tests/config/test_config.py
lpmi-13/cfripper
36bfdc45855112496977806e1a93d98d010399ed
[ "Apache-2.0" ]
null
null
null
tests/config/test_config.py
lpmi-13/cfripper
36bfdc45855112496977806e1a93d98d010399ed
[ "Apache-2.0" ]
null
null
null
import pytest from pydantic import ValidationError from cfripper.config.config import Config from cfripper.model.enums import RuleGranularity, RuleMode, RuleRisk from cfripper.model.result import Failure from cfripper.rule_processor import RuleProcessor from cfripper.rules import DEFAULT_RULES from tests.utils import ...
44.467153
164
0.69304
636
6,092
6.367925
0.188679
0.026667
0.05037
0.03284
0.652346
0.652346
0.619753
0.619753
0.619753
0.611111
0
0.013434
0.217991
6,092
136
165
44.794118
0.836692
0
0
0.561404
0
0.052632
0.30499
0.195995
0
0
0
0
0.061404
1
0.070175
false
0
0.070175
0.008772
0.149123
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1c6c073ae52fbbecdae96e0dce3d581bbabaf53d
629
py
Python
recipes/Python/499350_NonLinear_Units/recipe-499350.py
tdiprima/code
61a74f5f93da087d27c70b2efe779ac6bd2a3b4f
[ "MIT" ]
2,023
2017-07-29T09:34:46.000Z
2022-03-24T08:00:45.000Z
recipes/Python/499350_NonLinear_Units/recipe-499350.py
unhacker/code
73b09edc1b9850c557a79296655f140ce5e853db
[ "MIT" ]
32
2017-09-02T17:20:08.000Z
2022-02-11T17:49:37.000Z
recipes/Python/499350_NonLinear_Units/recipe-499350.py
unhacker/code
73b09edc1b9850c557a79296655f140ce5e853db
[ "MIT" ]
780
2017-07-28T19:23:28.000Z
2022-03-25T20:39:41.000Z
class DB: ''' Convience class for decibel scale. Other non-linear scales such as the richter scale could be handled similarly. Usage: dB = DB() . . (later) . gain = 15 * dB ''' def __rmul__(self, val): ''' Only allow multiplication from the right to avoid confus...
19.65625
117
0.537361
77
629
4.233766
0.701299
0.02454
0
0
0
0
0
0
0
0
0
0.047264
0.36089
629
31
118
20.290323
0.763682
0.394277
0
0
0
0
0.084142
0
0
0
0
0
0.076923
1
0.153846
false
0.076923
0
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
1
0
0
0
0
0
1
1c7f758e2839ca63f9f12470e080e79158634cd4
1,277
py
Python
backend/assignment/models.py
skku-npc/SKKU_Coding_Platform
1d972e8922484cf94f6735fd08b2565e5d3517d0
[ "MIT" ]
1
2022-03-30T14:03:23.000Z
2022-03-30T14:03:23.000Z
backend/assignment/models.py
skku-npc/SKKU_Coding_Platform
1d972e8922484cf94f6735fd08b2565e5d3517d0
[ "MIT" ]
56
2022-02-19T08:13:48.000Z
2022-03-25T10:17:07.000Z
backend/assignment/models.py
skku-npc/SKKU_Coding_Platform
1d972e8922484cf94f6735fd08b2565e5d3517d0
[ "MIT" ]
1
2022-03-25T15:02:46.000Z
2022-03-25T15:02:46.000Z
from django.db import models from django.utils.timezone import now from course.models import Course from account.models import User from utils.models import RichTextField from utils.constants import AssignmentStatus class Assignment(models.Model): created_by = models.ForeignKey(User, on_delete=models.CASCADE) ...
32.74359
71
0.707126
148
1,277
5.932432
0.418919
0.045558
0.104784
0.047836
0.157175
0
0
0
0
0
0
0.003003
0.217698
1,277
38
72
33.605263
0.875876
0.04072
0
0
0
0
0.017199
0
0
0
0
0
0
1
0.068966
false
0
0.206897
0.034483
0.793103
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