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
e50542f228d6759629bd4a34572c3eb303e86f74
3f1a6ad5c0c9015653206f45f5395d006b663a14
/Q Learning/MTM/ARVIND/Run 9/GlobalVariables.py
3e2d5879ffdeb20c3f0fd1e851beb570cc01e9b0
[]
no_license
ciddhijain/Results
075c9c51bf8bebefdf3ca87f66a50c9c39d8461e
a3ce350885264a6bf5c277bd811ad1a9931ced18
refs/heads/master
2021-01-10T19:23:17.764638
2015-07-03T14:51:48
2015-07-03T14:51:48
37,335,721
0
0
null
null
null
null
UTF-8
Python
false
false
3,572
py
__author__ = 'Ciddhi' from datetime import timedelta, datetime databaseName = 'QL_ARVIND' # This is database name to which connection is made userName = 'root' # This is the user name for database connection password = 'controljp' # Thi...
[ "ciddhijain@gmail.com" ]
ciddhijain@gmail.com
cac0bf55441435485f57281a5edd5505e43adbd5
53db22afe7b2dc8344dd2ab0636644109708128f
/clab/nninit/__init__.py
f4854ab3143e64ac2d0a2683aa9e6858db9ca291
[ "Apache-2.0" ]
permissive
Erotemic/clab
5b5c11b2e4d39642f071c560e0e7caf3397c372d
89af79816d219cbecefefa209c0f6dc1fe390375
refs/heads/master
2018-10-09T18:04:31.762389
2018-08-13T14:23:38
2018-08-13T14:23:38
110,250,463
3
3
null
null
null
null
UTF-8
Python
false
false
747
py
""" python -c "import ubelt._internal as a; a.autogen_init('clab.nninit')" python -m clab """ # flake8: noqa from clab.nninit import base from clab.nninit import lsuv from clab.nninit.base import (HeNormal, KaimingNormal, KaimingUniform, NoOp, Orthogonal, Pretrained, VGG16, apply_initializ...
[ "crallj@rpi.edu" ]
crallj@rpi.edu
9c198d82430f363233c68b084eddf9cf7586ae1e
d61183674ed7de0de626490cfba77d67c298d1be
/py_scripts/bench_plot_neighbors.py
54b896c2395f7e0598e4cd69e6dd4c51357c11ad
[]
no_license
Giannos-G/python_dataset
bc670a53143d92cf781e88dee608da38b0e63886
18e24cbef16ada1003a3e15a2ed2a3f995f25e46
refs/heads/main
2023-07-25T20:24:31.988271
2021-09-09T10:31:41
2021-09-09T10:31:41
363,489,911
2
0
null
null
null
null
UTF-8
Python
false
false
6,405
py
""" Plot the scaling of the nearest neighbors algorithms with k, D, and N """ from time import time import numpy as np import matplotlib.pyplot as plt from matplotlib import ticker from sklearn import neighbors, datasets def get_data(N, D, dataset='dense'): if dataset == 'dense': np.random.seed(0) ...
[ "giannos.gavrielides@gmail.com" ]
giannos.gavrielides@gmail.com
fb518482a9258267dfecca4ed56546ae95d000cf
03b98276b252aa0e94142b65fd4b9dcd0a4d12ee
/Project.py
4d44581f8e3cc0aa66a52956f2641de9b4be4d85
[]
no_license
FrancescoSaverioZuppichini/scientists-keypoints-classification
b2c0ec30f5f7067d3809955f26a2f0cb051cdc2a
d1c4b6010e8c0f13271cd3304a137febf927c51d
refs/heads/main
2023-03-02T07:44:40.767193
2021-01-31T15:56:12
2021-01-31T15:56:12
334,368,509
0
0
null
2021-01-31T15:56:13
2021-01-30T08:49:52
Jupyter Notebook
UTF-8
Python
false
false
518
py
from dataclasses import dataclass from pathlib import Path @dataclass class Project: """ This class represents our project. It stores useful information about the structure, e.g. paths. """ base_dir: Path = Path(__file__).parents[0] data_dir: Path = base_dir / 'dataset' checkpoint_dir: Path = ...
[ "zuppif@usi.ch" ]
zuppif@usi.ch
a56e5646913bda05dbd46183d6ccfa161a785312
7a0f7ce00528b103c7b8b501f1e8333fc3a0836c
/Class Based Views/CBV/CBV/CBV_app/urls.py
e9a5006b2991b23bdefa7672692ccb6ffcd53603
[]
no_license
StefanDimitrovDimitrov/DjangoRESTFramework
605ea044f4039d5bb8017ffe2f33c54ea0ebacc0
076cac204d2b5b1a278b68d3883394d5dcc2c040
refs/heads/main
2023-07-15T01:55:52.550274
2021-08-27T16:34:40
2021-08-27T16:34:40
382,106,004
0
0
null
null
null
null
UTF-8
Python
false
false
269
py
from django.urls import path from CBV.CBV_app.views import CBVList, Details, Create urlpatterns = [ path('', CBVList.as_view(), name='CBVList'), path('details/<int:pk>', Details.as_view(), name='details'), path('create', Create.as_view(), name='create') ]
[ "54206891+StefanDimitrovDimitrov@users.noreply.github.com" ]
54206891+StefanDimitrovDimitrov@users.noreply.github.com
e9441712b4248e5f710a43bc2f7edd338493dca2
781e2692049e87a4256320c76e82a19be257a05d
/all_data/exercism_data/python/bob/5250fabed22b4ae590e1fc2c10ff7469.py
1d05c10071c4c66d5b3f7de258699ffdc3b7ceb5
[]
no_license
itsolutionscorp/AutoStyle-Clustering
54bde86fe6dbad35b568b38cfcb14c5ffaab51b0
be0e2f635a7558f56c61bc0b36c6146b01d1e6e6
refs/heads/master
2020-12-11T07:27:19.291038
2016-03-16T03:18:00
2016-03-16T03:18:42
59,454,921
4
0
null
2016-05-23T05:40:56
2016-05-23T05:40:56
null
UTF-8
Python
false
false
465
py
# # Skeleton file for the Python "Bob" exercise. # def hey(what): #Strip whitespace what=what.strip() if (what==''): return 'Fine. Be that way!' elif (any(c.isalpha() for c in what) and what.upper()==what): #if the string contains letters, and all letters are uppercase (i.e. applying .upper() doesn't change the...
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
9f455b8429dea02b5edeba4e91d0ff72aa48f3b9
5a52ccea88f90dd4f1acc2819997fce0dd5ffb7d
/alipay/aop/api/response/AlipayDataDataserviceHellobikeLogSyncResponse.py
da91fbf326c81f03835b551c7221a1f8723c99fd
[ "Apache-2.0" ]
permissive
alipay/alipay-sdk-python-all
8bd20882852ffeb70a6e929038bf88ff1d1eff1c
1fad300587c9e7e099747305ba9077d4cd7afde9
refs/heads/master
2023-08-27T21:35:01.778771
2023-08-23T07:12:26
2023-08-23T07:12:26
133,338,689
247
70
Apache-2.0
2023-04-25T04:54:02
2018-05-14T09:40:54
Python
UTF-8
Python
false
false
742
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.response.AlipayResponse import AlipayResponse class AlipayDataDataserviceHellobikeLogSyncResponse(AlipayResponse): def __init__(self): super(AlipayDataDataserviceHellobikeLogSyncResponse, self).__init__() self._biz_cod...
[ "liuqun.lq@alibaba-inc.com" ]
liuqun.lq@alibaba-inc.com
8b3bc7cf95133c671e3c410fa6d4ef40fc0d8f7b
3e54ca2ad9146c1eaeee8a2497483187d660289c
/Python/string1.py
4f1ba32b7966d9f8b643b2e1c9244efd57f1459a
[]
no_license
ParvathyGS/My-learnings
438e096dc45d73ac5808a7b77316317dd90942ec
653dac3dc3b46803ab89f07b7c14435f15b3164f
refs/heads/master
2023-01-13T02:53:58.223103
2020-08-09T08:09:08
2020-08-09T08:09:08
227,995,341
0
1
null
2023-01-07T20:48:22
2019-12-14T09:09:53
HTML
UTF-8
Python
false
false
46
py
a = "my Python" print(len(a)) #print(a[-5:-2])
[ "gsparvathy1989@gmail.com" ]
gsparvathy1989@gmail.com
861e56f9b51658633be995a3553d7ed2a0aa0d18
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/nikola.py
79a8ef8c28112a7172aa37e667777afa2136de90
[]
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 = [('LeakWTI2.py', 2), ('LeakWTI3.py', 2), ('LeakWTI4.py', 1)]
[ "prabhjyotsingh95@gmail.com" ]
prabhjyotsingh95@gmail.com
8a01fbab7ddd08d936daca4f2b151f92b88385c5
e9ff112a590a2707e66c518328ba71a4d964846a
/train_scripts/train_c2i.py
f980e7fb7c32ab9e357e2dc4a9e4acdc8522b720
[ "MIT" ]
permissive
n644t031/fastMRI-kspace
60a6ca9679ede25f0db89f174647a8451a578331
4c484b3183e9f06838b5ee108af283611c2e1e77
refs/heads/master
2022-08-30T17:19:23.105996
2020-05-24T13:55:40
2020-05-24T13:55:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,068
py
import torch from torch import nn, optim from pathlib import Path from utils.run_utils import initialize, save_dict_as_json, get_logger, create_arg_parser from utils.data_loaders import create_prefetch_data_loaders from train.subsample import RandomMaskFunc, UniformMaskFunc from data.input_transforms import PreProce...
[ "veritas9872@gmail.com" ]
veritas9872@gmail.com
2c562bda934b4f62ab5ded428de590c8313dcc52
0b9e884be78ecc22a44a94e2c1cabefd637b9ed0
/Python_Talk/mpt-master/ch12/guess_letter.py
7c0efa9b99992a2bcda705aca8885edea8980335
[]
no_license
marcovnyc/penguin-code
6ba3faa5f21186918e2d08f5a0fcacebb2697e56
a0c1f91219ff74a8bb8e9fd3375b03b667056b54
refs/heads/master
2021-12-22T15:04:26.002512
2021-12-16T04:01:40
2021-12-16T04:01:40
7,264,458
0
0
null
null
null
null
UTF-8
Python
false
false
1,798
py
import turtle as t from random import choice # Set up the board t.setup(600,500) t.hideturtle() t.tracer(False) t.bgcolor("lavender") t.title("Guess the Word Game in Turtle Graphics") # Define a variable to count how many guesses left score = 6 # Create a second turtle to show guesses left left = t.Turtle(...
[ "penguin@penguin.com" ]
penguin@penguin.com
55442bd8026d0af90bc25fa86a863d5ebe49cfbc
9bbf429d2c2e2f20345d613a719cf01e8f9a0bff
/userprofile/views.py
560c9d6dd350e3921d0fd10212558efa8c14f642
[]
no_license
sandglasscao/ENU
f78f8a8dfaf3263587885b0622ab6d3182012375
e3c26fd57f8ef582da576e1cc28b7eb42562c706
refs/heads/master
2021-01-23T05:19:03.175439
2017-04-14T09:24:22
2017-04-14T09:24:22
86,297,754
0
0
null
null
null
null
UTF-8
Python
false
false
15,585
py
import base64 from django.http import HttpResponse import json from rest_framework.renderers import JSONRenderer from rest_framework.response import Response from rest_framework.status import HTTP_200_OK from rest_framework.generics import ( ListAPIView, ListCreateAPIView, RetrieveUpdateDestroyAPIView, ) fr...
[ "root@localhost" ]
root@localhost
57b897d6707a263911f478ca1cd987fc2d776816
ece0d321e48f182832252b23db1df0c21b78f20c
/engine/2.80/scripts/addons/cycles/version_update.py
178f1162568f5957f10cb3cb550f6f789469f98b
[ "Unlicense", "GPL-3.0-only", "Font-exception-2.0", "GPL-3.0-or-later", "Apache-2.0", "LicenseRef-scancode-public-domain", "LicenseRef-scancode-unknown-license-reference", "LicenseRef-scancode-public-domain-disclaimer", "Bitstream-Vera", "LicenseRef-scancode-blender-2010", "LGPL-2.1-or-later", ...
permissive
byteinc/Phasor
47d4e48a52fa562dfa1a2dbe493f8ec9e94625b9
f7d23a489c2b4bcc3c1961ac955926484ff8b8d9
refs/heads/master
2022-10-25T17:05:01.585032
2019-03-16T19:24:22
2019-03-16T19:24:22
175,723,233
3
1
Unlicense
2022-10-21T07:02:37
2019-03-15T00:58:08
Python
UTF-8
Python
false
false
15,886
py
# # Copyright 2011-2014 Blender Foundation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
[ "admin@irradiate.net" ]
admin@irradiate.net
ee7d13e00cccdc88d49ad555a163e514fa7a1276
aad51b0ea59c38b23ed419e10b86c44aa947f117
/156/rrhood.py
cec768264e83a157a3edbe67b33fa6193bb99896
[]
no_license
berubejd/PyBites
3a1d7144f59f67a0996dbe224b69bc0b6da439d6
439446e8b67612a603713723b2d4a021677341d2
refs/heads/master
2021-07-14T14:03:51.819347
2020-11-01T14:59:02
2020-11-01T14:59:02
221,087,519
0
0
null
null
null
null
UTF-8
Python
false
false
5,346
py
#!/usr/bin/env python3.8 CHARACTERS = ['Red Riding Hood', # we're omitting 'mother' here for simplicity # (= substring grandmother) ('Grandmother', 'Grandma', 'Granny'), 'wolf', 'woodsman'] text = """ Once upon a time, there was a little girl who lived in a vill...
[ "berubejd@gmail.com" ]
berubejd@gmail.com
59ab9c4e25ae4f4d32c497ff085285a02ce8eae2
5b86d752424e303a5115ded25892776d3781bddf
/tools/forecast_data_select.py
c4ceec80ef4eccac6ff982ff5fac063d8bf44513
[]
no_license
GlassyWing/weather_predict_torch
3318e441768ebbaaac408cdd3c48133f7bc03495
0cbd0af4b787bb8624d65b9e31970161e29d05a2
refs/heads/master
2020-05-17T08:04:28.473337
2019-05-04T13:54:27
2019-05-04T13:54:27
183,597,527
0
0
null
null
null
null
UTF-8
Python
false
false
274
py
import pandas as pd if __name__ == '__main__': weather = pd.read_csv("../data/weather.csv") weather = weather[(weather['year'] == 2017) & (weather['month'] == 5) & (weather['county'] == '仁和')][::-1] weather.to_csv("../data/forecast_test.csv", index=False)
[ "1490215053@qq.com" ]
1490215053@qq.com
beb9bd4c2cd0d682ed67c40ad31749fdf94ea87d
432ea480327c3e0ce37d605d1c4ac29a8b653853
/src/visions/backends/python/types/file.py
2886a3bce3435a710a17540736818199fafd230b
[ "BSD-4-Clause", "BSD-2-Clause" ]
permissive
dylan-profiler/visions
3f7f99b06cc8a7b90cb4df988dbbec6c329a8e0a
a0b55bbf95e6efe001195e4b497358d6283966b5
refs/heads/develop
2022-11-27T01:17:01.735418
2022-10-30T10:44:37
2022-10-30T10:44:37
227,633,867
188
23
NOASSERTION
2022-10-05T23:06:31
2019-12-12T15:09:01
Python
UTF-8
Python
false
false
246
py
import pathlib from typing import Sequence from visions.types.file import File @File.contains_op.register def file_contains(sequence: Sequence, state: dict) -> bool: return all(isinstance(p, pathlib.Path) and p.exists() for p in sequence)
[ "sfbbrugman@gmail.com" ]
sfbbrugman@gmail.com
c9acd1718298d2ba3853839da68e37e9e068d22a
9ff1058a0500be499fd3de9ec0beccd697d5273c
/lib/Diffusion/ModelFitting/DTI.py
554d74a9c538ad0850a5a97c89f04f1900470348
[]
no_license
jrussell9000/NeuroScripts
93f53c7d38c1d51fdc0cf39096e0996daee887cf
e41558754bd36385f94934333cb39a6500abfd9f
refs/heads/master
2021-06-09T20:30:59.956137
2021-04-08T18:45:39
2021-04-08T18:45:39
151,635,108
0
0
null
null
null
null
UTF-8
Python
false
false
16,090
py
import string, os, sys, subprocess, shutil, time import numpy as np import nibabel as nib import dipy.reconst.dti as dti from dipy.denoise.noise_estimate import estimate_sigma from dipy.core.gradients import gradient_table from dipy.io import read_bvals_bvecs from dipy.reconst.dti import fractional_anisotropy def fi...
[ "jrussell9000@gmail.com" ]
jrussell9000@gmail.com
dc1fc261559951e65219266aec5cf9ca732ba352
e33e414418be93aa0fb19c38b82b221ed8826460
/intel-sds-proto/vsm_configure_guide/packages/vsmclient/python-vsmclient/vsmclient/v1/shell.py
2ad1dd39c641f63f9d8a0249f9753cdf8077a782
[ "Apache-2.0", "BSD-3-Clause", "BSD-2-Clause" ]
permissive
wisererik/proposals
69e4caaf89d7838c14b18328dc261b6c914748bf
9db7413983df9341d1796f2acba7202d36f31278
refs/heads/master
2021-05-03T23:12:39.496346
2018-12-22T04:02:46
2018-12-22T04:02:46
120,399,059
0
0
null
2018-02-06T03:54:13
2018-02-06T03:54:13
null
UTF-8
Python
false
false
21,438
py
# Copyright 2010 Jacob Kaplan-Moss # Copyright 2011 OpenStack LLC. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/...
[ "huangzhipeng@huawei.com" ]
huangzhipeng@huawei.com
4b6960d22383d7c69b3c5e10c4b64ac23a1c83e8
230553326780c93f60d552a95d50018025724b4b
/py-code/迭代器.py
0fa3e53eaa24b154fab2aaba25a75e2ac9777164
[]
no_license
g-lyc/PRACTICE
55108dbeb75893e4e6631ce3968420f1da0266ef
492f72a1c14b53982ada478890e6a5487a67c46e
refs/heads/master
2022-08-21T17:33:29.682865
2022-08-15T02:58:17
2022-08-15T02:58:17
51,586,693
0
0
null
null
null
null
UTF-8
Python
false
false
553
py
#coding:utf-8 import os import sys # 生成器都是迭代器,迭代器不一定是生成器 l = [1,2,3,4,5] #可迭代对象,不是迭代器 d = iter(l) # l.__iter__() print(d) #<listiterator object at 0x0000000004DA5518> #什么是迭代器? #满足两个条件 1、有iter()方法 2、有next()方法 # for 循环内部三件事: # 1、 调用可迭代对象的iter方法返回一个迭代器对象 # 2、 不断调用迭代器对象的next方法 # 3、 处理StopIteration # Iter...
[ "309080979@qq.com" ]
309080979@qq.com
4d0e9ebb114de82496a8cb4dacaa905abe0ef68d
e6579d0c32041b307b14d63d36ad733918dc8925
/Tareas/Tarea 3/tarea3_nroalumno_seccion_n/PRUEBAS/mena.py
0fef4d796a28b2f2fe78e20721659121d4c55931
[]
no_license
javierlopeza/IIC1103-2014-2
23bba4f33686e5779868f4f36ec05af4e322e8be
2be90d0d03d1a03d7194613c117d788f12e4451a
refs/heads/master
2021-01-19T14:41:32.475187
2017-04-13T16:10:32
2017-04-13T16:10:32
88,182,695
1
0
null
null
null
null
UTF-8
Python
false
false
13,305
py
import instaintro_gui import copy ################################# ################################# ################################# def girar_imagen(matriz): n_filas=len(matriz) n_columnas=len(matriz[0]) #AGREGAR CANTIDAD DE COLUMNAS: original_girada=[] for i in range(n_columnas): ...
[ "jilopez8@uc.cl" ]
jilopez8@uc.cl
2b27287a81ce34c6bdfd3b3077d0ad39cac86b10
1f4204f903657884d9cccfd44b19ecb531b59ded
/test_settings/66_1_3_200.py
c083982ec3213706b72bcdccb9b5721887a8d8a3
[]
no_license
fmcc/StylometricAnalyser
795a8e4abe264ee18ab3bcb34bd128bcd06ac5ca
e86305a63c95d8b533cab4a3be0010c2fee0ff14
refs/heads/master
2021-01-23T08:38:44.961082
2013-08-31T20:23:36
2013-08-31T20:23:36
11,097,508
3
1
null
null
null
null
UTF-8
Python
false
false
540
py
import os DB_PATH = os.getcwd() + '/database/greek_texts.db' LOGGING = True DB_LOGGING = False NGRAM_WORDS = False NGRAM_LENGTHS = { 'MIN': 1, 'MAX': 3 } NO_SPACES = True RESTRICT_VECTOR_SPACE = 200 # If selected, texts will be divided according to their original top-level divisions (Books etc....
[ "finlaymccourt@gmail.com" ]
finlaymccourt@gmail.com
db000f476282e2536b72f3be77dc90f773225eb7
83544ef94ce2c1a05b6028ae2ce58ef8acfb6fa8
/pmca-console.spec
78c3eff77d7b1c5610639372fbb7074d05cd63eb
[ "MIT" ]
permissive
ma1co/Sony-PMCA-RE
9ae44c5b09580d62e860c3acff24bd1fac28a31e
a82f5baaa8e9c3d9f28f94699e860fb2e48cc8e0
refs/heads/master
2023-08-07T07:54:13.763912
2022-08-18T12:46:04
2022-08-18T12:46:04
35,510,548
1,788
228
MIT
2022-11-05T06:45:01
2015-05-12T20:18:25
Python
UTF-8
Python
false
false
177
spec
# Run `pyinstaller pmca-console.spec` to generate an executable input = 'pmca-console.py' output = 'pmca-console' console = True with open('build.spec') as f: exec(f.read())
[ "ma1co@users.noreply.github.com" ]
ma1co@users.noreply.github.com
2fa2a7be091417df1d030e2f52c95d5fe49f5951
25d4d1a1a1e536c23fce4eef19c56b3337606ada
/virtual/bin/flask
1f71e29d8801fae92f51869bc979e7821176f981
[]
no_license
thepsalmist/Movie_Watchlist
b357f7e94a0744dd4dffac5501ea250cc4214d17
d8e15268d4430a97276ddbeebfccd9391737d30c
refs/heads/master
2020-06-05T22:54:03.394642
2019-06-18T15:36:31
2019-06-18T15:36:31
192,567,814
0
0
null
null
null
null
UTF-8
Python
false
false
276
#!/home/thealchemist/Desktop/moringa-school-projects/Watchlist/virtual/bin/python3 # -*- coding: utf-8 -*- import re import sys from flask.cli import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "xf.xavierfrank@gmail.com" ]
xf.xavierfrank@gmail.com
20ed4c2c7261e9b4442d61d4810acd5d0b5743e6
385ab972316b41cb0643f1050f9220b8eaeb4647
/findDigits.py
41ec66dee85addf385ce1e7b73749ac75dcd3cb8
[]
no_license
Rpratik13/HackerRank
09174c9b331e25cec33848a80e9109800cdbc894
38b9a39261bfb3b2fc208ad1e3d8a485585b419a
refs/heads/master
2020-03-22T05:24:03.516086
2020-01-31T16:08:19
2020-01-31T16:08:19
139,563,106
0
0
null
null
null
null
UTF-8
Python
false
false
274
py
def findDigits(n): temp = n count = 0 while temp!=0: d = temp%10 if d == 0: temp = temp//10 continue if n%d==0: count+=1 temp = temp//10 return count t = int(input()) for t_itr in range(t): n = int(input()) result = findDigits(n) print(result)
[ "r.pratik013@gmail.com" ]
r.pratik013@gmail.com
a277c31b1f5861dc5d0a8cf2c169ac2f24ea9e6b
2c143ba64032f65c7f7bf1cbd567a1dcf13d5bb1
/树/验证二叉树.py
52f08e37e653a6186347565b6ffa4d6440299a4a
[]
no_license
tx991020/MyLeetcode
5b6121d32260fb30b12cc8146e44e6c6da03ad89
cfe4f087dfeb258caebbc29fc366570ac170a68c
refs/heads/master
2020-04-09T21:43:41.403553
2019-03-27T18:54:35
2019-03-27T18:54:35
160,611,089
0
0
null
null
null
null
UTF-8
Python
false
false
1,076
py
''' 给定一个二叉树,判断其是否是一个有效的二叉搜索树。 假设一个二叉搜索树具有如下特征: 节点的左子树只包含小于当前节点的数。 节点的右子树只包含大于当前节点的数。 所有左子树和右子树自身必须也是二叉搜索树。 示例 1: 输入: 2 / \ 1 3 输出: true 示例 2: 输入: 5 / \ 1 4 / \ 3 6 输出: false 解释: 输入为: [5,1,4,null,null,3,6]。 根节点的值为 5 ,但是其右子节点值为 4 。 ''' # Definition for a binary tree node. # cl...
[ "wudi@hetao101.com" ]
wudi@hetao101.com
60662f03bae36268062d3d500b1a75f366f385cd
91824d746654fe12881b4fc3b55c553aae0d22ac
/py/fizz-buzz.py
94d8d1eecae70b8c48ce696fb08d2f16527ea5db
[ "Apache-2.0" ]
permissive
ckclark/leetcode
a1a173c67a36a3256b198f853fcd3d15aa5abbb7
844c6f18d06dcb397db76436e5f4b8ddcb1beddc
refs/heads/master
2021-01-15T08:14:43.368516
2020-02-14T07:25:05
2020-02-14T07:30:10
42,386,911
0
0
null
null
null
null
UTF-8
Python
false
false
427
py
import sys class Solution(object): def fizzBuzz(self, n): """ :type n: int :rtype: List[str] """ ret = [] for i in xrange(1, n + 1): s = '' if i % 3 == 0: s += 'Fizz' if i % 5 == 0: s += 'Buzz' ...
[ "clark.ck@gmail.com" ]
clark.ck@gmail.com
f44a761d585356507a3b6096569ea06aed626c93
7c06ff01f631cac78aa7c47f2af8237d140eab72
/maa/atlas/merge_predictors.py
e85de84c26171debac2e611d21587571add61a24
[ "MIT" ]
permissive
iosonofabio/maa
563df2e61ee23b128e20c60740761a0a75706ea4
072892e1cb7b8e48e9ffc335d57d508bf1362f7e
refs/heads/master
2020-03-30T15:06:15.457548
2018-10-02T23:51:27
2018-10-02T23:51:27
151,348,294
0
0
null
null
null
null
UTF-8
Python
false
false
18,373
py
# vim: fdm=indent ''' author: Fabio Zanini date: 22/11/17 content: Merge scattering and antibody-based predictors. ''' # Modules import os import sys import argparse import yaml import numpy as np import pandas as pd from scipy.stats import spearmanr from sklearn.externals import joblib import json import...
[ "fabio.zanini@fastmail.fm" ]
fabio.zanini@fastmail.fm
40018adf13b332b79d6fb3be3827cb089212a630
610dedfb6e21d297e8cdbcba599a4e564bd785cb
/EstruturaDeRepeticao/estruturaderepeticao-29.py
5e9e0dce39884add04858ba5c6bdaa07905a59e9
[]
no_license
zumbipy/PythonExercicios
f7b2ddf2376b9ecb2aedc77531e3571dc746a12b
7a17b78cf927a2889b93238542e90e00810c43e6
refs/heads/master
2021-01-23T10:43:47.997462
2018-07-22T14:58:44
2018-07-22T14:58:44
93,086,120
1
1
null
null
null
null
UTF-8
Python
false
false
1,182
py
# Telegram: @ZumbiPy __ _ ___ # /_ / __ ____ _ / / (_) _ \__ __ # / /_/ // / ' \/ _ \/ / ___/ // / # /___/\_,_/_/_/_/_.__/_/_/ \_, / # E-mail: zumbipy@gmail.com /___/ """ 29 - O Sr. Manoel Joaquim possui uma grande loja de artigos de R$ 1,99, com cerca de 10 caixas. Para agilizar o cálculo de quanto cada ...
[ "zumbipy@gmail.com" ]
zumbipy@gmail.com
ae3a0a0301704c185845a2ce5ed9681188f3d08e
9dee94907e6456a4af9855d358693923c17b4e0d
/0015_3Sum.py
159dafa89798c41df6a1700328fa7950dc93e7eb
[]
no_license
chien-wei/LeetCode
e215915a8103e56f182040dacc9fb0d6996c86ec
0d6f414e7610fedb2ec4818ecf88d51aa69e1355
refs/heads/master
2021-05-13T14:48:22.891100
2019-08-20T05:52:59
2019-08-20T05:52:59
116,749,327
0
0
null
null
null
null
UTF-8
Python
false
false
1,277
py
class Solution: def threeSum(self, nums): """ :type nums: List[int] :rtype: List[List[int]] """ res = [] nums.sort() self.nSum(nums, 0, 3, [], res) return res def nSum(self, nums, target, n, result, results): #print(nums, target, n, re...
[ "chien-wei@outlook.com" ]
chien-wei@outlook.com
d2029e11c506652cd6919211d3bae4de432c9fb8
ba2a05f20454bda428f140634bc602699f164fc4
/00.SSAFY/1.first-semester/07_django/API/api/settings.py
871671aa9e43287bfe37e62f0f3a9b4c9fa4751f
[]
no_license
snowink1137/TIL
734da402e99afa52f1af4ef996a6b274b1bcce0b
9e9c78eb0c892affc88e2d46e143cef98af743fb
refs/heads/master
2023-01-08T18:26:34.311579
2021-11-14T11:04:22
2021-11-14T11:04:22
162,255,934
0
0
null
2023-01-07T11:09:09
2018-12-18T08:32:44
Jupyter Notebook
UTF-8
Python
false
false
3,183
py
""" Django settings for api project. Generated by 'django-admin startproject' using Django 2.1.7. For more information on this file, see https://docs.djangoproject.com/en/2.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.1/ref/settings/ """ import os # Bui...
[ "snowink1137@gmail.com" ]
snowink1137@gmail.com
965d835cd6e4e9bf535d757bd971a6e7081fe8bc
8a82a83655f118208692e55d7804d9fa480ad4b6
/book/apress/Beginning.Python.Visualization.Crafting.Visual.Transformation.Scripts/Chapter08/src/exponential.py
f18cc92e1d379da0067ba78d35d4cd6e229f293e
[]
no_license
xenron/sandbox-da-python
0814159da9a91923e4b66c5e40057e381f765e96
ab8f1c0d57fdc6006355f613012b84165068c315
refs/heads/master
2020-04-12T05:41:33.182110
2016-12-14T22:57:33
2016-12-14T22:57:33
60,324,979
5
2
null
null
null
null
UTF-8
Python
false
false
567
py
from pylab import * # number of data points N = 100 start = 0 end = 2 A = rand() B = rand() # our linear line will be: # y = B*exp(A*x) = exp(A*x + log(B)) x = linspace(start, end, N) y = exp(A*x+B) y += randn(N)/5 # linear regression p = polyfit(x, log(y), 1) figure() title(r'Linear re...
[ "xenron@outlook.com" ]
xenron@outlook.com
9ec945cdec71b73d69ddf26100e64e454674c0b9
ad53f1fabc89a9f451351fff292b03c3aac69615
/class_code/algorithms/rl_pg/pg.py
1b6d4a293ce0bf591b4589d53cf31d048fa470ff
[]
no_license
anatu/Stanford-CME241-W2020
9a64d0b68dec84232f5dbf68b191246cd7fb8d29
73f4088ed25bebe1925005b3bc4ace4b3660ef73
refs/heads/master
2020-12-07T04:54:40.207475
2020-03-16T21:53:49
2020-03-16T21:53:49
232,638,280
3
0
null
null
null
null
UTF-8
Python
false
false
14,288
py
from typing import Mapping, Callable, Sequence, Tuple from algorithms.opt_base import OptBase from processes.mdp_rep_for_rl_pg import MDPRepForRLPG from algorithms.func_approx_spec import FuncApproxSpec from func_approx.func_approx_base import FuncApproxBase import numpy as np from utils.generic_typevars import S, A fr...
[ "natu.anand@gmail.com" ]
natu.anand@gmail.com
d97edee00b89ffead3177b443913cfa0885b63a8
7a0b7552bbf24dcaab5f981adc7077a642aee6ac
/week9/todo/main/urls.py
d791ddc723dfcc0b135aa8d30cebdac0fc8c2b2a
[]
no_license
Aigerimmsadir/BFDjango
b20f731796fa9df7ec021bc7a293def35df55e01
a850713d24f50b8b70dd9f8036f77e76174f3c4e
refs/heads/master
2020-03-27T20:29:20.543884
2018-11-24T13:07:39
2018-11-24T13:07:39
147,072,816
1
0
null
null
null
null
UTF-8
Python
false
false
795
py
from django.urls import path from . import views urlpatterns = [ path('',views.home, name='home'), path('home', views.index, name='index'), path('1/completed/', views.completed_tasks,name='completed'), path('1/incompleted/', views.incompleted_tasks,name="incompleted"), path('1/creat...
[ "noreply@github.com" ]
Aigerimmsadir.noreply@github.com
2087b62bd5e686dd6b4bf8754acc7ff7fd2c6367
e23a4f57ce5474d468258e5e63b9e23fb6011188
/110_concurrency_parallelism/001_asynchronous/_exercises/templates/Async Techniques and Examples in Python/09-built-on-asyncio/the_trio/prod_trio.py
a60443d598ffd2f0e29e3ab260bc0c29cf3ba3cb
[]
no_license
syurskyi/Python_Topics
52851ecce000cb751a3b986408efe32f0b4c0835
be331826b490b73f0a176e6abed86ef68ff2dd2b
refs/heads/master
2023-06-08T19:29:16.214395
2023-05-29T17:09:11
2023-05-29T17:09:11
220,583,118
3
2
null
2023-02-16T03:08:10
2019-11-09T02:58:47
Python
UTF-8
Python
false
false
1,178
py
# ______ d.. # ______ co.. # ______ ra.. # ______ tr.. # # # ? ___ main # t0 _ d_t_.d_t_.n.. # print(co__.F__.W.. + "App started.", f.._T.. # # data _ tr__.Q.. capacity_10 # # w__ tr__.m_o_a.. 5 # ? w__ tr__.op_n.. __ nursery: # ?.s_s.. g_d.. 20, d.. n.._'Prod 1') # ?.s_s...
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
b6d87b84ce43f9cb8bd1f04a831ea7708ceeba1c
e111233b264eb57467ca12562a3f1d91155f0d18
/그외/08 4주/잔다.py
2a35ed2ab0d0d254a8b3aec4a8a422780ee8f63a
[]
no_license
01090841589/ATM
d440a112a47937d11f4c4d8df6817a76971c0888
44fa856a033d15c9281d2597f1b67ee5cec09934
refs/heads/master
2020-07-05T13:24:35.080738
2019-08-29T08:33:24
2019-08-29T08:33:24
202,659,466
7
0
null
null
null
null
UTF-8
Python
false
false
1,547
py
def cal(a, b, eq): if eq == '+': return a + b elif eq == '*': return a * b isp = {'+': 1, '*': 2, '(': 0} nums = ['0', '1', '2', '3', '4' ,'5', '6', '7', '8', '9'] for tc in range(1, 11): N = int(input()) arith = input() word = [] stack = [] for letter in arith: if le...
[ "chanchanhwan@naver.com" ]
chanchanhwan@naver.com
b6c8eb3848575a5dc835a5dab447e1c9cb28d2ec
33524b5c049f934ce27fbf046db95799ac003385
/2017/Turtule/lesson_7_Циклы___for/triangle.py
02ce25a3cada3cb1377c90f019353af48c74f888
[]
no_license
mgbo/My_Exercise
07b5f696d383b3b160262c5978ad645b46244b70
53fb175836717493e2c813ecb45c5d5e9d28dd23
refs/heads/master
2022-12-24T14:11:02.271443
2020-10-04T04:44:38
2020-10-04T04:44:38
291,413,440
0
0
null
null
null
null
UTF-8
Python
false
false
554
py
# -*- coding: utf-8 -*- import turtle import time def write(data): t.write(data,font = ("Arial",14,"normal")) def triangle(size,cover): #a0 = t.heading() p0 = t.pos() t.fd(size) p1 = t.pos() t.fd(-size) t.rt(cover) t.fd(size) t.goto(p1) t.goto(p0) #t.seth(a0) def Poligon(size,n): ang = 0 f...
[ "mgbo433@gmail.com" ]
mgbo433@gmail.com
ca2c1dda952a2077996a03d398489c4346274ca8
c11123ce1e86f8306dcc3bf5d017dbfa8bb1d515
/Medium/Combinations.py
a8b946a2426e2c441fd19569d5b149a0c76f041d
[]
no_license
uathena1991/Leetcode
7e606c68a51ed09e6e6a9fad327b24066e92d0c4
e807ae43a0a253deaa6c9ed1c592fa3a14a6cab8
refs/heads/master
2021-05-01T15:21:25.568729
2019-10-13T14:33:30
2019-10-13T14:33:30
74,910,747
1
0
null
null
null
null
UTF-8
Python
false
false
332
py
class Solution(object): def combine(self, n, k): """ :type n: int :type k: int :rtype: List[List[int]] """ if k == 0: return [[]] else: return [prev + [i] for i in range(1,n+1) for prev in self.combine(i-1,k-1)] a = Solution() print a....
[ "xiaoli.he@rutgers.edu" ]
xiaoli.he@rutgers.edu
614ea8295be05bbd12c8e9489763947b7e63dea8
eefb06b0d8c8c98c1e9cfc4c3852d5c453eb5429
/data/output/550_original
1f725987700a582ef6c283c92616fa22721d44aa
[]
no_license
bopopescu/pythonanalyzer
db839453bde13bf9157b76e54735f11c2262593a
8390a0139137574ab237b3ff5fe8ea61e8a0b76b
refs/heads/master
2022-11-22T02:13:52.949119
2019-05-07T18:42:52
2019-05-07T18:42:52
282,079,884
0
0
null
2020-07-23T23:46:09
2020-07-23T23:46:08
null
UTF-8
Python
false
false
1,545
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "rares.begu@gmail.com" ]
rares.begu@gmail.com
0e10bb5c19776e865b5ad07011a5366bb37011b1
72b1d8b44520d1757d379d8013eb3912b005bef3
/ml/text/experiment/triplet.py
fb287d3ed7426ca6b5e23c8fc9202116298de1f2
[]
no_license
joshuaNewman10/ml
14d8d5821bd952e77272b740cf05cef69ebee383
3ec43868004d421814f8e056205e77a2b8cb92dc
refs/heads/master
2021-04-03T06:29:33.655495
2018-09-17T19:03:40
2018-09-17T19:03:40
124,795,304
0
1
null
null
null
null
UTF-8
Python
false
false
1,156
py
from keras import Input, Model, backend as K from keras.layers import Lambda, Concatenate def triplet_model(encoder, input_shape): x_anchor = Input(shape=input_shape, name='anchor') x_related = Input(shape=input_shape, name='related') x_unrelated = Input(shape=input_shape, name='unrelated') h_anchor ...
[ "josh@teambanjo.com" ]
josh@teambanjo.com
77425a6f9bac27b78c6d3c2f6bff38e7d5474ddd
1adf769cf9234f9b6c619f808d2723b99451d679
/rusentrel/rusentrel_ds/mi_att/att_hidden_z_yang.py
beb3090e90ef24dd693da28831f87b381a9f8486
[ "MIT" ]
permissive
DAVMARROS/attitude-extraction-with-attention-and-ds
4e85fa154ead0cd9499aaedf5d752ac565f37b92
fb8e9d0d9488363738a88c4c447c7a8cb3e2ec1d
refs/heads/master
2023-02-09T04:56:24.090380
2020-12-30T10:09:34
2020-12-30T10:09:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
624
py
#!/usr/bin/python import sys sys.path.append('../../../') from arekit.contrib.networks.multi.configurations.att_self import AttSelfOverSentencesConfig from arekit.contrib.networks.multi.architectures.att_self import AttSelfOverSentences from rusentrel.mi_names import AttSelfOverInstancesModelNames from rusentrel.ruse...
[ "kolyarus@yandex.ru" ]
kolyarus@yandex.ru
1e65865dbb74cecc72da259e7421679ad6d1116e
81e081bd18fcf4f648f50722b59c55a581306346
/1300_K번째 수/s1.py
1eade0d05ad15fbb779c4f21e93bcc0c01783911
[]
no_license
Ysh096/baekjoon
5b50ceb70c0e5a1b095dbee0542056cb31a8edaf
54943a00e11ae4926208e51e7488cc63e6da525d
refs/heads/master
2023-08-05T15:13:17.884639
2021-10-10T12:24:52
2021-10-10T12:24:52
340,568,898
0
0
null
null
null
null
UTF-8
Python
false
false
234
py
# 메모리 초과 import sys sys.stdin = open('input.txt') N = int(input()) k = int(input()) # 인덱스 1부터 시작 # 1~N까지 B = [] for i in range(1, N+1): for j in range(1, N+1): B.append(i*j) B.sort() print(B[k])
[ "skk7541@gmail.com" ]
skk7541@gmail.com
b65fdf1255eb415d579598bcc480d9c998e09e75
d3188257a2e62627744876fd17d36db7c0f1ffab
/chat_chat/chat/models.py
82b2f0f5d5804163ae24cfdac910300fdbd5bcb8
[ "MIT" ]
permissive
junngo/django-chat
8e01ebc2d18f93d87c2a104703274cebe75b6a92
24a4ec17ade348186ab4cdaeecb60f6b69d5dce2
refs/heads/master
2022-11-11T17:15:46.455637
2020-07-02T06:14:40
2020-07-02T06:14:40
266,116,266
0
0
null
null
null
null
UTF-8
Python
false
false
1,147
py
from django.contrib.auth import get_user_model from django.db import models # Create your models here. User = get_user_model() class Contact(models.Model): user = models.ForeignKey( User, related_name='me', on_delete=models.CASCADE) friends = models.ManyToManyField( User, related_name='friend...
[ "myeongjun.ko@gmail.com" ]
myeongjun.ko@gmail.com
996202efa4c0dd475918988a5b19e75ba8fb54dc
83de24182a7af33c43ee340b57755e73275149ae
/aliyun-python-sdk-ice/aliyunsdkice/request/v20201109/ListPackageJobsRequest.py
e6443d218280892d7a6d0901902c850f1f9912e1
[ "Apache-2.0" ]
permissive
aliyun/aliyun-openapi-python-sdk
4436ca6c57190ceadbc80f0b1c35b1ab13c00c7f
83fd547946fd6772cf26f338d9653f4316c81d3c
refs/heads/master
2023-08-04T12:32:57.028821
2023-08-04T06:00:29
2023-08-04T06:00:29
39,558,861
1,080
721
NOASSERTION
2023-09-14T08:51:06
2015-07-23T09:39:45
Python
UTF-8
Python
false
false
2,617
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
6d29c3ea7b9ad0d135d444d81d34f3035c44a725
f9d564f1aa83eca45872dab7fbaa26dd48210d08
/huaweicloud-sdk-drs/huaweicloudsdkdrs/v5/model/cloud_vpc_info.py
fe8771b44358314ee19f1d2be9fcc5b5edab143e
[ "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
6,950
py
# coding: utf-8 import six from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class CloudVpcInfo: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is attribute name ...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
52cb29e9a1839ab9795cee5589a2043ec6281f7f
ab5634154a80272c051701597d4d8694ffdf367e
/parse_iperf.py
b71b56c1118a6384cfc3b604c7c8b8de56d03be3
[]
no_license
WiperHung/CN-HW1
19ebf76767e480bc0593c559d2e7a55a4e1df604
6fe990a725f4c691ebefef58c7d5ca109057892d
refs/heads/main
2023-01-07T16:53:54.759976
2020-11-01T12:24:48
2020-11-01T12:24:48
309,062,168
0
0
null
null
null
null
UTF-8
Python
false
false
1,004
py
#!/usr/bin/python # Parse the iperf.txt files and generate new files that can be used for plotting # throughput vs time from argparse import ArgumentParser import sys import os parser = ArgumentParser(description="iperfParser") parser.add_argument('--n', type=int, help="Number...
[ "=" ]
=
6f394e0be9cc0906075814aae0d91b66285baf6c
37b30edf9f643225fdf697b11fd70f3531842d5f
/chrome/browser/ash/DEPS
0d81be3a8ee2bc6201ddbef230e6374ba0959fd3
[ "BSD-3-Clause" ]
permissive
pauladams8/chromium
448a531f6db6015cd1f48e7d8bfcc4ec5243b775
bc6d983842a7798f4508ae5fb17627d1ecd5f684
refs/heads/main
2023-08-05T11:01:20.812453
2021-09-17T16:13:54
2021-09-17T16:13:54
407,628,666
1
0
BSD-3-Clause
2021-09-17T17:35:31
2021-09-17T17:35:30
null
UTF-8
Python
false
false
2,036
include_rules = [ # //chrome/browser/ash is conceptually part of "ash". See the "Lacros: # ChromeOS source code directory migration" design doc at # https://docs.google.com/document/d/1g-98HpzA8XcoGBWUv1gQNr4rbnD5yfvbtYZyPDDbkaE "+ash", "+chrome/browser/image_decoder", # TODO(ananta): Remove this when we m...
[ "chromium-scoped@luci-project-accounts.iam.gserviceaccount.com" ]
chromium-scoped@luci-project-accounts.iam.gserviceaccount.com
d6e40d4131a3a4c0cb562486feb1ce61eda97c54
6cd3355ee8286f810cd5df28baa62e5cacfd1a75
/Advent of Code 2022/Day 1 2022/Day1Q1 2022.py
65bafe7968e4987d44d26ffd17e5f7f44862bba1
[]
no_license
Brian-Mascitello/Advent-of-Code
8d8290ff8dde236a5e21e33b1a1eba05a9c8f269
f32566fc7b30d5b83c21e8f38b50f0b37bc11135
refs/heads/master
2022-12-17T17:15:26.993538
2022-12-06T05:43:37
2022-12-06T05:43:37
112,885,121
0
0
null
null
null
null
UTF-8
Python
false
false
1,029
py
""" Author: Brian Mascitello Date: 12/2/2022 Websites: https://adventofcode.com/2022/day/1 Info: --- Day 1: Calorie Counting --- """ def get_data(input_text): with open(input_text) as file: data_from_file = file.read() return data_from_file def main(): data = get_data('Day1Q1 2...
[ "bmascitello@gmail.com" ]
bmascitello@gmail.com
fbd78eba6586daa821c801b32bf9a6b63338a9f9
1e1cb0103d4dd15bc462962047d00f6d1349e0c5
/boss/pages/test_page/base_page.py
cc887b80426d6b9811ab7d4f41a05c4303655065
[]
no_license
fangmeng1991/BossCode
9b93ae4ceaf050d4f081a2863aacb52114fafabb
7cef7f8b3aa9d97f30a4d3cdadadfd23d8d52795
refs/heads/master
2020-07-23T03:58:51.259561
2019-09-11T01:18:20
2019-09-11T01:18:20
207,439,253
0
0
null
2019-09-11T01:18:21
2019-09-10T01:34:54
Python
UTF-8
Python
false
false
5,756
py
# coding=utf-8 import time from selenium.common.exceptions import NoSuchElementException import os.path from common.logger import Logger # create a logger instance logger = Logger(logger="BasePage").getlog() class BasePage(object): """ 定义一个页面基类,让所有页面都继承这个类,封装一些常用的页面操作方法到这个类 """ def __init__(self, dr...
[ "123@qq.com" ]
123@qq.com
f2d0097a4cdaa88deee9b0d582ac0bdba358b426
e1950865f000adc926f228d84131e20b244b48f6
/python/Array/Grid.py
5fd43c30ed681fb3091576a860777c929f97caf1
[]
no_license
manastole03/Programming-practice
c73859b13392a6a1036f557fa975225672fb1e91
2889dc94068b8d778f6b0cf516982d7104fa2318
refs/heads/master
2022-12-06T07:48:47.237014
2020-08-29T18:22:59
2020-08-29T18:22:59
281,708,273
3
1
null
null
null
null
UTF-8
Python
false
false
157
py
w=int(input('Enter width of grid: ')) h=int(input('Enter heightof grid: ')) for i in range(h): for j in range(w): print('-',end=' ') print()
[ "noreply@github.com" ]
manastole03.noreply@github.com
8a3ae94a5be0277d4287ad3cf4c4378be3250295
c39566ee9b2e9825f8b9cca5d04a97ee123ab0d4
/src/search/urls.py
21fb622c1b35bfd9cd9195f671ddc540b0150072
[]
no_license
bekbossyn/ecommerce_old
58a3c0fd4ecea139272baa39f6bbe57fa46751f6
2da1ed7e231d932a5a894183ded79eee6ce65497
refs/heads/master
2021-09-07T16:44:25.320360
2018-02-26T07:51:07
2018-02-26T07:51:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
156
py
from django.conf.urls import url from .views import ( SearchProductView ) urlpatterns = [ url(r'^$', SearchProductView.as_view(), name="list"), ]
[ "bekbossyn.kassymkhan@gmail.com" ]
bekbossyn.kassymkhan@gmail.com
47733d507b71fe40aba19be739e9709a96d240c8
99e44f844d78de330391f2b17bbf2e293bf24b1b
/pytorch/test/test_c10d_spawn.py
8004ed4d2206cd6e7530dfcc840d4efbbdf9f5df
[ "MIT", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "Apache-2.0", "BSD-2-Clause" ]
permissive
raghavnauhria/whatmt
be10d57bcd6134dd5714d0c4058abd56a1b35a13
c20483a437c82936cb0fb8080925e37b9c4bba87
refs/heads/master
2022-12-04T05:39:24.601698
2019-07-22T09:43:30
2019-07-22T09:43:30
193,026,689
0
1
MIT
2022-11-28T17:50:19
2019-06-21T03:48:20
C++
UTF-8
Python
false
false
7,670
py
import sys import tempfile import unittest import torch import torch.distributed as c10d import torch.multiprocessing as mp from common_cuda import TEST_MULTIGPU from common_utils import TestCase, load_tests, run_tests from common_utils import NO_MULTIPROCESSING_SPAWN # load_tests from common_utils is used to automa...
[ "rnauhria@gmail.com" ]
rnauhria@gmail.com
c441939749afe4e4ef03ce98b11f3db08171ecab
e393789a7b3e7cb50e3c6192843490b313004b51
/interpreter/BSL_Expr/Variable.py
589afb8d5d5da005c961709a99a6d7100c72597f
[]
no_license
migeed-z/Lisp_interpreter
5e9694279169a924c864c017ff65e59fa25c0242
5992627e1cff299c5f3ed14064e499b9296fbc5f
refs/heads/master
2021-01-19T03:39:15.280390
2016-07-27T17:40:58
2016-07-27T17:40:58
36,232,933
1
0
null
null
null
null
UTF-8
Python
false
false
1,030
py
import DirPaths from BSLExpr import BSLExpr from BSLError import BSLError from Global_Scope import foo class Variable(BSLExpr): """ To represent a class of Variables """ def __init__(self, name): """ :param name: String representing the name of the variable """ self.na...
[ "migeed.z@outlook.com" ]
migeed.z@outlook.com
d01a80ae4f6132dc1b95215bb5c4bd2e8dd5965d
2f4184af31121fd31b397d5b529b795774b30856
/backend/users/migrations/0002_auto_20200103_1043.py
afc8436f26bbd91b9e44b910a9d5eeb0c2462314
[]
no_license
crowdbotics-apps/mobileappdeploy-dev-1434
c0944b53808fbb02ff664a8f2bd012648fc9e352
5a9bcdda33a473174be7f0446e4109c1d8d2c383
refs/heads/master
2022-03-28T11:20:26.124765
2020-01-15T10:40:11
2020-01-15T10:40:11
231,558,280
0
0
null
null
null
null
UTF-8
Python
false
false
393
py
# Generated by Django 2.2.9 on 2020-01-03 10:43 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("users", "0001_initial"), ] operations = [ migrations.AlterField( model_name="user", name="name", field=m...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
cb78e9bfef4bda7c3de7f5f4cd7cb8b0170a5eac
bf5935cecf1b65461b1de9a67a013f0b03c3d1d0
/boutique/migrations/0050_wishlist_product.py
26d0cd8c9c65dd268439f466a6ceae86ac5b44bc
[]
no_license
meriemay/Shop
53287aab6382163e6069130c8e5304ed7ffd0e3b
f5d44193e030c4ef9b5cf27896754767beaee3ef
refs/heads/master
2021-01-18T17:50:49.688779
2017-08-29T14:34:34
2017-08-29T14:34:34
100,497,878
0
0
null
null
null
null
UTF-8
Python
false
false
490
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.3 on 2017-08-28 08:42 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('boutique', '0049_auto_20170825_1255'), ] operations = [ migrations.AddField...
[ "you@example.com" ]
you@example.com
1e40d32b4f8bdbc7f4d4153d6bba77e34b2f1ed3
dfe2a52a1c36a28a8bf85af7efd42380d980b773
/virtual/lib/python3.6/site-packages/django/contrib/contenttypes/fields.py
42e06aa119e88a4867ce051566cddcf7503040c8
[ "MIT" ]
permissive
virginiah894/Instagram-clone
2c2a15d89fcdb25b22bd60428cf84a01f3bd553c
4d8abe7bafefae06a0e462e6a47631c2f8a1d361
refs/heads/master
2022-12-10T06:56:21.105357
2020-01-07T14:14:50
2020-01-07T14:14:50
229,394,540
3
0
MIT
2022-12-08T03:23:40
2019-12-21T07:41:19
Python
UTF-8
Python
false
false
26,251
py
from collections import defaultdict from django.contrib.contenttypes.models import ContentType from django.core import checks from django.core.exceptions import FieldDoesNotExist, ObjectDoesNotExist from django.db import DEFAULT_DB_ALIAS, models, router, transaction from django.db.models import DO_NOTHING from django....
[ "virgyperry@gmail.com" ]
virgyperry@gmail.com
9f381d38ffe18786f175c6900088a7afe97ad4c0
eefb06b0d8c8c98c1e9cfc4c3852d5c453eb5429
/data/output/375_processed
681f703fc07d0c89061c242532b1892f7665f4f2
[]
no_license
bopopescu/pythonanalyzer
db839453bde13bf9157b76e54735f11c2262593a
8390a0139137574ab237b3ff5fe8ea61e8a0b76b
refs/heads/master
2022-11-22T02:13:52.949119
2019-05-07T18:42:52
2019-05-07T18:42:52
282,079,884
0
0
null
2020-07-23T23:46:09
2020-07-23T23:46:08
null
UTF-8
Python
false
false
958
#!/usr/bin/env python # Copyright (c) 2012 Google Inc. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """ Verifies that list xcode_settings are flattened before being exported to the environment. """ import TestGyp import sys if sys.platfo...
[ "rares.begu@gmail.com" ]
rares.begu@gmail.com
05d60c2656e98a7fcf8f29e8cc2fdaf391b8b3c8
24a13b07623ce41e57ea4df1fcce0befb14d3406
/model/densenet201/model34_val3.py
b5f3c8ab8fdd3b376f4e844f5fc00d552e6f292e
[ "MIT" ]
permissive
shorxp/jd-fashion
5f37e6c2235200944869e9a0da4d741c89d63b9e
817f693672f418745e3a4c89a0417a3165b08130
refs/heads/master
2021-09-22T18:40:13.030601
2018-09-13T13:50:05
2018-09-13T13:50:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,298
py
""" 以model1为原型,新增real crop """ import math import os import queue import time import keras from keras.layers import Dense, BatchNormalization, Activation import config from util import data_loader from util import keras_util from util.keras_util import KerasModelConfig model_config = KerasModelConfig(k_fold_file="1....
[ "13658247573@163.com" ]
13658247573@163.com
fb9de33dcb80016f6158f209087b5ae75fde255b
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/contrib/cv/detection/GFocalV2/mmdet/models/detectors/__init__.py
ed9cd584a6fe22550b3a4223bcf5df0888522c82
[ "GPL-1.0-or-later", "Apache-2.0", "BSD-2-Clause", "MIT", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Ascend/ModelZoo-PyTorch
4c89414b9e2582cef9926d4670108a090c839d2d
92acc188d3a0f634de58463b6676e70df83ef808
refs/heads/master
2023-07-19T12:40:00.512853
2023-07-17T02:48:18
2023-07-17T02:48:18
483,502,469
23
6
Apache-2.0
2022-10-15T09:29:12
2022-04-20T04:11:18
Python
UTF-8
Python
false
false
1,718
py
# Copyright 2021 Huawei Technologies Co., Ltd # # Licensed under the BSD 3-Clause License (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://opensource.org/licenses/BSD-3-Clause # # Unless required by applicable law or agreed to in ...
[ "wangjiangben@huawei.com" ]
wangjiangben@huawei.com
2e630d4a8372fcdc894eec1be1721f1cfc21972e
d3e6d6555b0314936902727af36de2f1b7432bf8
/subsets-ii/subsets-ii.py
333efee762db057e3ce4afb4fc9b0facc37e122e
[]
no_license
fly2rain/LeetCode
624b1e06e1aa3174dfb5c81834b58cc8fd7ad073
4ddb5a051c6e2051f016a675fd2f5d566c800c2a
refs/heads/master
2021-01-18T03:12:22.402044
2015-12-28T04:31:19
2015-12-28T04:31:19
85,842,050
0
1
null
2017-03-22T15:05:20
2017-03-22T15:05:19
null
UTF-8
Python
false
false
1,312
py
class Solution(object): def subsetsWithDup(self, nums): """ :type nums: List[int] :rtype: List[List[int]] """ if not nums: return [[]] def sort_counter(): d = {} for n in nums: d[n] = d.get(n, 0) + 1 ...
[ "xuzheng1111@gmail.com" ]
xuzheng1111@gmail.com
53f4d7f167a7e4f1ec37b499541df8bc66a49962
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_014/ch9_2020_03_02_19_38_03_083205.py
14b91cb4207b8842a88d632bf6a05132a10f8131
[]
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
125
py
def calcula_volume_da_esfera (R, π): v = 4/3 * (π * R**3) return v R = 2 π = 3,14 print (calcula_volume_da_esfera)
[ "you@example.com" ]
you@example.com
b801d42c1ee4294fcc6d73cda3b9f82fd3ad45e1
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/303/usersdata/278/72086/submittedfiles/testes.py
c60d08e3c84dcd4c77f3b9a3deb528914f847acd
[]
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
174
py
a = 30 b = 5 c = 10 if a<b: print"comando 1" else : if a<c: print"comando 2" else: if b<c: print"comando 3" print"pronto!"
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
a5765a7098151bdad915d3383c81270bd45cf115
f34dc191304f0c54527948aa7b7123fd6efe85b9
/connect.py
e0c1778b8defe4e2ecb40504dc48d2b47a36deae
[]
no_license
sujith1919/groza
b3fc4641de48423da9a219c33e390ea2c4915687
5b68e052266d5307a0058d7031b3b20c4a1b9bcb
refs/heads/master
2023-02-28T03:09:51.568592
2021-02-02T16:34:49
2021-02-02T16:34:49
335,353,163
0
0
null
null
null
null
UTF-8
Python
false
false
1,032
py
#!/usr/bin/python import psycopg2 from config import config def connect(): """ Connect to the PostgreSQL database server """ conn = None try: # read connection parameters params = config() # connect to the PostgreSQL server print('Connecting to the PostgreSQL database...'...
[ "jayarajan.sujith@oracle.com" ]
jayarajan.sujith@oracle.com
9f493953956592c94d7fa5dfb412e0a3d595dd40
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/rFK7WftrcrEu6rbu8_20.py
478746c1b355f82bace8cd65b2e14e906b2b1d3e
[]
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,736
py
""" Given a **Binary Search Tree** (BST) implementation, complete the traverse function which is present in the BST class. Here you have to perform the level-order traversal on BST which is another term for **Breadth First Traversal**. ### Examples traverse() ➞ [10, 4, 20, 1, 5] 10 / ...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
25d146cca323bb4a46251eff73137c8e26b8acdf
795c40a44498636d7462ceff7bec97244d05e6d9
/nappy/rdf.py
cc525eb741f4a1529cba8c58b55662cb2c527a2b
[ "MIT" ]
permissive
ryokbys/nap
cb663f6c1df7333c8d18d6403707628c56cc6ed2
4159fe0e8fe5a637110e0a0545210a540be8a13e
refs/heads/master
2023-06-10T05:23:10.671151
2023-05-07T06:00:28
2023-05-07T06:00:28
20,047,602
33
4
null
null
null
null
UTF-8
Python
false
false
25,424
py
#!/usr/bin/env python """ Calculate the radial distribution function (RDF) from files. It takes statistical averaging over atoms in a file and over files. Usage: {0:s} [options] INFILE [INFILE...] Options: -h, --help Show this help message and exit. -d DR Width of the bin. [default: 0.1] -r,--rmax RMAX...
[ "ryo.kbys@gmail.com" ]
ryo.kbys@gmail.com
59123f8e441542d1a5ab991404a47831d48ce76d
5ebb37aa988cbff11eb7d537298f5caec32bf79b
/docs/source/with_sidebar/conf.py
7230a34f5dd17848d3c6fe8fae9b85251e68dfda
[]
no_license
gabrielfalcao/sphinx-bulma-theme
07468b853d648d0c3fdf2df75f325e89c2d26d4f
90f04d0a964d1d35b17ea3efc6e00d1692a8d96b
refs/heads/master
2020-03-13T13:52:02.093165
2018-04-30T04:55:58
2018-04-30T04:55:58
131,147,099
6
0
null
2019-12-20T17:50:05
2018-04-26T11:41:16
CSS
UTF-8
Python
false
false
5,075
py
# -*- coding: utf-8 -*- import sys try: from pathlib2 import Path except ImportError: from pathlib import Path project_path = Path(__file__).absolute().parent.joinpath('../../..') sys.path.insert(0, project_path.as_posix()) import sphinx_bulma_theme # noqa project = 'Sphinx Bulma Theme' copyright = '2018,...
[ "gabriel@nacaolivre.org" ]
gabriel@nacaolivre.org
7d2e9e462d909fa1e72fc960b036bbe98ba5cdca
42a9a9ae2951a32bf181afd9edbcf7e6716dbcc8
/server.py
e5cfec6b6537ca36b0b484d62fdbdf47f7709e23
[]
no_license
mariiagracheva/flask
0608eee43e9ded1296e25862ea38494e438ba4fe
aa02b37f5c1619f732e6d21d8995553bed2ffd44
refs/heads/master
2021-01-11T17:22:47.997442
2017-01-23T04:14:57
2017-01-23T04:14:57
79,769,616
0
0
null
null
null
null
UTF-8
Python
false
false
1,654
py
from flask import Flask, request, render_template, flash, redirect from flask_debugtoolbar import DebugToolbarExtension import jinja2 import locale app = Flask(__name__) # Required to use Flask sessions and the debug toolbar app.secret_key = "ABC" JOBS = ['', 'Software Engineer', 'QA Engineer', 'Product Manager'] ...
[ "vagrant@vagrant.vm" ]
vagrant@vagrant.vm
3443fafba6cbda0baf4361654caae167bcb39623
92137962a84e724df31b63367854349a875f1c43
/tapis_cli/commands/taccapis/v2/files/formatters.py
4655b555819846a123c2173baea50413542a73f3
[ "BSD-3-Clause" ]
permissive
TACC-Cloud/tapis-cli
e3a26e79a20d1ada4cb2dc9ef204cae3e385bfe7
d34e8635d3dbacc8276cf52b6bae04caacd655de
refs/heads/main
2023-04-08T14:47:27.707885
2022-02-13T17:43:26
2022-02-13T17:43:26
203,083,094
11
3
BSD-3-Clause
2022-04-01T20:23:23
2019-08-19T02:21:28
Python
UTF-8
Python
false
false
1,439
py
"""Formatters customized for system records and listings """ from tapis_cli.commands.taccapis.formatters import (TaccApisCommandBase, TaccApisFormatOne, TaccApisFormatMany) from tapis_cli.clients.services.mixins impo...
[ "vaughn@tacc.utexas.edu" ]
vaughn@tacc.utexas.edu
e53ecec904462ec1004ff50bab6c0f5e0314dfe2
a140fe192fd643ce556fa34bf2f84ddbdb97f091
/.history/quiz08_20200709143734.py
a40bb14de63318c006975bfed6d4709c4dd80323
[]
no_license
sangha0719/py-practice
826f13cb422ef43992a69f822b9f04c2cb6d4815
6d71ce64bf91cc3bccee81378577d84ba9d9c121
refs/heads/master
2023-03-13T04:40:55.883279
2021-02-25T12:02:04
2021-02-25T12:02:04
342,230,484
0
0
null
null
null
null
UTF-8
Python
false
false
1,124
py
# Quiz) 주어진 코드를 활용하여 부동산 프로그램을 작성하시오. # (출력 예제) # 총 3대의 매물이 있습니다. # 강남 아파트 매매 10억 2010년 # 마포 오피스텔 전세 5억 2007년 # 송파 빌라 월세 500/50 2000년 # [코드] class House: # 매물 초기화 def __init__(self, location, house_type, deal_type, price, completion_year): self.location = location self.house_type = house_typ...
[ "sangha0719@gmail.com" ]
sangha0719@gmail.com
bb2663ce1944d79d1b3a417b9622565af2486c22
d458c71e75274914ace770e0a0d21af9d4e8f450
/config/urls.py
1a0dba76a81e5dd607ceea614e662ad62ad9dc76
[ "MIT" ]
permissive
robertatakenaka/greetings
c5464e1d3802454c9c62a029340f51363a720f43
e0537ddb8a942c985a15bbf9a30ef1c49d93a757
refs/heads/master
2021-08-11T13:06:12.963439
2017-11-01T11:15:52
2017-11-01T11:15:52
109,040,213
0
0
null
2017-11-01T11:15:53
2017-10-31T19:00:33
Python
UTF-8
Python
false
false
1,549
py
from django.conf import settings from django.conf.urls import include, url from django.conf.urls.static import static from django.contrib import admin from django.views.generic import TemplateView from django.views import defaults as default_views urlpatterns = [ url(r'^$', TemplateView.as_view(template_name='page...
[ "roberta.takenaka@scielo.org" ]
roberta.takenaka@scielo.org
baf719f820c2c4aaa3822e20f63646d0cbdc1bfa
5ba903c7907124c287e46019df0d30533f270a8c
/detector_caffe/detect.py
b861f3ba14f8534b076322d94573179e58869512
[]
no_license
Jeffin-Studios/tracker
2e9295651fec020489a9e55b9f2da5971754870b
98daeaddecc6a82cfa851d6841a355d40026b02d
refs/heads/master
2020-03-28T22:09:29.819043
2018-09-18T01:14:54
2018-09-18T01:14:54
149,209,024
1
1
null
null
null
null
UTF-8
Python
false
false
3,474
py
# Uses opencv DNN module (only works with caffe and toch models, not tensorflow yet) # usage: python detect1.py --prototxt MobileNetSSD_deploy.prototxt.txt --model MobileNetSSD_deploy.caffemodel # import the necessary packages from imutils.video import VideoStream from imutils.video import FPS import numpy as np impor...
[ "richardbao419@gmail.com" ]
richardbao419@gmail.com
e799f2913c67398be21fad9121cfa8058a2b5525
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_168/101.py
7a20f29104dbb68ecb80573705f74c0418c596af
[]
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
2,307
py
DIRECTIONS = { '^': (-1, 0), '>': (0, 1), '<': (0, -1), 'v': (1, 0) } def print_map(grid): for row in grid: print ''.join(row) def get_arrows(grid, row, col): if grid[row][col] == '.': return None seen = set() arrows = [] while 0 <= row < len(grid) and 0 <= col < le...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
713de2ef75b55a1d9819d4043f76d345658aeb8f
f889bc01147869459c0a516382e7b95221295a7b
/swagger_client/models/body_124.py
bcbd3e061f3cd63f829a301297edc59e8275681b
[]
no_license
wildatheart/magento2-api-client
249a86f5c0289743f8df5b0324ccabd76f326512
e6a707f85b37c6c3e4ef3ff78507a7deb8f71427
refs/heads/master
2021-07-14T16:01:17.644472
2017-10-18T13:33:08
2017-10-18T13:33:08
107,412,121
1
1
null
null
null
null
UTF-8
Python
false
false
3,018
py
# coding: utf-8 """ Magento Community No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from pprint import pformat from six import iteritems import...
[ "sander@wildatheart.eu" ]
sander@wildatheart.eu
cae2e93d4f1c4ad91584500d90a9c52a83bf4e10
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/nnagricultur.py
c0b1980cf1368dc0f24e5b11ec4cdc40d59cb041
[]
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
1,733
py
ii = [('EmerRN.py', 2), ('CookGHP3.py', 4), ('LyelCPG2.py', 4), ('MarrFDI.py', 1), ('RogePAV2.py', 2), ('CoolWHM2.py', 2), ('GodwWSL2.py', 3), ('ChanWS.py', 1), ('SadlMLP.py', 64), ('WilbRLW.py', 1), ('WilbRLW4.py', 5), ('RennJIT.py', 3), ('AubePRP2.py', 3), ('MartHSI2.py', 72), ('LeakWTI2.py', 1), ('WilkJMC3.py', 6), ...
[ "varunwachaspati@gmail.com" ]
varunwachaspati@gmail.com
267f0e68ab5b078ea706bdaf249440c2397dcdc5
f0a4ba1f1f941092e68e4b1ef9cff0d3852199ef
/Do_it!/6.정렬 알고리즘/1.버블정렬/교환과정출력.py
31042799e3d6bd884b811ed00421b53226ffdbd8
[]
no_license
lsb530/Algorithm-Python
d41ddd3ca7675f6a69d322a4646d75801f0022b2
a48c6df50567c9943b5d7218f874a5c0a85fcc6d
refs/heads/master
2023-06-18T04:36:09.221769
2021-06-28T16:49:35
2021-06-28T16:49:35
367,775,760
0
0
null
null
null
null
UTF-8
Python
false
false
1,458
py
# 버블 정렬 알고리즘 구현(정렬 과정을 출력) """비교하는 두 원소 사이에 교환할 경우 +를, 교환하지 않을 경우 -를 출력합니다.""" from typing import MutableSequence def bubble_sort_verbose(a: MutableSequence) -> None: """버블 정렬(정렬 과정을 출력)""" ccnt = 0 # 비교 횟수 scnt = 0 # 교환 횟수 n = len(a) for i in range(n - 1): print(f'패스 {i + 1}') f...
[ "lsb530@naver.com" ]
lsb530@naver.com
84a9a4d1098814f15e297fd445f8f8ab8b0c8e2c
ef7c458371a2293dc438efc088312d0cf4eb56e8
/misc/steve hack day/d3.py
c3a80c444efb8350acf3c2ca011cef3ff6255618
[]
no_license
agvania/Sefaria-Data
efd5c7ea4c07fb1967ab415e7ffe7094bed7486b
4ae83072d915f42fef891ef9e442ce21fe089b64
refs/heads/master
2021-01-15T16:11:13.666382
2016-06-23T00:45:05
2016-06-23T00:45:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,439
py
# -*- coding: utf-8 -*- __author__ = 'stevenkaplan' import urllib import urllib2 from urllib2 import URLError, HTTPError import json import pdb import os import sys import re import csv p = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) sys.path.insert(0, p) sys.path.insert(0, '../Match/')...
[ "skaplan@brandeis.edu" ]
skaplan@brandeis.edu
10620def303fa66435ffdd9215daf5bb3d45a01c
4b379051aa3430eb2d8931f6055772731dcb199d
/512-Python_основы_и_применение/24468/stepik-512_24468-step3.py
deb1564bfd57d4325f1ccf6ff748ead36988e5cf
[]
no_license
dmikos/stepikCourse
1416614ef51a4352374f37e86e3211c3b42cbaf6
3faeabfdc56cac597fb6b1495e7bb38a7f2a6816
refs/heads/master
2021-01-12T17:06:37.720050
2016-11-21T14:37:20
2016-11-21T14:37:20
69,057,420
0
0
null
null
null
null
UTF-8
Python
false
false
144
py
x = [ ("Guido", "van", "Rossum"), ("Haskell", "Curry"), ("John", "Backus") ] x.sort(key=lambda name: len(" ".join(name))) print(x)
[ "dkostinov@gmail.com" ]
dkostinov@gmail.com
570bca61bcb134fafb423856198d3af8acfd0527
a1f2df675cfc595b15f1ca9390b7517989f2d4e0
/testCase/organizations/testUpdateOrganization.py
046acc5a93ef195d917a8110bb48969b3853b4b2
[]
no_license
GGGYB/crm
d4def2f1abc89451e1c4b11b89ef100a842ed745
61932466dd0ac299adc661383d506389d5f0f8e7
refs/heads/master
2022-04-15T21:29:48.539311
2020-04-14T10:23:41
2020-04-14T10:23:41
255,575,666
0
0
null
null
null
null
UTF-8
Python
false
false
2,783
py
from bs4 import BeautifulSoup import json import requests import random import datetime import re import copy from decimal import Decimal as D from commons import common from commons.const import const class UpdateOrganization: def __init__(self, cookie, csrf): self.common = common.Common(cookie, csrf) ...
[ "nlnongling@163.com" ]
nlnongling@163.com
70cd969e64eb3781764a99c34ea91ea7f1ff765c
e23a4f57ce5474d468258e5e63b9e23fb6011188
/105_network/_exercises/templates/Python Network Programming/Section 4 Python 3 Network Hacking/25. Build an SMTP Server Username Enumerator.py
83e1773403b7d8eecf7fc35c8393a9feb0953587
[]
no_license
syurskyi/Python_Topics
52851ecce000cb751a3b986408efe32f0b4c0835
be331826b490b73f0a176e6abed86ef68ff2dd2b
refs/heads/master
2023-06-08T19:29:16.214395
2023-05-29T17:09:11
2023-05-29T17:09:11
220,583,118
3
2
null
2023-02-16T03:08:10
2019-11-09T02:58:47
Python
UTF-8
Python
false
false
2,144
py
# ______ so.., ___, a_p_ # ____ d_t_ ______ d_t_ # # # ___ scan ip users # ___ # s _ ?.? ?.A.. ?.S.. # s.c.. ip 25 # rsp _ s.r.. 1024 # s.s.. _"HELO friend\n") # rsp _ s.r.. 1024 # __ _"250" no. __ ? # print("[!] Something went wrong, exiting.") # ...
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
77a65bd2b0809b86da8ca73174e6de833fe41f84
ac5e52a3fc52dde58d208746cddabef2e378119e
/exps-mrsp.0/mrsp_ut=3.5_rd=0.5_rw=0.04_rn=4_u=0.075-0.325_p=harmonic-2/sched=RUN_trial=88/sched.py
260c6e748e206e0e7bc567fd6fd3308a1768c01f
[]
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
355
py
-S 0 -X RUN -Q 0 -L 2 111 400 -S 0 -X RUN -Q 0 -L 2 61 200 -S 3 -X RUN -Q 1 -L 1 59 175 -S 3 -X RUN -Q 1 -L 1 49 200 -S 2 -X RUN -Q 2 -L 1 47 150 -S 2 -X RUN -Q 2 -L 1 41 175 -S 1 -X RUN -Q 3 -L 1 39 125 -S 1 -X RUN -Q 3 -L 1 38 125 -S 4 35 125 -S 4 32 125 -S 4 31 200 -S 4 29 200 -S ...
[ "ricardo.btxr@gmail.com" ]
ricardo.btxr@gmail.com
656fa1aa409f51a7b609208dc999e0ec2acb948f
4229a406a83a573dc357c1144cae7c5aad6f673b
/trestle/transforms/implementations/osco.py
7c64e73849e8aa13bfab384882cbd1647df6a632
[ "Apache-2.0" ]
permissive
xee5ch/compliance-trestle
dbc0647fe18e1164a75bcfdc4d38687df14e3247
969c10eceb73202d2b7856bac598f9b11afc696e
refs/heads/main
2023-09-02T17:21:35.659432
2021-11-17T00:01:27
2021-11-17T00:01:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,680
py
# -*- mode:python; coding:utf-8 -*- # Copyright (c) 2021 IBM Corp. 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 # # https://www.apache.org/licenses/LICENSE-2.0 # #...
[ "noreply@github.com" ]
xee5ch.noreply@github.com
2458bd10820179534d5d1799a8f740ad985c965e
e55aacec5de90c52b9cb30742924bfffc584027d
/Implementation/Sock_Merchant.py
4ce479a4de0eb4afa84ca17c6cf885526d745464
[]
no_license
JonathanWu1120/Hackerrank_Algorithms
5016a66d516c7a63033aee7f8c2aaa396b7ecdd6
b53abe5e678a5ac11485068340df2c2a122370f4
refs/heads/master
2021-01-19T06:22:50.009873
2017-04-06T19:22:21
2017-04-06T19:22:21
87,459,298
0
0
null
null
null
null
UTF-8
Python
false
false
284
py
#!/bin/python3 import sys n = int(input().strip()) c = [int(c_temp) for c_temp in input().strip().split(' ')] d = set(c) count = 0 for i in range(len(d)): x = d.pop() while c.count(x) >= 2: for i in range(2): c.remove(x) count += 1 print(count)
[ "jwu166@binghamton.edu" ]
jwu166@binghamton.edu
258895ade985a2bbe61e97b2d592fb53965ddf4f
143e8939ac1033912195eb7e6b99f9d06ec908da
/dash/views.py
fd180cab200fdcca4ee3c06fd206eccd18f67823
[ "BSD-3-Clause" ]
permissive
gvsurenderreddy/routerdash
63a4c011ede20005f465cb2e9fcd1411c82d0aeb
321030438008d317d46432e777191dfd4ad1c3d6
refs/heads/master
2021-01-18T09:21:26.250338
2014-01-03T18:05:40
2014-01-03T18:05:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,093
py
import json from django.shortcuts import render from django.http import HttpResponse from django.conf import settings from .calculations import get_speeds, get_devices def json_response(data): return HttpResponse(json.dumps(data), content_type="application/json") def human_speed(raw_speed): return "..." if ...
[ "andrew@aeracode.org" ]
andrew@aeracode.org
b8ce5561d98ed3ece5cdb19ca80579b5e232d69b
baffcef29e33658138c43ef358d7399ab3ea2c0d
/WORKFLOWS/Tools/NEC/NAL/nal-dashboard/nec_portal/dashboards/project/service/urls.py
1b37e4e206fb65118cf9ebe5adc24feaf15b3061
[ "Apache-2.0" ]
permissive
openmsa/NO
aa7d4ff000875bfcff0baee24555ec16becdb64e
24df42ee3927415b552b5e5d7326eecd04ebca61
refs/heads/master
2020-03-09T23:21:09.657439
2019-03-29T06:29:07
2019-03-29T06:29:07
129,056,267
0
1
null
null
null
null
UTF-8
Python
false
false
1,110
py
# 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, software # distribut...
[ "ofa@ubiqube.com" ]
ofa@ubiqube.com
5dc8894ebdb159580f4ba7c27c73bc5fd01c9294
14956dbed8ae4fba1d65b9829d9405fcf43ac698
/Cyber Security/Capture the Flag Competitions/2020/Houseplant CTF 2020/Reversing/LEMON/pass2.py
844c42e58d01e8397b7e1d91e91d5e8f21a17e00
[]
no_license
Hackin7/Programming-Crappy-Solutions
ae8bbddad92a48cf70976cec91bf66234c9b4d39
ffa3b3c26a6a06446cc49c8ac4f35b6d30b1ee0f
refs/heads/master
2023-03-21T01:21:00.764957
2022-12-28T14:22:33
2022-12-28T14:22:33
201,292,128
12
7
null
2023-03-05T16:05:34
2019-08-08T16:00:21
Roff
UTF-8
Python
false
false
2,040
py
def checkpass(): userinput = input("Enter the password: ") if userinput[0:4] == "rtcp": if userinput[10:13] == "tHi": if userinput[22:25] == "cuR": if userinput[4:7] == "{y3": if userinput[16:19] == "1nT": if userinput[7:10] == "...
[ "zunmun@gmail.com" ]
zunmun@gmail.com
2e2d9059217f681eb729dbc014c5415f834c556b
47e86e60f6239e0f8bf42aeecd8c8a0e8ac50578
/izi_pos_report_birt/models/rpt_pos_revenue_customer_by_product_and_service_group.py
f9e4ff29a753dbf245b53fd939eba7cc996ab0ac
[]
no_license
HoangDinhHoi/DATN
0a8d12c031253c7fe21321c4cf493ead3f71ca56
09157d6c79a779a701fc01727db8dcd04323dc1d
refs/heads/master
2020-09-14T02:28:29.528907
2020-01-14T07:55:17
2020-01-14T07:55:17
222,985,616
1
1
null
null
null
null
UTF-8
Python
false
false
1,956
py
# -*- coding: utf-8 -*- __author__ = "HoiHD" from odoo import models, fields, api from odoo.exceptions import ValidationError import odoo.tools.config as config class ReportRevenueCustomerAccordingToProductAndServiceGroup(models.TransientModel): _name = 'rpt.revenue.customer.product.service.group' _descripti...
[ "hoanghoihust@gmail.com" ]
hoanghoihust@gmail.com
4c76b68a37d3fb42da48112d9d0d6e4f7407f257
fdf531435b0a4d771083bab78f5a2f91b2ec1b28
/Trees/Trees III (BST)/5. K DISTANCE.py
aab590fa8927baedd0c1519b90987bb627ad68fc
[]
no_license
srajsonu/100DaysOfCode
d556cf4c8491d2bea2bf6c17cc4410f64ae71829
b25ff694a04a16bd2bdd33cf5bb84f9cbe5f3af6
refs/heads/main
2023-03-22T22:48:11.030576
2021-03-18T18:50:00
2021-03-18T18:50:00
325,747,085
0
0
null
null
null
null
UTF-8
Python
false
false
407
py
class Solution: def lcs(self, root, B, aux): if not root: return 0 l = self.lcs(root.left, B, aux + [root.val]) r = self.lcs(root.right, B, aux + [root.val]) cnt = 0 for i in aux: if abs(i - root.val) <= B: cnt += 1 cnt += (l...
[ "srajsonu02@gmail.com" ]
srajsonu02@gmail.com
156ad1f2936e53c9ed0efabc77d0de0a24482fe4
3b93f91703a36f8ec8fd1767e719f3e3523ab6f1
/MyNao/demo_0526.py/online_beat_extract.py
1d4ac37dd69496ebb86a00f1d64d6c4cef3a7f9e
[]
no_license
SutirthaChakraborty/Real-Time-Music-Driven-Dancing-Robot
66655b1ed1d000499096295587c9c902a636b688
98ab75e8ab199a56f1e80854a891fcf4425dd042
refs/heads/master
2023-02-13T01:57:56.185295
2021-01-04T19:12:33
2021-01-04T19:12:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,346
py
import numpy as np import os import time from madmom.features.beats import DBNBeatTrackingProcessor, RNNBeatProcessor from madmom.models import BEATS_LSTM from madmom.processors import IOProcessor, process_online from madmom.io import write_beats def beat_extractor(queue_beat): kwargs = dict( fps = 100, co...
[ "zhaojw1998@outlook.com" ]
zhaojw1998@outlook.com
39297cd1c0e6a9b2bb905e03f0217212d334a1ae
7e76a72a67596ca230f83b4654615734f8d93414
/kreddit/mainapp/migrations/0003_auto_20160324_1930.py
564cc0ecc22e099763b9eb4fa1d560b3d6fe60af
[]
no_license
kjmullen/reddit-remake
dc6d7893034769664bea63f84437c9c02a4e95a5
e49314d29f752fdb48406c03ed992446415fd3ce
refs/heads/master
2020-12-28T17:30:08.117132
2016-03-31T05:19:03
2016-03-31T05:19:03
54,669,553
0
0
null
2016-03-24T19:43:38
2016-03-24T19:43:38
null
UTF-8
Python
false
false
430
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.4 on 2016-03-25 02:30 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('mainapp', '0002_post_url'), ] operations = [ migrations.AlterField( ...
[ "kevinkozzik@gmail.com" ]
kevinkozzik@gmail.com
adcb16ed9299cb9b835cd7ecd2e76c1ef88cbb49
a9c0daa4a7b9a4d7341afcab270c5b5debb8c13f
/env/lib/python3.6/site-packages/ebcli/__init__.py
bc9e527698d03b59bda58a57cc898f4e3a39d984
[]
no_license
phamcong/alienator-plf
bad8c4e003fd189c43243b31ef2b975b6f154754
ea65628af66fbca51f2248ceb4ba93f858dbddce
refs/heads/master
2022-11-26T01:28:38.286261
2017-11-07T15:12:08
2017-11-07T15:12:08
109,412,097
0
1
null
2020-07-25T23:43:17
2017-11-03T15:30:22
JavaScript
UTF-8
Python
false
false
615
py
#!/usr/bin/env python # Copyright 2012-2013 Amazon.com, Inc. or its affiliates. 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. A copy of # the License is located at # # http://aws.amazon.com/apache2.0/ # # ...
[ "ccuong.ph@gmail.com" ]
ccuong.ph@gmail.com
b605521381459e6001f9c7ffc3296f38b9f52f25
e6dab5aa1754ff13755a1f74a28a201681ab7e1c
/.parts/lib/django-1.5/tests/regressiontests/admin_changelist/models.py
701939d82a7195f395c9757908cea7cccb537313
[]
no_license
ronkagan/Euler_1
67679203a9510147320f7c6513eefd391630703e
022633cc298475c4f3fd0c6e2bde4f4728713995
refs/heads/master
2021-01-06T20:45:52.901025
2014-09-06T22:34:16
2014-09-06T22:34:16
23,744,842
0
1
null
null
null
null
UTF-8
Python
false
false
114
py
/home/action/.parts/packages/googleappengine/1.9.4/lib/django-1.5/tests/regressiontests/admin_changelist/models.py
[ "ron.y.kagan@gmail.com" ]
ron.y.kagan@gmail.com
ab00aee802d3683a271cb6fc3e219e1ab5e30668
ab3e72ca2d146055f2966cecd03e077c84b318e3
/mlcomp/worker/sync.py
9f2e14cce4761faa66e31012d99e8074b59ba62c
[ "Apache-2.0" ]
permissive
megachester/mlcomp
69ec01b0fbf55489b860a64c0fde19e39a8d45b4
8d30ba0a52e225144533e68295b71acb49e3c68a
refs/heads/master
2021-02-18T03:58:17.820726
2020-03-05T08:28:19
2020-03-05T08:28:19
245,157,392
0
0
Apache-2.0
2020-03-05T12:27:58
2020-03-05T12:27:58
null
UTF-8
Python
false
false
6,265
py
import os import socket import time import traceback import subprocess from os.path import join from typing import List from mlcomp import FILE_SYNC_INTERVAL from mlcomp.db.core import Session from mlcomp.db.enums import ComponentType from mlcomp.db.models import Computer, TaskSynced from mlcomp.db.providers import Co...
[ "lightsanweb@yandex.ru" ]
lightsanweb@yandex.ru
2c6136ca3eed03141ace8fce8413f3ad06aafd6b
2aec9c5e8c72b731d3abf22f2a407fe09c1cde09
/ZhihuTopicRedis/ZhihuTopicRedis/items.py
fb602cdbc16750b70dda7c86a8886b6a5e3cd084
[]
no_license
jiangyg/ZWFproject
8b24cc34970ae0a9c2a2b0039dc527c83a5862b5
aa35bc59566d92721f23d2dd00b0febd268ac2dd
refs/heads/master
2020-09-26T17:01:00.229380
2019-11-15T13:16:21
2019-11-15T13:16:21
226,297,631
0
1
null
2019-12-06T09:55:37
2019-12-06T09:55:36
null
UTF-8
Python
false
false
705
py
# -*- coding: utf-8 -*- # Define here the models for your scraped items # # See documentation in: # https://doc.scrapy.org/en/latest/topics/items.html import scrapy class ZhihutopicItem(scrapy.Item): # 需要查询的关键字 kw = scrapy.Field() # 标题(话题的标题) title = scrapy.Field() # 话题logo avatar_url = scra...
[ "34021500@qq.com" ]
34021500@qq.com
1ee252bb5e4033586bb5ff466c8fb70e388f411a
a3cc7286d4a319cb76f3a44a593c4a18e5ddc104
/lib/googlecloudsdk/third_party/appengine/proto/ProtocolBuffer.py
7ac4d7897917425de96ae8fe8ff352d7d4a476a6
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
jordanistan/Google-Cloud-SDK
f2c6bb7abc2f33b9dfaec5de792aa1be91154099
42b9d7914c36a30d1e4b84ae2925df7edeca9962
refs/heads/master
2023-09-01T01:24:53.495537
2023-08-22T01:12:23
2023-08-22T01:12:23
127,072,491
0
1
NOASSERTION
2023-08-22T01:12:24
2018-03-28T02:31:19
Python
UTF-8
Python
false
false
40,045
py
# Copyright 2016 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
[ "jordan.robison@gmail.com" ]
jordan.robison@gmail.com
7588cf29b7c6192559f88f22f8cdbfc8c949a6e1
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_035/ch60_2020_04_27_20_18_54_214980.py
97e2bc41ce7240c34dd8c65e762505a340707549
[]
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
223
py
def eh_palindromo(string): contador = True e = 0 while contador: if string[e]==len(string)-e: contador = True e =+ 1 else: contador = False return contador
[ "you@example.com" ]
you@example.com
567ec3b3318af7a4312913b815332dea5f0b7607
770f6e034a5482d4999b00b182e616f84d95ffdf
/testing/cross_language/json_test.py
73554eb235f32a0d0092484a2ccf85f03f5de77e
[ "Apache-2.0" ]
permissive
ptylll/tink
f2f274bcb8b6d8449e25ef975e60bff8945d3406
eafd9283b1d1da1dfc08c5297c101cd4b2d530c5
refs/heads/master
2022-11-27T14:55:51.381202
2020-08-03T14:39:04
2020-08-03T14:39:37
284,962,074
1
0
Apache-2.0
2020-08-04T11:41:22
2020-08-04T11:41:21
null
UTF-8
Python
false
false
3,559
py
# 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, software # distributed under t...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
33e78c202f9b437a7c135e49ee2046362470f244
32a4c816b70964a0aa1f0370b51e57c93ad0b7be
/finance/helpers/transfers.py
563db7d32b2043bbe5d1b1e30317224f1c32efb2
[]
no_license
mithro/timsfinance
0cba66a9c60b3b7d35e45e2d0304fc2221306951
fd65bdd77d28ba203bf741f72bb6e102fe3cc8e5
refs/heads/importer-rewrite
2020-12-24T17:08:54.281576
2013-07-19T08:18:02
2013-07-19T08:18:02
2,638,754
1
1
null
2013-07-09T05:08:10
2011-10-24T19:53:14
Python
UTF-8
Python
false
false
1,977
py
#!/usr/bin/python # -*- coding: utf-8 -*- # vim: set ts=4 sw=4 et sts=4 ai: import datetime from finance import models from finance.helpers import base class Transfers(base.Helper): """ The linker looks for transactions which should be linked together, such as transfers between accounts. """ # ...
[ "mithro@mithis.com" ]
mithro@mithis.com
4ea9e978a025b97ef33a8e055d8368b67c18594c
f12ec753dc42958714343b5aa8a11a83f7fe5e1a
/roboticstoolbox/robot/Link.py
1c5f87aa12d6b47dede69c9ea7f0280730f2b7f2
[ "MIT" ]
permissive
RPellowski/robotics-toolbox-python
6bedecccbcf14740c3aa65823b5bab8ba3ade93b
837b33ebbca1347126a611edb83131e284dd065b
refs/heads/master
2023-01-01T04:53:23.117118
2020-10-12T05:25:47
2020-10-12T05:25:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
106
py
class Link: def __init__(self, mesh=None): # TODO fix the path self.mesh = mesh
[ "peter.i.corke@gmail.com" ]
peter.i.corke@gmail.com
514eecee3ad930fa6d0385a5613b59f1500b339b
acbbcc2daff7538534604e512215a84b2f8e11ba
/Cluster/OMapWordlist.py
33b2bba6fc02b0ff96c6c2c527f93658e1f4b0ff
[]
no_license
ZhuJiahui/MicroblogDataStreamCompress
7cfed72b8cb51c171f0d82c243baf62fbef0df55
a040a6ebb7b449591f79fef8e71f40719ee78c0b
refs/heads/master
2016-09-06T05:40:51.017616
2014-04-06T07:17:16
2014-04-06T07:17:16
18,484,462
0
1
null
null
null
null
UTF-8
Python
false
false
1,584
py
# -*- coding: utf-8 -*- ''' Created on 2014年1月5日 @author: ZhuJiahui506 ''' import os import numpy as np from Reflect import reflect_vsm_to_wordlist from TextToolkit import quick_write_list_to_text import time def map_word_list(read_directory1, read_directory2, write_filename): #文件总数 file_number = np.sum...
[ "zhujiahui@outlook.com" ]
zhujiahui@outlook.com
36934efddf72964da5dcd53a82fea8b6a5f1761b
295efbd5b466d246ff51c3849cea5ff637df6211
/model1.py
3bf46b97fdf59bacd284ffebaeefbf6c9db673bc
[]
no_license
allenjianzhe/mip_heuristic
75b15ce9d9735fdc0f5381bfef8cded4d5348a12
1365b63b2b3a3814b271e3bb95fb6671486e84fc
refs/heads/master
2020-09-26T08:41:57.244645
2016-10-12T22:43:09
2016-10-12T22:43:09
66,394,534
0
0
null
null
null
null
UTF-8
Python
false
false
3,955
py
#file name 060915.py for MIP1 import sys #sys.path.append('C:/gurobi562/win64/python27/lib/gurobipy') sys.path.append('C:/gurobi604/win32/python27/lib/gurobipy') # for apple from gurobipy import * from read052815_apple import * import time start_time=time.clock() m = Model('MIP') M=1000000000 F=600000 def MIP1(m,c...
[ "allenjianzhe@yahoo.com" ]
allenjianzhe@yahoo.com
522c35efeef1b14d4c9cd6776ee2646f511fcc33
b55f70755712b26688b80a8ba3806a4124fbcd11
/LinkedList/reverse_linkedlist.py
dc10bda1403d739325203fbdc3e6d560945d7f20
[]
no_license
Shanshan-IC/Algorithm_Python
a44703a0f33370c47e3e55af70aadeae08d5a1a5
ace23976d2f1f51141498c4c4ea6bca0039b233f
refs/heads/master
2021-09-08T07:16:59.576674
2018-03-08T09:24:01
2018-03-08T09:24:01
114,254,497
0
0
null
null
null
null
UTF-8
Python
false
false
509
py
'''' http://www.lintcode.com/zh-cn/problem/reverse-linked-list/ ''' """ Definition of ListNode class ListNode(object): def __init__(self, val, next=None): self.val = val self.next = next """ class Solution: """ @param: head: n @return: The new head of reversed linked list. """ ...
[ "shanshan.fu15@imperial.ac.uk" ]
shanshan.fu15@imperial.ac.uk