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
f3e0cbaae774c9f2d6ff304bc0be70c53398967f
2aba3c043ce4ef934adce0f65bd589268ec443c5
/codility/lessons/lesson8/dominator.py
60d42a15d956e661c7def1be6b8c99713acb17bc
[]
no_license
kambehmw/algorithm_python
4f66593b77039d90515d1fcbecacdab8c811b92f
17222399dcc92fd8f908e5774a9883e2e89c486e
refs/heads/master
2020-06-02T12:44:11.322356
2020-05-18T13:22:05
2020-05-18T13:22:05
191,157,113
0
0
null
null
null
null
UTF-8
Python
false
false
537
py
from collections import defaultdict def solution(A): if len(A) == 0: return -1 val2indices = defaultdict(list) for i, a in enumerate(A): val2indices[a].append(i) half = len(A) // 2 max_len = 0 indices = None for k, v in val2indices.items(): if max_len < len(v): ...
[ "kanbe.hmw@gmail.com" ]
kanbe.hmw@gmail.com
d6d02567ce616b355f465bbd7bc04ab0cdf7d47e
60d737103373825b858e67292865bda8c6f2094f
/active/theses-uclondon.py
d683f1e1ae7e3437314259bd102089411a61fc5b
[]
no_license
fschwenn/ejlmod
fbf4692b857f9f056f9105a7f616a256725f03b6
ef17512c2e44baa0164fdc6abc997c70ed3d2a74
refs/heads/master
2023-01-24T18:56:35.581517
2023-01-20T11:18:16
2023-01-20T11:18:16
91,459,496
1
1
null
2021-10-04T11:58:15
2017-05-16T13:06:57
Python
UTF-8
Python
false
false
4,489
py
# -*- coding: utf-8 -*- #harvest University College London Theses #FS: 2020-02-10 import getopt import sys import os import urllib2 import urlparse from bs4 import BeautifulSoup import re import ejlmod2 import codecs import datetime import time xmldir = '/afs/desy.de/user/l/library/inspire/ejl'#+'/special' retfiles_p...
[ "florian.schwennsen@desy.de" ]
florian.schwennsen@desy.de
eaeae017208db2873c3920fff6cb8b1369879452
61826577cdfd4b0313b103421353ae720020ceb7
/05-Lists-Advanced-Exercise/06-Group-Of-10s.py
a5abfe6b3a95a6841d9f78fce84bfafb20517b9e
[]
no_license
ZSPASOV/softuni-python-fundamentals
185da9d9fc973dbd5d56733a1f43c8e1f0f2e739
9faa40c84c25bde25a4364c5bcd606f51e206cc1
refs/heads/main
2023-08-25T22:39:06.590532
2021-11-12T00:53:07
2021-11-12T00:53:07
427,187,422
0
0
null
null
null
null
UTF-8
Python
false
false
643
py
input_list = input().split(', ') input_num_list = list(map(int, input_list)) max_value = max(input_num_list) if max_value % 10 == 0: number_of_groups = max_value // 10 else: number_of_groups = max_value // 10 + 1 lower_boundary = - 10 upper_boundary = 0 while len(input_num_list) > 0: for i in range(number_...
[ "zaprian_spasov@hotmail.com" ]
zaprian_spasov@hotmail.com
f07baabad772da4091b43bc4fe00c021ff235938
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/380/usersdata/311/84536/submittedfiles/testes.py
9d61021bc797ae9e9ceef648a009d407476a39a8
[]
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
39
py
for i in range (0,101,2): print (i)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
923531ca9be46a40453962382b87a7b2fa1ac846
dccac0b6a21d2110fa6045b1d6a64c22280104ce
/givinggraph/analysis/company_cause_classifier.py
9d7026486ecb497ebd0dff24210df76012400238
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
erichilarysmithsr/givinggraph
cf3319e823c3d1c15b021430fdfe26b4719acb2e
9f48a8767d9672079a616676a1c29054672fb8d3
refs/heads/master
2021-01-20T17:03:47.775235
2020-08-31T12:20:55
2020-08-31T12:20:55
35,964,712
0
1
MIT
2020-08-31T12:20:56
2015-05-20T18:00:04
Python
UTF-8
Python
false
false
4,320
py
""" Predict whether a company supports a cause based on its web presence. We train a model based on the data at milliondollarlist.org, which posts donations of $1M or more from companies to causes.""" # FIXME: read/write from database. # FIXME: save/load classifier import argparse from collections import defaultdict...
[ "aronwc@gmail.com" ]
aronwc@gmail.com
ebe7ed3ec972a546621ac55958034e98966904cc
8e4e66d318fa6f885290935b97ea9f1c6fde3a77
/auto/printform.py
95ba0330ce7a2ebd6763e45666383b81fb0aea2d
[]
no_license
v-komarov/kis
de3a0ee371eb582fe27f449a36a8f8edecd5dc23
8adaee0f0f26550fb6a9be7ceb28b1b9af87333e
refs/heads/master
2021-01-01T04:46:03.369423
2016-05-25T09:39:41
2016-05-25T09:39:41
59,649,804
0
0
null
null
null
null
UTF-8
Python
false
false
802
py
#coding:utf-8 import os.path from django.http import HttpResponse from django.http import HttpResponseRedirect from django.template import Context, loader, RequestContext from django.core.context_processors import csrf from django.shortcuts import render_to_response from django.core.paginator import Paginator, Invalid...
[ "komarov-krsk@mail.ru" ]
komarov-krsk@mail.ru
e00aa0732c9c62c0de388f0b317e2f2cfcc1ca14
bc9f66258575dd5c8f36f5ad3d9dfdcb3670897d
/lib/googlecloudsdk/generated_clients/apis/clouddeploy/v1/resources.py
9c4b5d74b9a78208a0933fd71367f9fa6dc9c184
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
google-cloud-sdk-unofficial/google-cloud-sdk
05fbb473d629195f25887fc5bfaa712f2cbc0a24
392abf004b16203030e6efd2f0af24db7c8d669e
refs/heads/master
2023-08-31T05:40:41.317697
2023-08-23T18:23:16
2023-08-23T18:23:16
335,182,594
9
2
NOASSERTION
2022-10-29T20:49:13
2021-02-02T05:47:30
Python
UTF-8
Python
false
false
4,685
py
# -*- coding: utf-8 -*- # # Copyright 2023 Google LLC. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requir...
[ "cloudsdk.mirror@gmail.com" ]
cloudsdk.mirror@gmail.com
2bcc7c04af818e8dd790a77567a19a6bbfe14874
e832a00213c0237413f93b84c08d75f125bda74d
/script.py
04235386706b21b43978f94e801cb90a43825039
[]
no_license
AndreaCensi/pysnip
87bb8d9889cee5686b6f1cf44af2dc30477abb57
c0c51d54e2f5df22f35224e5fa255fa0ad030ecf
refs/heads/master
2023-06-27T11:54:12.227450
2021-03-01T19:44:11
2021-03-01T19:44:11
5,185,995
1
0
null
null
null
null
UTF-8
Python
false
false
83
py
import sys from pysnip.make import pysnip_make_main sys.exit(pysnip_make_main())
[ "acensi@ethz.ch" ]
acensi@ethz.ch
cac9448e608d80c13a2cde1763bdc1a6097d1eca
85a9ffeccb64f6159adbd164ff98edf4ac315e33
/pysnmp/RADLAN-rndApplications.py
3943cb505e730c36400930b5ee961102af038e07
[ "Apache-2.0" ]
permissive
agustinhenze/mibs.snmplabs.com
5d7d5d4da84424c5f5a1ed2752f5043ae00019fb
1fc5c07860542b89212f4c8ab807057d9a9206c7
refs/heads/master
2020-12-26T12:41:41.132395
2019-08-16T15:51:41
2019-08-16T15:53:57
237,512,469
0
0
Apache-2.0
2020-01-31T20:41:36
2020-01-31T20:41:35
null
UTF-8
Python
false
false
26,044
py
# # PySNMP MIB module RADLAN-rndApplications (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/RADLAN-rndApplications # Produced by pysmi-0.3.4 at Mon Apr 29 20:42:54 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (d...
[ "dcwangmit01@gmail.com" ]
dcwangmit01@gmail.com
96ac5ad498e5e6f7629c36aba742b6d660a5345d
ee58a40fbaf3c8ebe43668b059682f2e30b95698
/strings/SuperReducedString.py
ff91f5ab1259a7f6b8cba3f7db20ba5cef9eb2e1
[ "MIT" ]
permissive
cassimahmedattia/python-data-structures
87b8fce4b4fffd88a1389b437b0109f8fdd4d09e
acdb47028ac0a648a85a83d5a060b677bce7e69f
refs/heads/main
2023-06-18T22:56:57.898452
2021-07-12T16:02:57
2021-07-12T16:02:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
752
py
# Hackerrank : https://www.hackerrank.com/challenges/reduced-string/problem #!/bin/python3 import math import os import random import re import sys # # Complete the 'superReducedString' function below. # # The function is expected to return a STRING. # The function accepts STRING s as parameter. # def superReducedS...
[ "dsrao0712@gmail.com" ]
dsrao0712@gmail.com
5633ec0e71ad1e5a9f6ac58e03a80bb882d0419a
3546dd5dbcffc8509440c820faa7cf28080c5df7
/python35/Lib/site-packages/numpy/ma/mrecords.py
ffd18deae21b61f20c42247b0ed234f54be07b13
[ "Apache-2.0", "MIT", "BSD-3-Clause", "LGPL-2.1-only" ]
permissive
Matchoc/python_env
55ad609c8270cc6148eda22d37f36709d73b3652
859d84d1717a265a4085ad29706b12c19c62d36f
refs/heads/master
2022-02-13T11:05:51.825544
2020-06-05T02:42:08
2020-06-05T02:42:08
75,793,921
0
1
Apache-2.0
2018-12-14T07:30:28
2016-12-07T03:06:13
Python
UTF-8
Python
false
false
28,179
py
""":mod:`numpy.ma..mrecords` Defines the equivalent of :class:`numpy.recarrays` for masked arrays, where fields can be accessed as attributes. Note that :class:`numpy.ma.MaskedArray` already supports structured datatypes and the masking of individual fields. .. moduleauthor:: Pierre Gerard-Marchant """ fro...
[ "matchoc@hotmail.com" ]
matchoc@hotmail.com
4e4de910d41f574886be2b833aba7bd928495511
d6bbf52c54253f0725d7fde67cbfa95832df9945
/celadon/settings/base.py
388a4cadc63160c97a60d0e6222f323bdbdae969
[ "MIT" ]
permissive
ninapavlich/celadon
8e953a1ae5b5bf81d991c5b7189126940ca13425
c5c1af7ac038b8e62e31637822d5412ad8587cbd
refs/heads/master
2021-01-22T23:07:03.745609
2016-06-21T19:50:48
2016-06-21T19:50:48
47,222,400
0
0
null
null
null
null
UTF-8
Python
false
false
19,482
py
import os import sys import copy from django.conf.global_settings import * # pylint: disable=W0614,W0401 from celadon import env import celadon as project_module # -- Server settings if os.environ.get( 'ENVIRONMENT', 'local' ) != 'local': if os.environ.get( 'ENVIRONMENT', 'heroku' ) != 'heroku': ...
[ "nina@ninalp.com" ]
nina@ninalp.com
d6cbabe0e97819e12c412c7cc91bc6cd72a52010
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02759/s196306670.py
d290015c308dfa4b4fbccdade7d9422cf0d63761
[]
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
73
py
N=int(input()) result=N/2 if N%2 != 0: result+=0.5 print(int(result))
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
bdf2ba77454a83e55d395667b31266944a6b8eaa
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/dev/nlp/FairSeq_Transformer_ID0496_for_PyTorch/fairseq/modules/vggblock.py
a23e8dae5156169faadc75af83e14ef994c56729
[ "MIT", "Apache-2.0", "BSD-2-Clause", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference", "GPL-1.0-or-later" ]
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
5,741
py
# # BSD 3-Clause License # # Copyright (c) 2017 xxxx # All rights reserved. # Copyright 2021 Huawei Technologies Co., Ltd # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # * Redistributions of source code must retain ...
[ "wangjiangben@huawei.com" ]
wangjiangben@huawei.com
eb241d90c3a688cf692e24f1c8b53e5e8c279518
071416b05026dfc5e21e32c7f1846ab8475acf97
/oop/test7.py
86358258894caf7b07f98d42fa5165cc05959761
[]
no_license
Sreerag07/bankproject
a7acf65b45c9e5c3ccace7ff3d755c33cf8a4fb0
bb28e7c92cbfa1c1810d20eb4767a479eee5f015
refs/heads/master
2023-04-20T01:15:47.496059
2021-05-19T08:03:54
2021-05-19T08:03:54
368,788,580
0
0
null
null
null
null
UTF-8
Python
false
false
261
py
f=open("phn.txt","r") lst=[] for i in f: lst.append(i.rstrip("\n")) import re x='(\+91)\d{10}$' for j in lst: match=re.fullmatch(x,j) if match is not None: d=open("phnvalid.txt","a") d.write(j) d.write("\n") d.close()
[ "sgpakkam@gmail.com" ]
sgpakkam@gmail.com
2c508c9df6a96472486aaf5514c5172f36969587
0fccee4c738449f5e0a8f52ea5acabf51db0e910
/genfragments/ThirteenTeV/gluinoGMSB/gluinoGMSB_M950_ctau10p0_TuneCUETP8M1_13TeV_pythia8_cff.py
385f69faabb5ef060ce396a2da8d4916d8f0977b
[]
no_license
cms-sw/genproductions
f308ffaf3586c19b29853db40e6d662e937940ff
dd3d3a3826343d4f75ec36b4662b6e9ff1f270f4
refs/heads/master
2023-08-30T17:26:02.581596
2023-08-29T14:53:43
2023-08-29T14:53:43
11,424,867
69
987
null
2023-09-14T12:41:28
2013-07-15T14:18:33
Python
UTF-8
Python
false
false
50,199
py
FLAVOR='gluino' COM_ENERGY = 13000. CROSS_SECTION = 0.466352 CTAU = 10.0 MASS_POINT = 950 SLHA_TABLE=""" ## Important note! ## This file has been modified by hand to give the gluino and the ## stop_1 a very narrow width, such that it can be used to try out ## the R-hadron machinery. It is not a realistic SUSY scenario...
[ "sheffield@physics.rutgers.edu" ]
sheffield@physics.rutgers.edu
e4759c237d35e12dcb874fb066a1041ccd581dc2
c3612d29df2fd6224c61b693a0cbd3554b6213f2
/django 보충/articles/models.py
04a2ab26b9cea711a72126f326d1df8fc185181f
[]
no_license
mycomax0416/TIL
5a12b8067e22fc095c7998b9ffb17d6fb210933f
21d3b62db84b1fd64318a278eddc287bdc9678f0
refs/heads/master
2023-01-11T00:59:42.851469
2019-11-28T08:48:54
2019-11-28T08:48:54
195,918,118
3
0
null
2023-01-07T16:48:23
2019-07-09T02:31:05
Jupyter Notebook
UTF-8
Python
false
false
326
py
from django.db import models # Create your models here. class Article(models.Model): title = models.CharField(max_length=10) content = models.TextField() created_at = models.DateTimeField(auto_now_add=True) updated_at = models.DateTimeField(auto_now=True) def __str__(self): return self...
[ "mycomax0416@gmail.com" ]
mycomax0416@gmail.com
182476e14870f4773825937ddfcf4c0823d822a6
4c50fbb8bdf30de79d6441594b02d6eaa79e83cf
/ProcessMaker_PMIO/models/input_output_item.py
0d17b5205eb419f5c835a615c6e4e3e731436e24
[ "Apache-2.0" ]
permissive
ProcessMaker/pmio-sdk-python
08c9ffdb7e12ef2bde6a916865e311820889e646
49ddf9e6444c77a35ce51aa052059b254e0f5299
refs/heads/master
2021-01-23T10:29:13.348275
2017-06-01T14:00:59
2017-06-01T14:00:59
93,063,322
2
4
null
null
null
null
UTF-8
Python
false
false
3,621
py
# coding: utf-8 """ ProcessMaker API This ProcessMaker I/O API provides access to a BPMN 2.0 compliant workflow engine api that is designed to be used as a microservice to support enterprise cloud applications.  The current Alpha 1.0 version supports most of the descriptive class of the BPMN 2.0 specification...
[ "oleg@processmaker.com" ]
oleg@processmaker.com
bf0094257fd6df6b76c3dc158c4cc639ec4ac832
4aae2df13bfd53a8b16aa5f941f2cc8b8ac144b7
/torch/jit/_recursive.py
62cf6eb8d058fb6adf3c76f18b224f4fe9016f2f
[ "BSD-2-Clause", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "BSL-1.0", "Apache-2.0" ]
permissive
computerguy2030/pytorch-rocm-amd
e9f2718c470b505325d396baf6513e71bcf0a7ca
38da53d721fcb335dedb1b52f14fd89718e90bef
refs/heads/master
2023-04-08T00:55:01.542663
2021-04-16T11:33:39
2021-04-16T11:33:39
334,288,140
3
0
NOASSERTION
2021-04-16T11:27:55
2021-01-29T23:40:06
C++
UTF-8
Python
false
false
37,819
py
import inspect import torch import types import collections import textwrap import functools import warnings from typing import Dict, List, Set, Type import torch._jit_internal as _jit_internal from torch.jit.frontend import get_default_args, get_jit_def, get_class_properties from torch.jit._builtins import _find_buil...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
8d3b08bfe9b903518b5b8c1816006427a40a694a
e8b586fc89a4d53df5ad294e5da0ea0a8871ce34
/video_proc/serializers.py
f401a91fce6be550e553ace740292052a05f0872
[]
no_license
Dostoyewski/Neurostart-Hack
3fdbc4595b2e49fe0bb2764f033bcb1a3c89d8f7
261a974e7ab2cc8e5b958fc3aab3d4958c934245
refs/heads/master
2023-01-19T10:47:48.745105
2020-11-25T07:47:12
2020-11-25T07:47:12
308,333,469
1
0
null
2020-11-25T07:47:13
2020-10-29T13:14:12
CSS
UTF-8
Python
false
false
1,133
py
from rest_framework import serializers from .models import CompetitionRecording, Competition class CompetitionRecordingSerializer(serializers.Serializer): """ CompetitionRecording serializer """ published = serializers.DateTimeField() def create(self, validated_data): return CompetitionRe...
[ "dostoyewski@yandex.ru" ]
dostoyewski@yandex.ru
bda328b0b21e1793656cd7d43076a15b3e583ffc
9d278285f2bc899ac93ec887b1c31880ed39bf56
/ondoc/doctor/migrations/0194_auto_20190125_1556.py
bf798e04674874dda30fa78d31e39550d6895bf3
[]
no_license
ronit29/docprime
945c21f8787387b99e4916cb3ba1618bc2a85034
60d4caf6c52a8b70174a1f654bc792d825ba1054
refs/heads/master
2023-04-01T14:54:10.811765
2020-04-07T18:57:34
2020-04-07T18:57:34
353,953,576
0
0
null
null
null
null
UTF-8
Python
false
false
507
py
# Generated by Django 2.0.5 on 2019-01-25 10:26 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('doctor', '0193_auto_20190125_1516'), ] operations = [ migrations.AlterField( model_name='cancellationreason', name='...
[ "arunchaudhary@policybazaar.com" ]
arunchaudhary@policybazaar.com
3accdc97725ece89a5ed74dcba88b0ffd158fe2e
34e72d01e0ca1540aeea2e6cfa8115c418393d0b
/paradrop/daemon/paradrop/backend/change_ws.py
7c9f9a6246ced1552ecb1c57636729676cdc575e
[ "Apache-2.0" ]
permissive
VegetableChook/Paradrop
2e5da4ae41f2c4ef310d8b55cfb3347644392d79
a38e1773877d5b136c3b626edd8c033a12b43e56
refs/heads/master
2021-04-15T09:05:34.905367
2018-02-20T19:13:41
2018-02-20T19:13:41
126,336,223
1
0
Apache-2.0
2018-03-22T13:03:42
2018-03-22T13:03:42
null
UTF-8
Python
false
false
927
py
import json from autobahn.twisted.websocket import WebSocketServerProtocol from autobahn.twisted.websocket import WebSocketServerFactory from paradrop.base.output import out class ChangeStreamProtocol(WebSocketServerProtocol): def __init__(self, factory): WebSocketServerProtocol.__init__(self) s...
[ "hartung@cs.wisc.edu" ]
hartung@cs.wisc.edu
596b4574847fc6bd6cdbe32a16d6c680245e0d35
ce6e90b3eea2235e37234a51adf29ac400ade599
/store/migrations/0003_alter_product_image.py
152621079a13517c975d9176b9b87ae42b99cd04
[]
no_license
AliHassanUOS/FYPDigitalCampus
079ef75151e8dc1e165b87e92eae44dea36d047c
00426ec422b319d48236ed7fdbceb7da79e56f6c
refs/heads/master
2023-06-10T12:40:32.397477
2021-07-08T09:34:38
2021-07-08T09:34:38
384,070,144
0
0
null
null
null
null
UTF-8
Python
false
false
389
py
# Generated by Django 3.2 on 2021-05-04 05:50 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('store', '0002_auto_20210502_1257'), ] operations = [ migrations.AlterField( model_name='product', name='image', ...
[ "alihasanuos@gmail.com" ]
alihasanuos@gmail.com
dbc4ca34068a079b868b00b88ef9ef32420453d7
45f6a4dfc837998565d4e4e4cde258a27fdbd424
/learn_tu_you/hall37-py/src/hall/entity/hallconf.py
7a55f2f36c305b9754cdaac894292a27ad8ba49b
[]
no_license
isoundy000/learn_python
c220966c42187335c5342269cafc6811ac04bab3
fa1591863985a418fd361eb6dac36d1301bc1231
refs/heads/master
2022-12-29T10:27:37.857107
2020-10-16T03:52:44
2020-10-16T03:52:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
22,651
py
#!/usr/bin/env python # -*- coding:utf-8 -*- # @Auther: houguangdong # @Time: 2020/6/6 """ 每个配置项必须是JSON格式 """ from poker.entity.configure import configure, pokerconf from poker.util import strutil import freetime.util.log as ftlog from hall.entity import hallmoduledefault import json HALL_GAMEID = 9999 SDK_GAMEID = 9...
[ "1737785826@qq.com" ]
1737785826@qq.com
e7b0819bcf39dfdee88c7339c7bf5a926e14bd07
a25688943d2b2024ffc7cdbce77e20c207fae12a
/advanture/forms.py
03386622dcc7a9658a980548bc02e06017262164
[]
no_license
sinanurun/proje_etkinlik_gezi
4a9ef850d8b18103fb2acfa0acff07fb9f4be866
68bbd1e012feeb32119e3ea5295f1c78f96fb382
refs/heads/main
2023-02-13T20:43:58.408511
2021-01-04T07:54:31
2021-01-04T07:54:31
326,609,007
2
0
null
null
null
null
UTF-8
Python
false
false
1,305
py
from ckeditor_uploader.widgets import CKEditorUploadingWidget from django.forms import ModelForm, TextInput, FileInput, Select from advanture.models import Advanture, Category, Location class AdvantureForm(ModelForm): class Meta: model = Advanture fields = ['category', 'location', 'title', 'keyw...
[ "sinanurun24@gmail.com" ]
sinanurun24@gmail.com
c1ba29909b77335006c6e393a3e2dd9de2771e66
da934e0010380fdc6894063540f61b0ebc2c9ded
/vendor/carrot/backends/pyamqplib.py
0e97f08e34ca6399b9bcf6acc89810177fa639a2
[ "Apache-2.0" ]
permissive
bopopescu/cc-2
ed4f1dfe3c98f476ff619058d99855a16272d36b
37444fb16b36743c439b0d6c3cac2347e0cc0a94
refs/heads/master
2022-11-23T03:57:12.255817
2014-10-02T06:10:46
2014-10-02T06:10:46
282,512,589
0
0
Apache-2.0
2020-07-25T19:36:05
2020-07-25T19:36:05
null
UTF-8
Python
false
false
11,715
py
""" `amqplib`_ backend for carrot. .. _`amqplib`: http://barryp.org/software/py-amqplib/ """ from amqplib import client_0_8 as amqp from amqplib.client_0_8.exceptions import AMQPChannelException from amqplib.client_0_8.serialization import AMQPReader, AMQPWriter from carrot.backends.base import BaseMessage, BaseBack...
[ "anotherjesse@gmail.com" ]
anotherjesse@gmail.com
92cb65a57b624be096072ec922b9b7310d7ec071
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03161/s197740901.py
9aa8bfe099d278ebaf2dcff8981be1af2b485ffa
[]
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
449
py
def solve(arr,n,k): if k==1: ss=0 for i in range(1,n): ss+=abs(arr[i]-arr[i-1]) print(ss) return if k>=n: print(abs(arr[-1]-arr[0])) return dp=[0]*n for i in range(k): dp[i]=abs(arr[i]-arr[0]) for i in range(k,n): f=float('inf') for x in range(1,k+1): f=min(dp[i-x]+abs(arr[i-x]-arr...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
278b226a1bef464b28c8e751dbd6bc36fc2653f8
716ed8ab9cbd61837fb116635c2d378b32eeb890
/app/migrations/0020_auto_20180924_0058.py
3c1b9410cf4aef7f3e36513ba035e0bfb5c3ba2e
[]
no_license
koneb71/waterworks-django
19dab148fc46f85e1be55b8440f40f5cf2ea29c6
0de58e43ab04348622933f98d79c7d4c109fcb85
refs/heads/master
2020-03-28T07:18:50.512581
2018-10-15T03:53:05
2018-10-15T03:53:05
147,893,717
0
0
null
null
null
null
UTF-8
Python
false
false
1,647
py
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2018-09-23 16:58 from __future__ import unicode_literals import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('app', '0019_auto_20180915_1721'), ] operations = [ migrations...
[ "koneb2013@gmail.com" ]
koneb2013@gmail.com
343aef246a790b06ebfa83a9566750162c0bf79c
b204cddc90c19ad8d4587581b4d7ec0b0fed0f45
/level2/카펫.py
0b5aec27709ac3aa3f6fd58db5d2c5c68f940257
[]
no_license
chaeonee/Programmers
db741c7c17b933ff2a42521d5bc1077532375021
f582ca16ec351f1f4678847949cb66e7544b9162
refs/heads/main
2023-04-20T13:50:46.722283
2021-05-06T09:44:16
2021-05-06T09:44:16
348,239,956
0
0
null
null
null
null
UTF-8
Python
false
false
278
py
def solution(brown, yellow): answer = [] area = brown+yellow for y in range(1,area//2): if area % y: continue x = area//y if 2*x+2*(y-2) == brown: answer = [x,y] break return answer
[ "noreply@github.com" ]
chaeonee.noreply@github.com
749d444b28293368b5ac42ee7702cb7501c03c7f
d40ab8694389d1a0d80013a2b0ecd8c426e6e8f8
/greedy/test_schedule.py
f59690845b8d6fae50fe012f05302d1a2f3ce131
[]
no_license
lukebiggerstaff/Stanford-Algorithms-MOOC
b5b34c8d8ff7725461fd03bb3aac505c87a1012e
382a30f27dff6ca9d30c071a4d3418ff6333f4c3
refs/heads/master
2021-01-01T17:02:26.883373
2017-11-14T19:06:14
2017-11-14T19:06:14
97,980,984
0
0
null
null
null
null
UTF-8
Python
false
false
687
py
import unittest import schedule as S class TestScheduler(unittest.TestCase): def test_can_sort_different_lengths(self): ex1 = [[1,1], [1,3], [1,2]] correct = [[1,1], [1,2], [1,3]] S.schedule_jobs(ex1) self.assertEqual(ex1, correct) def test_can_sort_different_weights(self): ...
[ "luke.biggerstaff@gmail.com" ]
luke.biggerstaff@gmail.com
f5fae65973ab0875eb959b0e8de6e6c043ed2f83
24f5e1eccfaee8fac1cacdf7e9bb7e0df9ee5f16
/pygridtools/misc.py
f1b86d56f7cc658421e99947f2588c7c438682c1
[ "BSD-3-Clause" ]
permissive
ricaenriquez/pygridtools
4bb1c49b8b9f39e160f6bde0407ee02c8323a6ae
c5dd8b3dc537ee747ec93663467d7d22a4756613
refs/heads/master
2021-06-28T01:56:47.190965
2017-03-24T00:23:51
2017-03-24T00:23:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,388
py
import warnings import numpy as np import matplotlib.path as mpath import pandas from pygridtools import validate def make_poly_coords(xarr, yarr, zpnt=None, triangles=False): """ Makes an array for coordinates suitable for building quadrilateral geometries in shapfiles via fiona. Parameters ------...
[ "pmhobson@gmail.com" ]
pmhobson@gmail.com
d472a421e43615f611d08f2bb7d5dcf6bfc36df4
9f10bfb03df361979135b7e9436c9258acf081d6
/fiverr/product/urls.py
73af11b319c8068469ea4f558b5deb7ecb28115d
[]
no_license
harunurkst/category_product
46fa59e5423a675a5fa7c7d0b7defd0c4f64d490
041e6321f25cd48be726fcd85ab2a4753edf3e4f
refs/heads/master
2021-05-30T01:52:36.285854
2015-12-09T09:06:35
2015-12-09T09:06:35
45,064,768
2
0
null
null
null
null
UTF-8
Python
false
false
548
py
from django.conf.urls import url from django.conf import settings from django.conf.urls.static import static from . import views from django.contrib.staticfiles.urls import staticfiles_urlpatterns urlpatterns = [ url(r'^$', views.home, name='product-home'), url(r'^(?P<slug>[\w-]+)/$', views.product_detail, na...
[ "harun1393@gmail.com" ]
harun1393@gmail.com
4f6fab91054ec575853615c56f7e313e1c50d6e8
d62e4220120938954bf6135a88a1e6e3b0d6e8a2
/day3/crossing_wires.py
807bbef2ce9d66dca646378563c9474ff2737636
[]
no_license
matnad/aoc19
d711828cd498db12db4d60a807df05a4208983fc
d607b3ea295340c8e8ef68f8bea87191d8d299d9
refs/heads/master
2020-09-29T15:37:08.888511
2019-12-20T12:47:37
2019-12-20T12:47:37
227,065,022
0
1
null
null
null
null
UTF-8
Python
false
false
3,529
py
import numpy as np def build_paths(paths): boxinfo = get_box(paths) b = np.zeros((boxinfo['height'], boxinfo['width'])) print(boxinfo) numbered_path1 = count_box(boxinfo, paths[0]) numbered_path2 = count_box(boxinfo, paths[1]) i = 0 for path in paths: i += 1 y = boxinfo['...
[ "matnad@gmail.com" ]
matnad@gmail.com
d51b7371f9d7d93a7f439e71ecee5e67f9f1b3bd
3d4a6bd2297ac04b112bc8d24fa1118f692a4e2b
/procon_python/src/atcoder/abc/past/B_149_GreedyTakahashi.py
4643351e5d3a6b1aa4a141ea451f1afa9e8d70fe
[]
no_license
WAT36/procon_work
beba626d9b9c1effded8c9b9f56fbc37abd13636
2e6bc42e6f25938afe740682ad7b6c21a0838d42
refs/heads/master
2021-08-16T11:56:25.048392
2021-06-17T14:13:10
2021-06-17T14:13:10
162,991,707
1
0
null
null
null
null
UTF-8
Python
false
false
175
py
a,b,k=map(int,input().split()) if(k<=a): a-=k print(a,b) else: k-=a a=0 if(k<=b): b-=k print(a,b) else: b=0 print(a,b)
[ "motohari.xanadu@gmail.com" ]
motohari.xanadu@gmail.com
8cf30718138a04dc9f8cfea08f6c55676a76c94b
52b5773617a1b972a905de4d692540d26ff74926
/.history/Nesting_20200908173518.py
0345ece018851d7b1baf8cc942cae456fd2d5829
[]
no_license
MaryanneNjeri/pythonModules
56f54bf098ae58ea069bf33f11ae94fa8eedcabc
f4e56b1e4dda2349267af634a46f6b9df6686020
refs/heads/master
2022-12-16T02:59:19.896129
2020-09-11T12:05:22
2020-09-11T12:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
92
py
def nesting(S): # print(nesting("(()"))
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
220882d9992e797e0af9f35d80a7ed7682a706a6
40132307c631dccbf7aa341eb308f69389715c73
/OLD/idmt/maya/py_common/sk_referenceConfig.py
85f0539af14f2617c74a0593f750c096a186d1c9
[]
no_license
Bn-com/myProj_octv
be77613cebc450b1fd6487a6d7bac991e3388d3f
c11f715996a435396c28ffb4c20f11f8e3c1a681
refs/heads/master
2023-03-25T08:58:58.609869
2021-03-23T11:17:13
2021-03-23T11:17:13
348,676,742
1
2
null
null
null
null
UTF-8
Python
false
false
17,963
py
# -*- coding: utf-8 -*- ''' Created on 2013-06-09 @author: shenkang ''' import maya.cmds as mc import maya.mel as mel import sk_infoConfig class sk_referenceConfig(object): def __init__(self): #namespace清理 pass ''' 【通用:无敌reference导入_shareNodes】 0.通用 Author: 沈康 Data ...
[ "snakelonely@outlook.com" ]
snakelonely@outlook.com
4009efcf0ca4ac55425a84a81d958ae2daa21425
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02621/s413247121.py
ebc98028938784d4a9d265d13ac7486b12e62726
[]
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
54
py
a = int(input()) sum = a + (a*a) + (a*a*a) print(sum)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
1947c089579ae480a731437b648cf26b8146c936
d6a69ca5c280f14648a34808f89d279ddea0c4b3
/tests/hwsim/test_ap_acs.py
3cade3ca4ef82b57739f63e69ed2d83981d5dc62
[ "BSD-3-Clause" ]
permissive
thillux/hostap
ce1e28a0110688138667ab0a3774dca750a564a3
bc15213a7fc97b79fa3191b9a2b0dad57c510881
refs/heads/master
2020-12-05T18:23:06.159849
2020-01-28T16:38:35
2020-01-28T16:38:35
232,203,958
0
0
null
null
null
null
UTF-8
Python
false
false
18,892
py
# Test cases for automatic channel selection with hostapd # Copyright (c) 2013-2018, Jouni Malinen <j@w1.fi> # # This software may be distributed under the terms of the BSD license. # See README for more details. import logging logger = logging.getLogger() import time import hostapd from utils import skip_with_fips, ...
[ "j@w1.fi" ]
j@w1.fi
e69a7970bcb4f5d15dea5d4c2c07615b3189eeef
d87fc085712a09678f1b75ef29467805a534332a
/bin/cluster-submit/makeDerivs_script.py
08e9fa35b56540c68ee7ed566f5cd0d231a04344
[]
no_license
sjforeman/pyfisher
9ee446292be7b88a5a8e24f071e53c5ebe06e485
6855183e96085a17b561e1087b561edb9389ce39
refs/heads/master
2020-07-04T20:59:03.085630
2019-08-15T01:19:45
2019-08-15T01:19:45
202,415,031
0
0
null
2019-08-14T19:41:30
2019-08-14T19:41:30
null
UTF-8
Python
false
false
3,926
py
import camb from camb import model, initialpower import numpy as np import sys import ConfigParser import os import argparse #import LikeRealAL as Lens #import liteMap #from astLib import astWCS from makeDerivs import getHubbleCosmology,getPowerCamb verbose = True parser = argparse.ArgumentParser(description='Make Der...
[ "mathewsyriac@gmail.com" ]
mathewsyriac@gmail.com
9c7fa3dfab4b094661dad801b7f36aeddf62d603
6545ee5135a72f5e3252e89a1cabb06208c8fd60
/计算机视觉/机器学习/算法评测/人车非相关/小物件评测/drawRtGt.py
2574b527645bb19360acd6d2b5b2ec4c82cb8347
[]
no_license
dataAlgorithms/computerVision
7e2d20e2e24d60513458627b542415111e17a81f
5689aae0bf7cab9581ab2c8fdf7dc0e414a9cdff
refs/heads/master
2020-06-24T21:14:23.154270
2020-03-20T00:22:41
2020-03-20T00:22:41
199,092,013
0
1
null
null
null
null
UTF-8
Python
false
false
4,671
py
#!/usr/bin/env python #!coding=utf-8 import re from collections import defaultdict import sys import os import copy import cv2 font = cv2.FONT_HERSHEY_SIMPLEX gMapDict = {"1":"21","2":"24","3":"23","4":"25","5":"26","6":"22"} gMapDict = {"1":"1","2":"2","3":"3","4":"4","5":"5","6":"6"} # build result mapping dict de...
[ "noreply@github.com" ]
dataAlgorithms.noreply@github.com
c62ed15e21f8d6ebc6f0279ae52f5deefe6e93ef
bc3bd7601fa427d638f872b4ddfdebe4ce23a25c
/bitbucketopenapi/api/commitstatuses_api.py
c75e72415342adc175b50cc9ea2607f568b6dc80
[]
no_license
magmax/bitbucket-openapi
59ef55ab3aa42940c8211d3ecd16ef7d6fc74c21
836ae762735ae5b1ececcee5287fa271d7d8de5b
refs/heads/master
2020-07-28T16:10:32.736169
2019-09-19T04:17:09
2019-09-19T04:17:09
209,460,884
3
0
null
null
null
null
UTF-8
Python
false
false
41,371
py
# coding: utf-8 """ Bitbucket API Code against the Bitbucket API to automate simple tasks, embed Bitbucket data into your own site, build mobile or desktop apps, or even add custom UI add-ons into Bitbucket itself using the Connect framework. # noqa: E501 The version of the OpenAPI document: 2.0 Con...
[ "miguelangel.garcia@gmail.com" ]
miguelangel.garcia@gmail.com
dd21fa9959f7f997ccf2ee29dc31fd8d2600356a
2052a12f0ab7a827d6427b5533b6ae29847dcc3b
/0415.字符串相加/0415-字符串相加.py
13a78ca681b85fef757efb88159b9cf96109d488
[ "MIT" ]
permissive
cleiveliu/leetcodecn
7db7af4da18e62bd592afc9f81dfa4aab46adced
618a4b63a9cd055f1782903e860e9a93dfd30fc9
refs/heads/master
2020-08-28T23:44:10.102451
2020-07-19T15:26:45
2020-07-19T15:26:45
217,856,119
1
0
null
null
null
null
UTF-8
Python
false
false
1,060
py
class Solution: def addStrings(self, num1: str, num2: str) -> str: def calc(s1, s2, carry, ret): if not s1 and not s2 and carry == "0": return ret if not s1: return calc2(s2, carry, ret) if not s2: return calc2(s1, carry, re...
[ "cleiveliu1@gmail.com" ]
cleiveliu1@gmail.com
87cdafc0ec21c45f0602adf4ef6cbabe2cbd3d95
48eb3dc41a8b9b0680c98fb54dd3119f131d7700
/06_contests/c730_input.py
cc8a7adbce8e15afcbcb5241964f95f609ff1a89
[ "MIT" ]
permissive
roger1688/AdvancedPython_2019
76a212a2203c70c4b74be4f60dbcf076ccf89578
86c23257f7ef54f59ed5dccedf42bd646300f4ae
refs/heads/master
2023-03-15T19:25:35.441363
2019-06-29T02:59:16
2019-06-29T02:59:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
148
py
import sys f = sys.stdin.readlines() heights = f[0][:-1].strip().split(' ') heights = [int(h) for h in heights] na = int(f[1]) # Progress Result
[ "teacher144123@gmail.com" ]
teacher144123@gmail.com
e63058707751b4d51d59db9df640a2293a5831b7
0393de557686f3a7c81d1a60bbfb3895d1e18cb1
/e2components/Components/Converter/j00zekShareBlinkingClock.py
fdce0ec9c438c5c637efb0b98f314f7213a8924c
[]
no_license
yazidzebiri/eePlugins
e91193b419ab34131a952da00e2f8e1b08cad420
36fa3dd9a8d10b4a452a33962add68f1a12d6b58
refs/heads/master
2023-06-17T16:02:37.079183
2021-07-07T12:44:05
2021-07-07T12:44:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
375
py
from Components.Converter.Converter import Converter from Components.Element import cached class j00zekShareBlinkingClock(Converter, object): def __init__(self, type): Converter.__init__(self, type) @cached def getBoolean(self): return True boolean = property(getBoolean) def cha...
[ "zdzislaw22@windowslive.com" ]
zdzislaw22@windowslive.com
f0b956afe420d02c93c4d01760442b4090ca8c54
b709181a58f68a02bb840e9d14211fe57a3460f5
/config.py
3d5d584eb825a89934cc7d00b60d14cca0e1c096
[]
no_license
poemusica/BoidsWebApp
25d9c5b0594435127bb1cd28a8e92c4d016b162c
a4552dbb6bf2457b5bc6d90789fe90969275b5bf
refs/heads/master
2023-02-06T00:26:54.622439
2021-05-25T02:23:30
2021-05-25T02:23:30
22,090,690
1
0
null
2023-02-02T07:21:37
2014-07-22T04:27:21
Processing
UTF-8
Python
false
false
394
py
# hello, this is a file that I wrote in order to develop on multiple platforms # ubuntu/mac vs. windows 8 # it specifies the postgres port information for each platform # import this file into model.py and use the appropriate variable when creating the engine # on mac/ubuntu use unixpath = 'postgresql:///boid' # on ...
[ "=" ]
=
a57b4966c76ff87a0297ee9d4d54fdcb9c8ddbc9
677485b6d79534b7e98d8b61e2704619157b46bf
/auth_api/api.py
74edacf03e2397685d48f8e77b837cb7654d5133
[]
no_license
Oswaldinho24k/djangular
52f2075868b99fcdca4ada161415d682a74d7b77
1ff5aab393e89ce47ff1b7bf7a2af091ecd2dc8e
refs/heads/master
2020-05-24T11:41:45.843302
2017-03-15T20:57:14
2017-03-15T20:57:14
84,853,417
0
0
null
null
null
null
UTF-8
Python
false
false
887
py
from django.contrib.auth import authenticate, login, logout from rest_framework import status, views from rest_framework.response import Response from django.views.decorators.csrf import csrf_protect from django.utils.decorators import method_decorator from .serializers import UserSerializer class LoginView(views.API...
[ "oswalfut_96@hotmail.com" ]
oswalfut_96@hotmail.com
57ee3f8488f30eedad2781dbc3fe6d7dcad2804b
c6726ec66b607cd2d4a8de25fca556419acc12b6
/app_server/__init__.py
555372bd82d2943f6332102e316fdc989a81af51
[]
no_license
ads0218/risingsun-room-server
a41fe29c347bcf5bf41e441361842301d11ad229
c1ac6883f8840d2900f0c1044320237cf63116ca
refs/heads/master
2021-01-11T14:42:40.089642
2017-02-11T11:23:42
2017-02-11T11:23:42
80,192,339
0
0
null
null
null
null
UTF-8
Python
false
false
2,138
py
__version__ = '0.1dev' """ rising-sun-room-server ~~~~ 서산시 부동산 통합 정보 사이트 :writer: 2017 by daehyun Baek """ import hashlib import eventlet from datetime import timedelta from flask import Flask from flask_login import current_user from flask_socketio import join_room import cgitb cgitb.enable(format='...
[ "bdh931101@gmail.com" ]
bdh931101@gmail.com
777a4576621a055bdbc5f9571469ac9e632d0409
6679ab23bf4f0100eb07cf13be21a8c1b1ae4c1f
/Python_Team_Notes/Math/에라토스테네스의 체.py
2bfda77c7763f3dea97297ecc39876f0c78a2a16
[]
no_license
gimquokka/problem-solving
1c77e0ad1828fa93ebba360dcf774e38e157d7b6
f3c661241d3e41adee330d19db3a66e20d23cf50
refs/heads/master
2023-06-28T10:19:07.230366
2021-07-29T11:29:26
2021-07-29T11:29:26
365,461,737
4
0
null
null
null
null
UTF-8
Python
false
false
1,198
py
""" # 전략 - 모두 소수로 초기화 후 - 2 ~ int(math.sqrt(x))+1까지 돌면서 x까지의 모든 배수를 False로 바꿔주면 됨 # Time Complexity O(NloglogN) # 주의 사항 - x 값이 클 경우 메모리를 많이 차지 함으로 주의! """ import math n = 1000 # 2 부터 1000까지의 모든 수에 대하여 소수 판별 d = [True for i in range(n+1)] # 모든 수 소수로 초기화 d[0], d[1] = False, False # 1은 소수가 아님으로 # 15mb # 에라토스테네스의 체 알...
[ "gimquokka@gmail.com" ]
gimquokka@gmail.com
8f668e9a3bc3e5e1be359dff388ed0d88ee20871
c295a60e3abba2315612d58ab1221798be387cbb
/tf/search/spin.py
415f2210cdfaa9b6c5c5c55ad0d50365fa5fc140
[ "Unlicense" ]
permissive
justin-thon/text-fabric
f796fe8129eb784079d01460291ab24da4f61cf4
a203e5730888751b0ba490224c75f22199ab3caf
refs/heads/master
2020-04-22T18:33:12.261601
2019-02-07T16:59:37
2019-02-07T16:59:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,578
py
import types from random import randrange from inspect import signature from .syntax import ( reTp, cleanParent, QWHERE, QWITHOUT, QWITH, QHAVE, QOR, QEND, ) from ..core.helpers import project # SPINNING ### def _spinAtom(searchExe, q): F = searchExe.api.F Fs = searchExe.api.Fs ...
[ "dirk.roorda@dans.knaw.nl" ]
dirk.roorda@dans.knaw.nl
c56e8ed3bdb4868efbb71a7e15d3c01fd14222b7
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/built-in/audio/ESPnet2_for_PyTorch/espnet/nets/pytorch_backend/lm/default.py
01bb26ea4a071e1672952ee0cfb754d16ad6d8e6
[ "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
14,597
py
"""Default Recurrent Neural Network Languge Model in `lm_train.py`.""" from typing import Any from typing import List from typing import Tuple import logging import torch import torch.nn as nn import torch.nn.functional as F from espnet.nets.lm_interface import LMInterface from espnet.nets.pytorch_backend.e2e_asr im...
[ "ningzhenjiang@huawei.com" ]
ningzhenjiang@huawei.com
24c029e2b05a544c17a11edb86df516b9f160f3e
147e1f15d6406da0ec0563d99ebcb4e6e653605a
/cristianoronaldoyopmailcom_346/urls.py
13a7e98c47068c81af1e2430dacf6446b8e06f09
[]
no_license
payush/cristianoronaldoyopmailcom-346
45048c93b6b270ab267ed28c23d442016ad17bd9
b137429f5ecc2ef4f02ed04030aa84e92c8456d4
refs/heads/master
2020-03-23T19:48:44.895538
2018-07-23T11:12:23
2018-07-23T11:12:23
142,003,440
0
0
null
null
null
null
UTF-8
Python
false
false
940
py
"""cristianoronaldoyopmailcom_346 URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.11/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...
[ "ayushpuroheet@gmail.com" ]
ayushpuroheet@gmail.com
43a85bafb513f201234f38c0dec0a984c22a1ebb
4c229dfd4ee6ae16827bd6fe68c24ea33959e96c
/vision/main2.py
d745b4972e59970b1733e6cd8220dbeaaf853321
[]
no_license
ZhitongW/HackHarvard_ThinkTwice
93b303ece3fa3b27dc4d4775549a76dfc9542dde
09e486d2c477997e6628a71bf64e30f27c79e534
refs/heads/master
2021-07-23T11:48:31.696513
2017-10-22T13:00:40
2017-10-22T13:00:40
107,892,073
0
0
null
null
null
null
UTF-8
Python
false
false
3,613
py
import base64 import os from flask import Flask, redirect, render_template, request, redirect, url_for from google.cloud import datastore from google.cloud import storage from google.cloud import vision app = Flask(__name__) @app.route("/") def homepage(): # Create a Cloud Datastore client. datastore_clien...
[ "billchen99@gmail.com" ]
billchen99@gmail.com
3b41423b5f587c56dfb78b0b57d08249e6aa3f22
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03273/s707719009.py
f3537d1c992eaa8a9449d223cc16c5f6efff8cfb
[]
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
429
py
h, w = map(int, input().split()) masu = [] for i in range(h): line = list(input()) if line != ["."] * w: masu.append(line) h = len(masu) del_i = [] for i in range(w): for j in range(h): if masu[j][i] != ".": break else: del_i.append(i) w = len(del_i) for j in range(...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
f0253da4c626b2eb1a74cc18faffa23595d9e0db
6df9a960c0a4e2049b5932938a83ee82d4516412
/creating-project/project/project/stations/migrations/0001_initial.py
ada93c5fd0f1e6738dda3cef4b231622a92ce155
[]
no_license
alekseykonotop/dj_hw
9585f0d42ec95d31f5eeae09b953e5f195bc9ee7
6752361d007d777127eb77445d45da58332e0223
refs/heads/master
2021-07-19T06:30:04.333018
2019-09-21T18:12:38
2019-09-21T18:12:38
177,439,677
0
0
null
2020-06-05T22:56:52
2019-03-24T16:24:46
Python
UTF-8
Python
false
false
1,460
py
# Generated by Django 2.2 on 2019-09-15 19:31 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Route', fields=[ ('id', models.AutoField(auto...
[ "alekseykonotop@gmail.com" ]
alekseykonotop@gmail.com
7985cd7b3808d6d30a56dea0f8ef34fecb2b554c
00ede1aac54593f9b0e41822b29a3781b47a1142
/maotai-online/mxonline/settings.py
f9d5b4e2082fa6bb874e7f522400aee648cefe25
[]
no_license
lannyMa/learn-py
b8c619cc9b6ac494eeceb61dbeaa92cafed91844
380d6f4392af6fff725a22b2843a5a7e04d5002d
refs/heads/master
2021-06-23T06:50:09.455717
2017-09-06T00:15:43
2017-09-06T00:15:43
87,917,766
0
0
null
null
null
null
UTF-8
Python
false
false
3,606
py
""" Django settings for mxonline project. Generated by 'django-admin startproject' using Django 1.11.4. For more information on this file, see https://docs.djangoproject.com/en/1.11/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.11/ref/settings/ """ import o...
[ "iher@foxmail.com" ]
iher@foxmail.com
b592073977ca2d349babe85629245e1dd9f68034
4a48593a04284ef997f377abee8db61d6332c322
/python/sphinx/article/conf.py
45a6af5a0089ac147dc4d2ad010da6d0c0a8f32f
[ "MIT", "CC-BY-4.0", "CC-BY-3.0" ]
permissive
jeremiedecock/snippets
8feaed5a8d873d67932ef798e16cb6d2c47609f0
b90a444041c42d176d096fed14852d20d19adaa7
refs/heads/master
2023-08-31T04:28:09.302968
2023-08-21T07:22:38
2023-08-21T07:22:38
36,926,494
26
9
MIT
2023-06-06T02:17:44
2015-06-05T10:19:09
Python
UTF-8
Python
false
false
8,592
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # Introduction à la correction orthographique avec Vim documentation build configuration file, created by # sphinx-quickstart on Wed Aug 19 00:48:07 2015. # # This file is execfile()d with the current directory set to its # containing dir. # # Note that not all possible ...
[ "jd.jdhp@gmail.com" ]
jd.jdhp@gmail.com
50f0c873af44f1559ad2a07b228690551e906d50
c7d91529db199322e39e54fe4051a75704ea843e
/fuck/twoSum.py
03d09572ee6f178b472ed059349d190208c4663a
[]
no_license
2226171237/Algorithmpractice
fc786fd47aced5cd6d96c45f8e728c1e9d1160b7
837957ea22aa07ce28a6c23ea0419bd2011e1f88
refs/heads/master
2020-12-26T07:20:37.226443
2020-09-13T13:31:05
2020-09-13T13:31:05
237,431,164
0
0
null
null
null
null
UTF-8
Python
false
false
697
py
# 给你一个数组和一个整数target,可以保证数组中存在两个数的和为target,请你返回这两个数的索引。 def twoSum1(nums,target): hash_map=dict() for i,x in enumerate(nums): if target-x in hash_map: return i,hash_map[target-x] hash_map[x]=i return -1,-1 print(twoSum1([1,2,3,4,5],8)) # 输入序列有序,怎么优化:双指针 def twoSum2(nums,target...
[ "2226171237@qq.com" ]
2226171237@qq.com
40ee91b3fbf10ce8f90915c9851b8488cfb53f05
01548099ec20976d31cca7a720102c11c56fc9be
/run.py
afe02aaeea15db611120e9c8638e6ab75a8da3d4
[]
no_license
OMEN001/Lemon_Api_Test
6a27a9a9ccf28623006b465a107d53b17ad30404
373c9f1a1f1f3160bbe8edcc4b5740f9779947ae
refs/heads/master
2023-02-25T22:31:39.824908
2021-01-24T14:22:52
2021-01-24T14:22:52
329,324,658
1
0
null
null
null
null
UTF-8
Python
false
false
2,255
py
# -*- coding: utf-8 -*- # @Time : BaLiang # @Author : 86187 import unittest import os from datetime import datetime from scripts.handle_yaml import do_yaml from libs.HTMLTestRunnerNew import HTMLTestRunner from scripts.handle_path import REPORTS_DIR from scripts.handle_path import CESES_DIR # 创建测试套件 suite = unitte...
[ "1668317403@qq.com" ]
1668317403@qq.com
6d6fad92ef8f706307f1c6aaacad963af48dc05d
16b770341388264e0598ed4d8245d676b183d548
/utils/users/user_expansion.py
e1668e7a8ac1d2d1511f1187fbb4c4487b4b7267
[]
no_license
GINK03/kigyo
14fb2fe9b081f297f7e0753e23473633a5a3e47a
abc5992f70e9b3f70f28894de3af19bf8e0e7123
refs/heads/master
2022-12-15T03:42:06.808531
2020-09-16T01:37:11
2020-09-16T01:37:11
286,239,535
2
0
null
null
null
null
UTF-8
Python
false
false
3,291
py
from tqdm import tqdm from concurrent.futures import ProcessPoolExecutor import random import pandas as pd import pickle import gzip import numpy as np import glob from pathlib import Path import json import os import socket HOME = Path().home() TOP = Path(__file__).resolve().parent.parent.parent IDF = json.load(open(...
[ "gim.kobayashi@gmail.com" ]
gim.kobayashi@gmail.com
3eff87c062122fe95fdd717bc7f5c9d0ec6ee39c
471ea669e21abdb4e4915610b4b5eb43ea3cffe9
/leetcode/563.二叉树的坡度.py
509d4b1f6d96f3c645ee518bf1d8f36a1ea25a6f
[]
no_license
JiahuaLink/nowcoder-leetcode
26aed099e215cfc1d8e8afffc62fafa26b26b06f
0155fc33511cbe892f58550d561d3aa3efcd56b9
refs/heads/master
2023-07-09T03:05:31.227720
2021-08-03T06:50:36
2021-08-03T06:50:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
951
py
# 与543题相似 # 方法一 class Solution(object): def findTilt(self, root): if not root: return 0 # 对每一个结点求坡度 return abs(self.nodeSum(root.left) - self.nodeSum(root.right)) + self.findTilt(root.left) + self.findTilt(root.right) # 求某结点为根时,该树的结点之和 def nodeSum(self, root): ...
[ "noreply@github.com" ]
JiahuaLink.noreply@github.com
55e882098b29240b11ad9394e3a3d01ceef114d9
5fe709d0643394168dd919bbc721adabebe60a97
/profiler/image_classification/models/inception.py
d097a751c7d626d1b3ed480d2560d1999b253f5e
[ "MIT" ]
permissive
vibhatha/pipedream
8232b67366a0dd84e41fd496c9b2e8b86dbfdd89
af6b811f5d01a68e9eb91065e5242fc1a075f279
refs/heads/master
2020-12-20T18:21:35.337352
2020-07-06T04:54:23
2020-07-06T04:54:23
236,167,878
0
0
MIT
2020-01-25T12:34:04
2020-01-25T12:34:03
null
UTF-8
Python
false
false
12,628
py
# Copyright (c) Microsoft Corporation. # Licensed under the MIT license. import torch import torch.nn as nn import torch.utils.model_zoo as model_zoo import torchmodules.torchgraph as torchgraph __all__ = ['Inception3', 'inception_v3'] model_urls = { # Inception v3 ported from TensorFlow 'inc...
[ "vibhatha@gmail.com" ]
vibhatha@gmail.com
170ca66531864b66a0c24165b8e0c9e0c2ab44a1
8a452b71e3942d762fc2e86e49e72eac951b7eba
/leetcode/editor/en/[1332]Remove Palindromic Subsequences.py
c05ef632ac550b5f3060318bbc44a628b897e99d
[]
no_license
tainenko/Leetcode2019
7bea3a6545f97c678a176b93d6622f1f87e0f0df
8595b04cf5a024c2cd8a97f750d890a818568401
refs/heads/master
2023-08-02T18:10:59.542292
2023-08-02T17:25:49
2023-08-02T17:25:49
178,761,023
5
0
null
2019-08-27T10:59:12
2019-04-01T01:04:21
JavaScript
UTF-8
Python
false
false
1,436
py
# You are given a string s consisting only of letters 'a' and 'b'. In a single # step you can remove one palindromic subsequence from s. # # Return the minimum number of steps to make the given string empty. # # A string is a subsequence of a given string if it is generated by deleting # some characters of a gi...
[ "31752048+tainenko@users.noreply.github.com" ]
31752048+tainenko@users.noreply.github.com
f71e4c004d273a6e9fe5f9d158fa2a2304697341
1a29b94abf1b35f73b546d28b3a4a9d12ee34b73
/django_mysql/models/functions.py
b798e544124974bfd3ac424a40afe91adae02121
[]
permissive
MichaelAquilina/django-mysql
8c25d2c81179a5ddb08635e41b4da2410daab735
91ba48b1220d587b2f498502c07304fc98b49667
refs/heads/master
2021-07-09T18:21:22.875357
2015-11-07T14:57:32
2016-01-03T23:12:56
45,731,640
0
0
BSD-3-Clause
2021-04-20T21:15:24
2015-11-07T10:16:33
Python
UTF-8
Python
false
false
8,982
py
from django.db import DEFAULT_DB_ALIAS, connections from django.db.models import CharField, IntegerField, TextField from django_mysql.compat import Func, Value class SingleArgFunc(Func): output_field_class = None def __init__(self, expression): super(SingleArgFunc, self).__init__(expression) ...
[ "adam@adamj.eu" ]
adam@adamj.eu
52d215bcfa4d3a685751299c582e7d0ad7f9c883
d0758e0ca004226cec8ad8b26c9565c98534a8b8
/11-videogames/Diciembre/03b Pewpewpew platformer/settings.py
270252d5801a2caef36c05d6ee2b1232ed1702e7
[]
no_license
pythoncanarias/eoi
334d64a96afc76ac1fa10282378f291b6d8c94b3
349367254f85e3e4273cede067ca950913a1332c
refs/heads/master
2023-07-06T08:00:11.366345
2023-06-30T15:19:33
2023-06-30T15:19:33
222,742,870
26
19
null
2023-06-25T16:03:46
2019-11-19T16:41:25
Jupyter Notebook
UTF-8
Python
false
false
1,522
py
WIDTH = 640 HEIGHT = 480 FPS = 30 TILESIZE = 20 WHITE = (255, 255, 255) BLACK = (0, 0, 0) DARKGREY = (32, 32, 32) LIGHTGREY = (198, 198, 198) RED = (255, 0, 0) DARKRED = (64, 0, 0) GREEN = (25, 200, 25) DARKGREEN = (25, 125, 25) BLUE = (25, 25, 200) BROWN = (80, 40, 12) ORANGE = (255, 128, 0) YELLOW ...
[ "euribates@gmail.com" ]
euribates@gmail.com
ddbe69a5d656ec0c40cc42cb20316c73f10d1e4a
2a54e8d6ed124c64abb9e075cc5524bb859ba0fa
/.history/2-Python-Basics-part2/5-short-circuiting_20200414001624.py
aab874dc5dd0a48f8ad7bc42f2d5f1a935fdc35c
[]
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
157
py
# Short Circuting is_Friend = True is_User = True if is_Friend or is_User: print("both are true") if is_Friend and is_User: print("both are true")
[ "tikana4@yahoo.com" ]
tikana4@yahoo.com
726b6dd01b2c464c52d66579622f4b7cc1a955b5
94c7440e7f1d2fdbe4a1e26b9c75a94e49c14eb4
/leetcode/398.py
280643e1fbbc87d26eecd6de79fb80c554a5abfb
[ "Apache-2.0" ]
permissive
windniw/just-for-fun
7ddea4f75cf3466a400b46efe36e57f6f7847c48
44e1ff60f8cfaf47e4d88988ee67808f0ecfe828
refs/heads/master
2022-08-18T09:29:57.944846
2022-07-25T16:04:47
2022-07-25T16:04:47
204,949,602
1
0
null
null
null
null
UTF-8
Python
false
false
1,000
py
""" link: https://leetcode-cn.com/problems/random-pick-index problem: 离线数组,要求给k随机返回 i,有nums[i] == k solution: 丢字典维护数组随机返回 solution-fix: 蓄水池抽样。将nums视为数据流,令池大小为1,遍历nums时当 nums[i] == target 入池模拟数据流动,每次以 1/cnt 保留池子中的下标 """ class Solution: def __init__(self, nums: List[int]): self.m = collecti...
[ "windniw36@gmail.com" ]
windniw36@gmail.com
2ff3cc37d33cf6621bbdfc5cf51375e6f14ba5c7
79b6a2497953d6832670af4447d2bbb3bdf23965
/v4_00/Context/Context/Notify_Control.py
016d317dc631a2873761f2012100c48ffbc2ad8c
[]
no_license
davidjsanders/studyWork
07a0ec7d47324377a09b4a71e6186e374900255d
ba992c17def649a3b789930d7776cda68423e8ce
refs/heads/master
2021-05-31T05:24:36.323939
2016-04-15T00:23:53
2016-04-15T00:23:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
316
py
from Context.v4_00_Notify_Control import v4_00_Notify_Control # # SuperClass. # ---------------------------------------------------------------------------- class Notify_Control(v4_00_Notify_Control): def __init__(self): super(Notify_Control, self).__init__() notify_control_object = Notify_Control()
[ "dsanders_can@outlook.com" ]
dsanders_can@outlook.com
24904710c3b4370d3dcbefa8e602666e139c651b
da85d4caf3e5e1c9df8839fafd51f960f02daadd
/FabricUI/pattern/pattern_utils.py
559bbeef7d2370db849802fed3fe5b48473e6b00
[ "Apache-2.0" ]
permissive
shuaih7/FabricUI
6efe58f3dbefebbd49607094a28bf2d7bc9314ca
6501e8e6370d1f90174002f5768b5ef63e8412bc
refs/heads/main
2023-04-13T10:07:42.090043
2021-04-13T02:55:12
2021-04-13T02:55:12
314,152,777
1
0
null
null
null
null
UTF-8
Python
false
false
828
py
#!/usr/bin/python # -*- coding: utf-8 -*- ''' Created on 03.02.2021 Updated on 03.18.2021 Author: haoshuai@handaotech.com ''' import os def preprocessResults(results): boxes = results['boxes'] labels = results['labels'] width = list() s_boxes = list() boxes_info = list() boxes_index = ...
[ "shuaih7@gmail.com" ]
shuaih7@gmail.com
51ae9f8d49479917af7a2492da3199fb2a10ebb6
fbddd92b0eafcc79a24c05cbfe5e688174a5be27
/day13/test9.py
5b8990ed6040bd1d3857db3530eb9480707132dc
[]
no_license
priyankakumbha/python
968902b82811c31020b6ad2d853fee8ef64ec1a5
ae428d56e4afffa2fc16a8e03e99eeb6bf560037
refs/heads/master
2022-08-26T13:31:26.874275
2020-05-22T12:47:22
2020-05-22T12:47:22
266,107,443
0
0
null
null
null
null
UTF-8
Python
false
false
271
py
class Test: i = 100; j = 'abc' print(Test.i) print(Test.j) t1 = Test(); t2 = Test(); t3 = Test(); print(t1.i, t1.j) print(t2.i, t2.j) print(t3.i, t3.j) Test.i = 5000; Test.j = 'xyz'; t1.i = 10 t1.j = 20 print(t1.i, t1.j) print(t2.i, t2.j) print(t3.i, t3.j)
[ "priyankakumbhar789@gmail.com" ]
priyankakumbhar789@gmail.com
744c657bbec1c4d3ce6975559d151b779d2b056e
f4335e8e7d3010506f570167bbba18156d3a4674
/stubs/django/contrib/gis/db/__init__.pyi
d6c350d462c01e82597ef00447a06a79f3cfda10
[]
no_license
rtpg/typehangar
133686ea45ad6187b768290aeebda9cbcae25586
790d057497c4791a38f9e3e009b07935b4a12f45
refs/heads/master
2021-01-19T04:49:17.940793
2017-01-16T13:54:14
2017-01-16T13:54:14
69,260,488
0
0
null
null
null
null
UTF-8
Python
false
false
126
pyi
# Stubs for django.contrib.gis.db (Python 3.5) # # NOTE: This dynamically typed stub was automatically generated by stubgen.
[ "raphael@rtpg.co" ]
raphael@rtpg.co
a72be2d03890c903694ee172f32160d749f4a5b0
bc0e30ee5cf43958c6224fa5666e46e7cfdad37d
/PWN/2020高校战疫/musl/musl.py
97338d777cc85e2cb93f47bba77fe209cc160d6c
[ "MIT" ]
permissive
gamblingmaster2020/SEC_LEARNING
612649a32b6767c8ee8363c33bb561c82ce482ab
34126ac7427d48f774f03b43d40fd128c5468bc9
refs/heads/master
2022-04-19T03:40:57.351992
2020-03-20T08:55:01
2020-03-20T08:55:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,773
py
from pwn import * context.arch = "amd64" io = remote("119.3.158.103",19008) libc = ELF("./libc.so") libc.sym["environ"] = 0x7f3d75966fd8-0x7f3d756d2000 def A(size, na, words): io.sendlineafter("> ","1") io.sendlineafter(" >",str(size)) io.sendlineafter(" >",na) if len(words) == size: io.senda...
[ "wangzhong9989@126.com" ]
wangzhong9989@126.com
1b215a3474a3b5d93d629d7b6fdf60487e166c0c
9c74814f9bf90529d5ccd7a1dcebe062235ca67c
/third_party/nordigen/nordigen/models/requisition_v2.py
10d1f2889466187cd42168862e2db7bba2b6015c
[ "MIT" ]
permissive
ltowarek/budget-supervisor
63196fe7cef78f0f54a25891d65870745cc7cf49
618e01e15a7a76ed870dafccda399720a02b068b
refs/heads/master
2021-12-15T06:41:37.531689
2021-11-08T19:51:58
2021-11-08T19:53:03
26,971,315
1
0
MIT
2021-07-04T10:56:24
2014-11-21T17:56:36
Python
UTF-8
Python
false
false
10,863
py
# coding: utf-8 """ Nordigen Account Information Services API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 OpenAPI spec version: 2.0 (v2) Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint imp...
[ "lukasz.towarek@gmail.com" ]
lukasz.towarek@gmail.com
147bb88899a98f684f81fe7daf8f5d15b4ec2bc7
ef9113fc80e1e292b0a8743d993a90e03a8c8ac1
/project/invitro/api.py
98f385c4159e6a48c70e3fdc7b740310ab2e855c
[]
no_license
reneebeardslee/hawc
e9b1209b747501f4c23becd3cd63aaa57c146486
73e2176b7f2b51448e96b6528012669901d9244d
refs/heads/master
2021-01-17T07:51:32.269120
2015-08-10T14:59:36
2015-08-10T14:59:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
637
py
from __future__ import absolute_import from assessment.api.views import AssessmentViewset from . import models, serializers class IVChemical(AssessmentViewset): assessment_filter_args = "assessment" model = models.IVChemical serializer_class = serializers.IVChemicalSerializer class IVExperiment(Assess...
[ "shapiromatron@gmail.com" ]
shapiromatron@gmail.com
e1c5c5ac8b7f815a3cb574562fd6065692d5690c
85adb53ab328e81e28be372f092b53cbcd49619c
/tests/test_choices_schema.py
0cf1852984f38f39d9c36a81606ea22ea0492586
[ "MIT" ]
permissive
SolAstri/ormar
a5f038fb6a0825160b8d36f3bfbe68b197475882
88baf9ebf0d8effb5486c4d1f31be459b6575cab
refs/heads/master
2023-03-08T20:25:34.431860
2021-02-17T17:27:41
2021-02-17T17:27:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,366
py
import datetime import decimal import uuid from enum import Enum import databases import pydantic import pytest import sqlalchemy from fastapi import FastAPI from starlette.testclient import TestClient import ormar from tests.settings import DATABASE_URL app = FastAPI() database = databases.Database(DATABASE_URL, fo...
[ "collerek@gmail.com" ]
collerek@gmail.com
d898577e1767e286fd503d7bdd29601e58c6883d
3b9b4049a8e7d38b49e07bb752780b2f1d792851
/depot_tools/cit.py
b99411bc922a2b054e829fe44d7647d73dcc1f3a
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
webosce/chromium53
f8e745e91363586aee9620c609aacf15b3261540
9171447efcf0bb393d41d1dc877c7c13c46d8e38
refs/heads/webosce
2020-03-26T23:08:14.416858
2018-08-23T08:35:17
2018-09-20T14:25:18
145,513,343
0
2
Apache-2.0
2019-08-21T22:44:55
2018-08-21T05:52:31
null
UTF-8
Python
false
false
4,901
py
#!/usr/bin/env python # Copyright (c) 2015 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """Wrapper for updating and calling infra.git tools. This tool does a two things: * Maintains a infra.git checkout pinned at "dep...
[ "changhyeok.bae@lge.com" ]
changhyeok.bae@lge.com
286e773c11f0ecd88868782a265a9233c1a848bb
f0daf85b85c69c26e989783c2238dfc0320956c9
/batch_manger/conf/__init__.py
b57801a8d19d8618625f6a8afa9a2b51329d541c
[]
no_license
cnbjljf/just_fun
588410a9813908a6f6c82ae8fd30f3cc3fcf99c5
6aad4e251a4a5b34d3c30bb4f2cb9936a5acb18e
refs/heads/master
2021-01-19T05:46:41.481118
2016-07-03T11:48:21
2016-07-03T11:48:21
62,484,748
0
0
null
null
null
null
UTF-8
Python
false
false
31
py
#!/usr/bin/env python ''' '''
[ "1403208717@qq.com" ]
1403208717@qq.com
26ea5eaf40a3b68060c970d976ef810bd7430242
262bb8790abdb76e04587a42013e6012453fb60f
/naoqi_proxy_python_classes/ALModularity.py
abcdbe0424d98d8f821ce0dcc95bcb23d6afc1fe
[]
no_license
teddius/pynaoqi_mate
a0382df0f0a83e531a2c5ee638713202297085b3
aa2902e29a33cd04105e19230e556ace03b04f91
refs/heads/master
2020-05-09T12:54:46.972236
2017-02-28T12:01:42
2017-02-28T12:01:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,167
py
#!/usr/bin/env python # Class autogenerated from /home/sam/Downloads/aldebaran_sw/nao/naoqi-sdk-2.1.4.13-linux64/include/alproxies/almodularityproxy.h # by Sammy Pfeiffer's <Sammy.Pfeiffer at student.uts.edu.au> generator # You need an ALBroker running from naoqi import ALProxy class ALModularity(object): def _...
[ "sammypfeiffer@gmail.com" ]
sammypfeiffer@gmail.com
62891d7ead789cafdac4036ae173b34f3dc21ce9
e523652e0379f291f675e5cba4c1f667a3ac3b19
/commands/authorised
aefd47b771c1c29914a3b0e0f183cafe13cae7be
[ "Apache-2.0" ]
permissive
sbp/saxo
735bac23c8d214b85ca48c5c43bc12b1531ce137
27030c57ed565db1aafd801576555ae64893d637
refs/heads/master
2023-09-01T09:08:13.633734
2023-08-29T12:51:40
2023-08-29T12:51:40
9,411,794
25
13
Apache-2.0
2021-06-19T15:09:44
2013-04-13T10:06:52
Python
UTF-8
Python
false
false
245
#!/usr/bin/env python3 # http://inamidst.com/saxo/ # Created by Sean B. Palmer import saxo @saxo.pipe def authorised(arg): if saxo.env("authorised"): return "You are an authorised user" return "You are not an authorised user"
[ "sean@miscoranda.com" ]
sean@miscoranda.com
52f4380ac017a75889119cd07be0c88b4a403ea2
77f5a3a422cca02694f2b2161e94dfaa4509b7ff
/CSD_modeling/model_symm_imaging.py
02f56c94a854ee4ca4c012a560130ef692ded316
[ "MIT" ]
permissive
interstellarmedium/DSHARP_CPDs
850b0c345056560f4b20f763a4d7b3f72eae1c40
40d8f02945e0d412c5c912b050d4a3d8c6dbbfa2
refs/heads/master
2023-03-19T13:39:52.406972
2021-03-15T19:26:16
2021-03-15T19:26:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,434
py
import os, sys import numpy as np execfile('reduction_utils.py') execfile('JvM_correction.py') execfile('ImportMS.py') sys.path.append('../') import diskdictionary as disk # read which disk this is about target = str(np.loadtxt('whichdisk.txt', dtype='str')) # load model and residual visibilities into MS format Impor...
[ "sandrews@cfa.harvard.edu" ]
sandrews@cfa.harvard.edu
7533a1c89d220036daf5ee9d552be0ca7a3830de
f34a81fa55a80130e2f70197e011cccb9dee063f
/python/oreilly_intermediate_python/unit3/sonnets/sonnets.py
efc51f8d0881f572caeb276537d0a6b690658c87
[]
no_license
ilyarudyak/data_science
7d71ecdf17cc68be33b598ae2e51cba48b5b3aab
deb992b2760c4fea7f39f64089f6c1884f3fdb51
refs/heads/master
2020-05-27T11:10:32.679938
2017-02-22T21:29:26
2017-02-22T21:29:26
82,545,214
0
0
null
null
null
null
UTF-8
Python
false
false
536
py
import time my_words = [elt.strip() for elt in open("sonnet_words.txt", "r").readlines()] word_list = [elt.strip() for elt in open("sowpods.txt", "r").readlines()] word_dict = {elt:1 for elt in word_list} counter = 0 start = time.time() for word in my_words: # instead of word_list # we don...
[ "ilyarudyak@yahoo.com" ]
ilyarudyak@yahoo.com
5be05067fb538801d0de2d3957dbde76b3fbb412
af41c215f420bbd66067d6dc851ce41d9ed40819
/TCRBM/RBM.py
e7f002c6f76319c20878c0935663991669ebde1c
[]
no_license
danathughes/pyNeuralNetwork
b704f525bddbc64eabf33c1174dad0649be7bfd9
dbe2090e50434f33ac7a46845ad67eb5dc7dea87
refs/heads/master
2021-01-01T16:30:47.781646
2016-01-27T23:11:51
2016-01-27T23:11:51
19,729,930
0
4
null
2015-02-27T22:22:18
2014-05-13T07:32:24
Python
UTF-8
Python
false
false
6,381
py
import numpy as np import random import copy class TRBM: """ """ def __init__(self, num_visible, num_hidden, num_time_delay): """ """ self.num_visible = num_visible self.num_hidden = num_hidden self.num_time_delay = num_time_delay # Weights is a matrix representing the w...
[ "danathughes@gmail.com" ]
danathughes@gmail.com
3188202d16aa19679cc69623d0563ec984de4c84
ff6b5d34ad5018e8c9ffeed672fe068f0f8dd039
/copa_transparente/utils.py
3668dbdc6ffcb4e05e00391b6e0f4d22a795d6f6
[]
no_license
loogica/copa_transparente
8742c2edf2aa25a698a3e459c8e38a2107d94230
5fc8bf6e3d9ed3ae67732880e407712f1dedc5ca
refs/heads/master
2021-01-23T21:28:00.381417
2014-08-18T03:56:35
2014-08-18T03:56:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
436
py
# coding: utf-8 def extract_table_name(meta_name): values = meta_name.split('_') return values[0], meta_name.replace("{}_".format(values[0]), '') def fix_line(line, max_rows): ret = [] for i, data in enumerate(line): if i >= max_rows: break if data.endswith('"'): ...
[ "felipecruz@loogica.net" ]
felipecruz@loogica.net
b029c1926c90753970ffefa5092e25606191c103
bc6492a9a30ac7228caad91643d58653b49ab9e3
/sympy/functions/elementary/tests/test_piecewise.py
8fb8f0bcb4d0164f873b121ebf1c5ac833846dbf
[]
no_license
cosmosZhou/sagemath
2c54ea04868882340c7ef981b7f499fb205095c9
0608b946174e86182c6d35d126cd89d819d1d0b8
refs/heads/master
2023-01-06T07:31:37.546716
2020-11-12T06:39:22
2020-11-12T06:39:22
311,177,322
1
0
null
2020-11-12T06:09:11
2020-11-08T23:42:40
Python
UTF-8
Python
false
false
50,518
py
from sympy import ( adjoint, And, Basic, conjugate, diff, expand, Eq, Function, I, ITE, Integral, integrate, Interval, KroneckerDelta, lambdify, log, Max, Min, oo, Or, pi, Piecewise, piecewise_fold, Rational, solve, symbols, transpose, cos, sin, exp, Abs, Ne, Not, Symbol, S, sqrt, Sum, Tuple, zoo, Float...
[ "zhoulizhi@patsnap.com" ]
zhoulizhi@patsnap.com
462a151a2954c4ead9590bb911265a60fab2d513
c24ad19b65992dd2be3d3210b889d970e43b9cdc
/class/phase2/pythonNet/day03/http_test.py
2663f8a48707c5521ac9cca685d2353b65ebcec3
[]
no_license
ivoryli/myproject
23f39449a0bd23abcc3058c08149cebbfd787d12
cebfa2594198060d3f8f439c971864e0639bbf7e
refs/heads/master
2020-05-30T06:25:41.345645
2019-05-31T11:15:55
2019-05-31T11:15:55
189,578,491
0
0
null
null
null
null
UTF-8
Python
false
false
732
py
''' 模拟http协议的服务器 ''' from socket import * s = socket() s.setsockopt(SOL_SOCKET,SO_REUSEADDR,1) s.bind(('0.0.0.0',8003)) #模拟服务器,可以接收所有ip地址,相同端口就可以访问 s.listen(3) c,addr = s.accept() #接收浏览器请求 print("Connect from:",addr) data = c.recv(4096) print(data) #请求行,请求头,空行,请求体 f = open("index.html") str_data = "".jo...
[ "2712455490@qq.com" ]
2712455490@qq.com
f7e3cde766faaa4afadb9115aab8cceefe37eb4d
f576f0ea3725d54bd2551883901b25b863fe6688
/sdk/machinelearning/azure-mgmt-machinelearningservices/generated_samples/datastore/azure_file_waccount_key/create_or_update.py
0ae6c4a4789c934d8f22efc25884e04e514a1980
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
Azure/azure-sdk-for-python
02e3838e53a33d8ba27e9bcc22bd84e790e4ca7c
c2ca191e736bb06bfbbbc9493e8325763ba990bb
refs/heads/main
2023-09-06T09:30:13.135012
2023-09-06T01:08:06
2023-09-06T01:08:06
4,127,088
4,046
2,755
MIT
2023-09-14T21:48:49
2012-04-24T16:46:12
Python
UTF-8
Python
false
false
2,277
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
11a222e4b10b4b7d186f0c74252f8a172615da46
c40d1eb90464fa61c7c290ccd4f4a6416d7ed2ff
/543. Diameter of Binary Tree.py
dd94d87194061ba827e2ccf178c8574e09023844
[]
no_license
mh-rahman/Programming-Practice
2bebdd5c68490882efefa9e262d2a90bb0da51fa
e4ceb275a6c9a56999289751f13e74548d9cd185
refs/heads/master
2021-07-26T12:48:43.158183
2020-09-19T22:34:25
2020-09-19T22:34:25
219,614,371
3
1
null
null
null
null
UTF-8
Python
false
false
552
py
# Definition for a binary tree node. # class TreeNode: # def __init__(self, val=0, left=None, right=None): # self.val = val # self.left = left # self.right = right class Solution: def diameterOfBinaryTree(self, root: TreeNode) -> int: def helper(root): if root == None...
[ "rahmanhaseeb32@gmail.com" ]
rahmanhaseeb32@gmail.com
b78125bf18889d42a1343dd91e18fcbc821fc3a3
411eff94020c192d5e5f657fa6012232ab1d051c
/game/src/coginvasion/gags/Inventory.py
fba87486d656f49ce7d28bcb321fdbaa704d2d88
[]
no_license
xMakerx/cio-src
48c9efe7f9a1bbf619a4c95a4198aaace78b8491
60b2bdf2c4a24d506101fdab1f51752d0d1861f8
refs/heads/master
2023-02-14T03:12:51.042106
2021-01-15T14:02:10
2021-01-15T14:02:10
328,268,776
1
0
null
2021-01-15T15:15:35
2021-01-09T23:51:37
Python
UTF-8
Python
false
false
855
py
""" COG INVASION ONLINE Copyright (c) CIO Team. All rights reserved. @file Inventory.py @author Brian Lach @date July 20, 2015 """ from direct.directNotify.DirectNotifyGlobal import directNotify from direct.showbase.DirectObject import DirectObject class Inventory(DirectObject): notify = directNotify.newCategor...
[ "brianlach72@gmail.com" ]
brianlach72@gmail.com
f9a1cad58068016e92eecd9aaed23d9e9ad03af2
160a5d85277f47fc3a2b49a946683ca9e952a06f
/plotly/validators/layout/yaxis/tickfont/_color.py
71c41ffc10a5014169228523b29acf67ebfd215b
[ "MIT" ]
permissive
faezs/plotly.py
dbf6ce4825a9201980d820c22c6a6177e0b3d459
6009b5b9c746e5d2a2849ad255a4eb234b551ed7
refs/heads/master
2020-03-22T08:26:57.398689
2018-07-16T21:22:19
2018-07-16T21:22:19
139,767,048
0
0
MIT
2018-07-16T21:22:20
2018-07-04T21:24:01
Python
UTF-8
Python
false
false
452
py
import _plotly_utils.basevalidators class ColorValidator(_plotly_utils.basevalidators.ColorValidator): def __init__( self, plotly_name='color', parent_name='layout.yaxis.tickfont', **kwargs ): super(ColorValidator, self).__init__( plotly_name=plotly_name, ...
[ "adam.kulidjian@gmail.com" ]
adam.kulidjian@gmail.com
4fad75e9862e57644e4b4f2568d928bff184e159
caf0ba85f1c7a2b7208e7f0acebb3c047b17b0ba
/4_py_libro_1_pydroid/venv/4_py_libro_1_pydroid/string/string2.py
968131c3586ae89d94b3ba8e5f3c33db8553db1b
[]
no_license
JAreina/python
12ca9bd5467420a813ac3f33b0adba6cd492f855
3b9ac8d37ab2abe70e34043857f96a76c19468c8
refs/heads/master
2020-03-22T07:57:31.675271
2018-09-12T06:38:49
2018-09-12T06:38:49
139,735,465
0
0
null
null
null
null
UTF-8
Python
false
false
423
py
palindromo = 'abcba' a =(4 * '<' + palindromo + '>' * 4) * 2 print(a) subcadena = '=' + '-' * 3 + '=' b= '10' * 5 + 4 * subcadena # JAreina print(b) c= 2 * '12' + '.' + '3' * 3 + 'e-' + 4 * '76' print(c) print('abalorio' < 'abecedario') print('abecedario' < 'abecedario') print('Abecedario' < 'abecedario'...
[ "jareinafdez@gmail.com" ]
jareinafdez@gmail.com
a9457a1a86937950de5825c47cd09adc73f4c570
7b4820948845f55274b211d676ab8a6253a6298b
/addons/plugin.video.phstreams/resources/lib/resolvers/googleplus.py
bab7511598d1de3a36ba7576e4f6f2361af57f1e
[]
no_license
bopopescu/mw
524c57d4b859751e298b907a12e44e9711ef72a6
5ef2acea0fb4150578e53201463c6bc5da37be20
refs/heads/master
2021-05-30T19:33:11.750160
2016-01-11T05:28:46
2016-01-11T05:28:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,506
py
# -*- coding: utf-8 -*- ''' Genesis Add-on Copyright (C) 2015 lambda This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your opt...
[ "bialagary@Garys-Mac-mini.local" ]
bialagary@Garys-Mac-mini.local
d39f4156eda9ae52820afcc813e0d6984c805ca0
1d9e8bd32b9c330b8afacba52782f3818c46aec1
/crowdsource/server.py
a4208b808e3fd1004c7d0ff5cb82ea12c31ee0aa
[ "Apache-2.0" ]
permissive
texodus/crowdsource
099eb9461488f1396df786e404b8bba3b738d8ff
60d222ef3e9ad6b35b54c103e66e647908014e7a
refs/heads/master
2020-09-08T09:43:40.417522
2019-11-12T00:46:50
2019-11-12T00:46:50
221,098,608
0
0
Apache-2.0
2019-11-12T00:53:31
2019-11-12T00:53:30
null
UTF-8
Python
false
false
5,621
py
import sys import os.path import logging import tornado.ioloop import tornado.web from perspective import Table, PerspectiveManager, PerspectiveTornadoHandler from sqlalchemy import create_engine from sqlalchemy.orm import sessionmaker from traitlets.config.application import Application from traitlets import Int, Unic...
[ "t.paine154@gmail.com" ]
t.paine154@gmail.com
fb60e095ea7e13ab20f4def4bcccf65981757491
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03214/s490974503.py
0cbac63ff29bf2852ab4a41ccc6f9753a8298f61
[]
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
347
py
''' Created on 2020/08/21 @author: harurun ''' def main(): import sys pin=sys.stdin.readline pout=sys.stdout.write perr=sys.stderr.write N=int(pin()) a=list(map(int,pin().split())) ave=sum(a) ans=0 now=100*N for i in range(N): if abs(N*a[i]-ave)<now: now=abs(N*a[i]-ave) ans=i ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
fe8ed0b05adc3b18284529bed49fd9300df6fe01
3d19e1a316de4d6d96471c64332fff7acfaf1308
/Users/T/timClicks/uci_machine_learning_datasets.py
332e27e2c807ab54b6a23b741d4d0c8a4716dc11
[]
no_license
BerilBBJ/scraperwiki-scraper-vault
4e98837ac3b1cc3a3edb01b8954ed00f341c8fcc
65ea6a943cc348a9caf3782b900b36446f7e137d
refs/heads/master
2021-12-02T23:55:58.481210
2013-09-30T17:02:59
2013-09-30T17:02:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
404
py
import lxml import scraperwiki import scrapemark url = "http://archive.ics.uci.edu/ml/datasets.html" print scrapemark.scrape(pattern='{ <p class="normal"><b><a>{{ title }}</a></b></p> }}', url=url) import lxml import scraperwiki import scrapemark url = "http://archive.ics.uci.edu/ml/datasets.html" print scrapem...
[ "pallih@kaninka.net" ]
pallih@kaninka.net
15d70f0b1a509df2dee5cd7ed9147abb5eb077fd
f1790e298bcbf7b26cacd3c27850f243c446b9eb
/courses/pythonBrasil/EstruturaDeDecisao/ex021.py
c993dff22ce74975fafafb9a699b7b6efe712248
[]
no_license
misa9999/python
36001a1bf0eb842d00b010b02e05b01aa4dfac57
251c5226db1bfef4a8445b025f232a27a6924930
refs/heads/master
2023-03-04T16:25:48.610233
2021-02-22T21:37:51
2021-02-22T21:37:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,613
py
'''Faça um Programa para um caixa eletrônico. O programa deverá perguntar ao usuário a valor do saque e depois informar quantas notas de cada valor serão fornecidas. As notas disponíveis serão as de 1, 5, 10, 50 e 100 reais. O valor mínimo é de 10 reais e o máximo de 600 reais. O programa não deve se preocupar com...
[ "yuukixasuna00@gmailcom" ]
yuukixasuna00@gmailcom
4514b0e8df1e95be4ecdf4b3dbb09ec9ddc00a6a
940622a48cc8711a39dd7f36122bae1e25ee2fcc
/venv/bin/pyjwt
0b44e2d6565a8d4ce36c3e88ce6c97467087075c
[]
no_license
merveealpay/django-vue-question-app
144d1f9b49cd1f0cbd91820c2c11cc42ff95a09d
f12c88bdbfcac685b7098145370e13be935c8d8f
refs/heads/main
2023-02-05T12:58:28.651036
2020-12-27T18:05:35
2020-12-27T18:05:35
319,586,207
2
0
null
null
null
null
UTF-8
Python
false
false
264
#!/home/merve/question-app/django-vue-question-app/venv/bin/python3 # -*- coding: utf-8 -*- import re import sys from jwt.__main__ import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "merveealpay@gmail.com" ]
merveealpay@gmail.com
6acca86614c88e26d85060cac97e27437634733e
ffbca0306557343a00e984145f69f569183efbf3
/ReinforcementLearning/doubleQLearning.py
9f5c8c2b41941e3319c99d626086e59ff4ee7acc
[]
no_license
christiansanroman/Youtube-Code-Repository
d732214a4bd8cd82c31af0453016cfabd418143f
ffc45fba2132c533dd36c8c47a677f8caf35b4b5
refs/heads/master
2020-04-27T14:17:05.916314
2018-11-23T22:34:48
2018-11-23T22:34:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,691
py
import numpy as np import matplotlib.pyplot as plt import gym def maxAction(Q1, Q2, state): values = np.array([Q1[state,a] + Q2[state,a] for a in range(2)]) action = np.argmax(values) return action #discretize the spaces poleThetaSpace = np.linspace(-0.20943951, 0.20943951, 10) poleThetaVelSpace = np...
[ "ptabor@gmail.com" ]
ptabor@gmail.com
6e32422f45bc3416dccb399df18660c244a2951e
429211c01057abcd51e5120d566c7daa0a8e2f33
/1804/二/day10/lx.py/鸭子.py
c07d754907ffe41197affd24e53a4ca47086a7d9
[]
no_license
LDZ-RGZN/b1804
2788c922a6d1a6dc11267920a90336d1df93a453
c57f8b7cf14686036cae3c30a30f07514622b5ca
refs/heads/master
2021-07-19T12:54:07.031858
2018-10-12T02:48:39
2018-10-12T02:48:39
133,500,880
0
0
null
null
null
null
UTF-8
Python
false
false
590
py
#!/usr/bin/env python # coding=utf-8 class duck(object): def walk(self): print ('I walk like a duck') def swim(self): print ('i swim like a duck') class person(): def walk(self): print ('this one walk like a duck') def swim(self): print ('this man swim like a duck') cla...
[ "2654213432@qq.com" ]
2654213432@qq.com
c5a903009ccfbcdc3f762f58bc4a279a281212ac
ff6248be9573caec94bea0fa2b1e4b6bf0aa682b
/log-20190927/132.230.102.123-10.21.9.70/1569572051.py
b4ec41a609d1f8ba6770dc7d72111265a0b5807e
[]
no_license
LennartElbe/codeEvo
0e41b1a7705204e934ef71a5a28c047366c10f71
e89b329bc9edd37d5d9986f07ca8a63d50686882
refs/heads/master
2020-12-21T17:28:25.150352
2020-03-26T10:22:35
2020-03-26T10:22:35
236,498,032
0
0
null
null
null
null
UTF-8
Python
false
false
2,816
py
import functools import typing import string import random import pytest # Lösung Teil 1. def list_filter(x: int, xs: lst): -> lst result = [] for element in xs: if element <= x: result.append(element) return result ###################################################################### ...
[ "lenni.elbe@gmail.com" ]
lenni.elbe@gmail.com
0af91a5535bdbab05fb68c4ec694adfa1471088b
ff0c17789badd75559eb834fe039d4b4ab175ba8
/pythonscript/x11-64-cpython/lib/python3.6/site-packages/nbconvert/exporters/latex.py
b4fc7dddaba445d841c7f41c501753e236e6a9f5
[ "LicenseRef-scancode-python-cwi", "LicenseRef-scancode-free-unknown", "Python-2.0", "GPL-1.0-or-later", "LicenseRef-scancode-other-copyleft", "LicenseRef-scancode-unicode", "BSD-3-Clause", "Apache-2.0", "LicenseRef-scancode-public-domain", "OpenSSL", "MIT" ]
permissive
studioschade/notebook_graph
3f7555ab46167b050e461164c6b4a1525dc7df0c
0fd159855fdd9c38a6dd293e5ec6164986ad6209
refs/heads/master
2022-10-23T23:54:54.467050
2018-10-14T08:10:18
2018-10-14T08:10:18
148,099,361
9
2
MIT
2022-10-10T20:16:48
2018-09-10T04:32:44
Python
UTF-8
Python
false
false
3,419
py
"""LaTeX Exporter class""" # Copyright (c) Jupyter Development Team. # Distributed under the terms of the Modified BSD License. import os from traitlets import Unicode, default from traitlets.config import Config from nbconvert.filters.highlight import Highlight2Latex from nbconvert.filters.filter_links import reso...
[ "allen.schade@gmail.com" ]
allen.schade@gmail.com
b9834ff63237f085556f45d57940431f58406144
d838bed08a00114c92b73982a74d96c15166a49e
/docs/data/learn/Bioinformatics/output/ch5_code/src/Stepik.5.2.ExerciseBreak.LongestCommonSubsequences.py
a997540ab6a6c92624cdd3f144aa0f85de062128
[]
no_license
offbynull/offbynull.github.io
4911f53d77f6c59e7a453ee271b1e04e613862bc
754a85f43159738b89dd2bde1ad6ba0d75f34b98
refs/heads/master
2023-07-04T00:39:50.013571
2023-06-17T20:27:05
2023-06-17T23:27:00
308,482,936
1
0
null
null
null
null
UTF-8
Python
false
false
350
py
# Input 1 = ACTGCA # Input 2 = CATCGC # # All longest common subsequences that I can see is ACGC or ATCG or CTGC # -A-CTGCA # CATC-GC- # -------- # A C GC # # -ACT-GCA # CA-TCGC- # -------- # A T GC # # AC-T-GCA # -CATCGC- # -------- # C T GC # # There is no code for this. They asked you to d...
[ "offbynull@gmail.com" ]
offbynull@gmail.com