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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
264caa017fef9fb7be990ed8ee38d2f75362a738 | 9,462 | py | Python | south/db/sqlite3.py | nimalegebihahaha/my_blog | 5cf718e11a708d3268c340cbd1b35a25fb03240b | [
"BSD-3-Clause"
] | 5 | 2016-01-15T08:09:48.000Z | 2018-07-07T13:20:33.000Z | south/db/sqlite3.py | nimalegebihahaha/my_blog | 5cf718e11a708d3268c340cbd1b35a25fb03240b | [
"BSD-3-Clause"
] | null | null | null | south/db/sqlite3.py | nimalegebihahaha/my_blog | 5cf718e11a708d3268c340cbd1b35a25fb03240b | [
"BSD-3-Clause"
] | 4 | 2015-06-09T08:44:35.000Z | 2019-07-31T00:13:11.000Z | import inspect
import re
from django.db import connection
from django.db.models import ForeignKey
from south.db import generic
# from how .schema works as shown on http://www.sqlite.org/sqlite.html
GET_TABLE_DEF_SQL = """
SELECT sql FROM
(SELECT * FROM sqlite_master UNION ALL
SELECT * FROM sqlite_... | 41.867257 | 145 | 0.605897 | 1,201 | 9,462 | 4.559534 | 0.209825 | 0.085464 | 0.030862 | 0.02301 | 0.274288 | 0.237765 | 0.210738 | 0.188459 | 0.163988 | 0.149744 | 0 | 0.003344 | 0.304692 | 9,462 | 225 | 146 | 42.053333 | 0.829001 | 0.114564 | 0 | 0.2 | 0 | 0 | 0.116461 | 0.003529 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.033333 | null | null | 0.013333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 |
265a72ed860fae0e9898bf3b90b94b40e8235053 | 3,018 | py | Python | manga_py/cli/__init__.py | gromenauer/manga-py | 2bc5a8bc87877d4447e08e48045fad82ade1ebd0 | [
"MIT"
] | 4 | 2018-07-05T11:03:22.000Z | 2020-03-27T13:21:56.000Z | manga_py/cli/__init__.py | gromenauer/manga-py | 2bc5a8bc87877d4447e08e48045fad82ade1ebd0 | [
"MIT"
] | null | null | null | manga_py/cli/__init__.py | gromenauer/manga-py | 2bc5a8bc87877d4447e08e48045fad82ade1ebd0 | [
"MIT"
] | 1 | 2019-07-04T21:41:06.000Z | 2019-07-04T21:41:06.000Z | import atexit
import json
from shutil import rmtree
from zenlog import log
from manga_py.libs import fs
from manga_py.libs.modules import info
from . import args
from ._helper import CliHelper
from .db import DataBase
from manga_py.provider import Provider
from manga_py.libs.db import Manga
class Cli(CliHelper):
... | 33.164835 | 88 | 0.56395 | 362 | 3,018 | 4.441989 | 0.256906 | 0.034826 | 0.027363 | 0.034826 | 0.246269 | 0.235697 | 0.220149 | 0.220149 | 0.220149 | 0.220149 | 0 | 0.000495 | 0.331014 | 3,018 | 90 | 89 | 33.533333 | 0.795939 | 0.037773 | 0 | 0.233766 | 0 | 0 | 0.073524 | 0.007939 | 0 | 0 | 0 | 0.011111 | 0 | 1 | 0.064935 | false | 0 | 0.142857 | 0 | 0.233766 | 0.012987 | 0 | 0 | 0 | null | 0 | 0 | 0 | 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 |
265abaab9bf29a2dada42462021e50c85eacfefb | 679 | py | Python | music_dl/main.py | jmf11493/MusicDownloader | a1a81ebcb81e308ba8eb5b2988d555538a8f5b85 | [
"MIT"
] | 1 | 2020-11-23T23:03:37.000Z | 2020-11-23T23:03:37.000Z | music_dl/main.py | jmf11493/MusicDownloader | a1a81ebcb81e308ba8eb5b2988d555538a8f5b85 | [
"MIT"
] | null | null | null | music_dl/main.py | jmf11493/MusicDownloader | a1a81ebcb81e308ba8eb5b2988d555538a8f5b85 | [
"MIT"
] | null | null | null | '''
Created on Aug 5, 2020
@author: Jeff
'''
from PyQt5 import QtWidgets
import sys
from music_dl.audio_formatter import AudioFormatter
from music_dl.song_download_controller import SongDownloadController
from music_dl.song_download_model import SongDownloadModel
from music_dl.song_download_view import SongDownloadV... | 29.521739 | 69 | 0.782032 | 76 | 679 | 6.697368 | 0.486842 | 0.070727 | 0.086444 | 0.088409 | 0.13556 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010327 | 0.14433 | 679 | 23 | 70 | 29.521739 | 0.865749 | 0.054492 | 0 | 0 | 0 | 0 | 0.012598 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 |
2665f6d3d8e5309b55cafd74a51f75adf3d87a16 | 1,996 | py | Python | scripts/prepare_data.py | dokaptur/neural-fanfiction-generator | 41b2305f96d97beb6752b306ebd8e05e14ffae12 | [
"MIT"
] | null | null | null | scripts/prepare_data.py | dokaptur/neural-fanfiction-generator | 41b2305f96d97beb6752b306ebd8e05e14ffae12 | [
"MIT"
] | null | null | null | scripts/prepare_data.py | dokaptur/neural-fanfiction-generator | 41b2305f96d97beb6752b306ebd8e05e14ffae12 | [
"MIT"
] | null | null | null | from simulation.generate_story import tokenize
from learning.create_vocabulary import create_vocab
import argparse
import os
import random
import shutil
import sys
def main():
parser = argparse.ArgumentParser()
parser.add_argument('stories_dir', help='Directory containing stories.')
parser.add_argument('... | 36.962963 | 94 | 0.698397 | 276 | 1,996 | 4.818841 | 0.278986 | 0.12782 | 0.084211 | 0.033083 | 0.21203 | 0.192481 | 0.049624 | 0.049624 | 0 | 0 | 0 | 0.000619 | 0.190882 | 1,996 | 53 | 95 | 37.660377 | 0.82291 | 0 | 0 | 0.04878 | 1 | 0 | 0.135271 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.02439 | false | 0 | 0.170732 | 0 | 0.195122 | 0.04878 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
266ab39134fc845520f940dc81f1ee354f49dec8 | 1,335 | py | Python | flightControl/Python/esc.py | robertIanClarkson/Air-Pixel | 3105cd5c21955bd00c68c8a6f59fcb2abad73813 | [
"MIT"
] | null | null | null | flightControl/Python/esc.py | robertIanClarkson/Air-Pixel | 3105cd5c21955bd00c68c8a6f59fcb2abad73813 | [
"MIT"
] | null | null | null | flightControl/Python/esc.py | robertIanClarkson/Air-Pixel | 3105cd5c21955bd00c68c8a6f59fcb2abad73813 | [
"MIT"
] | null | null | null | from time import sleep
import pigpio
import RPi.GPIO as GPIO
# Init
GPIO.setmode(GPIO.BCM)
pi = pigpio.pi()
# USER
ESC_GPIO = input("------ Set Pin: ")
startPower = input("------ Set Power( 1130 - 1805 ): ")
# Calibrate ESC
pi.set_servo_pulsewidth(ESC_GPIO, 1860) # Maximum throttle.
print("------ Init Throttle 1860... | 23.017241 | 70 | 0.613483 | 187 | 1,335 | 4.245989 | 0.320856 | 0.079345 | 0.100756 | 0.201511 | 0.337531 | 0.337531 | 0.151134 | 0 | 0 | 0 | 0 | 0.065985 | 0.194007 | 1,335 | 57 | 71 | 23.421053 | 0.671933 | 0.044195 | 0 | 0.156863 | 0 | 0 | 0.23745 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.058824 | 0 | 0.058824 | 0.254902 | 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 |
266c86a024a873684572b1fd6584e4ba3a579907 | 13,048 | py | Python | databricks/koalas/indexes/datetimes.py | lfdversluis/koalas | 9150ca479d439d100ad4a8c752b0a9bbdc990fed | [
"Apache-2.0"
] | null | null | null | databricks/koalas/indexes/datetimes.py | lfdversluis/koalas | 9150ca479d439d100ad4a8c752b0a9bbdc990fed | [
"Apache-2.0"
] | null | null | null | databricks/koalas/indexes/datetimes.py | lfdversluis/koalas | 9150ca479d439d100ad4a8c752b0a9bbdc990fed | [
"Apache-2.0"
] | null | null | null | #
# Copyright (C) 2019 Databricks, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to i... | 30.064516 | 96 | 0.590819 | 1,634 | 13,048 | 4.615667 | 0.197674 | 0.016574 | 0.043755 | 0.049589 | 0.370194 | 0.341156 | 0.311854 | 0.305622 | 0.281623 | 0.215858 | 0 | 0.032573 | 0.301196 | 13,048 | 433 | 97 | 30.133949 | 0.794582 | 0.529506 | 0 | 0.1875 | 0 | 0 | 0.021947 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.203125 | false | 0 | 0.070313 | 0.039063 | 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 |
26708083695fbf24713ebc40f218118bbea6f4eb | 256 | py | Python | backend/manage.py | Naenoh/FG-Vault | 0a9bb4bcd12c8f4318167e526fcfb4b7037b1094 | [
"MIT"
] | 1 | 2018-12-30T14:53:06.000Z | 2018-12-30T14:53:06.000Z | backend/manage.py | Naenoh/FG-Vault | 0a9bb4bcd12c8f4318167e526fcfb4b7037b1094 | [
"MIT"
] | 6 | 2018-12-29T17:10:30.000Z | 2019-01-28T23:16:30.000Z | backend/manage.py | Naenoh/FG-Vault | 0a9bb4bcd12c8f4318167e526fcfb4b7037b1094 | [
"MIT"
] | null | null | null | from flask_script import Manager
from app import main, db
from flask_migrate import Migrate, MigrateCommand
migrate = Migrate(main.app, db)
manager = Manager(main.app)
manager.add_command('db', MigrateCommand)
if __name__ == '__main__':
manager.run() | 25.6 | 49 | 0.773438 | 35 | 256 | 5.342857 | 0.428571 | 0.096257 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128906 | 256 | 10 | 50 | 25.6 | 0.838565 | 0 | 0 | 0 | 0 | 0 | 0.038911 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.375 | 0 | 0.375 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 |
26730002309b18e80bd72c8cdbabb036be73c4f0 | 331 | py | Python | Kitchen_Order/Order_app/migrations/0011_auto_20210113_0026.py | remiljw/Kitchen-Order | cbf758f765e05548ec8a4f30de3c5ee7b73b8e9d | [
"MIT"
] | null | null | null | Kitchen_Order/Order_app/migrations/0011_auto_20210113_0026.py | remiljw/Kitchen-Order | cbf758f765e05548ec8a4f30de3c5ee7b73b8e9d | [
"MIT"
] | null | null | null | Kitchen_Order/Order_app/migrations/0011_auto_20210113_0026.py | remiljw/Kitchen-Order | cbf758f765e05548ec8a4f30de3c5ee7b73b8e9d | [
"MIT"
] | 1 | 2021-01-13T19:24:48.000Z | 2021-01-13T19:24:48.000Z | # Generated by Django 3.1.5 on 2021-01-13 00:26
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('Order_app', '0010_auto_20210112_2153'),
]
operations = [
migrations.RenameModel(
old_name='Orders',
new_name='Order',
... | 18.388889 | 49 | 0.595166 | 37 | 331 | 5.162162 | 0.837838 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132479 | 0.293051 | 331 | 17 | 50 | 19.470588 | 0.683761 | 0.135952 | 0 | 0 | 1 | 0 | 0.151408 | 0.080986 | 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 |
267e1b38bc2f9dddde33bd2f37be857cb0fd783f | 737 | py | Python | AtC_Beg_Con_101-110/ABC107/B.py | yosho-18/AtCoder | 50f6d5c92a01792552c31ac912ce1cd557b06fb0 | [
"MIT"
] | null | null | null | AtC_Beg_Con_101-110/ABC107/B.py | yosho-18/AtCoder | 50f6d5c92a01792552c31ac912ce1cd557b06fb0 | [
"MIT"
] | null | null | null | AtC_Beg_Con_101-110/ABC107/B.py | yosho-18/AtCoder | 50f6d5c92a01792552c31ac912ce1cd557b06fb0 | [
"MIT"
] | null | null | null | h, w = map(int, input().split())
s = []
for i in range(h):
a = input()
s.append([str(m) for m in list(str(a))])
coi = 0
p = len(s)
for i in range(h):
i = i - coi
"""if i > len(s) - 1 - coi:
break"""
#for j in range(w):
if "#" not in s[i]:
s.pop(i)
p = len(s)
coi... | 18.897436 | 46 | 0.396201 | 133 | 737 | 2.195489 | 0.233083 | 0.191781 | 0.10274 | 0.188356 | 0.390411 | 0.191781 | 0 | 0 | 0 | 0 | 0 | 0.017778 | 0.389417 | 737 | 39 | 47 | 18.897436 | 0.631111 | 0.024423 | 0 | 0.214286 | 0 | 0 | 0.004808 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.035714 | 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 |
267e9f3d702aa58a01b5c021bfe38089e7d1c357 | 510 | py | Python | jquery/tests/test_start.py | imsardine/learning | 925841ddd93d60c740a62e12d9f57ef15b6e0a20 | [
"MIT"
] | null | null | null | jquery/tests/test_start.py | imsardine/learning | 925841ddd93d60c740a62e12d9f57ef15b6e0a20 | [
"MIT"
] | null | null | null | jquery/tests/test_start.py | imsardine/learning | 925841ddd93d60c740a62e12d9f57ef15b6e0a20 | [
"MIT"
] | null | null | null | def test_hello_world(workspace):
workspace.src('index.html', '''
<html>
<head>
<script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
<script>
$(function() {
$('#who').html('World');
console.log($('#greeting').text());
});
</script>
</he... | 25.5 | 73 | 0.490196 | 59 | 510 | 4.20339 | 0.576271 | 0.080645 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007895 | 0.254902 | 510 | 19 | 74 | 26.842105 | 0.644737 | 0 | 0 | 0 | 0 | 0.055556 | 0.743137 | 0.162745 | 0 | 0 | 0 | 0 | 0.055556 | 1 | 0.055556 | false | 0 | 0 | 0 | 0.055556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
268316ceb160e0a868c2d88c920f02059928ee66 | 339 | py | Python | virtz/game/taskmaster.py | wnormandin/virtz | 9abb3f73eee5636ef7eb553c42ac7eb8f51fdd04 | [
"MIT"
] | null | null | null | virtz/game/taskmaster.py | wnormandin/virtz | 9abb3f73eee5636ef7eb553c42ac7eb8f51fdd04 | [
"MIT"
] | null | null | null | virtz/game/taskmaster.py | wnormandin/virtz | 9abb3f73eee5636ef7eb553c42ac7eb8f51fdd04 | [
"MIT"
] | null | null | null |
from .models import Task
task_reference = {'task_name':{'property1':'value1'}}
class TaskMaster:
''' TaskMaster class for managing user-created tasks '''
def __init__(self, task_queue):
self.task_queue = task_queue
def push_task(self, **kwargs):
''' Created a task and puts it into th... | 17.842105 | 62 | 0.657817 | 44 | 339 | 4.840909 | 0.613636 | 0.169014 | 0.122066 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007605 | 0.224189 | 339 | 18 | 63 | 18.833333 | 0.802281 | 0.283186 | 0 | 0 | 0 | 0 | 0.106667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
26905cb1624ea045ce798c1888604a2569826341 | 3,138 | py | Python | examples/multiple_calibration_analysis.py | JLSirvent/bws-calibration-analysis | b2f129e31974c16d7498e105a075b43bfece92c9 | [
"MIT"
] | null | null | null | examples/multiple_calibration_analysis.py | JLSirvent/bws-calibration-analysis | b2f129e31974c16d7498e105a075b43bfece92c9 | [
"MIT"
] | null | null | null | examples/multiple_calibration_analysis.py | JLSirvent/bws-calibration-analysis | b2f129e31974c16d7498e105a075b43bfece92c9 | [
"MIT"
] | null | null | null | # --------------------------------------------------------------------------
# Copyright (c) <2017> <Lionel Garcia>
# BE-BI-PM, CERN (European Organization for Nuclear Research)
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files ... | 57.054545 | 82 | 0.662843 | 432 | 3,138 | 4.467593 | 0.342593 | 0.070466 | 0.105699 | 0.149741 | 0.317617 | 0.317617 | 0.317617 | 0.317617 | 0.267358 | 0 | 0 | 0.119348 | 0.217655 | 3,138 | 54 | 83 | 58.111111 | 0.666802 | 0.462715 | 0 | 0 | 0 | 0 | 0.575 | 0.4675 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.047619 | 0 | 0.047619 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
13fcd9b4a315b5625ee69751466c191671fb353d | 605 | py | Python | rev/VerytriVialreVersing/solve.py | NoXLaw/RaRCTF2021-Challenges-Public | 1a1b094359b88f8ebbc83a6b26d27ffb2602458f | [
"MIT"
] | null | null | null | rev/VerytriVialreVersing/solve.py | NoXLaw/RaRCTF2021-Challenges-Public | 1a1b094359b88f8ebbc83a6b26d27ffb2602458f | [
"MIT"
] | null | null | null | rev/VerytriVialreVersing/solve.py | NoXLaw/RaRCTF2021-Challenges-Public | 1a1b094359b88f8ebbc83a6b26d27ffb2602458f | [
"MIT"
] | null | null | null | from z3 import *
s = Solver()
target = [0x98, 0x69, 0x98, 0x67, 0x9e, 0x64, 0x9f, 0x77, 0xad, 0x65, 0x76, 0x76, 0xb2, 0x69, 0x9e, 0x73, 0xa9, 0x57, 0xb4, 0x23, 0x9e, 0x77, 0xb3, 0x92, 0xa9, 0x58, 0xae, 0x2d, 0x59, 0x65, 0xa8, 0x15, 0x59, 0x21, 0xad, 0x66, 0xa5]
flag = [BitVec("flag_%s" % i, 8) for i in range(0, len(ta... | 30.25 | 231 | 0.6 | 108 | 605 | 3.342593 | 0.537037 | 0.033241 | 0.049862 | 0.060942 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.22449 | 0.190083 | 605 | 19 | 232 | 31.842105 | 0.512245 | 0 | 0 | 0 | 0 | 0 | 0.01157 | 0 | 0 | 0 | 0.271074 | 0 | 0 | 1 | 0 | false | 0 | 0.071429 | 0 | 0.071429 | 0.142857 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
cd068c0bb89f40fef2ad4e39d200c0cf294660b8 | 11,383 | py | Python | Django_UCSD/Job/views.py | yotohoshi/UCSDweb_design | eb6e9b61b78b33456c083bb3cb910b00fd527665 | [
"MIT"
] | null | null | null | Django_UCSD/Job/views.py | yotohoshi/UCSDweb_design | eb6e9b61b78b33456c083bb3cb910b00fd527665 | [
"MIT"
] | null | null | null | Django_UCSD/Job/views.py | yotohoshi/UCSDweb_design | eb6e9b61b78b33456c083bb3cb910b00fd527665 | [
"MIT"
] | null | null | null | from django.http import JsonResponse
from django.shortcuts import render, redirect
from Job.models import Job, Referral
from django.views.generic import (TemplateView, ListView,
DetailView, CreateView,
UpdateView, DeleteView)
from django.core.paginator... | 28.600503 | 125 | 0.52473 | 1,234 | 11,383 | 4.765802 | 0.141005 | 0.124129 | 0.193675 | 0.073457 | 0.383438 | 0.232954 | 0.1748 | 0.138072 | 0.12923 | 0.097943 | 0 | 0.004926 | 0.35799 | 11,383 | 398 | 126 | 28.600503 | 0.799808 | 0.022314 | 0 | 0.338658 | 0 | 0 | 0.066111 | 0.001992 | 0 | 0 | 0 | 0 | 0 | 1 | 0.044728 | false | 0 | 0.035144 | 0.022364 | 0.166134 | 0.01278 | 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 |
cd1377be052294293ab0a53e4c2f219c078c80f8 | 25,844 | py | Python | datasets/padchestmap.py | Nlin2/cxr_covid | 537bf1efd02b89a7a85d42e89f0b69cfa0d38adf | [
"MIT"
] | 23 | 2020-09-15T03:39:35.000Z | 2022-02-23T11:22:20.000Z | datasets/padchestmap.py | Nlin2/cxr_covid | 537bf1efd02b89a7a85d42e89f0b69cfa0d38adf | [
"MIT"
] | 5 | 2020-11-19T00:31:33.000Z | 2021-10-29T22:17:05.000Z | datasets/padchestmap.py | Nlin2/cxr_covid | 537bf1efd02b89a7a85d42e89f0b69cfa0d38adf | [
"MIT"
] | 4 | 2020-09-15T14:43:18.000Z | 2021-08-01T14:14:50.000Z | #!/usr/bin/env python
# padchestmap.py
# Manually curated map from PadChest labels to CheXpert labels
padchesttochexpert = {
"abnormal foreign body": "",
"abscess": "", # Lung Lesion?
"adenopathy": "",
"air... | 62.576271 | 123 | 0.359 | 1,216 | 25,844 | 7.624178 | 0.223684 | 0.04746 | 0.044871 | 0.038831 | 0.608133 | 0.549132 | 0.445799 | 0.395534 | 0.352066 | 0.285622 | 0 | 0.000336 | 0.539351 | 25,844 | 412 | 124 | 62.728155 | 0.778412 | 0.063767 | 0 | 0.517949 | 0 | 0 | 0.367564 | 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 | 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 |
cd2379392ae351398b8492e451131a304f3d1498 | 7,517 | py | Python | bin/noise/stretching_plot_all_interesting_stuff.py | trichter/sito | 1b3895f3a56fe0fa6cdce1201545111025d606c8 | [
"MIT"
] | 18 | 2015-01-30T00:48:30.000Z | 2021-04-03T03:11:15.000Z | bin/noise/stretching_plot_all_interesting_stuff.py | trichter/sito | 1b3895f3a56fe0fa6cdce1201545111025d606c8 | [
"MIT"
] | null | null | null | bin/noise/stretching_plot_all_interesting_stuff.py | trichter/sito | 1b3895f3a56fe0fa6cdce1201545111025d606c8 | [
"MIT"
] | 21 | 2015-04-09T13:55:13.000Z | 2021-06-19T22:22:08.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# by TR
import matplotlib.pyplot as plt
import matplotlib as mpl
import matplotlib.dates as mdates
from sito import read
import numpy as np
import csv
mpl.rcParams.update({'font.size': 15})
#maj_loc = mdates.MonthLocator()
#min_loc = mdates.DayLocator((5, 10, 15, 20, 25)... | 35.29108 | 133 | 0.562724 | 1,265 | 7,517 | 3.243478 | 0.268775 | 0.023885 | 0.021935 | 0.02681 | 0.244212 | 0.221301 | 0.1806 | 0.165976 | 0.153059 | 0.127224 | 0 | 0.089817 | 0.235732 | 7,517 | 212 | 134 | 35.457547 | 0.624369 | 0.123054 | 0 | 0.074534 | 0 | 0.018634 | 0.146754 | 0.03947 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.049689 | null | null | 0.024845 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 |
cd2d8816246ad2901cbf4e6299a8cfed4e88f11e | 17,296 | py | Python | config/sentences.py | abulow/ff_bot | 58c0ce1526fd9e42ccaec487cd006f667be8b056 | [
"MIT"
] | 2 | 2020-02-02T14:51:05.000Z | 2020-09-10T19:30:29.000Z | config/sentences.py | abulow/ff_bot | 58c0ce1526fd9e42ccaec487cd006f667be8b056 | [
"MIT"
] | 1 | 2018-10-26T19:15:26.000Z | 2018-10-26T19:15:26.000Z | config/sentences.py | abulow/ff_bot | 58c0ce1526fd9e42ccaec487cd006f667be8b056 | [
"MIT"
] | 1 | 2018-10-26T14:47:38.000Z | 2018-10-26T14:47:38.000Z | twitter_char_limit = 280
### Transactions
team1 = "team1_template"
team2 = "team2_template"
player1 = "player1_template"
position1 = "position1_template"
player2 = "player2_template"
position2 = "position2_template"
auction = "auction_template"
trade_sentences = [
'Sources to ESPN: ' + team1 + ' and ' + team2 + ' hav... | 104.824242 | 299 | 0.647259 | 2,141 | 17,296 | 5.144792 | 0.145259 | 0.041943 | 0.02542 | 0.039946 | 0.72365 | 0.696505 | 0.629233 | 0.594916 | 0.561144 | 0.527281 | 0 | 0.029209 | 0.212188 | 17,296 | 165 | 300 | 104.824242 | 0.779172 | 0.009424 | 0 | 0 | 0 | 0.013699 | 0.490915 | 0.020214 | 0 | 0 | 0 | 0 | 0 | 1 | 0.006849 | false | 0.034247 | 0 | 0 | 0.013699 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
cd33cc00801e0a438feefd0fc8d1ad5b0030e39d | 1,208 | py | Python | tests/decorator_test.py | lmicra/paco | 1e5ef4df317e7cbbcefdf67d8dee28ce90538f3d | [
"MIT"
] | 208 | 2016-10-24T13:17:08.000Z | 2022-03-12T05:39:21.000Z | tests/decorator_test.py | lmicra/paco | 1e5ef4df317e7cbbcefdf67d8dee28ce90538f3d | [
"MIT"
] | 39 | 2016-10-24T10:40:21.000Z | 2020-04-22T16:17:51.000Z | tests/decorator_test.py | lmicra/paco | 1e5ef4df317e7cbbcefdf67d8dee28ce90538f3d | [
"MIT"
] | 14 | 2016-11-29T11:37:34.000Z | 2021-09-30T12:27:00.000Z | # -*- coding: utf-8 -*-
import pytest
import asyncio
from paco.decorator import decorate
from .helpers import run_in_loop
@asyncio.coroutine
def coro(*args, **kw):
return args, kw
def sample(coro, *args, **kw):
return coro(*args, **kw)
def test_decorate_with_arguments():
wrapper = decorate(sample)
... | 21.192982 | 52 | 0.649834 | 163 | 1,208 | 4.644172 | 0.251534 | 0.055482 | 0.11889 | 0.043593 | 0.546896 | 0.351387 | 0.248349 | 0.248349 | 0.248349 | 0.214003 | 0 | 0.010373 | 0.201987 | 1,208 | 56 | 53 | 21.571429 | 0.774896 | 0.017384 | 0 | 0.305556 | 0 | 0 | 0.03038 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.222222 | false | 0 | 0.111111 | 0.055556 | 0.388889 | 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 |
cd381642b9b615ce54cde0544c355c211f5232ad | 461 | py | Python | scripts/issue_param_name.py | Jhsmit/awesome-panel | 53f7754f7c505a2666f6724df26c851ae942ec40 | [
"Apache-2.0"
] | 179 | 2019-12-04T14:54:53.000Z | 2022-03-30T09:08:38.000Z | scripts/issue_param_name.py | Jhsmit/awesome-panel | 53f7754f7c505a2666f6724df26c851ae942ec40 | [
"Apache-2.0"
] | 62 | 2019-12-14T16:51:28.000Z | 2022-03-19T18:47:12.000Z | scripts/issue_param_name.py | Jhsmit/awesome-panel | 53f7754f7c505a2666f6724df26c851ae942ec40 | [
"Apache-2.0"
] | 35 | 2019-12-08T13:19:53.000Z | 2022-03-25T10:33:02.000Z | import panel as pn
import param
class MyComponent(param.Parameterized):
selection1 = param.ObjectSelector()
selection2 = param.ObjectSelector()
component = MyComponent()
app = pn.Column(
pn.pane.Markdown("# Primary Selections"),
pn.Param(component, parameters=["selection1"], show_name=Fa... | 25.611111 | 69 | 0.694143 | 49 | 461 | 6.489796 | 0.469388 | 0.119497 | 0.08805 | 0.163522 | 0.226415 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010471 | 0.171367 | 461 | 17 | 70 | 27.117647 | 0.82199 | 0 | 0 | 0 | 0 | 0 | 0.13964 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.153846 | 0 | 0.384615 | 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 |
cd3a1a9affd90b35dbb486940503f6a50991c3e0 | 101 | py | Python | kwat/iterable/check.py | KwatME/ccal | d96dfa811482eee067f346386a2181ec514625f4 | [
"MIT"
] | 5 | 2017-05-05T17:50:28.000Z | 2019-01-30T19:23:02.000Z | kwat/iterable/check.py | KwatME/ccal | d96dfa811482eee067f346386a2181ec514625f4 | [
"MIT"
] | 5 | 2017-05-05T01:52:31.000Z | 2019-04-20T21:06:05.000Z | kwat/iterable/check.py | KwatME/ccal | d96dfa811482eee067f346386a2181ec514625f4 | [
"MIT"
] | 5 | 2017-07-17T18:55:54.000Z | 2019-02-02T04:46:19.000Z | def check(an_):
try:
iter(an_)
return True
except:
return False
| 8.416667 | 20 | 0.475248 | 11 | 101 | 4.181818 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.455446 | 101 | 11 | 21 | 9.181818 | 0.836364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 0 | 0.5 | 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 |
cd3a2886ede842efb861e211a37689abd95e0f37 | 3,888 | py | Python | tests/io/test_dictfile.py | sayerhs/cpl | 4af066a1f8b48d6578807e59627d24b81fda3667 | [
"Apache-2.0"
] | null | null | null | tests/io/test_dictfile.py | sayerhs/cpl | 4af066a1f8b48d6578807e59627d24b81fda3667 | [
"Apache-2.0"
] | 25 | 2018-04-11T17:44:34.000Z | 2021-07-19T16:57:17.000Z | tests/io/test_dictfile.py | sayerhs/cpl | 4af066a1f8b48d6578807e59627d24b81fda3667 | [
"Apache-2.0"
] | 2 | 2019-03-28T12:12:58.000Z | 2021-05-02T16:18:16.000Z | # -*- coding: utf-8 -*-
# pylint: disable=missing-docstring,redefined-outer-name
import pytest
from caelus.utils import osutils
from caelus.config import get_config, cmlenv
from caelus.io.dictfile import ControlDict, TurbulenceProperties
from caelus.io import dtypes
from caelus.io.caelusdict import CaelusDict
class ... | 28.588235 | 66 | 0.664352 | 476 | 3,888 | 5.271008 | 0.298319 | 0.043842 | 0.051016 | 0.045436 | 0.303308 | 0.192507 | 0.141092 | 0.085293 | 0.085293 | 0.085293 | 0 | 0.017775 | 0.218621 | 3,888 | 135 | 67 | 28.8 | 0.808097 | 0.039866 | 0 | 0.156863 | 0 | 0 | 0.128364 | 0.052476 | 0 | 0 | 0 | 0 | 0.22549 | 1 | 0.176471 | false | 0 | 0.058824 | 0.107843 | 0.362745 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 |
cd447675019427104753a02cf035b963f3c043ef | 1,758 | py | Python | WorkerServer/Mask_RCNN/samples/app.py | DivJAth/DeepLearning5922 | b9114cb8d91c1784f1fe05cc69bc5906ab39bcb2 | [
"MIT"
] | 1 | 2019-07-15T21:49:40.000Z | 2019-07-15T21:49:40.000Z | WorkerServer/Mask_RCNN/samples/app.py | DivJAth/DeepLearning5922 | b9114cb8d91c1784f1fe05cc69bc5906ab39bcb2 | [
"MIT"
] | null | null | null | WorkerServer/Mask_RCNN/samples/app.py | DivJAth/DeepLearning5922 | b9114cb8d91c1784f1fe05cc69bc5906ab39bcb2 | [
"MIT"
] | 1 | 2019-07-15T21:49:41.000Z | 2019-07-15T21:49:41.000Z | from flask import Flask, request
import boto3
import json
import numpy as np
import sys
from handwritten_digit_recognition.resnet164 import ResNet164
## OR code start
import os
import sys
import random
import math
import numpy as np
import skimage.io
import matplotlib
import matplotlib.pyplot as plt
import sys
print... | 23.756757 | 77 | 0.750853 | 253 | 1,758 | 5.051383 | 0.395257 | 0.032864 | 0.031299 | 0.043818 | 0.090767 | 0.031299 | 0 | 0 | 0 | 0 | 0 | 0.016437 | 0.134812 | 1,758 | 73 | 78 | 24.082192 | 0.8238 | 0.14562 | 0 | 0.106383 | 0 | 0 | 0.118633 | 0.034182 | 0 | 0 | 0 | 0 | 0 | 1 | 0.042553 | false | 0 | 0.404255 | 0 | 0.468085 | 0.021277 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 |
cd54e36fe8af3ab4d1e47b00bfb875a4624ad0c9 | 2,842 | py | Python | src/ui/widget/DictionarySelectorPanel.py | BackupTheBerlios/kimchi | c169b42b6e883f0ab43643d74a31e1e360fd6560 | [
"BSD-3-Clause"
] | null | null | null | src/ui/widget/DictionarySelectorPanel.py | BackupTheBerlios/kimchi | c169b42b6e883f0ab43643d74a31e1e360fd6560 | [
"BSD-3-Clause"
] | null | null | null | src/ui/widget/DictionarySelectorPanel.py | BackupTheBerlios/kimchi | c169b42b6e883f0ab43643d74a31e1e360fd6560 | [
"BSD-3-Clause"
] | null | null | null | # coding: utf-8
'''
Copyright (c) 2010, Alexandru Dancu
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice,
this list of condit... | 40.028169 | 77 | 0.732935 | 350 | 2,842 | 5.928571 | 0.517143 | 0.040482 | 0.023133 | 0.022169 | 0.088675 | 0.065542 | 0.065542 | 0.065542 | 0.065542 | 0.065542 | 0 | 0.007073 | 0.204082 | 2,842 | 71 | 78 | 40.028169 | 0.910256 | 0.590781 | 0 | 0.086957 | 0 | 0 | 0.029386 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.086957 | false | 0 | 0.304348 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 |
cd59f282cc0a19e9f17709ff9e177685309ea71b | 8,089 | py | Python | gmconvert/src/emdb_python/biounit2gmm.py | fraser-lab/plumed_em_md | d561793f9a2444085a97249a3e1e97a05336395e | [
"MIT"
] | 1 | 2022-01-09T20:32:57.000Z | 2022-01-09T20:32:57.000Z | gmconvert/src/emdb_python/biounit2gmm.py | fraser-lab/plumed_em_md | d561793f9a2444085a97249a3e1e97a05336395e | [
"MIT"
] | null | null | null | gmconvert/src/emdb_python/biounit2gmm.py | fraser-lab/plumed_em_md | d561793f9a2444085a97249a3e1e97a05336395e | [
"MIT"
] | 2 | 2020-12-01T08:13:11.000Z | 2021-06-02T20:43:48.000Z | #!/usr/bin/env python
##
## <biounit2gmm.py>
##
import sys
import os
import random
from datetime import datetime
from xml.etree.ElementTree import *
import math
LastModDate = "Sep 21, 2014"
def read_option(argv,opt_dic):
opt_dic['COMMAND'] = argv[0]
now = datetime.now()
opt_dic['START_DATE'] = now.strftime("%... | 31.972332 | 170 | 0.556064 | 1,161 | 8,089 | 3.745047 | 0.198966 | 0.051518 | 0.052898 | 0.045078 | 0.347516 | 0.268629 | 0.2477 | 0.231601 | 0.217801 | 0.217801 | 0 | 0.018014 | 0.224502 | 8,089 | 252 | 171 | 32.099206 | 0.675116 | 0.096675 | 0 | 0.288136 | 0 | 0.028249 | 0.26811 | 0.015543 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.00565 | 0.033898 | null | null | 0.163842 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 |
cd5af8c282508ca64c37dbd9923599ab1338354f | 253 | py | Python | day34/problem.py | Nitin-Diwakar/100-days-of-code | 637006b111054ab9a3b81867d3395fefc6584f02 | [
"MIT"
] | 1 | 2021-04-24T11:51:00.000Z | 2021-04-24T11:51:00.000Z | day34/problem.py | Nitin-Diwakar/100-days-of-code | 637006b111054ab9a3b81867d3395fefc6584f02 | [
"MIT"
] | null | null | null | day34/problem.py | Nitin-Diwakar/100-days-of-code | 637006b111054ab9a3b81867d3395fefc6584f02 | [
"MIT"
] | 1 | 2021-07-13T17:59:38.000Z | 2021-07-13T17:59:38.000Z | from array import array
import binascii
array1 = array('i', [7, 8, 9, 10])
print('array1:', array1)
as_bytes = array1.tobytes()
print('Bytes:', binascii.hexlify(as_bytes))
array2 = array('i')
array2.frombytes(as_bytes)
print('array2:', array2)
| 25.3 | 44 | 0.687747 | 36 | 253 | 4.75 | 0.472222 | 0.122807 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059633 | 0.13834 | 253 | 9 | 45 | 28.111111 | 0.724771 | 0 | 0 | 0 | 0 | 0 | 0.090164 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.222222 | 0 | 0.222222 | 0.333333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
cd6006c7bc2d216bfcfcb3326f82b1a5bcadcef6 | 1,290 | py | Python | file_upload/views.py | jithin-c/screenshot-paste-and-upload-django | 5984945bb8fa1670f1a5084b45354c1b3ab3c110 | [
"MIT"
] | null | null | null | file_upload/views.py | jithin-c/screenshot-paste-and-upload-django | 5984945bb8fa1670f1a5084b45354c1b3ab3c110 | [
"MIT"
] | null | null | null | file_upload/views.py | jithin-c/screenshot-paste-and-upload-django | 5984945bb8fa1670f1a5084b45354c1b3ab3c110 | [
"MIT"
] | null | null | null | import os
import uuid
from django.conf import settings
from django.http.response import JsonResponse
from django.shortcuts import render_to_response
from django.template.context import RequestContext
from django.views.decorators.http import require_POST
from file_upload.models import Screenshot
def list_screenshots(... | 33.947368 | 119 | 0.700775 | 152 | 1,290 | 5.789474 | 0.473684 | 0.056818 | 0.047727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004726 | 0.179845 | 1,290 | 38 | 120 | 33.947368 | 0.827032 | 0.046512 | 0 | 0 | 0 | 0 | 0.100081 | 0.017901 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.275862 | null | null | 0.034483 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
cd6216141d961edc20abc8edecb4b98a8cbba2a5 | 8,493 | py | Python | sdk/python/pulumi_aws_native/iot/resource_specific_logging.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/iot/resource_specific_logging.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/iot/resource_specific_logging.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... | 43.778351 | 167 | 0.659838 | 918 | 8,493 | 5.805011 | 0.162309 | 0.04954 | 0.023644 | 0.031526 | 0.557515 | 0.480953 | 0.473447 | 0.458623 | 0.432351 | 0.432351 | 0 | 0.000156 | 0.246085 | 8,493 | 193 | 168 | 44.005181 | 0.83211 | 0.258801 | 0 | 0.355932 | 1 | 0 | 0.176411 | 0.083643 | 0 | 0 | 0 | 0 | 0 | 1 | 0.135593 | false | 0.008475 | 0.050847 | 0 | 0.271186 | 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 |
cd63883dbca157d461b9f10262a684e29244249e | 2,690 | py | Python | tests/tests_validation/test_planSumLeftChestWall.py | victorgabr/pps | dfe3fae64fd4dedde85204643f9c797c0373f96c | [
"BSD-3-Clause"
] | 7 | 2018-11-18T07:11:05.000Z | 2021-05-06T21:53:40.000Z | tests/tests_validation/test_planSumLeftChestWall.py | victorgabr/pps | dfe3fae64fd4dedde85204643f9c797c0373f96c | [
"BSD-3-Clause"
] | 9 | 2019-09-23T16:34:09.000Z | 2020-05-26T18:49:43.000Z | tests/tests_validation/test_planSumLeftChestWall.py | victorgabr/pps | dfe3fae64fd4dedde85204643f9c797c0373f96c | [
"BSD-3-Clause"
] | 2 | 2019-04-18T14:34:31.000Z | 2019-06-19T19:34:33.000Z | import matplotlib.pyplot as plt
import os
from gui.api.tools import read_eclipse_dvh, plot_dvh
from pyplanscoring.core.calculation import PyStructure, DVHCalculation
from pyplanscoring.core.dicom_reader import PyDicomParser
from pyplanscoring.core.types import DoseAccumulation
def get_dicom_data(root_path):
"""
... | 37.887324 | 169 | 0.679554 | 384 | 2,690 | 4.53125 | 0.369792 | 0.034483 | 0.036207 | 0.036207 | 0.181609 | 0.181609 | 0.181609 | 0.181609 | 0.137931 | 0.137931 | 0 | 0.027949 | 0.215242 | 2,690 | 70 | 170 | 38.428571 | 0.796305 | 0.10223 | 0 | 0 | 0 | 0.045455 | 0.188497 | 0.146935 | 0 | 0 | 0 | 0.014286 | 0 | 1 | 0.022727 | false | 0 | 0.136364 | 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 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
cd63892cf50adc397037f6ee0db24fdf73ae8de7 | 1,742 | py | Python | classifier/src/run_loop.py | dave-msk/hk01_test | a7a69f1208a18260cbf9d6c8ef7303959e5d4213 | [
"Apache-2.0"
] | null | null | null | classifier/src/run_loop.py | dave-msk/hk01_test | a7a69f1208a18260cbf9d6c8ef7303959e5d4213 | [
"Apache-2.0"
] | null | null | null | classifier/src/run_loop.py | dave-msk/hk01_test | a7a69f1208a18260cbf9d6c8ef7303959e5d4213 | [
"Apache-2.0"
] | null | null | null | # Copyright 2018 Siu-Kei Muk (David). All Rights Reserved.
#
# 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... | 39.590909 | 80 | 0.722158 | 250 | 1,742 | 4.732 | 0.436 | 0.053254 | 0.050719 | 0.040575 | 0.094675 | 0.094675 | 0 | 0 | 0 | 0 | 0 | 0.006901 | 0.168197 | 1,742 | 43 | 81 | 40.511628 | 0.809524 | 0.377153 | 0 | 0 | 0 | 0 | 0.02243 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.045455 | false | 0 | 0.318182 | 0 | 0.363636 | 0.045455 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 |
cd66bbfa808e110a30cae0c1380e1b0786cd0599 | 1,189 | py | Python | pyrosetta/events.py | blockjoe/rosetta-api-client-python | 707f325f7560ffa6d5dfe361aff4779cc0b7182f | [
"Apache-2.0"
] | null | null | null | pyrosetta/events.py | blockjoe/rosetta-api-client-python | 707f325f7560ffa6d5dfe361aff4779cc0b7182f | [
"Apache-2.0"
] | null | null | null | pyrosetta/events.py | blockjoe/rosetta-api-client-python | 707f325f7560ffa6d5dfe361aff4779cc0b7182f | [
"Apache-2.0"
] | null | null | null | from typing import Optional
import requests
from .models import (
EventsBlocksRequest,
EventsBlocksResponse,
NetworkIdentifier
)
from .endpoints.indexer import get_range_of_block_events
def blocks(api_url : str, network_id : NetworkIdentifier, offset : Optional[int], limit : Optional[int],
s... | 30.487179 | 105 | 0.699748 | 141 | 1,189 | 5.787234 | 0.496454 | 0.022059 | 0.02451 | 0.036765 | 0.151961 | 0.10049 | 0.10049 | 0 | 0 | 0 | 0 | 0.001092 | 0.229605 | 1,189 | 38 | 106 | 31.289474 | 0.889738 | 0.469302 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0 | 0.333333 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 |
cd6ad59984d83eb21347f94dba07e7ff992d6c91 | 500 | py | Python | src/napari_blob_detection/_tests/test_widget.py | andy-sweet/napari-blob-detection | 25c2d7972765baad19f35ff9396ce2616d5ca27f | [
"BSD-3-Clause"
] | null | null | null | src/napari_blob_detection/_tests/test_widget.py | andy-sweet/napari-blob-detection | 25c2d7972765baad19f35ff9396ce2616d5ca27f | [
"BSD-3-Clause"
] | 1 | 2022-03-23T03:08:29.000Z | 2022-03-23T03:08:29.000Z | src/napari_blob_detection/_tests/test_widget.py | andy-sweet/napari-blob-detection | 25c2d7972765baad19f35ff9396ce2616d5ca27f | [
"BSD-3-Clause"
] | 1 | 2022-03-11T23:03:31.000Z | 2022-03-11T23:03:31.000Z | from magicgui.widgets import ComboBox, Container, FunctionGui
from .. import detect_blobs_widget
def test_detect_blobs_widget():
widget = detect_blobs_widget()
assert isinstance(widget, Container)
assert isinstance(widget.method, ComboBox)
assert isinstance(widget.difference_of_gaussian, FunctionGui... | 27.777778 | 65 | 0.784 | 58 | 500 | 6.5 | 0.362069 | 0.116711 | 0.180371 | 0.122016 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142 | 500 | 17 | 66 | 29.411765 | 0.878788 | 0 | 0 | 0.181818 | 0 | 0 | 0.042 | 0 | 0 | 0 | 0 | 0 | 0.363636 | 1 | 0.181818 | false | 0 | 0.181818 | 0 | 0.363636 | 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 |
cd8311c7b0bf5e76314377ab19157bf1a9276ee6 | 250 | py | Python | utils/status.py | asy-init/deuterium | 6c6a8044dcacb166e01df79373dfca145d2f170d | [
"Apache-2.0"
] | 3 | 2022-01-24T04:45:55.000Z | 2022-03-08T16:19:04.000Z | utils/status.py | asy-init/deuterium | 6c6a8044dcacb166e01df79373dfca145d2f170d | [
"Apache-2.0"
] | null | null | null | utils/status.py | asy-init/deuterium | 6c6a8044dcacb166e01df79373dfca145d2f170d | [
"Apache-2.0"
] | null | null | null | from asyncio import sleep
from operator import truediv
from discord import Game
async def load_status(self, status):
while True:
for x in status:
await self.change_presence(activity=Game(name=x))
await sleep(20)
| 22.727273 | 61 | 0.684 | 35 | 250 | 4.828571 | 0.685714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010753 | 0.256 | 250 | 10 | 62 | 25 | 0.897849 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.375 | 0 | 0.375 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 |
cd8a43252b9d9eda68486e968e102b0d69f2b160 | 796 | py | Python | buildroot/support/testing/tests/package/test_python_gobject.py | superm1/operating-system | 142e7df6cfe3d83e9b19f2b8d100378e9d28ce84 | [
"Apache-2.0"
] | 349 | 2021-08-17T08:46:53.000Z | 2022-03-30T06:25:25.000Z | buildroot/support/testing/tests/package/test_python_gobject.py | TopSWorld/operating-system | 99a4d4ea75e5afd53f7e71422726f9d3200b25a3 | [
"Apache-2.0"
] | 2 | 2021-08-29T11:29:57.000Z | 2021-08-30T12:00:05.000Z | buildroot/support/testing/tests/package/test_python_gobject.py | TopSWorld/operating-system | 99a4d4ea75e5afd53f7e71422726f9d3200b25a3 | [
"Apache-2.0"
] | 12 | 2021-08-17T20:10:30.000Z | 2022-01-06T10:52:54.000Z | import os
from tests.package.test_python import TestPythonPackageBase
class TestPythonPy3Gobject(TestPythonPackageBase):
__test__ = True
config = \
"""
BR2_arm=y
BR2_ARM_ENABLE_VFP=y
BR2_cortex_a9=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_PACKAGE_GOBJECT_INTROSPECTION=y
... | 28.428571 | 66 | 0.623116 | 90 | 796 | 5.177778 | 0.555556 | 0.06867 | 0.070815 | 0.06867 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022968 | 0.288945 | 796 | 27 | 67 | 29.481481 | 0.800353 | 0 | 0 | 0 | 0 | 0 | 0.15102 | 0.077551 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0 | 0.166667 | 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 |
cd9122224987f9fd4af9bb80e1099c8fc756f7ab | 229 | py | Python | src/link_type.py | martingaston/bangbangnapster | ba521347439a2bbdc61c759d11705a3934f487a6 | [
"MIT"
] | 2 | 2021-05-22T18:08:07.000Z | 2021-06-09T01:12:51.000Z | src/link_type.py | martingaston/bangbangnapster | ba521347439a2bbdc61c759d11705a3934f487a6 | [
"MIT"
] | null | null | null | src/link_type.py | martingaston/bangbangnapster | ba521347439a2bbdc61c759d11705a3934f487a6 | [
"MIT"
] | null | null | null | from enum import Enum
class LinkType(Enum):
UNKNOWN = 0
MODEM_14K = 1
MODEM_28K = 2
MODEM_33K = 3
MODEM_56K = 4
ISDN_64K = 5
ISDN_128K = 6
CABLE = 7
DSL = 8
T1 = 9
T3_OR_GREATER = 10
| 14.3125 | 22 | 0.567686 | 37 | 229 | 3.297297 | 0.837838 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 0.371179 | 229 | 15 | 23 | 15.266667 | 0.659722 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.076923 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 |
cd9782ffa1114057a08d7a0fddd02752c342aad5 | 2,771 | py | Python | tough_convert/silo_writer.py | afqueiruga/tough_convert | 1fef3e7d271ed7cf30daceccdbe40d0fea0e4814 | [
"BSD-3-Clause"
] | 8 | 2018-10-21T09:56:46.000Z | 2021-12-18T06:40:18.000Z | tough_convert/silo_writer.py | afqueiruga/tough_convert | 1fef3e7d271ed7cf30daceccdbe40d0fea0e4814 | [
"BSD-3-Clause"
] | 3 | 2018-10-10T21:38:42.000Z | 2018-11-05T23:02:35.000Z | tough_convert/silo_writer.py | afqueiruga/tough_convert | 1fef3e7d271ed7cf30daceccdbe40d0fea0e4814 | [
"BSD-3-Clause"
] | null | null | null | def silo_write_meshfile(fname, X, elems):
try:
from pyvisfile.silo import SiloFile, IntVector, DB_ZONETYPE_BEAM, DB_ZONETYPE_HEX, \
DB_NODECENT, DB_ZONECENT, DBOPT_CYCLE, DBOPT_DTIME, DBOPT_TIME, DB_CLOBBER
except ImportError:
print("Need PyVisFile to write silo files. Use vtk for no... | 42.630769 | 101 | 0.610249 | 367 | 2,771 | 4.46049 | 0.27248 | 0.021991 | 0.045816 | 0.04215 | 0.523519 | 0.500305 | 0.466097 | 0.466097 | 0.466097 | 0.466097 | 0 | 0.008289 | 0.259834 | 2,771 | 64 | 102 | 43.296875 | 0.789859 | 0.020209 | 0 | 0.413793 | 0 | 0 | 0.066716 | 0 | 0 | 0 | 0 | 0.015625 | 0 | 1 | 0.051724 | false | 0 | 0.12069 | 0 | 0.172414 | 0.068966 | 0 | 0 | 0 | null | 0 | 0 | 0 | 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 |
cd9853a2b7aae806a8e9f4957d6e5d1fb749fc1e | 8,707 | py | Python | misc/tools/migration/export_node_from_2_1_x_to_3_0.py | zeehio/META-SHARE | b796769629734353a63d98db72c84617f725e544 | [
"BSD-3-Clause"
] | 11 | 2015-07-13T13:36:44.000Z | 2021-11-15T08:07:25.000Z | misc/tools/migration/export_node_from_2_1_x_to_3_0.py | zeehio/META-SHARE | b796769629734353a63d98db72c84617f725e544 | [
"BSD-3-Clause"
] | 13 | 2015-03-21T14:08:31.000Z | 2021-05-18T18:47:58.000Z | misc/tools/migration/export_node_from_2_1_x_to_3_0.py | zeehio/META-SHARE | b796769629734353a63d98db72c84617f725e544 | [
"BSD-3-Clause"
] | 12 | 2015-01-07T02:16:50.000Z | 2021-05-18T08:25:31.000Z | #!/usr/bin/env python
import os
import re
import sys
import shutil
from StringIO import StringIO
from xml.etree import ElementTree
# Magic python path, based on http://djangosnippets.org/snippets/281/
from os.path import abspath, dirname, join
parentdir = dirname(dirname(abspath(__file__)))
# Insert our dependencies:... | 34.967871 | 97 | 0.645917 | 1,068 | 8,707 | 5.069288 | 0.240637 | 0.016624 | 0.018471 | 0.019948 | 0.245475 | 0.233284 | 0.190432 | 0.190432 | 0.162357 | 0.146842 | 0 | 0.003512 | 0.247847 | 8,707 | 248 | 98 | 35.108871 | 0.823179 | 0.083726 | 0 | 0.220779 | 0 | 0 | 0.116273 | 0.009235 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.006494 | 0.103896 | null | null | 0.045455 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
cd9ad3388930ae596757e1e261765f1fc00d53dd | 3,403 | py | Python | server/config/settings/base.py | dmitrytk/horizon | 8fc130d9d619de0e7ad7aad24d1e6f457bc68df0 | [
"MIT"
] | null | null | null | server/config/settings/base.py | dmitrytk/horizon | 8fc130d9d619de0e7ad7aad24d1e6f457bc68df0 | [
"MIT"
] | null | null | null | server/config/settings/base.py | dmitrytk/horizon | 8fc130d9d619de0e7ad7aad24d1e6f457bc68df0 | [
"MIT"
] | null | null | null | import os
from datetime import timedelta
from pathlib import Path
import environ
env = environ.Env()
ROOT_DIR = Path(__file__).resolve(strict=True).parent.parent.parent
READ_DOT_ENV_FILE = env.bool("DJANGO_READ_DOT_ENV_FILE", default=True)
if READ_DOT_ENV_FILE:
# OS environment variables take precedence over va... | 24.482014 | 91 | 0.66794 | 346 | 3,403 | 6.355491 | 0.424855 | 0.094588 | 0.054116 | 0.038199 | 0.097317 | 0.090041 | 0 | 0 | 0 | 0 | 0 | 0.009117 | 0.19424 | 3,403 | 138 | 92 | 24.65942 | 0.792852 | 0.038202 | 0 | 0.019231 | 0 | 0 | 0.530618 | 0.395591 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.057692 | 0.038462 | 0 | 0.038462 | 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 |
cd9b45ff90b5f622e1df4d22bfabc092f7444a7e | 1,199 | py | Python | assignment4/coffeeNcoder.py | audrummer15/slae-exam | d44fafec03a14898369bdbdbe7fa46eb32116efb | [
"MIT"
] | 1 | 2018-08-03T10:12:23.000Z | 2018-08-03T10:12:23.000Z | assignment4/coffeeNcoder.py | coffeegist/slae-exam | d44fafec03a14898369bdbdbe7fa46eb32116efb | [
"MIT"
] | null | null | null | assignment4/coffeeNcoder.py | coffeegist/slae-exam | d44fafec03a14898369bdbdbe7fa46eb32116efb | [
"MIT"
] | 1 | 2019-03-18T18:53:11.000Z | 2019-03-18T18:53:11.000Z | #!/usr/bin/python
# Python Coffee Encoder
COFFEE=15
COFFEE_HEX='0f'
# execve-stack /bin/sh
shellcode = ("\x31\xc0\x50\x68\x2f\x2f\x73\x68\x68\x2f\x62\x69\x6e\x89\xe3\x50\x89\xe2\x53\x89\xe1\xb0\x0b\xcd\x80")
encoded = ""
encoded2 = ""
stack = []
new_row = []
row = 0
print 'Encoded shellcode ...'
for x in bytearra... | 21.8 | 116 | 0.594662 | 196 | 1,199 | 3.561224 | 0.372449 | 0.103152 | 0.051576 | 0.055874 | 0.246418 | 0.180516 | 0.180516 | 0.180516 | 0.126075 | 0.126075 | 0 | 0.085288 | 0.217681 | 1,199 | 54 | 117 | 22.203704 | 0.658849 | 0.153461 | 0 | 0.314286 | 0 | 0.028571 | 0.168317 | 0.09901 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.142857 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
2696fc36f8084b315ff6233aae456211b1156991 | 472 | py | Python | poker/Hand.py | CatOnXTC/Discord_bot | dd2a820a1428aca5072f9866da19c6a9e2bae996 | [
"MIT"
] | 2 | 2020-05-08T08:12:09.000Z | 2021-12-12T16:44:26.000Z | poker/Hand.py | CatOnXTC/Discord_bot | dd2a820a1428aca5072f9866da19c6a9e2bae996 | [
"MIT"
] | 45 | 2020-06-22T21:33:02.000Z | 2022-03-17T04:09:41.000Z | poker/Hand.py | CatOnXTC/Discord_bot | dd2a820a1428aca5072f9866da19c6a9e2bae996 | [
"MIT"
] | 4 | 2020-03-23T09:17:43.000Z | 2021-04-08T18:25:07.000Z | import enum
class Hand:
def __init__(self, HandType, hight, Kickers):
self.HandType = HandType
self.hight = hight #the lower the better [A, K, Q, J, 10, 9, 8, 7, 6, 5, 4, 3, 2]
self.Kickers = []
self.Kickers += Kickers
class HandType(enum.Enum):
royal_flash = 1
straight_fla... | 23.6 | 89 | 0.588983 | 73 | 472 | 3.60274 | 0.547945 | 0.091255 | 0.053232 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064615 | 0.311441 | 472 | 20 | 90 | 23.6 | 0.744615 | 0.129237 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055556 | false | 0 | 0.055556 | 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 |
269d450795fc4b6e36421aa1da222b108cbb7ed6 | 2,037 | py | Python | stepik/python67/01_12_06.py | ornichola/learning-new | e567218d8887805e38b1361715d5e3bd51a6bcaf | [
"Unlicense"
] | 2 | 2019-05-24T20:10:16.000Z | 2020-07-11T06:06:43.000Z | stepik/python67/01_12_06.py | ornichola/learning-new | e567218d8887805e38b1361715d5e3bd51a6bcaf | [
"Unlicense"
] | null | null | null | stepik/python67/01_12_06.py | ornichola/learning-new | e567218d8887805e38b1361715d5e3bd51a6bcaf | [
"Unlicense"
] | 21 | 2019-03-11T20:25:05.000Z | 2022-02-28T13:53:10.000Z | # [STEPIK]
# Программирование на Python https://stepik.org/67
# 01_12_06 Задачи по материалам недели
'''
В институте биоинформатики по офису передвигается робот.
Недавно студенты из группы программистов написали для него программу, по которой робот, когда заходит в комнату, считает количество программистов в ней и п... | 35.736842 | 295 | 0.758468 | 306 | 2,037 | 5.052288 | 0.584967 | 0.009702 | 0.011643 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040189 | 0.169367 | 2,037 | 57 | 296 | 35.736842 | 0.871749 | 0.046146 | 0 | 0.181818 | 0 | 0 | 0.064407 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.090909 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
269f8544f3954dae89b2f7b1d6c835d27a425c33 | 3,592 | py | Python | final/predictor/views.py | Dharatee/EverestHack-TIC | 555d435f131648ea9cc9bfc162b2930699cf8026 | [
"MIT"
] | null | null | null | final/predictor/views.py | Dharatee/EverestHack-TIC | 555d435f131648ea9cc9bfc162b2930699cf8026 | [
"MIT"
] | null | null | null | final/predictor/views.py | Dharatee/EverestHack-TIC | 555d435f131648ea9cc9bfc162b2930699cf8026 | [
"MIT"
] | null | null | null | from django.shortcuts import render
from django.http import HttpResponse
def index(request):
return render(request,'index.html')
def prediction(request):
if request.method == "POST":
Itching = int(request.POST['Itching'])
SkinRash = int(request.POST['SkinRash'])
NodalSkinEruptions =... | 49.888889 | 131 | 0.678452 | 338 | 3,592 | 7.207101 | 0.266272 | 0.176519 | 0.247126 | 0.019704 | 0.025452 | 0.025452 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191815 | 3,592 | 72 | 132 | 49.888889 | 0.839132 | 0 | 0 | 0.029412 | 0 | 0 | 0.161982 | 0.010298 | 0 | 0 | 0 | 0 | 0 | 1 | 0.044118 | false | 0 | 0.058824 | 0.014706 | 0.161765 | 0.029412 | 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 |
26aa5c50f5a05ae4f5c93d7d5e27fbd6e200c27b | 498 | py | Python | config/config.py | ecradock/wifihawk | ab459e9746bb661968118c7d4f785454f2342ff1 | [
"MIT"
] | 2 | 2018-02-12T19:01:04.000Z | 2019-01-20T03:07:12.000Z | config/config.py | ecradock/wifi-hawk | ab459e9746bb661968118c7d4f785454f2342ff1 | [
"MIT"
] | null | null | null | config/config.py | ecradock/wifi-hawk | ab459e9746bb661968118c7d4f785454f2342ff1 | [
"MIT"
] | null | null | null | class GoogleConfig(object):
def __init__(self, geocode_api_key=None, javascript_api_key=None):
self.geocode_api_key = geocode_api_key
self.javascript_api_key = javascript_api_key
class WigleConfig:
def __init__(self, name=None, token=None):
self.name = name
self.token = token
... | 29.294118 | 70 | 0.698795 | 66 | 498 | 4.909091 | 0.287879 | 0.111111 | 0.101852 | 0.104938 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.216867 | 498 | 16 | 71 | 31.125 | 0.830769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
26aecfec9ee49cfd3ac2bd294015f2f95e0035e6 | 1,068 | py | Python | 3_diena/saraksts_iepirkumi.py | jk-prog-22/nodarbibas | 6a74a40f663a610064e4f909ef5e21295092a3b3 | [
"MIT"
] | null | null | null | 3_diena/saraksts_iepirkumi.py | jk-prog-22/nodarbibas | 6a74a40f663a610064e4f909ef5e21295092a3b3 | [
"MIT"
] | null | null | null | 3_diena/saraksts_iepirkumi.py | jk-prog-22/nodarbibas | 6a74a40f663a610064e4f909ef5e21295092a3b3 | [
"MIT"
] | null | null | null | # Saraksts jeb List līdzīgs array, jeb masīvs
# indeksi 0 1 2 3 4
iepirkumi = ["sviests", "biezpiens", "piens", "krejums", "olas"]
#Izdrukāt visu sarakstu
print(iepirkumi)
#Izdrukāt vienu konkrētu elementu, ar attiecīgu indeksu
print(iepirkumi[2])
#Elementu pievienošana beigā... | 19.777778 | 64 | 0.720974 | 126 | 1,068 | 6.111111 | 0.5 | 0.127273 | 0.103896 | 0.12987 | 0.194805 | 0.106494 | 0 | 0 | 0 | 0 | 0 | 0.00906 | 0.173221 | 1,068 | 54 | 65 | 19.777778 | 0.862967 | 0.486891 | 0 | 0.315789 | 0 | 0 | 0.171375 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.473684 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 |
26b41b056b35cae1c3435711767d6a29ca7ac249 | 20,445 | py | Python | main.py | TechniStub/TechDistri | fbbb80d2a061c2669c1b3b61c173dfb61f4ece1e | [
"MIT"
] | 2 | 2018-07-04T19:58:22.000Z | 2019-10-19T07:21:47.000Z | main.py | TechniStub/TechDistri | fbbb80d2a061c2669c1b3b61c173dfb61f4ece1e | [
"MIT"
] | 1 | 2020-07-10T16:32:59.000Z | 2020-07-10T16:32:59.000Z | main.py | TechniStub/TechDistri | fbbb80d2a061c2669c1b3b61c173dfb61f4ece1e | [
"MIT"
] | null | null | null | #
# MAIN
#
# Import des librairies
import tkinter as tk
from PIL import ImageTk, Image
import time
import os
import sys
import subprocess
import requests
import json
# Import des "Feuilles" de GUI
import Handlers.GUI.Home as handlerGuiHome
import Handlers.DataBase.db as databaseHandler
import Handlers.MFRC522.hand... | 40.325444 | 290 | 0.614527 | 2,205 | 20,445 | 5.683447 | 0.207256 | 0.034711 | 0.025535 | 0.027131 | 0.269071 | 0.233163 | 0.216007 | 0.18752 | 0.16007 | 0.099904 | 0 | 0.014635 | 0.234678 | 20,445 | 506 | 291 | 40.405138 | 0.786285 | 0.114502 | 0 | 0.260638 | 0 | 0 | 0.192799 | 0.047837 | 0 | 0 | 0 | 0 | 0 | 1 | 0.021277 | false | 0.077128 | 0.058511 | 0 | 0.079787 | 0.031915 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 |
26c8843eccbebfc9e38df08a962fbae97452bd1e | 1,330 | py | Python | spider/items.py | tlagore/journal_scraper | 173a046973b54ed293f1d25ba6dfbfc363b17623 | [
"MIT"
] | null | null | null | spider/items.py | tlagore/journal_scraper | 173a046973b54ed293f1d25ba6dfbfc363b17623 | [
"MIT"
] | null | null | null | spider/items.py | tlagore/journal_scraper | 173a046973b54ed293f1d25ba6dfbfc363b17623 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Define here the models for your scraped items
#
# See documentation in:
# https://doc.scrapy.org/en/latest/topics/items.html
import scrapy
from scrapy.loader.processors import MapCompose, TakeFirst
def strip_whitespace(value):
if value:
return value.strip()
return value
c... | 23.75 | 58 | 0.651128 | 143 | 1,330 | 5.944056 | 0.412587 | 0.103529 | 0.131765 | 0.205882 | 0.495294 | 0.495294 | 0.495294 | 0.394118 | 0.394118 | 0.394118 | 0 | 0.000998 | 0.246617 | 1,330 | 55 | 59 | 24.181818 | 0.847305 | 0.165414 | 0 | 0.277778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027778 | false | 0.027778 | 0.055556 | 0 | 0.416667 | 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 |
26cc69d7b26a272ee043aa93c2b0f08391470dc6 | 2,574 | py | Python | usbmon/packet.py | Flameeyes/usbmon-tools | f373e12da338135b14bcd4bec2e04ec60b27014b | [
"Unlicense",
"Apache-2.0",
"MIT"
] | 17 | 2019-02-12T00:24:55.000Z | 2022-01-18T18:07:06.000Z | usbmon/packet.py | Flameeyes/usbmon-tools | f373e12da338135b14bcd4bec2e04ec60b27014b | [
"Unlicense",
"Apache-2.0",
"MIT"
] | 3 | 2019-02-12T16:52:04.000Z | 2021-05-14T17:41:17.000Z | usbmon/packet.py | Flameeyes/usbmon-tools | f373e12da338135b14bcd4bec2e04ec60b27014b | [
"Unlicense",
"Apache-2.0",
"MIT"
] | 1 | 2020-04-10T09:56:04.000Z | 2020-04-10T09:56:04.000Z | # python
#
# Copyright 2019-2020 The usbmon-tools Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable... | 25.485149 | 81 | 0.681818 | 319 | 2,574 | 5.438871 | 0.416928 | 0.034582 | 0.053026 | 0.043228 | 0.15562 | 0.140058 | 0.140058 | 0.102017 | 0.102017 | 0.102017 | 0 | 0.011546 | 0.226107 | 2,574 | 100 | 82 | 25.74 | 0.858936 | 0.265346 | 0 | 0.278689 | 0 | 0.016393 | 0.066809 | 0.011758 | 0 | 0 | 0.004276 | 0 | 0 | 1 | 0.131148 | false | 0 | 0.065574 | 0.065574 | 0.590164 | 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 |
26df40e3513744d3ef5271b2f52e9dc8e6b2afd1 | 2,060 | py | Python | indicators/technical-master/technical/tradingview/__init__.py | tobby2002/ebisu | 1d6e0fb8f0cdf7ff024e88c60e81451b27d46bf6 | [
"MIT"
] | null | null | null | indicators/technical-master/technical/tradingview/__init__.py | tobby2002/ebisu | 1d6e0fb8f0cdf7ff024e88c60e81451b27d46bf6 | [
"MIT"
] | null | null | null | indicators/technical-master/technical/tradingview/__init__.py | tobby2002/ebisu | 1d6e0fb8f0cdf7ff024e88c60e81451b27d46bf6 | [
"MIT"
] | 3 | 2021-08-18T02:51:47.000Z | 2021-10-14T18:17:05.000Z | from technical.consensus import Consensus
class MovingAverageConsensus(Consensus):
"""
This provides the consensus MovingAverage based indicators. It's configuration
is identical with the configuration seen here
https://www.tradingview.com/symbols/BTCUSD/technicals/
"""
def __init__(self, da... | 31.212121 | 109 | 0.683495 | 241 | 2,060 | 5.626556 | 0.419087 | 0.221239 | 0.066372 | 0.09292 | 0.110619 | 0.110619 | 0.110619 | 0.110619 | 0.110619 | 0 | 0 | 0.022627 | 0.22767 | 2,060 | 65 | 110 | 31.692308 | 0.829667 | 0.263592 | 0 | 0.171429 | 0 | 0 | 0.018685 | 0.016609 | 0 | 0 | 0 | 0 | 0 | 1 | 0.085714 | false | 0 | 0.028571 | 0 | 0.2 | 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 |
26ed91116996fd846cb8e214778b16403adbe13f | 1,092 | py | Python | apps/core/admin.py | glenjasper/cobija-web | 9a623daae9fba1b423b8fd690a25139ed8d06d7c | [
"MIT"
] | null | null | null | apps/core/admin.py | glenjasper/cobija-web | 9a623daae9fba1b423b8fd690a25139ed8d06d7c | [
"MIT"
] | null | null | null | apps/core/admin.py | glenjasper/cobija-web | 9a623daae9fba1b423b8fd690a25139ed8d06d7c | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import (
Role,
TypePet,
PetSize,
PetColor,
TypePartner,
)
class RoleAdmin(admin.ModelAdmin):
list_display = [
'name',
'order',
'status',
]
readonly_fields = ['created', 'updated']
class TypePetAdmin(admin.ModelAd... | 21.411765 | 50 | 0.629121 | 99 | 1,092 | 6.838384 | 0.292929 | 0.110783 | 0.140325 | 0.192024 | 0.502216 | 0.457903 | 0.400295 | 0.400295 | 0.400295 | 0.400295 | 0 | 0 | 0.240842 | 1,092 | 50 | 51 | 21.84 | 0.816647 | 0 | 0 | 0.454545 | 0 | 0 | 0.114469 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.045455 | 0 | 0.386364 | 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 |
26ee19c95522fae1ead6b060a4b4027f86c494af | 831 | py | Python | product_catalog/forms.py | ssorin/django-product-catalog | 98495de057a5bb6a04801dac800edc8fb3437f47 | [
"BSD-3-Clause"
] | 4 | 2018-12-02T14:51:47.000Z | 2020-12-12T09:06:18.000Z | product_catalog/forms.py | ssorin/django-product-catalog | 98495de057a5bb6a04801dac800edc8fb3437f47 | [
"BSD-3-Clause"
] | 6 | 2018-12-20T08:22:25.000Z | 2022-03-11T23:11:30.000Z | product_catalog/forms.py | ssorin/django-product-catalog | 98495de057a5bb6a04801dac800edc8fb3437f47 | [
"BSD-3-Clause"
] | 2 | 2017-12-06T23:56:14.000Z | 2021-07-23T16:16:18.000Z | # -*- coding: utf-8 -*-
""" Product Catalog: forms """
from django import forms
from mptt.forms import TreeNodeMultipleChoiceField
from product_catalog.models.category import Category
from product_catalog.models.product import Product
from product_catalog.settings import FORM_UPDATE_FIELDS, FORM_CREATE_FIELDS
clas... | 25.96875 | 75 | 0.725632 | 88 | 831 | 6.715909 | 0.477273 | 0.094755 | 0.091371 | 0.081218 | 0.145516 | 0.145516 | 0.145516 | 0 | 0 | 0 | 0 | 0.001499 | 0.197353 | 831 | 31 | 76 | 26.806452 | 0.884558 | 0.149218 | 0 | 0.222222 | 0 | 0 | 0.004405 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.277778 | 0 | 0.611111 | 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 |
26ff6d2579e8433230348df87ba2efb5974ee23a | 594 | py | Python | examples/following_graph.py | mandelbrotmesh/steem-graph | 2fbe4fa314d34d790daea6f6c844902aecb35394 | [
"MIT"
] | 1 | 2018-08-14T16:52:19.000Z | 2018-08-14T16:52:19.000Z | examples/following_graph.py | mandelbrotmesh/steem-graph | 2fbe4fa314d34d790daea6f6c844902aecb35394 | [
"MIT"
] | null | null | null | examples/following_graph.py | mandelbrotmesh/steem-graph | 2fbe4fa314d34d790daea6f6c844902aecb35394 | [
"MIT"
] | null | null | null | from steem import Steem
from py2neo import Graph, Node, Relationship
import json
import time
import sys
sys.path.append('../steem_graph')
from steem_graph import graph as gdb
from steem_graph import database as db
database_name = "steemit-local.db"
# build my following graph
gdb.build_following_graph("marnee")
# get... | 25.826087 | 54 | 0.777778 | 94 | 594 | 4.723404 | 0.446809 | 0.081081 | 0.063063 | 0.09009 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015595 | 0.136364 | 594 | 22 | 55 | 27 | 0.849903 | 0.085859 | 0 | 0 | 0 | 0 | 0.12037 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4375 | 0 | 0.4375 | 0.125 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 |
f80a43f7b9d4e88def1ee23b7a512e4fd88a8e52 | 10,100 | py | Python | amd64-linux/lib/niagara_simple_components.py | qiyancos/Simics-3.0.31 | 9bd52d5abad023ee87a37306382a338abf7885f1 | [
"BSD-4-Clause",
"FSFAP"
] | 1 | 2020-06-15T10:41:18.000Z | 2020-06-15T10:41:18.000Z | amd64-linux/lib/niagara_simple_components.py | qiyancos/Simics-3.0.31 | 9bd52d5abad023ee87a37306382a338abf7885f1 | [
"BSD-4-Clause",
"FSFAP"
] | null | null | null | amd64-linux/lib/niagara_simple_components.py | qiyancos/Simics-3.0.31 | 9bd52d5abad023ee87a37306382a338abf7885f1 | [
"BSD-4-Clause",
"FSFAP"
] | 3 | 2020-08-10T10:25:02.000Z | 2021-09-12T01:12:09.000Z | # MODULE: niagara-simple-components
# CLASS: niagara-simple-system
import os, time
from sim_core import *
from components import *
from fiesta_nvram import register_nvram_commands, write_idprom_to_nvram
STRANDS = 4
CORES = 8
MAXCPUS = STRANDS * CORES
md_files = {1 : '1up-md.bin',
2 : '1g2p-md.bin',
... | 41.22449 | 79 | 0.572673 | 1,380 | 10,100 | 4.015217 | 0.189855 | 0.100162 | 0.030319 | 0.021115 | 0.291464 | 0.19473 | 0.094026 | 0.070384 | 0.059556 | 0.059556 | 0 | 0.087213 | 0.293861 | 10,100 | 244 | 80 | 41.393443 | 0.689708 | 0.021683 | 0 | 0.082524 | 0 | 0 | 0.132739 | 0.004458 | 0 | 0 | 0.05188 | 0.004098 | 0 | 0 | null | null | 0 | 0.019417 | 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 |
f80c0429e1a0807ae6ce9bf23dac436386bfbecd | 1,696 | py | Python | PE019-Counting Sundays/PE019.py | christosg88/ProjectEuler | 6fe131b03b0f81b12a219d5c7d6fe17d9a91eeee | [
"MIT"
] | null | null | null | PE019-Counting Sundays/PE019.py | christosg88/ProjectEuler | 6fe131b03b0f81b12a219d5c7d6fe17d9a91eeee | [
"MIT"
] | null | null | null | PE019-Counting Sundays/PE019.py | christosg88/ProjectEuler | 6fe131b03b0f81b12a219d5c7d6fe17d9a91eeee | [
"MIT"
] | null | null | null | # You are given the following information, but you may prefer to do some
# research for yourself.
# 1 Jan 1900 was a Monday.
# Thirty days has September,
# April, June and November.
# All the rest have thirty-one,
# Saving February alone,
# Which has twenty-eight, rain or shine.
# And on leap years, twenty-nine.
# A le... | 27.354839 | 72 | 0.544811 | 250 | 1,696 | 3.624 | 0.396 | 0.054084 | 0.02649 | 0.019868 | 0.066225 | 0.03532 | 0 | 0 | 0 | 0 | 0 | 0.091769 | 0.376769 | 1,696 | 62 | 73 | 27.354839 | 0.765374 | 0.398585 | 0 | 0.447368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.026316 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
f80d38ffa2d16f6e33568dbfd9ce227cd47219f3 | 2,362 | py | Python | OmegaErp/blog/models.py | OMAR-EHAB777/FerpMenu | 6aee4616bc9bc7801023fe51acfa28e1e1267b66 | [
"BSD-3-Clause"
] | null | null | null | OmegaErp/blog/models.py | OMAR-EHAB777/FerpMenu | 6aee4616bc9bc7801023fe51acfa28e1e1267b66 | [
"BSD-3-Clause"
] | null | null | null | OmegaErp/blog/models.py | OMAR-EHAB777/FerpMenu | 6aee4616bc9bc7801023fe51acfa28e1e1267b66 | [
"BSD-3-Clause"
] | null | null | null | from django.db import models
from django.utils import timezone
from django.contrib.auth.models import User
from taggit.managers import TaggableManager
import os
import random
from PIL import Image
# Create your models here.
def get_filename_ext(filepath):
base_name = os.path.basename(filepath)
name, ext = os... | 29.525 | 111 | 0.681626 | 294 | 2,362 | 5.289116 | 0.329932 | 0.049518 | 0.048875 | 0.040514 | 0.195498 | 0.052733 | 0.052733 | 0 | 0 | 0 | 0 | 0.016164 | 0.214225 | 2,362 | 80 | 112 | 29.525 | 0.821659 | 0.025402 | 0 | 0.127273 | 0 | 0 | 0.051349 | 0.017406 | 0 | 0 | 0 | 0 | 0 | 1 | 0.109091 | false | 0 | 0.127273 | 0.054545 | 0.654545 | 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 |
f80ff4955bf866fe671e28f77985e9eb3af28e1c | 537 | py | Python | net/wyun/tests/basic/test_olympiad_math_36.py | michaelyin/im2markup-prep | 0613e4f77f1b50084a85e5c0b1511c9ae007211d | [
"Apache-2.0"
] | 3 | 2018-04-19T13:51:33.000Z | 2020-10-04T12:35:50.000Z | net/wyun/tests/basic/test_olympiad_math_36.py | michaelyin/im2markup-prep | 0613e4f77f1b50084a85e5c0b1511c9ae007211d | [
"Apache-2.0"
] | null | null | null | net/wyun/tests/basic/test_olympiad_math_36.py | michaelyin/im2markup-prep | 0613e4f77f1b50084a85e5c0b1511c9ae007211d | [
"Apache-2.0"
] | 1 | 2018-11-22T08:44:11.000Z | 2018-11-22T08:44:11.000Z | from unittest import TestCase
class TestSample(TestCase):
def setUp(self):
# set up all numbers
self.num_list = []
for i in range(1, 31):
current = self.generate(i)
self.num_list.append(current)
def test_sum_10digits(self):
total = 0
for num in ... | 24.409091 | 41 | 0.515829 | 70 | 537 | 3.885714 | 0.485714 | 0.077206 | 0.121324 | 0.080882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030395 | 0.387337 | 537 | 22 | 42 | 24.409091 | 0.796353 | 0.03352 | 0 | 0 | 0 | 0 | 0.007722 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.055556 | null | null | 0.111111 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
f81097b74240952ab5bcd814f368ce8e180363d4 | 3,242 | py | Python | lib/netservices.py | svalqui/NR | 5b6e665fb1166e010ae64b15dde7eb039ca1af64 | [
"MIT"
] | null | null | null | lib/netservices.py | svalqui/NR | 5b6e665fb1166e010ae64b15dde7eb039ca1af64 | [
"MIT"
] | null | null | null | lib/netservices.py | svalqui/NR | 5b6e665fb1166e010ae64b15dde7eb039ca1af64 | [
"MIT"
] | null | null | null | # Copyright 2019 by Sergio Valqui. All rights reserved.
# libnetservices library for functions related to Network services
# Such ssh, Sockets etc
# Author: Sergio Valqui
# Created : 2015/08/13
def ssh_pse_exp(obj_ssh_ses, obj_ssh_ses_cha, fs_command, fs_prompt, fb_print):
"""
ssh pseudo expect; receives data... | 33.42268 | 89 | 0.676743 | 491 | 3,242 | 4.193483 | 0.352342 | 0.078679 | 0.109276 | 0.058281 | 0.088878 | 0.088878 | 0.088878 | 0.078679 | 0.078679 | 0.078679 | 0 | 0.010425 | 0.230722 | 3,242 | 96 | 90 | 33.770833 | 0.815156 | 0.416101 | 0 | 0 | 0 | 0 | 0.094556 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | false | 0.095238 | 0.047619 | 0 | 0.190476 | 0.238095 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 |
f81696ec66b19c3f743c5819f10669e39f075960 | 514 | py | Python | application/urls.py | rkojedzinszky/thermo-center | 707ab1eb09424a00f58af88d0bd59f270118fe25 | [
"BSD-3-Clause"
] | 1 | 2020-11-18T14:54:30.000Z | 2020-11-18T14:54:30.000Z | application/urls.py | rkojedzinszky/thermo-center | 707ab1eb09424a00f58af88d0bd59f270118fe25 | [
"BSD-3-Clause"
] | 1 | 2020-05-01T03:08:13.000Z | 2020-05-01T03:08:14.000Z | application/urls.py | rkojedzinszky/thermo-center | 707ab1eb09424a00f58af88d0bd59f270118fe25 | [
"BSD-3-Clause"
] | 1 | 2020-11-18T17:21:52.000Z | 2020-11-18T17:21:52.000Z | from django.conf.urls import include, url
from django.contrib import admin
from django.conf import settings
from django.utils.module_loading import import_string, autodiscover_modules
from django.conf.urls.static import static
from . import views
autodiscover_modules('restapi')
RestApi = import_string(settings.RESTAP... | 30.235294 | 75 | 0.766537 | 70 | 514 | 5.514286 | 0.414286 | 0.129534 | 0.108808 | 0.093264 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11284 | 514 | 16 | 76 | 32.125 | 0.846491 | 0 | 0 | 0 | 0 | 0 | 0.05642 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.538462 | 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 | 1 | 0 | 0 | 0 | 0 | 1 |
f8229ce99fd94f4fd577684b56f5eaea462f76a9 | 1,310 | py | Python | convert_coreml.py | Roulbac/tensorflow-yolov4-tflite | d97ddac87ce450813f6d276578cd5418a4d3380e | [
"MIT"
] | null | null | null | convert_coreml.py | Roulbac/tensorflow-yolov4-tflite | d97ddac87ce450813f6d276578cd5418a4d3380e | [
"MIT"
] | null | null | null | convert_coreml.py | Roulbac/tensorflow-yolov4-tflite | d97ddac87ce450813f6d276578cd5418a4d3380e | [
"MIT"
] | null | null | null | import numpy as np
import tensorflow as tf
import coremltools as ct
from absl import app, flags, logging
from absl.flags import FLAGS
flags.DEFINE_string(
'weights',
'./checkpoints/yolov4.tf',
'path to weights file'
)
flags.DEFINE_string(
'output',
'./checkpoints/yolov4.mlmodel',
'path to outp... | 22.982456 | 72 | 0.680153 | 180 | 1,310 | 4.783333 | 0.422222 | 0.041812 | 0.039489 | 0.051103 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012287 | 0.192366 | 1,310 | 56 | 73 | 23.392857 | 0.801512 | 0 | 0 | 0.045455 | 0 | 0 | 0.189313 | 0.038931 | 0 | 0 | 0 | 0 | 0.022727 | 1 | 0.068182 | false | 0.068182 | 0.113636 | 0 | 0.204545 | 0.068182 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 |
f82c53634bba0d984f1f5bb77a243ad42c50b715 | 4,222 | py | Python | maps/scrapers/best_buy.py | TrashyTips/disposal-info | 6d071a6bdfb825b0532f1a920ccd658ba6e5c33b | [
"MIT"
] | null | null | null | maps/scrapers/best_buy.py | TrashyTips/disposal-info | 6d071a6bdfb825b0532f1a920ccd658ba6e5c33b | [
"MIT"
] | null | null | null | maps/scrapers/best_buy.py | TrashyTips/disposal-info | 6d071a6bdfb825b0532f1a920ccd658ba6e5c33b | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import json
import requests
from bs4 import BeautifulSoup
# http://www.bestbuy.com/site/store-locator/11356
# I think every store can be found via that url, just change the number:
# http://stores.bestbuy.com/1115
class StoreInfo():
@staticmethod
def from_dict( storeInfoDict ):
return S... | 23.719101 | 95 | 0.648271 | 565 | 4,222 | 4.755752 | 0.269027 | 0.026796 | 0.031262 | 0.035728 | 0.222925 | 0.193524 | 0.134351 | 0.103461 | 0.103461 | 0.066245 | 0 | 0.013478 | 0.191615 | 4,222 | 177 | 96 | 23.853107 | 0.773806 | 0.053292 | 0 | 0.15942 | 0 | 0 | 0.126598 | 0.048634 | 0 | 0 | 0 | 0.00565 | 0 | 0 | null | null | 0.007246 | 0.043478 | null | null | 0.014493 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 |
f82c5a3c72b1d1a33def4cb82bb669f4bedba971 | 781 | py | Python | app/vendors/migrations/0032_auto_20180318_1946.py | snakrani/discovery | 99690f186a194cabef6a5d1ad18fca715be1e187 | [
"CC0-1.0"
] | null | null | null | app/vendors/migrations/0032_auto_20180318_1946.py | snakrani/discovery | 99690f186a194cabef6a5d1ad18fca715be1e187 | [
"CC0-1.0"
] | null | null | null | app/vendors/migrations/0032_auto_20180318_1946.py | snakrani/discovery | 99690f186a194cabef6a5d1ad18fca715be1e187 | [
"CC0-1.0"
] | null | null | null | # Generated by Django 2.0.2 on 2018-03-18 19:46
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('categories', '0004_auto_20180316_0232'),
('vendors', '0031_auto_20180316_0232'),
]
operations = [
migrations.RemoveField(
... | 25.193548 | 75 | 0.577465 | 67 | 781 | 6.597015 | 0.626866 | 0.061086 | 0.072398 | 0.135747 | 0.235294 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0.087037 | 0.308579 | 781 | 30 | 76 | 26.033333 | 0.731481 | 0.057618 | 0 | 0.333333 | 1 | 0 | 0.224796 | 0.06267 | 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 |
f82cfad02119ae205419ebd2ae6738260e81cd71 | 1,615 | py | Python | Diena_12_Faili/text_util.py | edzya/Python_RTU_08_20 | d2921d998c611c18328dd523daf976a27ce858c1 | [
"MIT"
] | 8 | 2020-08-31T16:10:54.000Z | 2021-11-24T06:37:37.000Z | Diena_12_Faili/text_util.py | edzya/Python_RTU_08_20 | d2921d998c611c18328dd523daf976a27ce858c1 | [
"MIT"
] | 8 | 2021-06-08T22:30:29.000Z | 2022-03-12T00:48:55.000Z | Diena_12_Faili/text_util.py | edzya/Python_RTU_08_20 | d2921d998c611c18328dd523daf976a27ce858c1 | [
"MIT"
] | 12 | 2020-09-28T17:06:52.000Z | 2022-02-17T12:12:46.000Z | import os
def file_line_len(fpath):
return len(open(fpath, 'r', encoding="utf-8").readlines())
def get_poem_lines(fpath):
with open(fpath, encoding="utf-8") as f:
poem_lines = [line for line in f if len(
line.strip()) != 0 and not line.rstrip().endswith("***")]
# poem = open(fpath, '... | 31.057692 | 82 | 0.564087 | 212 | 1,615 | 4.15566 | 0.273585 | 0.087401 | 0.095346 | 0.063564 | 0.316686 | 0.181612 | 0.163451 | 0.093076 | 0.093076 | 0.093076 | 0 | 0.010221 | 0.273065 | 1,615 | 51 | 83 | 31.666667 | 0.740204 | 0.272446 | 0 | 0.206897 | 0 | 0 | 0.065292 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.137931 | false | 0.068966 | 0.068966 | 0.034483 | 0.275862 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 |
f830055051196bd38791770e767dd85a180f0f97 | 958 | py | Python | multi_wstop.py | IvanZhd/queens | de31257be38d00346529d5b273de8d5daf61b39a | [
"MIT"
] | null | null | null | multi_wstop.py | IvanZhd/queens | de31257be38d00346529d5b273de8d5daf61b39a | [
"MIT"
] | null | null | null | multi_wstop.py | IvanZhd/queens | de31257be38d00346529d5b273de8d5daf61b39a | [
"MIT"
] | null | null | null | #%%
import random
import multiprocessing
import sys
import time
def generate_something():
return random.choice(range(10))
def f(event):
while True:
x = generate_something()
print("Value is ", x)
if x == 5:
print("Got what I am searching for.")
event.set()
... | 20.382979 | 60 | 0.553236 | 115 | 958 | 4.513043 | 0.521739 | 0.065511 | 0.023121 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012719 | 0.343424 | 958 | 46 | 61 | 20.826087 | 0.812401 | 0.162839 | 0 | 0.071429 | 1 | 0 | 0.094458 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | false | 0 | 0.142857 | 0.035714 | 0.25 | 0.107143 | 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 |
f838ae71a25071b3c082273f245fbfb4db030535 | 4,174 | py | Python | harvester/letsdoit/screenshot/screenshot.py | Average-stu/osint | 21c3f2b5145fb82156a317f7728498f368f6f6bb | [
"MIT"
] | 2 | 2021-02-13T13:46:21.000Z | 2021-02-13T13:53:46.000Z | harvester/letsdoit/screenshot/screenshot.py | Average-stu/osint | 21c3f2b5145fb82156a317f7728498f368f6f6bb | [
"MIT"
] | null | null | null | harvester/letsdoit/screenshot/screenshot.py | Average-stu/osint | 21c3f2b5145fb82156a317f7728498f368f6f6bb | [
"MIT"
] | null | null | null | """
Screenshot module that utilizes pyppeteer to asynchronously
take screenshots
"""
from pyppeteer import launch
import aiohttp
import asyncio
import certifi
from datetime import datetime
import os
import ssl
import sys
class ScreenShotter:
def __init__(self, output):
self.output = output
self.... | 43.479167 | 120 | 0.583373 | 504 | 4,174 | 4.803571 | 0.371032 | 0.028914 | 0.019827 | 0.022305 | 0.266419 | 0.266419 | 0.266419 | 0.266419 | 0.266419 | 0.266419 | 0 | 0.02557 | 0.30666 | 4,174 | 95 | 121 | 43.936842 | 0.810988 | 0.111404 | 0 | 0.28 | 0 | 0.053333 | 0.209202 | 0 | 0 | 0 | 0 | 0.010526 | 0 | 1 | 0.04 | false | 0 | 0.106667 | 0.013333 | 0.266667 | 0.053333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 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 |
f8394738ca6f86b84efe4c23a832ab93cc1665d9 | 18,256 | py | Python | third_party/buildbot_8_4p1/buildbot/test/unit/test_process_properties.py | bopopescu/build | 4e95fd33456e552bfaf7d94f7d04b19273d1c534 | [
"BSD-3-Clause"
] | null | null | null | third_party/buildbot_8_4p1/buildbot/test/unit/test_process_properties.py | bopopescu/build | 4e95fd33456e552bfaf7d94f7d04b19273d1c534 | [
"BSD-3-Clause"
] | null | null | null | third_party/buildbot_8_4p1/buildbot/test/unit/test_process_properties.py | bopopescu/build | 4e95fd33456e552bfaf7d94f7d04b19273d1c534 | [
"BSD-3-Clause"
] | 1 | 2020-07-23T11:05:06.000Z | 2020-07-23T11:05:06.000Z | # This file is part of Buildbot. Buildbot is free software: you can
# redistribute it and/or modify it under the terms of the GNU General Public
# License as published by the Free Software Foundation, version 2.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without eve... | 38.677966 | 106 | 0.643186 | 2,032 | 18,256 | 5.694882 | 0.145669 | 0.045627 | 0.085379 | 0.092551 | 0.659437 | 0.594366 | 0.52869 | 0.446854 | 0.367611 | 0.36234 | 0 | 0.009092 | 0.21078 | 18,256 | 471 | 107 | 38.760085 | 0.794073 | 0.059542 | 0 | 0.306122 | 0 | 0 | 0.146407 | 0.009333 | 0 | 0 | 0 | 0 | 0.166181 | 1 | 0.25656 | false | 0 | 0.008746 | 0.014577 | 0.297376 | 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 |
f841508b6b7ff3a74cc5f34660be5174f3d56bd9 | 293 | py | Python | remote/try_selenium.py | Jianglinhe/Spider | 22307dc9b0c783d5128e9d9f82b43a66cdb34b26 | [
"Apache-2.0"
] | null | null | null | remote/try_selenium.py | Jianglinhe/Spider | 22307dc9b0c783d5128e9d9f82b43a66cdb34b26 | [
"Apache-2.0"
] | null | null | null | remote/try_selenium.py | Jianglinhe/Spider | 22307dc9b0c783d5128e9d9f82b43a66cdb34b26 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
# -*- coding:utf-8 -*-
"""
@Time: 19-6-22 下午3:04
@Author: hezhiqiang
@FileName: try_selenium.py
@IDE: PyCharm
"""
from selenium import webdriver
# 实例化一个浏览器
driver = webdriver.Chrome()
# 发送请求
driver.get("http://www.baidu.com")
| 15.421053 | 34 | 0.587031 | 36 | 293 | 4.75 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0.249147 | 293 | 18 | 35 | 16.277778 | 0.731818 | 0.552901 | 0 | 0 | 0 | 0 | 0.192308 | 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 |
f84708abb73465edd2a0e88e5ff99341705b3fec | 1,413 | py | Python | setup.py | jmnatzaganian/mHTM | b0ce2e3097ac2480eef4704285586a3e9e93c9e7 | [
"MIT"
] | 30 | 2016-01-05T12:50:37.000Z | 2021-03-05T02:14:52.000Z | setup.py | jmnatzaganian/mHTM | b0ce2e3097ac2480eef4704285586a3e9e93c9e7 | [
"MIT"
] | 1 | 2017-03-20T10:20:16.000Z | 2017-03-27T13:49:44.000Z | setup.py | tehtechguy/mHTM | b0ce2e3097ac2480eef4704285586a3e9e93c9e7 | [
"MIT"
] | 12 | 2016-02-22T19:28:38.000Z | 2021-06-04T07:00:46.000Z | # setup.py
#
# Author : James Mnatzaganian
# Contact : http://techtorials.me
# Organization : NanoComputing Research Lab - Rochester Institute of
# Technology
# Website : https://www.rit.edu/kgcoe/nanolab/
# Date Created : 12/02/15
#
# Description : Installs the mHTM project
# Python Vers... | 27.173077 | 77 | 0.700637 | 187 | 1,413 | 5.219251 | 0.593583 | 0.032787 | 0.047131 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014286 | 0.15782 | 1,413 | 51 | 78 | 27.705882 | 0.805882 | 0.37155 | 0 | 0 | 0 | 0 | 0.309551 | 0.033372 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.034483 | 0.103448 | null | null | 0.103448 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 |
f8488f2e49fd716621094ed670ee0db63e0a997b | 685 | py | Python | source/pkgsrc/devel/py-typed-ast/patches/patch-setup.py | Scottx86-64/dotfiles-1 | 51004b1e2b032664cce6b553d2052757c286087d | [
"Unlicense"
] | 1 | 2021-11-20T22:46:39.000Z | 2021-11-20T22:46:39.000Z | source/pkgsrc/devel/py-typed-ast/patches/patch-setup.py | Scottx86-64/dotfiles-1 | 51004b1e2b032664cce6b553d2052757c286087d | [
"Unlicense"
] | null | null | null | source/pkgsrc/devel/py-typed-ast/patches/patch-setup.py | Scottx86-64/dotfiles-1 | 51004b1e2b032664cce6b553d2052757c286087d | [
"Unlicense"
] | null | null | null | $NetBSD: patch-setup.py,v 1.1 2018/05/22 06:41:30 adam Exp $
Point to a parent directory, to distinguish includes from
the ones currenly installed with Python.
--- setup.py.orig 2017-07-18 21:23:52.000000000 +0000
+++ setup.py
@@ -9,7 +9,7 @@ except ImportError:
_ast27 = Extension(
'_ast27',
- include_dirs... | 26.346154 | 60 | 0.608759 | 93 | 685 | 4.387097 | 0.55914 | 0.107843 | 0.078431 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137218 | 0.223358 | 685 | 25 | 61 | 27.4 | 0.629699 | 0 | 0 | 0.095238 | 0 | 0 | 0.188321 | 0.093431 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.047619 | 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 |
f8490710c151fc592f224eacf4bc7814990442d8 | 281 | py | Python | turma/admin.py | TCC-CIMATEC/TCC-BACK | 103dcdc9dba995221d0606f1fdd162aa9c43aa86 | [
"MIT"
] | null | null | null | turma/admin.py | TCC-CIMATEC/TCC-BACK | 103dcdc9dba995221d0606f1fdd162aa9c43aa86 | [
"MIT"
] | null | null | null | turma/admin.py | TCC-CIMATEC/TCC-BACK | 103dcdc9dba995221d0606f1fdd162aa9c43aa86 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Turma
class TurmaAdmin(admin.ModelAdmin):
list_display = ('nome',
'turno',
'professor',
'codigoTurma',
'active',)
admin.site.register(Turma, TurmaAdmin) | 25.545455 | 38 | 0.562278 | 25 | 281 | 6.28 | 0.76 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.33452 | 281 | 11 | 38 | 25.545455 | 0.839572 | 0 | 0 | 0 | 0 | 0 | 0.124113 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.222222 | 0 | 0.444444 | 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 |
f84a8d43522dffc61562754abbdbeccf9722e2a8 | 16,518 | py | Python | simpleandsolid.py | pennyarcade/BlueYonder | 3038173b79c737f82997bb6d7f10e57ec7972a85 | [
"MIT"
] | 1 | 2021-07-16T09:37:59.000Z | 2021-07-16T09:37:59.000Z | simpleandsolid.py | pennyarcade/BlueYonder | 3038173b79c737f82997bb6d7f10e57ec7972a85 | [
"MIT"
] | 11 | 2018-04-05T10:27:02.000Z | 2018-04-19T09:41:14.000Z | simpleandsolid.py | pennyarcade/BlueYonder | 3038173b79c737f82997bb6d7f10e57ec7972a85 | [
"MIT"
] | 1 | 2021-07-16T09:38:01.000Z | 2021-07-16T09:38:01.000Z | #!/usr/bin/python
# -*- coding: utf-8 -*-
"""
Blue Yonder Coding Task - Image downloader - 3. Simple and solid solution.
:author Martin Toennishoff:
:created 2018/04/05:
Usage: quickanddirty.py <path to input file>
"""
# standard library modules
import argparse
import logging
import os
import sys
import tempfile
impo... | 35.986928 | 119 | 0.646446 | 2,201 | 16,518 | 4.774194 | 0.249432 | 0.01713 | 0.011991 | 0.019794 | 0.222021 | 0.180434 | 0.164161 | 0.1496 | 0.112866 | 0.082604 | 0 | 0.010534 | 0.252876 | 16,518 | 458 | 120 | 36.065502 | 0.840937 | 0.412459 | 0 | 0.158371 | 0 | 0.004525 | 0.192965 | 0.016991 | 0 | 0 | 0 | 0.0131 | 0 | 1 | 0.049774 | false | 0 | 0.049774 | 0 | 0.144796 | 0.004525 | 0 | 0 | 0 | null | 0 | 0 | 0 | 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 |
f84b30d6b90f3013c88b69f4c832e784a4c3438a | 1,947 | py | Python | src/Coocurrence.py | MartinKabierski/Guided_Conformance_Sampling | d43e70b8aefc997c6c65cec0f102adcec8c2905e | [
"MIT"
] | 1 | 2022-01-24T15:35:25.000Z | 2022-01-24T15:35:25.000Z | src/Coocurrence.py | MartinKabierski/Guided_Conformance_Sampling | d43e70b8aefc997c6c65cec0f102adcec8c2905e | [
"MIT"
] | null | null | null | src/Coocurrence.py | MartinKabierski/Guided_Conformance_Sampling | d43e70b8aefc997c6c65cec0f102adcec8c2905e | [
"MIT"
] | null | null | null | import math
class coocurence_rule:
def __init__(self):
self.correlation = 0.0
self.occurred_deviation = 0
self.occurred_conforming = 0
self.not_occurred_deviation = 0
self.not_occurred_conforming = 0
self.trace_indices = set()
def add_conforming(self):
... | 38.94 | 105 | 0.696456 | 232 | 1,947 | 5.560345 | 0.284483 | 0.111628 | 0.139535 | 0.111628 | 0.374419 | 0.272868 | 0.139535 | 0.077519 | 0 | 0 | 0 | 0.007952 | 0.224961 | 1,947 | 49 | 106 | 39.734694 | 0.846918 | 0.137134 | 0 | 0 | 0 | 0.028571 | 0.021467 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.257143 | false | 0 | 0.028571 | 0.028571 | 0.371429 | 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 |
f84f59ab4329472c7d229eaf15656b21d0750610 | 1,608 | py | Python | docmaster/searchengine/resultsmanager.py | iuricuneo/docmaster | a82470c19d2a0c2e5d9cb5960500f9c7e46b5105 | [
"MIT"
] | null | null | null | docmaster/searchengine/resultsmanager.py | iuricuneo/docmaster | a82470c19d2a0c2e5d9cb5960500f9c7e46b5105 | [
"MIT"
] | 1 | 2019-04-22T11:35:08.000Z | 2019-04-22T11:35:08.000Z | docmaster/searchengine/resultsmanager.py | iuricuneo/docmaster | a82470c19d2a0c2e5d9cb5960500f9c7e46b5105 | [
"MIT"
] | null | null | null | """
Results manager class, responsible for handling filehandler and search results
and making them readable for the user.
FIXME: Is it really necessary to receive a request here? -> I think so, but idk.
"""
import os
import actions
import dialogues
import userrequests as ureq
class ResultsManager:
"""
Will ... | 31.529412 | 80 | 0.655473 | 201 | 1,608 | 5.169154 | 0.502488 | 0.047161 | 0.028874 | 0.030799 | 0.044273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.271144 | 1,608 | 50 | 81 | 32.16 | 0.886519 | 0.417289 | 0 | 0 | 0 | 0 | 0.095941 | 0 | 0 | 0 | 0 | 0.02 | 0 | 1 | 0.190476 | false | 0 | 0.190476 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
f857bfdc658caf6ecf61cbacd6a91f7400e50228 | 2,880 | py | Python | univariant_linear_regression.py | aminziadna/Machine-Learning | fe4fd86191ea1fa4bca969aee757967f551c1be1 | [
"Apache-2.0"
] | null | null | null | univariant_linear_regression.py | aminziadna/Machine-Learning | fe4fd86191ea1fa4bca969aee757967f551c1be1 | [
"Apache-2.0"
] | null | null | null | univariant_linear_regression.py | aminziadna/Machine-Learning | fe4fd86191ea1fa4bca969aee757967f551c1be1 | [
"Apache-2.0"
] | null | null | null | import sqlite3
# load and prepare data
connection = sqlite3.connect("C:\\Users\\check\\Downloads\\soccer_database.sqlite")
cur = connection.cursor()
cur.execute("select height,weight from Player")
myData = cur.fetchall()
cur.close()
from random import seed
from random import randrange
from math import sqrt... | 28.8 | 97 | 0.656944 | 408 | 2,880 | 4.522059 | 0.29902 | 0.01897 | 0.02168 | 0.019512 | 0.058537 | 0.017344 | 0.017344 | 0 | 0 | 0 | 0 | 0.016599 | 0.226042 | 2,880 | 99 | 98 | 29.090909 | 0.811126 | 0.090972 | 0 | 0.027397 | 0 | 0 | 0.06255 | 0.020319 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.068493 | null | null | 0.013699 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 |
f85ad399b2fea90c9102ee01a21b5f844598cf6b | 1,512 | py | Python | django-server/movies/models.py | Huangming222/angular-django-movies | 12bb03f2235e271cbdf33025d52e6feedba4b71f | [
"MIT"
] | 40 | 2017-06-27T14:26:34.000Z | 2022-01-02T20:50:03.000Z | django-server/movies/models.py | Huangming222/angular-django-movies | 12bb03f2235e271cbdf33025d52e6feedba4b71f | [
"MIT"
] | 7 | 2020-06-05T20:32:54.000Z | 2022-02-10T17:30:34.000Z | django-server/movies/models.py | phamcong/angular2-django-movies-cloned | c5402b9fb22e099787f7fcfc51951d98f78853c7 | [
"MIT"
] | 24 | 2017-09-04T15:54:30.000Z | 2021-06-08T05:34:12.000Z | from django.db import models
from django.core.validators import MinLengthValidator
# Create your models here.
class Movie(models.Model):
source_id = models.CharField(max_length=100, primary_key=True)
title = models.CharField(max_length=200)
def __str__(self):
return 'ID: ' + self.source_id
de... | 32.869565 | 88 | 0.667328 | 192 | 1,512 | 5.114583 | 0.380208 | 0.0611 | 0.07332 | 0.09776 | 0.460285 | 0.327902 | 0.327902 | 0.327902 | 0.327902 | 0.118126 | 0 | 0.011696 | 0.208333 | 1,512 | 45 | 89 | 33.6 | 0.808688 | 0.062831 | 0 | 0.387097 | 0 | 0 | 0.042463 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.193548 | false | 0 | 0.064516 | 0.096774 | 0.741935 | 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 |
f85e3d2f9e431cc7acc3f711a0622eddd315af35 | 2,690 | py | Python | tests/conftest.py | vshagur/stepikunittest | dce49b6ac0e3e6a3c0381e87331849870dcf228b | [
"MIT"
] | null | null | null | tests/conftest.py | vshagur/stepikunittest | dce49b6ac0e3e6a3c0381e87331849870dcf228b | [
"MIT"
] | null | null | null | tests/conftest.py | vshagur/stepikunittest | dce49b6ac0e3e6a3c0381e87331849870dcf228b | [
"MIT"
] | null | null | null | import unittest
import pytest
@pytest.fixture()
def unittest_classes():
class TestAllTestPassed(unittest.TestCase):
def test_1(self):
"""TestAllTestPassed, test_1"""
self.assertEqual(1, 1)
def test_2(self):
"""TestAllTestPassed, test_2"""
self.asse... | 26.9 | 75 | 0.669145 | 289 | 2,690 | 6.017301 | 0.15917 | 0.062105 | 0.046003 | 0.052904 | 0.644048 | 0.628522 | 0.575043 | 0.575043 | 0.575043 | 0.575043 | 0 | 0.013579 | 0.233457 | 2,690 | 99 | 76 | 27.171717 | 0.829777 | 0.063197 | 0 | 0.661765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 1 | 0.191176 | false | 0.088235 | 0.029412 | 0 | 0.352941 | 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 |
f85fbb162833f4e0a9a4fca541c5b0c7597cf301 | 4,701 | py | Python | tests/test_generics.py | ch4zm/underleague-generator | 1d2749481181807b440959132d8f1d39e4b00f20 | [
"MIT"
] | null | null | null | tests/test_generics.py | ch4zm/underleague-generator | 1d2749481181807b440959132d8f1d39e4b00f20 | [
"MIT"
] | null | null | null | tests/test_generics.py | ch4zm/underleague-generator | 1d2749481181807b440959132d8f1d39e4b00f20 | [
"MIT"
] | null | null | null | import uuid
import os
import unittest
import tempfile
import underleague_generator
from underleague_generator.errors import (
InvalidSizeRequestError,
NotIterableError,
)
from underleague_generator.generics import (
IterableDataLoader,
UniformGenerator,
BaseLinearBiasedGenerator,
LinearBiasedGen... | 29.38125 | 85 | 0.636886 | 476 | 4,701 | 6.147059 | 0.254202 | 0.021873 | 0.026658 | 0.02905 | 0.26555 | 0.168148 | 0.117567 | 0.107314 | 0.049214 | 0 | 0 | 0.023088 | 0.262923 | 4,701 | 159 | 86 | 29.566038 | 0.821356 | 0.112104 | 0 | 0.237113 | 0 | 0 | 0.011551 | 0 | 0 | 0 | 0 | 0 | 0.154639 | 1 | 0.123711 | false | 0.072165 | 0.072165 | 0.020619 | 0.319588 | 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 |
f8665d439c89f258f18ec516b117e549b57f6a49 | 2,469 | py | Python | auto2school.py | YanggeLiu/auto2school | 2d8827a6e535858696340a345ff220766a89fb12 | [
"MIT"
] | null | null | null | auto2school.py | YanggeLiu/auto2school | 2d8827a6e535858696340a345ff220766a89fb12 | [
"MIT"
] | null | null | null | auto2school.py | YanggeLiu/auto2school | 2d8827a6e535858696340a345ff220766a89fb12 | [
"MIT"
] | null | null | null | import requests
import time
ti = time.time()
ti = int(round(ti*1000))
ti = str(ti)
url_WAN = 'http://172.16.30.33/drcom/login?callback=dr1602648591624&DDDDD=yourid&upass=password&0MKKey=123456&R1=0&R3=1&R6=0¶=00&v6ip=&_='+ti
Cancel_url_WAN = 'http://172.16.30.33/drcom/logout?callback=dr1602658731495&_='+ti
... | 32.92 | 147 | 0.510733 | 296 | 2,469 | 4.118243 | 0.297297 | 0.063167 | 0.029532 | 0.036095 | 0.494668 | 0.435603 | 0.435603 | 0.299426 | 0.173913 | 0.173913 | 0 | 0.087235 | 0.36857 | 2,469 | 75 | 148 | 32.92 | 0.694676 | 0.00324 | 0 | 0.426471 | 0 | 0.029412 | 0.289066 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.044118 | false | 0.058824 | 0.029412 | 0 | 0.132353 | 0.220588 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 |
f86af36bffbeeee9bf6e48318edeb1c0205ce328 | 1,432 | py | Python | events/__init__.py | BeeKeepers/smarthive-events-manager | 09dd5589b245cab0597a99eadd9465677d2749a8 | [
"MIT"
] | null | null | null | events/__init__.py | BeeKeepers/smarthive-events-manager | 09dd5589b245cab0597a99eadd9465677d2749a8 | [
"MIT"
] | null | null | null | events/__init__.py | BeeKeepers/smarthive-events-manager | 09dd5589b245cab0597a99eadd9465677d2749a8 | [
"MIT"
] | null | null | null | """
events/__init__.py
Declare main event dispatcher
"""
import logging
import json
import traceback
from events.attack import AttackManager
from events.trends import TrendsManager
from events.honeypot import HoneypotManager
LOGGER = logging.getLogger()
class Dispatcher(object):
"""docstring for Dispatc... | 28.078431 | 82 | 0.60405 | 150 | 1,432 | 5.6 | 0.466667 | 0.075 | 0.042857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.304469 | 1,432 | 50 | 83 | 28.64 | 0.843373 | 0.024441 | 0 | 0.15625 | 0 | 0 | 0.141667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.1875 | 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 |
f86b863dae02caaddca1a7ad43dadc4aef9ed1c2 | 2,160 | py | Python | bscscan_web_api/models/recently_added_token.py | kkristof200/py_bscscan_web_api | 1cf1b5a93b1e3273ec3de4c425811fcec51621db | [
"MIT"
] | 2 | 2021-06-07T13:06:41.000Z | 2022-03-27T15:58:25.000Z | bscscan_web_api/models/recently_added_token.py | kkristof200/py_bscscan_web_api | 1cf1b5a93b1e3273ec3de4c425811fcec51621db | [
"MIT"
] | null | null | null | bscscan_web_api/models/recently_added_token.py | kkristof200/py_bscscan_web_api | 1cf1b5a93b1e3273ec3de4c425811fcec51621db | [
"MIT"
] | 2 | 2021-06-18T20:36:46.000Z | 2021-09-29T06:11:38.000Z | # ------------------------------------------------------------ Imports ----------------------------------------------------------- #
# System
from typing import Optional
from datetime import datetime
# Pip
from jsoncodable import JSONCodable
# Local
from .compiler import Compiler
# ---------------------------------... | 31.304348 | 132 | 0.321296 | 121 | 2,160 | 5.619835 | 0.404959 | 0.070588 | 0.047059 | 0.052941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.000553 | 0.1625 | 2,160 | 69 | 133 | 31.304348 | 0.375345 | 0.530093 | 0 | 0 | 0 | 0 | 0.066465 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | false | 0 | 0.142857 | 0.035714 | 0.285714 | 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 |
f88c6eeea8a02c93ce33ac3d8561853cebcb1b69 | 1,077 | py | Python | DATA_SORT/LENS1/outputlens1_trefht.py | islasimpson/snowpaper_2022 | d6ee677f696d7fd6e7cadef8168ce4fd8b184cac | [
"Apache-2.0"
] | null | null | null | DATA_SORT/LENS1/outputlens1_trefht.py | islasimpson/snowpaper_2022 | d6ee677f696d7fd6e7cadef8168ce4fd8b184cac | [
"Apache-2.0"
] | null | null | null | DATA_SORT/LENS1/outputlens1_trefht.py | islasimpson/snowpaper_2022 | d6ee677f696d7fd6e7cadef8168ce4fd8b184cac | [
"Apache-2.0"
] | null | null | null | import xarray as xr
import numpy as np
import importlib
import sys
import warnings
from CASutils import lensread_utils as lens
from CASutils import readdata_utils as read
from CASutils import calendar_utils as cal
importlib.reload(lens)
importlib.reload(read)
importlib.reload(cal)
warnings.filterwarnings('ignore')
f... | 29.108108 | 99 | 0.724234 | 154 | 1,077 | 4.948052 | 0.467532 | 0.082677 | 0.070866 | 0.055118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024468 | 0.127205 | 1,077 | 36 | 100 | 29.916667 | 0.78617 | 0 | 0 | 0 | 0 | 0 | 0.156279 | 0.08 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.407407 | 0 | 0.407407 | 0.037037 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 |
f88ccb83a05acd60b3a4c19115733b6b06c366b0 | 230 | py | Python | Python/CursoEmVideo/Mundo 2/Desafios/Desafio66.py | carlos09v/Mini-Projects_Exercises | 0d457b5c5c83811fdefa1dd8f80ce436f8dac744 | [
"MIT"
] | 1 | 2021-08-23T13:04:55.000Z | 2021-08-23T13:04:55.000Z | Python/CursoEmVideo/Mundo 2/Desafios/Desafio66.py | carlos09v/Mini-Projects_Exercises | 0d457b5c5c83811fdefa1dd8f80ce436f8dac744 | [
"MIT"
] | null | null | null | Python/CursoEmVideo/Mundo 2/Desafios/Desafio66.py | carlos09v/Mini-Projects_Exercises | 0d457b5c5c83811fdefa1dd8f80ce436f8dac744 | [
"MIT"
] | null | null | null | count = soma = 0
while True:
n1=int(input('Digite um número: [999 para parar]'))
if n1==999:
break
count += 1
soma += n1
print('Acabou!')
print(f'Você digitou {count} valores, a soma entre eles é {soma}.')
| 23 | 67 | 0.6 | 36 | 230 | 3.833333 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063584 | 0.247826 | 230 | 9 | 68 | 25.555556 | 0.734104 | 0 | 0 | 0 | 0 | 0 | 0.426087 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.222222 | 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 |
f88e803021d4c7a416737ca1e795112580ecd73d | 905 | py | Python | longclaw/contrib/productrequests/migrations/0001_initial.py | Kuntal-KK/longclaw | a3493a62937689a15236b2943d19bcf4ec058cd9 | [
"MIT"
] | 1 | 2021-08-14T13:46:32.000Z | 2021-08-14T13:46:32.000Z | longclaw/contrib/productrequests/migrations/0001_initial.py | Kuntal-KK/longclaw | a3493a62937689a15236b2943d19bcf4ec058cd9 | [
"MIT"
] | null | null | null | longclaw/contrib/productrequests/migrations/0001_initial.py | Kuntal-KK/longclaw | a3493a62937689a15236b2943d19bcf4ec058cd9 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.11.5 on 2017-09-22 12:32
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.Crea... | 33.518519 | 149 | 0.646409 | 103 | 905 | 5.533981 | 0.699029 | 0.042105 | 0.049123 | 0.077193 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028694 | 0.229834 | 905 | 26 | 150 | 34.807692 | 0.789096 | 0.075138 | 0 | 0 | 1 | 0 | 0.148681 | 0.027578 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.388889 | 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 |
f89471e638b1ea3ab2efe59d77c793f315e44704 | 548 | py | Python | main.py | tonisidneimc/Genetic-Algorithm | 7ec93e1fc157941eaa5bdb345be86a9d3a129ed8 | [
"Apache-2.0"
] | null | null | null | main.py | tonisidneimc/Genetic-Algorithm | 7ec93e1fc157941eaa5bdb345be86a9d3a129ed8 | [
"Apache-2.0"
] | null | null | null | main.py | tonisidneimc/Genetic-Algorithm | 7ec93e1fc157941eaa5bdb345be86a9d3a129ed8 | [
"Apache-2.0"
] | null | null | null | from math import sin, sqrt
from src.Population import *
pop_size=100
crossover_rate=0.65
mutation_rate=0.08
num_ger=4000
if __name__ == "__main__" :
def f6(x, y : float) -> float:
d1 = sin(sqrt(x**2 + y**2)) ** 2 - .5
d2 = (1. + .001 * (x**2 + y**2)) ** 2
return .5 - d1 / d2
# create popu... | 16.606061 | 63 | 0.565693 | 81 | 548 | 3.617284 | 0.555556 | 0.047782 | 0.020478 | 0.027304 | 0.03413 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086614 | 0.304745 | 548 | 32 | 64 | 17.125 | 0.682415 | 0.04927 | 0 | 0 | 0 | 0 | 0.015414 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.052632 | false | 0.052632 | 0.105263 | 0 | 0.210526 | 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 |
f899698536923606d8258bf7dc1fc9d34393411f | 3,938 | py | Python | restapi/connectors/sqlalchemy/models.py | rapydo/http-api | ef0a299173195145303069534d45d446ea4da93a | [
"MIT"
] | 8 | 2018-07-04T09:54:46.000Z | 2022-03-17T08:21:06.000Z | restapi/connectors/sqlalchemy/models.py | rapydo/http-api | ef0a299173195145303069534d45d446ea4da93a | [
"MIT"
] | 19 | 2018-04-18T07:24:55.000Z | 2022-03-04T01:03:15.000Z | restapi/connectors/sqlalchemy/models.py | rapydo/http-api | ef0a299173195145303069534d45d446ea4da93a | [
"MIT"
] | 7 | 2018-07-03T12:17:50.000Z | 2021-05-05T04:33:32.000Z | """ Models for the relational database """
from restapi.connectors.sqlalchemy import SQLAlchemy, db
DEFAULT_COLLATION = None
if SQLAlchemy.is_mysql():
# Required by MySQL to accept unicode strings (like chinese)
DEFAULT_COLLATION = "utf8_unicode_ci"
####################################
# Define multi-multi re... | 41.893617 | 87 | 0.686897 | 554 | 3,938 | 4.823105 | 0.209386 | 0.128743 | 0.153443 | 0.11976 | 0.620509 | 0.573728 | 0.473054 | 0.406063 | 0.344686 | 0.329341 | 0 | 0.015292 | 0.153123 | 3,938 | 93 | 88 | 42.344086 | 0.785907 | 0.169375 | 0 | 0.193548 | 0 | 0 | 0.043465 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.032258 | 0.016129 | 0 | 0.806452 | 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 |
f8a25467d03b1f28f36976280ae0264406c88fed | 1,447 | py | Python | tests/io/protocol03.py | ktok07b6/polyphony | 657c5c7440520db6b4985970bd50547407693ac4 | [
"MIT"
] | 83 | 2015-11-30T09:59:13.000Z | 2021-08-03T09:12:28.000Z | tests/io/protocol03.py | jesseclin/polyphony | 657c5c7440520db6b4985970bd50547407693ac4 | [
"MIT"
] | 4 | 2017-02-10T01:43:11.000Z | 2020-07-14T03:52:25.000Z | tests/io/protocol03.py | jesseclin/polyphony | 657c5c7440520db6b4985970bd50547407693ac4 | [
"MIT"
] | 11 | 2016-11-18T14:39:15.000Z | 2021-02-23T10:05:20.000Z | from polyphony import testbench, module, is_worker_running
from polyphony.io import Port
from polyphony.typing import int8
from polyphony.timing import clkfence, clksleep
def worker(i1, i2, o1, o2, param):
while is_worker_running():
t1 = i1.rd()
t2 = i2.rd()
o1.wr(t1 + param)
o2.wr... | 30.145833 | 67 | 0.601935 | 234 | 1,447 | 3.589744 | 0.196581 | 0.07619 | 0.12381 | 0.171429 | 0.454762 | 0.392857 | 0.378571 | 0.340476 | 0.259524 | 0 | 0 | 0.108794 | 0.237733 | 1,447 | 47 | 68 | 30.787234 | 0.652765 | 0 | 0 | 0.051282 | 0 | 0 | 0.076019 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 1 | 0.076923 | false | 0 | 0.102564 | 0 | 0.205128 | 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 |
f8a2c804c917d2f5704417456e31a584d53d00ec | 390 | py | Python | commands/flutter_hot_restart_command.py | kennethnym/Subliminal | ffa49eba5bcaf1a7cc566d77e15db28fc33cdafe | [
"MIT"
] | null | null | null | commands/flutter_hot_restart_command.py | kennethnym/Subliminal | ffa49eba5bcaf1a7cc566d77e15db28fc33cdafe | [
"MIT"
] | null | null | null | commands/flutter_hot_restart_command.py | kennethnym/Subliminal | ffa49eba5bcaf1a7cc566d77e15db28fc33cdafe | [
"MIT"
] | null | null | null | import asyncio
from .dart_command import DartCommand
class FlutterHotRestartCommand(DartCommand):
def is_enabled(self):
if (project := super().project()):
return project.is_running
return False
def run(self):
if project := super().project():
asyncio.run_corout... | 26 | 99 | 0.682051 | 43 | 390 | 6 | 0.627907 | 0.046512 | 0.100775 | 0.139535 | 0.193798 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.220513 | 390 | 14 | 100 | 27.857143 | 0.848684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.7 | 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 |
f8a8f5b5f374a139da19c255b1d3520e6864d975 | 8,198 | py | Python | read_dlt645.py | aixiwang/python_dlt645 | 4eed4a7822b47b47950b12d73409684be7078f45 | [
"BSD-3-Clause"
] | 15 | 2017-09-29T06:00:38.000Z | 2021-11-12T04:26:58.000Z | read_dlt645.py | aixiwang/python_dlt645 | 4eed4a7822b47b47950b12d73409684be7078f45 | [
"BSD-3-Clause"
] | null | null | null | read_dlt645.py | aixiwang/python_dlt645 | 4eed4a7822b47b47950b12d73409684be7078f45 | [
"BSD-3-Clause"
] | 6 | 2016-07-11T03:23:10.000Z | 2021-09-10T09:07:46.000Z | #---------------------------------------------------------------------------------------------
# read_dlt645 v01 -- a tool to test dlt645 meter through IR reader
# BSD license is applied to this code
#
# Copyright by Aixi Wang (aixi.wang@hotmail.com)
#
#------------------------------------------------------------------... | 26.530744 | 118 | 0.471822 | 1,055 | 8,198 | 3.533649 | 0.156398 | 0.037554 | 0.038627 | 0.038627 | 0.496513 | 0.421406 | 0.391631 | 0.325644 | 0.317865 | 0.291845 | 0 | 0.106526 | 0.328983 | 8,198 | 308 | 119 | 26.616883 | 0.571169 | 0.168212 | 0 | 0.510204 | 0 | 0.010204 | 0.137661 | 0.044655 | 0 | 0 | 0.005323 | 0 | 0 | 0 | null | null | 0.010204 | 0.010204 | null | null | 0.173469 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 |
f8ad82fff7e2fe85e246023675bc143b35bcc84f | 5,412 | py | Python | atlas-outreach-data-tools-framework-1.1/Plotting/Paintable.py | Harvard-Neutrino/phys145 | c3dc5788128fa2a7db0af0c796cf3afd957bf0ed | [
"CC0-1.0"
] | null | null | null | atlas-outreach-data-tools-framework-1.1/Plotting/Paintable.py | Harvard-Neutrino/phys145 | c3dc5788128fa2a7db0af0c796cf3afd957bf0ed | [
"CC0-1.0"
] | null | null | null | atlas-outreach-data-tools-framework-1.1/Plotting/Paintable.py | Harvard-Neutrino/phys145 | c3dc5788128fa2a7db0af0c796cf3afd957bf0ed | [
"CC0-1.0"
] | 1 | 2021-11-30T02:08:12.000Z | 2021-11-30T02:08:12.000Z | """Here, the various paintables are defined. The idea behind the paintable is to split the problem of
plotting something into logical pieces. A paintable represents a commonly encountered representation of
data. The usual way to plot these representations is encoded in the deriving classes.
Available paintables are:
S... | 37.846154 | 108 | 0.6602 | 616 | 5,412 | 5.748377 | 0.301948 | 0.0305 | 0.019768 | 0.016944 | 0.163796 | 0.055916 | 0 | 0 | 0 | 0 | 0 | 0.00295 | 0.248337 | 5,412 | 142 | 109 | 38.112676 | 0.867502 | 0.279933 | 0 | 0.269663 | 0 | 0 | 0.021522 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.247191 | false | 0 | 0.033708 | 0.078652 | 0.426966 | 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 |
f8ae85598aa7f75e2308e8bd61f565cabe136d18 | 1,684 | py | Python | models/config.py | leeyevi/Deblur-Tensorflow | eba455c65806b9b4c8ee012e35702c29acb70086 | [
"MIT"
] | null | null | null | models/config.py | leeyevi/Deblur-Tensorflow | eba455c65806b9b4c8ee012e35702c29acb70086 | [
"MIT"
] | null | null | null | models/config.py | leeyevi/Deblur-Tensorflow | eba455c65806b9b4c8ee012e35702c29acb70086 | [
"MIT"
] | 1 | 2019-12-30T16:34:54.000Z | 2019-12-30T16:34:54.000Z | import argparse
def parse_args():
parser = argparse.ArgumentParser(description='deblur arguments')
parser.add_argument('--phase', type=str, default='test', help='determine whether train or test')
parser.add_argument('--datalist', type=str, default='..\\datalist_gopro.txt', help='training datalist')
par... | 67.36 | 109 | 0.673397 | 223 | 1,684 | 4.959641 | 0.363229 | 0.122061 | 0.230561 | 0.03255 | 0.166365 | 0.121157 | 0.057866 | 0 | 0 | 0 | 0 | 0.017908 | 0.171021 | 1,684 | 25 | 110 | 67.36 | 0.774355 | 0 | 0 | 0 | 0 | 0 | 0.344214 | 0.013056 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041667 | false | 0 | 0.041667 | 0 | 0.125 | 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 |
f8b385b84d7ba646719afecb967407589c8825ba | 8,782 | py | Python | systemrdl/walker.py | SystemRDL/SystemRDL-compiler | ea6b46ebfdb04aac54c6efd54a87e21dea33981d | [
"MIT",
"BSD-3-Clause"
] | null | null | null | systemrdl/walker.py | SystemRDL/SystemRDL-compiler | ea6b46ebfdb04aac54c6efd54a87e21dea33981d | [
"MIT",
"BSD-3-Clause"
] | null | null | null | systemrdl/walker.py | SystemRDL/SystemRDL-compiler | ea6b46ebfdb04aac54c6efd54a87e21dea33981d | [
"MIT",
"BSD-3-Clause"
] | null | null | null | from typing import Optional
from enum import IntEnum
from .node import AddressableNode, VectorNode, FieldNode, RegNode, RegfileNode
from .node import AddrmapNode, MemNode, SignalNode
from .node import RootNode, Node
class WalkerAction(IntEnum):
#: Continue walking the register model
Continue = 0
#: Wal... | 36.139918 | 113 | 0.653951 | 955 | 8,782 | 5.913089 | 0.190576 | 0.088543 | 0.076501 | 0.082876 | 0.557818 | 0.510005 | 0.510005 | 0.493005 | 0.335045 | 0.209315 | 0 | 0.002452 | 0.257117 | 8,782 | 242 | 114 | 36.289256 | 0.863121 | 0.269073 | 0 | 0.528 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.176 | false | 0.144 | 0.04 | 0 | 0.336 | 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 |
f8b6f479996526160c463d59e6a4a7743828578b | 1,483 | py | Python | browser.py | Darkatek7/Amazon-Auto-Checkout | 0df534cbd6106f80673edacd6f41794e7d504e99 | [
"MIT"
] | 2 | 2021-09-22T13:23:23.000Z | 2021-10-21T07:24:30.000Z | browser.py | Darkatek7/Amazon-Auto-Checkout | 0df534cbd6106f80673edacd6f41794e7d504e99 | [
"MIT"
] | null | null | null | browser.py | Darkatek7/Amazon-Auto-Checkout | 0df534cbd6106f80673edacd6f41794e7d504e99 | [
"MIT"
] | 1 | 2021-11-23T22:34:10.000Z | 2021-11-23T22:34:10.000Z | import undetected_chromedriver as webdriver
from selenium.webdriver.support.ui import WebDriverWait
from selenium.common.exceptions import TimeoutException
from selenium.webdriver.chrome.options import Options
from selenium.webdriver.common.by import By
from selenium.webdriver.support import expected_conditions as ec
f... | 26.482143 | 73 | 0.739717 | 181 | 1,483 | 5.889503 | 0.331492 | 0.078799 | 0.098499 | 0.052533 | 0.250469 | 0.186679 | 0.097561 | 0 | 0 | 0 | 0 | 0.00335 | 0.194875 | 1,483 | 55 | 74 | 26.963636 | 0.889447 | 0 | 0 | 0.302326 | 0 | 0 | 0.021578 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.116279 | false | 0 | 0.255814 | 0 | 0.581395 | 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 |
f8c2644a6c75d123363de38e0c7f2e5a37d28459 | 742 | py | Python | tests/mowgli_etl_test/pipeline/sentic/sentic_transformer_test.py | tetherless-world/mowgli | 28c19eba41e03e053ae4addff56a313d926e18d7 | [
"MIT"
] | 4 | 2021-01-15T15:36:23.000Z | 2021-09-01T06:52:05.000Z | tests/mowgli_etl_test/pipeline/sentic/sentic_transformer_test.py | tetherless-world/mowgli | 28c19eba41e03e053ae4addff56a313d926e18d7 | [
"MIT"
] | 63 | 2020-05-04T13:48:04.000Z | 2020-06-06T02:32:58.000Z | tests/mowgli_etl_test/pipeline/sentic/sentic_transformer_test.py | tetherless-world/mowgli-etl | 28c19eba41e03e053ae4addff56a313d926e18d7 | [
"MIT"
] | null | null | null | import pathlib
from mowgli_etl.model.kg_edge import KgEdge
from mowgli_etl.model.kg_node import KgNode
from mowgli_etl.pipeline.sentic.sentic_constants import SENTIC_FILE_KEY
from mowgli_etl.pipeline.sentic.sentic_transformer import SENTICTransformer
def test_transform(sample_sentic_file_path, sample_sentic_nodes, s... | 33.727273 | 86 | 0.762803 | 95 | 742 | 5.673684 | 0.368421 | 0.133581 | 0.096475 | 0.06679 | 0.19666 | 0.122449 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165768 | 742 | 21 | 87 | 35.333333 | 0.870759 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 1 | 0.0625 | false | 0 | 0.3125 | 0 | 0.375 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 |
f8d35b99e21525bcf4f74aa305e84218617fa097 | 1,604 | py | Python | user_guide/models.py | jmcriffey/django-user-guide | f4a1c462d2f7bf8569576f757e2f106b565e3e40 | [
"MIT"
] | null | null | null | user_guide/models.py | jmcriffey/django-user-guide | f4a1c462d2f7bf8569576f757e2f106b565e3e40 | [
"MIT"
] | null | null | null | user_guide/models.py | jmcriffey/django-user-guide | f4a1c462d2f7bf8569576f757e2f106b565e3e40 | [
"MIT"
] | null | null | null | from django.contrib.auth.models import User
from django.db import models
import six
@six.python_2_unicode_compatible
class Guide(models.Model):
"""
Describes a guide to be tied to any number of users.
"""
# The html that should be rendered in a guide.
html = models.TextField()
# The type of gu... | 36.454545 | 100 | 0.702618 | 225 | 1,604 | 4.888889 | 0.431111 | 0.036364 | 0.014545 | 0.043636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00471 | 0.205736 | 1,604 | 43 | 101 | 37.302326 | 0.858713 | 0.367207 | 0 | 0 | 0 | 0 | 0.075897 | 0.024615 | 0 | 0 | 0 | 0 | 0 | 1 | 0.047619 | false | 0 | 0.238095 | 0.047619 | 0.952381 | 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 |
6efa9c421ef2022173ce720f782b25d698dab02b | 1,656 | py | Python | 0.84/demos/session_state.py | jrieke/release-demos | c5202a664c99993f2f4abeb94b78e13d10e26cbe | [
"Apache-2.0"
] | 40 | 2020-08-30T13:33:49.000Z | 2022-03-05T10:59:02.000Z | 0.84/demos/session_state.py | jrieke/release-demos | c5202a664c99993f2f4abeb94b78e13d10e26cbe | [
"Apache-2.0"
] | 2 | 2021-08-19T20:05:18.000Z | 2022-01-13T17:25:49.000Z | 0.84/demos/session_state.py | jrieke/release-demos | c5202a664c99993f2f4abeb94b78e13d10e26cbe | [
"Apache-2.0"
] | 24 | 2020-10-02T23:27:58.000Z | 2022-03-03T03:01:30.000Z | import streamlit as st
from . import counter
from . import tic_tac_toe
from . import todo_list
from . import labelling
from . import pagination
def show():
st.image(
"https://emojipedia-us.s3.dualstack.us-west-1.amazonaws.com/thumbs/240/apple/279/joystick_1f579-fe0f.png",
width=100,
)
st.... | 27.6 | 184 | 0.629227 | 233 | 1,656 | 4.399142 | 0.403433 | 0.029268 | 0.063415 | 0.082927 | 0.346341 | 0.346341 | 0.346341 | 0.346341 | 0.346341 | 0.346341 | 0 | 0.035303 | 0.213164 | 1,656 | 59 | 185 | 28.067797 | 0.750576 | 0 | 0 | 0.25 | 0 | 0.15 | 0.509697 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.025 | true | 0 | 0.15 | 0 | 0.175 | 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 |
6efd5a880b39ccb9718f04c53428f9814c686c35 | 6,643 | py | Python | 2018/quals/crypto-better-zip/src/solver.py | iicarus-bit/google-ctf | 4eb8742bca58ff071ff8f6814d41d9ec7eb1db4b | [
"Apache-2.0"
] | 2,757 | 2018-04-28T21:41:36.000Z | 2022-03-29T06:33:36.000Z | 2018/quals/crypto-better-zip/src/solver.py | iicarus-bit/google-ctf | 4eb8742bca58ff071ff8f6814d41d9ec7eb1db4b | [
"Apache-2.0"
] | 20 | 2019-07-23T15:29:32.000Z | 2022-01-21T12:53:04.000Z | 2018/quals/crypto-better-zip/src/solver.py | iicarus-bit/google-ctf | 4eb8742bca58ff071ff8f6814d41d9ec7eb1db4b | [
"Apache-2.0"
] | 449 | 2018-05-09T05:54:05.000Z | 2022-03-30T14:54:18.000Z | #!/usr/bin/python
# Copyright 2018 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agre... | 25.648649 | 84 | 0.618245 | 1,099 | 6,643 | 3.589627 | 0.242038 | 0.039544 | 0.018251 | 0.036502 | 0.118124 | 0.046388 | 0.018758 | 0.018758 | 0.018758 | 0.018758 | 0 | 0.035771 | 0.238296 | 6,643 | 258 | 85 | 25.748062 | 0.743874 | 0.191329 | 0 | 0.102273 | 0 | 0 | 0.067342 | 0.009192 | 0 | 0 | 0.007503 | 0.003876 | 0 | 0 | null | null | 0 | 0.022727 | null | null | 0.051136 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 |
3e08db98f40a6d52d2ad6ce2c41f99c69a4493e4 | 8,249 | py | Python | backend/authentication/tests/views/test_views.py | catchysong/portunus | 957d9fdd9d786cf5fca4310c85bff0ebc10ce334 | [
"MIT"
] | null | null | null | backend/authentication/tests/views/test_views.py | catchysong/portunus | 957d9fdd9d786cf5fca4310c85bff0ebc10ce334 | [
"MIT"
] | null | null | null | backend/authentication/tests/views/test_views.py | catchysong/portunus | 957d9fdd9d786cf5fca4310c85bff0ebc10ce334 | [
"MIT"
] | null | null | null | import json
from unittest.mock import Mock
from urllib import parse
import pytest
from rest_framework.test import APIRequestFactory, APITestCase, force_authenticate
from django.test import override_settings
from django.urls import reverse
from authentication.factories import UserFactory, StaffUserFactory
from authent... | 33.262097 | 95 | 0.677173 | 911 | 8,249 | 5.84303 | 0.18112 | 0.067631 | 0.085666 | 0.074394 | 0.545745 | 0.465715 | 0.436596 | 0.382867 | 0.352245 | 0.341912 | 0 | 0.009992 | 0.223542 | 8,249 | 247 | 96 | 33.396761 | 0.821077 | 0.004849 | 0 | 0.309645 | 0 | 0 | 0.10763 | 0.039005 | 0 | 0 | 0 | 0 | 0.121827 | 1 | 0.116751 | false | 0.060914 | 0.06599 | 0.005076 | 0.213198 | 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 |
3e0b9b51144ec243581b74528cc2e097fc94461d | 3,691 | py | Python | find_duplicate.py | liumusicforever/Multi-Thread-Google-Image-Parser | 064338bf0409b7375bd0d438495b1b693a3aa230 | [
"MIT"
] | null | null | null | find_duplicate.py | liumusicforever/Multi-Thread-Google-Image-Parser | 064338bf0409b7375bd0d438495b1b693a3aa230 | [
"MIT"
] | null | null | null | find_duplicate.py | liumusicforever/Multi-Thread-Google-Image-Parser | 064338bf0409b7375bd0d438495b1b693a3aa230 | [
"MIT"
] | null | null | null | import os
import hashlib
import shutil
import uuid
import argparse
example_text = '''example:
python find_duplicate.py --clean_dataset ./data1 --mess_dataset ./data --group_num 2000
'''
parser = argparse.ArgumentParser( epilog=example_text,
formatter_class=argparse.... | 32.377193 | 124 | 0.621512 | 491 | 3,691 | 4.391039 | 0.228106 | 0.045455 | 0.034787 | 0.027829 | 0.239332 | 0.239332 | 0.178108 | 0.150278 | 0.122449 | 0.088126 | 0 | 0.009858 | 0.257925 | 3,691 | 113 | 125 | 32.663717 | 0.777291 | 0.008128 | 0 | 0.176471 | 0 | 0 | 0.121827 | 0 | 0 | 0 | 0 | 0 | 0.011765 | 0 | null | null | 0 | 0.058824 | null | null | 0.094118 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 |
3e12b4ec8566342d09cc5057e644d1c2e5886d47 | 493 | py | Python | posts/migrations/0003_auto_20190407_1242.py | 404-wave/404-project | 3ee2ca672e4a69f91c997a8988904481e26b3263 | [
"Apache-2.0"
] | 2 | 2019-03-15T17:34:03.000Z | 2019-03-24T21:39:45.000Z | posts/migrations/0003_auto_20190407_1242.py | 404-wave/404-project | 3ee2ca672e4a69f91c997a8988904481e26b3263 | [
"Apache-2.0"
] | 11 | 2019-02-14T03:14:49.000Z | 2022-01-13T01:03:59.000Z | posts/migrations/0003_auto_20190407_1242.py | 404-wave/404-project | 3ee2ca672e4a69f91c997a8988904481e26b3263 | [
"Apache-2.0"
] | 5 | 2019-01-26T01:52:10.000Z | 2019-05-01T23:12:27.000Z | # Generated by Django 2.1.5 on 2019-04-07 18:42
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('posts', '0002_post_title'),
]
operations = [
migrations.RemoveField(
model_name='post',
name='accessible_users',
... | 21.434783 | 50 | 0.572008 | 49 | 493 | 5.632653 | 0.714286 | 0.065217 | 0.094203 | 0.123188 | 0.231884 | 0.231884 | 0 | 0 | 0 | 0 | 0 | 0.056213 | 0.314402 | 493 | 22 | 51 | 22.409091 | 0.760355 | 0.091278 | 0 | 0.375 | 1 | 0 | 0.134529 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.0625 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
3e1345e69a67f6bcbf375f9dc86b09b46eee7056 | 12,095 | py | Python | recipe_modules/raw_io/api.py | engeg/recipes-py | 9dac536b55887262b4ce846f3db7a7f596542e5e | [
"Apache-2.0"
] | null | null | null | recipe_modules/raw_io/api.py | engeg/recipes-py | 9dac536b55887262b4ce846f3db7a7f596542e5e | [
"Apache-2.0"
] | null | null | null | recipe_modules/raw_io/api.py | engeg/recipes-py | 9dac536b55887262b4ce846f3db7a7f596542e5e | [
"Apache-2.0"
] | null | null | null | # -*- encoding: utf-8 -*-
# Copyright 2014 The LUCI Authors. All rights reserved.
# Use of this source code is governed under the Apache License, Version 2.0
# that can be found in the LICENSE file.
"""Provides objects for reading and writing raw data to and from steps."""
from recipe_engine import recipe_api
from re... | 35.784024 | 80 | 0.676891 | 1,763 | 12,095 | 4.50709 | 0.19966 | 0.049836 | 0.04153 | 0.011956 | 0.469922 | 0.399069 | 0.360685 | 0.31777 | 0.281148 | 0.246917 | 0.000331 | 0.00473 | 0.230922 | 12,095 | 337 | 81 | 35.890208 | 0.849065 | 0.137412 | 0 | 0.471795 | 0 | 0 | 0.049869 | 0 | 0 | 0 | 0 | 0 | 0.041026 | 0 | null | null | 0.010256 | 0.046154 | 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 |
3e13c8e16ef2a15dc38219154a2e0c143f01a598 | 839 | py | Python | scripts/tabby-tpf-plot.py | mirca/pyke-paper | 1683516b0e4daeee217e58df0a21a4ec26b3d39f | [
"MIT"
] | null | null | null | scripts/tabby-tpf-plot.py | mirca/pyke-paper | 1683516b0e4daeee217e58df0a21a4ec26b3d39f | [
"MIT"
] | 2 | 2018-04-04T02:04:44.000Z | 2018-04-10T17:04:08.000Z | scripts/tabby-tpf-plot.py | mirca/pyke-paper | 1683516b0e4daeee217e58df0a21a4ec26b3d39f | [
"MIT"
] | 1 | 2018-04-09T08:58:57.000Z | 2018-04-09T08:58:57.000Z | import matplotlib.pyplot as plt
from matplotlib import rc
import matplotlib
import numpy as np
from pyke import KeplerTargetPixelFile
from pyke.utils import KeplerQualityFlags
matplotlib.rcParams['text.latex.unicode'] = True
rc('text', usetex=True)
font = {'family' : 'serif',
'size' : 14,
'serif' : ... | 33.56 | 91 | 0.703218 | 107 | 839 | 5.420561 | 0.570093 | 0.048276 | 0.044828 | 0.058621 | 0.096552 | 0.096552 | 0.096552 | 0 | 0 | 0 | 0 | 0.058405 | 0.16329 | 839 | 24 | 92 | 34.958333 | 0.767806 | 0 | 0 | 0 | 0 | 0 | 0.275656 | 0.095465 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.315789 | 0 | 0.315789 | 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 |
3e174d55f2be69e698ca3dd237ab09833161eef6 | 2,270 | py | Python | utils/juan_checks.py | nwunderly/RevBots | 820a5a28c093f9fc4a73651117e06900e16976a2 | [
"MIT"
] | 5 | 2020-05-08T10:09:10.000Z | 2020-07-22T23:55:00.000Z | utils/juan_checks.py | nwunderly/RevBots | 820a5a28c093f9fc4a73651117e06900e16976a2 | [
"MIT"
] | 2 | 2020-02-27T00:30:49.000Z | 2020-03-02T21:35:31.000Z | utils/juan_checks.py | nwunderly/RevBots | 820a5a28c093f9fc4a73651117e06900e16976a2 | [
"MIT"
] | 2 | 2020-02-27T13:03:27.000Z | 2020-03-01T19:12:42.000Z | import discord
from discord.ext import commands
"""
RECOMMENDED WAY TO IMPORT THIS FILE:
from utils import juan_checks as checks
- unrestricted: this and owner return True for all checks
- systemAdmin: exclusively bot management related stuff
- guildAdmin: moderation stuff and server management stuff
... | 27.349398 | 150 | 0.618502 | 283 | 2,270 | 4.897527 | 0.318021 | 0.040404 | 0.046898 | 0.05772 | 0.349928 | 0.282107 | 0.207792 | 0.207792 | 0.165945 | 0.165945 | 0 | 0.020906 | 0.24141 | 2,270 | 82 | 151 | 27.682927 | 0.783972 | 0.181057 | 0 | 0.473684 | 0 | 0 | 0.034941 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.131579 | false | 0 | 0.052632 | 0 | 0.631579 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 |
3e1c13cd376dbf0d0f78d35e8bb58d0be31853e3 | 529 | py | Python | frontends/etiquette_flask/backend/endpoints/basic_endpoints.py | voussoir/etiquette | e982858c28335b11528c52af181abd1bbc71673f | [
"BSD-3-Clause"
] | 20 | 2018-03-20T01:40:13.000Z | 2022-02-11T20:23:41.000Z | frontends/etiquette_flask/backend/endpoints/basic_endpoints.py | voussoir/etiquette | e982858c28335b11528c52af181abd1bbc71673f | [
"BSD-3-Clause"
] | null | null | null | frontends/etiquette_flask/backend/endpoints/basic_endpoints.py | voussoir/etiquette | e982858c28335b11528c52af181abd1bbc71673f | [
"BSD-3-Clause"
] | 1 | 2018-03-20T13:10:31.000Z | 2018-03-20T13:10:31.000Z | import flask; from flask import request
import random
from .. import common
site = common.site
session_manager = common.session_manager
####################################################################################################
@site.route('/')
def root():
motd = random.choice(common.P.config['motd_str... | 26.45 | 100 | 0.599244 | 59 | 529 | 5.254237 | 0.474576 | 0.087097 | 0.103226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098299 | 529 | 19 | 101 | 27.842105 | 0.649895 | 0 | 0 | 0 | 0 | 0 | 0.107226 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.153846 | false | 0 | 0.230769 | 0.076923 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.