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
f805a433019e5de1969d6d4dace727efec16e4ae
1,659
py
Python
src/need_to_be_incorporated/compute_cohesive_zone.py
billtr0n/pytaskmanager
9c67fec78e54896149866004975bf37240db2db9
[ "Unlicense" ]
1
2016-06-28T19:45:18.000Z
2016-06-28T19:45:18.000Z
src/need_to_be_incorporated/compute_cohesive_zone.py
billtr0n/pytaskmanager
9c67fec78e54896149866004975bf37240db2db9
[ "Unlicense" ]
null
null
null
src/need_to_be_incorporated/compute_cohesive_zone.py
billtr0n/pytaskmanager
9c67fec78e54896149866004975bf37240db2db9
[ "Unlicense" ]
null
null
null
import numpy as np import matplotlib.pyplot as plt import matplotlib matplotlib.rcParams['xtick.direction']='out' matplotlib.rcParams['ytick.direction']='out' dt = 0.02 nt = 985 nz = 801 nx = 2601 slip_mag = np.fromfile('sum','f').reshape([nt, nz, nx]) slip_tol = 0.001 dc = 0.15 zz, xx = np.mgrid[:nz,:nx] # contou...
19.987952
55
0.587703
279
1,659
3.430108
0.426523
0.036573
0.033438
0.035528
0.106583
0.068966
0.068966
0
0
0
0
0.077101
0.218204
1,659
82
56
20.231707
0.660756
0.053044
0
0.067797
0
0
0.066709
0
0
0
0
0
0
0
null
null
0
0.050847
null
null
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
0
0
1
0
0
0
0
0
0
0
0
1
f805ec4f21ef9ecd83027867d3f03a31ccb1ece7
2,279
py
Python
dnsreport/opendns.py
genericmoniker/DNSReport
5bb86f05467f4bd92c4b23e737adcf1ec96e4d94
[ "MIT" ]
null
null
null
dnsreport/opendns.py
genericmoniker/DNSReport
5bb86f05467f4bd92c4b23e737adcf1ec96e4d94
[ "MIT" ]
null
null
null
dnsreport/opendns.py
genericmoniker/DNSReport
5bb86f05467f4bd92c4b23e737adcf1ec96e4d94
[ "MIT" ]
null
null
null
import csv import re import requests _NAME = 1 _COUNT = 2 def login(username, password): url = 'https://login.opendns.com/?source=dashboard' s = requests.Session() r = s.get(url) r.raise_for_status() token = _find_form_token(r) data = {'username': username, 'password': password, 'formtoken':...
29.217949
75
0.636683
325
2,279
4.369231
0.363077
0.004225
0.019014
0.03169
0.080282
0.032394
0.032394
0.032394
0
0
0
0.005155
0.233875
2,279
77
76
29.597403
0.808133
0.18824
0
0.096154
0
0
0.211888
0.016511
0
0
0
0
0
1
0.096154
false
0.057692
0.057692
0
0.269231
0.057692
0
0
0
null
0
0
0
0
0
0
0
0
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
f8062ef00f82b84350ba56208038a7a381d46de9
1,620
py
Python
geo/rest.py
saxix/django-geo
f061f50d6514507fb50e329043820dd0aca0c452
[ "BSD-1-Clause" ]
9
2015-08-22T20:38:48.000Z
2021-07-02T23:36:12.000Z
geo/rest.py
saxix/django-geo
f061f50d6514507fb50e329043820dd0aca0c452
[ "BSD-1-Clause" ]
null
null
null
geo/rest.py
saxix/django-geo
f061f50d6514507fb50e329043820dd0aca0c452
[ "BSD-1-Clause" ]
2
2015-06-26T16:43:18.000Z
2018-04-23T21:34:39.000Z
import logging from datetime import datetime from django.contrib.staticfiles.templatetags.staticfiles import static from django.core import cache, exceptions from django.core.urlresolvers import reverse from geo.models import Country, Currency from pytz import timezone from rest_framework import serializers, paginatio...
27.457627
108
0.758025
155
1,620
7.76129
0.580645
0.029925
0.057357
0.069825
0.058188
0
0
0
0
0
0
0.004422
0.162346
1,620
58
109
27.931034
0.882093
0.046914
0
0.166667
0
0
0.059283
0
0
0
0
0
0
1
0.027778
false
0
0.222222
0.027778
0.861111
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
f80c6e80de08df9beac3c597d3bccbc1bbbec74d
245
py
Python
Startup Coding Festival 2021/1round/배송 전략 실험.py
OMEGA-Y/Baekjoon-sol
9eaa441e482a0967fb60a9ea1d1373be00272c34
[ "Apache-2.0" ]
null
null
null
Startup Coding Festival 2021/1round/배송 전략 실험.py
OMEGA-Y/Baekjoon-sol
9eaa441e482a0967fb60a9ea1d1373be00272c34
[ "Apache-2.0" ]
null
null
null
Startup Coding Festival 2021/1round/배송 전략 실험.py
OMEGA-Y/Baekjoon-sol
9eaa441e482a0967fb60a9ea1d1373be00272c34
[ "Apache-2.0" ]
null
null
null
import sys input = sys.stdin.readline N = int(input().rstrip()) m = [0]*(N+1) m[1] = 1 line = list(map(int,input().rstrip())) for i in range(2,N+1): if line[i-1] == 0: m[i] = 0 else: m[i] = m[i-1] + m[i-2] print(m[N])
15.3125
38
0.497959
50
245
2.44
0.44
0.065574
0.229508
0
0
0
0
0
0
0
0
0.060109
0.253061
245
15
39
16.333333
0.606557
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.083333
0.083333
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
f80e17bb8c9188f028526cfadd99c45a702b5014
7,314
py
Python
tests/test_util.py
drunkpig/apscheduler
cb50f0dab93fccf39c091062f48899ab4ac53a51
[ "MIT" ]
1
2022-01-18T11:58:44.000Z
2022-01-18T11:58:44.000Z
tests/test_util.py
drunkpig/apscheduler
cb50f0dab93fccf39c091062f48899ab4ac53a51
[ "MIT" ]
null
null
null
tests/test_util.py
drunkpig/apscheduler
cb50f0dab93fccf39c091062f48899ab4ac53a51
[ "MIT" ]
null
null
null
import platform import sys from datetime import datetime, timedelta from functools import partial from types import ModuleType import pytest import pytz from apscheduler.util import ( datetime_ceil, get_callable_name, obj_to_ref, ref_to_obj, maybe_ref, check_callable_args) class DummyClass(object): def meth...
37.126904
99
0.642467
848
7,314
5.415094
0.220519
0.027439
0.033319
0.048998
0.337761
0.299434
0.247605
0.1777
0.160497
0.137848
0
0.014394
0.240088
7,314
196
100
37.316327
0.811803
0.100082
0
0.120301
0
0
0.225414
0.036372
0
0
0
0
0.112782
1
0.18797
false
0.052632
0.067669
0
0.308271
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
f81a8e550a3fe43b4d794c2901a9f98083e6e4bf
585
py
Python
server/urls.py
y-a-r-g/idea-color-themes
c770dd14ee6cca58a5078c8885a7d8adac34965b
[ "MIT" ]
19
2015-04-29T16:16:07.000Z
2018-08-21T18:18:18.000Z
server/urls.py
sdvoynikov/idea-color-themes
c770dd14ee6cca58a5078c8885a7d8adac34965b
[ "MIT" ]
2
2015-08-14T20:20:12.000Z
2015-10-21T17:15:28.000Z
server/urls.py
sdvoynikov/idea-color-themes
c770dd14ee6cca58a5078c8885a7d8adac34965b
[ "MIT" ]
5
2015-07-04T02:29:05.000Z
2018-02-21T06:28:35.000Z
from django.conf.urls import patterns, include, url from django.conf.urls.static import static from django.contrib import admin from backend.views import app_urls from server import settings admin.autodiscover() urlpatterns = patterns('', # Examples: # url(r'^$', 'server.views.home', name='home'), # url(...
26.590909
80
0.712821
78
585
5.282051
0.410256
0.072816
0.067961
0.087379
0
0
0
0
0
0
0
0
0.133333
585
22
80
26.590909
0.812623
0.158974
0
0
0
0
0.079755
0.04908
0
0
0
0
0
1
0
false
0
0.384615
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
f81d8b59b5a30d2e3a1647c947d9c1d5c7cd0a93
6,283
py
Python
excitability_matrix.py
leohiselius/spreizer-net
cd80a3c5393cffd391f3c265e9a32742125042c9
[ "MIT" ]
1
2021-04-27T14:37:04.000Z
2021-04-27T14:37:04.000Z
excitability_matrix.py
leohiselius/spreizer-net
cd80a3c5393cffd391f3c265e9a32742125042c9
[ "MIT" ]
null
null
null
excitability_matrix.py
leohiselius/spreizer-net
cd80a3c5393cffd391f3c265e9a32742125042c9
[ "MIT" ]
1
2021-12-02T11:29:06.000Z
2021-12-02T11:29:06.000Z
import numpy as np import matplotlib.pyplot as plt import matplotlib as mpl from perlin import generate_perlin def gaussian_2d_fast(size, amp, mu_x, mu_y, sigma): x = np.arange(0, 1, 1/size[0]) y = np.arange(0, 1, 1/size[1]) xs, ys = np.meshgrid(x,y) dxs = np.minimum(np.abs(xs-mu_x), 1-np.abs(xs-mu_x)...
38.310976
129
0.610855
1,033
6,283
3.451113
0.188771
0.047125
0.049088
0.013464
0.39439
0.324544
0.300421
0.268724
0.209257
0.209257
0
0.033131
0.265001
6,283
163
130
38.546012
0.738848
0.097565
0
0.235772
1
0
0.032932
0
0
0
0
0
0
1
0.01626
false
0
0.03252
0
0.065041
0.01626
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
f8296c4d8a16611d05349b586d852758cdd0a370
360
py
Python
network_utils.py
jaentrouble/rein_assignment3
b39d953abd4b7255a020d5f5218be1f408167e9c
[ "MIT" ]
null
null
null
network_utils.py
jaentrouble/rein_assignment3
b39d953abd4b7255a020d5f5218be1f408167e9c
[ "MIT" ]
5
2020-09-26T00:47:27.000Z
2022-02-10T00:47:16.000Z
network_utils.py
jaentrouble/rein_assignment3
b39d953abd4b7255a020d5f5218be1f408167e9c
[ "MIT" ]
null
null
null
import tensorflow as tf from tensorflow import keras def build_mlp( mlp_input, output_size, n_layers, size, output_activation = None): x = mlp_input for _ in range(n_layers) : x = keras.layers.Dense(units = size, activation = 'relu')(x) return keras.layers.Dense(units = output_...
25.714286
85
0.683333
49
360
4.816327
0.489796
0.067797
0.135593
0.177966
0
0
0
0
0
0
0
0
0.225
360
14
85
25.714286
0.845878
0
0
0
0
0
0.01108
0
0
0
0
0
0
1
0.083333
false
0
0.166667
0
0.333333
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
f83b4ba67dec2a39fd7ccd49a77e4f68cd85ad2c
406
py
Python
yc131/342.py
c-yan/yukicoder
cdbbd65402177225dd989df7fe01f67908484a69
[ "MIT" ]
null
null
null
yc131/342.py
c-yan/yukicoder
cdbbd65402177225dd989df7fe01f67908484a69
[ "MIT" ]
null
null
null
yc131/342.py
c-yan/yukicoder
cdbbd65402177225dd989df7fe01f67908484a69
[ "MIT" ]
null
null
null
S = input() d = {} c = 0 t = '' for i in range(len(S)): if S[i] != 'w': if c > 0: if t != '': d.setdefault(c, []) d[c].append(t) t = '' c = 0 t += S[i] elif S[i] == 'w': c += 1 if c > 0 and t != '': d.setdefault...
16.24
35
0.315271
62
406
2.064516
0.370968
0.0625
0.046875
0.203125
0.34375
0.34375
0.34375
0.34375
0
0
0
0.022727
0.458128
406
24
36
16.916667
0.559091
0
0
0.363636
0
0
0.009852
0
0
0
0
0
0
1
0
false
0
0
0
0
0.090909
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f8443647bf56bfcf130d856add85d21dcac7a763
648
py
Python
setup.py
wangzhou666/simstrategies
2ba8c9e9c09e84f55da797c7dc4e0b341022a82c
[ "MIT" ]
null
null
null
setup.py
wangzhou666/simstrategies
2ba8c9e9c09e84f55da797c7dc4e0b341022a82c
[ "MIT" ]
1
2021-06-01T23:56:22.000Z
2021-06-01T23:56:22.000Z
setup.py
wangzhou666/simstrategies
2ba8c9e9c09e84f55da797c7dc4e0b341022a82c
[ "MIT" ]
null
null
null
import setuptools with open('requirements.txt', 'r') as f_req: REQUIREMENTS = [req.strip() for req in f_req.readlines()] # TODO: add a README file. setuptools.setup( name='SimStrategies', version='0.1.0', author='Zhou Wang', author_email='wangzhou666666@gmail.com', description='A package to back...
27
61
0.66358
75
648
5.626667
0.773333
0.018957
0
0
0
0
0
0
0
0
0
0.026718
0.191358
648
23
62
28.173913
0.778626
0.037037
0
0
0
0
0.342444
0.096463
0
0
0
0.043478
0
1
0
false
0
0.05
0
0.05
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
f847c2366e592195676965bc1f9cae1762914620
1,323
py
Python
website/views/bg/login.py
luxutao/django-blog
392c47f5b584d212485e97826283f9e1c98fb6b9
[ "Apache-2.0" ]
null
null
null
website/views/bg/login.py
luxutao/django-blog
392c47f5b584d212485e97826283f9e1c98fb6b9
[ "Apache-2.0" ]
null
null
null
website/views/bg/login.py
luxutao/django-blog
392c47f5b584d212485e97826283f9e1c98fb6b9
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 # -*- coding:utf-8 -*- """ @__Create Time__ = 2017/12/11 11:08 @__Description__ = " " """ from django.contrib import messages from django.contrib.auth.views import LoginView, LogoutView from django.urls.base import reverse_lazy from ...forms.login import LoginAuthForm # user login class UserL...
28.148936
76
0.685563
166
1,323
5.289157
0.445783
0.062642
0.100228
0.095672
0.134396
0
0
0
0
0
0
0.02262
0.198035
1,323
46
77
28.76087
0.804901
0.093726
0
0
0
0
0.042929
0
0
0
0
0
0
1
0.185185
false
0
0.148148
0.037037
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
f850972e87f429b4030eed3e546290fff6222da5
433
py
Python
catalog/serializers.py
da-semenov/komtek
9ac5903d3c1cf10811217e36ed5f10e8bc463ebc
[ "BSD-3-Clause" ]
null
null
null
catalog/serializers.py
da-semenov/komtek
9ac5903d3c1cf10811217e36ed5f10e8bc463ebc
[ "BSD-3-Clause" ]
null
null
null
catalog/serializers.py
da-semenov/komtek
9ac5903d3c1cf10811217e36ed5f10e8bc463ebc
[ "BSD-3-Clause" ]
1
2021-06-24T14:03:32.000Z
2021-06-24T14:03:32.000Z
from rest_framework import serializers from catalog.models import Catalog, Element class CatalogSerializer(serializers.ModelSerializer): class Meta: model = Catalog fields = '__all__' class ElementSerializer(serializers.ModelSerializer): catalog = serializers.StringRelatedField(read_only=Tr...
24.055556
67
0.720554
42
433
7.238095
0.547619
0.171053
0.092105
0
0
0
0
0
0
0
0
0
0.196305
433
17
68
25.470588
0.873563
0
0
0.181818
0
0
0.094688
0
0
0
0
0
0
1
0
false
0
0.181818
0
0.636364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
f8734afa38d387e869d8058c6d49e8fc9b4802bb
509
py
Python
sales/migrations/0016_auto_20200928_1915.py
zhou-en/turf_portal
2424ac15248c9f1c0fa4f65ca18fe0ea71d7ff4e
[ "MIT" ]
null
null
null
sales/migrations/0016_auto_20200928_1915.py
zhou-en/turf_portal
2424ac15248c9f1c0fa4f65ca18fe0ea71d7ff4e
[ "MIT" ]
47
2020-10-14T21:54:35.000Z
2022-02-25T05:21:39.000Z
sales/migrations/0016_auto_20200928_1915.py
zhou-en/turf_portal
2424ac15248c9f1c0fa4f65ca18fe0ea71d7ff4e
[ "MIT" ]
null
null
null
# Generated by Django 3.1.1 on 2020-09-28 19:15 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('sales', '0015_auto_20200920_1049'), ] operations = [ migrations.AlterField( model_name='orderli...
25.45
132
0.654224
60
509
5.433333
0.7
0.07362
0.08589
0.134969
0
0
0
0
0
0
0
0.07888
0.227898
509
19
133
26.789474
0.750636
0.088409
0
0
1
0
0.147186
0.049784
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f87766bf4d13a15024879e83cb44f5401219c38f
11,686
py
Python
ProcessSRA_hpcc2.py
ShiuLab/RNAseq_pipeline
e5e91fb5a5c257e9df67089bafd55045f6fa5049
[ "MIT" ]
4
2020-03-04T16:51:37.000Z
2021-04-19T15:46:00.000Z
ProcessSRA_hpcc2.py
ShiuLab/RNAseq_pipeline
e5e91fb5a5c257e9df67089bafd55045f6fa5049
[ "MIT" ]
null
null
null
ProcessSRA_hpcc2.py
ShiuLab/RNAseq_pipeline
e5e91fb5a5c257e9df67089bafd55045f6fa5049
[ "MIT" ]
7
2018-06-04T20:58:01.000Z
2021-09-08T00:31:33.000Z
## IMPORT import sys import os ## MAIN print (''' inp1 = .sra file inp2 = bowtie index root name inp3 = paired (1) or single reads (0) or paired processed as single (2) Optional Inputs: -trim_threads = threads to use when running Trimmomatic (note: the actual number of threads used will be 1 + this value)...
38.695364
193
0.70178
1,762
11,686
4.429625
0.130533
0.041256
0.043049
0.026906
0.64984
0.6082
0.547341
0.517233
0.483152
0.413709
0
0.016224
0.16139
11,686
301
194
38.82392
0.780204
0.20546
0
0.331707
0
0.039024
0.409387
0.045587
0
0
0
0
0
0
null
null
0
0.009756
null
null
0.102439
0
0
0
null
0
0
0
0
0
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
f87beab3832ad4795728751f99cedb32a144b2d5
407
py
Python
main.py
inesp/blog-structuring-old-python
f9790cf5b84c06d8689c7a82c5a082333e6e0839
[ "Apache-2.0" ]
null
null
null
main.py
inesp/blog-structuring-old-python
f9790cf5b84c06d8689c7a82c5a082333e6e0839
[ "Apache-2.0" ]
null
null
null
main.py
inesp/blog-structuring-old-python
f9790cf5b84c06d8689c7a82c5a082333e6e0839
[ "Apache-2.0" ]
null
null
null
from city import City from zoo import Zoo vienna = City("vienna") assert vienna.zoo assert isinstance(vienna.zoo, Zoo) assert vienna.zoo.size == 130 assert vienna.zoo._owner_name == "Mrs Zoo Keeper" print( f"City: {vienna.name}\n" f"Zoo owner: {vienna.zoo._owner_name}\n" f"Zoo's size: {vienna.zoo.size}\...
22.611111
81
0.687961
67
407
4.119403
0.328358
0.228261
0.163043
0.130435
0
0
0
0
0
0
0
0.008746
0.157248
407
17
82
23.941176
0.795918
0
0
0
0
0.076923
0.449631
0.115479
0
0
0
0
0.307692
1
0
false
0
0.153846
0
0.153846
0.076923
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
f88fba7a28cc01035a5fad877ca8407db5a22f7e
793
py
Python
main.py
JosiahMg/pyswan
d017726fe2aea8b5bd335954bbfbb4c81002eee8
[ "Apache-2.0" ]
3
2021-12-24T06:42:52.000Z
2022-01-02T11:48:56.000Z
main.py
JosiahMg/pyswan
d017726fe2aea8b5bd335954bbfbb4c81002eee8
[ "Apache-2.0" ]
4
2022-01-07T00:38:31.000Z
2022-01-14T07:15:11.000Z
main.py
JosiahMg/pyswan
d017726fe2aea8b5bd335954bbfbb4c81002eee8
[ "Apache-2.0" ]
null
null
null
import pyswan # # 梁山108好汉! # print(pyswan.digitize("梁山一百零八好汉!")) # # 今天是周7 # print(pyswan.digitize("今天是周日")) # # TODO # pyswan.digitize("明天是劳动节") # # [{'dim': 'time', 'body': '12点30分', 'start': 0, 'end': 0, 'value': '2022-01-06 12:30:51 +08:00'}] # pyswan.parse('十二点三十分', dim=['time', 'number']) # # [{'type': 'equ...
21.432432
100
0.626734
102
793
4.872549
0.480392
0.15493
0.160966
0.092555
0.112676
0
0
0
0
0
0
0.065341
0.112232
793
36
101
22.027778
0.640625
0.732661
0
0.375
0
0
0
0
0
0
0
0.027778
0
1
0
false
0
0.25
0
0.25
0.375
0
0
0
null
0
0
0
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
f8933f9f7eac2dead78571e55b7fa441823d3588
405
py
Python
AutoGrade/migrations/0012_remove_submission_percent.py
bilalzaib/AutoGrader
40767cfc3351fde6948a4381eadabc3bf52ce8a6
[ "MIT" ]
23
2019-07-04T02:43:32.000Z
2022-01-08T04:04:39.000Z
AutoGrade/migrations/0012_remove_submission_percent.py
adroit-404/AutoGrader
40767cfc3351fde6948a4381eadabc3bf52ce8a6
[ "MIT" ]
69
2017-08-29T13:34:53.000Z
2019-04-04T07:08:38.000Z
AutoGrade/migrations/0012_remove_submission_percent.py
adroit-404/AutoGrader
40767cfc3351fde6948a4381eadabc3bf52ce8a6
[ "MIT" ]
7
2017-09-01T15:23:17.000Z
2019-06-10T12:41:14.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.10.7 on 2017-09-04 16:43 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('AutoGrade', '0011_student_email_confirmed'), ] operations = [ migrations.RemoveFiel...
20.25
54
0.624691
43
405
5.674419
0.837209
0
0
0
0
0
0
0
0
0
0
0.070234
0.261728
405
19
55
21.315789
0.745819
0.167901
0
0
1
0
0.161677
0.083832
0
0
0
0
0
1
0
false
0
0.166667
0
0.416667
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
f893fe06b226510b6f6a83acf642d75a5a7e1117
2,336
py
Python
cs15211/DistributeCoinsinBinaryTree.py
JulyKikuAkita/PythonPrac
0ba027d9b8bc7c80bc89ce2da3543ce7a49a403c
[ "Apache-2.0" ]
1
2021-07-05T01:53:30.000Z
2021-07-05T01:53:30.000Z
cs15211/DistributeCoinsinBinaryTree.py
JulyKikuAkita/PythonPrac
0ba027d9b8bc7c80bc89ce2da3543ce7a49a403c
[ "Apache-2.0" ]
null
null
null
cs15211/DistributeCoinsinBinaryTree.py
JulyKikuAkita/PythonPrac
0ba027d9b8bc7c80bc89ce2da3543ce7a49a403c
[ "Apache-2.0" ]
1
2018-01-08T07:14:08.000Z
2018-01-08T07:14:08.000Z
__source__ = 'https://leetcode.com/problems/distribute-coins-in-binary-tree/' # Time: O() # Space: O() # # Description: Leetcode # 979. Distribute Coins in Binary Tree # # Given the root of a binary tree with N nodes, # each node in the tree has node.val coins, # and there are N coins total. # # In one move, we may ch...
22.247619
91
0.604452
337
2,336
4.151335
0.341246
0.03574
0.036455
0.049321
0.143674
0.072909
0.072909
0.072909
0.072909
0
0
0.030689
0.260702
2,336
104
92
22.461538
0.779386
0.273545
0
0.105263
0
0.052632
0.845087
0.028933
0
0
0
0
0.017544
1
0.017544
false
0.017544
0.017544
0
0.140351
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
f8a5af3c752bcdead53f20f4f82ed5cd297cbb25
2,386
py
Python
DigitalBiomarkers-Preprocessing/Signal-Alignment/debug/downsample_shapedtw_dbg.py
jessilyn/DBDP-1
49308994853d36fa8b24066222851133f6bbf4c7
[ "Apache-2.0" ]
20
2020-01-27T16:32:25.000Z
2021-05-27T15:06:29.000Z
DigitalBiomarkers-Preprocessing/Signal-Alignment/debug/downsample_shapedtw_dbg.py
chopeter27/DBDP
99357dac197ceeb8c240ead804dd2c8bd3e3fc93
[ "Apache-2.0" ]
11
2020-01-27T16:22:09.000Z
2020-07-29T20:11:22.000Z
DigitalBiomarkers-Preprocessing/Signal-Alignment/debug/downsample_shapedtw_dbg.py
chopeter27/DBDP
99357dac197ceeb8c240ead804dd2c8bd3e3fc93
[ "Apache-2.0" ]
16
2019-04-05T15:01:46.000Z
2021-07-07T05:42:27.000Z
import math import numpy as np import pandas as pd from scipy import stats from scipy.misc import * from downsample.utils import get_true_aligned, get_group_number, get_k_accuracy from dtw import dtw from parameter_cal import cf from parameter_cal.cf import ds_time from parameter_cal.utils import cal_warped_signals, pl...
40.440678
109
0.800503
369
2,386
4.872629
0.292683
0.023359
0.022247
0.025028
0.113459
0.053393
0
0
0
0
0
0.007029
0.105616
2,386
58
110
41.137931
0.83552
0.047779
0
0
0
0
0.058694
0
0
0
0
0
0
1
0
false
0
0.325581
0
0.325581
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
0
0
0
0
1
0
0
0
0
1
f8abc92a281a81a3673f310d1f71c3093a05065a
342
py
Python
Contato com o PC.py
Alan-2099/Projetos-iniciais-Python
ca8860846c856b9209b016b2af03a652e080d215
[ "MIT" ]
null
null
null
Contato com o PC.py
Alan-2099/Projetos-iniciais-Python
ca8860846c856b9209b016b2af03a652e080d215
[ "MIT" ]
null
null
null
Contato com o PC.py
Alan-2099/Projetos-iniciais-Python
ca8860846c856b9209b016b2af03a652e080d215
[ "MIT" ]
null
null
null
from time import sleep import emoji nome = str(input('Qual seu nome completo? ')).strip() nom = nome.split() print('É um prazer conhecer você\n{}, {}'.format(nom[0].capitalize(), nom[len(nom) - 1].capitalize())) print(emoji.emojize('Serei seu mestre em alguns anos...não pera, estão me desligandooo..:dizzy_face:',use_al...
42.75
120
0.716374
54
342
4.5
0.796296
0
0
0
0
0
0
0
0
0
0
0.009804
0.105263
342
7
121
48.857143
0.784314
0
0
0
0
0
0.397661
0.076023
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0.285714
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
f8bd5a602680e948a2f3ad8e63e7515f507c2249
992
py
Python
pyopenproject/business/services/command/time_entry/update_form.py
webu/pyopenproject
40b2cb9fe0fa3f89bc0fe2a3be323422d9ecf966
[ "MIT" ]
5
2021-02-25T15:54:28.000Z
2021-04-22T15:43:36.000Z
pyopenproject/business/services/command/time_entry/update_form.py
webu/pyopenproject
40b2cb9fe0fa3f89bc0fe2a3be323422d9ecf966
[ "MIT" ]
7
2021-03-15T16:26:23.000Z
2022-03-16T13:45:18.000Z
pyopenproject/business/services/command/time_entry/update_form.py
webu/pyopenproject
40b2cb9fe0fa3f89bc0fe2a3be323422d9ecf966
[ "MIT" ]
6
2021-06-18T18:59:11.000Z
2022-03-27T04:58:52.000Z
from pyopenproject.api_connection.exceptions.request_exception import RequestError from pyopenproject.api_connection.requests.post_request import PostRequest from pyopenproject.business.exception.business_error import BusinessError from pyopenproject.business.services.command.time_entry.time_entry_command import TimeEn...
43.130435
98
0.678427
105
992
6.190476
0.4
0.130769
0.061538
0.092308
0
0
0
0
0
0
0
0
0.239919
992
22
99
45.090909
0.862069
0.050403
0
0
0
0
0.059574
0
0
0
0
0
0
1
0.117647
false
0
0.294118
0
0.529412
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
f8c00b2df613c9728f1073ff0cd8342e02926946
1,502
py
Python
MachineLearning/Algorithms/SVM.py
frenky-strasak/HTTPSDetector
2b0c8d171b345ec0051603fc3c2730b6e62a295e
[ "MIT" ]
9
2020-02-06T18:39:58.000Z
2022-02-04T12:14:20.000Z
MachineLearning/Algorithms/SVM.py
frenky-strasak/HTTPSDetector
2b0c8d171b345ec0051603fc3c2730b6e62a295e
[ "MIT" ]
1
2018-03-30T08:47:27.000Z
2019-04-30T09:08:23.000Z
MachineLearning/Algorithms/SVM.py
frenky-strasak/HTTPSDetector
2b0c8d171b345ec0051603fc3c2730b6e62a295e
[ "MIT" ]
4
2018-07-13T16:31:11.000Z
2021-01-07T07:58:05.000Z
""" https://github.com/frenky-strasak/My_bachelor_thesis """ """ python Learn_Manager.py c:\Users\frenk\Documents\Skola\Bachelor_thesis\My_bachelor_thesis\MachineLearning\Experiment_results\2017_04_20_2127conn\ """ import Get_normalize_data import DetectionMethods import sys from sklearn import svm # path = sys.argv...
27.814815
145
0.768975
225
1,502
4.808889
0.373333
0.058226
0.05915
0.044362
0.342884
0.278189
0.222736
0.222736
0.222736
0.222736
0
0.035372
0.096538
1,502
53
146
28.339623
0.761975
0.416778
0
0.133333
0
0
0.157321
0.126168
0
0
0
0
0
0
null
null
0
0.266667
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
f8c867e611dfe946ef6a02881c8e328b719e1a11
5,052
py
Python
third_party/psutil/psutil/_psosx.py
meego-tablet-ux/meego-app-browser
0f4ef17bd4b399c9c990a2f6ca939099495c2b9c
[ "BSD-3-Clause" ]
1
2015-10-12T09:14:22.000Z
2015-10-12T09:14:22.000Z
third_party/psutil/psutil/_psosx.py
meego-tablet-ux/meego-app-browser
0f4ef17bd4b399c9c990a2f6ca939099495c2b9c
[ "BSD-3-Clause" ]
null
null
null
third_party/psutil/psutil/_psosx.py
meego-tablet-ux/meego-app-browser
0f4ef17bd4b399c9c990a2f6ca939099495c2b9c
[ "BSD-3-Clause" ]
1
2020-11-04T07:22:28.000Z
2020-11-04T07:22:28.000Z
#!/usr/bin/env python # # $Id: _psosx.py 794 2010-11-12 13:29:52Z g.rodola $ # import errno import os try: from collections import namedtuple except ImportError: from psutil.compat import namedtuple # python < 2.6 import _psutil_osx import _psposix from psutil.error import AccessDenied, NoSuchProcess # ---...
31.974684
84
0.687055
690
5,052
4.776812
0.256522
0.054612
0.069175
0.065534
0.415352
0.286104
0.239684
0.167476
0.167476
0.167476
0
0.006592
0.219319
5,052
157
85
32.178344
0.829108
0.041172
0
0.195652
0
0
0.092441
0
0
0
0
0
0
0
null
null
0
0.086957
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
f8cd36067ebaba581825690b69c075a8f801ce64
2,055
py
Python
classes/agents_page.py
Lznah/SrealityAdresarScrapper
948cfecc7faee021e0ef820111461b3a4e965452
[ "MIT" ]
null
null
null
classes/agents_page.py
Lznah/SrealityAdresarScrapper
948cfecc7faee021e0ef820111461b3a4e965452
[ "MIT" ]
null
null
null
classes/agents_page.py
Lznah/SrealityAdresarScrapper
948cfecc7faee021e0ef820111461b3a4e965452
[ "MIT" ]
null
null
null
import re from classes.page import Page from selenium.common.exceptions import NoSuchElementException from selenium.common.exceptions import TimeoutException from unidecode import unidecode class AgentsPage(Page): def __init__(self, url, agent_arr): Page.__init__(self, url) self._agent_arr = agent_...
45.666667
116
0.523601
203
2,055
5.078818
0.418719
0.038797
0.050436
0.054316
0.182347
0.116392
0
0
0
0
0
0.010054
0.370803
2,055
45
117
45.666667
0.786543
0.008759
0
0.102564
0
0
0.091892
0.018182
0
0
0
0.022222
0
1
0.051282
false
0
0.128205
0
0.205128
0.051282
0
0
0
null
0
0
0
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
f8ce10079473fde88d1e670a9af123ee362926b2
1,038
py
Python
pcassandra/management/commands/pcassandra_createuser.py
hgdeoro/pcassandra
c91ff6adc9e46772ce3f975a8b89191eb9bd7c1f
[ "BSD-3-Clause" ]
null
null
null
pcassandra/management/commands/pcassandra_createuser.py
hgdeoro/pcassandra
c91ff6adc9e46772ce3f975a8b89191eb9bd7c1f
[ "BSD-3-Clause" ]
null
null
null
pcassandra/management/commands/pcassandra_createuser.py
hgdeoro/pcassandra
c91ff6adc9e46772ce3f975a8b89191eb9bd7c1f
[ "BSD-3-Clause" ]
null
null
null
import getpass import sys from django.core.management.base import BaseCommand from django.utils.six.moves import input from pcassandra import connection from pcassandra import utils class Command(BaseCommand): help = 'Create a CassandraUser' SUPERUSER = False def handle(self, *args, **options): ...
28.833333
76
0.671484
108
1,038
6.37037
0.527778
0.052326
0.05814
0
0
0
0
0
0
0
0
0.00375
0.229287
1,038
35
77
29.657143
0.85625
0
0
0
0
0
0.120424
0
0
0
0
0
0
1
0.038462
false
0.230769
0.230769
0
0.384615
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
f8d07c5e67ed117045be489999c7890e1b1269d9
6,531
py
Python
Python Programs/xth-rank-students.py
muhammad-masood-ur-rehman/Skillrack
71a25417c89d0efab40ee6229ccd758b26ae4312
[ "CC0-1.0" ]
2
2021-06-26T21:50:59.000Z
2021-09-18T04:55:51.000Z
Python Programs/xth-rank-students.py
muhammad-masood-ur-rehman/Skillrack
71a25417c89d0efab40ee6229ccd758b26ae4312
[ "CC0-1.0" ]
null
null
null
Python Programs/xth-rank-students.py
muhammad-masood-ur-rehman/Skillrack
71a25417c89d0efab40ee6229ccd758b26ae4312
[ "CC0-1.0" ]
null
null
null
Xth Rank - Students The name and score of N students in a test are passed as input to the program. Also, an integer X is passed as input to the program. The program must print the student names whose rank is X with their names sorted in ascending order. If there is no such student for the given rank, the program must ...
22.598616
322
0.479865
1,019
6,531
3.071639
0.22473
0.007668
0.007668
0.007668
0.172524
0.12524
0.079872
0.074121
0.054313
0.054313
0
0.034572
0.348951
6,531
288
323
22.677083
0.701317
0.010565
0
0.115672
0
0
0.00635
0
0
0
0
0
0
0
null
null
0.003731
0.003731
null
null
0.037313
0
0
0
null
0
0
0
0
0
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
f8d278ef003371a8bcf694e0ded7fdb51b16ccbb
1,045
py
Python
automationtool/controls.py
jascrer/PythonAutomationTool
3d1d5b9546af32e46142afbd3cb2e3eb1c80d1bd
[ "MIT" ]
null
null
null
automationtool/controls.py
jascrer/PythonAutomationTool
3d1d5b9546af32e46142afbd3cb2e3eb1c80d1bd
[ "MIT" ]
3
2020-07-06T00:28:48.000Z
2020-07-06T00:42:27.000Z
automationtool/controls.py
jascrer/PythonAutomationTool
3d1d5b9546af32e46142afbd3cb2e3eb1c80d1bd
[ "MIT" ]
null
null
null
from helpers import Tags # Controls # Button tag class class Button(Tags): def __init__(self, attrs): Tags.__init__(self, "button", attrs) # Label tag class class Label(Tags): def __init__(self, attrs): Tags.__init__(self, "label", attrs) # Input tag class class Input(Tags): def __i...
20.096154
64
0.629665
124
1,045
4.983871
0.201613
0.12945
0.105178
0.121359
0.15534
0.15534
0.15534
0.15534
0
0
0
0
0.255502
1,045
51
65
20.490196
0.794344
0.091866
0
0.185185
0
0
0.045648
0
0
0
0
0
0
1
0.296296
false
0
0.037037
0.074074
0.62963
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
6ef5c17b262ed8522847d1286dd9337ba9d1e855
400
py
Python
task_board/api/urls.py
AlexanderKaluzhny/task_board
286eeb52403d695d6a61ec42bea7fa32e5aca228
[ "MIT" ]
3
2017-04-22T11:22:39.000Z
2020-01-22T12:22:56.000Z
task_board/api/urls.py
AlexanderKaluzhny/task_board
286eeb52403d695d6a61ec42bea7fa32e5aca228
[ "MIT" ]
12
2017-12-14T07:56:33.000Z
2022-03-12T00:03:56.000Z
task_board/api/urls.py
AlexanderKaluzhny/task_board
286eeb52403d695d6a61ec42bea7fa32e5aca228
[ "MIT" ]
1
2022-01-29T16:44:50.000Z
2022-01-29T16:44:50.000Z
from django.urls import path from task_board.api.tasks import endpoints from task_board.api.settings.endpoints import AppGlobalsEndpoint app_name = 'api-v1' urlpatterns = [ path('tasks/', endpoints.TaskListView.as_view(), name='task-list'), path('tasks/<int:pk>/', endpoints.TaskUpdateDeleteView.as_view(), na...
28.571429
97
0.745
51
400
5.72549
0.509804
0.061644
0.089041
0.109589
0
0
0
0
0
0
0
0.002801
0.1075
400
13
98
30.769231
0.815126
0
0
0
0
0
0.155
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
6efb766e1cae1188ff1ddf2440cea616d2bd55b6
3,988
py
Python
tools/migrate_chart/migrate_chart.py
kschu91/harbor
29ccdff766541aadc0d4eeae6e18676a955ccc23
[ "Apache-2.0" ]
12,706
2018-08-08T10:45:05.000Z
2022-03-31T20:34:23.000Z
tools/migrate_chart/migrate_chart.py
kschu91/harbor
29ccdff766541aadc0d4eeae6e18676a955ccc23
[ "Apache-2.0" ]
10,942
2018-08-08T08:56:04.000Z
2022-03-31T23:46:08.000Z
tools/migrate_chart/migrate_chart.py
kschu91/harbor
29ccdff766541aadc0d4eeae6e18676a955ccc23
[ "Apache-2.0" ]
3,313
2018-08-08T08:37:19.000Z
2022-03-31T12:20:17.000Z
#!/usr/local/bin/python3 import subprocess import signal import sys from pathlib import Path import click import requests MIGRATE_CHART_SCRIPT = '/migrate_chart.sh' HELM_CMD = '/linux-amd64/helm' CA_UPDATE_CMD = 'update-ca-certificates' CHART_URL_PATTERN = "https://{host}/api/v2.0/projects/{project}/repositories/{na...
36.925926
144
0.605065
477
3,988
4.9413
0.322851
0.047518
0.050912
0.013577
0.18286
0.16801
0.144251
0.144251
0.144251
0.144251
0
0.01019
0.261785
3,988
107
145
37.271028
0.790421
0.015797
0
0.183908
0
0.011494
0.171399
0.01407
0
0
0
0
0
1
0.068966
false
0.103448
0.068966
0.011494
0.172414
0.034483
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
6efbf952bd55e6b9e8f2b5ccf8b898ffd5d82622
1,419
py
Python
temp/p.py
fauzaanirsyaadi/Travel
bd1720dbf3e22602793446d5cdd4daf063d09a25
[ "MIT" ]
null
null
null
temp/p.py
fauzaanirsyaadi/Travel
bd1720dbf3e22602793446d5cdd4daf063d09a25
[ "MIT" ]
null
null
null
temp/p.py
fauzaanirsyaadi/Travel
bd1720dbf3e22602793446d5cdd4daf063d09a25
[ "MIT" ]
null
null
null
from flask import Flask, render_template,request, url_for,redirect,send_file from flask_sqlalchemy import SQLAlchemy from io import BytesIO from base64 import b64encode print("golu") from datetime import datetime today=datetime.now app = Flask(__name__) app.config['SQLALCHEMY_DATABASE_URI']= 'mysql://root:@localhost...
35.475
78
0.748414
207
1,419
5.05314
0.386473
0.091778
0.114723
0.152964
0.368069
0.368069
0.368069
0.368069
0.368069
0.09369
0
0.019701
0.105708
1,419
40
79
35.475
0.804571
0
0
0
0
0
0.084507
0.06338
0
0
0
0
0
1
0.032258
false
0.064516
0.16129
0
0.645161
0.064516
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
6efc9c35b599c7f3b9488a2925e183f654f6761b
2,177
py
Python
Part1/metadata.py
ParashRahman/Database-Project
3a934d82289b58dcf83497b658970b2d336c1fba
[ "Apache-2.0" ]
null
null
null
Part1/metadata.py
ParashRahman/Database-Project
3a934d82289b58dcf83497b658970b2d336c1fba
[ "Apache-2.0" ]
null
null
null
Part1/metadata.py
ParashRahman/Database-Project
3a934d82289b58dcf83497b658970b2d336c1fba
[ "Apache-2.0" ]
null
null
null
""" Initialize a Metadata object once and access the respective metadata as public variables. Following are the variable names: owner table = owner_metadata auto_sale table = auto_sale_metadata restriction table = restriction_metadata driving_condition table = driving_condition_metadata ticket table = t...
23.159574
123
0.778135
285
2,177
5.691228
0.140351
0.135635
0.086313
0.12947
0.432799
0.432799
0.229346
0
0
0
0
0
0.132292
2,177
93
124
23.408602
0.858655
0.303629
0
0
0
0
0.145936
0
0
0
0
0
0
1
0.255814
false
0
0
0
0.27907
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
3e0029a8426f40babea5983f67db7d746bbe8562
1,282
py
Python
metagraph/tests/translators/test_node_set.py
paul-tqh-nguyen/metagraph
362f97059f8344042d376edc5b470e27bd69b46e
[ "Apache-2.0" ]
18
2020-08-07T19:15:46.000Z
2022-01-25T09:24:18.000Z
metagraph/tests/translators/test_node_set.py
paul-tqh-nguyen/metagraph
362f97059f8344042d376edc5b470e27bd69b46e
[ "Apache-2.0" ]
49
2020-08-07T20:05:11.000Z
2022-03-24T20:46:31.000Z
metagraph/tests/translators/test_node_set.py
paul-tqh-nguyen/metagraph
362f97059f8344042d376edc5b470e27bd69b46e
[ "Apache-2.0" ]
9
2020-08-07T19:15:56.000Z
2022-01-19T01:45:05.000Z
import pytest from metagraph.tests.util import default_plugin_resolver from . import RoundTripper from metagraph.plugins.python.types import PythonNodeSetType from metagraph.plugins.numpy.types import NumpyNodeSet, NumpyNodeMap import numpy as np def test_nodeset_roundtrip(default_plugin_resolver): rt = RoundTrip...
30.52381
68
0.729329
178
1,282
5.022472
0.292135
0.130872
0.211409
0.09396
0.45302
0.427293
0.348993
0.303132
0.303132
0.243848
0
0.026316
0.170047
1,282
41
69
31.268293
0.81391
0
0
0.333333
0
0
0
0
0
0
0
0
0.181818
1
0.121212
false
0
0.181818
0
0.30303
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
3e041630960ea4e28a49e86aa0295e5378ed8ccf
1,714
py
Python
src/probability/metric_test.py
adampolomski/decisionmaker
fb8c66064c7c93e7ec6ec18800a54966ad5a1729
[ "Apache-2.0" ]
null
null
null
src/probability/metric_test.py
adampolomski/decisionmaker
fb8c66064c7c93e7ec6ec18800a54966ad5a1729
[ "Apache-2.0" ]
null
null
null
src/probability/metric_test.py
adampolomski/decisionmaker
fb8c66064c7c93e7ec6ec18800a54966ad5a1729
[ "Apache-2.0" ]
null
null
null
''' Created on 25 sty 2015 @author: Adam Polomski ''' import unittest from probability.metric import ExpectedValue, Variation, StandardDeviation class MetricTest(unittest.TestCase): def testShouldCalculateExpectedValue(self): # given metric = ExpectedValue() probabilities...
34.979592
168
0.648191
148
1,714
7.452703
0.391892
0.024479
0.040798
0.089755
0.481414
0.481414
0.353581
0.353581
0.353581
0.353581
0
0.308962
0.257876
1,714
49
169
34.979592
0.558176
0.080513
0
0.15
0
0
0.050265
0
0
0
0
0
0.15
1
0.15
false
0
0.1
0
0.3
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
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
3e0dea3928109f3ee2cf8941dee09d39112c2cc4
2,570
py
Python
union_of_transforms.py
cleary-lab/CS-SMAF
d71b1f17911cf2d43c07f211400003541f32f8db
[ "MIT" ]
16
2017-01-24T22:19:01.000Z
2021-10-01T14:41:09.000Z
union_of_transforms.py
cleary-lab/CS-SMAF
d71b1f17911cf2d43c07f211400003541f32f8db
[ "MIT" ]
null
null
null
union_of_transforms.py
cleary-lab/CS-SMAF
d71b1f17911cf2d43c07f211400003541f32f8db
[ "MIT" ]
6
2017-12-01T13:51:41.000Z
2021-02-28T16:17:24.000Z
import numpy as np from dl_simulation import * from analyze_predictions import * import sys THREADS=5 def smaf(X,d,lda1,lda2,maxItr=10,UW=None,posW=False,posU=True,use_chol=False,module_lower=500,activity_lower=5,donorm=False,mode=1,mink=5,U0=[],U0_delta=0.1,doprint=False): # use Cholesky when we expect a very spars...
34.72973
172
0.684436
471
2,570
3.681529
0.305732
0.064591
0.039216
0.044983
0.266436
0.210496
0.181661
0.162053
0.162053
0.134948
0
0.03483
0.150973
2,570
74
173
34.72973
0.759853
0.092996
0
0.298507
0
0
0
0
0
0
0
0
0
0
null
null
0
0.059701
null
null
0.044776
0
0
0
null
0
0
0
0
0
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
3e0fbb0c34439a606206973aebb81f0ea3c77965
364
py
Python
app/db/models.py
mgajewskik/website_scraper_api
7dab20863ac8461f24cff79f36e39d3ad2b40ed0
[ "MIT" ]
null
null
null
app/db/models.py
mgajewskik/website_scraper_api
7dab20863ac8461f24cff79f36e39d3ad2b40ed0
[ "MIT" ]
null
null
null
app/db/models.py
mgajewskik/website_scraper_api
7dab20863ac8461f24cff79f36e39d3ad2b40ed0
[ "MIT" ]
null
null
null
from sqlalchemy import Column, Integer, String, DateTime from .database import Base class Website(Base): __tablename__ = "websites" id = Column(Integer, primary_key=True, index=True, unique=True) url = Column(String) started_at = Column(DateTime) status = Column(String, default="pending") co...
26
67
0.722527
44
364
5.818182
0.613636
0.101563
0.125
0
0
0
0
0
0
0
0
0
0.175824
364
13
68
28
0.853333
0
0
0
0
0
0.041209
0
0
0
0
0
0
1
0
false
0
0.222222
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
3e123f49ce7b22005d7e0dc83dc5bc0ecbd5284b
7,802
py
Python
src/protocol.py
Wizmann/Melkweg
04ea3a70650df2312ab5f80e355e43e1b2e83b86
[ "MIT" ]
23
2017-10-26T13:51:17.000Z
2020-04-28T00:06:56.000Z
src/protocol.py
Wizmann/Melkweg
04ea3a70650df2312ab5f80e355e43e1b2e83b86
[ "MIT" ]
4
2017-11-03T02:58:10.000Z
2020-03-12T06:25:22.000Z
src/protocol.py
Wizmann/Melkweg
04ea3a70650df2312ab5f80e355e43e1b2e83b86
[ "MIT" ]
6
2017-10-26T18:29:05.000Z
2019-09-16T23:47:59.000Z
#coding=utf-8 from enum import Enum import time import logging from twisted.internet import defer, protocol, reactor, error from twisted.protocols.basic import Int32StringReceiver from twisted.protocols.policies import TimeoutMixin from packet_pb2 import MPacket import config from cipher import AES_CTR, nonce, hexl...
34.986547
115
0.615227
852
7,802
5.538732
0.184272
0.018012
0.01335
0.022886
0.338207
0.182242
0.136046
0.099597
0.060182
0.038567
0
0.004626
0.279672
7,802
222
116
35.144144
0.835053
0.001538
0
0.329609
0
0
0.050334
0
0
0
0
0
0.005587
0
null
null
0
0.067039
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
3e1e7dba1644c22642dd796062bb34e7f901eea0
943
py
Python
opal_common/authentication/types.py
NateKat/opal
6906efc793eb02da894e186484e4f4f0b18f985c
[ "Apache-2.0" ]
367
2021-04-11T11:58:35.000Z
2022-02-24T15:33:54.000Z
opal_common/authentication/types.py
NateKat/opal
6906efc793eb02da894e186484e4f4f0b18f985c
[ "Apache-2.0" ]
63
2021-04-14T07:00:44.000Z
2021-12-07T12:05:38.000Z
opal_common/authentication/types.py
NateKat/opal
6906efc793eb02da894e186484e4f4f0b18f985c
[ "Apache-2.0" ]
32
2021-04-11T12:53:53.000Z
2021-12-04T19:57:42.000Z
from enum import Enum from typing import Dict, Any from jwt.algorithms import get_default_algorithms from cryptography.hazmat._types import ( _PRIVATE_KEY_TYPES, _PUBLIC_KEY_TYPES, ) # custom types PrivateKey = _PRIVATE_KEY_TYPES PublicKey = _PUBLIC_KEY_TYPES JWTClaims = Dict[str, Any] class EncryptionKeyFo...
30.419355
132
0.732768
130
943
5.169231
0.569231
0.047619
0.059524
0.056548
0.068452
0
0
0
0
0
0
0.018797
0.153765
943
31
133
30.419355
0.823308
0.47508
0
0
0
0
0.045064
0
0
0
0
0
0
1
0
false
0
0.266667
0
0.533333
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
3e26638648d3b0c330758326157dad205f28f41c
5,615
py
Python
backend/app.py
enfiskutensykkel/hackathon2013
112419dd2cad5f61e7a118e4be8a860bd2c436ab
[ "0BSD" ]
1
2015-11-22T20:10:47.000Z
2015-11-22T20:10:47.000Z
backend/app.py
enfiskutensykkel/hackathon2013
112419dd2cad5f61e7a118e4be8a860bd2c436ab
[ "0BSD" ]
4
2017-11-14T09:24:36.000Z
2017-11-14T09:24:36.000Z
backend/app.py
enfiskutensykkel/hackathon2013
112419dd2cad5f61e7a118e4be8a860bd2c436ab
[ "0BSD" ]
null
null
null
# -*- coding: utf-8 -*- from flask import Flask from flask import jsonify from flask import url_for from flask import redirect import datetime as dt from calendar import timegm as timestamp from calais import get_semantic_data from generator import PeekableGenerator from storyful import search_storyful from afp impo...
28.075
128
0.549243
616
5,615
4.894481
0.248377
0.025539
0.019901
0.022886
0.093864
0.072305
0.025207
0
0
0
0
0.006579
0.323241
5,615
199
129
28.21608
0.786842
0.046839
0
0.075342
0
0
0.134032
0.004867
0
0
0
0
0
0
null
null
0
0.082192
null
null
0.020548
0
0
0
null
0
0
0
0
0
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
3e2c8def98ab3c0057d662841d00db2ce5bdde3d
3,270
py
Python
utils/db/crm/company.py
nguyenhuong791123/api
cbefc2f3cb882d5655ed9ebdcfe42be1af69cc89
[ "MIT" ]
null
null
null
utils/db/crm/company.py
nguyenhuong791123/api
cbefc2f3cb882d5655ed9ebdcfe42be1af69cc89
[ "MIT" ]
5
2019-12-26T00:24:49.000Z
2022-01-13T01:56:06.000Z
utils/db/crm/company.py
nguyenhuong791123/api
cbefc2f3cb882d5655ed9ebdcfe42be1af69cc89
[ "MIT" ]
null
null
null
#-*- coding: UTF-8 -*- from passlib.hash import sha256_crypt from marshmallow_sqlalchemy import SQLAlchemyAutoSchema from sqlalchemy import * from sqlalchemy.types import * from sqlalchemy.orm import * from ..engine.db import Base from .group import Group class Company(Base): __table_args__ = { 'schema': 'company...
33.71134
120
0.64526
380
3,270
5.310526
0.315789
0.065411
0.049554
0.032706
0.198216
0.15114
0.102081
0.071358
0.071358
0.071358
0
0.027358
0.25107
3,270
96
121
34.0625
0.796652
0.108869
0
0.144737
0
0
0.069239
0.007234
0
0
0
0
0
1
0.065789
false
0.039474
0.092105
0.039474
0.671053
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
3e3b2e6532b7e796d9bfd42e69a7da49b8b65822
1,394
py
Python
frontend/fetch-changeset-meta.py
whatismoss/osm-livechanges
e4d078f60883f49b222864ff65a1b853fc2823b3
[ "Apache-2.0" ]
11
2015-04-02T19:52:22.000Z
2022-01-25T01:09:10.000Z
frontend/fetch-changeset-meta.py
whatismoss/osm-livechanges
e4d078f60883f49b222864ff65a1b853fc2823b3
[ "Apache-2.0" ]
7
2015-07-12T17:32:43.000Z
2022-01-25T01:21:09.000Z
frontend/fetch-changeset-meta.py
whatismoss/osm-livechanges
e4d078f60883f49b222864ff65a1b853fc2823b3
[ "Apache-2.0" ]
8
2015-07-16T16:50:29.000Z
2021-06-23T14:39:33.000Z
#! /usr/bin/env python import sys, time, datetime, math, sqlite3, json, cgi, os, urllib2 from lxml import etree print "Content-Type: application/json" print "" changesetId = int(os.environ["QUERY_STRING"].split('=')[1]) data = { "id": changesetId, "tags" : {}, "requested" : False } db = sqlite3.connect("/data/work...
35.74359
149
0.680775
197
1,394
4.756345
0.431472
0.034152
0.017076
0.01921
0.347919
0.347919
0.251868
0.251868
0.251868
0.168623
0
0.007481
0.137016
1,394
38
150
36.684211
0.771405
0.142755
0
0
0
0.041667
0.387395
0.044538
0
0
0
0
0
0
null
null
0
0.083333
null
null
0.125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
3e3fbfaf9a6b348fbd7150a1eb00d6503cdd5843
276
py
Python
tests/01_human_readable_errors.py
Hakujou/osc-sdk-python
5689ff66777c4f219e9b8483378c35af871cc996
[ "BSD-3-Clause" ]
null
null
null
tests/01_human_readable_errors.py
Hakujou/osc-sdk-python
5689ff66777c4f219e9b8483378c35af871cc996
[ "BSD-3-Clause" ]
null
null
null
tests/01_human_readable_errors.py
Hakujou/osc-sdk-python
5689ff66777c4f219e9b8483378c35af871cc996
[ "BSD-3-Clause" ]
null
null
null
import sys sys.path.append("..") from osc_sdk_python import Gateway gw = Gateway() res = gw.CreateNet(IpRange='142.42.42.42/32') error = [error for error in res['Errors'] if error.get('Code') == '4014' and error.get('Details') == 'invalid-block-size'] assert len(error) == 1
30.666667
122
0.688406
45
276
4.177778
0.711111
0.042553
0
0
0
0
0
0
0
0
0
0.065844
0.119565
276
8
123
34.5
0.707819
0
0
0
0
0
0.203636
0
0
0
0
0
0.142857
1
0
false
0
0.285714
0
0.285714
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
3e4243557b40bd74587f2c53dd5fd00306d29079
993
py
Python
examples/solver_example.py
wallarelvo/rocketbear
905c24e4243f178a50907ae965de68dc119de25d
[ "Apache-2.0" ]
1
2015-04-13T09:59:21.000Z
2015-04-13T09:59:21.000Z
examples/solver_example.py
wallarelvo/rocketbear
905c24e4243f178a50907ae965de68dc119de25d
[ "Apache-2.0" ]
null
null
null
examples/solver_example.py
wallarelvo/rocketbear
905c24e4243f178a50907ae965de68dc119de25d
[ "Apache-2.0" ]
null
null
null
import os import sys sys.path.append(os.path.join(os.path.dirname(__file__), "..")) import rocketbear """ A toy example of the solver. The only correct response is: var_0 <- 2 var_1 <- 3 var_2 <- 4 """ if __name__ == "__main__": # Initializes the variables and their domains var_0 = rocketbear....
23.093023
63
0.660624
153
993
4.071895
0.385621
0.038523
0.091493
0.096308
0.219904
0.182986
0.080257
0
0
0
0
0.041721
0.227593
993
42
64
23.642857
0.770535
0.224572
0
0
0
0
0.015361
0
0
0
0
0
0
0
null
null
0
0.166667
null
null
0.055556
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
3e43ae179cbf8a2e30f4471586eb420afe67de35
4,981
py
Python
tcl_training.py
ramel0915/TCL
e813b79399c6d9c5550822c740872f9df0c91871
[ "Apache-1.1" ]
50
2018-06-08T14:09:49.000Z
2021-11-24T09:49:47.000Z
tcl_training.py
ramel0915/TCL
e813b79399c6d9c5550822c740872f9df0c91871
[ "Apache-1.1" ]
null
null
null
tcl_training.py
ramel0915/TCL
e813b79399c6d9c5550822c740872f9df0c91871
[ "Apache-1.1" ]
15
2018-07-17T14:18:14.000Z
2020-12-30T13:45:43.000Z
""" Classification Main script for the simulation described in Hyvarinen and Morioka, NIPS 2016. Perform time-contrastive learning from artificial data. Source signals are generated based on segment-wise-modulated Laplace distribution (q = |.|). """ import os import pickle import shutil from subfunc....
36.094203
96
0.592652
559
4,981
5.026834
0.307692
0.037011
0.051246
0.02847
0.324555
0.279715
0.237722
0.237722
0.237722
0.237722
0
0.013307
0.200361
4,981
137
97
36.357664
0.692192
0.386669
0
0.304878
1
0
0.086869
0
0
0
0
0
0.012195
1
0
false
0
0.073171
0
0.073171
0.04878
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
3e4a9e4c8f21983c6eef66c8c6b6ba8016afb043
186
py
Python
fibonacciModiified.py
akhilesh-k/HackerRank-Solutions
4c3a0ab9f488246c8c8a7043acc7bdb40c300ccf
[ "MIT" ]
null
null
null
fibonacciModiified.py
akhilesh-k/HackerRank-Solutions
4c3a0ab9f488246c8c8a7043acc7bdb40c300ccf
[ "MIT" ]
null
null
null
fibonacciModiified.py
akhilesh-k/HackerRank-Solutions
4c3a0ab9f488246c8c8a7043acc7bdb40c300ccf
[ "MIT" ]
null
null
null
a, b, n = (int(i) for i in raw_input().split()) if n == 1: print(a) elif n == 2: print(b) else: for x in range(2, n): tn = a + b*b a = b b = tn print(tn)
18.6
47
0.446237
38
186
2.157895
0.5
0.073171
0.073171
0
0
0
0
0
0
0
0
0.025641
0.370968
186
9
48
20.666667
0.675214
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
0
0
0
null
0
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
3e555c8d9afe7733c28d060bc2d7e54d2aa3efa6
403
py
Python
app/migrations/0006_auto_20190917_0237.py
ckr3453/knut_festival
31d41107a30ba7fab28e43292f5c65c0ae2916af
[ "MIT" ]
4
2019-09-04T12:38:35.000Z
2019-09-24T14:56:52.000Z
app/migrations/0006_auto_20190917_0237.py
ckr3453/knut_festival
31d41107a30ba7fab28e43292f5c65c0ae2916af
[ "MIT" ]
13
2020-03-30T16:29:18.000Z
2022-02-10T10:52:50.000Z
app/migrations/0006_auto_20190917_0237.py
ckr3453/knut_festival
31d41107a30ba7fab28e43292f5c65c0ae2916af
[ "MIT" ]
4
2019-09-10T02:05:37.000Z
2019-11-04T06:56:58.000Z
# Generated by Django 2.2.5 on 2019-09-16 17:37 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('app', '0005_board_photo'), ] operations = [ migrations.AlterField( model_name='board', name='photo', fie...
21.210526
80
0.593052
45
403
5.222222
0.777778
0
0
0
0
0
0
0
0
0
0
0.065517
0.280397
403
18
81
22.388889
0.744828
0.111663
0
0
1
0
0.101124
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
3e5d71ea88eb9301df3cbf25097962484ddaeacc
2,188
py
Python
app/queries/summary_of_events_with_actor.py
scraperwiki/newsreader-api
db9a95b173c805cf67748e6ae75f2552b7fb5e54
[ "Apache-2.0" ]
5
2015-06-14T22:23:12.000Z
2019-03-21T08:39:08.000Z
app/queries/summary_of_events_with_actor.py
scraperwiki/newsreader-api
db9a95b173c805cf67748e6ae75f2552b7fb5e54
[ "Apache-2.0" ]
31
2015-05-20T15:02:53.000Z
2016-04-19T15:27:45.000Z
app/queries/summary_of_events_with_actor.py
scraperwiki/newsreader-api
db9a95b173c805cf67748e6ae75f2552b7fb5e54
[ "Apache-2.0" ]
3
2017-08-30T07:12:37.000Z
2020-06-12T00:27:22.000Z
#!/usr/bin/env python # encoding: utf-8 from __future__ import unicode_literals from queries import SparqlQuery class summary_of_events_with_actor(SparqlQuery): """ Get events mentioning a named actor, summarise with count of entries for event and date """ def __init__(self, *args, **kwargs): ...
34.1875
92
0.661335
276
2,188
4.971014
0.384058
0.046647
0.076531
0.096939
0.440962
0.384111
0.299563
0.299563
0.273324
0.1793
0
0.004734
0.227605
2,188
63
93
34.730159
0.807101
0.056673
0
0.42
0
0
0.609398
0.151248
0
0
0
0
0
1
0.02
false
0
0.04
0
0.08
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
3e5e54eb67054d2c19109f426cdeda0acc4e5175
360
py
Python
base/admin.py
MenloAthertonCoding/website-core
73ceb13808ef9ed07c5e9ff4ce4ed5415ed6d99e
[ "Apache-2.0" ]
null
null
null
base/admin.py
MenloAthertonCoding/website-core
73ceb13808ef9ed07c5e9ff4ce4ed5415ed6d99e
[ "Apache-2.0" ]
null
null
null
base/admin.py
MenloAthertonCoding/website-core
73ceb13808ef9ed07c5e9ff4ce4ed5415ed6d99e
[ "Apache-2.0" ]
null
null
null
from django.contrib.admin import AdminSite, site class BaseAdminSite(AdminSite): site_header = 'Menlo Atherton Coding' site_title = 'Menlo Atherton Coding' def __init__(self, *args, **kwargs): super(BaseAdminSite, self).__init__(*args, **kwargs) self._registry.update(site._registry) admin...
30
60
0.719444
42
360
5.857143
0.571429
0.105691
0.154472
0
0
0
0
0
0
0
0
0
0.166667
360
11
61
32.727273
0.82
0
0
0
0
0
0.141667
0
0
0
0
0
0
1
0.125
false
0
0.125
0
0.625
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
3e60a66f1695b82c52c4e246c288638a7c3e29fc
4,224
py
Python
app.py
BabusDublinCoding/MS3-Build-A-Better-Body-After-50
c1364c9b2618fc14aa8f70c17fcf4ec323f66e87
[ "BSD-Source-Code" ]
null
null
null
app.py
BabusDublinCoding/MS3-Build-A-Better-Body-After-50
c1364c9b2618fc14aa8f70c17fcf4ec323f66e87
[ "BSD-Source-Code" ]
null
null
null
app.py
BabusDublinCoding/MS3-Build-A-Better-Body-After-50
c1364c9b2618fc14aa8f70c17fcf4ec323f66e87
[ "BSD-Source-Code" ]
1
2021-09-05T10:25:34.000Z
2021-09-05T10:25:34.000Z
import os from flask import ( Flask, flash, render_template, redirect, request, session, url_for) from flask_pymongo import PyMongo from bson.objectid import ObjectId from werkzeug.security import generate_password_hash, check_password_hash if os.path.exists("env.py"): import env app = Flask(__name__) ap...
33.52381
78
0.62571
483
4,224
5.325052
0.233954
0.055599
0.070762
0.069984
0.307543
0.281882
0.248834
0.196734
0.145412
0.112753
0
0.000308
0.231061
4,224
126
79
33.52381
0.791564
0.078125
0
0.213483
0
0
0.209009
0
0
0
0
0
0
1
0.067416
false
0.067416
0.067416
0
0.280899
0.011236
0
0
0
null
0
0
0
0
0
0
0
0
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
3e6915b1a87e9ffcb710f763dd9d5c44f862482e
238
py
Python
PythonExercicios/ex057-validacao-de-dados.py
ArthurAlbuquerquee/exercicios-python-cev
ba64d3a025731aae5e238c7cb469917420b7901e
[ "MIT" ]
null
null
null
PythonExercicios/ex057-validacao-de-dados.py
ArthurAlbuquerquee/exercicios-python-cev
ba64d3a025731aae5e238c7cb469917420b7901e
[ "MIT" ]
null
null
null
PythonExercicios/ex057-validacao-de-dados.py
ArthurAlbuquerquee/exercicios-python-cev
ba64d3a025731aae5e238c7cb469917420b7901e
[ "MIT" ]
null
null
null
sexo = str(input('Informe seu sexo [M/F]: ')).upper().strip()[0] while sexo not in 'MmFf': sexo = str(input('Informação incorreta, digite novamente [M/F]: ')).upper().strip()[0] print(f'Obrigado! Seu sexo foi computado como {sexo}!')
47.6
90
0.659664
37
238
4.243243
0.621622
0.089172
0.152866
0.152866
0.165605
0
0
0
0
0
0
0.009662
0.130252
238
4
91
59.5
0.748792
0
0
0
0
0
0.5
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
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
3e6c925d67795a0220c032afe74ecf21e763791e
5,151
py
Python
app/Gpio.py
vog3lm/pi.muk
e6d1b95b4d23611a155fd9ca066fb5a35ffc6097
[ "MIT" ]
null
null
null
app/Gpio.py
vog3lm/pi.muk
e6d1b95b4d23611a155fd9ca066fb5a35ffc6097
[ "MIT" ]
null
null
null
app/Gpio.py
vog3lm/pi.muk
e6d1b95b4d23611a155fd9ca066fb5a35ffc6097
[ "MIT" ]
null
null
null
import logging class GpioException(Exception): def __init__(self,errors): self.errors = errors def toString(self): return ' '.join(self.errors) # str(self.errors).replace('\'','').replace('[','').replace(']','') class GpioDummy(object): def __init__(self): self.args = {'mode':'BCM'...
35.770833
104
0.457775
640
5,151
3.659375
0.23125
0.037575
0.018787
0.025619
0.121264
0.057216
0
0
0
0
0
0.07602
0.338575
5,151
143
105
36.020979
0.611388
0.417783
0
0.205479
0
0
0.112098
0
0
0
0
0
0
1
0.205479
false
0.027397
0.068493
0.054795
0.410959
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
3e76278e26080e90cfc7afed5b52eb6c6071b77f
401
py
Python
pictures/urls.py
kamransumar/gallery-kam
d975dabcb8af765afe777cb0a485f8dd23550ef1
[ "Unlicense" ]
null
null
null
pictures/urls.py
kamransumar/gallery-kam
d975dabcb8af765afe777cb0a485f8dd23550ef1
[ "Unlicense" ]
null
null
null
pictures/urls.py
kamransumar/gallery-kam
d975dabcb8af765afe777cb0a485f8dd23550ef1
[ "Unlicense" ]
null
null
null
from django.conf.urls import url, include from . import views from django.conf import settings from django.conf.urls.static import static urlpatterns = [ url(r'^$', views.pictures, name='Pictures'), url(r'^search/', views.search_results, name='search_results'), ] if settings.DEBUG: urlpatterns += static(...
26.733333
66
0.698254
51
401
5.392157
0.411765
0.109091
0.152727
0.130909
0
0
0
0
0
0
0
0
0.184539
401
14
67
28.642857
0.840979
0
0
0
0
0
0.079801
0
0
0
0
0
0
1
0
false
0
0.363636
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
3e7867a27a46fb1cb057485355eed277d59e6b86
4,586
py
Python
analytics/notebooks/lib/run_definition.py
solace-iot-team/az-use-case-perf-tests
b2f2e555137a6d097d39389f54e63619d637ea2a
[ "MIT" ]
5
2020-09-20T12:14:43.000Z
2020-11-14T14:18:06.000Z
analytics/notebooks/lib/run_definition.py
solace-iot-team/az-use-case-perf-tests
b2f2e555137a6d097d39389f54e63619d637ea2a
[ "MIT" ]
57
2020-10-29T08:52:36.000Z
2020-12-01T15:29:15.000Z
analytics/notebooks/lib/run_definition.py
solace-iot-team/az-use-case-perf-tests
b2f2e555137a6d097d39389f54e63619d637ea2a
[ "MIT" ]
null
null
null
# --------------------------------------------------------------------------------------------- # MIT License # Copyright (c) 2020, Solace Corporation, Jochen Traunecker (jochen.traunecker@solace.com) # Copyright (c) 2020, Solace Corporation, Ricardo Gomez-Ulmke (ricardo.gomez-ulmke@solace.com) # ----------------------...
39.196581
152
0.662887
567
4,586
4.991182
0.220459
0.019435
0.045936
0.036042
0.384452
0.242049
0.200707
0.178092
0.134629
0.134629
0
0.002238
0.220672
4,586
117
153
39.196581
0.789591
0.232229
0
0.078125
0
0.015625
0.074865
0.016837
0
0
0
0
0
1
0.1875
false
0
0.125
0.078125
0.515625
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
3e89569a7d0d00125586eefa69d111f10ae3f873
1,162
py
Python
scripts/governance/fundProposals.py
Oneledger/protocol
1008fd12d384c9821be2a2ea34b3061cf24ae6bf
[ "Apache-2.0" ]
38
2018-06-30T15:22:06.000Z
2022-03-20T22:23:07.000Z
scripts/governance/fundProposals.py
Oneledger/protocol
1008fd12d384c9821be2a2ea34b3061cf24ae6bf
[ "Apache-2.0" ]
27
2018-09-02T09:57:19.000Z
2021-09-17T18:06:35.000Z
scripts/governance/fundProposals.py
Oneledger/protocol
1008fd12d384c9821be2a2ea34b3061cf24ae6bf
[ "Apache-2.0" ]
13
2018-06-30T15:22:08.000Z
2020-07-28T15:00:40.000Z
import sys import time from sdk import * addr_list = addresses() _pid = "id_20020" _proposer = addr_list[0] _initial_funding = (int("2") * 10 ** 9) _each_funding = (int("3") * 10 ** 9) _funding_goal_general = (int("10") * 10 ** 9) _prop = Proposal(_pid, "general", "proposal for fund", "proposal headline", _proposer,...
30.578947
104
0.736661
137
1,162
5.839416
0.372263
0.1
0.1125
0.125
0.5125
0.5125
0.44625
0.16875
0.16875
0
0
0.026694
0.16179
1,162
38
105
30.578947
0.794661
0.054217
0
0.130435
0
0
0.085009
0
0
0
0
0
0
0
null
null
0
0.130435
null
null
0.086957
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
e411808daa8eea1752b61abf093b6ced36f312de
440
py
Python
build/lib/test/test_template.py
cemac/forest
f55b5997ac44fb0bf69bb3d026294c2750118b02
[ "BSD-3-Clause" ]
20
2018-05-16T02:20:47.000Z
2020-05-26T20:41:58.000Z
build/lib/test/test_template.py
cemac/forest
f55b5997ac44fb0bf69bb3d026294c2750118b02
[ "BSD-3-Clause" ]
233
2018-04-10T10:43:23.000Z
2020-05-29T15:28:44.000Z
build/lib/test/test_template.py
cemac/forest
f55b5997ac44fb0bf69bb3d026294c2750118b02
[ "BSD-3-Clause" ]
28
2018-07-12T10:50:26.000Z
2020-03-31T11:36:22.000Z
import string def test_template_substitution(): template = string.Template("${prefix}/leaf") result = template.substitute(prefix="/some/dir") expect = "/some/dir/leaf" assert expect == result def test_string_template_given_extra_variables(): template = string.Template("${prefix}/leaf") resul...
27.5
70
0.695455
52
440
5.75
0.365385
0.093645
0.147157
0.187291
0.695652
0.695652
0.695652
0.461538
0.461538
0.461538
0
0
0.159091
440
15
71
29.333333
0.808108
0
0
0.545455
0
0
0.186364
0
0
0
0
0
0.181818
1
0.181818
false
0
0.090909
0
0.272727
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
e415182f6011b9d921f7352630794d30ecc6baf2
826
py
Python
ProfessionalPy/ex_decorators/execution_timeDecorator.py
yepedraza/platziverse
a356d31245c009a57c17e5cfec0c6bd1f8a399f7
[ "MIT" ]
null
null
null
ProfessionalPy/ex_decorators/execution_timeDecorator.py
yepedraza/platziverse
a356d31245c009a57c17e5cfec0c6bd1f8a399f7
[ "MIT" ]
null
null
null
ProfessionalPy/ex_decorators/execution_timeDecorator.py
yepedraza/platziverse
a356d31245c009a57c17e5cfec0c6bd1f8a399f7
[ "MIT" ]
null
null
null
from datetime import datetime def execution_time(func): def wrapper(*args, **kwargs): # *args and **kwargs --> Doesn't matter the number of arguments # or key arguments gived to the nested function initial_time = datetime.now() func(*args, **kwargs) f...
24.294118
97
0.605327
101
826
4.732673
0.534653
0.108787
0.100418
0
0
0
0
0
0
0
0
0.018303
0.272397
826
34
98
24.294118
0.777038
0.130751
0
0.12
0
0
0.048883
0
0
0
0
0
0
1
0.24
false
0.04
0.04
0.04
0.36
0.08
0
0
0
null
0
0
0
0
0
0
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
e41553e9f0a6be787972e66f4605fbbcba23433e
507
py
Python
loss/__init__.py
FFTYYY/RoR_relation_extraction
a099e98f3708a39debeed4dc522ff57c4f6b960d
[ "MIT" ]
25
2020-06-09T01:25:14.000Z
2021-12-22T10:47:18.000Z
loss/__init__.py
FFTYYY/RoR_relation_extraction
a099e98f3708a39debeed4dc522ff57c4f6b960d
[ "MIT" ]
7
2020-06-21T08:32:26.000Z
2021-08-04T08:39:10.000Z
loss/__init__.py
FFTYYY/RoR_relation_extraction
a099e98f3708a39debeed4dc522ff57c4f6b960d
[ "MIT" ]
3
2020-06-18T16:47:31.000Z
2021-08-10T01:04:16.000Z
from .losses import loss_1 , loss_2 class LossFunction: def __init__(self , inner_func , no_rel , class_weight): self.no_rel = no_rel self.class_weight = class_weight self.inner_func = inner_func def __call__(self , pred , anss , ents): return self.inner_func(pred , anss , ents , self.no_rel , self.class_w...
24.142857
78
0.715976
80
507
4.1125
0.2875
0.164134
0.082067
0.145897
0.273556
0.151976
0
0
0
0
0
0.014458
0.18146
507
20
79
25.35
0.778313
0
0
0
0
0
0.023715
0
0
0
0
0
0
1
0.214286
false
0
0.071429
0.071429
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
e41c0b728f772ca99229de436656cac323b2448b
5,976
py
Python
TAO/Linux_new/bin/pyside/ptrttl.py
dendisuhubdy/grokmachine
120a21a25c2730ed356739231ec8b99fc0575c8b
[ "BSD-3-Clause" ]
46
2017-05-15T11:15:08.000Z
2018-07-02T03:32:52.000Z
TAO/Linux_new/bin/pyside/ptrttl.py
dendisuhubdy/grokmachine
120a21a25c2730ed356739231ec8b99fc0575c8b
[ "BSD-3-Clause" ]
null
null
null
TAO/Linux_new/bin/pyside/ptrttl.py
dendisuhubdy/grokmachine
120a21a25c2730ed356739231ec8b99fc0575c8b
[ "BSD-3-Clause" ]
24
2017-05-17T03:26:17.000Z
2018-07-09T07:00:50.000Z
#!/usr/bin/python import sys import socket import string import struct class NoOutput: def __init__(self): pass def write(self,arg1): pass debug = 0 #debug = 1 if debug == 1: outputs = sys.stderr else: outputs = NoOutput() def HexConvert(data): global j ret = '' for i in ...
30.030151
89
0.526272
876
5,976
3.579909
0.190639
0.095663
0.058036
0.049107
0.433673
0.405931
0.354911
0.35236
0.340242
0.327168
0
0.047686
0.280622
5,976
198
90
30.181818
0.681786
0.088521
0
0.424051
0
0
0.114945
0
0
0
0.004428
0
0
0
null
null
0.012658
0.025316
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
e41d6d80fd138230eca5cb2145e93df30a1eac73
637
py
Python
snoop/management/commands/digest.py
hoover/snoop
bd49b081418a8a01a1e469ab17759a4c5b20d850
[ "MIT" ]
5
2017-01-03T00:52:03.000Z
2019-10-27T03:32:35.000Z
snoop/management/commands/digest.py
hoover/snoop
bd49b081418a8a01a1e469ab17759a4c5b20d850
[ "MIT" ]
25
2016-08-21T11:26:44.000Z
2018-03-13T12:19:20.000Z
snoop/management/commands/digest.py
hoover/snoop
bd49b081418a8a01a1e469ab17759a4c5b20d850
[ "MIT" ]
6
2016-09-27T13:03:45.000Z
2019-10-27T03:32:30.000Z
import simplejson as json from django.core.management.base import BaseCommand from ... import models from ... import digest class Command(BaseCommand): help = "Digest one document" def add_arguments(self, parser): parser.add_argument('document_id', type=int) parser.add_argument('-c', action='...
31.85
71
0.689168
79
637
5.455696
0.556962
0.069606
0.078886
0
0
0
0
0
0
0
0
0.001953
0.196232
637
19
72
33.526316
0.839844
0
0
0
0
0
0.078493
0
0
0
0
0
0
1
0.133333
false
0
0.266667
0
0.533333
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
0
0
0
0
0
0
1
0
0
1
e42149717d90b12595073d93b474baa17e16ed70
324
py
Python
website/migrations/0009_merge.py
gitter-badger/LendIt
57aeda23b6be04384d15ce5efd540f9098718d47
[ "Apache-2.0" ]
1
2018-07-13T06:51:25.000Z
2018-07-13T06:51:25.000Z
website/migrations/0009_merge.py
gitter-badger/LendIt
57aeda23b6be04384d15ce5efd540f9098718d47
[ "Apache-2.0" ]
null
null
null
website/migrations/0009_merge.py
gitter-badger/LendIt
57aeda23b6be04384d15ce5efd540f9098718d47
[ "Apache-2.0" ]
1
2020-08-01T09:33:19.000Z
2020-08-01T09:33:19.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.9.2 on 2016-11-21 21:12 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('website', '0008_auto_20161121_2044'), ('website', '0008_merge'), ] operations = [ ...
19.058824
47
0.648148
39
324
5.153846
0.794872
0.109453
0
0
0
0
0
0
0
0
0
0.142857
0.222222
324
16
48
20.25
0.654762
0.20679
0
0
1
0
0.185039
0.090551
0
0
0
0
0
1
0
false
0
0.222222
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e42356040acb24ee8b4ea357c6de990089e107ea
1,964
py
Python
apps/contact_book/migrations/0004_auto_20211012_0654.py
mobius-labs/app
bdf8226d8b16cea609a7af01be51c9bd4b867ab3
[ "MIT" ]
1
2021-11-13T10:52:08.000Z
2021-11-13T10:52:08.000Z
apps/contact_book/migrations/0004_auto_20211012_0654.py
mobius-labs/app
bdf8226d8b16cea609a7af01be51c9bd4b867ab3
[ "MIT" ]
1
2021-11-13T04:25:00.000Z
2021-11-13T04:25:00.000Z
apps/contact_book/migrations/0004_auto_20211012_0654.py
mobius-labs/app
bdf8226d8b16cea609a7af01be51c9bd4b867ab3
[ "MIT" ]
null
null
null
# Generated by Django 3.2.6 on 2021-10-12 06:54 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('contact_book', '0003_mer...
33.288136
133
0.604379
183
1,964
6.295082
0.387978
0.054688
0.083333
0.097222
0.375
0.375
0.34375
0.34375
0.34375
0.263889
0
0.041135
0.282077
1,964
58
134
33.862069
0.775887
0.022912
0
0.673077
1
0
0.148148
0.030256
0
0
0
0
0
1
0
false
0
0.134615
0
0.192308
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
e425c2d032e6d5f8dcd10c0839574a20391cff01
5,560
py
Python
fitting/fitCDM03values.py
Borlaff/EuclidVisibleInstrument
73a64ad275054d7b1a26f0fe556eae222b65f613
[ "BSD-2-Clause" ]
5
2016-12-13T16:58:53.000Z
2019-12-29T05:29:00.000Z
fitting/fitCDM03values.py
Borlaff/EuclidVisibleInstrument
73a64ad275054d7b1a26f0fe556eae222b65f613
[ "BSD-2-Clause" ]
null
null
null
fitting/fitCDM03values.py
Borlaff/EuclidVisibleInstrument
73a64ad275054d7b1a26f0fe556eae222b65f613
[ "BSD-2-Clause" ]
3
2015-07-13T10:01:41.000Z
2019-05-28T13:41:47.000Z
""" Simple script to fit CDM03 CTI model parameters to measurements. :requires: SciPy :requires: CDM03 (FORTRAN code, f2py -c -m cdm03bidir cdm03bidir.f90) :requires: NumPy :requires: matplotlib :author: Sami-Matias Niemi :contact: s.niemi@ucl.ac.uk :version: 0.2 """ import matplotlib matplotlib.use('PDF') matplotli...
30.888889
123
0.622122
852
5,560
3.954225
0.329812
0.013357
0.017809
0.013357
0.147225
0.134758
0.134758
0.134758
0.123479
0.123479
0
0.080412
0.214928
5,560
179
124
31.061453
0.691409
0.099281
0
0.07767
0
0
0.10214
0.034635
0
0
0
0
0
0
null
null
0
0.058252
null
null
0.048544
0
0
0
null
0
0
0
0
0
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
e4283ec13582910e9c4ec33d1cb9db4a395274c5
372
py
Python
setup.py
gabsdocompiuter/temp-mail
662047df3bcc589207c0d12d7e708cecb0fd3dcf
[ "MIT" ]
null
null
null
setup.py
gabsdocompiuter/temp-mail
662047df3bcc589207c0d12d7e708cecb0fd3dcf
[ "MIT" ]
2
2021-10-21T17:21:41.000Z
2021-10-21T17:24:28.000Z
setup.py
gabsdocompiuter/temp-mail
662047df3bcc589207c0d12d7e708cecb0fd3dcf
[ "MIT" ]
null
null
null
from setuptools import setup setup( name='tempmailclient', version='0.1', description='10minutemail.org client', url='https://github.com/gabsdocompiuter/temp-mail', author='Gabriel Monteiro', author_email='gabsdocompiuter@gmail.com', license='MIT', packages=['tempmailclient'], zip_s...
26.571429
55
0.698925
39
372
6.589744
0.871795
0
0
0
0
0
0
0
0
0
0
0.015924
0.155914
372
14
56
26.571429
0.802548
0
0
0
0
0
0.418231
0.067024
0
0
0
0
0
1
0
true
0
0.076923
0
0.076923
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
e428fca3b95ccc83c6a94edd81ea30400d20cc44
8,024
py
Python
src/test_autocomplete.py
jsleslie/PQWER
1572ad00d662c99f7539677ef321c60248c586dc
[ "Apache-2.0" ]
null
null
null
src/test_autocomplete.py
jsleslie/PQWER
1572ad00d662c99f7539677ef321c60248c586dc
[ "Apache-2.0" ]
null
null
null
src/test_autocomplete.py
jsleslie/PQWER
1572ad00d662c99f7539677ef321c60248c586dc
[ "Apache-2.0" ]
null
null
null
""" changes made: make widgets parent explicitly declared Use either with root window or Toplevel Bind Return key to selection method """ #from tkinter import * import tkinter as tk import re class AutocompleteEntry(tk.Entry): def __init__(self, autocompleteList, *args, **kwargs): self.listb...
48.630303
1,236
0.590977
885
8,024
5.327684
0.482486
0.058325
0.011453
0.019088
0.277413
0.233722
0.164369
0.131495
0.131495
0.131495
0
0.071029
0.264831
8,024
165
1,237
48.630303
0.728259
0.042622
0
0.325397
0
0
0.296649
0
0
0
0
0
0
1
0.087302
false
0
0.015873
0.007937
0.134921
0.007937
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
e429080a0caa8c72bd0c6e7b4d6acf3d18798656
1,043
py
Python
meregistro/apps/reportes/views/cohorte_jurisdiccional.py
MERegistro/meregistro
6cde3cab2bd1a8e3084fa38147de377d229391e3
[ "BSD-3-Clause" ]
null
null
null
meregistro/apps/reportes/views/cohorte_jurisdiccional.py
MERegistro/meregistro
6cde3cab2bd1a8e3084fa38147de377d229391e3
[ "BSD-3-Clause" ]
null
null
null
meregistro/apps/reportes/views/cohorte_jurisdiccional.py
MERegistro/meregistro
6cde3cab2bd1a8e3084fa38147de377d229391e3
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: UTF-8 -*- from django.http import HttpResponse, HttpResponseRedirect from datetime import datetime, date from apps.seguridad.decorators import login_required, credential_required from apps.seguridad.models import Usuario, Perfil from apps.titulos.models import Carrera, CarreraJurisdiccional, CarreraJuris...
40.115385
116
0.774688
129
1,043
6.131783
0.511628
0.040455
0.042984
0.078382
0
0
0
0
0
0
0
0.003219
0.106424
1,043
25
117
41.72
0.845494
0.076702
0
0
0
0
0.09375
0.027083
0
0
0
0
0
1
0.052632
false
0
0.368421
0
0.473684
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
e43138775550752c031adf4fb65a878a3911965f
3,542
py
Python
pyramidal_implementation/main_test.py
rayner/muscle_model
8f5aaba9bac07989dd9c5766a6b859796852cdae
[ "MIT" ]
31
2015-01-02T22:18:54.000Z
2021-09-03T10:08:35.000Z
pyramidal_implementation/main_test.py
rayner/muscle_model
8f5aaba9bac07989dd9c5766a6b859796852cdae
[ "MIT" ]
41
2015-01-02T21:55:42.000Z
2018-01-25T17:56:31.000Z
pyramidal_implementation/main_test.py
rayner/muscle_model
8f5aaba9bac07989dd9c5766a6b859796852cdae
[ "MIT" ]
23
2015-01-02T20:58:20.000Z
2021-11-21T14:57:03.000Z
# The MIT License (MIT) # # Copyright (c) 2011, 2013 OpenWorm. # http://openworm.org # # All rights reserved. This program and the accompanying materials # are made available under the terms of the MIT License # which accompanies this distribution, and is available at # http://opensource.org/licenses/MIT # # Contributo...
32.796296
80
0.660361
520
3,542
4.411538
0.380769
0.038361
0.019616
0.024847
0.078901
0.07367
0.027899
0
0
0
0
0.015242
0.240542
3,542
107
81
33.102804
0.837546
0.507905
0
0
0
0
0.041789
0
0
0
0
0
0
0
null
null
0
0.066667
null
null
0.022222
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
e445e71704163f8eb3d01f6e8d1795c02833ab64
4,602
py
Python
scripts/import_adminlevels.py
meetdatastory/Activity-CE
2692e591f08cea7c869c045577b3d9e20d3ed335
[ "Apache-2.0" ]
null
null
null
scripts/import_adminlevels.py
meetdatastory/Activity-CE
2692e591f08cea7c869c045577b3d9e20d3ed335
[ "Apache-2.0" ]
null
null
null
scripts/import_adminlevels.py
meetdatastory/Activity-CE
2692e591f08cea7c869c045577b3d9e20d3ed335
[ "Apache-2.0" ]
null
null
null
""" import json data from API IMPORTANT!! you must turn off pagination for this to work from a URL and get all country records Install module django-extensions Runs twice via function calls at bottom once Syntax: sudo py manage.py runscript import_adminlevels """ from django.db import connection cursor = connection.cu...
35.953125
99
0.561278
477
4,602
5.308176
0.226415
0.078199
0.043444
0.078989
0.541074
0.492891
0.484992
0.406003
0.367299
0.312006
0
0.014449
0.353325
4,602
127
100
36.23622
0.836358
0.035854
0
0.547619
0
0
0.056462
0.006524
0
0
0
0
0
0
null
null
0
0.047619
null
null
0.178571
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
e450f06ae239e61853be074cbc040ee396da914a
2,077
py
Python
VariamosVariablesOperaciones.py
acasasaez/Pr-ctica
796a0e701d803c308bdfc1ca79aca051f17b1484
[ "Apache-2.0" ]
null
null
null
VariamosVariablesOperaciones.py
acasasaez/Pr-ctica
796a0e701d803c308bdfc1ca79aca051f17b1484
[ "Apache-2.0" ]
null
null
null
VariamosVariablesOperaciones.py
acasasaez/Pr-ctica
796a0e701d803c308bdfc1ca79aca051f17b1484
[ "Apache-2.0" ]
null
null
null
#Operaciones: print ("Ejercicio 1: Operaciones numéricas") dividendo = 7 divisor = 3 #Si queremos obtener el resto de una dvisión empleamos el símbolo %. ej: restoDivisión = dividendo % divisor print (restoDivisión) #Si queremos obtener el conciente, entonces empleamos la barra cociente = dividendo / divisor pr...
36.438596
169
0.734232
339
2,077
4.501475
0.39823
0.050459
0.058978
0.055046
0.079292
0.070773
0.070773
0.070773
0.070773
0.070773
0
0.012493
0.19066
2,077
57
170
36.438596
0.894706
0.586904
0
0.294118
0
0
0.306683
0
0.029412
0
0
0
0
1
0
false
0
0
0
0
0.529412
0
0
0
null
0
0
0
0
0
0
0
0
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
e455351b189073bd56c4cb889f0084641b87ae92
914
py
Python
syntax/exception/ageexception.py
Dev-Learn/LearnPython
a601f5eeeb05236a3e179bf8c34425a95cb0c919
[ "Apache-2.0" ]
null
null
null
syntax/exception/ageexception.py
Dev-Learn/LearnPython
a601f5eeeb05236a3e179bf8c34425a95cb0c919
[ "Apache-2.0" ]
null
null
null
syntax/exception/ageexception.py
Dev-Learn/LearnPython
a601f5eeeb05236a3e179bf8c34425a95cb0c919
[ "Apache-2.0" ]
null
null
null
# Python 3.x class AgeException(Exception): def __init__(self, msg, age): super().__init__(msg) self.age = age class TooYoungException(AgeException): def __init__(self, msg, age): super().__init__(msg, age) class TooOldException(AgeException): def __init__(self, msg, age): ...
27.69697
70
0.594092
134
914
3.873134
0.425373
0.057803
0.063584
0.080925
0.39499
0.39499
0.39499
0.39499
0.339114
0.339114
0
0.019969
0.287746
914
33
71
27.69697
0.777266
0.297593
0
0.3125
0
0
0.053628
0
0
0
0
0
0
1
0.25
false
0
0
0
0.4375
0.0625
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
e4580f2db79c200478d5dd67900e012bbb08c9bb
1,257
py
Python
lbrynet/core/utils.py
sonatagreen/lbry
f6473e3383956b7823a76516622bba6c172619e1
[ "BSD-2-Clause" ]
null
null
null
lbrynet/core/utils.py
sonatagreen/lbry
f6473e3383956b7823a76516622bba6c172619e1
[ "BSD-2-Clause" ]
null
null
null
lbrynet/core/utils.py
sonatagreen/lbry
f6473e3383956b7823a76516622bba6c172619e1
[ "BSD-2-Clause" ]
null
null
null
import base64 import distutils.version import random from lbrynet.core.cryptoutils import get_lbry_hash_obj blobhash_length = get_lbry_hash_obj().digest_size * 2 # digest_size is in bytes, and blob hashes are hex encoded def generate_id(num=None): h = get_lbry_hash_obj() if num is not None: h.upd...
25.653061
113
0.702466
171
1,257
5.052632
0.479532
0.092593
0.038194
0.048611
0
0
0
0
0
0
0
0.03006
0.206046
1,257
48
114
26.1875
0.835671
0.206046
0
0.071429
0
0
0.026721
0
0
0
0
0
0
1
0.178571
false
0
0.142857
0.071429
0.607143
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
e45b96988b768d53499a9605f335f34cf1fd7373
1,949
py
Python
Lib/multiprocessing/popen_spawn_posix.py
sireliah/polish-python
605df4944c2d3bc25f8bf6964b274c0a0d297cc3
[ "PSF-2.0" ]
1
2018-06-21T18:21:24.000Z
2018-06-21T18:21:24.000Z
Lib/multiprocessing/popen_spawn_posix.py
sireliah/polish-python
605df4944c2d3bc25f8bf6964b274c0a0d297cc3
[ "PSF-2.0" ]
null
null
null
Lib/multiprocessing/popen_spawn_posix.py
sireliah/polish-python
605df4944c2d3bc25f8bf6964b274c0a0d297cc3
[ "PSF-2.0" ]
null
null
null
zaimportuj io zaimportuj os z . zaimportuj context z . zaimportuj popen_fork z . zaimportuj reduction z . zaimportuj spawn z . zaimportuj util __all__ = ['Popen'] # # Wrapper dla an fd used dopóki launching a process # klasa _DupFd(object): def __init__(self, fd): self.fd = fd def detach(self): ...
27.842857
66
0.584402
242
1,949
4.404959
0.35124
0.061914
0.026266
0.043152
0
0
0
0
0
0
0
0
0.327347
1,949
69
67
28.246377
0.81312
0.048743
0
0.076923
0
0
0.006497
0
0
0
0
0
0
0
null
null
0.019231
0.153846
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
e4601a42e5e0233ac862c930f385e32dbab60db2
6,017
py
Python
async_v20/interface/position.py
gshklover/async_v20
965346eafee09ee4ee510b22a064d3cf661b7aa4
[ "MIT" ]
23
2017-10-30T18:49:11.000Z
2022-02-08T12:22:18.000Z
async_v20/interface/position.py
gshklover/async_v20
965346eafee09ee4ee510b22a064d3cf661b7aa4
[ "MIT" ]
23
2017-10-20T12:32:18.000Z
2021-03-13T07:43:23.000Z
async_v20/interface/position.py
gshklover/async_v20
965346eafee09ee4ee510b22a064d3cf661b7aa4
[ "MIT" ]
12
2017-10-30T18:49:13.000Z
2021-02-06T02:26:37.000Z
from .decorators import endpoint from ..definitions.types import InstrumentName from ..endpoints.annotations import LongClientExtensions from ..endpoints.annotations import LongUnits from ..endpoints.annotations import ShortClientExtensions from ..endpoints.annotations import ShortUnits from ..endpoints.position import...
43.919708
100
0.626059
544
6,017
6.816176
0.226103
0.091694
0.119202
0.063107
0.577131
0.537217
0.503776
0.477346
0.477346
0.44822
0
0.020103
0.289014
6,017
136
101
44.242647
0.846657
0.691873
0
0.148148
0
0
0.014555
0
0
0
0
0
0
1
0.148148
false
0.148148
0.296296
0
0.481481
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
e473ed074e00629439fe05b6354a04639d264e35
1,088
py
Python
python/fake_servo.py
mikkac/pet_feeder_backend
3ff5dc82d09f093fb8b85dc5c065d1ecc98df502
[ "MIT" ]
null
null
null
python/fake_servo.py
mikkac/pet_feeder_backend
3ff5dc82d09f093fb8b85dc5c065d1ecc98df502
[ "MIT" ]
null
null
null
python/fake_servo.py
mikkac/pet_feeder_backend
3ff5dc82d09f093fb8b85dc5c065d1ecc98df502
[ "MIT" ]
1
2020-10-31T12:13:39.000Z
2020-10-31T12:13:39.000Z
import time from status import Status class FakeServo(): def __init__(self, gpio_pin): self.gpio_pin = gpio_pin self.running = False self.last_status = Status('servo') def get_status(self): return self.last_status def setup(self): if not self.running: ...
30.222222
75
0.655331
139
1,088
4.834532
0.273381
0.119048
0.208333
0.126488
0.546131
0.392857
0.324405
0.27381
0.208333
0
0
0
0.268382
1,088
35
76
31.085714
0.844221
0
0
0.275862
0
0
0.080882
0
0
0
0
0
0
1
0.172414
false
0
0.068966
0.034483
0.413793
0.103448
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
e47cdedbc3de5062e5de9640c18dd79ec2b74605
2,272
py
Python
notes/models.py
ramanaditya/techlearn
d69765a4caa2dddaeecfcc445a6255cdf8cf0e45
[ "Apache-2.0" ]
null
null
null
notes/models.py
ramanaditya/techlearn
d69765a4caa2dddaeecfcc445a6255cdf8cf0e45
[ "Apache-2.0" ]
7
2019-07-03T21:23:17.000Z
2022-03-11T23:43:32.000Z
notes/models.py
ramanaditya/techlearn
d69765a4caa2dddaeecfcc445a6255cdf8cf0e45
[ "Apache-2.0" ]
null
null
null
from django.db import models from django.utils import timezone from django.contrib.auth.models import User # Create your models here. #storing user profile data class UserProfileInfo(models.Model): user = models.OneToOneField(User, on_delete=models.CASCADE) #storing posts in the databse class notes(models.Model):...
28.049383
86
0.647447
268
2,272
5.317164
0.309701
0.056842
0.050526
0.067368
0.494035
0.465965
0.419649
0.419649
0.419649
0.419649
0
0.015367
0.226673
2,272
80
87
28.4
0.795674
0.071743
0
0.580645
0
0
0.118878
0
0
0
0
0
0
1
0.048387
false
0
0.048387
0.032258
0.677419
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
e47e16e0ec9c2807d43834987e8331415942ab19
8,913
py
Python
utils/wrappers.py
pacificlion/world_models
dff58d80466f0b0fcee59ca25581ea986f8663d5
[ "Apache-2.0" ]
106
2020-12-08T22:45:18.000Z
2022-03-29T22:21:32.000Z
utils/wrappers.py
pacificlion/world_models
dff58d80466f0b0fcee59ca25581ea986f8663d5
[ "Apache-2.0" ]
2
2020-12-09T17:05:47.000Z
2021-04-08T03:00:03.000Z
utils/wrappers.py
pacificlion/world_models
dff58d80466f0b0fcee59ca25581ea986f8663d5
[ "Apache-2.0" ]
11
2020-12-10T04:46:00.000Z
2022-01-16T11:34:14.000Z
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
29.513245
79
0.679008
1,243
8,913
4.685438
0.183427
0.051683
0.03125
0.024725
0.372253
0.328125
0.317136
0.283482
0.252919
0.236779
0
0.011179
0.197128
8,913
301
80
29.611296
0.802683
0.116908
0
0.435185
0
0
0.031258
0
0
0
0
0
0.013889
1
0.203704
false
0
0.032407
0.060185
0.458333
0.00463
0
0
0
null
0
0
0
0
0
0
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
e487bf73853e12b56ed65ac0c623a3b59084955f
355
py
Python
api_clients/nagios_test.py
sdargoeuves/integration-demos
4c51eeeb6c428cf1aa74688e6847bf5fed09a2dc
[ "MIT" ]
5
2021-03-31T11:30:14.000Z
2021-09-14T16:48:32.000Z
api_clients/nagios_test.py
sdargoeuves/integration-demos
4c51eeeb6c428cf1aa74688e6847bf5fed09a2dc
[ "MIT" ]
2
2021-06-14T15:08:48.000Z
2021-10-11T11:48:39.000Z
api_clients/nagios_test.py
sdargoeuves/integration-demos
4c51eeeb6c428cf1aa74688e6847bf5fed09a2dc
[ "MIT" ]
4
2021-06-11T23:34:55.000Z
2022-01-13T00:03:45.000Z
""" Script to show sample use of ipf_api_client and nagios_api_client """ """ export IPF_URL="" export IPF_TOKEN="" d=IPFDevice('L66EXR1') d.hostname d.ipaddr export NAGIOS_URL="" export NAGIOS_TOKEN="" n=NAGIOSClient() n.host_list() n.hostgroup_list() n.create_hostgroup("site") s=NAGIOSHost(name=d.hostname,ipaddr=d....
16.904762
65
0.743662
57
355
4.438596
0.526316
0.071146
0
0
0
0
0
0
0
0
0
0.009288
0.090141
355
20
66
17.75
0.773994
0.183099
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
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
e4a64b6bbf292c966135f29812de32993b0c0478
1,389
py
Python
linked_list/0147_insertion_sort_list/0147_insertion_sort_list.py
zdyxry/LeetCode
33371285d0f3302158230f46e8b1b63b9f4639c4
[ "Xnet", "X11" ]
6
2019-09-16T01:50:44.000Z
2020-09-17T08:52:25.000Z
linked_list/0147_insertion_sort_list/0147_insertion_sort_list.py
zdyxry/LeetCode
33371285d0f3302158230f46e8b1b63b9f4639c4
[ "Xnet", "X11" ]
null
null
null
linked_list/0147_insertion_sort_list/0147_insertion_sort_list.py
zdyxry/LeetCode
33371285d0f3302158230f46e8b1b63b9f4639c4
[ "Xnet", "X11" ]
4
2020-02-07T12:43:16.000Z
2021-04-11T06:38:55.000Z
# Definition for singly-linked list. # class ListNode: # def __init__(self, val=0, next=None): # self.val = val # self.next = next class Solution: def insertionSortList(self, head: ListNode) -> ListNode: if not head: return head dummy=ListN...
46.3
77
0.415407
105
1,389
5.457143
0.428571
0.04712
0.038394
0
0
0
0
0
0
0
0
0.024133
0.522678
1,389
29
78
47.896552
0.840121
0.25054
0
0
0
0
0
0
0
0
0
0
0
1
0.043478
false
0
0
0
0.173913
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e4a90bd7de8e9dbefd9f6d3e57c7789e03886f84
6,282
py
Python
src/settingRes.py
aslucky/StockHelper
abdc17fd728fd0bc1e75d1de8ddf0fe34baaccc9
[ "Apache-2.0" ]
3
2017-08-17T15:42:23.000Z
2021-12-05T03:37:33.000Z
src/settingRes.py
aslucky/StockHelper
abdc17fd728fd0bc1e75d1de8ddf0fe34baaccc9
[ "Apache-2.0" ]
null
null
null
src/settingRes.py
aslucky/StockHelper
abdc17fd728fd0bc1e75d1de8ddf0fe34baaccc9
[ "Apache-2.0" ]
5
2016-05-31T01:49:36.000Z
2021-09-23T15:10:20.000Z
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'main.ui' # # Created by: PyQt4 UI code generator 4.11.4 # # WARNING! All changes made in this file will be lost! from PyQt4 import QtCore, QtGui try: _fromUtf8 = QtCore.QString.fromUtf8 except AttributeError: def _fromUtf8(s): ...
53.692308
124
0.731614
629
6,282
7.149444
0.243243
0.0507
0.046698
0.051368
0.195019
0.130087
0.055593
0.036469
0.036469
0.036469
0
0.012107
0.158548
6,282
116
125
54.155172
0.83863
0.028335
0
0.107843
1
0
0.074475
0.003773
0
0
0
0
0
1
0.04902
false
0
0.009804
0.029412
0.098039
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
e4af499adb413041a285fea261e2cc98f210e94b
1,042
py
Python
problem092.py
jakubczaplicki/projecteuler
ab58762a65cb303f3e19cc8fc8c3d45831713719
[ "MIT" ]
null
null
null
problem092.py
jakubczaplicki/projecteuler
ab58762a65cb303f3e19cc8fc8c3d45831713719
[ "MIT" ]
null
null
null
problem092.py
jakubczaplicki/projecteuler
ab58762a65cb303f3e19cc8fc8c3d45831713719
[ "MIT" ]
null
null
null
__author__ = 'jc60' """ A number chain is created by continuously adding the square of the digits in a number to form a new number until it has been seen before. For example, 44 -> 32 -> 13 -> 10 -> 1 -> 1 85 -> 89 -> 145 -> 42 -> 20 -> 4 -> 16 -> 37 -> 58 -> 89 Therefore any chain that arrives at 1 or 89 will becom...
24.232558
76
0.637236
180
1,042
3.622222
0.55
0.04908
0.015337
0.021472
0
0
0
0
0
0
0
0.161746
0.252399
1,042
42
77
24.809524
0.675225
0.111324
0
0
0
0
0.00907
0
0
0
0
0
0
0
null
null
0
0.047619
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
e4b57acbdac211cdafb999858cfab73e9ce606be
2,188
py
Python
package/scripts/hdfsftp.py
jpbelleau/hdfs-over-ftp-slider
00cb228bfb13110fee997258c6b5bafdc7ebf3ea
[ "Apache-1.1" ]
2
2016-04-12T11:00:31.000Z
2017-11-16T02:04:47.000Z
package/scripts/hdfsftp.py
jpbelleau/hdfs-over-ftp-slider
00cb228bfb13110fee997258c6b5bafdc7ebf3ea
[ "Apache-1.1" ]
null
null
null
package/scripts/hdfsftp.py
jpbelleau/hdfs-over-ftp-slider
00cb228bfb13110fee997258c6b5bafdc7ebf3ea
[ "Apache-1.1" ]
null
null
null
#!/usr/bin/env python import sys from resource_management import * class HDFSFTP(Script): def install(self, env): self.install_packages(env) def configure(self, env): import os import params env.set_params(params) keystore_path = params.app_root + "/" + params.keystore_file File(format(...
30.816901
349
0.679616
281
2,188
5.088968
0.323843
0.075524
0.072727
0.062937
0.393706
0.336364
0.315385
0.286014
0.181818
0.181818
0
0.00732
0.1883
2,188
70
350
31.257143
0.79786
0.070384
0
0.264151
0
0.018868
0.268341
0.174298
0
0
0
0
0
0
null
null
0
0.132075
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
e4b9885348005d67441e7adc298ed04d9b3fc540
3,956
py
Python
lib/kube/printer.py
jonarbo/KUBE
f85ffd732e5e126262bd82ed52d924ec2a227e51
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
lib/kube/printer.py
jonarbo/KUBE
f85ffd732e5e126262bd82ed52d924ec2a227e51
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
lib/kube/printer.py
jonarbo/KUBE
f85ffd732e5e126262bd82ed52d924ec2a227e51
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
#!/usr/bin/env python # coding: utf-8 import sys, os class Logger(object): _instance = None def __new__(cls, *args, **kwargs): if not cls._instance: cls._instance = super(Logger, cls).__new__(cls, *args, **kwargs) return cls._instance def __init__(self, filename="kube.log"): self.terminal = sys.stdout...
24.121951
68
0.577351
467
3,956
4.708779
0.237687
0.06503
0.038654
0.047749
0.331969
0.270578
0.22874
0.188722
0.149613
0.050023
0
0.018662
0.214358
3,956
164
69
24.121951
0.688867
0.051314
0
0.311475
0
0
0.068441
0
0
0
0
0
0
0
null
null
0
0.008197
null
null
0.139344
0
0
0
null
0
0
0
0
0
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
e4bad160671597f32c8eec0dbe34f2b749db1855
406
py
Python
jcasts/episodes/migrations/0022_episode_link.py
danjac/jcasts
04f5ef1f536d51962c0433d092817c0153acb6af
[ "MIT" ]
13
2021-09-17T07:41:00.000Z
2022-02-10T10:00:48.000Z
jcasts/episodes/migrations/0022_episode_link.py
danjac/jcasts
04f5ef1f536d51962c0433d092817c0153acb6af
[ "MIT" ]
167
2021-07-17T09:41:38.000Z
2021-08-31T06:03:34.000Z
jcasts/episodes/migrations/0022_episode_link.py
danjac/jcasts
04f5ef1f536d51962c0433d092817c0153acb6af
[ "MIT" ]
null
null
null
# Generated by Django 4.0 on 2021-12-16 19:22 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("episodes", "0021_auto_20210922_1012"), ] operations = [ migrations.AddField( model_name="episode", name="link", ...
21.368421
74
0.605911
45
406
5.355556
0.844444
0
0
0
0
0
0
0
0
0
0
0.116041
0.278325
406
18
75
22.555556
0.706485
0.105911
0
0
1
0
0.116343
0.063712
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
e4bc189b95ea69740b90fdb355422c27be3a1608
2,231
py
Python
JsonCodeTools/jinja2_codegen/templates/base/notification_server.py
kamlam/EAGLE-Open-Model-Profile-and-Tools-1
42690535de136251d8a464ad254ac0ea344d383a
[ "Apache-2.0" ]
null
null
null
JsonCodeTools/jinja2_codegen/templates/base/notification_server.py
kamlam/EAGLE-Open-Model-Profile-and-Tools-1
42690535de136251d8a464ad254ac0ea344d383a
[ "Apache-2.0" ]
null
null
null
JsonCodeTools/jinja2_codegen/templates/base/notification_server.py
kamlam/EAGLE-Open-Model-Profile-and-Tools-1
42690535de136251d8a464ad254ac0ea344d383a
[ "Apache-2.0" ]
null
null
null
from twisted.internet import reactor from autobahn.twisted.websocket import WebSocketServerFactory, WebSocketServerProtocol, listenWS import time import thread {% for import_object in import_list %} from {{import_object.file}} import {{import_object.name}} {% endfor %} class BaseService: def __init__(self, proto...
26.247059
96
0.649933
236
2,231
6.016949
0.368644
0.061972
0.023239
0.048592
0.166901
0.094366
0
0
0
0
0
0.010089
0.244733
2,231
84
97
26.559524
0.832641
0
0
0.3
0
0
0.046616
0
0
0
0
0
0
0
null
null
0.05
0.1
null
null
0.05
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
e4c3f0c0b82f49417d754b93a4e294831eb83f55
415
py
Python
Python/fibonacciMemoization.py
ruan4f/PythonStudy
2515b508754d87ff98fdafce9a6dd8df584395e6
[ "MIT" ]
null
null
null
Python/fibonacciMemoization.py
ruan4f/PythonStudy
2515b508754d87ff98fdafce9a6dd8df584395e6
[ "MIT" ]
null
null
null
Python/fibonacciMemoization.py
ruan4f/PythonStudy
2515b508754d87ff98fdafce9a6dd8df584395e6
[ "MIT" ]
null
null
null
fibonacci_cache= {} def fibonacci(n): # If we have cached the value, then return it if n in fibonacci_cache: return fibonacci_cache[n] # Compute the Nth term if n == 1: value = 1 elif n == 2: value = 1 elif n >2: value = fibonacci(n-1) + fibonacci(n-2) #Cache the value and return it f...
18.863636
47
0.633735
69
415
3.753623
0.362319
0.216216
0.11583
0.084942
0.111969
0.111969
0
0
0
0
0
0.035484
0.253012
415
22
48
18.863636
0.8
0.224096
0
0.142857
0
0
0.003135
0
0
0
0
0
0
1
0.071429
false
0
0
0
0.214286
0.071429
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
e4c8dc2070d8327244834b453daa11b8dc009f63
390
py
Python
myFirstfunction/otp1.py
Nileshkotwad/2fasystem
1d0cd44e1f03dfbf40ba1d06357e23d51eaa8902
[ "Apache-2.0" ]
1
2021-12-07T11:58:40.000Z
2021-12-07T11:58:40.000Z
myFirstfunction/otp1.py
Nileshkotwad/2fasystem
1d0cd44e1f03dfbf40ba1d06357e23d51eaa8902
[ "Apache-2.0" ]
null
null
null
myFirstfunction/otp1.py
Nileshkotwad/2fasystem
1d0cd44e1f03dfbf40ba1d06357e23d51eaa8902
[ "Apache-2.0" ]
2
2022-01-20T16:58:57.000Z
2022-02-06T04:03:59.000Z
from twilio.rest import Client def sendotp(otpreci): account_sid = 'ACe8caad8112e2135294377d739ce3e9b9' auth_token = 'd40a4a4769a9e56e5a17e1b5b3664930' client = Client(account_sid, auth_token) msg='OTP for Login : ' + str(otpreci) message = client.messages.create( from_='whatsapp:+141552...
20.526316
54
0.684615
38
390
6.894737
0.710526
0.076336
0
0
0
0
0
0
0
0
0
0.215686
0.215385
390
18
55
21.666667
0.640523
0
0
0
0
0
0.322997
0.281654
0
0
0
0
0
1
0.090909
false
0
0.090909
0
0.181818
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
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
e4c8f1e512bdfb3fe201b34e3eec6a22f2000c7d
7,146
py
Python
apps/goods/migrations/0001_initial.py
awsbreathpanda/dailyfresh
c218cdc3ea261b695ff00b6781ba3040f5d06eff
[ "MIT" ]
null
null
null
apps/goods/migrations/0001_initial.py
awsbreathpanda/dailyfresh
c218cdc3ea261b695ff00b6781ba3040f5d06eff
[ "MIT" ]
7
2021-03-30T14:18:30.000Z
2022-01-13T03:13:37.000Z
apps/goods/migrations/0001_initial.py
awsbreathpanda/dailyfresh
c218cdc3ea261b695ff00b6781ba3040f5d06eff
[ "MIT" ]
null
null
null
# Generated by Django 3.0.7 on 2020-07-30 04:32 from django.db import migrations, models import django.db.models.deletion import tinymce.models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Goods', ...
46.402597
138
0.5452
656
7,146
5.727134
0.170732
0.061485
0.070801
0.085707
0.681927
0.599947
0.577589
0.577589
0.577589
0.577589
0
0.00895
0.312063
7,146
153
139
46.705882
0.755289
0.006297
0
0.589041
1
0
0.169742
0.016059
0
0
0
0
0
1
0
false
0
0.020548
0
0.047945
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
e4d080d9f5e0290b7ae05afa4b37f062851b863c
14,523
py
Python
lib/filewatcher/watcher.py
yinyin/FileWatcher
c415b201eaaeb2ab84d0a6ee4f6a290aeaa4eacf
[ "MIT" ]
null
null
null
lib/filewatcher/watcher.py
yinyin/FileWatcher
c415b201eaaeb2ab84d0a6ee4f6a290aeaa4eacf
[ "MIT" ]
null
null
null
lib/filewatcher/watcher.py
yinyin/FileWatcher
c415b201eaaeb2ab84d0a6ee4f6a290aeaa4eacf
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import os import time import signal import syslog import shutil import re import asyncore from filewatcher import filewatchconfig from filewatcher import metadatum FEVENT_NEW = 1 FEVENT_MODIFIED = 2 FEVENT_DELETED = 4 FW_APP_NAME = 'filewatcher' class OperationExecRef(object): """ 作業執行...
31.571739
191
0.742891
1,922
14,523
5.280437
0.174298
0.037836
0.028377
0.033107
0.347128
0.279141
0.216179
0.172234
0.141492
0.110947
0
0.003898
0.152104
14,523
459
192
31.640523
0.820286
0.102596
0
0.171875
0
0
0.072605
0
0
0
0
0
0
0
null
null
0
0.054688
null
null
0.03125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
e4d0c37d9e1e89f3cd4105cd09ca4059403bb819
515
py
Python
tests/gamestonk_terminal/stocks/quantitative_analysis/test_factors_view.py
elan17/GamestonkTerminal
f958f8275dc15ffaf30c1f0652f5b033725b7f10
[ "MIT" ]
1,835
2021-05-09T02:55:06.000Z
2022-03-29T12:37:05.000Z
tests/gamestonk_terminal/stocks/quantitative_analysis/test_factors_view.py
elan17/GamestonkTerminal
f958f8275dc15ffaf30c1f0652f5b033725b7f10
[ "MIT" ]
569
2021-05-09T15:59:41.000Z
2022-03-29T12:25:16.000Z
tests/gamestonk_terminal/stocks/quantitative_analysis/test_factors_view.py
elan17/GamestonkTerminal
f958f8275dc15ffaf30c1f0652f5b033725b7f10
[ "MIT" ]
268
2021-05-10T21:46:50.000Z
2022-03-28T09:18:38.000Z
# IMPORTATION STANDARD # IMPORTATION THIRDPARTY import pytest # IMPORTATION INTERNAL from gamestonk_terminal.stocks.quantitative_analysis import factors_view @pytest.fixture(scope="module") def vcr_config(): return { "filter_headers": [("User-Agent", None)], "filter_query_parameters": [ ...
20.6
72
0.673786
54
515
6.203704
0.722222
0.065672
0
0
0
0
0
0
0
0
0
0.053269
0.198058
515
24
73
21.458333
0.757869
0.124272
0
0
0
0
0.199105
0.051454
0
0
0
0
0
1
0.133333
true
0
0.133333
0.066667
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
1
0
0
0
0
0
0
1
e4d412d293229f1bdae732c72797d7bfc199a997
1,255
py
Python
scanner/Multi-Threaded-Ftp.py
AabhaasSinghal/python_scripts
b41803bff049fa65ed43a0313471c3c72fa59912
[ "Apache-2.0" ]
null
null
null
scanner/Multi-Threaded-Ftp.py
AabhaasSinghal/python_scripts
b41803bff049fa65ed43a0313471c3c72fa59912
[ "Apache-2.0" ]
null
null
null
scanner/Multi-Threaded-Ftp.py
AabhaasSinghal/python_scripts
b41803bff049fa65ed43a0313471c3c72fa59912
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python import threading import Queue import time from ftplib import FTP # Thanks to SPSE-445 for the list :) ftpHostList = [ 'ftp.x.org', 'ftp4.FreeBSD.org', 'ftp.ncsa.uiuc.edu', 'ftp.mozilla.org', 'ftp.crans.org' ] class WorkerThread(threading.Thread) : def __init__(self, queue, tid) : threading...
19.015152
106
0.664542
179
1,255
4.608939
0.463687
0.043636
0.029091
0
0
0
0
0
0
0
0
0.008081
0.211155
1,255
65
107
19.307692
0.825253
0.106773
0
0.046512
0
0
0.198206
0
0
0
0
0
0
0
null
null
0
0.093023
null
null
0.186047
0
0
0
null
0
0
0
0
0
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
e4d8519b56899702e5a1e1b258add06abdf23103
280
py
Python
setup.py
suracefm/pyqm
b936c968a67728bfa3e0abc22f84cd54a096ae1b
[ "BSD-3-Clause" ]
null
null
null
setup.py
suracefm/pyqm
b936c968a67728bfa3e0abc22f84cd54a096ae1b
[ "BSD-3-Clause" ]
null
null
null
setup.py
suracefm/pyqm
b936c968a67728bfa3e0abc22f84cd54a096ae1b
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python """ Setup file created """ from setuptools import setup setup(name='pyqm', version='0.1', description='', url='https://github.com/suracefm/pyqm', author='Federica Maria Surace', license='BSD 3 New', packages = ['pyqm'] )
18.666667
45
0.603571
34
280
4.970588
0.882353
0
0
0
0
0
0
0
0
0
0
0.013761
0.221429
280
14
46
20
0.761468
0.139286
0
0
0
0
0.313305
0
0
0
0
0
0
1
0
true
0
0.111111
0
0.111111
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
e4db816d0d073fdbeb765f2a5714c9dd33fe159a
409
py
Python
backend/api/migrations/0008_auto_20190818_0844.py
yamamz/BRMI_LOANAPP
e6f79789855a633ee78a168452bca508622bcca8
[ "MIT" ]
null
null
null
backend/api/migrations/0008_auto_20190818_0844.py
yamamz/BRMI_LOANAPP
e6f79789855a633ee78a168452bca508622bcca8
[ "MIT" ]
6
2020-06-05T22:43:22.000Z
2022-02-10T12:32:19.000Z
backend/api/migrations/0008_auto_20190818_0844.py
yamamz/BRMI_LOANAPP
e6f79789855a633ee78a168452bca508622bcca8
[ "MIT" ]
null
null
null
# Generated by Django 2.1.1 on 2019-08-18 00:44 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('api', '0007_loan_date_release'), ] operations = [ migrations.AlterField( model_name='loan', name='date_release', ...
21.526316
74
0.606357
47
409
5.148936
0.765957
0.090909
0
0
0
0
0
0
0
0
0
0.074324
0.276284
409
18
75
22.722222
0.743243
0.110024
0
0
1
0
0.11326
0.060773
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
e4ded33c3945edfed93888418bf9428d32810903
749
py
Python
astr-119-hw-2/python_arrays.py
seanrtr3/astr-119
42db9a4ecf15a3d52298447e8f9f855a120c1f36
[ "MIT" ]
null
null
null
astr-119-hw-2/python_arrays.py
seanrtr3/astr-119
42db9a4ecf15a3d52298447e8f9f855a120c1f36
[ "MIT" ]
5
2021-09-30T02:24:51.000Z
2021-12-06T04:03:30.000Z
astr-119-hw-2/python_arrays.py
seanrtr3/astr-119
42db9a4ecf15a3d52298447e8f9f855a120c1f36
[ "MIT" ]
null
null
null
x = [0.0, 3.0, 5.0, 2.5, 3.7] #an array is a list of numbers print(type(x)) #removing the third element x.pop(2) #it pops off the (index) print(x) #removes the 2.5 element x.remove(2.5) print(x) #add an element to the end x.append(1.2) print(x) #get a copy y = x.copy() #produces a 'deep' ...
19.710526
105
0.643525
148
749
3.256757
0.412162
0.087137
0.029046
0
0
0
0
0
0
0
0
0.051546
0.222964
749
38
106
19.710526
0.776632
0.555407
0
0.4
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.55
0
0
0
null
0
0
0
0
0
0
0
0
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
e4e009ab46d5f71fc01ed70a412e08dfbf2babfe
740
py
Python
test.py
kcrandall/EMR_Spark_Automation
ea1cf4dd60eca3ea4e9275c3b3a8c392435b5907
[ "Apache-2.0" ]
9
2017-10-19T22:21:16.000Z
2022-03-02T21:37:51.000Z
test.py
kcrandall/EMR_Spark_Automation
ea1cf4dd60eca3ea4e9275c3b3a8c392435b5907
[ "Apache-2.0" ]
null
null
null
test.py
kcrandall/EMR_Spark_Automation
ea1cf4dd60eca3ea4e9275c3b3a8c392435b5907
[ "Apache-2.0" ]
5
2018-07-12T21:05:21.000Z
2021-04-18T14:15:34.000Z
from __future__ import print_function import sys from operator import add from pyspark import SparkContext import os if __name__ == "__main__": # Start SparkContext sc = SparkContext(appName="PythonWordCount") # Load data from S3 bucket lines = sc.textFile('s3n://emr-related-files/words.txt', 1) #...
29.6
63
0.639189
92
740
5
0.543478
0.065217
0.056522
0.078261
0
0
0
0
0
0
0
0.010714
0.243243
740
24
64
30.833333
0.810714
0.177027
0
0
0
0
0.16113
0.111296
0
0
0
0
0
1
0
false
0
0.3125
0
0.3125
0.125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
e4e2002b59395009b14820c8b3d28a2b1ea38bd9
529
py
Python
installer/core/providers/aws/boto3/aws_lambda.py
jacob-kinzer/pacbot
d78605e9e3fd8c34435636495cd6d51c677754e3
[ "Apache-2.0" ]
null
null
null
installer/core/providers/aws/boto3/aws_lambda.py
jacob-kinzer/pacbot
d78605e9e3fd8c34435636495cd6d51c677754e3
[ "Apache-2.0" ]
null
null
null
installer/core/providers/aws/boto3/aws_lambda.py
jacob-kinzer/pacbot
d78605e9e3fd8c34435636495cd6d51c677754e3
[ "Apache-2.0" ]
null
null
null
import boto3 def get_lambda_client(access_key, secret_key, region): return boto3.client( "lambda", region_name=region, aws_access_key_id=access_key, aws_secret_access_key=secret_key) def check_function_exists(function_name, access_key, secret_key, region): client = get_lambda...
27.842105
73
0.718336
68
529
5.235294
0.382353
0.151685
0.168539
0.202247
0.286517
0.219101
0.219101
0.219101
0
0
0
0.004785
0.20983
529
18
74
29.388889
0.84689
0
0
0
0
0
0.035917
0
0
0
0
0
0
1
0.142857
false
0
0.071429
0.071429
0.428571
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
e4e58c06ee110e8a6277ff2277fb767b05225883
466
py
Python
backend-service/bot_server/api/migrations/0008_auto_20200920_1837.py
sravankumarmatta/Classroom-Bot
2081600c553c003ada4c0dadd2d4715e11c073d2
[ "MIT" ]
3
2020-09-21T15:27:05.000Z
2020-12-13T19:03:29.000Z
backend-service/bot_server/api/migrations/0008_auto_20200920_1837.py
sravankumarmatta/Classroom-Bot
2081600c553c003ada4c0dadd2d4715e11c073d2
[ "MIT" ]
40
2020-09-06T08:18:05.000Z
2020-10-20T18:08:23.000Z
backend-service/bot_server/api/migrations/0008_auto_20200920_1837.py
sravankumarmatta/Classroom-Bot
2081600c553c003ada4c0dadd2d4715e11c073d2
[ "MIT" ]
8
2020-10-20T07:00:11.000Z
2021-09-28T00:23:45.000Z
# Generated by Django 3.1 on 2020-09-20 22:37 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('api', '0007_auto_20200920_1813'), ] operations = [ migrations.AddField( model_name='student', name='group', ...
21.181818
68
0.572961
47
466
5.595745
0.787234
0
0
0
0
0
0
0
0
0
0
0.092879
0.306867
466
21
69
22.190476
0.721362
0.092275
0
0.133333
1
0
0.125891
0.054632
0
0
0
0
0
1
0
false
0
0.066667
0
0.266667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e4e59035a509c112b8c7d04cb4c625fa5e376b42
444
py
Python
setup.py
stat-ml/GeoMLE
89a33a4eba3f38151f2f2d159b5410b8b2a84291
[ "MIT" ]
7
2020-04-17T04:22:31.000Z
2021-10-12T09:27:59.000Z
setup.py
stat-ml/GeoMLE
89a33a4eba3f38151f2f2d159b5410b8b2a84291
[ "MIT" ]
3
2020-02-28T20:56:55.000Z
2020-07-10T09:27:22.000Z
setup.py
stat-ml/GeoMLE
89a33a4eba3f38151f2f2d159b5410b8b2a84291
[ "MIT" ]
1
2021-08-22T09:42:15.000Z
2021-08-22T09:42:15.000Z
from setuptools import setup setup(name='geomle', version='1.0', description='Intrinsic dimension', url='https://github.com/premolab/GeoMLE', author='Mokrov, Gomtsyan, Panov, Yanovich', author_email='panov.maxim@gmail.com ', license='MIT', packages=['geomle'], install_re...
27.75
49
0.578829
50
444
5.08
0.8
0
0
0
0
0
0
0
0
0
0
0.036254
0.254505
444
16
50
27.75
0.731118
0
0
0
0
0
0.379775
0.047191
0
0
0
0
0
1
0
true
0
0.066667
0
0.066667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
e4e98b98275f3236d9624e05f27b633ca863fdc8
758
py
Python
tests/yaml_include_test.py
kravvcu/gitlab-configuration-as-code
428245e19ffb5d94aa6e510991ea577d7e9e3a6b
[ "Apache-2.0" ]
29
2019-11-13T21:05:13.000Z
2022-03-18T10:12:22.000Z
tests/yaml_include_test.py
ravithemore/gitlab-configuration-as-code
6ca0191253aa0d1a77076be59111d7a4c6bbe0d0
[ "Apache-2.0" ]
11
2019-11-18T08:55:46.000Z
2021-04-09T08:07:30.000Z
tests/yaml_include_test.py
ravithemore/gitlab-configuration-as-code
6ca0191253aa0d1a77076be59111d7a4c6bbe0d0
[ "Apache-2.0" ]
6
2020-01-28T20:46:03.000Z
2021-11-26T08:24:26.000Z
import os import pytest import yaml from gcasc.utils.yaml_include import YamlIncluderConstructor from .helpers import read_file, read_yaml YamlIncluderConstructor.add_to_loader_class( loader_class=yaml.FullLoader, base_dir=os.path.dirname(os.path.realpath(__file__)) + "/data", ) @pytest.fixture() def file...
18.487805
67
0.718997
104
758
4.951923
0.413462
0.106796
0.093204
0.069903
0.097087
0
0
0
0
0
0
0.015748
0.162269
758
40
68
18.95
0.795276
0.019789
0
0.130435
0
0
0.116373
0
0
0
0
0
0.086957
1
0.173913
false
0
0.217391
0.130435
0.521739
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
e4f73db738a853fb159f9a96204ae0094134dea3
2,744
py
Python
dp_cluster_reg/ambari/prerequisites.py
hortonworks/dp-cluster-reg
c8b1122aab6ad0456492265c77660df0adc740e6
[ "Apache-2.0" ]
null
null
null
dp_cluster_reg/ambari/prerequisites.py
hortonworks/dp-cluster-reg
c8b1122aab6ad0456492265c77660df0adc740e6
[ "Apache-2.0" ]
9
2018-12-16T09:13:31.000Z
2021-06-01T23:40:23.000Z
dp_cluster_reg/ambari/prerequisites.py
hortonworks/dp-cluster-reg
c8b1122aab6ad0456492265c77660df0adc740e6
[ "Apache-2.0" ]
null
null
null
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
47.310345
161
0.699708
377
2,744
5.002653
0.34748
0.04772
0.039767
0.050901
0.258218
0.205196
0.176034
0.176034
0.176034
0.132556
0
0.008435
0.222303
2,744
57
162
48.140351
0.875351
0.283528
0
0.205882
0
0.088235
0.274268
0.011813
0
0
0
0
0
0
null
null
0
0.029412
null
null
0.147059
0
0
0
null
0
0
0
0
0
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
e4fab99d7457f8f6029178e55b2c02d4b86928c4
1,957
py
Python
dlutils/training/scheduler.py
fmi-basel/dl-utils
15bbb7672314d72abc7c3f7fc86655401cde5eb6
[ "MIT" ]
null
null
null
dlutils/training/scheduler.py
fmi-basel/dl-utils
15bbb7672314d72abc7c3f7fc86655401cde5eb6
[ "MIT" ]
1
2021-03-10T10:53:59.000Z
2021-03-10T10:53:59.000Z
dlutils/training/scheduler.py
fmi-basel/dl-utils
15bbb7672314d72abc7c3f7fc86655401cde5eb6
[ "MIT" ]
null
null
null
from __future__ import absolute_import from __future__ import division from __future__ import print_function import numpy as np def CosineAnnealingSchedule(lr_max, lr_min, epoch_max, epoch_max_growth=1., reset_decay=1.): '''create a learning rate scheduler that follows the approach from SGDR: Stochastic gra...
28.362319
92
0.652018
264
1,957
4.541667
0.367424
0.066722
0.062552
0.033361
0.320267
0.251877
0.225188
0.201835
0.201835
0.201835
0
0.015395
0.269801
1,957
68
93
28.779412
0.823653
0.268779
0
0.129032
0
0
0.032656
0
0
0
0
0.014706
0
1
0.193548
false
0
0.129032
0.032258
0.516129
0.032258
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
900818d128acd77e1be86516bd934c39146d3882
400
py
Python
setup.py
xxu2/pyunlvrtm
6032b0a0be8806724401582ca51e544337b93df6
[ "MIT" ]
4
2019-07-24T20:28:18.000Z
2021-09-29T01:18:51.000Z
setup.py
xxu2/pyunlvrtm
6032b0a0be8806724401582ca51e544337b93df6
[ "MIT" ]
null
null
null
setup.py
xxu2/pyunlvrtm
6032b0a0be8806724401582ca51e544337b93df6
[ "MIT" ]
2
2019-05-14T12:04:03.000Z
2021-09-29T01:18:52.000Z
from setuptools import setup setup(name='pyunlvrtm', version='0.2.4', description='Python packages to faciliate the UNL-VRTM model', url='https://github.com/xxu2/pyunlvrtm', author='Richard Xu', author_email='xxu@huksers.unl.edu', license='MIT', packages=['pyunlvrtm'], t...
28.571429
68
0.6425
49
400
5.163265
0.857143
0
0
0
0
0
0
0
0
0
0
0.012618
0.2075
400
13
69
30.769231
0.785489
0
0
0
0
0
0.3825
0
0
0
0
0
0
1
0
true
0
0.083333
0
0.083333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
900a5fd4319a1fce670605476205617a44c92238
17,316
py
Python
tnp_image_taker/src/CameraRecord_led.py
warehouse-picking-automation-challenges/team_naist_panasonic
999b8d20c5528f5510e43bf4a483215011f9871d
[ "Apache-2.0" ]
10
2017-12-22T07:45:09.000Z
2022-03-25T21:42:22.000Z
tnp_image_taker/src/CameraRecord_led.py
warehouse-picking-automation-challenges/team_naist_panasonic
999b8d20c5528f5510e43bf4a483215011f9871d
[ "Apache-2.0" ]
null
null
null
tnp_image_taker/src/CameraRecord_led.py
warehouse-picking-automation-challenges/team_naist_panasonic
999b8d20c5528f5510e43bf4a483215011f9871d
[ "Apache-2.0" ]
6
2017-12-24T16:03:22.000Z
2020-06-14T11:01:18.000Z
# # Version: 2017.07.31 # Authors: Members of the Team NAIST-Panasonic at the Amazon Robotics Challenge 2017: # Gustavo A. Garcia R. <garcia-g at is.naist.jp> (Captain), # Lotfi El Hafi, Felix von Drigalski, Wataru Yamazaki, Viktor Hoerig, Arnaud Delmotte, # Akishige Yuguchi, Marcus Ga...
45.688654
133
0.765246
2,371
17,316
5.207507
0.109237
0.062363
0.052482
0.025836
0.708755
0.558921
0.44197
0.380173
0.29327
0.246376
0
0.027222
0.125953
17,316
378
134
45.809524
0.78857
0.093093
0
0.244224
0
0
0.096166
0.036094
0
0
0
0
0
0
null
null
0
0.033003
null
null
0.092409
0
0
0
null
0
0
0
0
0
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