blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
777 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
⌀
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
⌀
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
⌀
gha_language
stringclasses
149 values
src_encoding
stringclasses
26 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
3
10.2M
extension
stringclasses
188 values
content
stringlengths
3
10.2M
authors
listlengths
1
1
author_id
stringlengths
1
132
80c96f58c81a1ad2f841121a18d5bafbe7cfeb07
07bb4c9215e40ca287a554cf9f80efc05ebc5c77
/Notification/urls.py
d9fa356c66addbed006efd4ebcb14a79211b6e07
[]
no_license
Touhid7051/RealTimeNotificationModule-Django-jquery
7796c4b0b1c4528cb71a4862e8e5aaed9636b21e
f14e837b20e8884e4dabab1b7c3fa750de8e54a2
refs/heads/main
2023-02-22T22:38:24.068800
2021-01-23T05:58:14
2021-01-23T05:58:14
329,606,061
0
0
null
null
null
null
UTF-8
Python
false
false
395
py
from django.urls import path from . import views urlpatterns = [ path('',views.index), path( 'ajax/get_notification_info', views.get_notification_info, name='AJAXGetNotificationInfo' ), path( 'ajax/mark_notification_as_readed', views.mark_noti...
[ "touhidul15-7051@diu.edu.bd" ]
touhidul15-7051@diu.edu.bd
82735e19cc5424db14639187b57bafbf0d91bf48
0e4f76fc3f9aae8b00a67806dffcfc6360e310d1
/classes/ifcmechanicalfastenertype.py
19a44ce3997f4d23490269849fa7a1e23cb9b272
[]
no_license
HassanEmam/PyoIFC
e11f3b330d3e758aaae47ee9e70b2ae5b5847432
c2ec4e017ce366b07686491dbe22827aec2711c0
refs/heads/master
2020-07-31T14:27:53.305768
2019-09-24T15:41:28
2019-09-24T15:41:28
210,630,850
0
0
null
null
null
null
UTF-8
Python
false
false
70
py
class IFCMECHANICALFASTENERTYPE(IFCFASTENERTYPE): def __init__(self):
[ "hassan.emam@hotmail.com" ]
hassan.emam@hotmail.com
d75a6dfb933591f3d54d097ab7fe60ba3da81aaf
3dcc44bf8acd3c6484b57578d8c5595d8119648d
/replace_sequence.py
861d5404cd9a8f5502ae789659e6270f0ebc3216
[]
no_license
rhiju/rhiju_python
f0cab4dfd4dd75b72570db057a48e3d65e1d92c6
eeab0750fb50a3078a698d190615ad6684dc2411
refs/heads/master
2022-10-29T01:59:51.848906
2022-10-04T21:28:41
2022-10-04T21:28:41
8,864,938
0
3
null
null
null
null
UTF-8
Python
false
false
2,140
py
#!/usr/bin/python from sys import stdout,argv longer_names={'ALA': 'A', 'ARG': 'R', 'ASN': 'N', 'ASP': 'D', 'CYS': 'C', 'GLU': 'E', 'GLN': 'Q', 'GLY': 'G', 'HIS': 'H', 'ILE': 'I', 'LEU': 'L', 'LYS': 'K', 'MET': 'M', 'PHE': 'F', 'PRO': 'P', 'SER': 'S', 'THR': 'T'...
[ "rhiju@stanford.edu" ]
rhiju@stanford.edu
a7ba78807f215e6dd9a0898434c817afb0c4c5a5
6e08ea99c8555687b9c7937df18e52fe7156923b
/src/test_first_block.py
c652f03aa349e3c280ba9d14d2920a3feda6a477
[ "MIT" ]
permissive
erikscheurer/Trainable-i3d-pytorch
6a7f18d5b4fe69ea3a6365642f8bb5d7d0f2ca16
16d61ffd1b9dc1d913434e7a47f415dfa3f49caa
refs/heads/master
2023-06-11T02:59:11.008505
2023-05-30T10:10:00
2023-05-30T10:10:00
577,358,861
0
0
MIT
2022-12-12T15:04:52
2022-12-12T15:04:51
null
UTF-8
Python
false
false
1,719
py
import torch import torchvision import torchvision.transforms as transforms import torchvision.datasets as datasets from src import inflate def test_input_block(): normalize = transforms.Normalize(mean=[0.485, 0.456, 0.406], std=[0.229, 0.224, 0.225]) dataset = datasets.Im...
[ "786671043@qq.com" ]
786671043@qq.com
f6be031c5b62b19a335fd5fd4b5ee7037231655d
66f5b3b8b611c0b0643d03335912f2c31861772e
/testProject/flaskr/flaskr.py
92c7b62508aee8c62807de0f7a3ad6c3de3b1d51
[]
no_license
AIHackerTest/yuanzizi_Py101-004
a23742bfb567e1d96d03742cfd80ed4770c2be60
6be8b5adb286b4bc146f571b51334f1a46daf5e0
refs/heads/master
2021-06-26T10:06:40.398414
2017-09-12T08:37:05
2017-09-12T08:37:05
103,240,535
0
0
null
null
null
null
UTF-8
Python
false
false
739
py
# all the imports import sqlite3 from flask import Flask, request, session, g, redirect, url_for, \ abort, render_template, flash from contextlib import closing # configuration DATABASE = '/tmp/flaskr.db' DEBUG = True SECRET_KEY = 'development key' USERNAME = 'admin' PASSWORD = 'default' # create our little app...
[ "xiaowan5219@gmail.com" ]
xiaowan5219@gmail.com
43e34fd708341672c2ea145c8551a826062f5b09
ff2dc8616fddf86c6166f423553506af37be665a
/tools/convert_datasets/drive.py
f547579b2d9a045828559ed37acf64760fe4eed3
[ "Apache-2.0" ]
permissive
CarnoZhao/Kaggle-UWMGIT
e17054949f24329c2cb69b291a1c610bf5f059d7
91bc93fec8d25bed200a7ae7963c9738ac798353
refs/heads/kaggle_tractseg
2023-05-23T02:08:10.108522
2022-08-18T09:00:20
2022-08-18T09:00:20
489,877,767
88
17
Apache-2.0
2022-10-18T17:34:22
2022-05-08T07:39:51
Python
UTF-8
Python
false
false
4,238
py
# Copyright (c) OpenMMLab. All rights reserved. import argparse import os import os.path as osp import tempfile import zipfile import cv2 import mmcv def parse_args(): parser = argparse.ArgumentParser( description='Convert DRIVE dataset to mmsegmentation format') parser.add_argument( 'trainin...
[ "noreply@github.com" ]
CarnoZhao.noreply@github.com
60c13a0ea68b10586fdf0185863705265cfdab3c
e23a4f57ce5474d468258e5e63b9e23fb6011188
/140_gui/pyqt_pyside/_exercises/exercises/PyQt5/Chapter01_Creating_a_User_Interface_with_Qt_Components/callRadioButton1.pyw
85e8411360f36027a22b8e505948fce001f0ccc6
[]
no_license
syurskyi/Python_Topics
52851ecce000cb751a3b986408efe32f0b4c0835
be331826b490b73f0a176e6abed86ef68ff2dd2b
refs/heads/master
2023-06-08T19:29:16.214395
2023-05-29T17:09:11
2023-05-29T17:09:11
220,583,118
3
2
null
2023-02-16T03:08:10
2019-11-09T02:58:47
Python
UTF-8
Python
false
false
588
pyw
# _____ ___ # # ____ ?.?W.. _____ ?D.., ?A.. # # ____ demoRadioButton1 _____ _ # # c_ MyForm(?D.. # ___ - # s__. - # ui _ ? # ?.setupUi # ?.rBFC_.t___.c.. ? # ?.rBBC__.t___.c.. ? # ?.rBEC__.t___.c.. ? # s.. # # ___ dispFare # fare_0 # __ ?...
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
e1d187b65cb1b62111b962e4465d24ec2d832340
6712885a4c2a056eee3b4488382b9afc2149f799
/New LeetCode Problems/random_node.py
77ad24ff96c6aeaa7b340a775bba0be9a5adebff
[]
no_license
matthewharrilal/CS-Questions-GRIND
cac1cb562e5dad79ee4e224895d034f9c71d9ed3
7196c5e8df495d43ee91f218d6253c8a88a7d59d
refs/heads/master
2020-04-16T01:30:53.289837
2019-07-24T04:34:21
2019-07-24T04:34:21
165,176,585
0
0
null
null
null
null
UTF-8
Python
false
false
1,339
py
# Definition for singly-linked list. # class ListNode(object): # def __init__(self, x): # self.val = x # self.next = None class Solution(object): def __init__(self, head): """ @param head The linked list's head. Note that the head is guaranteed to be not null, so it con...
[ "matthewharrilal@gmail.com" ]
matthewharrilal@gmail.com
06e335d962cfae6b99b6c95829cda1b0dbe0a3b2
e972e39c4580ce0099eb905c1922b501dce54901
/app.py
2e116aa9a36ad0711a6e7fb2c2f9deb960bd06f0
[ "Apache-2.0" ]
permissive
y-du/module-update-service
cf8070e1fa842ea7767fb8315b2bb1bd377ff623
34de1474ab26cd8f590d93809ddf1376a62d8b49
refs/heads/master
2022-09-12T09:21:12.200249
2020-05-25T18:46:26
2020-05-25T18:46:26
266,853,076
0
0
null
null
null
null
UTF-8
Python
false
false
1,008
py
""" Copyright 2020 Yann Dumont 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 wr...
[ "42994541+y-du@users.noreply.github.com" ]
42994541+y-du@users.noreply.github.com
30c0d1c6369f9dbd0fbd2371025193dce89d3062
99c4d4a6592fded0e8e59652484ab226ac0bd38c
/code/batch-1/vse-naloge-brez-testov/DN4-Z-221.py
da9910534f5792c65dacf92bc5f4f973b954050b
[]
no_license
benquick123/code-profiling
23e9aa5aecb91753e2f1fecdc3f6d62049a990d5
0d496d649247776d121683d10019ec2a7cba574c
refs/heads/master
2021-10-08T02:53:50.107036
2018-12-06T22:56:38
2018-12-06T22:56:38
126,011,752
0
0
null
null
null
null
UTF-8
Python
false
false
1,697
py
from math import sqrt def koordinate(ime,kraji): for ime1,x,y in kraji: if ime1 == ime: return(x,y) def razdalja_koordinat(x1, y1, x2, y2): razdalja = sqrt((x1 - x2) ** 2 + (y1 - y2) ** 2) return razdalja def razdalja(ime1, ime2, kraji): for ime,x,y in kraji: if koordinate ==...
[ "lenart.motnikar@gmail.com" ]
lenart.motnikar@gmail.com
93f93e4af9af2886d603827a2f836578d0f32687
54f352a242a8ad6ff5516703e91da61e08d9a9e6
/Source Codes/AtCoder/abc095/B/4921117.py
3d340b572da0e569a402e7ae6841bc632bebd08f
[]
no_license
Kawser-nerd/CLCDSA
5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb
aee32551795763b54acb26856ab239370cac4e75
refs/heads/master
2022-02-09T11:08:56.588303
2022-01-26T18:53:40
2022-01-26T18:53:40
211,783,197
23
9
null
null
null
null
UTF-8
Python
false
false
138
py
n, x = map(int, input().split()) M = [] for i in range(n): M.append(int(input())) ans = n x -= sum(M) ans += x//min(M) print(ans)
[ "kwnafi@yahoo.com" ]
kwnafi@yahoo.com
7621ae4dfad07efc674d5a47a516bb5d517884d5
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/rMr8yRxS8TeF9pDyn_19.py
48a280180d1d3d1bcb1b1dc8b6d4a68b428d17cf
[]
no_license
daniel-reich/ubiquitous-fiesta
26e80f0082f8589e51d359ce7953117a3da7d38c
9af2700dbe59284f5697e612491499841a6c126f
refs/heads/master
2023-04-05T06:40:37.328213
2021-04-06T20:17:44
2021-04-06T20:17:44
355,318,759
0
0
null
null
null
null
UTF-8
Python
false
false
103
py
def war_of_numbers(lst): return abs(sum([i for i in lst if i%2])-sum([i for i in lst if not i%2]))
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
5c385ec823c3a7b0ec10dc2c629598b286cc2741
487ce91881032c1de16e35ed8bc187d6034205f7
/codes/CodeJamCrawler/16_0_2/lvwrence/pancake.py
44277479d04a3713b6cfcd9971eae0f55b3fcb33
[]
no_license
DaHuO/Supergraph
9cd26d8c5a081803015d93cf5f2674009e92ef7e
c88059dc66297af577ad2b8afa4e0ac0ad622915
refs/heads/master
2021-06-14T16:07:52.405091
2016-08-21T13:39:13
2016-08-21T13:39:13
49,829,508
2
0
null
2021-03-19T21:55:46
2016-01-17T18:23:00
Python
UTF-8
Python
false
false
717
py
import sys HAPPY = '+' SAD = '-' def pancake(stack): n = 0 while SAD in stack: i = stack.rfind(SAD) + 1 stack = flip(stack, i) n += 1 return n def flip(stack, i): flipped_part = ''.join([HAPPY if x == SAD else SAD for x in stack[:i]]) rest = stack[i:] return flipped_pa...
[ "[dhuo@tcd.ie]" ]
[dhuo@tcd.ie]
256a701d85ed8a5ce5ec796957e9ff22328bf05b
9b03f4403163c7753883fd7de42b2a33d13b49fc
/setup.py
908fc710a28918cab19fa1cb88585ddeb05c11e1
[]
no_license
invisibleroads/invisibleroads-records
223b73db2621a354d7fc4d0e1339cbd4c18aed03
322e4aebe7bca55f72fb0098fa40d4de8ace49d6
refs/heads/master
2023-08-11T17:33:25.226867
2020-12-14T18:52:16
2020-12-14T18:52:20
62,768,161
0
0
null
null
null
null
UTF-8
Python
false
false
1,728
py
from os.path import abspath, dirname, join from setuptools import find_packages, setup ENTRY_POINTS = ''' [invisibleroads] initialize = invisibleroads_records.scripts:InitializeRecordsScript ''' APPLICATION_CLASSIFIERS = [ 'Programming Language :: Python', 'Framework :: Pyramid', 'Topic :: Internet :: WWW...
[ "rhh@crosscompute.com" ]
rhh@crosscompute.com
36f0deb76508a494c55bc9ed45902253f64e679f
52604df7b02ac7bc85e8d8eab6cffd5eafc02d6e
/playbook/roles/vm-bootstrap/templates/upload-script.j2
3dc41000c61df72fc02f201f5cd965058afb7f2f
[]
no_license
jakop345/slapos.package
1c480a4a9c9b8d6b19cfb5588108fe6530322487
b2fd7c04c3f6b30e1166427dd88fa1f1a33e5756
refs/heads/master
2020-06-18T21:43:38.508664
2016-11-08T17:15:39
2016-11-08T17:15:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,463
j2
#!/usr/bin/env python import os import sys import requests class uploader(): log_path = '/var/log/ansible/hosts' url = '' host = '127.0.0.1' def __init__(self, url='http://10.0.2.100/', host='127.0.0.1'): self.url = url self.host = host def upload_file(self, file_name, content, override=Fal...
[ "alain.takoudjou@nexedi.com" ]
alain.takoudjou@nexedi.com
0bb43de4e0984e0e7c78aa6df52c5a7986769f3f
5d4841bd3160418d3deb88b241edc22c7b7eab18
/server/serving/util.py
b2d979b05fc3016bacc91c8ac405d8d2072acb9a
[]
no_license
cxbn12/ntu-nlp
2493523bb886facfd661dd4194082ccd653496ae
de98f636919267a3701383636ccb31ccf108f28b
refs/heads/master
2022-03-16T08:32:24.302783
2019-11-04T15:31:56
2019-11-04T15:31:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
226
py
class ConstantDict(dict): def __setitem__(self, key, value): if self.get(key) is not None: raise ValueError('key {} has already existed in the dict'.format(key)) super().__setitem__(key, value)
[ "YLI056@e.ntu.edu.sg" ]
YLI056@e.ntu.edu.sg
2c2fce05341f9de8da73be8fc62526291132ca3d
55647a80c8b412af9df0ba3f50595cc2f29c25e6
/res/scripts/client/gui/Scaleform/daapi/view/meta/ConfirmItemWindowMeta.py
d38e3062050bd3797b27356d4d02a5401f1403bc
[]
no_license
cnsuhao/WOT-0.9.17-CT
0035eb6070fb4fab8d8ee9f8bbc676c10d511cfb
d1f932d8cabaf8aa21708622e87f83c8d24d6451
refs/heads/master
2021-06-08T18:11:07.039293
2016-11-19T19:12:37
2016-11-19T19:12:37
null
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
1,166
py
# 2016.11.19 19:51:17 Střední Evropa (běžný čas) # Embedded file name: scripts/client/gui/Scaleform/daapi/view/meta/ConfirmItemWindowMeta.py from gui.Scaleform.framework.entities.abstract.AbstractWindowView import AbstractWindowView class ConfirmItemWindowMeta(AbstractWindowView): """ DO NOT MODIFY! Genera...
[ "info@webium.sk" ]
info@webium.sk
16a2354933d3fe23cc9f07b675be33622b789203
1e9c9f2a9639db7cdb032aae69cb4d99aef1d3a5
/hackerRank/tracks/coreCS/algorithms/warmup/timeConversion.py
acdc393442b57a4b95fb06e068a855001b7fb974
[ "MIT" ]
permissive
sagarnikam123/learnNPractice
f0da3f8acf653e56c591353ab342765a6831698c
1b3b0cb2cff2f478006626a4c37a99102acbb628
refs/heads/master
2023-02-04T11:21:18.211654
2023-01-24T14:47:52
2023-01-24T14:47:52
61,184,927
2
1
MIT
2022-03-06T11:07:18
2016-06-15T06:57:19
Python
UTF-8
Python
false
false
1,506
py
# Time Conversion ####################################################################################################################### # # Given a time in AM/PM format, convert it to military (24-hour) time. # # Note: Midnight is 12:00:00AM on a 12-hour clock, and 00:00:00 on a 24-hour clock. Noon is 12:00:00PM # o...
[ "sagarnikam123@gmail.com" ]
sagarnikam123@gmail.com
391311d3652cca9c6fe61fb5dddb8acf62434082
7c278ab8887095e82b074464527c349cc67bad65
/flask/aj/user/models.py
e97cab62765bb9b40d21b373b33474522265559f
[]
no_license
Berg1994/project_test
a452f01ffc9b01f7cdda060e84ee80d4aef2e31b
56ed0a04e4e5ea3a3e60d0aa9db3918818dcfa6d
refs/heads/master
2020-03-22T16:58:06.179871
2018-08-31T01:08:22
2018-08-31T01:08:22
140,363,773
0
0
null
null
null
null
UTF-8
Python
false
false
7,842
py
from datetime import datetime from werkzeug.security import generate_password_hash, check_password_hash from flask_sqlalchemy import SQLAlchemy db = SQLAlchemy() class BaseModel(object): # 定义基础的模型 create_time = db.Column(db.DATETIME, default=datetime.now()) update_time = db.Column(db.DATETIME, default...
[ "18200353192@163.com" ]
18200353192@163.com
46e026d93c1a0ef77a67c9daa18ced5e1f62b2b3
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02613/s993411895.py
b83139f77560f9df12a266bf10fc703f3b83899b
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
346
py
n = int(input()) answer = [0 for i in range(4)] for i in range(n): s = input() if s == "AC": answer[0] += 1 elif s == "WA": answer[1] += 1 elif s == "TLE": answer[2] += 1 else: answer[3] += 1 print("AC x", answer[0]) print("WA x", answer[1]) print("TLE x", answer[2])...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
b097605c85f9fd4b19236d87f4b547149e7d086b
de382219afb2a5e5a8d0dae18d16d08d0f8a48dc
/BzCFNI5kmyT6d30n/xjWwOlMikbhTtQ8u.py
ace1a8fa3d2c46a102d154fbf94510606c3f8727
[]
no_license
urlib/OEV04H
1d862dfef7ec693bf31dd50e5c05b0bcefed423a
9f97b73481c3b6a0769ee4e3f07fbe4229be2b13
refs/heads/master
2021-05-19T18:12:13.600901
2020-04-15T03:21:34
2020-04-15T03:21:34
252,057,207
0
1
null
null
null
null
UTF-8
Python
false
false
37,052
py
𭫾𐀃瓅𧪔𧾶𤱭𡳭𥌠뷿쥋豁읉㘡묛𨍐𮢧巾ʜ𠟧𨻻𦴶萆𩂋𓅲𤎕𬊃𪾿𢴺ힿ𛄗𢈐헳뢯ꢒ棰𝝬啠𫸾𮇱𑿜𪎭𧛦𥟵𗇺卼𨃗𧽤ꖞ잫𖥕瓝⺮𐨚𑩬渤ꏷ𥂳𢊹𨔰፶𠏷먖𫠇𣷸껝훑𢅮𧌧𝆮𠻽𫀞㍅𗂈𫸌俓뙚𠰬煸衣𭾅琢𢘿踶牴殣𩐓𥖵𨵓𥔛ﺥ𪔃䎮᯿𦴎흅𫆼𢖣䐒𠔗𪉒𘢁ဃ峚𩲕𗪽𘙂𫚷⻑𥬪𛂼𤯞𨩴𨁰𒒅𖡎୍ﭳ앇岩𨴅륻촧𢭧魍㽊諌齵弣몹惾𤄨𖹼𥭢𘑧𢮉𥊦ḟ𣾵𓏱ശ𪇐𥒶셲䞓𪪍𧴷𒇨俸𩥙𘖏憰휠𘅄領𗱋넙𮏌𣾤𤭅穞𥎛𭾭킑膛𤀙代ꖳ푇䭱𬫠𬸭켸𭊴𧷋胳𫯝𮦭坄𨭙홏ꅽ徶ټ岞𑦵⫌𥷚𧒹璺𘑧鳄啺ӧ𥃲𪸇妗𥞔𣔶𨥮ﴀ𐬢늌𗬓𬘺...
[ "45290401+vmlankub@users.noreply.github.com" ]
45290401+vmlankub@users.noreply.github.com
ce8ffa57b4141d8480c56483d1349674e45cd265
4c83c846b02db5d918589964b095bb111452c40e
/pythalesians/backtest/cash/cashbacktest.py
49d95d48d3567170f7f8a16011105b4c513e472f
[ "Apache-2.0" ]
permissive
fabrizioff/pythalesians
30010cca614525bfb0ed8dce36813347858ad0b2
3b42c1518a2ccec060d7576c9a27ad502c44f951
refs/heads/master
2021-01-21T02:40:50.274937
2015-11-22T19:07:25
2015-11-22T19:07:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,193
py
__author__ = 'saeedamen' # # Copyright 2015 Thalesians Ltd. - http//www.thalesians.com / @thalesians # # 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 ...
[ "saeedamen@hotmail.com" ]
saeedamen@hotmail.com
4b02056f4c480a16edf7846755bee0e5a7f8aeca
077c91b9d5cb1a6a724da47067483c622ce64be6
/load_balancer_fuzzer_mcs/intermcs_4_/replay_config.py
5d583a420d97f5e61efcab726b1c1885820ef55b
[]
no_license
Spencerx/experiments
0edd16398725f6fd9365ddbb1b773942e4878369
aaa98b0f67b0d0c0c826b8a1565916bf97ae3179
refs/heads/master
2020-04-03T10:11:40.671606
2014-06-11T23:55:11
2014-06-11T23:55:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,394
py
from config.experiment_config_lib import ControllerConfig from sts.topology import * from sts.control_flow import Replayer from sts.simulation_state import SimulationConfig from sts.input_traces.input_logger import InputLogger simulation_config = SimulationConfig(controller_configs=[ControllerConfig(start_cmd='./pox....
[ "jefflai2@gmail.com" ]
jefflai2@gmail.com
f06b90df8586075aa27394de940dd067b51dddc7
481c3575d3e9f5e8209c729c4c97ceb25084be04
/glab_msg_output.py
917cb18353b3e50c7b6b0818c822215522ae697e
[]
no_license
captain-liang/pyRTKLib
506601cf0ee89a0ae8710551610ce4f60a1c4ca6
4d9a89c9e3756049f797f441c3d7973e3c6c33d9
refs/heads/master
2023-02-27T14:00:37.098696
2021-02-09T12:42:38
2021-02-09T12:42:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,153
py
#!/usr/bin/env python import sys import os import argparse from termcolor import colored import json import logging import pathlib import pandas as pd from shutil import copyfile import am_config as amc from ampyutils import amutils, location, exeprogram from glab import glab_constants as glc from glab import glab_sp...
[ "alain.muls@gmail.com" ]
alain.muls@gmail.com
5f3862731f0fa6c8cf2b279a20d723ac66407614
c81d7dfef424b088bf2509a1baf406a80384ea5a
/venv/Lib/site-packages/twilio/rest/api/v2010/account/sip/ip_access_control_list/ip_address.py
d6229de9245dd4291f523bd7b4c53dc98906f852
[]
no_license
Goutham2591/OMK_PART2
111210d78fc4845481ed55c852b8f2f938918f4a
cb54fb21ebf472bffc6ee4f634bf1e68303e113d
refs/heads/master
2022-12-10T01:43:08.213010
2018-04-05T02:09:41
2018-04-05T02:09:41
124,828,094
0
1
null
2022-12-07T23:43:03
2018-03-12T03:20:14
Python
UTF-8
Python
false
false
16,974
py
# coding=utf-8 """ This code was generated by \ / _ _ _| _ _ | (_)\/(_)(_|\/| |(/_ v1.0.0 / / """ from twilio.base import deserialize from twilio.base import values from twilio.base.instance_context import InstanceContext from twilio.base.instance_resource import InstanceResource from ...
[ "amatar@unomaha.edu" ]
amatar@unomaha.edu
20215c28356bad8a0d9e0507fba370969946acf7
12fcd6e05a1dd359cbba94e76278dc53daa319f5
/src/product_details/mobiles/migrations/0010_auto_20191225_2116.py
30ad7ebd4fcfb096ddadd9de679ea14d5a286008
[]
no_license
Raju-Pinnam/stacks
1b105c8e61b793f8ca06cf45371f67e586f7611c
a546a74b059140298b0d9d53f6e2ddb94c6c7028
refs/heads/master
2020-11-27T13:35:37.155907
2019-12-29T09:25:56
2019-12-29T09:25:56
229,464,675
0
0
null
null
null
null
UTF-8
Python
false
false
548
py
# Generated by Django 3.0.1 on 2019-12-25 15:46 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('mobiles', '0009_auto_20191225_1956'), ] operations = [ migrations.AddField( model_name='mobile', name='is_active', ...
[ "pinnampadmaraju@gmail.com" ]
pinnampadmaraju@gmail.com
208c4da602a886eaa930a727c75b4dee0c018d51
1380d006379689f9dcc21fe7807ea9ff9a78b82d
/src/0068-text-justification/text-justification.py
4b4ecde7c334447e15fac384282e061d00845aaa
[]
no_license
AyyappaK/leetcode
f641ff5adfeb86671b4ed5eff81545274b115466
f2e79eb6b08d713ad5ede0c4df28dba9cd503d05
refs/heads/master
2023-08-11T10:50:36.366921
2021-09-13T07:09:02
2021-09-13T07:09:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,973
py
# Given an array of strings words and a width maxWidth, format the text such that each line has exactly maxWidth characters and is fully (left and right) justified. # # You should pack your words in a greedy approach; that is, pack as many words as you can in each line. Pad extra spaces ' ' when necessary so that each ...
[ "Huangln555@gmail.com" ]
Huangln555@gmail.com
ce92d9209a956e77ce9c96255ab58f07de94f597
cbc829f5787b770c9184b91ee470d058cc4cbe65
/array/o51_数组中的逆序对.py
51c71fc026a34e93402ff1da8d5c38a65087eafa
[]
no_license
SilvesSun/learn-algorithm-in-python
58815e7e85e767cbc4a9c21e36e7bdede4f32bef
5ba3465ba9c85955eac188e1e3793a981de712e7
refs/heads/master
2022-09-19T05:10:26.783943
2022-09-10T04:56:43
2022-09-10T04:56:43
115,470,779
0
0
null
null
null
null
UTF-8
Python
false
false
1,484
py
# 在数组中的两个数字,如果前面一个数字大于后面的数字,则这两个数字组成一个逆序对。输入一个数组,求出这个数组中的逆序对的总数。 # # # # 示例 1: # # 输入: [7,5,6,4] # 输出: 5 # # # # 限制: # # 0 <= 数组长度 <= 50000 # Related Topics 树状数组 线段树 数组 二分查找 分治 有序集合 归并排序 👍 619 👎 0 # leetcode submit region begin(Prohibit modification and deletion) class Solution: def mergeSort(self, nums, t...
[ "2498256234@qq.com" ]
2498256234@qq.com
58923fdf6f48c34fbc0625e4f4706a77cfe0d055
72f9c5c099fe07073a4a619c2d843a44aa69343e
/state-of-the-art algorithm/music_range.py
d69e04e21e3ccf6749660370fdaca7195f469a22
[]
no_license
fixernhc/radar_mti
4d1fb80193bb316a7822df6557900ca2fb040610
4213025d0305f453d1ff1dee3c5ff2fa77636077
refs/heads/master
2023-05-24T19:19:45.150242
2021-06-11T20:13:36
2021-06-11T20:13:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,448
py
import numpy as np import matplotlib.pyplot as plt import scipy.linalg as LA import scipy.signal as ss import operator N = 512 s_N = 512 L = 2 f1 = 1.000e9 f2 = 1.020e9 fs = 4*f1 signal = [] f=[] f_inc=fs/(N) f = np.linspace(0, fs, s_N) f = f/fs num_f_search = f.size print(num_f_search) array = np.arange(0,N) def ...
[ "nakorn.vistec@gmail.com" ]
nakorn.vistec@gmail.com
b1a7c1923a904478bc86f9838bcf3fee9a0ee4df
431a1f738b1edfba7dad8d10a6b7520d51d917cb
/Samples/UserSamples/2017/GGHWW_STXS/GGHWW_PTH_0_200_GE2J_MJJ_0_350_PTH_60_120_Config.py
6b311bfe3c63d3e4f5763cc6c2c83713fca31960
[]
no_license
aloeliger/DatacardCreator
5ce702e46fbb77e843b44d8fe088c2645a4a8f66
5c7e890276a5be079ed3b677a471c1dcadcba52d
refs/heads/master
2022-02-26T19:52:30.563747
2022-02-16T20:24:48
2022-02-16T20:24:48
215,602,523
0
1
null
null
null
null
UTF-8
Python
false
false
1,715
py
from Samples.SampleDefinition import Sample from Samples.Uncertainties.UserUncertainties.TES import TESUncertainty from Samples.Uncertainties.UserUncertainties.Signal_JES_17 import JES17Uncertainty from Samples.Uncertainties.UserUncertainties.JER import JERUncertainty from Samples.Uncertainties.UserUncertainties.ggHTh...
[ "aloelige@cern.ch" ]
aloelige@cern.ch
810b7cc68bd38ac16e03ff87d249151779911067
f7c07caa1210d2a08e8433cdd854b1232efa88e3
/Operating-System-Modules/OS-Module/Get-User-Name.py
d84bd236f77bb1e2b8ec8633d1d330371d44b1d9
[]
no_license
rchicoli/ispycode-python
c2fbecc28bf32933150986d24f77b7297f50b78e
fa27f2377943ac2e4d983065406578151091e3f5
refs/heads/master
2020-03-20T11:34:59.698618
2018-06-14T21:14:02
2018-06-14T21:14:02
137,407,150
0
0
null
null
null
null
UTF-8
Python
false
false
79
py
import os import pwd name = pwd.getpwuid( os.getuid() )[ 0 ] print name
[ "rafaelchicoli@hotmail.com" ]
rafaelchicoli@hotmail.com
9b6dc8ac8d5a83a791a6035c383b3e0c1aa3ee8f
af67d7d0f56da5d8ac9a6fbd4b0aedcebf5a6434
/buglab/data/pypi/venv.py
98b8f421b1f19dbb4df32796f07eff88d4175ce8
[ "LicenseRef-scancode-generic-cla", "MIT" ]
permissive
microsoft/neurips21-self-supervised-bug-detection-and-repair
23ef751829dc90d83571cd68c8703e2c985e4521
4e51184a63aecd19174ee40fc6433260ab73d56e
refs/heads/main
2023-05-23T12:23:41.870343
2022-01-19T12:16:19
2022-01-19T12:16:19
417,330,374
90
23
MIT
2022-08-30T11:54:55
2021-10-15T01:14:33
Python
UTF-8
Python
false
false
2,781
py
import os import subprocess from contextlib import contextmanager from pathlib import Path from tempfile import TemporaryDirectory from typing import Iterator, NamedTuple, Set class PackageLabInfo(NamedTuple): venv_location: Path package_location: str package_name: str package_version: str all_pac...
[ "miallama@microsoft.com" ]
miallama@microsoft.com
675e4bb1f08a758c131194ba74d7faf5d935ca50
e34cbf5fce48f661d08221c095750240dbd88caf
/python/homework/ElectiveSys/lib/commons.py
d43acd0be838e40ee4fe3cec890740b0be6b2ab6
[]
no_license
willianflasky/growup
2f994b815b636e2582594375e90dbcb2aa37288e
1db031a901e25bbe13f2d0db767cd28c76ac47f5
refs/heads/master
2023-01-04T13:13:14.191504
2020-01-12T08:11:41
2020-01-12T08:11:41
48,899,304
2
0
null
2022-12-26T19:46:22
2016-01-02T05:04:39
C
UTF-8
Python
false
false
340
py
#_*_coding:utf-8_*_ __author__ = 'Linhaifeng' import uuid,hashlib import time def create_uuid(): return str(uuid.uuid1()) def create_md5(): m=hashlib.md5() m.update(bytes(str(time.time()),encoding='utf-8')) return m.hexdigest() if __name__ == '__main__': x=create_md5() print(x) y=create...
[ "284607860@qq.com" ]
284607860@qq.com
c7ed48c440aded880b748fd9fff296772c73741a
3a22d9a1c4a8d5530208f4b9af004711bd620111
/sagemaker_neo_compilation_jobs/gluoncv_yolo_darknet/tools/concat_db.py
9b11085b6afbb3f060a2b0012d4e39f567fa497e
[ "Apache-2.0" ]
permissive
jme3192/amazon-sagemaker-examples
45fae7b1e2a8b8c0b8149eb1195caa8fd701a12a
93cd954b6f57c8f905340479b92eaca17b2527ff
refs/heads/master
2023-04-29T02:40:42.483934
2021-05-11T21:31:59
2021-05-11T21:31:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,976
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "noreply@github.com" ]
jme3192.noreply@github.com
541e171cb4e23513a2d526ad23f7aa9eea403533
1080ce3a527990289369916bebc22eee1e41e0ec
/app/__init__.py
64b7c8aa77e60495d267a3cd61b1f195bcbec821
[]
no_license
ChristineKarimi/watchlist3
2213afb30ee40cef23958239a431a381b0999ec4
e9821ad9a349964277bbb8e9c93c0ac03b907a6e
refs/heads/master
2023-05-27T19:03:48.949643
2021-06-03T19:28:19
2021-06-03T19:28:19
373,738,563
1
0
null
null
null
null
UTF-8
Python
false
false
477
py
from flask import Flask from flask_bootstrap import Bootstrap from config import config_options bootstrap = Bootstrap() def create_app(config_name): app = Flask(__name__) # Creating the app configurations app.config.from_object(config_options[config_name]) # Initializing flask extensions bootst...
[ "karimikim3@gmail.com" ]
karimikim3@gmail.com
6d792ce3a7977e91730930fc9fa2fae5769b5bb6
8f221b6fd60cf7a2e58360451b08c2f2ae628a0d
/proj/__init__.py
7637aa650fd633ff496dcb23de0d54a9b26cf4e0
[ "Apache-2.0" ]
permissive
P2PTeam/Flask-Bootstrap
f191b7d1b0794bf21a20ea6f431ec36075092833
d1be1069a29ae8d794985b3d7c9e29c50e7ecf92
refs/heads/master
2021-01-15T20:23:06.299066
2014-09-03T15:31:30
2014-09-03T15:31:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,371
py
# coding: utf-8 import sys import os # 将project目录加入sys.path project_path = os.path.abspath(os.path.join(os.path.dirname(__file__), '..')) if project_path not in sys.path: sys.path.insert(0, project_path) from flask import Flask, request, url_for, g, render_template from flask_wtf.csrf import CsrfProtect from flas...
[ "hustlzp@qq.com" ]
hustlzp@qq.com
905523a878e1d58a82697f64983a130119fe74fc
711756b796d68035dc6a39060515200d1d37a274
/output_cog/optimized_4806.py
f48c91f6f3e7126c2966bbdc1993a07aadc7e0b4
[]
no_license
batxes/exocyst_scripts
8b109c279c93dd68c1d55ed64ad3cca93e3c95ca
a6c487d5053b9b67db22c59865e4ef2417e53030
refs/heads/master
2020-06-16T20:16:24.840725
2016-11-30T16:23:16
2016-11-30T16:23:16
75,075,164
0
0
null
null
null
null
UTF-8
Python
false
false
10,839
py
import _surface import chimera try: import chimera.runCommand except: pass from VolumePath import markerset as ms try: from VolumePath import Marker_Set, Link new_marker_set=Marker_Set except: from VolumePath import volume_path_dialog d= volume_path_dialog(True) new_marker_set= d.new_marker_set marker_set...
[ "batxes@gmail.com" ]
batxes@gmail.com
3c2a12f4c6ba6c3e5af09e84132c66845ebc006d
faabe34af6297530617395bcc6811350765da847
/platforms/interviewbit/NextGreater.py
f19cce6d39c05c06ba41d4713acdb8180df4302d
[]
no_license
pqnguyen/CompetitiveProgramming
44a542aea299bd553dd022a9e737e087285b8b6d
27330e7ff79c4ac883d7e1fcdf2f0d30939c3f78
refs/heads/master
2021-07-21T12:15:47.366599
2021-06-27T14:58:48
2021-06-27T14:58:48
132,837,831
0
0
null
null
null
null
UTF-8
Python
false
false
584
py
# Definition for singly-linked list. # class ListNode: # def __init__(self, x): # self.val = x # self.next = None from collections import deque class Solution: # @param A : list of integers # @return a list of integers def nextGreater(self, A): stack = deque() res = [-1...
[ "pqnguyen1996@gmail.com" ]
pqnguyen1996@gmail.com
e411e4e6ce7bd7e9f5684fd4ca91463162fd6dda
0d8486c1d55c40bebea7c5428930f18165d2d0e9
/tests/printInput.py
427adc8ff2a140d5629f8e232005b6cf9fe11987
[ "Apache-2.0" ]
permissive
bernardocuteri/wasp
6f81bf6aa8fb273c91bbf68ecce4ecb195a55953
05c8f961776dbdbf7afbf905ee00fc262eba51ad
refs/heads/master
2021-06-08T11:58:25.080818
2020-10-05T16:57:37
2020-10-05T16:57:37
124,245,808
0
0
Apache-2.0
2018-03-07T14:13:16
2018-03-07T14:13:16
null
UTF-8
Python
false
false
324
py
#!/usr/bin/env python3 import sys if len(sys.argv) != 2: sys.exit("Usage:\n\t%s <testcase>" % (sys.argv[0],)) testcase = sys.argv[1] exec(open(testcase).read()) for i in ['input']: if i not in locals(): sys.exit("Testcase %s does not provide variable '%s'" % (testcase, i)) print(input.strip...
[ "mario@alviano.net" ]
mario@alviano.net
6e41b6798166e01c404a9a124d14c853450ee068
6c82ad5e3794ebd586514d180587f70774e9ffd2
/accounts/helper/utils.py
775f63335602f75892b54577f3b3172efd029442
[]
no_license
madScientist101/healthApp
b1e34d94baf8c3f8fa0550da365a993496b57848
f412c09e7d63ea1e37a845f7dd550fa392f86ac8
refs/heads/master
2022-11-10T13:48:29.542585
2020-07-05T15:01:23
2020-07-05T15:01:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
690
py
def base36encode(number, alphabet='0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ'): """ Converts an integer to a base36 string. """ if not isinstance(number, (int, long)): raise TypeError('number must be an integer') base36 = '' sign = '' if number < 0: sign = '-' ...
[ "miketetteh751@outlook.com" ]
miketetteh751@outlook.com
d0d05fa64ee797b838485a9ac0c94af181d19e07
b167407960a3b69b16752590def1a62b297a4b0c
/tools/project-creator/Python2.6.6/Lib/test/test_scriptpackages.py
96bfe45e8fbe9f3e20217cbea5b55bef180e8bdf
[ "MIT" ]
permissive
xcode1986/nineck.ca
543d1be2066e88a7db3745b483f61daedf5f378a
637dfec24407d220bb745beacebea4a375bfd78f
refs/heads/master
2020-04-15T14:48:08.551821
2019-01-15T07:36:06
2019-01-15T07:36:06
164,768,581
1
1
MIT
2019-01-15T08:30:27
2019-01-09T02:09:21
C++
UTF-8
Python
false
false
1,378
py
# Copyright (C) 2003 Python Software Foundation import unittest from test import test_support import aetools class TestScriptpackages(unittest.TestCase): def _test_scriptpackage(self, package, testobject=1): # Check that we can import the package mod = __import__(package) # Tes...
[ "278688386@qq.com" ]
278688386@qq.com
d18ba3f23e10f3d94b7a764c8e07b0a4c471baa2
e7f5ba85998200eefa32c260f7328d8f6e42a9cc
/apps/session_words_app/views.py
1c7db0bd1bb8538e53b986d008a222f1d6942f6e
[]
no_license
MichaelKirkaldyV/Django_session_form
6b2c24aa8c4d80bd2a46b890cff7b5a11dde9ce8
809e46206259015603585c495aacacbb05ba9601
refs/heads/master
2020-03-22T11:47:41.254680
2018-07-06T14:42:51
2018-07-06T14:42:51
139,996,581
0
0
null
null
null
null
UTF-8
Python
false
false
1,465
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.shortcuts import render, HttpResponse, redirect #imports datetime module to be used. from datetime import datetime def index(request): #checks to see if there is anything in var list, which is a class variable in the html template. if requ...
[ "vmichaelkirkaldy@live.com" ]
vmichaelkirkaldy@live.com
5aee4e3479c4fc7e75f1564905b22a5f817af0ff
652ce343b97e6de655892c942c300017341eaf84
/bash_scripts/Scripts/WRF_score.py
992f46c11cce739fe329440b4f3f7241e9d30034
[]
no_license
hasithadkr7/Workflow
84d5ead50956b4908fe45b3e20ca44991c3921ed
b3b38626bcd6946c25dd04d2b6058766a2e2e47e
refs/heads/master
2020-05-18T12:57:01.682648
2020-01-08T13:25:07
2020-01-08T13:25:07
184,423,685
0
0
null
null
null
null
UTF-8
Python
false
false
3,141
py
#============================================================= # WRF_Score.py # Compute the score of performance of the scheme # # J.F. Vuillaume and S. Herath 2018 #============================================================= import numpy as np import gzip import glob import matplotlib.pyplot as plt from datetime im...
[ "hasithadkr7@gmail.com" ]
hasithadkr7@gmail.com
2c5147a06733aab6f04884bc05db4e318853dffb
29eec4f8c2e5356ed3ea9d0748f8fdcce42a008c
/simulations/results/Primi/FogQLen/FogQLen/dati/mul001/join.py
492ef4ad8274a3e186f052fdcec6f4a40da56a42
[]
no_license
mions1/Fog
0d021bbc4d26680ed8d89411bf5aa96acf3aab32
e37d17a6356c31343e23750362f27e9fdcfff081
refs/heads/master
2020-05-05T03:28:34.641508
2019-08-21T00:26:33
2019-08-21T00:26:33
179,673,964
0
0
null
null
null
null
UTF-8
Python
false
false
3,589
py
import os from os import path def getListFromFile(fileName, z=False): means = {"x":[],"y":[],"z":[]} with open(fileName,"r") as f: for line in f: split = line.split() means["x"].append(float(split[0])) means["y"].append(float(split[1])) if z: ...
[ "simone.mione1@gmail.com" ]
simone.mione1@gmail.com
c5032a133239b8c74cd93c009abbe752a7fc635c
170deb952c4d8fde800c4c13abfebaffc94e5e9e
/nostradamus/apps/analysis_and_training/views.py
e462ec6f0403389b8c1929021c023ce43994a062
[ "Apache-2.0" ]
permissive
alorlov/nostradamus
6a7104fdc447b6da19a484855160095b4f3ba8aa
17e3e8e6d37a7fe43b0267f6af2948a04e317098
refs/heads/master
2022-11-13T03:57:04.667063
2020-07-04T16:55:43
2020-07-04T16:55:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,526
py
from json import dumps, loads from rest_framework.response import Response from rest_framework.views import APIView from multiprocessing import Process import pandas as pd from apps.analysis_and_training.main.significant_terms import ( calculate_significance_weights, get_significant_terms, ) from apps.analysi...
[ "litvinov.ivan44@gmail.com" ]
litvinov.ivan44@gmail.com
fe41e7e7ba9ec269f129ce0af18e8a42b90b17ad
7d56ddd456613b77872598360494edd411366a79
/lwotai/cards/us/card4.py
f1077f29724e1a10f30f2515335a7a3de6633fc1
[]
no_license
andrewswan/lwotai
3bf6629eaed86c945fdd65f221320bd743dc18ac
33c6435ce3f0f85668cc5414cf78c1e9c614f6a9
refs/heads/release
2021-01-19T10:38:55.939281
2017-09-17T03:38:33
2017-09-17T03:38:33
87,885,218
1
0
null
2017-04-11T03:41:12
2017-04-11T03:41:12
null
UTF-8
Python
false
false
410
py
from lwotai.cards.us.us_card import USCard class Card4(USCard): def __init__(self): super(Card4, self).__init__(4, "Moro Talks", 1, True, True, False) def play_as_us(self, app): app.markers.append("Moro Talks") app.remove_marker("Abu Sayyaf") app.output_to_history("Moro Talks...
[ "andrew.i.swan@gmail.com" ]
andrew.i.swan@gmail.com
73267648249b23fe02f60378150a6d4a4714ce82
5413192e0dbc6c582239846e20a90994594c055e
/services/__init__.py
c7cff4b194e352dcad59c27a85407929dfdeac69
[ "MIT" ]
permissive
kecorbin/isemon
a8d431d2d75fa8bbda1464685a15a10386e46d2a
af4ac5ab70c61733ef20b793d390ca8bfa0c800d
refs/heads/master
2022-12-21T10:50:33.611810
2017-11-26T03:35:37
2017-11-26T03:35:37
111,226,067
3
1
MIT
2022-12-07T23:48:37
2017-11-18T17:44:42
HTML
UTF-8
Python
false
false
29
py
from ise import get_from_ise
[ "kecorbin@cisco.com" ]
kecorbin@cisco.com
4062caf884460db856224e1d811bc5d7b9e1cdb2
0b5ab7349485da4ea40ca343bc50f4cab74c917c
/week06/c12_02.py
0cfd769f12665d2842c00798d8083b422a53640e
[]
no_license
workherd/Python006-006
9bf2782ccda037de9af98eb7daa87fd1edeb3caf
7aa176c3cf4effd015802b550edfb70f859e94d9
refs/heads/main
2023-04-29T14:37:43.545376
2021-05-16T04:13:08
2021-05-16T04:13:08
323,247,475
1
0
null
2020-12-21T06:13:42
2020-12-21T06:13:42
null
UTF-8
Python
false
false
419
py
#!/usr/bin/env python # -*- coding:utf-8 -*- # @Time : 2021/1/30 21:35 # @Author : john # @File : c12.py from abc import ABCMeta, abstractmethod class Bases(metaclass=ABCMeta): @abstractmethod def foo(self): pass @abstractmethod def bar(self): pass class Concrete(Bas...
[ "1330430077@qq.com" ]
1330430077@qq.com
464d185398afd5e15935229e48d4bfa334abafed
e23a4f57ce5474d468258e5e63b9e23fb6011188
/125_algorithms/_exercises/templates/_algorithms_challenges/exercism/python-exercises-master_with_unittest/alphametics/test.py
64f4e6b7fc35ce9fdf1f0ef8c1c1ddc13c59f72a
[]
no_license
syurskyi/Python_Topics
52851ecce000cb751a3b986408efe32f0b4c0835
be331826b490b73f0a176e6abed86ef68ff2dd2b
refs/heads/master
2023-06-08T19:29:16.214395
2023-05-29T17:09:11
2023-05-29T17:09:11
220,583,118
3
2
null
2023-02-16T03:08:10
2019-11-09T02:58:47
Python
UTF-8
Python
false
false
1,732
py
_______ unittest ____ alphametics _______ solve # test cases adapted from `x-common//canonical-data.json` @ version: 1.0.0 c_ TestAlphametics(unittest.TestCase ___ test_puzzle_with_three_letters assertEqual(solve("I + BB == ILL"), {"I": 1, "B": 9, "L": 0}) ___ solution_must_have_unique_value_for_ea...
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
6f996b08b8871298c81e9d5af83d366c6110a2b8
8fcc27160f8700be46296568260fa0017a0b3004
/client/eve/client/script/ui/shared/planet/pinContainers/CommandCenterContainer.py
71a93af5e8db01ce7e66815905222ff4f09efe3e
[]
no_license
connoryang/dec-eve-serenity
5d867f4eedfa896a4ef60f92556356cafd632c96
b670aec7c8b4514fc47cd52e186d7ccf3aabb69e
refs/heads/master
2021-01-22T06:33:16.303760
2016-03-16T15:15:32
2016-03-16T15:15:32
56,389,750
1
0
null
2016-04-16T15:05:24
2016-04-16T15:05:24
null
UTF-8
Python
false
false
17,590
py
#Embedded file name: e:\jenkins\workspace\client_SERENITY\branches\release\SERENITY\eve\client\script\ui\shared\planet\pinContainers\CommandCenterContainer.py from carbonui.primitives.container import Container from eve.client.script.ui.control.eveLabel import Label, EveLabelSmall import evetypes import uiprimitive...
[ "masaho.shiro@gmail.com" ]
masaho.shiro@gmail.com
a58843e975021392e84eee977fa0295baf5c84ad
26aa5596094db02ce142c281f340d989cf102acd
/art/estimators/object_tracking/__init__.py
b84b05efba777268c892377f06c837e9ce421d2a
[ "MIT" ]
permissive
davidslater/adversarial-robustness-toolbox
a933215c1f0984402229f3bba0daf579f7746747
e7c763b650fa016ff9915da750d90ba0e876b1ef
refs/heads/master
2022-11-30T13:36:47.626740
2022-11-22T17:14:52
2022-11-22T17:14:52
237,506,398
1
0
MIT
2020-01-31T20:00:13
2020-01-31T20:00:12
null
UTF-8
Python
false
false
208
py
""" Module containing estimators for object tracking. """ from art.estimators.object_tracking.object_tracker import ObjectTrackerMixin from art.estimators.object_tracking.pytorch_goturn import PyTorchGoturn
[ "beat.buesser@ie.ibm.com" ]
beat.buesser@ie.ibm.com
535d963b7e72d3e3a50035b317afd5357b2f1d29
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_dictum.py
d4afc20689297ff463329c7e4a22d671d7642b58
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
352
py
#calss header class _DICTUM(): def __init__(self,): self.name = "DICTUM" self.definitions = [u'a short statement, especially one expressing advice or a general truth: '] self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.specie = 'nouns' def run(self, obj1 = [], obj...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
b4fa0fa5fbd18dc4e3f669203b63324eac8db31b
0a2cc497665f2a14460577f129405f6e4f793791
/sdk/rdbms/azure-mgmt-rdbms/azure/mgmt/rdbms/mariadb/_configuration.py
525b1bfaf7d1c448af6f1b39b3b3775d941f0ee6
[ "MIT", "LGPL-2.1-or-later", "LicenseRef-scancode-generic-cla" ]
permissive
hivyas/azure-sdk-for-python
112158aa9e1dd6e30cf6b3dde19f5db6ea2a577b
8b3258fa45f5dc25236c22ad950e48aa4e1c181c
refs/heads/master
2023-06-17T12:01:26.392186
2021-05-18T19:56:01
2021-05-18T19:56:01
313,761,277
1
1
MIT
2020-12-02T17:48:22
2020-11-17T22:42:00
Python
UTF-8
Python
false
false
3,217
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
hivyas.noreply@github.com
a35e91050caeaf03765af15fd3288d9f941f07d5
3d46409d076e3a9c2bd0a3004f3a8ab8286bd364
/tools/filp_image.py
f1ffcd507dd8cbc9016dbadf82093ad8831a1159
[]
no_license
xiaodongdreams/UWEnhancement
de8b325bc2ed5b585213fbd3286eb1f8d134871f
efdb24281621ecb3ebe714e07bfefaa6e10ec494
refs/heads/master
2023-08-22T06:39:43.787027
2021-11-01T02:49:16
2021-11-01T02:49:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,978
py
from PIL import Image import os import os.path rootdir = '/home/dong/python-project/Dehaze/DATA/Test/val/a/26.png' image = Image.open(rootdir) image_flip_lr = image.transpose(Image.FLIP_LEFT_RIGHT) image_rotate_270 = image.transpose(Image.ROTATE_270) image_rotate_180 = image.transpose(Image.ROTATE_180) image_rotate_...
[ "yudongwang@tju.edu.cn" ]
yudongwang@tju.edu.cn
a0809a270dc839674f2660255a9ae6e2d9df5ade
3c000380cbb7e8deb6abf9c6f3e29e8e89784830
/venv/Lib/site-packages/cobra/modelimpl/cloud/lbstatsaghist1mo.py
b694e46da5e79687b8d8252d3b487f722c55372e
[]
no_license
bkhoward/aciDOM
91b0406f00da7aac413a81c8db2129b4bfc5497b
f2674456ecb19cf7299ef0c5a0887560b8b315d0
refs/heads/master
2023-03-27T23:37:02.836904
2021-03-26T22:07:54
2021-03-26T22:07:54
351,855,399
0
0
null
null
null
null
UTF-8
Python
false
false
34,913
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2020 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "bkhoward@live.com" ]
bkhoward@live.com
5c04d2042d4d74e2119e474395321fd18c0c88d3
180a43f0b2a25fc32a2c8da5e933f71018b77559
/apps/main/models.py
b66982825da2b991de8bbaa47379ef5974437b7a
[]
no_license
amkolotov/images
8d12e7255f2e76fd1d96cb6b39e23b7172d4cef6
6f694a45e549f521d3ce2d5bec163b0896d20e12
refs/heads/master
2023-08-17T01:08:42.775734
2021-09-27T02:16:52
2021-09-27T02:16:52
410,167,163
0
0
null
null
null
null
UTF-8
Python
false
false
578
py
import os import uuid from django.conf import settings from django.db import models from django.utils import timezone from versatileimagefield.fields import VersatileImageField, PPOIField class Image(models.Model): image = VersatileImageField('Изображение', upload_to='images/', ppoi_field='image_ppoi') imag...
[ "amkolotov@mail.ru" ]
amkolotov@mail.ru
82b6341e203688054f500d300a211540ecf48fe3
0c5f7aaee0fc6f494e412469d0212c11656c8e27
/function15.py
927e566ac50dc7ee68f9fa80046495432fd53e11
[]
no_license
PreritBhandari/python-programs
54921c9ef14ae6880ac5e6929d7b5dbc644c6793
059d507f0834e4d095ebc356d8f6251a829a5ba1
refs/heads/master
2022-11-12T23:32:11.823615
2020-06-28T13:10:51
2020-06-28T13:10:51
275,586,905
1
0
null
null
null
null
UTF-8
Python
false
false
252
py
""" Write a Python program to filter a list of integers using Lambda """ def filter_list(input_list): filter_even = filter(lambda x:x%2==0,input_list) return list(filter_even) if __name__ == "__main__": print(filter_list([1,2,3,4,5,6,7,8]))
[ "patrioticprerit@gmail.com" ]
patrioticprerit@gmail.com
8c8831e1d716cb7e2fcc15aa925671c1f75b71d1
d0467da06118bf3252dfd70ef3bec61b19eea907
/appomatic_redhogorg_import/management/commands/pyimport.py
c81c336525e6b63c6290c6af41f366bef4919255
[]
no_license
redhog/redhogorg
b775dbc3418e51ba8973aa54d3307f743a4bf0ce
7a811c9b28075b4974ce694b8c7816460dea79df
refs/heads/master
2021-01-23T02:59:59.999709
2014-04-25T09:54:49
2014-04-25T09:54:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,708
py
import django.db import django.core.management.base import appomatic_redhogorg_data.models import optparse import contextlib import datetime import os.path import datetime from django.conf import settings import django.core.files.storage import django.db.models.fields.files import appomatic_redhogorg_import.baseimport ...
[ "egil.moller@freecode.no" ]
egil.moller@freecode.no
9712fedfc0db4363c4bb1c5bcbda9c2b9ccb658f
2d62b9b7d139b80417ac35e963188b3b672df987
/include/ClientParsing.py
99c36f10d03228102e7ddf0f3b7281cd89593b3e
[ "WTFPL" ]
permissive
cravxx/hydrus
b75a3af6cfca005bea2af4419cac2887b40e53b6
6945ad7055518487bc0375ce962e1223dae3f543
refs/heads/master
2020-04-11T17:19:04.093405
2019-08-24T01:02:41
2019-08-24T01:02:41
161,956,238
0
0
WTFPL
2019-08-24T01:02:43
2018-12-16T00:55:03
Python
UTF-8
Python
false
false
109,624
py
import base64 import bs4 import calendar import codecs from . import ClientNetworkingDomain from . import ClientNetworkingJobs import collections from . import HydrusConstants as HC from . import HydrusData from . import HydrusExceptions from . import HydrusGlobals as HG from . import HydrusSerialisable from . import H...
[ "hydrus.admin@gmail.com" ]
hydrus.admin@gmail.com
8397f6025681afbbc13b34aa257bae272a77a03d
aa1bc249c902ddde3366a43c20208edaed51f68b
/parameters.py
da3a502d7054e9bbaa5487a3a133421a5e1afdf6
[]
no_license
mihirpurwar/Fighter-Plane---Reinforcement-Learning
2c356484dc385045d72c07d993ba58cf4c29d8dd
7ce8c49511791f575b20022612ac0103f1443bed
refs/heads/master
2020-04-11T07:31:11.502532
2018-12-13T09:14:43
2018-12-13T09:14:43
161,613,128
0
0
null
null
null
null
UTF-8
Python
false
false
466
py
class Parameters: iterationCount = 1000 enemyCount = 1 fighterCount = 20 obstacleNumber = 20 normalizeFactor = 200 # boundaries initialBoundaryX = 200 initialBoundaryY = 200 # visibleBoundaryX = 200 visibleBoundaryY = 200 # totalBoundaryX = 200 total...
[ "noreply@github.com" ]
mihirpurwar.noreply@github.com
b053f519ecfc843dcc42c0acc24af224145d8567
b1182238bf0d26451d567e3100cea940be771ff1
/hd-thrift-idl/hd-thrift-idl-social/src/main/python/SocialAdminService/ISocialAdminServiceDeletePostInformFromPostId.py
67cc09d3f968fa6e29526800b47b2554b119b5db
[]
no_license
ybg555/vue-tvBox
af6df0e07848efc1c2ac80ee8b7c16c65b790a40
57e3849e7f8272794e5a38d5e49bb68f7a44f286
refs/heads/master
2021-01-15T15:42:23.728423
2016-10-02T09:36:08
2016-10-02T09:36:08
55,936,790
1
0
null
2016-04-12T01:07:09
2016-04-11T02:52:05
Python
UTF-8
Python
false
true
7,026
py
#coding=utf-8 # # Autogenerated by Thrift Compiler (0.9.2) # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # # options string: py # from thrift.Thrift import TType, TMessageType, TException, TApplicationException from ttypes import * from thrift.Thrift import TProcessor from thrift.transport imp...
[ "93745726@qq.com" ]
93745726@qq.com
f7fb68c8c273be90a9d36a2b295c17a1fe289ad0
5a1e1756025bacae88b619d388ebf61b330001ab
/1.Class/Class_Program_Excercises/Class16_Excercise_file/dic1.py
5dd6d91dd224cd29f8055566a9d1e3b9cfb1a3e2
[]
no_license
reshmaladi/Python
d1953497703aa15e163cd8ac27be23e3e5c3e947
8e9092af63476fef35d221e20acf418983957e53
refs/heads/master
2021-10-15T00:55:08.136039
2021-10-01T14:32:16
2021-10-01T14:32:16
165,836,823
0
0
null
null
null
null
UTF-8
Python
false
false
1,118
py
#!C:\Python34 def main(): fd = open("C:\\1.Class\\Class_Program_Excercises\\Class16_Excercise\\audio.conf") if fd != None: line = fd.readline() conf ={} conf1= {} key1=""; while line != "": line = fd.readline() if (line.startswith("#") or line.startswith("\n")): continue print (line) ...
[ "reshma.ladi@gmail.com" ]
reshma.ladi@gmail.com
cffc54829c25dbc6130f0651605f17cc4c624916
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02420/s861200212.py
e90a37b46cd90a1c6c27615b5a68075bbd6cec3e
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
178
py
while True: ls = raw_input() if ls == '-': break m = int(raw_input()) for i in range(m): h = int(raw_input()) ls = ls[h:] + ls[:h] print ls
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
3d33d6c4e0475c5ede2a9176c2da5c3ad86f6deb
4010c0ad6eaf542f53af4a8ee69bd645f9bb9c18
/samples/helloworld/pages/urls.py
459bb96c706a43316953668cf95bb94abacefaa1
[]
no_license
ksnt/Django_sandbox
fbdc9e28e27607188132ae1316e42c70665b5d17
d8444ae1a4da1cb1e2c8baaf07091a88d14b3bdf
refs/heads/master
2020-05-16T07:07:41.763960
2019-04-25T16:50:44
2019-04-25T16:50:44
182,871,800
0
0
null
null
null
null
UTF-8
Python
false
false
172
py
# pages/urls.py #from django.contrib import admin from django.urls import path from .views import homePageView urlpatterns = [ path('', homePageView, name='home'), ]
[ "ksn0215@gmail.com" ]
ksn0215@gmail.com
1c6cb4f0cb47738a56215ba8f65ff1593339dabe
46e57ccd746256fa4e471e53d8c24ce285635f50
/1.Array/medium/81. Search in Rotated Sorted Array II.py
6fc946ac79d72f43f2f6c3730b00ba7ed73c597c
[]
no_license
sandwu/leetcode_problems
6aea1f1837f5a8cfebc8f9c4cd8863081dfabb87
b99ef39268c5713fae3dbbf0a5548ec1f5a7e434
refs/heads/master
2021-08-16T15:48:05.412320
2020-04-26T07:04:10
2020-04-26T07:04:10
168,446,663
1
0
null
null
null
null
UTF-8
Python
false
false
1,598
py
class Solution(object): """ 英文注释写的比较清楚了,要注意的是代码核心是围绕分割成左边为有序序列或者右边为有序序列这条来实现的,那要达到左边是有序 序列的前提则左边一开始不能有等于nums[mid]的数,所以嵌套了while来解决,而右边是不需要的,因为右边即使等同于nums[mid], 则也一直都是有序序列,如果套上while,反而使原本是O(logN)变成了O(N) Runtime: 20 ms, faster than 99.76% of Python online submissions for Search in Rotated Sorted Array...
[ "wuxinlingwxl@163.com" ]
wuxinlingwxl@163.com
5cb6af6fe78a5134825df20e66d5972cec9c39e6
796eb13f733a28409c2cb282076cc32663bb0b79
/app/views.py
9bab05dc7093d00a1ff2b3565340877f06098786
[]
no_license
Marckhz/remember
b878db6b6618f944ac0d2711a236a9007893bd60
3acd09b061bf8de42676760e545285731d52ef9f
refs/heads/master
2020-05-05T11:36:05.934242
2019-04-21T23:52:44
2019-04-21T23:52:44
179,996,007
0
0
null
null
null
null
UTF-8
Python
false
false
4,662
py
from flask import Blueprint from flask import render_template, request, flash, session, redirect,url_for from flask import request, jsonify from pymongo import ReturnDocument from . import mongo from . import mail import os from io import BytesIO import re import pprint from flask_login import login_required, lo...
[ "marcohdes94i@gmail.com" ]
marcohdes94i@gmail.com
4f721cff5c991d3ca50190c7eb96c0cc1f7d37a6
32eeb97dff5b1bf18cf5be2926b70bb322e5c1bd
/benchmark/goodweather/testcase/firstcases/testcase3_020.py
ee85ef3df5786aaf5ebc0773122e1ca1125a2638
[]
no_license
Prefest2018/Prefest
c374d0441d714fb90fca40226fe2875b41cf37fc
ac236987512889e822ea6686c5d2e5b66b295648
refs/heads/master
2021-12-09T19:36:24.554864
2021-12-06T12:46:14
2021-12-06T12:46:14
173,225,161
5
0
null
null
null
null
UTF-8
Python
false
false
4,784
py
#coding=utf-8 import os import subprocess import time import traceback from appium import webdriver from appium.webdriver.common.touch_action import TouchAction from selenium.common.exceptions import NoSuchElementException, WebDriverException desired_caps = { 'platformName' : 'Android', 'deviceName' : 'Android Emulat...
[ "prefest2018@gmail.com" ]
prefest2018@gmail.com
c808f78055b52e056ea911d33e65bf0c771d3bc7
d2c4934325f5ddd567963e7bd2bdc0673f92bc40
/tests/artificial/transf_Fisher/trend_MovingAverage/cycle_12/ar_/test_artificial_128_Fisher_MovingAverage_12__20.py
e6af3535ad54da73ed54a859097e48e4a44626eb
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
jmabry/pyaf
797acdd585842474ff4ae1d9db5606877252d9b8
afbc15a851a2445a7824bf255af612dc429265af
refs/heads/master
2020-03-20T02:14:12.597970
2018-12-17T22:08:11
2018-12-17T22:08:11
137,104,552
0
0
BSD-3-Clause
2018-12-17T22:08:12
2018-06-12T17:15:43
Python
UTF-8
Python
false
false
271
py
import pyaf.Bench.TS_datasets as tsds import pyaf.tests.artificial.process_artificial_dataset as art art.process_dataset(N = 128 , FREQ = 'D', seed = 0, trendtype = "MovingAverage", cycle_length = 12, transform = "Fisher", sigma = 0.0, exog_count = 20, ar_order = 0);
[ "antoine.carme@laposte.net" ]
antoine.carme@laposte.net
d0e261923e7772476c48d3aa7bf132d1dbccdfa0
2d5648035b8bd32b4a6ded311e48975e5ea100d4
/runs/snort/100KB/src2-tgt1/mysql-par-mysql-iter00200.cfg.py
992c615140b00bc9335886e09c5c7a05fb091dc5
[ "MIT" ]
permissive
Largio/broeval
3975e54a1eaead6686c53e5e99250a00becbe1e0
89e831d07f066100afdd1a5b220f9f08f1c10b3d
refs/heads/master
2021-05-08T08:54:06.498264
2017-11-10T17:09:02
2017-11-10T17:09:02
92,508,227
0
0
null
null
null
null
UTF-8
Python
false
false
675
py
# Write results to this file OUTFILE = 'runs/snort/100KB/src2-tgt1/mysql-par-mysql-iter00200.result.csv' # Source computers for the request SOURCE = ['10.0.0.1', '10.0.0.3'] # Target machines for the requests (aka server) TARGET = ['10.0.0.2'] # IDS Mode. (ATM: noids, min, max, http, ssl, ftp, icmp, mysql) IDSMODE ...
[ "larswiete@googlemail.com" ]
larswiete@googlemail.com
be74c3b264e7d9d3f6e930e025998063d05a7f02
1537873b83d1f3245ff60d2f95c366b163691f55
/target_offer/数组/数组中未出现的最小值正整数.py
12885c7100d8e7d5dfb5d686faa293e6dcab8641
[]
no_license
20130353/Leetcode
dc5c7fb08932abbf11e22e91b3edecac7f8753d5
488345a4713fae553559176c5bd3681e3bcac57d
refs/heads/master
2020-03-31T08:46:12.005167
2020-03-15T16:32:11
2020-03-15T16:32:11
152,071,790
2
2
null
null
null
null
UTF-8
Python
false
false
450
py
def solution(arr, n): # arr.sort() # for i in range(1, n): # if arr[i] - arr[i - 1] != 1: # return arr[i - 1] + 2 if arr[i - 1] + 1 <= 0 else arr[i - 1] + 1 # return arr[n - 1] + 1 for i in range(1, max(arr) + 2): if i not in arr: return i if __name__ == '__mai...
[ "739400043@qq.com" ]
739400043@qq.com
56814ab83cb69282f90f483ce181e2b6b17cdd6c
5afc3043b9b43a0e72bc94a90ed832a9576bb580
/hacker_home/penetration_test/05利用FTP与Web批量抓肉机.py
a08ffb15a39d21396761d015d4e5316ce916b9f5
[]
no_license
JR1QQ4/python
629e7ddec7a261fb8a59b834160ceea80239a0f7
a162a5121fdeeffbfdad9912472f2a790bb1ff53
refs/heads/main
2023-08-25T00:40:25.975915
2021-11-07T14:10:20
2021-11-07T14:10:20
311,769,673
0
0
null
null
null
null
UTF-8
Python
false
false
466
py
#!/usr/bin/python # -*- coding:utf-8 -*- import ftplib def anon_login(hostname): try: ftp = ftplib.FTP(hostname) ftp.login('anonymous', 'me@your.com') print('\n[*] ' + str(hostname) + ' FTP Anonymous Logon Succeeded.') ftp.quit() return True except Exception as e: ...
[ "chenjunrenyx@163.com" ]
chenjunrenyx@163.com
688841f5a3db2a29aa49013fe75df6cda2d7834d
5655d2f07c4dc49470b553337d84ec70bc4b605d
/my_training/pins_n_solder/detect_debug.py
073fd41debfe844bce534780d8173afeb9ade1b4
[ "Apache-2.0" ]
permissive
Trevol/keras-retinanet
0cc481590271892020079ecb87f1de0b45cf2646
4a52f16d009a92e588b39f51f7aa15b5ddf643d3
refs/heads/master
2020-04-30T01:58:33.280093
2019-07-16T09:00:16
2019-07-16T09:00:16
176,545,173
0
0
Apache-2.0
2019-07-16T09:00:18
2019-03-19T15:37:31
Python
UTF-8
Python
false
false
3,238
py
import keras import tensorflow as tf from keras_retinanet import models from keras_retinanet.utils.image import read_image_bgr, preprocess_image, resize_image from keras_retinanet.utils.visualization import draw_box, draw_caption from keras_retinanet.utils.colors import label_color # import miscellaneous modules # im...
[ "iam.vladimir.tretyak@gmail.com" ]
iam.vladimir.tretyak@gmail.com
82614375d1b2f0f0f1555e048b947972d3e80fd6
451eed723f5673030cc7842648dc40cf69c1bbd8
/configs/ocrnet/ocrnetplusv2_hr48_bs2x_512x1024_40k_cityscapes.py
7d464bb50c3276674208a7a66ee44b9598734ed6
[ "Apache-2.0" ]
permissive
pengsb/mmsegmentation
ce7a4ffdc3b8ea3df800acef2bf6779239b1af0e
6783bd21892007a31a1311d5663b46ff191280fb
refs/heads/master
2022-11-21T23:02:56.201825
2020-07-28T06:58:18
2020-07-28T06:58:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,708
py
_base_ = [ '../_base_/models/ocrnet_hr18.py', '../_base_/datasets/cityscapes_bs2x.py', '../_base_/default_runtime.py', '../_base_/schedules/schedule_40k_lr2x.py' ] norm_cfg = dict(type='SyncBN', requires_grad=True) model = dict( pretrained='open-mmlab://msra/hrnetv2_w48', backbone=dict( ...
[ "yhyuan@pku.edu.cn" ]
yhyuan@pku.edu.cn
bf17c77d2f4ea6c770548a35e6a8c2743ec69241
82b728e805d887102c0b8c415731b353877690cd
/samples/generated_samples/aiplatform_generated_aiplatform_v1beta1_index_service_get_index_sync.py
190e3c4a3810b0eae326bfddd1bed961f0ae1528
[ "Apache-2.0" ]
permissive
geraint0923/python-aiplatform
90c7742c9bdbde05b9688b117e8e59c0406d6f85
7ab05d5e127636d96365b7ea408974ccd6c2f0fe
refs/heads/main
2023-08-24T05:30:38.519239
2021-10-27T20:38:25
2021-10-27T20:38:25
370,803,114
0
0
Apache-2.0
2021-05-25T19:15:47
2021-05-25T19:15:46
null
UTF-8
Python
false
false
1,546
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
[ "noreply@github.com" ]
geraint0923.noreply@github.com
2bab9e84311f9a241edc54eab5c6a0d58cf03a29
b08d42933ac06045905d7c005ca9c114ed3aecc0
/src/coefSubset/evaluate/ranks/fiftyPercent/rank_2q0o_A.py
8c2d29b903639cbf29b604c5f8d5b18bf4aef10c
[]
no_license
TanemuraKiyoto/PPI-native-detection-via-LR
d148d53f5eb60a4dda5318b371a3048e3f662725
897e7188b0da94e87126a4acc0c9a6ff44a64574
refs/heads/master
2022-12-05T11:59:01.014309
2020-08-10T00:41:17
2020-08-10T00:41:17
225,272,083
1
0
null
null
null
null
UTF-8
Python
false
false
3,390
py
# 9 July 2019 # Kiyoto Aramis Tanemura # Several metrics are used to assess the performance of the trained RF model, notably native ranking. This script returns a ranking of the native protein-protein complex among a decoy set. For convenience, I will define as a function and will call in a general performance assess...
[ "tanemur1@msu.edu" ]
tanemur1@msu.edu
49b7156320b7c7845c06254037a67f88daf41f54
e749e94163a0e20c551875583baef4e02e72de5e
/Github/UT-4/seq2seq-buggy/seq2seq/decoders/attention_decoder.py
d047d1acead578b27c25d6cd91bebad2ae43c0ac
[]
no_license
tritims/TensorFlow-Program-Bugs
3445200179f4b7f5cc4ac1c6f076468ec19e51bb
158ba0a23e0cb74e73dbab08571b05fc36848f2a
refs/heads/master
2022-07-08T16:33:38.511696
2020-05-20T14:20:47
2020-05-20T14:20:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,165
py
""" A basic sequence decoder that performs a softmax based on the RNN state. """ from __future__ import absolute_import from __future__ import division from __future__ import print_function from collections import namedtuple import tensorflow as tf from seq2seq.decoders import DecoderBase, DecoderStepOutput class A...
[ "zyhzyhzyh@pku.edu.cn" ]
zyhzyhzyh@pku.edu.cn
40c9a9e9a41c0ac25e2e60518d8ed49a5d93f12d
2af6a5c2d33e2046a1d25ae9dd66d349d3833940
/res/scripts/client/messenger/proto/bw/entities.py
9e914841fb1e140596aac002c37d17d6ac696010
[]
no_license
webiumsk/WOT-0.9.12-CT
e6c8b5bb106fad71b5c3056ada59fb1aebc5f2b2
2506e34bd6634ad500b6501f4ed4f04af3f43fa0
refs/heads/master
2021-01-10T01:38:38.080814
2015-11-11T00:08:04
2015-11-11T00:08:04
45,803,240
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
5,832
py
# 2015.11.10 21:30:30 Střední Evropa (běžný čas) # Embedded file name: scripts/client/messenger/proto/bw/entities.py import cgi import types import chat_shared from constants import PREBATTLE_TYPE from debug_utils import LOG_ERROR from gui.shared.utils import getPlayerDatabaseID from messenger.ext import passCensor fro...
[ "info@webium.sk" ]
info@webium.sk
b1312cc577d4c24d2062ee6af3b8c21c6280e3b1
9cd180fc7594eb018c41f0bf0b54548741fd33ba
/sdk/python/pulumi_azure_nextgen/apimanagement/v20170301/logger.py
baf80a6828be7af6a27db7c3db9c26e6c53f8be6
[ "Apache-2.0", "BSD-3-Clause" ]
permissive
MisinformedDNA/pulumi-azure-nextgen
c71971359450d03f13a53645171f621e200fe82d
f0022686b655c2b0744a9f47915aadaa183eed3b
refs/heads/master
2022-12-17T22:27:37.916546
2020-09-28T16:03:59
2020-09-28T16:03:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,670
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from ... import _utilities, _tables from...
[ "public@paulstack.co.uk" ]
public@paulstack.co.uk
31efdaaf085e89b12b04c745952e8420c2b9ba26
78d35bb7876a3460d4398e1cb3554b06e36c720a
/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_local_network_gateways_operations.py
452d8b9965debcd93a7e1504c28e061278eabe32
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
catchsrinivas/azure-sdk-for-python
e35f59b60318a31b3c940a7a3a07b61b28118aa5
596227a7738a5342274486e30489239d539b11d1
refs/heads/main
2023-08-27T09:08:07.986249
2021-11-11T11:13:35
2021-11-11T11:13:35
427,045,896
0
0
MIT
2021-11-11T15:14:31
2021-11-11T15:14:31
null
UTF-8
Python
false
false
24,427
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
catchsrinivas.noreply@github.com
569e7b990a71febf04e5a9fba0a8f511b22e4739
29f6b4804f06b8aabccd56fd122b54e4d556c59a
/CodeAnalysis/SourceMeter_Interface/SourceMeter-8.2.0-x64-linux/Python/Demo/ceilometer/ceilometer/notification.py
e63b1786760282c9cc264c63cf38049f43fc2cec
[ "Apache-2.0" ]
permissive
obahy/Susereum
6ef6ae331c7c8f91d64177db97e0c344f62783fa
56e20c1777e0c938ac42bd8056f84af9e0b76e46
refs/heads/master
2020-03-27T11:52:28.424277
2018-12-12T02:53:47
2018-12-12T02:53:47
146,511,286
3
2
Apache-2.0
2018-12-05T01:34:17
2018-08-28T21:57:59
HTML
UTF-8
Python
false
false
4,313
py
# # Copyright 2012-2013 eNovance <licensing@enovance.com> # # Author: Julien Danjou <julien@danjou.info> # # 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.or...
[ "abelgomezr45@gmail.com" ]
abelgomezr45@gmail.com
631e26fca3932c6383cdff6bba7c7d93f8cc22c4
fe19d2fac4580d463132e61509bd6e3cc2cf958d
/toontown/minigame/DistributedMinigameTemplateAI.py
20571b2517d4bac480cc48cc0fecd52030fb19f5
[]
no_license
t00nt0wn1dk/c0d3
3e6db6dd42c3aa36ad77709cf9016176a3f3a44f
7de105d7f3de0f8704b020e32fd063ee2fad8d0d
refs/heads/master
2021-01-01T16:00:15.367822
2015-03-21T21:25:52
2015-03-21T21:25:55
32,647,654
3
5
null
null
null
null
UTF-8
Python
false
false
2,461
py
# 2013.08.22 22:21:29 Pacific Daylight Time # Embedded file name: toontown.minigame.DistributedMinigameTemplateAI from DistributedMinigameAI import * from direct.fsm import ClassicFSM, State from direct.fsm import State class DistributedMinigameTemplateAI(DistributedMinigameAI): __module__ = __name__ def __in...
[ "anonymoustoontown@gmail.com" ]
anonymoustoontown@gmail.com
a7d76c6044048cf5775dc5b92e90536fa3acfbac
51e77e985d9b6c6bb0972ccee14b867e289aae61
/fundamentalsOfComputing/interactiveProgramming/notes_variables.py
8a4ad37a20339c195224cb9d4924d7df045913a2
[]
no_license
ErhardMenker/MOOC_Stuff
7c397059f62ba39f21a877c7fcf71a97751dda4b
7cdd581e9f9dcdd0b0c27dbbb9216bc76df8fff5
refs/heads/master
2021-01-17T10:38:06.805197
2017-03-29T23:50:18
2017-03-29T23:50:18
84,018,124
0
0
null
null
null
null
UTF-8
Python
false
false
1,070
py
# variables - placeholders for important values # used to avoid recomputing values and to # give values names that help reader understand code # valid variable names - consists of letters, numbers, underscore (_) # starts with letter or underscore # case sensitive (capitalization matters) # legal names - ninja, Ninj...
[ "ejmenker@gmail.com" ]
ejmenker@gmail.com
74ba7087755761c2c2faa46fe5f5cc70a454dff4
be0f3dfbaa2fa3d8bbe59229aef3212d032e7dd1
/DaVinci_v39r1/tuplemaking/partreco/joboptionstest.py
02d88a6b39a8b67f6a212f35f81aa52c36d53c46
[]
no_license
Sally27/backup_cmtuser_full
34782102ed23c6335c48650a6eaa901137355d00
8924bebb935b96d438ce85b384cfc132d9af90f6
refs/heads/master
2020-05-21T09:27:04.370765
2018-12-12T14:41:07
2018-12-12T14:41:07
185,989,173
0
0
null
null
null
null
UTF-8
Python
false
false
2,510
py
myJobName = 'B23pimuwithallvariables' myApplication = DaVinci(version="v39r1") #myApplication = DaVinci(version="v36r7p4") ### Define job-options file myApplication.optsfile = ['/home/hep/ss4314/cmtuser/DaVinci_v39r1/tuplemaking/partreco/B23pimutest.py'] #myApplication.optsfile = ['/home/hep/th1011/Documents/B2KmumuAn...
[ "slavomirastefkova@b2pcx39016.desy.de" ]
slavomirastefkova@b2pcx39016.desy.de
d967d1d52463718ab465fd77eae1a23efe5243ee
b2cefb7a2a83aa93ee1b15a780b5ddf6c498215b
/tests/nemo_text_processing/en/test_word.py
2a1ddcff5049393f0b920faf881f400ddf895f41
[ "Apache-2.0" ]
permissive
VahidooX/NeMo
bfde8c9b48c818342a9c6290fb9dee62fafeca38
866cc3f66fab3a796a6b74ef7a9e362c2282a976
refs/heads/main
2023-07-23T19:13:39.948228
2022-04-29T21:51:54
2022-04-29T21:51:54
227,733,473
1
2
Apache-2.0
2022-09-15T15:30:13
2019-12-13T01:55:21
Jupyter Notebook
UTF-8
Python
false
false
2,765
py
# Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
[ "noreply@github.com" ]
VahidooX.noreply@github.com
66f1910ea8f823b13e0a8a25f7aadc6e1d6d9dce
d04d73bed28c366712103663d3e3be13622611b9
/pactools/dar_model/__init__.py
1ababe31615a2b39832606e03b7005a8f1b59811
[]
no_license
EtienneCmb/pactools
fcb13cde6f57a5c6abf4b033c24aec72c1201ca7
6e5a53deefc4dcede6a4a0293958e39a660dba97
refs/heads/master
2021-01-21T23:20:18.491959
2017-06-08T12:49:55
2017-06-08T12:49:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
240
py
from .stable_dar import StableDAR from .dar import DAR, AR from .har import HAR from .preprocess import extract_driver __all__ = ['DAR', 'HAR', 'AR', 'StableDAR', 'extract_driver', ]
[ "tom.dupre-la-tour@m4x.org" ]
tom.dupre-la-tour@m4x.org
119bdb078c6b59f63bb757012b3fe08d773735c4
205be8d429df36e27cdfc048bfca9212c5a62a87
/doctor/migrations/0032_auto_20190805_0300.py
01872b58a1a37153e985842e9ca8f7e3b9e8f5ee
[]
no_license
KennyChrisUmurundi/HOsto
16c8f926282fc48c981532447f1685fbbc2b457c
33fa31524a08934f3deb8f622a1b1554d8ef1af4
refs/heads/master
2022-04-01T02:42:39.146227
2020-01-07T11:44:08
2020-01-07T11:44:08
193,458,881
0
0
null
null
null
null
UTF-8
Python
false
false
469
py
# Generated by Django 2.2.1 on 2019-08-05 03:00 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('doctor', '0031_auto_20190805_0259'), ] operations = [ migrations.AlterField( model_name='prices...
[ "ndayikennysmuusic@gmail.com" ]
ndayikennysmuusic@gmail.com
1b59d54f80daf8a03632ab77d515d2665e247238
320357ec59d1a50a7ebb9219281eb2c7e73a9a89
/ptina/localarray.py
6b8743d19aedb7772921482c5859e30f0e62241b
[]
no_license
archibate/ptina
e61143d9a54f0dc98446aa581daa83086cbf57c7
3f1112cdfc8f71f6d0c49f4eb2ba7789b432c774
refs/heads/master
2023-06-27T17:46:52.896353
2021-08-03T06:20:32
2021-08-03T06:20:32
340,851,384
8
0
null
null
null
null
UTF-8
Python
false
false
1,565
py
''' thread-local array with the power of ti.asm (only works in OpenGL and CC backend) ''' from ptina.common import * @ti.data_oriented class LocalArray: is_taichi_class = True uniqid = 0 def __init__(self, dtype, size): assert ti.inside_kernel() self.uniqid += 1 self.name = f'tmp...
[ "1931127624@qq.com" ]
1931127624@qq.com
d727e274d99b4b868f8f2fb5250524c092b704c8
661ee30b27b2893930d4a8db1db0c08538653dc5
/actionkit_usersearch/views.py
71c2d0a27d91e69145790010572914b833a66352
[ "BSD-3-Clause" ]
permissive
350dotorg/aktivator
fc67aed167fb204ff327448a86c37d69ef566964
bb37cc50212a1797315c99037495a83bc9ff2b01
refs/heads/master
2016-09-09T21:51:23.371940
2014-07-11T13:33:19
2014-07-11T13:33:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,531
py
from actionkit import rest from actionkit.models import * from actionkit.rest import * import dateutil.parser from django.conf import settings from django.http import HttpResponse from django.http import QueryDict from django.shortcuts import redirect from djangohelpers import rendered_with, allow_http import json impo...
[ "ethan.jucovy@gmail.com" ]
ethan.jucovy@gmail.com
914991f5e4754e170dfebeef6ab286ad7f7b7a09
4a8f223ad4b5cb84616bf7897238abd90ad2ed40
/A/licl.py
4b23987c043da64925beb0ddf8c43cc7864f7647
[]
no_license
smc-het-challenge/6184572
51a36484abb5a701607bb708bd9bb07ae2313fcb
67d4c441203639bc94884d1e5b45a5a0629adc2c
refs/heads/main
2023-05-05T21:36:57.155080
2021-05-06T23:56:17
2021-05-06T23:56:17
365,068,372
0
0
null
null
null
null
UTF-8
Python
false
false
210
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import re import sys from licl import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "kellrott@gmail.com" ]
kellrott@gmail.com
aa42e123485070f1cfc246a658cbcf528ba3b9ae
afc2d8c0f76020917a40bf0ab5d7e05b707f7b03
/flaskapp.py
571f01f7b05cbcc2755048c6f151880c20fdbfa2
[]
no_license
abdin-logs/flask-blog-site
efbed7b7f2e1a5be715bd8255e7547133705c389
067610eea1f152b5bf378843adf60cf7df355551
refs/heads/master
2022-12-22T06:13:36.336874
2020-09-23T13:19:08
2020-09-23T13:19:08
297,974,349
0
0
null
null
null
null
UTF-8
Python
false
false
95
py
from app_package import app,manager if __name__ == "__main__": app.run(debug=True)
[ "you@example.com" ]
you@example.com
76c562778aa0edf8658d544f6994e77ff1a64db4
715edc86ce50485133e2a65fd9eb68c7fea1f25e
/lessons/csv/gen.py
354e36b157b348fc71f2d4c1bff01e8ff6db82de
[ "MIT" ]
permissive
FlorianLudwig/learn-python
72eb6376f97b5a8c5491c7926fdf9173aa86dce1
d496709c3f7dfe61c25587456e0a6079cd19c2c0
refs/heads/master
2021-05-07T13:40:25.964889
2019-01-29T09:11:19
2019-01-29T09:11:19
109,603,747
1
1
MIT
2017-12-19T12:04:46
2017-11-05T18:13:23
Python
UTF-8
Python
false
false
1,190
py
import csv import random FIRST_NAMES = [ 'Jess', 'Rudy', 'Vergie', 'Shemika', 'Myong', 'Willis', 'Kurt', 'Guillermo', 'Melvina', 'Gavin', 'Elizebeth', 'Kandace', 'Holley', 'Voncile', 'Catina', 'Gaylene', 'Lashonda', 'Betsy', 'Conrad', 'Senaida', 'Benjamin', 'Domenica', 'Young', 'Ignacio', 'Nickie', 'Rosena', 'Maryann...
[ "f.ludwig@greyrook.com" ]
f.ludwig@greyrook.com
d944b286d6cfa3f7c46a5c098230506ddc783461
a14060d854f830b1c690039e8fb4b32418e7bc9f
/src/utils/eval/decoding/base.py
4e7abd13bbeacc45b907580c98da714bc8328b37
[ "MIT" ]
permissive
nimabte/StudyMaskedLMForQG
c8be171a0261cb24a5d6e16020d752fd0ddd3241
2c033994a7ed142b244619625b817552c6175bd0
refs/heads/main
2023-01-15T20:04:20.809317
2020-11-25T11:40:14
2020-11-25T11:42:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,048
py
import torch from torch import Tensor from typing import Dict from copy import copy from utils.logging import logging class BaseTokenDecoder: """ The base class for text generation decoding procedure """ def __init__(self, model=None, tokenizer=None, max_decode_len=50, ...
[ "chris4540@gmail.com" ]
chris4540@gmail.com
026f5f6de2b8eb51fff99c9d4ff5a0250c5ed5cc
9f02973cd0b8e7886085b7cff75b0f515ddf1a37
/SVM/src/kernels.py
0352532c3dba11684ea83bdea0708c5b8261e8cb
[]
no_license
damo894127201/MachineLearning
9c578628936ded8e4c26c232d6adabc58e09bf54
ca0d43c9ba8ff7d1353606ba893291e3bf10f9e7
refs/heads/master
2020-07-23T12:23:48.141435
2019-11-20T02:06:48
2019-11-20T02:06:48
207,554,934
4
1
null
null
null
null
UTF-8
Python
false
false
4,713
py
# -*- coding: utf-8 -*- # @Time : 2019/9/22 21:31 # @Author : Weiyang # @File : kernels.py #=================================================================================================================== # 核函数(Kernel Function) # 1. 概念:设X是输入空间,H为特征空间,如果存在一个从 X 到 H 的映射: # φ(x) : X ...
[ "894127201@qq.com" ]
894127201@qq.com
28ba1e05cf82fcb7807321a10126d5477f9f9265
d9ea94a6fc32e1a9010c64bd48b0d92ad5882221
/Siamese.py
b82cb288f9e9b3208499023450fb287e44faa80d
[]
no_license
migushu/Knife-RUL-Prediction
28f43576e2192525e16e6f6c07c374c79936e190
e757a86cf01c4c2645ba8f8555c2a724f5423b45
refs/heads/master
2020-08-26T12:38:06.041526
2018-12-10T01:48:16
2018-12-10T01:48:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,503
py
from keras.layers import Input, Conv2D, Lambda, merge, Dense, Flatten,MaxPooling2D from keras.models import Model, Sequential from keras.regularizers import l2 from keras import backend as K from keras.optimizers import SGD,Adam from keras.losses import binary_crossentropy import numpy.random as rng import numpy as np ...
[ "foxerlee1@gmail.com" ]
foxerlee1@gmail.com
afebdbad434d0f4f8052d144cfe95db1f30d2506
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/contrib/cv/detection/GFocalV2/configs/sabl/sabl_faster_rcnn_r101_fpn_1x_coco.py
f952963aa63643ab7127386f316d6e5ba3884d79
[ "GPL-1.0-or-later", "Apache-2.0", "BSD-2-Clause", "MIT", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Ascend/ModelZoo-PyTorch
4c89414b9e2582cef9926d4670108a090c839d2d
92acc188d3a0f634de58463b6676e70df83ef808
refs/heads/master
2023-07-19T12:40:00.512853
2023-07-17T02:48:18
2023-07-17T02:48:18
483,502,469
23
6
Apache-2.0
2022-10-15T09:29:12
2022-04-20T04:11:18
Python
UTF-8
Python
false
false
1,884
py
# Copyright 2021 Huawei Technologies Co., Ltd # # Licensed under the BSD 3-Clause License (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://opensource.org/licenses/BSD-3-Clause # # Unless required by applicable law or agreed to in ...
[ "wangjiangben@huawei.com" ]
wangjiangben@huawei.com
bfce45c5301e7d3c4668bbeb0220e78a03566b4f
b24f33981e255aa9df82f44f8062d12af4b80fcc
/unittests/test_logquery.py
cfabae4a0cab3e259ead0d6c0e9d7173d7eabc4a
[ "Apache-2.0" ]
permissive
wangshicheng0213/nebula_query_web
697ab84294985a346acd5a748c1b4d3e5a7cbe5d
9c73d82f7e6bc322ea2edfd86ff62727c49d7abb
refs/heads/master
2022-02-21T15:26:19.221657
2019-03-14T04:03:41
2019-03-14T04:03:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,939
py
# -*- coding: utf-8 -*- import json import unittest import pytest import gevent from nebula_website.managers import logquery from nebula_website.managers.logquery import LogQueryDao from nebula_website.models import LQ_Process_Status, LQ_Success_Status, LQ_Fail_Status,LQ_Wait_Status from db_stat_web import app fr...
[ "zengjinping@threathunter.cn" ]
zengjinping@threathunter.cn
924b2c8595fc1dbb87ccf9be9af8efe57c99ef34
27b0c0c8bbd91581b260df3abe10e1109fd1a7ff
/mantle/xilinx/mantle6/MUX.py
80472c4d09a8bf9d001e9224c6fa2f399dc6b5e5
[ "MIT" ]
permissive
splhack/mantle
edb6b656c26fcceb516fc3b17a0ea3b846ff5538
42fe81df22f4556f891f77b9c9acfd7e8bbe648b
refs/heads/master
2021-07-13T03:14:16.307077
2019-01-08T16:54:08
2019-01-08T16:54:08
166,492,880
0
0
NOASSERTION
2019-01-19T01:20:22
2019-01-19T01:20:21
null
UTF-8
Python
false
false
4,643
py
from magma import * from magma.bitutils import lutinit from ..spartan6.CLB import * __all__ = ['Mux2', 'Mux4', 'Mux8', 'Mux16'] __all__ += ['DefineMux', 'Mux'] # """Construct a Mux with 2 1-bit inputs.""" class Mux2(Circuit): IO = ["I", In(Bits(2)), "S", In(Bit), "O", Out(Bit) ] @classmethod def defini...
[ "hanrahan@cs.stanford.edu" ]
hanrahan@cs.stanford.edu
6bcad700aa7201f04eb0340c5732f6f2fb1851eb
a11beef795d68812ac490b31844393cac2cb4b2f
/Glass Co Simple LP Model.py
470b2e1b6eb6954c518bbda65aaba926eb544657
[ "MIT" ]
permissive
rayjustinhuang/DataAnalysisandMachineLearning
aa95b9072868ca6bb6c3f90014b38eaff1ef16f6
469a6e96566b935dc71f6589d8f070fcc12e76ec
refs/heads/master
2021-07-13T09:06:04.738769
2021-04-02T04:18:51
2021-04-02T04:18:51
81,467,426
0
0
null
null
null
null
UTF-8
Python
false
false
688
py
# -*- coding: utf-8 -*- """ Created on Sat Mar 27 15:19:03 2021 @author: rjlo_ """ from pulp import * # Initialize Class model = LpProblem("Maximize_Glass_Co._Profits", LpMaximize) # Define Decision Variables wine = LpVariable('Wine', lowBound=0, upBound=None, cat='Integer') beer = LpVariable('Beer', lowBound=0, up...
[ "rayjustinhuang@gmail.com" ]
rayjustinhuang@gmail.com
4cf6aad1e877bbf5452b144123061953e2cf3f0c
ad7be9747546106783c3400b67a878eb1e968d0a
/pygrasp/Map.py
29a1220cdfef7ff5ad3aa73c24f715b330cc9b8e
[]
no_license
tnakaicode/pygrasp
251a27392c2fe93f940ff8a14ee37d9c84a977a9
a6f0ea839a456cc1c6799c739cfe53ca78541713
refs/heads/master
2020-07-17T05:45:38.313764
2019-12-20T05:34:17
2019-12-20T05:34:17
205,958,972
1
0
null
null
null
null
UTF-8
Python
false
false
6,362
py
from __future__ import division import os import numpy as np import matplotlib.pyplot as plt """ This is an abstract class that contains methods useful for maps. """ class Map(object): # Figure out if it's possible to get subclasses to read # their own shape and data_type class variables. def __init__(...
[ "tnakaicode@gmail.com" ]
tnakaicode@gmail.com
b780c48776acf0aa038d1ccb1208e93ae354bd48
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03243/s715928453.py
1e63848545556204fc9f074d320c585f918cf4b5
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
65
py
n = int(input()) if n%111==0: print(n) else: print(n+111-(n%111))
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com