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
6859941e52991ff324ef67373000f7acd3c0bcda
587
py
Python
blackjack/cmake/cmd/cmake_minimum_required.py
grbd/GBD.Build.BlackJack
3e8d027625b7528af3674a373fd9931e3feaaab4
[ "Apache-2.0" ]
1
2017-05-26T00:18:26.000Z
2017-05-26T00:18:26.000Z
blackjack/cmake/cmd/cmake_minimum_required.py
grbd/GBD.Build.BlackJack
3e8d027625b7528af3674a373fd9931e3feaaab4
[ "Apache-2.0" ]
null
null
null
blackjack/cmake/cmd/cmake_minimum_required.py
grbd/GBD.Build.BlackJack
3e8d027625b7528af3674a373fd9931e3feaaab4
[ "Apache-2.0" ]
null
null
null
from blackjack.cmake.ScriptBase import ScriptBase from blackjack.cmake.cmdpart.Version import Version class cmake_minimum_required(ScriptBase): """ CMake Command - Minimum required version of CMake """ def __init__(self, version = None): super().__init__() self.Version = version ...
27.952381
82
0.65247
68
587
5.441176
0.411765
0.148649
0.097297
0.12973
0.156757
0
0
0
0
0
0
0.004494
0.241908
587
20
83
29.35
0.824719
0
0
0
0
0
0.049793
0.047718
0
0
0
0
0
0
null
null
0
0.166667
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
685ad7f3157669036dfa1eced6447d0e4093baa3
3,940
py
Python
Paciente_App/login_screen.py
JoseFernandez16/mecatronicaUNT_Prog2_SMTCPCSOS
4d6cfe16d5936d2064a9c4cc6e644b70cd1fdafc
[ "MIT" ]
null
null
null
Paciente_App/login_screen.py
JoseFernandez16/mecatronicaUNT_Prog2_SMTCPCSOS
4d6cfe16d5936d2064a9c4cc6e644b70cd1fdafc
[ "MIT" ]
null
null
null
Paciente_App/login_screen.py
JoseFernandez16/mecatronicaUNT_Prog2_SMTCPCSOS
4d6cfe16d5936d2064a9c4cc6e644b70cd1fdafc
[ "MIT" ]
null
null
null
from kivymd.uix.screen import MDScreen from kivy.lang import Builder from conexion_BD import Conexion_BD from kivymd.app import MDApp # importado para ir al enlace import webbrowser #importando la pantalla de navegacion from navigation_screen import NavigationScreen kv=""" <LoginScreen>: name:'login_s...
33.109244
103
0.487056
425
3,940
4.296471
0.374118
0.038335
0.064074
0.069003
0.193319
0.193319
0.193319
0.12103
0.033954
0.033954
0
0.043215
0.41269
3,940
119
104
33.109244
0.745895
0.030711
0
0.212121
0
0
0.763799
0.041126
0
0
0
0
0
1
0.030303
false
0.030303
0.060606
0
0.10101
0.010101
0
0
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
686168ba476a79e5ef8aade4ed6538a723f9f46d
349
py
Python
Contributions/Last Digit of the Sum of Fibonacci Numbers.py
sattwik21/Hacktoberfest2021-1
74c8edd54f9c967c0f301f74dec31526dffa8222
[ "MIT" ]
215
2021-10-01T08:18:16.000Z
2022-03-29T04:12:03.000Z
Contributions/Last Digit of the Sum of Fibonacci Numbers.py
sattwik21/Hacktoberfest2021-1
74c8edd54f9c967c0f301f74dec31526dffa8222
[ "MIT" ]
51
2021-10-01T08:16:42.000Z
2021-10-31T13:51:51.000Z
Contributions/Last Digit of the Sum of Fibonacci Numbers.py
sattwik21/Hacktoberfest2021-1
74c8edd54f9c967c0f301f74dec31526dffa8222
[ "MIT" ]
807
2021-10-01T08:11:45.000Z
2021-11-21T18:57:09.000Z
>> def fibo(n): a,b = 0, 1 for _ in range(2,n+1): c = a+b c = c%10 b,a = c,b if (c!=0): print(c-1) else: print(9) n = int(input()) if (n<=1): print(n) else: q = (n+2)%60 if q==1: print(0) elif q==0: print(9) else: fibo(q) ...
13.423077
26
0.383954
62
349
2.145161
0.419355
0.030075
0
0
0
0
0
0
0
0
0
0.121212
0.432665
349
25
27
13.96
0.550505
0
0
0.1
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
68633a8f3277699b3845ac85cfef505eb0dfdb47
1,499
py
Python
src/utf8lite/util/property.py
cran/utf8
5a24f4e04d410aa160ebd9666d0d314507afcb4c
[ "Apache-2.0" ]
115
2017-11-07T20:39:53.000Z
2022-03-17T08:02:15.000Z
src/utf8lite/util/property.py
cran/utf8
5a24f4e04d410aa160ebd9666d0d314507afcb4c
[ "Apache-2.0" ]
15
2017-11-04T18:17:02.000Z
2022-03-22T00:13:47.000Z
src/utf8lite/util/property.py
cran/utf8
5a24f4e04d410aa160ebd9666d0d314507afcb4c
[ "Apache-2.0" ]
4
2019-07-24T13:24:08.000Z
2021-02-10T20:48:50.000Z
import re PATTERN = re.compile(r"""^([0-9A-Fa-f]+) # (first code) (\.\.([0-9A-Fa-f]+))? # (.. last code)? \s* ; # ; \s* (\w+) # (property name) ...
29.98
72
0.371581
143
1,499
3.839161
0.41958
0.065574
0.018215
0.021858
0
0
0
0
0
0
0
0.024357
0.507005
1,499
49
73
30.591837
0.718539
0.00934
0
0.119048
0
0
0.25641
0.01417
0
0
0.005398
0
0.02381
1
0.02381
false
0
0.02381
0
0.095238
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
6867feaa952eb6250a39d49faa4863ff3ed1f9ad
5,267
py
Python
web/addons/membership/report/report_membership.py
diogocs1/comps
63df07f6cf21c41e4527c06e2d0499f23f4322e7
[ "Apache-2.0" ]
1
2019-12-29T11:53:56.000Z
2019-12-29T11:53:56.000Z
odoo/addons/membership/report/report_membership.py
tuanquanghpvn/odoo8-tutorial
52d25f1ca5f233c431cb9d3b24b79c3b4fb5127e
[ "MIT" ]
null
null
null
odoo/addons/membership/report/report_membership.py
tuanquanghpvn/odoo8-tutorial
52d25f1ca5f233c431cb9d3b24b79c3b4fb5127e
[ "MIT" ]
3
2020-10-08T14:42:10.000Z
2022-01-28T14:12:29.000Z
# -*- coding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>). # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU...
40.515385
123
0.605468
643
5,267
4.788491
0.284603
0.054563
0.025982
0.024359
0.225723
0.137057
0.111075
0.08899
0.056512
0.022735
0
0.005168
0.265236
5,267
129
124
40.829457
0.790439
0.167837
0
0.161616
0
0.020202
0.699857
0.022392
0
0
0
0
0
1
0.010101
false
0
0.030303
0
0.10101
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
686a1f663def317670adc05df5b5888f1c384117
2,985
py
Python
tools/scheduler/scheduler/common.py
DaMSL/K3
51749157844e76ae79dba619116fc5ad9d685643
[ "Apache-2.0" ]
17
2015-05-27T17:36:33.000Z
2020-06-07T07:21:29.000Z
tools/scheduler/scheduler/common.py
DaMSL/K3
51749157844e76ae79dba619116fc5ad9d685643
[ "Apache-2.0" ]
3
2015-10-02T19:37:58.000Z
2016-01-05T18:26:48.000Z
tools/scheduler/scheduler/common.py
DaMSL/K3
51749157844e76ae79dba619116fc5ad9d685643
[ "Apache-2.0" ]
6
2015-03-18T20:05:24.000Z
2020-02-06T21:35:09.000Z
import logging import datetime import uuid import enum heartbeat_delay = 60 # secs. move to common gc_delay = 300 offer_wait = 5 class DEFAULT: # masterNodes = ['qp-hm1'] # workerNodes = ['qp3', 'qp4', 'qp5', 'qp6'] + ['qp-hm' + str(i) for i in range(2,9)] + ['qp-hd' + str(i) for i in [1, 2, 3, ...
28.428571
159
0.59598
367
2,985
4.825613
0.40327
0.039526
0.01581
0.018069
0.147374
0.07397
0.066629
0.018069
0.018069
0
0
0.046896
0.249916
2,985
104
160
28.701923
0.744082
0.149414
0
0.073529
0
0.044118
0.222682
0.034768
0
0
0
0.009615
0
1
0.117647
false
0
0.058824
0.088235
0.588235
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
686a227acd1fb93129da5e685825ee3e4a185167
529
py
Python
app/models/board.py
Bangys/unnamed-demo
34484107d8831cfa0158e51572d6680d92ff236d
[ "MIT" ]
1
2019-06-03T14:56:05.000Z
2019-06-03T14:56:05.000Z
app/models/board.py
Bangys/unnamed-demo
34484107d8831cfa0158e51572d6680d92ff236d
[ "MIT" ]
3
2021-03-31T19:10:28.000Z
2021-12-13T20:03:54.000Z
app/models/board.py
Bangys/unnamed-demo
34484107d8831cfa0158e51572d6680d92ff236d
[ "MIT" ]
null
null
null
import time from datetime import datetime from app import db class Board(db.Model): __tablename__ = 'board' id = db.Column(db.Integer, primary_key=True) title = db.Column(db.String(64)) name = db.Column(db.String(64), unique=True) ct = db.Column(db.DateTime, default=datetime.utcnow) ut = db....
25.190476
56
0.635161
75
529
4.36
0.4
0.122324
0.152905
0.097859
0.262997
0
0
0
0
0
0
0.009685
0.219282
529
20
57
26.45
0.782082
0
0
0
0
0
0.026465
0
0
0
0
0
0
1
0.066667
false
0
0.2
0
0.733333
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
686a418b42e520a337c808585d9312b661c26fb9
20,455
py
Python
orchestration/project.py
monkey-H/nap-core
50d23b0431682f276990db04527deae3b6d84661
[ "Apache-2.0" ]
null
null
null
orchestration/project.py
monkey-H/nap-core
50d23b0431682f276990db04527deae3b6d84661
[ "Apache-2.0" ]
null
null
null
orchestration/project.py
monkey-H/nap-core
50d23b0431682f276990db04527deae3b6d84661
[ "Apache-2.0" ]
null
null
null
from __future__ import absolute_import from __future__ import unicode_literals import logging from functools import reduce import paramiko import os import MySQLdb import random from orchestration.database import database_update from orchestration.moosefs import commands as mfs_commands from orchestration.network imp...
37.87963
172
0.584551
2,335
20,455
4.919058
0.145182
0.052238
0.023681
0.020895
0.265192
0.206512
0.147397
0.126937
0.071914
0.053979
0
0.003203
0.313175
20,455
539
173
37.949907
0.814364
0.153263
0
0.131148
0
0.002732
0.070913
0.002937
0
0
0
0.001855
0
0
null
null
0.016393
0.084699
null
null
0.002732
0
0
0
null
0
0
0
0
0
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
68782177b238da3e94dcdbee6af1d950a407f28d
1,123
py
Python
djangozmq/zmq/beat.py
lahim/django-zmq
086d030e87e774b8da8f21eb96a2919d272e88f2
[ "MIT" ]
null
null
null
djangozmq/zmq/beat.py
lahim/django-zmq
086d030e87e774b8da8f21eb96a2919d272e88f2
[ "MIT" ]
9
2019-09-10T18:24:55.000Z
2022-02-10T13:24:27.000Z
djangozmq/zmq/beat.py
lahim/django-zmq
086d030e87e774b8da8f21eb96a2919d272e88f2
[ "MIT" ]
1
2021-11-15T21:30:56.000Z
2021-11-15T21:30:56.000Z
import time import logging from djangozmq import settings, objects logger = logging.getLogger(settings.LOGGER_NAME) def _load_tasks() -> list: tasks = [] for periodic_task in settings.PERIODIC_TASKS: task_name, kwargs, interval = periodic_task tasks.append(objects.PeriodicTask(task_name, kw...
24.955556
82
0.60285
146
1,123
4.452055
0.369863
0.061538
0.041538
0.067692
0
0
0
0
0
0
0
0.01083
0.260018
1,123
44
83
25.522727
0.77136
0.034728
0
0
0
0
0.16451
0
0.066667
0
0
0.022727
0
1
0.066667
false
0
0.1
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
687bdf7bc785896f8e4f94b5e552ba9ee7c1c72d
182
py
Python
WEEKS/CD_Sata-Structures/_MISC/misc-examples/python3-book-examples/subprocess/subprocess_popen_write.py
webdevhub42/Lambda
b04b84fb5b82fe7c8b12680149e25ae0d27a0960
[ "MIT" ]
null
null
null
WEEKS/CD_Sata-Structures/_MISC/misc-examples/python3-book-examples/subprocess/subprocess_popen_write.py
webdevhub42/Lambda
b04b84fb5b82fe7c8b12680149e25ae0d27a0960
[ "MIT" ]
null
null
null
WEEKS/CD_Sata-Structures/_MISC/misc-examples/python3-book-examples/subprocess/subprocess_popen_write.py
webdevhub42/Lambda
b04b84fb5b82fe7c8b12680149e25ae0d27a0960
[ "MIT" ]
null
null
null
# """ """ # end_pymotw_header import subprocess print("write:") proc = subprocess.Popen(["cat", "-"], stdin=subprocess.PIPE) proc.communicate("stdin: to stdin\n".encode("utf-8"))
15.166667
60
0.67033
23
182
5.217391
0.782609
0
0
0
0
0
0
0
0
0
0
0.006135
0.104396
182
11
61
16.545455
0.730061
0.093407
0
0
0
0
0.206452
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
688603e98b0f850d2b49043f6b6e06e450d80072
156
py
Python
test.py
klauscc/vedatad
c59f5ddc8fb227ef08baccbb513948bb1bb23857
[ "Apache-2.0" ]
null
null
null
test.py
klauscc/vedatad
c59f5ddc8fb227ef08baccbb513948bb1bb23857
[ "Apache-2.0" ]
null
null
null
test.py
klauscc/vedatad
c59f5ddc8fb227ef08baccbb513948bb1bb23857
[ "Apache-2.0" ]
null
null
null
import os import numpy as np exps = dict() exps["1.a.1"] = dict( name="fd", commit="231423", exec=""" fsdf """, haha="fad", )
11.142857
21
0.480769
21
156
3.571429
0.809524
0
0
0
0
0
0
0
0
0
0
0.074766
0.314103
156
13
22
12
0.626168
0
0
0
0
0
0.217949
0
0
0
0
0
0
1
0
false
0
0.181818
0
0.181818
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6894e2427f2782c636179e370219c02b3bb6f1ac
4,243
py
Python
2021/day18/node.py
tcmitchell/AdventOfCode
caaac1aa37c999d4804f9f4154bf7033a06e98af
[ "MIT" ]
null
null
null
2021/day18/node.py
tcmitchell/AdventOfCode
caaac1aa37c999d4804f9f4154bf7033a06e98af
[ "MIT" ]
null
null
null
2021/day18/node.py
tcmitchell/AdventOfCode
caaac1aa37c999d4804f9f4154bf7033a06e98af
[ "MIT" ]
null
null
null
from __future__ import annotations import logging import math from typing import Union, Optional class Node: def __init__(self): self.parent: Union[Node, None] = None self.left: Union[Node, None] = None self.right: Union[Node, None] = None def explode(self, depth=0) -> bool: ...
28.668919
85
0.589913
541
4,243
4.484288
0.162662
0.049464
0.030915
0.018549
0.239077
0.188376
0.09934
0.06183
0.029678
0
0
0.006038
0.297431
4,243
147
86
28.863946
0.807783
0.007542
0
0.283186
0
0
0.046816
0.008555
0
0
0
0
0
1
0.212389
false
0.00885
0.035398
0.079646
0.442478
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
689721e9bd13084e8c90ea78800aa91db45341c5
1,150
py
Python
pystiche_papers/utils/cuda.py
jbueltemeier/pystiche_papers
d162c2db87251f9e3280fea35cf149d030dc335b
[ "BSD-3-Clause" ]
4
2020-06-08T11:49:41.000Z
2021-04-09T16:16:42.000Z
pystiche_papers/utils/cuda.py
jbueltemeier/pystiche_papers
d162c2db87251f9e3280fea35cf149d030dc335b
[ "BSD-3-Clause" ]
229
2020-06-08T07:24:25.000Z
2021-01-08T07:16:02.000Z
pystiche_papers/utils/cuda.py
pystiche/papers
0d8179dc51f6eda0b27fa525dc0b86b866bc88e1
[ "BSD-3-Clause" ]
2
2020-06-09T06:10:50.000Z
2020-07-29T08:07:40.000Z
import contextlib import warnings from typing import Any, Callable, Iterator __all__ = [ "CudaOutOfMemoryError", "CudaOutOfMemoryWarning", "use_cuda_out_of_memory_error", "abort_if_cuda_memory_exausts", ] class CudaOutOfMemoryError(RuntimeError): pass class CudaOutOfMemoryWarning(RuntimeWarning...
25.555556
73
0.683478
129
1,150
5.775194
0.372093
0.056376
0.072483
0.120805
0.22953
0.165101
0.072483
0
0
0
0
0
0.231304
1,150
44
74
26.136364
0.84276
0
0
0.121212
0
0
0.146087
0.067826
0
0
0
0
0
1
0.121212
false
0.060606
0.090909
0.030303
0.393939
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
689eb6223bc7f12c3fdd5d0ab41dec463b506576
1,645
py
Python
about_Pyppeteer/info.py
jiaxiaochu/Crawler
bb54d515dc217c27574b36124e16fd5b993775bd
[ "MIT" ]
null
null
null
about_Pyppeteer/info.py
jiaxiaochu/Crawler
bb54d515dc217c27574b36124e16fd5b993775bd
[ "MIT" ]
1
2020-08-27T10:25:38.000Z
2020-08-27T10:25:38.000Z
about_Pyppeteer/info.py
jiaxiaochu/Crawler
bb54d515dc217c27574b36124e16fd5b993775bd
[ "MIT" ]
null
null
null
import asyncio import pyppeteer async def main(): browser = await pyppeteer.launch( headless=False, defaultViewport={'width': 1366, 'height': 668}, args=['--windows-size=1366,768'] ) page = await browser.newPage() url = 'http://show.ybccode.com/travel/' await page.goto(url)...
26.111111
73
0.626748
191
1,645
5.361257
0.424084
0.105469
0.099609
0.087891
0.149414
0.149414
0.123047
0
0
0
0
0.027756
0.233435
1,645
62
74
26.532258
0.784298
0.315502
0
0.15625
0
0
0.116848
0.020833
0
0
0
0
0
0
null
null
0.03125
0.0625
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
68a4ce4e19a5774cd4035d973d484481dc5890f6
300
py
Python
scripts/v1/polylogyx_apis/__init__.py
kishore-arava/plgx-esp-sdk
26fe7133ef1fd78ff5de54c089c55100e30983a4
[ "MIT" ]
null
null
null
scripts/v1/polylogyx_apis/__init__.py
kishore-arava/plgx-esp-sdk
26fe7133ef1fd78ff5de54c089c55100e30983a4
[ "MIT" ]
null
null
null
scripts/v1/polylogyx_apis/__init__.py
kishore-arava/plgx-esp-sdk
26fe7133ef1fd78ff5de54c089c55100e30983a4
[ "MIT" ]
4
2019-12-09T06:41:15.000Z
2020-11-27T05:58:06.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- __title__ = 'polylogyx-api' __version__ = '2.0.0' __author__ = 'PolyLogyx' __license__ = 'MIT' __copyright__ = 'Copyright (C) 2019 PolyLogyx' try: import requests except ImportError: pass from .api import PolylogyxApi, ApiError
18.75
47
0.666667
34
300
5.294118
0.823529
0
0
0
0
0
0
0
0
0
0
0.033613
0.206667
300
15
48
20
0.722689
0.14
0
0
0
0
0.240664
0
0
0
0
0
0
1
0
false
0.1
0.3
0
0.3
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
d79f390e69c3d47f25ce9934bf370cf0fb1a8ec5
2,111
py
Python
gomill/utils.py
BenisonSam/goprime
3613f643ee765b4ad48ebdc27bd9f1121b1c5298
[ "MIT" ]
null
null
null
gomill/utils.py
BenisonSam/goprime
3613f643ee765b4ad48ebdc27bd9f1121b1c5298
[ "MIT" ]
null
null
null
gomill/utils.py
BenisonSam/goprime
3613f643ee765b4ad48ebdc27bd9f1121b1c5298
[ "MIT" ]
null
null
null
"""Domain-independent utility functions for gomill. This module is designed to be used with 'from utils import *'. This is for generic utilities; see common for Go-specific utility functions. """ from __future__ import division import errno import os __all__ = ["format_float", "format_percent", "sanitise_utf8", "...
22.698925
80
0.611085
291
2,111
4.381443
0.498282
0.015686
0.015686
0.017255
0
0
0
0
0
0
0
0.016469
0.28091
2,111
92
81
22.945652
0.823452
0.453813
0
0.15
0
0
0.093484
0
0
0
0
0
0
1
0.15
false
0
0.125
0.05
0.525
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
d7a073e5a45c2479a9ebf06aa3970b3bc23d449e
247
py
Python
inqbus.lidar.components/src/inqbus/lidar/components/params.py
sandrarum/inqbus.lidar
74d35f5a786813909a868bc4433bcf88e9541e72
[ "MIT" ]
null
null
null
inqbus.lidar.components/src/inqbus/lidar/components/params.py
sandrarum/inqbus.lidar
74d35f5a786813909a868bc4433bcf88e9541e72
[ "MIT" ]
null
null
null
inqbus.lidar.components/src/inqbus/lidar/components/params.py
sandrarum/inqbus.lidar
74d35f5a786813909a868bc4433bcf88e9541e72
[ "MIT" ]
null
null
null
# Params change with every run of the application and will be changed by the UI MEASUREMENT_ID = '' COMMENT = 'preliminary data' SONDE_NAME = '2015083012lin.txt' OVL_FILES = ['15083000_607.dat'] POLLY_FILES = ['2015_05_01_Fri_DWD_00_03_31.nc']
24.7
79
0.765182
40
247
4.425
0.95
0
0
0
0
0
0
0
0
0
0
0.165094
0.1417
247
9
80
27.444444
0.669811
0.311741
0
0
0
0
0.470238
0.178571
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d7a583ef8b30f2586383485e8942ab824f3e31a4
672
py
Python
test/mac/gyptest-type-envvars.py
kaadam/GYP
86ab71caad4640dcc3ec572c2118a1ce3f24150f
[ "BSD-3-Clause" ]
11
2019-07-30T14:15:13.000Z
2020-08-17T10:03:46.000Z
test/mac/gyptest-type-envvars.py
kaadam/GYP
86ab71caad4640dcc3ec572c2118a1ce3f24150f
[ "BSD-3-Clause" ]
25
2018-10-18T15:39:07.000Z
2019-07-03T00:40:01.000Z
test/mac/gyptest-type-envvars.py
kaadam/GYP
86ab71caad4640dcc3ec572c2118a1ce3f24150f
[ "BSD-3-Clause" ]
15
2018-10-18T14:40:18.000Z
2019-07-02T16:25:55.000Z
#!/usr/bin/env python # Copyright (c) 2012 Google Inc. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """ Test that MACH_O_TYPE etc are set correctly. """ import os import sys if sys.platform != 'darwin' or os.environ.get('TRAVIS') == 'true...
25.846154
105
0.705357
106
672
4.386792
0.716981
0.030108
0.068817
0
0
0
0
0
0
0
0
0.008651
0.139881
672
25
106
26.88
0.795848
0.421131
0
0
0
0
0.35809
0.129973
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.111111
0
0
0
null
0
0
0
0
0
0
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
d7ad96abbdfcbfd6c84440e30953a22f09fc66a5
476
py
Python
products/migrations/0002_auto_20200629_2249.py
vitorpvcampos/gomenu
e61d9d843a191dfca9c8ce0f587075cbd84319fe
[ "MIT" ]
4
2020-08-13T12:07:33.000Z
2022-02-20T11:18:54.000Z
products/migrations/0002_auto_20200629_2249.py
vitorpvcampos/gomenu
e61d9d843a191dfca9c8ce0f587075cbd84319fe
[ "MIT" ]
246
2020-06-30T14:28:22.000Z
2022-03-27T14:51:58.000Z
products/migrations/0002_auto_20200629_2249.py
vitorpvcampos/gomenu
e61d9d843a191dfca9c8ce0f587075cbd84319fe
[ "MIT" ]
1
2020-08-13T12:06:50.000Z
2020-08-13T12:06:50.000Z
# Generated by Django 3.0.7 on 2020-06-30 01:49 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('products', '0001_initial'), ] operations = [ migrations.AlterUniqueTogether( name='productvariation', unique_together={('pro...
21.636364
55
0.584034
41
476
6.707317
0.804878
0.145455
0
0
0
0
0
0
0
0
0
0.056886
0.298319
476
21
56
22.666667
0.766467
0.094538
0
0.133333
1
0
0.181818
0
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
d7ae23dce83bba662a055fa7f9079ba50a8a7a71
1,646
py
Python
gtpscontroller.py
Purge0827/GTPS-Controller
3d697dbd7ca3585d85a5340076c98c96247db54b
[ "MIT" ]
null
null
null
gtpscontroller.py
Purge0827/GTPS-Controller
3d697dbd7ca3585d85a5340076c98c96247db54b
[ "MIT" ]
null
null
null
gtpscontroller.py
Purge0827/GTPS-Controller
3d697dbd7ca3585d85a5340076c98c96247db54b
[ "MIT" ]
null
null
null
import discord from discord.ext import commands from discord import Client import os, psutil from datetime import datetime bot = commands.Bot(command_prefix="<") client.remove_command('help') TOKEN = 'your precious token' Client = discord.Client() @bot.event async def on_ready(): print(f"...
28.37931
200
0.648846
236
1,646
4.5
0.381356
0.07533
0.09887
0.118644
0.10452
0.045198
0
0
0
0
0
0.004633
0.213244
1,646
58
201
28.37931
0.815444
0
0
0.152174
0
0.021739
0.301887
0
0
0
0.005031
0
0
0
null
null
0
0.108696
null
null
0.021739
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
d7afa96e394373ecef6d9abbc20d949eff3e1c4f
4,040
py
Python
katpoint/test/test_timestamp.py
kernsuite-debian/katpoint
99bf36607cc8df9ab3d7706b9f2fc57be7097a83
[ "BSD-3-Clause" ]
null
null
null
katpoint/test/test_timestamp.py
kernsuite-debian/katpoint
99bf36607cc8df9ab3d7706b9f2fc57be7097a83
[ "BSD-3-Clause" ]
1
2021-03-30T05:51:47.000Z
2021-03-30T05:51:47.000Z
katpoint/test/test_timestamp.py
kernsuite-debian/katpoint
99bf36607cc8df9ab3d7706b9f2fc57be7097a83
[ "BSD-3-Clause" ]
1
2017-02-01T10:34:37.000Z
2017-02-01T10:34:37.000Z
################################################################################ # Copyright (c) 2009-2019, National Research Foundation (Square Kilometre Array) # # Licensed under the BSD 3-Clause License (the "License"); you may not use # this file except in compliance with the License. You may obtain a copy # of the...
51.139241
113
0.519059
523
4,040
3.967495
0.302103
0.089639
0.104096
0.106024
0.311325
0.279518
0.216867
0.216867
0.216867
0.216867
0
0.206028
0.30198
4,040
78
114
51.794872
0.529787
0.210149
0
0.040816
0
0
0.281041
0
0
0
0
0
0.204082
1
0.061224
false
0
0.081633
0
0.163265
0.020408
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
d7b1a3ecb3a762d0499f63b65bcb427cdfd986bf
298
py
Python
src/diveg/extensions.py
Kortforsyningen/diveg
43994b5c3aefae65a61366a9c7b6a9c9f99fd0e8
[ "MIT" ]
1
2022-02-16T05:21:31.000Z
2022-02-16T05:21:31.000Z
src/diveg/extensions.py
Kortforsyningen/diveg
43994b5c3aefae65a61366a9c7b6a9c9f99fd0e8
[ "MIT" ]
null
null
null
src/diveg/extensions.py
Kortforsyningen/diveg
43994b5c3aefae65a61366a9c7b6a9c9f99fd0e8
[ "MIT" ]
1
2022-02-01T11:48:10.000Z
2022-02-01T11:48:10.000Z
from typing import ( Union, Iterable, ) import pandas as pd import geopandas as gpd def safe_drop(df: Union[pd.DataFrame, gpd.GeoDataFrame], columns: Iterable[str]) -> pd.Index: existing = [column for column in columns if column in df.columns] return df.columns.drop(existing)
19.866667
93
0.714765
43
298
4.930233
0.581395
0.075472
0
0
0
0
0
0
0
0
0
0
0.191275
298
14
94
21.285714
0.879668
0
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0.333333
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
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
d7b21b546a878f829ee92d6be385595daad36d90
484
py
Python
problem/urls/admin_urls.py
BattleJudge/ojBE
a56839a625f8947212021018d30d357713757555
[ "MIT" ]
2
2021-05-30T14:43:08.000Z
2021-05-30T15:18:48.000Z
problem/urls/admin_urls.py
BattleJudge/ojBE
a56839a625f8947212021018d30d357713757555
[ "MIT" ]
null
null
null
problem/urls/admin_urls.py
BattleJudge/ojBE
a56839a625f8947212021018d30d357713757555
[ "MIT" ]
null
null
null
from django.urls import path from ..views.admin_views import (ProblemListAPI, ProblemAPI, ProblemTagAPI, ProblemTestCaseAPI, ) urlpatterns = [ path('problem_list/', ProblemListAPI.as_view(), name='admin_problem_list'), path('problem/', ProblemAPI.as_view(), name='admin_problem')...
48.4
83
0.700413
53
484
6.113208
0.415094
0.074074
0.123457
0.185185
0.203704
0
0
0
0
0
0
0
0.157025
484
10
84
48.4
0.794118
0
0
0
0
0
0.230928
0.045361
0
0
0
0
0
1
0
false
0
0.222222
0
0.222222
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
d7c49c7e9a0106cebff40b6d50bc91f74bd7faca
272
py
Python
reporters/filters.py
hdknr/django-reporters
dffb8a62121d36e3580cb257cfe238ffcd464e8f
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
reporters/filters.py
hdknr/django-reporters
dffb8a62121d36e3580cb257cfe238ffcd464e8f
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
reporters/filters.py
hdknr/django-reporters
dffb8a62121d36e3580cb257cfe238ffcd464e8f
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
import logging import re class ExcludeImageFilter(logging.Filter): def filter(self, record): message = record.getMessage() if re.search(r"GET\s+.+\.(jpg|png|gif|jpeg)\s+HTTP", message): return False return super().filter(record)
22.666667
70
0.636029
34
272
5.088235
0.705882
0
0
0
0
0
0
0
0
0
0
0
0.227941
272
11
71
24.727273
0.82381
0
0
0
0
0
0.128676
0.128676
0
0
0
0
0
1
0.125
false
0
0.25
0
0.75
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
d7c75027dbf60f0fc2762978afc5e9e2785d4e9b
721
py
Python
src/main.py
koiic/licensing
f1f27b5e159e6491f45172fec18fee43c5481038
[ "CNRI-Python" ]
null
null
null
src/main.py
koiic/licensing
f1f27b5e159e6491f45172fec18fee43c5481038
[ "CNRI-Python" ]
null
null
null
src/main.py
koiic/licensing
f1f27b5e159e6491f45172fec18fee43c5481038
[ "CNRI-Python" ]
null
null
null
from src.data import db from src.customer import Customer from src.plan import SinglePlan, PlusPlan, InfinitePlan from src.utilities.messages import messages def customer_registration(name, password, email): check_user_exist(email) new_customer = Customer(name, password, email) new_customer.commit() r...
28.84
67
0.747573
91
721
5.78022
0.406593
0.053232
0.064639
0.072243
0.136882
0.136882
0
0
0
0
0
0
0.156727
721
24
68
30.041667
0.865132
0
0
0
0
0
0.088766
0
0
0
0
0
0
1
0.166667
false
0.222222
0.222222
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
d7cbb303080c07b91ba6367a0b7462f7a44fd729
1,043
py
Python
python/91_decode_ways.py
liaison/LeetCode
8b10a1f6bbeb3ebfda99248994f7c325140ee2fd
[ "MIT" ]
17
2016-03-01T22:40:53.000Z
2021-04-19T02:15:03.000Z
python/91_decode_ways.py
liaison/LeetCode
8b10a1f6bbeb3ebfda99248994f7c325140ee2fd
[ "MIT" ]
null
null
null
python/91_decode_ways.py
liaison/LeetCode
8b10a1f6bbeb3ebfda99248994f7c325140ee2fd
[ "MIT" ]
3
2019-03-07T03:48:43.000Z
2020-04-05T01:11:36.000Z
""" A message containing letters from A-Z is being encoded to numbers using the following mapping: 'A' -> 1 'B' -> 2 ... 'Z' -> 26 Given a non-empty string containing only digits, determine the total number of ways to decode it. Example 1: Input: "12" Output: 2 Explanation: It could be decoded as "AB" (1...
22.191489
109
0.536913
151
1,043
3.695364
0.562914
0.080645
0.089606
0.114695
0.091398
0
0
0
0
0
0
0.047619
0.33557
1,043
46
110
22.673913
0.757576
0.465964
0
0.117647
0
0
0.001845
0
0
0
0
0
0
1
0.117647
false
0
0.058824
0.058824
0.588235
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
d7d086d6e2ea6e8332c72bf0a931e3ed616ec89e
6,290
py
Python
sdk2-src/src/azure-ml/azure/ml/_operations/datastore_operations.py
DamovisaOrg/azureml-v2-preview
9c5ed1003c19f4d5b19dbea4a7c507e101149139
[ "MIT" ]
1
2021-09-27T07:54:40.000Z
2021-09-27T07:54:40.000Z
sdk2-src/src/azure-ml/azure/ml/_operations/datastore_operations.py
DamovisaOrg/azureml-v2-preview
9c5ed1003c19f4d5b19dbea4a7c507e101149139
[ "MIT" ]
null
null
null
sdk2-src/src/azure-ml/azure/ml/_operations/datastore_operations.py
DamovisaOrg/azureml-v2-preview
9c5ed1003c19f4d5b19dbea4a7c507e101149139
[ "MIT" ]
null
null
null
# --------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # --------------------------------------------------------- from typing import Dict, Iterable from azure.ml.constants import API_VERSION_2020_09_01_PREVIEW from azure.ml._datastore.datastore_utiliti...
42.214765
120
0.66089
651
6,290
6.038402
0.236559
0.062834
0.059527
0.028491
0.392521
0.319257
0.287967
0.265073
0.256169
0.256169
0
0.01204
0.260572
6,290
148
121
42.5
0.833154
0.162162
0
0.322034
0
0
0
0
0
0
0
0.013514
0
1
0.059322
false
0
0.050847
0.008475
0.169492
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
d7d345f2fe994b5863ae83ccf5b5c390628bf726
9,834
py
Python
src/OTLMOW/OTLModel/BaseClasses/OTLAttribuut.py
davidvlaminck/OTLClassPython
71330afeb37c3ea6d9981f521ff8f4a3f8b946fc
[ "MIT" ]
2
2022-02-01T08:58:11.000Z
2022-02-08T13:35:17.000Z
src/OTLMOW/OTLModel/BaseClasses/OTLAttribuut.py
davidvlaminck/OTLMOW
71330afeb37c3ea6d9981f521ff8f4a3f8b946fc
[ "MIT" ]
null
null
null
src/OTLMOW/OTLModel/BaseClasses/OTLAttribuut.py
davidvlaminck/OTLMOW
71330afeb37c3ea6d9981f521ff8f4a3f8b946fc
[ "MIT" ]
null
null
null
import math import warnings from datetime import datetime from OTLMOW.Facility.DotnotatieHelper import DotnotatieHelper from OTLMOW.Facility.Exceptions.MethodNotApplicableError import MethodNotApplicableError from OTLMOW.OTLModel.BaseClasses.AttributeInfo import AttributeInfo from OTLMOW.OTLModel.BaseClasses.CachedPr...
46.386792
172
0.582977
1,065
9,834
5.200939
0.176526
0.048745
0.017873
0.022748
0.309262
0.222964
0.200397
0.172594
0.149485
0.109045
0
0.002291
0.334249
9,834
211
173
46.606635
0.843592
0.006406
0
0.238095
0
0.037037
0.16287
0.041313
0
0
0
0
0
0
null
null
0
0.05291
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
d7db380accb0dafbe43bbee2bf1adaf923a4dace
1,115
py
Python
backend/api/blogpost_content/migrations/0001_initial.py
jacorea/ismp
81cf55559005753f3055165689889b18aec958ac
[ "CC0-1.0" ]
3
2020-05-08T03:51:43.000Z
2020-06-13T23:12:26.000Z
backend/api/blogpost_content/migrations/0001_initial.py
jacorea/ismp
81cf55559005753f3055165689889b18aec958ac
[ "CC0-1.0" ]
15
2020-05-04T05:49:17.000Z
2020-06-01T21:31:03.000Z
backend/api/blogpost_content/migrations/0001_initial.py
jacorea/ismp
81cf55559005753f3055165689889b18aec958ac
[ "CC0-1.0" ]
11
2020-05-01T04:35:24.000Z
2020-05-28T17:17:21.000Z
# Generated by Django 3.0.5 on 2020-05-09 23:58 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('blogpost', '0001_initial'), ] operations = [ migrations.CreateModel( name='B...
34.84375
91
0.489686
93
1,115
5.741935
0.623656
0.044944
0.052434
0.082397
0
0
0
0
0
0
0
0.035928
0.400897
1,115
31
92
35.967742
0.763473
0.040359
0
0
1
0
0.109551
0
0
0
0
0
0
1
0
false
0
0.08
0
0.24
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d7dbd568f3dab7c8c3d5034d6c79df2ac22fc71e
3,874
py
Python
6_google_trace/SONIA/testing/feature_encoder/draw_dataset.py
nguyenthieu95/machine_learning
40595a003815445a7a9fef7e8925f71d19f8fa30
[ "MIT" ]
1
2017-12-30T20:10:07.000Z
2017-12-30T20:10:07.000Z
6_google_trace/SONIA/testing/feature_encoder/draw_dataset.py
ThieuNv/machine_learning
40595a003815445a7a9fef7e8925f71d19f8fa30
[ "MIT" ]
null
null
null
6_google_trace/SONIA/testing/feature_encoder/draw_dataset.py
ThieuNv/machine_learning
40595a003815445a7a9fef7e8925f71d19f8fa30
[ "MIT" ]
1
2019-12-23T15:30:16.000Z
2019-12-23T15:30:16.000Z
#!/usr/bin/env python2 # -*- coding: utf-8 -*- """ Created on Thu Feb 8 17:18:27 2018 @author: thieunv - ANN using tensorflow, scale input data """ # Import the needed libraries import numpy as np from pandas import read_csv import matplotlib.pyplot as plt from sklearn import preprocessing class AnnModel(object):...
36.895238
134
0.676562
542
3,874
4.54797
0.258303
0.058418
0.044625
0.038945
0.283164
0.189452
0.166734
0.121704
0.027586
0
0
0.022457
0.218379
3,874
104
135
37.25
0.791612
0.258647
0
0
0
0
0.10798
0.072108
0
0
0
0
0
0
null
null
0
0.081633
null
null
0.061224
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
d7e205a1f9633b80f27aa4d63eafa5d231acd7f4
772
py
Python
leetcode/Tree/814. Binary Tree Pruning.py
lixiaoruiusa/Rui7272
fbdb87104353138d3af7f3fe2cb3c0f00ff9e449
[ "MIT" ]
null
null
null
leetcode/Tree/814. Binary Tree Pruning.py
lixiaoruiusa/Rui7272
fbdb87104353138d3af7f3fe2cb3c0f00ff9e449
[ "MIT" ]
null
null
null
leetcode/Tree/814. Binary Tree Pruning.py
lixiaoruiusa/Rui7272
fbdb87104353138d3af7f3fe2cb3c0f00ff9e449
[ "MIT" ]
null
null
null
# Definition for a binary tree node. # class TreeNode: # def __init__(self, val=0, left=None, right=None): # self.val = val # self.left = left # self.right = right class Solution: def pruneTree(self, root: TreeNode) -> TreeNode: if not root: return None root....
29.692308
127
0.642487
115
772
4.278261
0.434783
0.04878
0.069106
0.052846
0
0
0
0
0
0
0
0.003552
0.270725
772
26
128
29.692308
0.870337
0.231865
0
0.222222
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0
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
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
d7e3394f043e9298cc952486f73f2eaaa2209238
1,322
py
Python
python/pyoauth2/foursquare.py
ymotongpoo/restroom
d225ed4e08576d5e1f2cd9b9018ce7a21a98de49
[ "Apache-2.0" ]
1
2015-05-16T02:59:41.000Z
2015-05-16T02:59:41.000Z
python/pyoauth2/foursquare.py
ymotongpoo/restroom
d225ed4e08576d5e1f2cd9b9018ce7a21a98de49
[ "Apache-2.0" ]
null
null
null
python/pyoauth2/foursquare.py
ymotongpoo/restroom
d225ed4e08576d5e1f2cd9b9018ce7a21a98de49
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- from pyoauth2.client import OAuth2AuthorizationFlow, FileStorage, OAuth2APIRequest if __name__ == '__main__': fsq_venue_uri = r"https://api.foursquare.com/v2/users/self/venuehistory" required_params = { 'client_id': "QMOIJFCZI4GM3SPTT3JRZI4CAQV40XVW0F2F20YUF2DXGWNB", ...
30.045455
82
0.639183
121
1,322
6.669421
0.504132
0.054523
0.027261
0.049566
0.071871
0.071871
0
0
0
0
0
0.033435
0.253404
1,322
43
83
30.744186
0.784195
0.015885
0
0
0
0
0.315627
0.073903
0
0
0
0
0
0
null
null
0
0.033333
null
null
0.033333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
d7e45c9a7de58ef6c872a9d5c40cfc90cc037cfa
3,172
py
Python
generate_auth.py
livingstonetech/port-knocking-totp
6316ad240ccc1a7ea9760d43592680491c72d08d
[ "MIT" ]
13
2019-05-15T00:42:34.000Z
2021-09-03T12:22:49.000Z
generate_auth.py
livingstonetech/port-knocking-totp
6316ad240ccc1a7ea9760d43592680491c72d08d
[ "MIT" ]
null
null
null
generate_auth.py
livingstonetech/port-knocking-totp
6316ad240ccc1a7ea9760d43592680491c72d08d
[ "MIT" ]
4
2020-07-02T03:39:52.000Z
2021-06-26T22:55:13.000Z
#!/usr/bin/env python3 """ Script to generate Google Auth TOTP Secret and the QR Image for the same """ from argparse import ArgumentParser import platform import sys import pyotp import qrcode def generate_qrcode(host, secret): """ Generates QRCode image. Saves in the fashion <hostname>.png """ if ho...
28.576577
73
0.607188
396
3,172
4.752525
0.371212
0.035069
0.045165
0.025505
0.040383
0
0
0
0
0
0
0.009028
0.266709
3,172
110
74
28.836364
0.800086
0.113808
0
0.190476
1
0
0.221659
0.013401
0
0
0
0
0
1
0.02381
false
0
0.059524
0
0.083333
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d7e52abc037d95437df5d0ea36afff864c5b0dc1
280
py
Python
dhhd/store/urls.py
smhilde/dhhd_project
c5cbd4439bced6f84bc76bcd2cac19fb7f00a9a1
[ "Apache-2.0" ]
null
null
null
dhhd/store/urls.py
smhilde/dhhd_project
c5cbd4439bced6f84bc76bcd2cac19fb7f00a9a1
[ "Apache-2.0" ]
null
null
null
dhhd/store/urls.py
smhilde/dhhd_project
c5cbd4439bced6f84bc76bcd2cac19fb7f00a9a1
[ "Apache-2.0" ]
null
null
null
from django.conf.urls import patterns, url from store import views urlpatterns = patterns('', url(r'^$', views.index, name='store'), url(r'^cart/$', views.cart, name='cart'), url(r'^checkout/$', views.checkout, name='checkout'), url(r'^terms/$', views.terms, name='terms'), )
31.111111
54
0.667857
40
280
4.675
0.4
0.085562
0
0
0
0
0
0
0
0
0
0
0.103571
280
9
55
31.111111
0.74502
0
0
0
0
0
0.177936
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d7e64524196ccff3aefe67ceaf994f75f339fec1
1,202
py
Python
Tree.py
Shubhammehta2012/Tree
acdd1014026063236a78e42b1e78863ad2eb4545
[ "Apache-2.0" ]
null
null
null
Tree.py
Shubhammehta2012/Tree
acdd1014026063236a78e42b1e78863ad2eb4545
[ "Apache-2.0" ]
null
null
null
Tree.py
Shubhammehta2012/Tree
acdd1014026063236a78e42b1e78863ad2eb4545
[ "Apache-2.0" ]
null
null
null
class Node(object): def __init__(self, data = None): self.left = None self.right = None self.data = data def setLeft(self, node): self.left = node def setRight(self, node): self.right = node def getLeft(self): return self.left def getRight(self): ...
20.372881
40
0.575707
138
1,202
4.927536
0.246377
0.058824
0.061765
0.083824
0
0
0
0
0
0
0
0.004695
0.291181
1,202
58
41
20.724138
0.793427
0
0
0.23913
0
0
0.060732
0
0
0
0
0
0
1
0.217391
false
0
0
0.065217
0.369565
0.130435
0
0
0
null
0
0
0
0
0
0
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
d7eb1e2d413b0df05828cbcbfa0e7979aff20865
4,826
py
Python
gather/quote/crawl_xueqiu.py
largetalk/tenbagger
f36b4f1ae2ffd3bcaefe1760a95e18f1727bda96
[ "MIT" ]
1
2020-07-29T23:03:55.000Z
2020-07-29T23:03:55.000Z
gather/quote/crawl_xueqiu.py
largetalk/tenbagger
f36b4f1ae2ffd3bcaefe1760a95e18f1727bda96
[ "MIT" ]
8
2020-03-24T15:37:43.000Z
2021-06-10T19:42:27.000Z
gather/quote/crawl_xueqiu.py
largetalk/tenbagger
f36b4f1ae2ffd3bcaefe1760a95e18f1727bda96
[ "MIT" ]
null
null
null
#coding:utf-8 import gevent.monkey gevent.monkey.patch_socket() from gevent.pool import Pool from gevent.subprocess import Popen, PIPE import os import sys import urllib2 import gevent import time import json from pyquery import PyQuery as pq POOL_NUM = 2 BASE_DIR = os.path.dirname(os.path.abspath(__file__)) STOCK_F...
37.703125
542
0.613966
663
4,826
4.343891
0.282051
0.03125
0.03125
0.029167
0.405208
0.356944
0.269444
0.227778
0.227778
0.209028
0
0.086752
0.252383
4,826
127
543
38
0.711475
0.007045
0
0.327273
0
0.036364
0.273904
0.102088
0
0
0
0
0
0
null
null
0
0.1
null
null
0.163636
0
0
0
null
0
0
0
0
0
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
d7ecfd84c21639daed22de459a3417db3e370eef
23,659
py
Python
prox/pyproxmox.py
luomoxu/proxmox-tools
cfd4d7333969d3ad8af80f15be56d0d5052fee4e
[ "Apache-2.0" ]
36
2017-04-25T10:48:49.000Z
2021-08-15T16:09:16.000Z
prox/pyproxmox.py
luomoxu/proxmox-tools
cfd4d7333969d3ad8af80f15be56d0d5052fee4e
[ "Apache-2.0" ]
4
2016-10-31T17:51:04.000Z
2019-03-13T17:43:55.000Z
prox/pyproxmox.py
luomoxu/proxmox-tools
cfd4d7333969d3ad8af80f15be56d0d5052fee4e
[ "Apache-2.0" ]
7
2018-09-17T05:56:20.000Z
2022-03-26T15:49:07.000Z
""" Taken from here and slightly modified. https://github.com/Daemonthread/pyproxmox A python wrapper for the Proxmox 2.x API. Example usage: 1) Create an instance of the prox_auth class by passing in the url or ip of a server, username and password: a = prox_auth('vnode01.example.org','apiuser@pve','examplePassw...
36.23124
117
0.605901
2,827
23,659
5.026176
0.141846
0.051798
0.092899
0.05954
0.591667
0.522415
0.468365
0.395524
0.336618
0.271518
0
0.001762
0.256308
23,659
652
118
36.28681
0.805797
0.234372
0
0.360704
0
0
0.138374
0.065228
0
0
0
0
0
1
0.26393
false
0.005865
0.002933
0
0.530792
0.005865
0
0
0
null
0
0
0
0
0
0
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
d7f8ab9cdcae6545037965781fc7b4ab9a7b54b1
855
py
Python
1001-1100/1094-Second Minimum Node In a Binary Tree/1094-Second Minimum Node In a Binary Tree.py
jiadaizhao/LintCode
a8aecc65c47a944e9debad1971a7bc6b8776e48b
[ "MIT" ]
77
2017-12-30T13:33:37.000Z
2022-01-16T23:47:08.000Z
1001-1100/1094-Second Minimum Node In a Binary Tree/1094-Second Minimum Node In a Binary Tree.py
jxhangithub/LintCode-1
a8aecc65c47a944e9debad1971a7bc6b8776e48b
[ "MIT" ]
1
2018-05-14T14:15:40.000Z
2018-05-14T14:15:40.000Z
1001-1100/1094-Second Minimum Node In a Binary Tree/1094-Second Minimum Node In a Binary Tree.py
jxhangithub/LintCode-1
a8aecc65c47a944e9debad1971a7bc6b8776e48b
[ "MIT" ]
39
2017-12-07T14:36:25.000Z
2022-03-10T23:05:37.000Z
""" Definition of TreeNode: class TreeNode: def __init__(self, val): self.val = val self.left, self.right = None, None """ class Solution: """ @param root: the root @return: the second minimum value in the set made of all the nodes' value in the whole tree """ def findSecondMini...
28.5
95
0.518129
97
855
4.525773
0.402062
0.091116
0.045558
0
0
0
0
0
0
0
0
0.005814
0.396491
855
29
96
29.482759
0.844961
0.315789
0
0
0
0
0
0
0
0
0
0.034483
0
1
0.125
false
0
0
0
0.5625
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
d7f9f696880d56080d92748684ef31c2a8991190
1,819
py
Python
letsplaycards/model/card.py
jcoady9/CardGames
a4ade5bb55a3492efda7048b89128500c3e1bdbf
[ "MIT" ]
null
null
null
letsplaycards/model/card.py
jcoady9/CardGames
a4ade5bb55a3492efda7048b89128500c3e1bdbf
[ "MIT" ]
12
2015-06-02T04:39:20.000Z
2015-06-26T01:22:11.000Z
letsplaycards/model/card.py
jcoady9/CardGames
a4ade5bb55a3492efda7048b89128500c3e1bdbf
[ "MIT" ]
null
null
null
# Copyright (c) 2015 Joshua Coady # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge, publish, distri...
31.912281
80
0.751512
281
1,819
4.75089
0.441281
0.065918
0.044944
0.035955
0.038202
0
0
0
0
0
0
0.003381
0.186916
1,819
57
81
31.912281
0.899256
0.722925
0
0
0
0
0.262763
0
0
0
0
0
0
1
0.230769
false
0
0
0
0.615385
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
d7fb9458409686fc99ac2d9750880fb87d9967e2
2,358
py
Python
machine_learning_library/model_linear_regression.py
UlricWu/machine_learning_library
e405161cfa7255505965f024be5b5cd416f0a3a5
[ "MIT" ]
null
null
null
machine_learning_library/model_linear_regression.py
UlricWu/machine_learning_library
e405161cfa7255505965f024be5b5cd416f0a3a5
[ "MIT" ]
null
null
null
machine_learning_library/model_linear_regression.py
UlricWu/machine_learning_library
e405161cfa7255505965f024be5b5cd416f0a3a5
[ "MIT" ]
null
null
null
from numpy import linalg import numpy as np from loguru import logger class Regression: def __init__(self, intercept=True): self.beta = None self.intercept = intercept def fit(self, features, labels): features = self._add_bias(features) self._fit(features, labels) def pre...
27.103448
101
0.620441
272
2,358
5.161765
0.275735
0.068376
0.035613
0.064103
0.264245
0.121795
0
0
0
0
0
0.01057
0.277778
2,358
86
102
27.418605
0.813858
0
0
0.254237
0
0
0.019941
0
0
0
0
0
0
1
0.20339
false
0
0.050847
0.016949
0.423729
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
d7fefd1fc13da5ab2831346e121c7593b80130f9
4,321
py
Python
tools/sparrow/leds.py
sics-iot/sparrow
3ab386ccd80293928da7d5a98c2b7a9ef5fb96f9
[ "BSD-3-Clause" ]
26
2016-07-15T06:18:27.000Z
2021-12-15T19:54:49.000Z
tools/sparrow/leds.py
sics-iot/sparrow
3ab386ccd80293928da7d5a98c2b7a9ef5fb96f9
[ "BSD-3-Clause" ]
34
2016-08-16T09:55:55.000Z
2018-02-19T09:53:47.000Z
tools/sparrow/leds.py
sics-iot/sparrow
3ab386ccd80293928da7d5a98c2b7a9ef5fb96f9
[ "BSD-3-Clause" ]
16
2016-08-21T06:38:29.000Z
2021-11-28T22:02:44.000Z
#!/usr/bin/env python # # Copyright (c) 2015-2016, SICS, Swedish ICT # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # 1. Redistributions of source code must retain the above copyright # noti...
32.488722
86
0.663967
644
4,321
4.391304
0.341615
0.039604
0.042433
0.019802
0.268388
0.210042
0.210042
0.188826
0.15099
0.15099
0
0.014519
0.234899
4,321
132
87
32.734848
0.840895
0.398519
0
0.417722
0
0.012658
0.088568
0.011315
0
0
0.001951
0
0
0
null
null
0
0.012658
null
null
0.075949
0
0
0
null
0
0
0
0
0
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
cc08ac289dc5086253a30deceb5ee40ea7f3a522
755
py
Python
setup.py
Tripzin/mlm-scoring
8ec316c4e12667b950756ae51329517ad6e9bbd5
[ "Apache-2.0" ]
null
null
null
setup.py
Tripzin/mlm-scoring
8ec316c4e12667b950756ae51329517ad6e9bbd5
[ "Apache-2.0" ]
null
null
null
setup.py
Tripzin/mlm-scoring
8ec316c4e12667b950756ae51329517ad6e9bbd5
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 from setuptools import find_packages, setup setup( name='mlm', version='0.1', description="Masked Language Model Scoring", author='Julian Salazar', packages=find_packages('src'), package_dir={'': 'src'}, entry_points={ 'console_scripts': ['mlm=mlm.cmds:main']...
20.405405
67
0.549669
77
755
5.272727
0.857143
0.059113
0
0
0
0
0
0
0
0
0
0.018904
0.299338
755
36
68
20.972222
0.748582
0.152318
0
0
0
0
0.281005
0
0
0
0
0
0
1
0
true
0
0.035714
0
0.035714
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
cc0b35c25b24c4a0e734c8f4bfed79081cf6f7e0
720
py
Python
Python/Topics/Sending-Email/06-html-attachment.py
shihab4t/Software-Development
0843881f2ba04d9fca34e44443b5f12f509f671e
[ "Unlicense" ]
null
null
null
Python/Topics/Sending-Email/06-html-attachment.py
shihab4t/Software-Development
0843881f2ba04d9fca34e44443b5f12f509f671e
[ "Unlicense" ]
null
null
null
Python/Topics/Sending-Email/06-html-attachment.py
shihab4t/Software-Development
0843881f2ba04d9fca34e44443b5f12f509f671e
[ "Unlicense" ]
null
null
null
import smtplib import os from email.message import EmailMessage EMAIL_ADDRESS = os.environ.get("GMAIL_ADDRESS") EMAIL_PASSWORD = os.environ.get("GMAIL_APP_PASS") with smtplib.SMTP_SSL("smtp.gmail.com", 465) as smtp: smtp.login(EMAIL_ADDRESS, EMAIL_PASSWORD) reciver = "shihab4tdev@gmail.com" msg = Email...
24
64
0.676389
99
720
4.79798
0.525253
0.075789
0.050526
0.071579
0
0
0
0
0
0
0
0.011804
0.176389
720
29
65
24.827586
0.789207
0
0
0
0
0
0.380556
0.069444
0
0
0
0
0
1
0
false
0.086957
0.130435
0
0.130435
0.043478
0
0
0
null
0
0
0
0
0
0
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
cc0ba3c36542ba0dc533f6f0ae06c98ae0784856
2,438
py
Python
precise_bbcode/placeholder_pool.py
slasyz/django-precise-bbcode
8734486a93c0f02a15b401571927ecbba088438e
[ "BSD-3-Clause" ]
null
null
null
precise_bbcode/placeholder_pool.py
slasyz/django-precise-bbcode
8734486a93c0f02a15b401571927ecbba088438e
[ "BSD-3-Clause" ]
null
null
null
precise_bbcode/placeholder_pool.py
slasyz/django-precise-bbcode
8734486a93c0f02a15b401571927ecbba088438e
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # Standard library imports # Third party imports from django.core.exceptions import ImproperlyConfigured # Local application / specific library imports from .bbcode.placeholder import BBCodePlaceholder from .core.loading import load class PlaceholderAlreadyRegistered(Exception): pass ...
32.078947
115
0.679245
241
2,438
6.796681
0.352697
0.082418
0.047619
0.02442
0.112332
0.112332
0.112332
0.054945
0.054945
0.054945
0
0.00055
0.254717
2,438
75
116
32.506667
0.900936
0.266612
0
0.102564
0
0
0.122281
0
0
0
0
0
0
1
0.128205
false
0.051282
0.076923
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
1
0
0
0
0
0
1
cc165c8176b3462e3a943b699d8705a81ab40b48
2,586
py
Python
falmer/content/pages.py
sussexstudent/services-api
ae735bd9d6177002c3d986e5c19a78102233308f
[ "MIT" ]
2
2017-04-27T19:35:59.000Z
2017-06-13T16:19:33.000Z
falmer/content/pages.py
sussexstudent/falmer
ae735bd9d6177002c3d986e5c19a78102233308f
[ "MIT" ]
975
2017-04-13T11:31:07.000Z
2022-02-10T07:46:18.000Z
falmer/content/pages.py
sussexstudent/services-api
ae735bd9d6177002c3d986e5c19a78102233308f
[ "MIT" ]
3
2018-05-09T06:42:25.000Z
2020-12-10T18:29:30.000Z
from time import time from django.conf import settings from django.core.exceptions import PermissionDenied from django.http import HttpResponse, JsonResponse, QueryDict from django.shortcuts import redirect, get_object_or_404 from wagtail.admin.views.pages import PreviewOnEdit from falmer.content.models import Previe...
41.047619
100
0.698376
352
2,586
4.971591
0.346591
0.028571
0.030857
0.036
0.054857
0
0
0
0
0
0
0.003457
0.216937
2,586
62
101
41.709677
0.860741
0.188708
0
0.052632
0
0
0.056061
0.027791
0
0
0
0.016129
0
1
0.078947
false
0
0.210526
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
1
0
0
0
0
0
0
0
0
0
0
1
cc19b396f459864723ea1b3de32c646b8977700d
762
py
Python
utils/parsers/blog_parsers.py
YahyaFazlani/blog-backend
1b277a9f3e75c359d8d3d831afe82259bb59cf28
[ "MIT" ]
null
null
null
utils/parsers/blog_parsers.py
YahyaFazlani/blog-backend
1b277a9f3e75c359d8d3d831afe82259bb59cf28
[ "MIT" ]
null
null
null
utils/parsers/blog_parsers.py
YahyaFazlani/blog-backend
1b277a9f3e75c359d8d3d831afe82259bb59cf28
[ "MIT" ]
null
null
null
from flask_restful import reqparse from werkzeug.datastructures import FileStorage blog_create_parser = reqparse.RequestParser(bundle_errors=True) blog_create_parser.add_argument("title", type=str, required=True) blog_create_parser.add_argument("content", type=str, required=True) blog_create_parser.add_argument( "...
47.625
74
0.84252
101
762
6.019802
0.326733
0.115132
0.184211
0.131579
0.509868
0.411184
0.360197
0.151316
0.151316
0
0
0
0.055118
762
15
75
50.8
0.844444
0
0
0
0
0
0.091864
0
0
0
0
0
0
1
0
false
0
0.153846
0
0.153846
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
cc2771c34dbe57d6a0c4649a4fa38778082e4fb4
387
py
Python
student/migrations/0004_auto_20211227_1543.py
Rekha-Pal/Bingo-Buddy
1ba705e049122faa6efb8b193d8bcd03680d9cb6
[ "MIT" ]
null
null
null
student/migrations/0004_auto_20211227_1543.py
Rekha-Pal/Bingo-Buddy
1ba705e049122faa6efb8b193d8bcd03680d9cb6
[ "MIT" ]
null
null
null
student/migrations/0004_auto_20211227_1543.py
Rekha-Pal/Bingo-Buddy
1ba705e049122faa6efb8b193d8bcd03680d9cb6
[ "MIT" ]
null
null
null
# Generated by Django 3.0.5 on 2021-12-27 10:13 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('student', '0003_game'), ] operations = [ migrations.AlterField( model_name='game', name='room_code', fie...
20.368421
64
0.591731
43
387
5.232558
0.837209
0
0
0
0
0
0
0
0
0
0
0.08
0.289406
387
18
65
21.5
0.738182
0.116279
0
0
1
0
0.085294
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
cc27f79b15552d34b801fdddb6c42617ce525f82
937
py
Python
tf_reservior_classification.py
Optimist-Prime/QML-for-MNIST-classification
7513b3faa548166dba3df927a248e8c7f1ab2a15
[ "BSD-3-Clause" ]
1
2020-02-04T12:51:47.000Z
2020-02-04T12:51:47.000Z
tf_reservior_classification.py
Optimist-Prime/QML-for-MNIST-classification
7513b3faa548166dba3df927a248e8c7f1ab2a15
[ "BSD-3-Clause" ]
null
null
null
tf_reservior_classification.py
Optimist-Prime/QML-for-MNIST-classification
7513b3faa548166dba3df927a248e8c7f1ab2a15
[ "BSD-3-Clause" ]
null
null
null
import pickle import tensorflow as tf train = pickle.load(open('train_pca_reservoir_output.pickle','rb')) test = pickle.load(open('test_pca_reservoir_output.pickle','rb')) x = tf.placeholder(tf.float32, [None, 784]) W = tf.Variable(tf.zeros([784, 10])) b = tf.Variable(tf.zeros([10])) y = tf.nn.softmax(tf.matmul(x, W)...
29.28125
82
0.729989
155
937
4.232258
0.451613
0.01372
0.042683
0.073171
0.158537
0
0
0
0
0
0
0.033175
0.099253
937
31
83
30.225806
0.744076
0
0
0
0
0
0.087513
0.06937
0
0
0
0
0
0
null
null
0
0.095238
null
null
0.095238
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
cc2a376298d8d740a2ce1ff41d69411b0a6d87f6
237
py
Python
donote/__init__.py
FedeClaudi/dawnote
a336984517d7a7bb5251848fa827ce8d2f2ed693
[ "MIT" ]
2
2020-10-24T21:54:03.000Z
2020-10-24T23:05:15.000Z
donote/__init__.py
FedeClaudi/dawnote
a336984517d7a7bb5251848fa827ce8d2f2ed693
[ "MIT" ]
null
null
null
donote/__init__.py
FedeClaudi/dawnote
a336984517d7a7bb5251848fa827ce8d2f2ed693
[ "MIT" ]
null
null
null
from pyinspect import install_traceback install_traceback() from .note import Note from .notes import ( open_note, create_new_note, list_notes, create_note_interactive, delete_note, edit_note, show_note, )
14.8125
39
0.725738
30
237
5.366667
0.5
0.198758
0
0
0
0
0
0
0
0
0
0
0.219409
237
15
40
15.8
0.87027
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.25
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
cc30ba61b664cd546679bec93704a458b62def8d
2,803
py
Python
batch.py
liminchen/bullet3
936653ed8a856316c8dda4d63ed149f4741abafd
[ "Zlib" ]
null
null
null
batch.py
liminchen/bullet3
936653ed8a856316c8dda4d63ed149f4741abafd
[ "Zlib" ]
null
null
null
batch.py
liminchen/bullet3
936653ed8a856316c8dda4d63ed149f4741abafd
[ "Zlib" ]
null
null
null
import subprocess import string # first, use genXML.py in rigid-ipc/tools/ to generate MJCF file input for bullet, # and compile Bullet with different time step sizes (can be modified in line 39 of # /Users/minchen/Desktop/bullet3/examples/Importers/ImportMJCFDemo/ImportMJCFSetup.cpp, # by default dt=0.01s) # then, ...
66.738095
265
0.674278
374
2,803
5.013369
0.360963
0.053333
0.064
0.0384
0.5792
0.4944
0.464533
0.4384
0.324267
0.324267
0
0.026091
0.165894
2,803
42
266
66.738095
0.775877
0.721013
0
0
1
0
0.295213
0.135638
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
cc316fadee684a4f3b0199570e1d3ab8290463bf
4,306
py
Python
strings.py
lvreynoso/CS1.3-Coursework
35a23b37e3f33e8cb37eab5355b138a807a05988
[ "MIT" ]
null
null
null
strings.py
lvreynoso/CS1.3-Coursework
35a23b37e3f33e8cb37eab5355b138a807a05988
[ "MIT" ]
2
2019-04-21T11:54:51.000Z
2019-05-19T06:14:47.000Z
strings.py
lvreynoso/CS1.3-Coursework
35a23b37e3f33e8cb37eab5355b138a807a05988
[ "MIT" ]
null
null
null
#!python def contains(text, pattern): """Return a boolean indicating whether pattern occurs in text.""" assert isinstance(text, str), 'text is not a string: {}'.format(text) assert isinstance(pattern, str), 'pattern is not a string: {}'.format(text) # kind of self explanatory if pattern in text: ...
44.854167
101
0.643521
612
4,306
4.480392
0.269608
0.052152
0.013129
0.026258
0.350474
0.243618
0.218089
0.218089
0.12108
0.12108
0
0.004974
0.252903
4,306
95
102
45.326316
0.847373
0.380167
0
0.169492
0
0
0.182373
0.016787
0
0
0
0.010526
0.101695
1
0.084746
false
0
0.016949
0
0.20339
0.152542
0
0
0
null
0
0
0
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
cc3263cf5154519544e9e984723a82125818ecd5
671
py
Python
api/elastic_connection.py
Lianghn/FFApiPy
b909ed494e2033bd2a216fbdce234af9301f1a3e
[ "MIT" ]
null
null
null
api/elastic_connection.py
Lianghn/FFApiPy
b909ed494e2033bd2a216fbdce234af9301f1a3e
[ "MIT" ]
null
null
null
api/elastic_connection.py
Lianghn/FFApiPy
b909ed494e2033bd2a216fbdce234af9301f1a3e
[ "MIT" ]
null
null
null
from elasticsearch import Elasticsearch from config.config_handling import get_config_value def connect_elasticsearch(**kwargs): _es_config = get_config_value('elastic', 'es_host') _es_hosts = [_es_config] _es_username= get_config_value('elasticusername', 'es_username') _es_passwd = get_config_value('...
35.315789
93
0.722802
85
671
5.235294
0.388235
0.080899
0.125843
0.080899
0
0
0
0
0
0
0
0.003597
0.171386
671
19
94
35.315789
0.796763
0
0
0
0
0
0.184524
0
0
0
0
0
0
1
0.0625
false
0.125
0.125
0
0.25
0.125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0bc55e88d9898d1f47495dd7da47de1c66b49fb9
3,236
py
Python
pybullet_playground/simulator_playground.py
JCampbell9/robot_hand_generator
d8d771e4187dd7b8feb38e16ff3755321bbff3e0
[ "MIT" ]
1
2022-03-29T07:29:18.000Z
2022-03-29T07:29:18.000Z
pybullet_playground/simulator_playground.py
JCampbell9/robot_hand_generator
d8d771e4187dd7b8feb38e16ff3755321bbff3e0
[ "MIT" ]
2
2022-03-09T07:03:36.000Z
2022-03-17T21:49:30.000Z
pybullet_playground/simulator_playground.py
JCampbell9/robot_hand_generator
d8d771e4187dd7b8feb38e16ff3755321bbff3e0
[ "MIT" ]
1
2022-01-18T19:12:32.000Z
2022-01-18T19:12:32.000Z
"""Script for testing the generated robot manipulators in a simply pybullet enviroment.""" # Author: Josh Campbell, campbjos@oregonstate.edu # Date: 3-14-2022 #!/usr/bin/python3 import pybullet as p import time import pybullet_data import os import json import glob class sim_tester(): """Simulator class to test...
29.962963
123
0.628245
405
3,236
4.864198
0.4
0.027919
0.022843
0.022335
0.073096
0.060914
0.060914
0.060914
0
0
0
0.021339
0.261434
3,236
107
124
30.242991
0.802929
0.212608
0
0
1
0
0.092938
0.05276
0
0
0
0
0
1
0.052632
false
0
0.105263
0
0.192982
0.017544
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
0bc605a49077c1c1cf31d4120e951a4f97b5df48
14,047
py
Python
LearningCurves/main_lrn_crv.py
NCI-DOE-Cababilities-Transfer/DOE-NCI-Pilot1-Learning
152a6e256304d7e4adfe73e7c8ad8e05d2b160e0
[ "MIT" ]
null
null
null
LearningCurves/main_lrn_crv.py
NCI-DOE-Cababilities-Transfer/DOE-NCI-Pilot1-Learning
152a6e256304d7e4adfe73e7c8ad8e05d2b160e0
[ "MIT" ]
null
null
null
LearningCurves/main_lrn_crv.py
NCI-DOE-Cababilities-Transfer/DOE-NCI-Pilot1-Learning
152a6e256304d7e4adfe73e7c8ad8e05d2b160e0
[ "MIT" ]
null
null
null
""" This script generates multiple learning curves for different training sets. It launches a script (e.g. trn_lrn_crv.py) that train ML model(s) on various training set sizes. """ from __future__ import print_function, division import warnings warnings.filterwarnings('ignore') import os import sys from pathlib impo...
40.019943
168
0.587955
1,781
14,047
4.417181
0.214486
0.025168
0.04754
0.010678
0.174654
0.115546
0.106012
0.105123
0.081225
0.062794
0
0.008811
0.232434
14,047
350
169
40.134286
0.720831
0.204243
0
0.067797
1
0
0.208304
0.013025
0
0
0
0.002857
0
1
0.033898
false
0
0.112994
0.00565
0.169492
0.022599
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
0bc8aac773e7ac022df835aabc9f70ba0016d3be
2,068
py
Python
nbmerge.py
Subhanshuupadhyay/rsd-engineeringcourse
3e8a440f3d70ece500ef25677c6966b54282a0a7
[ "CC-BY-3.0" ]
86
2015-02-18T13:44:29.000Z
2022-03-15T06:43:22.000Z
nbmerge.py
Subhanshuupadhyay/rsd-engineeringcourse
3e8a440f3d70ece500ef25677c6966b54282a0a7
[ "CC-BY-3.0" ]
132
2015-02-25T13:04:52.000Z
2022-02-16T10:50:15.000Z
nbmerge.py
Subhanshuupadhyay/rsd-engineeringcourse
3e8a440f3d70ece500ef25677c6966b54282a0a7
[ "CC-BY-3.0" ]
84
2015-02-18T13:44:32.000Z
2022-02-20T07:59:29.000Z
#!/usr/bin/env python # From https://gist.github.com/fperez/e2bbc0a208e82e450f69 # Note, updated version of # https://github.com/ipython/ipython-in-depth/blob/master/tools/nbmerge.py """ usage: python nbmerge.py A.ipynb B.ipynb C.ipynb > merged.ipynb """ from __future__ import print_function import io import os impor...
31.815385
76
0.61412
268
2,068
4.608209
0.451493
0.053441
0.048583
0.0583
0.11336
0.11336
0.11336
0.064777
0.064777
0
0
0.017636
0.259671
2,068
64
77
32.3125
0.789027
0.211315
0
0
0
0
0.042751
0
0
0
0
0.015625
0
1
0.046512
false
0
0.139535
0
0.209302
0.046512
0
0
0
null
0
0
0
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
0bdbfe819edae78a26e76f523f997245121a0310
4,234
py
Python
torrentscraper/webscrapers/rarbg_scraper.py
AsiganTheSunk/python-torrent-scrapper
30f27962e795840b82d47398e05664429829ff2b
[ "Apache-2.0" ]
5
2018-05-19T06:18:01.000Z
2020-01-14T23:17:30.000Z
torrentscraper/webscrapers/rarbg_scraper.py
AsiganTheSunk/python-torrent-scrapper
30f27962e795840b82d47398e05664429829ff2b
[ "Apache-2.0" ]
9
2018-05-24T01:02:46.000Z
2020-02-13T22:35:43.000Z
torrentscraper/webscrapers/rarbg_scraper.py
AsiganTheSunk/python-torrent-scrapper
30f27962e795840b82d47398e05664429829ff2b
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 # Import System Libraries import traceback # Import External Libraries from bs4 import BeautifulSoup # Import Custom Data Structure from torrentscraper.datastruct.rawdata_instance import RAWDataInstance # Import Custom Exceptions from torrentscraper.webscrapers.exceptions.webscraper_error imp...
36.5
109
0.592348
464
4,234
5.211207
0.362069
0.044665
0.064516
0.039702
0.256824
0.163772
0.163772
0.059553
0.033912
0.033912
0
0.011773
0.297827
4,234
115
110
36.817391
0.801547
0.457959
0
0.102564
0
0
0.030969
0.009425
0
0
0
0
0
1
0.102564
false
0.076923
0.179487
0
0.307692
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0bdd8995b099ceb1378c3c29288cd2d64ea44413
1,014
py
Python
tests/invalid_models_tests/test_backend_specific.py
andreip/django
c61d1361d027a729d07d277879950ff133c19f4c
[ "PSF-2.0", "BSD-3-Clause" ]
2
2020-09-25T04:02:25.000Z
2020-10-15T00:01:00.000Z
tests/invalid_models_tests/test_backend_specific.py
seanfagan/django
66bbde6819586cc3a75630e12e569dc8ae72f211
[ "PSF-2.0", "BSD-3-Clause" ]
null
null
null
tests/invalid_models_tests/test_backend_specific.py
seanfagan/django
66bbde6819586cc3a75630e12e569dc8ae72f211
[ "PSF-2.0", "BSD-3-Clause" ]
1
2019-03-17T17:31:57.000Z
2019-03-17T17:31:57.000Z
from unittest import mock from django.core.checks import Error from django.db import connections, models from django.test import SimpleTestCase from django.test.utils import isolate_apps def dummy_allow_migrate(db, app_label, **hints): # Prevent checks from being run on the 'other' database, which doesn't have ...
32.709677
103
0.711045
129
1,014
5.457364
0.51938
0.056818
0.039773
0
0
0
0
0
0
0
0
0
0.185404
1,014
30
104
33.8
0.8523
0.164694
0
0
0
0
0.121573
0.052443
0
0
0
0
0.055556
1
0.111111
false
0
0.277778
0.055556
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0be2ea23446de66d7220510a4786c15482443eae
310
py
Python
city/bus_stop.py
PrzemekBurczyk/TransportSimulation
4c0b0b775fcebd313a36a3879fda8e98e34d86ea
[ "MIT" ]
null
null
null
city/bus_stop.py
PrzemekBurczyk/TransportSimulation
4c0b0b775fcebd313a36a3879fda8e98e34d86ea
[ "MIT" ]
null
null
null
city/bus_stop.py
PrzemekBurczyk/TransportSimulation
4c0b0b775fcebd313a36a3879fda8e98e34d86ea
[ "MIT" ]
null
null
null
from pygame import image from city.point import Point class BusStop(Point): def __init__(self, x=0.0, y=0.0, point_types=None, load=0): if not point_types: point_types = ['bus'] Point.__init__(self, x, y, point_types, load) self.image = image.load('img/bus_stop.png')
28.181818
63
0.641935
49
310
3.795918
0.469388
0.215054
0.096774
0
0
0
0
0
0
0
0
0.021008
0.232258
310
10
64
31
0.760504
0
0
0
0
0
0.06129
0
0
0
0
0
0
1
0.125
false
0
0.25
0
0.5
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0be3f96fec10d130163042752918674d7f116c10
482
py
Python
personalhelper/personalhelper/contacts/migrations/0002_contact_contact_photo.py
Iryna-Lytvynchuk/project-python-web
6edf9d7949721bb66c9cbe9a21c25152825c27ea
[ "MIT" ]
null
null
null
personalhelper/personalhelper/contacts/migrations/0002_contact_contact_photo.py
Iryna-Lytvynchuk/project-python-web
6edf9d7949721bb66c9cbe9a21c25152825c27ea
[ "MIT" ]
null
null
null
personalhelper/personalhelper/contacts/migrations/0002_contact_contact_photo.py
Iryna-Lytvynchuk/project-python-web
6edf9d7949721bb66c9cbe9a21c25152825c27ea
[ "MIT" ]
null
null
null
# Generated by Django 3.2.7 on 2021-09-05 22:50 from django.db import migrations, models import storages.backends.sftpstorage class Migration(migrations.Migration): dependencies = [ ('contacts', '0001_initial'), ] operations = [ migrations.AddField( model_name='contact', ...
24.1
113
0.643154
51
482
6
0.764706
0.104575
0.176471
0
0
0
0
0
0
0
0
0.051771
0.238589
482
19
114
25.368421
0.782016
0.093361
0
0
1
0
0.091954
0
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
0be880e253d2d548600253a4429ea181fdc700a3
441
py
Python
OmegaErp/pos/migrations/0014_auto_20211016_1333.py
OMAR-EHAB777/FerpMenu
6aee4616bc9bc7801023fe51acfa28e1e1267b66
[ "BSD-3-Clause" ]
null
null
null
OmegaErp/pos/migrations/0014_auto_20211016_1333.py
OMAR-EHAB777/FerpMenu
6aee4616bc9bc7801023fe51acfa28e1e1267b66
[ "BSD-3-Clause" ]
null
null
null
OmegaErp/pos/migrations/0014_auto_20211016_1333.py
OMAR-EHAB777/FerpMenu
6aee4616bc9bc7801023fe51acfa28e1e1267b66
[ "BSD-3-Clause" ]
null
null
null
# Generated by Django 3.1.7 on 2021-10-16 11:33 import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('pos', '0013_auto_20211008_1717'), ] operations = [ migrations.AlterField( model_name='order', name='...
22.05
96
0.609977
51
441
5.196078
0.745098
0.045283
0.060377
0
0
0
0
0
0
0
0
0.158385
0.269841
441
19
97
23.210526
0.664596
0.102041
0
0
1
0
0.088832
0.058376
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
0be9436415770539e46253107a5d8ffd4afb8b66
1,653
py
Python
EXIFnaming/__init__.py
mvolkert/EXIFnaming
2cd7aa03cec8e05e046ccc84c523d560ccc3b8c0
[ "MIT" ]
null
null
null
EXIFnaming/__init__.py
mvolkert/EXIFnaming
2cd7aa03cec8e05e046ccc84c523d560ccc3b8c0
[ "MIT" ]
null
null
null
EXIFnaming/__init__.py
mvolkert/EXIFnaming
2cd7aa03cec8e05e046ccc84c523d560ccc3b8c0
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 """ Tools for organizing and tagging photos works with exiftool: www.sno.phy.queensu.ca/~phil/exiftool/ exiftool.exe has to be in the helpers folder or path to it configured in settings """ __author__ = "Marco Volkert" __copyright__ = "Copyright 2017, Marco Volkert" __email__ = "marco.volkert24...
55.1
122
0.826376
230
1,653
5.513043
0.517391
0.099369
0.021293
0.035489
0.148265
0.148265
0.088328
0.088328
0
0
0
0.008075
0.101028
1,653
29
123
57
0.845222
0.123412
0
0
0
0
0.081194
0.015267
0
0
0
0
0
1
0
false
0
0.473684
0
0.473684
0.105263
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
0bf4df6e3005a42ef961f8a2e38b536a79e8e55d
2,367
py
Python
src/python_src/sandbox/contact_transition_dataset.py
stevenjj/icra2020locomanipulation
414085b68cc1b3b24f7b920b543bba9d95350c16
[ "MIT" ]
5
2020-01-06T11:43:18.000Z
2021-12-14T22:59:09.000Z
src/python_src/sandbox/contact_transition_dataset.py
stevenjj/icra2020locomanipulation
414085b68cc1b3b24f7b920b543bba9d95350c16
[ "MIT" ]
null
null
null
src/python_src/sandbox/contact_transition_dataset.py
stevenjj/icra2020locomanipulation
414085b68cc1b3b24f7b920b543bba9d95350c16
[ "MIT" ]
2
2020-09-03T16:08:34.000Z
2022-02-17T11:13:49.000Z
#!/usr/bin/env python import os import numpy as np import yaml import sys import load_training_datum as datum global dataset_folder dataset_folder = "/home/sjorgen1/Data/param_set_1/right_hand/transitions_data_with_task_space_info" class ContactTransitionDataset: def __init__(self, num_in = 100): sel...
26.3
99
0.610055
319
2,367
4.278997
0.282132
0.069597
0.065934
0.030769
0.07033
0.07033
0.029304
0
0
0
0
0.007827
0.298268
2,367
90
100
26.3
0.813967
0.079425
0
0
0
0
0.079153
0.036815
0
0
0
0
0
0
null
null
0
0.087719
null
null
0.157895
0
0
0
null
0
0
0
0
0
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
040cbf10494bcd16da20a66c9e80f41e6487e3fb
45,387
py
Python
scriptlattes/scriptLattes/testParserLattes.py
wesferr/T2-IAD
ce2224dd884eb15f104fc1f4d025a877db1f54b8
[ "MIT" ]
null
null
null
scriptlattes/scriptLattes/testParserLattes.py
wesferr/T2-IAD
ce2224dd884eb15f104fc1f4d025a877db1f54b8
[ "MIT" ]
null
null
null
scriptlattes/scriptLattes/testParserLattes.py
wesferr/T2-IAD
ce2224dd884eb15f104fc1f4d025a877db1f54b8
[ "MIT" ]
null
null
null
#!/usr/bin/python # encoding: utf-8 # filename: parserLattes.py # # scriptLattes V8 # Copyright 2005-2013: Jesús P. Mena-Chalco e Roberto M. Cesar-Jr. # http://scriptlattes.sourceforge.net/ # # # Este programa é um software livre; você pode redistribui-lo e/ou # modifica-lo dentro dos termos da Licença Pública Ge...
33.946896
280
0.715447
4,365
45,387
7.419702
0.169301
0.029796
0.018773
0.032853
0.406614
0.368265
0.345138
0.304381
0.290487
0.261123
0
0.024134
0.184745
45,387
1,337
281
33.946896
0.851143
0.098993
0
0.339512
0
0.022439
0.089864
0.011227
0
0
0
0
0
0
null
null
0
0.038049
null
null
0.006829
0
0
0
null
0
0
0
0
0
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
040f0c419b3ba6b5ace060d29cc5d062074648e9
428
py
Python
tendaysweb/exceptions.py
bace1996/10daysWeb
096f14031b0b986a99c9f696209d54d5f58e5b2b
[ "MIT" ]
null
null
null
tendaysweb/exceptions.py
bace1996/10daysWeb
096f14031b0b986a99c9f696209d54d5f58e5b2b
[ "MIT" ]
null
null
null
tendaysweb/exceptions.py
bace1996/10daysWeb
096f14031b0b986a99c9f696209d54d5f58e5b2b
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from.utils import STATUS_CODES class HttpException(Exception): def __init__(self, err_code: int, err: str=''): self.err_code = err_code self.err = err if err else STATUS_CODES.get(err_code, 'Unknown Error') class UnknownSignalException(Exception): def __init__(self, s...
28.533333
78
0.689252
59
428
4.661017
0.474576
0.101818
0.116364
0.145455
0
0
0
0
0
0
0
0.002924
0.200935
428
14
79
30.571429
0.80117
0.049065
0
0
0
0
0.032099
0
0
0
0
0
0
1
0.222222
false
0
0.111111
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
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
04100be3b375b0a16a8e68c7da04f7955498bf56
385
py
Python
bin/exe.py
py-paulo/analyzer
da4978a792a0e64a819d3db5d6c30f9e0c4f114d
[ "Apache-2.0" ]
2
2021-04-17T20:00:15.000Z
2021-04-17T23:55:17.000Z
bin/exe.py
py-paulo/proxy-analyzer
da4978a792a0e64a819d3db5d6c30f9e0c4f114d
[ "Apache-2.0" ]
null
null
null
bin/exe.py
py-paulo/proxy-analyzer
da4978a792a0e64a819d3db5d6c30f9e0c4f114d
[ "Apache-2.0" ]
null
null
null
import json import urllib.request URI = 'http://paulo-pc:8001' newConditions = {"con1": 40, "con2": 20, "con3": 99, "con4": 40, "password": "1234"} params = json.dumps(newConditions).encode('utf8') req = urllib.request.Request(URI, data=params, headers={'content-type': 'application/json'...
29.615385
84
0.651948
47
385
5.340426
0.702128
0.155378
0
0
0
0
0
0
0
0
0
0.065421
0.166234
385
12
85
32.083333
0.716511
0
0
0
0
0
0.207792
0
0
0
0
0
0
1
0
false
0.111111
0.222222
0
0.222222
0.111111
0
0
0
null
0
0
0
0
0
0
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
0411151ba3ceb96662c24f34fb8eb2acddb7a251
2,307
py
Python
py/tests/test_day24.py
andrewblim/advent-of-code-2020
dbc45b9967770f8015f3609b88873bdefcfdc28a
[ "MIT" ]
null
null
null
py/tests/test_day24.py
andrewblim/advent-of-code-2020
dbc45b9967770f8015f3609b88873bdefcfdc28a
[ "MIT" ]
null
null
null
py/tests/test_day24.py
andrewblim/advent-of-code-2020
dbc45b9967770f8015f3609b88873bdefcfdc28a
[ "MIT" ]
null
null
null
from .context import advent_of_code_2020 from advent_of_code_2020.day24 import * def test_move_to_tile(): moves = parse_moves("esew") assert moves == ["e", "se", "w"] moves = parse_moves("nwwswee") assert move_to_tile(moves) == (0,0) test_input = """ sesenwnenenewseeswwswswwnenewsewsw neeenesenwnwws...
28.8375
72
0.627655
230
2,307
6.195652
0.417391
0.126316
0.224561
0.022456
0.032281
0.032281
0
0
0
0
0
0.059964
0.284352
2,307
79
73
29.202532
0.80315
0
0
0.027397
0
0
0.286086
0.260511
0
0
0
0
0.30137
1
0.027397
false
0
0.027397
0
0.054795
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
041afcafac6294de942254ed60a8eb3eecf1ba4b
1,052
py
Python
src/aoc/day_03.py
eduellery/aoc-2015
378a213e21c5b52658c1cec961f7bd80a86ef090
[ "MIT" ]
1
2022-02-15T08:54:51.000Z
2022-02-15T08:54:51.000Z
src/aoc/day_03.py
eduellery/aoc-2015
378a213e21c5b52658c1cec961f7bd80a86ef090
[ "MIT" ]
null
null
null
src/aoc/day_03.py
eduellery/aoc-2015
378a213e21c5b52658c1cec961f7bd80a86ef090
[ "MIT" ]
null
null
null
from typing import Tuple, Set class Day03: def __init__(self, directions: str): self.directions = directions @staticmethod def move(santa: Tuple[int, int], direction: str): x, y = santa if direction == '>': x += 1 elif direction == '<': x -= 1 ...
28.432432
70
0.556084
125
1,052
4.584
0.28
0.146597
0.076789
0.188482
0.251309
0.129145
0
0
0
0
0
0.019553
0.319392
1,052
36
71
29.222222
0.780726
0
0
0.066667
0
0
0.003802
0
0
0
0
0
0
1
0.166667
false
0
0.033333
0.033333
0.366667
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
041e64874e22b1df2d751dba301bb972f571394f
1,589
py
Python
Data Science With Python/07-cleaning-data-in-python/4-cleaning-data-for-analysis/03-string-parsing-with-regular-expressions.py
aimanahmedmoin1997/DataCamp
c6a6c4d59b83f14854bd76ed5c0c7f2dddd6de1d
[ "MIT" ]
5
2021-02-03T14:36:58.000Z
2022-01-01T10:29:26.000Z
Data Science With Python/07-cleaning-data-in-python/4-cleaning-data-for-analysis/03-string-parsing-with-regular-expressions.py
aimanahmedmoin1997/DataCamp
c6a6c4d59b83f14854bd76ed5c0c7f2dddd6de1d
[ "MIT" ]
null
null
null
Data Science With Python/07-cleaning-data-in-python/4-cleaning-data-for-analysis/03-string-parsing-with-regular-expressions.py
aimanahmedmoin1997/DataCamp
c6a6c4d59b83f14854bd76ed5c0c7f2dddd6de1d
[ "MIT" ]
7
2018-11-06T17:43:31.000Z
2020-11-07T21:08:16.000Z
''' String parsing with regular expressions In the video, Dan introduced you to the basics of regular expressions, which are powerful ways of defining patterns to match strings. This exercise will get you started with writing them. When working with data, it is sometimes necessary to write a regular expression to loo...
40.74359
97
0.771554
272
1,589
4.507353
0.433824
0.065253
0.055465
0.032626
0.158238
0.122349
0.122349
0.060359
0
0
0
0.037509
0.161108
1,589
38
98
41.815789
0.882221
0.886092
0
0.333333
0
0
0.247059
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.333333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
042185cec1bedbcc5be14af81d06a027469b94e7
5,080
py
Python
env_utils.py
deepmind/affordances_option_models
0d407caeac6cd32f754d56da2a5adf5416ae4fc6
[ "Apache-2.0" ]
16
2021-11-08T01:19:10.000Z
2022-02-07T03:08:59.000Z
env_utils.py
deepmind/affordances_option_models
0d407caeac6cd32f754d56da2a5adf5416ae4fc6
[ "Apache-2.0" ]
null
null
null
env_utils.py
deepmind/affordances_option_models
0d407caeac6cd32f754d56da2a5adf5416ae4fc6
[ "Apache-2.0" ]
null
null
null
# Copyright 2021 DeepMind Technologies Limited # # 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 agree...
37.080292
80
0.712992
814
5,080
4.339066
0.309582
0.030578
0.014723
0.00906
0.055493
0.041336
0.041336
0.023216
0.023216
0.023216
0
0.016235
0.187598
5,080
136
81
37.352941
0.839593
0.527559
0
0
0
0
0.079673
0
0
0
0
0
0
1
0.095238
false
0.063492
0.063492
0.015873
0.31746
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
0422cdc2acbf315fe875ec537b86d368ecdb4ad6
31,528
py
Python
conference.py
YB137514/Conference
be928b615505a915d4dc03d7fa650dfe4efa0778
[ "Apache-2.0" ]
null
null
null
conference.py
YB137514/Conference
be928b615505a915d4dc03d7fa650dfe4efa0778
[ "Apache-2.0" ]
null
null
null
conference.py
YB137514/Conference
be928b615505a915d4dc03d7fa650dfe4efa0778
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python from datetime import datetime import endpoints from protorpc import messages from protorpc import message_types from protorpc import remote from google.appengine.ext import ndb from google.appengine.api import memcache from google.appengine.api import taskqueue from models import Profile from ...
38.44878
78
0.603432
3,094
31,528
6.053006
0.14512
0.014897
0.012815
0.009985
0.347501
0.29245
0.2728
0.232806
0.220312
0.201303
0
0.001871
0.30484
31,528
819
79
38.495727
0.852626
0.15215
0
0.259399
0
0
0.092809
0.016936
0
0
0
0.001221
0
0
null
null
0
0.046992
null
null
0.005639
0
0
0
null
0
0
0
0
0
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
043586fdbc7d1de542763f9438a72cf328f7c909
269
py
Python
ip2hostname/ip2hostname.py
grepcoffee/networkingscripts
6b53f82b7070ab9d36d7f058083cd0b716974a8e
[ "MIT" ]
null
null
null
ip2hostname/ip2hostname.py
grepcoffee/networkingscripts
6b53f82b7070ab9d36d7f058083cd0b716974a8e
[ "MIT" ]
null
null
null
ip2hostname/ip2hostname.py
grepcoffee/networkingscripts
6b53f82b7070ab9d36d7f058083cd0b716974a8e
[ "MIT" ]
null
null
null
#!/usr/bin/python3 import socket with open("ips.txt") as ips: for i in ips: i = i.replace("\n", "") try: print (i + " , " +socket.gethostbyaddr(i)[0]) except socket.error: print (i + " , " + "HOSTNAME NOT FOUND")
26.9
57
0.490706
34
269
3.882353
0.705882
0.090909
0
0
0
0
0
0
0
0
0
0.011236
0.33829
269
9
58
29.888889
0.730337
0.063197
0
0
0
0
0.131474
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
04410ad2705dbac4fc06dc8f51eef4e51e384063
6,910
py
Python
tools/android/loading/wpr_backend.py
maidiHaitai/haitaibrowser
a232a56bcfb177913a14210e7733e0ea83a6b18d
[ "BSD-3-Clause" ]
1
2020-09-15T08:43:34.000Z
2020-09-15T08:43:34.000Z
tools/android/loading/wpr_backend.py
maidiHaitai/haitaibrowser
a232a56bcfb177913a14210e7733e0ea83a6b18d
[ "BSD-3-Clause" ]
null
null
null
tools/android/loading/wpr_backend.py
maidiHaitai/haitaibrowser
a232a56bcfb177913a14210e7733e0ea83a6b18d
[ "BSD-3-Clause" ]
null
null
null
# Copyright 2016 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """Opens and modifies WPR archive. """ import collections import os import re import sys from urlparse import urlparse _SRC_DIR = os.path.abspath(os.path....
33.872549
80
0.689001
964
6,910
4.761411
0.262448
0.023965
0.022876
0.028758
0.158824
0.110458
0.076688
0.076688
0.052288
0.052288
0
0.003987
0.201447
6,910
203
81
34.039409
0.827836
0.129522
0
0.078431
0
0.019608
0.095096
0.029331
0
0
0
0.004926
0.04902
0
null
null
0
0.068627
null
null
0.009804
0
0
0
null
0
0
0
0
0
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
0445b5949c2435b4267ba03b442d21fb69f5e3f1
1,118
py
Python
data_interrogator/forms.py
LegoStormtroopr/django-data-interrogator
0982e9809691d9abfda2013bc51a2a511e20d097
[ "MIT" ]
25
2015-07-23T08:10:35.000Z
2020-05-02T16:50:30.000Z
data_interrogator/forms.py
Aristotle-Metadata-Enterprises/django-data-interrogator
3fdb19d44558c4cc98dea09bfed9c3446829e612
[ "MIT" ]
5
2020-06-09T01:13:42.000Z
2021-08-20T01:19:08.000Z
data_interrogator/forms.py
LegoStormtroopr/django-data-interrogator
0982e9809691d9abfda2013bc51a2a511e20d097
[ "MIT" ]
3
2020-02-12T03:32:30.000Z
2020-03-16T23:57:31.000Z
from django import forms from data_interrogator.fields import CSVMultipleCharField from data_interrogator.utils import get_all_base_models class InterrogatorForm(forms.Form): lead_base_model = forms.ChoiceField(choices=[], required=True, label="Initial object") def __init__(self, *args, interrogator, **kwar...
31.055556
90
0.765653
116
1,118
7.137931
0.431034
0.078502
0.15942
0.126812
0.137681
0.137681
0
0
0
0
0
0.002099
0.147585
1,118
35
91
31.942857
0.866737
0
0
0.083333
0
0
0.025939
0
0
0
0
0
0
1
0.083333
false
0.041667
0.125
0.041667
0.791667
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
0447374c2318ad5454329319f03ca4fcfb5ee030
925
py
Python
app/schedule/views.py
ToddPeterson/food-truck-api
20de03771abcfb6a689f02519c11b630bad87fbf
[ "MIT" ]
null
null
null
app/schedule/views.py
ToddPeterson/food-truck-api
20de03771abcfb6a689f02519c11b630bad87fbf
[ "MIT" ]
null
null
null
app/schedule/views.py
ToddPeterson/food-truck-api
20de03771abcfb6a689f02519c11b630bad87fbf
[ "MIT" ]
null
null
null
from rest_framework import viewsets, mixins from rest_framework.authentication import TokenAuthentication from rest_framework.permissions import IsAuthenticated from schedule import serializers from schedule.models import Location class LocationViewSet(viewsets.GenericViewSet, mixins.ListModelM...
34.259259
65
0.72973
91
925
7.318681
0.538462
0.036036
0.076577
0.063063
0.081081
0
0
0
0
0
0
0
0.196757
925
26
66
35.576923
0.896366
0.099459
0
0
0
0
0.00365
0
0
0
0
0
0
1
0.111111
false
0
0.277778
0
0.722222
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
04476ef42517945aa3e5af0a0914f9f7c837aac0
574
py
Python
decay_fns/decay_weightings.py
noelevans/playground
da529e967a15bcb217fff091ac0ec5c4dc1821ce
[ "MIT" ]
1
2015-04-28T20:36:57.000Z
2015-04-28T20:36:57.000Z
decay_fns/decay_weightings.py
noelevans/playground
da529e967a15bcb217fff091ac0ec5c4dc1821ce
[ "MIT" ]
2
2021-02-03T21:05:54.000Z
2021-03-23T09:25:43.000Z
decay_fns/decay_weightings.py
noelevans/playground
da529e967a15bcb217fff091ac0ec5c4dc1821ce
[ "MIT" ]
null
null
null
import numpy as np import pandas as pd def decay_mean(ol, half_life=5): years = np.array([2012, 2013, 2014, 2016, 2017]) ratings = np.array([9, 11, 14, 11, 4]) today = 2016 + 1 print(ratings.mean()) elapsed_time = years - today half_life = 2 weights = np.e ** -(elapsed_time ...
19.133333
52
0.620209
82
574
4.146341
0.45122
0.079412
0.094118
0.123529
0
0
0
0
0
0
0
0.085057
0.24216
574
29
53
19.793103
0.696552
0
0
0.105263
0
0
0.013937
0
0
0
0
0
0
0
null
null
0
0.105263
null
null
0.368421
0
0
0
null
0
0
0
0
0
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
044defd5495b06d6826ef06e57158b43660169a8
835
py
Python
DSA Coding/Recursion/stack.py
prathimacode-hub/WIE-WoC
f412f297a57249af98213bf4a747c897f2d4c035
[ "MIT" ]
8
2022-03-01T09:09:20.000Z
2022-03-03T05:36:01.000Z
DSA Coding/Recursion/stack.py
prathimacode-hub/WIE-WoC
f412f297a57249af98213bf4a747c897f2d4c035
[ "MIT" ]
52
2022-03-02T13:52:46.000Z
2022-03-04T03:03:17.000Z
DSA Coding/Recursion/stack.py
prathimacode-hub/WIE-WoC
f412f297a57249af98213bf4a747c897f2d4c035
[ "MIT" ]
23
2022-03-01T06:39:34.000Z
2022-03-03T09:24:40.000Z
class Stack: def __init__(self): self.items = [] def is_empty(self): return self.items == [] def push(self, data): self.items.append(data) def pop(self): return self.items.pop() def display(self): for data in reversed(self.items): print(data)...
20.875
64
0.584431
119
835
3.94958
0.319328
0.095745
0.089362
0.095745
0.080851
0
0
0
0
0
0
0
0.279042
835
40
65
20.875
0.780731
0
0
0.181818
0
0
0.072967
0
0
0
0
0
0
1
0.212121
false
0
0
0.060606
0.30303
0.090909
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
0452ab2535bf618fb5750e7749c3c03dafc89ffe
7,856
py
Python
posts/migrations/0001_initial.py
mhfd28/blog13
7a3c9b45ed7eb5c30bd846885bfd3f9f90727bcf
[ "MIT" ]
null
null
null
posts/migrations/0001_initial.py
mhfd28/blog13
7a3c9b45ed7eb5c30bd846885bfd3f9f90727bcf
[ "MIT" ]
10
2020-02-12T00:11:55.000Z
2022-03-11T23:45:54.000Z
posts/migrations/0001_initial.py
mhfd28/blog13
7a3c9b45ed7eb5c30bd846885bfd3f9f90727bcf
[ "MIT" ]
null
null
null
# Generated by Django 2.1.2 on 2019-04-30 12:16 from django.conf import settings import django.core.validators from django.db import migrations, models import django.db.models.deletion import tinymce.models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ ...
54.555556
240
0.593304
820
7,856
5.545122
0.191463
0.033649
0.043105
0.067737
0.628766
0.577304
0.543215
0.495492
0.495492
0.495492
0
0.013306
0.253819
7,856
143
241
54.937063
0.762368
0.005728
0
0.492647
1
0
0.120118
0
0
0
0
0
0
1
0
false
0.007353
0.036765
0
0.066176
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
04554f76f12cd5eb1645d977cbaf6283a4d50637
761
py
Python
devtests/constants.py
AlexLemna/npc-name-generator
20de7c330fc44ddc8702aced2c5d0c126707896b
[ "MIT" ]
null
null
null
devtests/constants.py
AlexLemna/npc-name-generator
20de7c330fc44ddc8702aced2c5d0c126707896b
[ "MIT" ]
44
2019-05-01T15:23:58.000Z
2019-10-26T17:10:11.000Z
devtests/constants.py
AlexLemna/rosevomit
20de7c330fc44ddc8702aced2c5d0c126707896b
[ "MIT" ]
null
null
null
# This Python file uses the following encoding: utf-8 """This file contains some constants for the devtests module.""" import datetime try: import findimports except ImportError: FINDIMPORTS_AVAILABLE = False else: FINDIMPORTS_AVAILABLE = True try: from pylint import lint as linter except ImportError:...
23.78125
85
0.713535
99
761
5.383838
0.656566
0.061914
0.067542
0.075047
0.082552
0.082552
0
0
0
0
0
0.001603
0.180026
761
31
86
24.548387
0.852564
0.256242
0
0.25
0
0
0.152057
0
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
0455bfa25e9a24ecf91db9dd2aa18a41861daf82
5,316
py
Python
server/core/views/api/admin_jenkins_job.py
FranciscoShi/jenkins-gitlab-integrator
9e9b101df2c67ff73f204828fdf702fc1e2a382d
[ "Apache-2.0" ]
2
2017-07-19T10:39:31.000Z
2018-03-21T10:24:42.000Z
server/core/views/api/admin_jenkins_job.py
FranciscoShi/jenkins-gitlab-integrator
9e9b101df2c67ff73f204828fdf702fc1e2a382d
[ "Apache-2.0" ]
1
2017-08-11T20:29:43.000Z
2017-08-14T15:06:14.000Z
server/core/views/api/admin_jenkins_job.py
FranciscoShi/jenkins-gitlab-integrator
9e9b101df2c67ff73f204828fdf702fc1e2a382d
[ "Apache-2.0" ]
1
2021-08-08T00:07:12.000Z
2021-08-08T00:07:12.000Z
import json from functools import partial from aiohttp import web from aiohttp.web_exceptions import HTTPConflict from server.core.common import LoggingMixin from server.core.json_encoders import CustomJSONEncoder from server.core.models import RecordNotFound from server.core.models.jenkins_jobs import JenkinsJob fro...
36.410959
105
0.714823
702
5,316
5.094017
0.136752
0.075503
0.08557
0.055928
0.737136
0.697427
0.645414
0.636465
0.626119
0.589206
0
0.000707
0.201467
5,316
145
106
36.662069
0.841696
0.024078
0
0.703704
0
0
0.03459
0.008162
0
0
0
0
0
1
0
false
0.009259
0.101852
0
0.194444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0459bfb6adf1c4b8a8d3c7857b913795f28120df
4,018
py
Python
Project3/word2vec_extensions.py
Sanghyun-Hong/NLPProjects
9f81fa680946648f64ac25e5ca8197e9f3386deb
[ "MIT" ]
null
null
null
Project3/word2vec_extensions.py
Sanghyun-Hong/NLPProjects
9f81fa680946648f64ac25e5ca8197e9f3386deb
[ "MIT" ]
null
null
null
Project3/word2vec_extensions.py
Sanghyun-Hong/NLPProjects
9f81fa680946648f64ac25e5ca8197e9f3386deb
[ "MIT" ]
null
null
null
# Basic import os import sys import nltk import numpy as np import scipy as sp # word2vec from gensim.models import Word2Vec, Doc2Vec """ Pre-defined variables """ MODEL_LOC = 'data/models' # word2vec MNAME_W2V = 'word2vec' MODEL_W2V = 'GoogleNews-vectors-negative300.bin' # doc2vec MNAME_D2V = 'doc2vec' M...
31.637795
125
0.665007
532
4,018
4.834586
0.343985
0.005443
0.004666
0.014774
0.269829
0.231726
0.160964
0.160964
0.160964
0.160964
0
0.036251
0.237929
4,018
126
126
31.888889
0.803723
0.149079
0
0.131579
0
0
0.14654
0.02611
0
0
0
0.007937
0.026316
0
null
null
0
0.078947
null
null
0.092105
0
0
0
null
0
0
0
0
0
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
045c4f86f7a4bcffa610ae69762e0a05fa9bbfd5
375
py
Python
app/tickets/core/templatetags/is_active.py
dnkraju/django_docker
2e63f5a4edece3c86b94f4401a1137c9933e933c
[ "MIT" ]
72
2018-08-23T22:32:24.000Z
2022-02-24T19:10:31.000Z
app/tickets/core/templatetags/is_active.py
dnkraju/django_docker
2e63f5a4edece3c86b94f4401a1137c9933e933c
[ "MIT" ]
4
2019-03-01T15:25:09.000Z
2020-01-17T18:22:59.000Z
app/tickets/core/templatetags/is_active.py
dnkraju/django_docker
2e63f5a4edece3c86b94f4401a1137c9933e933c
[ "MIT" ]
43
2018-12-24T19:40:19.000Z
2022-03-14T15:02:49.000Z
from django import template from django.urls import reverse from tickets.core.middlewares import get_current_request register = template.Library() @register.simple_tag def is_active(url): request = get_current_request() # Main idea is to check if the url and the current path is a match if request.path =...
22.058824
70
0.733333
54
375
4.981481
0.574074
0.074349
0.126394
0
0
0
0
0
0
0
0
0
0.197333
375
16
71
23.4375
0.893688
0.170667
0
0
0
0
0.019417
0
0
0
0
0
0
1
0.1
false
0
0.3
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
045dc4fe7f23fbd11dd112ac97ff65723d047602
3,407
py
Python
generator/lib/awsapigen.py
HouWill/leonidas
20f64c51a0bd48d53951dd17cd728785b7d274cc
[ "MIT" ]
353
2020-06-29T19:12:38.000Z
2022-03-31T14:15:01.000Z
generator/lib/awsapigen.py
alexandre-cezar/leonidas
6701e9bbb76614a4ba2a360edd140eba9fdc647f
[ "MIT" ]
4
2020-07-06T06:07:41.000Z
2022-01-23T14:38:45.000Z
generator/lib/awsapigen.py
alexandre-cezar/leonidas
6701e9bbb76614a4ba2a360edd140eba9fdc647f
[ "MIT" ]
47
2020-06-29T19:25:31.000Z
2022-03-14T16:36:50.000Z
""" Code to generate the Leonidas API """ import os class AWSAPIGen: """ Generates the Flask API used to execute the attacker actions """ def __init__(self, config, env): self.templates = {} self.env = env self.config = config self.templates["aws_python_function"] = e...
35.863158
86
0.563546
325
3,407
5.756923
0.28
0.055585
0.044896
0.034206
0.246927
0.128274
0.128274
0.128274
0.128274
0.128274
0
0.002168
0.323158
3,407
94
87
36.244681
0.809193
0.08688
0
0.147059
1
0
0.120941
0.019218
0
0
0
0
0
1
0.058824
false
0
0.058824
0
0.147059
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f0859f8036323f5b8f6d5b8943a4850afd68508d
2,042
py
Python
backendfastapi/app/routers/users.py
ATS-SKP-DataIT/skp-projekt-aarhus-duck-race
32a22cd64c29d461c595b273c63ea54add8764a8
[ "MIT" ]
null
null
null
backendfastapi/app/routers/users.py
ATS-SKP-DataIT/skp-projekt-aarhus-duck-race
32a22cd64c29d461c595b273c63ea54add8764a8
[ "MIT" ]
null
null
null
backendfastapi/app/routers/users.py
ATS-SKP-DataIT/skp-projekt-aarhus-duck-race
32a22cd64c29d461c595b273c63ea54add8764a8
[ "MIT" ]
null
null
null
import jwt from fastapi import FastAPI, Depends, HTTPException, status, APIRouter from fastapi.security import OAuth2PasswordBearer, OAuth2PasswordRequestForm from passlib.hash import bcrypt from ..models.users import User from ..schemas.users import UserIn_Pydantic, User_Pydantic app = FastAPI() router = APIRoute...
32.412698
90
0.722331
253
2,042
5.632411
0.312253
0.058947
0.018947
0.044211
0.248421
0.248421
0.202105
0.176842
0.117895
0.117895
0
0.010727
0.178257
2,042
62
91
32.935484
0.838498
0
0
0.244898
0
0
0.074437
0
0
0
0
0
0
1
0
false
0.204082
0.122449
0
0.265306
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
f0860c6ac64cef93875c5bd70e7d85afa17e4bb9
661
py
Python
edsnlp/pipelines/ner/scores/sofa/patterns.py
MohamedBsh/edsnlp
a58b31d62e14b029ed390364a7e15d99c1decd16
[ "BSD-3-Clause" ]
32
2022-03-08T16:45:09.000Z
2022-03-31T15:21:00.000Z
edsnlp/pipelines/ner/scores/sofa/patterns.py
MohamedBsh/edsnlp
a58b31d62e14b029ed390364a7e15d99c1decd16
[ "BSD-3-Clause" ]
19
2022-03-09T11:44:43.000Z
2022-03-31T14:32:06.000Z
edsnlp/pipelines/ner/scores/sofa/patterns.py
MohamedBsh/edsnlp
a58b31d62e14b029ed390364a7e15d99c1decd16
[ "BSD-3-Clause" ]
1
2022-03-11T16:14:21.000Z
2022-03-11T16:14:21.000Z
from typing import Union import spacy regex = [r"\bsofa\b"] method_regex = ( r"sofa.*?((?P<max>max\w*)|(?P<vqheures>24h\w*)|" r"(?P<admission>admission\w*))(?P<after_value>(.|\n)*)" ) value_regex = r".*?.[\n\W]*?(\d+)[^h\d]" score_normalization_str = "score_normalization.sofa" @spacy.registry.misc(score_...
25.423077
79
0.67171
95
661
4.515789
0.484211
0.20979
0.097902
0
0
0
0
0
0
0
0
0.008961
0.155825
661
25
80
26.44
0.759857
0.12708
0
0
0
0
0.27289
0.258528
0
0
0
0
0
1
0.071429
false
0
0.142857
0
0.285714
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f08c53b27416d514aef9171ade7a25bdf2340973
2,011
py
Python
streamlit/conclusion.py
DataScientest-Studio/firepy
e4fc61a2232a22b2a7d45ae42123995d51866c52
[ "MIT" ]
null
null
null
streamlit/conclusion.py
DataScientest-Studio/firepy
e4fc61a2232a22b2a7d45ae42123995d51866c52
[ "MIT" ]
null
null
null
streamlit/conclusion.py
DataScientest-Studio/firepy
e4fc61a2232a22b2a7d45ae42123995d51866c52
[ "MIT" ]
null
null
null
import streamlit as st import matplotlib.pyplot as plt import json import os # +Deployment import inspect # +Deployment @st.cache def load_image(cdir, link): return plt.imread(os.path.join(cdir, link)) def chunks(lst, n): for i in range(0, len(lst), n): yield lst[i:i + n] def app(): current...
62.84375
505
0.76728
302
2,011
5.10596
0.599338
0.022698
0.014267
0
0
0
0
0
0
0
0
0.001803
0.172551
2,011
31
506
64.870968
0.92488
0.011437
0
0
0
0.181818
0.737531
0
0
0
0
0
0
1
0.136364
false
0
0.227273
0.045455
0.409091
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f08dbb5dafac768a56821ed26913279e4134add1
4,854
py
Python
src/OTLMOW/Facility/AssetFactory.py
davidvlaminck/OTLClassPython
71330afeb37c3ea6d9981f521ff8f4a3f8b946fc
[ "MIT" ]
2
2022-02-01T08:58:11.000Z
2022-02-08T13:35:17.000Z
src/OTLMOW/Facility/AssetFactory.py
davidvlaminck/OTLMOW
71330afeb37c3ea6d9981f521ff8f4a3f8b946fc
[ "MIT" ]
null
null
null
src/OTLMOW/Facility/AssetFactory.py
davidvlaminck/OTLMOW
71330afeb37c3ea6d9981f521ff8f4a3f8b946fc
[ "MIT" ]
null
null
null
from OTLMOW.Facility.FileFormats.DictDecoder import DictDecoder from OTLMOW.OTLModel.Classes.AIMObject import AIMObject class AssetFactory: @staticmethod def dynamic_create_instance_from_name(class_name: str, directory:str = 'OTLMOW.OTLModel.Classes'): """Loads the OTL class module and attempts to in...
45.792453
151
0.664194
613
4,854
4.993475
0.241436
0.039203
0.058804
0.034303
0.256452
0.203202
0.089513
0.043777
0
0
0
0.001111
0.258344
4,854
105
152
46.228571
0.848889
0
0
0.097222
0
0.013889
0.188588
0.052224
0
0
0
0
0
0
null
null
0
0.055556
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
f08dbdf7624c166b1d16db831959146927bc2daf
2,802
py
Python
corehq/messaging/smsbackends/tropo/views.py
johan--/commcare-hq
86ee99c54f55ee94e4c8f2f6f30fc44e10e69ebd
[ "BSD-3-Clause" ]
null
null
null
corehq/messaging/smsbackends/tropo/views.py
johan--/commcare-hq
86ee99c54f55ee94e4c8f2f6f30fc44e10e69ebd
[ "BSD-3-Clause" ]
1
2022-03-12T01:03:25.000Z
2022-03-12T01:03:25.000Z
corehq/messaging/smsbackends/tropo/views.py
johan--/commcare-hq
86ee99c54f55ee94e4c8f2f6f30fc44e10e69ebd
[ "BSD-3-Clause" ]
null
null
null
import json from .api import TropoBackend from tropo import Tropo from corehq.apps.ivr.api import incoming as incoming_call from corehq.apps.sms.api import incoming as incoming_sms from django.http import HttpResponse, HttpResponseBadRequest from django.views.decorators.csrf import csrf_exempt from corehq.apps.sms.mixi...
33.357143
92
0.610992
329
2,802
5.079027
0.300912
0.078995
0.041891
0.040694
0.178336
0.14602
0.14602
0.14602
0.14602
0.061041
0
0.001523
0.296931
2,802
83
93
33.759036
0.846701
0.079586
0
0.257576
0
0
0.057019
0
0
0
0
0.012048
0
1
0.030303
false
0
0.166667
0
0.272727
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
f09230697242c2335b70192a36f4493f4e234f42
3,978
py
Python
sso_provider/oidc.py
dangnh0611/facial_mfa
bf02c06b3803856f977bf4602711692796ea5177
[ "MIT" ]
3
2021-03-30T18:47:47.000Z
2021-09-18T07:12:18.000Z
sso_provider/oidc.py
dangnh0611/facial_mfa
bf02c06b3803856f977bf4602711692796ea5177
[ "MIT" ]
null
null
null
sso_provider/oidc.py
dangnh0611/facial_mfa
bf02c06b3803856f977bf4602711692796ea5177
[ "MIT" ]
1
2021-04-05T10:26:14.000Z
2021-04-05T10:26:14.000Z
from authlib.integrations.flask_oauth2 import ( AuthorizationServer, ResourceProtector) from authlib.integrations.sqla_oauth2 import ( create_query_client_func, create_save_token_func, create_bearer_token_validator, ) from authlib.oauth2.rfc6749.grants import ( AuthorizationCodeGrant as _Authorizati...
30.837209
71
0.740573
466
3,978
6.053648
0.206009
0.066289
0.039702
0.038993
0.310883
0.302021
0.302021
0.2648
0.2648
0.2648
0
0.007057
0.180744
3,978
128
72
31.078125
0.858546
0.018351
0
0.239583
0
0
0.012817
0
0
0
0
0
0
1
0.1875
false
0
0.104167
0.125
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
f09335d865991d755b90a7fb44994ccd615f2771
1,516
py
Python
simfish/spots/noise_simulation.py
fish-quant/sim-fish
fa6891204953297e4850e964784c1e5a022e5cff
[ "BSD-3-Clause" ]
7
2021-01-23T19:53:27.000Z
2022-03-15T13:37:17.000Z
simfish/spots/noise_simulation.py
fish-quant/sim-fish
fa6891204953297e4850e964784c1e5a022e5cff
[ "BSD-3-Clause" ]
1
2022-02-04T13:46:53.000Z
2022-02-05T22:52:41.000Z
simfish/spots/noise_simulation.py
fish-quant/sim-fish
fa6891204953297e4850e964784c1e5a022e5cff
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # Author: Arthur Imbert <arthur.imbert.pro@gmail.com> # License: BSD 3 clause """ Functions to simulate background noise. """ import numpy as np import bigfish.stack as stack # TODO add illumination bias def add_white_noise(image, noise_level, random_noise=0.05): """Generate and add whi...
28.074074
75
0.641161
207
1,516
4.589372
0.400966
0.092632
0.050526
0.066316
0.141053
0.044211
0.044211
0.044211
0.044211
0
0
0.011474
0.252639
1,516
53
76
28.603774
0.827008
0.470317
0
0
0
0
0
0
0
0
0
0.018868
0
1
0.066667
false
0
0.133333
0
0.266667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
f09f274cb7b46ebb4d3bc2fcb01f96b8a82e503e
2,652
py
Python
conary/repository/netrepos/flavors.py
sassoftware/conary
d418968acd5e11ee17ed6d91ca395ea10a040222
[ "Apache-2.0" ]
43
2015-03-31T01:37:10.000Z
2021-11-14T16:26:48.000Z
conary/repository/netrepos/flavors.py
sassoftware/conary
d418968acd5e11ee17ed6d91ca395ea10a040222
[ "Apache-2.0" ]
9
2015-06-10T16:39:41.000Z
2020-01-27T16:35:01.000Z
conary/repository/netrepos/flavors.py
sassoftware/conary
d418968acd5e11ee17ed6d91ca395ea10a040222
[ "Apache-2.0" ]
9
2015-04-07T08:12:37.000Z
2020-01-26T09:54:18.000Z
# # Copyright (c) SAS Institute Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in w...
32.740741
74
0.56825
300
2,652
4.99
0.4
0.04008
0.021376
0.037408
0.195725
0.146293
0.146293
0.084168
0.084168
0.084168
0
0.00398
0.336727
2,652
80
75
33.15
0.847072
0.224359
0
0.230769
0
0
0.182353
0
0
0
0
0
0
0
null
null
0
0.019231
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
f09f780a19402967f9f07e56dd472827d649d401
4,545
py
Python
eclipse-mosquitto/test/broker/14-dynsec-disable-client.py
HenriqueBuzin/mosquitto-eclipse-mqtt
00468923fcf70eefdf2c707b6ba9bdd4f859faf2
[ "Unlicense" ]
2
2021-04-20T14:28:59.000Z
2021-05-06T07:46:53.000Z
eclipse-mosquitto/test/broker/14-dynsec-disable-client.py
HenriqueBuzin/mosquitto-eclipse-mqtt
00468923fcf70eefdf2c707b6ba9bdd4f859faf2
[ "Unlicense" ]
null
null
null
eclipse-mosquitto/test/broker/14-dynsec-disable-client.py
HenriqueBuzin/mosquitto-eclipse-mqtt
00468923fcf70eefdf2c707b6ba9bdd4f859faf2
[ "Unlicense" ]
null
null
null
#!/usr/bin/env python3 from mosq_test_helper import * import json import shutil def write_config(filename, port): with open(filename, 'w') as f: f.write("listener %d\n" % (port)) f.write("allow_anonymous true\n") f.write("plugin ../../plugins/dynamic-security/mosquitto_dynamic_security.so\...
36.95122
126
0.69945
555
4,545
5.461261
0.266667
0.04487
0.029033
0.033652
0.272187
0.234576
0.154734
0.154734
0.141208
0.108215
0
0.007507
0.150055
4,545
122
127
37.254098
0.777116
0.042684
0
0.094118
0
0
0.232612
0.055965
0
0
0
0
0
1
0.023529
false
0.070588
0.035294
0
0.058824
0.035294
0
0
0
null
0
0
0
0
0
0
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
f0a018b96952a17f2e3014eeb364b2431b1bc918
8,691
py
Python
EIS/models.py
Samuel-Buteau/EISFitting
f90e5356f3965106615396d7f6c5ccda47f20dc8
[ "MIT" ]
27
2019-05-24T11:46:53.000Z
2022-03-07T21:27:09.000Z
EIS/models.py
kailiu77/EISFitting
b3e426356253e162f9191ee6f181c1fed966fe94
[ "MIT" ]
15
2019-12-04T22:50:48.000Z
2022-02-10T11:03:37.000Z
EIS/models.py
kailiu77/EISFitting
b3e426356253e162f9191ee6f181c1fed966fe94
[ "MIT" ]
11
2019-07-09T10:37:16.000Z
2022-03-23T14:01:01.000Z
from django.db import models import numpy from EISFittingModelDefinitions import restore_params,deparameterized_params,normalized_spectrum ''' TODO: - create a inverse_model results class - move shift parameters to it - link it to the inverse model used. - link it to the spectrum used. - include t...
32.188889
114
0.663675
992
8,691
5.568548
0.18246
0.02462
0.043085
0.057024
0.42777
0.307024
0.239138
0.222122
0.222122
0.201846
0
0.006208
0.240133
8,691
270
115
32.188889
0.830254
0.01864
0
0.270408
0
0
0.061163
0.010935
0
0
0
0.003704
0
1
0.096939
false
0
0.015306
0.071429
0.556122
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
f0a4a82f75d38332dec714e5cb8ce737100df02f
2,852
py
Python
ribosome/test/integration/rpc.py
tek/ribosome-py
8bd22e549ddff1ee893d6e3a0bfba123a09e96c6
[ "MIT" ]
null
null
null
ribosome/test/integration/rpc.py
tek/ribosome-py
8bd22e549ddff1ee893d6e3a0bfba123a09e96c6
[ "MIT" ]
null
null
null
ribosome/test/integration/rpc.py
tek/ribosome-py
8bd22e549ddff1ee893d6e3a0bfba123a09e96c6
[ "MIT" ]
null
null
null
from typing import Any, Tuple from amino import do, Do, IO, List, Dat, Map, Path from amino.test import temp_dir from amino.test.path import pkg_dir from amino.env_vars import set_env from ribosome import NvimApi from ribosome.rpc.start import start_external from ribosome.rpc.comm import Comm from ribosome.test.confi...
32.409091
117
0.7223
425
2,852
4.64
0.24
0.048682
0.030426
0.017241
0.274848
0.198783
0.198783
0.138945
0.138945
0.052738
0
0.001664
0.157083
2,852
87
118
32.781609
0.818636
0.077139
0
0.172414
0
0
0.080781
0.01608
0
0
0
0
0
1
0.155172
false
0
0.224138
0.034483
0.517241
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
f0a6281ff143ed683fab768508d097e32473d5d1
721
py
Python
Python examples/Performance of Numba part 2.py
IsaacW4/MMath-Project
a03a19bb9a9b9a964352a7a3ecd592684deb7087
[ "Apache-2.0" ]
null
null
null
Python examples/Performance of Numba part 2.py
IsaacW4/MMath-Project
a03a19bb9a9b9a964352a7a3ecd592684deb7087
[ "Apache-2.0" ]
null
null
null
Python examples/Performance of Numba part 2.py
IsaacW4/MMath-Project
a03a19bb9a9b9a964352a7a3ecd592684deb7087
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Wed Nov 11 20:01:02 2020 @author: Isaac """ import timeit import numba import numpy as np from numba import njit import time @njit def question_1(x): """ Solution to question 1 goes here """ A = np.array([[1.0, 3.0, 4.0], [4.0, 5.0, 6.0],...
19.486486
70
0.567268
123
721
3.276423
0.390244
0.08933
0.029777
0.094293
0.53598
0.401985
0.401985
0.401985
0.401985
0.401985
0
0.127542
0.249653
721
37
71
19.486486
0.617375
0.194175
0
0.285714
0
0
0.064961
0
0
0
0
0
0
1
0.142857
false
0
0.357143
0
0.642857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
f0a7b79308563b0c9377d009efa6836b83af74d8
376
py
Python
CSDP/teachers/migrations/0004_auto_20190907_1942.py
Ravyo/Department-Portal
509f1426c785653499f49e7afdc882fe1afbe9a1
[ "bzip2-1.0.6" ]
null
null
null
CSDP/teachers/migrations/0004_auto_20190907_1942.py
Ravyo/Department-Portal
509f1426c785653499f49e7afdc882fe1afbe9a1
[ "bzip2-1.0.6" ]
null
null
null
CSDP/teachers/migrations/0004_auto_20190907_1942.py
Ravyo/Department-Portal
509f1426c785653499f49e7afdc882fe1afbe9a1
[ "bzip2-1.0.6" ]
null
null
null
# Generated by Django 2.2.5 on 2019-09-07 14:12 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('teachers', '0003_teacherinfo_field_of_expertise'), ] operations = [ migrations.RenameField( model_name='edulevel', old_name=...
19.789474
60
0.598404
40
376
5.45
0.825
0
0
0
0
0
0
0
0
0
0
0.071429
0.292553
376
18
61
20.888889
0.74812
0.119681
0
0
1
0
0.18541
0.106383
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
f0a9164d0610315949ab3e35547da1ba6716855d
398
py
Python
server/game/player.py
artemb/zombie-plague
b3883298c3633be5598a6bc692588d77ddbe582e
[ "MIT" ]
null
null
null
server/game/player.py
artemb/zombie-plague
b3883298c3633be5598a6bc692588d77ddbe582e
[ "MIT" ]
2
2021-03-10T18:35:40.000Z
2021-05-11T14:18:52.000Z
server/game/player.py
artemb/zombie-plague
b3883298c3633be5598a6bc692588d77ddbe582e
[ "MIT" ]
null
null
null
from typing import Tuple from game.action import Direction from game.character import Character class Player: def __init__(self, id, name): self.id = id self.name = name self.characters = set() def state(self): return {'name': self.name} class ZombiePlayer(Player): def _...
20.947368
46
0.643216
52
398
4.692308
0.403846
0.098361
0.106557
0.139344
0.147541
0
0
0
0
0
0
0
0.251256
398
18
47
22.111111
0.818792
0
0
0
0
0
0.01005
0
0
0
0
0
0
1
0.230769
false
0
0.230769
0.076923
0.692308
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
f0aaf451f5bf3d2e221079e7f3474c9cc66319f1
390
py
Python
app/eip/migrations/0005_eip_is_voting_active.py
TennaGraph/TennaGraph
002998d94300ee67168f1a8164c0e6bc86836e1f
[ "Apache-2.0" ]
7
2018-11-13T17:39:15.000Z
2019-03-27T04:55:24.000Z
app/eip/migrations/0005_eip_is_voting_active.py
TennaGraph/TennaGraph
002998d94300ee67168f1a8164c0e6bc86836e1f
[ "Apache-2.0" ]
72
2018-11-09T14:20:25.000Z
2020-06-05T19:28:19.000Z
app/eip/migrations/0005_eip_is_voting_active.py
TennaGraph/TennaGraph
002998d94300ee67168f1a8164c0e6bc86836e1f
[ "Apache-2.0" ]
3
2018-11-19T19:10:39.000Z
2019-08-23T20:52:23.000Z
# Generated by Django 2.1.7 on 2019-02-25 20:24 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('eip', '0004_auto_20190224_0850'), ] operations = [ migrations.AddField( model_name='eip', name='is_voting_active', ...
20.526316
53
0.602564
43
390
5.325581
0.837209
0
0
0
0
0
0
0
0
0
0
0.111111
0.284615
390
18
54
21.666667
0.709677
0.115385
0
0
1
0
0.131195
0.067055
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
f0b7edcbcc1c132c6befab93578f5dbb5b0f804a
483
py
Python
generator/util.py
kevinastone/generator
e8dfa346b21a999393a91f34632c3343daf90c39
[ "ISC" ]
11
2016-04-18T07:41:04.000Z
2020-06-27T16:38:58.000Z
generator/util.py
kevinastone/generator
e8dfa346b21a999393a91f34632c3343daf90c39
[ "ISC" ]
2
2016-05-19T23:01:19.000Z
2016-08-08T15:01:57.000Z
generator/util.py
kevinastone/generator
e8dfa346b21a999393a91f34632c3343daf90c39
[ "ISC" ]
3
2016-05-19T23:40:37.000Z
2017-12-05T11:01:33.000Z
import fnmatch def _wildcard_filter(names, *ignore_patterns): for name in names: if any(fnmatch.fnmatchcase(name, pattern) for pattern in ignore_patterns): continue yield name def copy_attributes(source, destination, ignore_patterns=[]): """ Copy the attributes from a source ...
28.411765
82
0.695652
59
483
5.542373
0.508475
0.171254
0
0
0
0
0
0
0
0
0
0
0.217391
483
16
83
30.1875
0.865079
0.134576
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0.111111
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
1
0
0
0
0
0
0
0
1
f0beca852eee8c66860d49fd60582a6f524dad9a
7,191
py
Python
servicelog/views.py
rickvanderzwet/makerspaceleiden-crm
a36d5073d4c49bbf46580ca9bbda5d80593d2d84
[ "Apache-2.0" ]
null
null
null
servicelog/views.py
rickvanderzwet/makerspaceleiden-crm
a36d5073d4c49bbf46580ca9bbda5d80593d2d84
[ "Apache-2.0" ]
null
null
null
servicelog/views.py
rickvanderzwet/makerspaceleiden-crm
a36d5073d4c49bbf46580ca9bbda5d80593d2d84
[ "Apache-2.0" ]
null
null
null
from django.shortcuts import render from django.template import loader from django.http import HttpResponse from django.http import Http404 from django.contrib.auth.decorators import login_required from django.contrib.auth import authenticate from django.conf import settings from django.shortcuts import redirect from d...
38.25
144
0.717425
903
7,191
5.590255
0.260244
0.069334
0.01981
0.024762
0.394017
0.340729
0.277338
0.207409
0.152536
0.133914
0
0.003095
0.19135
7,191
187
145
38.454545
0.865004
0.027952
0
0.313725
0
0
0.117125
0
0
0
0
0
0
1
0.019608
false
0.006536
0.352941
0
0.411765
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
f0cd2f8d2911c51ddb5358080fd48fe1a137653a
345
py
Python
teacher/urls.py
AsMdHabibullah/school
443ad9d48f774ff057806619957e518750e56ca1
[ "MIT" ]
null
null
null
teacher/urls.py
AsMdHabibullah/school
443ad9d48f774ff057806619957e518750e56ca1
[ "MIT" ]
null
null
null
teacher/urls.py
AsMdHabibullah/school
443ad9d48f774ff057806619957e518750e56ca1
[ "MIT" ]
null
null
null
from django.urls import path from rest_framework.urlpatterns import format_suffix_patterns from teacher.views import TeacherViews, TeacherDetailsViews app_name='teacher' urlpatterns = [ path('all/', TeacherViews.as_view()), path('single/<int:pk>/', TeacherDetailsViews.as_view()), ] urlpatterns = format_suff...
24.642857
61
0.785507
40
345
6.575
0.575
0.091255
0.152091
0
0
0
0
0
0
0
0
0
0.107246
345
13
62
26.538462
0.853896
0
0
0
0
0
0.078261
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