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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
66b4d127c5e847a2dd9a6d1fdb66367363be527a | 6,227 | py | Python | jarbas_hive_mind/discovery/__init__.py | flo-mic/HiveMind-core | ccc394d53f69900c3a119cce54f2f2630d8099ea | [
"Apache-2.0"
] | 1 | 2021-08-23T01:43:24.000Z | 2021-08-23T01:43:24.000Z | jarbas_hive_mind/discovery/__init__.py | flo-mic/HiveMind-core | ccc394d53f69900c3a119cce54f2f2630d8099ea | [
"Apache-2.0"
] | 1 | 2021-08-23T01:17:48.000Z | 2021-08-23T01:17:48.000Z | jarbas_hive_mind/discovery/__init__.py | flo-mic/HiveMind-core | ccc394d53f69900c3a119cce54f2f2630d8099ea | [
"Apache-2.0"
] | null | null | null | import upnpclient
import threading
from time import sleep
from ovos_utils.log import LOG
from ovos_utils.xml_helper import xml2dict
from jarbas_hive_mind.slave import HiveMindSlave
from jarbas_hive_mind.slave.terminal import HiveMindTerminal
from jarbas_hive_mind.discovery.zero import ZeroScanner
import requests
clas... | 26.725322 | 72 | 0.562229 | 699 | 6,227 | 4.856938 | 0.204578 | 0.074521 | 0.061856 | 0.064801 | 0.240059 | 0.145508 | 0.126657 | 0.096613 | 0.053608 | 0.036524 | 0 | 0.002961 | 0.349125 | 6,227 | 232 | 73 | 26.840517 | 0.83469 | 0.017665 | 0 | 0.328042 | 0 | 0 | 0.041237 | 0.005891 | 0 | 0 | 0 | 0.00431 | 0 | 1 | 0.185185 | false | 0.010582 | 0.05291 | 0.111111 | 0.380952 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 |
66c220552321663e95ee72668a3556a41e547235 | 394 | py | Python | pages/management/commands/update_dashboard_cache.py | CMU-TRP/podd-api | 6eb5c4598f848f75d131287163cd9babf2a0a0fc | [
"MIT"
] | 3 | 2020-04-26T06:28:50.000Z | 2021-04-05T08:02:26.000Z | pages/management/commands/update_dashboard_cache.py | CMU-TRP/podd-api | 6eb5c4598f848f75d131287163cd9babf2a0a0fc | [
"MIT"
] | 10 | 2020-06-05T17:36:10.000Z | 2022-03-11T23:16:42.000Z | pages/management/commands/update_dashboard_cache.py | CMU-TRP/podd-api | 6eb5c4598f848f75d131287163cd9babf2a0a0fc | [
"MIT"
] | 5 | 2021-04-08T08:43:49.000Z | 2021-11-27T06:36:46.000Z | # -*- encoding: utf-8 -*-
import json
from django.core.management import BaseCommand
from django.template import Template, Context
from reports.models import Report, ReportType
class Command(BaseCommand):
help = 'Update public report data'
def handle(self, *args, **options):
from pages.tasks impo... | 23.176471 | 62 | 0.746193 | 50 | 394 | 5.72 | 0.68 | 0.06993 | 0.118881 | 0.153846 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003067 | 0.172589 | 394 | 17 | 63 | 23.176471 | 0.874233 | 0.058376 | 0 | 0 | 0 | 0 | 0.067568 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.555556 | 0 | 0.888889 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 |
66cb7b0c8dae5b1bb347553f1e22e02db6b12ba3 | 3,105 | py | Python | src/models/train_model.py | buj201/two_sigma_challenge | cc699289648814639e0586f20cd176b7cfafb8a1 | [
"FTL"
] | null | null | null | src/models/train_model.py | buj201/two_sigma_challenge | cc699289648814639e0586f20cd176b7cfafb8a1 | [
"FTL"
] | null | null | null | src/models/train_model.py | buj201/two_sigma_challenge | cc699289648814639e0586f20cd176b7cfafb8a1 | [
"FTL"
] | null | null | null | import numpy as np
import pandas as pd
import pickle
import os
#Models
from sklearn.linear_model import ElasticNet
from sklearn.ensemble import GradientBoostingRegressor
#Preprocessing
from sklearn.preprocessing import OneHotEncoder
#Model Selection
from sklearn.model_selection import train_test_split
from sklearn.m... | 30.742574 | 174 | 0.616103 | 393 | 3,105 | 4.720102 | 0.407125 | 0.048518 | 0.021563 | 0.040431 | 0.216173 | 0.155256 | 0.12938 | 0.12938 | 0.12938 | 0.046361 | 0 | 0.029216 | 0.272464 | 3,105 | 100 | 175 | 31.05 | 0.791943 | 0.01095 | 0 | 0.064516 | 0 | 0 | 0.15823 | 0.018373 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.16129 | null | null | 0.096774 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 |
66da7a40eb505b47e8a4f2ea49cd063d8fc60bed | 793 | py | Python | api/resources/user_issues_list.py | nikmons/screwdriver | 9e59ea5f6338eb8377475f139318c203b4c1a118 | [
"MIT"
] | 1 | 2018-10-29T07:08:44.000Z | 2018-10-29T07:08:44.000Z | api/resources/user_issues_list.py | nikmons/screwdriver | 9e59ea5f6338eb8377475f139318c203b4c1a118 | [
"MIT"
] | 49 | 2018-11-06T07:10:41.000Z | 2019-01-14T12:48:08.000Z | api/resources/user_issues_list.py | nikmons/screwdriver | 9e59ea5f6338eb8377475f139318c203b4c1a118 | [
"MIT"
] | 2 | 2019-01-12T10:13:23.000Z | 2019-01-12T10:18:04.000Z | from flask import Flask, jsonify, abort, make_response
from flask_restful import Api, Resource, reqparse, marshal
from flasgger import swag_from
from flask_jwt_extended import jwt_required, get_jwt_identity
import datetime
from app import db
from models import models
from resources.fields import issues_fields
class... | 29.37037 | 88 | 0.742749 | 106 | 793 | 5.254717 | 0.462264 | 0.048474 | 0.050269 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184111 | 793 | 26 | 89 | 30.5 | 0.860896 | 0.034048 | 0 | 0 | 0 | 0 | 0.043194 | 0.03534 | 0 | 0 | 0 | 0 | 0 | 1 | 0.105263 | false | 0 | 0.421053 | 0 | 0.631579 | 0.052632 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
66e39592f2ba9faf62d2b6e9df4446b03b68d2a6 | 1,041 | py | Python | weibo.cn2/python/download_test/downloader.py | minghu6/captcha-break | 7c60b93fe24a73a159f436308eb6a5d79b609c77 | [
"MIT"
] | null | null | null | weibo.cn2/python/download_test/downloader.py | minghu6/captcha-break | 7c60b93fe24a73a159f436308eb6a5d79b609c77 | [
"MIT"
] | null | null | null | weibo.cn2/python/download_test/downloader.py | minghu6/captcha-break | 7c60b93fe24a73a159f436308eb6a5d79b609c77 | [
"MIT"
] | 1 | 2020-01-11T03:59:15.000Z | 2020-01-11T03:59:15.000Z | #!/usr/bin/env python
# coding:utf-8
import requests
import uuid
from PIL import Image
import os
from bs4 import BeautifulSoup
url = "http://login.weibo.cn/login/"
for i in range(2000):
try:
resp = requests.get(url)
bsObj = BeautifulSoup(resp.content, "lxml")
image_url = str(bsObj.img['src'... | 31.545455 | 68 | 0.54659 | 126 | 1,041 | 4.484127 | 0.539683 | 0.115044 | 0.090265 | 0.056637 | 0.20177 | 0.116814 | 0 | 0 | 0 | 0 | 0 | 0.016713 | 0.310279 | 1,041 | 32 | 69 | 32.53125 | 0.770195 | 0.063401 | 0 | 0.275862 | 0 | 0 | 0.093621 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.172414 | 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 |
66ef4ab07c8ec6e059b7d13b065426a892c59f84 | 552 | py | Python | root/src/log.py | tensorlang/nao | 380d6a56d82370a0944621e8fca6199a98bc5692 | [
"Apache-2.0"
] | 332 | 2017-10-31T18:26:40.000Z | 2021-05-14T09:29:30.000Z | root/src/log.py | tensorlang/nao | 380d6a56d82370a0944621e8fca6199a98bc5692 | [
"Apache-2.0"
] | 24 | 2017-01-19T01:55:19.000Z | 2017-03-24T06:12:57.000Z | root/src/log.py | tensorlang/nao | 380d6a56d82370a0944621e8fca6199a98bc5692 | [
"Apache-2.0"
] | 28 | 2017-12-13T00:32:40.000Z | 2022-03-13T15:54:39.000Z | from tensorflow.python.framework import dtypes
import sys
from nao.run import graph_summary
def eprint(*args, **kwargs):
print(*args, file=sys.stderr, **kwargs)
def LogWithStep(summary_protobuf, global_step) -> dtypes.int64:
graph_summary.get_summary_writer().add_summary(summary_protobuf, global_step=global_ste... | 25.090909 | 91 | 0.766304 | 78 | 552 | 5.217949 | 0.423077 | 0.14742 | 0.103194 | 0.12285 | 0.260442 | 0.260442 | 0.260442 | 0.260442 | 0.260442 | 0 | 0 | 0.018519 | 0.119565 | 552 | 21 | 92 | 26.285714 | 0.81893 | 0 | 0 | 0.2 | 0 | 0 | 0.043478 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.266667 | false | 0 | 0.2 | 0 | 0.666667 | 0.266667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
66ef76202707d5fcfaf85997e0b9b77cb2db9b41 | 4,989 | py | Python | src/dejima/plugin.py | coddingtonbear/dejima | 3edd8396c5449ad921ed0f1933c70b71f73ac445 | [
"MIT"
] | 1 | 2021-08-22T04:12:01.000Z | 2021-08-22T04:12:01.000Z | src/dejima/plugin.py | coddingtonbear/dejima | 3edd8396c5449ad921ed0f1933c70b71f73ac445 | [
"MIT"
] | null | null | null | src/dejima/plugin.py | coddingtonbear/dejima | 3edd8396c5449ad921ed0f1933c70b71f73ac445 | [
"MIT"
] | null | null | null | from __future__ import annotations
import argparse
import dataclasses
import logging
from typing import Dict
from typing import Iterable
from typing import List
from typing import Optional
from typing import Tuple
from typing import Type
from rich.console import Console
from safdie import BaseCommand
from safdie impo... | 25.454082 | 81 | 0.655442 | 565 | 4,989 | 5.527434 | 0.19469 | 0.048991 | 0.03074 | 0.023055 | 0.169709 | 0.136407 | 0.064681 | 0.064681 | 0 | 0 | 0 | 0 | 0.25436 | 4,989 | 195 | 82 | 25.584615 | 0.839516 | 0 | 0 | 0.197183 | 0 | 0 | 0.028864 | 0.017438 | 0 | 0 | 0 | 0 | 0 | 1 | 0.161972 | false | 0.007042 | 0.098592 | 0.091549 | 0.570423 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
dd05fd12e8ec7b3a91ddcddb7f9ebe0bf5781213 | 8,303 | py | Python | EmeraldAI/Application/Main/Brain_CV.py | MaxMorgenstern/EmeraldAI | 4bbb50f94b656904c428fc28cdbb61e7353e61aa | [
"Apache-2.0"
] | null | null | null | EmeraldAI/Application/Main/Brain_CV.py | MaxMorgenstern/EmeraldAI | 4bbb50f94b656904c428fc28cdbb61e7353e61aa | [
"Apache-2.0"
] | null | null | null | EmeraldAI/Application/Main/Brain_CV.py | MaxMorgenstern/EmeraldAI | 4bbb50f94b656904c428fc28cdbb61e7353e61aa | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python
# -*- coding: utf-8 -*-
import sys
import time
from os.path import dirname, abspath
sys.path.append(dirname(dirname(dirname(dirname(abspath(__file__))))))
reload(sys)
sys.setdefaultencoding('utf-8')
import re
import rospy
from std_msgs.msg import String
from EmeraldAI.Logic.Modules import Pid
from E... | 36.577093 | 158 | 0.643382 | 757 | 8,303 | 6.896962 | 0.241744 | 0.027581 | 0.021452 | 0.026815 | 0.215476 | 0.167018 | 0.167018 | 0.118368 | 0.085999 | 0.032561 | 0 | 0.007793 | 0.242683 | 8,303 | 226 | 159 | 36.738938 | 0.822519 | 0.035529 | 0 | 0.179487 | 0 | 0.00641 | 0.103785 | 0.023941 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.070513 | null | null | 0.019231 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 |
dd0ab1ac952c2fffc7be785104bbe02e4f72cf46 | 185 | py | Python | model/name2idx/variables.py | tototo617/Biomodel-Hegerat2014 | 21708c13956202a715a48f21ab96034fee1999db | [
"MIT"
] | null | null | null | model/name2idx/variables.py | tototo617/Biomodel-Hegerat2014 | 21708c13956202a715a48f21ab96034fee1999db | [
"MIT"
] | null | null | null | model/name2idx/variables.py | tototo617/Biomodel-Hegerat2014 | 21708c13956202a715a48f21ab96034fee1999db | [
"MIT"
] | null | null | null | var_names = [\
'MPF',
'Cdc25',
'Wee1',
'Gwl',
'ENSAPt',
'PP2',
#
'len_f_vars'\
]
for idx,name in enumerate(var_names):
exec('%s=%d'%(name,idx)) | 13.214286 | 37 | 0.464865 | 23 | 185 | 3.565217 | 0.826087 | 0.195122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031496 | 0.313514 | 185 | 14 | 38 | 13.214286 | 0.614173 | 0 | 0 | 0 | 0 | 0 | 0.210811 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 |
dd1aa71aa6a20759b6915207f890878024795a7e | 6,784 | py | Python | src/TEMPer_USB/temper-python-master/temperusb/temper.py | resolutedreamer/EE199 | 4a18ca64cc414fd33f35794cea2abc8d7c224deb | [
"Apache-2.0"
] | null | null | null | src/TEMPer_USB/temper-python-master/temperusb/temper.py | resolutedreamer/EE199 | 4a18ca64cc414fd33f35794cea2abc8d7c224deb | [
"Apache-2.0"
] | null | null | null | src/TEMPer_USB/temper-python-master/temperusb/temper.py | resolutedreamer/EE199 | 4a18ca64cc414fd33f35794cea2abc8d7c224deb | [
"Apache-2.0"
] | null | null | null | # encoding: utf-8
#
# Handles devices reporting themselves as USB VID/PID 0C45:7401 (mine also says
# RDing TEMPerV1.2).
#
# Copyright 2012-2014 Philipp Adelt <info@philipp.adelt.net>
#
# This code is licensed under the GNU public license (GPL). See LICENSE.md for
# details.
import usb
import sys
import struct
import ... | 31.553488 | 93 | 0.553803 | 800 | 6,784 | 4.53625 | 0.30875 | 0.01488 | 0.01488 | 0.028934 | 0.119592 | 0.085423 | 0.085423 | 0.049049 | 0.049049 | 0 | 0 | 0.035068 | 0.331663 | 6,784 | 214 | 94 | 31.700935 | 0.765329 | 0.056899 | 0 | 0.167832 | 0 | 0.006993 | 0.100817 | 0.038692 | 0 | 0 | 0.007266 | 0 | 0 | 0 | null | null | 0 | 0.041958 | 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 |
dd1ecf29d7dd07ab70491ca28992c58db2f496c7 | 625 | py | Python | ASGama CTF/[FOREN] Stackable/solversoal3.py | bemrdo/CTF-2019 | 424512f7c43278d72091aa737da78907c14f9fc1 | [
"MIT"
] | null | null | null | ASGama CTF/[FOREN] Stackable/solversoal3.py | bemrdo/CTF-2019 | 424512f7c43278d72091aa737da78907c14f9fc1 | [
"MIT"
] | null | null | null | ASGama CTF/[FOREN] Stackable/solversoal3.py | bemrdo/CTF-2019 | 424512f7c43278d72091aa737da78907c14f9fc1 | [
"MIT"
] | 1 | 2020-03-14T07:24:12.000Z | 2020-03-14T07:24:12.000Z | d = open("soal3.png", "rb").read()
l = 31 * 16
c = d[l:]
i1 = ""
i2 = ""
for i in range(1,len(c)):
if i % 2 == 0 :
i2 += c[i]
else :
i1 += c[i]
e = open("soal3_1.jpg","wb").write(i1)
e = open("soal3_2.jpg","wb").write(i2)
import sys
from PIL import Image
images = map(Image.open, ['soal3_1.j... | 16.891892 | 56 | 0.5936 | 116 | 625 | 3.077586 | 0.448276 | 0.10084 | 0.033613 | 0.072829 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.050201 | 0.2032 | 625 | 36 | 57 | 17.361111 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0.1152 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.08 | null | null | 0.04 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
dd1ff4d39f93ac8ad39fb6027c4e978959647343 | 1,019 | py | Python | bechdel-disney/analysis.py | gautamdayal/fivethirtyeight-fork | 009d39e1218293f98715fff306480a234422651f | [
"CC-BY-4.0"
] | null | null | null | bechdel-disney/analysis.py | gautamdayal/fivethirtyeight-fork | 009d39e1218293f98715fff306480a234422651f | [
"CC-BY-4.0"
] | null | null | null | bechdel-disney/analysis.py | gautamdayal/fivethirtyeight-fork | 009d39e1218293f98715fff306480a234422651f | [
"CC-BY-4.0"
] | null | null | null | import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
with open('../data/bechdel/movies.csv', 'r') as f:
bechdel_data = pd.read_csv(f)
with open('disney_movies.csv', 'r') as f:
disney_data = pd.read_csv(f)
# print(bechdel_data.head())
# print(disney_data.head())
disney_movies = list(disney_d... | 23.697674 | 52 | 0.652601 | 168 | 1,019 | 3.875 | 0.375 | 0.043011 | 0.046083 | 0.036866 | 0.082949 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019208 | 0.182532 | 1,019 | 42 | 53 | 24.261905 | 0.762305 | 0.05103 | 0 | 0 | 0 | 0 | 0.121369 | 0.026971 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.125 | 0.09375 | 0 | 0.09375 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 |
dd24da5e9f72ce640b9ab11b87623fa83b644d27 | 897 | py | Python | kickstart.py | thegeorgelee/clover-android-sdk | 1e9802ea151ea36d2925af40f4c7cbc46997581e | [
"Apache-2.0"
] | null | null | null | kickstart.py | thegeorgelee/clover-android-sdk | 1e9802ea151ea36d2925af40f4c7cbc46997581e | [
"Apache-2.0"
] | null | null | null | kickstart.py | thegeorgelee/clover-android-sdk | 1e9802ea151ea36d2925af40f4c7cbc46997581e | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
import json
import urllib
import urllib2
import os
desired_apps = ['com.clover.engine', 'com.clover.register']
if __name__ == "__main__":
print 'Getting app list', '...'
request = urllib2.urlopen('https://api.clover.com/v2/internal/base_android_apps')
json_data = json.loads(request.re... | 33.222222 | 85 | 0.666667 | 117 | 897 | 4.931624 | 0.521368 | 0.076257 | 0.041594 | 0.062392 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004196 | 0.202899 | 897 | 26 | 86 | 34.5 | 0.802797 | 0.022297 | 0 | 0 | 0 | 0 | 0.375571 | 0.042237 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.190476 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
dd2f00e572a8966b5d823163d5895a3dd3ceab1c | 7,145 | py | Python | client.py | kgeoffrey/TPM | d77c1e579d4955f9723a3ff62af735df171fb008 | [
"Apache-2.0"
] | null | null | null | client.py | kgeoffrey/TPM | d77c1e579d4955f9723a3ff62af735df171fb008 | [
"Apache-2.0"
] | null | null | null | client.py | kgeoffrey/TPM | d77c1e579d4955f9723a3ff62af735df171fb008 | [
"Apache-2.0"
] | null | null | null | # from socketIO_client import SocketIO, LoggingNamespace
import sys
import socketio
import numpy as np
import math
from random import randrange
sio = socketio.Client()
@sio.on('receive_chaos_output2')
def on_message(msg):
if msg['output'] == tpmclient.tpm.chaosmap():
tpmclient.IsSync = True
prin... | 29.163265 | 131 | 0.510707 | 819 | 7,145 | 4.340659 | 0.189255 | 0.117018 | 0.164557 | 0.204782 | 0.411814 | 0.336146 | 0.287764 | 0.255696 | 0.208439 | 0.189873 | 0 | 0.012404 | 0.345556 | 7,145 | 244 | 132 | 29.282787 | 0.747861 | 0.049825 | 0 | 0.202073 | 0 | 0 | 0.145597 | 0.003098 | 0 | 0 | 0 | 0 | 0 | 1 | 0.119171 | false | 0.005181 | 0.025907 | 0.005181 | 0.207254 | 0.031088 | 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 |
dd317f87210fc4023b8e0fcc6a32772750715183 | 250 | py | Python | 2708.py | gabzin/beecrowd | 177bdf3f87bacfd924bd031a973b8db877379fe5 | [
"MIT"
] | 3 | 2021-12-15T20:27:14.000Z | 2022-03-01T12:30:08.000Z | 2708.py | gabzin/uri | 177bdf3f87bacfd924bd031a973b8db877379fe5 | [
"MIT"
] | null | null | null | 2708.py | gabzin/uri | 177bdf3f87bacfd924bd031a973b8db877379fe5 | [
"MIT"
] | null | null | null | aux=0
aux2=0
while True:
string=list(map(str,input().split()))
if string[0]=="ABEND":break
elif string[0]=='SALIDA':
aux+=int(string[1])
aux2+=1
else:
aux-=int(string[1])
aux2-=1
print(aux)
print(aux2)
| 17.857143 | 41 | 0.548 | 38 | 250 | 3.605263 | 0.526316 | 0.10219 | 0.175182 | 0.189781 | 0.262774 | 0.262774 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 0.256 | 250 | 13 | 42 | 19.230769 | 0.672043 | 0 | 0 | 0 | 0 | 0 | 0.044 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.153846 | 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 |
dd35eddab4017d2983334127a101eeb9dd3bde2d | 2,386 | py | Python | cbp/profiles/zyxel.py | ig-rudenko/CbP | a6799a6db926f9726f24bcce4c9a52c6bbe0ceac | [
"Apache-2.0"
] | 1 | 2021-12-20T12:33:18.000Z | 2021-12-20T12:33:18.000Z | cbp/profiles/zyxel.py | ig-rudenko/cbp | a6799a6db926f9726f24bcce4c9a52c6bbe0ceac | [
"Apache-2.0"
] | null | null | null | cbp/profiles/zyxel.py | ig-rudenko/cbp | a6799a6db926f9726f24bcce4c9a52c6bbe0ceac | [
"Apache-2.0"
] | 1 | 2020-07-11T12:37:30.000Z | 2020-07-11T12:37:30.000Z | from datetime import datetime
import os
import ftplib
from cbp.core import logs
import sys
debug_level = 0
'''
Уровень отладки:
0 - не производит отладочный вывод.
1 - производит умеренное количество результатов отладки, обычно одна строка на запрос.
2 - каждая строка, отп... | 37.28125 | 99 | 0.590947 | 298 | 2,386 | 4.630872 | 0.395973 | 0.057971 | 0.043478 | 0.034783 | 0.415942 | 0.415942 | 0.391304 | 0.391304 | 0.313043 | 0.313043 | 0 | 0.010708 | 0.295474 | 2,386 | 63 | 100 | 37.873016 | 0.810232 | 0.076697 | 0 | 0.404255 | 0 | 0 | 0.148263 | 0.086055 | 0 | 0 | 0 | 0 | 0 | 1 | 0.06383 | false | 0.06383 | 0.106383 | 0 | 0.297872 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
dd38968c88e00f87eab2a50f9211d4dffa74df59 | 1,114 | py | Python | notebook/cosine_test.py | Med-Cab-2020-Aug-PT/ML2 | 08924319ea55f5a81f14ca3753e237f907212302 | [
"MIT"
] | null | null | null | notebook/cosine_test.py | Med-Cab-2020-Aug-PT/ML2 | 08924319ea55f5a81f14ca3753e237f907212302 | [
"MIT"
] | null | null | null | notebook/cosine_test.py | Med-Cab-2020-Aug-PT/ML2 | 08924319ea55f5a81f14ca3753e237f907212302 | [
"MIT"
] | null | null | null | """ Import Statements """
# Classics
import os
import pandas as pd
import pickle
import numpy as np
import re
import spacy
from spacy.tokenizer import Tokenizer
from collections import Counter
from sklearn.feature_extraction.text import TfidfVectorizer
from sklearn.metrics.pairwise import cosine_similarity
#Testing... | 29.315789 | 116 | 0.783662 | 160 | 1,114 | 5.24375 | 0.49375 | 0.047676 | 0.035757 | 0.052443 | 0.066746 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032323 | 0.111311 | 1,114 | 38 | 117 | 29.315789 | 0.815152 | 0.085278 | 0 | 0 | 0 | 0 | 0.084158 | 0.063366 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041667 | false | 0 | 0.416667 | 0 | 0.5 | 0.083333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 |
dd43561dac77323e5fe2c9949dd1ab9a1c72c4e3 | 294 | py | Python | src/whylogs/app/__init__.py | bernease/whylogs-python | cfd2a2f71280537aae584cbd40a752fbe7da647b | [
"Apache-2.0"
] | null | null | null | src/whylogs/app/__init__.py | bernease/whylogs-python | cfd2a2f71280537aae584cbd40a752fbe7da647b | [
"Apache-2.0"
] | null | null | null | src/whylogs/app/__init__.py | bernease/whylogs-python | cfd2a2f71280537aae584cbd40a752fbe7da647b | [
"Apache-2.0"
] | null | null | null | """
The whylogs client application API
"""
from .config import load_config
from .session import SessionConfig
from .writers import WriterConfig
from .logger import Logger
from .session import Session
__ALL__ = [
load_config,
SessionConfig,
WriterConfig,
Logger,
Session,
]
| 17.294118 | 34 | 0.741497 | 33 | 294 | 6.424242 | 0.454545 | 0.09434 | 0.160377 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.193878 | 294 | 16 | 35 | 18.375 | 0.894515 | 0.115646 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.416667 | 0 | 0.416667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 |
dd44a30a4d6959e3f37423d01a7d70ee2743f448 | 285 | py | Python | Arrays/1502. Can Make Arithmetic Progression From Sequence.py | thewires2/Leetcode | a37ff81d60dd9195ba637b970b40aabbea5f4680 | [
"Unlicense"
] | 1 | 2021-06-30T17:51:56.000Z | 2021-06-30T17:51:56.000Z | Arrays/1502. Can Make Arithmetic Progression From Sequence.py | thewires2/Leetcode | a37ff81d60dd9195ba637b970b40aabbea5f4680 | [
"Unlicense"
] | null | null | null | Arrays/1502. Can Make Arithmetic Progression From Sequence.py | thewires2/Leetcode | a37ff81d60dd9195ba637b970b40aabbea5f4680 | [
"Unlicense"
] | null | null | null | class Solution:
def canMakeArithmeticProgression(self, arr: List[int]) -> bool:
arr.sort()
l1 = arr[0:(len(arr)-1)]
l2 = arr[1:]
diffs = [abs(i-j) for i,j in zip(l1, l2)]
if len(set(diffs)) == 1:
return True
return False
| 28.5 | 67 | 0.515789 | 40 | 285 | 3.675 | 0.675 | 0.054422 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042105 | 0.333333 | 285 | 9 | 68 | 31.666667 | 0.731579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0 | 0 | 0.444444 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
dd477e26bd9e5990461860743275215a00ebfdef | 1,607 | py | Python | PythonCurso01/aula121_docstrings/exemplo03/funcoes.py | AlissonAnjos21/Aprendendo | 9454d9e53ef9fb8bc61bf481b6592164f5bf8695 | [
"MIT"
] | null | null | null | PythonCurso01/aula121_docstrings/exemplo03/funcoes.py | AlissonAnjos21/Aprendendo | 9454d9e53ef9fb8bc61bf481b6592164f5bf8695 | [
"MIT"
] | null | null | null | PythonCurso01/aula121_docstrings/exemplo03/funcoes.py | AlissonAnjos21/Aprendendo | 9454d9e53ef9fb8bc61bf481b6592164f5bf8695 | [
"MIT"
] | null | null | null | """Ensinando como documentar funções.
Quando se trata de documentar funções, a primeira linha da função precisa ser a documentação. Caso a
documentação possua mais de uma linha, a mesma pode continuar a expandir, porém a primeira linha sempre
precisa fazer parte da documentação.
Veniam et deserunt ex consectetur aliq... | 48.69697 | 179 | 0.76229 | 254 | 1,607 | 4.807087 | 0.440945 | 0.011466 | 0.019656 | 0.006552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006163 | 0.192284 | 1,607 | 32 | 180 | 50.21875 | 0.934515 | 0.841319 | 0 | 0 | 0 | 0 | 0.126697 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
dd5b9fcdd1d76b4a2a43cb078a57c3bde810bdb3 | 2,292 | py | Python | graph/model/decoder.py | KMU-AELAB/LayoutNet_pytorch | a3a325c41ee10b556c8d258b2d3a1909d913a507 | [
"MIT"
] | null | null | null | graph/model/decoder.py | KMU-AELAB/LayoutNet_pytorch | a3a325c41ee10b556c8d258b2d3a1909d913a507 | [
"MIT"
] | null | null | null | graph/model/decoder.py | KMU-AELAB/LayoutNet_pytorch | a3a325c41ee10b556c8d258b2d3a1909d913a507 | [
"MIT"
] | null | null | null | import torch
import torch.nn as nn
from graph.weights_initializer import weights_init
def decoder_conv(_in, _out):
return nn.Sequential(
nn.Conv2d(_in, _out, kernel_size=3, stride=1, padding=1),
nn.ReLU(inplace=True),
)
class Edge(nn.Module):
def __init__(self):
super(Edge, self... | 29.012658 | 86 | 0.57548 | 294 | 2,292 | 4.22449 | 0.207483 | 0.115137 | 0.041868 | 0.090177 | 0.698873 | 0.698873 | 0.628019 | 0.607085 | 0.607085 | 0.607085 | 0 | 0.069522 | 0.29712 | 2,292 | 79 | 87 | 29.012658 | 0.701428 | 0 | 0 | 0.448276 | 0 | 0 | 0.012211 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.086207 | false | 0 | 0.051724 | 0.017241 | 0.224138 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
dd5e9cc583af3d9e4f2a824c248c37c92457aad7 | 2,074 | py | Python | python/fserver.py | VMAJSTER/cloudfire | 40325c1ef8dd26de1fdaf38b960e8b13c7577e21 | [
"MIT"
] | 194 | 2015-01-26T21:42:33.000Z | 2022-02-05T16:27:27.000Z | python/fserver.py | VMAJSTER/cloudfire | 40325c1ef8dd26de1fdaf38b960e8b13c7577e21 | [
"MIT"
] | 1 | 2016-11-28T05:48:28.000Z | 2021-01-08T21:14:09.000Z | python/fserver.py | VMAJSTER/cloudfire | 40325c1ef8dd26de1fdaf38b960e8b13c7577e21 | [
"MIT"
] | 50 | 2015-01-27T17:42:54.000Z | 2022-03-02T14:10:08.000Z | #!/usr/bin/env python
#
# Be a Fast CGI server, running on a localhost port.
#
import click, redis, os, sys
from flup.server.fcgi import WSGIServer
class MyWSGIServer(WSGIServer):
# See .../flup/server/fcgi_base.py for original version
debug = False # just in case
def error(self, req):
... | 27.289474 | 104 | 0.642237 | 309 | 2,074 | 4.245955 | 0.508091 | 0.021341 | 0.032012 | 0.036585 | 0.022866 | 0.022866 | 0.022866 | 0.022866 | 0.022866 | 0.022866 | 0 | 0.024808 | 0.183703 | 2,074 | 75 | 105 | 27.653333 | 0.750148 | 0.170203 | 0 | 0 | 0 | 0 | 0.256574 | 0.016347 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.090909 | 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 |
dd605b63e6bcb6ebdac6cf8038de9c3ab7beafeb | 9,937 | py | Python | genexpa/uis/uis/ReadFromCombinedDialogUI.py | DorotaHojaLukowicz/GenExpA | 312a8a80154b2b83cd06ac0229020dbf6f23a30b | [
"MIT"
] | 1 | 2021-12-02T09:41:27.000Z | 2021-12-02T09:41:27.000Z | genexpa/uis/uis/ReadFromCombinedDialogUI.py | DorotaHojaLukowicz/GenExpA | 312a8a80154b2b83cd06ac0229020dbf6f23a30b | [
"MIT"
] | null | null | null | genexpa/uis/uis/ReadFromCombinedDialogUI.py | DorotaHojaLukowicz/GenExpA | 312a8a80154b2b83cd06ac0229020dbf6f23a30b | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'ReadFromCombinedDialog.ui',
# licensing of 'ReadFromCombinedDialog.ui' applies.
#
# Created: Sat Jan 4 12:25:52 2020
# by: pyside2-uic running on PySide2 5.12.2
#
# WARNING! All changes made in this file will be lost!
from PySide2 im... | 63.292994 | 119 | 0.745799 | 957 | 9,937 | 7.646813 | 0.145246 | 0.103307 | 0.073791 | 0.088549 | 0.360071 | 0.153731 | 0.04892 | 0.02733 | 0.02733 | 0.02733 | 0 | 0.021214 | 0.15085 | 9,937 | 156 | 120 | 63.698718 | 0.846054 | 0.028781 | 0 | 0 | 1 | 0 | 0.090966 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014085 | false | 0 | 0.007042 | 0 | 0.028169 | 0 | 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 |
dd62f8720de41da64f801e09a35462e812e1f74c | 457 | py | Python | z_gram/migrations/0006_alter_userprofile_profile_picture.py | KenMwaura1/zoo-gram | 047f759d596522b31ad9e034d9f219feeb2fe0b7 | [
"MIT"
] | null | null | null | z_gram/migrations/0006_alter_userprofile_profile_picture.py | KenMwaura1/zoo-gram | 047f759d596522b31ad9e034d9f219feeb2fe0b7 | [
"MIT"
] | null | null | null | z_gram/migrations/0006_alter_userprofile_profile_picture.py | KenMwaura1/zoo-gram | 047f759d596522b31ad9e034d9f219feeb2fe0b7 | [
"MIT"
] | null | null | null | # Generated by Django 3.2.8 on 2021-10-19 07:48
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('z_gram', '0005_rename_comment_usercomment'),
]
operations = [
migrations.AlterField(
model_name='userprofile',
name=... | 24.052632 | 100 | 0.634573 | 50 | 457 | 5.66 | 0.82 | 0.091873 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055072 | 0.245077 | 457 | 18 | 101 | 25.388889 | 0.765217 | 0.098468 | 0 | 0 | 1 | 0 | 0.246341 | 0.131707 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.083333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
dd6648a1cb8a7139668c7badf49aaf18a9513b79 | 355 | py | Python | start.py | ceephoen/celery-flask-example | b92febfdd29dc2431c3c39940d3e54d4cc677134 | [
"MIT"
] | null | null | null | start.py | ceephoen/celery-flask-example | b92febfdd29dc2431c3c39940d3e54d4cc677134 | [
"MIT"
] | null | null | null | start.py | ceephoen/celery-flask-example | b92febfdd29dc2431c3c39940d3e54d4cc677134 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from flask_script import Manager
from flask_migrate import Migrate, MigrateCommand
from public.initial import create_app, db
app = create_app('develop') # 'develop'/'produce'
# migrate db at terminal
manager = Manager(app)
Migrate(app, db)
manager.add_command('db', MigrateCommand)
if __name_... | 23.666667 | 50 | 0.738028 | 47 | 355 | 5.297872 | 0.531915 | 0.072289 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003268 | 0.138028 | 355 | 14 | 51 | 25.357143 | 0.810458 | 0.180282 | 0 | 0 | 0 | 0 | 0.059233 | 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 |
dd6678ee7edd3a66c99f538e2fca8fece878bb8a | 235 | py | Python | Kattis/sodasurpler.py | ruidazeng/online-judge | 6bdf8bbf1af885637dab474d0ccb58aff22a0933 | [
"MIT"
] | null | null | null | Kattis/sodasurpler.py | ruidazeng/online-judge | 6bdf8bbf1af885637dab474d0ccb58aff22a0933 | [
"MIT"
] | null | null | null | Kattis/sodasurpler.py | ruidazeng/online-judge | 6bdf8bbf1af885637dab474d0ccb58aff22a0933 | [
"MIT"
] | 1 | 2020-06-22T21:07:24.000Z | 2020-06-22T21:07:24.000Z | E, F, C = map(int, input().split())
bottles = E + F
drank = 0
while bottles >= C:
# while he still has enough empty bottles to purchase more
bottles -= C - 1 # used F empty bottles to buy 1
drank += 1
print(drank) | 19.583333 | 63 | 0.604255 | 39 | 235 | 3.641026 | 0.589744 | 0.028169 | 0.197183 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02381 | 0.285106 | 235 | 12 | 64 | 19.583333 | 0.821429 | 0.370213 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.142857 | 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 |
dd73d2420865b11d1b2a0767df6125fa021a3719 | 28,230 | py | Python | python/nf_grapher/typed.py | Bug-hunting-github/NFGrapher | dd945a00f5bd0c84b35481913db40dd534358985 | [
"Apache-2.0"
] | 11 | 2019-04-06T21:24:40.000Z | 2021-12-16T15:57:26.000Z | python/nf_grapher/typed.py | Bug-hunting-github/NFGrapher | dd945a00f5bd0c84b35481913db40dd534358985 | [
"Apache-2.0"
] | 9 | 2019-04-14T15:42:31.000Z | 2022-03-08T22:31:43.000Z | python/nf_grapher/typed.py | isabella232/NFGrapher | 56dcdf109d4bd292a6625b08b8106f837d0746bf | [
"Apache-2.0"
] | 5 | 2019-04-03T01:55:39.000Z | 2022-03-18T08:56:02.000Z | #
# Copyright 2018 Spotify AB.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in w... | 36.662338 | 376 | 0.625469 | 3,290 | 28,230 | 5.224012 | 0.110638 | 0.030255 | 0.028859 | 0.045383 | 0.672601 | 0.64991 | 0.596905 | 0.576831 | 0.562751 | 0.541165 | 0 | 0.005242 | 0.290471 | 28,230 | 769 | 377 | 36.710013 | 0.852821 | 0.331031 | 0 | 0.658696 | 0 | 0 | 0.090684 | 0.03049 | 0 | 0 | 0 | 0 | 0.078261 | 1 | 0.173913 | false | 0.008696 | 0.006522 | 0.113043 | 0.367391 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
dd85d1cc8c93087fc6d09b1c00acb019bfa98f1d | 952 | py | Python | api/server/setup.py | krishnakumar27/mlx | dce67d58dffa24ca7a6a4d6b5fd8d4eb94e35215 | [
"Apache-2.0"
] | 98 | 2021-05-03T23:27:53.000Z | 2022-03-13T02:29:12.000Z | api/server/setup.py | krishnakumar27/mlx | dce67d58dffa24ca7a6a4d6b5fd8d4eb94e35215 | [
"Apache-2.0"
] | 296 | 2021-05-03T22:44:26.000Z | 2022-03-31T11:50:16.000Z | api/server/setup.py | krishnakumar27/mlx | dce67d58dffa24ca7a6a4d6b5fd8d4eb94e35215 | [
"Apache-2.0"
] | 38 | 2021-05-03T22:52:59.000Z | 2022-03-31T03:58:34.000Z | # Copyright 2021 The MLX Contributors
#
# SPDX-License-Identifier: Apache-2.0
# coding: utf-8
from setuptools import setup, find_packages
NAME = "mlx-api"
VERSION = "0.1.30-upload-catalog-from-url"
# To install the library, run the following
#
# python setup.py install
#
# prerequisite: setuptools
# http://pypi.pyth... | 24.410256 | 78 | 0.704832 | 118 | 952 | 5.550847 | 0.610169 | 0.036641 | 0.070229 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013733 | 0.158613 | 952 | 38 | 79 | 25.052632 | 0.803995 | 0.306723 | 0 | 0 | 0 | 0 | 0.370943 | 0.112828 | 0 | 0 | 0 | 0.026316 | 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 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
dd979854f043470c9e2d205b92ad29eb3013deb7 | 603 | py | Python | 2_intermediate/chapter9/examples/iterate_dict.py | code4tomorrow/Python | 035b6f5d8fd635a16caaff78bcd3f582663dadc3 | [
"MIT"
] | 4 | 2021-03-01T00:32:45.000Z | 2021-05-21T22:01:52.000Z | 2_intermediate/chapter9/examples/iterate_dict.py | code4tomorrow/Python | 035b6f5d8fd635a16caaff78bcd3f582663dadc3 | [
"MIT"
] | 29 | 2020-09-12T22:56:04.000Z | 2021-09-25T17:08:42.000Z | 2_intermediate/chapter9/examples/iterate_dict.py | code4tomorrow/Python | 035b6f5d8fd635a16caaff78bcd3f582663dadc3 | [
"MIT"
] | 7 | 2021-02-25T01:50:55.000Z | 2022-02-28T00:00:42.000Z | # Iterating Through Dictionaries
contacts = {"Daisy Johnson": "2468 Park Ave", "Leo Fitz": "1258 Monkey Dr"}
# iterate through each key
for name in contacts:
print(name)
# or, use keys() method
for name in contacts.keys():
print(name)
# using each key to print each value
for name in contacts:
# prints e... | 24.12 | 75 | 0.704809 | 85 | 603 | 5 | 0.411765 | 0.117647 | 0.063529 | 0.12 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016495 | 0.195688 | 603 | 24 | 76 | 25.125 | 0.859794 | 0.40796 | 0 | 0.363636 | 0 | 0 | 0.143266 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.454545 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
dda1f029a04df349c71f915204e5860c29221c0c | 241 | py | Python | 05-Lists_Advanced/2-Todo_List.py | eclipse-ib/Software-University-Fundamentals_Module | 994ef75c70d1bae8e615dbb789aeffd6e0a42c34 | [
"MIT"
] | null | null | null | 05-Lists_Advanced/2-Todo_List.py | eclipse-ib/Software-University-Fundamentals_Module | 994ef75c70d1bae8e615dbb789aeffd6e0a42c34 | [
"MIT"
] | null | null | null | 05-Lists_Advanced/2-Todo_List.py | eclipse-ib/Software-University-Fundamentals_Module | 994ef75c70d1bae8e615dbb789aeffd6e0a42c34 | [
"MIT"
] | null | null | null | to_do_list = ["0"] * 10
while True:
command = input().split("-", maxsplit=1)
if "End" in command:
break
to_do_list.insert(int(command[0]), command[1])
while "0" in to_do_list:
to_do_list.remove("0")
print(to_do_list) | 24.1 | 50 | 0.630705 | 41 | 241 | 3.463415 | 0.487805 | 0.140845 | 0.28169 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041451 | 0.19917 | 241 | 10 | 51 | 24.1 | 0.694301 | 0 | 0 | 0 | 0 | 0 | 0.028926 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.111111 | 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 |
dda289d114a8e8ca81c9054f5f299fe16451d140 | 7,477 | py | Python | gallery/models.py | schmidsi/feincms-gallery | 87282ec8fb12deb16a89b6e5c1298ac82ead3a5c | [
"BSD-3-Clause"
] | 1 | 2015-11-05T12:12:42.000Z | 2015-11-05T12:12:42.000Z | gallery/models.py | vencax/feincms-gallery | 87282ec8fb12deb16a89b6e5c1298ac82ead3a5c | [
"BSD-3-Clause"
] | null | null | null | gallery/models.py | vencax/feincms-gallery | 87282ec8fb12deb16a89b6e5c1298ac82ead3a5c | [
"BSD-3-Clause"
] | null | null | null | #coding=utf-8
from django import forms
from django.conf import settings
from django.core.exceptions import ImproperlyConfigured
from django.core.paginator import Paginator, InvalidPage, EmptyPage
from django.db import models
from django.template import TemplateDoesNotExist
from django.template.context import RequestCon... | 43.725146 | 148 | 0.597566 | 796 | 7,477 | 5.428392 | 0.265075 | 0.0486 | 0.030086 | 0.023143 | 0.153205 | 0.0972 | 0.080768 | 0.067808 | 0.057163 | 0.046748 | 0 | 0.005436 | 0.286479 | 7,477 | 170 | 149 | 43.982353 | 0.804499 | 0.024743 | 0 | 0.086614 | 0 | 0 | 0.205276 | 0.102122 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.007874 | 0.07874 | 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 |
06cdb790232a479b3e4e5e1910b473a5a9452e86 | 369 | py | Python | printer.py | FKD13/ytspy | e2738f2551608ab9bf4b14be206d5af668e14749 | [
"MIT"
] | 1 | 2019-08-26T21:07:30.000Z | 2019-08-26T21:07:30.000Z | printer.py | FKD13/ytspy | e2738f2551608ab9bf4b14be206d5af668e14749 | [
"MIT"
] | null | null | null | printer.py | FKD13/ytspy | e2738f2551608ab9bf4b14be206d5af668e14749 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
from colorama import *
class Color:
BOLD = '\033[01m'
BLINK = '\033[05m'
NO_BLINK = '\033[25m'
class Printer:
@staticmethod
def print(message: str) -> None:
print(f"{Style.RESET_ALL}{message}")
class Input:
@staticmethod
def read(message: str) -> str:
... | 17.571429 | 51 | 0.615176 | 48 | 369 | 4.666667 | 0.625 | 0.071429 | 0.098214 | 0.125 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056537 | 0.233062 | 369 | 20 | 52 | 18.45 | 0.734982 | 0.056911 | 0 | 0.153846 | 0 | 0 | 0.21902 | 0.149856 | 0 | 0 | 0 | 0 | 0 | 1 | 0.153846 | false | 0 | 0.076923 | 0.076923 | 0.769231 | 0.153846 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
06d5ea49b6d5f741dc0fe6ec7542bd32371a71f1 | 590 | py | Python | mobync/__init__.py | mobync/python-server | a65b183e2bc69b6b7ab649d4a1bffdb16bb4c8a6 | [
"MIT"
] | 3 | 2020-11-08T13:47:51.000Z | 2021-03-17T02:38:37.000Z | mobync/__init__.py | mobync/python-server | a65b183e2bc69b6b7ab649d4a1bffdb16bb4c8a6 | [
"MIT"
] | null | null | null | mobync/__init__.py | mobync/python-server | a65b183e2bc69b6b7ab649d4a1bffdb16bb4c8a6 | [
"MIT"
] | 1 | 2021-03-17T22:17:45.000Z | 2021-03-17T22:17:45.000Z | # Copyright (c) Mobync.
# See LICENSE for details.
"""
mobync: The Library for online-offline synchronization
"""
import sys
from mobync.diff import OperationType, Diff
from mobync.read_filter import ReadFilter, FilterType
from mobync.synchronizer import Synchronizer
from mobync.mobync import Mobync
__version__ = '... | 23.6 | 79 | 0.738983 | 79 | 590 | 5.240506 | 0.658228 | 0.096618 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014141 | 0.161017 | 590 | 24 | 80 | 24.583333 | 0.822222 | 0.172881 | 0 | 0 | 0 | 0 | 0.277662 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.357143 | 0 | 0.357143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 |
06e63ae6e6b538acefcfc42bb5c55dac99377eca | 2,570 | py | Python | Python/random/generate_number_image.py | saneravi/ML_Stuff | 74e1ed7ba9f4dccb555792315a14ba6071150304 | [
"MIT"
] | 209 | 2015-01-02T03:47:12.000Z | 2022-03-06T16:54:47.000Z | Python/random/generate_number_image.py | Kerwin-Xie/algorithms | 4347a9b7bf54ef378d16d26ef9e357ddc710664b | [
"MIT"
] | 3 | 2015-12-06T14:40:34.000Z | 2021-03-22T17:40:24.000Z | Python/random/generate_number_image.py | Kerwin-Xie/algorithms | 4347a9b7bf54ef378d16d26ef9e357ddc710664b | [
"MIT"
] | 114 | 2015-01-31T08:37:10.000Z | 2022-02-23T04:42:28.000Z | #!/usr/bin/env python
"""
Generate an image where the x-axis is the seed, the y-axis is the random number.
"""
# core modules
import random
import click
import imageio
import javarandom
# 3rd party
import numpy as np
from numpy.random import MT19937, SFC64, Generator, Philox
from randomgen import RandomGenerator, Th... | 27.052632 | 81 | 0.536187 | 268 | 2,570 | 5.067164 | 0.30597 | 0.070692 | 0.039764 | 0.039764 | 0.162003 | 0.138439 | 0.138439 | 0.095729 | 0.095729 | 0 | 0 | 0.055104 | 0.329183 | 2,570 | 94 | 82 | 27.340426 | 0.732599 | 0.048249 | 0 | 0.307692 | 1 | 0 | 0.163383 | 0.012315 | 0 | 0 | 0 | 0 | 0 | 1 | 0.025641 | false | 0 | 0.089744 | 0 | 0.115385 | 0.012821 | 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 |
06eb0838fe7bcdf486fa19015c43c4fc9358ace0 | 1,067 | py | Python | src/util/count_vectorizer.py | SwaXTech/Detector-de-Plagio | 11445e81097b52cd75561a049d4c85165d73f461 | [
"MIT"
] | 3 | 2021-11-16T13:19:16.000Z | 2021-11-16T17:53:42.000Z | src/util/count_vectorizer.py | SwaXTech/Detector-de-Plagio | 11445e81097b52cd75561a049d4c85165d73f461 | [
"MIT"
] | null | null | null | src/util/count_vectorizer.py | SwaXTech/Detector-de-Plagio | 11445e81097b52cd75561a049d4c85165d73f461 | [
"MIT"
] | null | null | null | from sklearn.feature_extraction.text import CountVectorizer
from util.data_cleaning import stem_string, lemmatize_word, is_word, stop_words
class MyCountVectorizer(CountVectorizer):
lemmatizer = None
stemmer = None
def __init__(self, lemmatize = True, stem = False, stop_words = stop_words(), preprocess = True)... | 31.382353 | 99 | 0.726336 | 140 | 1,067 | 5.3 | 0.35 | 0.084906 | 0.052561 | 0.072776 | 0.088949 | 0.088949 | 0.088949 | 0.088949 | 0.088949 | 0 | 0 | 0.002286 | 0.179944 | 1,067 | 33 | 100 | 32.333333 | 0.845714 | 0 | 0 | 0 | 0 | 0 | 0.000939 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.173913 | false | 0 | 0.086957 | 0.043478 | 0.521739 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 |
06ebf9d44407cab106e04ee9e63a723ce32d1bb0 | 1,521 | py | Python | third_party/externals/angle2/enumerate_files.py | zhaodm/skia_sdl | 8724ae26584df523eb7bb814ffe7aec5f597d187 | [
"BSD-3-Clause"
] | 28 | 2017-04-20T06:21:26.000Z | 2021-12-10T15:22:51.000Z | oldcode/lib_angle/enumerate_files.py | sahwar/gamecake | 9abcb937c0edc22dee2940cb06ec9a84597e989c | [
"MIT"
] | 3 | 2017-04-05T00:41:45.000Z | 2020-04-04T00:44:24.000Z | oldcode/lib_angle/enumerate_files.py | sahwar/gamecake | 9abcb937c0edc22dee2940cb06ec9a84597e989c | [
"MIT"
] | 5 | 2016-11-26T14:44:55.000Z | 2021-07-29T04:25:53.000Z | import fnmatch
import os
import sys
dirs = [ ]
types = [ ]
excludes = [ ]
files = [ ]
# Default to accepting a list of directories first
curArray = dirs
# Iterate over the arguments and add them to the arrays
for i in range(1, len(sys.argv)):
arg = sys.argv[i]
if arg == "-dirs":
curArray = dirs
... | 24.142857 | 69 | 0.547666 | 173 | 1,521 | 4.815029 | 0.427746 | 0.018007 | 0.031212 | 0.067227 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003099 | 0.363577 | 1,521 | 62 | 70 | 24.532258 | 0.857438 | 0.199869 | 0 | 0.162791 | 0 | 0 | 0.021488 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.069767 | null | null | 0.023256 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 |
06f5ce265d60341cd1ace22dbf5d00b80c23d080 | 1,035 | py | Python | Back/ns_portal/database/log_db/tlog_messages_model.py | anthonyHenryNS/NsPortal | dcb4b4e0a70c1c3431d5438d97e80f5d05c8e10e | [
"MIT"
] | 1 | 2019-01-22T15:16:43.000Z | 2019-01-22T15:16:43.000Z | Back/ns_portal/database/log_db/tlog_messages_model.py | NaturalSolutions/NsPortal | bcd07fdf015948a82f4d0c3c9a02f513b2d99f5d | [
"MIT"
] | 16 | 2015-09-28T14:46:13.000Z | 2020-04-20T10:34:25.000Z | Back/ns_portal/database/log_db/tlog_messages_model.py | anthonyHenryNS/NsPortal | dcb4b4e0a70c1c3431d5438d97e80f5d05c8e10e | [
"MIT"
] | 10 | 2015-05-06T08:05:09.000Z | 2020-01-27T13:39:47.000Z | from ns_portal.database.meta import (
Log_Db_Base
)
from sqlalchemy import (
Column,
DateTime,
Integer,
String,
Sequence,
func
)
class TLOG_MESSAGES(Log_Db_Base):
__tablename__ = 'TLOG_MESSAGES'
ID = Column(
Integer,
Sequence('Equipment__id_seq'),
primary_k... | 17.542373 | 38 | 0.544928 | 98 | 1,035 | 5.561224 | 0.44898 | 0.176147 | 0.146789 | 0.220183 | 0.256881 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034848 | 0.362319 | 1,035 | 58 | 39 | 17.844828 | 0.790909 | 0 | 0 | 0.290909 | 0 | 0 | 0.031884 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.036364 | 0 | 0.254545 | 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 |
6602c44e842726614ae5776caa81b145963abfcd | 38,301 | py | Python | workbooks/observation-time/convergence_window-pythongdump.py | amarallab/waldo | e38d23d9474a0bcb7a94e685545edb0115b12af4 | [
"MIT"
] | null | null | null | workbooks/observation-time/convergence_window-pythongdump.py | amarallab/waldo | e38d23d9474a0bcb7a94e685545edb0115b12af4 | [
"MIT"
] | null | null | null | workbooks/observation-time/convergence_window-pythongdump.py | amarallab/waldo | e38d23d9474a0bcb7a94e685545edb0115b12af4 | [
"MIT"
] | null | null | null | get_ipython().magic('load_ext autoreload')
get_ipython().magic('autoreload 2')
get_ipython().magic('matplotlib inline')
import sys
import os
import itertools
import pathlib
import pandas as pd
import numpy as np
import scipy.stats as stats
from scipy.optimize import curve_fit
import matplotlib.pyplot as plt
import ... | 33.305217 | 127 | 0.630219 | 6,095 | 38,301 | 3.814274 | 0.085152 | 0.022195 | 0.015614 | 0.014969 | 0.66681 | 0.601514 | 0.556091 | 0.523099 | 0.48744 | 0.460728 | 0 | 0.072637 | 0.188376 | 38,301 | 1,149 | 128 | 33.334204 | 0.675224 | 0.118456 | 0 | 0.447494 | 0 | 0 | 0.118843 | 0.012633 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.022673 | 0.023866 | null | null | 0.031026 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 |
66097d80c48c3369f998d1bc53b137c8bd49be07 | 824 | py | Python | helpers.py | houdaaynaou/subscriptions-manager-project | 61773eb92b0bdaba013bd6a4e3f360fb57e7fa26 | [
"MIT"
] | 1 | 2021-08-19T02:32:15.000Z | 2021-08-19T02:32:15.000Z | helpers.py | houdaaynaou/subscriptions-manager-project | 61773eb92b0bdaba013bd6a4e3f360fb57e7fa26 | [
"MIT"
] | null | null | null | helpers.py | houdaaynaou/subscriptions-manager-project | 61773eb92b0bdaba013bd6a4e3f360fb57e7fa26 | [
"MIT"
] | null | null | null | from functools import wraps
from flask import redirect, session
import re
# error message
# Delete/modify subscriptions
# login required
def login_required(f):
"""
Decorate routes to require login.
http://flask.pocoo.org/docs/1.0/patterns/viewdecorators/
"""
@wraps(f)
def decorated_function(... | 22.888889 | 60 | 0.637136 | 110 | 824 | 4.7 | 0.572727 | 0.05029 | 0.015474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012719 | 0.23665 | 824 | 35 | 61 | 23.542857 | 0.809221 | 0.264563 | 0 | 0.190476 | 0 | 0.047619 | 0.094664 | 0.072289 | 0 | 0 | 0 | 0 | 0 | 1 | 0.190476 | false | 0 | 0.142857 | 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 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 |
661ba6857650f9e581858349ca3adc5ede99af53 | 2,942 | py | Python | src/m1_robot_code.py | fanzixin/99-CapstoneProject-201930 | 3489273f1aa25ac87e9d5059efb883be3219812d | [
"MIT"
] | null | null | null | src/m1_robot_code.py | fanzixin/99-CapstoneProject-201930 | 3489273f1aa25ac87e9d5059efb883be3219812d | [
"MIT"
] | null | null | null | src/m1_robot_code.py | fanzixin/99-CapstoneProject-201930 | 3489273f1aa25ac87e9d5059efb883be3219812d | [
"MIT"
] | null | null | null | """
Capstone Project. Code to run on the EV3 robot (NOT on a laptop).
Author: Your professors (for the framework)
and Zixin Fan.
Spring term, 2018-2019.
"""
# DONE 1: Put your name in the above.
import mqtt_remote_method_calls as mqtt
import rosebot
import m2_robot_code as m2
import m3_robot_code as m3
im... | 35.445783 | 106 | 0.665534 | 401 | 2,942 | 4.650873 | 0.331671 | 0.072386 | 0.09008 | 0.128686 | 0.371046 | 0.339946 | 0.289544 | 0.236997 | 0.236997 | 0.236997 | 0 | 0.013983 | 0.246431 | 2,942 | 82 | 107 | 35.878049 | 0.827244 | 0.190687 | 0 | 0.204082 | 0 | 0 | 0.033476 | 0 | 0 | 0 | 0 | 0.012195 | 0 | 1 | 0.142857 | false | 0 | 0.102041 | 0 | 0.285714 | 0.122449 | 0 | 0 | 0 | null | 0 | 0 | 0 | 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 |
662b8c6359f18429bfe3f62223f80c3e569c0146 | 8,990 | py | Python | python_research/experiments/EUROMICRO2018/trt_playground/trt_example.py | myychal/hypernet | 778e9c1a2f27ab1c664bb6d8ea49c65d0c7bdade | [
"MIT"
] | null | null | null | python_research/experiments/EUROMICRO2018/trt_playground/trt_example.py | myychal/hypernet | 778e9c1a2f27ab1c664bb6d8ea49c65d0c7bdade | [
"MIT"
] | null | null | null | python_research/experiments/EUROMICRO2018/trt_playground/trt_example.py | myychal/hypernet | 778e9c1a2f27ab1c664bb6d8ea49c65d0c7bdade | [
"MIT"
] | null | null | null | import tensorflow as tf
from tensorflow.examples.tutorials.mnist import input_data
import tensorrt as trt
from tensorrt.parsers import uffparser
import pycuda.driver as cuda
import pycuda.autoinit
import numpy as np
from random import randint # generate a random test case
from PIL import Image
from matplotlib.pyplot ... | 37.458333 | 89 | 0.610567 | 1,107 | 8,990 | 4.747967 | 0.250226 | 0.019787 | 0.011416 | 0.015982 | 0.108447 | 0.073059 | 0.057458 | 0.057458 | 0.039954 | 0.039954 | 0 | 0.029828 | 0.283982 | 8,990 | 240 | 90 | 37.458333 | 0.786702 | 0.041713 | 0 | 0.075676 | 0 | 0 | 0.045021 | 0.013727 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.064865 | null | null | 0.027027 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 |
662ef9088297fe2a8425157bcab5801345d45e29 | 387 | py | Python | homedns/confschema.py | EvanMu96/dns-test | 59286394f954619b6332df11fd3af30180c835d1 | [
"MIT"
] | 1 | 2021-01-05T10:51:16.000Z | 2021-01-05T10:51:16.000Z | homedns/confschema.py | EvanMu96/dns-test | 59286394f954619b6332df11fd3af30180c835d1 | [
"MIT"
] | 5 | 2020-12-27T07:41:42.000Z | 2020-12-31T07:23:52.000Z | homedns/confschema.py | EvanMu96/homedns | 59286394f954619b6332df11fd3af30180c835d1 | [
"MIT"
] | null | null | null | from collections import namedtuple
from dataclasses import dataclass
from typing import List, Optional, Tuple
EnableMode = namedtuple("EnableMode", ["DoH", "DoT", "Plain"])
# a example of root hints
@dataclass
class Config:
roots: List[Tuple[str, Optional[int]]]
encrypted_roots: Optional[List[Tuple[str, str, ... | 27.642857 | 62 | 0.731266 | 51 | 387 | 5.490196 | 0.568627 | 0.096429 | 0.128571 | 0.107143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152455 | 387 | 13 | 63 | 29.769231 | 0.853659 | 0.059432 | 0 | 0 | 0 | 0 | 0.058011 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.3 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
662fcd4aea11b9d6629a071f60f7caabeadb7490 | 4,171 | py | Python | data/external/repositories/131229/kaggle_BCI_challenge-master/predict.py | Keesiu/meta-kaggle | 87de739aba2399fd31072ee81b391f9b7a63f540 | [
"MIT"
] | 14 | 2015-03-12T13:57:16.000Z | 2022-03-12T02:45:55.000Z | data/external/repositories/131229/kaggle_BCI_challenge-master/predict.py | Keesiu/meta-kaggle | 87de739aba2399fd31072ee81b391f9b7a63f540 | [
"MIT"
] | 1 | 2015-11-06T08:04:50.000Z | 2015-11-06T09:43:19.000Z | predict.py | duncan-barrack/kaggle_BCI_challenge | 7837f0ba7f97fdcd873b7f30835eb21c7016c923 | [
"MIT"
] | 4 | 2015-03-05T17:47:54.000Z | 2019-01-24T18:21:49.000Z | import cPickle
import json
import numpy as np
import pandas as pd
import time
import csv
from sklearn import preprocessing
t = time.time()
#load paths for feature files
with open('SETTINGS.json') as f:
settings = json.load(f)
path_data=str(settings['data'])
path_features=str(settings['features'])
path_trained_... | 33.103175 | 98 | 0.735076 | 626 | 4,171 | 4.651757 | 0.22524 | 0.020604 | 0.030907 | 0.026786 | 0.377747 | 0.149725 | 0.067995 | 0 | 0 | 0 | 0 | 0.038673 | 0.082474 | 4,171 | 125 | 99 | 33.368 | 0.722237 | 0.093982 | 0 | 0 | 0 | 0 | 0.17299 | 0.070781 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.0875 | null | null | 0.075 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
663c63d491c6e93dce938a8d1a6a466efef3e079 | 899 | py | Python | config.py | albe-rosado/xuexiao-xitong | 444a90111c94c1f7b8326c6039ea2069a67af04e | [
"MIT"
] | null | null | null | config.py | albe-rosado/xuexiao-xitong | 444a90111c94c1f7b8326c6039ea2069a67af04e | [
"MIT"
] | null | null | null | config.py | albe-rosado/xuexiao-xitong | 444a90111c94c1f7b8326c6039ea2069a67af04e | [
"MIT"
] | null | null | null | import os
basedir = os.path.abspath(os.path.dirname(__file__))
SECRET_KEY = os.environ.get('SECRET_KEY') or 'hard to guess string'
SQLALCHEMY_COMMIT_ON_TEARDOWN = True
MAIL_SERVER = 'debugmail.io'
MAIL_PORT = 9025
MAIL_USE_TLS = True
MAIL_USERNAME = 'alberosado7@icloud.com'
MAIL_PASSWORD = '24c07b60-a72d-11e6-a47c-97... | 29.966667 | 119 | 0.760845 | 122 | 899 | 5.344262 | 0.565574 | 0.03681 | 0.03681 | 0.052147 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042289 | 0.105673 | 899 | 30 | 120 | 29.966667 | 0.768657 | 0.167964 | 0 | 0 | 0 | 0 | 0.344086 | 0.200269 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.052632 | 0.052632 | 0 | 0.052632 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 |
663d0bd8f8f1c7c76289cdb4c05d3d50ea112b2a | 1,307 | py | Python | dealdata.py | jingmingcn/blood-server | 0bcc1fda5d05b8e5acca2c9ce6857c7963fb84b5 | [
"Apache-2.0"
] | 7 | 2020-03-06T14:54:29.000Z | 2021-01-01T13:45:06.000Z | dealdata.py | necusjz/np2016 | 28f010a573c33e439f110570991d89160201d8b1 | [
"Apache-2.0"
] | 1 | 2017-11-08T08:41:30.000Z | 2017-11-08T08:41:45.000Z | dealdata.py | necusjz/np2016 | 28f010a573c33e439f110570991d89160201d8b1 | [
"Apache-2.0"
] | 5 | 2017-10-24T01:31:52.000Z | 2018-08-11T13:42:11.000Z | # -*- coding:utf-8 -*-
import csv as cv
import numpy as np
import re
csv_file1_object = cv.reader(open('table1.csv','rb'))
csv_file2_object = cv.reader(open('table2.csv','rb'))
csv_file3=open('table3.csv','wb')
csv_file3_object=cv.writer(csv_file3)
head1 = csv_file1_object.next()
head2 = csv_file2_object.next(... | 33.512821 | 85 | 0.674828 | 232 | 1,307 | 3.594828 | 0.349138 | 0.129496 | 0.201439 | 0.095923 | 0.214628 | 0.131894 | 0.131894 | 0.131894 | 0.088729 | 0 | 0 | 0.049236 | 0.098699 | 1,307 | 39 | 86 | 33.512821 | 0.658744 | 0.117062 | 0 | 0 | 0 | 0 | 0.116906 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.032258 | 0.096774 | 0 | 0.096774 | 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 |
664257f604eb3c46ab0ae448746409e0c09c23eb | 271 | py | Python | pairlib/__init__.py | open2c/pairlib | c8cdca0062c38d29e548b9fc28fb5ff949f99e3f | [
"MIT"
] | 3 | 2020-10-05T17:08:04.000Z | 2022-02-13T19:48:08.000Z | pairlib/__init__.py | mirnylab/pairlib | 6f61296b1f9c7127caceafc848adc97191ef14f9 | [
"MIT"
] | 2 | 2019-03-05T02:26:25.000Z | 2019-03-05T02:28:28.000Z | pairlib/__init__.py | open2c/pairlib | c8cdca0062c38d29e548b9fc28fb5ff949f99e3f | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Pairlib
~~~~~~~
Library of functions for reading, writing and analysing Hi-C pairs.
:copyright: (c) 2019 Massachusetts Institute of Technology
:author: Mirny Lab
:license: MIT
"""
import logging
__version__ = '0.0.1-pre'
#from . import io
| 15.941176 | 67 | 0.686347 | 37 | 271 | 4.918919 | 0.891892 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035242 | 0.162362 | 271 | 16 | 68 | 16.9375 | 0.76652 | 0.797048 | 0 | 0 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 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 |
66479e3e9b00195aa0aa71d445529c00b4006d44 | 147 | py | Python | 20161212/letter_by_letter.py | joshuazsprague/r-dailyprogrammer | df514a97c8945d892014522701078ee5a20dbd23 | [
"Unlicense"
] | null | null | null | 20161212/letter_by_letter.py | joshuazsprague/r-dailyprogrammer | df514a97c8945d892014522701078ee5a20dbd23 | [
"Unlicense"
] | null | null | null | 20161212/letter_by_letter.py | joshuazsprague/r-dailyprogrammer | df514a97c8945d892014522701078ee5a20dbd23 | [
"Unlicense"
] | null | null | null | #!/usr/local/bin/python3
s1 = "floor"
s2 = "brake"
print(s1)
for i in range(len(s1)):
if s1[i] != s2[i]:
print(s2[:i+1] + s1[i+1:])
| 13.363636 | 34 | 0.517007 | 28 | 147 | 2.714286 | 0.571429 | 0.078947 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097345 | 0.231293 | 147 | 10 | 35 | 14.7 | 0.575221 | 0.156463 | 0 | 0 | 0 | 0 | 0.081967 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 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 |
66531410eed44d6e39324ec04656c2e81ccf090f | 448 | py | Python | users/migrations/0050_auto_20210113_1521.py | SDOS2020/Team_2_Mentoring_Platform | fc016bf24025c237bbd5648391ce7d3d104c8cdb | [
"Apache-2.0"
] | null | null | null | users/migrations/0050_auto_20210113_1521.py | SDOS2020/Team_2_Mentoring_Platform | fc016bf24025c237bbd5648391ce7d3d104c8cdb | [
"Apache-2.0"
] | 9 | 2021-01-17T14:46:18.000Z | 2021-09-22T19:41:12.000Z | users/migrations/0050_auto_20210113_1521.py | SDOS2020/Team_2_Mentoring_Platform | fc016bf24025c237bbd5648391ce7d3d104c8cdb | [
"Apache-2.0"
] | null | null | null | # Generated by Django 3.1.3 on 2021-01-13 09:51
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('users', '0049_auto_20210113_1518'),
]
operations = [
migrations.AlterField(
model_name='account',
name='gender',
... | 23.578947 | 113 | 0.587054 | 51 | 448 | 5.078431 | 0.803922 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106707 | 0.267857 | 448 | 18 | 114 | 24.888889 | 0.682927 | 0.100446 | 0 | 0 | 1 | 0 | 0.169576 | 0.057357 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.083333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
b07b3b0c207c27a9cb870bc7b2c254d2f3514ad2 | 690 | py | Python | baseline.py | alexscarlatos/clickstream-assessments | 89442f976b1485b39fd2669a14eeae63330c2bb9 | [
"CC-BY-4.0"
] | null | null | null | baseline.py | alexscarlatos/clickstream-assessments | 89442f976b1485b39fd2669a14eeae63330c2bb9 | [
"CC-BY-4.0"
] | null | null | null | baseline.py | alexscarlatos/clickstream-assessments | 89442f976b1485b39fd2669a14eeae63330c2bb9 | [
"CC-BY-4.0"
] | null | null | null | from numpy.lib.function_base import copy
import torch
class CopyBaseline:
def __init__(self):
pass
def __call__(self, batch):
correct = 0.0
predictions = []
for sequence, sequence_len in zip(batch["event_types"], batch["sequence_lengths"]):
for idx in range(sequence... | 36.315789 | 91 | 0.594203 | 83 | 690 | 4.73494 | 0.506024 | 0.053435 | 0.101781 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016771 | 0.308696 | 690 | 18 | 92 | 38.333333 | 0.807128 | 0.075362 | 0 | 0 | 0 | 0 | 0.06761 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.133333 | false | 0.066667 | 0.133333 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 1 |
b07bd7854ed66517a0c9fdc2cfeaa986d1e469f4 | 851 | py | Python | multiprocessing/manager.py | irr/python-labs | 43bb3a528c151653b2be832c7ff13240a10e18a4 | [
"Apache-2.0"
] | 4 | 2015-11-25T09:06:44.000Z | 2019-12-11T21:35:21.000Z | multiprocessing/manager.py | irr/python-labs | 43bb3a528c151653b2be832c7ff13240a10e18a4 | [
"Apache-2.0"
] | null | null | null | multiprocessing/manager.py | irr/python-labs | 43bb3a528c151653b2be832c7ff13240a10e18a4 | [
"Apache-2.0"
] | 2 | 2015-11-25T09:19:38.000Z | 2016-02-26T03:54:06.000Z | from multiprocessing import Process, Manager, current_process
import os, time, signal, sys
def f(d, l):
def _sh(sig, _):
if sig == signal.SIGTERM:
print "_sh -> c: {0}, p: {1}".format(os.getpid(), os.getppid())
sys.exit(0)
signal.signal(signal.SIGTERM, _sh)
d[1] = '1'
... | 20.756098 | 75 | 0.526439 | 123 | 851 | 3.536585 | 0.398374 | 0.018391 | 0.02069 | 0.027586 | 0.186207 | 0.186207 | 0.186207 | 0.186207 | 0.186207 | 0 | 0 | 0.034596 | 0.286722 | 851 | 40 | 76 | 21.275 | 0.682043 | 0 | 0 | 0 | 0 | 0 | 0.096357 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.064516 | null | null | 0.193548 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 |
b07fe650c0a7be0d91927916de4a4a1118f9c7a3 | 2,621 | py | Python | zaqarclient/queues/cli.py | mail2nsrajesh/python-zaqarclient | 405399f72b77eb4757199fe5208d7283260431a7 | [
"Apache-2.0"
] | 31 | 2015-01-29T20:10:50.000Z | 2021-03-05T21:39:36.000Z | zaqarclient/queues/cli.py | mail2nsrajesh/python-zaqarclient | 405399f72b77eb4757199fe5208d7283260431a7 | [
"Apache-2.0"
] | null | null | null | zaqarclient/queues/cli.py | mail2nsrajesh/python-zaqarclient | 405399f72b77eb4757199fe5208d7283260431a7 | [
"Apache-2.0"
] | 7 | 2016-03-02T14:47:24.000Z | 2018-04-09T08:32:34.000Z | # Copyright 2014 OpenStack Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writ... | 29.784091 | 76 | 0.684472 | 318 | 2,621 | 5.41195 | 0.421384 | 0.063916 | 0.083672 | 0.041836 | 0.138292 | 0.090645 | 0.053457 | 0.053457 | 0 | 0 | 0 | 0.007839 | 0.22129 | 2,621 | 87 | 77 | 30.126437 | 0.835375 | 0.279664 | 0 | 0.071429 | 0 | 0 | 0.191501 | 0.103281 | 0 | 0 | 0 | 0.011494 | 0 | 1 | 0.035714 | false | 0 | 0.035714 | 0 | 0.107143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 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 |
b0880936b4c77fc9cac37695a9950b5de704d7e3 | 709 | py | Python | pypilot/planner/waypoint.py | cameroncros/PyPilot | e60003bfc74da008bc8dcf47d1e33d2d44345b8d | [
"MIT"
] | null | null | null | pypilot/planner/waypoint.py | cameroncros/PyPilot | e60003bfc74da008bc8dcf47d1e33d2d44345b8d | [
"MIT"
] | 11 | 2017-12-11T13:53:14.000Z | 2017-12-16T14:31:46.000Z | pypilot/planner/waypoint.py | cameroncros/PyPilot | e60003bfc74da008bc8dcf47d1e33d2d44345b8d | [
"MIT"
] | null | null | null | class WayPoint:
code = None
state = None
location = None
coordinate = None
def __init__(self, code=None, state=None, location=None, coordinate=None):
self.code = code
self.state = state
self.location = location
self.coordinate = coordinate
if self.code is No... | 29.541667 | 78 | 0.609309 | 86 | 709 | 4.918605 | 0.313953 | 0.113475 | 0.061466 | 0.080378 | 0.20331 | 0.20331 | 0.20331 | 0.20331 | 0 | 0 | 0 | 0 | 0.291961 | 709 | 23 | 79 | 30.826087 | 0.842629 | 0 | 0 | 0 | 0 | 0 | 0.12835 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.157895 | false | 0 | 0 | 0.052632 | 0.578947 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
b089e7ec3dacc575390403be5cf8e2ba74cb8dd5 | 8,953 | py | Python | urunekleme.py | IMaresaLI/CustomerAutomation | d34a536bbc79b4f74c8504f3a6d1fc52bc03b44a | [
"MIT"
] | null | null | null | urunekleme.py | IMaresaLI/CustomerAutomation | d34a536bbc79b4f74c8504f3a6d1fc52bc03b44a | [
"MIT"
] | null | null | null | urunekleme.py | IMaresaLI/CustomerAutomation | d34a536bbc79b4f74c8504f3a6d1fc52bc03b44a | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'urunekleme.ui'
#
# Created by: PyQt5 UI code generator 5.15.1
#
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again. Do not edit this file unless you know what you are doing.
from PyQt5 import... | 55.265432 | 76 | 0.660784 | 1,161 | 8,953 | 4.930233 | 0.100775 | 0.08805 | 0.02935 | 0.061495 | 0.680818 | 0.567086 | 0.269567 | 0.116876 | 0 | 0 | 0 | 0.06221 | 0.204624 | 8,953 | 161 | 77 | 55.608696 | 0.741609 | 0.030716 | 0 | 0 | 1 | 0 | 0.117758 | 0.002703 | 0 | 0 | 0 | 0 | 0 | 1 | 0.013605 | false | 0 | 0.006803 | 0 | 0.027211 | 0 | 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 |
b08a633abffc8f6a70e1a9c7f6bd9251c1c49787 | 1,787 | py | Python | goodtiming/modules/addtodo.py | johnlinp/telegram-good-timing-bot | 72ed190d35186e185eb8c5b44e22fd9e829872ba | [
"BSD-3-Clause"
] | null | null | null | goodtiming/modules/addtodo.py | johnlinp/telegram-good-timing-bot | 72ed190d35186e185eb8c5b44e22fd9e829872ba | [
"BSD-3-Clause"
] | 10 | 2017-03-23T17:03:57.000Z | 2021-11-18T23:01:18.000Z | goodtiming/modules/addtodo.py | johnlinp/telegram-good-timing-bot | 72ed190d35186e185eb8c5b44e22fd9e829872ba | [
"BSD-3-Clause"
] | null | null | null | import re
from goodtiming.core.request import Request
from goodtiming.core.response import Response
import goodtiming.core.database
class AddTodoModule:
def parsers(self):
return [AddTodoParser()]
def processors(self):
return [AddTodoProcessor()]
def renderers(self):
return [To... | 29.295082 | 164 | 0.614438 | 190 | 1,787 | 5.726316 | 0.336842 | 0.064338 | 0.060662 | 0.038603 | 0.064338 | 0.064338 | 0.064338 | 0 | 0 | 0 | 0 | 0 | 0.256295 | 1,787 | 60 | 165 | 29.783333 | 0.818661 | 0 | 0 | 0.181818 | 0 | 0 | 0.167879 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.181818 | false | 0 | 0.090909 | 0.068182 | 0.659091 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
b09aafd405eda8e8e3589639c716db078de6d5fb | 193 | py | Python | config.py | t3ls/news-recommand | 5bad31da18b8adf3fa4f858873ca7f8b2f9f7648 | [
"MIT"
] | 2 | 2019-07-29T01:35:06.000Z | 2019-09-21T15:58:22.000Z | config.py | t3ls/news-recommand | 5bad31da18b8adf3fa4f858873ca7f8b2f9f7648 | [
"MIT"
] | null | null | null | config.py | t3ls/news-recommand | 5bad31da18b8adf3fa4f858873ca7f8b2f9f7648 | [
"MIT"
] | 1 | 2019-07-29T01:35:11.000Z | 2019-07-29T01:35:11.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# 全局配置
DEBUG = True
DB_HOST = '10.21.216.156'
DB_PORT = 3306
DB_USER = 'root'
DB_PASS = 'root'
DB_NAME = 'news'
DB_CHARSET = 'utf8'
| 14.846154 | 26 | 0.590674 | 31 | 193 | 3.483871 | 0.806452 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114094 | 0.227979 | 193 | 12 | 27 | 16.083333 | 0.610738 | 0.248705 | 0 | 0 | 0 | 0 | 0.224806 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 |
b0a806028233915bb21575eeb40c97a81c03b970 | 563 | py | Python | simpholib/action.py | dstdnk/SIMple-PHOto-LIBrary | 854fb8ae0254d7a0aa515b4a9db817f3b34eb38d | [
"MIT"
] | 1 | 2021-04-07T16:11:27.000Z | 2021-04-07T16:11:27.000Z | simpholib/action.py | dstdnk/SIMple-PHOto-LIBrary | 854fb8ae0254d7a0aa515b4a9db817f3b34eb38d | [
"MIT"
] | null | null | null | simpholib/action.py | dstdnk/SIMple-PHOto-LIBrary | 854fb8ae0254d7a0aa515b4a9db817f3b34eb38d | [
"MIT"
] | 1 | 2015-06-01T06:18:11.000Z | 2015-06-01T06:18:11.000Z | #!../../bin/python
"""
Main script control the flow of the execution of whole program
"""
from Library import Library
from timeit import default_timer
def main(src_dir, dst_dir=None):
if not dst_dir:
dst_dir = src_dir
# used for logging purposes
start = default_timer()
library = Library(s... | 18.766667 | 62 | 0.680284 | 79 | 563 | 4.620253 | 0.531646 | 0.065753 | 0.073973 | 0.065753 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.223801 | 563 | 30 | 63 | 18.766667 | 0.83524 | 0.122558 | 0 | 0 | 0 | 0 | 0.047393 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.153846 | null | null | 0.076923 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
b0b2af840dfacd5bc293a20bc6d4b25ac0f685a4 | 502 | py | Python | api/staticdata/management/commands/seedflags.py | django-doctor/lite-api | 1ba278ba22ebcbb977dd7c31dd3701151cd036bf | [
"MIT"
] | 3 | 2019-05-15T09:30:39.000Z | 2020-04-22T16:14:23.000Z | api/staticdata/management/commands/seedflags.py | django-doctor/lite-api | 1ba278ba22ebcbb977dd7c31dd3701151cd036bf | [
"MIT"
] | 85 | 2019-04-24T10:39:35.000Z | 2022-03-21T14:52:12.000Z | api/staticdata/management/commands/seedflags.py | django-doctor/lite-api | 1ba278ba22ebcbb977dd7c31dd3701151cd036bf | [
"MIT"
] | 1 | 2021-01-17T11:12:19.000Z | 2021-01-17T11:12:19.000Z | from django.db import transaction
from api.flags.models import Flag
from api.staticdata.management.SeedCommand import SeedCommand
FLAGS_FILE = "lite_content/lite_api/system_flags.csv"
class Command(SeedCommand):
"""
pipenv run ./manage.py seedflags
"""
help = "Seeds flags"
info = "Seeding flags... | 22.818182 | 61 | 0.703187 | 63 | 502 | 5.460317 | 0.619048 | 0.040698 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195219 | 502 | 21 | 62 | 23.904762 | 0.851485 | 0.063745 | 0 | 0 | 0 | 0 | 0.156388 | 0.0837 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0 | 0.25 | 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 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 |
b0bba37e442c3548101562670505efdc8fec4af3 | 446 | py | Python | features/steps/register-patient.py | fga-gpp-mds/2017.2-Grupo4 | e7cd2114ed46da879700f6163594d57e7797e367 | [
"MIT"
] | 7 | 2017-08-22T19:27:25.000Z | 2017-12-09T18:17:40.000Z | features/steps/register-patient.py | fga-gpp-mds/2017.2-Grupo4 | e7cd2114ed46da879700f6163594d57e7797e367 | [
"MIT"
] | 89 | 2017-09-20T03:22:49.000Z | 2017-12-11T18:50:25.000Z | features/steps/register-patient.py | fga-gpp-mds/2017.2-Grupo4 | e7cd2114ed46da879700f6163594d57e7797e367 | [
"MIT"
] | 1 | 2017-09-26T04:15:49.000Z | 2017-09-26T04:15:49.000Z | from behave import step
from selenium.webdriver.support.ui import Select
@step('I click in register patient')
def click_register_patient(context):
context.browser.find_element_by_id('register-patient').click()
@step('I fill patient form')
def fill_patient_form(context):
Select(context.browser.find_element_b... | 29.733333 | 73 | 0.7713 | 65 | 446 | 5.030769 | 0.430769 | 0.183486 | 0.165138 | 0.229358 | 0.357798 | 0.357798 | 0.269113 | 0.269113 | 0 | 0 | 0 | 0.002519 | 0.109865 | 446 | 14 | 74 | 31.857143 | 0.821159 | 0 | 0 | 0 | 0 | 0 | 0.219731 | 0.05157 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.4 | 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 |
b0bcba621e0fb9c88fa8a1a0fe26133fafcd2d25 | 8,069 | py | Python | ftphoneypot/tcp_handler.py | muratti66/python-honeypots | ce3d4f8dcb36c29e6fab00bd8a93ba2de0dfc108 | [
"MIT"
] | null | null | null | ftphoneypot/tcp_handler.py | muratti66/python-honeypots | ce3d4f8dcb36c29e6fab00bd8a93ba2de0dfc108 | [
"MIT"
] | 1 | 2021-09-18T00:11:46.000Z | 2021-09-18T00:13:04.000Z | ftphoneypot/tcp_handler.py | muratti66/python-honeypots | ce3d4f8dcb36c29e6fab00bd8a93ba2de0dfc108 | [
"MIT"
] | 1 | 2021-05-06T21:11:27.000Z | 2021-05-06T21:11:27.000Z | import socket, sys
import _thread as thread
import time
from library import id_generate
class FTPServer:
def __init__(self):
global host, port, log_th, conf_th, header_th, command_w_th, data_w_th
self.conn = None
self.addr = None
self.rest = False
self.pasv_mode = False
... | 34.046414 | 107 | 0.592638 | 1,109 | 8,069 | 4.099188 | 0.183048 | 0.058073 | 0.08447 | 0.059393 | 0.446986 | 0.373295 | 0.359877 | 0.329081 | 0.269468 | 0.200396 | 0 | 0.019487 | 0.275003 | 8,069 | 236 | 108 | 34.190678 | 0.757607 | 0 | 0 | 0.243655 | 1 | 0 | 0.117487 | 0.004462 | 0 | 0 | 0.000991 | 0 | 0 | 1 | 0.15736 | false | 0.010152 | 0.020305 | 0 | 0.192893 | 0 | 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 |
b0beb98d0105c2c4aaa0b4050b805a8bc5e4255b | 2,328 | py | Python | filtering.py | redouane-dev/ecg-classify | de3ce73ed73d896a02df82ae3531b7f9b17bd3f7 | [
"MIT"
] | 24 | 2018-11-13T13:51:21.000Z | 2022-03-17T22:53:37.000Z | filtering.py | redouane-dev/ecg-classify | de3ce73ed73d896a02df82ae3531b7f9b17bd3f7 | [
"MIT"
] | 1 | 2021-04-15T09:47:40.000Z | 2021-04-15T09:47:40.000Z | filtering.py | redouane-dev/ecg-classify | de3ce73ed73d896a02df82ae3531b7f9b17bd3f7 | [
"MIT"
] | 8 | 2018-11-04T14:29:29.000Z | 2021-08-18T10:37:00.000Z |
from scipy.signal import butter, lfilter, filtfilt
def butter_lowpass (cutoff_freq, sampling_freq, order) :
nyquist_freq = sampling_freq / 2
normalized_cutoff = cutoff_freq / nyquist_freq
b, a = butter (order, normalized_cutoff, "lowpass", analog=False) # 'b' is the numerator, 'a' the denominator
... | 43.924528 | 133 | 0.705326 | 323 | 2,328 | 4.820433 | 0.179567 | 0.020552 | 0.082209 | 0.080925 | 0.696211 | 0.696211 | 0.671805 | 0.639692 | 0.639692 | 0.531792 | 0 | 0.008529 | 0.194158 | 2,328 | 53 | 134 | 43.924528 | 0.821429 | 0.092354 | 0 | 0.380952 | 0 | 0 | 0.042715 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 1 | 0.142857 | false | 0.285714 | 0.02381 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 |
b0c00a25664923b61feb00792ec4a65d9a9c41b4 | 803 | py | Python | mini_url.py | Ayushias0203/URL-Shortener | dd9628a2c4507594de2d334dce27f9c6b1093dc8 | [
"MIT"
] | 1 | 2021-08-04T16:01:52.000Z | 2021-08-04T16:01:52.000Z | mini_url.py | Ayushias0203/URL-Shortener | dd9628a2c4507594de2d334dce27f9c6b1093dc8 | [
"MIT"
] | null | null | null | mini_url.py | Ayushias0203/URL-Shortener | dd9628a2c4507594de2d334dce27f9c6b1093dc8 | [
"MIT"
] | null | null | null | # project
import random
import string
print(random.randint(5,10))
letters=string.ascii_lowercase
print(letters)
URLS_DB={}
def get_short_url(url):
# Convert a long url to short url and save in the database
l=random.randint(4,6)
short_url="as.in/"
for i in range(l):
short_url+=random.choice(lette... | 28.678571 | 93 | 0.69863 | 135 | 803 | 3.977778 | 0.422222 | 0.238361 | 0.102421 | 0.052142 | 0.070764 | 0.070764 | 0 | 0 | 0 | 0 | 0 | 0.009434 | 0.20797 | 803 | 27 | 94 | 29.740741 | 0.834906 | 0.211706 | 0 | 0.086957 | 0 | 0 | 0.11465 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.086957 | false | 0 | 0.086957 | 0 | 0.347826 | 0.086957 | 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 |
b0c1c05f07f36a22b2a2da5aacb88d1a28e2b6a8 | 1,802 | py | Python | hit_finding/calculate_similarity.py | sriniker/TDT-tutorial-2014 | be0605a544edbfd8b8e97454e1818fc8f922827b | [
"BSD-3-Clause"
] | 11 | 2015-07-03T12:29:59.000Z | 2022-03-19T17:28:11.000Z | hit_finding/calculate_similarity.py | sriniker/TDT-tutorial-2014 | be0605a544edbfd8b8e97454e1818fc8f922827b | [
"BSD-3-Clause"
] | null | null | null | hit_finding/calculate_similarity.py | sriniker/TDT-tutorial-2014 | be0605a544edbfd8b8e97454e1818fc8f922827b | [
"BSD-3-Clause"
] | 8 | 2016-03-07T07:34:55.000Z | 2021-11-12T03:34:08.000Z | # does similarity search (MAX fusion) with a given fingerprint
# and does the prediction for the test molecules
import os, gzip, numpy, cPickle, sys
from collections import defaultdict
from rdkit import Chem, DataStructs
from optparse import OptionParser
# common functions
sys.path.insert(0, os.getcwd()+'/../')
impor... | 31.068966 | 109 | 0.708102 | 246 | 1,802 | 5.134146 | 0.48374 | 0.019002 | 0.014252 | 0.012668 | 0.068092 | 0.068092 | 0.068092 | 0.068092 | 0.068092 | 0.068092 | 0 | 0.007905 | 0.157603 | 1,802 | 57 | 110 | 31.614035 | 0.824111 | 0.194784 | 0 | 0.105263 | 0 | 0 | 0.239055 | 0.040306 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.131579 | null | null | 0.157895 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
b0c1f05610fef2e084e411747030628a36e65c0e | 700 | py | Python | tinycord/models/message/gateway/reaction.py | tinycord/tinycord | 9e817452c1f2357878f07f8622f6240687470cad | [
"MIT"
] | 8 | 2022-01-08T20:04:29.000Z | 2022-03-21T19:12:19.000Z | tinycord/models/message/gateway/reaction.py | tinycord/tinycord | 9e817452c1f2357878f07f8622f6240687470cad | [
"MIT"
] | null | null | null | tinycord/models/message/gateway/reaction.py | tinycord/tinycord | 9e817452c1f2357878f07f8622f6240687470cad | [
"MIT"
] | 1 | 2022-01-02T21:42:53.000Z | 2022-01-02T21:42:53.000Z | import typing
if typing.TYPE_CHECKING:
from ....client import Client
from ....utils import Snowflake
class ReactionGateway:
def __init__(self, client: "Client" , **data) -> None:
from ... import Emoji
self.client = client
"""The main client."""
self.guild_id = Snowfl... | 25 | 58 | 0.565714 | 85 | 700 | 4.505882 | 0.294118 | 0.091384 | 0.070496 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.272857 | 700 | 28 | 59 | 25 | 0.752456 | 0 | 0 | 0 | 0 | 0 | 0.078767 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0 | 0.307692 | 0 | 0.461538 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 |
b0cfc3d3bf9955fb661e1ec0bd1d6dc5443cb1b0 | 1,073 | py | Python | frappe-bench/apps/erpnext/erpnext/patches/v6_2/fix_missing_default_taxes_and_lead.py | Semicheche/foa_frappe_docker | a186b65d5e807dd4caf049e8aeb3620a799c1225 | [
"MIT"
] | 1 | 2021-04-29T14:55:29.000Z | 2021-04-29T14:55:29.000Z | frappe-bench/apps/erpnext/erpnext/patches/v6_2/fix_missing_default_taxes_and_lead.py | Semicheche/foa_frappe_docker | a186b65d5e807dd4caf049e8aeb3620a799c1225 | [
"MIT"
] | null | null | null | frappe-bench/apps/erpnext/erpnext/patches/v6_2/fix_missing_default_taxes_and_lead.py | Semicheche/foa_frappe_docker | a186b65d5e807dd4caf049e8aeb3620a799c1225 | [
"MIT"
] | 1 | 2021-04-29T14:39:01.000Z | 2021-04-29T14:39:01.000Z | from __future__ import unicode_literals
import frappe
def execute():
# remove missing lead
for customer in frappe.db.sql_list("""select name from `tabCustomer`
where ifnull(lead_name, '')!='' and not exists (select name from `tabLead` where name=`tabCustomer`.lead_name)"""):
frappe.db.set_value("Customer", custo... | 41.269231 | 117 | 0.744641 | 150 | 1,073 | 5.113333 | 0.273333 | 0.083442 | 0.156454 | 0.172099 | 0.638853 | 0.638853 | 0.521512 | 0.521512 | 0.306389 | 0.306389 | 0 | 0 | 0.134203 | 1,073 | 25 | 118 | 42.92 | 0.825619 | 0.044734 | 0 | 0.5 | 0 | 0.05 | 0.586106 | 0.179061 | 0 | 0 | 0 | 0 | 0 | 1 | 0.05 | false | 0 | 0.1 | 0 | 0.15 | 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 |
b0d44b988f46c0b5c53255ce26a29c18387c9243 | 3,205 | py | Python | level0_model.py | daisukelab/chainer-classifier-101 | 000edefe8cd1912c4566ab406cdb5c5677095a7b | [
"MIT"
] | null | null | null | level0_model.py | daisukelab/chainer-classifier-101 | 000edefe8cd1912c4566ab406cdb5c5677095a7b | [
"MIT"
] | null | null | null | level0_model.py | daisukelab/chainer-classifier-101 | 000edefe8cd1912c4566ab406cdb5c5677095a7b | [
"MIT"
] | null | null | null | from PIL import Image
import os, cPickle as pickle, numpy as np
import chainer
from chainer import cuda
import chainer.functions as F
from chainer.functions import caffe
class NNModel(object):
def __init__(self):
self.image_shape = self._image_shape()
self.mean_image = self._mean_image()
se... | 32.704082 | 131 | 0.595944 | 429 | 3,205 | 4.254079 | 0.27972 | 0.039452 | 0.030137 | 0.039452 | 0.24 | 0.195068 | 0.180822 | 0.131507 | 0.131507 | 0.131507 | 0 | 0.027966 | 0.263651 | 3,205 | 97 | 132 | 33.041237 | 0.745339 | 0 | 0 | 0.209877 | 0 | 0 | 0.044306 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.074074 | null | null | 0.061728 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 |
b0dcbac85407db5bdad15fb9945b1f82aa679ea4 | 253 | py | Python | Code/Ep1/p1.py | HitmanBobina47/msfit-toys-pftish | a0f887e5b51408c3df09b5279280837db53c00af | [
"MIT"
] | null | null | null | Code/Ep1/p1.py | HitmanBobina47/msfit-toys-pftish | a0f887e5b51408c3df09b5279280837db53c00af | [
"MIT"
] | null | null | null | Code/Ep1/p1.py | HitmanBobina47/msfit-toys-pftish | a0f887e5b51408c3df09b5279280837db53c00af | [
"MIT"
] | 2 | 2018-03-03T01:37:49.000Z | 2020-03-15T21:22:51.000Z | import socket
address = '127.0.0.1'
port = 47011
socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
socket.connect((address, port))
socketf = socket.makefile(mode='rw')
socketf.write('Hello, World!\n')
socketf.flush()
print(socketf.readline()) | 23 | 58 | 0.743083 | 37 | 253 | 5.027027 | 0.648649 | 0.193548 | 0.193548 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 0.086957 | 253 | 11 | 59 | 23 | 0.757576 | 0 | 0 | 0 | 0 | 0 | 0.102362 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 0 | 0.111111 | 0.111111 | 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 |
b0f5fd2535777941e88b5918b02341ce3a8b51f5 | 557 | py | Python | Django_Intershala/student/migrations/0008_student_updated_at.py | samir321-pixel/Django_Intershala | 77aaa24a34873dab4c3302727d5f43986a99809e | [
"MIT"
] | 7 | 2021-03-08T17:09:39.000Z | 2021-12-30T09:44:44.000Z | Django_Intershala/student/migrations/0008_student_updated_at.py | samir321-pixel/Django_Intershala | 77aaa24a34873dab4c3302727d5f43986a99809e | [
"MIT"
] | null | null | null | Django_Intershala/student/migrations/0008_student_updated_at.py | samir321-pixel/Django_Intershala | 77aaa24a34873dab4c3302727d5f43986a99809e | [
"MIT"
] | 2 | 2021-03-03T11:35:05.000Z | 2021-03-22T17:00:16.000Z | # Generated by Django 3.1.7 on 2021-03-06 04:58
import datetime
from django.db import migrations, models
from django.utils.timezone import utc
class Migration(migrations.Migration):
dependencies = [
('student', '0007_auto_20210306_1014'),
]
operations = [
migrations.AddField(
... | 25.318182 | 128 | 0.642729 | 67 | 557 | 5.223881 | 0.716418 | 0.057143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114558 | 0.247756 | 557 | 21 | 129 | 26.52381 | 0.720764 | 0.08079 | 0 | 0 | 1 | 0 | 0.092157 | 0.045098 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
b0f7b53c5ac79c2ab1e07cdb6f46105bceea118d | 2,453 | py | Python | tests/project_test/services/database.py | Galtvam/CoverageVisualizer | b423dc8caabd9b9ce69f3831458d10cb97b576ca | [
"MIT"
] | 2 | 2022-03-31T00:44:46.000Z | 2022-03-31T00:44:48.000Z | tests/project_test/services/database.py | Galtvam/CoverageVisualizer | b423dc8caabd9b9ce69f3831458d10cb97b576ca | [
"MIT"
] | 4 | 2022-03-31T01:12:56.000Z | 2022-03-31T04:02:37.000Z | tests/project_test/services/database.py | Galtvam/CoverageVisualizer | b423dc8caabd9b9ce69f3831458d10cb97b576ca | [
"MIT"
] | null | null | null | from .user import *
class Database():
def __init__(self, data_set):
self.data_set = data_set
self.database = {}
def up_database(self):
for user in self.data_set:
this_user = User(user['Username'], user['Password'], user['Followers'], user['Following'])
self.data... | 23.141509 | 102 | 0.540155 | 230 | 2,453 | 5.604348 | 0.226087 | 0.043445 | 0.102405 | 0.085337 | 0.401086 | 0.349884 | 0.349884 | 0.27308 | 0.173778 | 0.173778 | 0 | 0.048222 | 0.323685 | 2,453 | 105 | 103 | 23.361905 | 0.728752 | 0.003261 | 0 | 0.428571 | 0 | 0 | 0.213115 | 0.017213 | 0 | 0 | 0 | 0 | 0 | 1 | 0.087912 | false | 0.197802 | 0.010989 | 0 | 0.197802 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
b0f93e2273ded0899414f44e4f034337b819b494 | 1,026 | py | Python | parrainage/app/migrations/0010_add_indexes.py | ronnix/parrainage | cc5a94b1dd7c5654ff35312c60930e06d327103d | [
"MIT"
] | 1 | 2022-02-20T02:37:07.000Z | 2022-02-20T02:37:07.000Z | parrainage/app/migrations/0010_add_indexes.py | ronnix/parrainage | cc5a94b1dd7c5654ff35312c60930e06d327103d | [
"MIT"
] | 41 | 2022-02-17T09:50:08.000Z | 2022-03-09T07:53:25.000Z | parrainage/app/migrations/0010_add_indexes.py | ronnix/parrainage | cc5a94b1dd7c5654ff35312c60930e06d327103d | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.11.29 on 2022-02-28 11:21
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("app", "0009_auto_20220221_1231"),
]
operations = [
migrations.AlterField(
... | 27 | 66 | 0.461014 | 87 | 1,026 | 5.287356 | 0.735632 | 0.086957 | 0.108696 | 0.126087 | 0.156522 | 0.156522 | 0 | 0 | 0 | 0 | 0 | 0.062397 | 0.406433 | 1,026 | 37 | 67 | 27.72973 | 0.692939 | 0.067251 | 0 | 0.233333 | 1 | 0 | 0.149895 | 0.024109 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.066667 | 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 |
9fda167f00165dac3178334cb944371a3ee84619 | 7,564 | py | Python | src/StandAlone/inputs/ARCHES/handoff/scripts/okcProc.py | abagusetty/Uintah | fa1bf819664fa6f09c5a7cd076870a40816d35c9 | [
"MIT"
] | 2 | 2021-12-17T05:50:44.000Z | 2021-12-22T21:37:32.000Z | src/StandAlone/inputs/ARCHES/handoff/scripts/okcProc.py | abagusetty/Uintah | fa1bf819664fa6f09c5a7cd076870a40816d35c9 | [
"MIT"
] | null | null | null | src/StandAlone/inputs/ARCHES/handoff/scripts/okcProc.py | abagusetty/Uintah | fa1bf819664fa6f09c5a7cd076870a40816d35c9 | [
"MIT"
] | 1 | 2020-11-30T04:46:05.000Z | 2020-11-30T04:46:05.000Z | import sys,os
import numpy as np
import matplotlib.pyplot as plt
# >>>>>>>>>>>>> INPUT SECTION <<<<<<<<<<<<
# specify .visit master list file that contains all .okc file names for a given visit session
def usage():
print(' -- OKC Processor -- ')
print(' Maps the various OKC files extracted from VisIt to a sin... | 33.919283 | 110 | 0.593601 | 1,106 | 7,564 | 3.992767 | 0.239602 | 0.015851 | 0.022418 | 0.01721 | 0.151042 | 0.099638 | 0.073822 | 0.073822 | 0.036458 | 0.018342 | 0 | 0.01171 | 0.209677 | 7,564 | 222 | 111 | 34.072072 | 0.726999 | 0.32073 | 0 | 0.212598 | 0 | 0.007874 | 0.256275 | 0.057692 | 0 | 0 | 0 | 0 | 0 | 1 | 0.007874 | false | 0 | 0.023622 | 0 | 0.031496 | 0.409449 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
9fde788deb36359ca8a87bae26dcfafddcaa5685 | 3,333 | py | Python | test/server_test.py | bheesham/wildfly-py | b5a3da0c7843e22b0c76b2b12fc088f0a2c9bd2d | [
"Apache-2.0"
] | 1 | 2021-06-08T18:44:59.000Z | 2021-06-08T18:44:59.000Z | test/server_test.py | zsuzhengdu/wildfly-py | b5a3da0c7843e22b0c76b2b12fc088f0a2c9bd2d | [
"Apache-2.0"
] | null | null | null | test/server_test.py | zsuzhengdu/wildfly-py | b5a3da0c7843e22b0c76b2b12fc088f0a2c9bd2d | [
"Apache-2.0"
] | 1 | 2021-06-08T18:42:35.000Z | 2021-06-08T18:42:35.000Z | import socket
from . import base
from wildfly.api.deployment import DEFAULT_SERVER_GROUP
class ServerTest(base.BaseTestCase):
def test_list_servers(self):
servers = self.client.servers()
self.assertIn(
'{}-0'.format(socket.
gethostbyname(base.WILDFLY_CONTAINE... | 32.676471 | 72 | 0.658266 | 371 | 3,333 | 5.708895 | 0.137466 | 0.129839 | 0.093484 | 0.113314 | 0.76204 | 0.666667 | 0.653919 | 0.653919 | 0.653919 | 0.628895 | 0 | 0.004737 | 0.240024 | 3,333 | 101 | 73 | 33 | 0.831425 | 0 | 0 | 0.571429 | 0 | 0 | 0.037204 | 0 | 0 | 0 | 0 | 0 | 0.168831 | 1 | 0.142857 | false | 0 | 0.038961 | 0 | 0.25974 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
9feaf4a58edfcc399ce8258c02c426e8c0147ac5 | 2,997 | py | Python | parameters_injector/inject_parameters.py | reljicd/python-parameters-injection | 8110db21277efb23abdce3a3f6925f73df3a0dc4 | [
"Apache-2.0"
] | 1 | 2018-05-03T12:49:20.000Z | 2018-05-03T12:49:20.000Z | parameters_injector/inject_parameters.py | reljicd/python-parameters-injection | 8110db21277efb23abdce3a3f6925f73df3a0dc4 | [
"Apache-2.0"
] | null | null | null | parameters_injector/inject_parameters.py | reljicd/python-parameters-injection | 8110db21277efb23abdce3a3f6925f73df3a0dc4 | [
"Apache-2.0"
] | null | null | null | from functools import wraps
from typing import Callable, Dict, KeysView
from parameters_injector.exceptions.nonexistent_key import NonexistentKeyException
from parameters_injector.exceptions.nonexistent_parameter import NonexistentParameterException
from parameters_injector.utils.parse_config_file import parse_config_... | 40.5 | 117 | 0.657324 | 325 | 2,997 | 5.76 | 0.246154 | 0.08547 | 0.083333 | 0.053419 | 0.245192 | 0.177885 | 0.156517 | 0.0625 | 0.0625 | 0 | 0 | 0.001397 | 0.283617 | 2,997 | 73 | 118 | 41.054795 | 0.870517 | 0.136803 | 0 | 0.085106 | 0 | 0 | 0.00196 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.12766 | false | 0.148936 | 0.106383 | 0 | 0.382979 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
9ff3d7abecf4232947a8fbe520686f9a258eb34e | 2,231 | gyp | Python | binding.gyp | webosce/nodejs-module-webos-sysbus | c1f57707cdcbcad45eb06989ae777b0c1bb03aa6 | [
"Apache-2.0"
] | 3 | 2018-03-22T18:58:33.000Z | 2020-07-18T04:01:49.000Z | binding.gyp | webosce/nodejs-module-webos-sysbus | c1f57707cdcbcad45eb06989ae777b0c1bb03aa6 | [
"Apache-2.0"
] | 4 | 2018-09-13T03:55:30.000Z | 2019-03-26T16:28:28.000Z | binding.gyp | webosose/nodejs-module-webos-sysbus | 6518338c0a9305698e30323d7ec7eeecf3f255f7 | [
"Apache-2.0"
] | 4 | 2018-03-22T18:58:33.000Z | 2019-04-02T16:42:52.000Z | # Copyright (c) 2013-2018 LG Electronics, 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 t... | 31.422535 | 85 | 0.513223 | 233 | 2,231 | 4.781116 | 0.579399 | 0.043986 | 0.062837 | 0.070018 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01897 | 0.338413 | 2,231 | 70 | 86 | 31.871429 | 0.735772 | 0.268041 | 0 | 0.111111 | 0 | 0.018519 | 0.473717 | 0.165739 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
b00319da7dcdef7f680b07326f62b805c2dfbc44 | 774 | py | Python | nemspy/model/ice.py | noaa-ocs-modeling/nemspy | 088444b37fbaef5af5a5ae044a2a0445a70a3c5f | [
"CC0-1.0"
] | null | null | null | nemspy/model/ice.py | noaa-ocs-modeling/nemspy | 088444b37fbaef5af5a5ae044a2a0445a70a3c5f | [
"CC0-1.0"
] | 11 | 2020-09-18T14:18:38.000Z | 2021-12-08T14:25:26.000Z | nemspy/model/ice.py | noaa-ocs-modeling/nemspy | 088444b37fbaef5af5a5ae044a2a0445a70a3c5f | [
"CC0-1.0"
] | null | null | null | from os import PathLike
from .base import ModelEntry, ModelMeshEntry, ModelType
class IceModelEntry(ModelEntry):
"""
abstract implementation of a generic ice model
"""
model_type = ModelType.ICE
def __init__(self, processors: int, **kwargs):
super().__init__(processors, **kwargs)
clas... | 25.8 | 84 | 0.677003 | 82 | 774 | 6.121951 | 0.5 | 0.063745 | 0.043825 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003361 | 0.231266 | 774 | 29 | 85 | 26.689655 | 0.840336 | 0.173127 | 0 | 0 | 0 | 0 | 0.011494 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.153846 | false | 0 | 0.153846 | 0 | 0.615385 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 |
b004714a16329365d1241912b27a0314af3c49a8 | 2,057 | py | Python | setup.py | farzadghanei/distutilazy | c3c7d062f7cb79abb7677cac57dd752127ff78e7 | [
"MIT"
] | null | null | null | setup.py | farzadghanei/distutilazy | c3c7d062f7cb79abb7677cac57dd752127ff78e7 | [
"MIT"
] | 2 | 2016-06-16T14:12:48.000Z | 2018-07-22T12:44:21.000Z | setup.py | farzadghanei/distutilazy | c3c7d062f7cb79abb7677cac57dd752127ff78e7 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
"""
distutilazy
-----------
Extra distutils commands.
:license: MIT, see LICENSE for more details.
"""
from __future__ import print_function
import os
import sys
try:
import setuptools
from setuptools import setup
except ImportError as exp:
setuptools = None
from distutils.co... | 27.426667 | 71 | 0.677686 | 214 | 2,057 | 6.392523 | 0.495327 | 0.138889 | 0.182749 | 0.114035 | 0.039474 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008403 | 0.190083 | 2,057 | 74 | 72 | 27.797297 | 0.812725 | 0.056879 | 0 | 0 | 0 | 0 | 0.450311 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.181818 | 0 | 0.181818 | 0.018182 | 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 |
b006ae1a23c20dd46d8fc5a9c93429a9d8cda793 | 1,198 | py | Python | src/unittest/python/log_writer_tests.py | gitter-badger/qPyUtils | 66e3b3e7dae5c21057f47072edafb3859122bfdb | [
"MIT"
] | null | null | null | src/unittest/python/log_writer_tests.py | gitter-badger/qPyUtils | 66e3b3e7dae5c21057f47072edafb3859122bfdb | [
"MIT"
] | null | null | null | src/unittest/python/log_writer_tests.py | gitter-badger/qPyUtils | 66e3b3e7dae5c21057f47072edafb3859122bfdb | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# vim: tabstop=4 shiftwidth=4 expandtab number
################################################################################
#
# Copyright (c) 2018 Baidu.com, Inc. All Rights Reserved
#
################################################################################
""... | 31.526316 | 116 | 0.538397 | 136 | 1,198 | 4.580882 | 0.566176 | 0.044944 | 0.070626 | 0.072231 | 0.060995 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018927 | 0.206177 | 1,198 | 37 | 117 | 32.378378 | 0.636172 | 0.176962 | 0 | 0 | 0 | 0.0625 | 0.172202 | 0.055351 | 0 | 0 | 0 | 0 | 0.0625 | 1 | 0.0625 | false | 0 | 0.3125 | 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 |
b0110f1d714b6e3fa2e966a2f756bf199bed570b | 630 | py | Python | content/urls.py | poya-kob/BiaBegard | b7387d4253dbae0650e61c686752dba342b0342e | [
"MIT"
] | null | null | null | content/urls.py | poya-kob/BiaBegard | b7387d4253dbae0650e61c686752dba342b0342e | [
"MIT"
] | null | null | null | content/urls.py | poya-kob/BiaBegard | b7387d4253dbae0650e61c686752dba342b0342e | [
"MIT"
] | 1 | 2021-11-07T15:56:04.000Z | 2021-11-07T15:56:04.000Z | from django.urls import path, include
from .views import ProductsList, DetailProduct, ProductSearch
from rest_framework.routers import SimpleRouter
from content.api.api_views import ProductViewset
router = SimpleRouter()
router.register(r'product-viewset', ProductViewset, basename='products')
urlpatterns = [
pat... | 35 | 82 | 0.733333 | 74 | 630 | 6.162162 | 0.459459 | 0.052632 | 0.087719 | 0.100877 | 0.175439 | 0.175439 | 0.175439 | 0 | 0 | 0 | 0 | 0 | 0.106349 | 630 | 17 | 83 | 37.058824 | 0.809947 | 0 | 0 | 0 | 0 | 0 | 0.174603 | 0.033333 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.307692 | 0 | 0.307692 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 |
b0190396269348717f09fc0256844d6a3a4474cd | 1,460 | py | Python | force_bdss/ui_hooks/tests/test_ui_notification_mixins.py | scottwedge/force-bdss | c3fdf6a190fa448dbaecedcb81aaba504563dee3 | [
"BSD-2-Clause"
] | 2 | 2019-08-19T16:02:40.000Z | 2020-10-01T11:38:00.000Z | force_bdss/ui_hooks/tests/test_ui_notification_mixins.py | scottwedge/force-bdss | c3fdf6a190fa448dbaecedcb81aaba504563dee3 | [
"BSD-2-Clause"
] | 339 | 2017-07-06T14:35:40.000Z | 2021-05-04T14:18:11.000Z | force_bdss/ui_hooks/tests/test_ui_notification_mixins.py | scottwedge/force-bdss | c3fdf6a190fa448dbaecedcb81aaba504563dee3 | [
"BSD-2-Clause"
] | 2 | 2019-03-05T14:17:25.000Z | 2020-06-26T01:48:07.000Z | # (C) Copyright 2010-2020 Enthought, Inc., Austin, TX
# All rights reserved.
from unittest import TestCase
from threading import Event
from traits.api import TraitError
from force_bdss.ui_hooks.ui_notification_mixins import UIEventNotificationMixin
class TestUIEventNotificationMixin(TestCase):
def setUp(self... | 35.609756 | 79 | 0.738356 | 192 | 1,460 | 5.229167 | 0.25 | 0.095618 | 0.175299 | 0.302789 | 0.581673 | 0.581673 | 0.496016 | 0.496016 | 0.326693 | 0.175299 | 0 | 0.007481 | 0.176027 | 1,460 | 40 | 80 | 36.5 | 0.827099 | 0.05 | 0 | 0.071429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 1 | 0.107143 | false | 0 | 0.142857 | 0 | 0.285714 | 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 |
b01c8b19187cef12e32adb906de263f157950c2f | 7,992 | py | Python | Pipeline_Code/select_final_models_from_CV.py | suinleelab/MD-AD | df8bbed984e909caf890d2d7dd81dd5974760860 | [
"MIT"
] | 5 | 2021-09-15T12:29:07.000Z | 2022-01-22T18:02:57.000Z | Pipeline_Code/select_final_models_from_CV.py | suinleelab/MD-AD | df8bbed984e909caf890d2d7dd81dd5974760860 | [
"MIT"
] | null | null | null | Pipeline_Code/select_final_models_from_CV.py | suinleelab/MD-AD | df8bbed984e909caf890d2d7dd81dd5974760860 | [
"MIT"
] | null | null | null | # PACKAGES
import numpy as np
import os
from scipy import stats as ss
import pickle
import h5py
import pandas as pd
from configs import *
path_to_results_folder = "%sresults/"%CV_save_path
path_to_preds_folder = "%spredictions/"%CV_save_path
path_to_final_chosen_models = "%sfinal_models_chosen/"%CV_save_path
if ... | 35.052632 | 151 | 0.661286 | 1,058 | 7,992 | 4.688091 | 0.139887 | 0.062097 | 0.026613 | 0.041129 | 0.774395 | 0.70746 | 0.68125 | 0.609073 | 0.567944 | 0.561694 | 0 | 0.009755 | 0.179054 | 7,992 | 228 | 152 | 35.052632 | 0.746228 | 0.047422 | 0 | 0.55 | 0 | 0 | 0.042609 | 0.012353 | 0 | 0 | 0 | 0 | 0 | 1 | 0.007143 | false | 0 | 0.05 | 0 | 0.064286 | 0.007143 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
b01d49746f3bf65f45fdd49bca862588c53b14e8 | 2,825 | py | Python | tests/test_utils_data.py | axju/blurring | 2f2e50b7f47d8556be2d74687f34ac6eabd8d235 | [
"MIT"
] | 15 | 2019-09-20T14:20:53.000Z | 2022-01-06T13:31:17.000Z | tests/test_utils_data.py | axju/blurring | 2f2e50b7f47d8556be2d74687f34ac6eabd8d235 | [
"MIT"
] | null | null | null | tests/test_utils_data.py | axju/blurring | 2f2e50b7f47d8556be2d74687f34ac6eabd8d235 | [
"MIT"
] | 2 | 2019-09-21T05:37:30.000Z | 2019-09-22T04:53:57.000Z | import os
import unittest
from .support import TempdirManager
from blurring.utils import WorkFolder
class TestWorkFolder(TempdirManager, unittest.TestCase):
def create_folder(self, **kwargs):
tmpdir = self.mkdtemp()
root = os.path.join(tmpdir, 'test')
kwargs['root'] = root
... | 33.235294 | 68 | 0.617699 | 320 | 2,825 | 5.378125 | 0.175 | 0.062754 | 0.111563 | 0.167345 | 0.62638 | 0.563626 | 0.487507 | 0.454968 | 0.425915 | 0.353283 | 0 | 0.003791 | 0.253097 | 2,825 | 84 | 69 | 33.630952 | 0.811848 | 0 | 0 | 0.447761 | 0 | 0 | 0.037942 | 0 | 0 | 0 | 0 | 0 | 0.358209 | 1 | 0.119403 | false | 0 | 0.059701 | 0 | 0.208955 | 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 |
b028af21549ec4d7e70ee91e9bf78f03ead487f0 | 1,065 | py | Python | ghost_jukebox/security.py | digitaltembo/ghost-jukebox | ab39c4be5ebed1c745ae43922cdc24eae6dedd9c | [
"MIT"
] | null | null | null | ghost_jukebox/security.py | digitaltembo/ghost-jukebox | ab39c4be5ebed1c745ae43922cdc24eae6dedd9c | [
"MIT"
] | 25 | 2019-03-18T03:13:08.000Z | 2022-03-11T23:42:08.000Z | ghost_jukebox/security.py | digitaltembo/ghost-jukebox | ab39c4be5ebed1c745ae43922cdc24eae6dedd9c | [
"MIT"
] | null | null | null | from flask_httpauth import HTTPBasicAuth
from ghost_jukebox import conf
from functools import wraps
# put straightforward httpbasic auth on each page, just cause I don't want undue traffic really
# might remove this eventually, who knows
basic_auth = HTTPBasicAuth()
# Just going to do a one user system for now, with ... | 31.323529 | 108 | 0.723944 | 160 | 1,065 | 4.7125 | 0.6 | 0.023873 | 0.034483 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003593 | 0.215962 | 1,065 | 33 | 109 | 32.272727 | 0.899401 | 0.389671 | 0 | 0 | 0 | 0 | 0.031104 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.190476 | false | 0.095238 | 0.142857 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 |
b02ab9a0c80b6307249889ee29c969152ca162b1 | 7,123 | py | Python | measure_distance.py | egeozin/BenchMark-Project-Data-Analysis | 611139fcc6ecbf3f7b99622f3725c1e2fe770d1b | [
"MIT"
] | null | null | null | measure_distance.py | egeozin/BenchMark-Project-Data-Analysis | 611139fcc6ecbf3f7b99622f3725c1e2fe770d1b | [
"MIT"
] | null | null | null | measure_distance.py | egeozin/BenchMark-Project-Data-Analysis | 611139fcc6ecbf3f7b99622f3725c1e2fe770d1b | [
"MIT"
] | 2 | 2019-03-04T03:25:12.000Z | 2019-03-07T00:36:55.000Z | # a file to refactor distance_between.py and gehl_detect.py; goal is to move most functions to gehl_detect.py and have this file primarily hold parameter definitions
# import libraries
import imutils
import cv2
#import matplotlib
#matplotlib.use("TkAgg")
#from matplotlib import pyplot as plt
import gehl_detect as gd
i... | 39.572222 | 169 | 0.682999 | 980 | 7,123 | 4.855102 | 0.337755 | 0.029424 | 0.019966 | 0.025221 | 0.208911 | 0.186213 | 0.168979 | 0.153426 | 0.153426 | 0.091635 | 0 | 0.024448 | 0.230521 | 7,123 | 179 | 170 | 39.793296 | 0.843642 | 0.456549 | 0 | 0.030769 | 0 | 0.030769 | 0.134823 | 0.12247 | 0 | 0 | 0 | 0.005587 | 0 | 0 | null | null | 0 | 0.092308 | null | null | 0.030769 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 |
b037ef3d25cf0b0285f0233beceec74215687f01 | 981 | py | Python | entity/TradeRecord.py | tianlangbsg/stockHacker | 9b8929523aa488ee7bb51ee80a3b4738f0092d47 | [
"Apache-2.0"
] | 1 | 2021-12-08T09:10:32.000Z | 2021-12-08T09:10:32.000Z | entity/TradeRecord.py | tianlangbsg/stockHacker | 9b8929523aa488ee7bb51ee80a3b4738f0092d47 | [
"Apache-2.0"
] | null | null | null | entity/TradeRecord.py | tianlangbsg/stockHacker | 9b8929523aa488ee7bb51ee80a3b4738f0092d47 | [
"Apache-2.0"
] | null | null | null | class TradeRecord:
"""数据库字段名常量"""
# ID
ID = "ID"
# 股票代码
STOCK_CODE = "STOCK_CODE"
# 股票名字
STOCK_NAME = "STOCK_NAME"
# 交易时5档详情
DETAIL = "DETAIL"
# 交易类型(买入:buy 卖出:sell)
TRADE_TYPE = "TRADE_TYPE"
# 交易价格
TRADE_PRICE = "TRADE_PRICE"
# 交易数量
TRADE_AMOUNT = "TRADE_AMO... | 22.813953 | 135 | 0.591233 | 113 | 981 | 4.79646 | 0.283186 | 0.099631 | 0.103321 | 0.066421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001441 | 0.292559 | 981 | 42 | 136 | 23.357143 | 0.779539 | 0.067278 | 0 | 0 | 0 | 0 | 0.079365 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.074074 | false | 0 | 0 | 0 | 0.703704 | 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 | 0 | 0 | 1 | 0 | 0 | 1 |
b048b30a164fff7d300b84a3cd4501076ee3af63 | 7,425 | py | Python | python/evaluateObjectOrientation.py | jstraub/rtmf | eb348987959f118e0a9056eb0eede6435eef8842 | [
"MIT-feh"
] | 33 | 2015-10-07T14:33:35.000Z | 2022-03-31T13:45:16.000Z | python/evaluateObjectOrientation.py | jstraub/rtmf | eb348987959f118e0a9056eb0eede6435eef8842 | [
"MIT-feh"
] | null | null | null | python/evaluateObjectOrientation.py | jstraub/rtmf | eb348987959f118e0a9056eb0eede6435eef8842 | [
"MIT-feh"
] | 11 | 2015-10-19T20:44:50.000Z | 2021-08-03T08:30:12.000Z | import numpy as np
import os.path, re, sys
import scipy.io as scio
from scipy.linalg import det
import cv2
import itertools
from js.data.rgbd.rgbdframe import *
import mayavi.mlab as mlab
import matplotlib.pyplot as plt
def plotMF(fig,R,col=None):
mfColor = []
mfColor.append((232/255.0,65/255.0,32/255.0)) # red
... | 36.576355 | 102 | 0.648889 | 1,183 | 7,425 | 4.038884 | 0.207101 | 0.013813 | 0.016325 | 0.017581 | 0.392424 | 0.315404 | 0.292172 | 0.275429 | 0.246128 | 0.246128 | 0 | 0.043363 | 0.139663 | 7,425 | 202 | 103 | 36.757426 | 0.704602 | 0.152189 | 0 | 0.14557 | 0 | 0 | 0.098465 | 0.056106 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.056962 | null | null | 0.063291 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 |
b04c0d15d1d4c8f49164484876a44ed7ec0c69fb | 2,974 | py | Python | scripts/cfg/compiler/llvm.py | amd/aocl-libm-ose | a43e092b03213eb0e129a1cc129900e6e4475778 | [
"BSD-3-Clause"
] | 66 | 2020-11-04T17:06:10.000Z | 2022-03-10T08:03:12.000Z | scripts/cfg/compiler/llvm.py | amd/aocl-libm-ose | a43e092b03213eb0e129a1cc129900e6e4475778 | [
"BSD-3-Clause"
] | 8 | 2021-04-18T18:37:53.000Z | 2022-03-11T12:49:31.000Z | scripts/cfg/compiler/llvm.py | amd/aocl-libm-ose | a43e092b03213eb0e129a1cc129900e6e4475778 | [
"BSD-3-Clause"
] | 8 | 2020-11-09T03:45:01.000Z | 2021-11-08T02:25:31.000Z | #
# Copyright (C) 2008-2020 Advanced Micro Devices, Inc. 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... | 38.128205 | 91 | 0.669805 | 382 | 2,974 | 5.094241 | 0.458115 | 0.033916 | 0.032888 | 0.024666 | 0.130524 | 0.069887 | 0.069887 | 0.069887 | 0.069887 | 0.069887 | 0 | 0.005384 | 0.250504 | 2,974 | 77 | 92 | 38.623377 | 0.867654 | 0.554472 | 0 | 0 | 0 | 0 | 0.081917 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.131579 | false | 0 | 0.026316 | 0.105263 | 0.289474 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
b04dda3b9dcff8e175d39a396f7fadc3a544d801 | 2,850 | py | Python | src/twitter_test.py | TanmoyDa-s/TIPR_assignment1 | 303c83c9f93e2fd95c0cf6bf8e14db214dd65784 | [
"MIT"
] | null | null | null | src/twitter_test.py | TanmoyDa-s/TIPR_assignment1 | 303c83c9f93e2fd95c0cf6bf8e14db214dd65784 | [
"MIT"
] | null | null | null | src/twitter_test.py | TanmoyDa-s/TIPR_assignment1 | 303c83c9f93e2fd95c0cf6bf8e14db214dd65784 | [
"MIT"
] | null | null | null | import re
import numpy as np
import csv
word_dict = {}
def read_txt_file(path):
f= open(path,"r")
count =0;
allsentence=[]
for sentence in f:
count += 1
allsentence.append(sentence)
#if count>5:
# break
#print "total sentence : ",count
return allsentence
def words_extract_from_sentence(sentence):
#p... | 22.440945 | 74 | 0.677895 | 427 | 2,850 | 4.360656 | 0.187354 | 0.097744 | 0.016112 | 0.029538 | 0.432868 | 0.311493 | 0.277121 | 0.257787 | 0.257787 | 0.257787 | 0 | 0.007249 | 0.177193 | 2,850 | 126 | 75 | 22.619048 | 0.78678 | 0.25614 | 0 | 0.176471 | 0 | 0 | 0.041727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.044118 | null | null | 0.117647 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 |
b04ff1a6c8e6fe68c3a91f8220f736ddb5ab92ab | 417 | py | Python | fabfile.py | wantsomechocolate/WantsomeDashboards | 8061dfbfb35b5a0cf5386c6a0387b73e504895a5 | [
"BSD-3-Clause"
] | null | null | null | fabfile.py | wantsomechocolate/WantsomeDashboards | 8061dfbfb35b5a0cf5386c6a0387b73e504895a5 | [
"BSD-3-Clause"
] | null | null | null | fabfile.py | wantsomechocolate/WantsomeDashboards | 8061dfbfb35b5a0cf5386c6a0387b73e504895a5 | [
"BSD-3-Clause"
] | null | null | null |
from fabric.api import local
def prepare_deploy():
## Commit changes to master branch
local("git add -A")
local("git commit -m 'commit with fabric'")
local("git push origin master")
## Prepare to push heroku branch with different admin password
local("git checkout heroku")
local("git rebase master")
local("g... | 26.0625 | 63 | 0.733813 | 61 | 417 | 5 | 0.459016 | 0.183607 | 0.078689 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160671 | 417 | 16 | 64 | 26.0625 | 0.871429 | 0.28777 | 0 | 0 | 0 | 0 | 0.527586 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | true | 0 | 0.111111 | 0 | 0.222222 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
b055b30702dc6ba9d880245cfd38ad776b72e6fa | 2,870 | py | Python | Midi-Converter/Compress.py | acajaja/MIDITime-Conversion-Tool | 97ec86551b1622fecbafe88157685983eae112ad | [
"MIT"
] | 1 | 2020-09-04T02:04:31.000Z | 2020-09-04T02:04:31.000Z | Midi-Converter/Compress.py | acajaja/MIDITime-Conversion-Tool | 97ec86551b1622fecbafe88157685983eae112ad | [
"MIT"
] | null | null | null | Midi-Converter/Compress.py | acajaja/MIDITime-Conversion-Tool | 97ec86551b1622fecbafe88157685983eae112ad | [
"MIT"
] | null | null | null | import fnmatch
import os
import argparse
import re
import csv
from classes.IOManager import IOManager
from classes.Compressor import Compressor
parser = argparse.ArgumentParser(description='Apply compression to input')
parser.add_argument('-i', '--interval', default=1, type=float, help='Defaults to 1 second. Value in... | 38.783784 | 221 | 0.66899 | 326 | 2,870 | 5.846626 | 0.432515 | 0.012592 | 0.026758 | 0.019937 | 0.209864 | 0.209864 | 0.209864 | 0.209864 | 0.209864 | 0.209864 | 0 | 0.008054 | 0.221254 | 2,870 | 73 | 222 | 39.315068 | 0.844743 | 0.034495 | 0 | 0.142857 | 0 | 0.017857 | 0.216119 | 0.007589 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.125 | null | null | 0.089286 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 |
b059589415f880e8afb26e01809c91dedee0fb64 | 592 | py | Python | Mundo1/4_Dissecando_Variavel.py | JardelSilva-86/PythonExercicios | 3b6c81fda7138c5828512b7ef217e5e3f565bf03 | [
"MIT"
] | null | null | null | Mundo1/4_Dissecando_Variavel.py | JardelSilva-86/PythonExercicios | 3b6c81fda7138c5828512b7ef217e5e3f565bf03 | [
"MIT"
] | null | null | null | Mundo1/4_Dissecando_Variavel.py | JardelSilva-86/PythonExercicios | 3b6c81fda7138c5828512b7ef217e5e3f565bf03 | [
"MIT"
] | null | null | null | # Crie um programa que leia algo e mostre seu tipo pimitivo e todas as informações possíveis sobre ele.
print('=-'*7, 'DESAFIO 4', '=-'*7)
n = input('Digite algo: ')
print('O tipo primitivo desse valor é {}.'.format(type(n))) # Ponto de melhoria!
print('Só tem espaços? {}'.format(n.isspace()))
print('É um número? {}'.... | 45.538462 | 103 | 0.672297 | 86 | 592 | 4.627907 | 0.604651 | 0.123116 | 0.055276 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005693 | 0.109797 | 592 | 12 | 104 | 49.333333 | 0.749526 | 0.202703 | 0 | 0 | 0 | 0 | 0.409382 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.9 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
b0601b83a1f9ec9f3b7fcd790d8563732bda0cf4 | 520 | py | Python | upgrades/migrations/0018_auto_20190410_1245.py | Dezilok/warlords | 3b2610dc59d3a6954083b25ad6e2acf990e12f0e | [
"Unlicense"
] | null | null | null | upgrades/migrations/0018_auto_20190410_1245.py | Dezilok/warlords | 3b2610dc59d3a6954083b25ad6e2acf990e12f0e | [
"Unlicense"
] | null | null | null | upgrades/migrations/0018_auto_20190410_1245.py | Dezilok/warlords | 3b2610dc59d3a6954083b25ad6e2acf990e12f0e | [
"Unlicense"
] | null | null | null | # Generated by Django 2.1.7 on 2019-04-10 09:45
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('upgrades', '0017_auto_20190410_1047'),
]
operations = [
migrations.RemoveField(
model_name='book',
name='author',
... | 22.608696 | 85 | 0.578846 | 52 | 520 | 5.673077 | 0.730769 | 0.061017 | 0.088136 | 0.115254 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085165 | 0.3 | 520 | 22 | 86 | 23.636364 | 0.725275 | 0.086538 | 0 | 0.25 | 1 | 0 | 0.15222 | 0.048626 | 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 |
b0606f77d2308e3b3d20265ae84ca8ba6419852d | 1,773 | py | Python | Lab_2/wha_collision.py | saif-mahmud/Crypto-Lab | 2807320d7ca389adee86f69f704b9f91f9cd8054 | [
"MIT"
] | 2 | 2021-12-19T03:15:37.000Z | 2022-01-16T11:22:11.000Z | Lab_2/wha_collision.py | saif-mahmud/Crypto-Lab | 2807320d7ca389adee86f69f704b9f91f9cd8054 | [
"MIT"
] | null | null | null | Lab_2/wha_collision.py | saif-mahmud/Crypto-Lab | 2807320d7ca389adee86f69f704b9f91f9cd8054 | [
"MIT"
] | 1 | 2020-01-08T06:48:08.000Z | 2020-01-08T06:48:08.000Z | def wha(message) :
mask = 0x3FFFFFFF
outHash = 0
for char in message :
byte = ord(char)
intermediate_value = ((byte ^ 0xCC) << 24) | ((byte ^ 0x33) << 16) | ((byte ^ 0xAA) << 8) | (byte ^ 0x55)
outHash = (outHash & mask) + (intermediate_value & mask)
return hex(outHash)
def ... | 26.073529 | 113 | 0.546531 | 213 | 1,773 | 4.408451 | 0.28169 | 0.059638 | 0.080937 | 0.027689 | 0.506922 | 0.445154 | 0.445154 | 0.445154 | 0.445154 | 0.445154 | 0 | 0.022594 | 0.326001 | 1,773 | 68 | 114 | 26.073529 | 0.76318 | 0.032149 | 0 | 0.45 | 0 | 0 | 0.056042 | 0 | 0 | 0 | 0.015178 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
b063d4243fce07a7cad46637ccdab3acbff1c854 | 37,035 | py | Python | test/test_oxml.py | spidezad/python-pptx | eab3f55b84b54906876d5486172d5d0c457d55f8 | [
"BSD-2-Clause"
] | 1 | 2021-05-17T06:33:32.000Z | 2021-05-17T06:33:32.000Z | test/test_oxml.py | spidezad/python-pptx | eab3f55b84b54906876d5486172d5d0c457d55f8 | [
"BSD-2-Clause"
] | null | null | null | test/test_oxml.py | spidezad/python-pptx | eab3f55b84b54906876d5486172d5d0c457d55f8 | [
"BSD-2-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
#
# test_oxml.py
#
# Copyright (C) 2012, 2013 Steve Canny scanny@cisco.com
#
# This module is part of python-pptx and is released under
# the MIT License: http://www.opensource.org/licenses/mit-license.php
"""Test suite for pptx.oxml module."""
from datetime import datetime
from hamcrest impo... | 46.879747 | 78 | 0.51535 | 4,167 | 37,035 | 4.358531 | 0.116871 | 0.020813 | 0.011012 | 0.006607 | 0.588481 | 0.502478 | 0.431395 | 0.360973 | 0.302004 | 0.248981 | 0 | 0.027053 | 0.306332 | 37,035 | 789 | 79 | 46.939164 | 0.679914 | 0.110652 | 0 | 0.234973 | 0 | 0.083789 | 0.23094 | 0.014299 | 0 | 0 | 0 | 0 | 0.10929 | 0 | null | null | 0 | 0.01275 | null | null | 0.001821 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 |
b069c59b1df4d6f9dce6dc0be98a1be67c277f50 | 3,794 | py | Python | K8PortScan.py | VCStardust/K8tools | 13e7b43d67151380303dc19ac941da9eb5c07117 | [
"MIT"
] | 4,611 | 2019-02-24T02:45:09.000Z | 2022-03-31T11:23:21.000Z | K8PortScan.py | hyled-Ava/K8tools | 82fdcd3d21faf61c7cbdb0e44b08634ec6a2339e | [
"MIT"
] | 21 | 2019-02-25T17:35:25.000Z | 2022-03-24T09:17:01.000Z | K8PortScan.py | hyled-Ava/K8tools | 82fdcd3d21faf61c7cbdb0e44b08634ec6a2339e | [
"MIT"
] | 1,940 | 2019-02-24T03:39:35.000Z | 2022-03-30T17:52:48.000Z | import socket, sys
import threading
import argparse
import time
##Code: https://github.com/k8gege/K8PortScan
##K8portScan 1.0
##Date: 20190530
##Author: K8gege
##Usage:
##IP (IP IP/24 IP/16 IP/8)
##
##python K8PortScan.py -ip 192.11.22.29
##python K8PortScan.py -ip 192.11.22.29 -p 80-89
##python K8PortScan... | 28.526316 | 93 | 0.612546 | 594 | 3,794 | 3.880471 | 0.282828 | 0.039479 | 0.046855 | 0.019089 | 0.191323 | 0.155748 | 0.117571 | 0.096746 | 0.03731 | 0.03731 | 0 | 0.121011 | 0.207169 | 3,794 | 132 | 94 | 28.742424 | 0.645279 | 0.137586 | 0 | 0.2 | 0 | 0 | 0.115694 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.009091 | 0.036364 | null | null | 0.109091 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 |
b06ae38bfa776467c24eaced7fbdde3de74e5ec3 | 1,076 | py | Python | accounts/migrations/0007_auto_20200728_1701.py | MartinMwiti/crm | 2f775b25e293da410dc3a37d0e03d838df1144ac | [
"MIT"
] | null | null | null | accounts/migrations/0007_auto_20200728_1701.py | MartinMwiti/crm | 2f775b25e293da410dc3a37d0e03d838df1144ac | [
"MIT"
] | null | null | null | accounts/migrations/0007_auto_20200728_1701.py | MartinMwiti/crm | 2f775b25e293da410dc3a37d0e03d838df1144ac | [
"MIT"
] | null | null | null | # Generated by Django 3.0.8 on 2020-07-28 14:01
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('accounts', '0006_auto_20200728_1652'),
]
operations = [
migrations.AlterField(
model_name='empl... | 35.866667 | 159 | 0.66171 | 113 | 1,076 | 6.159292 | 0.40708 | 0.057471 | 0.08046 | 0.126437 | 0.658046 | 0.658046 | 0.58908 | 0.58908 | 0.58908 | 0.37931 | 0 | 0.036905 | 0.219331 | 1,076 | 29 | 160 | 37.103448 | 0.791667 | 0.041822 | 0 | 0.391304 | 1 | 0 | 0.204082 | 0.092323 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.086957 | 0 | 0.217391 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
c65f14c6abc0eabe910b6eac81ee7c0e06d234eb | 1,312 | py | Python | setup.py | kaiidams/voice100-tts | 75cbf185ef7ef80a38db382ffe61a1e100474f6c | [
"MIT"
] | 6 | 2021-11-05T17:50:44.000Z | 2022-03-07T23:13:15.000Z | setup.py | kaiidams/voice100-tts | 75cbf185ef7ef80a38db382ffe61a1e100474f6c | [
"MIT"
] | 1 | 2022-01-18T13:26:22.000Z | 2022-03-18T11:23:02.000Z | setup.py | kaiidams/voice100-tts | 75cbf185ef7ef80a38db382ffe61a1e100474f6c | [
"MIT"
] | 1 | 2022-01-03T05:20:09.000Z | 2022-01-03T05:20:09.000Z | from setuptools import setup
setup(
name="voice100",
version="1.0.1",
author="Katsuya Iida",
author_email="katsuya.iida@gmail.com",
description="Voice100",
license="MIT",
url="https://github.com/kaiidams/voice100",
packages=['voice100'],
long_description="Voice100 is a small TTS for... | 29.155556 | 73 | 0.570122 | 137 | 1,312 | 5.291971 | 0.50365 | 0.077241 | 0.144828 | 0.110345 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078891 | 0.285061 | 1,312 | 44 | 74 | 29.818182 | 0.69403 | 0 | 0 | 0.116279 | 0 | 0 | 0.514482 | 0.344512 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.023256 | 0 | 0.023256 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
c662dc1ddfa69e196e4fd0305f5a7bb838a2e870 | 828 | py | Python | test_debug.py | devsysenv/tests | 6aa7635b281f2e186daa6375abb8050e44c02d6a | [
"MIT"
] | null | null | null | test_debug.py | devsysenv/tests | 6aa7635b281f2e186daa6375abb8050e44c02d6a | [
"MIT"
] | null | null | null | test_debug.py | devsysenv/tests | 6aa7635b281f2e186daa6375abb8050e44c02d6a | [
"MIT"
] | 1 | 2022-03-09T12:23:26.000Z | 2022-03-09T12:23:26.000Z | #!/usr/bin/env python
import pytest
import os
import sys
import logging
logging.basicConfig()
logger = logging.getLogger(__name__)
logger.setLevel(logging.DEBUG)
from dselib.debug import SetDSEDebugTrace, debugtrace
def _internalTester(value1, value2, value3):
debugtrace()
logger.debug(f'called with: {value1... | 23.657143 | 62 | 0.684783 | 97 | 828 | 5.649485 | 0.484536 | 0.281022 | 0.125912 | 0.131387 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038179 | 0.177536 | 828 | 34 | 63 | 24.352941 | 0.76652 | 0.024155 | 0 | 0.153846 | 0 | 0 | 0.092937 | 0 | 0 | 0 | 0 | 0 | 0.269231 | 1 | 0.076923 | false | 0 | 0.192308 | 0 | 0.269231 | 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 |
c6654b38c075cb035ace54fea20318af6e43833b | 2,392 | py | Python | examples/snake3d2k35/scripts/plot_force_coefficients_compare_2d.py | barbagroup/cloud-repro | ca1a4fbf2188219d3d326e2d56f6cf79ae552eb8 | [
"BSD-3-Clause"
] | 9 | 2019-09-19T17:27:22.000Z | 2021-12-01T03:23:16.000Z | examples/snake3d2k35/scripts/plot_force_coefficients_compare_2d.py | barbagroup/cloud-repro | ca1a4fbf2188219d3d326e2d56f6cf79ae552eb8 | [
"BSD-3-Clause"
] | 3 | 2019-07-29T13:25:03.000Z | 2020-05-05T19:51:41.000Z | examples/snake3d2k35/scripts/plot_force_coefficients_compare_2d.py | barbagroup/cloud-repro | ca1a4fbf2188219d3d326e2d56f6cf79ae552eb8 | [
"BSD-3-Clause"
] | 5 | 2019-06-21T11:35:44.000Z | 2021-12-01T03:23:32.000Z | """Generate a figure of the force coefficients over time.
Compare the 3D force coefficients with the 2D ones.
Save the figure in the sub-folder `figures` of the simulation directory.
"""
import pathlib
from matplotlib import pyplot
import petibmpy
simudir = pathlib.Path(__file__).absolute().parents[1]
# Read 3D f... | 37.375 | 76 | 0.667642 | 381 | 2,392 | 4.062992 | 0.375328 | 0.098837 | 0.020672 | 0.0323 | 0.170543 | 0.131783 | 0.04522 | 0.04522 | 0 | 0 | 0 | 0.05415 | 0.173913 | 2,392 | 63 | 77 | 37.968254 | 0.729251 | 0.189799 | 0 | 0.043478 | 1 | 0 | 0.137285 | 0.015601 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.065217 | 0 | 0.065217 | 0.065217 | 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 |
c66558d7c59e1e533b75cb6480959f52d87f0580 | 1,519 | py | Python | bridgeGlobal/urls.py | albinjoz/bridgeglobal | 2de6c3187c5dfc28853d41c8bd624f84fed7ef57 | [
"Apache-2.0"
] | null | null | null | bridgeGlobal/urls.py | albinjoz/bridgeglobal | 2de6c3187c5dfc28853d41c8bd624f84fed7ef57 | [
"Apache-2.0"
] | null | null | null | bridgeGlobal/urls.py | albinjoz/bridgeglobal | 2de6c3187c5dfc28853d41c8bd624f84fed7ef57 | [
"Apache-2.0"
] | null | null | null | """bridgeGlobal URL Configuration
The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/3.0/topics/http/urls/
Examples:
Function views
1. Add an import: from my_app import views
2. Add a URL to urlpatterns: path('', views.home, name='home')... | 39.973684 | 127 | 0.741277 | 196 | 1,519 | 5.663265 | 0.403061 | 0.054054 | 0.013514 | 0.021622 | 0.105405 | 0.105405 | 0.067568 | 0 | 0 | 0 | 0 | 0.006178 | 0.147465 | 1,519 | 37 | 128 | 41.054054 | 0.850965 | 0.41343 | 0 | 0 | 0 | 0 | 0.095632 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.352941 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 1 |
c66daf4719f6809eae763bc2ad434ae5c2d22efc | 1,705 | py | Python | middileware/jboss/jboss_unrce.py | xin053/PocCollect | e13e137901bc91ae44465a1c9d88a9961dbab6bf | [
"MIT"
] | 340 | 2016-06-21T08:05:57.000Z | 2022-03-13T02:23:34.000Z | middileware/jboss/jboss_unrce.py | xin053/PocCollect | e13e137901bc91ae44465a1c9d88a9961dbab6bf | [
"MIT"
] | 1 | 2016-08-30T07:15:30.000Z | 2016-08-30T07:15:30.000Z | middileware/jboss/jboss_unrce.py | xin053/PocCollect | e13e137901bc91ae44465a1c9d88a9961dbab6bf | [
"MIT"
] | 195 | 2016-06-21T08:06:00.000Z | 2022-03-25T00:39:32.000Z | #coding:utf-8
import urllib2
import binascii
import time
from t import T
def readfile(path):
data=None
file_object = open(path,'rb')
try:
data = file_object.read( )
finally:
file_object.close( )
return data
class P(T):
def __init__(self):
T.__in... | 28.416667 | 94 | 0.530205 | 184 | 1,705 | 4.690217 | 0.434783 | 0.034762 | 0.02781 | 0.044032 | 0.088065 | 0.088065 | 0.088065 | 0.088065 | 0.088065 | 0 | 0 | 0.02307 | 0.339003 | 1,705 | 60 | 95 | 28.416667 | 0.74268 | 0.007038 | 0 | 0.130435 | 0 | 0 | 0.140147 | 0.015912 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.108696 | null | null | 0.021739 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
c67105bd25237db31dd3f9a107e83c075e2e64c9 | 2,246 | py | Python | plaso/frontend/log2timeline_test.py | cvandeplas/plaso | b625a2c267ed09505cfac84c9593d8c0922852b1 | [
"Apache-2.0"
] | 3 | 2016-03-11T02:47:08.000Z | 2016-12-24T03:19:27.000Z | plaso/frontend/log2timeline_test.py | cvandeplas/plaso | b625a2c267ed09505cfac84c9593d8c0922852b1 | [
"Apache-2.0"
] | null | null | null | plaso/frontend/log2timeline_test.py | cvandeplas/plaso | b625a2c267ed09505cfac84c9593d8c0922852b1 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Copyright 2014 The Plaso Project Authors.
# Please see the AUTHORS file for details on individual 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 L... | 31.633803 | 80 | 0.747551 | 307 | 2,246 | 5.332248 | 0.491857 | 0.034209 | 0.036652 | 0.019548 | 0.078192 | 0.078192 | 0.040318 | 0 | 0 | 0 | 0 | 0.008009 | 0.166073 | 2,246 | 70 | 81 | 32.085714 | 0.86599 | 0.466607 | 0 | 0 | 0 | 0 | 0.020815 | 0 | 0 | 0 | 0 | 0.014286 | 0.068966 | 1 | 0.103448 | false | 0 | 0.241379 | 0 | 0.37931 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.