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
47c68f5550020ffd8c66538dcdee9f926df339e0
ed90fcbfd1112545fa742e07131159bb3a68246a
/smry/server-auth/ls/google-cloud-sdk/lib/googlecloudsdk/test/lib/__init__.py
f2cae56ff39040c1d4cd33fb9ca3f109f99a3aa2
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
wemanuel/smry
2588f2a2a7b7639ebb6f60b9dc2833f1b4dee563
b7f676ab7bd494d71dbb5bda1d6a9094dfaedc0a
refs/heads/master
2021-01-10T21:56:55.226753
2015-08-01T13:37:06
2015-08-01T13:37:06
40,047,329
0
1
Apache-2.0
2020-07-24T18:32:40
2015-08-01T13:26:17
Python
UTF-8
Python
false
false
78
py
# Copyright 2014 Google Inc. All Rights Reserved. """Package marker file."""
[ "wre@thenandchange.org" ]
wre@thenandchange.org
ed41b26861e13f415189c6db87c859af74e7b2c1
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03576/s621549750.py
9c1dcee56ff91bf5c0df91ebee5787daa09c66f4
[]
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
426
py
from itertools import combinations N, K = map(int, input().split()) dots = sorted([tuple(map(int, input().split())) for _ in range(N)], key=lambda x: x[0]) ans = 10 ** 37 for i in range(N): for j in range(i+K-1, N): width = dots[j][0] - dots[i][0] y = sorted([l for _, l in dots[i:j+1]]) for...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
60dd207c258ccd6f167880d58ce6ac0f84733928
2f557f60fc609c03fbb42badf2c4f41ef2e60227
/RecoTauTag/RecoTau/python/PFRecoTauDiscriminationByFlightPathSignificance_cfi.py
36e010a0ed713f14c713d48bc624a063db058a71
[ "Apache-2.0" ]
permissive
CMS-TMTT/cmssw
91d70fc40a7110832a2ceb2dc08c15b5a299bd3b
80cb3a25c0d63594fe6455b837f7c3cbe3cf42d7
refs/heads/TMTT_1060
2020-03-24T07:49:39.440996
2020-03-04T17:21:36
2020-03-04T17:21:36
142,576,342
3
5
Apache-2.0
2019-12-05T21:16:34
2018-07-27T12:48:13
C++
UTF-8
Python
false
false
663
py
import FWCore.ParameterSet.Config as cms from RecoTauTag.RecoTau.PFRecoTauQualityCuts_cfi import PFTauQualityCuts from RecoTauTag.RecoTau.TauDiscriminatorTools import requireLeadTrack pfRecoTauDiscriminationByFlightPathSignificance = cms.EDProducer("PFRecoTauDiscriminationByFlightPathSignificance", PFTauProducer ...
[ "giulio.eulisse@gmail.com" ]
giulio.eulisse@gmail.com
06d388c371d7cfeba68b8d59ba4d75ce33bdac6d
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_pelted.py
501461d3ba8b326ca7696ef5fd7e0a439acbf3ab
[ "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
226
py
from xai.brain.wordbase.nouns._pelt import _PELT #calss header class _PELTED(_PELT, ): def __init__(self,): _PELT.__init__(self) self.name = "PELTED" self.specie = 'nouns' self.basic = "pelt" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
f14cb23cdc30cf19719b7bb74b35680769dd7388
65c001b5f572a6b0ca09dd9821016d628b745009
/frappe-bench/env/lib/python2.7/site-packages/github/GitReleaseAsset.py
158a04214e40bc58ac3649bafece42932cb7907b
[ "LGPL-3.0-or-later", "MIT" ]
permissive
ibrahmm22/library-management
666dffebdef1333db122c2a4a99286e7c174c518
b88a2129a5a2e96ce1f945ec8ba99a0b63b8c506
refs/heads/master
2022-10-30T17:53:01.238240
2020-06-11T18:36:41
2020-06-11T18:36:41
271,620,992
0
1
MIT
2022-10-23T05:04:57
2020-06-11T18:36:21
CSS
UTF-8
Python
false
false
7,913
py
# -*- coding: utf-8 -*- ############################ Copyrights and license ############################ # # # Copyright 2017 Chris McBride <thehighlander@users.noreply.github.com> # # Copyright 2017 Simon <spam@esemi.ru> ...
[ "iabouelftouh@trudoc24x7.com" ]
iabouelftouh@trudoc24x7.com
14c9fb58f15c5a71e8ff336a95746353006eff16
f9d564f1aa83eca45872dab7fbaa26dd48210d08
/huaweicloud-sdk-cloudtest/huaweicloudsdkcloudtest/v1/model/result_value_custom_report_list_vo.py
231bbacdefbace4efefa66947671dd527112d36b
[ "Apache-2.0" ]
permissive
huaweicloud/huaweicloud-sdk-python-v3
cde6d849ce5b1de05ac5ebfd6153f27803837d84
f69344c1dadb79067746ddf9bfde4bddc18d5ecf
refs/heads/master
2023-09-01T19:29:43.013318
2023-08-31T08:28:59
2023-08-31T08:28:59
262,207,814
103
44
NOASSERTION
2023-06-22T14:50:48
2020-05-08T02:28:43
Python
UTF-8
Python
false
false
7,221
py
# coding: utf-8 import six from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class ResultValueCustomReportListVo: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key i...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
220fa83f81032a07c6d77501f5a361cab5abe73e
3784495ba55d26e22302a803861c4ba197fd82c7
/venv/lib/python3.6/site-packages/nltk/sem/chat80.py
9500b35751d18830ca497446066f5becb8bc8bc4
[ "MIT" ]
permissive
databill86/HyperFoods
cf7c31f5a6eb5c0d0ddb250fd045ca68eb5e0789
9267937c8c70fd84017c0f153c241d2686a356dd
refs/heads/master
2021-01-06T17:08:48.736498
2020-02-11T05:02:18
2020-02-11T05:02:18
241,407,659
3
0
MIT
2020-02-18T16:15:48
2020-02-18T16:15:47
null
UTF-8
Python
false
false
25,888
py
# Natural Language Toolkit: Chat-80 KB Reader # See http://www.w3.org/TR/swbp-skos-core-guide/ # # Copyright (C) 2001-2019 NLTK Project # Author: Ewan Klein <ewan@inf.ed.ac.uk>, # URL: <http://nltk.sourceforge.net> # For license information, see LICENSE.TXT """ Overview ======== Chat-80 was a natural language system ...
[ "luis20dr@gmail.com" ]
luis20dr@gmail.com
bbc3364116ee6dc6c1338a36d9d57a47c3c0ad6e
f07a21e66c0dde0691142e31378d10527e44e54c
/Python/147. 하노이의 탑 - 재귀/hanoi.py
c31d86a91e54b9de2a07559f9949b913080f5fa6
[]
no_license
cheol-95/Algorithm
0a3454e5d3fff21ec50ec20dc64341b13cb972dc
6a130bb0817395550f00c192074d01f5c6443628
refs/heads/master
2023-04-28T09:47:04.389059
2023-04-16T07:54:36
2023-04-16T07:54:36
250,749,134
0
0
null
null
null
null
UTF-8
Python
false
false
336
py
def hanoi(num, start, end, mid, result): if num == 1: result.append([start, end]) return hanoi(num - 1, start, mid, end, result) result.append([start, end]) hanoi(num - 1, mid, end, start, result) def solution(n): result = [] hanoi(n, 1, 3, 2, result) return result n = 4 pr...
[ "rkdcjf0122@gmail.com" ]
rkdcjf0122@gmail.com
b41e9cf1ec5fe635f30cf56e1ff86e87d30daa28
ff29ad9cb9047069c2ff631761368791574a0ebb
/compiler/buffer.py
21eeb2314b10508037a50249280131bead4a2f53
[]
no_license
japhethwong/java_interpreter
e38f99ce38f1de490e89f552c96bde47d5717f05
db5837632fab9db796a14d1acde39c6449f7279c
refs/heads/master
2016-09-06T00:18:27.490903
2012-12-01T22:35:41
2012-12-01T22:35:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,981
py
""" buffer.py Buffer data structure for the compiler module of the Java Interpreter. Authors: Albert Wu This file is designed to run on python3 """ DELIMS = ('{', '}', '(', ')', '=', '.', ';', ',') PS1 = 'compil> ' PS2 = ' ' interrupt = '\nExiting compiler' class Buffer: ...
[ "albert12132@gmail.com" ]
albert12132@gmail.com
d57ae43564462ce9faf629820526f6dd3ac9a50e
bc9f66258575dd5c8f36f5ad3d9dfdcb3670897d
/platform/gsutil/third_party/google-auth-library-python/tests/test__default.py
ccd4b2b9a63c2c6abcc36f859116e5cc3a0540ae
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
google-cloud-sdk-unofficial/google-cloud-sdk
05fbb473d629195f25887fc5bfaa712f2cbc0a24
392abf004b16203030e6efd2f0af24db7c8d669e
refs/heads/master
2023-08-31T05:40:41.317697
2023-08-23T18:23:16
2023-08-23T18:23:16
335,182,594
9
2
NOASSERTION
2022-10-29T20:49:13
2021-02-02T05:47:30
Python
UTF-8
Python
false
false
47,096
py
# Copyright 2016 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 agreed to in writing, ...
[ "cloudsdk.mirror@gmail.com" ]
cloudsdk.mirror@gmail.com
492e511e8545bdb07d0ed6c1bb4b9f67228f07b2
b169873728bb103bce6c34ac2a4da773489a9dc8
/lines.py
36732cb1e39c44994c19e9d78411cd4fc08a99ec
[ "Apache-2.0" ]
permissive
CoDinners/PositionTone
2d00ed9bc7a7d38b3cd2e8240397d419d60cf7fa
0639787a31398aec45b9ddd7be45a74dde2981eb
refs/heads/master
2020-04-12T18:25:09.628178
2019-01-09T05:25:09
2019-01-09T05:25:09
162,678,125
0
0
null
null
null
null
UTF-8
Python
false
false
223
py
import os lines = 0 for directory, folders, files in os.walk('./src/'): for file in files: file = open(f'{directory}/{file}', 'r', encoding='utf-8') lines += len(file.read().split('\n')) print(lines)
[ "junhg0211@gmail.com" ]
junhg0211@gmail.com
d1a1aedd49a86c2bf1b384e2e3cb617cc27e63f5
938b4aec6210993f34af7b359eb7722077353b5d
/venv/Scripts/pip3-script.py
4e97d99bfdfbea8d1e9932efc0111fd1a5b93769
[]
no_license
sunshine13145201314/apiIHRMTest
1c91916e675d7ad6a8af59d515ffacbcd63c36c9
26065f43cfe848d03ac8201f6fa0b999dbd46e01
refs/heads/master
2020-12-18T05:12:17.271994
2020-03-05T03:59:09
2020-03-05T03:59:09
235,318,028
0
0
null
null
null
null
UTF-8
Python
false
false
417
py
#!C:\Users\Ghost\PycharmProjects\apiIHRMTest\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip3' __requires__ = 'pip==19.0.3' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.a...
[ "email@example.com" ]
email@example.com
b4f0590964b98d4bc27dd3f9b9ccb938a1b21dbc
cf05e330f0cdc88987584e2c699fc0b6810401bf
/server/generation/apps.py
4044593256c7e3a7ea5018c914e42c8edc99c184
[]
no_license
Catxiaobai/Embedded-Project
dfde6078b9f9054afc7e5d4237b64b38ff4847d7
6f91f7083be52655ca72a4df1512adf019281a7d
refs/heads/main
2023-06-12T03:26:10.604823
2021-07-05T06:14:07
2021-07-05T06:14:07
360,829,263
1
1
null
2021-06-20T17:03:10
2021-04-23T09:19:59
Python
UTF-8
Python
false
false
95
py
from django.apps import AppConfig class GenerationConfig(AppConfig): name = 'generation'
[ "2378960008@qq.com" ]
2378960008@qq.com
acddfaa486f08eb933e5ab6d9309cf70cbddcc46
fe6f6d11dde2a3205ae9758c7d4eb1f824b84102
/venv/lib/python2.7/site-packages/reportlab/__init__.py
c23daa4ccbb42e196a4a2e2b6cdec545c8d1f1d8
[ "MIT" ]
permissive
mutaihillary/mycalculator
ebf12a5ac90cb97c268b05606c675d64e7ccf8a6
55685dd7c968861f18ae0701129f5af2bc682d67
refs/heads/master
2023-01-10T14:56:11.780045
2016-09-20T12:30:21
2016-09-20T12:30:21
68,580,251
0
0
MIT
2022-12-26T20:15:21
2016-09-19T07:27:48
Python
UTF-8
Python
false
false
962
py
#Copyright ReportLab Europe Ltd. 2000-2012 #see license.txt for license details #history http://www.reportlab.co.uk/cgi-bin/viewcvs.cgi/public/reportlab/trunk/reportlab/__init__.py __version__=''' $Id$ ''' __doc__="""The Reportlab PDF generation library.""" Version = "3.0" import sys if sys.version_info[0:2]!=(2, 7) ...
[ "mutaihillary@yahoo.com" ]
mutaihillary@yahoo.com
7b3ce0035d98062b0f78862dd26a5490d6d9b2db
5575be0c75d2f22fff301378b396994e6698b4a5
/digit.py
0b709cd686346b80952eeb4edc32e67bf57a84eb
[]
no_license
madhu20336/loop
919142df9357a53e01a35112e811401aaaa0e457
8773cb07b5ac77e34dc9539daa62bf936513b238
refs/heads/main
2023-03-04T08:49:23.562735
2021-02-17T05:43:22
2021-02-17T05:43:22
339,623,234
0
0
null
null
null
null
UTF-8
Python
false
false
124
py
num=int(input("enter a number: ")) rev=0 while num>0: digit=num%10 rev=rev*10+digit num=num//10 print(digit)
[ "noreply@github.com" ]
madhu20336.noreply@github.com
7b3c9950e5217a4913aad531f6804807e5849460
3b84c4b7b16ccfd0154f8dcb75ddbbb6636373be
/google-cloud-sdk/lib/googlecloudsdk/third_party/apis/microservices/v1alpha1/microservices_v1alpha1_messages.py
73fbc0113a3916eff2e659f6a0de898d15da8fa4
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
twistedpair/google-cloud-sdk
37f04872cf1ab9c9ce5ec692d2201a93679827e3
1f9b424c40a87b46656fc9f5e2e9c81895c7e614
refs/heads/master
2023-08-18T18:42:59.622485
2023-08-15T00:00:00
2023-08-15T12:14:05
116,506,777
58
24
null
2022-02-14T22:01:53
2018-01-06T18:40:35
Python
UTF-8
Python
false
false
24,349
py
"""Generated message classes for microservices version v1alpha1. """ # NOTE: This file is autogenerated and should not be edited by hand. from __future__ import absolute_import from apitools.base.protorpclite import messages as _messages from apitools.base.py import encoding from apitools.base.py import extra_types ...
[ "gcloud@google.com" ]
gcloud@google.com
2ee8baf4fc7fa38ce3b438000bd03d775f66ea16
a90e5b2f4cf3a3919bd082296834c9f0efa99b71
/code/python/isIsomorphic.py
1b8335fe02b1ed556d07b118a91404a847f263d4
[]
no_license
yjshiki/leetcode
c6330e53fa3db463909787ca882a702e4952a2a1
628e732c15afe1da7f3aa690bbbc27866fcb1188
refs/heads/master
2020-06-05T00:38:54.136840
2020-05-14T04:29:25
2020-05-14T04:29:25
192,253,725
0
0
null
null
null
null
UTF-8
Python
false
false
626
py
class Solution: def isIsomorphic(self, s: str, t: str) -> bool: if len(s) != len(t): return False if s == t: return True dict1 = {} dict2 = {} for i in range(len(s)): if s[i] not in dict1: dict1[s[i]] = [i] else:...
[ "noreply@github.com" ]
yjshiki.noreply@github.com
69f4aad883f3ef05ef2e17e6b8402be796b6cafb
38e0a6aa9df9c968135b348845abfa489cda4031
/yangchengEveningPaper/yangchengEveningPaper/spiders/yangchengEveningPaperSpider.py
1e65abc985809d586ff0bcdcd5b32c67ed526367
[]
no_license
AReallyMan/everySpiders
bb923de508bd986bcf158728d17638c4ce608db8
19419ae5097a522ed0c88e9ab63aa62419c25b44
refs/heads/master
2022-09-20T02:18:06.205480
2020-06-03T06:33:47
2020-06-03T06:33:47
263,788,915
0
0
null
null
null
null
UTF-8
Python
false
false
2,434
py
# -*- coding: utf-8 -*- import datetime import re import time from scrapy.spiders import Rule, CrawlSpider from scrapy.linkextractors import LinkExtractor from ..items import YangchengeveningpaperItem from datetime import date, timedelta from ..settings import ELASTICSEARCH_TYPE # 羊城晚报 class Yangchengeveningpaperspid...
[ "969114624@qq.com" ]
969114624@qq.com
27a8dd5ef9437059e69ffcb5ffbf55e1c3881e29
7dea453449d4c4ad04a56d597043e8facd59ef6f
/2016/4.tensorflow-builtin estimators/linear-classifier1.py
4e77b1a421a72ef7714bcd6f259cadb9853af0c8
[]
no_license
Abhi929/deep-learning
50c8818e949621636ee247bbec85768488a4a548
6820fdc517f78da6698ee87d45c76aed18943bca
refs/heads/master
2020-03-28T16:12:54.874057
2018-05-27T12:39:15
2018-05-27T12:39:15
148,670,674
0
1
null
2018-09-13T17:05:50
2018-09-13T17:05:50
null
UTF-8
Python
false
false
1,643
py
# Import required packages from tensorflow.contrib import learn from tensorflow.contrib import layers import seaborn as sb import matplotlib.pyplot as plt import pandas as pd import tensorflow as tf import numpy as np import os # Set logging level to info to see detailed log output tf.logging.set_verbosity(tf.logging...
[ "info@algorithmica.co.in" ]
info@algorithmica.co.in
16068f4fea6beec003946f5cf42d35fa0cdf79af
ac5e52a3fc52dde58d208746cddabef2e378119e
/exps-gsn-edf.0/gsn-edf_ut=3.5_rd=0.5_rw=0.04_rn=4_u=0.075-0.325_p=harmonic-2/sched=RUN_trial=71/params.py
8b0a31f32030dc1d74e6190116b7ee41964cdb91
[]
no_license
ricardobtxr/experiment-scripts
1e2abfcd94fb0ef5a56c5d7dffddfe814752eef1
7bcebff7ac2f2822423f211f1162cd017a18babb
refs/heads/master
2023-04-09T02:37:41.466794
2021-04-25T03:27:16
2021-04-25T03:27:16
358,926,457
0
0
null
null
null
null
UTF-8
Python
false
false
254
py
{'cpus': 4, 'duration': 30, 'final_util': '3.524119', 'max_util': '3.5', 'periods': 'harmonic-2', 'release_master': False, 'res_distr': '0.5', 'res_nmb': '4', 'res_weight': '0.04', 'scheduler': 'GSN-EDF', 'trial': 71, 'utils': 'uni-medium-3'}
[ "ricardo.btxr@gmail.com" ]
ricardo.btxr@gmail.com
88f8d59eec097da0443cd3cecb64b0dec81e4721
b68d4e7826c29a22b002ff9c10583faeb7a10455
/2.7.8/bin/easy_install
5dab1f6750d79d8d53a0c96f7bdd460ead980738
[]
no_license
mikanyman/.pyenv_versions-legacy
ec392821290bd38873b25824c4261b15dc1a5067
5a42c7c21e800610f4f5f322d73d1dbd62a081b9
refs/heads/master
2022-10-13T10:22:13.956161
2017-01-31T20:10:04
2017-01-31T20:10:04
80,555,789
0
1
null
2022-09-30T13:39:01
2017-01-31T19:49:56
Python
UTF-8
Python
false
false
344
#!/home/mnyman/.pyenv/versions/2.7.8/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==8.4','console_scripts','easy_install' __requires__ = 'setuptools==8.4' import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.exit( load_entry_point('setuptools==8.4', 'console_scripts', ...
[ "mika.nyman@synapse-computing.com" ]
mika.nyman@synapse-computing.com
8833971eeb7114ae78800a79640a29632c5ecb12
f576f0ea3725d54bd2551883901b25b863fe6688
/sdk/paloaltonetworks/azure-mgmt-paloaltonetworksngfw/generated_samples/global_rulestack_commit_minimum_set_gen.py
5bdbc6aba8fae69df8e2834213cfa569b142b5ed
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
Azure/azure-sdk-for-python
02e3838e53a33d8ba27e9bcc22bd84e790e4ca7c
c2ca191e736bb06bfbbbc9493e8325763ba990bb
refs/heads/main
2023-09-06T09:30:13.135012
2023-09-06T01:08:06
2023-09-06T01:08:06
4,127,088
4,046
2,755
MIT
2023-09-14T21:48:49
2012-04-24T16:46:12
Python
UTF-8
Python
false
false
1,579
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" ]
Azure.noreply@github.com
bd34de18e6879f82bf3c0c1fed67df65cfe83d69
3d705ec48c94373817e5f61d3f839988910431e3
/lib/constant/idc.py
9fd8507aefd6e41a7b6dfccb6ba77d5c8690dd26
[]
no_license
namesuqi/zeus
937d3a6849523ae931162cd02c5a09b7e37ebdd8
3445b59b29854b70f25da2950016f135aa2a5204
refs/heads/master
2022-07-24T14:42:28.600288
2018-03-29T08:03:09
2018-03-29T08:03:09
127,256,973
0
0
null
2022-07-07T22:57:57
2018-03-29T07:53:16
Python
UTF-8
Python
false
false
910
py
# coding=utf-8 """ idc control constant __author__ = 'zengyuetian' """ # for seed node deploying RPC_PORT = "19527" # remote control port for RPC IDC_USER = "admin" IDC_PASSWORD = "" # low_delay, high_delay, vod # IDC_TYPE = "low_delay" IDC_TYPE = "high_delay" # IDC_TYPE = "vod" if IDC_TYPE == "low_delay": ...
[ "suqi_name@163.com" ]
suqi_name@163.com
0b8647855af91dfb66d4dbdd4852bff351f4b0cb
b89bd87a957c4d372dd4e11f9f81032829e6f729
/flaml/searcher/flow2.py
60fce8d117f970e1c2af2b98f4e88f7b3ca555bd
[ "MIT", "LicenseRef-scancode-free-unknown", "Apache-2.0", "LicenseRef-scancode-generic-cla" ]
permissive
Jimmy-INL/FLAML
8327f262a8c57def94ed9244b821b348ce7df1c1
e41b42842af04c4d585e72313d580d211760961b
refs/heads/main
2023-06-10T05:24:41.045597
2021-06-26T05:26:47
2021-06-26T05:26:47
380,654,284
1
0
MIT
2021-06-27T05:00:06
2021-06-27T05:00:06
null
UTF-8
Python
false
false
29,497
py
'''! * Copyright (c) 2020-2021 Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See LICENSE file in the * project root for license information. ''' from typing import Dict, Optional import numpy as np try: from ray.tune.suggest import Searcher from ray.tune.suggest.variant_genera...
[ "noreply@github.com" ]
Jimmy-INL.noreply@github.com
20b6347ea88947cd3f0d7a953aa260ecb9fc3b99
ac305c6739541e84857e297f8eb1b19417978548
/7_stripping_spaces.py
5cc36c34b478e63b1428a77144d2e19605cded1d
[]
no_license
imhardikj/git_test
d6608d6c02e0bc454f9dd31ffbbc5704a7046a61
43f0de2e9ac09ecd4fdfee27879fd8ae354a0685
refs/heads/master
2020-03-27T21:56:46.394739
2018-09-03T11:27:58
2018-09-03T11:27:58
147,189,474
0
0
null
null
null
null
UTF-8
Python
false
false
159
py
name = " python " print ( name ) print ( name.rstrip() ) print ( name.lstrip() ) print ( name.strip() ) name = name.strip() print ( name )
[ "noreply@github.com" ]
imhardikj.noreply@github.com
abafad1735315696538693594fc547a5ce318fb1
f2ed1b993139c85767d2e6a1b1be74fdfad23822
/canvas/canvas_01.py
f544cd3da07bc120c611547f244e6aec17905108
[]
no_license
bunkahle/Transcrypt-Examples
5377674597eb4b6d6eb92d5ae71059b97f3e0d2e
17d6460f3b532bb8258170a31875e4e26a977839
refs/heads/master
2022-06-22T17:40:33.195708
2022-05-31T15:36:37
2022-05-31T15:36:37
120,099,101
31
10
null
null
null
null
UTF-8
Python
false
false
606
py
#!/usr/bin/env python # -*- coding: utf-8 -*- class Graphics: def __init__(self, canvas_id): self.canvas_id = canvas_id self.ctx = document.getElementById(self.canvas_id).getContext('2d') self.img = __new__(Image()) self.img.src = 'https://mdn.mozillademos.org/files/5395/b...
[ "noreply@github.com" ]
bunkahle.noreply@github.com
cca8012c5fa5eeba1464c0fa19290a8b9ee12035
a3a3c3bd683067d6fb763278303dbb933cecc550
/07DESAFIO015.py
faf2994ab363221bd319be6985cc1db9387c4056
[]
no_license
edneyefs/curso_python_fundamentos
1c3ec59df74664e76bc70c5ba4b2fdfc013fb375
36814ea593b41a05783ee876b401ee201005eff1
refs/heads/master
2022-12-04T16:11:52.067379
2020-08-21T12:50:45
2020-08-21T12:50:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
166
py
km = float(input('Km rodada: ')) d = int(input('Digite quantos dias de aluguel: ')) c1 = (km * 0.15) + (d * 60) print('O total a ser pago é de R${:.2f}'.format(c1))
[ "edneysilva20@hotmail.com" ]
edneysilva20@hotmail.com
1398bf257910bbdcdfc6cb611da952b6e32dd283
70b339d0b2638a7914d0d56c5edf8a2637c9f4b0
/canPermutePalindrome.py
cac58aa56e3584fc4c9e8d10369c1c5025f19b85
[]
no_license
pflun/advancedAlgorithms
9991da7514024e18ba08de8688966b9220e12571
5520dbcd26999b98e1229bf03c2f62dd690a2ddc
refs/heads/master
2023-02-19T12:05:26.902535
2023-02-14T06:08:54
2023-02-14T06:08:54
189,055,701
4
0
null
null
null
null
UTF-8
Python
false
false
450
py
# -*- coding: utf-8 -*- # 成对出现,至多可能中间有奇数个 class Solution(object): def canPermutePalindrome(self, s): dic = {} for char in s: dic[char] = dic.get(char, 0) + 1 for key, val in dic.items(): if val % 2 == 0: dic.pop(key) if len(dic) <= 1: ...
[ "zgao@gwu.edu" ]
zgao@gwu.edu
5a47f63e9f378f3d3bea461dd369be02f0a4df76
e702dc1b5f37c72c49b550f9ea48c369d432fd12
/剑指offer/20-顺时针打印矩阵.py
53299a4a7e64b3219ddae8a308b3ed6236f19ffb
[]
no_license
HIT-jixiyang/offer
bf0fee0a410c8b55ce66da2cc0e186ad04ccdf1d
486069be6f6c554f2853e1d71979a6747ca0a985
refs/heads/master
2022-12-15T09:16:48.055439
2020-09-20T07:47:11
2020-09-20T07:47:11
297,027,242
0
0
null
null
null
null
UTF-8
Python
false
false
1,449
py
class Solution: # matrix类型为二维列表,需要返回列表 def printMatrix(self, matrix): # write code here n=len(matrix) m=len(matrix[0]) ni=min(n,m) l=[] if ni==1: for i in range(n): for j in range(m): l.append(matrix[i][j]) retur...
[ "jixiyang_hit@163.com" ]
jixiyang_hit@163.com
1178aeb096feb41cb75ba94068a34b8057024720
09e57dd1374713f06b70d7b37a580130d9bbab0d
/data/p3BR/R1/benchmark/startCirq113.py
4b8c9fc828cb16fd90d7ffd724a81f961e231308
[ "BSD-3-Clause" ]
permissive
UCLA-SEAL/QDiff
ad53650034897abb5941e74539e3aee8edb600ab
d968cbc47fe926b7f88b4adf10490f1edd6f8819
refs/heads/main
2023-08-05T04:52:24.961998
2021-09-19T02:56:16
2021-09-19T02:56:16
405,159,939
2
0
null
null
null
null
UTF-8
Python
false
false
2,257
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 5/15/20 4:49 PM # @File : grover.py # qubit number=3 # total number=18 import cirq import cirq.google as cg from typing import Optional import sys from math import log2 import numpy as np #thatsNoCode from cirq.contrib.svg import SVGCircuit # Symbols for...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
0963714ec32514d0a9236777997d8499d4384fed
2946e4d7cbf6992f5222f954ce230fbebe77218f
/WorkStation/CCT.py
d27f5c542aeec98acbcf2e89909255a3f99a81bd
[]
no_license
madokast/pythonLearn
04194570c440c82ee51280fde221e7020f76b745
c55c01652f450d5e5472df241e38fc8bf5abf9a3
refs/heads/master
2020-04-18T01:57:11.537547
2019-07-29T15:16:07
2019-07-29T15:16:07
167,141,024
0
0
null
null
null
null
UTF-8
Python
false
false
163
py
import abc import numpy as np import matplotlib as mpl from mpl_toolkits.mplot3d import Axes3D import matplotlib.pyplot as plt # class CCT(metaclass=abc.ABCMeta):
[ "578562554@qq.com" ]
578562554@qq.com
5fc77e191685323f659bff9ee839d90567777340
9e47e225afc65d246f32a19739df277a10c32800
/ch03/Implementation/시각.py
5cc56c9fcf47e5172432c658ab45ca99553ee92b
[]
no_license
DominKim/preparing_for_coding_test
4453676159a6b6eb7bd2b7def66b5f94a2935501
a4156c87dd574221b3094cd48eeda64029ccc4d4
refs/heads/main
2023-03-30T23:37:19.291634
2021-04-02T07:05:59
2021-04-02T07:05:59
325,210,997
0
0
null
null
null
null
UTF-8
Python
false
false
661
py
''' 정수 N이 입력되면 00시 00분 00초부터 N시 59분 59초까지의 모든 시각 중에서 3이 하나라도 포함되는 모든 경우의 수를 구하는 프로그램을 작성하시오. 예를 들어 1을 입력했을 때 다음은 3이 하나라도 포함되어 있으므로 세어야 하는 시각이다. - 00시 00분 03초 - 00시 13분 30초 ''' # H를 입력받기 h = int(input()) count = 0 for i in range(h + 1): for j in range(60): for k in range(60): # 매 시각 안에 "3"...
[ "hyungm3@gmail.com" ]
hyungm3@gmail.com
0b6cd4845dc77d28220293ab11593fd11f9bc80c
ecbecfc01bd360431b1a9ca36f761bdf1ccd1056
/mc_luigi/skeletonTasks.py
24a3e46473949e8fc79b997578d5971df8c80ffe
[ "MIT" ]
permissive
constantinpape/mc_luigi
76e1d027e07eb182752f12a3f02ab9d293a71775
c8dac84ace7d422f7ec25d722204b25d625c84e1
refs/heads/master
2022-01-06T22:35:13.607099
2019-07-10T22:44:38
2019-07-10T22:44:38
74,076,135
0
0
MIT
2017-12-17T01:30:44
2016-11-17T23:21:25
Python
UTF-8
Python
false
false
6,260
py
# Multicut Pipeline implemented with luigi # Workflow Tasks import luigi import logging import numpy as np from concurrent import futures import os import vigra from pipelineParameter import PipelineParameter from multicutProblemTasks import MulticutProblem from blockwiseMulticutTasks import BlockwiseMulticutSolver f...
[ "c.pape@gmx.net" ]
c.pape@gmx.net
a5c173937227ca0505d16b10d288dd3904351756
8a3a4b97a22e81459b0900972620133625ad29fd
/projects/migrations/0006_delete_profile.py
7407d91bcd1dd8e4542dc313b8f83cddd6a29a66
[]
no_license
alexisMoragaa/manageProjects
a65c54ebf5229b2664c95547652f74e213fcb342
d3f32522312e27dab3f2df20c125e30c1f56cb97
refs/heads/master
2023-06-16T23:48:59.916514
2021-06-30T03:58:03
2021-06-30T03:58:03
367,960,810
0
0
null
null
null
null
UTF-8
Python
false
false
297
py
# Generated by Django 3.2.2 on 2021-05-23 02:13 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('projects', '0005_auto_20210516_2217'), ] operations = [ migrations.DeleteModel( name='Profile', ), ]
[ "=" ]
=
3b1151190b7196d50510590b853f419f1372b497
23b333449524887594530f73c0079ce60cb8eefb
/python_module/examples/509_Fibonacci_Number.py
723feb43ec9662d8d773d3e81fb45ae1968bb2b3
[]
no_license
benbendaisy/CommunicationCodes
9deb371095f5d67e260030d3d8abf211c90e7642
444cc502ef26810b46115797f2e26ab305a4ebdf
refs/heads/master
2023-08-09T21:46:58.691987
2023-07-20T05:11:39
2023-07-20T05:11:39
27,856,438
0
0
null
null
null
null
UTF-8
Python
false
false
235
py
from functools import lru_cache class Solution: @lru_cache(None) def fib(self, n: int) -> int: if n == 0: return 0 elif n == 1: return 1 return self.fib(n - 1) + self.fib(n - 2)
[ "benbendaisy@users.noreply.github.com" ]
benbendaisy@users.noreply.github.com
fecaed3dfa4499b0584886559f3bd151e510b4cd
3ad6445c4ed3f5e74008cea343e2583e43e8dfcd
/pyNastran/bdf/cards/methods.py
001d8637ded8c5b02cf16c85b01840a14a6015fb
[]
no_license
ratalex/pyNastran
6475517de1f172586d667084802f9a34ddfb3f67
d9ffdb4ac845b13bcf6aea96ff5d37cc026c5267
refs/heads/master
2020-05-26T03:03:20.993336
2019-05-22T06:47:17
2019-05-22T06:47:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
37,766
py
# pylint: disable=C0103,R0902,R0904,R0914 """ All method cards are defined in this file. This includes: * EIGB * EIGC * EIGR * EIGP * EIGRL All cards are Method objects. """ from __future__ import (nested_scopes, generators, division, absolute_import, print_function, unicode_literals) ...
[ "mesheb82@gmail.com" ]
mesheb82@gmail.com
843cfa3b886ed76c7b2c322183d02478c30b1c73
487ce91881032c1de16e35ed8bc187d6034205f7
/codes/CodeJamCrawler/16_0_1_neat/16_0_1_Itsuki_counting_sheep.py
77627f78acf81492fb20ff360f41c726e432647c
[]
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
846
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- def counted_all(memo): for result in memo: if not result: return False return True def mark(number, memo): r = number % 10 memo[r] = True q = number // 10 while q != 0: r = q % 10 memo[r] = True q = q ...
[ "[dhuo@tcd.ie]" ]
[dhuo@tcd.ie]
9088f1449800fa63d13d78cdf8eb8dd87cb92d49
edd94014c3938ab6caf5062827c961d0c63e0876
/selfdrive/test/tests/plant/test_longitudinal.py
3c8286b775e3b7a47c3b45786951f1d4b34f45a0
[ "MIT", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
jkthompson/openpilot
4b4ce89d64f8827f8c3e9bdc6ce7284074891428
48303589e9e8e5b76acb4934634083fa77559b93
refs/heads/devel
2021-07-10T18:12:07.882223
2017-10-04T06:40:21
2017-10-04T06:46:23
105,856,096
1
1
null
2017-10-05T06:21:08
2017-10-05T06:21:08
null
UTF-8
Python
false
false
8,763
py
#!/usr/bin/env python import os os.environ['OLD_CAN'] = '1' os.environ['NOCRASH'] = '1' import time import unittest import shutil import matplotlib matplotlib.use('svg') from selfdrive.config import Conversions as CV, CruiseButtons as CB from selfdrive.test.plant.maneuver import Maneuver import selfdrive.manager as ...
[ "user@comma.ai" ]
user@comma.ai
ba9b1ad3f8004ca3c6832eba47c42011e7db0956
0ee329d7c2de6783dccf3a5fa128930a000c672d
/Schonfield 897 code for Gompu Jan 7-final copy.py
a973792039a949725f03327977bb57166606e5ac
[]
no_license
rsc2143/ViteosModel
2df5788def1a2c9531b050932c94ca04227bdef6
9be8a03fcd3528de1db3d801d11875a60779dd20
refs/heads/master
2023-05-09T03:25:26.818465
2021-06-07T11:31:31
2021-06-07T11:31:31
374,601,477
0
0
null
null
null
null
UTF-8
Python
false
false
57,589
py
#!/usr/bin/env python # coding: utf-8 #TODO : Replace '0.00' with 0 #TODO : import os os.chdir('D:\\ViteosModel') import pandas as pd import numpy as np import datetime as dt from ViteosMongoDB import ViteosMongoDB_Class as mngdb from pandas.io.json import json_normalize import datetime from datetime import datetim...
[ "rohitschauhanitbhu@gmail.com" ]
rohitschauhanitbhu@gmail.com
280e38051dedcb5e5e02970abbc2381309fa18fb
3a642fa1fc158d3289358b53770cdb39e5893711
/src/xlsxwriter/test/drawing/test_drawing_image01.py
15cadc68485a987ac40f553f30e818c5e95907ec
[]
no_license
andbar-ru/traceyourself.appspot.com
d461277a3e6f8c27a651a1435f3206d7b9307d9f
5f0af16ba2727faceb6b7e1b98073cd7d3c60d4c
refs/heads/master
2020-07-23T14:58:21.511328
2016-12-26T22:03:01
2016-12-26T22:03:01
73,806,841
1
1
null
null
null
null
UTF-8
Python
false
false
2,947
py
############################################################################### # # Tests for XlsxWriter. # # Copyright (c), 2013, John McNamara, jmcnamara@cpan.org # import unittest from ...compatibility import StringIO from ..helperfunctions import _xml_to_list from ...drawing import Drawing class TestAssembleDraw...
[ "andrey@voktd-andbar.int.kronshtadt.ru" ]
andrey@voktd-andbar.int.kronshtadt.ru
4605b1aa9810093517ba3c07ac842f36854f729c
6d4c5e79bb36785d5bb127e263aac50cb6729a88
/venv/Lib/site-packages/django/contrib/gis/geoip2/base.py
7150205d0065c2963a06c9763b2780e4423253d2
[]
no_license
Galymbekov/BackWebDevProject
a7683fc205d467629f4ad132370ff4b5ac535277
3343fd277bc8994bec3d484072a8ed5f1d99b6bb
refs/heads/main
2023-04-14T14:06:13.888793
2021-04-30T12:12:37
2021-04-30T12:12:37
362,004,719
0
0
null
null
null
null
UTF-8
Python
false
false
8,976
py
import socket import geoip2.database from django.conf import settings from django.core.exceptions import ValidationError from django.core.validators import validate_ipv46_address from django.utils._os import to_path from .resources import City, Country # Creating the settings dictionary with any settings, if needed...
[ "47265977+Galymbekov@users.noreply.github.com" ]
47265977+Galymbekov@users.noreply.github.com
20bf4351efe822c9f7d6528ff84f1c282a8c84c0
afb8a16ef981766c2fdbc95b5bd963f963affce6
/tests/plugins/makeroom/test_custom_message.py
5d187a3f8d47aa021166cb8cf8981b22dd8731a6
[]
no_license
ptitbigorneau/BigBrotherBot-For-UrT43
3c27a0e147be4946ea672c4fad254e5334e7af7a
7606156bb704a781d21a8a9b95119b995ea2db50
refs/heads/master
2021-01-10T23:54:25.277248
2019-05-16T06:19:19
2019-05-16T06:19:19
70,788,589
4
3
null
null
null
null
UTF-8
Python
false
false
2,419
py
# -*- coding: utf-8 -*- # ################################################################### # # # # BigBrotherBot(B3) (www.bigbrotherbot.net) # # Copyright (C) 2005 Michael "ThorN" Thornton # # ...
[ "ptitbigorneau@ptitbigorneau.fr" ]
ptitbigorneau@ptitbigorneau.fr
8eec3deb159f54fc1799fe62ea9a5a40a84f0945
b08d42933ac06045905d7c005ca9c114ed3aecc0
/src/coefSubset/evaluate/ranks/fivePercent/rank_2wpt_F.py
21b06ae8b32d59a3777f927e06db97c54694517c
[]
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,389
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
5503c80fca2a91b330a790688d1ff90ce8232c31
e585c3a61b830d3c24a8cec8343d262c84c724e7
/CDocente/cdocente_data/app_constants.py
40be2b590ba4f13a7d0b29dc5cc73f7948c3fd35
[]
no_license
Valupiruiz/AutomationPHP
bb0728b2b6508b017c133a7d560a652033adeaf4
9a92634ac9f5b27e46723294f9a4cc83a1f99252
refs/heads/master
2023-01-18T17:27:57.819270
2020-11-27T15:04:49
2020-11-27T15:04:49
310,594,260
0
0
null
null
null
null
UTF-8
Python
false
false
150
py
urls = { "backend": "http://cdocentep1.cysonline.com.ar:10001/backend.php", "docente": "http://cdocentep1.cysonline.com.ar:10001/index.php" }
[ "tomasmoreira04@gmail.com" ]
tomasmoreira04@gmail.com
0656860338c986ce1dc13ca0f4dec23774ca4925
9450d5022bd83fc267c8527eb036a9bf3b8a6188
/stream server/main.py
889513f1af272c9f44e5cf643b3b7692c706da4f
[]
no_license
Adithya-adi-Menon/ruhacks
eb502afc9fccc046e75f6902fc4a22a88e0fd9e9
535a61cc3bac789460fca2b3ebdee24761e83fbb
refs/heads/master
2023-04-18T04:57:07.658949
2021-05-02T21:10:35
2021-05-02T21:10:35
363,641,292
0
0
null
null
null
null
UTF-8
Python
false
false
751
py
from flask import Flask, render_template, Response import cv2 from djitellopy import tello me=tello.Tello() me.connect() me.streamon() app = Flask(__name__) def gen_frames(): while True: # Capture frame-by-frame frame = me.get_frame_read().frame ret, buffer = cv2.imencode('.jpg', frame)...
[ "npc203@users.noreply.github.com" ]
npc203@users.noreply.github.com
3441cabb52662df86e1cde6271798a6c3b316a63
045b217b08a16b419589ca255acda7387189754a
/tempogram.py
7ef68572b264c38742837f0947a695f3adeed3cb
[]
no_license
exeex/mir-hw2
c57b46ad64ba2fa3271e316972d3d061ac6138c2
72042dabd8cf73c3b3f2ce9181d6ca7e8837f308
refs/heads/master
2020-03-19T04:19:51.318790
2018-06-14T07:43:03
2018-06-14T07:43:03
135,816,860
0
1
null
null
null
null
UTF-8
Python
false
false
1,875
py
import numpy as np import librosa import librosa.display import scipy.signal def delta_spectral(y: np.ndarray): D = librosa.stft(y, n_fft=512) D2 = np.abs(np.diff(D, axis=1)) D3 = (D2 > 0).astype(float) * D2 return D3 def novel_curve_delta_spectral(y: np.ndarray) -> np.ndarray: D = delta_spectra...
[ "xray0h@gmail.com" ]
xray0h@gmail.com
21347da61c99a1da4be03afd701f6876a0cf75d2
493ab492dcd5d082a4533b3e13281db8aeb79c6c
/strings_arrays/submatrix_sum_queries.py
205d9e75fbe77db6291671a4ca37f6f3dfa8dd2e
[]
no_license
karenwsit/ToyProblems
d327b202eb6ee2d265c9e868253f7e217f334939
a3bca02fa23b32bec9afc9859ddbdf923c8cda0f
refs/heads/master
2021-01-21T13:52:37.523509
2017-08-27T21:41:08
2017-08-27T21:41:08
44,289,874
0
0
null
null
null
null
UTF-8
Python
false
false
2,491
py
#GeeksforGeeks: http://www.geeksforgeeks.org/submatrix-sum-queries/ #Given a matrix of size M x N, there are large number of queries to find submatrix sums. #Inputs to queries are left top and right bottom indexes of submatrix whose sum is to find out. #How to preprocess the matrix so that submatrix sum queries can be ...
[ "karenwsit@gmail.com" ]
karenwsit@gmail.com
b929402037f77e77429e980c8e72db9e0583c4f1
bec0d44018be45e635b7f49ad8c354fa79bc6bc3
/chemgrams/kenlm_deepsmiles_lm.py
9533cac21e19be7cdd6073f695b436d446aa15bc
[ "GPL-3.0-only" ]
permissive
lantunes/chemgrams
816c022e89a243b55e9b3d57d67ebd2a29fb4910
51986369626dd3f8993efd7b74c46df1464f2e5e
refs/heads/master
2021-11-26T04:56:00.066707
2021-11-20T20:47:20
2021-11-20T20:47:20
177,476,273
6
1
MIT
2020-04-30T13:12:51
2019-03-24T22:20:37
Python
UTF-8
Python
false
false
4,860
py
import kenlm import re import numpy as np from .deepsmiles_tokenizer import DeepSMILESTokenizer from .language_model import ChemgramsLanguageModel class KenLMDeepSMILESLanguageModel(ChemgramsLanguageModel): def __init__(self, kenlm_bin_path, vocab): self._lm = kenlm.Model(kenlm_bin_path) self._v...
[ "lantunes@gmail.com" ]
lantunes@gmail.com
0fa921b2d2ca398a0989736cc6a807ad2ef121a3
9e679192c0396ca9dadde55d8e6d3a746c446367
/cineBot/lib/python3.6/site-packages/imageio/plugins/fits.py
005b105ee7b24d076fc46e8e6bf5d554a7dae2ad
[ "MIT" ]
permissive
furkanalpereny/cineBot
74dfa10e5760f0a2496ca9b8801479d9084d5df7
cb93b6fc6ab25ba0601067f54b6824a8462f470d
refs/heads/master
2022-12-10T10:16:11.006211
2019-12-23T04:11:00
2019-12-23T04:11:00
227,674,856
0
0
MIT
2022-12-08T03:19:12
2019-12-12T18:50:06
Python
UTF-8
Python
false
false
4,926
py
# -*- coding: utf-8 -*- # Copyright (c) 2015, imageio contributors # imageio is distributed under the terms of the (new) BSD License. """ Plugin for reading FITS files. """ from __future__ import absolute_import, print_function, division from .. import formats from ..core import Format _fits = None # lazily loaded...
[ "furkan.aalperen@gmail.com" ]
furkan.aalperen@gmail.com
e2757f55bc924668c3344e289bae04dbbb4341e4
f576f0ea3725d54bd2551883901b25b863fe6688
/sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01/operations/_operations.py
18fb54d4bef56688f91ad5aef5cc9b429829ef2a
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
Azure/azure-sdk-for-python
02e3838e53a33d8ba27e9bcc22bd84e790e4ca7c
c2ca191e736bb06bfbbbc9493e8325763ba990bb
refs/heads/main
2023-09-06T09:30:13.135012
2023-09-06T01:08:06
2023-09-06T01:08:06
4,127,088
4,046
2,755
MIT
2023-09-14T21:48:49
2012-04-24T16:46:12
Python
UTF-8
Python
false
false
6,635
py
# pylint: disable=too-many-lines # 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) AutoRe...
[ "noreply@github.com" ]
Azure.noreply@github.com
6a6797aacd1c7ff8f4c34f5dea75a87b606e421c
f36a9701975eec736b5e43ab09ec318eee80c8cc
/pyspeckit/spectrum/models/hydrogen.py
fe19f686fd5a90b141a0359854d9fd799fff2a9b
[ "MIT" ]
permissive
soylentdeen/pyspeckit
e995f38531256d85313038a0ddeb181a4c6480b8
11c449c6951468f2c07dfda3b1177b138f810f16
refs/heads/master
2021-01-18T11:32:51.659032
2013-06-26T00:39:22
2013-06-26T00:39:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,763
py
# -*- coding: latin-1 -*- """ Hydrogen Models --------------- Hydrogen in HII regions is typically assumed to follow Case B recombination theory. The values for the Case B recombination coefficients are given by [HummerStorey1987]_. They are also computed in [Hummer1994]_ and tabulated at a [wiki]_. I had to OCR a...
[ "keflavich@gmail.com" ]
keflavich@gmail.com
9aabde156e9c16766e57529f1511284abe2243a1
a6e4a6f0a73d24a6ba957277899adbd9b84bd594
/sdk/python/pulumi_azure_native/web/v20201001/list_web_app_function_keys_slot.py
87bd5d9162944e6789a397800d72511b843daa93
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
MisinformedDNA/pulumi-azure-native
9cbd75306e9c8f92abc25be3f73c113cb93865e9
de974fd984f7e98649951dbe80b4fc0603d03356
refs/heads/master
2023-03-24T22:02:03.842935
2021-03-08T21:16:19
2021-03-08T21:16:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,532
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...
[ "noreply@github.com" ]
MisinformedDNA.noreply@github.com
e1f0f1a0f7edeaaddbd0b90957869100271cf58d
43c1ec368697dccb48db5e5982f4c944beae9dbd
/deeptagger/modules/optim/adamw.py
69d3dd731052ee2f032699b920633980d93c8068
[ "MIT" ]
permissive
gazzola/deeptagger
129d3a9dc1fe1b121a314b32aad58936eb6a2da7
ff550f105d7237fb80d007e78ddbe1316bb46ad9
refs/heads/master
2020-05-04T12:55:18.204328
2019-03-16T18:21:16
2019-03-16T18:21:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,919
py
""" Code copied from: https://raw.githubusercontent.com/egg-west/AdamW-pytorch/ """ import math import torch from torch.optim.optimizer import Optimizer class AdamW(Optimizer): """Implements Adam algorithm with weight decay fix. It has been proposed in `Adam: A Method for Stochastic Optimization`_. Arg...
[ "marcosvtreviso@gmail.com" ]
marcosvtreviso@gmail.com
0f61454d4c2438211f26f45b53af9fb025923c45
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/nnfibril.py
2f4a07e6a2d20f3f90885d5f96129ea5aa8c27b3
[]
no_license
psdh/WhatsintheVector
e8aabacc054a88b4cb25303548980af9a10c12a8
a24168d068d9c69dc7a0fd13f606c080ae82e2a6
refs/heads/master
2021-01-25T10:34:22.651619
2015-09-23T11:54:06
2015-09-23T11:54:06
42,749,205
2
3
null
2015-09-23T11:54:07
2015-09-18T22:06:38
Python
UTF-8
Python
false
false
65
py
ii = [('RogePAV2.py', 1), ('RogePAV.py', 18), ('BuckWGM2.py', 2)]
[ "varunwachaspati@gmail.com" ]
varunwachaspati@gmail.com
ba1576b3407f83afd5b78b8de1d8209d4552afc1
8432fa0034f7a94364b88596b1162325b48270cf
/testsuite/getattribute-camera/run.py
9c8292242cf9db42fb77f3bbd1197c940c8f17f5
[ "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "CC-BY-3.0" ]
permissive
ChristopherMBurrows/OpenShadingLanguage
a1782ae271ddca555e836d37b4dc0aba54e13cda
e26cee88efff8096773a54b7052a74d35e88b01c
refs/heads/master
2021-01-06T10:05:09.634869
2020-02-14T21:29:50
2020-02-14T21:29:50
241,290,064
1
0
BSD-3-Clause
2020-02-18T06:35:22
2020-02-18T06:35:21
null
UTF-8
Python
false
false
91
py
#!/usr/bin/env python # Simple test on a grid texture command = testshade("-g 1 1 test")
[ "lg@larrygritz.com" ]
lg@larrygritz.com
6500a35b05aa703de44e66cf37fbc28ae5f4090a
480e33f95eec2e471c563d4c0661784c92396368
/MuonAnalysis/Configuration/python/MuonAnalysis_OutputModules_cff.py
7d43e59fc2bce040a6490fa9178290b83c2e58f3
[ "Apache-2.0" ]
permissive
cms-nanoAOD/cmssw
4d836e5b76ae5075c232de5e062d286e2026e8bd
4eccb8a758b605875003124dd55ea58552b86af1
refs/heads/master-cmsswmaster
2021-01-23T21:19:52.295420
2020-08-27T08:01:20
2020-08-27T08:01:20
102,867,729
7
14
Apache-2.0
2022-05-23T07:58:09
2017-09-08T14:03:57
C++
UTF-8
Python
false
false
193
py
import FWCore.ParameterSet.Config as cms from MuonAnalysis.Configuration.muonL1OutputModule_cfi import * MuonAnalysisOutput = cms.Sequence(muonL1OutputModuleAODSIM+muonL1OutputModuleRECOSIM)
[ "giulio.eulisse@gmail.com" ]
giulio.eulisse@gmail.com
1b5584173dbeb9cb08a3c5c01b52372933d6e96c
1afa6c852dfc922d1a26a384d965976f31a87692
/Rendering/Core/Testing/Python/TestWindowToImageTransparency.py
648453e8e9e10bd0a89bfe86d97a878adafe1c55
[ "BSD-3-Clause" ]
permissive
dgobbi/VTK
631d037aacc7258861e70f77c586b01cd4ebff3f
17f232ee440025c26bc78a897edef78e9fc78510
refs/heads/master
2021-01-04T22:27:46.611907
2013-03-01T19:44:02
2013-03-01T19:44:02
938,377
0
2
null
null
null
null
UTF-8
Python
false
false
1,887
py
#!/usr/bin/env python # Create the RenderWindow and Renderer ren1 = vtk.vtkRenderer() renWin = vtk.vtkRenderWindow() renWin.AddRenderer(ren1) renWin.SetAlphaBitPlanes(1) iren = vtk.vtkRenderWindowInteractor() iren.SetRenderWindow(renWin) # create a default polygonal sphere sphere = vtk.vtkSphereSource() sphmapper = vt...
[ "nikhil.shetty@kitware.com" ]
nikhil.shetty@kitware.com
145b5d57a760f16c8e7f1354a398fd823e064f2b
725241f6441095d85f1896bc9f52a2e2bd8fb5c9
/Day006/Lectures/lec02.py
b0cf8e504c6d8be36b563f005e7316e6b84588fc
[]
no_license
ng180170/100DaysOfCode
55441aa6e86778e89592004ac2edf78955834df4
d5496716df32ddf2e70dd330b03b19bfc51c610b
refs/heads/master
2023-01-29T17:08:03.835089
2020-12-10T16:25:24
2020-12-10T16:25:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
733
py
# Observation: You need to run the codes below on the https://reeborg.ca/ # More info is at the lec02.md file # First move() move() move() turn_left() move() move() move() # Second move() move() turn_left() turn_left() move() move() turn_left() turn_left() # Third def move_twice(): move() move() def turn_...
[ "pullynnhah@protonmail.com" ]
pullynnhah@protonmail.com
cb0f515d0504f24dbe418b60445a7e63b1751e38
571ebcf06cc01309231a97a963f531f8dd90963d
/Hacking Scripts/backdoors/server_listener.py
4e02c274b3eafe59f05ef9a1cf2d9f726fa0ee3b
[]
no_license
SV-ZeroOne/Python-Projects
3da0ec813e2764d5a3cd8f1d9825e698e368a84e
8820c346e0dde3b4023ce400cb722d08c1b4c52e
refs/heads/master
2023-08-19T20:43:07.294205
2021-10-16T11:57:33
2021-10-16T11:57:33
95,302,475
1
0
null
null
null
null
UTF-8
Python
false
false
2,242
py
#!/usr/bin/env python import socket import json import base64 class Listener: def __init__(self, ip, port): listener = socket.socket(socket.AF_INET, socket.SOCK_STREAM) # enable option to allow us to reuse socket just in case we lose connection. listener.setsockopt(socket.SOL_SOCKET, soc...
[ "steve@elitehost.co.za" ]
steve@elitehost.co.za
ea4ea5301d335b4919351e2b87e198bcf482b403
83e18f5d4fcd7084defb32981337a8f9b646c4c7
/python/953.verifying-an-alien-dictionary.py
7ae79a77e2e9097a3a72c0d632b0ceda2d131513
[ "MIT" ]
permissive
Zhenye-Na/leetcode
709037a318e1be7e6ab92751f8695d888900591a
18d91a6ba813f91531b04632563212dfde2cceb9
refs/heads/master
2023-04-10T07:06:06.502224
2023-04-01T00:18:44
2023-04-01T00:18:44
145,656,854
19
9
MIT
2022-05-16T03:14:02
2018-08-22T04:39:25
Python
UTF-8
Python
false
false
2,549
py
# # @lc app=leetcode id=953 lang=python3 # # [953] Verifying an Alien Dictionary # # https://leetcode.com/problems/verifying-an-alien-dictionary/description/ # # algorithms # Easy (52.44%) # Likes: 1629 # Dislikes: 667 # Total Accepted: 225.1K # Total Submissions: 429.2K # Testcase Example: '["hello","leetcode"]...
[ "nazhenye@gmail.com" ]
nazhenye@gmail.com
71a3f0ba1f9f51f564658df0f218d0e343f3c45c
5b348091560ec27f86100ea4cb8ff45f8513c83b
/server.py
f0411a3822d324960ebd7813dcf107fe2529451f
[]
no_license
rohitkyadav/reverse_shell
d8df8498b836156103b086652f30ea822404326e
e15c210b3d0b6a605dfc3b05abafc45dad5c476a
refs/heads/master
2020-12-24T11:54:01.894926
2017-02-26T12:18:12
2017-02-26T12:18:12
73,007,653
2
0
null
null
null
null
UTF-8
Python
false
false
1,204
py
import socket import sys # create socket (allows two computers to connect) def socket_create(): try: global host global port global s host = '' port = 9999 s = socket.socket() except socket.error as msg: print("Socket creation error:" + str(msg)) # Bind socket to port and wait for connection from clie...
[ "rohit.yadav848@yahoo.com" ]
rohit.yadav848@yahoo.com
71da77ec91e4a2e927b5303bfd43d7f19974773b
10d18b1d87a436152dc911b599447e22144dcfff
/watchFaceParser/models/elements/activity/distanceElement.py
fa57e20a1461777d80be91143420cf5621e9673d
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
Erdbeergeist/py_amazfit_tools
d9e8819897dc70b3fff6c38167a3a7a8002c9dba
a4139622d7b224bc73e91eb0d1187ce66eba441f
refs/heads/master
2020-09-05T06:22:37.640507
2019-08-27T22:30:20
2019-08-27T22:30:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,322
py
import logging from watchFaceParser.models.elements.basic.compositeElement import CompositeElement class DistanceElement(CompositeElement): def __init__(self, parameter, parent, name = None): self._number = None self._suffixImageIndex = None self._decimalPointImageIndex = None su...
[ "gtalpo@gmail.com" ]
gtalpo@gmail.com
da16ed9fe116d2ee394f2eb59afa5ef769368780
c380976b7c59dadaccabacf6b541124c967d2b5a
/.history/src/data/data_20191028102819.py
095e868e603979f8f50ad7dac930a3c6dfd6d66a
[ "MIT" ]
permissive
bkraft4257/kaggle_titanic
b83603563b4a3c995b631e8142fe72e1730a0e2e
f29ea1773773109a867278c001dbd21a9f7b21dd
refs/heads/master
2020-08-17T12:45:28.653402
2019-11-15T16:20:04
2019-11-15T16:20:04
215,667,760
0
0
null
null
null
null
UTF-8
Python
false
false
7,795
py
import pandas as pd import numpy as np from typing import Union from pathlib import Path from nameparser import HumanName class ExtractData: """Extract Titanic data from the Kaggle's train.csv file. """ def __init__(self, filename: Union[str, Path], age_bins=None, drop_columns=None): """Extract T...
[ "bob.kraft@infiniteleap.net" ]
bob.kraft@infiniteleap.net
566a442c32316bae6724c28402652fe02aaf2d8e
e9dce5dc06b252abdc412bcd836a87fdfda87ecd
/www/config_default.py
1b6d863a13e82789e2158fad8bca7f6804704ffc
[]
no_license
wy471x/personal_microblog
bc7b20ed4f63413ef3f1e51870a9b51d4815c0e6
6cde417083b00f23eb07bc229201827961fbd73a
refs/heads/master
2020-12-15T05:31:01.350932
2020-02-10T13:22:25
2020-02-10T13:22:25
235,007,600
0
0
null
null
null
null
UTF-8
Python
false
false
273
py
#!/usr/bin/env python # coding=utf-8 __author__ = 'Dunk Wan' configs = { 'db':{ 'host': '127.0.0.1', 'port': 3306, 'user': 'www', 'password': 'www', 'db': 'awesome' }, 'session':{ 'secret': 'awesession' } }
[ "1004963485@qq.com" ]
1004963485@qq.com
ebe7204561b9d6cb132885d1f121df287cb2db6a
7889f7f0532db6a7f81e6f8630e399c90438b2b9
/1.2.1/mpl_examples/pylab_examples/poormans_contour.py
5a518e1a69635d0cda0503f713a79580d9f89d12
[]
no_license
matplotlib/matplotlib.github.com
ef5d23a5bf77cb5af675f1a8273d641e410b2560
2a60d39490941a524e5385670d488c86083a032c
refs/heads/main
2023-08-16T18:46:58.934777
2023-08-10T05:07:57
2023-08-10T05:08:30
1,385,150
25
59
null
2023-08-30T15:59:50
2011-02-19T03:27:35
null
UTF-8
Python
false
false
713
py
#!/usr/bin/env python """ Use a pcolor or imshow with a custom colormap to make a contour plot. Since this example was initially written, a proper contour routine was added to matplotlib - see contour_demo.py and http://matplotlib.sf.net/matplotlib.pylab.html#-contour. """ from pylab import * delta = 0.01 x = arang...
[ "mdboom@gmail.com" ]
mdboom@gmail.com
10dee82125917efb860addcc60e5cd9932ede664
20bce9aba388750c005ea5d886bfef4169e32927
/datapackage_pipelines_budgetkey/pipelines/entities/dedup_entities.py
4a03df7f576f9a2a0b830b3e0015a9bdfe3c84ca
[]
no_license
noamoss/budgetkey-data-pipelines
2efa78b55c36f3b3009c36ff4c29647c64b95af0
50648a3dc3165792fe0ebfc1c221f67f0e273e7a
refs/heads/master
2021-05-10T13:35:57.168859
2018-01-22T15:56:21
2018-01-22T15:56:21
118,478,598
0
0
null
2018-01-22T15:51:40
2018-01-22T15:51:40
null
UTF-8
Python
false
false
513
py
from datapackage_pipelines.wrapper import ingest, spew parameters, datapackage, res_iter = ingest() def process_resource(resource): for row in resource: if row['details']: details = row['details'][0] for d in row['details'][1:]: details.update(d) row['d...
[ "adam.kariv@gmail.com" ]
adam.kariv@gmail.com
d706f15af429bad35011033e9a950d3114438e24
1c39d98a7f4be6939bcbacbf3b4f7d9610bf2ea9
/0.Basis/2.UsefulFunctions/CastingWithEncoding.py
a67b65de397cee9dc758713667cb6818ed1b3e9a
[]
no_license
vlong638/VL.Python
03ae0da96164d9cd2de521faea2cb86e68152bc8
06499fa1f7f7e4b4ae9f9e470c04f78bce86a7b1
refs/heads/master
2021-01-13T11:01:29.137801
2016-11-04T05:47:09
2016-11-04T05:47:09
69,540,586
0
0
null
null
null
null
UTF-8
Python
false
false
1,816
py
import PrintHelper print('首先我们将一个数组转换成bytes') PrintHelper.PrintCode('bs=bytes(range(0,2**4))') bs=bytes(range(0,2**4),) print('输出它,你可以看到一批\\x开头的内容,这是MBCS码下的数字') print('笔者在写这个用例时,系统的默认编码是MBCS码') PrintHelper.PrintCode('print(bs)') print(bs) print('遍历输出bs的话,你看到的则都是对应存储的数值0-15') PrintHelper.PrintCode('for i in bs:') PrintH...
[ "vlong638@163.com" ]
vlong638@163.com
2d1e86ef22a0f87bdb04fabe3c8a5711bbdd06c9
2dbb46a9cb019d594a234b1b97eb281534e0e8a6
/Exercicios/ex077.py
d0717f2df834fc364f076d7876c45e9a0316deb5
[]
no_license
Omupadh/python3
70110500773ad64d5197c66364311fee2ad507ec
ff2b0ddf2f61e85158f88db65d71da408d2c1e87
refs/heads/master
2022-05-28T12:35:00.765736
2020-04-22T02:07:21
2020-04-22T02:07:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
316
py
lista = ('aprender', 'programar', 'python', 'curso', 'gratis', 'estudar', 'praticar', 'trabalhar', 'mercado', 'programador', 'futuro') for palavra in lista: print(f'\nNa palavra {palavra.upper()} temos: ', end='') for letra in palavra: if letra in 'aeiou': print(letra, end=' ')
[ "wellingtonfernandesbarbosa@github.com" ]
wellingtonfernandesbarbosa@github.com
1626407d77d1f6dfcddb9c9146efb5b60fe94351
de4da7c45581f72adaf8e328a89cb3d57fe3613f
/gui/chaveiro/prototipo/cripto/rc4_test.py
2c6b742ffcdcbfcbd29d8d4f38c27e1f89d28250
[]
no_license
ramalho/propython
2469be7492554762d05f9b0ce5c0dc3a51bd3a18
76c2b52755e08d49929cdc2a523db72735240e72
refs/heads/master
2022-06-01T22:51:07.659074
2022-05-22T18:22:21
2022-05-22T18:22:21
140,458
39
13
null
null
null
null
UTF-8
Python
false
false
5,946
py
#!/usr/bin/env python # coding: utf-8 from rc4 import rc4 ''' Fonte dos vetores de teste: A Stream Cipher Encryption Algorithm "Arcfour" http://tools.ietf.org/html/draft-kaukonen-cipher-arcfour-03 ''' TEST_VECTORS = [ ('CRYPTLIB', { 'Plain Text' : (0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,...
[ "luciano@ramalho.org" ]
luciano@ramalho.org
d4fdf071bb01f0f0ce0ec1f4ac8a7abf0a7d6763
6121da376efe804fc8d9a5b33731c7c35f6d5fc0
/regex/ex7.py
49755d80ebd92d3e8e01f28754706adb2780a5d0
[]
no_license
Gitus-Maximus/Skills
4e67b5cdc19d695aef0ab1f768d9ab5c2a9591ac
1ba6bd63de18afe2ca698430aaa4b5bd5434351b
refs/heads/main
2023-04-30T18:35:31.654718
2021-05-22T11:56:06
2021-05-22T11:56:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
144
py
import re text = """John Doe Jane Doe Jin Du Chin Doe""" results = re.split(r"\n+", text) print(results)
[ "kakulinski@wp.pl" ]
kakulinski@wp.pl
5301840620a3a2284dbf63f864142cbd47a0bd79
83af24de3164ad7840e7f43b154399e1333c07d2
/format/psd/parser/psd.py
a352a2b6d5dfcc2fe5faa72902a35c11bd2674ef
[ "MIT" ]
permissive
peitaosu/Cardiff
c7c3392819d6c691435051ac292de2f91b113687
4c9c836ab3f2b73c9d020443fb505828b307bccc
refs/heads/master
2023-04-29T08:28:22.120481
2019-01-01T15:28:12
2019-01-01T15:28:12
89,926,320
6
0
MIT
2023-04-18T11:15:04
2017-05-01T13:29:08
Python
UTF-8
Python
false
false
2,713
py
from psd_tools import PSDImage class PSD(): def __init__(self): self.header_fields = ["number_of_channels", "height", "width", "depth", "color_mode"] self.layer_fields = ["name", "blend_mode", "opacity", "visible"] self.bbox_fields = ["height", "width", "x1", "x2", "y1", "y2"] def load...
[ "peitaosu@163.com" ]
peitaosu@163.com
9ae8f32694e3f6eeb3d369c0dbb2291766e477b6
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_135/2158.py
36caa117a7bf10f3fc1e35c081d981dfff0d082e
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,341
py
def main(): file = open('1.txt','r') file_out = open('1_output.txt','w') test_cases = int(file.readline()) for test in range(1,test_cases+1): answer1 = int(file.readline())-1 row1 = file.readline().split() row2 = file.readline().split() row3 = file.readline().split() ...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
8ed1cec76255e0515fbe126d7b3f3778df248634
cdfeaa10858a01a0bff801f49f823615e40aa96a
/eShop/core/users/urls.py
ab001ada44cf12eb94c91ab8bffc322d1258cd90
[]
no_license
amyard/Django-General
ed8d1886df9ca64f1d27948658f66cc2c20a843c
0bc6e30b29c944769eecfa50830a32d3f2650458
refs/heads/master
2020-05-07T14:22:05.887529
2019-05-13T14:07:21
2019-05-13T14:07:21
180,589,626
0
0
null
null
null
null
UTF-8
Python
false
false
1,685
py
from django.urls import path, reverse_lazy from django.contrib.auth import views as auth_views from core.users.views import * app_name = 'accounts' urlpatterns = [ path('logout/', CustomLogoutView.as_view(next_page = reverse_lazy('product:base-view')), name='logout'), path('login/', LoginView.as_view(), nam...
[ "maksymturenko@gmail.com" ]
maksymturenko@gmail.com
7ab5311a9c1845503fe943c00b95ef42a0a14e57
d6b9984080d80d231cd493a30fd8a0ad2a7c05df
/natlas-agent/natlasnet.py
75c1aa2a73d3aa61c2049b4e2853546e7896263d
[ "Apache-2.0" ]
permissive
gitter-badger/natlas
e5a405c10231dfdc4a21b501e228c1dca18a697c
41e56084c195d30cd12d114330a488558de37b39
refs/heads/main
2020-08-22T14:57:22.345699
2019-10-17T21:58:12
2019-10-17T21:58:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,485
py
import requests import random import hashlib import time import json from requests.packages.urllib3.exceptions import InsecureRequestWarning import natlaslogging class NatlasNetworkServices: config = None netlogger = natlaslogging.getLogger("NetworkServices") api_endpoints = {"GETSERVICES": "/api/natlas-service...
[ "0xdade@users.noreply.github.com" ]
0xdade@users.noreply.github.com
65bfe3e0459029eb9dd33b230ec965ea4f3dd497
767831c642b7f9c4e49d7125bd3add1ce558a49a
/predicate/cls.py
94e1df91932bbd077e85c0e996a4572096cdd133
[]
no_license
taka16a23/.pylib
158152169b23677ccb06f481438995a1cd18bae6
cf702edb085b76657893daff24f4c6f349424840
refs/heads/master
2021-01-19T10:06:11.500989
2020-07-26T11:17:16
2020-07-26T11:17:16
82,158,034
0
0
null
null
null
null
UTF-8
Python
false
false
7,675
py
#!/usr/bin/env python # -*- coding: utf-8 -*- r"""cls -- DESCRIPTION """ import sys as _sys import os as _os from predicate import functions # for debug import cgitb as _cgitb _cgitb.enable(format='text') __version__ = '0.1.0' class Predicate(object): r"""SUMMARY """ def __init__(self, obj): ...
[ "root@qu" ]
root@qu
8515989085c7384397b9b716881172487ed0f4df
1c390cd4fd3605046914767485b49a929198b470
/atcoder/abc200_a.py
e39d0eff1385f9668344722fcfd71bf0d56dfc41
[]
no_license
wwwwodddd/Zukunft
f87fe736b53506f69ab18db674311dd60de04a43
03ffffee9a76e99f6e00bba6dbae91abc6994a34
refs/heads/master
2023-01-24T06:14:35.691292
2023-01-21T15:42:32
2023-01-21T15:42:32
163,685,977
7
8
null
null
null
null
UTF-8
Python
false
false
33
py
print((int(input()) + 99) // 100)
[ "wwwwodddd@gmail.com" ]
wwwwodddd@gmail.com
f6c7d903776e680035b11d7eb82aa97d36fe4b8b
836312e7ced2d5c5ed43d0e3ad34f2144cf9064e
/web-and-python/3_MessageboardServerPartOne/test.py
6e74aa454e372ab33c807f4c0646d574def7b13d
[]
no_license
muhammad-mamdouh/udacity-fullstack-tools
4342cdca75d88184a095d69b9484a4e50c87f905
a881845042f3706b5e37ea72df645859541c73ab
refs/heads/master
2022-12-15T23:33:20.813201
2019-07-11T21:05:53
2019-07-11T21:05:53
187,712,425
1
0
null
2022-12-08T05:51:53
2019-05-20T20:58:42
Python
UTF-8
Python
false
false
1,896
py
# Test script for the Messageboard Part One server. # # The server should be listening on port 8000 and answer a POST request # with an echo of the "message" field. import requests, random, socket def test_connect(): '''Try connecting to the server.''' print("Testing connecting to the server.") try: ...
[ "mahammad.mamdouh@gmail.com" ]
mahammad.mamdouh@gmail.com
0cb7d540690a4fa64d926fbdd8f0a1bef4484619
050ecf0d957206954c71012459571cbbdfeb4ff8
/scripts/artifacts/biomeUseractmeta.py
72715d953dcf1ea538db44180523b871bfcca151
[ "MIT" ]
permissive
f0r3ns1cat0r/iLEAPP
6d26705580c8a78414043576ee1f6e3a5a067295
06231027604d94c129bd1bd9ca61bd043f3d3daa
refs/heads/master
2023-02-07T03:06:57.020004
2023-02-06T19:04:53
2023-02-06T19:04:53
237,935,444
0
0
MIT
2023-02-07T01:41:56
2020-02-03T10:05:05
Python
UTF-8
Python
false
false
8,955
py
import os import struct import blackboxprotobuf import nska_deserialize as nd from datetime import datetime from time import mktime from io import StringIO from io import BytesIO from scripts.artifact_report import ArtifactHtmlReport from scripts.ilapfuncs import logfunc, tsv, timeline, is_platform_windows, open_sqlite...
[ "abrignoni@gmail.com" ]
abrignoni@gmail.com
9759e3db582df9b050fcda856c4dd7aba06a808f
b9adf873bc36f8e1244d889cedeee22ad9a3cb6b
/PythonForArcGIS/SF_PFA2/ch17/script2/searchNprint.py
9bc61c5a371282c5b21b16515958c4704b644ab4
[]
no_license
forgetbear/B_PYTHON_GIS
e2860b1dfdf1e714ffef0fad90949c083b1d4ab4
a92cdb97f601a4c61c399ad75c5f839983fab956
refs/heads/master
2023-06-08T03:18:03.786982
2023-05-28T16:42:37
2023-05-28T16:42:37
104,445,746
0
0
null
2017-09-22T07:34:40
2017-09-22T07:34:40
null
UTF-8
Python
false
false
346
py
# searchNprint.py # Purpose: Print each fire name in a file. # Usage: No script arguments needed. import arcpy, traceback try: cursor = arcpy.da.SearchCursor('C:/gispy/data/ch17/fires.shp', ['FireName']) for row in cursor: print row[0] del cursor except: print 'An error occurred' traceback.p...
[ "aaronhsu219@gmail.com" ]
aaronhsu219@gmail.com
705c147987e034b278e17b0efd2cdf8d73f5f7ff
de9b8b7192a0a81e9249823bb2b86f0b7e452863
/.history/classes/Menu_20171107165335.py
5acd5619eec5261f7e2f6e35be166c066375d3e9
[ "MIT" ]
permissive
reecebenson/uwe-dadsa-tennis-a
f5eaeb1b96d4e61f29279514e68eeea8ad6533db
d0763f819b300fcd0ce27041f5bc4ef0519c00bf
refs/heads/master
2023-07-08T16:13:23.963348
2017-11-30T12:07:01
2017-11-30T12:07:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,042
py
# DADSA - Assignment 1 # Reece Benson from os import system as call from collections import OrderedDict class Menu(): # Define the variables we will be using _app = None _menu = None _current_menu = "main" def __init__(self, app): # Set our Application self._app = app def loa...
[ "me@reecebenson.me" ]
me@reecebenson.me
f267964ff3cc1250b4ea7d09de50f4b087bf9a51
b08c253b9df2c33f19c031399c36632bd9016160
/backend/home/migrations/0002_load_initial_data.py
f879b6941a57678606c324283768a288cdf3a132
[]
no_license
crowdbotics-apps/snap-and-go-20550
3bbb32adb19bd49d3622a5b3f45412cbdb07b232
ddba63ef1bfc19310a823b51b75d6b68353993e5
refs/heads/master
2022-12-19T18:31:55.770829
2020-09-22T04:24:52
2020-09-22T04:24:52
297,533,874
0
0
null
null
null
null
UTF-8
Python
false
false
1,298
py
from django.db import migrations def create_customtext(apps, schema_editor): CustomText = apps.get_model("home", "CustomText") customtext_title = "Snap And Go" CustomText.objects.create(title=customtext_title) def create_homepage(apps, schema_editor): HomePage = apps.get_model("home", "HomePage") ...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
e025a4ff32d0529250f857e36369f6dd8dbedd4a
b66450f669095b0ad013ea82cb1ae575b83d74c3
/Technical Questions/073 - Set Matrix Zero.py
5c67d4c4a56c65216ecf5823ae74a3c0212d1430
[]
no_license
aulb/ToAsk
2649a3fad357820e3c8809816967dfb274704735
1e54c76ab9f7772316186db74496735ca1da65ce
refs/heads/master
2021-05-01T20:35:14.062678
2020-02-23T07:44:29
2020-02-23T07:44:29
33,289,737
0
0
null
null
null
null
UTF-8
Python
false
false
1,127
py
class Solution: def zeroOut(self, matrix, i, j): # Zero out all the rows for row in matrix: # Need to visit ALL the Nones, don't accidentally mark None as 0 if row[j] is not None: row[j] = 0 # Zero out all the columns for col in range(...
[ "aalbertuntung@gmail.com" ]
aalbertuntung@gmail.com
4b3b44472776ef1590a014e843f18225faae4f7b
ae8121b55decd79e2f9721ed642dc4ffab862256
/src/apps/even/types.py
76b4b8487449787507cb13f2ba30f22cb6d17934
[]
no_license
jaimescose/eventuality
0fc6b6cdd0ec5ef8bde1339285d0b722e4912a4d
8419c1f1aef81646df3068faec71d3b39e138af0
refs/heads/master
2022-12-16T18:14:31.675712
2020-09-12T00:11:58
2020-09-12T00:11:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
331
py
import graphene from graphene_django.types import DjangoObjectType from apps.even.models.event import Event from apps.even.models.eventCategory import EventCategory class EventCategoryType(DjangoObjectType): class Meta: model = EventCategory class EventType(DjangoObjectType): class Meta: mode...
[ "jjescobar@uninorte.edu.co" ]
jjescobar@uninorte.edu.co
3d40f4746e191556445151bc60c493cf6edaf753
16c4cd5571391ab46daaf4aa938f03e1b884043b
/track/views.py
37da866bee47af5b6e6b9831460b26c87808185a
[]
no_license
eddiejessup/sneezly
ab66542bb691ab82cf750b156b2fe7b17de0cff4
b947f781cc88c49b4ef504a06d7fb18e5d39225f
refs/heads/master
2021-01-13T12:50:01.082740
2016-11-16T18:40:10
2016-11-16T18:40:10
72,314,055
0
0
null
null
null
null
UTF-8
Python
false
false
534
py
from django.http import HttpResponse from rest_framework import viewsets from . import models from . import serializers def index(request): return HttpResponse("Hello, world. You're at the polls index.") class EventTypeViewSet(viewsets.ModelViewSet): queryset = models.EventType.objects.all().order_by('nam...
[ "elliot.marsden@gmail.com" ]
elliot.marsden@gmail.com
c7b404d4066b8786070d3680461aeca2108f8529
f531c94f93bd53b3099ad7917a0e6ae2a628e88e
/user/migrations/0011_auto_20210624_1501.py
202a5ed69b41b0dc5b54a37dee1cf53fb1171f7b
[]
no_license
skiboorg/nw_api_ru
428149b0814de0b670ca682a5d65528a43d496bc
e64faec9d58406ff94ed8340b0cfa09eb4c5eb3c
refs/heads/master
2023-08-13T12:44:36.928753
2021-10-15T08:37:48
2021-10-15T08:37:48
405,299,983
0
0
null
null
null
null
UTF-8
Python
false
false
1,340
py
# Generated by Django 3.2.4 on 2021-06-24 12:01 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('user', '0010_auto_20210614_2031'), ] operations = [ migrations.AddField( model_name='user', name='dkp_balance', ...
[ "d@skib.org" ]
d@skib.org
e36426aec9e7f6c6f0a09e7ba4ddbc95760b57f2
6d13de0d1ca89badfb76c677ffa8d7e2829677cb
/beaconWeb/apps/beacon/migrations/0073_auto__add_field_contactstatus_contact__add_field_contactstatus_install.py
b8783ae259d1e3816462f694a9b8914e6ee1f89b
[]
no_license
jasjitsingh85/beaconweb
08a2b97346aea6db87dd19567c39a0d99f383ae8
269c6683f759fd7e75d13ea9eec8ad63ee24df53
refs/heads/master
2021-01-13T03:43:09.308401
2016-12-24T16:12:15
2016-12-24T16:12:15
77,268,841
0
0
null
null
null
null
UTF-8
Python
false
false
25,368
py
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding field 'ContactStatus.contact' db.add_column(u'beacon_contactstatus', 'contact', ...
[ "jazjit.singh@gmail.com" ]
jazjit.singh@gmail.com
e1d38e4117bb943152545792507b87ef4455b632
fd84ada767c70e6b451a554de9f6f30544361e9b
/t00_cli/ladr_2d_p.py
025ab746d6526c94548945246ce03b4b0705e99b
[]
no_license
erdc/tut_june16
7ca9840945601c6725a9bb9d8703b5c2ea7bf6aa
fa63cc1e6ac8df81a00ed57c7282a34d3ce517a0
refs/heads/master
2022-09-12T08:31:54.513082
2022-08-11T16:19:37
2022-08-11T16:19:37
94,570,055
1
0
null
null
null
null
UTF-8
Python
false
false
1,682
py
from proteus.default_p import * from proteus.Domain import RectangularDomain from adr import LAD name = "ladr_2d" nd = 2; #Two dimensions domain = RectangularDomain(L=[1.0,1.0], x=[0.0,0.0]) T=1.0 coefficients=LAD(M=1.0, A=[[0.001,0.0], [0.0,0.001]], ...
[ "cekees@gmail.com" ]
cekees@gmail.com
8d80c768f7317b61fe2af9cbf6b1f02d7220f445
f94f48269d94cc1e44d9662d517601b7708c9ff8
/bowler/tests/smoke.py
452ccd0e9064f3195eebeeb3b1f3269db9ab90c8
[ "MIT" ]
permissive
gdevanla/Bowler
97e19b6fec2e832f80b967cc7e02c61c7a04a120
109f656d2efb6fc9cc14923cb2be6e60b746ced3
refs/heads/master
2020-04-22T07:39:00.602131
2019-03-05T00:12:47
2019-03-05T00:12:47
170,222,143
0
0
MIT
2019-02-11T23:58:06
2019-02-11T23:58:06
null
UTF-8
Python
false
false
1,883
py
#!/usr/bin/env python3 # # Copyright (c) Facebook, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. import logging from pathlib import Path from unittest import TestCase from fissix.fixer_util import Call, Name from...
[ "john@noswap.com" ]
john@noswap.com
f3bec9d1130d551d6e3ffbfcdeae0742d2a442db
143eb3ced0ff1f9cad745c620fcb572f72d66048
/Assignment4/atom3/Formalisms/ttpn/TTPN_Transition.py
49e33ab94b529cf0ff4a9b442c57efcb812c0676
[]
no_license
pombreda/comp304
2c283c60ffd7810a1d50b69cab1d5c338563376d
d900f58f0ddc1891831b298d9b37fbe98193719d
refs/heads/master
2020-12-11T07:26:19.594752
2014-11-07T12:29:28
2014-11-07T12:29:28
35,264,549
1
1
null
2015-05-08T07:18:18
2015-05-08T07:18:18
null
UTF-8
Python
false
false
1,944
py
# __TTPN_Transition.py_____________________________________________________ from ASGNode import * from ATOM3Type import * from ATOM3String import * from ATOM3Integer import * from ATOM3Boolean import * from graph_TTPN_Transition import * class TTPN_Transition(ASGNode, ATOM3Type): def __init__(self, par...
[ "shankland@bigvikinggames.com" ]
shankland@bigvikinggames.com
3347a5c8f4de91a8bb21feaa91997438f2b8c874
0107160f73c6f46a0c693f0aa8b2b22bb04aaa07
/flex/http/negotiators.py
f9990629b2219f3dd1a7da2e2230e3d0eb99c9a8
[ "MIT" ]
permissive
centergy/flex
8a9054171a121671e09646a88259c947d0d87cc4
4fc11d3ad48e4b5016f53256015e3eed2157daae
refs/heads/master
2022-12-13T06:01:09.561457
2018-08-22T20:32:34
2018-08-22T20:32:34
145,748,684
0
0
MIT
2022-12-08T00:45:07
2018-08-22T18:40:47
Python
UTF-8
Python
false
false
2,435
py
""" Content negotiation deals with selecting an appropriate renderer given the incoming request. Typically this will be based on the request's Accept header. """ import flask as fl from . import exc class BaseContentNegotiator(object): def get_accept_mimetypes(self, request=None): """Given the incoming request...
[ "davidmkyalo@gmail.com" ]
davidmkyalo@gmail.com
2b01130377d7cf47148f7fbb2b98ec44c8572ea8
3670f46666214ef5e1ce6765e47b24758f3614a9
/oneflow/python/test/ops/test_pad.py
e6791783c00304a29f01b3ae5a99a58e02b46e3b
[ "Apache-2.0" ]
permissive
ashing-zhang/oneflow
0b8bb478ccd6cabea2dca0864defddab231919bf
70db228a4d361c916f8f8d85e908795b479e5d20
refs/heads/master
2022-12-14T21:13:46.752535
2020-09-07T03:08:52
2020-09-07T03:08:52
293,535,931
1
0
Apache-2.0
2020-09-07T13:28:25
2020-09-07T13:28:24
null
UTF-8
Python
false
false
2,322
py
""" Copyright 2020 The OneFlow 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 applicable law or agr...
[ "noreply@github.com" ]
ashing-zhang.noreply@github.com
ba3879d2b7d86f9e757c3ef7aec20e0306fd3ad4
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/35/usersdata/107/13711/submittedfiles/dec2bin.py
13e0900af54823d71616b27cfacbb479d7e7577c
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
306
py
# -*- coding: utf-8 -*- from __future__ import division q=int(input('digite o numero:')) p=int(input('digite o segundo numero:')) cont=0 c=p while c>=1: c=c//10 cont=cont+1 cont2=0 while q>0: if q%(10**cont)==p: cont2=cont2+1 q=q//10 if cont2>0: print('S') else: Print('N')
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
f7872d18dfdf1f3cdcb092809176506d90d78657
03c67ec26c9819465ebe8a7032e3d27ad99cc2ab
/src/pytypes/tests/test_instance_config_update.py
31abba0847ad80e2e80be0dc1c7038b05bbb5dd3
[ "LicenseRef-scancode-generic-cla", "MIT" ]
permissive
microsoft/onefuzz
1358ed62705c7bf0b6ec6163ab80031e72d7cacf
f141050bbbf7ddc6f42881cb82ded38e2924fdb3
refs/heads/main
2023-09-04T08:03:30.247341
2023-09-01T16:32:39
2023-09-01T16:32:39
283,030,627
2,998
226
MIT
2023-09-14T21:45:27
2020-07-27T22:23:30
C#
UTF-8
Python
false
false
979
py
#!/usr/bin/env python # # Copyright (c) Microsoft Corporation. # Licensed under the MIT License. from uuid import UUID import unittest from onefuzztypes.models import InstanceConfig class TestInstanceConfig(unittest.TestCase): def test_with_admins(self) -> None: no_admins = InstanceConfig(admins=None, a...
[ "noreply@github.com" ]
microsoft.noreply@github.com
04204ae2b1c272e0322c78c58aaacdd839164dff
46e6b58d52aad982ac49e8b4b1e72cc19d5855e7
/venv/Lib/site-packages/setuptools/command/setopt.py
9050e1aba99c77f67b5202cfce6043f2424aee36
[]
no_license
Josquin95/Triqui
76584d2801d49546c79422b4635bff5d251b77c9
82e3ac1b0e053993d76e3d7aea88204799540e05
refs/heads/master
2023-07-21T09:38:49.037207
2023-07-17T21:42:29
2023-07-17T21:42:29
113,802,751
0
1
null
2022-10-07T04:32:38
2017-12-11T02:27:58
Python
UTF-8
Python
false
false
5,159
py
import distutils import os from distutils import log from distutils.errors import DistutilsOptionError from distutils.util import convert_path from setuptools import Command from setuptools.extern.six.moves import configparser __all__ = ['config_file', 'edit_config', 'option_base', 'setopt'] def config_file(kind="l...
[ "jose.osorio1@correo.icesi.edu.co" ]
jose.osorio1@correo.icesi.edu.co
61e959cd2a2ce271a01833c5da9ce5ffca637885
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_236/ch46_2019_03_29_14_22_04_833548.py
80055e54604d2de561347e10d78756cc08683ea2
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
193
py
game=True palavra=[] while game==True: p=input('qual palavra') if p==('fim'): game=False else: palavra.append(p) for i in palavra: if i[0]=='a': print(i)
[ "you@example.com" ]
you@example.com
7ffbed12ab9bb6f8192ec668d1418290ea6cb44b
5600d31c62b629b95ef971ba1fa7859f3facbea1
/src/assignment5/test.py
a611ae39197e365bf097dbe98174c51f3954db24
[]
no_license
giginet/PatternMatch
18864e480eb12c1e94abc631b58758d5ffd596da
eb843eb4847acf32ff72bd8423cb9d3bd838ecb3
refs/heads/master
2021-01-01T05:30:59.343337
2011-08-11T20:46:14
2011-08-11T20:46:14
2,070,055
0
1
null
null
null
null
UTF-8
Python
false
false
1,647
py
# -*- coding: utf-8 -*- # # assignment5.test # created by giginet on 2011/08/10 # from pylab import * from scipy import * from scipy import optimize # if you experience problem "optimize not found", try to uncomment the following line. The problem is present at least at Ubuntu Lucid python scipy package # fr...
[ "giginet.net@gmail.com" ]
giginet.net@gmail.com
ff1c2b534c12c95f3d77a2c03d200a0b4840a846
41b59a9c8381fa3a92f5d2c37c91261afb9c82c4
/QCDEventShape/2018/MC/test/crab_MC_pythia8_800_1000.py
3e6e2f3c5873b1c63ba68752b0919c9f7bea5b10
[]
no_license
Sumankkundu/ChargedParticle
c6d4f90b55df49321df2ecd758bb1f39db896f8c
eb5bada24b37a58ded186d6e5d2d7bd00898fefe
refs/heads/master
2023-07-15T03:34:33.377203
2021-08-31T05:01:32
2021-08-31T05:01:32
231,091,587
1
0
null
null
null
null
UTF-8
Python
false
false
2,455
py
from CRABClient.UserUtilities import config, getUsernameFromSiteDB config = config() config.General.requestName = 'crab_Event_Shape_Pythia8_800_1000_analysis_25ns_76x_Run_v4' config.General.workArea = 'crab_projects' config.General.transferOutputs = True config.General.transferLogs = True config.JobType.pluginName = ...
[ "skundu91phys@gmail.com" ]
skundu91phys@gmail.com
d7559ae902548b02e8766acf632e1bf69195d444
b68c7a96387b9fc0b3bab6cd3dde2a0563c05303
/pagenation/pagenation/wsgi.py
c8178b601a2a4a0a32a24816bd49a5fd42004460
[]
no_license
priyankmahour/DJANGO_REST_API
368cf70915eb93e9409978ae19907b64f330bdf3
047bb73fb7cc9f31e32e8af0fe052582e5f61d8c
refs/heads/master
2020-04-13T10:35:41.322356
2019-02-25T17:06:19
2019-02-25T17:06:19
163,145,490
1
0
null
null
null
null
UTF-8
Python
false
false
398
py
""" WSGI config for pagenation project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.11/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_S...
[ "mahourpriyank40@gmail.com" ]
mahourpriyank40@gmail.com
d453dcee5038b6e2a5d477889403e5615dce805d
ab7f0b161fc79b33c34a4ce88a1a45eb7eb94598
/文字列/91_Decode Ways.py
4d1442ff0a447f8779e5d65cc61900a6c942fc41
[]
no_license
robbyvan/-
71887209c4ce7335570a940938e4d2eee1cb97eb
b6738085cfe516c2e015e168e9bde0bb2c6f8a9c
refs/heads/master
2021-05-06T07:07:18.101631
2018-08-04T14:17:48
2018-08-04T14:17:48
113,934,057
0
0
null
null
null
null
UTF-8
Python
false
false
742
py
# 91. Decode Ways # 从右向左decode. # i处遇到一个非0数字, 如果[i:i+2]可以小于26, 说明有2中方式, 所以是opt[i+1] + opt[i+2] # 如果大于26, 只可能是opt[i+1] (i单独出来唯一一种) # 如果i处遇到0, 这时候对于[i-1:i+1] 一定是x0单独出来, 是新i的opt[i + 2]. # 但是处理的时候把0处的opt = 0, 就也能写成opt[i+1](=0) + opt[i+2] class Solution(object): def numDecodings(self, s): if not s: return 0 ...
[ "fzpinus@gmail.com" ]
fzpinus@gmail.com
ab747ac8478a92f915ec2be6ae7a509cbc5cccf9
1af49694004c6fbc31deada5618dae37255ce978
/third_party/blink/renderer/platform/loader/DEPS
52019c0ffc9bae9c35a2a451bc050e60560a5007
[ "LGPL-2.0-or-later", "GPL-1.0-or-later", "MIT", "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer", "LGPL-2.1-only", "GPL-2.0-only", "LGPL-2.0-only", "BSD-2-Clause", "LicenseRef-scancode-other-copyleft", "BSD-3-Clause" ]
permissive
sadrulhc/chromium
59682b173a00269ed036eee5ebfa317ba3a770cc
a4b950c23db47a0fdd63549cccf9ac8acd8e2c41
refs/heads/master
2023-02-02T07:59:20.295144
2020-12-01T21:32:32
2020-12-01T21:32:32
317,678,056
3
0
BSD-3-Clause
2020-12-01T21:56:26
2020-12-01T21:56:25
null
UTF-8
Python
false
false
3,392
include_rules = [ # Don't depend on platform/. "-third_party/blink/renderer/platform", # Module. "+third_party/blink/renderer/platform/loader", # Dependencies. "+base/metrics/field_trial_params.h", # for fetch/ResourceLoadScheduler.cpp "+base/strings/string_number_conversions.h", # for f...
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org