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
944b587c20a855ea6183fda5217acc2cdbc4b829
d554b1aa8b70fddf81da8988b4aaa43788fede88
/5 - Notebooks e Data/1 - Análises numéricas/Arquivos David/Atualizados/logDicas-master/data/2019-1/223/users/4175/codes/1831_1647.py
b8b721be92361554460357778ef05b847d9b2100
[]
no_license
JosephLevinthal/Research-projects
a3bc3ca3b09faad16f5cce5949a2279cf14742ba
60d5fd6eb864a5181f4321e7a992812f3c2139f9
refs/heads/master
2022-07-31T06:43:02.686109
2020-05-23T00:24:26
2020-05-23T00:24:26
266,199,309
1
0
null
null
null
null
UTF-8
Python
false
false
217
py
from numpy import * x = array(eval(input())) h = 0 for i in range(size(x)): if x[i] >= 70: h += 1 a = zeros(h,dtype=int) b = 0 for i in range(size(x)): if x[i] >= 70: a[b] = i b += 1 print(h) print(a)
[ "jvlo@icomp.ufam.edu.br" ]
jvlo@icomp.ufam.edu.br
423d0a5205719da655a6c7367bb7657d869be5a2
2043a3bbe2c2ac4fcf293a578b4c82018871290b
/75-分类颜色/75.py
0f72943fd926bb480d828f93ff87fa916a1e602f
[]
no_license
agave233/leetcode
7f3804a5ec544a9fb1a6ae34a91886d283075e2a
57629c9b0f9a7539bed9f28ba6771ee9d13aafaa
refs/heads/master
2021-09-13T21:42:55.535234
2018-05-04T15:57:24
2018-05-04T15:57:24
124,670,764
0
0
null
null
null
null
UTF-8
Python
false
false
2,309
py
# 给定一个包含红色、白色和蓝色,一共 n 个元素的数组,原地对它们进行排序,使得相同颜色的元素相邻,并按照红色、白色、蓝色顺序排列。 # 此题中,我们使用整数 0、 1 和 2 分别表示红色、白色和蓝色。 # 注意: # 不能使用代码库中的排序函数来解决这道题。 # 示例: # 输入: [2,0,2,1,1,0] # 输出: [0,0,1,1,2,2] # 进阶: # 一个直观的解决方案是使用计数排序的两趟扫描算法。 # 首先,迭代计算出0、1 和 2 元素的个数,然后按照0、1、2的排序,重写当前数组。 # 你能想出一个仅使用常数空间的一趟扫描算法吗? class Solution(...
[ "632679697@qq.com" ]
632679697@qq.com
9d0c9fb03e3dacec886b807ae0a1a6ea765f9b58
71a7ed5dd56b89aea1795a3db1469e3006be783f
/configs/body/2d_kpt_sview_rgb_img/topdown_heatmap/ochuman/res50_ochuman_256x192.py
317daf606948263935948879490bc7c40125f316
[ "Apache-2.0" ]
permissive
RunningLeon/mmpose
b6091416a2565778a1438b23edaa6620a2088a3e
9ef202c0a4b2c28add32b530caf2ea0354843fe4
refs/heads/master
2023-06-30T04:46:52.917877
2021-08-05T08:54:24
2021-08-05T08:54:24
335,275,684
0
0
Apache-2.0
2021-02-02T12:06:57
2021-02-02T12:06:57
null
UTF-8
Python
false
false
4,034
py
log_level = 'INFO' load_from = None resume_from = None dist_params = dict(backend='nccl') workflow = [('train', 1)] checkpoint_config = dict(interval=10) evaluation = dict(interval=10, metric='mAP', save_best='AP') optimizer = dict( type='Adam', lr=5e-4, ) optimizer_config = dict(grad_clip=None) # learning pol...
[ "noreply@github.com" ]
RunningLeon.noreply@github.com
55dc36fad2263c0041f87291fe34bfb6cd763091
87b5f0204936a5a62bbb31e2af5ccd152038230f
/backend/manage.py
f3326fa37b1bcfdbfc415a7b35c90e1921ef33dc
[]
no_license
crowdbotics-apps/mute-moon-26769
f14fb72f6204ba8adfb391b4a008c8e8a1311333
151175be2859684282bad74a16411d16cb2cfb21
refs/heads/master
2023-04-28T02:10:48.679636
2021-05-17T01:35:36
2021-05-17T01:35:36
368,023,448
0
0
null
null
null
null
UTF-8
Python
false
false
635
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'mute_moon_26769.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: rais...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
b49b927de1cb8c41f34d923716d6d951afbacd28
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/139/usersdata/189/61634/submittedfiles/diagonaldominante.py
3ecd306adb4779a29d9d8a28fa75a153912fbb60
[]
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
683
py
import numpy as np def soma(a): b=[] for i in range (0,a.shape[0],1): soma=0 for l in range(0,a.shape[1],1): if i!=l: soma=soma+a[i,l] b.append(soma) return (b) def diagonal (a,b): for i in range (0,a.shape[0],1): for l in range(0,a.shape[1]...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
87951158cd21aa5fdfca1573b59bd66848147702
922915616fb6e6398218a049683537bea0e79cd3
/hc/accounts/tests/test_close_account.py
4827bae476863ed022cdb20adc25068aa8feb225
[ "BSD-3-Clause" ]
permissive
healthchecks/healthchecks
ec9082f17c383877bf40a01c0ada7b90769f2e8a
8472bd5d1e993838f43023f1b8c8f52f4b0c9cb6
refs/heads/master
2023-09-03T15:47:47.234251
2023-09-03T13:16:50
2023-09-03T13:20:22
38,067,078
6,731
866
BSD-3-Clause
2023-08-04T06:56:56
2015-06-25T18:38:33
Python
UTF-8
Python
false
false
2,962
py
from __future__ import annotations from unittest.mock import Mock, patch from django.contrib.auth.models import User from hc.api.models import Check from hc.payments.models import Subscription from hc.test import BaseTestCase class CloseAccountTestCase(BaseTestCase): def test_it_requires_sudo_mode(self) -> Non...
[ "cuu508@gmail.com" ]
cuu508@gmail.com
64d9650801104937126237e88b0f984954c0b5cb
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/v34oCTbkrceCZjgRE_23.py
b82516008f4b620067946076e987d3fe8b4da661
[]
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,292
py
""" The **right shift** operation is similar to **floor division by powers of two** , thus, the process is _repetitive_ and can be done _recursively_. Sample calculation using the right shift operator ( `>>` ): 80 >> 3 = floor(80/2^3) = floor(80/8) = 10 -24 >> 2 = floor(-24/2^2) = floor(-24/4) = -6 -5 ...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
1302a354932dc26385b55581db4e9327a857de4b
fc5a4e7c181dc4371ee1ac3b5b077901ca91f889
/src/python/WMCore/MicroService/MSOutput/RelValPolicy.py
b6993a514eb3f794c1c67aa56cb3cdfe750bc6ac
[ "Apache-2.0" ]
permissive
vkuznet/WMCore
4900a6320c52210aeaaafea90f1be1ef7bc932a6
de110ccf6fc63ef5589b4e871ef4d51d5bce7a25
refs/heads/master
2023-09-01T12:19:26.134554
2023-08-24T09:50:59
2023-08-24T09:50:59
19,494,576
0
0
Apache-2.0
2022-02-24T18:36:38
2014-05-06T13:08:55
Python
UTF-8
Python
false
false
9,897
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Module to store the RelVal output data placement policy and make decisions based on that """ from __future__ import print_function, division from copy import deepcopy import json import re from WMCore.MicroService.Tools.Common import getMSLogger from WMCore.WMException...
[ "alan.malta@cern.ch" ]
alan.malta@cern.ch
97324cae3490a51fc76332a4757f33193a40d7a5
ece1ac011ad9ef111b49a5311be5f688b92caf54
/6/mongo/mongo.py
a7eede7f89a584b21be3d163a7f67bc8259bae57
[]
no_license
stuycs-softdev/classcode
2c9b0359a01412f1f6635a36efb0615559781f27
63228738465c2a962bcce3286d163169429deb80
refs/heads/master
2021-01-10T21:52:32.356034
2015-12-09T18:16:16
2015-12-09T18:16:16
42,941,947
2
1
null
null
null
null
UTF-8
Python
false
false
945
py
import random from pymongo import MongoClient # connection = Mongoclient("hostname") connection = MongoClient() # Authenticate if needed #db = connection.admin #db.authenticate('user','password') # same as "use pd6" from the shell # we could also do: db = connection.pd6 db = connection['pd6'] print db.collection_n...
[ "zamansky@gmail.com" ]
zamansky@gmail.com
1c5b12d9f70dee7c9679bd54a8c6c9ec82a6fa8a
612325535126eaddebc230d8c27af095c8e5cc2f
/depot_tools/external_bin/gsutil/gsutil_4.15/gsutil/third_party/apitools/apitools/base/py/transfer.py
9300d0146031e69f36b306a6ed405f353510b9f8
[ "Apache-2.0", "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
41,608
py
#!/usr/bin/env python """Upload and download support for apitools.""" from __future__ import print_function import email.generator as email_generator import email.mime.multipart as mime_multipart import email.mime.nonmultipart as mime_nonmultipart import io import json import mimetypes import os import thre...
[ "2100639007@qq.com" ]
2100639007@qq.com
c2f65086ada40da23489f4a2b33517ecb9526ab7
f56760530e2bb6e8fc69063330a01d0319e7d4b3
/Test/ospf_test.py
5cd33b5f303fa20f1f28de01707d49ce553e7324
[]
no_license
isaacmejiarosario/NetDevOps-demos
1283791fb270fa89fd60787778fa4b1c9366b9ea
6eab9fe9a9d65cc43e023ce8c2c4b5dbf595ecad
refs/heads/master
2023-08-10T17:51:10.716333
2021-10-03T20:49:52
2021-10-03T20:49:52
340,736,970
0
0
null
null
null
null
UTF-8
Python
false
false
2,267
py
from genie.testbed import load from pyats import aetest from genie.utils import Dq import json class OspfTestcase(aetest.Testcase): @aetest.setup def setup(self): self.parameters["testbed"].connect(log_stdout=False) with open(f"./golden_ops/golden-ospf-database.txt", "rb") as f: se...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
2f3fb28244683247280ddc432829500e6d243611
a090d0a8a3077351d580aab605336b2f60df012f
/api/data/transaction.py
43cea0fb2f5afbb40e642e26318591ca93d7e297
[]
no_license
sgammon/ProvidenceClarity
5af58a9b1a56c93df59e17c556274c4d0442804b
5a5b9dac280c3fd9abb7a859d655c05937a6a8aa
refs/heads/master
2021-01-01T16:59:39.580153
2010-09-28T04:58:23
2010-09-28T04:58:23
659,392
0
0
null
null
null
null
UTF-8
Python
false
false
3,299
py
import logging from . import DataController from google.appengine.ext import db from google.appengine.api.labs import taskqueue from ProvidenceClarity import pc_config from ProvidenceClarity.data import data from ProvidenceClarity.data.core.model import Model url_prefix = pc_config.get('pc_url_prefix','handlers','/_...
[ "samuel.gammon@gmail.com" ]
samuel.gammon@gmail.com
9ec82e2062bb8a13d7bb3948d7c30ce5120ec934
be02fd6adb789e8b5f5c8f77b2635b71b1b24a52
/gcon.py
93a3f4f56009d56b942f4c6a0e289d78ea9996fb
[]
no_license
pavlin-policar/rosalind
05cd66bec512e7b3ca414effd00e4d1b4ffd563a
d9c8b2ab20e950ef543964fc5e1c47bbf21b8362
refs/heads/master
2021-11-25T08:20:28.083661
2021-11-07T17:28:50
2021-11-07T17:30:50
71,159,103
0
0
null
null
null
null
UTF-8
Python
false
false
2,944
py
import operator import sys import numpy as np from Bio import SeqIO from Bio.SubsMat.MatrixInfo import blosum62 def global_alignment_affine_gap_scores(seq1, seq2, scoring_function, gap_start, gap_cont): """Global sequence alignment using the Needleman–Wunsch algorithm, but we'll penalize gap continuation les...
[ "pavlin.g.p@gmail.com" ]
pavlin.g.p@gmail.com
1553a29bc568942d04850c4fa713422d6a3401dd
58a5a251e60a50bdfe62e50724f67a6ab5af2e7a
/todolist/todo/models.py
a26f436363f4fab915ceeb7f1e480d02a12fb1e1
[]
no_license
mahamatnoumai/learn-django
a355f1c768e34cdfff5369f381f43b2d68aaf282
999bfc3e92ddccd90bd15a73b12dc09537e0b9a9
refs/heads/main
2023-04-19T04:34:30.584380
2021-04-28T18:49:14
2021-04-28T18:49:14
302,302,209
0
1
null
null
null
null
UTF-8
Python
false
false
304
py
from django.db import models from django.utils import timezone # Create your models here. class Todo(models.Model): title=models.CharField(max_length=100) details=models.TextField() date=models.DateTimeField(default=timezone.now) def __str__(self): return self.title
[ "=" ]
=
3b3961bce14d162772d63aa7f4df39a0d2d9abf3
84b5ac79cb471cad1d54ed1d2c842dc5581a03f0
/branches/sarge/config/scripts/paella-umlrunner
54f8fff2eabb89f99ff8604688066440782d15a6
[]
no_license
BackupTheBerlios/paella-svn
c8fb5ea3ae2a5e4ca6325a0b3623d80368b767f3
d737a5ea4b40f279a1b2742c62bc34bd7df68348
refs/heads/master
2021-01-18T14:07:40.881696
2012-11-13T20:33:08
2012-11-13T20:33:08
40,747,253
0
1
null
null
null
null
UTF-8
Python
false
false
1,028
#!/usr/bin/env python import os, sys from os.path import join from optparse import OptionParser from useless.base import Error, debug from paella.uml.umlrunner import backup, install, restore, run, extract parser = OptionParser() parser.add_option('--basefile', action='store', type='string', dest='basefile', ...
[ "umeboshi@cfc4e7be-4be4-0310-bcfe-fc894edce94f" ]
umeboshi@cfc4e7be-4be4-0310-bcfe-fc894edce94f
e2f2b816fb64bee9fb90c4c68fad6777958ef973
6553a1f289e962e0414cfc5a11072d2a6bd38ab9
/KCS1_79215.5.py
d3fea1b65a63a6e88c07520e39570776f56bb118
[]
no_license
marattang/samsung
1271159847f3ffb43d2d6143ec011b97fd315a4a
8f4f843ca4ae9d866e53a70c65c12a2c0a201211
refs/heads/main
2023-06-25T12:40:48.137751
2021-07-27T09:31:20
2021-07-27T09:31:20
389,924,322
0
0
null
null
null
null
UTF-8
Python
false
false
6,006
py
''' 종합 1,2,3등 무한야끼 1인분 + 비트 우수상 4, 5등 커피 6등 이하 나가리 문제 설명 시, 고, 저, 종가 거래량만으로 컬럼 구성 행은 2011년 1월 3일 이후 데이터로 구성 삼성과 sk 각각 5개의 컬럼씩 앙상블하고 1. 금요일 종가 맞추기 2. 월요일 시가 맞추기 쉬는 시간: 오전 매시 20분 ~ 30분 오후 매시 정각 ~ 10분 ''' import numpy as np import matplotlib.pyplot as plt from tensorflow.keras.datasets import fashion_mnist from tensorf...
[ "tlawlfp0322@gmail.com" ]
tlawlfp0322@gmail.com
56d91d867c627fd05590b981bf8d86657344717e
2c4a2790457a2c16c9c92bc2e6feeb6cc9271994
/laptop/catkin_ws/build/turtlebot3/turtlebot3_teleop/catkin_generated/pkg.installspace.context.pc.py
c6afa38500590e905be61396c68d0b3280fedbc9
[]
no_license
Zoltan3057/skalman
df37e6f376665363b6ea73c6c16fe8312e473e07
0e4cead39f6328c74622dd11688837b77152ff17
refs/heads/master
2021-09-22T22:26:07.265321
2018-09-17T20:47:05
2018-09-17T20:47:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
417
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else [] PROJECT_CATKIN_DEPENDS = "rospy;geometry_msgs".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else [] PROJECT_NAME = "turtlebot3_teleop"...
[ "fregu856@student.liu.se" ]
fregu856@student.liu.se
cbbdd9ace12cd941a92a9902340e446291c584f2
d874c1f091ccdbe9237bf1af20c6e401d3340f5f
/setup.py
7acbb655d0f2f4dd2e5504fbff64d3119c649aad
[ "BSD-2-Clause" ]
permissive
DanielLB77/S3-netcdf-python
91160bb080ff418ceb5f182bbfdad3618edd3830
3c3e987737dfb27407a82a6a037865af9c4837fa
refs/heads/master
2020-12-15T11:29:21.122088
2019-10-08T07:17:04
2019-10-08T07:17:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,171
py
import os from setuptools import setup with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme: README = readme.read() # allow setup.py to be run from any path os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) setup( name='S3netCDF4', version='0.1', pack...
[ "neil.massey@stfc.ac.uk" ]
neil.massey@stfc.ac.uk
0a83d5d21715293e3547c07afb6153eef1df1439
42c48f3178a48b4a2a0aded547770027bf976350
/google/ads/google_ads/v3/proto/enums/page_one_promoted_strategy_goal_pb2.py
36ba91aebc9b01fcac91f95c2680dc8afa1eb859
[ "Apache-2.0" ]
permissive
fiboknacky/google-ads-python
e989464a85f28baca1f28d133994c73759e8b4d6
a5b6cede64f4d9912ae6ad26927a54e40448c9fe
refs/heads/master
2021-08-07T20:18:48.618563
2020-12-11T09:21:29
2020-12-11T09:21:29
229,712,514
0
0
Apache-2.0
2019-12-23T08:44:49
2019-12-23T08:44:49
null
UTF-8
Python
false
true
1,796
py
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/ads/googleads_v3/proto/enums/page_one_promoted_strategy_goal.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....
[ "noreply@github.com" ]
fiboknacky.noreply@github.com
70d7c90b62ce2adbad859fa242a5527a1ed7850f
e6c65e2e354336a4bea5b6a4ccbccd3682915fe2
/out-bin/py/google/fhir/models/run_locally.runfiles/com_google_fhir/external/pypi__tensorflow_1_12_0/tensorflow-1.12.0.data/purelib/tensorflow/python/debug/lib/debug_utils.py
0f6f7e84b9b13913087c83bbc0b4a7e21aeec112
[ "Apache-2.0" ]
permissive
rasalt/fhir-datalab
c30ab773d84983dd04a37e9d0ddec8bf2824b8a4
3e329fc8b4226d3e3a4a7c23c306a86e7a9ea0de
refs/heads/master
2021-10-09T05:51:04.593416
2018-12-21T18:11:03
2018-12-22T05:38:32
162,744,237
0
0
null
null
null
null
UTF-8
Python
false
false
183
py
/home/rkharwar/.cache/bazel/_bazel_rkharwar/0ddaa3627472ad9d1367a008236ce2f5/external/pypi__tensorflow_1_12_0/tensorflow-1.12.0.data/purelib/tensorflow/python/debug/lib/debug_utils.py
[ "ruchika.kharwar@gmail.com" ]
ruchika.kharwar@gmail.com
9a7e5729ca7f043d0b35fdcb4c728b2bd339565b
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-2/a178ffa674951204a6e2bc0a2e9ea34736738a1d-<parse_inventory>-fix.py
0b1f00b8dd37564295bfad8beee65e3463f42aa4
[]
no_license
wsgan001/PyFPattern
e0fe06341cc5d51b3ad0fe29b84098d140ed54d1
cc347e32745f99c0cd95e79a18ddacc4574d7faa
refs/heads/main
2023-08-25T23:48:26.112133
2021-10-23T14:11:22
2021-10-23T14:11:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,223
py
def parse_inventory(self, host_list): if isinstance(host_list, string_types): if (',' in host_list): host_list = host_list.split(',') host_list = [h for h in host_list if (h and h.strip())] self.parser = None ungrouped = Group('ungrouped') all = Group('all') all.add...
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
a83a768500a1e1516c1e647469c1ff8e96c7dafb
34c87ae4358a8c3b402db8dbba25c7c6c0860729
/Mirrored Slope.py
bde1d8025adfa0e916745a066cf597b36289cb1a
[]
no_license
ongsuwannoo/Pre-Pro-Onsite
6ccb28fa2b91afe21740fdaa3fc5bf616ac369a8
27d621d13be61722e78f15d1837e38d1381d2fb2
refs/heads/master
2020-04-05T08:50:01.282212
2019-03-10T08:14:47
2019-03-10T08:14:47
156,731,854
0
0
null
null
null
null
UTF-8
Python
false
false
163
py
""" Mirrored Slope """ def main(): """ input number """ num = int(input()) for _ in range(num-1, -1, -1): print(" " * _ + "/") main()
[ "noreply@github.com" ]
ongsuwannoo.noreply@github.com
2d54c025ab323fab9c560599a5be921053f1af77
f57a583d41ddf3bf4e8a96e32f38de9d83ff6ae8
/python/lxml/from_file.py
d2cbe0dce84837442299ece896f6bf557a7d7a7a
[]
no_license
sansajn/test
5bc34a7e8ef21ba600f22ea258f6c75e42ce4c4e
c1bed95984123d90ced1376a6de93e3bb37fac76
refs/heads/master
2023-09-01T00:04:48.222555
2023-08-22T15:14:34
2023-08-22T15:14:34
224,257,205
2
3
null
null
null
null
UTF-8
Python
false
false
277
py
# parse from file from lxml import etree from io import StringIO, BytesIO file_name = 'simple.html' fhtml = open(file_name) parser = etree.HTMLParser() tree = etree.parse(fhtml, parser) result = etree.tostring(tree.getroot(), pretty_print=True, method='html') print(result)
[ "adam.hlavatovic@protonmail.ch" ]
adam.hlavatovic@protonmail.ch
c1475a7545580217e14e6a6221ae59dbb0fa5d6b
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_siting.py
a207d71b0253c129c02a90a7601db13b18dcc764
[ "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
214
py
#calss header class _SITING(): def __init__(self,): self.name = "SITING" self.definitions = sit self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['sit']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
ea1e4904a131827bc44a48f052e1018d2f456958
d59bad348c88026e444c084e6e68733bb0211bc2
/banco_dados/povoar_grupo.py
5a9219f622b11bc6929e9b8358c2a1448290b447
[]
no_license
dersonf/udemy-python
f96ec883decb21a68233b2e158c82db1c8878c7a
92471c607d8324902902774284f7ca81d2f25888
refs/heads/master
2022-09-25T00:18:49.833210
2020-06-05T18:18:38
2020-06-05T18:18:38
262,049,238
0
0
null
null
null
null
UTF-8
Python
false
false
486
py
from mysql.connector.errors import ProgrammingError from bd import nova_conexao sql = """ INSERT INTO grupos (descricao) VALUES (%s) """ args = ( ('trabalho',), ('familia',), ('jogo',) ) with nova_conexao() as conexao: try: cursor = conexao.cursor() cursor.executemany(sql, args) ...
[ "anderson@ferneda.com.br" ]
anderson@ferneda.com.br
b434597ab2ddd78be928d9230bd5b1e0bc986161
3afd8eb6fb5a711f46425810971fa7e8faa3417f
/padre/tests/handlers/test_dns_handler.py
b614a6af968a03d2e82860e2530da4f87f1d23e3
[ "MIT" ]
permissive
krislindgren/padre
13171e3229b97737c88b84bb83801ec7323b2f16
56e3342a953fdc472adc11ce301acabf6c595760
refs/heads/master
2020-04-04T06:55:58.756529
2018-10-26T21:40:51
2018-10-26T21:40:51
155,762,389
0
0
MIT
2018-11-01T19:02:43
2018-11-01T19:02:42
null
UTF-8
Python
false
false
1,243
py
import mock import munch from testtools import TestCase from padre import channel as c from padre import handler from padre.handlers import dns from padre.tests import common class DNSHandlerTest(TestCase): def test_expected_handled(self): bot = mock.MagicMock() bot.config = munch.Munch() ...
[ "clint@fewbar.com" ]
clint@fewbar.com
5d5350ec102d1301fee59be3c48a1efed7553784
0c507f09b7328e58b8dc2003a30056699c772d6d
/two_pointers/move_zeroes.py
2923f9cef3bb84acf58c9e7f68ccd8726991b3c3
[]
no_license
chicocheco/leetcode_exercises
81c531fa418eaa62097ccda07cf1d21a882fb965
c97b47907ddf6b5b26b448969f515068648ea9d9
refs/heads/main
2023-08-30T07:50:05.498088
2021-11-16T16:27:44
2021-11-16T16:27:44
402,787,468
0
0
null
null
null
null
UTF-8
Python
false
false
1,100
py
""" Given an integer array nums, move all 0's to the end of it while maintaining the relative order of the non-zero elements. Note that you must do this in-place without making a copy of the array. """ # my slow solution: # def move_zeroes(nums: list): # count = nums.count(0) # for i, v in enumerate(nums): # ...
[ "stanislav.matas@gmail.com" ]
stanislav.matas@gmail.com
1d0c75e7a587cf0bb068c45e213bc153db4a1e74
269be690e4385dcc97539320c7a435b94a505eac
/Three_Part_Moudule/OpenCV_Python/basic_operate/Draw_WithMouse.py
36abd018341becd2fc8f6ef7ac532e6ce97a81f6
[ "MIT" ]
permissive
QAlexBall/Python_Module
14fd7984f086056bf661fe57925ff75b9d174f3d
8a5987946928a9d86f6807555ed435ac604b2c44
refs/heads/master
2021-06-09T02:18:19.005769
2020-09-05T04:42:50
2020-09-05T04:42:50
118,908,016
3
1
MIT
2020-01-13T06:02:36
2018-01-25T12:06:18
Jupyter Notebook
UTF-8
Python
false
false
1,538
py
# 学习使用OpenCV处理鼠标事件 # cv2.setMouseCallback() # 创建一个简单程序, 在图片双击的位置绘制一个圆圈 import cv2 events = [i for i in dir(cv2) if 'EVENT' in i] print(events) import numpy as np # mouse callback function ''' def draw_circle(event, x, y, flags, param): if event == cv2.EVENT_LBUTTONDBLCLK: cv2.circle(img, (x, y), 100, (255, 0, 0),...
[ "zhuderen12345@icloud.com" ]
zhuderen12345@icloud.com
3d249b67a1b56a34e0d8abe83c3b687df6626248
0fb864f6941a5e63c9d5936c3e508c9ded5448b1
/Algorithm/Lecture_exercise_code/20190218/quicksort.py
fb8c4873b76aafbfe332276d20ea33ebe0912844
[]
no_license
withyeah/TodayILearned
215173f3d8cb7348121e537f97b868413e3cda3a
41e5d88f9b784a53c2bf7eed31a6e9b3c87934ad
refs/heads/master
2022-12-03T08:31:46.920129
2021-08-12T14:26:38
2021-08-12T14:26:38
165,064,282
2
1
null
2022-11-22T07:41:05
2019-01-10T13:25:55
Python
UTF-8
Python
false
false
715
py
def PrintArray(): for i in range(len(arr)): print("%3d" % arr[i], end='') def partition(a, l, r): pivot = a[l] i = l j = r while i < j: while a[i] <= pivot: i += 1 if(i ==r): break while a[j] >= pivot: j -= 1 i...
[ "areygim@gmail.com" ]
areygim@gmail.com
a17be3bdb915d141d083f262a2c172f41c402497
c8957ca7e652456366cb88a2bfd282e3af5a3f32
/seleniumtest2/test_demo.py
125100755ce7bf4a8d8c7430902864b85fdad9db
[]
no_license
cyg2695249540/WorkWeiXin
fb7c2516156d01e75e4d91f206b1196a9445ef2b
344602383d7052fe8c31ec1eb8f0d13bcfd7b68b
refs/heads/master
2023-01-05T01:36:21.884578
2020-11-05T05:44:26
2020-11-05T05:44:26
307,982,054
0
0
null
null
null
null
UTF-8
Python
false
false
4,238
py
# !/usr/bin/env Python3 # -*- coding: utf-8 -*- # @FILE : test_demo.py # @Author : Pluto. # @Time : 2020/11/3 13:30 from time import sleep import pytest from selenium import webdriver from selenium.webdriver.chrome.options import Options from selenium.webdriver.common.by import By from selenium.webdriver.sup...
[ "2695249540@qq.com" ]
2695249540@qq.com
cdae3f9ebad47fee0c2b5314efe33030d2932a61
62e58c051128baef9452e7e0eb0b5a83367add26
/x12/4040/205004040.py
a73fd5ca26cca639efa37eb9206a11a287a6e9e0
[]
no_license
dougvanhorn/bots-grammars
2eb6c0a6b5231c14a6faf194b932aa614809076c
09db18d9d9bd9d92cefbf00f1c0de1c590fe3d0d
refs/heads/master
2021-05-16T12:55:58.022904
2019-05-17T15:22:23
2019-05-17T15:22:23
105,274,633
0
0
null
2017-09-29T13:21:21
2017-09-29T13:21:21
null
UTF-8
Python
false
false
1,848
py
from bots.botsconfig import * from records004040 import recorddefs syntax = { 'version' : '00403', #version of ISA to send 'functionalgroup' : 'MN', } structure = [ {ID: 'ST', MIN: 1, MAX: 1, LEVEL: [ {ID: 'BGN', MIN: 1, MAX: 1}, {ID: 'TRN', MIN: 0, MAX: 1}, ...
[ "jason.capriotti@gmail.com" ]
jason.capriotti@gmail.com
17e225754c2c8525dcb0d141ab97127eee7ae21d
b3858bf912bcdeb6fdf23646d94d2b9cd6e7900a
/Bus Fare.py
99642e974300c9eb6920804bb996f5eef9895c8b
[]
no_license
Programmer-Admin/binarysearch-editorials
eedf9e253e85324030260d44e798b0ca13645e63
12815fe3803cf5392ccfaadd38c7f50e882275c1
refs/heads/main
2023-02-06T04:59:25.279318
2020-12-26T20:45:34
2020-12-26T20:45:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
646
py
""" Bus Fare DP + Binary Search: We find the farthest position we can reach using binary search since dates are increasing. Then, we minimize the cost obtained from the different jumps we can make. """ from bisect import bisect_left from functools import lru_cache class Solution: def solve(self, days): @l...
[ "jimenez.adam0@gmail.com" ]
jimenez.adam0@gmail.com
a865488d8ac06ba41c4086f9fa7ef88c1c6766ec
9e7c2fab995a0d64a296d7e362c109f9d7d27d6a
/single_learning_exp.py
0ac2686e23c8dffa8562028751438b486e5fae9f
[]
no_license
collector-m/transfer_rl_icml_2018
f2f7ef4eb48016abdb81c066283fbece56d8a366
f66216000c8411b4c53fd5465f93fb4f55f2d003
refs/heads/master
2021-09-15T21:14:41.908846
2018-06-11T01:19:13
2018-06-11T01:19:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,995
py
#!/usr/bin/env python ''' single_learning_exp.py For running a single experiment comparing learinng w/ action prior policies in multitask RL. ''' # Python imports. import copy import argparse # Other imports. import action_prior_exp as ape from ShapedQAgentClass import ShapedQAgent from ShapedRMaxAgentClass import ...
[ "david_abel@brown.edu" ]
david_abel@brown.edu
a04e40f7dec8a3160a5ac65847e81e7753a40f89
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_126/542.py
9d757401f08f2433a2138d62cdc06b1cf1fab798
[]
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,838
py
''' Created on Apr 13, 2012 @author: karnr ''' vowels = ['a', 'e', 'i', 'o', 'u'] def match_consonants(s): for a in s: if a in vowels: return False return True def _execute_test(test_input): print test_input (name, n) = test_input n = int(n) ...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
ddb6658a8f712a9d6a399ec5738dfcb0dafef4b2
221be51c2ef661a717e7f4740c25e6247c7f2794
/0x05-python-exceptions/3-safe_print_division.py
a13c75284232dc4c455bcb26510e4eb4521f3888
[]
no_license
Teslothorcha/holbertonschool-higher_level_programming
8bc562bf872554dfb5074562dae719663e983722
0464d980b45e3164c470dced81192d6ccc926ff7
refs/heads/master
2020-07-23T00:49:43.809183
2020-02-13T21:45:18
2020-02-13T21:45:18
207,387,971
0
0
null
null
null
null
UTF-8
Python
false
false
340
py
#!/usr/bin/python3 def safe_print_division(a, b): c = 0 f = 0 try: c = a / b return(c) except (TypeError, ZeroDivisionError): f = 1 return(None) finally: if f == 1: print("Inside result: {}".format(None)) else: print("Inside res...
[ "juandavidmarinbernal@gmail.com" ]
juandavidmarinbernal@gmail.com
3e451e4eef8e2e3401b299e433b667478beb414e
d3fa61d28cdc0c515ebd4f610122a9141cf69471
/web_test/webserver1.py
878c9178ff5fb51ca8f5f3c6a785bbef5241e80e
[]
no_license
iorilan/python-samples
0bd2d66461bc5580de607c5e9984f713bc506c56
1db836d90731763e30a109c28948734727194232
refs/heads/master
2022-04-05T03:06:18.830332
2020-02-23T16:49:06
2020-02-23T16:49:06
213,014,416
0
0
null
null
null
null
UTF-8
Python
false
false
214
py
import os, sys from http.server import HTTPServer ,CGIHTTPRequestHandler webdir = '.' port = 80 os.chdir(webdir) srvraddr = ("", port) srvrobj = HTTPServer(srvraddr, CGIHTTPRequestHandler) srvrobj.serve_forever()
[ "iorilan@hotmail.com" ]
iorilan@hotmail.com
2ec5aba0e543bbc4a91e5d1c54ae90789e938e0d
5488617b1b05c436b1f8c8642ea75ca754719f8d
/phenomenological/Single_TOP/draw_indiv_margin_separate.py
ad704fc789e540cf03539160ff58a7e7f8a24732
[]
no_license
wenxingfang/TW_Top
fdb1ba136be6ace8fdacaade58cb4ca4fcdc3c9e
389e76c904d08a59d9141b9b66ec15d2583f8e9a
refs/heads/master
2021-02-05T06:54:27.908688
2020-02-28T13:24:00
2020-02-28T13:24:00
243,754,087
0
1
null
null
null
null
UTF-8
Python
false
false
7,677
py
import ROOT import gc ROOT.gROOT.SetBatch(ROOT.kTRUE) def draw_marg_indiv(keys, gr_dict, chan): canvas = ROOT.TCanvas('canvas','',900, 600) canvas.cd() canvas.SetTickx() canvas.SetTicky() canvas.SetBottomMargin(0.15) canvas.SetLeftMargin(0.15) y_min=0 y_...
[ "wenxing.fang@cern.ch" ]
wenxing.fang@cern.ch
f66b1d55c9fc4b513c0b36afb76ae0d1298c8d2c
b2544e23a0ddd37a6f6eb039a9496cd6e4d17af3
/yaglm/opt/penalty/composite_structured.py
ee46a3a961e54653e79075bf62bcf3376be5794f
[ "MIT" ]
permissive
yaglm/yaglm
d3e36aba4c7c98d5e0b0c5a82620fcaf43318c3a
7e356e5ec134021a7152926793c501697d9baf1a
refs/heads/main
2023-04-11T10:30:15.530922
2022-09-12T05:27:37
2022-09-12T05:27:37
383,568,747
40
10
MIT
2023-02-02T15:41:43
2021-07-06T18:47:08
Python
UTF-8
Python
false
false
5,735
py
import numpy as np from scipy.linalg import svd from yaglm.opt.base import Func from yaglm.linalg_utils import euclid_norm from yaglm.autoassign import autoassign from yaglm.opt.penalty.convex import Ridge class CompositeL2Norm(Func): @autoassign def __init__(self, func): pass @property def is_smoot...
[ "idc9@cornell.edu" ]
idc9@cornell.edu
e583f50d704a14a21299c6c0c65ce44f9f97b84d
73c5a80b8ef2de609737a57c48b4190196bd4d20
/shell/encoders/py/pyminifier/token_utils.py
9530b2abaf918bd4e37b0b4c74701c7a3b3c2cc5
[ "MIT" ]
permissive
raildex1/shellsploit-framework
1674a2a0215ce0c87b0ad7f284e9b7c42834546b
a16d22fdffa5d9369cd55c8768d327e5abf8e648
refs/heads/master
2021-01-20T01:27:25.919068
2016-12-08T08:57:51
2016-12-08T08:57:51
89,279,926
2
1
null
2017-04-24T19:37:04
2017-04-24T19:37:04
null
UTF-8
Python
false
false
1,320
py
# -*- coding: utf-8 -*- __doc__ = """\ A couple of functions for dealing with tokens generated by the `tokenize` module. """ import tokenize try: import cStringIO as io except ImportError: # We're using Python 3 import io def untokenize(tokens): """ Converts the output of tokenize.generate_tokens b...
[ "b3mb4m@tuta.io" ]
b3mb4m@tuta.io
870e5e11c145a7f7fb0ceb6835c15d2b68a8ed50
0b0328cf95cf0af9bae6dccec0d6051267f4e5f7
/malaya/transformer.py
f81a357f67738e3dbd866e76429f3541b4978b74
[ "MIT", "Python-2.0" ]
permissive
AmyNasha/Malaya
eac27ed7abe073f6ba0ec265f61713d505348da2
fa87300098401619016c102dff201979840096bf
refs/heads/master
2020-09-10T01:37:22.398178
2019-11-13T10:21:55
2019-11-13T10:21:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,522
py
_availability = { 'bert': ['base', 'small'], 'xlnet': ['base'], 'albert': ['base', 'large'], } def available_model(): """ List available transformer models. """ return _availability def load(size = 'base', model = 'xlnet', pool_mode = 'last', validate = True): """ Load transform...
[ "husein.zol05@gmail.com" ]
husein.zol05@gmail.com
36bde63ad45919f176d250b94fb990a0b93565a9
d1770646c7e23a1f31d0c7513971bb016dc1feb0
/Part 6 - Reinforcement Learning/Section 32 - Upper Confidence Bound (UCB)/upper_confidence_bound1.py
e78f75ba15f378aef110ffa9f9f3c42177beca96
[]
no_license
tehmeerali786/machinelearningsds
86120d2de7179b63274a38ac1d303f7905efbde8
268530cc15aa454d1fef8ad7f4ca4b69bd47e864
refs/heads/master
2020-04-07T12:41:59.334362
2018-11-20T11:15:00
2018-11-20T11:15:00
158,377,497
0
0
null
null
null
null
UTF-8
Python
false
false
218
py
# Upper Confidence Bound # Importing the libraries import numpy as np import matplotlib.pyplot as plt import pandas as pd # Importing the dataset dataset = pd.read_csv('Ads_CTR_Optimisation.csv') # Implementing UCB
[ "freelanceali786@gmail.com" ]
freelanceali786@gmail.com
ddf9d8680a28503c87b141898c837f1127e3ff6e
5e76a420178dcb9008d6e4c12543ad0e3a50c289
/python/79.py
a2547d1d172ee689822dd57a4805ffc59df1ea8d
[]
no_license
LichAmnesia/LeetCode
da6b3e883d542fbb3cae698a61750bd2c99658fe
e890bd480de93418ce10867085b52137be2caa7a
refs/heads/master
2020-12-25T14:22:58.125158
2017-07-18T06:44:53
2017-07-18T06:44:53
67,002,242
0
0
null
null
null
null
UTF-8
Python
false
false
1,480
py
# -*- coding: utf-8 -*- # @Author: Lich_Amnesia # @Email: alwaysxiaop@gmail.com # @Date: 2016-10-07 00:37:59 # @Last Modified time: 2016-10-07 01:40:33 # @FileName: 79.py class Solution(object): def exist(self, board, word): """ :type board: List[List[str]] :type word: str :rtype...
[ "lich@D-10-157-202-8.dhcp4.washington.edu" ]
lich@D-10-157-202-8.dhcp4.washington.edu
bf0bbe9d831c4fc64edc155d07a2d69909cafa78
a7503ddd5cfb4f58d1e123e013e2a69c3122be4f
/test/comment_test.py
0d5d76c41e46e2cffd8b7fcd11b5b6af7ebaba2c
[]
no_license
AbdElhalim12/RemindMeBot
637bef2e5fb8049bca085d22cd720fbe2e5a2f85
00399b21cd92980f780ccb42eb0baf189ebcfce2
refs/heads/master
2021-05-24T14:38:03.308740
2020-03-05T07:15:06
2020-03-05T07:15:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,537
py
from datetime import timedelta import comments import utils import reddit_test import static from classes.reminder import Reminder def test_process_comment(database, reddit): created = utils.datetime_now() username = "Watchful1" comment_id = utils.random_id() thread_id = utils.random_id() comment = reddit_test....
[ "watchful@watchful.gr" ]
watchful@watchful.gr
aab85827a5d3cc96f899bd0590a84e4ac5463a1a
b7d92dba10ddc8d71ea458836db576d973329c43
/app/tests/test_blog.py
d9dfe9055da668ddc3c1a22cc03ab2c2580aab18
[]
no_license
pei223/drf_template
d0cd21ceb058df283d237c1950498f2acc21e5f5
2e85d9f12bfd6f6708ec914d49d3627d213897f3
refs/heads/master
2022-12-19T18:12:08.753275
2020-10-12T12:57:25
2020-10-12T12:57:25
303,392,624
0
0
null
null
null
null
UTF-8
Python
false
false
6,618
py
from typing import Dict from django.test import TestCase from .accessor import * from rest_framework.test import APIClient, APITestCase from .utils import * class TestBlog(APITestCase): def setUp(self): self.user1 = { "username": "hoge", "email": "hoge@hoge.hoge", "pass...
[ "ippei.223miyake119@gmail.com" ]
ippei.223miyake119@gmail.com
f3ed3d6d3d1a74ab8d78704fae67fede56562b28
98026d6c32030cd5143e7635be42e744357aad39
/camera_testing.py
c8e468556dfc96015280c2780bf7f992f4f58712
[]
no_license
FahimSifnatul/NMST_robot
2cb9286c236a04d3584eb259d82eeaf071ba720a
25f8f248e637673b782d1c9fe31f82e834c4941a
refs/heads/master
2022-09-04T22:16:56.340004
2020-05-31T12:27:37
2020-05-31T12:27:37
268,273,768
0
0
null
null
null
null
UTF-8
Python
false
false
249
py
from picamera import PiCamera from time import sleep camera = PiCamera() camera.rotation = 180 camera.brightness = 85 camera.contrast = 85 camera.sharpness = 50 camera.start_preview() sleep(10) camera.stop_preview() camera.close()
[ "noreply@github.com" ]
FahimSifnatul.noreply@github.com
50316fb783d0d7cc4e519ee9be98a5428a227035
0306bea08e9aab18f34a799ce8a73e86921f90f7
/easy/IsSubsequence.py
0dc3b2fa969725c147f78ccf707b6d1b6d075c14
[]
no_license
GeorgianBadita/LeetCode
78686fde88ef65b64f84fb7c2a22ba37ef21b8d9
e3b0571182369c5308e0c29fb87106bb0b0d615a
refs/heads/master
2022-10-21T00:23:26.479943
2022-10-14T20:27:27
2022-10-14T20:27:27
251,733,951
3
0
null
null
null
null
UTF-8
Python
false
false
320
py
# https://leetcode.com/problems/is-subsequence/ class Solution: def isSubsequence(self, s: str, t: str) -> bool: current_index_s = 0 for char in t: if current_index_s < len(s) and char == s[current_index_s]: current_index_s += 1 return current_index_s == len(s)
[ "geo.badita@gmail.com" ]
geo.badita@gmail.com
7b16e34bfb86013d439ac26b265e4097ce8368e2
cd4bbecc3f713b0c25508d0c5674d9e103db5df4
/toontown/coghq/BossbotHQBossBattle.py
e7dd95b48299040d9171890a9c16dac40b8bd7c3
[]
no_license
peppythegod/ToontownOnline
dce0351cfa1ad8c476e035aa3947fdf53de916a6
2e5a106f3027714d301f284721382cb956cd87a0
refs/heads/master
2020-04-20T05:05:22.934339
2020-01-02T18:05:28
2020-01-02T18:05:28
168,646,608
11
2
null
null
null
null
UTF-8
Python
false
false
1,329
py
from pandac.PandaModules import * from direct.interval.IntervalGlobal import * from toontown.suit import DistributedBossbotBoss from direct.directnotify import DirectNotifyGlobal from toontown.coghq import CogHQBossBattle class BossbotHQBossBattle(CogHQBossBattle.CogHQBossBattle): notify = DirectNotifyGlobal.dire...
[ "47166977+peppythegod@users.noreply.github.com" ]
47166977+peppythegod@users.noreply.github.com
23fb92ad95cac7f89443e9e644897435769b1575
6cbb61764e37f3903de2f1f066d639036c8a6cdc
/pred/webserver/errors.py
6a9414018a2fc6e9a503e0a2f956a034e23f01c3
[ "MIT" ]
permissive
gordanlab/TF-DNA-PredictionsDB
0d3693aa3458f8b8e8723fef1abf39f567a64325
1a52d4c78464e7d346643c50097e8d03d264bfea
refs/heads/master
2021-01-18T15:02:53.248414
2016-09-08T20:37:33
2016-09-08T20:37:33
67,828,891
0
0
null
2016-09-09T20:03:48
2016-09-09T20:03:48
null
UTF-8
Python
false
false
1,362
py
class ErrorType(object): GENERIC_ERROR = 'generic' SEQUENCE_NOT_FOUND = 'sequence_not_found' class BaseWebException(Exception): def __init__(self, message, error_type, error_data, status_code): self.message = message self.error_type = error_type self.error_data = error_data ...
[ "johnbradley2008@gmail.com" ]
johnbradley2008@gmail.com
bd497260d8631f5b458691379322860ad5fc539c
560821e247745c25b9aaea10b0caf80405c20e4b
/manimlib/utils/strings.py
5e5b5d5c0b2ddd6c8da4a2d1ade20e46d629a175
[ "MIT" ]
permissive
StarChan-cx/manim
ac560c43b6daaaccc8248d0f353aed55b468b87c
19b8057136bf6a4218f29ea58464bcc933f80722
refs/heads/master
2023-02-22T01:52:02.720310
2021-06-12T12:29:52
2021-06-12T12:29:52
203,286,072
0
0
MIT
2021-06-14T03:16:28
2019-08-20T02:38:58
Python
UTF-8
Python
false
false
1,186
py
import re import string def to_camel_case(name): return "".join([ [c for c in part if c not in string.punctuation + string.whitespace].capitalize() for part in name.split("_") ]) def initials(name, sep_values=[" ", "_"]): return "".join([ (s[0] if s else "") for s in re.s...
[ "grant@3blue1brown.com" ]
grant@3blue1brown.com
c16ce023a71c0dd3d16a2d888d59c377e264bb3d
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_35/298.py
c5afb597b44bda70a9b2b0ee368ce5c4615faaef
[]
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,752
py
# Mallin Moolman filename = "B-large.in" f = open (filename) outfile = open (filename.rsplit(".", 1)[0] + ".out", 'w') t = int(f.readline().strip()) for mapno in xrange(t): letters = [chr(i) for i in xrange(96+26, 96, -1)] h, w = [int(x) for x in f.readline().strip().split(" ")] maplis...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
924093c642de4a7d9d83f5a3c21c1b1669022adc
247a69ecd1592e8d291a9e8e78309c3413f9b555
/pre_process/convert_square_and_resize.py
a6a0e643ebd9b0a7794658715ae8f502e1f41f57
[ "Apache-2.0" ]
permissive
dwz9406/zi2zi-pytorch
0d92ad1f4dc2fec2fc1357e0956c1f58e20e1c2f
1fea7a32c75a43a0990373e5764dc08c17a2749b
refs/heads/master
2022-12-02T20:56:04.670826
2020-08-17T00:14:42
2020-08-17T00:14:42
288,094,846
1
0
null
2020-08-17T05:52:28
2020-08-17T05:52:27
null
UTF-8
Python
false
false
1,543
py
from PIL import Image, UnidentifiedImageError import numpy as np import os from tqdm import tqdm from torch import nn from torchvision import transforms import time def convert_square_pad(image): """ convert to square with ConstantPad """ width, height = image.size # Convert PIL.Image to FloatTenso...
[ "ysq58000@foxmail.com" ]
ysq58000@foxmail.com
32f5c4c98a4d24a9bbbc67819da074a6042fd520
98c6ea9c884152e8340605a706efefbea6170be5
/examples/data/Assignment_8/mdlthi019/question1.py
52c895aac4a40761405bd83fcde26a302208ba52
[]
no_license
MrHamdulay/csc3-capstone
479d659e1dcd28040e83ebd9e3374d0ccc0c6817
6f0fa0fa1555ceb1b0fb33f25e9694e68b6a53d2
refs/heads/master
2021-03-12T21:55:57.781339
2014-09-22T02:22:22
2014-09-22T02:22:22
22,372,174
0
0
null
null
null
null
UTF-8
Python
false
false
909
py
"""Program with recursion to check if a string is a palindrome Thiloshni Moodley 7 May 2014""" #user asked to enter a string string = input("Enter a string:\n") def string_palindrome(string): if string[0] == string[len(string)-1] and len(string) <= 3:#if the string length is less than or =3 and the la...
[ "jarr2000@gmail.com" ]
jarr2000@gmail.com
1d6a0c2351e3cb75a2cda01b8767a989bf3b7c37
f5ca5d5b46e8cbe92fb1cfbc95ef69b4ae620197
/tests/test_anime_filenames.py
cae727bd01f0464caf33d1a391df8b814d8adfb0
[ "Unlicense" ]
permissive
wikey/tvnamer
61b7e879f78c15215b973304c72737dd341083d1
51a5d2421d9968c82ebecf920be4b4e68ac4a422
refs/heads/master
2022-10-18T05:56:43.270088
2020-06-05T15:32:29
2020-06-05T15:32:29
269,680,640
0
0
Unlicense
2020-06-05T15:16:47
2020-06-05T15:16:45
null
UTF-8
Python
false
false
1,170
py
#!/usr/bin/env python """Tests anime filename output """ from functional_runner import run_tvnamer, verify_out_data from helpers import attr @attr("functional") def test_group(): """Anime filename [#100] """ out_data = run_tvnamer( with_files = ['[Some Group] Scrubs - 01 [A1B2C3].avi'], ...
[ "dbr.onix@gmail.com" ]
dbr.onix@gmail.com
e2730dfb83fe1ec078f6061d4806f968ead683a1
f043fee89c0e2030386adcebb74d08164b7b974f
/reagent/optimizer/__init__.py
c341581d9c27c353bdd19d9d5a8dc86f5bbe74cc
[ "BSD-3-Clause" ]
permissive
IronOnet/ReAgent
c2d22e7dc63eaf61e0a50e9343110c6df79a9b40
67434f458cde1f2c946237e866a73392279a7ede
refs/heads/master
2023-04-06T17:31:59.751700
2021-04-12T21:56:19
2021-04-12T21:57:05
357,700,053
2
0
BSD-3-Clause
2021-04-13T22:04:09
2021-04-13T22:04:09
null
UTF-8
Python
false
false
143
py
#!/usr/bin/env python3 from .soft_update import SoftUpdate from .union import Optimizer__Union __all__ = ["Optimizer__Union", "SoftUpdate"]
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
9e7acee21f8b9d7bab1a97cfe0300cc032c69274
48e124e97cc776feb0ad6d17b9ef1dfa24e2e474
/sdk/python/pulumi_azure_native/sql/v20200801preview/sync_member.py
5d6a426c28f7f2f167d96edeaadc4005b4163b89
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
bpkgoud/pulumi-azure-native
0817502630062efbc35134410c4a784b61a4736d
a3215fe1b87fba69294f248017b1591767c2b96c
refs/heads/master
2023-08-29T22:39:49.984212
2021-11-15T12:43:41
2021-11-15T12:43:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
22,200
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, overload from ... import _utilities fro...
[ "noreply@github.com" ]
bpkgoud.noreply@github.com
6a82328154b3ae046005e6d646e5c94347b6d143
3de2a746243ad1cb000994a06a0f9699db9a901f
/abc126d.py
3ccb762e7356eeb404c0e1747f5f0f04af3274ee
[]
no_license
takumi152/atcoder
71d726ffdf2542d8abac0d9817afaff911db7c6c
ebac94f1227974aa2e6bf372e18605518de46441
refs/heads/master
2022-10-30T12:14:41.742596
2022-09-29T19:49:32
2022-09-29T19:49:32
181,502,518
1
0
null
null
null
null
UTF-8
Python
false
false
927
py
def main(): buf = input() N = int(buf) edge = dict() for i in range(N): edge[i] = [] # zero index for i in range(N-1): buf = input() buflist = list(buf.split()) u = int(buflist[0])-1 # zero index v = int(buflist[1])-1 # zero index w = int(...
[ "takumi152@hotmail.com" ]
takumi152@hotmail.com
5e0c537148fe421249b79ea987280e4d4a9b08ba
4e5b20fdcca20f458322f0a8cd11bbdacb6fb3e5
/test/custom/InvbalanceGetTest.py
da6dd17b61abb5a1ac8058c65316ef56617b32ba
[]
no_license
shijingyu/sunningAPI
241f33b0660dc84635ce39688fed499f5c57a5da
4a3b2ef7f9bdc4707d1eaff185bc7eb636fe90d5
refs/heads/master
2020-04-24T22:15:11.584028
2019-02-24T06:41:20
2019-02-24T06:41:20
172,305,179
0
0
null
null
null
null
UTF-8
Python
false
false
669
py
#!usr/bin/python # -*- coding: utf-8 -*- ''' Created on 2018-10-22 @author: suning ''' import sys import os basepath = os.path.dirname(os.path.abspath(sys.argv[0]))+"/../../" sys.path.append(basepath) import suning.api as api a=api.InvbalanceGetRequest() a.setDomainInfo("openpre.cnsuning.com","80") a.setAppInfo("a...
[ "945090896@qq.com" ]
945090896@qq.com
f9a350b4041ae9e69c1db16474809bfe4e651214
b6a84594f8c29d968014faaddd49abeb7537a5fc
/python/231.power-of-two.py
2177559c4eb3894aa807c0b861ff2b3dd7454b03
[]
no_license
nickyfoto/lc
8a6af3df114e693e265d0ede03f4d4e1283e010e
3633b4df3e24968057c7d684689b931c5a8032d3
refs/heads/master
2020-09-16T19:23:07.765917
2020-06-07T17:18:06
2020-06-07T17:18:06
223,866,098
0
0
null
null
null
null
UTF-8
Python
false
false
921
py
# # @lc app=leetcode id=231 lang=python3 # # [231] Power of Two # # https://leetcode.com/problems/power-of-two/description/ # # algorithms # Easy (41.83%) # Total Accepted: 226.8K # Total Submissions: 541.1K # Testcase Example: '1' # # Given an integer, write a function to determine if it is a power of two. # # Ex...
[ "nickyfoto@gmail.com" ]
nickyfoto@gmail.com
64cb475a293d5a9ce8c811e2956f41b9efb6c841
d93586a23b50027c766be448072e5c06ebd05ffc
/seq2seq/dependency/tf_models/models/official/utils/flags/_performance.py
4693fdb8f42bdd3e01aa8528370d1546881b57f9
[ "Apache-2.0" ]
permissive
peixiang6134/tf_bot_examples
9bd3a63bf5e699e49455d3beb91c4995f47d781a
b4e8eb6a555b3eeeb423ad928a9009c41b4e5950
refs/heads/master
2021-07-09T02:29:26.303639
2020-02-22T08:58:33
2020-02-22T08:58:33
238,680,285
1
1
null
2021-03-31T21:54:12
2020-02-06T12:08:36
Python
UTF-8
Python
false
false
12,649
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...
[ "1316802995@qq.com" ]
1316802995@qq.com
ac73591a5532685cfdef0d84d252536565a1c86a
db241463b1cb62a1bcc398306c2b5bea44024be5
/matrix/plugin.program.ArquivosKodi-Wizard/resources/libs/gui/main_menu.py
c0557041513420156d1fe13271ce9d30aa524288
[]
no_license
SaaMuuRaaY/Test
bb0fc94f0bdd41574bda3ab0c67b604a872fad70
c343d43b419ac455cb5a8db3e29396f998e98f56
refs/heads/master
2023-06-26T06:55:54.596752
2021-07-28T19:07:37
2021-07-28T19:07:37
390,427,437
0
0
null
null
null
null
UTF-8
Python
false
false
6,496
py
# # http://arquivoskodi.com.br import base64, codecs magic = 'IyAtKi0gY29kaW5nOiB1dGYtOCAtKi0NCg0KDQppbXBvcnQgb3MNCg0KZnJvbSByZXNvdXJjZXMubGlicy5jb21tb24gaW1wb3J0IGRpcmVjdG9yeQ0KZnJvbSByZXNvdXJjZXMubGlicy5jb21tb24uY29uZmlnIGltcG9ydCBDT05GSUcNCg0KDQpjbGFzcyBNYWluTWVudToNCg0KICAgIGRlZiBnZXRfbGlzdGluZyhzZWxmKToNCiAgICAg...
[ "74507453+vikingskoditeam@users.noreply.github.com" ]
74507453+vikingskoditeam@users.noreply.github.com
ad4d0ae0501bf6c9c23942e1f99621c47bc03f5d
cca89a7bbe2da907a38eb00e9a083f57597273f0
/83. 删除排序链表中的重复元素/pythonCode.py
b05540ffec1352f94bc38f90193ac1303c5f7610
[]
no_license
xerprobe/LeetCodeAnswer
cc87941ef2a25c6aa1366e7a64480dbd72750670
ea1822870f15bdb1a828a63569368b7cd10c6ab8
refs/heads/master
2022-09-23T09:15:42.628793
2020-06-06T16:29:59
2020-06-06T16:29:59
270,215,362
0
0
null
null
null
null
UTF-8
Python
false
false
666
py
# Definition for singly-linked list. class ListNode: def __init__(self, x): self.val = x self.next = None class Solution: def deleteDuplicates(self, head: ListNode) -> ListNode: temp = ListNode(None) temp.next = head head = temp while(temp.next != None): ...
[ "changwenhao1@qq.com" ]
changwenhao1@qq.com
0f2e9a7539a055c4ccbbd87cad23e85c77dc23e7
711756b796d68035dc6a39060515200d1d37a274
/output_cog/optimized_46118.py
a657018fed60393aae9334bca24aec9a6b0f0c96
[]
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,846
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
c38c815b549547eb2f2d2dfdf7506c0f24bdce5b
d0281cecabd070c399d18612bbb3ba11913c0ab1
/venv/lib/python3.6/site-packages/tensorflow/contrib/tensor_forest/proto/fertile_stats_pb2.py
9b3ec390dd6d56373e6f09c07c65ccf056ff528e
[ "MIT" ]
permissive
yuxuan1995liu/darkflowyolo_detection
f0b7aa0a667591da9736fb2860d6080b2fc41577
a7807e9b85833e3f877d46bb60e8fa7d0596a10b
refs/heads/master
2022-11-03T04:00:42.996414
2019-05-10T01:58:59
2019-05-10T01:58:59
185,880,108
0
1
MIT
2022-10-30T16:38:49
2019-05-09T22:28:01
Python
UTF-8
Python
false
true
20,857
py
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: tensorflow/contrib/tensor_forest/proto/fertile_stats.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 import message as _message fro...
[ "yuxuan@mit.edu" ]
yuxuan@mit.edu
73453379d85088671b747e0ae6aac6b95c889ee9
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/nnpail.py
bb73cdd04ec485c11b053764d0c347f46b0c9d32
[]
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
528
py
ii = [('CookGHP3.py', 4), ('CookGHP.py', 1), ('LeakWTI2.py', 1), ('PeckJNG.py', 1), ('WilkJMC2.py', 1), ('CarlTFR.py', 2), ('LyttELD.py', 1), ('AinsWRR3.py', 2), ('CrokTPS.py', 1), ('LandWPA2.py', 1), ('WadeJEB.py', 1), ('KirbWPW2.py', 2), ('LeakWTI.py', 1), ('MereHHB3.py', 1), ('HowiWRL2.py', 3), ('MartHRW.py', 1), ('...
[ "varunwachaspati@gmail.com" ]
varunwachaspati@gmail.com
942d6dc4a09c36876b5277192f75a2c3446405a0
85abc553cbca929ab0fde776ed16930ababebe8c
/backend/dragonisland_15645/settings.py
959430a56700367ba49edc9f2b686609c10f2f09
[]
no_license
crowdbotics-apps/dragonisland-15645
7ed6e1bdba940e44933d3870db9d0a35b09b0e8c
bb2ab7a5c5a5bcd6d2d5ab5f628336d07087858e
refs/heads/master
2023-02-12T16:22:43.759302
2020-04-09T14:30:45
2020-04-09T14:30:45
254,394,481
0
0
null
2023-01-24T03:22:17
2020-04-09T14:29:57
JavaScript
UTF-8
Python
false
false
5,806
py
""" Django settings for dragonisland_15645 project. Generated by 'django-admin startproject' using Django 2.2.2. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ i...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
8af34e2e45163c9f458864be887f86b8d486825b
8810b14fa59d749c755fc4c27281a3894674cde3
/coding_challenges/algo/linear_programming/simplex_method.py
becd62e25b1f9e68c1d68396eb25dbf265225c77
[]
no_license
Yamp/home_lab
e76f23af12c794c38422623f92921617e371c9fe
5c6d5b13bb0b845b7af8c1a94b42e2dad368e373
refs/heads/master
2022-03-03T12:32:06.243021
2020-04-01T10:34:04
2020-04-01T10:34:04
224,238,847
0
1
null
2022-02-10T21:53:23
2019-11-26T16:35:58
Jupyter Notebook
UTF-8
Python
false
false
2,813
py
from dataclasses import dataclass import numpy as np @dataclass class LinerProblem: A_lb: np.ndarray A_ub: np.ndarray A_eq: np.ndarray b_lb: np.ndarray b_ub: np.ndarray b_eq: np.ndarray objective = np.ndarray is_maximization: bool = True def to_maximization(self): """ ...
[ "yampolskiydv@gmail.com" ]
yampolskiydv@gmail.com
7968c61a28bb4e6e8e327e4a7817861245277949
c4bb6b11e9bec547bca18cf3f1c2ac0bcda6d0b0
/halld/files/admin.py
b105e37566a24aae6b86449e3bb7e20c69647851
[]
no_license
ox-it/halld
43e8fb38a12977bc4f2323a18fdae42683c5a494
917012265548b76941658a56ec83dfe2cafc8e4a
refs/heads/master
2021-01-16T01:01:26.355534
2015-05-05T20:36:08
2015-05-05T20:36:08
16,612,456
0
0
null
null
null
null
UTF-8
Python
false
false
101
py
from django.contrib.admin import site from .models import ResourceFile site.register(ResourceFile)
[ "alexander.dutton@it.ox.ac.uk" ]
alexander.dutton@it.ox.ac.uk
1c4f2607198ae642d1724fc60637cb4b00c913b5
cdc550a90adf9f5c41f1a1ba6281fb2d7a5ab830
/cms/tests/menu.py
3b7724bce3c01cb75b52e053cd415e95dcd7ef6c
[ "BSD-3-Clause" ]
permissive
DrMeers/django-cms-2.0
d434471a8892c6ef140f3ae1e1378e95a9ddec91
d563d912c99f0c138a66d99829d8d0133226894e
refs/heads/master
2021-01-16T21:53:16.001264
2010-05-19T01:27:42
2010-05-19T01:27:42
165,843
4
0
null
null
null
null
UTF-8
Python
false
false
11,094
py
# -*- coding: utf-8 -*- from django.conf import settings from django.contrib.auth.models import User from cms.tests.base import CMSTestCase from cms.models import Page from cms.menu import CMSMenu from menus.templatetags.menu_tags import show_menu, show_sub_menu,\ show_breadcrumb, language_chooser, page_language_ur...
[ "patrick.lauber@divio.ch" ]
patrick.lauber@divio.ch
b9487e0d8355c5c36bdcd0ddbc01414efd9c0915
284851c6bd3f836506050a3d85e2a51cf6688d2d
/Tree/lowestCommonAncestorBT.py
7414c49fb6d12b5355339c1d2d044f3ec128c1dd
[]
no_license
DiracSea/LC
6386c147ced4cb8e393051a7620a0f95a011b3dc
a08b44323b04fc7d488708b0ffbe94dafc47eb18
refs/heads/master
2020-09-07T01:04:45.297210
2019-11-09T08:10:28
2019-11-09T08:10:28
220,610,388
0
0
null
null
null
null
UTF-8
Python
false
false
1,355
py
# Definition for a binary tree node. # class TreeNode: # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution: def lowestCommonAncestor(self, root: 'TreeNode', p: 'TreeNode', q: 'TreeNode') -> 'TreeNode': # preorder recursive if no...
[ "sulz@mail.sustc.edu.cn" ]
sulz@mail.sustc.edu.cn
80a254066b66563044734d780cf50324e7acea10
50008b3b7fb7e14f793e92f5b27bf302112a3cb4
/recipes/Python/576593_Efficient/recipe-576593.py
c51d7d51c4c15aac6ff3d22fb44614c3a26666a4
[ "MIT" ]
permissive
betty29/code-1
db56807e19ac9cfe711b41d475a322c168cfdca6
d097ca0ad6a6aee2180d32dce6a3322621f655fd
refs/heads/master
2023-03-14T08:15:47.492844
2021-02-24T15:39:59
2021-02-24T15:39:59
341,878,663
0
0
MIT
2021-02-24T15:40:00
2021-02-24T11:31:15
Python
UTF-8
Python
false
false
1,025
py
def build(n,m=0): " returns a generator that will successively return permutions on n integers m at a timt (nPr)" if (m==0): m = n source = """def perm(n,m):""" source = source + """\n r=set(range(1,n+1))""" # 1 indent already! source = source + """\n s0=r""" indent=1 for z in ran...
[ "betty@qburst.com" ]
betty@qburst.com
a6dc896595c4f9c654372873528290504426040b
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02603/s431959544.py
6953cb2260f1822835935e3507c133a6a05182b8
[]
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
140
py
n = int(input()) *a, = map(int, input().split()) ans = 1000 for i, j in zip(a, a[1:]): if i<j: ans = ans//i*j + ans%i print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
6fc07fd404a1378e05a2a5df7dcfb3d3716d0e13
2f541fabbc485ffeee0140a2b78c833aefeffe49
/photos/views.py
9f6c46517e6973fb51e9cb44accf3aa9cf1ad42e
[]
no_license
vincentmuya/Gallery
e879f72c1eccd09f1bb60423b236dc7f020a91a3
31f7bb46582887b0c5ca8d92b2def15deb09d856
refs/heads/master
2021-04-27T05:01:09.203460
2018-03-13T04:45:40
2018-03-13T04:45:40
122,588,976
0
0
null
null
null
null
UTF-8
Python
false
false
823
py
from django.shortcuts import render,redirect from django.http import HttpResponse from django.http import HttpResponse,Http404 from .models import Image # Create your views here. def photos_today(request): photos = Image.todays_photos() return render(request, 'all-photos/today-photos.html', {"photos":photos})...
[ "vincentmuya13@gmail.com" ]
vincentmuya13@gmail.com
4c90ab6a0b7473454d20bb5c481d2fdc04e6d580
44064ed79f173ddca96174913910c1610992b7cb
/Second_Processing_app/temboo/Library/CorpWatch/Company/GetCompanyByCWID.py
5b08329de7878e733f9df548249217fa1a7272d3
[]
no_license
dattasaurabh82/Final_thesis
440fb5e29ebc28dd64fe59ecd87f01494ed6d4e5
8edaea62f5987db026adfffb6b52b59b119f6375
refs/heads/master
2021-01-20T22:25:48.999100
2014-10-14T18:58:00
2014-10-14T18:58:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,202
py
# -*- coding: utf-8 -*- ############################################################################### # # GetCompanyByCWID # Returns basic information for a specifiied company. # # Python version 2.6 # ############################################################################### from temboo.core.choreography impo...
[ "dattasaurabh82@gmail.com" ]
dattasaurabh82@gmail.com
3d8270d863ee96407d6aebda7d9ef13e794222fc
45c86c7e7c6e84dcae3eba5544d93db6bee19905
/venv/lib/python2.7/site-packages/pip/_vendor/html5lib/filters/whitespace.py
9922ffe856e43668c864fd2f361640a6aaaafdb8
[]
no_license
5eanpoint/moweb
60b5ed74183b019e04e4fa243d3c1930c4cb4a64
bbf0d96b651230c231115a3eace7b950a908b57e
refs/heads/master
2016-09-14T05:29:27.601814
2016-05-24T06:40:05
2016-05-24T06:40:10
59,546,065
0
1
null
null
null
null
UTF-8
Python
false
false
1,140
py
from __future__ import absolute_import, division, unicode_literals import re from . import _base from ..constants import rcdataElements, spaceCharacters spaceCharacters = "".join(spaceCharacters) SPACES_REGEX = re.compile("[%s]+" % spaceCharacters) class Filter(_base.Filter): spacePreserveElements = frozenset([...
[ "seanpoint@icloud.com" ]
seanpoint@icloud.com
2981fc6349cc644bc8062ecb6f48eb57bef648dd
5535f5d93c717d43423187f0a1960219b1cd92d7
/dynamic_weather.py
8f4061994352479ec61d6b7a1239820c66a0e12d
[]
no_license
Gabesarch/CarlaMultiview
b41b611d878effaf8b724f6ed20f57e6fa48c829
79d3bce6519d71f57a12bffeb5bef6b449843b97
refs/heads/master
2022-12-17T14:34:17.792195
2020-09-24T21:02:18
2020-09-24T21:02:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,292
py
#!/usr/bin/env python # Copyright (c) 2019 Computer Vision Center (CVC) at the Universitat Autonoma de # Barcelona (UAB). # # This work is licensed under the terms of the MIT license. # For a copy, see <https://opensource.org/licenses/MIT>. """ CARLA Dynamic Weather: Connect to a CARLA Simulator instance and control...
[ "shamitlal@yahoo.com" ]
shamitlal@yahoo.com
aabb6ca880692ab0ef1f15d7aa2f6c26a2c4ce74
8e69eee9b474587925e22413717eb82e4b024360
/v1.0.0.test/otp/login/GuiScreen.py
13c7546fcab8b6cbbd6500536d0e623020c16e74
[ "MIT" ]
permissive
TTOFFLINE-LEAK/ttoffline
afaef613c36dc3b70514ccee7030ba73c3b5045b
bb0e91704a755d34983e94288d50288e46b68380
refs/heads/master
2020-06-12T15:41:59.411795
2020-04-17T08:22:55
2020-04-17T08:22:55
194,348,185
5
4
null
null
null
null
UTF-8
Python
false
false
11,116
py
from panda3d.core import * from otp.otpbase import OTPGlobals from direct.gui.DirectGui import * from otp.otpgui import OTPDialog from direct.directnotify import DirectNotifyGlobal from otp.otpbase import OTPLocalizer from direct.task.Task import Task class GuiScreen: notify = DirectNotifyGlobal.directNotify.newCa...
[ "s0mberdemise@protonmail.com" ]
s0mberdemise@protonmail.com
1a696776f9f34bf1f8cf330dbdcb652ae1d024d0
653f215eb045f7d03e10747df83734deac11aab5
/server/workers/tests/test_clustering.py
81b5c626eba753bda8abcade942291dd83a14a64
[ "MIT" ]
permissive
dasch124/Headstart
618cea0b094e1e2a8ecc3aa124e4f8c0d39cc34d
9eb37ce458a24fd42b22f2aa15c53ac46a69f9bf
refs/heads/master
2021-04-16T23:03:33.018054
2020-08-26T10:44:06
2020-08-26T10:44:06
249,390,498
0
0
MIT
2020-03-23T09:43:37
2020-03-23T09:43:36
null
UTF-8
Python
false
false
971
py
import json import pytest import pandas as pd from .test_helpers import CASENAMES, CASE_DATA, RESULTS, get_dataprocessing_result @pytest.mark.parametrize("testcase", CASENAMES) def test_clustering_2_items(testcase): testcase = CASE_DATA[testcase] metadata = pd.DataFrame.from_records(json.loads(testcase["input...
[ "web@christopherkittel.eu" ]
web@christopherkittel.eu
8a67bbbf9ec3aa5268abf1cc568a881545d7e5a6
b8e5ac17df3b11b2e69119816c3e499f513f284b
/dailyfresh_13/manage.py
cc63be92263349f047aeddf1774abe2b276c39b7
[]
no_license
1071183139/only-one
f2fa63d0b7228fc4e35423aeab6cd99a55bcd826
bf67db02c829b49f61710478e35fdb0e1f2d845d
refs/heads/master
2020-08-28T13:06:37.795745
2019-10-26T13:00:24
2019-10-26T13:00:24
217,708,601
0
0
null
null
null
null
UTF-8
Python
false
false
255
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "dailyfresh_13.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "1071183139@qq.com" ]
1071183139@qq.com
81af7eb301f3dc006ee5f454a5a692eff7b8cce5
397e125e94f4f139f2bf5055824d81f24b8b1757
/ABC/128/A.py
1cd98e6dc2d45f3298f5dd18bc55df88531e0ac5
[]
no_license
tails1434/Atcoder
ecbab6ee238e3f225551297db961b1b502841fa4
e7c7fed36be46bbaaf020a70997842240ba98d62
refs/heads/master
2021-07-07T00:31:49.235625
2020-09-30T01:42:01
2020-09-30T01:42:01
189,009,622
0
0
null
null
null
null
UTF-8
Python
false
false
86
py
def main(): A, P = map(int, input().split()) print((A * 3 + P) // 2) main()
[ "sososo1333@gmail.com" ]
sososo1333@gmail.com
a7fe607fc76f68251522b2050745b48582cb88a6
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_221/ch65_2020_04_30_21_21_37_544329.py
056264a99d7db31c149f0fc2d30ba1beb1a21d5a
[]
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
97
py
def capitaliza(string): a = string[0:1] b = string[1:] c = a.upper() return c + b
[ "you@example.com" ]
you@example.com
1152d820460eb94d5e365af18b69b4ad3fa95b28
13882d3053c1ce94e76e1f5f6d95c45893a3c328
/0x03-caching/3-lru_cache.py
c66e255c6b09479a257d51203450b87664e67579
[]
no_license
BrianFs04/holbertonschool-web_back_end
2283ca5cee77cfd19d694ebd274eaf95a4903962
fe693639583cf83d2be38a46a4e146aee8f11675
refs/heads/master
2023-05-07T11:41:54.134695
2021-06-01T19:17:31
2021-06-01T19:17:31
348,060,823
0
0
null
null
null
null
UTF-8
Python
false
false
926
py
#!/usr/bin/python3 """LRUCache module """ from base_caching import BaseCaching class LRUCache(BaseCaching): """LRU caching""" def __init__(self): """ Constructor method """ super().__init__() self.keys = [] def put(self, key, item): """Add an item in the cache ...
[ "brayanflorezsanabria@gmail.com" ]
brayanflorezsanabria@gmail.com
2403f28682ea879bc4b2d916a0d69d8917aba2a6
54e187ce123daff920027560a83f5bb4f6bea602
/20190526/itheima/API/loginAPI.py
663b1e114c1c97fb9843ce1cba9e5da3e7427b55
[]
no_license
GuoQin8284/PythonCode
272b01d16ff508685b68c51b523a25e9753162ea
c4016a693c9ab4c798567aabf00135be10beae0c
refs/heads/master
2023-05-06T03:45:55.667271
2021-05-27T15:29:28
2021-05-27T15:29:28
267,345,633
0
0
null
null
null
null
UTF-8
Python
false
false
669
py
import requests from itheima.app import BASE_URl class Login(): def __init__(self): self.get_verify_code_url=BASE_URl+"app/v1_0/sms/codes/" self.login_url = BASE_URl + "app/v1_0/authorizations" self.channels_url="http://ttapi.research.itcast.cn/app/v1_0/user/channels" # def get_v...
[ "1143908462@qq.com" ]
1143908462@qq.com
7b58fd3d4f189ad5c17a77eee5543a3525069601
6cc4bb84361773e00919ba72d33c4f87d3e5e46e
/django_cassiopeia/__init__.py
fe94fc161e14a4cfe6b15c67f1a8f15a1b367b57
[ "MIT" ]
permissive
tzihiang/django-cassiopeia
0980ed8cba7fddcb9e171cc5f1ca7fe7716074b3
d14fe8fea1c94880c3262f46b9301e45a5f88e79
refs/heads/master
2022-11-19T06:59:31.204535
2020-07-11T18:38:34
2020-07-11T18:38:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
118
py
import _cassiopeia as cassiopeia from .utils import get_cass_settings cassiopeia.apply_settings(get_cass_settings())
[ "paaksingtech@gmail.com" ]
paaksingtech@gmail.com
0d3e68703853ab1972fd1f2d7f7d9eaeafb898f2
54f352a242a8ad6ff5516703e91da61e08d9a9e6
/Source Codes/CodeJamData/11/31/1.py
38cb9874397fcbf2ebc4477e64df6d68626be4e6
[]
no_license
Kawser-nerd/CLCDSA
5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb
aee32551795763b54acb26856ab239370cac4e75
refs/heads/master
2022-02-09T11:08:56.588303
2022-01-26T18:53:40
2022-01-26T18:53:40
211,783,197
23
9
null
null
null
null
UTF-8
Python
false
false
938
py
#!/usr/bin/python #use globals def solve(): for i in range(r): for j in range(c): if m[i][j] == '#': if j + 1 >= c or m[i][j+1] != '#': return 'Impossible' else: m[i][j+1] = '\\' if i + 1 >= r or m[i+1][j]...
[ "kwnafi@yahoo.com" ]
kwnafi@yahoo.com
13d764714603f510665699d11d63b59afdc13923
78efa54b2b253f99ea7e073f783e6121c20cdb52
/Codechef/Jewel and stones.py
b30da82b331ee981c22e152ea68246a6c8705e13
[]
no_license
NishchaySharma/Competitve-Programming
32a93581ab17f05d20129471f7450f34ec68cc53
1ec44324d64c116098eb0beb74baac7f1c3395bb
refs/heads/master
2020-04-08T04:02:46.599398
2020-01-01T15:51:39
2020-01-01T15:51:39
159,000,529
0
0
null
null
null
null
UTF-8
Python
false
false
159
py
t=int(input()) for test in range(t): j=input() s=list(input()) cnt=0 for i in s: if i in j: cnt+=1 print(cnt)
[ "noreply@github.com" ]
NishchaySharma.noreply@github.com
722f5300ec77d14833c595f39eeb6cfe8c0969bb
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/oGkwLhmpys95rjtQ2_18.py
fc3f134a535e3a27b03426773b2fda3322b899d5
[]
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
549
py
""" Create a function that takes a list of items and checks if the last item matches the rest of the list concatenated together. ### Examples match_last_item(["rsq", "6hi", "g", "rsq6hig"]) ➞ True # The last item is the rest joined. match_last_item([1, 1, 1, "11"]) ➞ False # The last item shou...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
a3ff6aab4ca72eb0357f6902d490cb2b1131c82e
048df2b4dc5ad153a36afad33831017800b9b9c7
/atcoder/abc076/abc076_b.py
61d4418f6b6dba416f13cd42890fab49bd4e37ae
[]
no_license
fluffyowl/past-submissions
a73e8f5157c647634668c200cd977f4428c6ac7d
24706da1f79e5595b2f9f2583c736135ea055eb7
refs/heads/master
2022-02-21T06:32:43.156817
2019-09-16T00:17:50
2019-09-16T00:17:50
71,639,325
0
0
null
null
null
null
UTF-8
Python
false
false
80
py
N = input() K = input() X = 1 for i in xrange(N): X = min(X*2, X+K) print X
[ "nebukuro09@gmail.com" ]
nebukuro09@gmail.com
37bebc44869458e90e10ca77a5672088ed464cdd
70bb287a47b6df063ff4e9d371d034f8cdef88bd
/08_transfer_learning/main.py
e549d3f353954480e42b80e0862ab1c51e63854b
[]
no_license
lmquan1609/Pytorch_Tutorial
1116823521b09af595178010196f30428803c44a
2f1a95bf2a711f24ab8e74fa561246c8b04e0962
refs/heads/master
2020-09-03T04:55:23.000985
2019-11-04T01:19:57
2019-11-04T01:19:57
219,391,341
0
0
null
null
null
null
UTF-8
Python
false
false
2,502
py
import torch from torch import nn, optim from torch.optim import lr_scheduler import numpy as np import matplotlib.pyplot as plt import torchvision from torchvision import datasets, models, transforms import time import os import copy from custompytorch.utils.helpers import train_model, visualize_model dev...
[ "ITITIU15033@student.hcmiu.edu.vn" ]
ITITIU15033@student.hcmiu.edu.vn
142fbb864652b6c466ac5874d4fe80aa6e243b83
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_5631572862566400_1/Python/kuritzky/C.py
824aff8eda98cac02e9662ef81da07276a89275c
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
Python
false
false
2,929
py
# -*- coding: utf-8 -*- """ Problem C. uses python 3.4.1 @author: Eric Kuritzky """ from collections import * import itertools as ito import operator as op import functools as ft from sys import argv, stdin, stdout, stderr, setrecursionlimit #setrecursionlimit(1000000) errprt = ft.partial(print, file...
[ "alexandra1.back@gmail.com" ]
alexandra1.back@gmail.com
748c13b42f4abead584b6d57a35b61be0de37f23
8eedee711339905077856e6c533e27620b76a63f
/top3decays_ufo/parameters.py
b31437a5a8c9e56ea2e2adb8231f3d9b706efe5e
[]
no_license
dnoonan08/TPrimeMCGen
bb99ce6995dc7b0af2eabf7ee08802aad7951fcc
67727ddb3ab2a49c437dcdbbb4b0513b1e60f9c7
refs/heads/master
2023-08-14T18:14:18.463422
2021-09-30T03:18:30
2021-09-30T03:18:30
400,185,414
0
0
null
null
null
null
UTF-8
Python
false
false
14,295
py
# This file was automatically created by FeynRules 2.3.27 # Mathematica version: 10.4.1 for Linux x86 (64-bit) (April 11, 2016) # Date: Wed 14 Jun 2017 13:32:48 from object_library import all_parameters, Parameter from function_library import complexconjugate, re, im, csc, sec, acsc, asec, cot # This is a default...
[ "dnoonan@cern.ch" ]
dnoonan@cern.ch
38547356256c0ff47204736e15735987fdbf226f
af57db915a3e0376a400511417c5750e180de3d5
/auto/migrations/0007_userlist.py
eae9c51e2edfc02dddb81f36ff219eaf9773cb3d
[]
no_license
Aitodev/ais
a8377e572a7cbf902c0d2229e27465af01a202f3
a463dac02dde4be2586e4d3e77b58b7c0cb89f7e
refs/heads/main
2023-02-25T06:55:09.594195
2021-02-01T16:06:45
2021-02-01T16:06:45
335,005,826
0
0
null
null
null
null
UTF-8
Python
false
false
812
py
# Generated by Django 3.1.5 on 2021-01-14 11:47 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('auto', '0006_makeapayment'), ] operations = [ migrations.CreateModel( name='UserList', fields=[ ('id...
[ "guruitcompany@gmail.com" ]
guruitcompany@gmail.com
0fc0fa33fe9e7663306924b816d2b829204693bf
69957a52159889b1dbfa2a2780f57be42c20abf8
/spyder_terminal/server/tests/print_size.py
821fbf4c9f0783fb7f4c85bc405fcc6118ea1f05
[ "MIT" ]
permissive
anthonymark33/spyder-terminal
2dc757d75ccf45c3afb655b15b85ab374990546e
fb982a17b67c1f2437aca40f7ae4ed2f953eab27
refs/heads/master
2023-06-12T13:02:57.789011
2021-07-06T16:12:18
2021-07-06T16:12:18
324,754,104
1
0
MIT
2021-04-22T03:40:09
2020-12-27T12:12:15
null
UTF-8
Python
false
false
2,721
py
#!/usr/bin/env python """ Print console size on UNIX and Windows systems. Taken from: https://gist.github.com/jtriley/1108174 """ import os import shlex import struct import platform import subprocess def get_terminal_size(): """ Get width and height of console. Works on Linux, OS X, Windows and Cygwi...
[ "andfoy@gmail.com" ]
andfoy@gmail.com
c6b378625f1f250634b6bb544833625024a3eab4
a4deea660ea0616f3b5ee0b8bded03373c5bbfa2
/executale_binaries/register-variants/vpsubw_ymm_ymm_ymm.gen.vex.py
5ce1ffc714d529a5ca134b739c9af337b352f12e
[]
no_license
Vsevolod-Livinskij/x86-64-instruction-summary
4a43472e26f0e4ec130be9a82f7e3f3c1361ccfd
c276edab1b19e3929efb3ebe7514489f66087764
refs/heads/master
2022-02-02T18:11:07.818345
2019-01-25T17:19:21
2019-01-25T17:19:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
162
py
import angr proj = angr.Project('vpsubw_ymm_ymm_ymm.exe') print proj.arch print proj.entry print proj.filename irsb = proj.factory.block(proj.entry).vex irsb.pp()
[ "sdasgup3@illinois.edu" ]
sdasgup3@illinois.edu
53ea129dbf2c6c48ebb39ddf5eb4c742bebb4070
518d8743ad6d1cc57df3dfc483b5c2a28b012a47
/mumbaihackathon_in/mumbai_hackathon/doctype/team_project_url/test_team_project_url.py
592bde3358633527e5e587b6b0499254aa1c55ca
[ "MIT" ]
permissive
Mumbaikar007/mumbaihackathon_in
3f686c5332b62ddc45c48fd12a594af3cf7ac62c
261a4340862cb884dca0a6b0a513da47ba26caa6
refs/heads/master
2020-05-16T12:43:39.183728
2019-04-23T16:31:30
2019-04-23T16:31:30
183,053,187
0
0
NOASSERTION
2019-04-23T16:19:03
2019-04-23T16:19:02
null
UTF-8
Python
false
false
217
py
# -*- coding: utf-8 -*- # Copyright (c) 2019, Neil Lasrado and Contributors # See license.txt from __future__ import unicode_literals import frappe import unittest class TestTeamProjectURL(unittest.TestCase): pass
[ "scm.mymail@gmail.com" ]
scm.mymail@gmail.com
c240856e65b024a5a9b19821fe2f9ac7b1d1d862
59080f5116b9e8f625b5cc849eb14b7ff9d19f3d
/121django组件/dj_crontab/manage.py
3944353f536beb69f4cc28dbac8091224f1ff62e
[]
no_license
yyq1609/Python_road
eda2bcd946b480a05ec31cdcb65e35b3f3e739d1
e9ba2f47c8dd2d00a6e5ddff03c546152efd8f49
refs/heads/master
2020-09-11T11:51:35.903284
2019-11-11T13:02:21
2019-11-11T13:02:21
222,054,462
1
0
null
2019-11-16T05:58:13
2019-11-16T05:58:12
null
UTF-8
Python
false
false
808
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "dj_crontab.settings") try: from django.core.management import execute_from_command_line except ImportError: # The above import may fail for some other reason. Ensure that t...
[ "958976577@qq.com" ]
958976577@qq.com
719e76c24d33c3402b02f3ed16cccf3a267b33ec
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_154/ch76_2019_04_02_14_57_11_517138.py
7f1e7221d00d598a8269f779287b8334bdb39737
[]
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
182
py
def aniversariantes_de_setembro(dic): result = {} for name, date in dic.items(): if date.split("/")[1] == "09": result[name] = date return result
[ "you@example.com" ]
you@example.com
3cfa306e178f7e9b1f3ca64b5085a6421c67699b
19da1a56f137a08772c347cf974be54e9c23c053
/lib/adafruit_sgp30.py
e78691013676b8fb5f9f999f4597e14e1fc9de37
[]
no_license
mk53202/mk53202-timeclock-pyportal
d94f45a9d186190a4bc6130077baa6743a816ef3
230a858d429f8197c00cab3e67dcfd3b295ffbe0
refs/heads/master
2021-02-04T05:38:25.533292
2020-02-27T22:45:56
2020-02-27T22:45:56
243,626,362
0
0
null
null
null
null
UTF-8
Python
false
false
7,040
py
# The MIT License (MIT) # # Copyright (c) 2017 ladyada for Adafruit Industries # # 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...
[ "mkoster@stack41.com" ]
mkoster@stack41.com
1ee5456b2af3b2fefdb3e82d947d756c7c79210f
67dabd1c3c035fcf81bf3bef58255b3319dc14dd
/src/proposals/forms/mixins.py
9116da4c4aa8092d6fb3372442dec50549e6ca90
[ "MIT" ]
permissive
flisky/pycontw2016
3487e5c9dd79fc24e05fa0fbb720d721f86a4d99
fbd6fff8901a34bb40afc0ccf458f61559f64fe4
refs/heads/master
2021-01-12T06:23:46.987660
2016-12-26T03:02:34
2016-12-26T03:06:22
77,354,026
1
0
null
2016-12-26T03:01:43
2016-12-26T03:01:43
null
UTF-8
Python
false
false
832
py
from django import forms from django.utils.translation import ugettext_lazy as _ from core.forms import RequestUserValidationMixin class RequestUserSpeakerValidationMixin(RequestUserValidationMixin): """Mixin providing ``self._request`` and auth validation on cleaning. """ error_messages = RequestUserVal...
[ "uranusjr@gmail.com" ]
uranusjr@gmail.com
0d463f453fc9ae504502f868da5862f318c305f9
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/dev/perf/speechbrain-tdnn/templates/speaker_id/mini_librispeech_prepare.py
223c7f36d58bce2851b48dad0a6a6f1d571df763
[ "Apache-2.0", "GPL-1.0-or-later", "LicenseRef-scancode-other-permissive", "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
6,304
py
""" Downloads and creates data manifest files for Mini LibriSpeech (spk-id). For speaker-id, different sentences of the same speaker must appear in train, validation, and test sets. In this case, these sets are thus derived from splitting the original training set intothree chunks. Authors: * Mirco Ravanelli, 2021 ""...
[ "dongwenbo6@huawei.com" ]
dongwenbo6@huawei.com
237908bb39513e39384074e759467a2836ae9155
adc4e6738d06b83c9fdb8c0751fa1a9038b27eb9
/infra/bots/buildstats/buildstats_flutter.py
043ac10d1d55ad27e9370ab2b1212cf787e76c95
[ "BSD-3-Clause" ]
permissive
jiangkang/skia
2e7cc93d291cad552fb7b8c2ed92f88b53c58786
a8cbf5568c60891329dc83604e2b72966540b7df
refs/heads/master
2023-03-23T14:38:08.069926
2021-03-19T04:44:46
2021-03-19T04:44:46
297,593,606
0
0
NOASSERTION
2021-03-19T04:44:47
2020-09-22T09:03:30
null
UTF-8
Python
false
false
5,011
py
# Copyright 2018 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """Writes a Perf-formated json file with stats about Skia's size in flutter.""" import json import os import subprocess import sys def main(): # This ...
[ "skia-commit-bot@chromium.org" ]
skia-commit-bot@chromium.org