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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
5094a991f03b00853ce2a954a82fc5cb464f9e31 | 651 | py | Python | app/main/views.py | Maryan23/News-On-The-Go | 5c9eba7f2f64fa7255047f1862a77e0346989073 | [
"MIT"
] | null | null | null | app/main/views.py | Maryan23/News-On-The-Go | 5c9eba7f2f64fa7255047f1862a77e0346989073 | [
"MIT"
] | null | null | null | app/main/views.py | Maryan23/News-On-The-Go | 5c9eba7f2f64fa7255047f1862a77e0346989073 | [
"MIT"
] | null | null | null | from flask import render_template
from . import main
from ..requests import get_sources, get_articles
#Views
@main.route('/')
def index():
'''
View root page function that returns the index page and its data
'''
#Getting news sources
sources = get_sources()
title = 'News OTG'
return rende... | 27.125 | 83 | 0.698925 | 84 | 651 | 5.297619 | 0.392857 | 0.094382 | 0.114607 | 0.103371 | 0.116854 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.199693 | 651 | 24 | 84 | 27.125 | 0.854127 | 0.261137 | 0 | 0 | 0 | 0 | 0.12 | 0.048889 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.25 | 0 | 0.583333 | 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 |
509e537f875dbdb69e06e19a93c8c03f39aab478 | 405 | py | Python | container/pyf/schemas/event.py | Pompino/react-components-23KB | 3201a417c5160e1b77f29fc1eac74ae9dc10d6ad | [
"MIT"
] | 2 | 2021-10-30T18:18:33.000Z | 2021-12-01T10:21:28.000Z | container/pyf/schemas/event.py | Pompino/react-components-23KB | 3201a417c5160e1b77f29fc1eac74ae9dc10d6ad | [
"MIT"
] | null | null | null | container/pyf/schemas/event.py | Pompino/react-components-23KB | 3201a417c5160e1b77f29fc1eac74ae9dc10d6ad | [
"MIT"
] | null | null | null | from pydantic import BaseModel as BaseSchema
from typing import List, Optional
from simpleschemas import UserGetSimpleSchema, GroupGetSimpleSchema, EventGetSimpleSchema, ClassRoomGetSimpleSchema
class EventGetSchema(EventGetSimpleSchema):
users: List[UserGetSimpleSchema]
groups: List[GroupGetSimpleSchema]
... | 36.818182 | 115 | 0.817284 | 35 | 405 | 9.428571 | 0.657143 | 0.175758 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138272 | 405 | 11 | 116 | 36.818182 | 0.945559 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.888889 | 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 |
50a2d8e2d61ab6bd3b4ccb4592edce05f90fc821 | 603 | py | Python | landing/urls.py | gauravuttarkar/SoftwareEngineering | 23c6e58176fcb27031f9095a1090c2f72602a3f6 | [
"MIT"
] | null | null | null | landing/urls.py | gauravuttarkar/SoftwareEngineering | 23c6e58176fcb27031f9095a1090c2f72602a3f6 | [
"MIT"
] | 3 | 2020-06-05T20:14:46.000Z | 2021-06-10T21:20:45.000Z | landing/urls.py | gauravuttarkar/SoftwareEngineering | 23c6e58176fcb27031f9095a1090c2f72602a3f6 | [
"MIT"
] | null | null | null | from django.urls import path
from . import views
from events import urls as events_urls
from django.urls import path, include
from donations import urls as donations_urls
urlpatterns = [
path('', views.home),
path('events/', include(events_urls)),
path('donations/', include(donations_urls)),
... | 31.736842 | 70 | 0.688226 | 78 | 603 | 5.205128 | 0.25641 | 0.08867 | 0.068966 | 0.098522 | 0.118227 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001988 | 0.165837 | 603 | 18 | 71 | 33.5 | 0.805169 | 0 | 0 | 0 | 0 | 0 | 0.169521 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 |
50a8a9a56926e6f5b91305577d1b6d36870b77b9 | 1,732 | py | Python | xen/xen-4.2.2/tools/xm-test/tests/network/12_network_domU_tcp_pos.py | zhiming-shen/Xen-Blanket-NG | 47e59d9bb92e8fdc60942df526790ddb983a5496 | [
"Apache-2.0"
] | 1 | 2018-02-02T00:15:26.000Z | 2018-02-02T00:15:26.000Z | xen/xen-4.2.2/tools/xm-test/tests/network/12_network_domU_tcp_pos.py | zhiming-shen/Xen-Blanket-NG | 47e59d9bb92e8fdc60942df526790ddb983a5496 | [
"Apache-2.0"
] | null | null | null | xen/xen-4.2.2/tools/xm-test/tests/network/12_network_domU_tcp_pos.py | zhiming-shen/Xen-Blanket-NG | 47e59d9bb92e8fdc60942df526790ddb983a5496 | [
"Apache-2.0"
] | 1 | 2019-05-27T09:47:18.000Z | 2019-05-27T09:47:18.000Z | #!/usr/bin/python
# Copyright (C) International Business Machines Corp., 2006
# Author: <dykman@us.ibm.com>
# TCP tests to domU interface
# - creates two guest domains
# - sets up a single NIC on each on same subnet
# - conducts tcp tests to the domU IP address.
# hping2 $domU_IP -c 1 -d $size
# where $size ... | 26.646154 | 79 | 0.6097 | 241 | 1,732 | 4.356846 | 0.580913 | 0.02 | 0.019048 | 0.015238 | 0.053333 | 0.053333 | 0.053333 | 0.053333 | 0.053333 | 0 | 0 | 0.09019 | 0.270208 | 1,732 | 64 | 80 | 27.0625 | 0.740506 | 0.314665 | 0 | 0.108108 | 0 | 0 | 0.158568 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.027027 | null | null | 0.081081 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 |
50af6dfc9cf7bff53dbdace339836c3a30380c66 | 585 | py | Python | sensai_dataset/generator/__main__.py | holodata/sensai-dataset | 6cd6370a71cac55902fa64967ac6c98ec975e737 | [
"MIT"
] | null | null | null | sensai_dataset/generator/__main__.py | holodata/sensai-dataset | 6cd6370a71cac55902fa64967ac6c98ec975e737 | [
"MIT"
] | null | null | null | sensai_dataset/generator/__main__.py | holodata/sensai-dataset | 6cd6370a71cac55902fa64967ac6c98ec975e737 | [
"MIT"
] | null | null | null | import argparse
from sensai_dataset.generator.commands import generate_dataset
from sensai_dataset.generator.constants import DATASET_DIR, DATASET_SOURCE_DIR
if __name__ == '__main__':
parser = argparse.ArgumentParser(description='dataset generator')
parser.add_argument('-m', '--matcher', type=str, default='c... | 34.411765 | 78 | 0.71453 | 67 | 585 | 5.850746 | 0.447761 | 0.132653 | 0.163265 | 0.132653 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.182906 | 585 | 16 | 79 | 36.5625 | 0.820084 | 0 | 0 | 0 | 1 | 0 | 0.107692 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
50b35f3c8708474e2629e462aa1c64144be0bdd3 | 1,345 | py | Python | alley/alley_cli.py | xperscore/alley | f9a5e9e2970230e38fd8a48b6a0bc1d43a38548e | [
"BSD-3-Clause"
] | 13 | 2018-11-08T14:00:35.000Z | 2021-12-19T00:07:46.000Z | alley/alley_cli.py | xperscore/alley | f9a5e9e2970230e38fd8a48b6a0bc1d43a38548e | [
"BSD-3-Clause"
] | 3 | 2019-03-11T19:31:39.000Z | 2021-06-25T15:20:38.000Z | alley/alley_cli.py | xperscore/alley | f9a5e9e2970230e38fd8a48b6a0bc1d43a38548e | [
"BSD-3-Clause"
] | 4 | 2018-05-31T08:01:50.000Z | 2020-07-22T14:18:06.000Z | import logging
import click
from alley import MongoMigrations
@click.group()
@click.argument('path', type=click.Path(exists=True, file_okay=False, writable=True, resolve_path=True))
@click.option('--database', '-db')
@click.option('--username', '-u')
@click.option('--password', '-w')
@click.option('--host', '-h')
@... | 25.377358 | 104 | 0.716729 | 180 | 1,345 | 5.272222 | 0.322222 | 0.081138 | 0.063224 | 0.063224 | 0.139094 | 0.071654 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110037 | 1,345 | 52 | 105 | 25.865385 | 0.792815 | 0 | 0 | 0.307692 | 0 | 0 | 0.101935 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.128205 | false | 0.205128 | 0.076923 | 0 | 0.205128 | 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 |
50b4fcbeae7da2a2c7108d8f98294c21d2c67036 | 632 | py | Python | todolist/todos/migrations/0001_initial.py | abdu1aziz/todo-list-app | 698cc046ea4cf9259f8e9830a33166dc6d222abe | [
"MIT"
] | null | null | null | todolist/todos/migrations/0001_initial.py | abdu1aziz/todo-list-app | 698cc046ea4cf9259f8e9830a33166dc6d222abe | [
"MIT"
] | null | null | null | todolist/todos/migrations/0001_initial.py | abdu1aziz/todo-list-app | 698cc046ea4cf9259f8e9830a33166dc6d222abe | [
"MIT"
] | null | null | null | # Generated by Django 3.1 on 2020-09-21 00:59
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='workList',
fields=[
('id', models.AutoField(p... | 25.28 | 76 | 0.55538 | 61 | 632 | 5.655738 | 0.786885 | 0.046377 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039352 | 0.316456 | 632 | 24 | 77 | 26.333333 | 0.759259 | 0.068038 | 0 | 0 | 1 | 0 | 0.054514 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.058824 | 0 | 0.294118 | 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 |
50bb6b8f224190a98ffba813f3832d9064ce83d9 | 782 | py | Python | migrations/alembic/versions/2a8981379eba_add_locales_table.py | bonomali/parrot | 6d0a6d01f3e29c8d1a6085f3b2ede2973b23b0d7 | [
"MIT"
] | 143 | 2018-01-19T12:11:11.000Z | 2022-03-16T06:48:48.000Z | migrations/alembic/versions/2a8981379eba_add_locales_table.py | bonomali/parrot | 6d0a6d01f3e29c8d1a6085f3b2ede2973b23b0d7 | [
"MIT"
] | 10 | 2018-01-12T17:02:19.000Z | 2018-11-10T22:00:05.000Z | migrations/alembic/versions/2a8981379eba_add_locales_table.py | bonomali/parrot | 6d0a6d01f3e29c8d1a6085f3b2ede2973b23b0d7 | [
"MIT"
] | 38 | 2018-01-25T09:54:04.000Z | 2022-03-14T00:59:31.000Z | """add locales table
Revision ID: 2a8981379eba
Revises: 438b950c4c9a
Create Date: 2018-01-10 16:21:39.595957
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '2a8981379eba'
down_revision = '438b950c4c9a'
branch_labels = None
depends_on = None
def upgrade():
... | 21.135135 | 89 | 0.632992 | 93 | 782 | 5.247312 | 0.634409 | 0.043033 | 0.067623 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094474 | 0.282609 | 782 | 36 | 90 | 21.722222 | 0.775401 | 0.186701 | 0 | 0.181818 | 0 | 0 | 0.673567 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | false | 0 | 0.090909 | 0 | 0.181818 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
50bf0d07b30873aea72a078ee63ba5b203de3768 | 3,344 | py | Python | path.py | RC-Dynamics/de_pid_angle | 04302a2b19fe2a5caf2ba3b4c2c63be99f949b14 | [
"MIT"
] | null | null | null | path.py | RC-Dynamics/de_pid_angle | 04302a2b19fe2a5caf2ba3b4c2c63be99f949b14 | [
"MIT"
] | null | null | null | path.py | RC-Dynamics/de_pid_angle | 04302a2b19fe2a5caf2ba3b4c2c63be99f949b14 | [
"MIT"
] | null | null | null | import numpy as np
from random import random
import math
class Path:
def __init__(self, r):
self.radius = r
self.path = []
def circleDiscretization(self, qtd_poits = 40):
self.path = []
angle_diff = 2 * math.pi / qtd_poits
for i in range(qtd_poits):
point... | 35.2 | 110 | 0.537679 | 451 | 3,344 | 3.944568 | 0.235033 | 0.031478 | 0.013491 | 0.031478 | 0.263631 | 0.245082 | 0.204609 | 0.204609 | 0.175379 | 0.106802 | 0 | 0.054714 | 0.289474 | 3,344 | 95 | 111 | 35.2 | 0.694024 | 0.380383 | 0 | 0.095238 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0 | 0.071429 | 0.095238 | 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 |
50bf85f52af12e3be9018c2393e0eb616ca372a1 | 3,364 | py | Python | matrix.py | romanstrazanec/algorithms | d3ee7bf62056587767a99f2a2711c73f38debf76 | [
"MIT"
] | null | null | null | matrix.py | romanstrazanec/algorithms | d3ee7bf62056587767a99f2a2711c73f38debf76 | [
"MIT"
] | 5 | 2019-03-30T19:53:08.000Z | 2019-04-03T11:00:05.000Z | matrix.py | romanstrazanec/algorithms | d3ee7bf62056587767a99f2a2711c73f38debf76 | [
"MIT"
] | null | null | null | class Matrix:
def __init__(self, *args, **kwargs):
if len(args) > 0:
if isinstance(args[0], Matrix):
m = args[0].copy()
else:
m = {'vals': [], 'w': 0, 'h': 0}
self.vals = m.vals
self.w = m.w
self.h = m.h
def copy(self):
new_m = Matrix()
for i in self.vals:
new... | 20.387879 | 85 | 0.539834 | 590 | 3,364 | 2.99322 | 0.138983 | 0.096263 | 0.062288 | 0.04983 | 0.291053 | 0.196489 | 0.07701 | 0.057758 | 0.026048 | 0 | 0 | 0.018821 | 0.289239 | 3,364 | 165 | 86 | 20.387879 | 0.719783 | 0.004162 | 0 | 0.123894 | 0 | 0 | 0.006567 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.221239 | false | 0 | 0 | 0.097345 | 0.39823 | 0.00885 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
50c56adea292b74626a61eaf3d83a89bb7ff7530 | 477 | py | Python | bin/best_model_inference.py | jingxuanyang/Shopee-Product-Matching | 703087a6bbb87340766bee5ccd38a7ffbdab0b06 | [
"MIT"
] | 13 | 2021-05-28T12:49:03.000Z | 2022-03-15T19:38:03.000Z | bin/best_model_inference.py | jingxuanyang/Shopee-Product-Matching | 703087a6bbb87340766bee5ccd38a7ffbdab0b06 | [
"MIT"
] | 2 | 2021-12-20T08:36:08.000Z | 2021-12-21T12:44:56.000Z | bin/best_model_inference.py | jingxuanyang/Shopee-Product-Matching | 703087a6bbb87340766bee5ccd38a7ffbdab0b06 | [
"MIT"
] | 4 | 2021-07-31T14:54:48.000Z | 2021-12-16T14:27:18.000Z | import sys
sys.path.insert(0,'../input/shopee-competition-utils')
from config import CFG
from run_test import run_bert_test
# choose which cuda to load model on
CFG.DEVICE = 'cuda:0'
CFG.BATCH_SIZE = 16
# choose which model with what hyperparameters to use
CFG.BERT_MODEL_NAME = CFG.BERT_MODEL_NAMES[3]
CFG.MARGIN = C... | 26.5 | 102 | 0.771488 | 82 | 477 | 4.268293 | 0.52439 | 0.08 | 0.102857 | 0.091429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028235 | 0.109015 | 477 | 17 | 103 | 28.058824 | 0.795294 | 0.213836 | 0 | 0 | 0 | 0 | 0.312668 | 0.293801 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.3 | 0 | 0.3 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
50c73858f8a74f5ca1d3a736a653722851e8f80a | 5,073 | py | Python | taw/sshlike.py | mkasa/taw | 9447d27133a9f2d8a0bc162347757702ccb17b30 | [
"MIT"
] | 3 | 2017-12-17T02:11:50.000Z | 2019-11-21T10:30:16.000Z | taw/sshlike.py | mkasa/taw | 9447d27133a9f2d8a0bc162347757702ccb17b30 | [
"MIT"
] | null | null | null | taw/sshlike.py | mkasa/taw | 9447d27133a9f2d8a0bc162347757702ccb17b30 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
from __future__ import print_function
from __future__ import absolute_import
import os, click
import subprocess
from taw.util import *
from taw.taw import *
# commands/subcommands
# ==============
# SSH COMMAND
# ==============
@taw.command("ssh")
@click.argument('hostname', metavar='<host n... | 39.325581 | 149 | 0.651883 | 717 | 5,073 | 4.396095 | 0.211994 | 0.033312 | 0.041878 | 0.036485 | 0.448604 | 0.373731 | 0.319162 | 0.319162 | 0.246193 | 0.246193 | 0 | 0.005732 | 0.17465 | 5,073 | 128 | 150 | 39.632813 | 0.747074 | 0.100335 | 0 | 0.26087 | 0 | 0 | 0.163012 | 0 | 0 | 0 | 0 | 0.007813 | 0 | 1 | 0.054348 | false | 0.065217 | 0.065217 | 0 | 0.130435 | 0.043478 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 |
50cbe8a94d473d3e33b7a5ec8ea64da72b93d6fe | 786 | py | Python | 058-bmp-stegano/taski_zrodla/mapofbits/level0/testlevel0.py | gynvael/stream | 2d1a3f25b2f83241b39dab931d9ff03fca81d26e | [
"MIT"
] | 152 | 2016-02-04T10:40:46.000Z | 2022-03-03T18:25:54.000Z | 058-bmp-stegano/taski_zrodla/mapofbits/level0/testlevel0.py | gynvael/stream | 2d1a3f25b2f83241b39dab931d9ff03fca81d26e | [
"MIT"
] | 4 | 2016-03-11T23:49:46.000Z | 2017-06-16T18:58:53.000Z | 058-bmp-stegano/taski_zrodla/mapofbits/level0/testlevel0.py | gynvael/stream | 2d1a3f25b2f83241b39dab931d9ff03fca81d26e | [
"MIT"
] | 48 | 2016-01-31T19:13:36.000Z | 2021-09-03T19:50:17.000Z | #!/usr/bin/python
import os, sys
from struct import pack, unpack
PATH = os.path.dirname(os.path.realpath(__file__))
sys.path.append(PATH)
import settings
def rb(d, off):
return d[off]
def rw(d, off):
return unpack("<H", str(d[off:off+2]))[0]
def rd(d, off):
return unpack("<I", str(d[off:off+4])... | 16.723404 | 51 | 0.561069 | 135 | 786 | 3.185185 | 0.414815 | 0.055814 | 0.069767 | 0.074419 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034722 | 0.267176 | 786 | 46 | 52 | 17.086957 | 0.711806 | 0.033079 | 0 | 0.125 | 0 | 0 | 0.057665 | 0 | 0 | 0 | 0.005626 | 0 | 0 | 0 | null | null | 0 | 0.09375 | null | null | 0.0625 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
50d1b0b60755db3f7a000f910d7405ad9e294d33 | 348 | py | Python | news/urls.py | m3brown/collab-news | b4bde7e51a6036f0f482a4710e657e74438abd87 | [
"CC0-1.0"
] | 3 | 2015-07-11T17:52:05.000Z | 2019-02-25T21:44:40.000Z | news/urls.py | m3brown/collab-news | b4bde7e51a6036f0f482a4710e657e74438abd87 | [
"CC0-1.0"
] | 6 | 2015-06-05T20:41:48.000Z | 2020-05-14T19:24:37.000Z | news/urls.py | m3brown/collab-news | b4bde7e51a6036f0f482a4710e657e74438abd87 | [
"CC0-1.0"
] | 8 | 2015-05-08T16:51:52.000Z | 2021-02-20T10:38:10.000Z | from django.conf.urls import patterns, url
urlpatterns = patterns('news.views',
url(r'^$', 'news_list', name='list'),
url(r'^feed/(?P<slug>.*)/$',
'news_list', name='feed'),
url(r'^(?P<slug>.*)/$', 'news_item', name='item'... | 34.8 | 73 | 0.402299 | 34 | 348 | 4.029412 | 0.5 | 0.087591 | 0.175182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.399425 | 348 | 9 | 74 | 38.666667 | 0.655502 | 0 | 0 | 0 | 0 | 0 | 0.247126 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
50d3ffd7e23a0e719a31023c8c01c3854042f041 | 400 | py | Python | python-backend/app/api/search/namespace/search.py | ActionAnalytics/mds | 7ac61b0b73b1d310db7dcf2d830b5746b851fe4a | [
"Apache-2.0"
] | null | null | null | python-backend/app/api/search/namespace/search.py | ActionAnalytics/mds | 7ac61b0b73b1d310db7dcf2d830b5746b851fe4a | [
"Apache-2.0"
] | null | null | null | python-backend/app/api/search/namespace/search.py | ActionAnalytics/mds | 7ac61b0b73b1d310db7dcf2d830b5746b851fe4a | [
"Apache-2.0"
] | 1 | 2020-01-22T14:19:16.000Z | 2020-01-22T14:19:16.000Z | from flask_restplus import Namespace
from ..search.resources.search import SearchResource, SearchOptionsResource
from app.api.search.search.resources.simple_search import SimpleSearchResource
api = Namespace('search', description='Search related operations')
api.add_resource(SearchResource, '')
api.add_resource(Sear... | 40 | 78 | 0.835 | 43 | 400 | 7.651163 | 0.44186 | 0.054711 | 0.12766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0675 | 400 | 10 | 79 | 40 | 0.882038 | 0 | 0 | 0 | 0 | 0 | 0.114713 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.428571 | 0 | 0.428571 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 |
50d9e2284e83f4fe45f85ba2c1d71d94ae051052 | 369 | py | Python | jcasts/podcasts/migrations/0098_remove_podcast_podcastindex.py | danjac/jcasts | 04f5ef1f536d51962c0433d092817c0153acb6af | [
"MIT"
] | 13 | 2021-09-17T07:41:00.000Z | 2022-02-10T10:00:48.000Z | jcasts/podcasts/migrations/0098_remove_podcast_podcastindex.py | danjac/jcasts | 04f5ef1f536d51962c0433d092817c0153acb6af | [
"MIT"
] | 167 | 2021-07-17T09:41:38.000Z | 2021-08-31T06:03:34.000Z | jcasts/podcasts/migrations/0098_remove_podcast_podcastindex.py | danjac/jcasts | 04f5ef1f536d51962c0433d092817c0153acb6af | [
"MIT"
] | null | null | null | # Generated by Django 3.2.9 on 2021-11-18 11:12
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
("podcasts", "0097_rename_schedule_modifier_podcast_frequency_modifier"),
]
operations = [
migrations.RemoveField(
model_name="podcast",
... | 20.5 | 81 | 0.636856 | 38 | 369 | 6 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069853 | 0.262873 | 369 | 17 | 82 | 21.705882 | 0.768382 | 0.121951 | 0 | 0 | 1 | 0 | 0.257764 | 0.173913 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.090909 | 0 | 0.363636 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
50e04e3a85c3ef60b935eb9d95b8a79da94fc1f3 | 11,467 | py | Python | src/alertas/alerta_prcr.py | MinisterioPublicoRJ/Alertas | e8fc3558031bc95e952065d6aede40017511c9b9 | [
"MIT"
] | 2 | 2020-01-17T19:09:09.000Z | 2020-04-29T14:23:42.000Z | src/alertas/alerta_prcr.py | MinisterioPublicoRJ/Alertas | e8fc3558031bc95e952065d6aede40017511c9b9 | [
"MIT"
] | 4 | 2020-09-30T03:26:49.000Z | 2021-09-09T20:26:32.000Z | src/alertas/alerta_prcr.py | MinisterioPublicoRJ/Alertas | e8fc3558031bc95e952065d6aede40017511c9b9 | [
"MIT"
] | null | null | null | #-*-coding:utf-8-*-
from pyspark.sql.types import IntegerType, TimestampType
from pyspark.sql.functions import *
from base import spark
from utils import uuidsha
columns = [
col('docu_dk').alias('alrt_docu_dk'),
col('docu_nr_mp').alias('alrt_docu_nr_mp'),
col('docu_orgi_orga_dk_responsavel').alias('alrt_... | 45.868 | 143 | 0.637045 | 1,526 | 11,467 | 4.484928 | 0.205767 | 0.025424 | 0.014027 | 0.013881 | 0.206166 | 0.086353 | 0.055669 | 0.047487 | 0.028492 | 0.011981 | 0 | 0.025428 | 0.296939 | 11,467 | 249 | 144 | 46.052209 | 0.823493 | 0.099939 | 0 | 0.148837 | 0 | 0.027907 | 0.819117 | 0.134595 | 0 | 0 | 0 | 0 | 0 | 1 | 0.004651 | false | 0 | 0.018605 | 0 | 0.027907 | 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 |
50e99b89ecebcb18d584c2f51ff739af3985baa7 | 1,770 | py | Python | noggin/security/ipa_admin.py | mohanboddu/noggin | 933d97b1c06db3f37acfeb86c32b45171f4e80b0 | [
"MIT"
] | null | null | null | noggin/security/ipa_admin.py | mohanboddu/noggin | 933d97b1c06db3f37acfeb86c32b45171f4e80b0 | [
"MIT"
] | null | null | null | noggin/security/ipa_admin.py | mohanboddu/noggin | 933d97b1c06db3f37acfeb86c32b45171f4e80b0 | [
"MIT"
] | null | null | null | import random
from functools import wraps
from .ipa import Client
class IPAAdmin(object):
__WRAPPED_METHODS = ("user_add", "user_show", "user_mod", "group_add_member")
__WRAPPED_METHODS_TESTING = (
"user_del",
"group_add",
"group_del",
"group_add_member_manager",
"pwp... | 31.607143 | 81 | 0.628814 | 197 | 1,770 | 5.15736 | 0.345178 | 0.096457 | 0.094488 | 0.082677 | 0.114173 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.263842 | 1,770 | 55 | 82 | 32.181818 | 0.779739 | 0.039548 | 0 | 0 | 0 | 0 | 0.15684 | 0.040094 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0.066667 | 0.066667 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 |
50ea15b01476a9eedfb1e4144d0958acf0424a73 | 3,857 | py | Python | LEO_calc_coating_from_meas_scat_amp_and_write_to_db.py | annahs/atmos_research | b5853c9b12e327492f8f8ba5069bca3fd2e981c8 | [
"MIT"
] | 2 | 2018-08-17T15:25:26.000Z | 2019-04-17T16:50:00.000Z | LEO_calc_coating_from_meas_scat_amp_and_write_to_db.py | annahs/atmos_research | b5853c9b12e327492f8f8ba5069bca3fd2e981c8 | [
"MIT"
] | null | null | null | LEO_calc_coating_from_meas_scat_amp_and_write_to_db.py | annahs/atmos_research | b5853c9b12e327492f8f8ba5069bca3fd2e981c8 | [
"MIT"
] | null | null | null | import sys
import os
import datetime
import pickle
import numpy as np
import matplotlib.pyplot as plt
from pprint import pprint
import sqlite3
import calendar
from datetime import datetime
#id INTEGER PRIMARY KEY AUTOINCREMENT,
#sp2b_file TEXT,
#file_index INT,
#instr TEXT,
#instr_locn TEXT,
#particle_type TEXT,
#... | 30.370079 | 207 | 0.767695 | 634 | 3,857 | 4.386435 | 0.324921 | 0.027688 | 0.032362 | 0.012945 | 0.117224 | 0.04315 | 0.021575 | 0 | 0 | 0 | 0 | 0.040084 | 0.133264 | 3,857 | 126 | 208 | 30.611111 | 0.791804 | 0.25875 | 0 | 0.026316 | 0 | 0.013158 | 0.202052 | 0.061925 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.131579 | null | null | 0.039474 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 |
50f35d1d6e3e98fcee07801230ef4476f60de4a6 | 1,264 | py | Python | helper/degree_ratio.py | raindroid/GoldMiner-Verilog | 672760b151bfaa31b52d172c2f36bf483f4ebf6c | [
"MIT"
] | 2 | 2019-05-13T15:25:48.000Z | 2019-05-13T15:28:08.000Z | helper/degree_ratio.py | raindroid/GoldMiner-Verilog | 672760b151bfaa31b52d172c2f36bf483f4ebf6c | [
"MIT"
] | null | null | null | helper/degree_ratio.py | raindroid/GoldMiner-Verilog | 672760b151bfaa31b52d172c2f36bf483f4ebf6c | [
"MIT"
] | null | null | null | from math import *
if __name__ == "__main__":
print("""
//To access data (signX[degree/2] ? -1 : 1) * absX[degree / 2 * 10 + 9 : degree / 2 * 10] / 100
module trigonometry(
input clock, enable,
output [1799: 0] absX, absY,
output [179:0] signX, signY
);
wire [1799: 0] rx, ry;
wire [180:0] rsx, rsy;
a... | 30.095238 | 107 | 0.506329 | 229 | 1,264 | 2.759825 | 0.327511 | 0.018987 | 0.056962 | 0.052215 | 0.283228 | 0.283228 | 0.283228 | 0.283228 | 0.208861 | 0.208861 | 0 | 0.12961 | 0.249209 | 1,264 | 41 | 108 | 30.829268 | 0.536354 | 0.071203 | 0 | 0.1875 | 0 | 0.09375 | 0.643345 | 0.042662 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.03125 | 0 | 0.03125 | 0.1875 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
50f5c8b6c78d39182c2bdb2f9cada7ab4d6652ea | 3,101 | py | Python | utils/parse_rose_total.py | JMB-McFarlane/SLICE | e3cbcc0058975e6562c0e10cbb1a4b11376fa28b | [
"MIT"
] | null | null | null | utils/parse_rose_total.py | JMB-McFarlane/SLICE | e3cbcc0058975e6562c0e10cbb1a4b11376fa28b | [
"MIT"
] | null | null | null | utils/parse_rose_total.py | JMB-McFarlane/SLICE | e3cbcc0058975e6562c0e10cbb1a4b11376fa28b | [
"MIT"
] | null | null | null | import subprocess
import os
import random
import math
scores = []
frame = []
workingdir = str(os.getcwd())
for file in os.listdir(workingdir):
mod = -1
if os.path.isdir(file) == True:
subdir = workingdir +'/'+ file + "/PROD/"
print subdir
os.popen("cd " + subdir)
subprocess.cal... | 32.989362 | 117 | 0.482103 | 360 | 3,101 | 4.102778 | 0.291667 | 0.044685 | 0.024374 | 0.014895 | 0.078538 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017276 | 0.365366 | 3,101 | 93 | 118 | 33.344086 | 0.733232 | 0.057078 | 0 | 0.08 | 0 | 0 | 0.09478 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.053333 | null | null | 0.04 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
50f8d716e251293380ed853e33f52e4ce2ce2f23 | 596 | py | Python | 2_conditional_experiments/03_baseline_with_labels/fid_graph.py | Florian-Barthel/stylegan2 | 4ef87038bf9370596cf2b729e1d1a1bc3ebcddd8 | [
"BSD-Source-Code"
] | null | null | null | 2_conditional_experiments/03_baseline_with_labels/fid_graph.py | Florian-Barthel/stylegan2 | 4ef87038bf9370596cf2b729e1d1a1bc3ebcddd8 | [
"BSD-Source-Code"
] | null | null | null | 2_conditional_experiments/03_baseline_with_labels/fid_graph.py | Florian-Barthel/stylegan2 | 4ef87038bf9370596cf2b729e1d1a1bc3ebcddd8 | [
"BSD-Source-Code"
] | null | null | null | from graphs.fid_graph import plot_multiple_runs
plot_multiple_runs(
run_paths=[
'./../results/00184-stylegan2-car_images_512-2gpu-baseline_without_labels',
'./../results/00121-stylegan2-cars_v5_512-2gpu-baseline'
],
descriptions=[
'Baseline without Labels',
'Baseline with L... | 27.090909 | 83 | 0.681208 | 76 | 596 | 5.078947 | 0.631579 | 0.134715 | 0.082902 | 0.11399 | 0.145078 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057082 | 0.206376 | 596 | 21 | 84 | 28.380952 | 0.758985 | 0 | 0 | 0.105263 | 0 | 0 | 0.508389 | 0.271812 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.052632 | 0 | 0.052632 | 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 |
50fdc4a78869d937da240cc778e029cd2f43fda5 | 2,067 | py | Python | generate.py | priyavrat-misra/scifi-lorem | a69e9e4eec0b1755d151d9f906d64cc7cf3ef123 | [
"MIT"
] | null | null | null | generate.py | priyavrat-misra/scifi-lorem | a69e9e4eec0b1755d151d9f906d64cc7cf3ef123 | [
"MIT"
] | null | null | null | generate.py | priyavrat-misra/scifi-lorem | a69e9e4eec0b1755d151d9f906d64cc7cf3ef123 | [
"MIT"
] | null | null | null | import torch
import argparse
import pyperclip
from network import CharRNN
from infer_utils import sample
parser = argparse.ArgumentParser(
prog='SciFi Lorem',
description='generate random *meaningful* sci-fi text'
)
parser.add_argument('-S', '--save_path', type=str, metavar='',
help='saves... | 32.296875 | 75 | 0.593614 | 262 | 2,067 | 4.572519 | 0.435115 | 0.045075 | 0.085142 | 0.03005 | 0.050083 | 0.050083 | 0.050083 | 0 | 0 | 0 | 0 | 0.007782 | 0.253991 | 2,067 | 63 | 76 | 32.809524 | 0.769131 | 0 | 0 | 0 | 1 | 0 | 0.258345 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.02 | false | 0 | 0.1 | 0 | 0.12 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
0f96f6682e70710be7472a8cae62aae8a366ab5d | 1,610 | py | Python | websocketpp/conanfile.py | kapilsh/conan-scripts | 31c55397a2d721c80da5dbd6a6c738accfdbb241 | [
"MIT"
] | null | null | null | websocketpp/conanfile.py | kapilsh/conan-scripts | 31c55397a2d721c80da5dbd6a6c738accfdbb241 | [
"MIT"
] | null | null | null | websocketpp/conanfile.py | kapilsh/conan-scripts | 31c55397a2d721c80da5dbd6a6c738accfdbb241 | [
"MIT"
] | null | null | null | from conans import ConanFile, CMake
from conans.tools import unzip, download
import os
import shutil
class WebsocketppConan(ConanFile):
name = "websocketpp"
boost_version = "1.68.0"
openssl_version = "1.1.1"
zlib_version = "1.2.11"
with open(os.path.join(os.path.dirname(os.path.realpath(
... | 31.568627 | 76 | 0.650932 | 194 | 1,610 | 5.262887 | 0.474227 | 0.03428 | 0.041136 | 0.033301 | 0.06856 | 0.06856 | 0 | 0 | 0 | 0 | 0 | 0.008607 | 0.206211 | 1,610 | 50 | 77 | 32.2 | 0.790297 | 0 | 0 | 0 | 0 | 0 | 0.280124 | 0.064596 | 0 | 0 | 0 | 0 | 0 | 1 | 0.102564 | false | 0.025641 | 0.102564 | 0 | 0.538462 | 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 |
0f992714a1f743f0a5e7c62857598cd26468c9af | 5,622 | py | Python | mtp_noms_ops/urls.py | ministryofjustice/money-to-prisoners-noms-ops | b01e5260f57b5aad553c7107ac423e915454093b | [
"MIT"
] | 3 | 2016-12-22T15:56:57.000Z | 2020-03-10T10:37:40.000Z | mtp_noms_ops/urls.py | ministryofjustice/money-to-prisoners-noms-ops | b01e5260f57b5aad553c7107ac423e915454093b | [
"MIT"
] | 61 | 2016-06-10T08:37:23.000Z | 2022-01-28T12:41:29.000Z | mtp_noms_ops/urls.py | ministryofjustice/money-to-prisoners-noms-ops | b01e5260f57b5aad553c7107ac423e915454093b | [
"MIT"
] | 1 | 2021-04-11T06:13:53.000Z | 2021-04-11T06:13:53.000Z | from django.conf import settings
from django.conf.urls import include, url
from django.conf.urls.i18n import i18n_patterns
from django.http import HttpResponse
from django.shortcuts import redirect
from django.template.response import TemplateResponse
from django.urls import reverse, reverse_lazy
from django.utils.tran... | 42.270677 | 113 | 0.699573 | 712 | 5,622 | 5.282303 | 0.25 | 0.029779 | 0.024196 | 0.031906 | 0.240096 | 0.215634 | 0.198617 | 0.143579 | 0.114331 | 0.089338 | 0 | 0.009346 | 0.162576 | 5,622 | 132 | 114 | 42.590909 | 0.789507 | 0.048381 | 0 | 0.1875 | 0 | 0 | 0.298653 | 0.125749 | 0 | 0 | 0 | 0 | 0 | 1 | 0.017857 | false | 0.142857 | 0.169643 | 0.008929 | 0.214286 | 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 |
0f9c8af65fccd5fb0c491477e7af2fb01f55d0e9 | 2,840 | py | Python | emulator/utils/helpers.py | Harry45/emuPK | c5cd8a4ab7ef593b196ee58d9df5d826d444a2b9 | [
"MIT"
] | 2 | 2021-05-10T16:59:34.000Z | 2021-05-19T16:10:24.000Z | emulator/utils/helpers.py | Harry45/emuPK | c5cd8a4ab7ef593b196ee58d9df5d826d444a2b9 | [
"MIT"
] | null | null | null | emulator/utils/helpers.py | Harry45/emuPK | c5cd8a4ab7ef593b196ee58d9df5d826d444a2b9 | [
"MIT"
] | 2 | 2021-04-16T23:55:16.000Z | 2021-09-09T12:48:41.000Z | # Author: (Dr to be) Arrykrishna Mootoovaloo
# Collaborators: Prof. Alan Heavens, Prof. Andrew Jaffe, Dr. Florent Leclercq
# Email : a.mootoovaloo17@imperial.ac.uk
# Affiliation : Imperial Centre for Inference and Cosmology
# Status : Under Development
'''
Important functions to store/load files in a compressed format... | 26.296296 | 87 | 0.66162 | 430 | 2,840 | 4.265116 | 0.244186 | 0.141767 | 0.076336 | 0.098146 | 0.514177 | 0.474918 | 0.450927 | 0.40458 | 0.384406 | 0.364231 | 0 | 0.001388 | 0.238732 | 2,840 | 107 | 88 | 26.542056 | 0.846901 | 0.586972 | 0 | 0.26087 | 0 | 0 | 0.034826 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.217391 | false | 0 | 0.130435 | 0 | 0.434783 | 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 |
0fa0e98be5b6213d9acb0cede22fcd1bab8ced6c | 2,569 | py | Python | galaxy_common/models/namespace.py | alikins/galaxy-common-deprecated | 8874a4055b66b4faaa3bcbaf3b3cf1e6d84bd097 | [
"Apache-2.0"
] | null | null | null | galaxy_common/models/namespace.py | alikins/galaxy-common-deprecated | 8874a4055b66b4faaa3bcbaf3b3cf1e6d84bd097 | [
"Apache-2.0"
] | 7 | 2019-12-04T23:42:45.000Z | 2021-06-09T18:05:31.000Z | galaxy_common/models/namespace.py | alikins/galaxy-common-deprecated | 8874a4055b66b4faaa3bcbaf3b3cf1e6d84bd097 | [
"Apache-2.0"
] | null | null | null | # (c) 2012-2019, Ansible by Red Hat
#
# This file is part of Ansible Galaxy
#
# Ansible Galaxy is free software: you can redistribute it and/or modify
# it under the terms of the Apache License as published by
# the Apache Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
... | 27.042105 | 74 | 0.651226 | 324 | 2,569 | 5.052469 | 0.478395 | 0.045816 | 0.054979 | 0.073305 | 0.171655 | 0.171655 | 0.171655 | 0.171655 | 0.171655 | 0.171655 | 0 | 0.014173 | 0.258466 | 2,569 | 94 | 75 | 27.329787 | 0.845144 | 0.400156 | 0 | 0.283019 | 0 | 0 | 0.091212 | 0.015313 | 0 | 0 | 0 | 0.010638 | 0 | 1 | 0.056604 | false | 0 | 0.09434 | 0.037736 | 0.377358 | 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 |
0fa9ad534140f41920bb6d1731b12db8efc2d4ee | 460 | py | Python | main.py | richard-ma/spider-base-selenium | 6a6419c5789946857ee9c90f1753a9a791f7ce02 | [
"MIT"
] | null | null | null | main.py | richard-ma/spider-base-selenium | 6a6419c5789946857ee9c90f1753a9a791f7ce02 | [
"MIT"
] | null | null | null | main.py | richard-ma/spider-base-selenium | 6a6419c5789946857ee9c90f1753a9a791f7ce02 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
import spider_base_selenium
class MySpider(spider_base_selenium.Spider):
def __init__(self):
self.urls = [
'http://www.baidu.com',
'http://www.bing.com',
'http://www.weibo.com',
]
def parse(self, response):
print(response.get_r... | 24.210526 | 44 | 0.613043 | 55 | 460 | 4.745455 | 0.563636 | 0.114943 | 0.206897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.245652 | 460 | 19 | 45 | 24.210526 | 0.752161 | 0.043478 | 0 | 0 | 0 | 0 | 0.152273 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.071429 | 0 | 0.285714 | 0.071429 | 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 |
0faa0fa594cf617818cb3c33a9e1e30fce861103 | 1,541 | py | Python | prototype.py | Jhko725/ProteinStructureReconstruction.jl | 18ec2f5a63e3c07d4498da363a8befc86e7ad68c | [
"MIT"
] | null | null | null | prototype.py | Jhko725/ProteinStructureReconstruction.jl | 18ec2f5a63e3c07d4498da363a8befc86e7ad68c | [
"MIT"
] | null | null | null | prototype.py | Jhko725/ProteinStructureReconstruction.jl | 18ec2f5a63e3c07d4498da363a8befc86e7ad68c | [
"MIT"
] | null | null | null | #%%
import numpy as np
import matplotlib.pyplot as plt
%matplotlib inline
from skimage.io import imread
from skimage.color import rgb2gray
images = list(map(lambda x: np.float32(rgb2gray(imread(x))), ['./Data/SR2_desmin_image.jpg', './Data/SR3_actin_image.jpg']))
#%%
fig, ax = plt.subplots(1, 1, figsize = (7, 5))
ax.h... | 25.683333 | 124 | 0.653472 | 244 | 1,541 | 4.081967 | 0.409836 | 0.042169 | 0.032129 | 0.064257 | 0.114458 | 0.114458 | 0.114458 | 0.114458 | 0.114458 | 0.087349 | 0 | 0.077853 | 0.141467 | 1,541 | 59 | 125 | 26.118644 | 0.674981 | 0.065542 | 0 | 0.117647 | 0 | 0 | 0.043601 | 0.037271 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.205882 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
0fb09b3b7d4f2f07704baeb3cbc494ddd4fa99e7 | 1,442 | py | Python | django_project/autodidacticism/blog/migrations/0002_papermodel.py | MatthewTe/django_postings_project | b144f10000d7aead965254562b535313203ac177 | [
"MIT"
] | null | null | null | django_project/autodidacticism/blog/migrations/0002_papermodel.py | MatthewTe/django_postings_project | b144f10000d7aead965254562b535313203ac177 | [
"MIT"
] | null | null | null | django_project/autodidacticism/blog/migrations/0002_papermodel.py | MatthewTe/django_postings_project | b144f10000d7aead965254562b535313203ac177 | [
"MIT"
] | null | null | null | # Generated by Django 3.1.4 on 2020-12-23 20:39
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('blog', '0001_initial'),
]
operations = [
migrations.CreateModel(
name='PaperModel',
fields=[
('id', ... | 46.516129 | 291 | 0.613037 | 144 | 1,442 | 5.944444 | 0.506944 | 0.102804 | 0.063084 | 0.084112 | 0.063084 | 0.063084 | 0 | 0 | 0 | 0 | 0 | 0.02646 | 0.239945 | 1,442 | 30 | 292 | 48.066667 | 0.754562 | 0.031207 | 0 | 0 | 1 | 0 | 0.269534 | 0.015054 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.041667 | 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 |
0fb1b5cf902317b5ac0b961b8db4b015f0ebecc2 | 590 | py | Python | init_db.py | nccr-itmo/FEDOT.Web | 9b6f7b66de277ea34d6d5ed621b99a3f938db61b | [
"BSD-3-Clause"
] | 23 | 2020-12-24T11:05:01.000Z | 2022-03-31T20:29:12.000Z | init_db.py | nccr-itmo/FEDOT.Web | 9b6f7b66de277ea34d6d5ed621b99a3f938db61b | [
"BSD-3-Clause"
] | 42 | 2021-01-11T09:38:31.000Z | 2022-03-25T17:19:05.000Z | init_db.py | nccr-itmo/FEDOT.Web | 9b6f7b66de277ea34d6d5ed621b99a3f938db61b | [
"BSD-3-Clause"
] | 5 | 2021-03-31T04:38:31.000Z | 2022-03-31T20:29:26.000Z | import os
import pymongo
from dotenv import load_dotenv
from app.singletons.db_service import DBServiceSingleton
from init.init_cases import create_default_cases
from init.init_history import create_default_history
from init.init_pipelines import create_default_pipelines
if __name__ == "__main__":
load_dotenv("m... | 28.095238 | 56 | 0.794915 | 77 | 590 | 5.675325 | 0.38961 | 0.17849 | 0.08238 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138983 | 590 | 20 | 57 | 29.5 | 0.860236 | 0 | 0 | 0 | 0 | 0 | 0.077966 | 0.035593 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.411765 | 0 | 0.411765 | 0.058824 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
0fbbcb02862b03b3f976515f3bb900039e331ab5 | 480 | py | Python | main/migrations/0003_auto_20190525_0929.py | MenacingDwarf/HackGatchina | 35333d235274f5efb910afb2895ab7390c800b26 | [
"MIT"
] | 1 | 2019-05-26T15:23:12.000Z | 2019-05-26T15:23:12.000Z | main/migrations/0003_auto_20190525_0929.py | MenacingDwarf/HackGatchina | 35333d235274f5efb910afb2895ab7390c800b26 | [
"MIT"
] | 16 | 2019-05-25T10:45:55.000Z | 2022-02-26T11:02:52.000Z | main/migrations/0003_auto_20190525_0929.py | MenacingDwarf/HackGatchina | 35333d235274f5efb910afb2895ab7390c800b26 | [
"MIT"
] | 2 | 2019-05-26T15:23:21.000Z | 2019-05-30T13:13:29.000Z | # Generated by Django 2.2.1 on 2019-05-25 09:29
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('main', '0002_auto_20190525_0922'),
]
operations = [
migrations.AlterField(
model_name='sight',
name='categories',
... | 25.263158 | 144 | 0.589583 | 54 | 480 | 5.166667 | 0.759259 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106742 | 0.258333 | 480 | 18 | 145 | 26.666667 | 0.676966 | 0.09375 | 0 | 0 | 1 | 0 | 0.212471 | 0.053118 | 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 |
0fbd411b06ad477b11f44b19f8c26f2aff0a50ed | 479 | py | Python | personal/urls.py | KellenNjoroge/keller-gallery | ee9ad8c9285af8ff06dda4e75d41fe023db1ee8c | [
"MIT"
] | null | null | null | personal/urls.py | KellenNjoroge/keller-gallery | ee9ad8c9285af8ff06dda4e75d41fe023db1ee8c | [
"MIT"
] | null | null | null | personal/urls.py | KellenNjoroge/keller-gallery | ee9ad8c9285af8ff06dda4e75d41fe023db1ee8c | [
"MIT"
] | null | null | null | from django.conf.urls import url
from . import views
from django.conf import settings
from django.conf.urls.static import static
urlpatterns = [
url('^$',views.index,name='index'),
url('^image/',views.single_image,name='single_image'),
url('^location/',views.images_by_location,name='location'),
url('^c... | 31.933333 | 81 | 0.734864 | 64 | 479 | 5.359375 | 0.359375 | 0.087464 | 0.122449 | 0.104956 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114823 | 479 | 14 | 82 | 34.214286 | 0.808962 | 0 | 0 | 0 | 0 | 0 | 0.129436 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 |
0fbdd066664343fc786eddc03a4911fa709488fa | 753 | py | Python | euler/p35.py | parin2092/cook | 45a28599eaaaf05fb228d23792892a5dbacc6c41 | [
"MIT"
] | null | null | null | euler/p35.py | parin2092/cook | 45a28599eaaaf05fb228d23792892a5dbacc6c41 | [
"MIT"
] | null | null | null | euler/p35.py | parin2092/cook | 45a28599eaaaf05fb228d23792892a5dbacc6c41 | [
"MIT"
] | null | null | null | import math
n = 100
isPrime = [True for i in range(n)]
isPrime[0] = False
isPrime[1] = False
isPrime[2] = True
isPrime[3] = True
def perm(arr,pre,curr):
if len(curr) == 0:
arr.append(pre)
for i in xrange(len(curr)):
perm(arr, pre+curr[i], curr[0:i]+curr[i+1:])
def circPrime(n):
if n < 10:
return True
dig... | 15.367347 | 51 | 0.61089 | 133 | 753 | 3.458647 | 0.345865 | 0.034783 | 0.052174 | 0.078261 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036913 | 0.208499 | 753 | 49 | 52 | 15.367347 | 0.734899 | 0.015936 | 0 | 0.117647 | 0 | 0 | 0.008108 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.029412 | null | null | 0.029412 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 |
0fc5537b410ba73ee14985cc71d1f084ecce4f43 | 18,329 | py | Python | scripts/jointcontroller_host.py | rachelmh/sawyer_rr_bridge | ebae14bba8324914199e1443dc1883601307a0b4 | [
"BSD-2-Clause"
] | null | null | null | scripts/jointcontroller_host.py | rachelmh/sawyer_rr_bridge | ebae14bba8324914199e1443dc1883601307a0b4 | [
"BSD-2-Clause"
] | null | null | null | scripts/jointcontroller_host.py | rachelmh/sawyer_rr_bridge | ebae14bba8324914199e1443dc1883601307a0b4 | [
"BSD-2-Clause"
] | null | null | null | #!/usr/bin/env python
import roslib
roslib.load_manifest('sawyer_rr_bridge')
import rospy
import intera_interface
from std_msgs.msg import Empty
import sys, argparse
import struct
import time
import RobotRaconteur as RR
import thread
import threading
import numpy
from geometry_msgs.msg import (
PoseStamped,
P... | 36.367063 | 91 | 0.535545 | 2,042 | 18,329 | 4.549461 | 0.165524 | 0.038751 | 0.015501 | 0.012917 | 0.349623 | 0.307427 | 0.276964 | 0.192573 | 0.170183 | 0.153606 | 0 | 0.014323 | 0.356266 | 18,329 | 503 | 92 | 36.439364 | 0.773032 | 0.260298 | 0 | 0.170492 | 0 | 0 | 0.114628 | 0.014971 | 0 | 0 | 0 | 0.001988 | 0 | 0 | null | null | 0 | 0.045902 | null | null | 0.039344 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 |
0fc76753368f548a9726456a1edb91251dec167c | 6,338 | py | Python | python-package/entry_meta_pb2.py | openmit/openmit | 01e3262d69d47fbe38bad1ba95c7d1ade110d01e | [
"Apache-2.0"
] | 15 | 2017-06-28T08:39:51.000Z | 2019-03-27T14:08:45.000Z | python-package/entry_meta_pb2.py | openmit/openmit | 01e3262d69d47fbe38bad1ba95c7d1ade110d01e | [
"Apache-2.0"
] | null | null | null | python-package/entry_meta_pb2.py | openmit/openmit | 01e3262d69d47fbe38bad1ba95c7d1ade110d01e | [
"Apache-2.0"
] | 3 | 2017-07-30T08:50:45.000Z | 2017-10-24T14:41:30.000Z | # Generated by the protocol buffer compiler. DO NOT EDIT!
# source: entry_meta.proto
import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _re... | 36.217143 | 563 | 0.75639 | 780 | 6,338 | 5.85 | 0.201282 | 0.036818 | 0.043831 | 0.037475 | 0.548762 | 0.447293 | 0.404997 | 0.404997 | 0.388341 | 0.363138 | 0 | 0.038276 | 0.117861 | 6,338 | 174 | 564 | 36.425287 | 0.777857 | 0.056485 | 0 | 0.560811 | 1 | 0.006757 | 0.20278 | 0.153048 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.040541 | 0 | 0.040541 | 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 |
0fc8beae8e30059009e0c50b404916b6cd6fc22d | 1,012 | py | Python | macro/dumpEvent.py | Plamenna/proba | 517d7e437865c372e538f77d2242c188740f35d9 | [
"BSD-4-Clause"
] | null | null | null | macro/dumpEvent.py | Plamenna/proba | 517d7e437865c372e538f77d2242c188740f35d9 | [
"BSD-4-Clause"
] | null | null | null | macro/dumpEvent.py | Plamenna/proba | 517d7e437865c372e538f77d2242c188740f35d9 | [
"BSD-4-Clause"
] | null | null | null | # example for dumping an MC event
import ROOT,os,sys,getopt
import rootUtils as ut
import shipunit as u
import ShipGeoConfig
ship_geo = ShipGeoConfig.Config().loadpy("$FAIRSHIP/geometry/geometry_config.py")
PDG = ROOT.TDatabasePDG.Instance()
def printMCTrack(n,MCTrack):
mcp = MCTrack[n]
print ' %6i %7i %6.3F %6.... | 33.733333 | 137 | 0.653162 | 155 | 1,012 | 4.251613 | 0.483871 | 0.018209 | 0.030349 | 0.027314 | 0.157815 | 0.157815 | 0.157815 | 0.136571 | 0 | 0 | 0 | 0.022113 | 0.195652 | 1,012 | 29 | 138 | 34.896552 | 0.787469 | 0.030632 | 0 | 0.153846 | 0 | 0.038462 | 0.169561 | 0.037794 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.153846 | null | null | 0.192308 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 |
0fcd74d243b31e92351aa776c164a6289a050ad9 | 2,827 | py | Python | modules/checker_email.py | dark0ghost/async_py_bot | ec79285e5fbf5fc67661025effe596439107f21f | [
"MIT"
] | 24 | 2019-08-30T20:00:07.000Z | 2022-03-20T17:58:21.000Z | modules/checker_email.py | dark0ghost/async_py_bot | ec79285e5fbf5fc67661025effe596439107f21f | [
"MIT"
] | 3 | 2020-02-12T19:48:21.000Z | 2021-03-07T19:24:50.000Z | modules/checker_email.py | dark0ghost/async_py_bot | ec79285e5fbf5fc67661025effe596439107f21f | [
"MIT"
] | 3 | 2021-04-19T18:38:07.000Z | 2022-02-10T07:04:27.000Z | import asyncio
from email.mime.text import MIMEText
from random import random, choice
from aiosmtplib import SMTP
class CheckerEmail:
"""
class for check email
use :
from CheckerMailPy import CheckerEmail
from email.mime.text import MIMEText
async def async_start() ->... | 30.728261 | 112 | 0.553944 | 318 | 2,827 | 4.707547 | 0.22956 | 0.042084 | 0.02672 | 0.022712 | 0.162993 | 0.109552 | 0.068136 | 0.068136 | 0.068136 | 0.068136 | 0 | 0.002706 | 0.346304 | 2,827 | 91 | 113 | 31.065934 | 0.807359 | 0.309515 | 0 | 0.058824 | 0 | 0 | 0.008475 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.147059 | false | 0.058824 | 0.117647 | 0 | 0.323529 | 0.029412 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
0fd29af353339f684a378b1fc0f53cddcc75395e | 25,107 | py | Python | modules/andes-core/perftests/bin/processing/processTests.py | bhathiya/andes | a7cc371cacb32287b1189e83780304fa20207e9b | [
"Apache-2.0"
] | 3 | 2017-08-01T04:41:47.000Z | 2018-04-20T10:12:21.000Z | modules/andes-core/perftests/bin/processing/processTests.py | bhathiya/andes | a7cc371cacb32287b1189e83780304fa20207e9b | [
"Apache-2.0"
] | 183 | 2015-01-12T03:58:20.000Z | 2021-03-05T11:45:20.000Z | modules/andes-core/perftests/bin/processing/processTests.py | bhathiya/andes | a7cc371cacb32287b1189e83780304fa20207e9b | [
"Apache-2.0"
] | 114 | 2015-01-22T05:06:07.000Z | 2022-03-30T03:18:29.000Z | #!/usr/bin/env python
#
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
#... | 29.537647 | 196 | 0.566336 | 2,948 | 25,107 | 4.799864 | 0.192334 | 0.006502 | 0.006148 | 0.008198 | 0.299647 | 0.265442 | 0.25258 | 0.240212 | 0.219223 | 0.208763 | 0 | 0.031233 | 0.321584 | 25,107 | 850 | 197 | 29.537647 | 0.799507 | 0.260923 | 0 | 0.279343 | 0 | 0.011737 | 0.099515 | 0.026992 | 0 | 0 | 0 | 0.001176 | 0 | 0 | null | null | 0 | 0.018779 | null | null | 0.007042 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 |
0fd6809de9285e3b222755a5cb8327bdb63835f7 | 748 | py | Python | Python/bankbalance.py | BlackTimber-Labs/DemoPr | 6495b5307323ce17be5071006f1de90a1120edf4 | [
"MIT"
] | 10 | 2021-10-01T15:11:27.000Z | 2021-10-03T10:41:36.000Z | Python/bankbalance.py | BlackTimber-Labs/DemoPr | 6495b5307323ce17be5071006f1de90a1120edf4 | [
"MIT"
] | 102 | 2021-10-01T14:49:50.000Z | 2021-10-31T17:30:15.000Z | Python/bankbalance.py | BlackTimber-Labs/DemoPr | 6495b5307323ce17be5071006f1de90a1120edf4 | [
"MIT"
] | 88 | 2021-10-01T14:28:10.000Z | 2021-10-31T12:02:42.000Z | class Bank:
def __init__(self,owner,balance):
self.owner=owner
self.balance=balance
def deposit(self,d):
self.balance=d+self.balance
print("amount : {}".format(d))
print("deposit accepted!!")
return self.balance
def withdraw(self,w):
... | 29.92 | 83 | 0.552139 | 81 | 748 | 5 | 0.358025 | 0.271605 | 0.059259 | 0.108642 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.318182 | 748 | 24 | 84 | 31.166667 | 0.794118 | 0 | 0 | 0.1 | 0 | 0 | 0.237968 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0.05 | 0.4 | 0.3 | 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 |
0fd8838114261219d9177369b3c18378d5b05a2d | 1,176 | py | Python | telebot/plugins/sticklol.py | IloveOrbiter/TinyBot | 1b89757859f2c493f8405120b2b8e848e5c6b554 | [
"MIT"
] | null | null | null | telebot/plugins/sticklol.py | IloveOrbiter/TinyBot | 1b89757859f2c493f8405120b2b8e848e5c6b554 | [
"MIT"
] | null | null | null | telebot/plugins/sticklol.py | IloveOrbiter/TinyBot | 1b89757859f2c493f8405120b2b8e848e5c6b554 | [
"MIT"
] | null | null | null | # (c)2020 TeleBot
# You may not use this file without proper authorship and consent from @TeleBotSupport
#
"""
Available command(s)
.sticklol
Generates a. random laughing sticker.
"""
import random
from telethon import functions, types, utils
from telebot.utils import admin_cmd
def choser(cmd, pack, blacklist=None)... | 22.615385 | 86 | 0.567177 | 113 | 1,176 | 5.858407 | 0.60177 | 0.024169 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105402 | 0.354592 | 1,176 | 51 | 87 | 23.058824 | 0.766798 | 0.144558 | 0 | 0.088235 | 1 | 0 | 0.028112 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.029412 | false | 0 | 0.088235 | 0 | 0.117647 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
0fdab29cf9c12e1b575d76ad39410d823478a341 | 911 | py | Python | tests/test_board.py | Renaud11232/pyduinocli | 46d62d07b7bdbb77fd70b9c8e98dc2b980951c40 | [
"MIT"
] | 6 | 2020-01-16T20:02:26.000Z | 2022-03-30T12:58:10.000Z | tests/test_board.py | Renaud11232/pyduinocli | 46d62d07b7bdbb77fd70b9c8e98dc2b980951c40 | [
"MIT"
] | 4 | 2019-09-14T14:35:54.000Z | 2020-02-18T15:14:04.000Z | tests/test_board.py | Renaud11232/pyduinocli | 46d62d07b7bdbb77fd70b9c8e98dc2b980951c40 | [
"MIT"
] | 1 | 2019-11-26T19:43:27.000Z | 2019-11-26T19:43:27.000Z | from . import *
import warnings
class TestBoardCommand(CoreNeedingTest):
def test_attach(self):
warnings.warn("Cannot test attach, it needs special hardware to be connected.")
def test_details(self):
details = self._arduino.board.details("arduino:avr:mega")["result"]
self.assertIsIns... | 29.387097 | 87 | 0.671789 | 108 | 911 | 5.509259 | 0.388889 | 0.058824 | 0.080672 | 0.07395 | 0.228571 | 0.141176 | 0.141176 | 0.141176 | 0.141176 | 0 | 0 | 0 | 0.208562 | 911 | 30 | 88 | 30.366667 | 0.825243 | 0 | 0 | 0 | 0 | 0 | 0.206367 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 1 | 0.238095 | false | 0 | 0.095238 | 0 | 0.380952 | 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 |
0fdc5f4065d448596a4d0303857e1e8ddf6a132d | 4,387 | py | Python | rest_auth/serializers.py | recamshak/django-rest-auth | 3a9e9b646e396b318319f9caa379099f8d5b67c6 | [
"MIT"
] | null | null | null | rest_auth/serializers.py | recamshak/django-rest-auth | 3a9e9b646e396b318319f9caa379099f8d5b67c6 | [
"MIT"
] | null | null | null | rest_auth/serializers.py | recamshak/django-rest-auth | 3a9e9b646e396b318319f9caa379099f8d5b67c6 | [
"MIT"
] | null | null | null | from django.contrib.auth import get_user_model
from django.conf import settings
from django.contrib.auth.forms import PasswordResetForm, SetPasswordForm
try:
from django.utils.http import urlsafe_base64_decode as uid_decoder
except:
# make compatible with django 1.5
from django.utils.http import base36_to_i... | 31.113475 | 97 | 0.681787 | 494 | 4,387 | 5.864372 | 0.285425 | 0.041767 | 0.056955 | 0.059027 | 0.293062 | 0.22368 | 0.197446 | 0.197446 | 0.173973 | 0.173973 | 0 | 0.007109 | 0.230454 | 4,387 | 140 | 98 | 31.335714 | 0.851007 | 0.086164 | 0 | 0.341176 | 0 | 0 | 0.052498 | 0.00558 | 0 | 0 | 0 | 0 | 0 | 1 | 0.094118 | false | 0.235294 | 0.117647 | 0 | 0.470588 | 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 |
0fdfff46248bd8ee29c0de372a1b87beb4e57b2d | 342 | py | Python | func_tests/tests/editorganizationtests/edit_organization_data.py | ICT4H/dcs-web | fb0f53fad4401cfac1c1789ff28b9d5bda40c975 | [
"Apache-2.0"
] | 1 | 2015-11-02T09:11:12.000Z | 2015-11-02T09:11:12.000Z | func_tests/tests/editorganizationtests/edit_organization_data.py | ICT4H/dcs-web | fb0f53fad4401cfac1c1789ff28b9d5bda40c975 | [
"Apache-2.0"
] | null | null | null | func_tests/tests/editorganizationtests/edit_organization_data.py | ICT4H/dcs-web | fb0f53fad4401cfac1c1789ff28b9d5bda40c975 | [
"Apache-2.0"
] | null | null | null | from framework.utils.common_utils import by_css
from testdata.test_data import url
USERNAME = 'username'
PASSWORD = 'password'
VALID_CREDENTIALS = {USERNAME: "tester150411@gmail.com",
PASSWORD: "tester150411"}
DATA_WINNERS_ACCOUNT_PAGE = url("/account/")
ORGANIZATION_SECTOR_DROP_DOWN_LIST = by_cs... | 31.090909 | 63 | 0.75731 | 42 | 342 | 5.857143 | 0.666667 | 0.04065 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040956 | 0.143275 | 342 | 10 | 64 | 34.2 | 0.798635 | 0 | 0 | 0 | 0 | 0 | 0.219298 | 0.064327 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.25 | 0.25 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 |
0fe45f0cbb994b1486aec7381035caf30ae37ea6 | 2,884 | py | Python | dependencies/FontTools/Lib/fontTools/ttLib/tables/_h_d_m_x.py | charlesmchen/typefacet | 8c6db26d0c599ece16f3704696811275120a4044 | [
"Apache-2.0"
] | 21 | 2015-01-16T05:10:02.000Z | 2021-06-11T20:48:15.000Z | dependencies/FontTools/Lib/fontTools/ttLib/tables/_h_d_m_x.py | charlesmchen/typefacet | 8c6db26d0c599ece16f3704696811275120a4044 | [
"Apache-2.0"
] | 1 | 2019-09-09T12:10:27.000Z | 2020-05-22T10:12:14.000Z | dependencies/FontTools/Lib/fontTools/ttLib/tables/_h_d_m_x.py | charlesmchen/typefacet | 8c6db26d0c599ece16f3704696811275120a4044 | [
"Apache-2.0"
] | 2 | 2015-05-03T04:51:08.000Z | 2018-08-24T08:28:53.000Z | import DefaultTable
import sstruct
import string
hdmxHeaderFormat = """
> # big endian!
version: H
numRecords: H
recordSize: l
"""
class table__h_d_m_x(DefaultTable.DefaultTable):
def decompile(self, data, ttFont):
numGlyphs = ttFont['maxp'].numGlyphs
glyphOrder = ttFont.getGlyphOrder()
dummy, data = s... | 28.27451 | 61 | 0.643897 | 363 | 2,884 | 5.101928 | 0.267218 | 0.034557 | 0.019438 | 0.022678 | 0.096112 | 0.096112 | 0.096112 | 0.034557 | 0 | 0 | 0 | 0.009905 | 0.194868 | 2,884 | 101 | 62 | 28.554455 | 0.787683 | 0 | 0 | 0.148936 | 0 | 0 | 0.071106 | 0 | 0 | 0 | 0 | 0 | 0.042553 | 0 | null | null | 0 | 0.042553 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
0fe81d09a705af6c4916fd3bcdd4c2ae067471a2 | 1,633 | py | Python | instance/env_to_config_shim.py | uk-gov-mirror/alphagov.govuk-shielded-vulnerable-people-service | 5b191980dec554155e9d431a514a945072032e7c | [
"MIT"
] | 3 | 2020-08-16T19:36:26.000Z | 2020-10-29T14:35:01.000Z | instance/env_to_config_shim.py | uk-gov-mirror/alphagov.govuk-shielded-vulnerable-people-service | 5b191980dec554155e9d431a514a945072032e7c | [
"MIT"
] | 101 | 2020-09-03T11:10:00.000Z | 2021-10-01T03:03:46.000Z | instance/env_to_config_shim.py | alphagov-mirror/govuk-shielded-vulnerable-people-service | f9cb4ae9046fc402f0878503733a23d42546cc53 | [
"MIT"
] | 6 | 2020-07-28T09:03:20.000Z | 2021-04-10T18:04:56.000Z | import os
ENVIRONMENT = os.environ.get("ENVIRONMENT")
SECRET_KEY = os.environ.get("SECRET_KEY")
ORDNANCE_SURVEY_PLACES_API_KEY = os.environ.get("ORDNANCE_SURVEY_PLACES_API_KEY")
PERMANENT_SESSION_LIFETIME = int(os.environ.get("PERMANENT_SESSION_LIFETIME"))
GA_TRACKING_ID = os.environ.get("GA_TRACKING_ID")
GA_CROSS_DOM... | 44.135135 | 97 | 0.827924 | 260 | 1,633 | 4.715385 | 0.215385 | 0.176183 | 0.23491 | 0.073409 | 0.477162 | 0.261827 | 0.096248 | 0 | 0 | 0 | 0 | 0 | 0.058175 | 1,633 | 36 | 98 | 45.361111 | 0.797139 | 0.015922 | 0 | 0 | 0 | 0 | 0.316708 | 0.238778 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.04 | 0 | 0.04 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
0fef7b954deade59d1884d67291dba0b217bfbed | 16,943 | py | Python | speechdb/views.py | bmverhel/dices | 6ed1de81469616093ec1b4b00a6c88fa94ab84a1 | [
"MIT"
] | null | null | null | speechdb/views.py | bmverhel/dices | 6ed1de81469616093ec1b4b00a6c88fa94ab84a1 | [
"MIT"
] | null | null | null | speechdb/views.py | bmverhel/dices | 6ed1de81469616093ec1b4b00a6c88fa94ab84a1 | [
"MIT"
] | null | null | null | from django.http import HttpResponseRedirect
from django.shortcuts import get_object_or_404, render
from django.urls import reverse
from django.core.paginator import Paginator
from django.db.models import Q, Count, Max
from django.views.generic import ListView, DetailView, TemplateView
from django_filters.views import ... | 32.395793 | 150 | 0.645281 | 1,790 | 16,943 | 5.886592 | 0.120112 | 0.035114 | 0.02923 | 0.028471 | 0.522824 | 0.439689 | 0.368796 | 0.28082 | 0.267059 | 0.25102 | 0 | 0.00063 | 0.250959 | 16,943 | 522 | 151 | 32.457854 | 0.829643 | 0.075902 | 0 | 0.421965 | 0 | 0 | 0.123838 | 0.023204 | 0 | 0 | 0 | 0 | 0 | 1 | 0.046243 | false | 0.00289 | 0.034682 | 0 | 0.566474 | 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 |
0ff339c4ce632053287c15d86729381432bb336a | 373 | py | Python | wpt/websockets/websock_handlers/webkit/unknown-frame-type_wsh.py | gsnedders/presto-testo | a0acfbef13a3f8cae67cc7145216d31b67aa8eb4 | [
"BSD-3-Clause"
] | null | null | null | wpt/websockets/websock_handlers/webkit/unknown-frame-type_wsh.py | gsnedders/presto-testo | a0acfbef13a3f8cae67cc7145216d31b67aa8eb4 | [
"BSD-3-Clause"
] | null | null | null | wpt/websockets/websock_handlers/webkit/unknown-frame-type_wsh.py | gsnedders/presto-testo | a0acfbef13a3f8cae67cc7145216d31b67aa8eb4 | [
"BSD-3-Clause"
] | null | null | null | from mod_pywebsocket import msgutil
def web_socket_do_extra_handshake(request):
pass
def web_socket_transfer_data(request):
for i in range(1, 128):
request.connection.write(chr(i) + str(i) + '\xff')
for i in range(128, 256):
msg = str(i)
request.connection.write(chr(i) + chr(len(ms... | 28.692308 | 62 | 0.66756 | 56 | 373 | 4.285714 | 0.571429 | 0.05 | 0.1 | 0.091667 | 0.216667 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03367 | 0.203753 | 373 | 12 | 63 | 31.083333 | 0.774411 | 0 | 0 | 0 | 0 | 0 | 0.021448 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 |
0ff6b1ba5dd1736aa8a45a01e95badcc67e96691 | 552 | py | Python | setup.py | dew-uff/versioned-prov | cf86ce5cc4d5a072ccbaeee90e201b84690989ce | [
"Unlicense",
"MIT"
] | 1 | 2018-03-26T15:19:37.000Z | 2018-03-26T15:19:37.000Z | setup.py | dew-uff/versioned-prov | cf86ce5cc4d5a072ccbaeee90e201b84690989ce | [
"Unlicense",
"MIT"
] | null | null | null | setup.py | dew-uff/versioned-prov | cf86ce5cc4d5a072ccbaeee90e201b84690989ce | [
"Unlicense",
"MIT"
] | null | null | null | from setuptools import setup
setup(
name='versioned-prov',
version='1.0.0',
description='Versioned-PROV website dependencies',
url='https://github.com/dew-uff/versioned-prov',
author=('Joao Felipe Pimentel, Paolo Missier, '
'Leonardo Murta, Vanessa Braganholo'),
author_email='joaofe... | 25.090909 | 54 | 0.605072 | 67 | 552 | 4.925373 | 0.731343 | 0.118182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044811 | 0.231884 | 552 | 21 | 55 | 26.285714 | 0.733491 | 0 | 0 | 0 | 0 | 0 | 0.491833 | 0.08167 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.052632 | 0 | 0.052632 | 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 |
0ff9cfb7c23c8fd04db3a93fbba72fdffb456222 | 282 | py | Python | task6.py | SimeonHristov99/SQLEveryDay | 837b070c71fd5cf76e5aab07edee77bc8bf6115e | [
"MIT"
] | null | null | null | task6.py | SimeonHristov99/SQLEveryDay | 837b070c71fd5cf76e5aab07edee77bc8bf6115e | [
"MIT"
] | null | null | null | task6.py | SimeonHristov99/SQLEveryDay | 837b070c71fd5cf76e5aab07edee77bc8bf6115e | [
"MIT"
] | null | null | null | import pandas as pd
averages_df = employee.groupby(by='department').mean()[['salary']]
merged_df = pd.merge(employee, averages_df, how='inner',
left_on='department', right_on=averages_df.index)
merged_df[['department', 'first_name', 'salary_x', 'salary_y']]
| 31.333333 | 70 | 0.684397 | 38 | 282 | 4.815789 | 0.631579 | 0.163934 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148936 | 282 | 8 | 71 | 35.25 | 0.7625 | 0 | 0 | 0 | 0 | 0 | 0.237589 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 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 |
0ffe396c451e7633cac37cfccd033a9a8e9df06b | 5,897 | py | Python | blazar/api/v2/controllers/extensions/host.py | takanattie/blazar | 63d94170b59937995247ff8443a3303e5288d304 | [
"Apache-2.0"
] | 24 | 2015-10-18T02:53:07.000Z | 2022-01-04T12:01:07.000Z | blazar/api/v2/controllers/extensions/host.py | takanattie/blazar | 63d94170b59937995247ff8443a3303e5288d304 | [
"Apache-2.0"
] | 19 | 2017-05-23T21:34:09.000Z | 2022-02-21T19:15:29.000Z | blazar/api/v2/controllers/extensions/host.py | takanattie/blazar | 63d94170b59937995247ff8443a3303e5288d304 | [
"Apache-2.0"
] | 22 | 2015-10-30T07:42:40.000Z | 2021-05-31T14:33:38.000Z | # Copyright (c) 2014 Bull.
#
# 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, sof... | 33.316384 | 79 | 0.617772 | 754 | 5,897 | 4.729443 | 0.327586 | 0.014021 | 0.02664 | 0.032249 | 0.15816 | 0.113853 | 0.07207 | 0.061694 | 0.035895 | 0.035895 | 0 | 0.010885 | 0.283364 | 5,897 | 176 | 80 | 33.505682 | 0.832939 | 0.231134 | 0 | 0.102804 | 0 | 0 | 0.126192 | 0 | 0 | 0 | 0 | 0.011364 | 0 | 1 | 0.074766 | false | 0 | 0.102804 | 0.009346 | 0.383178 | 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 |
ba047cd1d6847736c7e5774e0cd2b9d5377f6378 | 20,442 | py | Python | worker/imapsync_dummy.py | dolfim/imap2gsuite-migrate | fdbc10dae845f9c93a4991828266be32722d9054 | [
"MIT"
] | null | null | null | worker/imapsync_dummy.py | dolfim/imap2gsuite-migrate | fdbc10dae845f9c93a4991828266be32722d9054 | [
"MIT"
] | 1 | 2022-02-19T08:13:03.000Z | 2022-02-19T08:13:03.000Z | worker/imapsync_dummy.py | dolfim/imap2gsuite-migrate | fdbc10dae845f9c93a4991828266be32722d9054 | [
"MIT"
] | 1 | 2021-02-03T15:29:18.000Z | 2021-02-03T15:29:18.000Z | import os
import time
import subprocess
SOURCE_IMAP_HOST=os.getenv('SOURCE_IMAP_HOST', '')
SOURCE_IMAP_PORT=os.getenv('SOURCE_IMAP_PORT', None)
TARGET_AUTH_FILE=os.getenv('TARGET_AUTH_FILE')
_example_out = r"""
Here is imapsync 1.983 on host 39eb9c59f7a5, a linux system with 0.6/1.9 free GiB of RAM
with Perl 5.28.1 ... | 52.550129 | 441 | 0.62807 | 2,759 | 20,442 | 4.635738 | 0.210946 | 0.03448 | 0.016263 | 0.017514 | 0.445739 | 0.383425 | 0.32502 | 0.302346 | 0.270915 | 0.253479 | 0 | 0.085746 | 0.288573 | 20,442 | 388 | 442 | 52.685567 | 0.793715 | 0 | 0 | 0.185507 | 0 | 0.075362 | 0.985765 | 0.021524 | 0 | 0 | 0 | 0 | 0 | 1 | 0.002899 | false | 0.005797 | 0.017391 | 0 | 0.023188 | 0.008696 | 0 | 0 | 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 |
ba05674f448b07dd1fb137eb9993a62e885f4c91 | 352 | py | Python | Game/data/tiles/Tile-Trunk.py | joaompinto/2DExplorer | 1c172c208535a3121e9fee3cf6d64b6b8ec3684f | [
"MIT"
] | 9 | 2016-07-25T04:16:46.000Z | 2020-05-07T16:27:26.000Z | Game/data/tiles/Tile-Trunk.py | joaompinto/2DExplorer | 1c172c208535a3121e9fee3cf6d64b6b8ec3684f | [
"MIT"
] | null | null | null | Game/data/tiles/Tile-Trunk.py | joaompinto/2DExplorer | 1c172c208535a3121e9fee3cf6d64b6b8ec3684f | [
"MIT"
] | 2 | 2017-03-04T09:49:02.000Z | 2020-04-10T00:13:45.000Z | from Tile import tile
class trunk (tile):
def __init__(self,parentWorld,colRow):
super().__init__(parentWorld,colRow,6,1)
self.durability = 20
self.drop = 6
self.dropAmount = 4
self.physical = False
self.tool = "axe"
def setter(parentWorld, colRow):
x = trunk(pa... | 23.466667 | 48 | 0.625 | 43 | 352 | 4.930233 | 0.581395 | 0.320755 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023438 | 0.272727 | 352 | 14 | 49 | 25.142857 | 0.804688 | 0 | 0 | 0 | 0 | 0 | 0.008523 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.083333 | 0 | 0.416667 | 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 |
ba05d9a03d7d0625834630fae80963e7cb8d8a76 | 480 | py | Python | run.py | xucz153/robotautomation | 8c488ba53600cb92b2d966122106a1c4d8e89d44 | [
"Apache-2.0"
] | null | null | null | run.py | xucz153/robotautomation | 8c488ba53600cb92b2d966122106a1c4d8e89d44 | [
"Apache-2.0"
] | null | null | null | run.py | xucz153/robotautomation | 8c488ba53600cb92b2d966122106a1c4d8e89d44 | [
"Apache-2.0"
] | 1 | 2020-03-24T06:38:13.000Z | 2020-03-24T06:38:13.000Z | import os
import fileinput
if os.path.exists("log.txt"):
os.remove("log.txt")
if os.path.exists("log.xml"):
os.remove("log.xml")
os.system("ant build")
os.system("adb push bin/Checker.jar /data/local/tmp/")
for line in fileinput.input("testsuites.txt"):
if len(line.strip()) != 0 :
exeStr = "adb shell uiau... | 21.818182 | 88 | 0.672917 | 78 | 480 | 4.141026 | 0.487179 | 0.123839 | 0.074303 | 0.086687 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00241 | 0.135417 | 480 | 22 | 89 | 21.818182 | 0.775904 | 0 | 0 | 0 | 0 | 0 | 0.399168 | 0.045738 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.142857 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
ba07a920cdcbe867c37b718eb9013331548c5b5c | 1,546 | py | Python | digproj/core/migrations/0005_persona.py | mans-18/digest | 2c62ab33b8647b6e3da93a714da614ff201eee67 | [
"MIT"
] | null | null | null | digproj/core/migrations/0005_persona.py | mans-18/digest | 2c62ab33b8647b6e3da93a714da614ff201eee67 | [
"MIT"
] | null | null | null | digproj/core/migrations/0005_persona.py | mans-18/digest | 2c62ab33b8647b6e3da93a714da614ff201eee67 | [
"MIT"
] | null | null | null | # Generated by Django 2.2.4 on 2020-04-18 20:10
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('core', '0004_event'),
]
operations = [
migrations.CreateModel(
... | 40.684211 | 118 | 0.57762 | 159 | 1,546 | 5.515723 | 0.446541 | 0.09236 | 0.095781 | 0.143672 | 0.239453 | 0.239453 | 0.201824 | 0 | 0 | 0 | 0 | 0.037433 | 0.274256 | 1,546 | 37 | 119 | 41.783784 | 0.744207 | 0.029107 | 0 | 0 | 1 | 0 | 0.096731 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.096774 | 0 | 0.193548 | 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 |
ba0996dcd90000952328042c252e226b6709235b | 1,511 | py | Python | sortingalgorithms/allSortingAlgsTimed.py | eduardoquerido/pythonstuffs | df50282bf06e1b566a4d7c9f7ec5521a5d7544ed | [
"MIT"
] | null | null | null | sortingalgorithms/allSortingAlgsTimed.py | eduardoquerido/pythonstuffs | df50282bf06e1b566a4d7c9f7ec5521a5d7544ed | [
"MIT"
] | null | null | null | sortingalgorithms/allSortingAlgsTimed.py | eduardoquerido/pythonstuffs | df50282bf06e1b566a4d7c9f7ec5521a5d7544ed | [
"MIT"
] | null | null | null | from bubblesort import bubblesort
from heapsort import heapsort
from insertionsort import insertionsort
from mergesort import mergesort
from quicksort import quicksort
from radixsort import radixsort
from selectionsort import selectionsort
from timsort import timsort
from timeit import default_timer as timer
# Bubble... | 22.552239 | 70 | 0.780278 | 190 | 1,511 | 6.042105 | 0.115789 | 0.210801 | 0.097561 | 0.132404 | 0.179443 | 0.162021 | 0.162021 | 0 | 0 | 0 | 0 | 0 | 0.129054 | 1,511 | 66 | 71 | 22.893939 | 0.87234 | 0.056254 | 0 | 0.333333 | 0 | 0 | 0.262526 | 0.119972 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.1875 | 0 | 0.1875 | 0.145833 | 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 |
ba1168b1ed7f576e8af4325125f3890bf8a59e03 | 1,777 | py | Python | src/MapMyNotesApplication/tests/test_module_code.py | Ryan-Gouldsmith/MajorProject-MapMyNotes | 2c350f68f992e454e88d3653e46e7607e224e3ae | [
"MIT"
] | null | null | null | src/MapMyNotesApplication/tests/test_module_code.py | Ryan-Gouldsmith/MajorProject-MapMyNotes | 2c350f68f992e454e88d3653e46e7607e224e3ae | [
"MIT"
] | null | null | null | src/MapMyNotesApplication/tests/test_module_code.py | Ryan-Gouldsmith/MajorProject-MapMyNotes | 2c350f68f992e454e88d3653e46e7607e224e3ae | [
"MIT"
] | null | null | null | from MapMyNotesApplication import database
from MapMyNotesApplication.models.module_code import ModuleCode
from flask import Flask
from flask.ext.testing import TestCase
class TestNote(TestCase):
def create_app(self):
app = Flask(__name__)
app.config['TESTING'] = True
# http://blog.toast38... | 32.907407 | 148 | 0.69668 | 225 | 1,777 | 5.195556 | 0.315556 | 0.230967 | 0.05988 | 0.102652 | 0.461933 | 0.461933 | 0.433704 | 0.349872 | 0.311377 | 0.311377 | 0 | 0.035075 | 0.213844 | 1,777 | 53 | 149 | 33.528302 | 0.801718 | 0.077659 | 0 | 0.410256 | 0 | 0 | 0.06964 | 0.026878 | 0 | 0 | 0 | 0 | 0.153846 | 1 | 0.179487 | false | 0 | 0.102564 | 0 | 0.333333 | 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 |
ba1826426b8c083abbab303f3475fe5cd79a2964 | 3,962 | py | Python | src/engine/SCons/Sig/MD5Tests.py | datalogics-staylor/scons | 4c48deb6947066e53aac7d86621a7ec17f3b4034 | [
"MIT"
] | 3 | 2017-01-06T09:26:23.000Z | 2017-03-04T04:13:20.000Z | src/engine/SCons/Sig/MD5Tests.py | datalogics-staylor/scons | 4c48deb6947066e53aac7d86621a7ec17f3b4034 | [
"MIT"
] | 2 | 2015-10-27T20:17:24.000Z | 2016-08-04T21:49:56.000Z | src/engine/SCons/Sig/MD5Tests.py | datalogics-staylor/scons | 4c48deb6947066e53aac7d86621a7ec17f3b4034 | [
"MIT"
] | 4 | 2015-03-31T16:09:15.000Z | 2021-08-04T12:41:47.000Z | #
# __COPYRIGHT__
#
# 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,
# distribute, sublicen... | 34.754386 | 100 | 0.67163 | 475 | 3,962 | 5.467368 | 0.412632 | 0.033885 | 0.009241 | 0.025414 | 0.052753 | 0.052753 | 0.052753 | 0.040816 | 0.040816 | 0.040816 | 0 | 0.080372 | 0.24003 | 3,962 | 113 | 101 | 35.061947 | 0.782132 | 0.288743 | 0 | 0.107143 | 0 | 0 | 0.210356 | 0.116505 | 0 | 0 | 0 | 0 | 0.232143 | 0 | null | null | 0 | 0.071429 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
ba1aa52db5993b4fb2039a365c0c8f6b1740609b | 12,955 | py | Python | testcases/csvbarfeed_test.py | tibkiss/pyalgotrade | 4979315281c362dcba2e6d53da27dc4a7377ebec | [
"Apache-2.0"
] | 2 | 2015-04-03T10:29:14.000Z | 2017-01-21T05:55:00.000Z | testcases/csvbarfeed_test.py | tibkiss/pyalgotrade | 4979315281c362dcba2e6d53da27dc4a7377ebec | [
"Apache-2.0"
] | null | null | null | testcases/csvbarfeed_test.py | tibkiss/pyalgotrade | 4979315281c362dcba2e6d53da27dc4a7377ebec | [
"Apache-2.0"
] | null | null | null | # PyAlgoTrade
#
# Copyright 2011 Gabriel Martin Becedillas Ruiz
#
# 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 app... | 44.82699 | 157 | 0.67171 | 1,426 | 12,955 | 5.979663 | 0.202665 | 0.072827 | 0.025918 | 0.033892 | 0.548024 | 0.495485 | 0.472265 | 0.423244 | 0.415856 | 0.415856 | 0 | 0.0345 | 0.230336 | 12,955 | 288 | 158 | 44.982639 | 0.82068 | 0.11401 | 0 | 0.476852 | 0 | 0 | 0.080641 | 0.03812 | 0 | 0 | 0 | 0 | 0.171296 | 0 | null | null | 0 | 0.055556 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
ba1bf95302fe812f699c4ac37800fced2d62ea2d | 12,675 | py | Python | batchq/contrib/virtualbox/run_testscript.py | troelsfr/BatchQ | 390ea7179ed457673c6a1d764bc78cf816f603f4 | [
"MIT"
] | 1 | 2017-08-17T12:35:28.000Z | 2017-08-17T12:35:28.000Z | batchq/contrib/virtualbox/run_testscript.py | troelsfr/BatchQ | 390ea7179ed457673c6a1d764bc78cf816f603f4 | [
"MIT"
] | 1 | 2019-03-06T06:12:07.000Z | 2019-03-06T06:12:07.000Z | batchq/contrib/virtualbox/run_testscript.py | troelsfr/BatchQ | 390ea7179ed457673c6a1d764bc78cf816f603f4 | [
"MIT"
] | null | null | null | ## Copyright 2012 (c) Troels F. Roennow
from batchq.core.errors import CommunicationTimeout
from batchq.pipelines.shell import BashTerminal as LocalMachine
from batchq.pipelines.shell import SSHTerminal as RemoteMachine
from batchq.pipelines.shell.ssh import BaseSecureTerminalHostVerification
from batchq.pipelines.she... | 37.949102 | 292 | 0.547219 | 1,406 | 12,675 | 4.716927 | 0.196302 | 0.057298 | 0.052774 | 0.023221 | 0.292672 | 0.200694 | 0.147919 | 0.138269 | 0.113993 | 0.093637 | 0 | 0.005489 | 0.338856 | 12,675 | 333 | 293 | 38.063063 | 0.785919 | 0.02146 | 0 | 0.287402 | 0 | 0.003937 | 0.132639 | 0 | 0 | 0 | 0 | 0.003003 | 0 | 0 | null | null | 0.015748 | 0.043307 | null | null | 0.011811 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 |
ba1d7ea58af27c922536f0ac071d4dd79f8220b0 | 415 | py | Python | Leetcode/0075. Sort Colors/0075.py | Next-Gen-UI/Code-Dynamics | a9b9d5e3f27e870b3e030c75a1060d88292de01c | [
"MIT"
] | null | null | null | Leetcode/0075. Sort Colors/0075.py | Next-Gen-UI/Code-Dynamics | a9b9d5e3f27e870b3e030c75a1060d88292de01c | [
"MIT"
] | null | null | null | Leetcode/0075. Sort Colors/0075.py | Next-Gen-UI/Code-Dynamics | a9b9d5e3f27e870b3e030c75a1060d88292de01c | [
"MIT"
] | null | null | null | class Solution:
def sortColors(self, nums: List[int]) -> None:
zero = -1
one = -1
two = -1
for num in nums:
if num == 0:
two += 1
one += 1
zero += 1
nums[two] = 2
nums[one] = 1
nums[zero] = 0
elif num == 1:
two += 1
one += 1
... | 18.043478 | 48 | 0.390361 | 56 | 415 | 2.892857 | 0.375 | 0.123457 | 0.092593 | 0.166667 | 0.209877 | 0.209877 | 0.209877 | 0 | 0 | 0 | 0 | 0.078704 | 0.479518 | 415 | 22 | 49 | 18.863636 | 0.671296 | 0 | 0 | 0.47619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.047619 | false | 0 | 0 | 0 | 0.095238 | 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 |
ba1e865db13b11b2b983c07a0dc58fb658f7f0a3 | 1,620 | py | Python | generators/argument_unpacking.py | aTechGuide/python | aa4fdfdd1676e3524a14b7e7b694c00672b2980c | [
"MIT"
] | null | null | null | generators/argument_unpacking.py | aTechGuide/python | aa4fdfdd1676e3524a14b7e7b694c00672b2980c | [
"MIT"
] | null | null | null | generators/argument_unpacking.py | aTechGuide/python | aa4fdfdd1676e3524a14b7e7b694c00672b2980c | [
"MIT"
] | null | null | null |
"""
dictionary unpacking => It unpacks a dictionary as named arguments to a function.
"""
class User:
def __init__(self, username, password):
self.username = username
self.password = password
@classmethod
def from_dict(cls, data):
return cls(data['username'], data['password'])
def __repr__(self)... | 26.557377 | 137 | 0.68642 | 221 | 1,620 | 4.877828 | 0.276018 | 0.06679 | 0.022263 | 0.040816 | 0.615028 | 0.554731 | 0.523191 | 0.523191 | 0.523191 | 0.523191 | 0 | 0.01719 | 0.174074 | 1,620 | 61 | 138 | 26.557377 | 0.78849 | 0.37716 | 0 | 0.451613 | 0 | 0 | 0.232089 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.16129 | false | 0.354839 | 0 | 0.096774 | 0.322581 | 0.032258 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 |
ba1f0f0fab3971158ad07614b19d9b1e4b303119 | 230 | py | Python | ipware/__init__.py | wking/django-ipware | 66b8c428bcc701b04fe5f7b901d514cf0038243b | [
"MIT"
] | null | null | null | ipware/__init__.py | wking/django-ipware | 66b8c428bcc701b04fe5f7b901d514cf0038243b | [
"MIT"
] | null | null | null | ipware/__init__.py | wking/django-ipware | 66b8c428bcc701b04fe5f7b901d514cf0038243b | [
"MIT"
] | null | null | null | from .ip2 import get_client_ip
default_app_config = 'ipware.apps.IPwareConfig'
__author__ = 'Val Neekman @ Neekware Inc. [@vneekman]'
__description__ = "A Django application to retrieve user's IP address"
__version__ = '2.0.1'
| 25.555556 | 70 | 0.765217 | 32 | 230 | 5 | 0.96875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020101 | 0.134783 | 230 | 8 | 71 | 28.75 | 0.78392 | 0 | 0 | 0 | 0 | 0 | 0.513043 | 0.104348 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 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 |
ba2212d33e2d16a693fd7b9e11d3b569dc39aa8d | 1,901 | py | Python | python/fibonacci-recursion.py | kirigaine/Notes-and-Programs | e3b8a60776e12c2461c5a6f388bcef76f87e6901 | [
"MIT"
] | null | null | null | python/fibonacci-recursion.py | kirigaine/Notes-and-Programs | e3b8a60776e12c2461c5a6f388bcef76f87e6901 | [
"MIT"
] | null | null | null | python/fibonacci-recursion.py | kirigaine/Notes-and-Programs | e3b8a60776e12c2461c5a6f388bcef76f87e6901 | [
"MIT"
] | null | null | null | """
*********************************************************
* *
* Project Name: Recursive Fibonacci Sequence *
* Author: github.com/kirigaine *
* Description: A simple program to put in how many *
* numbers of the Fibonac... | 32.220339 | 101 | 0.444503 | 201 | 1,901 | 4.164179 | 0.422886 | 0.083632 | 0.033453 | 0.052569 | 0.111111 | 0.052569 | 0 | 0 | 0 | 0 | 0 | 0.021995 | 0.330352 | 1,901 | 59 | 102 | 32.220339 | 0.635507 | 0.455024 | 0 | 0 | 0 | 0 | 0.284593 | 0.119725 | 0 | 0 | 0 | 0 | 0 | 1 | 0.103448 | false | 0.137931 | 0.034483 | 0 | 0.275862 | 0.137931 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
ba23fe621bef567be4e6b505d68eb077f91c9b44 | 885 | py | Python | bejmy/transactions/migrations/0005_auto_20170606_0722.py | bejmy/backend | 5471cf7870de18fcbe2ded01d57b370d6886aa8c | [
"MIT"
] | null | null | null | bejmy/transactions/migrations/0005_auto_20170606_0722.py | bejmy/backend | 5471cf7870de18fcbe2ded01d57b370d6886aa8c | [
"MIT"
] | 3 | 2017-06-06T14:18:20.000Z | 2019-01-24T15:37:33.000Z | bejmy/transactions/migrations/0005_auto_20170606_0722.py | bejmy/backend | 5471cf7870de18fcbe2ded01d57b370d6886aa8c | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.11.1 on 2017-06-06 07:22
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('transactions', '0004_auto_20170606_0638'),
]
operations = [
migrations.AddF... | 28.548387 | 90 | 0.610169 | 88 | 885 | 5.965909 | 0.522727 | 0.091429 | 0.131429 | 0.154286 | 0.468571 | 0.468571 | 0.388571 | 0.198095 | 0.198095 | 0 | 0 | 0.051163 | 0.271186 | 885 | 30 | 91 | 29.5 | 0.762791 | 0.076836 | 0 | 0.391304 | 1 | 0 | 0.149877 | 0.028256 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.086957 | 0 | 0.217391 | 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 |
ba272e090de19ecd76ff3006a2d51bc0c2b55931 | 228 | py | Python | apps/dot_ext/apps.py | dtisza1/bluebutton-web-server | 6322f28d75bd9e00f8dc4b5988a0cd5f7c6c80cb | [
"Apache-2.0"
] | 25 | 2017-12-10T00:48:31.000Z | 2022-03-25T01:29:13.000Z | apps/dot_ext/apps.py | dtisza1/bluebutton-web-server | 6322f28d75bd9e00f8dc4b5988a0cd5f7c6c80cb | [
"Apache-2.0"
] | 298 | 2017-12-05T05:53:32.000Z | 2022-03-21T19:29:03.000Z | apps/dot_ext/apps.py | dtisza1/bluebutton-web-server | 6322f28d75bd9e00f8dc4b5988a0cd5f7c6c80cb | [
"Apache-2.0"
] | 31 | 2017-12-04T16:01:12.000Z | 2021-09-26T22:34:55.000Z | from django.apps import AppConfig
class dot_extConfig(AppConfig):
name = 'apps.dot_ext'
label = 'dot_ext'
verbose_name = 'Django OAuth Toolkit Extension'
def ready(self):
from . import signals # noqa
| 20.727273 | 51 | 0.679825 | 29 | 228 | 5.206897 | 0.689655 | 0.07947 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.236842 | 228 | 10 | 52 | 22.8 | 0.867816 | 0.017544 | 0 | 0 | 0 | 0 | 0.220721 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.285714 | 0 | 1 | 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 |
ba2fd31ae80c465a19ec0b8021e66833fea079a3 | 11,118 | py | Python | sdk/python/pulumi_aws_native/pinpointemail/identity.py | AaronFriel/pulumi-aws-native | 5621690373ac44accdbd20b11bae3be1baf022d1 | [
"Apache-2.0"
] | 29 | 2021-09-30T19:32:07.000Z | 2022-03-22T21:06:08.000Z | sdk/python/pulumi_aws_native/pinpointemail/identity.py | AaronFriel/pulumi-aws-native | 5621690373ac44accdbd20b11bae3be1baf022d1 | [
"Apache-2.0"
] | 232 | 2021-09-30T19:26:26.000Z | 2022-03-31T23:22:06.000Z | sdk/python/pulumi_aws_native/pinpointemail/identity.py | AaronFriel/pulumi-aws-native | 5621690373ac44accdbd20b11bae3be1baf022d1 | [
"Apache-2.0"
] | 4 | 2021-11-10T19:42:01.000Z | 2022-02-05T10:15:49.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi SDK Generator. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import _utilities
from... | 44.830645 | 186 | 0.680248 | 1,228 | 11,118 | 5.753257 | 0.13355 | 0.05138 | 0.067233 | 0.043029 | 0.670347 | 0.614862 | 0.552017 | 0.478132 | 0.439632 | 0.42293 | 0 | 0.003561 | 0.217035 | 11,118 | 247 | 187 | 45.012146 | 0.808041 | 0.089045 | 0 | 0.421622 | 1 | 0.016216 | 0.209337 | 0.102711 | 0 | 0 | 0 | 0 | 0 | 1 | 0.145946 | false | 0.005405 | 0.037838 | 0.086486 | 0.286486 | 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 |
e83dbdc1246a33782cd04fb7d61a47ce2f1b37ac | 884 | py | Python | app/red-packet2.py | consoles/dsa4js | 83a064c3485e33bf3f0c70a10167b8a5bc08e10e | [
"MIT"
] | 2 | 2018-01-19T08:16:13.000Z | 2019-08-15T12:26:08.000Z | app/red-packet2.py | consoles/dsa4js | 83a064c3485e33bf3f0c70a10167b8a5bc08e10e | [
"MIT"
] | null | null | null | app/red-packet2.py | consoles/dsa4js | 83a064c3485e33bf3f0c70a10167b8a5bc08e10e | [
"MIT"
] | 1 | 2019-08-15T12:26:11.000Z | 2019-08-15T12:26:11.000Z | #!/usr/bin python
#coding:utf-8
#
# 发一个随机红包,100块钱给10个人。每个人最多18块钱,最少4块钱。怎么分?
# ref:https://segmentfault.com/q/1010000006002081?_ea=979811
#
# 问题转化:
# 每个人先分配4元,问题就转化为“60块分给10个人,每人不多于14元”
# 将2个限制变成了一个限制
import random
total = 100.0
MIN = 4
MAX = 18
PEOPLE_NUM = 10
result = [MIN for x in range(PEOPLE_NUM)] # 每人先分4块
base ... | 21.047619 | 81 | 0.692308 | 121 | 884 | 5.008264 | 0.545455 | 0.074257 | 0.019802 | 0.036304 | 0.066007 | 0.066007 | 0 | 0 | 0 | 0 | 0 | 0.080381 | 0.169683 | 884 | 41 | 82 | 21.560976 | 0.745232 | 0.289593 | 0 | 0 | 0 | 0 | 0.030945 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.043478 | null | null | 0.086957 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
e83fe1f40d472d46fe6142d6b25df0d930b054fa | 18,429 | py | Python | tests/test_models.py | mliu-dark-knight/RNNG | 8286f9e1816c174fb89dfbe7bf0d9344b42f7b48 | [
"MIT"
] | 2 | 2019-06-05T08:23:49.000Z | 2019-07-16T13:45:29.000Z | tests/test_models.py | mliu-dark-knight/RNNG | 8286f9e1816c174fb89dfbe7bf0d9344b42f7b48 | [
"MIT"
] | null | null | null | tests/test_models.py | mliu-dark-knight/RNNG | 8286f9e1816c174fb89dfbe7bf0d9344b42f7b48 | [
"MIT"
] | null | null | null | import pytest
import torch
import torch.nn as nn
from nltk.tree import Tree
from torch.autograd import Variable
from rnng.actions import NT, REDUCE, SHIFT, get_nonterm
from rnng.models import DiscRNNG, EmptyStackError, StackLSTM, log_softmax
torch.manual_seed(12345)
class MockLSTM(object):
def __init__(self, in... | 40.326039 | 88 | 0.648814 | 2,393 | 18,429 | 4.829085 | 0.089428 | 0.042575 | 0.039979 | 0.027951 | 0.568276 | 0.451367 | 0.410609 | 0.386726 | 0.348044 | 0.303133 | 0 | 0.021301 | 0.24087 | 18,429 | 456 | 89 | 40.414474 | 0.804718 | 0.015682 | 0 | 0.30914 | 0 | 0 | 0.028463 | 0.001158 | 0 | 0 | 0 | 0 | 0.408602 | 1 | 0.094086 | false | 0 | 0.018817 | 0.013441 | 0.174731 | 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 |
e84470df93171c0c10cbb7b968967ef7f34ca4b5 | 577 | py | Python | test/test_system.py | alexander-l-stone/RogueSpace | f754b037a493849125469e3c66571df90e851233 | [
"MIT"
] | null | null | null | test/test_system.py | alexander-l-stone/RogueSpace | f754b037a493849125469e3c66571df90e851233 | [
"MIT"
] | 44 | 2021-07-04T04:36:42.000Z | 2021-08-30T01:15:41.000Z | test/test_system.py | alexander-l-stone/RogueSpace | f754b037a493849125469e3c66571df90e851233 | [
"MIT"
] | null | null | null | from source.system.system import System
from source.draw.entity.entity import Entity
from source.draw.area.area import Area
from source.action.action import Action
from source.action.resolution_functions import resolve_move_action
def test_can_instantiate_system():
"""
Test that system imports properly and its... | 33.941176 | 80 | 0.745234 | 85 | 577 | 4.929412 | 0.4 | 0.119332 | 0.066826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024641 | 0.155979 | 577 | 16 | 81 | 36.0625 | 0.835729 | 0.103986 | 0 | 0 | 0 | 0 | 0.017964 | 0 | 0 | 0 | 0 | 0 | 0.272727 | 1 | 0.181818 | false | 0 | 0.454545 | 0 | 0.636364 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 |
e8453c157a7755842f31628266437eaacc8ab7b2 | 11,000 | py | Python | nosco/Nosco.py | kamyarg/nosco | 37071d235e80560d1d9f01a38860cfe23a033f51 | [
"MIT"
] | null | null | null | nosco/Nosco.py | kamyarg/nosco | 37071d235e80560d1d9f01a38860cfe23a033f51 | [
"MIT"
] | null | null | null | nosco/Nosco.py | kamyarg/nosco | 37071d235e80560d1d9f01a38860cfe23a033f51 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""nosco v0.5 - semantic version manager
nōscō(/ˈnoːs.koː/ - in possession of knowledge)
Semantic Version(http://semver.org)
Manager Aims to provide a simple interface for
determining the build version of software
using rules privided in nosco.yaml
Author: Kamyar Ghasemlo... | 30.898876 | 138 | 0.592091 | 1,381 | 11,000 | 4.502534 | 0.177408 | 0.023159 | 0.032808 | 0.024445 | 0.18366 | 0.172242 | 0.108073 | 0.078643 | 0.050177 | 0.037311 | 0 | 0.004963 | 0.304 | 11,000 | 355 | 139 | 30.985915 | 0.80721 | 0.103182 | 0 | 0.226244 | 0 | 0 | 0.089441 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.00905 | 0.031674 | null | null | 0.027149 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 |
e847963402430127c0b0bd6566f700092719b117 | 1,182 | py | Python | src/lib/epub/directory.py | knarfeh/SinaBlog2e-book | 2c4890852c0d6fe3f6f255c10e36a1ccdda272e2 | [
"MIT"
] | 9 | 2016-03-19T13:25:34.000Z | 2016-10-15T02:45:48.000Z | src/lib/epub/directory.py | knarfeh/SinaBlog2ebook | 2c4890852c0d6fe3f6f255c10e36a1ccdda272e2 | [
"MIT"
] | 3 | 2016-05-14T08:06:10.000Z | 2017-02-09T10:00:44.000Z | src/lib/epub/directory.py | ee-book/jianshu2e-book | d638fb8c2f47cf8e91e9f74e2e1e5f61f3c98a48 | [
"MIT"
] | 4 | 2017-06-07T02:38:05.000Z | 2017-12-24T07:24:33.000Z | # -*- coding: utf-8 -*-
from src.tools.path import Path
from .tools.base import Base
class Directory(Base):
def __init__(self):
Base.__init__(self)
self.chapter_deep = 0
return
def add_html(self, src, title):
template = self.get_template('directory', 'item_leaf')
self.... | 30.307692 | 81 | 0.624365 | 143 | 1,182 | 4.972028 | 0.251748 | 0.101266 | 0.105485 | 0.161744 | 0.469761 | 0.33474 | 0.264416 | 0.264416 | 0.264416 | 0 | 0 | 0.006826 | 0.256345 | 1,182 | 38 | 82 | 31.105263 | 0.802048 | 0.017767 | 0 | 0.137931 | 0 | 0 | 0.080242 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.172414 | false | 0 | 0.068966 | 0 | 0.448276 | 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 |
e84bc0e1133d714baed19cb0db5d5ebb4d5eb400 | 39,777 | py | Python | display.py | anthonycurtisadler/ARCADES | 3ca061776ef7c43d0ce29f2759df00738c8f9e82 | [
"MIT"
] | 7 | 2019-05-30T22:21:48.000Z | 2021-02-11T12:25:31.000Z | display.py | anthonycurtisadler/ARCADES | 3ca061776ef7c43d0ce29f2759df00738c8f9e82 | [
"MIT"
] | 4 | 2020-06-22T22:36:43.000Z | 2020-07-10T13:11:10.000Z | display.py | anthonycurtisadler/ARCADES | 3ca061776ef7c43d0ce29f2759df00738c8f9e82 | [
"MIT"
] | null | null | null | """ Module containing the Display class, which is used to display formatted notes
pylint rated 9.20/10
"""
from globalconstants import BOX_CHAR, MARGINFACTOR,\
DASH, BLANK, EOL, EMPTYCHAR, COLON, UNDERLINE, POUND, \
LEFTBRACKET, RIGHTBRACKET, SLASH
from generalutilities import side_note, split_into... | 49.22896 | 126 | 0.355155 | 2,773 | 39,777 | 4.957807 | 0.092319 | 0.032005 | 0.01833 | 0.03215 | 0.591941 | 0.559791 | 0.525022 | 0.48858 | 0.464358 | 0.442028 | 0 | 0.008559 | 0.5829 | 39,777 | 807 | 127 | 49.289963 | 0.820083 | 0.085954 | 0 | 0.600683 | 0 | 0 | 0.010088 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.011945 | false | 0.001706 | 0.006826 | 0 | 0.039249 | 0.098976 | 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 |
e84ed064f60c7a18d12e2d3bf3219cf67c4ed50c | 1,543 | py | Python | Classification/SupportVectorMachine/regularSupportVectorMachine.py | a-holm/MachinelearningAlgorithms | a07cdddd079cd57ac77a17487a32c594e735baf8 | [
"MIT"
] | null | null | null | Classification/SupportVectorMachine/regularSupportVectorMachine.py | a-holm/MachinelearningAlgorithms | a07cdddd079cd57ac77a17487a32c594e735baf8 | [
"MIT"
] | 1 | 2021-06-01T22:07:30.000Z | 2021-06-01T22:07:30.000Z | Classification/SupportVectorMachine/regularSupportVectorMachine.py | a-holm/MachinelearningAlgorithms | a07cdddd079cd57ac77a17487a32c594e735baf8 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""Support Vector Machine (SVM) classification for machine learning.
SVM is a binary classifier. The objective of the SVM is to find the best
separating hyperplane in vector space which is also referred to as the
decision boundary. And it decides what separating hyperplane is the 'best'
because... | 29.673077 | 79 | 0.736228 | 253 | 1,543 | 4.411067 | 0.517787 | 0.067204 | 0.02509 | 0.007168 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025365 | 0.156837 | 1,543 | 51 | 80 | 30.254902 | 0.832437 | 0.508101 | 0 | 0 | 0 | 0 | 0.054886 | 0.037483 | 0 | 0 | 0 | 0.019608 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
e84f5f03455f7768baf26d38be8a268f430caefe | 4,928 | py | Python | first.py | leo0123456/Smart-camera | 0c73b3b8b5cc0147e036c71f2f078cbd576cd399 | [
"MIT"
] | 9 | 2020-07-10T01:54:31.000Z | 2021-11-22T16:37:17.000Z | first.py | leo0123456/Smart-camera | 0c73b3b8b5cc0147e036c71f2f078cbd576cd399 | [
"MIT"
] | 2 | 2020-11-26T12:27:04.000Z | 2021-11-22T16:38:42.000Z | first.py | leo0123456/Smart-camera | 0c73b3b8b5cc0147e036c71f2f078cbd576cd399 | [
"MIT"
] | 2 | 2021-01-02T10:18:30.000Z | 2021-05-25T10:53:22.000Z | # -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'first.ui'
#
# Created by: PyQt5 UI code generator 5.9.2
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore, QtGui, QtWidgets
# from PyQt5.QtCore import QCoreApplication
class Ui_Form(object):
def setupUi(... | 43.610619 | 69 | 0.667005 | 622 | 4,928 | 5.141479 | 0.181672 | 0.101313 | 0.103189 | 0.057536 | 0.318324 | 0.103815 | 0.103815 | 0.103815 | 0.103815 | 0.103815 | 0 | 0.068974 | 0.19095 | 4,928 | 112 | 70 | 44 | 0.733133 | 0.044643 | 0 | 0.164948 | 1 | 0 | 0.133007 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.020619 | false | 0 | 0.010309 | 0 | 0.041237 | 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 |
e853b12211f4b837e3e94b22393968e612e10808 | 904 | py | Python | backend/cloud-run-api/app/models/upload.py | tuxedocat/fast-annotation-tool | 2e28e81bf5b383ac033eeae847921d68ed302556 | [
"Apache-2.0"
] | 24 | 2021-06-08T06:20:55.000Z | 2022-03-24T07:27:08.000Z | backend/cloud-run-api/app/models/upload.py | shunyooo/fast-annotation-tool | 0f7b23eb9e664daf33c6ada366ea550996d103b3 | [
"Apache-2.0"
] | null | null | null | backend/cloud-run-api/app/models/upload.py | shunyooo/fast-annotation-tool | 0f7b23eb9e664daf33c6ada366ea550996d103b3 | [
"Apache-2.0"
] | 6 | 2021-06-08T02:39:31.000Z | 2022-01-08T15:10:01.000Z | from app.functions.firestore import is_doc_exist
from app.models.firestore import AnnotationTypeEnum
from typing import Any, Dict, List
from pydantic import BaseModel, ValidationError, root_validator, validator
from app.models.firestore import annot_cls_dict
class RequestTaskUpload(BaseModel):
task_id: str
an... | 26.588235 | 74 | 0.698009 | 117 | 904 | 5.188034 | 0.461538 | 0.079077 | 0.032949 | 0.072488 | 0.171334 | 0.079077 | 0 | 0 | 0 | 0 | 0 | 0 | 0.220133 | 904 | 33 | 75 | 27.393939 | 0.860993 | 0 | 0 | 0.222222 | 0 | 0 | 0.075221 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.074074 | false | 0 | 0.185185 | 0 | 0.777778 | 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 |
e8567dfef8174cfd561b9412fbafb5e5f10d3dd7 | 727 | py | Python | socialpy/server/rest/views.py | axju/socialpy | c304d8f7c619d17f7f6f819ce6e8c2aa794646a0 | [
"MIT"
] | 1 | 2018-09-11T21:42:50.000Z | 2018-09-11T21:42:50.000Z | socialpy/server/rest/views.py | axju/socialpy | c304d8f7c619d17f7f6f819ce6e8c2aa794646a0 | [
"MIT"
] | null | null | null | socialpy/server/rest/views.py | axju/socialpy | c304d8f7c619d17f7f6f819ce6e8c2aa794646a0 | [
"MIT"
] | null | null | null | from rest_framework import viewsets
from socialpy.server.rest.serializers import CategorySerializer, PostSerializer, PostSerializerUrl
from socialpy.server.data.models import Category, Post
class CategoryViewSet(viewsets.ModelViewSet):
"""
Returns a list of all categorys in the db.
"""
queryset = Categ... | 31.608696 | 98 | 0.734525 | 79 | 727 | 6.683544 | 0.56962 | 0.085227 | 0.068182 | 0.094697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189821 | 727 | 22 | 99 | 33.045455 | 0.896435 | 0.101788 | 0 | 0 | 0 | 0 | 0.004823 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0 | 0.230769 | 0 | 0.923077 | 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 |
e857b294b9aaa146f25923b2963f78537b96ce39 | 5,028 | py | Python | athena/authentication/migrations/0001_initial.py | antonyryan/athena-backend-Django- | 6119a71eca0deefa3fffa5e5caff1de87b3ea2c3 | [
"MIT"
] | 5 | 2019-09-09T23:07:07.000Z | 2020-05-28T15:57:21.000Z | athena/authentication/migrations/0001_initial.py | antonyryan/athena-backend-Django- | 6119a71eca0deefa3fffa5e5caff1de87b3ea2c3 | [
"MIT"
] | null | null | null | athena/authentication/migrations/0001_initial.py | antonyryan/athena-backend-Django- | 6119a71eca0deefa3fffa5e5caff1de87b3ea2c3 | [
"MIT"
] | 1 | 2020-05-28T15:57:25.000Z | 2020-05-28T15:57:25.000Z | # Generated by Django 2.1.7 on 2019-04-05 22:00
import uuid
import django.contrib.auth.validators
import django.db.models.deletion
from django.conf import settings
from django.db import migrations, models
import athena.authentication.models
class Migration(migrations.Migration):
initial = True
dependenci... | 33.52 | 88 | 0.412888 | 345 | 5,028 | 5.895652 | 0.310145 | 0.051622 | 0.034415 | 0.054081 | 0.443953 | 0.398722 | 0.383972 | 0.383972 | 0.32645 | 0.300393 | 0 | 0.015157 | 0.488266 | 5,028 | 149 | 89 | 33.744966 | 0.77536 | 0.00895 | 0 | 0.514286 | 1 | 0 | 0.075688 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.007143 | 0.042857 | 0 | 0.071429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
e8616075af0b8581e024876fedd24f142483ab11 | 1,552 | py | Python | News Summarizer/summarise.py | iamharshit/ML_works | b0bb53c5a60312719d15e25b727c54cbab65b4af | [
"MIT"
] | 1 | 2016-11-29T04:28:09.000Z | 2016-11-29T04:28:09.000Z | News Summarizer/summarise.py | iamharshit/ML_works | b0bb53c5a60312719d15e25b727c54cbab65b4af | [
"MIT"
] | null | null | null | News Summarizer/summarise.py | iamharshit/ML_works | b0bb53c5a60312719d15e25b727c54cbab65b4af | [
"MIT"
] | null | null | null | import keras #for ML
from keras.models import Sequential
from keras.layers.embeddings import Embedding
from keras.layers.recurrent import LSTM
from collections import Counter #for tokenisation
import cPickle as pickle #for Data Processing
#Loading Data
with open('data/%s.pkl'%'vocabulary-embedding', 'rb') as fp:
head... | 24.25 | 72 | 0.750644 | 215 | 1,552 | 5.362791 | 0.413953 | 0.034692 | 0.026019 | 0.034692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006716 | 0.136598 | 1,552 | 63 | 73 | 24.634921 | 0.853731 | 0.13982 | 0 | 0 | 0 | 0 | 0.108828 | 0.035008 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.162162 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
e86cfafaff03c1b2a5b2f65be0149c9768c64c35 | 2,119 | py | Python | pycryptoki/ca_extensions/object_handler.py | LudovicRousseau/pycryptoki | c9b4dbafa3e582071bd1487faa409e8999c72ee5 | [
"Apache-2.0"
] | 24 | 2016-08-17T13:52:07.000Z | 2019-12-26T17:16:39.000Z | pycryptoki/ca_extensions/object_handler.py | LudovicRousseau/pycryptoki | c9b4dbafa3e582071bd1487faa409e8999c72ee5 | [
"Apache-2.0"
] | 8 | 2020-08-06T15:19:46.000Z | 2022-03-25T17:52:00.000Z | pycryptoki/ca_extensions/object_handler.py | LudovicRousseau/pycryptoki | c9b4dbafa3e582071bd1487faa409e8999c72ee5 | [
"Apache-2.0"
] | 12 | 2016-11-22T05:43:18.000Z | 2020-02-12T17:45:05.000Z | """
Module to work with objects, specifically dealing with ca_extension functions
"""
import logging
from ctypes import byref, cast, c_ubyte
from _ctypes import POINTER
from pycryptoki.attributes import to_byte_array
from pycryptoki.ca_extensions.session import ca_get_session_info_ex
from pycryptoki.cryptoki import C... | 34.177419 | 99 | 0.774422 | 294 | 2,119 | 5.316327 | 0.346939 | 0.053743 | 0.028791 | 0.044146 | 0.057582 | 0.034549 | 0 | 0 | 0 | 0 | 0 | 0.001129 | 0.163756 | 2,119 | 61 | 100 | 34.737705 | 0.880926 | 0.302029 | 0 | 0 | 0 | 0 | 0.010578 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.068966 | false | 0 | 0.310345 | 0 | 0.482759 | 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 |
e886553823426ac79c241244448d93664751db94 | 1,027 | py | Python | scripts/complete_release.py | krossovochkin/FiberyUnofficial | f9ebcdc15ce64c53302ab60f7d449c5ec17a3680 | [
"Apache-2.0"
] | 16 | 2020-02-16T17:40:52.000Z | 2021-12-29T06:03:57.000Z | scripts/complete_release.py | krossovochkin/FiberyUnofficial | f9ebcdc15ce64c53302ab60f7d449c5ec17a3680 | [
"Apache-2.0"
] | 1 | 2020-09-01T12:10:51.000Z | 2020-09-01T12:22:54.000Z | scripts/complete_release.py | krossovochkin/FiberyUnofficial | f9ebcdc15ce64c53302ab60f7d449c5ec17a3680 | [
"Apache-2.0"
] | 3 | 2020-08-18T22:10:15.000Z | 2021-09-23T19:06:40.000Z | import json
import requests
import sys
version = sys.argv[1]
token = sys.argv[2]
headers = {
'Content-Type': 'application/json',
'Authorization': f"Token {token}"
}
data = '''[
{
"command": "fibery.entity/query",
"args": {
"query": {
"q/from": "FiberyUnofficial/Release",
"q/sel... | 27.026316 | 155 | 0.606621 | 116 | 1,027 | 5.353448 | 0.405172 | 0.05153 | 0.05475 | 0.074074 | 0.251208 | 0.251208 | 0.251208 | 0.251208 | 0.251208 | 0.251208 | 0 | 0.005848 | 0.167478 | 1,027 | 37 | 156 | 27.756757 | 0.720468 | 0 | 0 | 0 | 0 | 0.03125 | 0.61149 | 0.211295 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.09375 | 0 | 0.09375 | 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 |
e886b4b4400c619320648a32f4d969528c4b3f76 | 530 | py | Python | lista/models/item_lista_model.py | guiadissy/pcs3643-BE | 48286258de17a19a6b08fc3303972c4ab50866c5 | [
"MIT"
] | null | null | null | lista/models/item_lista_model.py | guiadissy/pcs3643-BE | 48286258de17a19a6b08fc3303972c4ab50866c5 | [
"MIT"
] | null | null | null | lista/models/item_lista_model.py | guiadissy/pcs3643-BE | 48286258de17a19a6b08fc3303972c4ab50866c5 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from dao import db, Base
class ItemLista(Base):
__tablename__ = 'itenslistas'
lista_id = db.Column(db.Integer, db.ForeignKey('listas.id'), primary_key=True)
item_id = db.Column(db.Integer, db.ForeignKey('itens.id'), primary_key=True)
preco = db.Column(db.String(100))
item =... | 35.333333 | 82 | 0.690566 | 70 | 530 | 5.028571 | 0.514286 | 0.068182 | 0.085227 | 0.068182 | 0.176136 | 0.176136 | 0.176136 | 0 | 0 | 0 | 0 | 0.008949 | 0.156604 | 530 | 14 | 83 | 37.857143 | 0.778523 | 0.039623 | 0 | 0 | 0 | 0 | 0.114398 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.1 | 0 | 0.9 | 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 |
e893d24750bc5484c68c63698525d87232333336 | 1,059 | py | Python | comparison_algorithm/tests/test_linking.py | diggr/game_title_utils | 8177b216700ce6c1094ac55cd3812af74842cb3c | [
"MIT"
] | 4 | 2019-07-09T10:38:41.000Z | 2021-09-28T06:48:50.000Z | comparison_algorithm/tests/test_linking.py | diggr/game_title_utils | 8177b216700ce6c1094ac55cd3812af74842cb3c | [
"MIT"
] | null | null | null | comparison_algorithm/tests/test_linking.py | diggr/game_title_utils | 8177b216700ce6c1094ac55cd3812af74842cb3c | [
"MIT"
] | 1 | 2022-03-06T06:57:31.000Z | 2022-03-06T06:57:31.000Z | import pytest
import Levenshtein as lev
from ..comp import cmp_titles
from ..helpers import std
from ..config import *
#test linking by titles
@pytest.mark.parametrize(
"titles1, titles2, output",
[
(
[
"Resident Evil 2",
"Biohazard 2"
],
... | 22.531915 | 53 | 0.381492 | 80 | 1,059 | 4.9625 | 0.4625 | 0.18136 | 0.130982 | 0.095718 | 0.176322 | 0.176322 | 0.176322 | 0 | 0 | 0 | 0 | 0.053254 | 0.521246 | 1,059 | 47 | 54 | 22.531915 | 0.729783 | 0.020774 | 0 | 0.333333 | 0 | 0 | 0.168756 | 0 | 0 | 0 | 0 | 0 | 0.022222 | 1 | 0.022222 | false | 0 | 0.111111 | 0 | 0.133333 | 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 |
e8a56662637a8b1ac9ccb2063b363113e4891533 | 18,218 | py | Python | language_apps/expr1/gen/testParser.py | SadraGoudarzdashti/IUSTCompiler | 7aa24df7de10030c313ad2e8f3830d9e2b182ce1 | [
"MIT"
] | 3 | 2020-12-04T11:01:23.000Z | 2022-02-12T19:29:35.000Z | language_apps/expr1/gen/testParser.py | SadraGoudarzdashti/IUSTCompiler | 7aa24df7de10030c313ad2e8f3830d9e2b182ce1 | [
"MIT"
] | null | null | null | language_apps/expr1/gen/testParser.py | SadraGoudarzdashti/IUSTCompiler | 7aa24df7de10030c313ad2e8f3830d9e2b182ce1 | [
"MIT"
] | 30 | 2020-12-04T11:00:19.000Z | 2021-12-31T15:59:21.000Z | # Generated from D:/AnacondaProjects/iust_start/grammars\expr3.g4 by ANTLR 4.8
# encoding: utf-8
from antlr4 import *
from io import StringIO
import sys
if sys.version_info[1] > 5:
from typing import TextIO
else:
from typing.io import TextIO
def serializedATN():
with StringIO() as buf:
buf.write("\3\u60... | 34.96737 | 125 | 0.555165 | 2,019 | 18,218 | 4.895988 | 0.115404 | 0.012949 | 0.007587 | 0.009307 | 0.64866 | 0.609611 | 0.588973 | 0.526758 | 0.493374 | 0.439555 | 0 | 0.051754 | 0.331815 | 18,218 | 520 | 126 | 35.034615 | 0.760289 | 0.010649 | 0 | 0.482143 | 1 | 0.045918 | 0.078383 | 0.055568 | 0 | 0 | 0 | 0 | 0 | 1 | 0.145408 | false | 0.017857 | 0.022959 | 0.056122 | 0.359694 | 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 |
e8aa56297e9d77fdbb053c40cb8713bf68eda02f | 5,165 | py | Python | tests/h/indexer/reindexer_test.py | ssin122/test-h | c10062ae23b690afaac0ab4af7b9a5a5e4b686a9 | [
"MIT"
] | null | null | null | tests/h/indexer/reindexer_test.py | ssin122/test-h | c10062ae23b690afaac0ab4af7b9a5a5e4b686a9 | [
"MIT"
] | null | null | null | tests/h/indexer/reindexer_test.py | ssin122/test-h | c10062ae23b690afaac0ab4af7b9a5a5e4b686a9 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import mock
import pytest
from memex.search import client
from h.indexer.reindexer import reindex, SETTING_NEW_INDEX
@pytest.mark.usefixtures('BatchIndexer',
'configure_index',
'get_aliased_index',
'update_aliased_in... | 36.631206 | 121 | 0.698354 | 605 | 5,165 | 5.676033 | 0.190083 | 0.097845 | 0.057659 | 0.083285 | 0.49767 | 0.435061 | 0.322656 | 0.252766 | 0.228305 | 0.165696 | 0 | 0.009055 | 0.208906 | 5,165 | 140 | 122 | 36.892857 | 0.831375 | 0.066796 | 0 | 0.290323 | 0 | 0 | 0.093757 | 0.030069 | 0 | 0 | 0 | 0 | 0.107527 | 1 | 0.204301 | false | 0.021505 | 0.043011 | 0.032258 | 0.344086 | 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 |
e8ac8f6a11d4b4cdf4a351def6fd152fd2f08e07 | 7,948 | py | Python | academic_helper/migrations/0001_initial.py | asaf-kali/coursist | 277d1cf0a84c082fa7b73d24786752d810db1fbd | [
"MIT"
] | 6 | 2020-06-26T12:09:10.000Z | 2021-12-18T11:44:55.000Z | academic_helper/migrations/0001_initial.py | asaf-kali/coursist | 277d1cf0a84c082fa7b73d24786752d810db1fbd | [
"MIT"
] | 89 | 2020-06-02T11:42:57.000Z | 2021-06-10T19:09:09.000Z | academic_helper/migrations/0001_initial.py | asaf-kali/coursist | 277d1cf0a84c082fa7b73d24786752d810db1fbd | [
"MIT"
] | 14 | 2020-06-26T12:08:34.000Z | 2021-04-20T10:59:45.000Z | # Generated by Django 3.0.6 on 2020-05-25 13:25
from decimal import Decimal
import django.contrib.auth.models
import django.contrib.auth.validators
import django.utils.timezone
from django.conf import settings
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
de... | 39.346535 | 138 | 0.456341 | 599 | 7,948 | 5.914858 | 0.30217 | 0.046571 | 0.042337 | 0.03895 | 0.3291 | 0.292408 | 0.245555 | 0.197573 | 0.186565 | 0.186565 | 0 | 0.011849 | 0.437217 | 7,948 | 201 | 139 | 39.542289 | 0.780237 | 0.005662 | 0 | 0.412371 | 1 | 0 | 0.169472 | 0.022529 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.005155 | 0.030928 | 0 | 0.051546 | 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 |
e8aed59d37b742c49d43022e31585b3f82f128e1 | 178 | py | Python | HackerRank/10 Days of Statistics/Poisson Distribution I.py | will-data/Self-Study-WIL | 69d627c65130fcfa23f27f97948a20107bb33394 | [
"MIT"
] | 1 | 2020-04-11T09:51:54.000Z | 2020-04-11T09:51:54.000Z | HackerRank/10 Days of Statistics/Poisson Distribution I.py | will-data/Self-Study-WIL | 69d627c65130fcfa23f27f97948a20107bb33394 | [
"MIT"
] | null | null | null | HackerRank/10 Days of Statistics/Poisson Distribution I.py | will-data/Self-Study-WIL | 69d627c65130fcfa23f27f97948a20107bb33394 | [
"MIT"
] | null | null | null | import math
p = float(input())
n = int(input())
factorial = lambda n: 1 if n==1 else n*factorial(n-1)
poisson = lambda p, n: p**n*math.exp(-p)/factorial(n)
print(poisson(p,n)) | 19.777778 | 53 | 0.651685 | 35 | 178 | 3.314286 | 0.428571 | 0.051724 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019737 | 0.146067 | 178 | 9 | 54 | 19.777778 | 0.743421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0.166667 | 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 |
e8b3dab65c5ed05c17c215d0f39970dd73fcd2da | 1,022 | py | Python | programming-laboratory-I/nhwk/pesquisa.py | MisaelAugusto/computer-science | d21335a2dc824b54ffe828370f0e6717fd0c7c27 | [
"MIT"
] | null | null | null | programming-laboratory-I/nhwk/pesquisa.py | MisaelAugusto/computer-science | d21335a2dc824b54ffe828370f0e6717fd0c7c27 | [
"MIT"
] | null | null | null | programming-laboratory-I/nhwk/pesquisa.py | MisaelAugusto/computer-science | d21335a2dc824b54ffe828370f0e6717fd0c7c27 | [
"MIT"
] | null | null | null | # coding: utf-8
# Aluno: Misael Augusto
# Matrícula: 117110525
# Problema: Pesquisa Hotéis
valores = []
tamanhos = []
confortos = []
hoteis = []
while True:
entrada = raw_input().split(",")
if entrada[0] == "---":
break
valores.append(entrada[0])
tamanhos.append(entrada[1])
confortos.append(entrada[2])
hoteis.... | 23.227273 | 41 | 0.659491 | 140 | 1,022 | 4.735714 | 0.328571 | 0.078431 | 0.022624 | 0.031674 | 0.153846 | 0.072398 | 0.072398 | 0 | 0 | 0 | 0 | 0.026411 | 0.184932 | 1,022 | 43 | 42 | 23.767442 | 0.769508 | 0.080235 | 0 | 0.194444 | 0 | 0 | 0.020321 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.027778 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 |
e8b4650ae6b2693d6cdedd36d497fd1b22e6c7c0 | 39,335 | py | Python | userid_country.py | PittayutSothanakul/TinyTourMiner | 877cf47f38d932887ad9e9dcb6c22138189d5575 | [
"MIT"
] | null | null | null | userid_country.py | PittayutSothanakul/TinyTourMiner | 877cf47f38d932887ad9e9dcb6c22138189d5575 | [
"MIT"
] | null | null | null | userid_country.py | PittayutSothanakul/TinyTourMiner | 877cf47f38d932887ad9e9dcb6c22138189d5575 | [
"MIT"
] | null | null | null | userid_country = {
60: ("US", "United States", "アメリカ合衆国"),
71: ("CL", "Chile", "チリ"),
95: ("CL", "Chile", "チリ"),
95: ("BR", "Brazil", "ブラジル"),
95: ("PE", "Peru", "ペルー"),
95: ("PT", "Portugal", "ポルトガル"),
170: ("US", "United States", "アメリカ合衆国"),
219: ("CN", "China", "中華人民共和国"),
219: ("PH", "Philippines", "フィリピン"... | 36.865042 | 52 | 0.536418 | 4,406 | 39,335 | 4.78847 | 0.254426 | 0.115651 | 0.138781 | 0.099536 | 0.010143 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163502 | 0.139062 | 39,335 | 1,066 | 53 | 36.899625 | 0.459501 | 0.000814 | 0 | 0 | 0 | 0 | 0.410017 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
e8bf0e649a37a2fb51a630464ce94fd1f1889530 | 114,649 | py | Python | miRNASNP3/miRNASNP3/ajax.py | chunjie-sam-liu/miRNASNP-v3 | 41fab95b496b639674010863895547db0fc108bc | [
"MIT"
] | 1 | 2020-07-02T08:51:37.000Z | 2020-07-02T08:51:37.000Z | miRNASNP3/miRNASNP3/ajax.py | chunjie-sam-liu/miRNASNP-v3 | 41fab95b496b639674010863895547db0fc108bc | [
"MIT"
] | null | null | null | miRNASNP3/miRNASNP3/ajax.py | chunjie-sam-liu/miRNASNP-v3 | 41fab95b496b639674010863895547db0fc108bc | [
"MIT"
] | null | null | null | import flask_restful
import re
from miRNASNP3 import app, api
from miRNASNP3.core import mongo
from flask_restful import Resource, fields, marshal_with, reqparse, marshal
from flask import send_file
mirna_exp_df = {
"ACC": fields.String,
"DLBC": fields.String,
"READ": fields.String,
"GBM": fields.Str... | 34.668582 | 198 | 0.595696 | 12,849 | 114,649 | 5.000623 | 0.032143 | 0.094688 | 0.043126 | 0.008965 | 0.796741 | 0.732837 | 0.67849 | 0.638585 | 0.615333 | 0.59742 | 0 | 0.00684 | 0.269344 | 114,649 | 3,306 | 199 | 34.679068 | 0.760186 | 0.077262 | 0 | 0.610559 | 0 | 0 | 0.157262 | 0.009727 | 0 | 0 | 0 | 0 | 0 | 1 | 0.015685 | false | 0 | 0.002295 | 0 | 0.04935 | 0.026014 | 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 |
e8c72a04c95e7728ed6e7c8efeae9236e77fa8ff | 4,800 | py | Python | Previous_State_On_Repo/StrokeRecoveryOffline/Data/code/combineWordHinEngBan.py | rohun-tripati/pythonRepo | 91a7d536f7be05adc15e4d5add0a8a4a08c28c62 | [
"Unlicense"
] | 1 | 2018-06-25T19:20:48.000Z | 2018-06-25T19:20:48.000Z | Previous_State_On_Repo/StrokeRecoveryOffline/Data/code/combineWordHinEngBan.py | rohun-tripati/pythonRepo | 91a7d536f7be05adc15e4d5add0a8a4a08c28c62 | [
"Unlicense"
] | null | null | null | Previous_State_On_Repo/StrokeRecoveryOffline/Data/code/combineWordHinEngBan.py | rohun-tripati/pythonRepo | 91a7d536f7be05adc15e4d5add0a8a4a08c28c62 | [
"Unlicense"
] | null | null | null | #!/usr/bin/env python
import netcdf_helpers
from scipy import *
from optparse import OptionParser
from xml.dom.minidom import parse
import sys, time, os
# import tamil_extract as TE
# import bangla_extract as BE
import hindi_extract as HE
import english_extract as EE
import engword_extract as EWE
import hinword_extr... | 36.923077 | 134 | 0.754167 | 528 | 4,800 | 6.814394 | 0.36553 | 0.050584 | 0.066704 | 0.104503 | 0.243747 | 0.156754 | 0.156754 | 0.156754 | 0 | 0 | 0 | 0.121559 | 0.107083 | 4,800 | 129 | 135 | 37.209302 | 0.717919 | 0.368958 | 0 | 0.066667 | 0 | 0 | 0.153692 | 0.007685 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.166667 | null | null | 0.05 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
e8c8c6ba332d138eb5df5d89c42d3a0eb0e81de0 | 455 | py | Python | apps/carts/migrations/0003_cart_products.py | feliamunda/Django_Store | 13da471d8f492c9cb0d3f596a8ec1ed38ab177f4 | [
"Apache-2.0"
] | null | null | null | apps/carts/migrations/0003_cart_products.py | feliamunda/Django_Store | 13da471d8f492c9cb0d3f596a8ec1ed38ab177f4 | [
"Apache-2.0"
] | null | null | null | apps/carts/migrations/0003_cart_products.py | feliamunda/Django_Store | 13da471d8f492c9cb0d3f596a8ec1ed38ab177f4 | [
"Apache-2.0"
] | null | null | null | # Generated by Django 3.0.3 on 2020-02-07 02:00
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('products', '0001_initial'),
('carts', '0002_cart_user'),
]
operations = [
migrations.AddField(
model_name='cart',
... | 22.75 | 94 | 0.6 | 47 | 455 | 5.723404 | 0.744681 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069069 | 0.268132 | 455 | 19 | 95 | 23.947368 | 0.738739 | 0.098901 | 0 | 0 | 1 | 0 | 0.208333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.076923 | 0 | 0.307692 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
e8c9eb405fb21c05adf4cbc1d6facbb50d187695 | 2,110 | py | Python | person/models.py | rgrlinux/nss | 4bf881a6740746d17101d30fcfbd5abe0e1de213 | [
"Apache-2.0"
] | null | null | null | person/models.py | rgrlinux/nss | 4bf881a6740746d17101d30fcfbd5abe0e1de213 | [
"Apache-2.0"
] | null | null | null | person/models.py | rgrlinux/nss | 4bf881a6740746d17101d30fcfbd5abe0e1de213 | [
"Apache-2.0"
] | null | null | null | from django.db import models
from django.db.models import base
from django.db.models.deletion import CASCADE
from django.db.models.expressions import F
from localflavor.br.models import BRCPFField
from localflavor.br.validators import BRCPFValidator
class PersonType(models.Model):
id = models.AutoField(primary_ke... | 36.37931 | 114 | 0.733175 | 283 | 2,110 | 5.332155 | 0.219081 | 0.072896 | 0.083499 | 0.111332 | 0.664016 | 0.646786 | 0.572565 | 0.526176 | 0.526176 | 0.526176 | 0 | 0.007843 | 0.154028 | 2,110 | 58 | 115 | 36.37931 | 0.837535 | 0 | 0 | 0.47619 | 0 | 0 | 0.010422 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | false | 0 | 0.142857 | 0.071429 | 0.928571 | 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 |
e8cb85aaea595d6f1217bb1cddca3303e8034ade | 9,771 | py | Python | video_info.py | ondrasouk/encoders-comparison-tool | 81d257cf42865a9d70b19e8ed8ff7deab76af9b5 | [
"MIT"
] | 1 | 2021-12-30T19:44:13.000Z | 2021-12-30T19:44:13.000Z | video_info.py | ondrasouk/encoders-comparison-tool | 81d257cf42865a9d70b19e8ed8ff7deab76af9b5 | [
"MIT"
] | null | null | null | video_info.py | ondrasouk/encoders-comparison-tool | 81d257cf42865a9d70b19e8ed8ff7deab76af9b5 | [
"MIT"
] | null | null | null | import subprocess
binaries = {}
# Videofiles properties. Key is video file path.
videofiles_frame_num = {}
videofiles_duration = {}
videofiles_framerate = {}
videofiles_resolution = {}
videofiles_pix_fmt = {}
pix_fmts_bpp = {}
def set_defaults(binaries_ent):
global binaries
binaries = {**binaries, **binarie... | 30.064615 | 128 | 0.588988 | 1,064 | 9,771 | 5.221805 | 0.125 | 0.112851 | 0.052916 | 0.060475 | 0.770698 | 0.717243 | 0.686645 | 0.605112 | 0.576494 | 0.533657 | 0 | 0.006605 | 0.318186 | 9,771 | 324 | 129 | 30.157407 | 0.827379 | 0.169993 | 0 | 0.672489 | 0 | 0 | 0.10285 | 0.01292 | 0 | 0 | 0 | 0 | 0 | 1 | 0.048035 | false | 0.026201 | 0.004367 | 0.008734 | 0.122271 | 0.0131 | 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 |
e8cca5ef3856a03750bf9b33ba1e262de60cfa82 | 7,729 | py | Python | back/slidingpuzzle.py | monoklabs/Econ-Puzzle-Experiment | 07808286b73efc745e92d16102f4a7d2fbbd5d70 | [
"MIT"
] | 2 | 2020-09-21T10:07:44.000Z | 2021-05-03T14:55:50.000Z | back/slidingpuzzle.py | siriisa/Econ-Puzzle-Experiment | 28112e5855a647fb94dedcce84811064237102b6 | [
"MIT"
] | 3 | 2020-04-06T05:05:54.000Z | 2022-03-24T18:04:53.000Z | back/slidingpuzzle.py | monoklabs/Econ-Puzzle-Experiment | 07808286b73efc745e92d16102f4a7d2fbbd5d70 | [
"MIT"
] | 2 | 2019-09-27T18:06:42.000Z | 2020-12-03T22:29:15.000Z | # -*- coding: utf-8 -*-
"""
A* sliding puzzle solver
Solver script for the fifteen-puzzle and derivations of it (8-puzzle etc.),
based on what we've learnt on ai-class.com so far. Don't expect it to run very
fast, certain puzzle states take ages to solve. I have documented and
commented the code thoroughly, so hopefull... | 33.899123 | 108 | 0.554276 | 1,030 | 7,729 | 4.101942 | 0.275728 | 0.015148 | 0.013254 | 0.001893 | 0.027929 | 0.016568 | 0.008994 | 0 | 0 | 0 | 0 | 0.016367 | 0.351792 | 7,729 | 227 | 109 | 34.048458 | 0.826946 | 0.134946 | 0 | 0.040816 | 0 | 0 | 0.036006 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.061224 | null | null | 0.05102 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 |
e8cd6ddc5a43cbcd17e7b8b7f938d6c219609139 | 6,993 | py | Python | python/fds.protobuf.stach.v2/fds/protobuf/stach/v2/table/TableData_pb2.py | saigiridhar21/stachschema-sdks | 8da7f84307eed2e7fd49658b72a258a2a7f485b1 | [
"Apache-2.0"
] | null | null | null | python/fds.protobuf.stach.v2/fds/protobuf/stach/v2/table/TableData_pb2.py | saigiridhar21/stachschema-sdks | 8da7f84307eed2e7fd49658b72a258a2a7f485b1 | [
"Apache-2.0"
] | 6 | 2020-12-14T14:08:49.000Z | 2022-01-07T09:47:06.000Z | python/fds.protobuf.stach.v2/fds/protobuf/stach/v2/table/TableData_pb2.py | saigiridhar21/stachschema-sdks | 8da7f84307eed2e7fd49658b72a258a2a7f485b1 | [
"Apache-2.0"
] | 6 | 2021-01-05T15:16:33.000Z | 2021-03-19T13:33:33.000Z | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: fds/protobuf/stach/v2/table/TableData.proto
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf impor... | 49.246479 | 942 | 0.794509 | 931 | 6,993 | 5.627282 | 0.160043 | 0.079404 | 0.091621 | 0.110708 | 0.676274 | 0.620157 | 0.603359 | 0.539607 | 0.486161 | 0.454094 | 0 | 0.037875 | 0.09009 | 6,993 | 141 | 943 | 49.595745 | 0.785479 | 0.053768 | 0 | 0.525424 | 1 | 0.016949 | 0.270389 | 0.242094 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.059322 | 0 | 0.059322 | 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 |
e8d6b653c8c4d26ddcc1c9855c78e6fc8702f12b | 3,092 | py | Python | tests/test_all.py | thilp/ecological | 13ced02cc5c3c3897102b111a03dc0b87c851d7e | [
"MIT"
] | null | null | null | tests/test_all.py | thilp/ecological | 13ced02cc5c3c3897102b111a03dc0b87c851d7e | [
"MIT"
] | null | null | null | tests/test_all.py | thilp/ecological | 13ced02cc5c3c3897102b111a03dc0b87c851d7e | [
"MIT"
] | null | null | null | #!/usr/bin/python3
import typing
import pytest
import ecological
def test_regular_types(monkeypatch):
monkeypatch.setenv("INTEGER", "42")
monkeypatch.setenv("BOOLEAN", "False")
monkeypatch.setenv("ANY_STR", "AnyStr Example")
monkeypatch.setenv("TEXT", "Text Example")
monkeypatch.setenv("DICT", ... | 30.613861 | 87 | 0.691462 | 343 | 3,092 | 6.099125 | 0.198251 | 0.145315 | 0.09369 | 0.127151 | 0.384799 | 0.307361 | 0.239006 | 0.187381 | 0.142447 | 0.076482 | 0 | 0.015713 | 0.197283 | 3,092 | 100 | 88 | 30.92 | 0.827156 | 0.005498 | 0 | 0.28169 | 0 | 0 | 0.138256 | 0.008783 | 0 | 0 | 0 | 0 | 0.225352 | 1 | 0.098592 | false | 0 | 0.042254 | 0 | 0.521127 | 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 |
e8d6eaedff5eaf2a86dfaacd4b60091dd32460b8 | 3,487 | py | Python | sdk/python/pulumi_google_native/apigee/v1/get_override.py | AaronFriel/pulumi-google-native | 75d1cda425e33d4610348972cd70bddf35f1770d | [
"Apache-2.0"
] | 44 | 2021-04-18T23:00:48.000Z | 2022-02-14T17:43:15.000Z | sdk/python/pulumi_google_native/apigee/v1/get_override.py | AaronFriel/pulumi-google-native | 75d1cda425e33d4610348972cd70bddf35f1770d | [
"Apache-2.0"
] | 354 | 2021-04-16T16:48:39.000Z | 2022-03-31T17:16:39.000Z | sdk/python/pulumi_google_native/apigee/v1/get_override.py | AaronFriel/pulumi-google-native | 75d1cda425e33d4610348972cd70bddf35f1770d | [
"Apache-2.0"
] | 8 | 2021-04-24T17:46:51.000Z | 2022-01-05T10:40:21.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi SDK Generator. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from ... import _utilities
fro... | 34.87 | 124 | 0.661313 | 384 | 3,487 | 5.716146 | 0.307292 | 0.04738 | 0.021868 | 0.041002 | 0.197267 | 0.092483 | 0.057403 | 0 | 0 | 0 | 0 | 0.00113 | 0.238887 | 3,487 | 99 | 125 | 35.222222 | 0.825923 | 0.129911 | 0 | 0.044776 | 1 | 0 | 0.137496 | 0.039236 | 0 | 0 | 0 | 0 | 0 | 1 | 0.104478 | false | 0 | 0.089552 | 0 | 0.298507 | 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 |
e8d77a779d54fa02e46590fa4d1f3240b9b5976d | 3,510 | py | Python | SSH-Honeypot-master/SSH.py | Zusyaku/Termux-And-Lali-Linux-V2 | b1a1b0841d22d4bf2cc7932b72716d55f070871e | [
"Apache-2.0"
] | 2 | 2021-11-17T03:35:03.000Z | 2021-12-08T06:00:31.000Z | SSH-Honeypot-master/SSH.py | Zusyaku/Termux-And-Lali-Linux-V2 | b1a1b0841d22d4bf2cc7932b72716d55f070871e | [
"Apache-2.0"
] | null | null | null | SSH-Honeypot-master/SSH.py | Zusyaku/Termux-And-Lali-Linux-V2 | b1a1b0841d22d4bf2cc7932b72716d55f070871e | [
"Apache-2.0"
] | 2 | 2021-11-05T18:07:48.000Z | 2022-02-24T21:25:07.000Z | #Author:D4Vinci
#Squnity Developers
import socket
our_log=open("Attackers_Data.txt","w") #Our text file to save attackers data in it
def ssh(msg="",listeners=2):
welcome="""Welcome to BackBox Linux 4.5 (GNU/Linux 4.2.0-30-generic i686)\n
* Documentation: http://www.backbox.org/\n\n
The programs included with th... | 43.875 | 169 | 0.54359 | 528 | 3,510 | 3.570076 | 0.310606 | 0.039788 | 0.05252 | 0.040849 | 0.484881 | 0.471088 | 0.433952 | 0.433952 | 0.42122 | 0.42122 | 0 | 0.06365 | 0.25698 | 3,510 | 80 | 170 | 43.875 | 0.659126 | 0.028205 | 0 | 0.169014 | 0 | 0.084507 | 0.417547 | 0.032277 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.014085 | 0.014085 | null | null | 0.140845 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 |
2cd0fa171c0045c3c30085fa3baab020cce29c50 | 4,130 | py | Python | people_counter_app/inference.py | serisaigeetha/Edge_AI | 4d935d2f9e8358b21da93dd7b2ada7c135449435 | [
"MIT"
] | null | null | null | people_counter_app/inference.py | serisaigeetha/Edge_AI | 4d935d2f9e8358b21da93dd7b2ada7c135449435 | [
"MIT"
] | 7 | 2021-03-19T14:38:50.000Z | 2022-03-12T00:46:14.000Z | people_counter_app/inference.py | serisaigeetha/Edge_AI | 4d935d2f9e8358b21da93dd7b2ada7c135449435 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
"""
Copyright (c) 2018 Intel Corporation.
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, mod... | 35.913043 | 108 | 0.661743 | 536 | 4,130 | 4.998134 | 0.375 | 0.031355 | 0.027996 | 0.020157 | 0.053751 | 0.02165 | 0 | 0 | 0 | 0 | 0 | 0.004515 | 0.249153 | 4,130 | 114 | 109 | 36.22807 | 0.8594 | 0.498547 | 0 | 0.054054 | 0 | 0 | 0.059278 | 0.046392 | 0 | 0 | 0 | 0.017544 | 0 | 1 | 0.162162 | false | 0 | 0.108108 | 0 | 0.432432 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.