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
a941aa45b4e10dc6b7401fbe7ba650f95322f544
dd6dd68d17b7355e01c4ce86649423974bb69c50
/Masters/migrations/0002_serialnumber.py
b2266937dd7911f5043e0f92d9384abefe27e6ea
[ "MIT" ]
permissive
adithyanps/netprofit-django
2b9953296fb016e4a16b30768ba864f91882573f
7ba87f054d09a201352635bb6cf8d0112208609e
refs/heads/master
2020-05-04T16:43:14.547552
2019-09-30T13:20:07
2019-09-30T13:20:07
179,285,814
0
0
null
null
null
null
UTF-8
Python
false
false
835
py
# Generated by Django 2.2.4 on 2019-09-25 08:53 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('Masters', '0001_initial'), ] operations = [ migrations.CreateModel( name='SerialNumber', fields=[ ('...
[ "adithynps3@gmial.com" ]
adithynps3@gmial.com
4a1e2396753dbd98038ff0f8e6b6c8c9df9d2267
1337ccefdeddc753090281d473fa1e08d42b6884
/bnpl/plugin_itunes.py
f85c544dc2c7004c8fd8d1b161314418b8a5db90
[]
no_license
abelsonlive/bnpl
8bd97d7bec8933642188814e07a38b544bcb3963
8f49a6d257fab75b7659ba2bae502595a164b8ee
refs/heads/master
2021-01-02T08:46:39.093073
2017-01-30T19:09:57
2017-01-30T19:09:57
76,924,249
2
0
null
null
null
null
UTF-8
Python
false
false
391
py
from pyItunes import Library from bnpl import Option, OptionSet from bnpl import Extractor class ItunesSongs(Extractor): """ Extract sounds from your Itunes Library. """ options = OptionSet( Option('library_xml', type='path', required=True) ) def run(self): """ """ l = Library(self.option...
[ "brianabelson@gmail.com" ]
brianabelson@gmail.com
7fcd687644a4140303be421ead340e6b0a7527f4
e27f9f1f8bef8b1f4676df84ee3e753974d21a1c
/ignite/contrib/metrics/precision_recall_curve.py
5021315904b334d819722a75e9cb9036f4d4d11b
[ "BSD-3-Clause" ]
permissive
pytorch/ignite
8fb275638e94e702762eec932b21dc8df7a54cb0
34a707e53785cf8a524589f33a570a7516fe064e
refs/heads/master
2023-09-02T00:27:22.485479
2023-08-31T15:10:14
2023-08-31T15:10:14
111,835,796
4,613
788
BSD-3-Clause
2023-09-13T07:46:41
2017-11-23T17:31:21
Python
UTF-8
Python
false
false
5,596
py
from typing import Any, Callable, cast, Tuple, Union import torch import ignite.distributed as idist from ignite.exceptions import NotComputableError from ignite.metrics import EpochMetric def precision_recall_curve_compute_fn(y_preds: torch.Tensor, y_targets: torch.Tensor) -> Tuple[Any, Any, Any]: try: ...
[ "noreply@github.com" ]
pytorch.noreply@github.com
e4fcd91448875458507f16667600fe6a845f31a3
403eac0dab1a935bf2ce1833a950a29ea5bc1d0b
/sentencepiece的使用.py
bd9b013f11aa4224b1c676e5b7c2b8b33899b978
[ "MIT" ]
permissive
Le-Code/nlp-tutorial
ada91aaa0e50ff72bf4a24d70c40f67b58191f94
c8f46f702cc8643bb252a65b0a8cf375c7bd4704
refs/heads/master
2020-09-25T18:39:17.726661
2019-11-05T16:29:09
2019-11-05T16:29:09
226,065,142
1
0
null
2019-12-05T09:30:57
2019-12-05T09:30:56
null
UTF-8
Python
false
false
892
py
''' ` % python >>> import sentencepiece as spm >>> sp = spm.SentencePieceProcessor() >>> sp.Load("test/test_model.model") True >>> sp.EncodeAsPieces("This is a test") ['\xe2\x96\x81This', '\xe2\x96\x81is', '\xe2\x96\x81a', '\xe2\x96\x81', 't', 'est'] >>> sp.EncodeAsIds("This is a test") [284, 47, 11, 4, 15, 400] >>> sp...
[ "15122306087@163.com" ]
15122306087@163.com
4ade1604112ef44e3fd921651808a154f424ddc5
c7d91529db199322e39e54fe4051a75704ea843e
/算法4/字符串/字符串排序.py
7194b2ca9bd98f1e8a4ad54cbca048dd9bead5fa
[]
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
3,639
py
def keyIndexSort(arr,R): '''键索引计数法(小整数排序)''' aux=arr.copy() count=[0 for _ in range(R+1)] for val,key in arr: count[key+1]+=1 for i in range(1,R+1): count[i]+=count[i-1] for val,key in arr: aux[count[key]]=(val,key) count[key]+=1 for i in range(len(aux)): ...
[ "2226171237@qq.com" ]
2226171237@qq.com
061399c156296dfd0f08ab0ef22d181d250ea69e
856323fc904cd36b947114666186a2bcd0c1e10e
/tests/randMove/test_randMoveSIS.py
f612f0051507494ef17fd722dc003e328d396a01
[ "MIT" ]
permissive
mjacob1002/Eir
fd6ee0fa7c2e0af93a34dca66bcd5b07a5c31f05
ab9cb4e353796ba3ab79b1673adc251d434717cf
refs/heads/master
2023-04-15T13:06:14.897503
2021-07-04T20:06:15
2021-07-04T20:06:15
286,567,858
39
9
MIT
2021-07-04T20:06:16
2020-08-10T20:03:02
Python
UTF-8
Python
false
false
3,222
py
import numpy as np import pandas as pd import unittest from Eir.DTMC.spatialModel.randomMovement.randMoveSIS import RandMoveSIS import Eir.exceptions as e np.random.seed(35235) class Test_RandMoveSIS(unittest.TestCase): def __init__(self): self.test = RandMoveSIS(999, 2, .3, 25, 3, .3, 1, .25, 31, 1.0,...
[ "mjacob1002@gmail.com" ]
mjacob1002@gmail.com
871f553222511c050f1cdb9731b0b3044efd8503
b2cc6507d5260514f63a3f0aa7915308cd20bf28
/shelf/migrations/0002_auto_20200426_1245.py
906189220f06b19dd541cfceb01b3172ff017dee
[]
no_license
japawka/kozaczko
4df09523543a15ae59abad24b689730fecca8049
20cf9e0e83588b6ecd79ab10889925144688f2b7
refs/heads/master
2022-06-07T21:37:42.788616
2020-04-28T13:39:09
2020-04-28T13:39:09
259,619,444
0
0
null
null
null
null
UTF-8
Python
false
false
2,426
py
# Generated by Django 3.0.5 on 2020-04-26 10:45 from django.db import migrations, models import django.db.models.deletion import uuid class Migration(migrations.Migration): dependencies = [ ('shelf', '0001_initial'), ] operations = [ migrations.CreateModel( name='BookCategor...
[ "japawka@poczta.onet.pl" ]
japawka@poczta.onet.pl
a53f4e73d6c753979be2329785696ae68b6dc336
438e546e2acf5aa57c34c6481e477f7025b12e21
/mocks/skowser_session3_question1.py
ddbe00521f78b177bdaa90997f0a5043f2b26f86
[]
no_license
SajinKowserSK/algorithms-practice
988537ef3537487cb40c78776dd2c9e1130cde4f
41bbd55553747492a539b41f6e86bff5504c5842
refs/heads/master
2022-11-06T18:22:41.329484
2022-10-19T23:40:10
2022-10-19T23:40:10
206,470,288
1
0
null
null
null
null
UTF-8
Python
false
false
919
py
class ListNode(object): def __init__(self, val=0, next=None): self.val = val self.next = next def has_cycle(head): if head is None: return False slow = head fast = head while fast is not None: fast = fast.next if fast is None: break el...
[ "sajinkowser@gmail.com" ]
sajinkowser@gmail.com
0eacc8850c2e0a1b284058bd4cf49418cf285991
5a6da40024217c0ca2c0242f031d6d0105775899
/utils.py
13bdef9709be85f99880404dcbf366620db0ea5f
[ "MIT" ]
permissive
tobyma/generative
06fa928c8882469a3fe35cb69863c1ae06409021
75cb6c1065cd04ce4eaf13b90b037137a8ad7873
refs/heads/master
2020-04-22T13:53:58.599101
2017-03-04T05:01:16
2017-03-04T05:01:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,038
py
import numpy as np import matplotlib.pyplot as plt import scipy.stats as stats def data_on_latent_space(encoded, categories, ax=None): """ plots the data in the latent space encoded: first two dimensions of the data encoded categories: the categories for each datapoint to (for visualization purposes) batch_si...
[ "zafarali.ahmed@gmail.com" ]
zafarali.ahmed@gmail.com
e7c6ef1f37a3c97baf924f1e1b774645219dce68
0e78b2df0fb93afc62684dece8ac05b700570248
/BOJ/10950.py
94b5b24e31f885c29d43c6d8b15d547aa553f987
[]
no_license
ajy720/Algorithm
f1e2301327db09667ba011bc317c8f380707c25c
b141538802e9056f154ab91c816ad29500505f34
refs/heads/master
2022-05-06T21:37:05.780170
2022-04-23T09:25:52
2022-04-23T09:25:52
200,335,390
0
1
null
null
null
null
UTF-8
Python
false
false
140
py
n = int(input()) res = [] for i in range(n): a, b = map(int, input().split()) res.append(a+b) for i in range(n): print(res[i])
[ "ajy720@gmail.com" ]
ajy720@gmail.com
9eaaae7e015f7af1d6d99117f0f6bac098baf788
5bec846696ea2c198186f492baec4ed6b1de8aae
/detect/eval/voc_eval.py
cb30858f545329e942e2b60217ca5361465088b4
[]
no_license
Peiiii/lpr
0e268e1ff71ae37d01a3501c608f4a8024df6dd2
90bcbdee4555915b77dd6c6dab2b48ed56c9952d
refs/heads/master
2022-12-11T23:57:37.075730
2019-10-02T15:25:09
2019-10-02T15:25:09
210,851,442
0
0
null
2022-11-21T21:32:26
2019-09-25T13:24:36
Python
UTF-8
Python
false
false
7,137
py
# -------------------------------------------------------- # Fast/er R-CNN # Licensed under The MIT License [see LICENSE for details] # Written by Bharath Hariharan # -------------------------------------------------------- import xml.etree.ElementTree as ET import os import pickle as cPickle import numpy as ...
[ "1535376447@qq.com" ]
1535376447@qq.com
c37b3f1f31f82758423901149d2f6c52870759a6
2dc17d12ff6ea9794177c81aa4f385e4e09a4aa5
/archive/33SearchinRotatedSortedArray.py
8947296c9b426239174e8e74045feff557580a62
[]
no_license
doraemon1293/Leetcode
924b19f840085a80a9e8c0092d340b69aba7a764
48ba21799f63225c104f649c3871444a29ab978a
refs/heads/master
2022-10-01T16:20:07.588092
2022-09-08T02:44:56
2022-09-08T02:44:56
122,086,222
0
0
null
null
null
null
WINDOWS-1252
Python
false
false
1,248
py
# coding=utf-8 ''' Created on 2016�12�22� @author: Administrator ''' class Solution(object): def search(self, nums, target): """ :type nums: List[int] :type target: int :rtype: int """ def find_min_idx(nums): lo, hi = 0, len(nums) - 1 ...
[ "yanhuang1293@gmail.com" ]
yanhuang1293@gmail.com
24fd164938cb979b18d12711c9ca1fcc2cadfa53
07b4dd9a88f3404c4851ea7cbb57c67035bc9a54
/tables.py
8583928d290312a85da78b29569f435b41ae38a5
[]
no_license
surajgholap/python-Misc
9c9d02c42bb37b7378d7336343f8bef7cd802edf
4a8ce4bfa5a959692d98663b7b5c0b67a165835f
refs/heads/master
2021-06-17T19:19:25.021038
2021-01-27T20:54:03
2021-01-27T20:54:03
142,781,295
0
0
null
null
null
null
UTF-8
Python
false
false
169
py
def print_tables(base, times): for i in range(1, base+1): for j in range(1, times+1): print(i*j, end=" ") print() print_tables(12, 12)
[ "surajgholap27@gmail.com" ]
surajgholap27@gmail.com
703f70a906c0d25b1b21f4c05a311f1a735b51eb
fbbe424559f64e9a94116a07eaaa555a01b0a7bb
/Keras_tensorflow/source/tensorflow/contrib/layers/python/ops/sparse_feature_cross_op.py
688315fd12e6f3b07e97cd1fc273c6ed725de5ca
[ "MIT" ]
permissive
ryfeus/lambda-packs
6544adb4dec19b8e71d75c24d8ed789b785b0369
cabf6e4f1970dc14302f87414f170de19944bac2
refs/heads/master
2022-12-07T16:18:52.475504
2022-11-29T13:35:35
2022-11-29T13:35:35
71,386,735
1,283
263
MIT
2022-11-26T05:02:14
2016-10-19T18:22:39
Python
UTF-8
Python
false
false
5,025
py
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "ryfeus@gmail.com" ]
ryfeus@gmail.com
6c7a1cd28299eeeddc802b36c228d41fdab88e8c
fcdfe976c9ed60b18def889692a17dc18a8dd6d7
/python/basic/class.py
f5dbcf0e2b60d201d45824592934ddc0e4c39888
[]
no_license
akihikoy/ay_test
4907470889c9bda11cdc84e8231ef3156fda8bd7
a24dfb720960bfedb94be3b4d147e37616e7f39a
refs/heads/master
2023-09-02T19:24:47.832392
2023-08-27T06:45:20
2023-08-27T06:45:20
181,903,332
6
3
null
null
null
null
UTF-8
Python
false
false
544
py
#!/usr/bin/python class TTest: x= 10 def __init__(self): self.y= None def __repr__(self): return 'x=%r y=%r' % (self.x, self.y) class TTestB: x= 10 y= None test1= TTest() test1.x= 20 test1.y= 200 test2= TTest() print 'test1=',test1 print 'test2=',test2 TTest.x= 30 TTest.y= 300 test3= TTest() print ...
[ "info@akihikoy.net" ]
info@akihikoy.net
fc98453f489a4a248f7440bdcc7b9b95490ea51e
097dda217c3d31b69cb309369dc0357fe0f229ab
/app/customadmin/migrations/0005_shopproduct.py
38f7c55e8acce58b5eb16fcb194cc2e69f1c26f6
[]
no_license
Jaycitrusbug/book-python
57a96ee343eee5b63ca5f7ee2461db82426321b5
b5a4de74c9114546ee03b8aa5de1381719ddf74e
refs/heads/master
2023-06-20T01:52:29.484415
2021-07-16T13:06:05
2021-07-16T13:06:05
386,638,204
0
0
null
null
null
null
UTF-8
Python
false
false
1,435
py
# Generated by Django 3.1.4 on 2020-12-09 12:01 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('customadmin', '0004_auto_20201209_1008'), ] operations = [ migrations.CreateModel( name='ShopProduct', fields=[ ...
[ "jay.citrusbug@gmail.com" ]
jay.citrusbug@gmail.com
b2583d170c8144e89f9ed5ffc15ded383410cb49
534570bbb873293bd2646a1567b63d162fbba13c
/Python/Data Structure/Linear List/Array/K Sum/259.3-sum-smaller.py
d38c68bf8ab2e63a5ee2b79f4cefc4222690339d
[]
no_license
XinheLIU/Coding-Interview
fa3df0f7167fb1bc6c8831748249ebaa6f164552
d6034c567cef252cfafca697aa316c7ad4e7d128
refs/heads/master
2022-09-17T14:30:54.371370
2022-08-19T15:53:35
2022-08-19T15:53:35
146,382,499
0
1
null
null
null
null
UTF-8
Python
false
false
435
py
class Solution: def threeSumSmaller(self, nums: List[int], target: int) -> int: nums.sort() ret = 0 for i in range(0, len(nums)-2): l, r = i + 1, len(nums) - 1 while l < r: Sum = nums[i] + nums[l] + nums[r] if Sum < target: ...
[ "LIUXinhe@outlook.com" ]
LIUXinhe@outlook.com
94df604e74040fe35e0f339fc89e6977d72911ab
6fa701cdaa0d83caa0d3cbffe39b40e54bf3d386
/google/ads/googleads/v6/googleads-py/google/ads/googleads/v6/enums/types/budget_campaign_association_status.py
a3c9d3bbc4cb3eedea948a2bd7839c61f472bdb3
[ "Apache-2.0" ]
permissive
oltoco/googleapis-gen
bf40cfad61b4217aca07068bd4922a86e3bbd2d5
00ca50bdde80906d6f62314ef4f7630b8cdb6e15
refs/heads/master
2023-07-17T22:11:47.848185
2021-08-29T20:39:47
2021-08-29T20:39:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,279
py
# -*- coding: utf-8 -*- # Copyright 2020 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...
[ "bazel-bot-development[bot]@users.noreply.github.com" ]
bazel-bot-development[bot]@users.noreply.github.com
79f1cf41b9b75f0519be704b7f70b2277ae2a03c
e0ff22c17eaa1e7009089a58575567b0ead63d49
/scan/forms.py
96def1cf32e59163612c71d895e7389098144f02
[]
no_license
slehaff/dblive
afcb5297057ad4d78177b886013250d2ed068424
7f7bdf38998bd65d00e5ac7df3ef5289b2781e83
refs/heads/master
2023-05-27T16:38:21.865344
2021-06-07T10:09:28
2021-06-07T10:09:28
303,078,424
0
0
null
null
null
null
UTF-8
Python
false
false
1,143
py
from PIL import Image from django import forms from crispy_forms.helper import FormHelper from crispy_forms.layout import Submit class PicForm2(forms.Form): deviceid = forms.CharField(required=False, max_length=32, strip=True) cmd = forms.CharField(required=False, label='Cmd', max_length=50, strip=True) Pi...
[ "samir@lehaff.dk" ]
samir@lehaff.dk
cda6831f28cfe2770d2ced88e722a7cac36e772a
468f54cf08a68fd3791f5266996eeb82331db338
/pyisy/variables/variable.py
ce6f4ad83663bf37bb35e3dc1a63fa58b77a36d3
[ "Apache-2.0" ]
permissive
OverloadUT/PyISY
79d0b446f8c5358aa31743e8bd633b1d7f4762f2
69553057ceac57a6b4300c0070ee4ff163681750
refs/heads/master
2021-01-20T04:54:43.622920
2020-05-16T18:57:50
2020-05-16T18:57:50
89,751,436
0
0
null
2017-04-28T23:18:44
2017-04-28T23:18:44
null
UTF-8
Python
false
false
5,988
py
"""Manage variables from the ISY.""" from ..constants import ( ATTR_INIT, ATTR_LAST_CHANGED, ATTR_LAST_UPDATE, ATTR_SET, ATTR_STATUS, ATTR_TS, PROTO_INT_VAR, PROTO_STATE_VAR, TAG_ADDRESS, URL_VARIABLES, VAR_INTEGER, ) from ..helpers import EventEmitter, now class Variable: ...
[ "noreply@github.com" ]
OverloadUT.noreply@github.com
ee16236cee149923cbec2f4caed7e7a2a579a99e
67c77918ba8bb55b8508a252d7bddbbaa1cd414e
/Bioinformatics_Textbook_Track/02-BA1B.py
d7b475d32f515903acd3a28076de07f5db946532
[]
no_license
anoubhav/Rosalind-Solutions
52406c4677d9daa68814141c9bf22d19ad896a8b
d7b591fb4850fa2f5c1b146eafabe77945c94d34
refs/heads/master
2021-08-07T06:25:47.056356
2020-04-10T10:52:20
2020-04-10T10:52:20
144,815,045
1
0
null
null
null
null
UTF-8
Python
false
false
478
py
from collections import defaultdict def MostFreqKmer(dna, k): """ Finds the most frequent k-mers in a string (str, int) -> (list of str) """ l = len(dna) kmer_count = defaultdict(int) for i in range(l - k + 1): kmer_count[dna[i:i+k]] += 1 temp = max(kmer_count.values()) return '...
[ "anoubhav.agarwaal@gmail.com" ]
anoubhav.agarwaal@gmail.com
1e254ef6262f6a2353a21e1b62b99ba344188ff8
19a4365d81507587ef09488edc7850c2227e7165
/994.py
96554ca2d2b849066c85334c4f0f81e9c29e95a0
[]
no_license
akauntotesuto888/Leetcode-Lintcode-Python
80d8d9870b3d81da7be9c103199dad618ea8739a
e2fc7d183d4708061ab9b610b3b7b9e2c3dfae6d
refs/heads/master
2023-08-07T12:53:43.966641
2021-09-17T19:51:09
2021-09-17T19:51:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
872
py
class Solution: def orangesRotting(self, grid: List[List[int]]) -> int: rotten = [] m, n = len(grid), len(grid[0]) for i in range(m): for j in range(n): if grid[i][j] == 2: rotten.append((i, j)) step = -1 while rotten: ...
[ "tiant@qualtrics.com" ]
tiant@qualtrics.com
bf2bae30cb193ff8b262ba23d6ec0d870c3220ac
d51cf2fe640f3bd5f4c4247ffaa198a30a58d96a
/mongo_db_course/01_data_extraction/16_extract_airports_quiz.py
a968065384c5c95507f14c724185a35f039ff185
[]
no_license
AlexSkrn/sqlite_bash_scripts
44c6dbfc83b0e6be6126ede06e9ffb9d5805bae9
6f1d8c6581ace44a6d77c736cee6d5cdd40001b6
refs/heads/master
2021-07-09T08:43:48.193623
2021-04-08T19:44:29
2021-04-08T19:44:29
238,682,979
0
0
null
null
null
null
UTF-8
Python
false
false
1,002
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Complete the 'extract_airports()' function so that it returns a list of airport codes, excluding any combinations like "All". Refer to the 'options.html' file in the tab above for a stripped down version of what is actually on the website. The test() assertions are bas...
[ "askrn123@gmail.com" ]
askrn123@gmail.com
2d5b87286cdfe5d088153553ecc12ce5664f7f4a
8ddda8fb6e5853126dcdafa3281c75071ada45c1
/vyperlogix/gds/space.py
52a4dad46eb96d4deecf17860057fc4ee2adde8b
[ "CC0-1.0" ]
permissive
raychorn/chrome_gui
a48f3f9d931922a018e894f891ccd952476cd1ee
f1fade70b61af12ee43c55c075aa9cfd32caa962
refs/heads/master
2022-12-19T19:46:04.656032
2020-10-08T14:45:14
2020-10-08T14:45:14
299,167,534
1
0
null
null
null
null
UTF-8
Python
false
false
3,226
py
''' This module provides a function that constructs a list containing the sizes of directories under a specified directory. Copyright (C) 2002 GDS Software 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 Founda...
[ "raychorn@gmail.com" ]
raychorn@gmail.com
4c1ee37f5712dd73553e9b461af163e6df479098
34b09bc83e5726fccb524a93cf2742f5aeadedef
/8. Tree/2_answer.py
d5b9861160ea84ed0907fad53f3211d82894046b
[]
no_license
mjson1954/WIC
57eb20ffe7aaf8695d679c893efacdeede573e72
670112209aacd274d09f6e9a89d948120486bfc8
refs/heads/master
2023-03-20T00:57:19.740025
2021-03-05T10:52:51
2021-03-05T10:52:51
289,925,829
0
0
null
2021-02-21T02:16:11
2020-08-24T12:46:58
Python
UTF-8
Python
false
false
351
py
def inorder(n, last): global cnt if n <= last: inorder(n * 2, last) tree[n] = cnt cnt += 1 inorder(n * 2 + 1, last) for test_case in range(int(input())): N = int(input()) tree = [0] * (N + 1) cnt=1 inorder(1, N) print('#{} {} {}'.format(test_case+1...
[ "mjson1954@gmail.com" ]
mjson1954@gmail.com
28bb8c869e9ae1e4c9b795e3350951ba632fa612
3a51de9b289a141f23f7ad7feb97e937484ecbcf
/lib/player/player.py
9260ad3101f8da06695f47ff4a8a9b333a8ab636
[]
no_license
AndyDeany/sunni-remake
52c40db465db0fa4cd04b9fbcb7f32e58e0fd52d
3d6c5f742e41cc8c2c39bfd2b380f63ea012ef0f
refs/heads/main
2023-05-01T05:47:50.858883
2021-05-07T17:35:44
2021-05-07T17:35:52
363,158,917
0
0
null
2021-05-12T13:32:49
2021-04-30T14:03:19
Python
UTF-8
Python
false
false
3,620
py
from collections import namedtuple from lib.image import Image from .moves import Kick, Headbutt, Frostbeam, Heal from lib.character import Character, NotEnoughManaError class Player(Character): """Class representing the Player (the character controlled by the user).""" CHARACTER_1 = "character1" CHARAC...
[ "oneandydean@hotmail.com" ]
oneandydean@hotmail.com
9835945c0bfb18ed417925e0b02705344f7870b7
a4e502e9487cf17c53f9f931ec0dbc12168fea52
/tests/pyre/weaver/expressions_c.py
09c724e94b47be07f1a16ff25188f81bbe895f1b
[ "BSD-3-Clause" ]
permissive
bryanvriel/pyre
bdc5dd59c46d53ff81f2ece532b9073ac3b65be1
179359634a7091979cced427b6133dd0ec4726ea
refs/heads/master
2021-09-28T00:10:26.454282
2018-11-11T16:42:07
2018-11-11T16:42:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,708
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # michael a.g. aïvázis # orthologue # (c) 1998-2018 all rights reserved # """ Exercise a C expression weaver """ def test(): # get the packages import pyre.weaver import pyre.calc # instantiate a weaver weaver = pyre.weaver.weaver(name="sanity") ...
[ "michael.aivazis@orthologue.com" ]
michael.aivazis@orthologue.com
da07e2f0dd5b923746161c2fc6fb1063975a5ddf
bc441bb06b8948288f110af63feda4e798f30225
/container_sdk/model/tuna_service/test_plan_pb2.pyi
65a3b9c5324b9494fb47733d0fb869bd301ffe6d
[ "Apache-2.0" ]
permissive
easyopsapis/easyops-api-python
23204f8846a332c30f5f3ff627bf220940137b6b
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
refs/heads/master
2020-06-26T23:38:27.308803
2020-06-16T07:25:41
2020-06-16T07:25:41
199,773,131
5
0
null
null
null
null
UTF-8
Python
false
false
5,626
pyi
# @generated by generate_proto_mypy_stubs.py. Do not edit! import sys from container_sdk.model.tuna_service.requirement_instance_pb2 import ( RequirementInstance as container_sdk___model___tuna_service___requirement_instance_pb2___RequirementInstance, ) from google.protobuf.descriptor import ( Descriptor as g...
[ "service@easyops.cn" ]
service@easyops.cn
e52b90544d1ceaf93d83e0f1899866350df1397b
790589224695a2c7dc3977c718bb0f7cb5f6429e
/stats/fan98test.py
f321b8ec683a0ee393a9d1f769c96c44158afabb
[]
no_license
nikolaims/delayed_nfb
58ab51b3a9dd798f18579d9ebfead89c095413ac
37a8fbbd6e75a604ff092695fefd6a6421101de4
refs/heads/master
2022-12-19T04:30:34.252323
2020-09-18T13:23:27
2020-09-18T13:23:27
282,847,322
1
0
null
null
null
null
UTF-8
Python
false
false
5,323
py
import numpy as np import os def eval_z_score(data_points1, data_points2): # mean, std and number of samples x1_mean = np.mean(data_points1, 0) x1_std = np.std(data_points1, 0) x1_n = data_points1.shape[0] x2_mean = np.mean(data_points2, 0) x2_std = np.std(data_points2, 0) x2_n = data_poin...
[ "n.m.smetanin@gmail.com" ]
n.m.smetanin@gmail.com
229f80c2b25ce34f5817bf9a25216175cb2e46cd
48983b88ebd7a81bfeba7abd6f45d6462adc0385
/HakerRank/algorithms/sorting/countingsort1.py
e135cc9ca8e5df255df2c85165a7a381e75f68d4
[]
no_license
lozdan/oj
c6366f450bb6fed5afbaa5573c7091adffb4fa4f
79007879c5a3976da1e4713947312508adef2e89
refs/heads/master
2018-09-24T01:29:49.447076
2018-06-19T14:33:37
2018-06-19T14:33:37
109,335,964
0
0
null
null
null
null
UTF-8
Python
false
false
372
py
# author: Daniel Lozano # source: HackerRank ( https://www.hackerrank.com ) # problem name: Algorithms: Sorting: Counting Sort 1 # problem url: https://www.hackerrank.com/challenges/countingsort1/problem # date: 8/20/2017 n = int(input()) array = [int(i) for i in input().split()] count = [0 for i in range(max(array)+...
[ "lozanodaniel02@gmail.com" ]
lozanodaniel02@gmail.com
8a39bf68b2b2cea3c56735111181d89cb786306c
a742bd051641865d2e5b5d299c6bc14ddad47f22
/algorithm/牛客网/14-链表中倒数第k个节点.py
b5d4a48dcbdb55bdc68a5ec35835d1df39b8ff13
[]
no_license
lxconfig/UbuntuCode_bak
fb8f9fae7c42cf6d984bf8231604ccec309fb604
3508e1ce089131b19603c3206aab4cf43023bb19
refs/heads/master
2023-02-03T19:10:32.001740
2020-12-19T07:27:57
2020-12-19T07:27:57
321,351,481
0
0
null
null
null
null
UTF-8
Python
false
false
1,597
py
""" 输入一个链表,输出该链表中倒数第k个结点。 以空间换时间 """ class ListNode: def __init__(self, x): self.val = x self.next = None class Solution: def FindKthToTail(self, head, k): # write code here ''' # 运行时间:22ms 占用内存:5856k ret = [] while head: ...
[ "525868229@qq.com" ]
525868229@qq.com
8350946547ae600ae9e371657261443a53ba657a
e5aff0646237acf3639ac805652143cd8267bf33
/template.py
828dd581ec0c8f3190ff0720f6f760fc3cb2513a
[ "Apache-2.0" ]
permissive
HTDerekLiu/BlenderToolbox
42943cf9fee7277d319ff5baffe7810c4c27dfe4
8044e77268ff018514ad1501c291f6deb6a07ec6
refs/heads/master
2023-07-20T05:14:58.736225
2023-07-10T16:33:17
2023-07-10T16:33:17
162,408,776
408
48
null
null
null
null
UTF-8
Python
false
false
3,529
py
import sys, os sys.path.append(os.path.join(os.path.abspath(os.getcwd()))) # change this to your path to “path/to/BlenderToolbox/ import BlenderToolBox as bt import os, bpy, bmesh import numpy as np cwd = os.getcwd() ''' RENDER AN IMAGE STEP-BY-STEP: 1. copy "template.py" to your preferred local folder 2. In "template...
[ "hsuehtil@cs.toronto.edu" ]
hsuehtil@cs.toronto.edu
3415a4ecb83d7e175dabb499de9265c8cc036262
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_appointing.py
26b9e8439c7ab22458130ace2febc7adeaf9fdc6
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
230
py
#calss header class _APPOINTING(): def __init__(self,): self.name = "APPOINTING" self.definitions = appoint self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['appoint']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
850ec92026f401141c59fd3e0a0d2ad28d4ca8fe
ab464f019ed1669fa4f0fbf2a7f25e662d996948
/proj1/Python-Test1/morsels_proxydict2.py
c91c7e265c8e16301a026dd6092f7af3df73b900
[]
no_license
maniraja1/Python
fed2aa746c690560d7744b1378259af1cdfa9bb0
c9e6e12836fed47cdba495a07f43d7599265bea1
refs/heads/master
2021-06-03T19:17:16.591303
2021-01-04T16:06:25
2021-01-04T16:06:25
89,430,274
0
0
null
null
null
null
UTF-8
Python
false
false
1,729
py
class ProxyDict: def __init__(self,data={}): self.data=data def __getitem__(self, item): return self.data[item] def __iter__(self): for key, value in self.data.items(): yield key def keys(self): x = [] for key in self.data.keys(): x.app...
[ "mrajagopal@mrajagopal-ltm.internal.salesforce.com" ]
mrajagopal@mrajagopal-ltm.internal.salesforce.com
5c8633a022c983ef715a29fc3751eecef317daca
0e47f4e7765938324cee0186c4ba0bf257507b0b
/docs/source/conf.py
51cc86e7396589f9260c1bc7af7ae2d7111a6bbe
[ "BSD-3-Clause" ]
permissive
JarryShaw/lorem.js
fcd9cceb6ff9d21a273a995dd36ad9a1fd4644c1
b2e8e163e065b0b5d2a367f564a3a8ac756104ca
refs/heads/master
2023-08-03T05:49:24.006149
2023-07-30T01:58:22
2023-07-30T01:58:22
213,123,617
0
0
BSD-3-Clause
2023-07-30T01:58:24
2019-10-06T07:09:14
TypeScript
UTF-8
Python
false
false
2,467
py
# Configuration file for the Sphinx documentation builder. # # This file only contains a selection of the most common options. For a full # list see the documentation: # https://www.sphinx-doc.org/en/master/usage/configuration.html # -- Path setup -------------------------------------------------------------- # If ex...
[ "jarryshaw@icloud.com" ]
jarryshaw@icloud.com
97286bf0248e398684ddbc5cbc43952b3ebf61b4
187f114edca30e0fec49cdaee873bbe614295442
/docs/source/conf.py
802726555ddced6fbbd0320aa0d3c743866fc976
[ "MIT" ]
permissive
scorphus/pvsim
c5b3f4535d8c404cf1a4fbe9c731c5dee7fc8251
778349147245c754e37ab7d44d385b03780105ac
refs/heads/master
2022-10-24T02:12:28.331528
2020-06-08T17:09:49
2020-06-08T17:09:49
109,788,139
0
0
null
null
null
null
UTF-8
Python
false
false
5,807
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # This file is part of pvsim. # https://github.com/scorphus/pvism # Licensed under the MIT license: # http://www.opensource.org/licenses/MIT-license # Copyright (c) 2017, Pablo Santiago Blum de Aguiar <pablo.aguiar@gmail.com> # PV Simulator Challenge documentation build ...
[ "scorphus@gmail.com" ]
scorphus@gmail.com
c7eaf6bea58237cdccc33d21a51b534bf54ca155
d1b59545c498a1188b84a874324522385dbadfe4
/A01/q1/q2.py
2ff0ac09805da363d938afc94d3b1439a1e4c0be
[]
no_license
khat3680/basic_python-104
570c64daf6a89c5696966c75a9901b0d15eb758e
c3a79e08cb5fe6dcba5130c295f395c6130d559b
refs/heads/master
2022-12-09T21:32:27.068654
2020-09-11T17:08:47
2020-09-11T17:08:47
294,756,729
0
0
null
null
null
null
UTF-8
Python
false
false
497
py
""" ------------------------------------------------------------------------ Assignment 1 Question 2 C ------------------------------------------------------------------------ Author: Anshul Khatri ID: 193313680 Email: khat3680@mylaurier.ca __updated__ = "2019-09-14" -----------------------------------------------...
[ "anshulskhatri@gmail.com" ]
anshulskhatri@gmail.com
149137c48aaf71c39a2d48bd44e95b892c37bca9
627094b5e463bd113f626450eaceb01dfa4ff5d5
/udsoncan/services/ReadDataByPeriodicIdentifier.py
d943ab4a2cdd1f4a238f9e91cbb7fec3ea179296
[ "MIT" ]
permissive
DaleChen0351/python-udsoncan
49eefcb299e2a4fabe0bf168905cc86ef43d6f62
c495e872c69c4ea05e3b477d2a1088cb83167a17
refs/heads/master
2020-04-20T06:10:25.252315
2019-03-28T07:38:17
2019-03-28T07:38:17
168,675,483
0
0
MIT
2019-03-28T07:38:19
2019-02-01T09:42:02
Python
UTF-8
Python
false
false
718
py
from . import * from udsoncan.Response import Response from udsoncan.exceptions import * class ReadDataByPeriodicIdentifier(BaseService): _sid = 0x2A supported_negative_response = [ Response.Code.IncorrectMessageLegthOrInvalidFormat, Response.Code.ConditionsNotCorrect, Response.Code.RequestO...
[ "py.lessard@gmail.com" ]
py.lessard@gmail.com
bad5caea1aca73bb22c458643376be763d78501b
7d4e3f36fb1bac247599510820c0f537417f99e4
/jnpy/__init__.py
27623371e04ec7b6314a18697122d86eded15828
[ "MIT" ]
permissive
jojoquant/jonpy
562065ea74ac1038c36d3993f43e71cc39a799a7
c874060af4b129ae09cee9f8542517b7b2f6573b
refs/heads/master
2022-09-08T07:15:37.051279
2022-03-18T06:41:22
2022-03-18T06:41:22
244,432,056
7
7
null
null
null
null
UTF-8
Python
false
false
169
py
# !/usr/bin/env python3 # -*- coding:utf-8 -*- # @Datetime : 2020/1/22 上午1:40 # @Author : Fangyang # @Software : PyCharm if __name__ == '__main__': pass
[ "fangyang.jing@hotmail.com" ]
fangyang.jing@hotmail.com
17c62b25766d04711a43abe1a6664544e0969e56
82080ef68a203f141ab6435c32fdcc79351b448e
/web_dynamic/3-hbnb.py
f2591110ea9142633bb3c28838dee8b09cc5a20f
[ "MIT" ]
permissive
dalexach/AirBnB_clone_v4
60291a8d10d58f75d707fdc4a0c11095e4c36dc5
04e1db0691cbe5cefb6a5f42f7e008e8ba24d5d6
refs/heads/master
2023-02-08T02:26:40.018351
2020-02-18T20:14:16
2020-02-18T20:14:16
240,527,417
0
2
MIT
2023-02-02T03:27:32
2020-02-14T14:32:44
HTML
UTF-8
Python
false
false
1,356
py
#!/usr/bin/python3 """ Flask App that integrates with AirBnB static HTML Template """ from flask import Flask, render_template, url_for from models import storage from uuid import uuid4 # flask setup app = Flask(__name__) app.url_map.strict_slashes = False port = 5000 host = '0.0.0.0' # begin flask page rendering @a...
[ "diahancaroll@hotmail.com" ]
diahancaroll@hotmail.com
04eef729215eff975b7ee7bd345bbf3cd621784c
f5f87fabe766e69c7a003d070b6447ef5a45c603
/stylelens_search/models/__init__.py
6c599ebfcc38fd644fb7183bd6deae699ba00867
[]
no_license
BlueLens/stylelens-search
4a4f17f876e1781a6fee5663bfa62f83f657d7db
7c21d59d49915688777714fb896d65a101dab28a
refs/heads/master
2021-07-15T08:55:45.256052
2017-10-21T15:44:35
2017-10-21T15:44:35
107,691,298
0
0
null
null
null
null
UTF-8
Python
false
false
504
py
# coding: utf-8 """ stylelens-search This is a API document for Image search on fashion items\" OpenAPI spec version: 0.0.1 Contact: devops@bluehack.net Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import # import models into model packag...
[ "master@bluehack.net" ]
master@bluehack.net
ef03dc7074da5007a1486441d0229d4e4db99142
e0e9b1446ccaccdd7332b2f916e737cdaced8a8d
/.scripts/submit.py
6ce7eff369601b1752b5709ac46a92bb65b5cbf9
[]
no_license
marygmccann/cse-34872-su20-assignments
3afd51f8cfc7c0262b7937d113755baf49cbd20e
c2c2f21da1abd86e646c16ea86f21702efb34d68
refs/heads/master
2022-08-24T10:32:31.545059
2020-05-19T21:03:43
2020-05-19T21:03:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,252
py
#!/usr/bin/env python3 import glob import json import os import sys import requests import yaml # Globals ASSIGNMENTS = {} DREDD_QUIZ_URL = 'https://dredd.h4x0r.space/quiz/cse-34872-su20/' DREDD_QUIZ_MAX = 2.0 if bool(os.environ.get('DEBUG', False)): DREDD_CODE_URL = 'https://dredd.h4x0r.space/debug/cse-3...
[ "pbui@nd.edu" ]
pbui@nd.edu
6407d8cd05af0356ac59c26e791b779813da547d
ef1f62cf4e53f856bf763ac0dee73f054518530d
/Week_07/208.Implement_Trie.py
00f27ebe6bcf165fca9b12eb1cd01c797725850f
[]
no_license
ZHHJemotion/algorithm008-class01
3338af3619d8e1754a62af6a852f517b47298d95
5bb7d2b74110df0b5788b94c69582552d711563a
refs/heads/master
2022-11-12T09:26:24.941738
2020-06-30T15:29:20
2020-06-30T15:29:20
255,102,230
0
0
null
2020-04-12T14:39:17
2020-04-12T14:39:17
null
UTF-8
Python
false
false
1,821
py
# Implement a trie with insert, search, and startsWith methods. # # Example: # # # Trie trie = new Trie(); # # trie.insert("apple"); # trie.search("apple"); // returns true # trie.search("app"); // returns false # trie.startsWith("app"); // returns true # trie.insert("app"); # trie.search("app"); // returns ...
[ "zhhjemotion@hotmail.com" ]
zhhjemotion@hotmail.com
a573ee26fbe78730cc20595670f4408e417d3492
5e84763c16bd6e6ef06cf7a129bb4bd29dd61ec5
/blimgui/dist/OpenGL/GLES1/OES/single_precision.py
d67e1d503c813791b2ce19f41892ef8db20a7272
[ "MIT" ]
permissive
juso40/bl2sdk_Mods
8422a37ca9c2c2bbf231a2399cbcb84379b7e848
29f79c41cfb49ea5b1dd1bec559795727e868558
refs/heads/master
2023-08-15T02:28:38.142874
2023-07-22T21:48:01
2023-07-22T21:48:01
188,486,371
42
110
MIT
2022-11-20T09:47:56
2019-05-24T20:55:10
Python
UTF-8
Python
false
false
1,317
py
'''OpenGL extension OES.single_precision This module customises the behaviour of the OpenGL.raw.GLES1.OES.single_precision to provide a more Python-friendly API Overview (from the spec) This extension adds commands with single-precision floating-point parameters corresponding to the commands that only variants ...
[ "justin.sostmann@googlemail.com" ]
justin.sostmann@googlemail.com
2f9a53d49fd4ed9c71a2cd957ff8bd6d59d9d5d0
8afb5afd38548c631f6f9536846039ef6cb297b9
/MY_REPOS/web-dev-notes-resource-site/2-content/Data-Structures/1-Python/maths/gcd.py
51d2711d3abfc8b69402ae7ee013a4a7b2f630df
[ "MIT" ]
permissive
bgoonz/UsefulResourceRepo2.0
d87588ffd668bb498f7787b896cc7b20d83ce0ad
2cb4b45dd14a230aa0e800042e893f8dfb23beda
refs/heads/master
2023-03-17T01:22:05.254751
2022-08-11T03:18:22
2022-08-11T03:18:22
382,628,698
10
12
MIT
2022-10-10T14:13:54
2021-07-03T13:58:52
null
UTF-8
Python
false
false
938
py
def gcd(a, b): """Computes the greatest common divisor of integers a and b using Euclid's Algorithm. """ while b != 0: a, b = b, a % b return a def lcm(a, b): """Computes the lowest common multiple of integers a and b.""" return a * b / gcd(a, b) """ Given a positive integer x, c...
[ "bryan.guner@gmail.com" ]
bryan.guner@gmail.com
1d996f9d9e66d2a64deb825439e2acd7feef60e3
28a9cc19537f7264421afeb9883962aa480c2616
/deals/migrations/0002_product_data_category_id.py
cc5cb13b2afca538cacf42cdf415cf940e913c68
[]
no_license
ujjwalagrawal17/BrokerAppBackend
b33df886b389aabfcfe7278c3e41c99d13d4fbb3
1b8ffd18e4c5257d222c17b8aece3351b549b204
refs/heads/master
2021-01-22T21:23:18.807792
2017-03-18T19:06:44
2017-03-18T19:06:44
85,425,430
0
0
null
null
null
null
UTF-8
Python
false
false
443
py
# -*- coding: utf-8 -*- # Generated by Django 1.9 on 2016-12-29 18:05 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('deals', '0001_initial'), ] operations = [ migrations.AddField( mod...
[ "ujjwal.iitism@gmail.com" ]
ujjwal.iitism@gmail.com
4340e9b7a8286e8c59be954b02524b64f84cd8d3
c36aae30fad06ea64dd5d158d364c18462a70799
/website/books/models.py
ea80d86c5c777f2270f02934900264f101096070
[]
no_license
srikanthpragada/building_web_applications_using_django_framework
60222ca503c97aa375726d4496db9e36a72ebb4b
920780593d6324414d0c727a9bce2db171614350
refs/heads/master
2023-01-03T12:31:10.851750
2020-10-31T15:49:10
2020-10-31T15:49:10
308,915,547
0
1
null
null
null
null
UTF-8
Python
false
false
369
py
from django.db import models class Book(models.Model): title = models.CharField(max_length=30, unique=True, null=False) author = models.CharField(max_length=30, null=False) price = models.IntegerField(null=False) def __str__(self): return f"{self.id} - {self.title} - {self.author} - {self.pri...
[ "srikanthpragada@gmail.com" ]
srikanthpragada@gmail.com
8fb78e1b6dc83ef71a9e50e3592e4b6d439b160e
b77a36eb7c2214151feccca0c4894381147d6051
/movie/migrations/0009_alter_movie_movie_rating.py
2d33a2519713b24a769d3ba4f64c82b9413b674c
[]
no_license
mnk-q/watchlist
b15536bb8a2a81f1935bb08a25b04dc27953f896
3ac14b1ba48a2bd7aae84e7a3c64cf60fedd6f17
refs/heads/master
2023-06-04T21:14:51.235899
2021-06-25T17:41:37
2021-06-25T17:41:37
349,739,231
0
0
null
null
null
null
UTF-8
Python
false
false
394
py
# Generated by Django 3.2.3 on 2021-06-17 13:47 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('movie', '0008_alter_movie_movie_studio'), ] operations = [ migrations.AlterField( model_name='movie', name='movie_ra...
[ "=" ]
=
305d5f76e5fb3052bcd63b76465b8fe2c3e33e0b
92e26b93057723148ecb8ca88cd6ad755f2e70f1
/SE/BottleNeck/r40_SE/network.py
bba54ad210394d7c821cc9509f84a78419bb598a
[]
no_license
lyuyanyii/CIFAR
5906ad9fbe1377edf5b055098709528e06b5ace2
d798834942d6a9d4e3295cda77488083c1763962
refs/heads/master
2021-08-30T20:09:52.819883
2017-12-19T08:37:37
2017-12-19T08:37:37
112,701,370
1
0
null
null
null
null
UTF-8
Python
false
false
3,185
py
import numpy as np from megskull.network import Network from megskull.opr.all import ( Conv2D, Pooling2D, FullyConnected, Softmax, CrossEntropyLoss, Dropout, ElementwiseAffine ) from megskull.opr.helper.elemwise_trans import ReLU, Identity, Sigmoid from megskull.graph.query import GroupNode from megskull.o...
[ "315603442@qq.com" ]
315603442@qq.com
13d7260187bc3dedef4fe80405688fa7a830b32e
2c4ba5a56b7a3d3e1c286b678eb8068f51c23046
/week3/2-Resolve-with-Functions/solutions/twin_primes.py
ff03fddc715021dd92dde7664a6c768f15866bd7
[]
no_license
OgnyanPenkov/Programming0-1
3b69757bd803814585d77479fc987a0ee92d0390
8078f316ea2b81216c21cf78e7cf1afc17f54846
refs/heads/master
2021-01-21T15:12:20.814368
2015-10-07T18:16:39
2015-10-07T18:16:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
650
py
def is_prime(n): if n <= 1: return False start = 2 is_prime = True while start < n: if n % start == 0: is_prime = False break start += 1 return is_prime p = input("Enter number: ") p = int(p) q = p - 2 r = p + 2 is_p_prime = is_prime(p) is_q_pri...
[ "radorado@hackbulgaria.com" ]
radorado@hackbulgaria.com
f250d33cc3036d938d84a63612f7bddeef67203a
fe19d2fac4580d463132e61509bd6e3cc2cf958d
/toontown/toon/PlayerDetailPanel.py
7fab34d34832d1ccb0846ed7cb013f3fb958085d
[]
no_license
t00nt0wn1dk/c0d3
3e6db6dd42c3aa36ad77709cf9016176a3f3a44f
7de105d7f3de0f8704b020e32fd063ee2fad8d0d
refs/heads/master
2021-01-01T16:00:15.367822
2015-03-21T21:25:52
2015-03-21T21:25:55
32,647,654
3
5
null
null
null
null
UTF-8
Python
false
false
5,657
py
# 2013.08.22 22:26:15 Pacific Daylight Time # Embedded file name: toontown.toon.PlayerDetailPanel from pandac.PandaModules import * from toontown.toonbase.ToontownGlobals import * from direct.gui.DirectGui import * from pandac.PandaModules import * from direct.showbase import DirectObject from direct.fsm import Classic...
[ "anonymoustoontown@gmail.com" ]
anonymoustoontown@gmail.com
94c01ee844d433e79abd65caad5625c1412139c1
ec31d26a8b619ec98dc5c586f525420572cc39a1
/scripts/map_timings.py
c76a6e265894314d3ec6f5f64a7eeab8b4fa9405
[ "MIT" ]
permissive
stestagg/timing
b0fab6ff8814e5edeeaa98b7bcd470aa9e527742
57f40229616b2dc385afc447f3f587940158c3b4
refs/heads/master
2021-06-25T19:20:17.158308
2017-09-11T22:26:23
2017-09-11T22:26:23
103,174,114
0
1
null
null
null
null
UTF-8
Python
false
false
2,107
py
import sys from collections import namedtuple from pprint import pformat import yaml from jinja2 import Environment, FileSystemLoader, select_autoescape Output = namedtuple("Output", ["cpu", "human"]) def unit_sort(x): raw = 1 - x[0] if raw < 0: return abs(raw) * 0.001 return raw def render(**kw...
[ "stestagg@gmail.com" ]
stestagg@gmail.com
5da5b673a32056f2d144a312b0032ee8c2690cc3
3faffa899187e9244c7f3bccc02bf451e496637e
/python/chapter 1/1-1.py
ef166815faf24e009175ecdbc670c22723e9f8a0
[]
no_license
WuLC/Beauty_OF_Programming
909aa6e3dff3dc090da6a3f375aec15222b14f6a
63accae07afbbece292a1115ce37b44e03839e31
refs/heads/master
2020-04-06T04:12:15.573389
2016-11-21T03:42:24
2016-11-21T03:42:24
58,548,325
0
0
null
null
null
null
UTF-8
Python
false
false
1,180
py
# -*- coding: utf-8 -*- # @Author: LC # @Date: 2016-10-16 12:27:57 # @Last modified by: WuLC # @Last Modified time: 2016-10-16 20:35:05 # @Email: liangchaowu5@gmail.com ######################################## # take up certain usage of a cpu cor ######################################### import time import psuti...
[ "liangchaowu5@gmail.com" ]
liangchaowu5@gmail.com
7bf7fd3eaeee8d2f8d11255b72f453b53bd61041
ebd5c4632bb5f85c9e3311fd70f6f1bf92fae53f
/P.O.R.-master/pirates/npc/DistributedGhostAI.py
8b7ab4804bd8b8e385c65685fd59e4d316aa705e
[]
no_license
BrandonAlex/Pirates-Online-Retribution
7f881a64ec74e595aaf62e78a39375d2d51f4d2e
980b7448f798e255eecfb6bd2ebb67b299b27dd7
refs/heads/master
2020-04-02T14:22:28.626453
2018-10-24T15:33:17
2018-10-24T15:33:17
154,521,816
2
1
null
null
null
null
UTF-8
Python
false
false
581
py
from direct.distributed import DistributedObjectAI class DistributedGhostAI(DistributedObjectAI.DistributedObjectAI): def ___init___(self, air): DistributedObjectAI.DistributedObjectAI.__init__(self, air) def announceGenerate(self): DistributedObjectAI.DistributedObjectAI.announceGenerate(sel...
[ "brandoncarden12345@gmail.com" ]
brandoncarden12345@gmail.com
72c70e99db2ead16f2ef5be4abc6008f77fad04c
0bce7412d58675d6cc410fa7a81c294ede72154e
/Python3/0044. Wildcard Matching.py
9df5bb742fe54fee40a24b8f728f83976693a948
[]
no_license
yang4978/LeetCode
9ddf010b0f1dda32cddc7e94c3f987509dea3214
6387d05b619d403414bad273fc3a7a2c58668db7
refs/heads/master
2022-01-15T04:21:54.739812
2021-12-28T12:28:28
2021-12-28T12:28:28
182,653,666
0
0
null
null
null
null
UTF-8
Python
false
false
612
py
class Solution: def isMatch(self, s: str, p: str) -> bool: l1 = len(s) l2 = len(p) dp = [[False]*(l2+1) for i in range(l1+1)] dp[0][0] = True for j in range(1,l2+1): if(p[j-1]=='*'): dp[0][j] = dp[0][j-1] for i in range(1,...
[ "noreply@github.com" ]
yang4978.noreply@github.com
4e28dafd47b60ac34e28b715db2cbfcf5fefbdb2
c08b5edb5075e7840e716b0a09006dae0a4d05ac
/.history/Missions_to_Mars/scrape_mars_20200808232435.py
3a588df03c13e75f15c5b6cfa084daff2ad77809
[]
no_license
OlgaDlzk/web-scraping-challenge-1
06f915eb76c55c9bc37889017dd9af81122dc1a5
f99c3436dfb0169595c46dae7733d90e21385cc6
refs/heads/master
2023-03-18T00:58:37.928024
2020-09-22T20:32:47
2020-09-22T20:32:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,673
py
# Dependencies import numpy as np import pandas as pd from bs4 import BeautifulSoup as bs import requests from splinter import Browser import re # Initialize browser def init_browser(): executable_path = {"executable_path": "/usr/local/bin/chromedriver"} #executable_path = {'executable_path': 'chromedriver.e...
[ "ermiasgelaye@gmail.com" ]
ermiasgelaye@gmail.com
7e48b766b0f55a68c8fea240590cb3cbe02c5a0d
77772edccbdb5fe07229358a48471cfeca395893
/restau/urls.py
23b136010aa6519649d9415cbe92f9971b8637d7
[]
no_license
ShreySumariya07/Restaurant-Drf
a4b08b2522da37ab88e807cb42978b014dce639a
a06fba134a50b1803d1ce59eeb5a3c4e7c1a9528
refs/heads/master
2023-06-22T21:55:09.949692
2021-01-29T13:45:25
2021-01-29T13:45:25
334,158,021
0
0
null
null
null
null
UTF-8
Python
false
false
382
py
from django.urls import path from . import views urlpatterns = [ path('restaurants/', views.Restaurants.as_view()), path('restaurants/<str:restaurant_id>/', views.RestaurantDetail.as_view()), path('restaurants/<str:restaurant_id>/recipes/', views.Recipes.as_view()), path('restaurants/<str:restaurant_i...
[ "you@example.com" ]
you@example.com
2c29dde493d22062c4ad341523e1cddfa11d7c80
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/pa3/sample/object_method_complex_call-153.py
384c6c28ad4f88a1960d2add9439c0e2ccbf5dda
[]
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
336
py
class A(object): a:int = 42 def foo(self:"A", ignore:object) -> int: return self.a class B(A): b:bool = True def __init__(self:"B"): print("B") def bar(self:"B") -> int: return self.foo(self.foo(print("..."))) def foo(self:"B", ignore:object) -> int: return 1...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
3100bf04aa4c403c82b611c69b52c10ec9c06173
4be5c172c84e04c35677f5a327ab0ba592849676
/python/interviewbit/strings/min_chars_to_make_palindrome/min_chars_to_make_palindrome.py
a703d91003b0bbc9c59a79a4de9d67fc79ac951e
[]
no_license
niranjan-nagaraju/Development
3a16b547b030182867b7a44ac96a878c14058016
d193ae12863971ac48a5ec9c0b35bfdf53b473b5
refs/heads/master
2023-04-06T20:42:57.882882
2023-03-31T18:38:40
2023-03-31T18:38:40
889,620
9
2
null
2019-05-27T17:00:29
2010-09-05T15:58:46
Python
UTF-8
Python
false
false
3,241
py
''' https://www.interviewbit.com/problems/minimum-characters-required-to-make-a-string-palindromic/ Minimum Characters required to make a String Palindromic Given an string A. The only operation allowed is to insert characters in the beginning of the string. Find how many minimum characters are needed to be inserted...
[ "vinithepooh@gmail.com" ]
vinithepooh@gmail.com
aa6c975ee2f19bb1dc0094b1d58e5ff4d74ef6c8
86abbc013ab6209d11d58b735048a560ce059e72
/tests/test_01_main/test_env_vars_2.py
ca3fab4037b7b777f6209d3922be51fa56d92bee
[ "MIT" ]
permissive
alexiri/meinheld-gunicorn-docker
e518e10f1845856f1c2c81181e825b5c8aebf99a
e9ff167987a967071b408c0ecb7790232f378ea7
refs/heads/master
2020-04-16T23:44:49.276125
2019-01-12T14:12:12
2019-01-12T14:12:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,198
py
import time import docker import pytest from ..utils import ( CONTAINER_NAME, get_config, get_process_names, stop_previous_container, ) client = docker.from_env() @pytest.mark.parametrize( "image", [ ("tiangolo/meinheld-gunicorn:python3.6"), ("tiangolo/meinheld-gunicorn:pyth...
[ "tiangolo@gmail.com" ]
tiangolo@gmail.com
33642132bf671fca1fb601bf2a308944456d0679
17f6881c70401dc63757cc7b5fa4d9dd396689e3
/src/main/com/libin/yfl/2.py
ab40b869edeb44fd720e43b62d3e0074571c639f
[]
no_license
BigDataRoad/Algorithm
0ab493eeb478125b4beb62d78ce18c73e30b0496
2f2fb4f4b84f6c9df8adbada63b327c43ce29ddd
refs/heads/master
2023-07-02T04:06:51.025648
2021-07-28T14:04:55
2021-07-28T14:04:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
512
py
'''' 面试题50. 第一个只出现一次的字符 在字符串 s 中找出第一个只出现一次的字符。如果没有,返回一个单空格。 示例: s = "abaccdeff" 返回 "b" s = "" 返回 " " ''' class Solution: def firstUniqChar(self, s: str) -> str: d1 = {} for each in s: if each not in d1: d1[each] = 1 else: d1[each] += 1 ...
[ "yangfengling@inttech.cn" ]
yangfengling@inttech.cn
1b41e87af402abd0b44ebbe92b9d6c0550a0335c
aa0270b351402e421631ebc8b51e528448302fab
/sdk/servicenetworking/azure-mgmt-servicenetworking/generated_samples/frontend_patch.py
cb930d459dcae096783768ee9d0d2b0061cf2ee1
[ "MIT", "LGPL-2.1-or-later", "LicenseRef-scancode-generic-cla" ]
permissive
fangchen0601/azure-sdk-for-python
d04a22109d0ff8ff209c82e4154b7169b6cb2e53
c2e11d6682e368b2f062e714490d2de42e1fed36
refs/heads/master
2023-05-11T16:53:26.317418
2023-05-04T20:02:16
2023-05-04T20:02:16
300,440,803
0
0
MIT
2020-10-16T18:45:29
2020-10-01T22:27:56
null
UTF-8
Python
false
false
1,803
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" ]
fangchen0601.noreply@github.com
df76809e8cc0c86466eac41b4177052d87b4c49f
786027545626c24486753351d6e19093b261cd7d
/ghidra9.2.1_pyi/ghidra/app/util/bin/format/pef/RelocLgByImport.pyi
27b5bea67c6a66a0caa4003b216de6e66cc6fd77
[ "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,439
pyi
import ghidra.app.util.bin.format.pef import ghidra.app.util.importer import ghidra.program.model.data import ghidra.program.model.listing import ghidra.util.task import java.lang class RelocLgByImport(ghidra.app.util.bin.format.pef.Relocation): """ See Apple's -- PEFBinaryFormat.h """ def ap...
[ "tsunekou1019@gmail.com" ]
tsunekou1019@gmail.com
ccbde9d6da768d83b804f523d581a547d9ba4769
81407be1385564308db7193634a2bb050b4f822e
/the-python-standard-library-by-example/math/math_inverse_trig.py
26b2a3fc86ae12776e4c1f17fcb31bef477a193f
[ "MIT" ]
permissive
gottaegbert/penter
6db4f7d82c143af1209b4259ba32145aba7d6bd3
8cbb6be3c4bf67c7c69fa70e597bfbc3be4f0a2d
refs/heads/master
2022-12-30T14:51:45.132819
2020-10-09T05:33:23
2020-10-09T05:33:23
305,266,398
0
0
MIT
2020-10-19T04:56:02
2020-10-19T04:53:05
null
UTF-8
Python
false
false
379
py
#!/usr/bin/env python # encoding: utf-8 # # Copyright (c) 2010 Doug Hellmann. All rights reserved. # """Inverse trigonometric functions """ #end_pymotw_header import math for r in [ 0, 0.5, 1 ]: print 'arcsine(%.1f) = %5.2f' % (r, math.asin(r)) print 'arccosine(%.1f) = %5.2f' % (r, math.acos(r)) prin...
[ "350840291@qq.com" ]
350840291@qq.com
356a0bc40cd0d90f4452998c8f8c8ff403d7b25b
b1742abd82bd3c27b511d5ba855b9b1e87e6854a
/lab_03_magic_8_ball.py
b8ad94d1f6d1263e2666335d8b65c5b1fb29e783
[]
no_license
tomaccosheep/simple_django_render
8702e13e96462e495287b2f5624dcd2d142d72b4
6dd2a5bab32e352cc6ff9b7b542ba2d126f01728
refs/heads/master
2023-05-03T05:36:47.601119
2020-02-28T21:44:26
2020-02-28T21:44:26
243,859,346
0
0
null
2023-04-21T20:51:57
2020-02-28T21:41:12
Python
UTF-8
Python
false
false
362
py
'''DJANGO STUFF''' import os from django.shortcuts import render os.environ['DJANGO_SETTINGS_MODULE'] = 'settings' '''MAGIC 8 BALL LAB''' import random input("What's your question?\n:") with open('lab_03_out.html', 'w') as f: f.write(render(None, 'lab_03_in.html', {'answer': random.choice(['It will happen', "It w...
[ "al.burns.email@gmail.com" ]
al.burns.email@gmail.com
64cf0bf1871a6b84f9a729968ec396164bec5eff
732b0b3e2ae0e6c498cfd2ed893de60b9fc22a32
/tests/integration/actions/collections/test_welcome_interactive_noee.py
5c0bbeddc6c0b39a11d26ac6b3341c0b5bf0a460
[ "Apache-2.0" ]
permissive
didib/ansible-navigator
eb7b77c1df30b2e90b663383f0f76b6224e92c02
62fdbd05f25fb2d79133b3ab207f53ac2f2d6d36
refs/heads/main
2023-08-30T06:43:42.876079
2021-10-14T18:42:17
2021-10-14T18:42:17
425,540,819
0
0
Apache-2.0
2021-11-07T15:27:54
2021-11-07T15:27:53
null
UTF-8
Python
false
false
1,166
py
""" collections from welcome interactive w/0 ee """ import pytest from .base import BaseClass CLI = "ansible-navigator --execution-environment false" testdata = [ (0, CLI, "ansible-navigator welcome screen"), (1, ":collections", "ansible-navigator collections top window"), (2, ":0", "Browse testorg.coll_...
[ "noreply@github.com" ]
didib.noreply@github.com
6a9815bcd0c734fda3cd74d9658b0d8ab02503a6
14bca3c05f5d8de455c16ec19ac7782653da97b2
/lib/kubernetes/client/models/v1_toleration.py
770bb006050329795a673f8662ff0e3e39b446f0
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
hovu96/splunk_as_a_service_app
167f50012c8993879afbeb88a1f2ba962cdf12ea
9da46cd4f45603c5c4f63ddce5b607fa25ca89de
refs/heads/master
2020-06-19T08:35:21.103208
2020-06-16T19:07:00
2020-06-16T19:07:00
196,641,210
8
1
null
null
null
null
UTF-8
Python
false
false
7,907
py
# coding: utf-8 """ Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1.14.4 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from pprint import pformat from six import iteri...
[ "robert.fujara@gmail.com" ]
robert.fujara@gmail.com
17040fde877a4f28ad58496fd1e547336763246d
9bf7d7ace42a61991970fd967c19071a50609b9e
/ipython/MultiDot.py
d5d3b44b3bd700618f18adcdb674674c8abe775a
[]
no_license
ParsonsRD/SciPy-CookBook
29b68eace76962ae00735039bc3d488f31714e50
52f70a7aa4bd4fd11217a13fc8dd5e277f2388ea
refs/heads/master
2020-03-17T17:33:28.827269
2013-05-17T06:56:54
2013-05-17T06:56:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,663
py
# <markdowncell> # The matrix multiplication function, numpy.dot(), only takes two # arguments. That means to multiply more than two arrays together you end # up with nested function calls which are hard to read: # # <codecell> dot(dot(dot(a,b),c),d) # <markdowncell> # versus infix notation where you'd just be ...
[ "matti.pastell@helsinki.fi" ]
matti.pastell@helsinki.fi
38192ff80015c3eaf94f38a786aaa3a32e84f80e
06bf7c9f24b2a9cfe1f9feb1481838b37713904e
/scripts/ansible-vagrant-inventory.py
b88e0db54e121ddfbc708d93aa319328c75d5ce2
[ "MIT" ]
permissive
marcelodevops/dotfiles
31efb4d62b7e5161fba40c204612d01e44cc35bd
eeb63ea94f27aef0eef8777bd8a423ae81133217
refs/heads/master
2022-03-08T20:37:08.749623
2019-10-22T20:14:45
2019-10-22T20:14:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,010
py
#!/usr/bin/env python from __future__ import print_function import argparse import json import os import os.path import subprocess import sys def exit_err(msg): print(msg, file=sys.stderr) sys.exit(1) def get_vagrant_index(): path = os.path.expanduser('~/.vagrant.d/data/machine-index/index') with o...
[ "anlutro@gmail.com" ]
anlutro@gmail.com
e8b58c05a571106b4b6e583e9fb783bceebe4a72
236e6a7c4604443f0f4acd778bcccd747011080e
/ax/storage/sqa_store/sqa_config.py
4c184fcadc002f2ad2f11fec983230902d70b085
[ "MIT" ]
permissive
MayukhBagchiTrento/Ax
a161e1fee615c4e570de51b32f9e656063dc228d
7c925ba8365af714d9671208de490ba48814bfaa
refs/heads/master
2023-05-09T20:14:14.525338
2021-06-02T18:46:51
2021-06-02T18:46:51
268,482,239
0
0
MIT
2020-06-01T09:43:39
2020-06-01T09:43:38
null
UTF-8
Python
false
false
2,537
py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. from enum import Enum from typing import Dict, NamedTuple, Optional, Type from ax.core.arm import Arm from ax.core.bas...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
9a5e9d041ce5d5aec6a271c32fdf6721bfcdf335
0d9445f17a7175c3872c6ffb9280c3269b8a1eb9
/test/unfolding/test_unfolding.py
06ece9628fe17d60ef34aa60e688ece98132da0e
[]
permissive
neukirchen-212/phonopy
8aa4fc9f63cb124acaa6f7ab052275a423c000cb
e34588dcb32fb15aa2a6604ffd3e62ebb0927c0f
refs/heads/develop
2023-08-24T00:47:35.908407
2021-10-16T12:02:27
2021-10-16T12:02:27
328,015,607
0
0
BSD-3-Clause
2021-01-11T12:53:48
2021-01-08T21:24:17
null
UTF-8
Python
false
false
4,753
py
import numpy as np from phonopy import Phonopy from phonopy.unfolding import Unfolding # from phonopy.interface.vasp import write_vasp import os data_dir = os.path.dirname(os.path.abspath(__file__)) def test_Unfolding_NaCl(ph_nacl): """Test to reproduce proper band structure of primitive cell Results are wr...
[ "atz.togo@gmail.com" ]
atz.togo@gmail.com
c16fe6d08af84f79148a92df9ca28ec80d1fbd1b
3c000380cbb7e8deb6abf9c6f3e29e8e89784830
/venv/Lib/site-packages/cobra/modelimpl/planner/leaf.py
a26a48f95065c8ded94a02ebbeb6e1facd5221d6
[]
no_license
bkhoward/aciDOM
91b0406f00da7aac413a81c8db2129b4bfc5497b
f2674456ecb19cf7299ef0c5a0887560b8b315d0
refs/heads/master
2023-03-27T23:37:02.836904
2021-03-26T22:07:54
2021-03-26T22:07:54
351,855,399
0
0
null
null
null
null
UTF-8
Python
false
false
7,862
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2020 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "bkhoward@live.com" ]
bkhoward@live.com
d4df2caa6ed25adc9924e59b16ebf3b4dc71c06b
64cd09628f599fe18bf38528309349f7ac0df71e
/ML.Autoencoder/Reference/1_Autoencoder.py
59899e4665c25aec2652d6535c1f0822d0364e62
[]
no_license
JunyoungJang/Python
958c057b2fd37c03876d3cf566ee27ee637bb020
76d4cd441deff8061e10608e0848360bc4f34490
refs/heads/master
2021-01-19T21:54:42.208469
2020-02-14T09:54:17
2020-02-14T09:54:17
83,768,220
1
0
null
null
null
null
UTF-8
Python
false
false
3,862
py
# Gradient-Based Learning Applied to Document Recognition [Y LeCun 1998] http://yann.lecun.com/exdb/publis/pdf/lecun-01a.pdf # Greedy Layer-Wise Training of Deep Networks [Bengio 07] http://papers.nips.cc/paper/3048-greedy-layer-wise-training-of-deep-networks.pdf/ # Extracting and Composing Robust Features with Denoisi...
[ "lakino@yonsei.ac.kr" ]
lakino@yonsei.ac.kr
a1088c8dfa47439b1217fe6d2ebf2519ad1696a3
ae6189642a07fd789f51caadb924328a54919cac
/100-problems/review/dinamic-programming/37-coin-2.py
f4d3151f226422f8a88fdfd7ba7a84605042607d
[]
no_license
d-matsui/atcorder
201e32403653b2fdf0d42188faf095eb8b793b86
22ec1af8206827e10a986cb24cf12acc52ab1d6a
refs/heads/master
2020-09-27T23:15:27.281877
2020-09-01T13:24:34
2020-09-01T13:24:34
226,632,569
0
0
null
null
null
null
UTF-8
Python
false
false
465
py
#!/usr/bin/env python3 from pprint import pprint import sys sys.setrecursionlimit(10 ** 6) input = sys.stdin.buffer.readline INF = float('inf') n, m = map(int, input().split()) coins = list(map(int, input().split())) # dp[i] := ちょうどi円支払うときのコインの最小枚数 dp = [INF] * (n + 1) dp[0] = 0 for i in range(n + 1): for c ...
[ "mti.daiki@gmail.com" ]
mti.daiki@gmail.com
c8d1d2b5066d64780127495106322b5db11767f8
8b9bf5891152762a0dbaef2f01ba8a302d3213fa
/git_blankfile.py
9e977d1f7d84a0fba2c33fa1f8a736a35c14897b
[]
no_license
WRGrantham/github_practice
bd79ec1d3bfbefe50e00686f63bb247529293370
a4a1e06b1cbe7ef2667934584293d3a401382fb2
refs/heads/master
2020-03-22T06:49:39.473734
2018-07-04T03:15:24
2018-07-04T03:15:24
139,660,819
0
0
null
null
null
null
UTF-8
Python
false
false
134
py
def bitch_please(string): print ("bitch, PLEASE!") bitch_please(poop_butt) poop_butt = "Mr Poopy Butthole, we've got changes"
[ "vagrant@vagrant.vm" ]
vagrant@vagrant.vm
70b8250d91c0fe9c9201349f493e908f51d62f94
bb150497a05203a718fb3630941231be9e3b6a32
/framework/e2e/jit/test_MaxPool3D_11.py
0d68f5ac5631e67e9f271a8346573b1b1fc46ec8
[]
no_license
PaddlePaddle/PaddleTest
4fb3dec677f0f13f7f1003fd30df748bf0b5940d
bd3790ce72a2a26611b5eda3901651b5a809348f
refs/heads/develop
2023-09-06T04:23:39.181903
2023-09-04T11:17:50
2023-09-04T11:17:50
383,138,186
42
312
null
2023-09-13T11:13:35
2021-07-05T12:44:59
Python
UTF-8
Python
false
false
620
py
#!/bin/env python # -*- coding: utf-8 -*- # encoding=utf-8 vi:ts=4:sw=4:expandtab:ft=python """ test jit cases """ import os import sys sys.path.append(os.path.abspath(os.path.dirname(os.getcwd()))) sys.path.append(os.path.join(os.path.abspath(os.path.dirname(os.getcwd())), "utils")) from utils.yaml_loader import Ya...
[ "825276847@qq.com" ]
825276847@qq.com
eee8b28412164b068298414bbbfdd00a7682dde6
d190750d6cb34e9d86ae96724cf4b56a2f57a74a
/tests/r/test_gilgais.py
cf929d3c6685b3eb562f0d35660052a163cdc03a
[ "Apache-2.0" ]
permissive
ROAD2018/observations
a119f61a48213d791de0620804adb8d21c2ad9fb
2c8b1ac31025938cb17762e540f2f592e302d5de
refs/heads/master
2021-09-24T04:28:02.725245
2018-09-16T23:06:30
2018-09-16T23:06:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
516
py
from __future__ import absolute_import from __future__ import division from __future__ import print_function import shutil import sys import tempfile from observations.r.gilgais import gilgais def test_gilgais(): """Test module gilgais.py by downloading gilgais.csv and testing shape of extracted data has 36...
[ "dustinviettran@gmail.com" ]
dustinviettran@gmail.com
0be288da85863450afa7a166af6d2304e7aa4300
6fb37fee016346120d4c14c4343516532304055a
/src/genie/libs/parser/iosxe/tests/test_show_ip.py
87faf2deeb76a8bc95aeaaf838eda94ca386a3b5
[ "Apache-2.0" ]
permissive
devbollinger/genieparser
011526ebbd747c6dcd767535ce4bd33167e15536
ad5ce7ba8f5153d1aeb9cffcfc4dde0871f3401c
refs/heads/master
2020-12-20T11:36:00.750128
2020-01-24T18:45:40
2020-01-24T18:45:40
236,061,155
0
0
Apache-2.0
2020-01-24T18:38:43
2020-01-24T18:38:42
null
UTF-8
Python
false
false
6,901
py
# Python import unittest from unittest.mock import Mock # ATS from ats.topology import Device from ats.topology import loader # Metaparser from genie.metaparser.util.exceptions import SchemaEmptyParserError, SchemaMissingKeyError # iosxe show_lisp # from genie.libs.parser.iosxe.show_lisp import ShowLispSession #...
[ "karmoham@cisco.com" ]
karmoham@cisco.com
853b5efb4360f589ed00f617b2c4e5f5ad8dc3c6
c49849e8c0234ab60d4c5c17233b84ae63932074
/src/decision-trees.py
d3e57413bfcf73273372e63481c02ec9d78856e9
[]
no_license
AlexisDrch/Machine-Learning
97a79c15087765ac97b8693c39f42807255d2a22
f60cf4147f38a900dd606bb1c07e986a6c72d262
refs/heads/master
2021-04-06T09:11:48.926794
2018-03-12T09:02:32
2018-03-12T09:02:32
124,861,464
1
0
null
null
null
null
UTF-8
Python
false
false
1,983
py
# coding: utf-8 from utils import * # ### 1. Decision Trees # In[18]: clf_dt = tree.DecisionTreeClassifier(criterion='gini') # explain use of gini and information gain # #### 1. Balancing wine dataset # In[19]: cv = StratifiedKFold(n_splits=10) title = 'Learning Curve - Decision Tree - wine imbalanced' plt, sc...
[ "aleksi.durocher@wanadoo.fr" ]
aleksi.durocher@wanadoo.fr
b73af01c3a4ae24080e795dfdfa6fc5f0dded805
9e1bda53da4c5e98190f5f25235f528d692ee5a8
/.history/my_app/forms_20210405180446.py
9fd1f9a4b32ae169cb9e3865f612d88a43ae36d9
[]
no_license
Jumayev-A/Project-3
3d373181af6a87e3fe319a13d28fcd18941167b7
34ddd009726cbba9ae52e74a46d554fd735566e2
refs/heads/main
2023-06-10T11:02:06.446151
2021-07-07T06:19:11
2021-07-07T06:19:11
350,375,680
0
0
null
null
null
null
UTF-8
Python
false
false
178
py
from django import forms from my_app.models import BlogModel class BlogForm(forms.ModelForm): class Meta: model = BlogModel fields = ['title','description']
[ "abdy.jumayev@gmail.com" ]
abdy.jumayev@gmail.com
8f8f52e2e5ddc47176d85bf7b051d523a6670890
5dd03f9bd8886f02315c254eb2569e4b6d368849
/tests/python/twitter/common/string/test_basic_scanf.py
00b280c41ad6bed4daf5a43c6fffc5bfa45b65b2
[ "LicenseRef-scancode-warranty-disclaimer", "Apache-2.0" ]
permissive
adamsxu/commons
9e1bff8be131f5b802d3aadc9916d5f3a760166c
9fd5a4ab142295692994b012a2a2ef3935d35c0b
refs/heads/master
2021-01-17T23:13:51.478337
2012-03-11T17:30:24
2012-03-11T17:30:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,569
py
import pytest import unittest from twitter.common.string.scanf import ScanfParser def almost_equal(a, b, digits=7): return abs(a-b) < 0.1**digits def basic_scanf(fmt, string, extra=False): formatter = ScanfParser(fmt) result = formatter.parse(string, extra) assert len(result.ungrouped()) == 1 return result....
[ "jsirois@twitter.com" ]
jsirois@twitter.com
087e5477ba0dc7f53e31d552937861e0ef8d456b
5831b0293cbb6f9e0660ac4ec952cbdb047d051d
/tests/test_corpus.py
f045ffdac25a7a65fc7e1b85f1b460d32a078e9a
[ "Apache-2.0" ]
permissive
mdlynch37/textacy
03e3287fd8ee8bd4d06e48b7b87edf8324a987e5
c1c7376a84a62faeee496e9b8cc2a29edc28c7d1
refs/heads/master
2021-01-20T09:29:54.627035
2017-12-04T05:31:14
2017-12-04T05:31:14
101,596,726
0
0
null
2017-08-28T02:36:30
2017-08-28T02:36:30
null
UTF-8
Python
false
false
3,565
py
# -*- coding: utf-8 -*- from __future__ import absolute_import, unicode_literals import os import shutil import tempfile import unittest from textacy import Corpus from textacy import Doc from textacy import cache from textacy import compat from textacy import fileio from textacy.datasets.capitol_words import Capitol...
[ "burton@chartbeat.com" ]
burton@chartbeat.com
3439f18b0ee4568641def717417ce8bf67b35fa8
0141361f7c4d276f471ac278580479fa15bc4296
/Greedy/videoStitching.py
35e26476c753b3396c97ac391d7f749443758fc4
[]
no_license
tr1503/LeetCode
a7f2f1801c9424aa96d3cde497290ac1f7992f58
6d361cad2821248350f1d8432fdfef86895ca281
refs/heads/master
2021-06-24T19:03:08.681432
2020-10-09T23:53:22
2020-10-09T23:53:22
146,689,171
0
0
null
null
null
null
UTF-8
Python
false
false
394
py
class Solution: def videoStitching(self, clips: List[List[int]], T: int) -> int: end = -1 end2 = 0 res = 0 for i, j in sorted(clips): if end2 >= T or i > end2: break elif end < i and i <= end2: res += 1 end = end...
[ "noreply@github.com" ]
tr1503.noreply@github.com
5eb1b4c72a607c8c34436d80e1ae1bdf17b45c32
c55aedc3479a4d311fb406d8133b0e0ceb99d2df
/example/new_system_app/1_BFS_aug.py
c36ba8e8a01e7f60215e6fb316506cd4a9217873
[]
no_license
tarwcz111111111/DashCam_python
4a33cdb3e5a8368b81ddc7c0596d4f0802b7c9d6
6e025ff49261c146205eb56bbbf4175f1d413f54
refs/heads/master
2020-08-25T04:55:16.695561
2017-08-28T04:34:59
2017-08-28T04:34:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,206
py
#!/usr/bin/python2 # ============================================================== # Step.0 # Fetch the Google data # ============================================================== import sys sys.path.append('/home/andy/Documents/gitHub/DashCam_python/module') # use the module under 'module' import file_process impo...
[ "ydnaandy123@gmail.com" ]
ydnaandy123@gmail.com
d6ed4bf04f30d4d1b1b82eeb248dc600ede27fd9
eae6dddca9285702c4c7ed6ba6bdaceef9631df2
/CCC-2018/Junior/Junior-1/J1.py
475041d11174a226860f6028287db67757ce1cb8
[]
no_license
simrit1/CCC-Solutions-2
7823ce14801c4219f6f1dd4c42fb013c2dfc45dd
ee2883aa38f933e526ce187d50ca68763876cb58
refs/heads/master
2023-07-04T02:19:37.320261
2021-08-07T22:12:36
2021-08-07T22:12:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
331
py
# CCC 2018 Junior 1: Telemarketer or not? # # Author: Charles Chen # # Simple if statement digit1 = int(input()) digit2 = int(input()) digit3 = int(input()) digit4 = int(input()) if (digit1 == 8 or digit1 == 9) and (digit2 == digit3) and (digit4 == 8 or digit4 == 9): print("ignore") else: print(...
[ "noreply@github.com" ]
simrit1.noreply@github.com
4c62fa5221d7e7acc4a6d1fd239915dd62942b79
0c66e605e6e4129b09ea14dbb6aa353d18aaa027
/diventi/landing/migrations/0079_auto_20200215_2305.py
d85a68046299dd8b76f851e1157494274efd585e
[ "Apache-2.0" ]
permissive
flavoi/diventi
58fbc8c947f387cbcc1ce607878a59a6f2b72313
c0b1efe2baa3ff816d6ee9a8e86623f297973ded
refs/heads/master
2023-07-20T09:32:35.897661
2023-07-11T19:44:26
2023-07-11T19:44:26
102,959,477
2
1
Apache-2.0
2023-02-08T01:03:17
2017-09-09T14:10:51
Python
UTF-8
Python
false
false
522
py
# Generated by Django 2.2.10 on 2020-02-15 22:05 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('landing', '0078_auto_20200215_1909'), ] operations = [ migrations.AlterField( model_name='section', name='template'...
[ "flavius476@gmail.com" ]
flavius476@gmail.com
53bfd78a3bc2f711a4860ef3c45e69b66823e37c
b57b0a14df5c6841f04cccb7b02ad04afbca18f8
/avi_vantage/datadog_checks/avi_vantage/config_models/instance.py
017f57d0d5fea29b61a601bec35b7ad9e169c9c1
[ "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause", "AFL-3.0", "BSD-3-Clause-Modification", "LGPL-3.0-only", "Unlicense", "LGPL-2.1-only", "Apache-2.0", "BSD-2-Clause" ]
permissive
zeroc0d3/integrations-core
d9c99803c049668b7f9f9c796d338e343d3d46ee
634d567f3c38d32aabb3f4c16b50bcfa8a4ae0fb
refs/heads/master
2021-09-28T18:37:00.650406
2021-09-13T11:59:45
2021-09-13T11:59:45
199,758,958
0
0
BSD-3-Clause
2019-07-31T02:01:25
2019-07-31T02:01:24
null
UTF-8
Python
false
false
4,652
py
# (C) Datadog, Inc. 2021-present # All rights reserved # Licensed under a 3-clause BSD style license (see LICENSE) from __future__ import annotations from typing import Any, Literal, Mapping, Optional, Sequence, Union from pydantic import BaseModel, Extra, Field, root_validator, validator from datadog_checks.base.ut...
[ "noreply@github.com" ]
zeroc0d3.noreply@github.com
9c3fde3ac2b31c11bd87657492d509c219cfb13d
601f604ea3eed7d106513a9d40b7df98a0cf8c95
/make-report.py
12318d9d79fba8c77d47cdde77c40b94df84d43f
[]
no_license
exbracer/dynet-benchmark
53e892d55f26f075dfdaf43859d5c1af49c15a75
9cbc2d66ca20b7b8040a55a66d2024edd5bf5c42
refs/heads/master
2021-09-06T11:40:06.802647
2018-02-06T05:47:00
2018-02-06T05:47:00
120,275,569
0
0
null
2018-02-05T08:24:03
2018-02-05T08:24:03
null
UTF-8
Python
false
false
8,103
py
#!/usr/bin/env python # This should be used as # mkdir -p report # grep '\(per_sec\|startup\)' log/*/*.log | python make-report.py import sys import re from collections import defaultdict stats = defaultdict(lambda: {}) allstats = defaultdict(lambda: []) ##### Regexes fnameregex = re.compile(r"log/([a-z-]+?)(-gpu|)...
[ "neubig@gmail.com" ]
neubig@gmail.com
468730321e33a424ae9e609b460c46656deba515
63ae3faa596333fa89ed6059332ed956b6dd3ae1
/career/models/base.py
518e8700dd9167d358c289a74f2d9d65c6953a78
[]
no_license
wyzane/tornado-skill-general
28470d786dc949a2616143b0b35e593d90f2fdc4
915ec990a20b2bb76d56c040cade57a7627d0ebe
refs/heads/master
2020-06-13T13:43:02.401369
2019-07-28T08:20:17
2019-07-28T08:20:17
194,675,732
0
0
null
2019-07-28T08:20:18
2019-07-01T13:14:11
Python
UTF-8
Python
false
false
432
py
# from sqlalchemy import Table, MetaData # from sqlalchemy.ext.declarative import declarative_base # # from config.db import engine_db_career # # # Base = declarative_base() # # # def model(table): # class BaseModel(Base): # __tablename__ = table # metadata = MetaData(engine_db_career) # # #...
[ "wyzane1207@163.com" ]
wyzane1207@163.com
df195ccf60e3003e51d78a0956fd1691ae0fb0b1
6a6984544a4782e131510a81ed32cc0c545ab89c
/src/icetray/python/i3logging.py
efb475dd0d2c1a00a4a5b5832c425bca34254a58
[]
no_license
wardVD/IceSimV05
f342c035c900c0555fb301a501059c37057b5269
6ade23a2fd990694df4e81bed91f8d1fa1287d1f
refs/heads/master
2020-11-27T21:41:05.707538
2016-09-02T09:45:50
2016-09-02T09:45:50
67,210,139
1
0
null
null
null
null
UTF-8
Python
false
false
5,068
py
import logging, string, traceback from icecube.icetray import I3Logger, I3LogLevel class LoggingBridge(I3Logger): pylevels = { I3LogLevel.LOG_TRACE : 5, I3LogLevel.LOG_DEBUG : logging.DEBUG, I3LogLevel.LOG_INFO : logging.INFO, I3LogLevel.LOG_NOTICE : 25, I3LogLevel.LOG_WARN : logging.WARNING, I3Log...
[ "wardvandriessche@gmail.com" ]
wardvandriessche@gmail.com
1180150b5396a4f4f5f32bcfded61140220148f6
612325535126eaddebc230d8c27af095c8e5cc2f
/depot_tools/recipe_modules/tryserver/example.py
ee0d0c9b7ba47b44b49510cebbd1e8c402c7da6f
[ "BSD-3-Clause" ]
permissive
TrellixVulnTeam/proto-quic_1V94
1a3a03ac7a08a494b3d4e9857b24bb8f2c2cd673
feee14d96ee95313f236e0f0e3ff7719246c84f7
refs/heads/master
2023-04-01T14:36:53.888576
2019-10-17T02:23:04
2019-10-17T02:23:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,356
py
# Copyright 2014 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. DEPS = [ 'recipe_engine/path', 'recipe_engine/platform', 'recipe_engine/properties', 'recipe_engine/python', 'tryserver', ] def RunS...
[ "2100639007@qq.com" ]
2100639007@qq.com
4b949d091e01e60d0542cd3a3d47c56894232e58
7ac271f357f4c8f0c23c697b11966259f836880f
/app/web/exception.py
96c30998834aeb4bf7f41d79bdd54f9610cf7fca
[]
no_license
cheng93/PythonWeb
74a58eadee4ee7d2872a582a907bbf47630df371
d5ced8dee1d5ba31778125c5e67169c92acf26a0
refs/heads/develop
2021-01-19T23:59:11.315871
2018-03-04T19:26:18
2018-03-04T19:26:18
89,063,916
0
0
null
2018-03-04T19:26:19
2017-04-22T11:09:14
Python
UTF-8
Python
false
false
134
py
from pyramid.view import view_config @view_config(route_name='throw_exception') def throw_exception(request): raise Exception()
[ "derek.c@hotmail.co.uk" ]
derek.c@hotmail.co.uk
56860c88d4bc8dd9e78a1b54940265c25bb42bfa
6fcfb638fa725b6d21083ec54e3609fc1b287d9e
/python/FreeOpcUa_python-opcua/python-opcua-master/release.py
fc05a90bf5b60295b7aab2321c144549eb9401a9
[]
no_license
LiuFang816/SALSTM_py_data
6db258e51858aeff14af38898fef715b46980ac1
d494b3041069d377d6a7a9c296a14334f2fa5acc
refs/heads/master
2022-12-25T06:39:52.222097
2019-12-12T08:49:07
2019-12-12T08:49:07
227,546,525
10
7
null
2022-12-19T02:53:01
2019-12-12T07:29:39
Python
UTF-8
Python
false
false
1,120
py
import re import os def bump_version(): with open("setup.py") as f: s = f.read() m = re.search(r'version="(.*)\.(.*)\.(.*)",', s) v1, v2, v3 = m.groups() oldv = "{0}.{1}.{2}".format(v1, v2, v3) newv = "{0}.{1}.{2}".format(v1, v2, str(int(v3) + 1)) print("Current version is: {0}, write ...
[ "659338505@qq.com" ]
659338505@qq.com
4c979a9566f34d6b5958baa4ca8d9883abd3afa6
845d96ba5efe898a1e1272c862f476e983e54d46
/10/src/gomoku.py
6ee645b50621b32a80852855980e5a4f804a1274
[]
no_license
ppaanngggg/rl_course
fe5d092d87e61149857f9ee085ac73d98d377cb9
05f1db88e96ea9ff21ed5028dc8d5b7e9539bcee
refs/heads/master
2020-04-30T02:17:05.125542
2019-03-19T16:28:13
2019-03-19T16:28:13
176,554,829
0
0
null
null
null
null
UTF-8
Python
false
false
5,210
py
import torch class Gomoku: """ play1: 1, play2: -1, empty: 0, """ def __init__( self, _size=5, _win_num=4, _player=1, _terminal=None, _history=None, _board=None ): self.size = _size self.win_num = _win_num self.num_actions = _size * _size self.play...
[ "hantian.pang@gmail.com" ]
hantian.pang@gmail.com
ac7915d8eed8d2af3351c944f396a9b36e5c868f
e23a4f57ce5474d468258e5e63b9e23fb6011188
/125_algorithms/_exercises/exercises/_algorithms_challenges/pybites/beginner/55_v4/steam.py
ce898477f47f532beed65efb932bddd9d2a0b3e6
[]
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
316
py
# ____ c.. _______ n.. # # _______ f.. # # # cached version to have predictable results for testing # FEED_URL = "http://bit.ly/2IkFe9B" # # Game = n..('Game', 'title link') # # # ___ get_games # """Parses Steam's RSS feed and returns a list of Game namedtuples""" # r.. ? f.t.. f.l.. ___ ? __ f__.p.. ?.e..
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
51069274b991d4ae2de188fbec89a5d455c35b29
c5cf46942decbda1c813474edb5a18b9595a8bf1
/core/constants/default_values.py
a9b45a44b702b7574351ac83c4948842275b9980
[ "MIT" ]
permissive
AsiganTheSunk/python3-gnosis-cli
360b4da9fd86a642ec1e399bdb6c39d1dbcbb8ce
c4c2638aa75b8a8268ad899d6cea1e602227ef19
refs/heads/master
2023-03-18T17:38:38.594171
2019-11-15T00:01:34
2019-11-15T00:01:34
221,243,913
0
0
MIT
2023-03-03T23:35:41
2019-11-12T14:59:00
JavaScript
UTF-8
Python
false
false
230
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # String Size Of Diferent Type of Addresses CONTRACT_ADDRESS_LENGTH = 42 TX_ADDRESS_LENGTH = 66 # String Size of API Keys INFURA_API_KEY_LENGTH = 32 ETHERSCAN_API_KEY_LENGTH = 34
[ "asiganthesunk@gmail.com" ]
asiganthesunk@gmail.com
87fbf91d172aff23f865bdbf312d2f0c9889d385
344f52fe0c84ec3e6f6b655e7cc2309441506650
/SlaverServer/run_slaver.py
7586a801df09507a9552f6c7a9ab1c695d3ef21b
[ "MIT" ]
permissive
Hanlen520/BigBoss
f1c0b1b5a30e45149a1d0eefa914a3060640d5db
8a3cfeace1eb2b852de940a6ba6b4a9d6bc814db
refs/heads/master
2020-04-04T09:49:44.300429
2018-09-29T08:21:31
2018-09-29T08:21:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
513
py
from tornado.web import Application from tornado.ioloop import IOLoop import argparse from config import * from router import SLAVER_ROUTER if __name__ == "__main__": parser = argparse.ArgumentParser() parser.add_argument('--port', type=int, help='set port') args = parser.parse_args() port = getattr(...
[ "178894043@qq.com" ]
178894043@qq.com
764b44f56eb85a9c7ffe5cee4b564152e1b3aa7f
85bf9a13bf62c1f074894d134c23dd992ae8688c
/javasolutions/p63/Solution.py
0a7c244f231e3a5f619d33c503578c2873d98f7e
[]
no_license
pololee/oj-leetcode
4cca3d309b2c9931d15d3cec4b07b5d9d22733ef
78a8b27ee108ba93aa7b659665976112f48fc2c2
refs/heads/master
2020-06-21T02:15:26.882273
2020-02-06T04:56:21
2020-02-06T04:56:21
197,320,113
0
0
null
2020-02-06T04:56:23
2019-07-17T05:20:02
Python
UTF-8
Python
false
false
921
py
class Solution: def uniquePathsWithObstacles(self, obstacleGrid): """ :type obstacleGrid: List[List[int]] :rtype: int """ if not obstacleGrid or len(obstacleGrid) == 0 or len(obstacleGrid[0]) == 0: return 0 if obstacleGrid[0][0] == 1: return 0...
[ "pololee1990@gmail.com" ]
pololee1990@gmail.com
27cbb16e31516b3cb28c074ac4404179beda786c
deafd775f238b2836f77b9140f4d6e14a3f3c06d
/python/ABC/ABC082/082_B.py
2d02b85f31176d2942aec83f88cd72ff00a2d545
[]
no_license
knakajima3027/Atcoder
ab8e2bf912173b7523fddbb11b38abd7e296762e
64cb32fcc4b99501f2f84496e5535e1e7b14c467
refs/heads/master
2021-06-22T03:58:03.777001
2020-12-19T11:23:49
2020-12-19T11:23:49
135,173,223
2
0
null
null
null
null
UTF-8
Python
false
false
247
py
s = input() t = input() S = [] T = [] for i in range(len(s)): S.append(s[i]) for i in range(len(t)): T.append(t[i]) S.sort() T.sort() T.reverse() if S == T: print('No') elif min(S, T) == S: print('Yes') else: print('No')
[ "kamihate1012@gmail.com" ]
kamihate1012@gmail.com
29819db9f9c77633b810c3ba2978e48537b4e7a3
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_209/544.py
22e6c7236e14da498cdcf8d941798513af589657
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,528
py
# input() reads a string with a line of input, stripping the '\n' (newline) at the end. # This is all you need for most Google Code Jam problems. import math def get_surface(p): return math.pi * p[0]**2 def get_side_surface(p): return 2 * math.pi * p[0] * p[1] def get_area(p): if p is None: ...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com