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
14d7f7c19f940e56a97173a00a879ee87f1a14d5
555b9f764d9bca5232360979460bc35c2f5ad424
/google/ads/google_ads/v2/proto/services/ad_parameter_service_pb2.py
b6d2e35e6d16290d0d6e5acefcaf8d6aa4771afc
[ "Apache-2.0", "LicenseRef-scancode-generic-cla" ]
permissive
juanmacugat/google-ads-python
b50256163782bc0223bcd8b29f789d74f4cfad05
0fc8a7dbf31d9e8e2a4364df93bec5f6b7edd50a
refs/heads/master
2021-02-18T17:00:22.067673
2020-03-05T16:13:57
2020-03-05T16:13:57
245,215,877
1
0
Apache-2.0
2020-03-05T16:39:34
2020-03-05T16:39:33
null
UTF-8
Python
false
true
19,008
py
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/ads/googleads_v2/proto/services/ad_parameter_service.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf...
[ "noreply@github.com" ]
juanmacugat.noreply@github.com
48cc96d967e3c3242cbb6e49bf663103aaea450c
9ecf55bf2601e0d4f74e71f4903d2fd9e0871fd6
/my_seg_tf/v10_segcap_128_128/config/config_res_segcap_3L_v3.py
01c05a130a8d00c0547dfd1a8595652e1a11e9fd
[]
no_license
qq191513/mySeg
02bc9803cde43907fc5d96dc6a6a6371f2bef6fe
4337e6a0ca50b8ccbf6ed9b6254f2aec814b24db
refs/heads/master
2020-04-10T09:57:37.811133
2019-06-26T08:21:23
2019-06-26T08:21:23
160,951,962
1
0
null
null
null
null
UTF-8
Python
false
false
1,331
py
import os ########################## 训练集 ####################################### project_root ='/home/mo/work/seg_caps/my_seg_tf/v9_segcap_128_128' mask=True train_data_number = 57 num_classes = 1 batch_size = 2 input_shape =[batch_size,128,128,3] labels_shape =[batch_size,128,128,1] labels_shape_vec =[batch_size,1...
[ "1915138054@qq.com" ]
1915138054@qq.com
20bc4a91d23ce3b4bf4fbc72b4d4261d464e3cab
0d85720b3d3678b688d19d6bf4a102e6f92ea73b
/restsite/routertest/admin.py
6c2b3e8c4d63b1e273842d741033525d8b35fa9e
[]
no_license
zzy0371/restframeworksite
8d9d9c09500877fdf462c3f7224f66bf7942d67a
38bed811878bb20e9391d51e58977f56e9383d46
refs/heads/master
2022-12-11T02:10:57.114808
2019-08-23T03:53:05
2019-08-23T03:53:05
197,371,759
2
0
null
2022-12-08T06:03:58
2019-07-17T10:57:31
Python
UTF-8
Python
false
false
109
py
from django.contrib import admin from .models import * # Register your models here. admin.site.register(Zoo)
[ "496575233@qq.com" ]
496575233@qq.com
0ad48321b180ab40c03d0c360ae53bd96eb13d58
87cacb90676e5e7d1d8f0e643f1ad6ed9e35acbf
/need to clean/codes_dl_old/split_train_test_bu.py
99a5c178bbdbfdef7b08c55a8d37704e0befe3c4
[]
no_license
vuhoangminh/Kaggle-TalkingData-AdTracking-Fraud-Detection-Challenge
3b75d4a7c60574a4875c62e8843a01d945d792d3
56045f446f1a0c538d91ac65e536edc4b7b5a417
refs/heads/master
2020-03-13T12:56:42.309722
2018-05-08T10:50:35
2018-05-08T10:50:35
131,129,397
0
0
null
null
null
null
UTF-8
Python
false
false
5,884
py
""" Adding improvements inspired from: Ravi Teja's fe script: https://www.kaggle.com/rteja1113/lightgbm-with-count-features?scriptVersionId=2815638 """ import pandas as pd import time import numpy as np from sklearn.cross_validation import train_test_split import lightgbm as lgb import gc import pickle from sklearn.pr...
[ "minhmanutd@gmail.com" ]
minhmanutd@gmail.com
5c87709e79b598bd4b214aead30ccb6efaa34278
018a1d8d59c00f69b0489ce05567a2972c335ff7
/2017_May23/threads/job_queue.py
f5a021c0ba152893e936037dcb4ee78ae934f673
[]
no_license
singhujjwal/python
f0127b604e2204a02836c95d89ee4903f760d48c
4fb4b34a318f093bd944cd70d7f0d69dd7dfef6e
refs/heads/master
2021-09-20T15:35:13.389400
2021-09-03T06:39:58
2021-09-03T06:39:58
92,157,309
0
0
null
null
null
null
UTF-8
Python
false
false
1,401
py
from time import sleep def square(x): sleep(5) return x*x def factorial(x): sleep(3) from functools import reduce return reduce(lambda x,y: x*y, range(1, x+1)) def sum_all(x): sleep(2) return sum(range(x)) class MyJobQueue: def __init__(self, capacity): from queue import Qu...
[ "ujjsingh@cisco.com" ]
ujjsingh@cisco.com
de6558aa3fa726a49caaa8cdd14339487414a1c5
a46d135ba8fd7bd40f0b7d7a96c72be446025719
/packages/python/plotly/plotly/validators/box/unselected/marker/_opacity.py
d86095f213c385378e349c836d4e4410faab53eb
[ "MIT" ]
permissive
hugovk/plotly.py
5e763fe96f225d964c4fcd1dea79dbefa50b4692
cfad7862594b35965c0e000813bd7805e8494a5b
refs/heads/master
2022-05-10T12:17:38.797994
2021-12-21T03:49:19
2021-12-21T03:49:19
234,146,634
0
0
MIT
2020-01-15T18:33:43
2020-01-15T18:33:41
null
UTF-8
Python
false
false
501
py
import _plotly_utils.basevalidators class OpacityValidator(_plotly_utils.basevalidators.NumberValidator): def __init__( self, plotly_name="opacity", parent_name="box.unselected.marker", **kwargs ): super(OpacityValidator, self).__init__( plotly_name=plotly_name, parent_...
[ "noreply@github.com" ]
hugovk.noreply@github.com
bb3782c433358b95062c37e3a033397bf5ba2564
93039551fbdef0a112a9c39181d30b0c170eb3a6
/day33/__init__.py
39d3c1d1e41daae2a914cfb0a558d14a25b0e768
[]
no_license
wenzhe980406/PythonLearning
8714de8a472c71e6d02b6de64efba970a77f6f4a
af0e85f0b11bf9d2f8e690bac480b92b971c01bb
refs/heads/master
2020-07-14T20:46:45.146134
2020-05-28T12:16:21
2020-05-28T12:16:21
205,398,758
0
0
null
null
null
null
UTF-8
Python
false
false
143
py
# _*_ coding : UTF-8 _*_ # 开发人员 : ChangYw # 开发时间 : 2019/8/28 10:37 # 文件名称 : __init__.py.PY # 开发工具 : PyCharm
[ "noreply@github.com" ]
wenzhe980406.noreply@github.com
1af686590d178711452f4ed5b201e9029756d6e5
f445450ac693b466ca20b42f1ac82071d32dd991
/generated_tempdir_2019_09_15_163300/generated_part004559.py
2ab65e23a64dd1382972f44fd77b836d6ac16441
[]
no_license
Upabjojr/rubi_generated
76e43cbafe70b4e1516fb761cabd9e5257691374
cd35e9e51722b04fb159ada3d5811d62a423e429
refs/heads/master
2020-07-25T17:26:19.227918
2019-09-15T15:41:48
2019-09-15T15:41:48
208,357,412
4
1
null
null
null
null
UTF-8
Python
false
false
1,456
py
from sympy.abc import * from matchpy.matching.many_to_one import CommutativeMatcher from matchpy import * from matchpy.utils import VariableWithCount from collections import deque from multiset import Multiset from sympy.integrals.rubi.constraints import * from sympy.integrals.rubi.utility_function import * from sympy....
[ "franz.bonazzi@gmail.com" ]
franz.bonazzi@gmail.com
332448d7ef58c005a849960379afc675efeb75c3
eeda8f12876b4193b8b32642b663c865f4ade39a
/player/migrations/0007_auto_20161210_2247.py
cf0accaf6c90db284a7cec3816fc1a10a76722e3
[]
no_license
TheAvinashSingh/DirectMe
b893a29757ec0c147cc57d0d1fbd5917ce069958
dc957d19c08666ae27adb5c25321a32ad5316a7b
refs/heads/master
2021-01-20T05:26:49.504025
2016-12-11T00:28:53
2016-12-11T00:28:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
426
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.4 on 2016-12-10 22:47 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('player', '0006_auto_20161210_2117'), ] operations = [ migrations.AlterModelOptions(...
[ "bansalutkarsh3@gmail.com" ]
bansalutkarsh3@gmail.com
bbc3043cb67e1318cd74d7424783ed50f9e0f638
dc95dfb24f3cd12b823dfad2cca8607ab12e757b
/13-Built-in-Functions/lambda-functions.py
290a032db496cccdb44a90abc4b42ebe13a6a8b5
[]
no_license
RandyG3/Python
06213a361deac2d653d4cd4734728838ed34e733
86068d81ae037beb6fd6114d93074a92c2f3108e
refs/heads/master
2023-01-06T15:18:43.173886
2020-11-08T03:03:34
2020-11-08T03:03:34
236,549,506
0
0
null
null
null
null
UTF-8
Python
false
false
554
py
# Lambda Function # An anonymous function # (a function without a name) # # use once, then discard metals = ["gold", "silver", "platinum", "palladium"] # get words more than 5 char print(filter(lambda metal: len(metal) > 5, metals)) print(list(filter(lambda metal: len(metal) > 5, metals))) print(list(filter(lam...
[ "40631249+RandyG3@users.noreply.github.com" ]
40631249+RandyG3@users.noreply.github.com
48945ea707b79a5bb8bf524341cc5e465488f546
9e988c0dfbea15cd23a3de860cb0c88c3dcdbd97
/sdBs/AllRun/fbs_0033+376/sdB_FBS_0033+376_lc.py
7a1e86b98c57d3ff1f979c0a7855edcfdd203c18
[]
no_license
tboudreaux/SummerSTScICode
73b2e5839b10c0bf733808f4316d34be91c5a3bd
4dd1ffbb09e0a599257d21872f9d62b5420028b0
refs/heads/master
2021-01-20T18:07:44.723496
2016-08-08T16:49:53
2016-08-08T16:49:53
65,221,159
0
0
null
null
null
null
UTF-8
Python
false
false
346
py
from gPhoton.gAperture import gAperture def main(): gAperture(band="NUV", skypos=[9.166167,37.931969], stepsz=30., csvfile="/data2/fleming/GPHOTON_OUTPU/LIGHTCURVES/sdBs/sdB_FBS_0033+376 /sdB_FBS_0033+376_lc.csv", maxgap=1000., overwrite=True, radius=0.00555556, annulus=[0.005972227,0.0103888972], verbose=3) if __name...
[ "thomas@boudreauxmail.com" ]
thomas@boudreauxmail.com
da8f240c44afe29c7e5b234fa6b40b2e38fa1cbd
87a26f06a60b98f7a0191e59e4111d3ba338aeeb
/biLSTM/Common.py
7b3d38f45022ee7d9f20d5833d178ba1d5f6be93
[]
no_license
zenRRan/Stance-Detection
be0c03d3cafe0c4390e39c931cb836f6eca1f156
62b6d6a092a956ccd31a7d47a9de9fbf72260f98
refs/heads/master
2021-09-08T01:18:51.392615
2018-03-05T02:14:51
2018-03-05T02:14:51
115,618,231
8
2
null
null
null
null
UTF-8
Python
false
false
512
py
# Version python3.6 # -*- coding: utf-8 -*- # @Time : 2018/2/9 下午9:22 # @Author : zenRRan # @Email : zenrran@qq.com # @File : Common.py # @Software: PyCharm Community Edition unk_key = '-unk-' padding_key = '-padding-' English_topics = ['atheism', 'feminist movement', 'hillary clinton', 'legalizati...
[ "824203828@qq.com" ]
824203828@qq.com
2fa77c854e55396aad6687738cfc4adb903b8084
694d57c3e512ce916269411b51adef23532420cd
/leetcode_review/378kth_smallest_element_in_a_sorted_matrix.py
ea3b9532ad401931b61c1c7752f4a37732851542
[]
no_license
clovery410/mycode
5541c3a99962d7949832a0859f18819f118edfba
e12025e754547d18d5bb50a9dbe5e725fd03fd9c
refs/heads/master
2021-05-16T02:46:47.996748
2017-05-10T23:43:50
2017-05-10T23:43:50
39,235,141
1
1
null
null
null
null
UTF-8
Python
false
false
983
py
from heapq import * class Solution(object): # solution1, using heap def kthSmallest(self, matrix, k): m, n = len(matrix), len(matrix[0]) if len(matrix) else 0 heap = [] for i in xrange(m): heappush(heap, (matrix[i][0], i, 0)) for x in xrange(k): cur_num, ...
[ "seasoul410@gmail.com" ]
seasoul410@gmail.com
69e6cab54865678d41fd6a8b033cb45b0e9a27a2
d4c83df812c0c182bf444cc432deba03b79fb810
/bin/gifmaker.py
4150f99bbb22a423f9f1994f854015fa3f3fbb1e
[ "MIT" ]
permissive
webbyfox/suade
2c06bb3d59762bbc9c41bde7b062a9575b3ea9e2
52a93df0f4cb1f6442b6c7dd259c8350a7687082
refs/heads/master
2021-01-21T20:16:58.674107
2017-05-23T21:23:26
2017-05-23T21:23:26
92,213,858
0
0
null
null
null
null
UTF-8
Python
false
false
662
py
#!/Users/Rizwan/www/suade/bin/python3.6 # # The Python Imaging Library # $Id$ # # convert sequence format to GIF animation # # history: # 97-01-03 fl created # # Copyright (c) Secret Labs AB 1997. All rights reserved. # Copyright (c) Fredrik Lundh 1997. # # See the README file for information on usage and re...
[ "mr.mansuri@gmail.com" ]
mr.mansuri@gmail.com
7b212255dd798268635f44caac329f228d0e7cdb
5c443eb3556d6d52717227008c29426ed7ca6a24
/todo/test_views.py
8242761704991a0157f03efcc6fbe053dc7aa31f
[]
no_license
ashur-k/ci_django_to_do_app
ef4dcfd1b6df529265f8ee4c9b1e4d5b05c27573
f829d962a2e482830bc7c631230d2a30bef0245f
refs/heads/master
2023-02-26T11:48:48.306451
2021-02-01T11:19:02
2021-02-01T11:19:02
286,980,518
0
0
null
null
null
null
UTF-8
Python
false
false
1,861
py
from django.test import TestCase from .models import Item # Create your tests here. class TestViews(TestCase): def test__get_todo_list(self): response = self.client.get('/') self.assertEqual(response.status_code, 200) self.assertTemplateUsed(response, 'todo/todo_list.html') def test_...
[ "ashurkanwal@yahoo.com" ]
ashurkanwal@yahoo.com
d75e31c9ad75f7bcd75a6edb6e64dcb2f734a9f8
5b93930ce8280b3cbc7d6b955df0bfc5504ee99c
/nodes/Geron17Hands/C_PartII/A_Chapter9/C_ManagingGraphs/index.py
c0a3c947cdad986f3ad78522ec72a8e696105d0b
[]
no_license
nimra/module_gen
8749c8d29beb700cac57132232861eba4eb82331
2e0a4452548af4fefd4cb30ab9d08d7662122cf4
refs/heads/master
2022-03-04T09:35:12.443651
2019-10-26T04:40:49
2019-10-26T04:40:49
213,980,247
0
1
null
null
null
null
UTF-8
Python
false
false
5,823
py
# Lawrence McAfee # ~~~~~~~~ import ~~~~~~~~ from modules.node.HierNode import HierNode from modules.node.LeafNode import LeafNode from modules.node.Stage import Stage from modules.node.block.CodeBlock import CodeBlock as cbk from modules.node.block.HierBlock import HierBlock as hbk from modules.node.block.ImageBlock ...
[ "lawrence.mcafee@gmail.com" ]
lawrence.mcafee@gmail.com
7dc8acbac6368137168cd3244cb6acd73d01644b
358dd2e27935215304ef5640b715de260d16aa2b
/lextract/keyed_db/repl.py
90230021411875594959910e7f1981de5ea88e4d
[]
no_license
frankier/lextract
7495c2053493eb50623b1cae4a8594cca6c8247e
ba38eb23188e074f7724e2ec08e5993fe98dcb6f
refs/heads/master
2023-03-08T22:03:33.095959
2020-11-23T11:27:22
2020-11-23T11:27:22
188,093,991
1
0
null
2023-02-22T23:29:47
2019-05-22T18:35:44
Python
UTF-8
Python
false
false
592
py
import sys import click from pprint import pprint from finntk import get_omorfi from wikiparse.utils.db import get_session from .extract import extract_toks @click.command("extract-toks") def extract_toks_cmd(): paragraph = sys.stdin.read() omorfi = get_omorfi() tokenised = omorfi.tokenise(paragraph) ...
[ "frankie@robertson.name" ]
frankie@robertson.name
317e95c65c566b23be221e71ce486bf6889f931e
86e8f0a13269d01bd3f9020dc2dc32e77fc7e30f
/tests/integration/test_misc.py
dd9e414a01d2216759622644551555ef39b9518d
[ "Apache-2.0" ]
permissive
stardude900/stratis-cli
92bae614f8998cf30727a3eb0899906fe2a67df6
bf0beb60c7bc64b8762247da983436be7ec59d32
refs/heads/master
2021-01-19T06:15:37.907429
2017-08-07T21:46:04
2017-08-07T21:46:04
100,633,518
0
0
null
2017-08-17T18:28:51
2017-08-17T18:28:51
null
UTF-8
Python
false
false
5,528
py
# Copyright 2016 Red Hat, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing...
[ "amulhern@redhat.com" ]
amulhern@redhat.com
c2b66c7a38983f935b08a2197ce9cdb85019fda6
9bb16f8fbf9f562f1171a3bbff8318a47113823b
/abc132/abc132_d/main.py
6b825f6fef88b9fcc0c84f1d7a6cd6ad0aa3c805
[]
no_license
kyamashiro/atcoder
83ab0a880e014c167b6e9fe9457e6972901353fc
999a7852b70b0a022a4d64ba40d4048ee4cc0c9c
refs/heads/master
2022-06-01T03:01:39.143632
2022-05-22T05:38:42
2022-05-22T05:38:42
464,391,209
1
0
null
null
null
null
UTF-8
Python
false
false
400
py
#!/usr/bin/env python3 # from typing import * MOD = 1000000007 # def solve(N: int, K: int) -> List[str]: def solve(N, K): pass # TODO: edit here # generated by oj-template v4.8.1 (https://github.com/online-judge-tools/template-generator) def main(): N, K = map(int, input().split()) a = solve(N, K) ...
[ "kyamashiro73@gmail.com" ]
kyamashiro73@gmail.com
015dde9f3d18d2234d142749e7b2fdbe911482af
7882860350c714e6c08368288dab721288b8d9db
/백트래킹/1182_부분수열의 합.py
bc2b31a9f2df3eabfb77b6ce66c3a3e67deac17a
[]
no_license
park-seonju/Algorithm
682fca984813a54b92a3f2ab174e4f05a95921a8
30e5bcb756e9388693624e8880e57bc92bfda969
refs/heads/master
2023-08-11T18:23:49.644259
2021-09-27T10:07:49
2021-09-27T10:07:49
388,741,922
0
0
null
null
null
null
UTF-8
Python
false
false
303
py
n,s=map(int,input().split()) arr=list(map(int,input().split())) ans=0 def func(idx,total): global ans if idx>=n: if s==total: ans+=1 return else: func(idx+1,total+arr[idx]) func(idx+1,total) func(0,0) if s==0: print(ans-1) else: print(ans)
[ "cucu9823@naver.com" ]
cucu9823@naver.com
161708e25ea49fb32dcaf50a3134a77915485ee0
67ffddfd7e0ace7490c5d52325838b82644eb458
/leetcode/greedy/lc_134.py
5480eaf182de37f45b734ea31103412665b90700
[]
no_license
ckdrjs96/algorithm
326f353c5aa89a85ec86ce1aabb06cde341193ce
d5d09b047808b6fc2eeaabdbe7f32c83446b4a1b
refs/heads/main
2023-08-20T05:12:50.671798
2021-10-23T04:20:05
2021-10-23T04:20:05
324,481,888
0
0
null
null
null
null
UTF-8
Python
false
false
1,133
py
# greedy o(N) class Solution: def canCompleteCircuit(self, gas: List[int], cost: List[int]) -> int: if sum(gas) < sum(cost): return -1 # 성립이 안되는 지점이 있다면 그앞은 모두 정답이 될수없다. 따라서 start=i+1 start, fuel = 0, 0 for i in range(len(gas)): if gas[i] + fuel < cost[i]: ...
[ "ckdrjs96@gmail.com" ]
ckdrjs96@gmail.com
76815cea1685820cd7c163aadc790a8960d954e4
753a70bc416e8dced2853f278b08ef60cdb3c768
/include/tensorflow/lite/testing/op_tests/cos.py
20b831dce9a7a16df7890f821473a43f2ad57af6
[ "MIT" ]
permissive
finnickniu/tensorflow_object_detection_tflite
ef94158e5350613590641880cb3c1062f7dd0efb
a115d918f6894a69586174653172be0b5d1de952
refs/heads/master
2023-04-06T04:59:24.985923
2022-09-20T16:29:08
2022-09-20T16:29:08
230,891,552
60
19
MIT
2023-03-25T00:31:18
2019-12-30T09:58:41
C++
UTF-8
Python
false
false
2,002
py
# Copyright 2019 The TensorFlow Authors. 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 applica...
[ "finn.niu@apptech.com.hk" ]
finn.niu@apptech.com.hk
2e15ac5d08dfab344b92280d6c14efe4945dc1f4
bc6492a9a30ac7228caad91643d58653b49ab9e3
/sympy/utilities/matchpy_connector.py
1d12f13a8f09bbb88826a622781a13072f484722
[]
no_license
cosmosZhou/sagemath
2c54ea04868882340c7ef981b7f499fb205095c9
0608b946174e86182c6d35d126cd89d819d1d0b8
refs/heads/master
2023-01-06T07:31:37.546716
2020-11-12T06:39:22
2020-11-12T06:39:22
311,177,322
1
0
null
2020-11-12T06:09:11
2020-11-08T23:42:40
Python
UTF-8
Python
false
false
4,168
py
from sympy.external import import_module from sympy.utilities.decorator import doctest_depends_on from sympy.functions.elementary.integers import floor, frac from sympy.functions import (log, sin, cos, tan, cot, csc, sec, sqrt, erf, gamma, uppergamma, polygamma, digamma, loggamma, factorial, zeta, LambertW) fr...
[ "74498494@qq.com" ]
74498494@qq.com
5161e0559dc3a3fd010c60d8374844d07214aba5
543e4a93fd94a1ebcadb7ba9bd8b1f3afd3a12b8
/maza/modules/creds/routers/mikrotik/telnet_default_creds.py
540d36ba30ae985f5d22df9eb468af7ebc98ea40
[ "MIT" ]
permissive
ArturSpirin/maza
e3127f07b90034f08ff294cc4afcad239bb6a6c3
56ae6325c08bcedd22c57b9fe11b58f1b38314ca
refs/heads/master
2020-04-10T16:24:47.245172
2018-12-11T07:13:15
2018-12-11T07:13:15
161,144,181
2
0
null
null
null
null
UTF-8
Python
false
false
856
py
from maza.core.exploit import * from maza.modules.creds.generic.telnet_default import Exploit as TelnetDefault class Exploit(TelnetDefault): __info__ = { "name": "Mikrotik Router Default Telnet Creds", "description": "Module performs dictionary attack against Mikrotik Router Telnet service." ...
[ "a.spirin@hotmail.com" ]
a.spirin@hotmail.com
363743b18f38e10094f4b801a2b48ea117027291
0f8909782b5150783b738df3875c91509a92a33b
/scena/m9082.bin.py
2cba9b7788446747346f2d8411dd2749f3f368cb
[]
no_license
uyjulian/ao_text
e40cd982bcdd5ea9ffd6f0f2e97ce9b92749b63a
5cc5468aeb64fa97935f334a627357ec10e22307
refs/heads/master
2021-06-26T21:43:07.489898
2017-07-05T16:55:01
2017-07-05T16:55:01
96,562,461
1
0
null
null
null
null
UTF-8
Python
false
false
132,517
py
from ScenarioHelper import * def main(): CreateScenaFile( "m9082.bin", # FileName "m9082", # MapName "m9082", # Location 0x00C3, # MapIndex "ed7356", 0x00000000, # Flag...
[ "uyjulian@gmail.com" ]
uyjulian@gmail.com
1e461f00ab09e4de26a84fd68a6fd672c1864ff8
261ff2a577650185ff00f5d26dee3189283f28ad
/problems/er-cha-sou-suo-shu-de-hou-xu-bian-li-xu-lie-lcof/solution_2.py
4910e5585f6a7b750a56f850a1b51e46193f26b5
[ "MIT" ]
permissive
YunYouJun/LeetCode
a60dd3e719a199f09f47656ba21af66bb5c02641
9dbd55acc82cafd7b1eb3cc81b20563f9bb1ce04
refs/heads/master
2023-08-25T05:58:28.444830
2023-07-21T17:24:45
2023-07-21T17:24:45
146,094,429
5
2
MIT
2021-08-28T17:49:40
2018-08-25T12:43:30
Python
UTF-8
Python
false
false
597
py
from typing import List class Solution: def verifyPostorder(self, postorder: List[int]) -> bool: stack, root = [], float('+inf') for i in range(len(postorder) - 1, -1, -1): if postorder[i] > root: return False while stack and postorder[i] < stack[-1]: ...
[ "me@yunyoujun.cn" ]
me@yunyoujun.cn
f5e547d3d457bb61682b752e448c9ac190e7749f
9b87a520e85566a66f729d2b4cafd00c67ea5db0
/Builder/build_utils.py
b71a2e74f1b31500fe22c85e188b543577ea5471
[ "Apache-2.0" ]
permissive
barry-scott/scm-workbench
c694720acd316789821b7f8ebf32f7b941913d94
6ae79141ae54424d81a94a76690b2ab12df9d901
refs/heads/master
2023-03-15T21:13:28.394412
2022-07-10T11:47:30
2022-07-10T11:47:30
50,042,812
28
12
null
null
null
null
UTF-8
Python
false
false
2,725
py
# # Needs to run under python2 or python3 # from __future__ import print_function import sys import os import subprocess import shutil log = None if sys.version_info[0] == 2: unicode_type = unicode else: unicode_type = str class BuildError(Exception): def __init__( self, msg ): super(BuildErr...
[ "barry@barrys-emacs.org" ]
barry@barrys-emacs.org
168e9a9c6acb9bf3b4a1fbaac845daddd794d7b0
a46fc5187245f7ac79758ae475d4d865e24f482b
/permutation_in_string/str_permutation.py
02a895fffa3bf8acdd261aea5803250d08ef67fd
[]
no_license
narnat/leetcode
ae31f9321ac9a087244dddd64706780ea57ded91
20a48021be5e5348d681e910c843e734df98b596
refs/heads/master
2022-12-08T00:58:12.547227
2020-08-26T21:04:53
2020-08-26T21:04:53
257,167,879
0
2
null
null
null
null
UTF-8
Python
false
false
1,696
py
#!/usr/bin/env python3 class Solution: def checkInclusion(self, s1: str, s2: str) -> bool: if len(s1) > len(s2): return False pattern = [0] * 26 s = [0] * 26 for i in range(len(s1)): pattern[ord(s1[i]) - ord('a')] += 1 s[ord(s2[i]) - ord('a')]...
[ "farruh1996@gmail.com" ]
farruh1996@gmail.com
046d95f1bdeabff8b72c1d0183cafd768c0b0544
15581a76b36eab6062e71d4e5641cdfaf768b697
/Topics/Binary Search/Sqrt(x).py
1021b5b6f1d4524ae476e8448226947f4e415112
[]
no_license
MarianDanaila/Competitive-Programming
dd61298cc02ca3556ebc3394e8d635b57f58b4d2
3c5a662e931a5aa1934fba74b249bce65a5d75e2
refs/heads/master
2023-05-25T20:03:18.468713
2023-05-16T21:45:08
2023-05-16T21:45:08
254,296,597
0
0
null
null
null
null
UTF-8
Python
false
false
373
py
class Solution: def mySqrt(self, x: int) -> int: low = 0 high = x + 1 while low <= high: mid = low + (high - low) // 2 if mid * mid == x: return mid elif mid * mid < x: ans = mid low = mid + 1 els...
[ "mariandanaila01@gmail.com" ]
mariandanaila01@gmail.com
425aa18798c9113ad41a1766ea7429d70cc9bebe
a7058080e41af37eb77c146fc09a5e4db57f7ec6
/Solved/05361/05361.py
e15000503140aedadcd13f71e1a12b36e94d0d31
[]
no_license
Jinmin-Goh/BOJ_PS
bec0922c01fbf6e440589cc684d0cd736e775066
09a285bd1369bd0d73f86386b343d271dc08a67d
refs/heads/master
2022-09-24T02:24:50.823834
2022-09-21T02:16:22
2022-09-21T02:16:22
223,768,547
0
0
null
null
null
null
UTF-8
Python
false
false
383
py
# Problem No.: 5361 # Solver: Jinmin Goh # Date: 20220710 # URL: https://www.acmicpc.net/problem/5361 import sys def main(): t = int(input()) for _ in range(t): a, b, c, d, e = map(int, sys.stdin.readline().split()) print(f'${a * 350.34 + b * 230.90 + c * 190.55 + d * 125.30 + e * ...
[ "eric970901@gmail.com" ]
eric970901@gmail.com
68cbc7c18c20b28c14e110eea1c6641da8ea30fd
2ff7e53d5e512cd762217ca54317982e07a2bb0c
/pathtools/__init__.py
d48128e5f3c99b6ca2e9208be81a75f562cf8baa
[]
no_license
nanxijw/Clara-Pretty-One-Dick
66d3d69426642b79e8fd4cc8e0bec23adeeca6d6
50de3488a2140343c364efc2615cf6e67f152be0
refs/heads/master
2021-01-19T09:25:07.555284
2015-02-17T21:49:33
2015-02-17T21:49:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
48
py
#Embedded file name: pathtools\__init__.py pass
[ "billchang.e@gmail.com" ]
billchang.e@gmail.com
f052899444f57fe22175d48f07fc1b910f3d54f6
5f8487a7efb97d90ec0393b0db046b7ca908378b
/wk2/examples/albert.py
2077581b5d51754c3eded2211afbcb38ee8bacc3
[]
no_license
sphilmoon/karel
444fe686c083b3a6b101141c3b16e807ef54a4ba
f6e8a1801509d49d188cf579856cec5d7033bbde
refs/heads/main
2023-08-25T10:23:19.010270
2021-10-20T12:26:35
2021-10-20T12:26:35
359,027,046
0
0
null
null
null
null
UTF-8
Python
false
false
277
py
C = 299792458 E = "e = m * C^2.." def main(): mass = float(input("Enter kilos of mass: ")) print(E) print("m =", mass, "kg") print("C =", f"{C:,d}", "m/s") energy = mass * (C**2) print(energy, "joules of energy!") if __name__ == "__main__": main()
[ "sphilmoon@gmail.com" ]
sphilmoon@gmail.com
c038f897a86b44cea4235b3a9c3b0b1234e25ddd
20c20938e201a0834ccf8b5f2eb5d570d407ad15
/abc112/abc112_c/8543451.py
9e0a5e189ca893892719e48af7fabf0ab05acb17
[]
no_license
kouhei-k/atcoder_submissions
8e1a1fb30c38e0d443b585a27c6d134bf1af610a
584b4fd842ccfabb16200998fe6652f018edbfc5
refs/heads/master
2021-07-02T21:20:05.379886
2021-03-01T12:52:26
2021-03-01T12:52:26
227,364,764
0
0
null
null
null
null
UTF-8
Python
false
false
618
py
N=int(input()) xyh=[list(map(int,input().split()))for i in range(N)] xyh.sort(reverse=True,key=lambda x:x[2]) for cx in range(101): for cy in range(101): H=0 flag=False for i,tmp in enumerate(xyh): x,y,h=tmp if h != 0: tmp= h+abs(x-cx)+abs(y-cy) else: if H-abs(x-cx)-a...
[ "kouhei.k.0116@gmail.com" ]
kouhei.k.0116@gmail.com
e82a60a7a6247bc2fab33bf2628b009d9ac38eaa
141b42d9d72636c869ff2ce7a2a9f7b9b24f508b
/myvenv/Lib/site-packages/phonenumbers/data/region_GH.py
d654cc750d3bbb37816ed1112c6c777b6334e675
[ "BSD-3-Clause" ]
permissive
Fa67/saleor-shop
105e1147e60396ddab6f006337436dcbf18e8fe1
76110349162c54c8bfcae61983bb59ba8fb0f778
refs/heads/master
2021-06-08T23:51:12.251457
2018-07-24T08:14:33
2018-07-24T08:14:33
168,561,915
1
0
BSD-3-Clause
2021-04-18T07:59:12
2019-01-31T17:00:39
Python
UTF-8
Python
false
false
1,483
py
"""Auto-generated file, do not edit by hand. GH metadata""" from ..phonemetadata import NumberFormat, PhoneNumberDesc, PhoneMetadata PHONE_METADATA_GH = PhoneMetadata(id='GH', country_code=233, international_prefix='00', general_desc=PhoneNumberDesc(national_number_pattern='[235]\\d{8}|8\\d{7}', possible_length=(8...
[ "gruzdevasch@gmail.com" ]
gruzdevasch@gmail.com
e4ad0a1cd2b6f6d8ae19810a9781b6eb59e564d0
882c865cf0a4b94fdd117affbb5748bdf4e056d0
/python/SWexpert/level1/2068_최대수 구하기.py
6908a815bc4146840b9367f8be966728a03e0f3a
[]
no_license
minhee0327/Algorithm
ebae861e90069e2d9cf0680159e14c833b2f0da3
fb0d3763b1b75d310de4c19c77014e8fb86dad0d
refs/heads/master
2023-08-15T14:55:49.769179
2021-09-14T04:05:11
2021-09-14T04:05:11
331,007,037
0
0
null
null
null
null
UTF-8
Python
false
false
137
py
import sys for t in range(int(sys.stdin.readline())): lst = list(map(int, input().split())) print("#{} {}".format(t, max(lst)))
[ "queen.minhee@gmail.com" ]
queen.minhee@gmail.com
0a78e495b80ab9f88ed61331eaa680936024d356
1a6c2be5ff1a8364c97a1ede23c824b2579ecf79
/tfx/dsl/components/base/executor_spec.py
502c4c21c1cc3f66f1766c0916cf2b2132a0d303
[ "Apache-2.0" ]
permissive
418sec/tfx
fa1a4690df2178e9c6bd24f97df0bbde7436df95
df1529c91e52d442443eca5968ff33cf0a38dffa
refs/heads/master
2023-04-18T12:25:38.098958
2021-04-28T16:11:00
2021-04-28T16:11:00
333,769,030
2
1
Apache-2.0
2021-04-28T16:11:01
2021-01-28T13:35:14
null
UTF-8
Python
false
false
6,429
py
# Lint as: python2, python3 # Copyright 2019 Google LLC. 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 req...
[ "tensorflow-extended-nonhuman@googlegroups.com" ]
tensorflow-extended-nonhuman@googlegroups.com
856943bf9166e753fbe9519c080fd81a56fb9ed6
7abc12b1742af6d2cd4aa05a417551aebbbb11fd
/tensorflow/contrib/tpu/python/tpu/tpu_context.py
344ff9a37fc79ab1360fae8d3d2f9ec73e24f2b3
[ "Apache-2.0" ]
permissive
Raksh-y/tensorflow
a28517d0fa14ce0077c761046b0526a5691c2fd4
fbb6fcde866a430e8238a80991e3f61d3836af41
refs/heads/master
2021-04-29T17:59:16.151921
2018-02-15T20:25:15
2018-02-15T20:25:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
19,003
py
# Copyright 2018 The TensorFlow Authors. 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 applica...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
4c5707cd2ba9d17efea44451ba77c6004b84104a
ac4b9385b7ad2063ea51237fbd8d1b74baffd016
/.history/google/drive_files_download_prepare_20210214184811.py
86688cc510192a730867099d50d8918aaacbc36e
[]
no_license
preethanpa/ssoemprep
76297ef21b1d4893f1ac2f307f60ec72fc3e7c6f
ce37127845253c768d01aeae85e5d0d1ade64516
refs/heads/main
2023-03-09T00:15:55.130818
2021-02-20T06:54:58
2021-02-20T06:54:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,610
py
from __future__ import print_function import pickle import os.path import io from googleapiclient.discovery import build from google_auth_oauthlib.flow import InstalledAppFlow from google.auth.transport.requests import Request from googleapiclient.http import MediaIoBaseDownload from oauth2client.service_account impor...
[ "{abhi@third-ray.com}" ]
{abhi@third-ray.com}
fd12868d93d2bfa398026083bb2783875080d1af
b156c2f5ee7417dfa1f6cdcf14e9773a25397544
/GeneVisualization/venv2/Lib/site-packages/itk/itkPyImageFilterPython.py
5ba7ffc47ba7a921f6601bd4ee6149cc65a6e415
[]
no_license
PinarTurkyilmaz/Vis
1115d9426e9c8eeb5d07949241713d6f58a7721b
4dd4426a70c0bd0a6e405ffe923afee29630aa67
refs/heads/master
2022-11-18T13:16:18.668065
2020-07-06T21:04:10
2020-07-06T21:04:10
226,217,392
0
0
null
null
null
null
UTF-8
Python
false
false
17,843
py
# This file was automatically generated by SWIG (http://www.swig.org). # Version 3.0.8 # # Do not make changes to this file unless you know what you are doing--modify # the SWIG interface file instead. from sys import version_info if version_info >= (3, 0, 0): new_instancemethod = lambda func, inst, cls: _itkP...
[ "pinar.turkyilmaz@estudiant.upc.edu" ]
pinar.turkyilmaz@estudiant.upc.edu
7391c196678a5851d5df375ccb31973f5f4308d5
faa390890e17219fd763bd66e66bb6753c692b14
/jacinle/comm/__init__.py
31090e96df5a3363aa5d28bc73146df1406c9cf6
[ "MIT" ]
permissive
vacancy/Jacinle
7170b1c798e4a903186abe74d28e4a7e034ec766
20021790fd32ef1ad40c67fba7582c6db54235da
refs/heads/master
2023-07-20T03:54:46.693649
2023-07-12T21:00:10
2023-07-12T21:00:10
117,910,172
135
275
MIT
2023-01-18T17:41:33
2018-01-18T00:35:55
Python
UTF-8
Python
false
false
228
py
#! /usr/bin/env python3 # -*- coding: utf-8 -*- # File : __init__.py # Author : Jiayuan Mao # Email : maojiayuan@gmail.com # Date : 01/22/2018 # # This file is part of Jacinle. # Distributed under terms of the MIT license.
[ "maojiayuan@gmail.com" ]
maojiayuan@gmail.com
bc044afaa2aa7c550a0e4c305793d3073561ab60
444a9480bce2035565332d4d4654244c0b5cd47b
/official/cv/OCRNet/convert_from_torch.py
4d18c05e48df3f7270f9673f7922b6241774d711
[ "LicenseRef-scancode-proprietary-license", "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
mindspore-ai/models
7ede9c6454e77e995e674628204e1c6e76bd7b27
eab643f51336dbf7d711f02d27e6516e5affee59
refs/heads/master
2023-07-20T01:49:34.614616
2023-07-17T11:43:18
2023-07-17T11:43:18
417,393,380
301
92
Apache-2.0
2023-05-17T11:22:28
2021-10-15T06:38:37
Python
UTF-8
Python
false
false
4,078
py
# Copyright 2022 Huawei Technologies Co., Ltd # # 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...
[ "a.denisov@expasoft.tech" ]
a.denisov@expasoft.tech
8374d54bebd6681df61f6a480be5b6a013cc4aaa
1b34447fff2b0c08d5b43257b441b82f3faa263a
/bloogle-bot/blooglebot/spiders/theverge_spider.py
050967b104b0a3840bb4caf49601b88b3c68bd97
[]
no_license
Folch/bloogle
ded7a4986139e50ffc1b372e1c6a348b9524f58c
fd573c5948fd14945411e75c22f71ce45e9747b9
refs/heads/master
2020-05-03T16:55:11.349542
2019-03-31T19:42:43
2019-03-31T19:42:43
178,734,386
1
0
null
2019-03-31T19:45:28
2019-03-31T19:45:28
null
UTF-8
Python
false
false
180
py
from .simple_base_spider import SimpleBaseSpider class TheVergeSpider(SimpleBaseSpider): name = 'theverge' def get_domain(self): return 'https://www.theverge.com'
[ "xaviml.93@gmail.com" ]
xaviml.93@gmail.com
269b95c4e3715ced6971c77957a30e620a5f8b6b
711756b796d68035dc6a39060515200d1d37a274
/output_cog/optimized_47913.py
110c6944e50cfa7e456ea3a324c71dcbb4357bfe
[]
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,838
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
2f058e998fff357b00f55662b8586e74272472e7
2fb8fa04d520a0b6fde6f737467e4ff5f8b1c8d2
/add.py
bedba07af9cfb067b2441297e4063ea8f7741216
[]
no_license
Dhiraj4016/batch89
3bd11ae67d39cc43cd816d3c1ccca425833b2e3d
8cdc01853c00eaf009b20024b9e25ddcc29b7bda
refs/heads/master
2020-06-07T12:57:11.581541
2019-06-21T03:56:06
2019-06-21T03:56:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
312
py
'''a=int(input("enter Any number")) b=int (input("enter Any number")) c = a + b print("sum=",c)''' name = input("enter your name") print(name) data= input("Are you a student if yes press y else n") print(data[0]) print(data) data1= input("Are you a student if yes press y else n")[0] print(data1) print(data1)
[ "aswanibtech@gmail.com" ]
aswanibtech@gmail.com
68fd786f367e1dd95ac1d5c0cf2a28069117e1e6
276dd5dd778adefd039e6f6a71dc574386729401
/demo2/webapp/app.py
dbe50b9132d718d8d8a8d8ec04892046463991de
[ "MIT" ]
permissive
amitsaha/python-grpc-demo
4880e64b4b993df4b7eb96f2946b6607fb2dfa82
48546bfda83062a3fcb015d352fecb46346e8c92
refs/heads/master
2023-01-12T10:01:36.396783
2022-10-08T05:10:39
2022-10-08T05:10:39
101,063,881
145
52
MIT
2022-12-27T17:26:21
2017-08-22T13:07:17
Python
UTF-8
Python
false
false
757
py
from flask import Flask, Response import sys from google.protobuf.json_format import MessageToJson from client_wrapper import ServiceClient import users_pb2_grpc as users_service import users_types_pb2 as users_messages app = Flask(__name__) app.config['users'] = ServiceClient(users_service, 'UsersStub', 'users', 50...
[ "amitsaha.in@gmail.com" ]
amitsaha.in@gmail.com
e6b276124f6f834603cf0301a93b00fed97d9445
275b16af98827504d4de75c5d45afa09d0a84b8c
/tests/messages/server/test_result_message_parser.py
fb0346ed890136b496c853af3c2b95768ec9b05d
[ "Apache-2.0" ]
permissive
foxdog-studios/pyddp
e63bec12fffc5f87e9a44b0bf9de7bedae71d517
a4ac0bd5d8a2f350e012fd65d79e0034a89d8e67
refs/heads/dev
2021-01-02T08:45:41.081693
2015-05-31T15:10:29
2015-05-31T15:10:29
13,887,437
10
5
Apache-2.0
2018-03-05T17:42:18
2013-10-26T17:12:39
Python
UTF-8
Python
false
false
1,968
py
# -*- coding: utf-8 -*- # Copyright 2014 Foxdog Studios # # 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 l...
[ "foxxy@foxdogstudios.com" ]
foxxy@foxdogstudios.com
6324c47b3a02c8328fa9a73edda997ad76230713
518bf342bc4138982af3e2724e75f1d9ca3ba56c
/solutions/2370. Longest Ideal Subsequence/2370.py
1b387f7c2ce92430d9791134800f76c0ce754e38
[ "MIT" ]
permissive
walkccc/LeetCode
dae85af7cc689882a84ee5011f0a13a19ad97f18
a27be41c174565d365cbfe785f0633f634a01b2a
refs/heads/main
2023-08-28T01:32:43.384999
2023-08-20T19:00:45
2023-08-20T19:00:45
172,231,974
692
302
MIT
2023-08-13T14:48:42
2019-02-23T15:46:23
C++
UTF-8
Python
false
false
506
py
class Solution: def longestIdealString(self, s: str, k: int) -> int: # dp[i] := longest subseq that ends at ('a' + i) dp = [0] * 26 for c in s: i = ord(c) - ord('a') dp[i] = 1 + self._getMaxReachable(dp, i, k) return max(dp) def _getMaxReachable(self, dp: List[int], i: int, k: int) ->...
[ "me@pengyuc.com" ]
me@pengyuc.com
9a4edd570cf19c80e4d21640897a0de5b4bfc863
d214b72b3ae340d288c683afe356de6846a9b09d
/括号类/使括号有效的最少添加_921.py
d19e8d350a25ab41893dfe2a1a6db26563fa58bb
[]
no_license
Xiaoctw/LeetCode1_python
540af6402e82b3221dad8648bbdcce44954a9832
b2228230c90d7c91b0a40399fa631520c290b61d
refs/heads/master
2021-08-29T15:02:37.786181
2021-08-22T11:12:07
2021-08-22T11:12:07
168,444,276
0
0
null
null
null
null
UTF-8
Python
false
false
447
py
from typing import * class Solution: def minAddToMakeValid(self, S: str) -> int: stack=[] cnt=0 for c in S: if c=='(': stack.append(c) else: if not stack: cnt+=1 else: stack.pop() ...
[ "m18846183092@163.com" ]
m18846183092@163.com
e19f03b66bd26f3d7fc8dd5e3735dd2b75cd2ef8
702f22704e5485aff356b4d1b6f1dea51bd95fa4
/grd_web_edit/tools/handler/modify_handler.py
6dab3c01e736e30f972f6e3ed148329bbdf56ef1
[]
no_license
510908220/chromium_grd_tool
9b20986e6c5a825eeff4447a9ec91416b3188087
4b649c74f49d8515a5bf362828b48cae2f8ce6d0
refs/heads/master
2021-03-12T23:56:51.201622
2015-08-21T06:06:45
2015-08-21T06:06:45
41,099,166
2
0
null
null
null
null
UTF-8
Python
false
false
2,320
py
#!/usr/bin/env python # -*- coding: utf-8 -*- #encoding:utf-8 __author__ = 'Administrator' import xml_node import conf import util import history_handler import innerdb def get_message_info(message_name): """ return: message_string message_text """ grd = xml_node.Grd(conf.grd_path) message_info = grd.get_m...
[ "510908220@qq.com" ]
510908220@qq.com
58b5c70bbc6fd1570d661922bbc81850e967a9d4
e2f400d159ca0abb82e35af7eeedc4eebc3333e7
/desktop/core/src/desktop/lib/rest/http_client.py
e0b90f9979300b77e4e731021e47046aecbc5742
[ "Apache-2.0" ]
permissive
optimistdk/hue
a40ad47b33fc395fadc02840c5f707d8890e5bdc
417d7e18b87faae1157c60f949da61cd3075ed98
refs/heads/master
2021-01-17T21:43:52.399457
2012-07-30T17:17:07
2012-07-30T17:17:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,954
py
# Licensed to Cloudera, Inc. under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. Cloudera, Inc. licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not use this file ex...
[ "bcwalrus@cloudera.com" ]
bcwalrus@cloudera.com
ec8fab1581b91290cbc80f32f5189bf5668fbae2
2b7efe276d1dfdc70a4b5cd59ae863b7b7a1bd58
/euler121.py
596e9fa74a1af624297a392aad4c6bdc67a2e48c
[]
no_license
mckkcm001/euler
550bbd126e8d9bb5bc7cb854147399060f865cfc
8cf1db345b05867d47921b01e8c7e4c2df4ee98d
refs/heads/master
2021-01-01T17:43:28.799946
2017-11-07T02:17:34
2017-11-07T02:17:34
18,375,089
0
0
null
null
null
null
UTF-8
Python
false
false
280
py
from fractions import Fraction rounds = 1 odds = Fraction(blue,blue+red) def chances(rounds): red = 0 blue = 0 bag_red = 1 bag_blue = 1 for i in range(rounds): for i in range(rounds): red += 1 odds *= Fraction(blue,blue+red) print(odds)
[ "noreply@github.com" ]
mckkcm001.noreply@github.com
daf5e135c93d1a2cd279020eb00f833972745212
d7d53826ab804a3d0f229b0a189f2626d4ebe99b
/payment/models.py
a029297c35becab4fbd5c326718b5fa46a280bd2
[]
no_license
zbcbcbc/xiaomaifeng
6e299e7f1d13dbca95af7a1e46d66dd0d1c86b08
91b7da9404678227d3c2c4a446777be6dacdedb7
refs/heads/master
2020-12-02T16:58:26.661967
2016-09-04T17:53:51
2016-09-04T17:53:51
67,359,821
0
0
null
null
null
null
UTF-8
Python
false
false
2,254
py
# -*- coding: utf-8 -*- # # Copyright 2013 XiaoMaiFeng __author__ = "Bicheng Zhang" __copyright__ = "Copyright 2013, XiaoMaiFeng" from django.db import models __all__ = ['PartnerTradeBaseModel','DirectPayBaseModel', 'PartnerTradeBaseManager', 'DirectPayBaseManager'] class PaymentBaseManager(models.Manager): ...
[ "viczhang1990@gmail.com" ]
viczhang1990@gmail.com
293b781a84a06c23dcb33282f1187f182d64d46e
853d4cec42071b76a80be38c58ffe0fbf9b9dc34
/venv/Lib/site-packages/pip/_internal/operations/build/wheel.py
5a43e43f72d487fc34b5e42c4afc6f2d625df89e
[]
no_license
msainTesting/TwitterAnalysis
5e1646dbf40badf887a86e125ef30a9edaa622a4
b1204346508ba3e3922a52380ead5a8f7079726b
refs/heads/main
2023-08-28T08:29:28.924620
2021-11-04T12:36:30
2021-11-04T12:36:30
424,242,582
0
0
null
null
null
null
UTF-8
Python
false
false
1,100
py
import logging import os from typing import Optional from pip._vendor.pep517.wrappers import Pep517HookCaller from pip._internal.utils.subprocess import runner_with_spinner_message logger = logging.getLogger(__name__) def build_wheel_pep517( name: str, backend: Pep517HookCaller, metadata_...
[ "msaineti@icloud.com" ]
msaineti@icloud.com
ea41eabc699599cea850f3c5a4d00ad43a74addf
90419da201cd4948a27d3612f0b482c68026c96f
/sdk/python/pulumi_azure_nextgen/devices/v20190322preview/iot_hub_resource_event_hub_consumer_group.py
0828b9ec378e286ea61cfdf6bf519c011c308a72
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
test-wiz-sec/pulumi-azure-nextgen
cd4bee5d70cb0d332c04f16bb54e17d016d2adaf
20a695af0d020b34b0f1c336e1b69702755174cc
refs/heads/master
2023-06-08T02:35:52.639773
2020-11-06T22:39:06
2020-11-06T22:39:06
312,993,761
0
0
Apache-2.0
2023-06-02T06:47:28
2020-11-15T09:04:00
null
UTF-8
Python
false
false
6,716
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 __a...
[ "public@paulstack.co.uk" ]
public@paulstack.co.uk
9182965cf5743dc890b618905174e89ec27a0f10
534e9eb7da6450a58876b284272d515ff8595730
/base/factories.py
bee9c8e09ec3c02bf5ab2d091d098737a64a1bd8
[]
no_license
Asingjr2/todos_dj
a188946c45e435faf7e57f912676af23f03356f6
a1e08f27a81f9bfa3336dfcee036cbb325f7b63e
refs/heads/master
2020-03-24T09:57:34.460300
2018-09-13T00:57:09
2018-09-13T00:57:09
142,643,266
0
0
null
null
null
null
UTF-8
Python
false
false
173
py
import factory from .models import BaseModel class BaseModelFactory(factory.django.DjangoModelFactory): class Meta: model = BaseModel abstract = True
[ "asingjr2@gmail.com" ]
asingjr2@gmail.com
6f28abf08eb082e5601825a559cb2c2981c18ca4
71764665e27f4b96bab44f38a4a591ffc2171c24
/hhplt/productsuite/OBU_tc56/mock_suite_3.py
2e1584d638d34317a197e435489c2eba9d8dd1cb
[]
no_license
kingdomjc/RSU_production_VAT
693f8c504acc0cc88af92942734ccb85f7e7d7c0
9a3d6d3f5a5edfaf30afdff725661630aafe434c
refs/heads/master
2020-07-31T05:03:46.699606
2019-09-24T02:09:53
2019-09-24T02:09:53
210,491,514
0
0
null
null
null
null
UTF-8
Python
false
false
1,981
py
#encoding:utf-8 u'''这项测试又是虚拟测试项,用于调试''' import time from threading import RLock suiteName = u'''并行虚拟测试项3''' version = "1.0" failWeightSum = 10 #整体不通过权值,当失败权值和超过此,判定测试不通过 from hhplt.testengine.exceptions import TestItemFailException,AbortTestException from hhplt.parameters import SESSION from hhplt.testengine.parall...
[ "929593844@qq.com" ]
929593844@qq.com
05c4564a86b21d10499757b085d1b233d309d25b
4e60e8a46354bef6e851e77d8df4964d35f5e53f
/share/Tornado/databases_share.py
62c25ddacece769d8b5b612f0a4203f260ca0128
[]
no_license
cq146637/DockerManagerPlatform
cbae4154ad66eac01772ddd902d7f70b62a2d856
9c509fb8dca6633ed3afdc92d4e6491b5d13e322
refs/heads/master
2021-04-09T13:58:14.117752
2018-03-19T13:41:04
2018-03-19T13:41:04
125,712,276
0
0
null
null
null
null
UTF-8
Python
false
false
2,764
py
# -*- coding: utf-8 -*- __author__ = 'CQ' import pymysql import logging logger = logging.getLogger(__name__) class MysqlServer(object): """ Tornado通用连接数据库类 用pymysql替代tornado使得操作数据库更加灵活,定制化 """ def __init__(self, db_config): try: self._db_config = db_config ...
[ "1016025625@qq.com" ]
1016025625@qq.com
9d7c8ef7c5eb615add594ecc1e219baf83885afc
85a9ffeccb64f6159adbd164ff98edf4ac315e33
/pysnmp/OMNI-gx2RSW200-MIB.py
54100b88f1632183441c3e86f0cda6ade47ef2cf
[ "Apache-2.0" ]
permissive
agustinhenze/mibs.snmplabs.com
5d7d5d4da84424c5f5a1ed2752f5043ae00019fb
1fc5c07860542b89212f4c8ab807057d9a9206c7
refs/heads/master
2020-12-26T12:41:41.132395
2019-08-16T15:51:41
2019-08-16T15:53:57
237,512,469
0
0
Apache-2.0
2020-01-31T20:41:36
2020-01-31T20:41:35
null
UTF-8
Python
false
false
41,787
py
# # PySNMP MIB module OMNI-gx2RSW200-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/OMNI-gx2RSW200-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 20:24:25 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, ...
[ "dcwangmit01@gmail.com" ]
dcwangmit01@gmail.com
8a6e89aefd0aab863690b3f259ff2bcd29002021
9b54e3d58447e917a238b85891020c392c4ac601
/acmicpc/14470/14470.py
67e4bb02871ebb7925dcbc02a4a5f31a47ccf24e
[ "MIT" ]
permissive
love-adela/algorithm-ps
ea0ebcd641a4c309348b389b8618daa83973f4b2
c92d105d8ad344def001160367115ecf99d81c0d
refs/heads/master
2023-05-11T03:37:11.750692
2023-04-30T17:31:30
2023-04-30T17:31:30
174,651,672
0
0
null
null
null
null
UTF-8
Python
false
false
162
py
a = int(input()) b = int(input()) c = int(input()) d = int(input()) e = int(input()) if a < 0: time = -a* c + d +b *e else: time = (b-a) * e print(time)
[ "love.adelar@gmail.com" ]
love.adelar@gmail.com
95d4af7b8cfb565d8293b6691bd035ddde66ad43
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/Z8REdTE5P57f4q7dK_19.py
9bdc112052430aebd5d4e5509f2a4327f341d3b4
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
1,271
py
""" A Collatz sequence is generated like this. Start with a positive number. If it's even, halve it. If it's odd, multiply it by three and add one. Repeat the process with the resulting number. The Collatz Conjecture is that every sequence eventually reaches 1 (continuing past 1 just results in an endless repeat of ...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
2c7378d5804ce5a23049db468925321034b3b0f8
c23b4c6253ca5a0d42822dd0d28ffa752c11ebf5
/exercises/55ad104b-7e6b-4f79-85f7-99ab6d43946e/skeletons/6376fb9a-a7ba-4f6b-b910-33ae0f34729e/skeleton.py3
1dc8678357cebc450bba6ab2504ef1e7caf277c6
[]
no_license
josepaiva94/e57d8867-6234-41a6-b239-2cd978ad1e70
803e2eb1e2db23c64409bc72ff00c4463875a82f
aa270941dd8cf7b2e1ec8ac89445b1ab3a47f89d
refs/heads/master
2023-01-07T10:49:56.871378
2020-11-16T11:28:14
2020-11-16T11:28:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
243
py3
mac = input() def checkMAC(mac): mac_split = {{gap_1}} hex_arr = "ABCDEF0123456789" if {{gap_2}} is 6: for x in {{gap_2}}: if not({{gap_3}}) or not({{gap_4}}: return False return True else: return False print(checkMAC(mac))
[ "56930760+jcpaiva-fgpe@users.noreply.github.com" ]
56930760+jcpaiva-fgpe@users.noreply.github.com
cb9a9d19afb8978fb0f05ed8e8cc82e86052e9ce
469325b1fd3a6b88710bbbb4f5baa0a26404b37a
/Proj/.history/trafficapp/aicv/imgshandle_20201030055426.py
31fb8f916d0bfda891c0927036e367ce80096960
[]
no_license
axiat/IRCRA
7f0f8ef1a41b8b58d6bc836f960b9d5a29dcec0f
b55bfdd794bd8200fd6f74f57016effebdd9d3e6
refs/heads/master
2023-03-13T03:03:33.385625
2021-02-21T17:27:52
2021-02-21T17:27:52
305,881,747
2
0
null
null
null
null
UTF-8
Python
false
false
1,852
py
import cv2 import numpy as np import time from PyQt5.QtGui import QImage # def QImageToCvMat(self,incomingImage): # ''' Converts a QImage into an opencv MAT format ''' # incomingImage = incomingImage.convertToFormat(QtGui.QImage.Format_RGB888) # width = incomingImage.width() # height = inc...
[ "m13521259272@163.com" ]
m13521259272@163.com
ae089e7b09c6e18966e93cccf8067efcbfd52338
017fc2259e09ec8760bc473d436ad45e464044f4
/pennylane/templates/subroutines/grover.py
46f2d83ab8c0c452e0b5ed4121e61a5b35107d51
[ "Apache-2.0" ]
permissive
thomascherickal/pennylane
f1e8ef5b8ffa0c00601da30c39ff89318791e08f
20dcbbc2f86c3fbd3f6fe2a416300e2d2fc172d0
refs/heads/master
2021-10-09T16:15:44.500819
2021-09-28T19:18:23
2021-09-28T19:18:23
199,557,166
2
1
Apache-2.0
2021-09-28T19:18:23
2019-07-30T02:11:54
Python
UTF-8
Python
false
false
5,426
py
# Copyright 2018-2021 Xanadu Quantum Technologies 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...
[ "noreply@github.com" ]
thomascherickal.noreply@github.com
c783408703830e9ce5af701f85c93ff834e2edcd
325fde42058b2b82f8a4020048ff910cfdf737d7
/src/automation/azext_automation/vendored_sdks/automation/aio/operations/_key_operations.py
681d8e496bb3177248fc58d79101828166f94822
[ "LicenseRef-scancode-generic-cla", "MIT" ]
permissive
ebencarek/azure-cli-extensions
46b0d18fe536fe5884b00d7ffa30f54c7d6887d1
42491b284e38f8853712a5af01836f83b04a1aa8
refs/heads/master
2023-04-12T00:28:44.828652
2021-03-30T22:34:13
2021-03-30T22:34:13
261,621,934
2
5
MIT
2020-10-09T18:21:52
2020-05-06T01:25:58
Python
UTF-8
Python
false
false
4,781
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" ]
ebencarek.noreply@github.com
3a100943bf425183c885363493f4a98d0dcd5d1f
8890925319a25dc3df29f53d0d8125d347680f68
/looker_client_31/looker_sdk/dialect_info.py
b4b7fbe63b0ad9721c9bda7186538f7328c6c3f0
[ "MIT" ]
permissive
ContrastingSounds/looker_sdk_31
f5d300ae54aee1cc5a2621b36b49541db24ed248
f973434049fff1b605b10086ab8b84f2f62e3489
refs/heads/master
2020-03-19T20:31:24.785373
2018-06-11T09:41:36
2018-06-11T09:41:36
136,802,021
0
0
null
null
null
null
UTF-8
Python
false
false
9,857
py
# coding: utf-8 """ Experimental Looker API 3.1 Preview This API 3.1 is in active development. Breaking changes are likely to occur to some API functions in future Looker releases until API 3.1 is officially launched and upgraded to beta status. If you have time and interest to experiment with new or modifie...
[ "looker@MacBook-Pro.local" ]
looker@MacBook-Pro.local
7fb5057297d318075054c980e2bc6573327fbf36
4f79193bea8bd011f01966535eac14700d652783
/wejapa/bin/django-admin.py
600b6ab29608a37b3ae556fb1f93a0a66b4b3179
[]
no_license
Janice-M/puppy-store
8aa92ee687f87f96c485e5a19b66e943e0733401
4089346cbed5aafcee3e615fa7da33418f66c03c
refs/heads/main
2023-01-24T06:41:33.355277
2020-11-30T20:50:13
2020-11-30T20:50:13
308,664,959
0
0
null
null
null
null
UTF-8
Python
false
false
692
py
#!/home/moringa/Documents/Django/pup/wejapa/bin/python3.6 # When the django-admin.py deprecation ends, remove this script. import warnings from django.core import management try: from django.utils.deprecation import RemovedInDjango40Warning except ImportError: raise ImportError( 'django-admin.py was d...
[ "janiceink001@gmail.com" ]
janiceink001@gmail.com
9e9f504f0fb585777d13b480599377adfccab439
4a28e3e3afb28c0455ea21cfb983c3a8284dc5dd
/I E4.py
ee1a12a4cf658e738806f55aa474029ddec31781
[]
no_license
omdeshmukh20/Python-3-Programming
60f6bc4e627de9d643a429e64878a636f3875cae
9fb4c7fa54bc26d18b69141493c7a72e0f68f7d0
refs/heads/main
2023-08-28T04:37:27.001888
2021-10-29T17:03:34
2021-10-29T17:03:34
370,008,995
0
0
null
null
null
null
UTF-8
Python
false
false
274
py
#Discription: List of pets using if else #Date: 06/09/21 #Author : Om Deshmukh myPets = ['Zophie', 'Pooka', 'Fat-tail'] print('Enter a pet name:') name = input() if name not in myPets: print('I do not have a pet named ' + name) else: print(name + ' is my pet.')
[ "noreply@github.com" ]
omdeshmukh20.noreply@github.com
60ad984973c35369bf1cb81993e908362db04f80
a31c54cb9b27e315567ed865e07cb720fc1e5c8e
/revenge/engines/frida/memory/__init__.py
822cf4949f39526faed7b7372b6be6f31b0ee14f
[]
no_license
bannsec/revenge
212bc15e09f7d864c837a1829b3dc96410e369d3
2073b8fad76ff2ba21a5114be54e959297aa0cf9
refs/heads/master
2021-06-25T12:26:02.609076
2020-05-29T15:46:45
2020-05-29T15:46:45
188,461,358
51
6
null
null
null
null
UTF-8
Python
false
false
305
py
import logging logger = logging.getLogger(__name__) from .memory_range import FridaMemoryRange as MemoryRange from .map import FridaMemoryMap as MemoryMap from .find import FridaMemoryFind as MemoryFind from .memory_bytes import FridaMemoryBytes as MemoryBytes from .memory import FridaMemory as Memory
[ "whootandahalf@gmail.com" ]
whootandahalf@gmail.com
89ae8ec0dd62583e9077cefef17f34b296f50654
1061216c2c33c1ed4ffb33e6211565575957e48f
/python/openapi_client/model/invalid_message_error.py
222cb173171af386100ac7a72458aaa39665c43e
[]
no_license
MSurfer20/test2
be9532f54839e8f58b60a8e4587348c2810ecdb9
13b35d72f33302fa532aea189e8f532272f1f799
refs/heads/main
2023-07-03T04:19:57.548080
2021-08-11T19:16:42
2021-08-11T19:16:42
393,920,506
0
0
null
null
null
null
UTF-8
Python
false
false
14,092
py
""" Zulip REST API Powerful open source group chat # noqa: E501 The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech """ import re # noqa: F401 import sys # noqa: F401 from openapi_client.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ...
[ "suyash.mathur@research.iiit.ac.in" ]
suyash.mathur@research.iiit.ac.in
d6ad8fc4e2dc393c5f84371c25df764c88bad91e
4057e59cda5a7b680f44a823163c2e59df550139
/aliyun-python-sdk-green/aliyunsdkgreen/request/v20180509/PostAsyncScanRequest.py
8940bef200f5543e8282dcc33fb035d3a8971f5f
[ "Apache-2.0" ]
permissive
Ma233/aliyun-openapi-python-sdk
01af5ff520a99bddef6a146b4ab17a666c2cf32a
7013a2673d20ac32355d0a31cd65a4c8fa36576b
refs/heads/master
2023-04-04T13:07:45.188734
2021-04-12T01:57:58
2021-04-12T01:57:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,491
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...
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
822d582d60b187270c671e09858a3f9f60a052bf
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/contrib/cv/detection/FCOS/configs/hrnet/htc_x101_64x4d_fpn_16x1_28e_coco.py
459af318e785d119b5afef5f25a3095c1cd4e665
[ "Apache-2.0", "GPL-1.0-or-later", "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
122
py
_base_ = '../htc/htc_x101_64x4d_fpn_16x1_20e_coco.py' # learning policy lr_config = dict(step=[24, 27]) total_epochs = 28
[ "wangjiangben@huawei.com" ]
wangjiangben@huawei.com
0ff9d5df07821b0ccf07676e580cb14b38ecf5a9
bb33e6be8316f35decbb2b81badf2b6dcf7df515
/source/res/scripts/client/gui/scaleform/daapi/view/meta/browsermeta.py
03baa92387d38a7e9c7d66f787f593bbf42db740
[]
no_license
StranikS-Scan/WorldOfTanks-Decompiled
999c9567de38c32c760ab72c21c00ea7bc20990c
d2fe9c195825ececc728e87a02983908b7ea9199
refs/heads/1.18
2023-08-25T17:39:27.718097
2022-09-22T06:49:44
2022-09-22T06:49:44
148,696,315
103
39
null
2022-09-14T17:50:03
2018-09-13T20:49:11
Python
UTF-8
Python
false
false
1,992
py
# Python bytecode 2.7 (decompiled from Python 2.7) # Embedded file name: scripts/client/gui/Scaleform/daapi/view/meta/BrowserMeta.py from gui.Scaleform.framework.entities.BaseDAAPIComponent import BaseDAAPIComponent class BrowserMeta(BaseDAAPIComponent): def browserAction(self, action): self._printOverrid...
[ "StranikS_Scan@mail.ru" ]
StranikS_Scan@mail.ru
aa3bf61bfc07d94f00d6817e70534ec9f50a0ba4
0eaf0d3f0e96a839f2ef37b92d4db5eddf4b5e02
/past12/k.py
a9705a280a1da017a04972e470fa5eb408fb0a6b
[]
no_license
silphire/atcoder
b7b02798a87048757745d99e8564397d1ca20169
f214ef92f13bc5d6b290746d5a94e2faad20d8b0
refs/heads/master
2023-09-03T17:56:30.885166
2023-09-02T14:16:24
2023-09-02T14:16:24
245,110,029
0
0
null
null
null
null
UTF-8
Python
false
false
1,904
py
from collections import defaultdict class UnionFind(object): """ Union-Find (Disjoint Set Union) """ def __init__(self, n: int): assert n > 0 self.parent = [x for x in range(n)] self.size = [1] * n def root(self, x: int) -> int: if self.parent[x] != x: ...
[ "silphire@gmail.com" ]
silphire@gmail.com
21cc95eced5ffb9542d47d29cc4edd83e4b704eb
3339d4a79ff8670b5cf81dcbfd9ff4d477adad46
/setup.py
6872dd60dbbc2cb1391205b9f9bccfda4a3b5955
[ "MIT" ]
permissive
djm/elasticsearch-django
a83314854a2c0b7e1dfcecf9190734e47eb5b752
2e607846ed4cc716aff9ac2b65182f45c21b6fd8
refs/heads/master
2020-05-23T10:19:43.984729
2017-01-13T16:23:59
2017-01-13T17:24:49
80,419,713
0
0
null
2017-01-30T12:31:47
2017-01-30T12:31:46
null
UTF-8
Python
false
false
1,452
py
# -*- coding: utf-8 -*- from os import path, chdir, pardir from setuptools import setup, find_packages README = open(path.join(path.dirname(__file__), 'README.rst')).read() # requirements.txt must be included in MANIFEST.in and include_package_data must be True # in order for this to work; ensures that tox can use the...
[ "hugo@yunojuno.com" ]
hugo@yunojuno.com
986af905818ae3d5de425d83b122f62b130e2ab9
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2205/60696/263490.py
8c63e98e28ee66ededfef13e5763a6545d7bb62a
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
386
py
class Solution: def numberOfWays(self, n: int) -> int: res = 1 for i in range(1, n // 2 + 1): res *= n - i + 1 res //= i return res // (n // 2 + 1) % (10**9 + 7) if __name__ == '__main__': n = int(input()) for i in range(n): num = int(input()) ...
[ "1069583789@qq.com" ]
1069583789@qq.com
0c4b8efc0a4cfc2d7b71757971ac85a9988ef90b
727f1bc2205c88577b419cf0036c029b8c6f7766
/out-bin/py/google/fhir/labels/bundle_to_label_test.runfiles/pypi__apache_beam_2_9_0/apache_beam/typehints/typehints_test.py
8de414a779dc8b7df9e42b5ff02f8e76712adad7
[ "Apache-2.0" ]
permissive
rasalt/fhir
55cf78feed3596a3101b86f9e9bbf6652c6ed4ad
d49883cc4d4986e11ca66058d5a327691e6e048a
refs/heads/master
2020-04-13T00:16:54.050913
2019-01-15T14:22:15
2019-01-15T14:22:15
160,260,223
0
0
Apache-2.0
2018-12-03T22:07:01
2018-12-03T22:07:01
null
UTF-8
Python
false
false
149
py
/home/rkharwar/.cache/bazel/_bazel_rkharwar/c4bcd65252c8f8250f091ba96375f9a5/external/pypi__apache_beam_2_9_0/apache_beam/typehints/typehints_test.py
[ "ruchika.kharwar@gmail.com" ]
ruchika.kharwar@gmail.com
b2a403561e60d00efd9c1a6062fcb318dbe0fc98
d8cbe9ce0469f72b8929af01538b6ceddff10a38
/tests/components/repairs/test_websocket_api.py
206cedbe6a537826737075ab92511bc267f0170a
[ "Apache-2.0" ]
permissive
piitaya/home-assistant
9c1ba162dac9604e4d43e035e74bad7bba327f0b
48893738192431f96966998c4ff7a3723a2f8f4a
refs/heads/dev
2023-03-07T16:13:32.117970
2023-01-10T17:47:48
2023-01-10T17:47:48
172,578,293
3
1
Apache-2.0
2023-02-22T06:15:56
2019-02-25T20:19:40
Python
UTF-8
Python
false
false
16,249
py
"""Test the repairs websocket API.""" from __future__ import annotations from collections.abc import Awaitable, Callable from http import HTTPStatus from unittest.mock import ANY, AsyncMock, Mock from aiohttp import ClientSession, ClientWebSocketResponse from freezegun import freeze_time import pytest import voluptuo...
[ "noreply@github.com" ]
piitaya.noreply@github.com
73d320126cdceeed526c2541becb2e67e6003c88
033095b33abcef8ac34638a277de11ab734cf642
/Chapter04/Refactoring/point_v3.py
929c6d925f187b40c1dc7872edeb211b1229dadc
[ "MIT" ]
permissive
PacktPublishing/Hands-On-Application-Development-with-PyCharm
fa2df6bfbe06272a4314a83f03cd90030ed2d466
9998906b754a44ced6789e850e8eed139bec0a97
refs/heads/master
2023-04-27T23:49:31.779700
2023-01-18T09:11:50
2023-01-18T09:11:50
175,549,552
40
45
MIT
2023-04-21T20:31:21
2019-03-14T04:43:12
Python
UTF-8
Python
false
false
1,455
py
from math import sqrt from matplotlib import pyplot as plt class Point(): def __init__(self, x, y): self.x = x self.y = y def __str__(self): return f'Point ({self.x}, {self.y})' def __add__(self, p): return Point(self.x + p.x, self.y + p.y) def __sub__(self, p): ...
[ "nguyenminhquan135@gmail.com" ]
nguyenminhquan135@gmail.com
98930418fa6ba8447e3892b6d3617b8dd0694d2e
f62fd455e593a7ad203a5c268e23129473d968b6
/swift-2.13.1/swift/obj/reconstructor.py
35d70b01dfeb03763f5da60a33e64dc896e3371d
[ "Apache-2.0" ]
permissive
MinbinGong/OpenStack-Ocata
5d17bcd47a46d48ff9e71e2055f667836174242f
8b7650128cfd2fdf5d6c8bc4613ac2e396fb2fb3
refs/heads/master
2021-06-23T05:24:37.799927
2017-08-14T04:33:05
2017-08-14T04:33:05
99,709,985
0
2
null
2020-07-22T22:06:22
2017-08-08T15:48:44
Python
UTF-8
Python
false
false
43,604
py
# Copyright (c) 2010-2015 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 agree...
[ "gongwayne@hotmail.com" ]
gongwayne@hotmail.com
5c1049545c0c2a10a0f9a258fb0b91f1efd85336
09122d8d733d17f5c7fa79c1f167b63ef83d6838
/LeetCode_Algorithm_I/binary_search.py
d9c336c0ef5bf9bc398707f400382081fdfb60bb
[]
no_license
vipulsingh24/DSA
e294ec4aa1b6db2e0ab658f0c7d8389c42563fe2
bcad07d073b064428bcb1bfe7c53f1e785ecc4eb
refs/heads/main
2023-08-17T00:57:44.232545
2021-10-10T17:53:59
2021-10-10T17:53:59
391,599,514
1
0
null
null
null
null
UTF-8
Python
false
false
988
py
""" Given an array of integers nums which is sorted in ascending order, and an integer target, write a function to search target in nums. If target exists, then return its index. Otherwise, return -1. You must write an algorithm with O(log n) runtime complexity. """ class Solution: def search(self, nums: List[in...
[ "letsmailvipul@gmail.com" ]
letsmailvipul@gmail.com
e14af7bd3ccfa9c72e9e4ce26896deedd4f79e9a
4f325c55882487af0aab8853179a7ed5867953b9
/psfr.py
b8fc850ab94f79025a8daf47044fb7bf8c9fc39a
[]
no_license
ravijaya/oct26
6ce7112f85db86fa41fbb2ff6f9f01650055ad6a
64f7dbe759ddc652297365c8a635b239e1ef0cba
refs/heads/master
2020-08-28T12:29:54.644234
2019-10-26T11:41:41
2019-10-26T11:41:41
217,700,205
0
0
null
null
null
null
UTF-8
Python
false
false
76
py
fp = open('passwd.txt') for temp in fp: print(temp, end='') fp.close()
[ "ravijaya@localhost.localdomain" ]
ravijaya@localhost.localdomain
ba918c9a370632727defbf27b9f61360d89b1d1e
391a40002b63daff8bb056b2f0b2ae3f7ee52bb3
/项目/4组_基于MTCNN与FaceNet的人脸识别/4组_基于MTCNN与FaceNet的人脸识别/src/face.py
5c903bc4586d85543ca2a0df1e690a7e91cf937e
[]
no_license
realllcandy/USTC_SSE_Python
7b40f0e4ae3531fc41683fd19f71a58ce3815cdb
3ac15a95e8a99491c322481a70c14b6ab830082f
refs/heads/master
2023-03-17T21:30:19.068695
2020-10-10T06:15:28
2020-10-10T06:15:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,374
py
import pickle import os import cv2 import numpy as np import tensorflow as tf from scipy import misc import align.detect_face import facenet gpu_memory_fraction = 0.3 facenet_model_checkpoint = os.path.dirname(__file__) + "/../src/models/20180402-114759" classifier_model = os.path.dirname(__file__) + "/../src/mode...
[ "321699849@qq.com" ]
321699849@qq.com
f97edd5d3b27d38201267d468279199221e65350
275f3a3dce44f35a5dc1a626e2052c006bdb71bf
/python3/hackerrank_leetcode/longest_common_prefix/test.py
72dd75f74c79b1a194638843eaa41b43c1a81fa7
[ "MIT" ]
permissive
seLain/codesnippets
79b7655950b160af7f2b9fa94712594f95a4794d
ae9a1fa05b67f4b3ac1703cc962fcf5f6de1e289
refs/heads/master
2018-10-08T10:29:53.982156
2018-07-23T13:32:26
2018-07-23T13:32:26
114,009,746
0
0
null
null
null
null
UTF-8
Python
false
false
574
py
import unittest from main import Solution class TestSolutionMethods(unittest.TestCase): solution = Solution() def test_longestCommonPrefix(self): # leetcode test self.assertEqual(self.solution.longestCommonPrefix([]), "") # customized test self.assertEqual(self.solution.longes...
[ "selain@nature.ee.ncku.edu.tw" ]
selain@nature.ee.ncku.edu.tw
bd4e18303be56e4297aec515f2a890f7a7d2110e
2b42b40ae2e84b438146003bf231532973f1081d
/spec/mgm4440359.3.spec
7ed6f3d63fabce9fb95651b59b7b807fb943d9a4
[]
no_license
MG-RAST/mtf
0ea0ebd0c0eb18ec6711e30de7cc336bdae7215a
e2ddb3b145068f22808ef43e2bbbbaeec7abccff
refs/heads/master
2020-05-20T15:32:04.334532
2012-03-05T09:51:49
2012-03-05T09:51:49
3,625,755
0
1
null
null
null
null
UTF-8
Python
false
false
23,438
spec
{ "id": "mgm4440359.3", "metadata": { "mgm4440359.3.metadata.json": { "format": "json", "provider": "metagenomics.anl.gov" } }, "providers": { "metagenomics.anl.gov": { "files": { "100.preprocess.info": { ...
[ "jared.wilkening@gmail.com" ]
jared.wilkening@gmail.com
b0e9f516a7ab0d93d6432ced24d61642820d19a9
900b98964288a9cb0aaf2e45706ae2b32f92657f
/tests/adspygoogle/common/alltests.py
a8a8e8f47269f3b9e2fd541f8114cc50a28eed09
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
krux/adspygoogle
df2405c2042aa9c9a83d97b8442afe68572e3e2e
6505a71122f45fe3e675f27f2c29f67a1768069b
refs/heads/master
2022-02-22T08:55:19.777002
2022-02-11T22:42:19
2022-02-11T22:42:19
7,103,378
0
0
null
null
null
null
UTF-8
Python
false
false
1,404
py
#!/usr/bin/python # # Copyright 2010 Google Inc. 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 b...
[ "charlie@schluting.com" ]
charlie@schluting.com
dbc9dd7e5d35001f7256ece833eb55efa0b57991
00ab868fdab064e1674193d43204ef3d3f89b658
/docs/conf.py
6a19c95d2e15a7362bdb4490793c9df4bb30c775
[]
no_license
jeffbuttars/django-futures
83b29b37552f6a9c1f288197b7a5cb66b32fb203
ba80a340d264c70bc411dd9944f7047f044245bb
refs/heads/master
2020-05-18T10:40:00.908843
2014-08-24T16:45:03
2014-08-24T16:45:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,301
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # DjangoFutures documentation build configuration file, created by # sphinx-quickstart on Fri Jul 25 21:14:57 2014. # # This file is execfile()d with the current directory set to its # containing dir. # # Note that not all possible configuration values are present in thi...
[ "jeffbuttars@gmail.com" ]
jeffbuttars@gmail.com
4a462bf150a9a56a7a27908dbbbfb4f65c656ad2
3325f16c04ca8e641cbd58e396f983542b793091
/Seção 07 - Coleções Python/Exercícios da Seção/Exercício_44.py
e74cdc81ca838e39ebaaefe45c5c38d333e4831a
[]
no_license
romulovieira777/Programacao_em_Python_Essencial
ac929fbbd6a002bcc689b8d6e54d46177632c169
e81d219db773d562841203ea370bf4f098c4bd21
refs/heads/master
2023-06-11T16:06:36.971113
2021-07-06T20:57:25
2021-07-06T20:57:25
269,442,342
0
0
null
null
null
null
UTF-8
Python
false
false
666
py
""" 44) Leia uma matriz 5 x 5. Leia também um valor X. O programa deverá fazer uma busca desse valor na matriz e, ao final, escrever a localização (linha e coluna) ou mensagem de "não encontrado". """ lista1 = [] for i in range(5): lista2 = [] for j in range(5): num = int(input("Enter a number: ")) ...
[ "romulo.vieira777@gmail.com" ]
romulo.vieira777@gmail.com
a15cc26b1d7917df84ed6039e6ad915c5581b902
517d461257edd1d6b239200b931c6c001b99f6da
/HalloWing/CircuitPython/testing_transistors_w_motor.py
025c05429c16510fc22b9c3cc91a10e59c07db35
[]
no_license
cmontalvo251/Microcontrollers
7911e173badff93fc29e52fbdce287aab1314608
09ff976f2ee042b9182fb5a732978225561d151a
refs/heads/master
2023-06-23T16:35:51.940859
2023-06-16T19:29:30
2023-06-16T19:29:30
229,314,291
5
3
null
null
null
null
UTF-8
Python
false
false
686
py
import board import digitalio import time import touchio import audioio from analogio import AnalogIn,AnalogOut #Set up Touch Buttons touch1 = touchio.TouchIn(board.TOUCH1) touch2 = touchio.TouchIn(board.TOUCH2) touch3 = touchio.TouchIn(board.TOUCH3) touch4 = touchio.TouchIn(board.TOUCH4) #print(dir(board)) #analog_b...
[ "cmontalvo251@gmail.com" ]
cmontalvo251@gmail.com
830acf70ecae7fd6e2f7dc1714aff73773a35e2c
7efee8fb6eb0fa0c3474eeee6344f0c3a5842ff1
/discourse/__init__.py
8cda3bd93fb73ad81fb65a473bed545b69e8a8f8
[]
no_license
nyddle/Discourse
ca0f4eaec039b859a607423c81d97367442c2d3a
031b5bbe7520bfd00addce291661f3e0d8d1e204
refs/heads/master
2021-01-15T21:20:39.699191
2014-05-16T01:55:06
2014-05-16T01:55:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
886
py
from notice import subscribe, unsubscribe, is_subscribed, send_event, render_mail, send_mail from models import (model_sig, get_instance_from_sig, comment_manipulate, attachment_manipulate, document_manipulate, library_...
[ "deadwisdom@gmail.com" ]
deadwisdom@gmail.com
09cdd6da39ecd793c55b596eeafdfec3a03a092e
6daa3815511b1eb1f4ff3a40b7e9332fab38b8ef
/tastesavant/taste/tests/steps.py
1de3767d55e2ec324a42e1607c1b534641af88ed
[]
no_license
kaizensoze/archived-projects
76db01309453606e6b7dd9d2ff926cfee42bcb05
d39ac099cb40131bac5de66bde7d0e2db5f74189
refs/heads/master
2021-05-31T12:16:17.800730
2016-02-23T00:27:56
2016-02-23T00:27:56
14,407,212
1
0
null
null
null
null
UTF-8
Python
false
false
6,601
py
# -*- coding: utf-8 -*- from urlparse import urlparse from django.contrib.auth import login, authenticate from django.contrib.auth.models import User from django.http import HttpRequest from lettuce import step, world from lettuce.django import django_url from lettuce_webdriver.util import AssertContextManager from ...
[ "gallo.j@gmail.com" ]
gallo.j@gmail.com
281e26ea1ec3a66c875c9fcbfcddf7bea0ab7124
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02735/s901108588.py
f6b1a85f048bbee1370c201a20c65c14f71472da
[]
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
157
py
_,*s=open(0);t="." b=t*101;q=range(101);i=0 for s in s: a=[i];i+=1 for x,y,z,c in zip(b,t+s,s,q):a+=min(c+(t>z<x),a[-1]+(t>z<y)), b,q=s,a[1:] print(a[-2])
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
877aeeda55babf2eddf7c6b3e99bbcd34aa7de6b
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2065/60581/238639.py
0b6140cd9552c6b8e6249ceccb99bf5ca41994cc
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
1,160
py
str = list(input()) number = '' i = 0 judge = False while i < len(str): if not judge: if str[i]==' ' or str[i]=='"': i += 1 elif str[i]=='-': judge = True number += str[i] i += 1 elif str[i]>='0' and str[i]<='9': judge = True ...
[ "1069583789@qq.com" ]
1069583789@qq.com
0ac9b7d50b3f82f281b0d8fbcb21e8b9c3ef7b46
6329ece221f3b2295cb3791168c876d260ed0c31
/test_learn/chapter4基本窗口控件/对话框类控件/QFileDialog.py
ab66856621d3dd3617c5317bdf95c2ce59f1a629
[]
no_license
dxcv/PythonGUI
4908e049dde5e569a3ad916c6bac385c7953a243
a39beef0006e3e4057e3a9bcb3e0e64ea790427e
refs/heads/master
2020-05-17T17:14:58.250549
2019-04-11T09:32:52
2019-04-11T09:32:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,655
py
# -*- coding:UTF-8 -*- from PyQt5.QtWidgets import * from PyQt5.QtCore import * from PyQt5.QtGui import * import sys class fileDialogDemo(QWidget): def __init__(self,parent=None): super(fileDialogDemo,self).__init__(parent) self.setWindowTitle("Demo") self.resize(500,500) self.move...
[ "834819108@qq.com" ]
834819108@qq.com
cbfb0a7ceefd20b47c2632746185783e57fbe556
6ef3b1919e7acbc72e5706b2dc6d716f8929e3d2
/pytorch_lightning/trainer/optimizers.py
663871d98b419c6f3037dcb83eff927bbacd78ae
[ "MIT" ]
permissive
linshaoxin-maker/taas
04f7dcc7c0d2818718e6b245531e017ca5370231
34e11fab167a7beb78fbe6991ff8721dc9208793
refs/heads/main
2023-01-19T20:58:04.459980
2020-11-27T02:28:36
2020-11-27T02:28:36
329,522,465
6
0
MIT
2021-01-14T06:02:08
2021-01-14T06:02:07
null
UTF-8
Python
false
false
6,897
py
from abc import ABC from typing import List, Tuple import torch from torch import optim from torch.optim.optimizer import Optimizer from pytorch_lightning.core.lightning import LightningModule from pytorch_lightning.utilities import rank_zero_warn class TrainerOptimizersMixin(ABC): def init_optimizers( ...
[ "czh097@gmail.com" ]
czh097@gmail.com
cd62d851128b56dfad4c05a46bf175597a5648dd
ef7eabdd5f9573050ef11d8c68055ab6cdb5da44
/topCoder/srms/500s/srm501/div2/fox_progression.py
7d232b6426e31efc69bb07c2a286459f0cdd6a0f
[ "WTFPL" ]
permissive
gauravsingh58/algo
cdbf68e28019ba7c3e4832e373d32c71902c9c0d
397859a53429e7a585e5f6964ad24146c6261326
refs/heads/master
2022-12-28T01:08:32.333111
2020-09-30T19:37:53
2020-09-30T19:37:53
300,037,652
1
1
WTFPL
2020-10-15T09:26:32
2020-09-30T19:29:29
Java
UTF-8
Python
false
false
570
py
class FoxProgression: def theCount(self, seq): if len(seq) == 1: return -1 a, m = seq[1]-seq[0], seq[1]/float(seq[0]) af, mf = True, m == int(m) c = sum((af, mf)) for i, j in zip(seq[1:], seq[2:]): if af and j-i != a: af = False ...
[ "elmas.ferhat@gmail.com" ]
elmas.ferhat@gmail.com
a1eca980f1e7db4ea2bb2c1345ea2b21ac48c02d
edfdc0d3a2fdeed95ba7aa3d0e198eb9dafe4064
/operator_api/auditor/serializers/wallet_state.py
1112734b67db81e9f2b2170501516b8880cfed53
[ "MIT", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
xiaobai900/nocust-hub
880e72ba4e1d324ae36adea6c03c9761a7d91621
76f49f9b8a6c264fcbe9e0c110e98031d463c0a8
refs/heads/master
2023-05-28T08:18:17.402228
2020-11-01T19:48:17
2020-11-01T19:48:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,988
py
from rest_framework import serializers from ledger.models import Transfer, Deposit, WithdrawalRequest, Withdrawal from django.db.models import Q from .admission import AdmissionSerializer from .proof import ProofSerializer from .transfer import TransactionSerializer from .deposit import DepositSerializer from .withdraw...
[ "guillaume@felley.io" ]
guillaume@felley.io
0d1b22f3e6aacb8bee17e5edebb65a999f43f842
612325535126eaddebc230d8c27af095c8e5cc2f
/depot_tools/external_bin/gsutil/gsutil_4.15/gsutil/third_party/boto/boto/codedeploy/__init__.py
f48c2dae9e305a94834d5aaafbadc02808f60652
[ "Apache-2.0", "MIT", "BSD-3-Clause" ]
permissive
TrellixVulnTeam/proto-quic_1V94
1a3a03ac7a08a494b3d4e9857b24bb8f2c2cd673
feee14d96ee95313f236e0f0e3ff7719246c84f7
refs/heads/master
2023-04-01T14:36:53.888576
2019-10-17T02:23:04
2019-10-17T02:23:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,703
py
# Copyright (c) 2015 Amazon.com, Inc. or its affiliates. All Rights Reserved # # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (the # "Software"), to deal in the Software without restriction, including # without limitation the ri...
[ "2100639007@qq.com" ]
2100639007@qq.com
b13acb7fc13d6d4bd873a484ebf7f63ace15afc0
9eaa2c64a777bd24a3cccd0230da5f81231ef612
/study/1905/month01/code/Stage4/day10/02_renrenlogin2.py
31c6c8f20308f336b60ec8fed5843bcce90c5158
[ "MIT" ]
permissive
Dython-sky/AID1908
4528932f2ca66b844d8a3fcab5ed8bf84d20eb0c
46cd54a7b36b5f009974f2bbb7005a4ad440ca1a
refs/heads/master
2022-04-14T12:23:30.426270
2020-04-01T18:05:19
2020-04-01T18:05:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,801
py
import requests from lxml import etree class RenrenLogin(object): def __init__(self): # 抓取的url地址 self.url = 'http://www.renren.com/973116780/profile' self.headers = { 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729...
[ "dong_1998_dream@163.com" ]
dong_1998_dream@163.com
57d19a3a065a491b3910d9971156d10e1ef56fb4
ce5362e8871b53b02c0a95f82fba8df98ccccad1
/Service/debug.py
f62461eaaf82a35cabf20b378a19acb411186ea5
[]
no_license
git-hacker/TeamA_NOISES
d7c810ed44d6694b5e6933e87ac3ac221f806e24
def359e752b84aab0b16cfb2cecf3412f684bfab
refs/heads/master
2020-03-28T08:57:45.337321
2018-09-10T15:45:08
2018-09-10T15:45:08
148,002,844
1
0
null
null
null
null
UTF-8
Python
false
false
707
py
import librosa import numpy as np def read_wav(path, fs=16000): data, _ = librosa.load(path, sr=fs) return np.trim_zeros(data) def play(array, fs=16000): import sounddevice as sd print("Playing audio...") sd.play(array, fs, blocking=True) print("Stop playing.\n") def denoise(wave, sr=16000): ...
[ "gradschool.hchen13@gmail.com" ]
gradschool.hchen13@gmail.com
e102783efdf5acc7145bb6ca5f1590a771086b2d
32eeb97dff5b1bf18cf5be2926b70bb322e5c1bd
/benchmark/KISS/testcase/firstcases/testcase3_003.py
15f1fa5f77c982ba7400d547ef607b57ab7e9616
[]
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
5,016
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