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
babbff97472e48560e1fc53cb0595ee3331cf57c
1,056
py
Python
Project-NFC Reader/punchclock/clock_db.py
CurtisIreland/electronics
99b2521bfde49587850ddaf224fa3ae52d55698c
[ "CC0-1.0" ]
22
2018-01-07T05:59:44.000Z
2022-03-04T03:22:27.000Z
Project-NFC Reader/punchclock/clock_db.py
CurtisIreland/electronics
99b2521bfde49587850ddaf224fa3ae52d55698c
[ "CC0-1.0" ]
null
null
null
Project-NFC Reader/punchclock/clock_db.py
CurtisIreland/electronics
99b2521bfde49587850ddaf224fa3ae52d55698c
[ "CC0-1.0" ]
33
2016-05-30T03:45:52.000Z
2022-03-29T10:26:43.000Z
import sqlite3 class clock_db: def __init__(self): self.conn = sqlite3.connect('punchclock.db') self.c = self.conn.cursor() return def generate_file(self): sql_string="CREATE TABLE employee (emp_card text, emp_name text)" self.c.execute(sql_string) self.conn.commit() sql_string="CREATE TABLE checkin...
25.756098
80
0.731061
163
1,056
4.503067
0.251534
0.122616
0.081744
0.10218
0.332425
0.275204
0.275204
0.234332
0.234332
0.128065
0
0.003289
0.136364
1,056
41
81
25.756098
0.801535
0
0
0.290323
1
0
0.228004
0
0
0
0
0
0
1
0.193548
false
0
0.032258
0
0.290323
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
bac371aff52033b342951ba079e79afa0b1355ce
2,595
py
Python
sdk/python/pulumi_aws/elasticbeanstalk/application.py
pulumi-bot/pulumi-aws
756c60135851e015232043c8206567101b8ebd85
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_aws/elasticbeanstalk/application.py
pulumi-bot/pulumi-aws
756c60135851e015232043c8206567101b8ebd85
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_aws/elasticbeanstalk/application.py
pulumi-bot/pulumi-aws
756c60135851e015232043c8206567101b8ebd85
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import pulumi import pulumi.runtime class Application(pulumi.CustomResource): """ Provides an Elastic Beanstalk Application Re...
41.854839
108
0.675145
283
2,595
5.876325
0.378092
0.091401
0.066146
0.057727
0.110643
0.05893
0.05893
0
0
0
0
0.000515
0.251638
2,595
61
109
42.540984
0.855819
0.223121
0
0
1
0
0.235487
0.024096
0
0
0
0
0
1
0.057143
false
0
0.057143
0
0.142857
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
bac8b709cc725796bb64fbcf49b49a5002225458
14,075
py
Python
hrl_fabric_based_tactile_sensor/src/hrl_fabric_based_tactile_sensor/taxel_calibration_viz.py
gt-ros-pkg/hrl-haptic-manip
6458187075033ecd3a22fbcdc1a632df39b0cba1
[ "Apache-2.0" ]
1
2017-07-13T14:58:35.000Z
2017-07-13T14:58:35.000Z
hrl_fabric_based_tactile_sensor/src/hrl_fabric_based_tactile_sensor/taxel_calibration_viz.py
gt-ros-pkg/hrl-haptic-manip
6458187075033ecd3a22fbcdc1a632df39b0cba1
[ "Apache-2.0" ]
null
null
null
hrl_fabric_based_tactile_sensor/src/hrl_fabric_based_tactile_sensor/taxel_calibration_viz.py
gt-ros-pkg/hrl-haptic-manip
6458187075033ecd3a22fbcdc1a632df39b0cba1
[ "Apache-2.0" ]
2
2017-03-08T14:44:22.000Z
2019-07-15T23:46:35.000Z
import sys, os import math, numpy as np import matplotlib.pyplot as pp import roslib; roslib.load_manifest('hrl_fabric_based_tactile_sensor') import hrl_lib.util as ut import hrl_lib.matplotlib_util as mpu def min_max_force_min_pressure_to_trigger_pressure_threshold(th, pressure_l, force_l, adc_l): p_arr = np.ar...
34.413203
126
0.524902
2,010
14,075
3.436318
0.105473
0.029535
0.023165
0.018821
0.711742
0.664398
0.635008
0.627045
0.605328
0.577675
0
0.022866
0.300888
14,075
408
127
34.497549
0.679065
0.084547
0
0.588785
0
0
0.140366
0.035267
0
0
0
0
0
0
null
null
0
0.021807
null
null
0.037383
0
0
0
null
0
0
0
0
0
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
bad7060c03afb4c61117f4ad34005824243e44e2
841
py
Python
cast/migrations/0025_auto_20190516_1102.py
ephes/django-cast
34b6aab98f7e9a750116ec2949e9cda4f2dcb127
[ "BSD-3-Clause" ]
11
2018-12-23T15:58:35.000Z
2021-10-04T12:14:46.000Z
cast/migrations/0025_auto_20190516_1102.py
ephes/django-cast
34b6aab98f7e9a750116ec2949e9cda4f2dcb127
[ "BSD-3-Clause" ]
9
2018-11-18T12:12:29.000Z
2022-02-27T09:51:36.000Z
cast/migrations/0025_auto_20190516_1102.py
ephes/django-cast
34b6aab98f7e9a750116ec2949e9cda4f2dcb127
[ "BSD-3-Clause" ]
12
2018-11-17T15:13:09.000Z
2020-05-02T00:10:07.000Z
# Generated by Django 2.2 on 2019-05-16 16:02 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [("cast", "0024_auto_20190428_0859")] operations = [ migrations.AddField( model_name="blog", name="comments_enabled", fiel...
28.033333
72
0.555291
80
841
5.675
0.5125
0.105727
0.167401
0.118943
0.409692
0.409692
0.409692
0.409692
0.409692
0.409692
0
0.054845
0.349584
841
29
73
29
0.775137
0.05113
0
0.608696
1
0
0.232412
0.028894
0
0
0
0
0
1
0
false
0
0.043478
0
0.173913
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
baddae069df9fb46aea611459b214542a022a402
8,533
py
Python
TP3/RiskAI/CarreRougeAi.py
RaphaelLapierre/INF4215
36e6c6594e81e202910251616fa9a3bf57a0fdcc
[ "MIT" ]
null
null
null
TP3/RiskAI/CarreRougeAi.py
RaphaelLapierre/INF4215
36e6c6594e81e202910251616fa9a3bf57a0fdcc
[ "MIT" ]
null
null
null
TP3/RiskAI/CarreRougeAi.py
RaphaelLapierre/INF4215
36e6c6594e81e202910251616fa9a3bf57a0fdcc
[ "MIT" ]
null
null
null
# coding=utf-8 from AI import AI from AttackAgent import AttackAgent from FortifyingAgent import FortifyingAgent from PlaceTroopsAgent import PlaceTroopsAgent from ChooseStartingCountryAgent import ChooseStartingCountryAgent from PlaceStartingTroopsAgent import PlaceStartingTroopsAgent from PlaceTroopsAction import Pla...
38.786364
136
0.709246
882
8,533
6.834467
0.236961
0.064698
0.05574
0.059721
0.379396
0.336596
0.302422
0.290146
0.281851
0.252488
0
0.00274
0.230165
8,533
219
137
38.96347
0.914903
0.435017
0
0.084507
0
0
0.000639
0
0
0
0
0
0
1
0.239437
false
0.028169
0.098592
0.084507
0.464789
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
bae9cfbb981d93990d62ac8b2b23ef1456763219
1,959
py
Python
server/application/models/indicator.py
cayman/decision
3adeb0c64e7c6dc330fdd0f43c523e2bc42f7f52
[ "MIT" ]
null
null
null
server/application/models/indicator.py
cayman/decision
3adeb0c64e7c6dc330fdd0f43c523e2bc42f7f52
[ "MIT" ]
null
null
null
server/application/models/indicator.py
cayman/decision
3adeb0c64e7c6dc330fdd0f43c523e2bc42f7f52
[ "MIT" ]
null
null
null
from application import db class Indicator(db.Model): __tablename__ = 'fa_indicator' id = db.Column(db.Integer, primary_key=True) name = db.Column(db.String(256)) unit = db.Column(db.String(16)) unit2 = db.Column(db.String(16)) quantity = db.Column(db.String(8)) def __init__(self, id, na...
32.65
92
0.652884
258
1,959
4.751938
0.224806
0.065253
0.081566
0.069331
0.175367
0.146003
0.12969
0.053834
0
0
0
0.011082
0.216947
1,959
59
93
33.20339
0.788136
0
0
0.044444
0
0
0.05723
0
0
0
0
0
0
1
0.111111
false
0
0.022222
0.044444
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
baecde0e8759ae239ee3454a28203027e6f3baf0
804
py
Python
app-active-learning/main.py
phurwicz/hover-binder
9b682f2c6e419fce29e6ea3bb94a1005552034dc
[ "BSD-3-Clause" ]
42
2020-11-28T13:24:56.000Z
2021-11-09T11:48:09.000Z
app-active-learning/main.py
phurwicz/hover-binder
9b682f2c6e419fce29e6ea3bb94a1005552034dc
[ "BSD-3-Clause" ]
1
2020-12-09T09:49:05.000Z
2020-12-12T16:14:12.000Z
app-active-learning/main.py
phurwicz/hover-binder
9b682f2c6e419fce29e6ea3bb94a1005552034dc
[ "BSD-3-Clause" ]
3
2020-12-06T10:04:25.000Z
2020-12-06T23:01:14.000Z
import sys sys.path.insert(0, ".") sys.path.insert(0, "..") from local_lib import create_embedded_dataset, load_vectorizer from hover.recipes.experimental import active_learning from hover.core.neural import VectorNet from hover.utils.common_nn import LogisticRegression from bokeh.io import curdoc TASK_MODULE = "mod...
27.724138
83
0.804726
104
804
6.067308
0.480769
0.042789
0.041204
0.044374
0
0
0
0
0
0
0
0.006993
0.110697
804
28
84
28.714286
0.875524
0.165423
0
0
0
0
0.037481
0
0
0
0
0
0
1
0.0625
false
0
0.375
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
baf0313998cf4e458acfc0172c94d2c4e445f660
5,465
py
Python
polyaxon/api/experiment_groups/views.py
wbuchwalter/polyaxon
a01396ea86a74082c457bfbc2c91d283b6ff6fba
[ "MIT" ]
null
null
null
polyaxon/api/experiment_groups/views.py
wbuchwalter/polyaxon
a01396ea86a74082c457bfbc2c91d283b6ff6fba
[ "MIT" ]
null
null
null
polyaxon/api/experiment_groups/views.py
wbuchwalter/polyaxon
a01396ea86a74082c457bfbc2c91d283b6ff6fba
[ "MIT" ]
null
null
null
from rest_framework import status from rest_framework.generics import CreateAPIView, RetrieveUpdateDestroyAPIView, get_object_or_404 from rest_framework.permissions import IsAuthenticated from rest_framework.response import Response import auditor from api.experiment_groups.serializers import ( ExperimentGroupDet...
37.689655
98
0.726258
559
5,465
6.871199
0.22898
0.101536
0.032804
0.036449
0.304608
0.265035
0.189274
0.079667
0.079667
0.045821
0
0.00206
0.200549
5,465
144
99
37.951389
0.877089
0.074474
0
0.19
0
0
0.032044
0
0
0
0
0
0
1
0.1
false
0
0.15
0.02
0.61
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
baf4dee107d105ca93a0e776d8c1d5c1ea4ec33a
539
py
Python
python/disjointset/unoin_find.py
googege/algo-learn
054d05e8037005c5810906d837de889108dad107
[ "MIT" ]
153
2020-09-24T12:46:51.000Z
2022-03-31T21:30:44.000Z
python/disjointset/unoin_find.py
googege/algo-learn
054d05e8037005c5810906d837de889108dad107
[ "MIT" ]
null
null
null
python/disjointset/unoin_find.py
googege/algo-learn
054d05e8037005c5810906d837de889108dad107
[ "MIT" ]
35
2020-12-22T11:07:06.000Z
2022-03-09T03:25:08.000Z
# 并查集的代码模板 class UnionFind: def __init__(self, n: int): self.count = n self.parent = [i for i in range(n)] def find(self, p: int): temp = p while p != self.parent[p]: p = self.parent[p] while temp != self.parent[p]: temp, self.parent[temp] ...
23.434783
58
0.502783
75
539
3.56
0.333333
0.299625
0.123596
0.089888
0.149813
0
0
0
0
0
0
0.002907
0.361781
539
22
59
24.5
0.773256
0.014842
0
0
0
0
0
0
0
0
0
0
0
1
0.1875
false
0
0
0
0.3125
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
baf930ae53ea42ae9c40ede29c3c1f3d06ab120b
313
py
Python
perfect_sum.py
RahulShah9191/data_structure
a1ab1441025535066df69b33dd6a52bdd6535670
[ "Unlicense" ]
null
null
null
perfect_sum.py
RahulShah9191/data_structure
a1ab1441025535066df69b33dd6a52bdd6535670
[ "Unlicense" ]
null
null
null
perfect_sum.py
RahulShah9191/data_structure
a1ab1441025535066df69b33dd6a52bdd6535670
[ "Unlicense" ]
null
null
null
from itertools import combinations def perfect_sum(nums, target): target_nums = [] for i in range(1, len(nums)+1): target_nums = target_nums + list(combinations(nums, i)) return [x for x in target_nums if sum(x) == target] if __name__ == "__main__": print(perfect_sum([1,2,3,4,5], 10))
28.454545
63
0.658147
50
313
3.84
0.54
0.208333
0
0
0
0
0
0
0
0
0
0.036145
0.204473
313
10
64
31.3
0.73494
0
0
0
0
0
0.025559
0
0
0
0
0
0
1
0.125
false
0
0.125
0
0.375
0.125
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
bafb60b99f6bdec866de37916547b9d20f36b45f
24,000
py
Python
src/WebApp/LLOOMMPPAA/views.py
abradle/ccf
2c10e86aa7c1a1d00881ce469a612e423d7d9bd1
[ "Apache-2.0" ]
1
2021-06-03T23:46:47.000Z
2021-06-03T23:46:47.000Z
src/WebApp/LLOOMMPPAA/views.py
abradle/ccf
2c10e86aa7c1a1d00881ce469a612e423d7d9bd1
[ "Apache-2.0" ]
null
null
null
src/WebApp/LLOOMMPPAA/views.py
abradle/ccf
2c10e86aa7c1a1d00881ce469a612e423d7d9bd1
[ "Apache-2.0" ]
3
2016-04-16T16:30:25.000Z
2018-03-11T11:00:58.000Z
from django.shortcuts import render, get_object_or_404 # Import the models from IOhandle.models import Protein,Target,Project,Molecule,Compound from MMPMaker.models import MMPDiffMap from LLOOMMPPAA.models import GPVal, PossReact, ReactionProcess from WebApp.settings import DATABASES import json from LLOOMMPPAA.analysi...
40.88586
274
0.635208
3,463
24,000
4.167485
0.146694
0.022727
0.012472
0.013304
0.441796
0.406389
0.362943
0.334812
0.303769
0.294207
0
0.007371
0.253792
24,000
586
275
40.955631
0.798481
0.100833
0
0.318396
0
0
0.124473
0.019289
0
0
0
0
0
0
null
null
0
0.058962
null
null
0.007075
0
0
0
null
0
0
0
0
0
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
24025436e361d3da21573aea4c06c41ce8608ecb
3,981
py
Python
plugins/bootcat_upload/views.py
adlerosn/corpusslayer
d3dea2e2d15e911d048a39f6ef6cb2d5f7b33e58
[ "MIT" ]
null
null
null
plugins/bootcat_upload/views.py
adlerosn/corpusslayer
d3dea2e2d15e911d048a39f6ef6cb2d5f7b33e58
[ "MIT" ]
1
2019-07-06T20:43:45.000Z
2019-07-06T20:43:45.000Z
plugins/bootcat_upload/views.py
adlerosn/corpusslayer
d3dea2e2d15e911d048a39f6ef6cb2d5f7b33e58
[ "MIT" ]
null
null
null
# Copyright (c) 2017 Adler Neves <adlerosn@gmail.com> # # MIT License # # 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, ...
42.806452
105
0.686511
507
3,981
5.337278
0.418146
0.036955
0.015521
0.022173
0.111604
0.073171
0.073171
0.073171
0.073171
0.073171
0
0.009981
0.219794
3,981
92
106
43.271739
0.861236
0.29892
0
0.129032
0
0
0.04991
0.01519
0
0
0
0
0
1
0.032258
false
0
0.370968
0
0.467742
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
240a20ddf6ae395924969e4bcd9c339368270d7a
2,758
py
Python
config/settings/base.py
andrewtcrooks/taskorganizer
661b1ae790d06f351871b5ef5f3f820055ddb704
[ "MIT" ]
null
null
null
config/settings/base.py
andrewtcrooks/taskorganizer
661b1ae790d06f351871b5ef5f3f820055ddb704
[ "MIT" ]
null
null
null
config/settings/base.py
andrewtcrooks/taskorganizer
661b1ae790d06f351871b5ef5f3f820055ddb704
[ "MIT" ]
null
null
null
"""taskorganizer.config.settings.base .""" import os import json # Normally you should not import ANYTHING from Django directly # into your settings, but ImproperlyConfigured is an exception. from django.core.exceptions import ImproperlyConfigured # Build paths inside the project like this: os.path.join(BASE_DIR, .....
29.031579
74
0.675489
292
2,758
6.263699
0.438356
0.085293
0.082012
0.084746
0.124112
0.114817
0.114817
0.063969
0
0
0
0.006352
0.20087
2,758
94
75
29.340426
0.823503
0.241842
0
0.050847
0
0
0.512301
0.427882
0
0
0
0
0
1
0
false
0
0.050847
0
0.050847
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2414258b3d072ab364d69d1a0c042ce818bfda53
581
py
Python
src/uglier/tools/generate_characters.py
MonliH/uglier
0922ddfab52677f959290400de578953b59e4597
[ "MIT" ]
1
2022-02-14T02:54:50.000Z
2022-02-14T02:54:50.000Z
src/uglier/tools/generate_characters.py
MonliH/uglier
0922ddfab52677f959290400de578953b59e4597
[ "MIT" ]
null
null
null
src/uglier/tools/generate_characters.py
MonliH/uglier
0922ddfab52677f959290400de578953b59e4597
[ "MIT" ]
null
null
null
import unicodedata import re # Used to generate the horrible characters.txt, from the confusables file # see https://util.unicode.org/UnicodeJsps/confusables.jsp def generate_chars(): match = re.compile("^[a-zA-Z]*$") characters = "" with open("./uglier/confusables.txt", "r") as f: for line in f.re...
36.3125
73
0.592083
74
581
4.648649
0.689189
0.011628
0
0
0
0
0
0
0
0
0
0.016471
0.268503
581
15
74
38.733333
0.790588
0.22031
0
0
1
0
0.108889
0.053333
0
0
0
0
0
1
0.083333
false
0
0.166667
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
241510417df2d290b166b393796d7c949db79717
194
py
Python
src/constants.py
ins4w/wordle-challenge
389a0cca57096a317400eb75eff54aaeaee887f8
[ "MIT" ]
1
2022-02-27T22:29:57.000Z
2022-02-27T22:29:57.000Z
src/constants.py
ins4w/wordle-challenge
389a0cca57096a317400eb75eff54aaeaee887f8
[ "MIT" ]
3
2022-02-27T22:27:01.000Z
2022-03-01T03:09:22.000Z
src/constants.py
ins4w/wordle-challenge
389a0cca57096a317400eb75eff54aaeaee887f8
[ "MIT" ]
1
2022-03-27T22:50:26.000Z
2022-03-27T22:50:26.000Z
HASH_KEY = 55 WORDS_LENGTH = 5 REQUIRED_WORDS = 365 MAX_GAME_ATTEMPTS = 6 WORDS_PATH = 'out/palabras5.txt' GAME_HISTORY_PATH = 'out/partidas.json' GAME_WORDS_PATH = 'out/palabras_por_fecha.json'
27.714286
47
0.798969
32
194
4.46875
0.6875
0.146853
0.167832
0
0
0
0
0
0
0
0
0.045977
0.103093
194
7
47
27.714286
0.775862
0
0
0
0
0
0.312821
0.138462
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
2417b7e53acb610b4c620c1aa0b69f018b92fee1
856
py
Python
snake/gym_snake/__init__.py
NeuralFlux/rl-analysis
bb45e1f8bb9da4683cce4bd0a5e687770a4005e2
[ "MIT" ]
1
2020-12-05T13:15:35.000Z
2020-12-05T13:15:35.000Z
snake/gym_snake/__init__.py
NeuralFlux/rl-analysis
bb45e1f8bb9da4683cce4bd0a5e687770a4005e2
[ "MIT" ]
null
null
null
snake/gym_snake/__init__.py
NeuralFlux/rl-analysis
bb45e1f8bb9da4683cce4bd0a5e687770a4005e2
[ "MIT" ]
null
null
null
from gym_snake.register import register for num_players in ['']: for style in ['']: for grid_size in ['4x4', '8x8', '16x16']: for grid_type in ['']: env_id = '-'.join(['Snake', grid_type, grid_size, style, num_players]) + '-v0'.replace('--', '-') entry_point = 'g...
29.517241
130
0.535047
101
856
4.277228
0.257426
0.138889
0.12037
0.166667
0.4375
0.386574
0.386574
0.185185
0.185185
0
0
0.045381
0.279206
856
29
131
29.517241
0.654781
0
0
0.125
0
0
0.229872
0.086348
0.041667
0
0
0
0
1
0
false
0.041667
0.041667
0
0.041667
0.166667
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
241e89e1a273dea01c62eca11083c6de3e72ec16
413
py
Python
src/setup.py
tgrasty/CSCI574-Machine-Learning
bcf797262852c4b46a6702c69f69724b0b9e93f6
[ "CC-BY-3.0" ]
null
null
null
src/setup.py
tgrasty/CSCI574-Machine-Learning
bcf797262852c4b46a6702c69f69724b0b9e93f6
[ "CC-BY-3.0" ]
null
null
null
src/setup.py
tgrasty/CSCI574-Machine-Learning
bcf797262852c4b46a6702c69f69724b0b9e93f6
[ "CC-BY-3.0" ]
1
2021-09-17T17:03:58.000Z
2021-09-17T17:03:58.000Z
#!/usr/bin/env python """ Standard setup.py file to install the ml_python_class module for general use, without having to setup PYTHON_PATH in notebooks. """ from setuptools import setup, find_packages setup(name="ml_python_class", version="0.1", description="Common functions and classes for the ml_python...
31.769231
96
0.743341
60
413
4.966667
0.7
0.080537
0.130872
0.107383
0
0
0
0
0
0
0
0.005764
0.159806
413
12
97
34.416667
0.853026
0.360775
0
0
0
0
0.445313
0.085938
0
0
0
0
0
1
0
true
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
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
24227d47b216f8ad3d4692087cc0b27c034ffdbb
828
py
Python
two_factor/plugins/email/forms.py
jazzband/django-two-factor-auth
29f217d62fd62d0ab97d989eb0214deccb3e7276
[ "MIT" ]
65
2021-12-30T16:58:11.000Z
2022-03-28T21:36:51.000Z
two_factor/plugins/email/forms.py
jazzband/django-two-factor-auth
29f217d62fd62d0ab97d989eb0214deccb3e7276
[ "MIT" ]
68
2021-12-29T19:48:40.000Z
2022-03-31T10:51:12.000Z
two_factor/plugins/email/forms.py
jazzband/django-two-factor-auth
29f217d62fd62d0ab97d989eb0214deccb3e7276
[ "MIT" ]
21
2021-12-30T16:58:14.000Z
2022-03-30T07:10:23.000Z
from django import forms from django.utils.translation import gettext_lazy as _ from two_factor.forms import ( AuthenticationTokenForm as BaseAuthenticationTokenForm, DeviceValidationForm as BaseValidationForm, ) class EmailForm(forms.Form): email = forms.EmailField(label=_("Email address")) def __i...
29.571429
64
0.71256
82
828
7
0.621951
0.034843
0
0
0
0
0
0
0
0
0
0
0.187198
828
27
65
30.666667
0.852897
0.044686
0
0
0
0
0.084918
0
0
0
0
0
0
1
0.105263
false
0
0.157895
0.052632
0.631579
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
2422df064dc784cc0fe67573c96950ae536ad5c0
2,840
py
Python
mcpipy/maze.py
wangtt03/raspberryjammod
d828d1b225c0dfc25d91f4e3569ce620fa231e14
[ "MIT" ]
338
2015-01-20T15:07:48.000Z
2022-02-25T17:31:06.000Z
mcpipy/maze.py
wangtt03/raspberryjammod
d828d1b225c0dfc25d91f4e3569ce620fa231e14
[ "MIT" ]
58
2015-03-26T12:21:41.000Z
2022-02-20T21:01:33.000Z
mcpipy/maze.py
wangtt03/raspberryjammod
d828d1b225c0dfc25d91f4e3569ce620fa231e14
[ "MIT" ]
112
2015-08-10T19:20:44.000Z
2022-02-23T08:58:52.000Z
from mine import * from sys import argv from random import randint DIRS = ((1,0),(0,1),(-1,0),(0,-1)) def generateMaze(xSize, ySize, start=(0,0), dirs=DIRS, inside=None): if inside == None: inside = lambda xy : 0 <= xy[0] < xSize and 0 <= xy[1] < ySize def move(pos, dir): r...
27.307692
101
0.485915
418
2,840
3.299043
0.200957
0.055838
0.018129
0.031907
0.316171
0.229152
0.180566
0.163162
0.124003
0.124003
0
0.048405
0.359859
2,840
103
102
27.572816
0.710121
0
0
0.075949
1
0
0.008769
0
0
0
0
0
0
1
0.063291
false
0
0.037975
0.025316
0.151899
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
24249e837b6b5e0e448c6b818d5ab607f0e39f56
6,162
py
Python
scripts/uninstall.py
aroth-arsoft/trac-timingandestimation
cf44f664b9ad45e525a0fe2bc0d116721ceb2163
[ "MIT" ]
null
null
null
scripts/uninstall.py
aroth-arsoft/trac-timingandestimation
cf44f664b9ad45e525a0fe2bc0d116721ceb2163
[ "MIT" ]
1
2020-09-18T16:15:54.000Z
2020-09-18T16:28:23.000Z
scripts/uninstall.py
aroth-arsoft/trac-timingandestimation
cf44f664b9ad45e525a0fe2bc0d116721ceb2163
[ "MIT" ]
null
null
null
#!/usr/bin/python ### Warning removes all trace of T&E from your computer ### ### USE ONLY IN DIREST NEED AND WITH CAUTION ### import re,shutil,traceback from optparse import OptionParser from trac.env import Environment parser = OptionParser("""usage: [options] trac-install trac-install <- The path to...
38.037037
101
0.581305
761
6,162
4.563732
0.239159
0.028218
0.037432
0.030233
0.407141
0.362511
0.336309
0.302044
0.238986
0.186006
0
0.002346
0.308179
6,162
161
102
38.273292
0.812339
0.027102
0
0.238462
0
0
0.251366
0.021004
0
0
0
0
0
0
null
null
0.015385
0.038462
null
null
0.1
0
0
0
null
0
0
0
0
0
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
2430629d353e6e712b1f3a32c0fc7e2a261511ba
1,770
py
Python
mayan/apps/user_management/serializers.py
edsonbin/maxacali
1fd3ac99543788f77f1a7795981179b2cc8c4421
[ "Apache-2.0" ]
null
null
null
mayan/apps/user_management/serializers.py
edsonbin/maxacali
1fd3ac99543788f77f1a7795981179b2cc8c4421
[ "Apache-2.0" ]
null
null
null
mayan/apps/user_management/serializers.py
edsonbin/maxacali
1fd3ac99543788f77f1a7795981179b2cc8c4421
[ "Apache-2.0" ]
2
2020-02-24T21:02:31.000Z
2021-01-05T23:52:01.000Z
from __future__ import unicode_literals from django.contrib.auth import get_user_model from django.contrib.auth.models import Group from rest_framework import serializers class GroupSerializer(serializers.HyperlinkedModelSerializer): users_count = serializers.SerializerMethodField() class Meta: ext...
28.548387
78
0.640113
188
1,770
5.771277
0.393617
0.119816
0.058986
0.03871
0.134562
0.134562
0.070046
0.070046
0.070046
0
0
0
0.245763
1,770
61
79
29.016393
0.812734
0
0
0.136364
0
0
0.145763
0.011864
0
0
0
0
0
1
0.068182
false
0.159091
0.090909
0.022727
0.386364
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
2435506a336aa72007071dd3eaf006d9b090ec44
2,153
py
Python
workspace/pythonScripts/pca_terminal.py
cbi-bioinfo/AGRAP
f2ff7817e095109a351c71cf3d92f503a76fbeeb
[ "MIT" ]
null
null
null
workspace/pythonScripts/pca_terminal.py
cbi-bioinfo/AGRAP
f2ff7817e095109a351c71cf3d92f503a76fbeeb
[ "MIT" ]
null
null
null
workspace/pythonScripts/pca_terminal.py
cbi-bioinfo/AGRAP
f2ff7817e095109a351c71cf3d92f503a76fbeeb
[ "MIT" ]
1
2021-11-09T04:35:00.000Z
2021-11-09T04:35:00.000Z
# -*- coding: utf-8 -*- """PCA_terminal.ipynb Automatically generated by Colaboratory. Original file is located at https://colab.research.google.com/drive/116G3B9OHGgo95ICKdYx3DmcYfbccBl08 """ import os import sys import pandas as pd import numpy as np import zipfile #file 불러오기 filepath = sys.argv...
26.580247
78
0.67673
296
2,153
4.817568
0.530405
0.010519
0.025245
0.02244
0.037868
0
0
0
0
0
0
0.019886
0.182536
2,153
81
79
26.580247
0.790341
0.226196
0
0.045455
1
0
0.091837
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
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
24391cf7b70ec832446337cb10273a3dad1221b2
1,803
py
Python
env/src/dashboard/migrations/0001_initial.py
vlad-ed-git/car_asia_network_forum
aa2c18f9fed175d9184388757c849b64c849f0d7
[ "MIT" ]
null
null
null
env/src/dashboard/migrations/0001_initial.py
vlad-ed-git/car_asia_network_forum
aa2c18f9fed175d9184388757c849b64c849f0d7
[ "MIT" ]
null
null
null
env/src/dashboard/migrations/0001_initial.py
vlad-ed-git/car_asia_network_forum
aa2c18f9fed175d9184388757c849b64c849f0d7
[ "MIT" ]
null
null
null
# Generated by Django 3.1.2 on 2021-01-09 05:51 import dashboard.models from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USE...
48.72973
127
0.665557
202
1,803
5.737624
0.430693
0.064711
0.072476
0.086281
0.307161
0.267472
0.267472
0.267472
0.267472
0.267472
0
0.01614
0.209651
1,803
36
128
50.083333
0.797193
0.024958
0
0
1
0
0.113326
0.015376
0
0
0
0
0
1
0
false
0
0.137931
0
0.275862
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
24425d35d98d92be93fd695e0cfe092619c8a6d3
1,843
py
Python
modules/autoBump.py
logicguy1/The-all-in-one-discord-tool
bae5430077ff61a296576a20e2bb8be6bdb2b396
[ "Unlicense" ]
105
2021-04-15T04:34:21.000Z
2022-03-29T22:58:12.000Z
modules/autoBump.py
logicguy1/The-all-in-one-discord-tool
bae5430077ff61a296576a20e2bb8be6bdb2b396
[ "Unlicense" ]
13
2021-03-08T06:34:09.000Z
2022-03-20T18:07:53.000Z
modules/autoBump.py
logicguy1/The-all-in-one-discord-tool
bae5430077ff61a296576a20e2bb8be6bdb2b396
[ "Unlicense" ]
44
2021-04-05T07:07:40.000Z
2022-03-17T17:36:12.000Z
LICNECE = """ Copyright © 2021 Drillenissen#4268 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,...
51.194444
461
0.678242
277
1,843
4.516245
0.584838
0.070344
0.015987
0.014388
0.017586
0
0
0
0
0
0
0.036212
0.220836
1,843
35
462
52.657143
0.834262
0.011394
0
0
0
0.133333
0.75014
0
0
0
0
0
0
1
0.033333
false
0
0.1
0
0.133333
0.1
0
0
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
24498cb526027649eeed71e998be90e8c3fdadc2
839
py
Python
Algorithms/006 - ZigZag Conversion/convert.py
Adriel-M/leetcode
bd4dba7cbc1be6e2799e16bdcfa1a9649b7d5c7c
[ "MIT" ]
1
2018-07-05T08:13:34.000Z
2018-07-05T08:13:34.000Z
Algorithms/006 - ZigZag Conversion/convert.py
Adriel-M/leetcode
bd4dba7cbc1be6e2799e16bdcfa1a9649b7d5c7c
[ "MIT" ]
null
null
null
Algorithms/006 - ZigZag Conversion/convert.py
Adriel-M/leetcode
bd4dba7cbc1be6e2799e16bdcfa1a9649b7d5c7c
[ "MIT" ]
null
null
null
class Solution: def convert(self, s, numRows): """ :type s: str :type numRows: int :rtype: str """ if numRows == 1: return s else: p = [] placeholder = [] for _ in range(numRows): placeholder.appe...
27.064516
48
0.367104
74
839
4.148649
0.445946
0.052117
0.071661
0.09772
0
0
0
0
0
0
0
0.015584
0.54112
839
30
49
27.966667
0.781818
0.051251
0
0.16
0
0
0
0
0
0
0
0
0
1
0.04
false
0
0
0
0.16
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
2451e4b4a456f46603a5503b58a3f0bee0f6299d
2,144
py
Python
main.py
ingxfm/pong
51370ed6358d60b9e08544b6947e31d198121a46
[ "MIT" ]
null
null
null
main.py
ingxfm/pong
51370ed6358d60b9e08544b6947e31d198121a46
[ "MIT" ]
null
null
null
main.py
ingxfm/pong
51370ed6358d60b9e08544b6947e31d198121a46
[ "MIT" ]
null
null
null
# Built-in from turtle import Turtle, Screen from time import sleep from random import randint # My own from racket import Racket from ball import Ball from scoreboard import Scoreboard START_LINE_POS = (0, -280) DRAW_LINE = 300 SPACING_DASHED_LINE = 10 ANGLE_UP = 90 PLAYER_RIGHT_START_POS = (380, 0) P...
24.363636
112
0.678638
313
2,144
4.488818
0.361022
0.037011
0.048399
0.04484
0.1879
0.133808
0.088256
0
0
0
0
0.038484
0.21222
2,144
87
113
24.643678
0.793369
0.150653
0
0.103448
0
0
0.012791
0
0
0
0
0.011494
0
1
0
false
0
0.103448
0
0.103448
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
245354a9b44c54156c225834333715206a383f48
907
py
Python
pypdb/clients/search/operators/seqmotif_operators.py
JBGreisman/pypdb
7c03e0d183e98fbf9695fcb80119fc097dc081fc
[ "MIT" ]
194
2015-06-01T06:40:25.000Z
2022-03-30T11:33:04.000Z
pypdb/clients/search/operators/seqmotif_operators.py
JBGreisman/pypdb
7c03e0d183e98fbf9695fcb80119fc097dc081fc
[ "MIT" ]
42
2015-12-19T05:56:50.000Z
2022-03-02T16:11:00.000Z
pypdb/clients/search/operators/seqmotif_operators.py
JBGreisman/pypdb
7c03e0d183e98fbf9695fcb80119fc097dc081fc
[ "MIT" ]
62
2015-09-16T11:09:57.000Z
2022-03-13T09:21:51.000Z
"""Operators associated with SeqMotif searching using RCSB Search API.""" from dataclasses import dataclass from enum import Enum from typing import Any, Dict class SequenceType(Enum): """Type of sequence being searched for motifs.""" DNA = "pdb_dna_sequence" RNA = "pdb_rna_sequence" PROTEIN = "pdb_p...
23.868421
73
0.675854
110
907
5.454545
0.472727
0.055
0.033333
0
0
0
0
0
0
0
0
0
0.235943
907
37
74
24.513514
0.865801
0.273429
0
0
0
0
0.14486
0
0
0
0
0
0
1
0.045455
false
0
0.136364
0.045455
0.772727
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
24579e11f64b48d70486e4bcdabf3c35184f909d
1,057
py
Python
Cogs/New.py
HeroicosHM/AZEsportsDiscordBotTempt
c3d27d09049f2d0ef92e8be94d91f7306cfc8eae
[ "MIT" ]
null
null
null
Cogs/New.py
HeroicosHM/AZEsportsDiscordBotTempt
c3d27d09049f2d0ef92e8be94d91f7306cfc8eae
[ "MIT" ]
null
null
null
Cogs/New.py
HeroicosHM/AZEsportsDiscordBotTempt
c3d27d09049f2d0ef92e8be94d91f7306cfc8eae
[ "MIT" ]
null
null
null
import discord from discord.ext import commands import datetime """ Class | Template This is a template put in place to be used when creating a new Cog file. """ class New(commands.Cog, name = "New"): def __init__(self, bot): self.bot = bot print(f"{bot.OK} {bot.TIMELOG()} Loaded New Cog.") d...
25.166667
112
0.647114
150
1,057
4.506667
0.46
0.04142
0.031065
0.066568
0.079882
0.079882
0.079882
0
0
0
0
0
0.235572
1,057
41
113
25.780488
0.836634
0
0
0.105263
0
0
0.224189
0
0
0
0
0
0
1
0.157895
false
0.105263
0.157895
0
0.368421
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
1
0
0
0
0
0
1
24596d44a806d82e9bc659bbb58d685ea4550a8e
906
py
Python
Observer/solution2_dip_dry/core/sensors.py
musen-rse/examples_python
75f2afb94c9ee2e1f1333638d186c2c3c3a96436
[ "MIT" ]
1
2022-01-23T14:02:47.000Z
2022-01-23T14:02:47.000Z
Observer/solution2_dip_dry/core/sensors.py
musen-rse/examples_python
75f2afb94c9ee2e1f1333638d186c2c3c3a96436
[ "MIT" ]
1
2021-09-12T07:00:30.000Z
2021-09-12T07:00:30.000Z
Observer/solution2_dip_dry/core/sensors.py
musen-rse/examples_python
75f2afb94c9ee2e1f1333638d186c2c3c3a96436
[ "MIT" ]
1
2022-01-23T14:02:29.000Z
2022-01-23T14:02:29.000Z
import random from core.sensors_abc import Sensor class TemperatureSensor(Sensor): def __init__(self): super().__init__() self._temperature = 20 @property def temperature(self) -> int: return self._temperature @temperature.setter def temperature(self, value: int): ...
20.590909
53
0.631347
96
906
5.677083
0.302083
0.13211
0.110092
0.062385
0.231193
0.231193
0.110092
0
0
0
0
0.012121
0.271523
906
43
54
21.069767
0.813636
0
0
0.333333
0
0
0
0
0
0
0
0
0
1
0.266667
false
0
0.066667
0.066667
0.466667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
2460d06bf3a4bad0e042891c547e66e3dc64a79f
491
py
Python
SQLAlchemy/ORM/data/book_details.py
jgraber/PythonFriday
879f10934dc6949785e5a799bfc3ca9a2a4434d4
[ "MIT" ]
5
2021-02-22T08:39:55.000Z
2022-03-14T03:54:36.000Z
SQLAlchemy/ORM/data/book_details.py
jgraber/PythonFriday
879f10934dc6949785e5a799bfc3ca9a2a4434d4
[ "MIT" ]
null
null
null
SQLAlchemy/ORM/data/book_details.py
jgraber/PythonFriday
879f10934dc6949785e5a799bfc3ca9a2a4434d4
[ "MIT" ]
null
null
null
import sqlalchemy as sa from data.modelbase import ModelBase class BookDetails(ModelBase): __tablename__ = 'BookDetail' book_id = sa.Column('Id', sa.Integer, sa.ForeignKey('Book.Id'), primary_key=True) cover = sa.Column('Cover', sa.String) book = sa.orm.relationship("Book", back_populates="details...
32.733333
85
0.680244
61
491
5.278689
0.540984
0.055901
0
0
0
0
0
0
0
0
0
0
0.181263
491
15
86
32.733333
0.800995
0
0
0
0
0
0.180894
0
0
0
0
0
0
1
0.1
false
0
0.2
0.1
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
2464d559c9fc5addbe8309b40b7c8a3e16565c95
1,691
py
Python
src/core/heartbeat.py
zu3s/tap
008708d5ae618be9df7ce79e09742aef135de82b
[ "FTL", "Linux-OpenIB" ]
1
2020-05-09T18:26:08.000Z
2020-05-09T18:26:08.000Z
src/core/heartbeat.py
undercl0ck/tap
008708d5ae618be9df7ce79e09742aef135de82b
[ "FTL", "Linux-OpenIB" ]
null
null
null
src/core/heartbeat.py
undercl0ck/tap
008708d5ae618be9df7ce79e09742aef135de82b
[ "FTL", "Linux-OpenIB" ]
1
2019-07-15T23:51:12.000Z
2019-07-15T23:51:12.000Z
#!/usr/bin/python ####################################################### # heartbeat actively attempts to ensure TAP # continues to run ####################################################### import subprocess import time while 1: # check if TAP is running first print "[*] Checking to see if TAP is operatio...
37.577778
112
0.600828
220
1,691
4.590909
0.322727
0.089109
0.043564
0.062376
0.408911
0.393069
0.366337
0.366337
0.308911
0.308911
0
0.003785
0.218805
1,691
44
113
38.431818
0.760787
0.105855
0
0.2
0
0
0.363245
0.060302
0
0
0
0
0
0
null
null
0
0.08
null
null
0.32
0
0
0
null
0
0
0
0
0
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
24689826552d24d35ac0297a1cb0a84697e26126
1,268
py
Python
python/usb_keypad_reader/usb_keypad_reader.py
Danielgfonseca/activioty
f3c4844693de924eca82d40baf608a3ac0e1ffe5
[ "MIT" ]
10
2018-01-17T14:40:09.000Z
2020-03-30T19:10:44.000Z
python/usb_keypad_reader/usb_keypad_reader.py
Danielgfonseca/activioty
f3c4844693de924eca82d40baf608a3ac0e1ffe5
[ "MIT" ]
null
null
null
python/usb_keypad_reader/usb_keypad_reader.py
Danielgfonseca/activioty
f3c4844693de924eca82d40baf608a3ac0e1ffe5
[ "MIT" ]
3
2018-04-02T17:07:39.000Z
2021-06-05T04:25:32.000Z
''' Created on Jan 30, 2018 @author: martin ''' from reader import reader from termcolor import cprint from pyfiglet import figlet_format class USBKeypadReader(reader.Reader): ''' Reader of bib numbers (strings) from standard input. ''' def __init__(self): ''' Constructor ...
28.177778
119
0.555205
130
1,268
5.346154
0.584615
0.051799
0.048921
0.066187
0
0
0
0
0
0
0
0.007051
0.328864
1,268
44
120
28.818182
0.809636
0.301262
0
0.222222
0
0
0.096401
0
0
0
0
0
0
1
0.166667
false
0.111111
0.166667
0
0.388889
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
2468e847453e206137cd8a605cea749275887204
4,140
py
Python
djvue/vv_locale.py
abahnihi/djvue
628e363297c676865aab28e83f04906d933540c0
[ "MIT" ]
13
2020-07-21T19:22:22.000Z
2020-12-17T17:28:41.000Z
djvue/vv_locale.py
abahnihi/djvue
628e363297c676865aab28e83f04906d933540c0
[ "MIT" ]
1
2021-01-26T11:37:38.000Z
2021-01-26T11:37:38.000Z
djvue/vv_locale.py
abahnihi/djvue
628e363297c676865aab28e83f04906d933540c0
[ "MIT" ]
3
2020-07-28T10:33:55.000Z
2020-11-08T20:11:34.000Z
# Parent key is matching the django language. # Child key is matching the VeeValidate lang codes # https://logaretm.github.io/vee-validate/guide/localization.html#using-the-default-i18n vv_locale = { "ar": { "ar": { "messages": { "alpha": "{_field_} يجب ان يحتوي على حروف فقط", ...
60
123
0.545894
491
4,140
4.374745
0.297352
0.09311
0.151304
0.087058
0.346369
0.22905
0.141527
0.104283
0.03352
0
0
0.000724
0.332609
4,140
68
124
60.882353
0.775968
0.042995
0
0.0625
0
0
0.654789
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
79e82f02e1430453f536035f3341d1f9fa05df5d
5,014
py
Python
src/rbx2/rbx2_tasks/nodes/patrol_tree.py
fujy/ROS-Project
b5e3b43c5eb5d3c1d984648f0f61710eea3a1bb8
[ "MIT" ]
9
2017-08-22T13:07:13.000Z
2021-07-13T10:02:29.000Z
src/rbx2/rbx2_tasks/nodes/patrol_tree.py
vcdanda/ROS-Turtlebot2
f24356486f55933d52e25a81715f1571aace0224
[ "MIT" ]
1
2017-12-14T06:46:58.000Z
2017-12-14T06:46:58.000Z
src/rbx2/rbx2_tasks/nodes/patrol_tree.py
vcdanda/ROS-Turtlebot2
f24356486f55933d52e25a81715f1571aace0224
[ "MIT" ]
5
2018-02-07T14:09:28.000Z
2021-01-08T20:41:52.000Z
#!/usr/bin/env python """ patrol_tree.py - Version 1.0 2013-03-18 Navigate a series of waypoints while monitoring battery levels. Uses the pi_trees package to implement a behavior tree task manager. Created for the Pi Robot Project: http://www.pirobot.org Copyright (c) 2013 Patrick Goebel...
36.867647
143
0.636019
628
5,014
4.906051
0.367834
0.031159
0.027264
0.025966
0.152223
0.129179
0.088932
0.06816
0.06816
0.06816
0
0.007912
0.294176
5,014
135
144
37.140741
0.862673
0.177104
0
0.126984
0
0
0.082013
0.010873
0
0
0
0
0
0
null
null
0
0.095238
null
null
0.031746
0
0
0
null
0
0
0
0
0
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
79ea475bab2caaff6797572ed8796f55180028a1
295
py
Python
RandomTurtle.py
controversial/Python
860a97486e61797538e574b1f4d240deef3c59a3
[ "MIT" ]
4
2016-09-17T11:47:37.000Z
2020-12-12T19:42:14.000Z
RandomTurtle.py
The-Penultimate-Defenestrator/Python
860a97486e61797538e574b1f4d240deef3c59a3
[ "MIT" ]
1
2016-08-14T21:34:13.000Z
2018-03-29T13:57:09.000Z
RandomTurtle.py
The-Penultimate-Defenestrator/Python
860a97486e61797538e574b1f4d240deef3c59a3
[ "MIT" ]
1
2020-02-21T06:45:28.000Z
2020-02-21T06:45:28.000Z
import turtle, random turtle.setup(500, 500) randy = turtle.Pen() while True: randy.forward(random.randint(-100, 100)) randy.setheading(random.randint(-360, 360)) if randy.xcor() >= 250 or randy.xcor() <= -250 or randy.ycor() >= 250 or randy.ycor() <= -250: randy.goto(0, 0)
32.777778
98
0.644068
44
295
4.318182
0.477273
0.078947
0.157895
0.147368
0.284211
0
0
0
0
0
0
0.131687
0.176271
295
8
99
36.875
0.650206
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
79fc8f3ea1b09213e3b0f15672ebba8f0b2178a8
2,732
py
Python
server/db_cron/pdt.py
isabella232/zperfmon
c509f40f0f56d36723ba3f0c96c985517a55e775
[ "Apache-2.0" ]
54
2015-02-10T07:20:06.000Z
2021-12-23T03:28:29.000Z
server/db_cron/pdt.py
zynga/zperfmon
c509f40f0f56d36723ba3f0c96c985517a55e775
[ "Apache-2.0" ]
1
2016-10-10T06:00:20.000Z
2016-10-10T06:00:20.000Z
server/db_cron/pdt.py
isabella232/zperfmon
c509f40f0f56d36723ba3f0c96c985517a55e775
[ "Apache-2.0" ]
37
2015-01-27T12:28:45.000Z
2021-01-04T11:10:52.000Z
#!/usr/bin/python # # Copyright 2013 Zynga 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 applicabl...
23.964912
79
0.587848
394
2,732
3.974619
0.365482
0.04917
0.038314
0.020434
0.045977
0.016603
0
0
0
0
0
0.020513
0.286237
2,732
113
80
24.176991
0.782564
0.275988
0
0.048387
0
0
0.052712
0
0
0
0
0
0
0
null
null
0
0.032258
null
null
0.145161
0
0
0
null
0
0
0
0
0
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
0303e1c059c9dd600c2c63ff9f85f23066e1dd42
329
py
Python
dynamic_rest/fields/link.py
imposeren/dynamic-rest
2b7e85c094904703a43bf44d3d45ea823b3397eb
[ "MIT" ]
null
null
null
dynamic_rest/fields/link.py
imposeren/dynamic-rest
2b7e85c094904703a43bf44d3d45ea823b3397eb
[ "MIT" ]
null
null
null
dynamic_rest/fields/link.py
imposeren/dynamic-rest
2b7e85c094904703a43bf44d3d45ea823b3397eb
[ "MIT" ]
1
2019-04-25T13:57:33.000Z
2019-04-25T13:57:33.000Z
from __future__ import absolute_import from rest_framework.serializers import CharField from .base import DynamicField class DynamicLinkField( CharField, DynamicField ): def __init__(self, **kwargs): self.iframe = kwargs.pop('iframe', False) return super(DynamicLinkField, self).__init__(*...
23.5
63
0.738602
35
329
6.542857
0.6
0
0
0
0
0
0
0
0
0
0
0
0.176292
329
13
64
25.307692
0.845018
0
0
0
0
0
0.018237
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
030f75aff314e27749d5058e7a64f681f287bea7
524
py
Python
tests/derive/test_assign_unique_id_column.py
ONS-SST/cis_households
e475df5929e6763a46cd05aff1f7e960ccbe8e21
[ "MIT" ]
null
null
null
tests/derive/test_assign_unique_id_column.py
ONS-SST/cis_households
e475df5929e6763a46cd05aff1f7e960ccbe8e21
[ "MIT" ]
252
2021-05-19T11:12:43.000Z
2022-03-02T10:39:10.000Z
tests/derive/test_assign_unique_id_column.py
ONS-SST/cis_households
e475df5929e6763a46cd05aff1f7e960ccbe8e21
[ "MIT" ]
null
null
null
from chispa import assert_df_equality from cishouseholds.derive import assign_unique_id_column def test_assign_unique_id_column(spark_session): expected_df = spark_session.createDataFrame( data=[("XAE-12", "XAE", "12"), ("BSE-53", "BSE", "53"), ("53", None, "53")], schema=["id", "A", "B"], ) ...
30.823529
94
0.687023
74
524
4.513514
0.459459
0.107784
0.125749
0.179641
0
0
0
0
0
0
0
0.027088
0.15458
524
16
95
32.75
0.726862
0
0
0
0
0
0.068702
0
0
0
0
0
0.2
1
0.1
false
0
0.2
0
0.3
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
030fb3678f48886f4996faa8f837ec8bddaed775
4,740
py
Python
tests/unit/test_models.py
pythonmentor/teiva-p11
4be26edbad6e490c3991ca1ce5680e889b2ab75a
[ "MIT", "Unlicense" ]
null
null
null
tests/unit/test_models.py
pythonmentor/teiva-p11
4be26edbad6e490c3991ca1ce5680e889b2ab75a
[ "MIT", "Unlicense" ]
4
2021-03-30T14:25:16.000Z
2021-06-17T06:53:27.000Z
tests/unit/test_models.py
pythonmentor/teiva-p11
4be26edbad6e490c3991ca1ce5680e889b2ab75a
[ "MIT", "Unlicense" ]
2
2020-08-15T17:23:42.000Z
2020-08-15T17:23:55.000Z
from django.test import TestCase from products.models import Category, Product from users.models import User class CategoryModelTest(TestCase): @classmethod def setUpClass(cls): super(CategoryModelTest, cls).setUpClass() Category.objects.create(category_name="Sodas") def test_category_na...
39.173554
76
0.700844
565
4,740
5.589381
0.115044
0.079797
0.053198
0.102913
0.722926
0.682077
0.574414
0.507916
0.422103
0.422103
0
0.053292
0.192405
4,740
120
77
39.5
0.771682
0
0
0.302083
0
0
0.118143
0.006962
0
0
0
0
0.177083
1
0.208333
false
0.010417
0.03125
0
0.270833
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
03102e540d3f0521d559488821875c295caee411
932
py
Python
cdash-client/settings.py
BioDataAnalysis/cdash-client
9460bae9264c1e9b02c0da6aa8f5e02718e09aa1
[ "Apache-2.0" ]
3
2020-09-09T20:33:07.000Z
2020-09-10T06:21:49.000Z
cdash-client/settings.py
BioDataAnalysis/cdash-client
9460bae9264c1e9b02c0da6aa8f5e02718e09aa1
[ "Apache-2.0" ]
null
null
null
cdash-client/settings.py
BioDataAnalysis/cdash-client
9460bae9264c1e9b02c0da6aa8f5e02718e09aa1
[ "Apache-2.0" ]
null
null
null
import json import os config = {} settings_file_wd = os.path.join(os.getcwd(), ".cdash-client.json") home_directory = os.path.expanduser("~") settings_file_home = os.path.join(home_directory, ".cdash-client.json") settings_file = "" # First of all, we look for our settings file inside the user's home folder. # This ...
38.833333
114
0.738197
148
932
4.486486
0.418919
0.271084
0.084337
0.048193
0.23494
0.165663
0.087349
0
0
0
0
0
0.149142
932
23
115
40.521739
0.837327
0.177039
0
0.117647
0
0
0.260471
0
0
0
0
0
0
1
0
false
0
0.117647
0
0.117647
0.058824
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
031253fe2c49164c84f343d2635b49c0b5fd6173
907
py
Python
rosalindLibrary/programs/sseq.py
aevear/RosalindProject
494dcf3ccfcc8047cc472dd7ca012bca45c0ebe2
[ "MIT" ]
1
2021-01-20T02:00:21.000Z
2021-01-20T02:00:21.000Z
rosalindLibrary/programs/sseq.py
aevear/RosalindProject
494dcf3ccfcc8047cc472dd7ca012bca45c0ebe2
[ "MIT" ]
null
null
null
rosalindLibrary/programs/sseq.py
aevear/RosalindProject
494dcf3ccfcc8047cc472dd7ca012bca45c0ebe2
[ "MIT" ]
null
null
null
#------------------------------------------------------------------------------- # Import Libraries #------------------------------------------------------------------------------- from rosalindLibrary.loaders.rosalindLoader import rosalindLoader #------------------------------------------------------------------------...
33.592593
80
0.302095
49
907
5.591837
0.591837
0.109489
0.051095
0.058394
0
0
0
0
0
0
0
0.006203
0.111356
907
26
81
34.884615
0.333747
0.549063
0
0
0
0
0.0025
0
0
0
0
0
0
1
0.1
false
0
0.1
0
0.3
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0312d875c9fc6f895e0ca1919863309d7901bdca
3,211
py
Python
batch_gnome/batch_gnome/hazmat.py
dylanrighi/GnomeTools
08ad6810194141ac89a27c95fa9b9499376000ae
[ "Unlicense" ]
2
2017-02-15T20:45:42.000Z
2020-10-09T16:00:00.000Z
batch_gnome/batch_gnome/hazmat.py
dylanrighi/GnomeTools
08ad6810194141ac89a27c95fa9b9499376000ae
[ "Unlicense" ]
10
2015-06-25T23:42:11.000Z
2021-06-22T16:19:19.000Z
batch_gnome/batch_gnome/hazmat.py
dylanrighi/GnomeTools
08ad6810194141ac89a27c95fa9b9499376000ae
[ "Unlicense" ]
15
2016-01-11T20:49:10.000Z
2020-10-15T18:02:20.000Z
#!/usr/bin/env python ######## # NOTE: this may not be used at all at this point. # # The code in here is now in teh py_gnome repository anyway ####### """ hazmatPy module This module contains assorted functions and classes that are useful for NOAA/HAZMAT stuff. It currently contains: read_bna(filename,polytype = ...
26.758333
82
0.606976
454
3,211
4.174009
0.345815
0.034829
0.058047
0.037995
0.218997
0.172559
0.125066
0.125066
0.125066
0.125066
0
0.00655
0.286827
3,211
119
83
26.983193
0.820961
0.051386
0
0.153846
0
0
0.060625
0
0
0
0
0
0
0
null
null
0
0.076923
null
null
0.025641
0
0
0
null
0
0
0
0
0
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
03149308a75b4fac1d1345e45e1aa6384528153b
1,323
py
Python
deeplook/backend/array_backend.py
leouieda/deeplook
6b568fa7302fee36e807d7ad002658be3ee470d7
[ "BSD-3-Clause" ]
1
2020-10-20T15:37:22.000Z
2020-10-20T15:37:22.000Z
deeplook/backend/array_backend.py
leouieda/inversion-again
6b568fa7302fee36e807d7ad002658be3ee470d7
[ "BSD-3-Clause" ]
null
null
null
deeplook/backend/array_backend.py
leouieda/inversion-again
6b568fa7302fee36e807d7ad002658be3ee470d7
[ "BSD-3-Clause" ]
3
2017-08-12T22:09:43.000Z
2021-03-11T14:02:10.000Z
""" numpy and scipy based backend. Transparently handles scipy.sparse matrices as input. """ from __future__ import division, absolute_import import numpy as np import scipy.sparse import scipy.sparse.linalg import scipy.linalg def inv(matrix): """ Calculate the inverse of a matrix. Uses the standard ``...
24.054545
77
0.652305
172
1,323
4.988372
0.366279
0.141026
0.079254
0.073427
0.108392
0.076923
0
0
0
0
0
0.000993
0.238851
1,323
54
78
24.5
0.851043
0.300831
0
0.230769
0
0
0.031802
0
0
0
0
0
0
1
0.153846
false
0
0.192308
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
0
0
0
0
0
1
0
0
1
031508f27827cf102b7274fb6a7dd353a070ba85
275
py
Python
predictionserver/serverhabits/performancehabits.py
microprediction/predictionserver
817243a4c85aac63995ab3a18cfbdcb01bb07bd0
[ "MIT" ]
1
2020-12-04T17:59:19.000Z
2020-12-04T17:59:19.000Z
predictionserver/serverhabits/performancehabits.py
microprediction/predictionserver
817243a4c85aac63995ab3a18cfbdcb01bb07bd0
[ "MIT" ]
null
null
null
predictionserver/serverhabits/performancehabits.py
microprediction/predictionserver
817243a4c85aac63995ab3a18cfbdcb01bb07bd0
[ "MIT" ]
1
2021-03-05T05:03:36.000Z
2021-03-05T05:03:36.000Z
from predictionserver.futureconventions.performanceconventions import ( PerformanceConventions ) class PerformanceHabits(PerformanceConventions): def __init__(self, **kwargs): super().__init__(**kwargs) self._PERFORMANCE_BACKWARD_COMPATIBLE = True
25
71
0.767273
21
275
9.52381
0.761905
0
0
0
0
0
0
0
0
0
0
0
0.152727
275
10
72
27.5
0.858369
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.428571
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
031dc9bef991a46e2e5d1a6130a314b1a19e95f8
4,000
py
Python
overhave/factory/components/admin_factory.py
TinkoffCreditSystems/overhave
b0ab705ef5c5c5a65fa0b14b173b64fd7310e187
[ "Apache-2.0" ]
33
2021-02-01T15:49:37.000Z
2021-12-20T00:44:43.000Z
overhave/factory/components/admin_factory.py
TinkoffCreditSystems/overhave
b0ab705ef5c5c5a65fa0b14b173b64fd7310e187
[ "Apache-2.0" ]
46
2021-02-03T12:56:52.000Z
2021-12-19T18:50:27.000Z
overhave/factory/components/admin_factory.py
TinkoffCreditSystems/overhave
b0ab705ef5c5c5a65fa0b14b173b64fd7310e187
[ "Apache-2.0" ]
1
2021-12-07T09:02:44.000Z
2021-12-07T09:02:44.000Z
import abc from functools import cached_property from multiprocessing.pool import ThreadPool from typing import Callable, Mapping from overhave.authorization import ( AuthorizationStrategy, DefaultAdminAuthorizationManager, IAdminAuthorizationManager, LDAPAdminAuthorizationManager, LDAPAuthenticato...
34.188034
112
0.73625
355
4,000
8.056338
0.24507
0.038462
0.035664
0.048951
0.257343
0.147902
0.117133
0.084266
0.084266
0.084266
0
0.000936
0.19875
4,000
116
113
34.482759
0.89142
0.0225
0
0.376344
0
0
0.013604
0
0
0
0
0
0
1
0.16129
false
0.053763
0.11828
0.096774
0.419355
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
032073e7243d68d8a659444f60d1248abf1f37a1
1,978
py
Python
lib/interview.py
dyvantage/pkt
c70d10cec4b5cbf9b03f16de2f0443c1dabd1002
[ "Apache-2.0" ]
null
null
null
lib/interview.py
dyvantage/pkt
c70d10cec4b5cbf9b03f16de2f0443c1dabd1002
[ "Apache-2.0" ]
null
null
null
lib/interview.py
dyvantage/pkt
c70d10cec4b5cbf9b03f16de2f0443c1dabd1002
[ "Apache-2.0" ]
null
null
null
import sys import os import globals import user_io from encrypt import Encryption def get_config(): config_values = { } # get Packet credentials sys.stdout.write("\nPlease enter credentials for Packet.Net:\n") project_id = user_io.read_kbd("--> Project ID", [], '', True, True) if project_id =...
30.90625
111
0.649141
255
1,978
4.72549
0.215686
0.099585
0.06639
0.086307
0.116183
0.084647
0.084647
0.084647
0
0
0
0.016571
0.206775
1,978
63
112
31.396825
0.751434
0.051567
0
0.177778
0
0
0.190374
0.011765
0
0
0
0
0
1
0.022222
false
0.066667
0.111111
0
0.311111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0322b190c171075736a60c180abc7820fd06ed0a
4,425
py
Python
generator/printers/bitmask_printer.py
jeptechnology/jude
65f54da7a1b9edab985cb0bb7da30c37dc906fbc
[ "MIT" ]
null
null
null
generator/printers/bitmask_printer.py
jeptechnology/jude
65f54da7a1b9edab985cb0bb7da30c37dc906fbc
[ "MIT" ]
null
null
null
generator/printers/bitmask_printer.py
jeptechnology/jude
65f54da7a1b9edab985cb0bb7da30c37dc906fbc
[ "MIT" ]
null
null
null
class BitmaskPrinter: bitmask_object_template = '''/* Autogenerated Code - do not edit directly */ #pragma once #include <stdint.h> #include <jude/core/c/jude_enum.h> #ifdef __cplusplus extern "C" { #endif typedef uint%SIZE%_t %BITMASK%_t; extern const jude_bitmask_map_t %BITMASK%_bitmask_map[]; #ifdef __cplus...
29.111842
119
0.593672
527
4,425
4.798861
0.252372
0.043495
0.060498
0.007117
0.190194
0.14828
0.117042
0.055358
0.026097
0.026097
0
0.008292
0.264181
4,425
151
120
29.304636
0.768428
0.006102
0
0.166667
1
0.008772
0.530375
0.141524
0
0
0
0
0
1
0.026316
false
0
0.017544
0
0.131579
0.008772
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
032ebb99ece465d80f0399d7e58789a55c609e37
376
py
Python
plugin_drill_map/plugin_action.py
chaibio/kicad-scripts
fc522c9a554d7f40161fe6c6caa799b6768c87d8
[ "Apache-2.0" ]
2
2020-03-21T01:33:36.000Z
2020-06-15T13:09:19.000Z
plugin_drill_map/plugin_action.py
chaibio/kicad-scripts
fc522c9a554d7f40161fe6c6caa799b6768c87d8
[ "Apache-2.0" ]
null
null
null
plugin_drill_map/plugin_action.py
chaibio/kicad-scripts
fc522c9a554d7f40161fe6c6caa799b6768c87d8
[ "Apache-2.0" ]
null
null
null
# Drill Map Plugin import wx from pcbnew import ActionPlugin, GetBoard from .plugin_dialog import InitMainDialog class CustomActionPlugin(ActionPlugin): def defaults(self): self.name = "Drill Map" self.category = "Fabrication Notes" self.description = "Creates drill legend and markers" ...
20.888889
61
0.702128
41
376
6.414634
0.634146
0.060837
0
0
0
0
0
0
0
0
0
0
0.223404
376
17
62
22.117647
0.900685
0.042553
0
0
0
0
0.162921
0
0
0
0
0
0
1
0.2
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
0340098a0506e075d9af51f6d6d47d116c70cae8
1,759
py
Python
python/unittest_example.py
testproject-io/opensdk-examples
6544ef8c315948522b57ea443d684422895abd40
[ "Apache-2.0" ]
11
2021-03-30T12:55:02.000Z
2021-12-16T06:08:08.000Z
python/unittest_example.py
testproject-io/opensdk-examples
6544ef8c315948522b57ea443d684422895abd40
[ "Apache-2.0" ]
3
2021-06-02T11:29:54.000Z
2022-02-06T13:18:27.000Z
python/unittest_example.py
testproject-io/opensdk-examples
6544ef8c315948522b57ea443d684422895abd40
[ "Apache-2.0" ]
9
2021-04-22T14:01:51.000Z
2022-02-09T23:05:46.000Z
# Copyright 2021 TestProject (https://testproject.io) # # 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 ...
43.975
112
0.698692
224
1,759
5.415179
0.53125
0.074196
0.046167
0.06925
0.163232
0.112119
0.112119
0
0
0
0
0.009187
0.195566
1,759
39
113
45.102564
0.848057
0.325753
0
0
0
0
0.147611
0
0
0
0
0
0
1
0.157895
false
0.157895
0.210526
0
0.421053
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
0347772850ea7be5a422a1de7ff717da8e9c4b30
3,892
py
Python
tests/flight_model/logic/test_row_definitions.py
davewalker5/FlightBookingSQL
16ba845f8678f23766f0571fc9b8b1d6f7843525
[ "MIT" ]
null
null
null
tests/flight_model/logic/test_row_definitions.py
davewalker5/FlightBookingSQL
16ba845f8678f23766f0571fc9b8b1d6f7843525
[ "MIT" ]
null
null
null
tests/flight_model/logic/test_row_definitions.py
davewalker5/FlightBookingSQL
16ba845f8678f23766f0571fc9b8b1d6f7843525
[ "MIT" ]
null
null
null
import unittest from sqlalchemy.exc import IntegrityError from src.flight_model.model import create_database, Session, AircraftLayout from src.flight_model.logic import create_airline from src.flight_model.logic import list_layouts, create_layout, add_row_to_layout, get_layout, delete_row_from_layout, \ update_row_...
40.541667
120
0.678058
484
3,892
5.123967
0.159091
0.051613
0.068145
0.101613
0.632258
0.632258
0.561694
0.463306
0.418952
0.397984
0
0.016431
0.21814
3,892
95
121
40.968421
0.798554
0
0
0.415584
0
0
0.043936
0
0
0
0
0
0.220779
1
0.207792
false
0
0.064935
0
0.285714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
034e9c7d86ecfebe8d4741d53ea4dd9b922a10ad
4,062
py
Python
examples/register_uav.py
TobiasLundby/sdu_utm
cee0c8acbd9ef5a1b20bf693f8c9c75b8b47f137
[ "BSD-3-Clause" ]
null
null
null
examples/register_uav.py
TobiasLundby/sdu_utm
cee0c8acbd9ef5a1b20bf693f8c9c75b8b47f137
[ "BSD-3-Clause" ]
null
null
null
examples/register_uav.py
TobiasLundby/sdu_utm
cee0c8acbd9ef5a1b20bf693f8c9c75b8b47f137
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Descriptors: TL = Tobias Lundby (tolu@mmmi.sdu.dk) 2018-09-21 TL Created file """ """ Description: Example of how to register a UAV and operator using the 'Register UAV' API in order to get a UAV ID and authentication key. License: BSD 3-Clause """ import sys import r...
39.823529
136
0.598474
505
4,062
4.69505
0.405941
0.080978
0.023619
0.020245
0.05736
0.05736
0.05736
0.05736
0.05736
0
0
0.015079
0.281635
4,062
101
137
40.217822
0.797464
0.092319
0
0.184211
0
0
0.319801
0.009638
0
0
0
0
0
0
null
null
0
0.078947
null
null
0.342105
0
0
0
null
0
0
0
0
0
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
0351cf888c77578b5698f11c4d5fc630de76379b
385
py
Python
aoc2020/d03_toboggan_trajectory/test_.py
sflis/aoc2020
ef6ee81c18b6ec8332b150638b3d78772fe8327a
[ "Unlicense" ]
null
null
null
aoc2020/d03_toboggan_trajectory/test_.py
sflis/aoc2020
ef6ee81c18b6ec8332b150638b3d78772fe8327a
[ "Unlicense" ]
null
null
null
aoc2020/d03_toboggan_trajectory/test_.py
sflis/aoc2020
ef6ee81c18b6ec8332b150638b3d78772fe8327a
[ "Unlicense" ]
null
null
null
from aoc2020 import get_input from aoc2020.d03_toboggan_trajectory import AnswerD03 def test_answers(): example = AnswerD03(get_input(__file__, "example.txt")) assert example.answer1 == 7 assert example.answer2 == 336 input_ = AnswerD03(get_input(__file__, "input.txt")) print("") print(f"ans...
25.666667
59
0.711688
48
385
5.354167
0.458333
0.093385
0.132296
0.163424
0
0
0
0
0
0
0
0.080745
0.163636
385
14
60
27.5
0.717391
0
0
0
0
0
0.181818
0
0
0
0
0
0.2
1
0.1
false
0
0.2
0
0.3
0.3
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
0353fc6f4aad90a3a3eee2958d75dc6e798baf18
5,329
py
Python
api/mongo_helper.py
vladkyr/ridesharing-service
257254e8de935e280fdefa709bba66d0ef849d0c
[ "MIT" ]
null
null
null
api/mongo_helper.py
vladkyr/ridesharing-service
257254e8de935e280fdefa709bba66d0ef849d0c
[ "MIT" ]
null
null
null
api/mongo_helper.py
vladkyr/ridesharing-service
257254e8de935e280fdefa709bba66d0ef849d0c
[ "MIT" ]
null
null
null
from time import time from flask_pymongo import DESCENDING class MongoHelper: def __init__(self, mongo_db): self.mongo_db = mongo_db def create_order(self, data): new_order = { '_id': int(time()), 'start_loc': data['start'], 'destination': data[...
38.89781
121
0.468005
495
5,329
4.816162
0.262626
0.038171
0.041527
0.040268
0.14807
0.127936
0.118289
0.118289
0.093121
0.093121
0
0.005349
0.40364
5,329
136
122
39.183824
0.744808
0.069619
0
0.052632
0
0
0.259298
0.015375
0
0
0
0
0
1
0.04386
false
0.131579
0.017544
0
0.122807
0.026316
0
0
0
null
0
0
0
0
0
0
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
0356093db1d3b35c85ef19f99adf1726e397da39
829
py
Python
yeahp-backend/yeahp/alternative.py
flaudanum/Yet-another-AHP
6eba8a842156ce1651c8dbe243034427f72361d9
[ "MIT" ]
null
null
null
yeahp-backend/yeahp/alternative.py
flaudanum/Yet-another-AHP
6eba8a842156ce1651c8dbe243034427f72361d9
[ "MIT" ]
null
null
null
yeahp-backend/yeahp/alternative.py
flaudanum/Yet-another-AHP
6eba8a842156ce1651c8dbe243034427f72361d9
[ "MIT" ]
null
null
null
# coding: UTF-8 """ Definition of class Alternative """ from yeahp.element import Element class Alternative(Element): @property def covering_priorities(self): """ :rtype: dict """ return dict(self._coveringPriorities) def __init__(self, description, covering): su...
23.027778
100
0.622437
81
829
6.135802
0.469136
0.064386
0.064386
0
0
0
0
0
0
0
0
0.006667
0.276236
829
35
101
23.685714
0.821667
0.176116
0
0
0
0
0
0
0
0
0
0
0.153846
1
0.230769
false
0
0.076923
0
0.461538
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
0357af7d8a315c468c7c92a9b2747816ccf365dc
881
py
Python
Bugscan_exploits-master/exp_list/exp-1792.py
csadsl/poc_exp
e3146262e7403f19f49ee2db56338fa3f8e119c9
[ "MIT" ]
11
2020-05-30T13:53:49.000Z
2021-03-17T03:20:59.000Z
Bugscan_exploits-master/exp_list/exp-1792.py
csadsl/poc_exp
e3146262e7403f19f49ee2db56338fa3f8e119c9
[ "MIT" ]
6
2020-05-13T03:25:18.000Z
2020-07-21T06:24:16.000Z
Bugscan_exploits-master/exp_list/exp-1792.py
csadsl/poc_exp
e3146262e7403f19f49ee2db56338fa3f8e119c9
[ "MIT" ]
6
2020-05-30T13:53:51.000Z
2020-12-01T21:44:26.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- #__Author__ = Mr.R #_PlugName_ = iGenus /index.php任意文件读取漏洞 #_FileName_ = IGENUS.py ######建议把之上的东西都带上,以便于辨认###### def assign(service, arg): if service == "igenus": return True, arg def audit(arg): payloads = ['login.php?Lang=../../../../../../...
33.884615
86
0.522134
100
881
4.41
0.61
0.072562
0.081633
0.102041
0.176871
0.176871
0.176871
0
0
0
0
0.016176
0.22815
881
26
87
33.884615
0.632353
0.15437
0
0
0
0
0.397727
0.285511
0
0
0
0
0
1
0.125
false
0.1875
0.0625
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
035979879b029c4c9b5a23b80109115aa5e8d158
630
py
Python
designthinking/tests.py
IBMIXN/DesignThinkingapp
2f05f9130d8fd26f3ae7a94456a3e442c9fa5518
[ "Apache-2.0" ]
null
null
null
designthinking/tests.py
IBMIXN/DesignThinkingapp
2f05f9130d8fd26f3ae7a94456a3e442c9fa5518
[ "Apache-2.0" ]
null
null
null
designthinking/tests.py
IBMIXN/DesignThinkingapp
2f05f9130d8fd26f3ae7a94456a3e442c9fa5518
[ "Apache-2.0" ]
null
null
null
from django.test import TestCase from designthinking.api import * from designthinking.dbconnection import * from designthinking.audio import * # Create your tests here. class WatsonAssistantTestCase(TestCase): def test_chatbot_create_session_success(self): response = testCreate() self.assertEqual(...
28.636364
50
0.746032
67
630
6.865672
0.522388
0.117391
0.097826
0
0
0
0
0
0
0
0
0.011583
0.177778
630
22
51
28.636364
0.876448
0.036508
0
0
0
0
0
0
0
0
0
0
0.1875
1
0.1875
false
0
0.25
0
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
03686bdfb6cc7583a63b5d8b3587612f8f275895
2,034
py
Python
algDev/run.py
ajmal017/ralph-usa
41a7f910da04cfa88f603313fad2ff44c82b9dd4
[ "Apache-2.0" ]
null
null
null
algDev/run.py
ajmal017/ralph-usa
41a7f910da04cfa88f603313fad2ff44c82b9dd4
[ "Apache-2.0" ]
7
2021-03-10T10:08:30.000Z
2022-03-02T07:38:13.000Z
algDev/run.py
ajmal017/ralph-usa
41a7f910da04cfa88f603313fad2ff44c82b9dd4
[ "Apache-2.0" ]
1
2020-04-17T19:15:06.000Z
2020-04-17T19:15:06.000Z
from algDev.preprocessing.feature_generation import * from algDev.preprocessing import data_generator import matplotlib.pyplot as plt import numpy as np from algDev.models.equity import Equity from algDev.algorithms.cnn import CNN from algDev.algorithms.svm import SVM from algDev.API.indicators import get_indicator_val...
24.804878
115
0.730088
299
2,034
4.665552
0.341137
0.060215
0.060215
0.036559
0.078853
0.078853
0.048746
0
0
0
0
0.015285
0.163717
2,034
81
116
25.111111
0.804821
0.123894
0
0
0
0
0.014673
0
0
0
0
0
0
1
0.254545
false
0
0.236364
0
0.490909
0.127273
0
0
0
null
0
0
0
0
0
0
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
036884ab7bfd226184eed906f574805e984533f8
256
py
Python
d-series/d563.py
TheLurkingCat/ZeroJudge
6fc49c54a45e2b4b3a8d04b7a5a1fc81a2ff4eee
[ "MIT" ]
1
2018-10-21T10:03:42.000Z
2018-10-21T10:03:42.000Z
d-series/d563.py
TheLurkingCat/ZeroJudge
6fc49c54a45e2b4b3a8d04b7a5a1fc81a2ff4eee
[ "MIT" ]
null
null
null
d-series/d563.py
TheLurkingCat/ZeroJudge
6fc49c54a45e2b4b3a8d04b7a5a1fc81a2ff4eee
[ "MIT" ]
2
2018-10-12T16:40:11.000Z
2021-04-05T12:05:36.000Z
""" b = [int(x) for x in input().split()] del b[0] prefix = 0 suffix = 0 ans = 0 for n in range(len(b)): prefix += b[n] suffix += b[-n-1] if prefix == suffix: ans += 1 print(ans) """ a = input() print(20156 if a.startswith('1') else 1)
16
40
0.535156
47
256
2.914894
0.468085
0.029197
0
0
0
0
0
0
0
0
0
0.068421
0.257813
256
15
41
17.066667
0.652632
0.757813
0
0
0
0
0.018519
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
036bfd6c961cba833e3fb560cffaf885007099ff
3,574
py
Python
raspeedi/models.py
Nels885/csd_dashboard
aa5a3b970c50a2a93af722f962bd87c3728f233c
[ "MIT" ]
null
null
null
raspeedi/models.py
Nels885/csd_dashboard
aa5a3b970c50a2a93af722f962bd87c3728f233c
[ "MIT" ]
null
null
null
raspeedi/models.py
Nels885/csd_dashboard
aa5a3b970c50a2a93af722f962bd87c3728f233c
[ "MIT" ]
null
null
null
from django.db import models from squalaetp.models import Xelon from dashboard.models import UserProfile, User class Raspeedi(models.Model): TYPE_CHOICES = [('RAD', 'Radio'), ('NAV', 'Navigation')] CON_CHOICES = [(1, '1'), (2, '2')] MEDIA_CHOICES = [ ('N/A', 'Vide'), ('HDD', 'Disque Dur'...
38.847826
118
0.675434
442
3,574
5.269231
0.323529
0.077286
0.030056
0.036067
0.312581
0.302276
0.210391
0.166595
0.166595
0.089309
0
0.017925
0.188304
3,574
91
119
39.274725
0.784902
0
0
0.166667
0
0
0.148293
0
0
0
0
0
0
1
0.069444
false
0
0.041667
0.041667
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
03730d94a50ae74479c9b5dbf17736d3926c976f
1,154
py
Python
lib/mylib_fnc.py
CsTarepanda/CtareApp-server
40559c766bd5fad2a2b4ba0de2881cacfa6a2222
[ "MIT" ]
null
null
null
lib/mylib_fnc.py
CsTarepanda/CtareApp-server
40559c766bd5fad2a2b4ba0de2881cacfa6a2222
[ "MIT" ]
null
null
null
lib/mylib_fnc.py
CsTarepanda/CtareApp-server
40559c766bd5fad2a2b4ba0de2881cacfa6a2222
[ "MIT" ]
null
null
null
def date_parse(date_string): from datetime import datetime, date date_ar = [int(x) for x in date_string.split("/")] date_len = len(date_ar) now_year = date.today().year if date_len == 0: return None elif date_len == 1: import calendar return date( now_year...
28.85
60
0.459272
149
1,154
3.295302
0.201342
0.293279
0.099796
0.112016
0.468432
0.439919
0.425662
0.327902
0.327902
0.285132
0
0.045872
0.433276
1,154
39
61
29.589744
0.704893
0
0
0.384615
0
0
0.000867
0
0
0
0
0
0
1
0.025641
false
0
0.051282
0
0.25641
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
03784ec7f1b83bc6761719f00f8f1b727a032456
313
py
Python
fp_py/src/test/results/results_app.py
submain/fruitpunch
31773128238830d3d335c1915877dc0db56836cd
[ "MIT" ]
null
null
null
fp_py/src/test/results/results_app.py
submain/fruitpunch
31773128238830d3d335c1915877dc0db56836cd
[ "MIT" ]
null
null
null
fp_py/src/test/results/results_app.py
submain/fruitpunch
31773128238830d3d335c1915877dc0db56836cd
[ "MIT" ]
1
2020-08-14T02:51:47.000Z
2020-08-14T02:51:47.000Z
''' Created on Aug 15, 2012 @author: leo ''' from fruitpunch import App from results.results_scene import ResultsScene class ResultsApp(App): ''' classdocs ''' def on_init(self, event): scene = ResultsScene() scene.results = self.results self.go_to_scene(scene)
17.388889
46
0.632588
37
313
5.243243
0.621622
0.113402
0
0
0
0
0
0
0
0
0
0.026087
0.265176
313
18
47
17.388889
0.817391
0.15016
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.571429
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
037a4403e41fc6855874ef04e68a3bf02c9826c5
421
py
Python
setup.py
Seraph-YCZhang/operon-predict
8522de64610e8c9466a8ea365c0d1b422d96a1d0
[ "MIT" ]
null
null
null
setup.py
Seraph-YCZhang/operon-predict
8522de64610e8c9466a8ea365c0d1b422d96a1d0
[ "MIT" ]
1
2019-05-08T07:51:48.000Z
2020-05-12T00:28:08.000Z
setup.py
Seraph-YCZhang/operon-predict
8522de64610e8c9466a8ea365c0d1b422d96a1d0
[ "MIT" ]
null
null
null
from setuptools import setup, find_packages setup( name='operon_predictor', version='0.0.1', description=( 'predict operon' ), author='<SeraphZ>', author_email='<zyc199685@gmail.com>', license='MIT', packages=find_packages(), install_requires=[ 'numpy>=1.14', ...
21.05
59
0.598575
44
421
5.613636
0.75
0.097166
0
0
0
0
0
0
0
0
0
0.037383
0.23753
421
20
60
21.05
0.732087
0
0
0
0
0
0.336493
0.049763
0
0
0
0
0
1
0
true
0
0.055556
0
0.055556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
037b3c52d9c1a56bc33342a6f2563da97ca780b4
850
py
Python
footmark/ram/role.py
rockzhu/footmark
af2144e9139a63b475fa2b56c3307ddfd49c43e4
[ "Apache-2.0" ]
null
null
null
footmark/ram/role.py
rockzhu/footmark
af2144e9139a63b475fa2b56c3307ddfd49c43e4
[ "Apache-2.0" ]
null
null
null
footmark/ram/role.py
rockzhu/footmark
af2144e9139a63b475fa2b56c3307ddfd49c43e4
[ "Apache-2.0" ]
null
null
null
from footmark.ram.ramobject import TaggedRAMObject class Role(TaggedRAMObject): def __init__(self, connection=None): super(Role, self).__init__(connection) self.tags = {} def __repr__(self): return 'Role:%s' % self.id def __getattr__(self, name): if name == 'id': ...
25.757576
64
0.561176
96
850
4.666667
0.375
0.040179
0.035714
0
0
0
0
0
0
0
0
0
0.321176
850
32
65
26.5625
0.77643
0.017647
0
0.090909
0
0
0.039506
0
0
0
0
0
0
1
0.227273
false
0
0.045455
0.045455
0.454545
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
cee3e51b5dbfd4fd8ed5891cf14f3bc57b6b131a
1,599
py
Python
log.py
mohit2pal/Levitation
2518a672e761c98ed1f0e1bd823f1c159c9989bc
[ "MIT" ]
5
2021-11-21T14:39:00.000Z
2022-01-27T17:00:34.000Z
log.py
Abhi3423/Levitation
2c4c11810ec1ff269f74a6e3bd6d5fb404c0c93d
[ "MIT" ]
1
2021-11-12T17:34:36.000Z
2021-11-12T17:35:39.000Z
log.py
Abhi3423/Levitation
2c4c11810ec1ff269f74a6e3bd6d5fb404c0c93d
[ "MIT" ]
4
2021-12-31T09:32:18.000Z
2022-01-30T10:51:37.000Z
'''a=['A1','A2','A3','A4','A5'] def seat(): for i in range (0,2): print("CHOOSE YOUR SEAT FROM THESE: ", a ,"\n") s=input("Enter: ") a.remove(s) print("thanku")''' import pandas as pd # SAVING PASSENGERS DATA def save(date1,name1,age1,mob1,dest1,bay,nseats,time1): data1 = {'DATE':...
25.380952
142
0.587242
226
1,599
4.057522
0.402655
0.039258
0.029444
0.058888
0.237732
0.237732
0.154853
0.154853
0.082879
0.082879
0
0.030864
0.189493
1,599
62
143
25.790323
0.676698
0.398999
0
0
0
0
0.222577
0.067093
0
0
0
0
0
1
0.153846
false
0.076923
0.076923
0
0.230769
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
ceec5567433fabc6a91fc24e37b8bf5a1ba95e9a
2,022
py
Python
python/moneysocket/protocol/transact/consumer_nexus.py
drschwabe/prototype
7948727443d5d3255b317fc94cebf03c128a58d3
[ "MIT" ]
null
null
null
python/moneysocket/protocol/transact/consumer_nexus.py
drschwabe/prototype
7948727443d5d3255b317fc94cebf03c128a58d3
[ "MIT" ]
null
null
null
python/moneysocket/protocol/transact/consumer_nexus.py
drschwabe/prototype
7948727443d5d3255b317fc94cebf03c128a58d3
[ "MIT" ]
null
null
null
# Copyright (c) 2020 Jarret Dyrbye # Distributed under the MIT software license, see the accompanying# file LICENSE or http://www.opensource.org/licenses/mit-license.php from moneysocket.protocol.nexus import ProtocolNexus from moneysocket.message.request.invoice import RequestInvoice from moneysocket.message.reques...
38.884615
135
0.647873
234
2,022
5.32906
0.303419
0.040096
0.060946
0.028869
0.1668
0.1668
0.128308
0.0834
0.0834
0
0
0.006649
0.256182
2,022
51
136
39.647059
0.822473
0.090504
0
0.052632
0
0
0.172395
0.024004
0
0
0
0.019608
0.078947
1
0.184211
false
0.026316
0.078947
0
0.421053
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
ceefde51080411d1e95353e82b3bb48962cb9da3
3,030
py
Python
videgrenier/models.py
caracole-io/videgrenier
70e96d918c9bef9ddb05e2c372e3082e58d04bb8
[ "BSD-2-Clause" ]
null
null
null
videgrenier/models.py
caracole-io/videgrenier
70e96d918c9bef9ddb05e2c372e3082e58d04bb8
[ "BSD-2-Clause" ]
16
2018-03-24T20:55:07.000Z
2021-07-20T18:25:50.000Z
videgrenier/models.py
caracole-io/videgrenier
70e96d918c9bef9ddb05e2c372e3082e58d04bb8
[ "BSD-2-Clause" ]
null
null
null
"""Vide Grenier models.""" from django.conf import settings from django.core.validators import RegexValidator from django.db import models from django.urls import reverse from dmdm import send_mail class Reservation(models.Model): """Model for an user to book an emplacement, with legal details.""" user = mod...
45.909091
118
0.661386
388
3,030
5.069588
0.438144
0.045755
0.012201
0.024403
0.057956
0.02847
0.02847
0
0
0
0
0.010589
0.220792
3,030
65
119
46.615385
0.822533
0.10462
0
0.043478
0
0
0.22979
0.011228
0
0
0
0
0
1
0.130435
false
0
0.108696
0
0.695652
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
3004679da5e0ed4195453dec17594159dc50320e
4,826
py
Python
routing_transformer/problems/wikitext103.py
egonrian/google-research
8177adbe9ca0d7e5a9463b54581fe6dd27be0974
[ "Apache-2.0" ]
3
2021-01-18T04:46:49.000Z
2021-03-05T09:21:40.000Z
routing_transformer/problems/wikitext103.py
Alfaxad/google-research
2c0043ecd507e75e2df9973a3015daf9253e1467
[ "Apache-2.0" ]
7
2021-11-10T19:44:38.000Z
2022-02-10T06:48:39.000Z
routing_transformer/problems/wikitext103.py
Alfaxad/google-research
2c0043ecd507e75e2df9973a3015daf9253e1467
[ "Apache-2.0" ]
4
2021-02-08T10:25:45.000Z
2021-04-17T14:46:26.000Z
# coding=utf-8 # Copyright 2020 The Google Research Authors. # # 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 applicab...
33.513889
74
0.644219
516
4,826
5.860465
0.284884
0.055556
0.063492
0.039683
0.648148
0.614418
0.602513
0.602513
0.580026
0.565476
0
0.028087
0.254869
4,826
143
75
33.748252
0.812848
0.203896
0
0.742574
0
0
0.042041
0
0
0
0
0
0
1
0.079208
false
0
0.069307
0.019802
0.247525
0.009901
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
3005b8d7ac6fc5f59d2ca95a8904b0fdd1b788b1
969
py
Python
server/settings/_prodbase.py
cicorias/ok
212970d899bb0d4029a273e93cd46efbb4c64691
[ "Apache-2.0" ]
null
null
null
server/settings/_prodbase.py
cicorias/ok
212970d899bb0d4029a273e93cd46efbb4c64691
[ "Apache-2.0" ]
46
2018-05-01T14:06:22.000Z
2018-09-04T20:08:59.000Z
server/settings/_prodbase.py
cicorias/ok
212970d899bb0d4029a273e93cd46efbb4c64691
[ "Apache-2.0" ]
1
2018-05-03T16:37:38.000Z
2018-05-03T16:37:38.000Z
import os import sys from server.settings import RAVEN_IGNORE_EXCEPTIONS as raven_exceptions # Shared settings across prod, staging and simple class Config(object): SENTRY_USER_ATTRS = ['email', 'name'] PREFERRED_URL_SCHEME = 'https' OAUTH2_PROVIDER_TOKEN_EXPIRES_IN = 28800 WTF_CSRF_CHECK_DEFAULT = ...
28.5
82
0.703818
129
969
5.031008
0.534884
0.097072
0.067797
0.061633
0.138675
0.09245
0
0
0
0
0
0.01039
0.205366
969
33
83
29.363636
0.832468
0.048504
0
0
0
0
0.242391
0
0
0
0
0
0
1
0
false
0
0.130435
0
0.565217
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
0
0
0
1
0
0
1
300a96dbc639d127a6efedeb054429d543c4081f
1,871
py
Python
leginon/test2_array_transport.py
leschzinerlab/myami-3.2-freeHand
974b8a48245222de0d9cfb0f433533487ecce60d
[ "MIT" ]
null
null
null
leginon/test2_array_transport.py
leschzinerlab/myami-3.2-freeHand
974b8a48245222de0d9cfb0f433533487ecce60d
[ "MIT" ]
null
null
null
leginon/test2_array_transport.py
leschzinerlab/myami-3.2-freeHand
974b8a48245222de0d9cfb0f433533487ecce60d
[ "MIT" ]
1
2019-09-05T20:58:37.000Z
2019-09-05T20:58:37.000Z
#!/usr/bin/env python import sys import time import socket from leginon import databinder from leginon import event from leginon import datatransport ''' This is a datatransport test for passing numpy array across the network. test1_array_transport.py is opens a server ready to serve printData to the client that will ...
30.177419
78
0.726884
255
1,871
5.290196
0.462745
0.041512
0.047443
0.031134
0
0
0
0
0
0
0
0.013308
0.156601
1,871
61
79
30.672131
0.841572
0.10155
0
0
0
0
0.189303
0.01689
0
0
0
0
0
0
null
null
0.02439
0.146341
null
null
0.219512
0
0
0
null
0
0
0
0
0
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
300d2fc07f3c11e608bdc4565b2c8ad7d7af5c7c
1,989
py
Python
tests/test_perf.py
dtcaciuc/nitrous
9ed63c13dbdc1b8b1880e49bbcc6fa442612fe71
[ "MIT" ]
1
2020-11-27T04:08:49.000Z
2020-11-27T04:08:49.000Z
tests/test_perf.py
dtcaciuc/nitrous
9ed63c13dbdc1b8b1880e49bbcc6fa442612fe71
[ "MIT" ]
null
null
null
tests/test_perf.py
dtcaciuc/nitrous
9ed63c13dbdc1b8b1880e49bbcc6fa442612fe71
[ "MIT" ]
null
null
null
import unittest import numpy as np from nitrous.function import function from nitrous.types import Double, Index from nitrous.types.array import Array, FastSlice, Slice, Any DoubleNx3 = Slice(Double, shape=(Any, 3)) DoubleN = Slice(Double) DoubleNArray = FastSlice(Double) Double3 = Array(Double, (3,)) X, Y, Z = ra...
25.177215
60
0.535948
334
1,989
3.122754
0.224551
0.017258
0.023011
0.042186
0.398849
0.393097
0.341323
0.341323
0.341323
0.318313
0
0.033189
0.303167
1,989
78
61
25.5
0.719336
0.088989
0
0.384615
0
0
0.023243
0
0
0
0
0
0
0
null
null
0
0.134615
null
null
0.057692
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
301b2cf0535651dd5d4e96cd4f823a78724ea5fe
3,230
py
Python
userbot/plugins/design.py
alpharedo/IndianBot
04a69b823b517d0d50a83c38a7b13afdd98e736e
[ "MIT" ]
null
null
null
userbot/plugins/design.py
alpharedo/IndianBot
04a69b823b517d0d50a83c38a7b13afdd98e736e
[ "MIT" ]
null
null
null
userbot/plugins/design.py
alpharedo/IndianBot
04a69b823b517d0d50a83c38a7b13afdd98e736e
[ "MIT" ]
null
null
null
""".admin Plugin for @UniBorg""" import asyncio from telethon import events from telethon.tl.types import ChannelParticipantsAdmins from userbot.utils import admin_cmd @borg.on(admin_cmd("join")) async def _(event): if event.fwd_from: return mentions = "━━━━━┓ \n┓┓┓┓┓┃\n┓┓┓┓┓┃ ヽ○ノ ⇦ Me When You Joined...
44.861111
436
0.670279
506
3,230
4.488142
0.290514
0.061647
0.059886
0.1048
0.596213
0.573316
0.573316
0.573316
0.573316
0.501101
0
0.020889
0.18483
3,230
71
437
45.492958
0.778959
0.00805
0
0.8125
0
0.0625
0.363977
0.054096
0
0
0
0
0
1
0
false
0.03125
0.0625
0
0.125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3020b9a8b1c8591ee586c14b914d9e1c6afd3273
576
py
Python
configurator/missile/descriptions_old/spec/test.py
ClockworkOrigins/m2etis
3b9c0f98c172f48889e75fe0b80a61a0e47670f5
[ "Apache-2.0" ]
2
2016-01-24T22:08:27.000Z
2017-01-01T13:06:44.000Z
configurator/missile/descriptions_old/spec/test.py
ClockworkOrigins/m2etis
3b9c0f98c172f48889e75fe0b80a61a0e47670f5
[ "Apache-2.0" ]
null
null
null
configurator/missile/descriptions_old/spec/test.py
ClockworkOrigins/m2etis
3b9c0f98c172f48889e75fe0b80a61a0e47670f5
[ "Apache-2.0" ]
null
null
null
__author__ = 'amw' import yaml def yaml_include(loader, node): with file(node.value) as document: return yaml.load(document) def yaml_ref(loader, node): print node def yaml_key(loader, node): print node yaml.add_constructor("!include", yaml_include) yaml.add_constructor("!ref", yaml_ref) yaml...
18
46
0.699653
82
576
4.756098
0.378049
0.053846
0.138462
0.097436
0
0
0
0
0
0
0
0.010395
0.164931
576
31
47
18.580645
0.800416
0.243056
0
0.142857
0
0
0.076923
0
0
0
0
0
0
0
null
null
0
0.071429
null
null
0.214286
0
0
0
null
0
0
0
0
0
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
3025009fa8c34e7d532d8efaac049eda8ff6e47e
7,761
py
Python
leo/modes/factor.py
ATikhonov2/leo-editor
225aac990a9b2804aaa9dea29574d6e072e30474
[ "MIT" ]
1,550
2015-01-14T16:30:37.000Z
2022-03-31T08:55:58.000Z
leo/modes/factor.py
ATikhonov2/leo-editor
225aac990a9b2804aaa9dea29574d6e072e30474
[ "MIT" ]
2,009
2015-01-13T16:28:52.000Z
2022-03-31T18:21:48.000Z
leo/modes/factor.py
ATikhonov2/leo-editor
225aac990a9b2804aaa9dea29574d6e072e30474
[ "MIT" ]
200
2015-01-05T15:07:41.000Z
2022-03-07T17:05:01.000Z
# Leo colorizer control file for factor mode. # This file is in the public domain. # Properties for factor mode. properties = { "commentEnd": ")", "commentStart": "(", "doubleBracketIndent": "true", "indentCloseBrackets": "]", "indentNextLines": "^(\\*<<|:).*", "indentOpenBrackets": "...
33.025532
88
0.610617
930
7,761
4.787097
0.153763
0.202156
0.030323
0.050539
0.69115
0.668014
0.643756
0.604672
0.596586
0.560422
0
0.034228
0.19817
7,761
234
89
33.166667
0.681183
0.077567
0
0.136842
0
0
0.134047
0
0
0
0
0
0
1
0.078947
false
0
0.005263
0.078947
0.163158
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
30264945f69bf8e18980c9a181f82a6212b0e884
14,884
py
Python
paunch/tests/test_builder_compose1.py
mail2nsrajesh/paunch
c8e22e55af4a844bd380689b541f7d9b9504ef63
[ "Apache-2.0" ]
null
null
null
paunch/tests/test_builder_compose1.py
mail2nsrajesh/paunch
c8e22e55af4a844bd380689b541f7d9b9504ef63
[ "Apache-2.0" ]
null
null
null
paunch/tests/test_builder_compose1.py
mail2nsrajesh/paunch
c8e22e55af4a844bd380689b541f7d9b9504ef63
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, softw...
36.570025
77
0.453037
1,419
14,884
4.636364
0.148696
0.036784
0.04256
0.0456
0.74829
0.703146
0.673811
0.618179
0.599027
0.557532
0
0.038971
0.375907
14,884
406
78
36.660099
0.669286
0.105012
0
0.687316
0
0
0.291494
0.022678
0
0
0
0
0.058997
1
0.020649
false
0
0.017699
0
0.041298
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
302a0c3a04b5c423664aa760214a774d124f7eb6
8,015
py
Python
py/g1/operations/databases/servers/tests/test_connections.py
clchiou/garage
446ff34f86cdbd114b09b643da44988cf5d027a3
[ "MIT" ]
3
2016-01-04T06:28:52.000Z
2020-09-20T13:18:40.000Z
py/g1/operations/databases/servers/tests/test_connections.py
clchiou/garage
446ff34f86cdbd114b09b643da44988cf5d027a3
[ "MIT" ]
null
null
null
py/g1/operations/databases/servers/tests/test_connections.py
clchiou/garage
446ff34f86cdbd114b09b643da44988cf5d027a3
[ "MIT" ]
null
null
null
import unittest import unittest.mock import functools from g1.asyncs import kernels from g1.operations.databases.bases import interfaces from g1.operations.databases.servers import connections # I am not sure why pylint cannot lint contextlib.asynccontextmanager # correctly; let us disable this check for now. # # py...
37.27907
79
0.609732
907
8,015
5.211687
0.125689
0.111699
0.104294
0.09139
0.727311
0.669346
0.599111
0.529934
0.477681
0.371695
0
0.018092
0.268996
8,015
214
80
37.453271
0.788701
0.027698
0
0.497238
0
0
0.002698
0
0
0
0
0
0.414365
1
0.027624
false
0.044199
0.033149
0
0.071823
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
1
0
0
0
0
0
0
0
0
0
1
302b0ee9d4e9b0fe89bee0220ea0944ccd5683d2
330
py
Python
BudgetBadgerUpdated/InUI.py
Alosal-Developer-Group/BudgetBadger
8ddf2c7ac0bc9407ad75b91ec8f653d84472ed4c
[ "MIT" ]
1
2020-06-25T03:13:07.000Z
2020-06-25T03:13:07.000Z
BudgetBadgerUpdated/InUI.py
Alosal-Developer-Group/BudgetBadger
8ddf2c7ac0bc9407ad75b91ec8f653d84472ed4c
[ "MIT" ]
null
null
null
BudgetBadgerUpdated/InUI.py
Alosal-Developer-Group/BudgetBadger
8ddf2c7ac0bc9407ad75b91ec8f653d84472ed4c
[ "MIT" ]
null
null
null
from BudgetBadgerUpdated.api import * def UIfrontend(): while True: print("1 - Edit Budget") print("2 - Read Budget") if input() == "1": editbudget() else: readbudget() print(' ') # This is to give some space between the UIFrontends DirEngine() UIf...
19.411765
71
0.557576
34
330
5.411765
0.852941
0
0
0
0
0
0
0
0
0
0
0.013575
0.330303
330
16
72
20.625
0.819005
0.151515
0
0
0
0
0.115108
0
0
0
0
0
0
1
0.083333
true
0
0.083333
0
0.166667
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
0
0
1
0
0
0
0
0
0
1
302e42014699dbc9a6f0e1ab5d73d06f4acb7b7a
3,760
py
Python
FreeTAKServer/model/FTSModel/Link.py
logikal/FreeTakServer
c0916ce65781b5c60079d6440e52db8fc6ee0467
[ "MIT" ]
null
null
null
FreeTAKServer/model/FTSModel/Link.py
logikal/FreeTakServer
c0916ce65781b5c60079d6440e52db8fc6ee0467
[ "MIT" ]
null
null
null
FreeTAKServer/model/FTSModel/Link.py
logikal/FreeTakServer
c0916ce65781b5c60079d6440e52db8fc6ee0467
[ "MIT" ]
null
null
null
from FreeTAKServer.model.FTSModel.fts_protocol_object import FTSProtocolObject ####################################################### # # Link.py # Python implementation of the Class Link # Generated by Enterprise Architect # Created on(FTSProtocolObject): 11-Feb-2020 11(FTSProtocolObject):08(FTSProtocolObject):...
33.274336
112
0.633777
394
3,760
5.918782
0.220812
0.066038
0.038593
0.030875
0.280446
0.211835
0.201115
0.201115
0.201115
0.201115
0
0.006367
0.248138
3,760
112
113
33.571429
0.818536
0.101596
0
0.371795
1
0
0.005542
0
0
0
0
0
0
1
0.192308
false
0
0.038462
0.064103
0.358974
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
303c4147775c2179ac92bac80e15fc97009daeb2
2,706
py
Python
app/authorization/tests/integration/serializers_tests.py
harryrobertwright/reddit-clone-app
bcc025fd8bf50705d2ea9122270d094d48f99c7b
[ "MIT" ]
null
null
null
app/authorization/tests/integration/serializers_tests.py
harryrobertwright/reddit-clone-app
bcc025fd8bf50705d2ea9122270d094d48f99c7b
[ "MIT" ]
1
2021-08-19T12:55:39.000Z
2021-08-19T12:55:39.000Z
app/authorization/tests/integration/serializers_tests.py
harryrobertwright/reddit-clone-app
bcc025fd8bf50705d2ea9122270d094d48f99c7b
[ "MIT" ]
null
null
null
from django.test import TestCase from rest_framework_simplejwt.tokens import RefreshToken from authorization.models import User from authorization.serializers import ( LoginSerializer, LoginRefreshSerializer, RegisterSerializer ) class TestRegisterSerializer(TestCase): def setUp(self): self.user_attr...
32.60241
76
0.673688
269
2,706
6.527881
0.27881
0.045558
0.067768
0.034169
0.359339
0.294419
0.252278
0.252278
0.252278
0.182802
0
0.008091
0.223577
2,706
82
77
33
0.827701
0
0
0.306452
0
0
0.108647
0
0
0
0
0
0.129032
1
0.145161
false
0.080645
0.064516
0
0.258065
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
30431eda11cccde062d66c21b9281f3812ad7ff2
1,945
py
Python
examples/vehicle_dim.py
firasm/pysketcher
ef0c25b11b739197e254d714c69c86e107059be3
[ "MIT" ]
null
null
null
examples/vehicle_dim.py
firasm/pysketcher
ef0c25b11b739197e254d714c69c86e107059be3
[ "MIT" ]
null
null
null
examples/vehicle_dim.py
firasm/pysketcher
ef0c25b11b739197e254d714c69c86e107059be3
[ "MIT" ]
null
null
null
import pysketcher as ps from pysketcher.backend.matplotlib import MatplotlibBackend R = 1 # radius of wheel L = 4 # distance between wheels H = 2 # height of vehicle body w_1 = 5 # position of front wheel # TODO : draw grids # drawing_tool.set_grid(True) c = ps.Point(w_1, R) wheel1 = ps.Circle(c, R) wheel2 = wh...
31.885246
88
0.616452
342
1,945
3.374269
0.233918
0.115251
0.076257
0.085789
0.195841
0.166378
0.093588
0.093588
0
0
0
0.051923
0.197943
1,945
60
89
32.416667
0.687821
0.08329
0
0
0
0
0.069859
0
0
0
0
0.016667
0
1
0
false
0
0.042553
0
0.042553
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
3045a1a7430afa1bd5bd0bf5696fb30115606bd0
239
py
Python
Genotyping/PrintSequenceQueries.py
EichlerLab/chm1_scripts
55d1783139f4ccc6e41c79812920785b1eaea65e
[ "MIT" ]
5
2016-04-21T20:00:01.000Z
2020-03-12T16:35:55.000Z
Genotyping/PrintSequenceQueries.py
EichlerLab/chm1_scripts
55d1783139f4ccc6e41c79812920785b1eaea65e
[ "MIT" ]
null
null
null
Genotyping/PrintSequenceQueries.py
EichlerLab/chm1_scripts
55d1783139f4ccc6e41c79812920785b1eaea65e
[ "MIT" ]
8
2015-09-15T07:08:06.000Z
2021-07-13T02:25:12.000Z
#!/usr/bin/env python import sys inFile = open(sys.argv[1]) for line in inFile: vals = line.split() name = "/".join(vals[0:3]) start = 4000 end = start + int(vals[4]) print name + "\t" + str(start) + "\t" + str(end)
18.384615
52
0.560669
38
239
3.526316
0.710526
0.059701
0
0
0
0
0
0
0
0
0
0.044199
0.242678
239
12
53
19.916667
0.696133
0.083682
0
0
0
0
0.022936
0
0
0
0
0
0
0
null
null
0
0.125
null
null
0.125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
3045a816cae5b0ceac0186f8a4732915e9343f6a
958
py
Python
Receptive_Field_PyNN/2rtna_connected_to_4ReceptiveFields/rd_dsply_pkl_fle.py
mahmoud-a-ali/Thesis_sample_codes
02a912dd012291b00c89db195b4cba2ebb4d35fe
[ "MIT" ]
null
null
null
Receptive_Field_PyNN/2rtna_connected_to_4ReceptiveFields/rd_dsply_pkl_fle.py
mahmoud-a-ali/Thesis_sample_codes
02a912dd012291b00c89db195b4cba2ebb4d35fe
[ "MIT" ]
null
null
null
Receptive_Field_PyNN/2rtna_connected_to_4ReceptiveFields/rd_dsply_pkl_fle.py
mahmoud-a-ali/Thesis_sample_codes
02a912dd012291b00c89db195b4cba2ebb4d35fe
[ "MIT" ]
null
null
null
#!/usr/bin/env python2 # -*- coding: utf-8 -*- """ Created on Mon Jun 4 11:26:44 2018 @author: mali """ import pickle import neo import comn_conversion as cnvrt #file to read fldr = 'rslts/icub64x64/' fle = 'L_rf_2f3.pickle' pth = cnvrt.read_flenfldr_ncrntpth(fldr, fle) #if you have the path directly #pth = '/...
22.809524
101
0.635699
151
958
3.953642
0.529801
0.035176
0.065327
0.120603
0.073702
0.073702
0.073702
0
0
0
0
0.042581
0.191023
958
42
102
22.809524
0.727742
0.430063
0
0
0
0
0.15678
0
0
0
0
0
0
0
null
null
0
0.166667
null
null
0.222222
0
0
0
null
0
0
0
0
0
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
304b0aabf3c32bf6f8162695c510014873fc4063
3,458
py
Python
recipes/Python/579024_Simple_FIFO_trading_model/recipe-579024.py
tdiprima/code
61a74f5f93da087d27c70b2efe779ac6bd2a3b4f
[ "MIT" ]
2,023
2017-07-29T09:34:46.000Z
2022-03-24T08:00:45.000Z
recipes/Python/579024_Simple_FIFO_trading_model/recipe-579024.py
unhacker/code
73b09edc1b9850c557a79296655f140ce5e853db
[ "MIT" ]
32
2017-09-02T17:20:08.000Z
2022-02-11T17:49:37.000Z
recipes/Python/579024_Simple_FIFO_trading_model/recipe-579024.py
unhacker/code
73b09edc1b9850c557a79296655f140ce5e853db
[ "MIT" ]
780
2017-07-28T19:23:28.000Z
2022-03-25T20:39:41.000Z
from collections import deque import random ''' Example below replicates +75 MSFT 25.10 +50 MSFT 25.12 -100 MSFT 25.22 Realized P&L = 75 * (25.22 - 25.10) + 25 * (25.22 - 25.12) = $ 11.50 A Trade is split into a set of unit positions that are then dequeued on FIFO basis as part...
29.555556
124
0.550318
451
3,458
4.101996
0.301552
0.038919
0.107027
0.030811
0.248649
0.195676
0.195676
0.195676
0.123243
0.084324
0
0.045792
0.3369
3,458
116
125
29.810345
0.761012
0.110468
0
0.188406
0
0
0.034247
0
0
0
0
0
0
0
null
null
0
0.028986
null
null
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
1
0
0
0
0
0
0
0
0
1
3053f908b52601331c7190d0bf8cd6269e2ca0c1
1,174
py
Python
tests/plan_test.py
rbbonfim/pagarme-python
a7079fbdd01bd855ea09f89847d6374b499be76b
[ "MIT" ]
79
2015-08-25T14:43:34.000Z
2021-12-01T18:16:54.000Z
tests/plan_test.py
rbbonfim/pagarme-python
a7079fbdd01bd855ea09f89847d6374b499be76b
[ "MIT" ]
103
2015-09-15T15:24:14.000Z
2021-12-20T22:52:02.000Z
tests/plan_test.py
rbbonfim/pagarme-python
a7079fbdd01bd855ea09f89847d6374b499be76b
[ "MIT" ]
53
2015-09-11T12:06:26.000Z
2022-02-23T02:59:57.000Z
from pagarme import plan from tests.resources.dictionaries import plan_dictionary import time def test_create_boleto_plan(): _plan = plan.create(plan_dictionary.BOLETO_PLAN) assert _plan['payment_methods'] == ["boleto"] def test_create_credit_card_plan(): _plan = plan.create(plan_dictionary.CREDIT_CARD_...
27.302326
71
0.729131
167
1,174
4.718563
0.227545
0.111675
0.106599
0.137056
0.440355
0.369289
0.252538
0.147208
0.147208
0.147208
0
0.007014
0.149915
1,174
42
72
27.952381
0.782565
0
0
0.178571
0
0
0.082624
0
0
0
0
0
0.285714
1
0.25
false
0
0.107143
0
0.357143
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
305dfe52a1fe617481ce83c50deb76f64c8148b0
353
py
Python
stdZone/migrations/0005_auto_20200712_2144.py
jaiswalshubhamm/estudycorner
1d8162175580d8b13085b287d4c8ffd5eab876cf
[ "MIT" ]
null
null
null
stdZone/migrations/0005_auto_20200712_2144.py
jaiswalshubhamm/estudycorner
1d8162175580d8b13085b287d4c8ffd5eab876cf
[ "MIT" ]
1
2022-02-10T13:26:46.000Z
2022-02-10T13:26:46.000Z
stdZone/migrations/0005_auto_20200712_2144.py
jaiswalshubhamm/estudycorner
1d8162175580d8b13085b287d4c8ffd5eab876cf
[ "MIT" ]
null
null
null
# Generated by Django 3.0.7 on 2020-07-12 16:14 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('stdZone', '0004_answer'), ] operations = [ migrations.RenameField( model_name='answer', old_name='question', new...
18.578947
47
0.572238
37
353
5.351351
0.783784
0.10101
0
0
0
0
0
0
0
0
0
0.078189
0.311615
353
18
48
19.611111
0.736626
0.127479
0
0
1
0
0.124183
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
30611b0e64c02ac1f8f80e7acc9c4fc91b662994
440
py
Python
marchena/modules/posts/receivers.py
samuelmaudo/marchena
e9a522a9be66f7043aa61e316f7e733e8ccf1e32
[ "BSD-3-Clause" ]
null
null
null
marchena/modules/posts/receivers.py
samuelmaudo/marchena
e9a522a9be66f7043aa61e316f7e733e8ccf1e32
[ "BSD-3-Clause" ]
null
null
null
marchena/modules/posts/receivers.py
samuelmaudo/marchena
e9a522a9be66f7043aa61e316f7e733e8ccf1e32
[ "BSD-3-Clause" ]
null
null
null
# -*- coding:utf-8 -*- from django.db import IntegrityError def receive_post_view(sender, obj, request, **kwargs): """ Increases the number of times that the post has been viewed. """ if (not kwargs.get('raw', False) and (not hasattr(request, 'metrics') or request.metr...
24.444444
64
0.588636
51
440
4.980392
0.823529
0.110236
0
0
0
0
0
0
0
0
0
0.003257
0.302273
440
17
65
25.882353
0.824104
0.186364
0
0
0
0
0.029326
0
0
0
0
0
0
1
0.111111
false
0.111111
0.111111
0
0.222222
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
3062b4c5819b467d47e012ffbd8643dc9611b0be
3,721
py
Python
voltha/adapters/adtran_olt/net/rcmd.py
sathishms77/test
bf8df6fc16c41720c7d99ed1ff17a64b543e9672
[ "Apache-2.0" ]
72
2017-01-18T02:36:34.000Z
2022-02-12T15:28:30.000Z
voltha/adapters/adtran_olt/net/rcmd.py
sathishms77/test
bf8df6fc16c41720c7d99ed1ff17a64b543e9672
[ "Apache-2.0" ]
11
2017-03-03T17:56:09.000Z
2022-02-11T03:38:03.000Z
voltha/adapters/adtran_olt/net/rcmd.py
sathishms77/test
bf8df6fc16c41720c7d99ed1ff17a64b543e9672
[ "Apache-2.0" ]
120
2017-02-02T23:26:11.000Z
2022-03-13T05:30:23.000Z
# Copyright 2017-present Adtran, 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 writ...
32.929204
82
0.597958
400
3,721
5.475
0.4075
0.027397
0.026027
0.014612
0.087671
0.037443
0.037443
0
0
0
0
0.003926
0.315507
3,721
112
83
33.223214
0.855909
0.168234
0
0.025316
0
0
0.02544
0
0
0
0
0
0
1
0.151899
false
0.050633
0.075949
0.012658
0.329114
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
306306543b13ab3232333533bbd764ffc8befabb
245
py
Python
Labs/AffineTransformations/row_opers.py
jessicaleete/numerical_computing
cc71f51f35ca74d00e617af3d1a0223e19fb9a68
[ "CC-BY-3.0" ]
10
2016-10-18T19:54:25.000Z
2021-10-09T20:12:38.000Z
Labs/AffineTransformations/row_opers.py
jessicaleete/numerical_computing
cc71f51f35ca74d00e617af3d1a0223e19fb9a68
[ "CC-BY-3.0" ]
null
null
null
Labs/AffineTransformations/row_opers.py
jessicaleete/numerical_computing
cc71f51f35ca74d00e617af3d1a0223e19fb9a68
[ "CC-BY-3.0" ]
2
2017-05-14T16:07:59.000Z
2020-06-20T09:05:06.000Z
def type_I(A, i, j): # Swap two rows A[i], A[j] = np.copy(A[j]), np.copy(A[i]) def type_II(A, i, const): # Multiply row j of A by const A[i] *= const def type_III(A, i, j, const): # Add a constant times row j to row i A[i] += const*A[j]
20.416667
42
0.587755
58
245
2.431034
0.362069
0.099291
0.148936
0.113475
0.120567
0
0
0
0
0
0
0
0.220408
245
11
43
22.272727
0.73822
0.318367
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0
0
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
1
0
0
0
0
0
0
0
1
3065bce5336d0fe5b2469c9281ab3273d6f1c357
14,144
py
Python
power_measurements/run_pb_bench.py
embedded-machine-learning/eml-tools
9c9d12f9b970a42360bc6ca350f3b67ad822b141
[ "Apache-2.0" ]
null
null
null
power_measurements/run_pb_bench.py
embedded-machine-learning/eml-tools
9c9d12f9b970a42360bc6ca350f3b67ad822b141
[ "Apache-2.0" ]
null
null
null
power_measurements/run_pb_bench.py
embedded-machine-learning/eml-tools
9c9d12f9b970a42360bc6ca350f3b67ad822b141
[ "Apache-2.0" ]
null
null
null
# this script takes a neural network in the intermediate representation .pd # and converts it to a Movidius NCS2 conform format with .xml and .bin # runs inference on the generated model import argparse import os, sys, threading from os import system from sys import stdout from time import sleep, time import numpy as ...
42.60241
172
0.62295
1,838
14,144
4.572905
0.20457
0.017847
0.017847
0.017133
0.339441
0.272695
0.262225
0.231291
0.223082
0.212374
0
0.009355
0.259333
14,144
331
173
42.731118
0.792955
0.161411
0
0.163717
1
0
0.184075
0.028039
0
0
0
0
0
1
0.017699
false
0.004425
0.053097
0
0.079646
0.057522
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
3067269281be871a9e210b961e7788a287fedc7d
1,102
py
Python
utils/data_figure.py
mie-lab/change-detection
53f44d1e39405ab56be4e24da9e40cca31af8908
[ "MIT" ]
null
null
null
utils/data_figure.py
mie-lab/change-detection
53f44d1e39405ab56be4e24da9e40cca31af8908
[ "MIT" ]
null
null
null
utils/data_figure.py
mie-lab/change-detection
53f44d1e39405ab56be4e24da9e40cca31af8908
[ "MIT" ]
null
null
null
""" Preprocessing for generating the data figure (Figure 2). """ import pandas as pd import geopandas as gpd import os, sys from shapely import wkt from tqdm import tqdm sys.path.append(os.path.join(os.getcwd(), "utils")) from config import config # load the tripleg file tpls = pd.read_csv(os.path.join(config["raw"]...
25.045455
83
0.686933
172
1,102
4.337209
0.436047
0.085791
0.048257
0.040214
0.050938
0
0
0
0
0
0
0.010277
0.11706
1,102
43
84
25.627907
0.756423
0.297641
0
0
0
0
0.189153
0
0
0
0
0
0
1
0
false
0
0.315789
0
0.315789
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
0
0
0
0
1
0
0
0
0
1
3068bb6e32ee1bacfc945bd954c8f1173f4dd8fe
12,638
py
Python
data/args.py
roeiherz/AG2Video
a4eb439d7147c91237ddd50ec305add8e1537360
[ "MIT" ]
22
2020-07-01T07:11:15.000Z
2022-02-17T13:26:16.000Z
data/args.py
roeiherz/AG2Video
a4eb439d7147c91237ddd50ec305add8e1537360
[ "MIT" ]
5
2021-06-16T02:35:14.000Z
2022-03-12T01:00:27.000Z
data/args.py
roeiherz/AG2Video
a4eb439d7147c91237ddd50ec305add8e1537360
[ "MIT" ]
2
2021-08-04T05:22:58.000Z
2021-12-11T02:15:57.000Z
import os import argparse import datetime import torch def int_tuple(s): return tuple(int(i) for i in s.split(',')) def bool_flag(s): if s == '1': return True elif s == '0': return False msg = 'Invalid value "%s" for bool flag (should be 0 or 1)' raise ValueError(msg % s) par...
55.187773
132
0.712613
1,831
12,638
4.752048
0.201529
0.11378
0.214918
0.031261
0.356626
0.288817
0.216527
0.167567
0.106999
0.097575
0
0.018656
0.139025
12,638
228
133
55.429825
0.780994
0.037269
0
0.044693
0
0.011173
0.388111
0.040919
0
0
0
0
0.005587
1
0.027933
false
0.005587
0.022346
0.005587
0.072626
0.03352
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
30727838133a245050200262e6f5b46b7e59ef0d
1,472
py
Python
zentral/core/probes/migrations/0005_auto_20161104_1343.py
arubdesu/zentral
ac0fe663f6e1c27f9a9f55a7500a87e6ac7d9190
[ "Apache-2.0" ]
634
2015-10-30T00:55:40.000Z
2022-03-31T02:59:00.000Z
zentral/core/probes/migrations/0005_auto_20161104_1343.py
arubdesu/zentral
ac0fe663f6e1c27f9a9f55a7500a87e6ac7d9190
[ "Apache-2.0" ]
145
2015-11-06T00:17:33.000Z
2022-03-16T13:30:31.000Z
zentral/core/probes/migrations/0005_auto_20161104_1343.py
arubdesu/zentral
ac0fe663f6e1c27f9a9f55a7500a87e6ac7d9190
[ "Apache-2.0" ]
103
2015-11-07T07:08:49.000Z
2022-03-18T17:34:36.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.10.2 on 2016-11-04 13:43 from __future__ import unicode_literals import django.contrib.postgres.fields from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('probes', '0004_auto_20161103_1728'), ] operat...
33.454545
156
0.616168
151
1,472
5.860927
0.423841
0.050847
0.112994
0.135593
0.60339
0.546893
0.4
0.4
0.4
0.4
0
0.041551
0.264266
1,472
43
157
34.232558
0.775623
0.046196
0
0.527778
1
0
0.079943
0.016417
0
0
0
0
0
1
0
false
0
0.083333
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
307597c2f903d07bd4ff0d850c7b370e12d159a8
967
py
Python
topics/Geometry/Check_If_It_Is_a_Straight_Line_1232/[Check_rect_area]_Check_If_It_Is_a_Straight_Line_1232.py
DmitryNaimark/leetcode-solutions-python
16af5f3a9cb8469d82b14c8953847f0e93a92324
[ "MIT" ]
1
2019-10-31T11:06:23.000Z
2019-10-31T11:06:23.000Z
topics/Geometry/Check_If_It_Is_a_Straight_Line_1232/[Check_rect_area]_Check_If_It_Is_a_Straight_Line_1232.py
DmitryNaimark/leetcode-solutions-python
16af5f3a9cb8469d82b14c8953847f0e93a92324
[ "MIT" ]
null
null
null
topics/Geometry/Check_If_It_Is_a_Straight_Line_1232/[Check_rect_area]_Check_If_It_Is_a_Straight_Line_1232.py
DmitryNaimark/leetcode-solutions-python
16af5f3a9cb8469d82b14c8953847f0e93a92324
[ "MIT" ]
null
null
null
# https://leetcode.com/problems/check-if-it-is-a-straight-line/ # --------------------------------------------------- from typing import List # Runtime Complexity: O(N) # Space Complexity: O(1) class Solution: def checkStraightLine(self, coordinates: List[List[int]]) -> bool: (p, q), (u, v) = coordinates[:...
35.814815
84
0.458118
127
967
3.488189
0.488189
0.049661
0.013544
0.018059
0.072235
0.027088
0
0
0
0
0
0.070496
0.207859
967
26
85
37.192308
0.507833
0.397104
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.1
0.1
0.6
0.2
0
0
0
null
0
0
0
0
0
0
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
30784d63265e0af65a913a38c87a502258f21d0e
1,665
py
Python
memento/Memento.py
sohasanl/DesignPatternsPython
b2d992e15a66df10187f0c5a714c0f967f0fd4a1
[ "MIT" ]
99
2017-04-07T07:57:59.000Z
2022-03-26T17:57:16.000Z
memento/Memento.py
sohasanl/DesignPatternsPython
b2d992e15a66df10187f0c5a714c0f967f0fd4a1
[ "MIT" ]
null
null
null
memento/Memento.py
sohasanl/DesignPatternsPython
b2d992e15a66df10187f0c5a714c0f967f0fd4a1
[ "MIT" ]
23
2018-02-04T09:48:54.000Z
2021-11-24T13:10:16.000Z
# # Python Design Patterns: Memento # Author: Jakub Vojvoda [github.com/JakubVojvoda] # 2016 # # Source code is licensed under MIT License # (for more details see LICENSE) # import sys # # Memento # stores internal state of the Originator object and protects # against access by objects other than the originator # cl...
20.304878
65
0.696096
205
1,665
5.482927
0.380488
0.088078
0.029359
0.050712
0.113879
0.113879
0.087189
0.087189
0.087189
0.087189
0
0.006716
0.195195
1,665
81
66
20.555556
0.83209
0.27988
0
0.243902
0
0
0.051871
0
0
0
0
0
0
1
0.268293
false
0
0.02439
0.073171
0.439024
0.097561
0
0
0
null
0
0
0
0
0
0
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
30795d193e589129e385b1322ecd8a08374aaed4
5,890
py
Python
worker/src/util/preprocessor.py
lefterav/mtmonkey
b3dd211bab708c2d9db55c41b2fe399be5ea4dea
[ "Apache-2.0" ]
null
null
null
worker/src/util/preprocessor.py
lefterav/mtmonkey
b3dd211bab708c2d9db55c41b2fe399be5ea4dea
[ "Apache-2.0" ]
null
null
null
worker/src/util/preprocessor.py
lefterav/mtmonkey
b3dd211bab708c2d9db55c41b2fe399be5ea4dea
[ "Apache-2.0" ]
null
null
null
''' Created on 24 Mar 2012 @author: Lefteris Avramidis ''' import subprocess import codecs import os import Queue import threading import logging as logger class Preprocessor(object): """ """ def __init__(self, lang): self.lang = lang def add_features_src(self, simplesentence, parallelsent...
35.269461
149
0.613413
622
5,890
5.590032
0.270096
0.064711
0.025309
0.030198
0.362381
0.340523
0.295082
0.253667
0.205925
0.205925
0
0.004452
0.275382
5,890
166
150
35.481928
0.810216
0.095925
0
0.226891
0
0
0.064633
0.009152
0
0
0
0.006024
0
0
null
null
0.008403
0.067227
null
null
0.02521
0
0
0
null
0
0
0
0
0
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
061fe9f7913960a199fba6847ac44fe6198b9d2a
1,810
py
Python
viveks_workflow/experiments.py
radical-experiments/AIMES-Swift
27445b1e5c3da6499ca022bbf736e17adcdce57b
[ "MIT" ]
null
null
null
viveks_workflow/experiments.py
radical-experiments/AIMES-Swift
27445b1e5c3da6499ca022bbf736e17adcdce57b
[ "MIT" ]
null
null
null
viveks_workflow/experiments.py
radical-experiments/AIMES-Swift
27445b1e5c3da6499ca022bbf736e17adcdce57b
[ "MIT" ]
null
null
null
#!/usr/bin/env python import os import sys input_names = 'input_shared_*.txt' config_name = 'experiment.json' workload_name = 'vivek.swift' swift_cfg_name = 'swift.conf' runme_name = 'runme.sh' makefile_name = 'makefile' with open('experiments.ctrl', 'r') as ctrl: for line in ctrl: line = l...
30.677966
98
0.524309
253
1,810
3.577075
0.300395
0.035359
0.033149
0.082873
0.185635
0.154696
0.154696
0.154696
0.154696
0
0
0.005613
0.31105
1,810
58
99
31.206897
0.720128
0.021547
0
0.075
0
0.025
0.245048
0.026033
0
0
0
0
0
0
null
null
0
0.05
null
null
0.075
0
0
0
null
0
0
0
0
0
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
0621a6b8136177642585831c094d2ee92199d2b1
313
py
Python
COMP1006/a.py
hansolo669/Class
cf05e0aad68ccc53311cda2c945b6ac5cd5faf2b
[ "MIT" ]
null
null
null
COMP1006/a.py
hansolo669/Class
cf05e0aad68ccc53311cda2c945b6ac5cd5faf2b
[ "MIT" ]
null
null
null
COMP1006/a.py
hansolo669/Class
cf05e0aad68ccc53311cda2c945b6ac5cd5faf2b
[ "MIT" ]
null
null
null
def luhn(n): n = [int(x) for x in str(n)] print n i = len(n)-1 while i != 0: if i % 2: n[i] = n[i] * 2 i -= 1 print n print "sum%10", sum(n) % 10 print "valid? ", sum(n) % 10 == 0 #print int(str(((sum(n) % 10) * 9))[int(len(str(((sum(n) % 10) * 9))))-1]) while (True): luhn(raw_input("number: "))
20.866667
75
0.495208
65
313
2.369231
0.369231
0.103896
0.155844
0.116883
0.12987
0
0
0
0
0
0
0.079832
0.239617
313
15
76
20.866667
0.567227
0.233227
0
0.153846
0
0
0.0875
0
0
0
0
0
0
0
null
null
0
0
null
null
0.307692
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
06231de6c0083bdcbb992210cf5cf991434c65da
2,078
py
Python
weather.py
jaakkoo/vpn_wttrin
8597cf8abbced44721861a475565db3090c1b335
[ "MIT" ]
1
2016-08-22T09:43:23.000Z
2016-08-22T09:43:23.000Z
weather.py
jaakkoo/vpn_wttrin
8597cf8abbced44721861a475565db3090c1b335
[ "MIT" ]
null
null
null
weather.py
jaakkoo/vpn_wttrin
8597cf8abbced44721861a475565db3090c1b335
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- encoding: utf-8 -*- import subprocess import shlex import re import json import urllib2 API_KEY = '' AIRPORT_TOOL = '/System/Library/PrivateFrameworks/Apple80211.framework/Versions/A/Resources/airport' GEOLOCATION_URL = 'https://www.googleapis.com/geolocation/v1/geolocate?key=%s' % API_KEY...
31.484848
106
0.672281
272
2,078
4.919118
0.448529
0.023916
0.044843
0.026906
0.101644
0.091181
0.046338
0
0
0
0
0.013234
0.163619
2,078
65
107
31.969231
0.756617
0.021174
0
0
0
0.045455
0.249508
0.097441
0
0
0
0
0
0
null
null
0
0.113636
null
null
0.068182
0
0
0
null
0
0
0
0
0
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
062390379d65a3eec803c319a9ce19aad797ad04
487
py
Python
registration/clean_input.py
MoyGcc/hpcwild
8ed35c3f188284af2a4dd0d68b09fbceb105c2ba
[ "MIT" ]
47
2022-02-02T11:38:05.000Z
2022-03-23T06:39:57.000Z
registration/clean_input.py
MoyGcc/hpcwild
8ed35c3f188284af2a4dd0d68b09fbceb105c2ba
[ "MIT" ]
null
null
null
registration/clean_input.py
MoyGcc/hpcwild
8ed35c3f188284af2a4dd0d68b09fbceb105c2ba
[ "MIT" ]
4
2022-02-03T18:27:34.000Z
2022-03-14T18:06:12.000Z
from __future__ import absolute_import from __future__ import print_function from __future__ import division import numpy as np import trimesh if __name__ == "__main__": out_dir = 'out_dir71' obj = '' mesh_fn = './%s/%s.obj' % (out_dir, obj) input_mesh = trimesh.load(mesh_fn, process=False) ...
23.190476
91
0.712526
69
487
4.521739
0.478261
0.115385
0.153846
0.076923
0
0
0
0
0
0
0
0.007426
0.170431
487
20
92
24.35
0.764851
0
0
0
0
0
0.096509
0
0
0
0
0
0
1
0
false
0
0.416667
0
0.416667
0.083333
0
0
0
null
0
0
0
0
0
0
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
06256359ed516220f07bd7049d80e71b9148b787
19,604
py
Python
src/camo.py
andrewowens/camo
841e096e3a346f8ef3f6be8ea9548fc976c52eab
[ "MIT" ]
7
2015-11-29T01:35:41.000Z
2022-01-21T01:43:21.000Z
src/camo.py
andrewowens/camo
841e096e3a346f8ef3f6be8ea9548fc976c52eab
[ "MIT" ]
null
null
null
src/camo.py
andrewowens/camo
841e096e3a346f8ef3f6be8ea9548fc976c52eab
[ "MIT" ]
5
2016-03-15T12:50:39.000Z
2020-05-14T15:19:40.000Z
import dset, img as ig, box, os, util as ut, numpy as np, networkx as nx, scipy.ndimage, glob, skimage.color na = np.newaxis try: # mrf is a Cython module that depends on the gco graph cuts library import mrf except ImportError: print 'mrf import failed! Cannot use the MRF-based models. Try compiling it with "m...
36.103131
136
0.663385
3,025
19,604
4.146116
0.133884
0.026152
0.016664
0.025833
0.370116
0.282252
0.226041
0.189364
0.180753
0.169271
0
0.019901
0.192614
19,604
542
137
36.169742
0.772492
0.044481
0
0.216418
0
0
0.030907
0.002557
0
0
0
0
0.034826
0
null
null
0.002488
0.00995
null
null
0.052239
0
0
0
null
0
0
0
0
0
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
06260687f144471ad449262df4713a7c8737a567
502
py
Python
running.py
jgfidelis/teste04-distribuidos
eafc923dc1fbd33817658d18f64a6ba63e512ea2
[ "BSD-3-Clause" ]
null
null
null
running.py
jgfidelis/teste04-distribuidos
eafc923dc1fbd33817658d18f64a6ba63e512ea2
[ "BSD-3-Clause" ]
null
null
null
running.py
jgfidelis/teste04-distribuidos
eafc923dc1fbd33817658d18f64a6ba63e512ea2
[ "BSD-3-Clause" ]
null
null
null
import os import math print "Antes de rodar o script de um chmod +x sinalgo" node = [512, 1024, 2048, 4096,8192] r = 10000 density = [10,15,20,25,30] for n in node: for d in density: x = round(math.sqrt(math.pi*n*r/d)) #print str() + ' ' + str(n)+ ' '+ str(d) ; os.system("./sina...
38.615385
205
0.591633
83
502
3.554217
0.626506
0.040678
0.047458
0.054237
0
0
0
0
0
0
0
0.103797
0.213147
502
12
206
41.833333
0.643038
0.081673
0
0
0
0
0.37694
0
0
0
0
0
0
0
null
null
0
0.2
null
null
0.1
0
0
0
null
0
0
0
0
0
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