blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
288
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
684 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
147 values
src_encoding
stringclasses
25 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
128
12.7k
extension
stringclasses
142 values
content
stringlengths
128
8.19k
authors
listlengths
1
1
author_id
stringlengths
1
132
0080d6e109e103ff474bb678c4ce0d6365a10f90
0b2ae73bd91d843deb193d79b7c4eb02e900e851
/ADT75.py
b3bb7d6f5b3c37d352bc8f837b284d4d87f64082
[]
no_license
ncdcommunity/Raspberry_pi_ADT75_Temperature_Sensor_Python_Library
c495d8db53f3d87585ab8a3eac883ede5dcd5bb4
e42bad0d5e057cf309d06b69b44b62ad4cca1da1
refs/heads/master
2021-09-05T15:16:24.670890
2018-01-29T07:03:01
2018-01-29T07:03:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,064
py
# Distributed with a free-will license. # Use it any way you want, profit or free, provided it fits in the licenses of its associated works. # ADT75 # This code is designed to work with the ADT75_I2CS I2C Mini Module available from ControlEverything.com. # https://www.controleverything.com/content/Temperature?sku=ADT75...
[ "ryker1990@gmail.com" ]
ryker1990@gmail.com
e05e44ea2d5ee7d245bc918ab507c0a29739aaae
8692807f1dfa8c18c61df07cfafbbd27d4e66fba
/LONG-CHALLENGE/PROXYC.sol.py
cead1b911458e67e7b124171a7ef3ddec767cfb8
[]
no_license
sharmakajal0/codechef_problems
00381e9bf1996b859e46f087c2ffafd9d7a10ef1
0b979029e0a821f47fbdd6f9c624daee785a02e7
refs/heads/master
2020-05-29T15:04:40.459979
2020-03-29T08:44:53
2020-03-29T08:44:53
189,212,028
0
0
null
null
null
null
UTF-8
Python
false
false
735
py
#!/usr/bin/env python import string import random for _ in range(int(input())): D = int(input()) P = 0 proxy = 0 S = input() for i in range(len(S)): if(S[i] == 'P'): P += 1 A = P/D if A >= 0.75: print(proxy) else: for d in range(D): if d =...
[ "sharma.kajal.sitm@gmail.com" ]
sharma.kajal.sitm@gmail.com
c339f9eb2a18aa108c8f03d0636db2b68a387b05
487aab917a808b30ebeccf90cd15ed59ac9d776b
/Server/app/views/account/auth.py
00563a701cf1bf96abd6f713b7d59feb79dee4b7
[]
no_license
DSM-DMS/DMS-OpenAPI-Backend
62fffc913b5cb562fbca3333223f8abfb2cf2a8a
1f0c434e98c4cc5d2150af6f533109b1797d8659
refs/heads/master
2020-03-20T19:48:56.576943
2018-06-18T06:45:05
2018-06-18T06:45:05
137,655,168
3
0
null
null
null
null
UTF-8
Python
false
false
1,104
py
from flask import Blueprint, Response, request from flask_jwt_extended import create_access_token, create_refresh_token from flask_restful import Api from flasgger import swag_from from app.docs.account.auth import * from app.models.account import StudentModel, TokenModel, AccessTokenModel, RefreshTokenModel from app....
[ "python@istruly.sexy" ]
python@istruly.sexy
204b4e459a1699224604a3af5706b1de46d495db
673e829dda9583c8dd2ac8d958ba1dc304bffeaf
/data/multilingual/Latn.TZH/Serif_12/pdf_to_json_test_Latn.TZH_Serif_12.py
cd6289fc1d1643cc357cf40015e0694b8ed2d3ee
[ "BSD-3-Clause" ]
permissive
antoinecarme/pdf_to_json_tests
58bab9f6ba263531e69f793233ddc4d33b783b7e
d57a024fde862e698d916a1178f285883d7a3b2f
refs/heads/master
2021-01-26T08:41:47.327804
2020-02-27T15:54:48
2020-02-27T15:54:48
243,359,934
2
1
null
null
null
null
UTF-8
Python
false
false
305
py
import pdf_to_json as p2j import json url = "file:data/multilingual/Latn.TZH/Serif_12/udhr_Latn.TZH_Serif_12.pdf" lConverter = p2j.pdf_to_json.pdf_to_json_converter() lConverter.mImageHashOnly = True lDict = lConverter.convert(url) print(json.dumps(lDict, indent=4, ensure_ascii=False, sort_keys=True))
[ "antoine.carme@laposte.net" ]
antoine.carme@laposte.net
337cee5e29835896cab1957d702d1c6c2b4c4d23
7e40c8bb28c2cee8e023751557b90ef7ef518326
/de1ctf_2019_weapon/de1ctf_2019_weapon.py
b20af85652888221b9c83fe6865667fded000806
[]
no_license
1337536723/buuctf_pwn
b6e5d65372ed0638a722faef1775026a89321fa3
cca3c4151a50c7d7c3237dab2c5a283dbcf6fccf
refs/heads/master
2023-08-29T19:35:04.352530
2021-11-16T14:06:20
2021-11-16T14:06:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,409
py
from pwn import * #libc = ELF('libc-2.23.so') libc = ELF('libc-2.23.buu.so') def debug(s): gdb.attach(p, ''' source ~/libc/loadsym.py loadsym ~/libc/2.23/64/libc-2.23.debug.so ''' + s) def alloc(index, size, name): p.sendlineafter(b'choice >> ', b'1') p.sendlineafter(b'size of weapon:...
[ "admin@srmxy.cn" ]
admin@srmxy.cn
062eb22c54e54134722697966c14311f9e383461
daa053212901b51273bb1f8a6ca3eddac2b5cbaf
/main/apps/companies/management/commands/seed_consultants.py
5df7ab0584e1e6e4412334b82052d2652e8c51ca
[]
no_license
truhlik/directit
11fb45d482d454b55888f38afe0f64ce533788ad
eb10654b64cbe4232811594b936f8e3d0381754e
refs/heads/main
2023-08-30T10:03:45.376159
2021-10-06T19:02:15
2021-10-06T19:02:15
414,334,714
0
0
null
null
null
null
UTF-8
Python
false
false
2,114
py
import os import json from django.core.management.base import BaseCommand from django.conf import settings from django.db import transaction from main.apps.categories.models import Category from main.apps.companies.models import Company from main.apps.companies import constants from main.apps.tags.models import Tag ...
[ "lubos@endevel.cz" ]
lubos@endevel.cz
0dbd5fdba95bed8a268db8202b3fb87885b024ec
7b270cf5f9d0a3e26b5afd758563c6cff73a5248
/comportamentais/templateMethod/musica/musica/ordenadores/por_nome.py
20811813acfc8389cb954bc7cf5afb90f6bd5ea6
[]
no_license
reginaldosantarosa/DesignPatterns
10810672d3831e562ec636a5f66bd709c797ca34
bec4247f52b8d2e1fe41c570408816a5d4b22608
refs/heads/master
2020-04-04T06:54:19.757054
2018-01-04T03:06:05
2018-01-04T03:06:05
155,761,201
0
0
null
null
null
null
UTF-8
Python
false
false
375
py
from musica.ordenador import Ordenador class PorNome(Ordenador): """ Ordena as músicas por nome. """ def vem_antes(self, musica1, musica2): """ Verifica se o nome da musica1 vem antes do nome da musica2 ou se os nomes são iguais """ if (musica1.nome >= musica2...
[ "victorhad@gmail.com" ]
victorhad@gmail.com
a58aad7520eda26f26eea0cbde53195c6e1f95ff
5da5473ff3026165a47f98744bac82903cf008e0
/packages/google-cloud-dataplex/samples/generated_samples/dataplex_v1_generated_dataplex_service_list_lake_actions_async.py
6bb70e947a1d2da68ce6f3f24464c8d42da2e31a
[ "Apache-2.0" ]
permissive
googleapis/google-cloud-python
ed61a5f03a476ab6053870f4da7bc5534e25558b
93c4e63408c65129422f65217325f4e7d41f7edf
refs/heads/main
2023-09-04T09:09:07.852632
2023-08-31T22:49:26
2023-08-31T22:49:26
16,316,451
2,792
917
Apache-2.0
2023-09-14T21:45:18
2014-01-28T15:51:47
Python
UTF-8
Python
false
false
1,915
py
# -*- coding: utf-8 -*- # Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
[ "noreply@github.com" ]
googleapis.noreply@github.com
03d54f61b29f53b93ad2fd757e4e11559959bdce
293d7ab59c9e7ff4e1341fb8e6504a89f3384666
/python/test/utils/test_graph_converters/test_batch_normalization_self_folding.py
1e2d303962a499a835d6efa13a3da5acd8dc33bf
[ "Apache-2.0" ]
permissive
CrimsonTuna/nnabla
903423b8eb3617c3623952605bcdd77bb5ab2a56
36328e574d77f1cc9ee0051f33159a2dc4f03013
refs/heads/master
2023-03-29T07:12:33.444996
2021-04-11T09:33:21
2021-04-11T09:33:21
356,857,925
0
0
Apache-2.0
2021-04-11T13:09:02
2021-04-11T12:10:47
null
UTF-8
Python
false
false
1,774
py
# Copyright (c) 2020 Sony Corporation. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicabl...
[ "Kazuki.Yoshiyama@sony.com" ]
Kazuki.Yoshiyama@sony.com
82bd13fb6585eb7e350d867d90ba5d73d5caf38e
5850d0bd221cec491f94cf68a6d880abdb838f0e
/tests/exoatlet/spat_decomp.py
cbefd3bddcc77909c7648fbe0e25bd9bd3f24412
[]
no_license
nickware44/DeepBCI
336a437e2a519d09e74f57e692e4c59ac7b1db70
96b99b36e888a740dd955b7f6d3f8f05b94efd17
refs/heads/master
2023-08-03T09:08:20.283055
2023-07-27T19:17:13
2023-07-27T19:17:13
336,832,704
4
0
null
null
null
null
UTF-8
Python
false
false
3,260
py
path_to_nfblab = r'C:\Projects\nfblab\nfb' import sys import numpy as np import pylab as plt import pandas as pd import scipy.signal as sg sys.path.insert(0, path_to_nfblab) from utils.load_results import load_data from pynfb.signal_processing.filters import ButterFilter from pynfb.signal_processing.decompositions impo...
[ "n.m.smetanin@gmail.com" ]
n.m.smetanin@gmail.com
cddba55aea5b0e697b0e759fa4236c9772032db5
e23a4f57ce5474d468258e5e63b9e23fb6011188
/070_oop/007_exceptions/_exercises/templates/GoCongr/002_Exceptions.py
558802c1cef142e35946dbce32921cc93b0cf096
[]
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
686
py
# # -*- coding: utf-8 -*- # # # Nested handlers # ___ # Обрабатываем исключения # ___ # Вложенный обработчик # x = 1 / 0 # Ошибка: деление на 0 # ____ N... # print("Неопределенный идентификатор") # ____ I... # ...
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
f572de46bf3442d83632a194c67fbc4ea0587da3
9a1dbd1d6dcdb5a4d238fa72ff1eb8e8ac99c9fb
/EBookReading/wsgi.py
b4b370837d698fee742a9d781becb9f7af5f318b
[]
no_license
chintan-27/E-Book-Reading-Website
85c0aa7515169f13bb8939aba9ee36bc64af17b8
693a75756f9e9b99631bff7973c4da16ed3716a4
refs/heads/main
2023-08-22T06:04:48.118415
2021-09-08T05:37:35
2021-09-08T05:37:35
378,327,140
0
0
null
null
null
null
UTF-8
Python
false
false
450
py
""" WSGI config for EBookReading project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.0/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_...
[ "chintan.acharya27@gmail.com" ]
chintan.acharya27@gmail.com
28f6441efdadfc02cdae431872a2d080a5030079
f504253210cec1c4ec6c3ea50a45564db7d6cd7f
/prettyqt/core/transposeproxymodel.py
81174a1c4b71d3ea47ef74b62ff9f018ad7d81d7
[ "MIT" ]
permissive
phil65/PrettyQt
b1150cb4dce982b9b8d62f38f56694959b720a3e
f00500d992d1befb0f2c2ae62fd2a8aafba7fd45
refs/heads/master
2023-08-30T21:00:08.905444
2023-08-17T12:24:45
2023-08-17T12:24:45
177,451,205
17
5
MIT
2020-08-15T22:21:18
2019-03-24T18:10:21
Python
UTF-8
Python
false
false
220
py
from __future__ import annotations from prettyqt import core class TransposeProxyModel(core.AbstractProxyModelMixin, core.QTransposeProxyModel): """This proxy transposes the source model.""" ID = "transpose"
[ "philipptemminghoff@googlemail.com" ]
philipptemminghoff@googlemail.com
1b71200f5245e6bae920920c97bfa9306e71d00e
50aa9303450e06d1172f78c0478a58e5113d9bb9
/958palindrome-data-stream.py
affb066b625a80be4a626f58e58e577ff236cabd
[]
no_license
zlldt/LintCode
6e1041b78a301651378833caf7fd7db9ce112ec5
e5012161131a8c8557bdb0296980b2a0b712c620
refs/heads/master
2021-06-27T05:24:08.471072
2019-03-02T12:56:26
2019-03-02T12:56:26
105,424,020
0
0
null
null
null
null
UTF-8
Python
false
false
646
py
class Solution: """ @param s: The data stream @return: Return the judgement stream """ def getStream(self, s): # Write your code here length = len(s) result = [1 for x in range(length)] dict ={} for i in range(length): if s[i] in dict: ...
[ "noreply@github.com" ]
zlldt.noreply@github.com
b8c22bcb6d3ac5f046570154dacdc01b736d759f
b420377a638dc9a5d8c09ebc39b0448d47ddb74e
/ddd-todolist-sample/todolist/port/eventbus.py
5431f4676032719da1a48a8695071bda80b80f8a
[]
no_license
shimakaze-git/drf-sample
d4e4e8e4d380f0b77e807d4bbf4e3f0d98ee6bcd
4294cd5adeea0ef51d3b7eee6a154d23dd089afc
refs/heads/master
2022-05-02T20:19:09.901257
2019-09-15T12:46:51
2019-09-15T12:46:51
205,698,781
0
0
null
2022-04-22T22:29:32
2019-09-01T15:52:14
Python
UTF-8
Python
false
false
263
py
from abc import ABCMeta, abstractmethod class EventBus: """ ドメインイベントの通知インタフェース. """ __metaclass__ = ABCMeta @abstractmethod def publish(self, event): """ ドメインイベントを通知する. """
[ "shimakaze.soft+github@googlemail.com" ]
shimakaze.soft+github@googlemail.com
527160e77429557933b7824c4d79f4ae526f1411
7d949b9f19e4c5c897b3aef76e604f2c0eee7112
/src-python/saccade_analysis/tammero_flydradb/report_axis_angle.py
88f17a3bd3e549f78714e134fbced84c944473c9
[]
no_license
AndreaCensi/saccade_analysis
d3fad3a1a406b97c4dcf9cdc82b9b2ce1fbf42df
71b87e9225b16317ffa9a581b3c62d8343fe7bfa
refs/heads/master
2016-09-11T06:49:22.254391
2011-12-20T06:39:30
2011-12-20T06:39:30
952,465
1
0
null
null
null
null
UTF-8
Python
false
false
4,889
py
from contracts import contract from reprep import Report import numpy as np from ..markov import binomial_stats def create_report_axis_angle(id, desc, saccades): r = Report('axis_angle') # # axis_angle = saccades['axis_angle'] # saccade_angle = saccades['saccade_angle'] ...
[ "andrea@cds.caltech.edu" ]
andrea@cds.caltech.edu
5b3ad54a4efaa9fbbbe546322a45748b042140c1
39b84306510530e39eb9d4087977ddd6b2ee203e
/self_assesment/self_assesment2/numericalStack.py
9b89874d425cc431c8b4a307eabb5975ea52bfef
[ "MIT" ]
permissive
sowmyamanojna/BT3051-Data-Structures-and-Algorithms
2ff9753a02ce1d2bdb113791d308391df19cc2f6
09c17e42c2e173a6ab10339f08fbc1505db8ea56
refs/heads/master
2022-12-31T02:02:23.566697
2020-09-12T06:59:03
2020-09-12T06:59:03
241,184,510
2
0
null
null
null
null
UTF-8
Python
false
false
761
py
class Stack(): def __init__(self, val = []): self._value = val # print("Stack initialised!") def push(self, x): self._value.append(x) # print ("{} is pushed into stack!!!".format(x)) return self def pop(self): if len(self._value) > 0: self._value = self._value[1:] # print ("Values popped") else...
[ "sowmyamanojna@gmail.com" ]
sowmyamanojna@gmail.com
9e66b3c83031a5eb2d06a77c03098a1f9a74c905
b332e9e5b63db27b23250ddbbb85b470ceaf92a1
/List/largestNumber.py
c4a880a23fc70378f9c187caa0e5aedc995c8561
[]
no_license
huangketsudou/leetcode_python
66fcc695b0a4f94a35cc52e161ae4bfdb1138dc2
e983f42d245b69f9bddd9855f51ee59648a2039e
refs/heads/master
2021-08-07T23:25:45.532458
2020-08-23T06:15:22
2020-08-23T06:15:22
214,324,229
2
0
null
2020-04-12T14:40:47
2019-10-11T02:16:43
Python
UTF-8
Python
false
false
1,866
py
from typing import List class Solution: def largestNumber(self, cost: List[int], target: int) -> str: dp = [[] for _ in range(target+1)] for i in range(1, target + 1): for j, c in enumerate(cost): if i == c: dp[i]=self.cmp(dp[i],[j+1]).copy() ...
[ "1941161938@qq.com" ]
1941161938@qq.com
432f9038e0b00672bb1870647b074519e43c0350
5462142b5e72cb39bea5b802dd46f55357c4ea84
/homework_zero_class/lesson13/多重继承-times_3.py
be4ae74b66504ab6fd49cf872d6296e34b224f30
[]
no_license
qqmadeinchina/myhomeocde
a0996ba195020da9af32613d6d2822b049e515a0
291a30fac236feb75b47610c4d554392d7b30139
refs/heads/master
2023-03-23T05:28:53.076041
2020-08-24T08:39:00
2020-08-24T08:39:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,190
py
# -*- coding: utf-8 -*- # @time :2020/8/3 14:45 # @Author:老萝卜 # @file:多重继承-times_3 # @Software:%{PRODUICT_NAME}多重继承-times_3.py class A(object): def test(self): print("A......") def test1(self): print("A-test1......") def test3(self): print("A-test3......") class B(object): def...
[ "newwxm@126.com" ]
newwxm@126.com
82e34d60193e623a88db412888e04f745cbe0e2a
0e478f3d8b6c323c093455428c9094c45de13bac
/src/OTLMOW/OTLModel/Classes/Onderdeel/Plantbakvorm.py
8e481ff412fa8be69732c95c697b72f328907b15
[ "MIT" ]
permissive
davidvlaminck/OTLMOW
c6eae90b2cab8a741271002cde454427ca8b75ba
48f8c357c475da1d2a1bc7820556843d4b37838d
refs/heads/main
2023-01-12T05:08:40.442734
2023-01-10T15:26:39
2023-01-10T15:26:39
432,681,113
3
1
MIT
2022-06-20T20:36:00
2021-11-28T10:28:24
Python
UTF-8
Python
false
false
4,219
py
# coding=utf-8 from OTLMOW.OTLModel.BaseClasses.OTLAttribuut import OTLAttribuut from OTLMOW.OTLModel.Classes.Abstracten.VegetatieElement import VegetatieElement from OTLMOW.OTLModel.Datatypes.BooleanField import BooleanField from OTLMOW.OTLModel.Datatypes.KwantWrdInKubiekeMeter import KwantWrdInKubiekeMeter from OTLMO...
[ "david.vlaminck@mow.vlaanderen.be" ]
david.vlaminck@mow.vlaanderen.be
59b4c9db05c27c7724251e295febdd0179db742e
24fbe6b25338a58701a70fdda1aa81ef3add5fd3
/blog/migrations/0001_initial.py
a10a14be7a20c47db9e2eb1cb1f37151cd0ad50d
[]
no_license
jattoabdul/jatto-portfolio
1d9001c90423114402119119baf325a287ad0c30
1e2d883f7da3c6f654a0796ec22750b52653e1c1
refs/heads/master
2021-01-13T07:19:52.932401
2016-10-21T07:46:28
2016-10-21T07:46:28
71,542,572
1
0
null
null
null
null
UTF-8
Python
false
false
2,240
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.2 on 2016-10-18 09:53 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migratio...
[ "jattoade@gmail.com" ]
jattoade@gmail.com
45ce2c771a4665fdafa68a6b528d542323ae5b78
bdf86d69efc1c5b21950c316ddd078ad8a2f2ec0
/venv/Lib/site-packages/twisted/pair/rawudp.py
4a582b4475c57f6cd30f9db14c9c2a4319325960
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
DuaNoDo/PythonProject
543e153553c58e7174031b910fd6451399afcc81
2c5c8aa89dda4dec2ff4ca7171189788bf8b5f2c
refs/heads/master
2020-05-07T22:22:29.878944
2019-06-14T07:44:35
2019-06-14T07:44:35
180,941,166
1
1
null
2019-06-04T06:27:29
2019-04-12T06:05:42
Python
UTF-8
Python
false
false
1,814
py
# -*- test-case-name: twisted.pair.test.test_rawudp -*- # Copyright (c) Twisted Matrix Laboratories. # See LICENSE for details. """ Implementation of raw packet interfaces for UDP """ import struct from twisted.internet import protocol from twisted.pair import raw from zope.interface import implementer class UDPHe...
[ "teadone@naver.com" ]
teadone@naver.com
1a89de4b58df39f71a8cdaded521bd9bcc57ad82
ac1fdf53359b53e183fb9b2602328595b07cf427
/ParlAI/parlai/agents/transformer/ranker.py
51cefc77cb2f438fcd95c2cf84c00a8116b011bd
[]
no_license
Ufukdogann/MasterThesis
780410c5df85b789136b525bce86ba0831409233
b09ede1e3c88c4ac3047800f5187c671eeda18be
refs/heads/main
2023-01-24T18:09:52.285718
2020-11-27T16:14:29
2020-11-27T16:14:29
312,416,173
0
0
null
null
null
null
UTF-8
Python
false
false
128
py
version https://git-lfs.github.com/spec/v1 oid sha256:f95aa8138972542126c3bcb4a212d2bf9ef9cda22d8b31711b727a63c523e699 size 335
[ "134679852Ufuk*" ]
134679852Ufuk*
f7b744cfd5605b2aaf4cfa03f7cb316c383583ae
ed1e81a2325d310de7961274a06bfe6cdb7993d0
/basic-python/2.py
99f2e56af41d4bda165783ada2d9ac971743ca69
[]
no_license
fahimkhan/python
ce573298adf30ca8426b74f3ab275ab7f8047a91
1733ad39cf214362c8a76f8996740715888d2101
refs/heads/master
2021-01-15T15:50:27.323739
2016-08-24T11:02:56
2016-08-24T11:02:56
20,254,607
1
1
null
null
null
null
UTF-8
Python
false
false
407
py
#! /usr/bin/python balance = int(raw_input('Enter balance')) annualInterestRate = .2 payment = 0 TempBalance = balance while TempBalance > 0: payment += 10 TempBalance = balance for month in range (1,13): TempBalance = (TempBalance - payment) * (1+(annualInterestRate/12)) print(TempBalance) ...
[ "fahim.elex@gmail.com" ]
fahim.elex@gmail.com
bb32a4488d76e23dcf13ae34a46596167e8f81c9
57ea54e829f2fc8fcbea29fa8e2c9a6f64d88c3b
/promgen/checks.py
881c7e4f3d32d43f2118326d8a09357b6c6a6968
[ "MIT", "BSD-3-Clause" ]
permissive
k8stech/promgen
4c959003f44be6c9bd207b81f440c090a5c2f47b
d189d27d37016b1861e3a0e4fb6186e5008bbcd9
refs/heads/master
2022-04-14T11:58:16.221164
2020-04-10T01:15:59
2020-04-10T01:15:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,697
py
import os import pathlib from django.conf import settings from django.core import checks from promgen import models, util @checks.register(checks.Tags.models) def sites(app_configs, **kwargs): if models.Site.objects.count() == 0: yield checks.Error( "Site not configured", hint="Missing djang...
[ "paul.traylor@linecorp.com" ]
paul.traylor@linecorp.com
c958cb5a82f6c8104bc7e0444032862e11459094
6b63f4fc5105f3190014e1dd5685a891a74f8c63
/0050_desafio.py
5be9a03b2c845818497d762946f24cd25bcae2ca
[]
no_license
matheuszei/Python_DesafiosCursoemvideo
a711c7c9c6db022cc8a16a3a1dc59afabb586105
5b216908dd0845ba25ee6d2e6f8b3e9419c074d2
refs/heads/main
2023-05-10T18:13:09.785651
2021-06-04T13:50:48
2021-06-04T13:50:48
370,851,791
0
0
null
null
null
null
UTF-8
Python
false
false
323
py
#Desenvolva um programa que leia seis números inteiros e mostre a soma apenas daqueles # que forem pares. Se o valor digitado for ímpar, desconsidere-o. soma = 0 for c in range(0, 6): n = int(input('({}) Digite um valor: '.format(c))) if n % 2 == 0: soma += n print('Soma total: {}'.format(soma)) ...
[ "noreply@github.com" ]
matheuszei.noreply@github.com
8d92e4c3a4b1b88ae82f1dff436289a50a3edeaa
83d657c787529f01a8ecc8a874421738a7eecec7
/Components/Decompose Corner and Cap Components.py
1dd679598592878764a5f6a5b69a03429fbcd0da
[ "Apache-2.0" ]
permissive
BurgAndOeden/Glyphs-Scripts
e31b5164b491dfe0cd2d57f6cf1422c4aadda104
f0195d6b8f0a6c055e4e44d5ef41ba48bdd1e3a6
refs/heads/master
2020-09-16T08:01:06.345898
2019-11-24T00:15:44
2019-11-24T00:15:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,498
py
#MenuTitle: Decompose Corner and Cap Components # -*- coding: utf-8 -*- __doc__=""" Recreates the current paths without caps or components. """ from Foundation import NSClassFromString thisFont = Glyphs.font # frontmost font selectedLayers = thisFont.selectedLayers # active layers of selected glyphs removeOverlapFilt...
[ "res@glyphsapp.com" ]
res@glyphsapp.com
1d6318d6da52ddd15efa39e18f8a38efab9c2016
2729fff7cb053d2577985d38c8962043ee9f853d
/bokeh/colors/tests/test_rgb.py
38a92fcdc5718cea5c5cb924d3373c70544bb3a2
[ "BSD-3-Clause" ]
permissive
modster/bokeh
2c78c5051fa9cac48c8c2ae7345eafc54b426fbd
60fce9003aaa618751c9b8a3133c95688073ea0b
refs/heads/master
2020-03-29T01:13:35.740491
2018-09-18T06:08:59
2018-09-18T06:08:59
149,377,781
1
0
BSD-3-Clause
2018-09-19T02:02:49
2018-09-19T02:02:49
null
UTF-8
Python
false
false
4,379
py
#----------------------------------------------------------------------------- # Copyright (c) 2012 - 2017, Anaconda, Inc. All rights reserved. # # Powered by the Bokeh Development Team. # # The full license is in the file LICENSE.txt, distributed with this software. #---------------------------------------------------...
[ "noreply@github.com" ]
modster.noreply@github.com
aa247b139b389b58a5500dc4c769591494b5cef3
ac5e52a3fc52dde58d208746cddabef2e378119e
/exps-sblp-obt/sblp_ut=3.5_rd=0.5_rw=0.04_rn=4_u=0.075-0.325_p=harmonic-2/sched=RUN_trial=35/sched.py
a0392c19ab7309ecc424144631532e7acfb8ce71
[]
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
493
py
-S 2 -X RUN -Q 0 -L 1 73 250 -S 2 -X RUN -Q 0 -L 1 47 150 -S 2 -X RUN -Q 0 -L 1 39 150 -S 1 -X RUN -Q 1 -L 1 36 200 -S 1 -X RUN -Q 1 -L 1 34 150 -S 1 -X RUN -Q 1 -L 1 34 125 -S 0 -X RUN -Q 2 -L 1 32 200 -S 0 -X RUN -Q 2 -L 1 29 400 -S 0 -X RUN -Q 2 -L 1 28 125 -S 3 -X RUN -Q 3 -L 1...
[ "ricardo.btxr@gmail.com" ]
ricardo.btxr@gmail.com
833502e31a08a9076d125cf4da8732dc6e9093f4
4a3b651b892121b149406b0c11ded96dfbbbc309
/nidm_neo4j.py
50a797ccba84c66d1bd7196a27fa18d7c7e1d151
[]
no_license
vsoch/nidm-neo4j
78c10f7540b4462997e57075fe55466fec2322f6
00c4a077e416ced19b6d3d246ac959e9a8ffb004
refs/heads/master
2021-01-10T01:36:01.665912
2015-10-15T20:17:46
2015-10-15T20:17:46
44,143,178
0
0
null
null
null
null
UTF-8
Python
false
false
5,416
py
from nidmviewer.convert import get_lookups, get_nidm_keys, get_field_groups from nidmviewer.convert import getjson from rdflib.serializer import Serializer from rdflib import Graph as graphrdf, plugin import rdfextras rdfextras.registerplugins() plugin.register( 'json-ld', Serializer, 'rdflib_jsonld.seriali...
[ "vsochat@stanford.edu" ]
vsochat@stanford.edu
82a746e5f60cd833d1722b8ad31c9a47ba6d461b
c1cadf7816acbe2c629dfdf5bfe8f35fa14bfd57
/archieve/chinese/manage.py
5ca0b7c52363f11fa49628eb6fd16998188a8760
[]
no_license
luochengleo/timeperception
39c5eb0b0cedf16a02867e6a67e2befc4a118c71
6c27ceb51e219d9f18898918d4f3158c94836ff4
refs/heads/master
2021-01-21T04:46:45.315679
2016-07-21T14:34:04
2016-07-21T14:34:04
43,635,809
0
1
null
null
null
null
UTF-8
Python
false
false
257
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "timeperception.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "luochengleo@gmail.com" ]
luochengleo@gmail.com
c30b0daa268e1d472d04f23d05a26aa61c656f59
3f84f51751c4191bb81c9df7094578461fb12a2d
/典型90問/012_dfs.py
ab1e4b903f8a68201dac254f3a00b79daee48b9e
[]
no_license
rikukawamura/atcoder
7ff49f1bd8534b99d87fe81ef950e1ba77eee8b8
09c0cfe3ce25be56d338614a29e996f4106117cd
refs/heads/master
2023-08-13T21:21:19.058219
2021-09-28T10:02:42
2021-09-28T10:02:42
329,206,601
0
0
null
null
null
null
UTF-8
Python
false
false
896
py
def int_sp(): return map(int, input().split()) def li_int_sp(): return list(map(int, input().split())) def dfs(s_y, s_x): if s_y<0 or H<=s_y or s_x<0 or W<=s_x or visited[s_y][s_x] or maps[s_y][s_x]==0: return visited[s_y][s_x] = 1 for k in range(4): dfs(s_y+dy[k], s_x+dx[k]) ...
[ "49993650+rikukawamura@users.noreply.github.com" ]
49993650+rikukawamura@users.noreply.github.com
f5ce0b8c0c2a1214e2899cfff23ea25f55ac12b1
c546184629526cff0d40180fc89158ea70c5e21c
/Basics of data science and machine learning/5. Tuples, Dictionary and sets/8. Pairs with difference K.py
68f7a31e266ceb68ab10d834ada99cfcc13e1541
[]
no_license
code-drops/coding-ninjas
23ad5d3ea813caf3bd1b04a3733b38d3fb844669
fd320e1e4f9e996fbe8d2ef25b20d818b18d4d79
refs/heads/master
2022-11-23T00:22:31.791976
2020-07-05T10:22:00
2020-07-05T10:22:00
277,277,217
0
0
null
null
null
null
UTF-8
Python
false
false
825
py
''' You are given with an array of integers and an integer K. Write a program to find and print all pairs which have difference K. Take difference as absolute. ''' def printPairDiffK(List, k): # Please add your code here dict = {} count, itm = 0, '' for item in reversed(List): dict[item...
[ "noreply@github.com" ]
code-drops.noreply@github.com
c7be3292d0f7692e0324adf082264120fa54122f
8c87224eb6d2935a6d10bff39f8592a1dd43f549
/data_overview.py
c5b91d99da176f1a06a9543f44356e24da0112eb
[]
no_license
charano/data-wrangle-openstreetmaps-data_1
ca3024d78acaf80e85ae3c66a1eee9b72dd6c899
59458dff3e1b05216b259b4bcf07da32e28abb57
refs/heads/master
2021-01-10T13:28:59.052062
2015-06-06T16:58:10
2015-06-06T16:58:10
36,987,866
0
0
null
null
null
null
UTF-8
Python
false
false
7,190
py
import pprint def get_db(db_name): from pymongo import MongoClient client = MongoClient('localhost:27017') db = client[db_name] return db def zip_pipeline(): pipeline = [{"$match" : { "address.postcode" : {"$exists":1}}} ,{"$group" : {"_id" : "$address.postcode", ...
[ "root@ip-10-47-174-141.ec2.internal" ]
root@ip-10-47-174-141.ec2.internal
934e170f6ff5c24743b86be8f724a5ba2956c4f5
4410498f2af839d5d086e2a57d7faadb372bba7c
/twitterOA1.py
a86365d4d0ebcfe3084d7f44847c804675e3c214
[]
no_license
Huijuan2015/MyLeetcodeSolutions
264e68c4748caac9fc9a4dc3347ae8eae7241217
6d4d078db8f3e6994db0dc25410be265459acc04
refs/heads/master
2020-04-06T05:14:29.103116
2016-11-05T21:57:27
2016-11-05T21:57:27
53,628,844
0
0
null
null
null
null
UTF-8
Python
false
false
2,420
py
import sys from string import maketrans def mask_email(email): body = email[2:].strip() at = body.find('@') return 'E:' + body[0] + '*' * 5 + body[at-1:] def mask_phone(phone): body = phone[2:].strip() table = maketrans('', '') body = body.translate(table, '- ()') # print body if body[...
[ "huijuan1991@hotmail.com" ]
huijuan1991@hotmail.com
47a910a99248290f1384e97ff25bd0b69c23469d
bfee538514b48b3f83873c671e4bcaadf0744d69
/api/migrations/0001_initial.py
bd0b5cfbddd5550b74916de712000ea67229a801
[]
no_license
visheshdubey/Dashbike
204d9d8411e5afdf0b176b460470a1c6608b52f1
5dcb7f5d449034c61ef7dcdef246fbf4209e9e15
refs/heads/master
2023-07-27T11:35:36.071871
2021-09-12T03:03:01
2021-09-12T03:03:01
178,920,077
0
0
null
null
null
null
UTF-8
Python
false
false
3,175
py
# Generated by Django 2.1.7 on 2019-04-06 05:49 import api.models from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('Users', '0001_initial'), ] operations = [ migrations.CreateModel( ...
[ "you@example.com" ]
you@example.com
5740cc781e591bcf9a64ae8aec6619af8f1be9d9
010279e2ba272d09e9d2c4e903722e5faba2cf7a
/contrib/python/plotly/py2/plotly/validators/sankey/node/hoverlabel/__init__.py
97dbaf78fea9dc475698f08381ca03fa4d8e4827
[ "Apache-2.0", "MIT" ]
permissive
catboost/catboost
854c1a1f439a96f1ae6b48e16644be20aa04dba2
f5042e35b945aded77b23470ead62d7eacefde92
refs/heads/master
2023-09-01T12:14:14.174108
2023-09-01T10:01:01
2023-09-01T10:22:12
97,556,265
8,012
1,425
Apache-2.0
2023-09-11T03:32:32
2017-07-18T05:29:04
Python
UTF-8
Python
false
false
6,073
py
import _plotly_utils.basevalidators class NamelengthsrcValidator(_plotly_utils.basevalidators.SrcValidator): def __init__( self, plotly_name="namelengthsrc", parent_name="sankey.node.hoverlabel", **kwargs ): super(NamelengthsrcValidator, self).__init__( plot...
[ "robot-piglet@yandex-team.com" ]
robot-piglet@yandex-team.com
6f1688c722ecdbc98b0e43a88f1b44403696a034
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/49/usersdata/91/18060/submittedfiles/pico.py
24ae75a9ef09d94bf4615d5fc052c73af71e91f6
[]
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
573
py
# -*- coding: utf-8 -*- from __future__ import division def pico(lista): posicao=0 for i in range (0,len(lista)-1,1): if lista[i]>lista[i+1]: posicao=i break cont=0 for i in range (posicao,len(lista)-1,1): if lista[i]<lista[i+1]: cont+=1 if co...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
993a6ea2459e638208fb80cbeb1277f085d2f971
6a433931dd544e2d9f2b18cff3ce096531b15941
/for_loop_sum.py
0e496fc2e9d34c9c258fd6d3f0dd3dbb769d5d3d
[]
no_license
lunatic-7/python_course_noob-git-
b7de1d988c91fd017b645fb1e227e207f3b12b15
5e06442151e7a94449ce99158855a608eb035319
refs/heads/main
2023-08-04T06:55:05.473812
2021-09-18T17:20:49
2021-09-18T17:20:49
407,922,569
0
0
null
null
null
null
UTF-8
Python
false
false
261
py
# sum from 1 to 10 # 1 + 2 + 3 + ............. 10 # total = 0 # for i in range(1,11): # total += i # print(total) # take input from user. n = int(input("enter a number : ")) total = 0 for i in range(1,n+1): total += i print(total)
[ "wasif1607@gmail.com" ]
wasif1607@gmail.com
944943ff2bf8b9572fd17ce34f32c985818858d4
69b93223fc6794123269022a02e5a1dcf130e698
/81_Search_in_Rotated_Sorted_Array_II.py
880660e9f25e4a6c94f1ec6ef80ea37cb6c242c8
[]
no_license
GuangyuZheng/leet_code_python
43b984ce98cc889a7e07151004d347cb03b2d9b2
266def94df8245f90ea5b6885fc472470b189e51
refs/heads/master
2020-09-05T18:12:07.649374
2020-02-22T09:37:59
2020-02-22T09:37:59
220,177,486
2
1
null
null
null
null
UTF-8
Python
false
false
780
py
from typing import List class Solution: def search(self, nums: List[int], target: int) -> bool: n = len(nums) start, end = 0, n-1 while start <= end: mid = (start + end)//2 if nums[mid] == target: return True if nums[start] == nums[mid] =...
[ "583621555@qq.com" ]
583621555@qq.com
37ff904c75ff61fe30e0c84cb5bae9b4da25e2d2
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_207/445.py
20b1c67b3718d34b8de06cbe25dcb0f54c5ccc12
[]
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
735
py
def get_result(R, O, Y, G, B, V): assert O == 0 assert G == 0 assert V == 0 max_cnt = max(R, Y, B) if Y + B < max_cnt or R + B < max_cnt or R + Y < max_cnt: return "IMPOSSIBLE" cnts = [(R, "R"), (B, "B"), (Y, "Y")] cnts = sorted(cnts, key=lambda x:x[0], reverse=True) s = [""] * (3 * max_cnt) for...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
d53dfb47d2536f19b23f7013ea42ec26c225353e
3ff660941132bcaed5bfe309861843bd6657ee37
/Trees/Print right side.py
b8760b5988ef7e07e1d95586be794cfaa5781333
[]
no_license
mrunalhirve12/Interviews2
04295cebe1946de1f310857d7fbded11a02f8eb1
c48bd0a4e1112804da8bdf2d7e43ab0f2ef00469
refs/heads/master
2023-03-26T14:35:06.029701
2021-03-25T21:31:46
2021-03-25T21:31:46
351,593,537
0
0
null
null
null
null
UTF-8
Python
false
false
1,497
py
""" Given a binary tree, imagine yourself standing on the right side of it, return the values of the nodes you can see ordered from top to bottom. Example: Input: [1,2,3,null,5,null,4] Output: [1, 3, 4] Explanation: 1 <--- / \ 2 3 <--- \ \ 5 4 <--- """ # Definition for a ...
[ "mrunalhirve@gmail.com" ]
mrunalhirve@gmail.com
1bd8bc7fe24bf5d53d09e0a91e38a3bc344e4337
77b16dcd465b497c22cf3c096fa5c7d887d9b0c2
/Quintana_Jerrod/Assignments/python_fundamentals/coin_tosses.py
454a5cb05d4307c7ee2e66f1826a9f9c91709234
[ "MIT" ]
permissive
curest0x1021/Python-Django-Web
a7cf8a45e0b924ce23791c18f6a6fb3732c36322
6264bc4c90ef1432ba0902c76b567cf3caaae221
refs/heads/master
2020-04-26T17:14:20.277967
2016-10-18T21:54:39
2016-10-18T21:54:39
173,706,702
6
0
null
null
null
null
UTF-8
Python
false
false
394
py
head = 0 tail = 0 import random for element in range (1, 5001): toss = round(random.random()) if (toss == 1): head += 1 toss_text='head' else: tail += 1 toss_text = 'tail' print "Attempt #{}: Throwing a coin... It's a {}! ... Got {} head(s) so far and {} tail(s) so far".f...
[ "43941751+curest0x1021@users.noreply.github.com" ]
43941751+curest0x1021@users.noreply.github.com
5d1e945d40520440e25f880459d35743a8ad7393
77c518b87e67e9926d130f856a7edb12302596eb
/Filters/Core/Testing/Python/MassProperties.py
3753d7e93c51cd9108d83665ac7f0756038d055d
[ "BSD-3-Clause" ]
permissive
t3dbrida/VTK
73e308baa1e779f208421a728a4a15fec5c4f591
e944bac3ba12295278dcbfa5d1cd7e71d6457bef
refs/heads/master
2023-08-31T21:01:58.375533
2019-09-23T06:43:00
2019-09-23T06:43:00
139,547,456
2
0
NOASSERTION
2019-11-22T14:46:48
2018-07-03T07:49:14
C++
UTF-8
Python
false
false
4,779
py
#!/usr/bin/env python # -*- coding: utf-8 -*- ''' ========================================================================= Program: Visualization Toolkit Module: TestNamedColorsIntegration.py Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www....
[ "nikhil.shetty@kitware.com" ]
nikhil.shetty@kitware.com
b589b99088f59ac54b08810c679c36224ffbb831
b00b570c551044438c0cc2f10d13458dc06d7613
/blog/manage.py
04b540c28bb66d56d0fd30fdc4ac7f885faba4a4
[]
no_license
shiretree/Blog
a938885d84265dfdafb338a4f226f0f52bb1cb10
9ed94c4a59468c2dea30c17cfdfe396f3e1e40b9
refs/heads/master
2020-08-18T18:33:39.991254
2019-10-25T15:31:35
2019-10-25T15:31:35
215,821,661
0
0
null
null
null
null
UTF-8
Python
false
false
868
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": profile = os.environ.get('blog_PROFILE','develop') os.environ.setdefault("DJANGO_SETTINGS_MODULE", "blog.setting.%s" %profile) try: from django.core.management import execute_from_command_line except ImportError: # Th...
[ "email" ]
email
237d8804034a2eb54bcae35783ec451375f13cef
60a831fb3c92a9d2a2b52ff7f5a0f665d4692a24
/IronPythonStubs/release/stubs.min/System/Security/AccessControl_parts/SemaphoreAuditRule.py
4209494d452e4bc8c10f25f9e20fabe9f90a6b55
[ "MIT" ]
permissive
shnlmn/Rhino-Grasshopper-Scripts
a9411098c5d1bbc55feb782def565d535b27b709
0e43c3c1d09fb12cdbd86a3c4e2ba49982e0f823
refs/heads/master
2020-04-10T18:59:43.518140
2020-04-08T02:49:07
2020-04-08T02:49:07
161,219,695
11
2
null
null
null
null
UTF-8
Python
false
false
772
py
class SemaphoreAuditRule(AuditRule): """ Represents a set of access rights to be audited for a user or group. This class cannot be inherited. SemaphoreAuditRule(identity: IdentityReference,eventRights: SemaphoreRights,flags: AuditFlags) """ @staticmethod def __new__(self,identity,eventRights,flags): """ __n...
[ "magnetscoil@gmail.com" ]
magnetscoil@gmail.com
bc1dbcc61274452333d727b7e2e93d0812fbc166
9222114c0b39007eb1af715cf18fc95ff282b38c
/problems/725. Split Linked List in Parts/2 - Hash Table.py
297fd75088427c8359ee2f838bbe5019b7190014
[]
no_license
Vasilic-Maxim/LeetCode-Problems
1a2a09edca6489a349e5d69d087279630cff157d
359f3b78da90c41c7e42e5c9e13d49b4fc67fe41
refs/heads/master
2021-07-10T22:03:29.327658
2021-06-07T12:42:52
2021-06-07T12:42:52
246,826,450
0
0
null
null
null
null
UTF-8
Python
false
false
821
py
from typing import List, Any class ListNode: def __init__(self, val=0, next=None): self.val = val self.next = next class Solution: def splitListToParts(self, root: ListNode, k: int) -> List[Any]: """ We always pay with time proportional to O(n + k). The worst case ari...
[ "lmantenl@gmail.com" ]
lmantenl@gmail.com
788645067729b6ef213aed8af530ea537fe1dbbd
f90bb6e4a0d47c2c78362e431b47f74395bd42dd
/BitwiseORofSubarray.py
86117d5012ccf447c11b90a59621899ac47e9c1f
[]
no_license
sainihimanshu1999/Dynamic-Programming
bc8811d10625af3bc4b81a4eb219b9b84f4e6821
65427f049b8b671e2a412497bbb06de8e8497823
refs/heads/main
2023-04-20T13:53:53.031324
2021-05-15T18:03:45
2021-05-15T18:03:45
365,940,831
0
0
null
null
null
null
UTF-8
Python
false
false
519
py
''' Bitwise or compares each bit of the number and return 1 when one of the bit is one of two numbers. In this question we are making at list of set of the existing numbers and, then calculating the or of last number with previous number and then saving the value in a set ''' def bitWiseOr(self,nums): table = [set...
[ "sainihimanshu.1999@gmail.com" ]
sainihimanshu.1999@gmail.com
6a34c022805208c44b234f2c301f4a94bd5a5713
3e3a835ee885eb9a71fd35ea58acd04361f72f47
/python基础/面向对象.py/老王开枪.py
7fb0d19a6621dfb5e9adef0e085cdce4217afadd
[]
no_license
hanfang302/py-
dbb259f24e06fbe1a900df53ae6867acb8cb54ea
dd3be494ccef5100c0f06ed936f9a540d8ca0995
refs/heads/master
2020-03-16T01:59:57.002135
2018-05-07T12:02:21
2018-05-07T12:02:21
132,454,341
0
0
null
null
null
null
UTF-8
Python
false
false
2,478
py
# 人类 class Ren: def __init__(self,name): self.name = name self.xue = 100 self.qiang = None def __str__(self): return self.name + '剩余的血量' + str(self.xue) def anzidan(self,danjia,zidan): danjia.baocunzidan(zidan) def andanjia(self,qiang,danjia): qi...
[ "hanfang123@aliyun.com" ]
hanfang123@aliyun.com
ccf114278c3df46b18fe342b6d5710fdad5037a8
dac12c9178b13d60f401c4febff5569af8aa2719
/cvat-sdk/cvat_sdk/core/utils.py
1708dfd5779affd0d04466cf7bdec0ce4858f5c8
[ "LGPL-2.0-or-later", "MIT", "GPL-1.0-or-later" ]
permissive
opencv/cvat
39dc66ca20f972ba40b79c44d7ce43590dc0b0b5
899c9fd75146744def061efd7ab1b1c6c9f6942f
refs/heads/develop
2023-08-19T04:27:56.974498
2023-08-18T09:58:25
2023-08-18T09:58:25
139,156,354
6,558
1,887
MIT
2023-09-14T12:44:39
2018-06-29T14:02:45
TypeScript
UTF-8
Python
false
false
2,077
py
# Copyright (C) 2022 CVAT.ai Corporation # # SPDX-License-Identifier: MIT from __future__ import annotations import contextlib import itertools import os from typing import ( IO, Any, BinaryIO, ContextManager, Dict, Iterator, Literal, Sequence, TextIO, Union, overload, ) ...
[ "noreply@github.com" ]
opencv.noreply@github.com
e53556e3a604085aa6f7add4581285a4e52224d2
96dcea595e7c16cec07b3f649afd65f3660a0bad
/homeassistant/components/sensorpro/device.py
326eb8b8bbd743ce3d1776ded36c6a74498130aa
[ "Apache-2.0" ]
permissive
home-assistant/core
3455eac2e9d925c92d30178643b1aaccf3a6484f
80caeafcb5b6e2f9da192d0ea6dd1a5b8244b743
refs/heads/dev
2023-08-31T15:41:06.299469
2023-08-31T14:50:53
2023-08-31T14:50:53
12,888,993
35,501
20,617
Apache-2.0
2023-09-14T21:50:15
2013-09-17T07:29:48
Python
UTF-8
Python
false
false
442
py
"""Support for SensorPro devices.""" from __future__ import annotations from sensorpro_ble import DeviceKey from homeassistant.components.bluetooth.passive_update_processor import ( PassiveBluetoothEntityKey, ) def device_key_to_bluetooth_entity_key( device_key: DeviceKey, ) -> PassiveBluetoothEntityKey: ...
[ "noreply@github.com" ]
home-assistant.noreply@github.com
a53c1b3c8f40c312958b8b0d54c48ea0ac2ffa34
824f831ce0921b3e364060710c9e531f53e52227
/Leetcode/Arrays/LC-287. Find the Duplicate Number.py
5901d94bc86c781e7f2bae0c1ee771b979e4f97d
[]
no_license
adityakverma/Interview_Prepration
e854ff92c10d05bc2c82566ea797d2ce088de00a
d08a7f728c53943e9a27c33f8e4249633a69d1a6
refs/heads/master
2020-04-19T19:36:06.527353
2019-06-15T23:02:30
2019-06-15T23:02:30
168,392,921
0
2
null
null
null
null
UTF-8
Python
false
false
3,076
py
# Given an array nums containing n + 1 integers where each integer is between 1 and n (inclusive), # prove that at least one duplicate number must exist. Assume that there is only one duplicate # number, find the duplicate one. # Example 1: # # Input: [1,3,4,2,2] # Output: 2 # # Example 2: # # Input: [3...
[ "noreply@github.com" ]
adityakverma.noreply@github.com
0cef47601e24ce2571e4fae9c030c83522f29d60
4505ae4b6fee0e32d799f22c32b18f79884daef4
/src/keras/tests/test_loss_masking.py
36ad471de77211bb1b4ed6288f94f34c0bdec80b
[ "MIT", "Apache-2.0" ]
permissive
lu791019/iii_HA_Image_Recognition_DL
5cde9c2d0c06f8fe3fb69991b27fda87d42450e1
d5f56d62af6d3aac1c216ca4ff309db08a8c9072
refs/heads/master
2020-08-03T06:56:05.345175
2019-09-29T13:20:24
2019-09-29T13:20:24
211,660,905
0
0
null
null
null
null
UTF-8
Python
false
false
1,531
py
import numpy as np import pytest from keras.models import Sequential from keras.engine.training_utils import weighted_masked_objective from keras.layers import TimeDistributed, Masking, Dense from keras import losses from keras import backend as K def create_masking_model(): model = Sequential() ...
[ "noreply@github.com" ]
lu791019.noreply@github.com
c67d6fe7ce1bebab2ccccf1fba0bb20116d81484
98a5677396a4fdaad36ff8bb67ca08a8a79f2c13
/example/toolbox/management/commands/createcalaccessrawmodeldocs.py
556aeea30f7002572d4f9c2ebe907c70da08d12d
[ "MIT" ]
permissive
livlab/django-calaccess-raw-data
542255e5ad9ca50996163591cb7b0f24f57724ff
3fd8b7505e158cb3159603ce4f42e3508af9e0bf
refs/heads/master
2020-04-05T23:07:01.637833
2015-08-29T18:19:08
2015-08-29T18:19:08
41,603,060
1
0
null
2015-08-29T18:23:17
2015-08-29T18:23:17
null
UTF-8
Python
false
false
1,089
py
import os from django.conf import settings from calaccess_raw import get_model_list from django.template.loader import render_to_string from calaccess_raw.management.commands import CalAccessCommand class Command(CalAccessCommand): help = 'Generate documentation for raw CAL-ACCESS database models' def handle...
[ "ben.welsh@gmail.com" ]
ben.welsh@gmail.com
0b45f2cad03d55adf2caed48ec14aabf6dd1204f
4ee2ebef215cf879aafdfa44221f52d82775176a
/Inheritance/Exercise/03-Players_And_Monsters/project/wizard.py
6c54fe969f329c58c92fa42e89364eb28a5deac0
[]
no_license
Avstrian/SoftUni-Python-OOP
d2a9653863cba7bc095e647cd3f0561377f10f6d
6789f005b311039fd46ef1f55f3eb6fa9313e5a6
refs/heads/main
2023-08-01T09:31:38.099842
2021-08-24T04:21:38
2021-08-24T04:21:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
238
py
from project.hero import Hero class Wizard(Hero): def __init__(self, username, level): super().__init__(username, level) def __str__(self): return f"{self.username} of type Wizard has level {self.level}"
[ "noreply@github.com" ]
Avstrian.noreply@github.com
14b95097ebef6310a10450b50fa85478aad59ebf
ef08d1e969a53c279e75b0120683eb3ec6914adf
/App/models.py
e0b07d140b75aa8ec9c5b43d15a64c2d31bf5e35
[]
no_license
yuansuixin/learn-flask-city
7278fa567b5d6825fd2c121114495092c4612a09
f8bfd1d8daff9c18c1ee71f1770fdb83ce6dfa2f
refs/heads/master
2021-04-09T15:31:26.120510
2018-03-19T08:54:59
2018-03-19T08:54:59
125,822,109
0
1
null
null
null
null
UTF-8
Python
false
false
759
py
from App.ext import model class Provice(model.Model): pid = model.Column(model.Integer,primary_key=True,autoincrement=True) name = model.Column(model.String(32)) cities = model.relationship('City',backref='Provice',lazy='dynamic') class City(model.Model): cid = model.Column(model.Integer,primary_...
[ "cyss428@163.com" ]
cyss428@163.com
dbf46d8ca805cf2f79e58f27d726c87ea0b78fa6
264787b5f42d482db2ef0838b45ec79db71e6e2f
/home/views.py
1edd90b3506e5941e7f0205e6a6a010d7ff9f5b2
[]
no_license
felipefoc/PrecoCertoChallenge2
f0700788f363ce9b72234a3d7df35ef1ea78d6b2
446854bc1823a06b207b30a10e14e71f7c982bee
refs/heads/main
2023-04-21T23:04:34.942298
2021-05-10T22:10:10
2021-05-10T22:10:10
366,187,651
0
0
null
null
null
null
UTF-8
Python
false
false
1,431
py
from django.shortcuts import render from django.views.generic import ListView from home.models import Product, Order, ProductSold from django.db.models import Q import json import datetime def homeview(request): with open('data.json', 'r+') as f: data = json.load(f) # y = ProductSold.objects.get(id=...
[ "felipemfmayer@gmail.com" ]
felipemfmayer@gmail.com
e02f281a024f31c0d46eb8c5482cbf9893fe7f56
4c601eaa346e660c296e270cc2d79aea9a3721fe
/tests/components/homekit_controller/specific_devices/test_homeassistant_bridge.py
e9fc9b522ea9223ad12b87d8feb8101ae4925a4a
[ "Apache-2.0" ]
permissive
basnijholt/home-assistant
f55110af9ff602274c0a929c7298ef97a0ef282f
ba55b4b8338a2dc0ba3f1d750efea49d86571291
refs/heads/dev
2023-01-21T11:53:52.621353
2020-08-08T15:03:06
2020-08-08T15:03:06
220,313,680
5
1
Apache-2.0
2023-01-13T06:04:49
2019-11-07T19:29:54
Python
UTF-8
Python
false
false
1,900
py
"""Test against characteristics captured from the Home Assistant HomeKit bridge running demo platforms.""" from homeassistant.components.fan import ( SUPPORT_DIRECTION, SUPPORT_OSCILLATE, SUPPORT_SET_SPEED, ) from tests.components.homekit_controller.common import ( Helper, setup_accessories_from_f...
[ "balloob@gmail.com" ]
balloob@gmail.com
9b9c66415e4cc7864cca1de30a392308b4d18434
3deef77b752c9940ac1cbe35dbcfb6a9ede59c67
/12day/03.WSGIServer.py
d2a68325e7e005d5449172bdc125a07b9a6af31b
[]
no_license
vstarman/python_codes
c682a4aa96e90172da6292f4e245da4a41c97531
64ddd38af6cf65861602620a0196bc460bc359d4
refs/heads/master
2021-09-05T01:31:55.882001
2018-01-23T12:43:45
2018-01-23T12:43:45
114,988,789
1
0
null
null
null
null
UTF-8
Python
false
false
3,421
py
import socket, time, re, sys class WSGIServer(): """定义一个wsgi服务器的类""" def __init__(self, documents_root, port=8080): # creat self.server_socket = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) # reuse self.server_socket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) ...
[ "vstarman@foxmail.com" ]
vstarman@foxmail.com
79d6585724e04b28bac073cb392c9c5ef0bd59b8
d4a569dcf616b7f05e53a44803e38196b436b8b9
/Thesis@3.9.1/Lib/site-packages/mypy/typeshed/stdlib/3/sys.pyi
d4f755c1ad33599685ded3ba3658e1b9ccca7d02
[ "MIT" ]
permissive
nverbois/TFE21-232
ac3178d24939c872c02a671c0f1d8cc471af516b
7113837b5263b5c508bfc6903cb6982b48aa7ee4
refs/heads/main
2023-06-05T18:50:59.207392
2021-06-25T19:54:40
2021-06-25T19:54:40
337,691,391
0
0
null
null
null
null
UTF-8
Python
false
false
5,925
pyi
# Stubs for sys # Ron Murawski <ron@horizonchess.com> # based on http://docs.python.org/3.2/library/sys.html from typing import ( List, NoReturn, Sequence, Any, Dict, Tuple, TextIO, overload, Optional, Union, TypeVar, Callable, Type, ) import sys from types import F...
[ "38432529+nverbois@users.noreply.github.com" ]
38432529+nverbois@users.noreply.github.com
a743c452d4c63fee68c318c62fa4043b50388f12
7137161629a1003583744cc3bd0e5d3498e0a924
/airflow/migrations/versions/142555e44c17_add_data_interval_start_end_to_dagmodel_and_dagrun.py
2eedcb81c6444f27cf2d8e79fb281f9a9134fc2e
[ "Apache-2.0", "BSD-3-Clause", "MIT" ]
permissive
jbampton/airflow
3fca85975854eb916f16143b659a9119af143963
dcfa14d60dade3fdefa001d10013466fe4d77f0d
refs/heads/master
2023-05-25T22:31:49.104069
2021-09-18T19:18:32
2021-09-18T19:18:32
247,645,744
3
0
Apache-2.0
2020-03-16T08:12:58
2020-03-16T08:12:57
null
UTF-8
Python
false
false
2,859
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...
[ "noreply@github.com" ]
jbampton.noreply@github.com
5d1e6afc58cdf15e0476c647d701b742ce6780f6
60cf82eeddce21893f06a4b76e5b0515430b3ef2
/src/sintax/formats/criterion.py
a1e085b7288cde54d37257460d492ba2b9018613
[ "ISC" ]
permissive
theasylum/sintax
963e89c0984ee22b4f873d62cdac063efc6b748f
a81fdf1a891595168df53ac1d177d99eac16fb76
refs/heads/master
2020-06-22T15:26:33.171259
2019-07-19T08:46:29
2019-07-19T08:46:29
197,737,261
1
0
null
null
null
null
UTF-8
Python
false
false
2,797
py
""" Reads Criterion "raw.csv" files, and returns the resulting input into a dictionary that can be further manipulated. Criterion stores results as follows: $PROJECT/target/criterion/{benchmark group}/{function name}/ {value passed to function (parameters)}/ Inside that folder there are two other fol...
[ "bertjw@regeer.org" ]
bertjw@regeer.org
753ead96f492949a999e23032b1dce59150254e9
ba99df13d39dc8aa696c38a6c49d5193ce5c4c80
/scripts/box3d_trpo/run_box3d_pixel_v15_tf_fred_arch.py
bf6b510b2555cccd040e0c4dd8d3f1264665f7e8
[ "MIT" ]
permissive
fredshentu/public_model_based_controller
e5434ec075420ec5dd6d7355ba4751744a9b6248
9301699bc56aa49ba5c699f7d5be299046a8aa0c
refs/heads/master
2021-08-28T01:08:12.166349
2017-12-11T01:11:36
2017-12-11T01:11:36
113,795,659
0
0
null
null
null
null
UTF-8
Python
false
false
2,903
py
import os from sandbox.rocky.tf.baselines.nn_baseline import NNBaseline from sandbox.rocky.tf.core.network import ConvNetwork from sandbox.rocky.tf.policies.gaussian_conv_feature_policy import GaussianConvFeaturePolicy from sandbox.rocky.tf.policies.gaussian_conv_policy import GaussianConvPolicy from rllab.baselines.ze...
[ "fred960315@gmail.com" ]
fred960315@gmail.com
a7792d90a0b66b5d879402881bb716e6b36e682e
18a7c2173eb4fbb66bcc8b2ef117aad863846b83
/etc/krri.py
2d80dc5b94937d43053fc554347ee0e474096650
[]
no_license
mynameiskirang/python
5968607f6f61406e9f4b69b1a9edff31e84df153
4a48ea50378f9e079d0ece9110fc33afadf77434
refs/heads/master
2020-05-19T17:49:50.720578
2019-04-21T16:13:28
2019-04-21T16:13:28
null
0
0
null
null
null
null
UHC
Python
false
false
1,066
py
import csv col = 10 blank = 4 arr = [[""]*(col*blank) for i in range(600000)] setting = [[""]*8 for i in range(27)] Num = 0 for num in range(1,10): for i in range(0, col): for j in range(0, 10): try: #읽을파일 rname= "Graph"+str(num)+"_Wave_Tshort_00" + str(i) + s...
[ "na_qa@icloud.com" ]
na_qa@icloud.com
cfd926890b7a12f971499b3d9a97b2535364d58e
786027545626c24486753351d6e19093b261cd7d
/ghidra9.2.1_pyi/ghidra/util/graph/Edge.pyi
2e34bad38d5952aca6e6483e08bacaac28e839b6
[ "MIT" ]
permissive
kohnakagawa/ghidra_scripts
51cede1874ef2b1fed901b802316449b4bf25661
5afed1234a7266c0624ec445133280993077c376
refs/heads/main
2023-03-25T08:25:16.842142
2021-03-18T13:31:40
2021-03-18T13:31:40
338,577,905
14
1
null
null
null
null
UTF-8
Python
false
false
1,520
pyi
import ghidra.util.graph import java.lang class Edge(object, ghidra.util.graph.KeyedObject, java.lang.Comparable): """ An Edge joins a pair of vertices. The from and to vertex of an edge can not be changed. """ def __init__(self, from_: ghidra.util.graph.Vertex, to: ghidra.util.graph.Vertex)...
[ "tsunekou1019@gmail.com" ]
tsunekou1019@gmail.com
859989ba770691ea96442cfcb7bbca9d2a652d36
9cdfe7992090fb91696eec8d0a8ae15ee12efffe
/greedy/maxMeetingsInRoom.py
c72a5d81483d96a85aa1f85718ef0ebd0ad17341
[]
no_license
binchen15/leet-python
e62aab19f0c48fd2f20858a6a0d0508706ae21cc
e00cf94c5b86c8cca27e3bee69ad21e727b7679b
refs/heads/master
2022-09-01T06:56:38.471879
2022-08-28T05:15:42
2022-08-28T05:15:42
243,564,799
1
0
null
null
null
null
UTF-8
Python
false
false
573
py
# wrong answer. Suspect the solution is wrong class Solution: def maxMeetings(self, N : int, S : List[int], F : List[int]) -> List[int]: # code here meets = list(zip(F, S, range(1, N+1))) meets.sort(key = lambda x: (x[0], x[1])) ans = [meets[0]] i = 1 while i < N...
[ "binchen.swe@gmail.com" ]
binchen.swe@gmail.com
7d0de73ae40f72ae5e0dd9c1981cc60ab149e75e
0b793bce2da8c3d09b7956c0672ddbffd46feaed
/atcoder/arc/arc084_a.py
d067d9c30e55cb49bb016c94a255db4d323cc47e
[ "MIT" ]
permissive
knuu/competitive-programming
c6c4e08fb231937d988bdc5a60a8ad6b31b97616
16bc68fdaedd6f96ae24310d697585ca8836ab6e
refs/heads/master
2021-01-17T09:39:02.647688
2020-11-07T03:17:22
2020-11-07T03:17:22
27,886,732
1
0
null
null
null
null
UTF-8
Python
false
false
332
py
from bisect import bisect_left N = int(input()) A = sorted(int(x) for x in input().split()) B = sorted(int(x) for x in input().split()) C = sorted(int(x) for x in input().split()) cnt = [0] * (N + 1) for i, b in enumerate(B): cnt[i + 1] = bisect_left(A, b) cnt[i + 1] += cnt[i] print(sum(cnt[bisect_left(B, c)] f...
[ "premier3next@gmail.com" ]
premier3next@gmail.com
ac79f8d7257e3bf527da58a1c4b70d913cda6521
39e1e256acae3fe9be4434024d42b9bb47bdd02f
/analysis/submissions/e88d1e36c4db7410802b3fda6db81d38_task1-1_1597071296/task1-1/main.py
bf7fdcd651f55cfacb57e5584ca141091694c7ef
[]
no_license
neulab/tranx-study
9fb67b9a2181f0b362e4f97316c502eee4539b19
e2a7089689f7f95e773e19c8f19513abe4fb8b9b
refs/heads/master
2023-06-14T04:46:01.010892
2021-07-08T09:29:05
2021-07-08T09:29:05
250,357,553
2
1
null
null
null
null
UTF-8
Python
false
false
366
py
# Example code, write your program here import random import string import pprint characters_list=[] int_list=[] for i in range(100): characters_list.append(random.choice(string.ascii_lowercase)) int_list.append(random.randint(1, 21)) #print(characters_list) #print(int_list) dictionary = dict(zip(characters_l...
[ "frankxu2004@gmail.com" ]
frankxu2004@gmail.com
4e452ec076db8ba7fd506905ae39e9d8ae5a789b
0d9fda11b6f6b0cb1cf397aa45dd21cf3a612b15
/docs/projects/oop-in-python/msdie.py
927ff5409510a059756145ac111486be6e4d03e7
[ "MIT" ]
permissive
milpontiangwenya/tech-department
c98eb9375558c81f022a9615b3f9c53fa2cfa4b9
7a4e7d7cd2675c19510cf9a80dcac504674111ce
refs/heads/master
2022-02-07T12:46:27.927665
2019-07-23T06:45:05
2019-07-23T06:45:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
284
py
#class definition for an n-sided die #import packages class MSdie: #constructor here #define classmethod 'roll' to roll the MSdie #define classmethod 'getValue' to return the current value of the MSdie #define classmethod 'setValue' to set the die to a particular value
[ "sheena.oconnell@gmail.com" ]
sheena.oconnell@gmail.com
16dc363eea70d018e7688966abab2cf64ad39754
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_144/ch46_2020_04_06_19_03_41_278160.py
359be63da56cf45e5606981e79c2a3b001d2471e
[]
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
177
py
def numero_no_indice(lista): i = 0 new_list = [] while i < len(lista): if lista[i] == i: new_list.append(i) i +=1 return new_list
[ "you@example.com" ]
you@example.com
e05c00915f992b03e9d9703f593bb0844b22ee57
ddc15592dede715b4aff97a10009d39bba76e566
/lsnm_in_python/analysis/avg_FC_diffs_across_subjs.py
d5dbdd3821babd54263ffe896edda9a788746676
[ "LicenseRef-scancode-public-domain" ]
permissive
xlong0513/Brain_inspired
d8a5c02da17f56d8906d5fa76efd3a757c5b5ae0
816c1c4fd5eb19d0463ba19c0a8c0db8465b4912
refs/heads/master
2022-06-01T20:44:07.366460
2020-05-05T10:05:36
2020-05-05T10:05:36
256,150,573
0
0
null
null
null
null
UTF-8
Python
false
false
7,842
py
# ============================================================================ # # PUBLIC DOMAIN NOTICE # # National Institute on Deafness and Other Communication Disorders # # This software/database is a "United States Government Work" under the # terms of the United States Copyright ...
[ "xinlong0513@163.com" ]
xinlong0513@163.com
2217ee76daecfe84f81849ca7bcda17568b04510
7bc004d6e22ccec582f2fb7f6651a4034feff4f5
/Interpolation/Other/New Tab with Masters of Selected Glyphs.py
9cc9c627ea19d4987f713d9fc33c2ca3ba19dc8e
[ "Apache-2.0" ]
permissive
beppeartz/Glyphs-Scripts
d7102291b2bd6bda2680aaeadac4133ddef82327
e248fb0701949473dfde358ee83acf3a564c9d55
refs/heads/master
2022-01-13T22:07:28.532747
2021-12-27T22:01:11
2021-12-27T22:01:11
40,445,584
0
0
null
2015-08-09T18:06:09
2015-08-09T18:06:09
null
UTF-8
Python
false
false
467
py
#MenuTitle: New Tab with Masters of Selected Glyphs # -*- coding: utf-8 -*- from __future__ import division, print_function, unicode_literals __doc__=""" Opens a new Edit tab containing all masters of selected glyphs. """ import masterNavigation as nav thisFont = Glyphs.font # frontmost font if thisFont and thisFont....
[ "res@glyphsapp.com" ]
res@glyphsapp.com
337be842715a37c45179d4aa5d8920ef90f7b136
82b946da326148a3c1c1f687f96c0da165bb2c15
/sdk/python/pulumi_azure_native/elastic/v20200701preview/_enums.py
f335bf9639b12e949bd76fca9ff7ea773793f0e6
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
morrell/pulumi-azure-native
3916e978382366607f3df0a669f24cb16293ff5e
cd3ba4b9cb08c5e1df7674c1c71695b80e443f08
refs/heads/master
2023-06-20T19:37:05.414924
2021-07-19T20:57:53
2021-07-19T20:57:53
387,815,163
0
0
Apache-2.0
2021-07-20T14:18:29
2021-07-20T14:18:28
null
UTF-8
Python
false
false
1,075
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! *** from enum import Enum __all__ = [ 'ManagedIdentityTypes', 'MonitoringStatus', 'ProvisioningState', 'TagAction', ] class ManagedIdent...
[ "noreply@github.com" ]
morrell.noreply@github.com
32c25525e3d4a909105ca7adf465fa65d2316389
fb909b0716f62ae118afa7d505cbcbd28f62bc63
/venv/lib/python3.6/site-packages/tracking/migrations/0040_auto_20201031_0439.py
3f0a6705ae023c6014d6e71b02ccf0bc7cc31a78
[]
no_license
dkalola/JustAsk-Final
a5b951462cd3c88eb84320bb8fcf10c32f959090
c2e7c2ffae4d3c2d870d5ba5348a6bae62db5319
refs/heads/main
2023-05-24T16:02:17.425251
2021-06-16T19:33:52
2021-06-16T19:33:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
728
py
# Generated by Django 3.1.1 on 2020-10-31 04:39 import datetime from django.db import migrations, models from django.utils.timezone import utc class Migration(migrations.Migration): dependencies = [ ('tracking', '0039_auto_20201031_0438'), ] operations = [ migrations.AlterField( ...
[ "divyanshukalola88@gmail.com" ]
divyanshukalola88@gmail.com
d80d5e79d8651a54d21a6514d4614a3945acca00
5381c2f94c9c11a0b9678378bbf0ea783f6969f8
/calc/pycalc/safe.py
dbc124b5af8cac08b789bd2fe4c7cbe9d55af647
[]
no_license
Bowserinator/AegisCommand
ccdcf2807e63e633bd9bb261699ff18d79bc275f
2b226751f6302361cffef42378be4174621e372a
refs/heads/master
2021-01-02T23:45:47.845299
2017-08-06T19:05:30
2017-08-06T19:05:30
99,507,460
0
0
null
null
null
null
UTF-8
Python
false
false
1,831
py
"""Safety script to delete unsafe variables in the code Kinda useless but I guess some people would find it better to have it""" unsafe = [ "__import__", "import", "decode", "encode", "eval", "exec", "open", "sys", "os", "file", "imp", "class", "assert", "def", ...
[ "bowserinator@gmail.com" ]
bowserinator@gmail.com
6ff64b329113605c8ac4da135caca84159e6afe4
aa5050aeccdd649730c1163e56e98bcd919e460d
/Tree/树的子结构/HasSubtree.py
dba29b7948a5854b5f3feb5909279e8b7ae2c156
[]
no_license
darrenzhang1007/Algorithm
482ad837fc7135ba521d73f21989d2326953d506
8e121225b7952ef0aa45d2d4970874be944ae93a
refs/heads/master
2022-12-02T17:44:41.934246
2020-08-16T15:43:42
2020-08-16T15:43:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,614
py
# -*- coding:utf-8 -*- class TreeNode: def __init__(self, x): self.val = x self.left = None self.right = None class Solution: def HasSubtree(self, pRoot1, pRoot2): # write code here if pRoot2 is None or pRoot1 is None: return False def hasEqual(pRoo...
[ "785320051@qq.com" ]
785320051@qq.com
6687abcc4ee980ffd28c09a14f24077d5e749ae6
42b9bafc3c757543328d93fb60269ad4255aae17
/cashier/resources.py
c2beeae2162a11491ed2aae2133b94bc811190ed
[ "MIT" ]
permissive
mejeng/kasir
4fe66d1828e72b64d770426d71185cdd3c54127e
cc6f9158b61c0cb45078ddf798af9588c8771311
refs/heads/master
2020-09-25T03:36:10.144439
2019-11-30T07:59:23
2019-11-30T07:59:23
225,908,795
2
0
MIT
2019-12-04T16:21:15
2019-12-04T16:21:15
null
UTF-8
Python
false
false
174
py
from import_export import resources from .models import DaftarTransaksi class TransactionResources(resources.ModelResource): class Meta: model = DaftarTransaksi
[ "slashsdull@gmail.com" ]
slashsdull@gmail.com
98a517e82787535c19015d8f41d39aa87c68a537
6e47be4e22ab76a8ddd7e18c89f5dc4f18539744
/venv/openshift/lib/python3.6/site-packages/kubernetes/client/models/v1_server_address_by_client_cidr.py
6997dea23e00ca144b27a0e500d5e3e95206dbf1
[]
no_license
georgi-mobi/redhat_ocp4.5_training
21236bb19d04a469c95a8f135188d3d1ae473764
2ccaa90e40dbbf8a18f668a5a7b0d5bfaa1db225
refs/heads/main
2023-03-30T10:47:08.687074
2021-04-01T05:25:49
2021-04-01T05:25:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,650
py
# coding: utf-8 """ Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1.12.11 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from pprint import pformat from six import iteritems import r...
[ "student@workstation.lab.example.com" ]
student@workstation.lab.example.com
83d741e529035424bfb173e6f1d599799aa25c89
7c15f211adc9e9eb9f66ccdd570c9f38dff7ea8d
/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/RequiredOptionalVersionTolerant/requiredoptionalversiontolerant/_client.py
76b0fc3cb80ffb00dc5a9f3edc0074f398f2c82d
[ "LicenseRef-scancode-generic-cla", "MIT" ]
permissive
Azure/autorest.python
cc4bfbf91ae11535731cad37cedd6b733edf1ebd
a00d7aaa3753ef05cb5a0d38c664a90869478d44
refs/heads/main
2023-09-03T06:58:44.246200
2023-08-31T20:11:51
2023-08-31T20:11:51
100,315,955
47
40
MIT
2023-09-14T21:00:21
2017-08-14T22:58:33
Python
UTF-8
Python
false
false
4,073
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
Azure.noreply@github.com
d2741b142ac72bf65915d1fca8e80a9bcbbb454d
f3caf3519b410f1ee98d1e55f781bb60132f211a
/sesion_4/robotai.py
28a2c2718d3e521c57f770af2bd7a7001c1ff91c
[]
no_license
diegotriana11/python-master
3895f3cc41cf7f0fe474b522162670ec6aaeccba
e7b654870896d2c94e2be24d5683574aaf6cb44b
refs/heads/master
2020-09-07T16:58:02.727670
2016-09-25T19:41:58
2016-09-25T19:41:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
826
py
from robot import Robot import matplotlib.pyplot as plot import math class RobotAI(Robot): def seguir(self, xo, yo): ux = math.cos(self.t) uy = math.sin(self.t) vx = xo - self.x vy = yo - self.y d = ux * vx + uy * vy r = (vx**2 + vy**2)**0.5 if d >= r: ...
[ "kmmx@hsoft.local" ]
kmmx@hsoft.local
ec9661055806bf608d680c31602cddf4f16afaff
b42850bc3e36bbd1683070393582617f2b3cd8e6
/Exam_16_08_20/project/software/express_software.py
db3c3bd039c77f3f14e0dd0f082a137f77802d9b
[]
no_license
marianidchenko/Python_OOP
aecca18be6df3850c0efbf2fa6d25bf3ff53ae96
547c12cbdad5b8c16fa55bba6c03b71db181ad2b
refs/heads/main
2023-07-09T05:42:43.863681
2021-08-14T14:55:51
2021-08-14T14:55:51
381,572,168
0
0
null
null
null
null
UTF-8
Python
false
false
361
py
from project.software.software import Software class ExpressSoftware(Software): TYPE = "Express" memory_factor = 2 def __init__(self, name, capacity_consumption, memory_consumption): new_memory = int(memory_consumption * ExpressSoftware.memory_factor) super().__init__(name, ExpressSoftwar...
[ "marianidchenko@gmail.com" ]
marianidchenko@gmail.com
d1452747a62b51f3b744fe1e987a746fb2a010b1
342a1ec794df5424bfc4f6af2cb8de415068201b
/oscar_promotions/conf.py
04a41e4cddd3b7b455d944474aaf7f48062c75e4
[]
no_license
penta-srl/django-oscar-promotions
c5d0b159950189f23852665ce7e3b3a2fe248bd5
65bdf39b48409311e7284fc0a12e8b2e17f176dd
refs/heads/master
2020-07-06T23:48:45.660316
2019-07-08T19:23:15
2019-07-08T19:23:15
203,176,440
0
0
null
2019-08-19T13:16:55
2019-08-19T13:16:55
null
UTF-8
Python
false
false
717
py
from oscar.core.loading import get_class SingleProduct = get_class('oscar_promotions.models', 'SingleProduct') RawHTML = get_class('oscar_promotions.models', 'RawHTML') Image = get_class('oscar_promotions.models', 'Image') PagePromotion = get_class('oscar_promotions.models', 'PagePromotion') AutomaticProductList = get...
[ "sasha@sasha0.ru" ]
sasha@sasha0.ru
d906fab608afb5da22ad7279b6627e64d47fe827
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02686/s748344982.py
09fa7e43a826d467f581733c8790139b8003bb68
[]
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
862
py
# input N = int(input()) S = [input() for _ in range(N)] # process T = [] for s in S: while '()' in s: s = s.replace('()', '') T.append(s) l1 = [] l2 = [] for t in T: op = t.find('(') if op < 0: op = len(t) cl = len(t) - op if cl+op != 0: if cl <= op: l...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
988a51826c16601bdc825af89f23a17af69d3daa
9d9eb39e6adc35926d9ca5c38d5bbd05ccc6d15b
/python/binary_tree/create_balanced_btree.py
5e53687e1bcacc998a3609384e40dcbd86054e01
[ "Unlicense" ]
permissive
amitsaha/learning
8121d60639f64a2a517ffb855d73de083ebfb445
4c1d85adf8018465716a1e8a74afadfe5f5528a2
refs/heads/master
2023-03-07T13:55:12.871756
2022-11-08T06:45:23
2022-11-08T06:45:23
25,386,786
6
4
Unlicense
2023-02-25T00:55:16
2014-10-18T04:03:55
Python
UTF-8
Python
false
false
709
py
''' Create a balanced binary search tree from a given sorted array ''' class Node: def __init__(self, value): self.value = value self.left = None self.right = None def preorder(root): print root.value if root.left: preorder(root.left) if root.right: preorde...
[ "amitsaha.in@gmail.com" ]
amitsaha.in@gmail.com
289e1088e4ac6e54a7bd6c0dc0eb8024313a147a
333fac4c6a47b2448eca1017a794c386672a4aba
/neighbourapp/migrations/0003_auto_20201103_2036.py
b285ede772a02a3b392c5fce9cc0ac7e9b5d8708
[ "MIT" ]
permissive
mornicamwende/neighbourhood
106412d39b55b52f6cf4fb034e54e294f5de03f9
bf85d7afdb77b059856dc7ecc695cb79d8d1ffd0
refs/heads/master
2023-01-06T01:33:27.812531
2020-11-04T13:29:31
2020-11-04T13:29:31
308,653,821
0
0
null
null
null
null
UTF-8
Python
false
false
394
py
# Generated by Django 3.1.2 on 2020-11-03 17:36 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('neighbourapp', '0002_auto_20201103_2026'), ] operations = [ migrations.AlterField( model_name='post', name='image', ...
[ "mornicamwende@gmail.com" ]
mornicamwende@gmail.com
5cfe9617298832ed1cb529b6d28f06ad8c37988c
a9e3f3ad54ade49c19973707d2beb49f64490efd
/Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/lms/djangoapps/survey/tests/test_views.py
bcbf6f04e6125996702cb113e23943703d10372e
[ "AGPL-3.0-only", "AGPL-3.0-or-later", "MIT" ]
permissive
luque/better-ways-of-thinking-about-software
8c3dda94e119f0f96edbfe5ba60ca6ec3f5f625d
5809eaca7079a15ee56b0b7fcfea425337046c97
refs/heads/master
2021-11-24T15:10:09.785252
2021-11-22T12:14:34
2021-11-22T12:14:34
163,850,454
3
1
MIT
2021-11-22T12:12:31
2019-01-02T14:21:30
JavaScript
UTF-8
Python
false
false
5,465
py
""" Python tests for the Survey views """ import json from collections import OrderedDict from django.test.client import Client from django.urls import reverse from common.djangoapps.student.tests.factories import UserFactory from lms.djangoapps.survey.models import SurveyAnswer, SurveyForm from xmodule.modulestore...
[ "rafael.luque@osoco.es" ]
rafael.luque@osoco.es
c182670425a76e290a3d131e32c3fce1768e54e4
9c718b8964d476db4728fc0cf18e24292dd8cf60
/MxOnline/MxOnline/urls.py
b6f6b97c405f6cd71efc76a9ad34b390a91b32ce
[]
no_license
1400720231/Django-Projects
960f9226e0f5c01628afd65b9a78e810fdeb1b83
72f96788163f7ffe76e7599966ddbfa1d2199926
refs/heads/master
2021-06-25T17:41:14.147011
2019-04-03T02:24:38
2019-04-03T02:24:38
114,955,012
1
0
null
null
null
null
UTF-8
Python
false
false
3,372
py
"""MxOnline URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.10/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-b...
[ "937886362@qq.com" ]
937886362@qq.com
adc32cb60c226e739cab0037aec5df3d8b0ede09
0b5c6244ff93d6bac085fe0309961e0ce5e8c004
/conanfile.py
920fe9a2c6a788aa79bf1fd9229e60e1447b50ad
[ "MIT" ]
permissive
jgsogo/conan-cpython
b46ee2b82e157a5035caf0fa42bc8e1f420f0432
12526431898cc4002e78ac0f12a1c2c19c45fab6
refs/heads/master
2020-05-18T13:32:58.670959
2019-05-01T16:07:12
2019-05-01T16:07:12
184,443,371
0
0
null
null
null
null
UTF-8
Python
false
false
1,232
py
from conans import ConanFile, tools, AutoToolsBuildEnvironment import shutil import os class CPython(ConanFile): name = "cpython" version = "3.7.3" settings = "os", "arch", "compiler", "build_type" def source(self): url = "https://github.com/python/cpython/archive/v{v}.tar.gz".format(v=self.v...
[ "jgsogo@gmail.com" ]
jgsogo@gmail.com
606160379df1371f13cbf233b2360cdc0625e5e2
2a54e8d6ed124c64abb9e075cc5524bb859ba0fa
/.history/3-OO-Python/14-multiple-inheritance_20200417235022.py
fa05f62062a5c7bdc540b7d8c3135b15d4cb001f
[]
no_license
CaptainStorm21/Python-Foundation
01b5fbaf7a913506518cf22e0339dd948e65cea1
a385adeda74f43dd7fb2d99d326b0be23db25024
refs/heads/master
2021-05-23T01:29:18.885239
2020-04-23T19:18:06
2020-04-23T19:18:06
253,171,611
0
0
null
null
null
null
UTF-8
Python
false
false
468
py
#multiple inheritance class User(object): def __init__ (self, name, power): self.name = name self.power = power print('init complete') def attack(self): print(f'attacking {self.power} power') class Wizard(User): def __init__(self, name, power, ): super()._...
[ "tikana4@yahoo.com" ]
tikana4@yahoo.com
c78331a1949f81f08f8e919c0054d33c36185ece
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_272/ch25_2019_03_22_10_51_48_563237.py
edf748e7c17e8fc0272a7e4d4c199205c36332a8
[]
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
202
py
distância=float(input("Digite a distância a percorrer:")) if distância <= 200: passagem = 0.5 * distância else: passagem = 0.45 * distância print("Preço da passagem: R$ %7.2f" % passagem)
[ "you@example.com" ]
you@example.com
b25aabcca727963ff09e4b3871e95ec4ca64f57f
d7ccb4225f623139995a7039f0981e89bf6365a4
/.history/carts/views_20211013002410.py
cfd3366c7921be447536d4c99af00755e78511bb
[]
no_license
tonnymuchui/django-mall
64fd4abc3725c1bd0a3dcf20b93b490fe9307b37
55c083d8433be3c77adc61939cd197902de4ce76
refs/heads/master
2023-08-23T04:59:20.418732
2021-10-13T15:59:37
2021-10-13T15:59:37
415,668,388
1
0
null
null
null
null
UTF-8
Python
false
false
4,133
py
from django.shortcuts import render, redirect, get_object_or_404 from store.models import Product,Variation from .models import Cart, CartItem from django.core.exceptions import ObjectDoesNotExist # Create your views here. def _cart_id(request): cart = request.session.session_key if not cart: cart = re...
[ "tonykanyingah@gmail.com" ]
tonykanyingah@gmail.com
674032ef2c7902a92fc86f8d1c731b4f2225bde8
717c07ef9f2192042dd850f916041404b2ab33f5
/setup.py
9182f67805f044bbcda64b333aad14127bf4e5c9
[]
no_license
espenmn/bda.plone.shopviews
38f6cc0057da4ab41d49ababd6a0b570376c78c5
36a2848839e7dea44c1020a98440707196719b99
refs/heads/master
2021-01-18T22:24:40.544985
2014-02-21T10:11:34
2014-02-21T10:11:34
10,687,852
0
0
null
2016-09-16T11:35:27
2013-06-14T11:48:36
JavaScript
UTF-8
Python
false
false
1,256
py
import os from setuptools import ( setup, find_packages, ) version = '0.3' shortdesc = " bda.plone.shop: Demo Views" longdesc = open(os.path.join(os.path.dirname(__file__), 'README.rst')).read() longdesc += open(os.path.join(os.path.dirname(__file__), 'CHANGES.rst')).read() longdesc += open(os.path.join(os.pa...
[ "espen@medialog.no" ]
espen@medialog.no
84136442ecdc9dd8adb4d27a1c727a5b81d14a55
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03837/s721538098.py
7ad462b06891930c96b5534664848c98d247d1a8
[]
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
391
py
from scipy.sparse.csgraph import floyd_warshall N,M = map(int,input().split()) edge = [[float("inf") for i in range(N)] for j in range(N) ] abc = [] for _ in range(M): a,b,c = map(int,input().split()) abc.append((a,b,c)) edge[a-1][b-1] = c edge[b-1][a-1] = c dist = floyd_warshall(edge) ans = 0 for...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
56b611cdd23a3eacfbe961dbbf80ce0bc18ede57
546b8c3e1b876aab272e587765951e8acd7b3122
/irlc/ex04/pid_lunar.py
7c78652995c803115c7a65deee9af271741577a6
[]
no_license
natashanorsker/RL_snakes
2b8a9da5dd1e794e832830ab64e57ab7d4b0d6c3
be8c75d1aa7a5ba7a6af50a0a990a97b0242c49d
refs/heads/main
2023-04-21T14:08:30.840757
2021-05-11T17:33:35
2021-05-11T17:33:35
358,572,447
1
1
null
null
null
null
UTF-8
Python
false
false
4,817
py
""" For information about the Apollo 11 lunar lander see: https://eli40.com/lander/02-debrief/ For code for the Gym LunarLander environment see: https://github.com/openai/gym/blob/master/gym/envs/box2d/lunar_lander.py (although we will only need the time discretization of dt=1/50). This implementation is inspired by:...
[ "natashanorsker@gmail.com" ]
natashanorsker@gmail.com
577f382690dff09da10759418a2580aa9d7df66f
aadcddb4daee7ae84cb0785f9b0e82d8b5f6a1af
/gemtown/users/migrations/0008_auto_20190424_2025.py
b75ca7729635aea695e0c8b10f8dd2bbd06538d3
[ "MIT" ]
permissive
doramong0926/gemtown
082d210493930312ad3ecf3e813f568204979387
2c39284e3c68f0cc11994bed0ee2abaad0ea06b6
refs/heads/master
2022-12-12T10:23:11.363452
2019-05-23T17:18:03
2019-05-23T17:18:03
183,075,120
0
0
NOASSERTION
2022-12-09T20:37:50
2019-04-23T18:37:03
JavaScript
UTF-8
Python
false
false
1,538
py
# Generated by Django 2.0.13 on 2019-04-24 11:25 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('users', '0007_auto_20190424_2011'), ] operations = [ migrations.AlterField( model_name='user', name='country', ...
[ "doramong0926@gmail.com" ]
doramong0926@gmail.com
2126d0e6f819d2f8228404e6da813259e36d4d9d
23611933f0faba84fc82a1bc0a85d97cf45aba99
/google-cloud-sdk/.install/.backup/lib/surface/dataflow/logs/list.py
f28762d652662cd185af353118e8e3f26c73be04
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
KaranToor/MA450
1f112d1caccebdc04702a77d5a6cee867c15f75c
c98b58aeb0994e011df960163541e9379ae7ea06
refs/heads/master
2021-06-21T06:17:42.585908
2020-12-24T00:36:28
2020-12-24T00:36:28
79,285,433
1
1
Apache-2.0
2020-12-24T00:38:09
2017-01-18T00:05:44
Python
UTF-8
Python
false
false
4,207
py
# Copyright 2015 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...
[ "toork@uw.edu" ]
toork@uw.edu
9bf73ed630402dac7ae78a0d8024344fb7bc36c1
a20cb5dfd6ae2e5067a822f3b828a7c72e55489a
/7_Reverse_Integer.py
3ff33ebfc65f4d84fb3ae102c4fc7428f7f587d1
[ "MIT" ]
permissive
rpm1995/LeetCode
51f6325cf77be95bb1106d18de75974e03dba9b7
147d99e273bc398c107f2aef73aba0d6bb88dea0
refs/heads/master
2021-12-07T12:00:59.386002
2021-08-12T02:55:19
2021-08-12T02:55:19
193,178,028
0
0
null
null
null
null
UTF-8
Python
false
false
742
py
class Solution: def reverse(self, x): """ :type x: int :rtype: int """ negative = False if x < 0: negative = True # x = str(abs(x)) # y = "" # for i in range(len(x) - 1, -1 ,-1): # y += x[i] #...
[ "31997276+rpm1995@users.noreply.github.com" ]
31997276+rpm1995@users.noreply.github.com
ce6e545dd6aeacb825dbc02fce6b0fdcd0e09478
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/pa3/sample/stmt_for_list_nonlocal-83.py
700f6f1b7fdff2447bb0082637f068e893d2663f
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
311
py
x:int = 0 def crunch(zz:[[int]]) -> object: z:[int] = None global x def make_z() -> object: nonlocal z for z in zz: pass # Set z to last element in zz make_z() for x in z: pass # Set x to last element in z crunch([[$Exp,2],[2,3],[4,5],[6,7]]) print(x)
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
1873a83d2c391a13a16edf28969ffb67056d7544
54c7e0d5c63246c46652292f3817fa6d46512fa8
/apps/base/models.py
5efae51e43b1c0788011dfc7ca040c98509e0f35
[ "Apache-2.0" ]
permissive
helianthus1997/BlogBackendProject
4360d3837fa27b78c1e57c84d94f1055333ae15c
d4c0ee0bf19e5578e07425465930e1004cbe16d7
refs/heads/master
2020-03-14T11:29:53.918567
2018-04-14T17:00:39
2018-04-14T17:00:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,048
py
import hashlib from django.db import models from material.models import MaterialSocial, MaterialMaster class NavigationLink(models.Model): """ 自定义导航 """ TARGET_TYPE = ( ("_blank", "blank - 浏览器总在一个新打开、未命名的窗口中载入目标文档。"), ("_self", "self - 这个目标的值对所有没有指定目标的 <a> 标签是默认目标,它使得目标文档载入并显示在相同的框架或...
[ "i@coderap.com" ]
i@coderap.com
2d24fc4a0d81288c02b7170e0b960d7804117ead
a807ce0fa3e3e9c3b558b2e977c05e60c3a667b1
/scripts/speaker_recognition/rttm_to_manifest.py
3d7b772b05b94d534edf34d0698165658d9e6063
[ "Apache-2.0" ]
permissive
blisc/NeMo
630376e7555c0face994da2f6f9af5d8d31243c3
fadeb45c84d6b323d78e30475538455a88b7c151
refs/heads/rework_reqs
2023-08-17T00:03:39.248669
2021-08-12T15:15:06
2021-08-12T15:15:06
208,142,160
2
0
Apache-2.0
2022-02-03T16:30:33
2019-09-12T20:37:24
Jupyter Notebook
UTF-8
Python
false
false
1,666
py
# Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
[ "noreply@github.com" ]
blisc.noreply@github.com