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
e234a8079711be2c3d06150ede58ce02370a578b
c75ec82316ed5322c5844912ce9c528c24360b9f
/nsd1905/devweb/myansible/webadmin/admin.py
dcb81958f29fbd102b6bac0302d385ab3985e950
[]
no_license
MrZhangzhg/nsd2019
a94cde22f2e4bd648bb9e56ca63827f558f3c083
54f6d2c7b348a69f13ad5f38f2fbdc8207528749
refs/heads/master
2021-08-22T17:38:27.697675
2020-02-22T08:36:21
2020-02-22T08:36:21
183,539,489
21
24
null
2020-05-17T12:07:55
2019-04-26T02:06:16
HTML
UTF-8
Python
false
false
167
py
from django.contrib import admin from .models import HostGroup, Host, Module, Argument for item in [HostGroup, Host, Module, Argument]: admin.site.register(item)
[ "zhangzg@tedu.cn" ]
zhangzg@tedu.cn
111b0e3fdbd6beabd602738595a0fdf949089ff2
b65cfcda05fd72350c7b9e11e5995cc1d10fdd75
/shop/models.py
df6a76b04ed4d1f1473b36d641881c259f5e0b06
[]
no_license
gauraviit1/pahal_project_2
f4e6a2cf1cfd613088ad27344279460bb72c9786
bc89c3848359ae0b95cb55c24d6fe24d637caabd
refs/heads/master
2021-04-28T21:20:44.614522
2017-01-01T09:57:25
2017-01-01T09:57:25
77,773,709
0
0
null
null
null
null
UTF-8
Python
false
false
2,480
py
from django.db import models from django.core.urlresolvers import reverse from django.utils.functional import lazy from PIL import Image from django.contrib.postgres.fields import HStoreField from django.core.exceptions import ValidationError from django.utils.translation import ugettext_lazy as _ from decimal import ...
[ "mcjail.shi.hp@gmail.com" ]
mcjail.shi.hp@gmail.com
2c4ab74cda2680598623c66912579b5d2540ef70
edf510cc5bbbe24469d8ff262c022b33b4d80a75
/tacotron2/model/tacotron2.py
fafca0078fcb2bc687a7f48b30a31e19137b81ac
[ "Apache-2.0" ]
permissive
rheehot/Tacotron2
e8b8a4be614708800b10b9fa7829264407510fa8
ddbe55b426397d40cadd14f5040c55ba7c25615d
refs/heads/master
2022-12-26T14:13:39.966498
2020-10-06T18:34:57
2020-10-06T18:34:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,577
py
# -*- coding: utf-8 -*- # Soohwan Kim @sooftware # This source code is licensed under the Apache 2.0 License license found in the # LICENSE file in the root directory of this source tree import torch.nn as nn from torch import Tensor from typing import Optional from tacotron2.model.encoder import Encoder from tacotron...
[ "sh951011@gmail.com" ]
sh951011@gmail.com
d44cd5123695d6c48fef84f95857d085ddda8775
52b5773617a1b972a905de4d692540d26ff74926
/.history/2D_20200722180003.py
f67079f7677c6a1e5d41c5b12f694fad5f417ffe
[]
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
1,400
py
def array(n,m): # where n is row size and m is column size array = [[0 for x in range(n)] for x in range(m)] print(array) a = [[2, 4, 6, 8, 10], [3, 6, 9, 12, 15], [4, 8, 12, 16, 20]] # where the first arguement reps the row and second arguement reps the column print(a[0][3]) def hourGlass(...
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
3fd59004b8a3ada46670dc8f08e82e5d397cce55
b7b5f5b52f07b576a20e74839136d397f14d0566
/main/admin.py
cd3bbcc3572a48186b2724bb94ba97c49bfe0e18
[]
no_license
Chudische/Shabashka
02d7e81cb2bd317b36e73620fc197868c4d65e1c
c3bab797601e8509439dc6538ec1f712755eb8c9
refs/heads/main
2023-07-08T07:54:04.044559
2021-08-18T13:40:44
2021-08-18T13:40:44
315,249,268
0
1
null
2021-08-10T06:42:42
2020-11-23T08:34:46
Python
UTF-8
Python
false
false
4,510
py
import datetime from django.contrib import admin from import_export.admin import ImportExportModelAdmin from import_export import resources from .models import ShaUser, SubCategory, SuperCategory, Offer, AdditionalImage, Comment, ShaUserAvatar from .models import UserReview, ChatMessage, Location from .utilities imp...
[ "=" ]
=
93b4ff666a4c0dbc1475a16fb53d3a864ecec53d
1e0ec4d34def6d1d31665551b4aecbb644323249
/disambig_creation_constants.py
2fca0360764a115a37e4d1aa2de947aad7ea4777
[]
no_license
RheingoldRiver/leaguepedia_archive
e10615530846080446fa5a56ae2e570f9376f875
52703d4fb0fef2345353945044a78915d78688bf
refs/heads/master
2022-06-19T21:37:47.480986
2022-06-01T18:44:32
2022-06-01T18:44:32
242,654,649
1
1
null
2021-12-15T20:07:19
2020-02-24T05:33:07
Python
UTF-8
Python
false
false
928
py
originalName = 'Limit' irlName = 'Ju Min-gyu' newName = '{} ({})'.format(originalName,irlName) initmove = True blankedit = False limit = -1 timeoutLimit = 30 listplayerTemplates = ["listplayer", "listplayer/Current"] rosterTemplates = ["ExtendedRosterLine", "ExtendedRosterLine/MultipleRoles"] scoreboardTemplates = ["M...
[ "18037011+RheingoldRiver@users.noreply.github.com" ]
18037011+RheingoldRiver@users.noreply.github.com
797e2d7a43e4b15dea8e59a7e042f26e1eb14caf
786027545626c24486753351d6e19093b261cd7d
/ghidra9.2.1_pyi/ghidra/app/util/bin/format/pdb2/pdbreader/symbol/LocalData32MsSymbol.pyi
aede84acc0cf9dc7b6e4bd9ac3bccadd11448bf2
[ "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,189
pyi
import ghidra.app.util.bin.format.pdb2.pdbreader import ghidra.app.util.bin.format.pdb2.pdbreader.symbol import java.lang class LocalData32MsSymbol(ghidra.app.util.bin.format.pdb2.pdbreader.symbol.AbstractLocalDataMsSymbol): PDB_ID: int = 4364 def __init__(self, __a0: ghidra.app.util.bin.format.pdb2.pdbrea...
[ "tsunekou1019@gmail.com" ]
tsunekou1019@gmail.com
b6f56697fb41c5e23e58b13a4e63f3780c4b41ea
db338cf7720a0ecbf181f7077b0dcf22b499d822
/src/mobot_client/migrations/0003_auto_20210902_2106.py
0f96c067c7d54e446c9525c7deab02ba86fffdfe
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
isabella232/mobot
94a7e33755cdf3b1916b6642ee7dc9bdfdebf84d
8a1fc884351211b4730e7de1c0bad1e18a1b1c8f
refs/heads/main
2023-08-31T17:00:21.341368
2021-09-16T00:55:35
2021-09-16T04:49:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,800
py
# Generated by Django 3.2.7 on 2021-09-02 21:06 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('mobot_client', '0002_auto_20210902_2053'), ] operations = [ migrations.AlterField( model_name='bonuscoin', name='id'...
[ "noreply@github.com" ]
isabella232.noreply@github.com
2c615eeec86ee49817a3513724374a206511e132
060fbf2a69a90ad92de5fc877521d5ea6b298007
/test/vanilla/Expected/AcceptanceTests/BodyComplex/bodycomplex/models/double_wrapper.py
598e2b460d799b8c9b576803570caa93bfc99961
[ "MIT", "LicenseRef-scancode-generic-cla" ]
permissive
iscai-msft/autorest.python
db47a8f00253148fbc327fe0ae1b0f7921b397c6
a9f38dd762fbc046ce6197bfabea2f56045d2957
refs/heads/master
2021-08-02T13:06:34.768117
2018-11-21T00:29:31
2018-11-21T00:29:31
161,554,205
0
0
MIT
2018-12-12T22:42:14
2018-12-12T22:42:14
null
UTF-8
Python
false
false
1,552
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 ...
[ "noreply@github.com" ]
iscai-msft.noreply@github.com
b1dc65782f757d291f0b3c8796390124c41932ae
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_204/285.py
05697ee8e397c0a3ab1f3fbfedb01bf8d507a112
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,058
py
from __future__ import print_function, division from math import ceil, floor import numpy as np # Fernando Gonzalez del Cueto. Code Jam 2017 #infile = 'test2.in' infile = 'B-small-attempt2.in' outfile = infile.replace('.in', '.out') fid = open(infile, 'r') n_cases = int(fid.readline().strip()) f_out ...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
f095f493b8c86691cddc688e4d19ccaf71870c88
c8efab9c9f5cc7d6a16d319f839e14b6e5d40c34
/source/Clarification/Backtracking/52.N皇后2.py
0850985c798d542a6dbf9bbf340bfa76bed00408
[ "MIT" ]
permissive
zhangwang0537/LeetCode-Notebook
73e4a4f2c90738dea4a8b77883b6f2c59e02e9c1
1dbd18114ed688ddeaa3ee83181d373dcc1429e5
refs/heads/master
2022-11-13T21:08:20.343562
2020-04-09T03:11:51
2020-04-09T03:11:51
277,572,643
0
0
MIT
2020-07-06T14:59:57
2020-07-06T14:59:56
null
UTF-8
Python
false
false
1,700
py
# n 皇后问题研究的是如何将 n 个皇后放置在 n×n 的棋盘上,并且使皇后彼此之间不能相互攻击。 # # # # 上图为 8 皇后问题的一种解法。 # # 给定一个整数 n,返回 n 皇后不同的解决方案的数量。 # # 示例: # # 输入: 4 # 输出: 2 # 解释: 4 皇后问题存在如下两个不同的解法。 # [ #  [".Q..",  // 解法 1 #   "...Q", #   "Q...", #   "..Q."], # #  ["..Q.",  // 解法 2 #   "Q...", #   "...Q", #   ".Q.."] # ] class Solu...
[ "mzm@mail.dlut.edu.cn" ]
mzm@mail.dlut.edu.cn
f60622ab5bd5f34311c951a2a60f776f25a2aa47
33a50bb13812090a36257078522b798762978c66
/top/api/rest/SimbaNonsearchAllplacesGetRequest.py
6f07639d12207a871566ac06ac186d09de431e25
[]
no_license
aa3632840/quanlin
52ac862073608cd5b977769c14a7f6dcfb556678
2890d35fa87367d77e295009f2d911d4b9b56761
refs/heads/master
2021-01-10T22:05:14.076949
2014-10-25T02:28:15
2014-10-25T02:28:15
23,178,087
1
0
null
null
null
null
UTF-8
Python
false
false
300
py
''' Created by auto_sdk on 2014-09-08 16:48:02 ''' from top.api.base import RestApi class SimbaNonsearchAllplacesGetRequest(RestApi): def __init__(self,domain='gw.api.taobao.com',port=80): RestApi.__init__(self,domain, port) def getapiname(self): return 'taobao.simba.nonsearch.allplaces.get'
[ "262708239@qq.com" ]
262708239@qq.com
9d9ed5f5767b7fd951eb6ad1a2a01ca63fc8e5ed
56b63ee537f872af0fc028016d1508b4c1dd5c60
/school/migrations/0267_auto_20210317_1657.py
926120cf7259917f9c79aaa27206e75ae9e960a4
[]
no_license
jacknjillsolutionsrevanth/EMS1
01fc571120f765b0fbfe3aa654b15ff578d6e9b9
db14d8e6c15669b5938aa9276c5e22006218814a
refs/heads/main
2023-08-03T19:40:50.073133
2021-10-01T07:02:37
2021-10-01T07:02:37
410,202,348
0
0
null
null
null
null
UTF-8
Python
false
false
591
py
# Generated by Django 3.1.4 on 2021-03-17 11:27 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('school', '0266_auto_20210315_1612'), ] operations = [ migrations.AddField( model_name='daily_data', name='routename'...
[ "jacknjillsolutions.revanth@gmail.com" ]
jacknjillsolutions.revanth@gmail.com
1f6e97b6fae3bcc121943a41542b27b69deeafab
8c77dcc0fd3e497194e572c8641200f08b32dc97
/general/function_factory.py
f2c923b5d537856aae039428a6462973dfd14e56
[ "MIT" ]
permissive
bpuderer/python-snippets
633a1e382f7c9812621d61ec16a15e106d1d5fc8
3277b76b03f3ceb11e4571be4cecae68051aac45
refs/heads/master
2021-12-27T09:19:27.212312
2021-12-22T13:08:56
2021-12-22T13:08:56
46,539,064
1
0
null
null
null
null
UTF-8
Python
false
false
130
py
def raise_to(exp): def raise_to_exp(x): return pow(x, exp) return raise_to_exp cube = raise_to(3) print(cube(4))
[ "bpuderer@yahoo.com" ]
bpuderer@yahoo.com
c10fbf1e704a93a27b39f55a903786ffa970dab7
f9d942b2fed83e9d6c101ebaedc1d4b36dee2754
/logistics/tests/util.py
b392e9568f05b3984dcf23beedbd376f6d40b26b
[]
no_license
unicefuganda/rapidsms-logistics
7cde229ac2619366d253d099c0f222eb96b1468e
7d9609a7b9d6fa3f4502aba52ab56acc23a6e928
refs/heads/master
2020-12-25T05:26:59.459389
2012-12-17T12:00:52
2012-12-17T12:00:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
291
py
from rapidsms.tests.scripted import TestScript from logistics import loader as logi_loader def load_test_data(): logi_loader.init_reports() logi_loader.init_supply_point_types() logi_loader.init_test_location_and_supplypoints() logi_loader.init_test_product_and_stock()
[ "rluk@dimagi.com" ]
rluk@dimagi.com
05d8af9bcacd6c3653138d5f6101b153625fb68c
55c250525bd7198ac905b1f2f86d16a44f73e03a
/Docs/Controlling the Keyboard and Mouse/typer/docs_src/commands/callback/tutorial001.py
5438b3ead7b25f5be9db58189b57b8e6e3f410a3
[]
no_license
NateWeiler/Resources
213d18ba86f7cc9d845741b8571b9e2c2c6be916
bd4a8a82a3e83a381c97d19e5df42cbababfc66c
refs/heads/master
2023-09-03T17:50:31.937137
2023-08-28T23:50:57
2023-08-28T23:50:57
267,368,545
2
1
null
2022-09-08T15:20:18
2020-05-27T16:18:17
null
UTF-8
Python
false
false
128
py
version https://git-lfs.github.com/spec/v1 oid sha256:f0921ed2e19ca15b1c6e7817d91c7dbefd69a5a39c79520e0d5e519b11cdd10c size 756
[ "nateweiler84@gmail.com" ]
nateweiler84@gmail.com
2c2eba017b299584cc34574addc7412cb5c9635b
8ed4bf9fbead471c9e5f88e4d18ac432ec3d628b
/hackerrank/algorithm/string/gem_stones.py
e3ff22b12568fff4bf1fd684c35dd47da7151f2d
[]
no_license
hizbul25/programming_problem
9bf26e49ed5bb8c9c829d00e765c9401222fb35c
2acca363704b993ffe5f6c2b00f81a4f4eca7204
refs/heads/master
2021-01-10T22:28:26.105787
2018-01-21T16:45:45
2018-01-21T16:45:45
65,394,734
1
0
null
null
null
null
UTF-8
Python
false
false
170
py
#URL: https://www.hackerrank.com/challenges/gem-stones n = int(input()) all_elem = set(input()) for g in range(n - 1): all_elem &= set(input()) print(len(all_elem))
[ "hizbul.ku@gmail.com" ]
hizbul.ku@gmail.com
9df035da71a8354e73397ed5fd9483a3a837b5d5
62e985b6bc2cd04be506c9f4b586f6a0bd5a8b1c
/docs/_docs
2e46ca4836023863c54a487374eead67897a2d9d
[ "MIT" ]
permissive
delfick/nose-focus
ece09553d26ce4323e449b5e50f98e63a21d1699
89ceae691fabb27c35d4a67f0edf8dec17737f3f
refs/heads/master
2023-07-10T22:44:29.271678
2023-06-23T06:36:00
2023-06-23T06:36:00
20,155,739
0
3
null
2019-11-06T22:59:43
2014-05-25T13:57:39
Python
UTF-8
Python
false
false
512
#!/usr/bin/env python3 from venvstarter import ignite import runpy import os this_dir = os.path.dirname(__file__) nose_focus_version = runpy.run_path( os.path.join(this_dir, "..", "nose_focus", "__init__.py") )["VERSION"] with open(os.path.join(this_dir, "requirements.txt"), "r") as fle: deps = [line.strip(...
[ "stephen@delfick.com" ]
stephen@delfick.com
e842d47c65b49f7baf66ad14c86f7b7c9b1e413b
24d8cf871b092b2d60fc85d5320e1bc761a7cbe2
/BitPim/rev3177-3237/right-branch-3237/midifile.py
2c8d9d84bbc3c8f068fe079043d3fd8f31067e0b
[]
no_license
joliebig/featurehouse_fstmerge_examples
af1b963537839d13e834f829cf51f8ad5e6ffe76
1a99c1788f0eb9f1e5d8c2ced3892d00cd9449ad
refs/heads/master
2016-09-05T10:24:50.974902
2013-03-28T16:28:47
2013-03-28T16:28:47
9,080,611
3
2
null
null
null
null
UTF-8
Python
false
false
6,795
py
import common import fileinfo module_debug=False class MIDIEvent(object): META_EVENT=0 SYSEX_EVENT=1 SYSEX1_EVENT=2 MIDI_EVENT=3 LAST_MIDI_EVENT=4 type_str=('Meta', 'SYSEX', 'SYSEX cont', 'MIDI', 'Last MIDI') def __init__(self, file, offset, last_cmd=None): self.__f=file self...
[ "joliebig@fim.uni-passau.de" ]
joliebig@fim.uni-passau.de
33490b42c85fee01be3f6432c411c486ae7157e5
aca253ff1a97c96a1a0a9a5802aa623789662bb1
/p034/statue_bar.py
ebd6c7ce45949c996b6d834401e27a09c8df4f7f
[]
no_license
KD-huhu/PyQt5
a6128a34b93f6e2da7216d5818f66dc9614216bc
1c33a6549c2fcf663168256553d8c24e25d9a69c
refs/heads/master
2022-07-03T07:37:29.837547
2020-05-17T14:54:39
2020-05-17T14:54:39
261,768,854
0
1
null
null
null
null
UTF-8
Python
false
false
1,052
py
import sys, math from PyQt5.QtWidgets import * from PyQt5.QtGui import * from PyQt5.QtCore import * class StatusBar(QMainWindow): def __init__(self): super(StatusBar, self).__init__() self.initUI() def initUI(self): self.setWindowTitle("状态栏演示") self.resize(300, 20...
[ "noreply@github.com" ]
KD-huhu.noreply@github.com
c73005c81aaec8e7c0613dea2e18f7b12afbb9dd
f45cc0049cd6c3a2b25de0e9bbc80c25c113a356
/LeetCode/双指针(two points)/16. 3Sum Closest.py
999c518d3f03cb923594bff7a42b551b460d21fb
[]
no_license
yiming1012/MyLeetCode
4a387d024969bfd1cdccd4f581051a6e4104891a
e43ee86c5a8cdb808da09b4b6138e10275abadb5
refs/heads/master
2023-06-17T06:43:13.854862
2021-07-15T08:54:07
2021-07-15T08:54:07
261,663,876
2
0
null
null
null
null
UTF-8
Python
false
false
2,263
py
''' Given an array nums of n integers and an integer target, find three integers in nums such that the sum is closest to target. Return the sum of the three integers. You may assume that each input would have exactly one solution. Example: Given array nums = [-1, 2, 1, -4], and target = 1. The sum that is closest t...
[ "1129079384@qq.com" ]
1129079384@qq.com
70add22be9a70d8ceca4e71014665764dd5f5aff
bc2945c99f828083ca78b3bfcfe220a134fbd8b0
/users/migrations/0010_auto_20200725_1159.py
c0fe7d7e4a714113bfff57bc26a2b57875bf0f3a
[]
no_license
Kyeza/web_system
5bde9231551b7a94b535fe707db99ade351bd4fb
686a701469b13454d39e4f0c6b342b22befdb345
refs/heads/uganda-master
2022-12-14T13:43:17.833502
2020-12-11T07:23:19
2020-12-11T07:23:19
176,704,006
2
1
null
2022-12-08T11:07:51
2019-03-20T09:55:33
Python
UTF-8
Python
false
false
612
py
# Generated by Django 3.0.6 on 2020-07-25 11:59 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('reports', '0014_auto_20200605_0638'), ('users', '0009_auto_20200721_0727'), ] operations = [ migrat...
[ "kyezaarnold63@gmail.com" ]
kyezaarnold63@gmail.com
14ec29e30beb9428142b51e4d0cb06ebde3e6971
a23ec1e8470f87d1b3fa34b01506d6bdd63f6569
/algorithms/282. Expression Add Operators.py
3f93dd1ffb26e5d220725678cb98469a2ceaaf91
[]
no_license
xiaohai0520/Algorithm
ae41d2137e085a30b2ac1034b8ea00e6c9de3ef1
96945ffadd893c1be60c3bde70e1f1cd51edd834
refs/heads/master
2023-04-14T17:41:21.918167
2021-04-20T13:57:09
2021-04-20T13:57:09
156,438,761
2
0
null
null
null
null
UTF-8
Python
false
false
2,107
py
class Solution(object): def addOperators(self, num, target): """ :type num: str :type target: int :rtype: List[str] """ res, self.target = [], target for i in range(1,len(num)+1): if i == 1 or (i > 1 and num[0] != "0"): # prevent "00*" as a number ...
[ "noreply@github.com" ]
xiaohai0520.noreply@github.com
3487f385af9cf1c3384d8a9a9c5360459fd67f89
93dd86c8d0eceaee8276a5cafe8c0bfee2a315d3
/python/paddle/fluid/tests/unittests/ir/test_ir_fc_fuse_pass.py
cb485609b55ec330ad7dff0ed4d10d8a13a8f865
[ "Apache-2.0" ]
permissive
hutuxian/Paddle
f8b7693bccc6d56887164c1de0b6f6e91cffaae8
a1b640bc66a5cc9583de503e7406aeba67565e8d
refs/heads/develop
2023-08-29T19:36:45.382455
2020-09-09T09:19:07
2020-09-09T09:19:07
164,977,763
8
27
Apache-2.0
2023-06-16T09:47:39
2019-01-10T02:50:31
Python
UTF-8
Python
false
false
1,978
py
# Copyright (c) 2019 PaddlePaddle 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 app...
[ "noreply@github.com" ]
hutuxian.noreply@github.com
b20a8ceb62e68cea4660e241d323d08b5c8a9a34
b05b89e1f6378905bbb62e2a2bf2d4f8e3187932
/contiguousSubarrayWithMaxSum.py
cca7da339ae673798a2108e9eca5e36101113136
[ "MIT" ]
permissive
anishmo99/Daily-Interview-Pro
c959cd336209132aebad67a409df685e654cfdfc
d8724e8feec558ab1882d22c9ca63b850b767753
refs/heads/master
2023-04-10T08:09:46.089227
2021-04-27T07:27:38
2021-04-27T07:27:38
269,157,996
1
1
MIT
2020-06-08T07:09:19
2020-06-03T17:57:21
C++
UTF-8
Python
false
false
257
py
class Solution: def maxSubArraySum(self, arr: List[int]) -> int: cur_sum,max_sum=arr[0],arr[0] for i in range(1,len(arr)): cur_sum = max(arr[i],arr[i]+cur_sum) max_sum = max(cur_sum,max_sum) return max_sum
[ "ani10sh@gmail.com" ]
ani10sh@gmail.com
aaac6a94ac555dc58dda780437398f3de9ad0d12
8ae5c8bd19fe77c44b8485f646ff78db2605522a
/control/test.py
fd1e4612d0f2926ef1c3bc836f63ac6f6fbc1337
[]
no_license
yunshengtian/pendular-codesign
8bec44de67401d8db9b3e19b9afe4808e6eb84bd
7f939bb0b00907b367a9ad89a5004ecb3a6aad78
refs/heads/main
2023-05-03T22:54:07.379998
2021-05-23T04:57:25
2021-05-23T04:57:25
368,543,614
1
0
null
null
null
null
UTF-8
Python
false
false
1,015
py
import gym import numpy as np from argparse import ArgumentParser import os, sys sys.path.append(os.path.join(os.path.dirname(os.path.abspath(__file__)), '..')) import env from env.utils import utils from control import get_control parser = ArgumentParser() parser.add_argument('--env', type=str, default='pendulum', ...
[ "yunsheng@mit.edu" ]
yunsheng@mit.edu
64618a6ac65022117f48efe65d74d536eb1d4461
5a52ccea88f90dd4f1acc2819997fce0dd5ffb7d
/alipay/aop/api/request/AntfortuneEquityShopCustrelationQueryRequest.py
fa4fa39402e4465d04ccbe7c01ba6dec5c1768fa
[ "Apache-2.0" ]
permissive
alipay/alipay-sdk-python-all
8bd20882852ffeb70a6e929038bf88ff1d1eff1c
1fad300587c9e7e099747305ba9077d4cd7afde9
refs/heads/master
2023-08-27T21:35:01.778771
2023-08-23T07:12:26
2023-08-23T07:12:26
133,338,689
247
70
Apache-2.0
2023-04-25T04:54:02
2018-05-14T09:40:54
Python
UTF-8
Python
false
false
4,021
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.FileItem import FileItem from alipay.aop.api.constant.ParamConstants import * from alipay.aop.api.domain.AntfortuneEquityShopCustrelationQueryModel import AntfortuneEquityShopCustrelationQueryModel class AntfortuneEquityShopCustrelationQ...
[ "liuqun.lq@alibaba-inc.com" ]
liuqun.lq@alibaba-inc.com
7a90a3c285d5b1d163f9550befa75c5b01f6fdc4
0b3c5260cd5c33a1beccc5710a5d0fd097a5ea15
/anchore_engine/services/policy_engine/engine/policy/gates/npm_check.py
40e0d49fe309d0fdfc2a14343f4df6cec46099e9
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
omerlh/anchore-engine
fb2d7cb3d8bd259f6c973b450fbaa2c2e00497f0
669a0327f8baaee3f5c7c64b482909fe38830d80
refs/heads/master
2021-09-02T12:48:51.661648
2018-01-02T19:26:47
2018-01-02T19:26:47
116,236,136
1
0
null
2018-01-04T08:41:39
2018-01-04T08:41:39
null
UTF-8
Python
false
false
7,044
py
from anchore_engine.services.policy_engine.engine.policy.gate import Gate, BaseTrigger from anchore_engine.services.policy_engine.engine.policy.utils import NameVersionListValidator, CommaDelimitedStringListValidator, barsplit_comma_delim_parser, delim_parser from anchore_engine.db import NpmMetadata from anchore_engin...
[ "nurmi@anchore.com" ]
nurmi@anchore.com
f711172c3480c5580dd6594014f2a13fb124054c
f26dd860c8d764fc7a47bde656f393795cd8d763
/david13.py
f0f78ee556259290f4fcefbd2eb9801ee2858e03
[]
no_license
chokkuu1998/david
8e9fa162f657c8b9bb55502f1cdd730a08ff0235
4dc999cdb73383b5a5d7ed3d98b2c1a4d6b5f7ee
refs/heads/master
2020-03-28T17:05:04.046963
2019-07-16T08:07:37
2019-07-16T08:07:37
148,756,731
0
0
null
null
null
null
UTF-8
Python
false
false
354
py
AA,BB=map(int,input().split()) CC=list(map(int,input().split())) pp=list(map(int,input().split())) qq=[] rr=0 for i in range(AA): x=pp[i]/C[i] qq.append(x) while B>=0 and len(qq)>0: mindex=qq.index(max(qq)) if B>=C[mindex]: rr=rr+pp[mindex] B=B-C[mindex] CC.pop(mindex) pp.pop(min...
[ "noreply@github.com" ]
chokkuu1998.noreply@github.com
e8e08e4b4c84e23d22c92940cf1d38e721e9617e
dc80f94c1a244002db468fc7242d5fcaafe439dc
/powerdns_client/api/stats_api.py
865ce4494cac1c4a36ceedb5e0f8587189c76576
[ "MIT" ]
permissive
sanvu88/python-powerdns-client
f675e1ee162bb76190b41ddf0cfc34e2305a757b
57dd0460995a5407c6f5c963553b4df0f4859667
refs/heads/master
2023-02-04T07:05:31.095951
2020-12-15T16:48:15
2020-12-15T16:48:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,803
py
# coding: utf-8 """ PowerDNS Authoritative HTTP API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 OpenAPI spec version: 0.0.13 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absol...
[ "67791576+underline-bot@users.noreply.github.com" ]
67791576+underline-bot@users.noreply.github.com
6229e7231c45038a0d515693de51d6b3b5ee16fe
9b10d8482a7af9c90766747f5f2ddc343871d5fa
/Gemtek/AutoTest/DropAP/WRTM-326ACN-DropAP2/premises/library/test.py
f158319fe329093f6d1fd74a233f2a489a42b9b0
[]
no_license
DarcyChang/MyProjects
86d33f5cf8bdfd4b21e64922e4eb25c1afc3c135
47efb2dfe13ace264f8943b59b701f39f23c4c17
refs/heads/master
2021-05-12T12:43:39.255082
2020-09-23T06:42:03
2020-09-23T06:42:03
117,419,269
0
2
null
null
null
null
UTF-8
Python
false
false
609
py
__author__ = 'alu' import re import time import cafe from cafe.resp.response_map import ResponseMap from collections import OrderedDict from demo.alu_demo.User_Cases.test_lib import Teststeplib_e7 as e7_lib res = "ONT Subscriber Info Status" \ "---------- --------------...
[ "cychang0916@gmail.com" ]
cychang0916@gmail.com
d95f0b89899c28fd7e790e02a64cba46aff3d59d
1ad2ae0383341f2b92fe38173612be5d9c4970e8
/polls/models.py
75a460d4f5e68fc9d5052737ed7677900239b83f
[ "MIT" ]
permissive
pizzapanther/ppp
9b0df90ddf2e52ffdaf43394026613dbd884c0e9
3286f39f8e90f3473841a154ff7189a3efd9ca94
refs/heads/master
2021-09-23T03:52:27.915606
2020-03-04T18:04:08
2020-03-04T18:04:08
222,154,111
0
0
MIT
2021-09-22T18:10:01
2019-11-16T20:16:27
Python
UTF-8
Python
false
false
1,400
py
from django.conf import settings from django.db import models from django.contrib.postgres.fields import ArrayField class Presentation(models.Model): title = models.CharField(max_length=100) slug = models.SlugField(max_length=100) def __str__(self): return self.title def current(self): return self.po...
[ "paul.m.bailey@gmail.com" ]
paul.m.bailey@gmail.com
2b24ec034a34c513b9c6b1bd086580ec9964d106
a5a99f646e371b45974a6fb6ccc06b0a674818f2
/Geometry/HcalEventSetup/python/CaloTowerGeometryDBWriter_cfi.py
dc75ba33a6cedd5c4191026f97719656397c89c3
[ "Apache-2.0" ]
permissive
cms-sw/cmssw
4ecd2c1105d59c66d385551230542c6615b9ab58
19c178740257eb48367778593da55dcad08b7a4f
refs/heads/master
2023-08-23T21:57:42.491143
2023-08-22T20:22:40
2023-08-22T20:22:40
10,969,551
1,006
3,696
Apache-2.0
2023-09-14T19:14:28
2013-06-26T14:09:07
C++
UTF-8
Python
false
false
531
py
import FWCore.ParameterSet.Config as cms CaloTowerHardcodeGeometryEP = cms.ESProducer( "CaloTowerHardcodeGeometryEP" , appendToDataLabel = cms.string("_master") ) CaloTowerGeometryToDBEP = cms.ESProducer( "CaloTowerGeometryToD...
[ "giulio.eulisse@gmail.com" ]
giulio.eulisse@gmail.com
35a47b027566248963ff354a2a07b0ef7377d61c
1bccf0b1374dcfddfc3e320fd5b6af499334df2d
/scripts/hashtagUserCounts.py
4a780d5a584536af79f7279e772bc4f2cc89c7c9
[ "Unlicense" ]
permissive
chebee7i/twitter
6b245f5a7b7510089b62d48567e6208e1fe8a1db
ec1d772c3ef7d2288ac8051efb8637378f3ec195
refs/heads/master
2021-01-01T16:25:13.242941
2015-06-24T19:39:24
2015-06-24T19:39:24
23,846,593
2
0
null
null
null
null
UTF-8
Python
false
false
3,533
py
""" Insert the number of users that tweeted each hashtag. """ import twitterproj import pymongo from collections import defaultdict import itertools import json import os import io db = twitterproj.connect() def add_user_counts(bot_filtered=True): collection = db.tweets.with_hashtags if bot_filtered: ...
[ "chebee7i@gmail.com" ]
chebee7i@gmail.com
ff8f86292617a8597edc809076063b0f6261283c
444a9480bce2035565332d4d4654244c0b5cd47b
/research/cv/SiamFC/src/dataset.py
83c8e8c6e3e8ce864c6d87af664d12aa08b25bc6
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference", "LicenseRef-scancode-proprietary-license" ]
permissive
mindspore-ai/models
7ede9c6454e77e995e674628204e1c6e76bd7b27
eab643f51336dbf7d711f02d27e6516e5affee59
refs/heads/master
2023-07-20T01:49:34.614616
2023-07-17T11:43:18
2023-07-17T11:43:18
417,393,380
301
92
Apache-2.0
2023-05-17T11:22:28
2021-10-15T06:38:37
Python
UTF-8
Python
false
false
5,068
py
# Copyright 2021 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to...
[ "chenhaozhe1@huawei.com" ]
chenhaozhe1@huawei.com
8eeaa0ca64e1bf2b2d43b5a3ce16af064f666d4a
67a442ecabcdca9f54f5920874d0095d57f98ede
/gewittergefahr/gg_utils/dilation_test.py
ffb5a2725b02b9dd7ffdc08e4b856685a7be3f54
[ "MIT" ]
permissive
thunderhoser/GewitterGefahr
58ba3446c1cc154f56c12c4354dff05b34c12b13
1835a71ababb7ad7e47bfa19e62948d466559d56
refs/heads/master
2022-07-23T06:47:13.883598
2022-07-15T12:43:48
2022-07-15T12:43:48
104,016,785
29
13
MIT
2020-12-18T20:44:33
2017-09-19T02:37:21
Python
UTF-8
Python
false
false
2,662
py
"""Unit tests for dilation.py.""" import unittest import numpy from gewittergefahr.gg_utils import dilation TOLERANCE = 1e-6 SMALL_PERCENTILE = 12.5 LARGE_PERCENTILE = 87.5 DILATION_HALF_WIDTH_IN_PIXELS = 1 INPUT_MATRIX = numpy.array( [[-20., -15., -10., -5., 0.], [-10., -5., 0., 5., 10.], [0., 5., 10....
[ "ryan.lagerquist@ou.edu" ]
ryan.lagerquist@ou.edu
2282c152c06546a82f340c485eafb5b3ed595424
f124cb2443577778d8708993c984eafbd1ae3ec3
/saleor/graphql/checkout/mutations/__init__.py
7718967b325810e573ce4fd4fe617dcc87905933
[ "BSD-3-Clause" ]
permissive
quangtynu/saleor
ac467193a7779fed93c80251828ac85d92d71d83
5b0e5206c5fd30d81438b6489d0441df51038a85
refs/heads/master
2023-03-07T19:41:20.361624
2022-10-20T13:19:25
2022-10-20T13:19:25
245,860,106
1
0
BSD-3-Clause
2023-03-06T05:46:25
2020-03-08T17:44:18
Python
UTF-8
Python
false
false
1,556
py
from .checkout_add_promo_code import CheckoutAddPromoCode from .checkout_billing_address_update import CheckoutBillingAddressUpdate from .checkout_complete import CheckoutComplete from .checkout_create import CheckoutCreate from .checkout_customer_attach import CheckoutCustomerAttach from .checkout_customer_detach impo...
[ "noreply@github.com" ]
quangtynu.noreply@github.com
838f2f8902ca4fdcf743b209c0a1ff7c7ab3412d
229ed0dad61f9e855de604c230d034a0bd9b3882
/EdabitPractice/evenOddCounter.py
06c675245b08e406cfb9c3b1124f90e1dd4de379
[]
no_license
Darrenrodricks/EdabitPythonPractice
987d534dd149ddaef6219df381df850eabbe80b2
c1be8b10a6fcc1085640a1128f022c05fb2890a9
refs/heads/main
2023-07-17T00:36:43.772435
2021-08-31T16:24:07
2021-08-31T16:24:07
400,630,327
0
0
null
null
null
null
UTF-8
Python
false
false
300
py
# Python program to count Even and Odd numbers in a List # Input: list1 = [2, 7, 5, 64, 14] # Output: Even = 3, odd = 2 a = 0 b = 0 list1 = [2, 7, 5, 64, 14] for i in range(0, len(list1)): if i % 2 == 0: a += 1 else: b += 1 print("There are {} Even, and {} Odd".format(a, b))
[ "noreply@github.com" ]
Darrenrodricks.noreply@github.com
9cca242910678dbdb4fce620cc6f69091f65087c
539b031a4edd1aec31af5b6658f25a0de03776a4
/strings_and_text/sub_re_groups1.py
b91fbc11289d3b5f5a17a2b714d35dde5bec785c
[]
no_license
leogtzr/python-cookbook-code-snippets
c517e7f14e468e1aa8def71d3389348150d43085
a3f189c26ba38bc982dd140b3b4d6326b39671dc
refs/heads/main
2023-01-23T07:16:30.292456
2020-11-28T04:29:42
2020-11-28T04:29:42
309,217,104
0
0
null
null
null
null
UTF-8
Python
false
false
477
py
import re from calendar import month_abbr def change_date(m): mon_name = month_abbr[int(m.group(1))] return '[{}] ({}) |{}|'.format(m.group(2), mon_name, m.group(3)) datepat = re.compile(r'(\d+)/(\d+)/(\d+)') text = 'Today is 11/27/2012. PyCon starts 3/13/2013.' # a substitution callback function print(dat...
[ "leogutierrezramirez@gmail.com" ]
leogutierrezramirez@gmail.com
0998ba915d80be9aaf99b9cef30acdb467528d1c
2e145222a18d4509d937951f5cec4df0e26ee86f
/vas/gemfire/CacheServerInstances.py
9405a719dd10335d0ccd1c552ba07c8a6ef1c57d
[ "Apache-2.0" ]
permissive
vdreamakitex/vas-python-api
7627b7e3fcf76c16b1ea8b9fb670fdb708eff083
ce7148a2044863e078e78b47abbaafc426f732ee
refs/heads/master
2021-01-18T05:13:25.459916
2012-11-05T09:58:45
2012-11-05T09:58:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,867
py
# vFabric Administration Server API # Copyright (c) 2012 VMware, Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 ...
[ "bhale@vmware.com" ]
bhale@vmware.com
53bc8edebb6fabc73a2cacad23ca6d8b08fa9b0a
16450d59c820298f8803fd40a1ffa2dd5887e103
/baekjoon/2667.py
b85ee7659586696418e866ced977042046429337
[]
no_license
egyeasy/TIL_public
f78c11f81d159eedb420f5fa177c05d310c4a039
e2f40eda09cb0a65cc064d9ba9b0e2fa7cbbcb38
refs/heads/master
2021-06-21T01:22:16.516777
2021-02-02T13:16:21
2021-02-02T13:16:21
167,803,551
0
0
null
null
null
null
UTF-8
Python
false
false
2,257
py
""" <그림 1>과 같이 정사각형 모양의 지도가 있다. 1은 집이 있는 곳을, 0은 집이 없는 곳을 나타낸다. 철수는 이 지도를 가지고 연결된 집들의 모임인 단지를 정의하고, 단지에 번호를 붙이려 한다. 여기서 연결되었다는 것은 어떤 집이 좌우, 혹은 아래위로 다른 집이 있는 경우를 말한다. 대각선상에 집이 있는 경우는 연결된 것이 아니다. <그림 2>는 <그림 1>을 단지별로 번호를 붙인 것이다. 지도를 입력하여 단지수를 출력하고, 각 단지에 속하는 집의 수를 오름차순으로 정렬하여 출력하는 프로그램을 작성하시오. > input 첫 번째 줄에는 지도의 크기 N(정...
[ "dz1120@gmail.com" ]
dz1120@gmail.com
49f6016496073d31808c5ceda4ff0bb6ac102c09
974c5a4f101d0e6f4dfa5fc2f7c641c9d2bd8184
/sdk/ml/azure-ai-ml/tests/compute/unittests/test_compute_operations.py
ecfc11bd07cf4aafd9e8a34abaa324d6be10f0af
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
gaoyp830/azure-sdk-for-python
4816f04c554dcffb7510a6b7044b0c86a2dd32e1
1c66defa502b754abcc9e5afa444ca03c609342f
refs/heads/master
2022-10-20T21:33:44.281041
2022-09-29T17:03:13
2022-09-29T17:03:13
250,355,505
0
0
MIT
2020-03-26T19:42:13
2020-03-26T19:42:12
null
UTF-8
Python
false
false
4,501
py
from typing import Callable from unittest.mock import Mock import pytest import vcr from pytest_mock import MockFixture from azure.ai.ml import load_compute from azure.ai.ml._scope_dependent_operations import OperationConfig, OperationScope from azure.ai.ml.entities import AmlCompute, Compute, ComputeInstance, Identi...
[ "noreply@github.com" ]
gaoyp830.noreply@github.com
6229d71ac4298b44124dd4b8e60fbc94f362f721
22f57701df31b3182f3bcb83da729ecc584f8fb6
/December-12/py_anuppriya_revsinglylinkedlist.py
eca33e40110bce5169894193a53714e455c02d79
[]
no_license
Prashant-Bharaj/A-December-of-Algorithms
e88640c711abbe2e6cac71cb4652dac243984484
7bbd56572f4ddc9648e90615ee810765544c56e4
refs/heads/master
2023-08-05T15:37:20.362561
2021-09-19T05:51:53
2021-09-19T05:51:53
287,055,360
0
0
null
2020-08-12T15:53:05
2020-08-12T15:53:04
null
UTF-8
Python
false
false
995
py
class Node: def __init__(self, data): self.data = data self.next = None class LinkedList: def __init__(self): self.head = None def reverse(self): prev = None current = self.head while(current is not None): ...
[ "noreply@github.com" ]
Prashant-Bharaj.noreply@github.com
e8c2786ad69cfccec2ad37b66382443519baed1a
59fb17c240b261040026d713a6ac9c97d6a9f265
/gym/gym/envs/registration.py
18519749167fe193d8d2cb3b3348653ae837fd17
[ "MIT" ]
permissive
dmeger/TeachingImitation
3fb97499e76929959913266f127154f6ae5a8e99
5f4dba7e49987924c3d55cd27579cad4c71ef7a4
refs/heads/master
2023-03-28T13:25:01.307382
2021-04-06T15:07:08
2021-04-06T15:07:08
355,223,500
2
0
null
null
null
null
UTF-8
Python
false
false
6,883
py
import re import copy import importlib import warnings from gym import error, logger # This format is true today, but it's *not* an official spec. # [username/](env-name)-v(version) env-name is group 1, version is group 2 # # 2016-10-31: We're experimentally expanding the environment ID format # to incl...
[ "david.meger@gmail.com" ]
david.meger@gmail.com
5a34b1c2505774cc28123bf7867e9d5b84e9422c
ea5de3d347ef4e1dcac9ee37da2d9850888d9ecc
/pawn_brotherhood.py
57460c2b269a4526698cd78561b3aa401f2e81a2
[]
no_license
skoriy88/Chekio
4d50c18c54741c425d468a80a24ceb526a13dabe
fcbc291ca624cb9d5415128e605ea27d5e50983e
refs/heads/master
2020-03-18T11:26:09.966384
2018-05-25T13:52:54
2018-05-25T13:52:54
134,671,092
0
0
null
null
null
null
UTF-8
Python
false
false
403
py
lst = {"b4", "d4", "f4", "c3", "e3", "g5", "d2"} def safe_pawns(inp): new = {(ord(i[0]), int(i[1])) for i in inp} safe = sum(1 for pawn in new if(pawn[0]-1, pawn[1]-1) in new or (pawn[0]+1, pawn[1]-1) in new) #print(safe) return safe safe_pawns(lst) ''' print(ord('a')) print(ord('b')) print(ord('c')) ...
[ "skoriy88@gmail.com" ]
skoriy88@gmail.com
0c952f5626c7a7187c2ce0175469a5ae5d62cbc9
26a0941b02286518e382fe86daa0dd5c0f596a9a
/stage_scenes.py
26bf98175d74488c0e99843bcaa5d0d4709e9ced
[ "MIT" ]
permissive
Gargaran/videos
729c3c7e91cb20e5377b5e397b3b90ea91e3f8a1
26458da42fc665eb4ae844168c16ebb0526cc231
refs/heads/master
2023-08-22T16:36:33.235479
2021-10-06T22:48:08
2021-10-06T22:48:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,104
py
#!/usr/bin/env python import inspect import os import sys import importlib from manimlib.config import get_module from manimlib.extract_scene import is_child_scene def get_sorted_scene_classes(module_name): module = get_module(module_name) if hasattr(module, "SCENES_IN_ORDER"): return module.SCENES_I...
[ "grant@3blue1brown.com" ]
grant@3blue1brown.com
852411151db8afff623d48a858ba720238508dd7
faaf12ab18978082233c09628b815a69e73868e4
/codechef/practice/easy/lebombs.py
3c70653a1ff04cd448e8e83575cc876a870c045a
[ "WTFPL" ]
permissive
ferhatelmas/algo
6826bcf0be782cb102c1ee20dce8d4345e1fd6d2
7b867f6d2c8a9fb896f464168b50dfc115617e56
refs/heads/master
2023-08-18T19:59:58.435696
2023-08-14T10:16:00
2023-08-14T10:16:00
3,813,734
27
16
WTFPL
2020-10-25T23:00:16
2012-03-23T23:43:31
Java
UTF-8
Python
false
false
229
py
from sys import stdin from itertools import groupby for i, ln in enumerate(stdin): if i > 0 and i % 2 == 0: s = "0" + ln.rstrip() + "0" print(sum(max(len(list(g)) - 2, 0) for k, g in groupby(s) if k == "0"))
[ "elmas.ferhat@gmail.com" ]
elmas.ferhat@gmail.com
0271e2bd69581d5e5dc88b564ddc46e9e59ed80e
06289aabd78e6a0e5e5ab8360fffbf9a8504d615
/api/budget/serializers/expense_serializer.py
0f5fd044d6751912c22d145c7efad0ab32499638
[]
no_license
jtclayt/finance_planner_api
6ca8130c761999abc01e03429a0676c0c803b640
06cd592e479145cbeb6acad4574021ef7515b33b
refs/heads/main
2023-08-15T02:20:34.455483
2021-09-22T16:15:49
2021-09-22T16:15:49
409,044,817
0
0
null
2021-09-22T05:08:48
2021-09-22T02:54:50
Python
UTF-8
Python
false
false
627
py
from rest_framework import serializers from ..models.budget import Budget from ..models.expense import Expense class ExpenseSerializer(serializers.HyperlinkedModelSerializer): '''Serializer for list view of expenses''' url = serializers.HyperlinkedIdentityField(view_name='budget:expense-detail') budget =...
[ "jt.clayton92@yahoo.com" ]
jt.clayton92@yahoo.com
5ef953377a82188de0c437031ecd64571429c4dd
10ddfb2d43a8ec5d47ce35dc0b8acf4fd58dea94
/Python/special-array-with-x-elements-greater-than-or-equal-x.py
01c11c68d89db61b02579b98174c1831b10e0923
[ "MIT" ]
permissive
kamyu104/LeetCode-Solutions
f54822059405ef4df737d2e9898b024f051fd525
4dc4e6642dc92f1983c13564cc0fd99917cab358
refs/heads/master
2023-09-02T13:48:26.830566
2023-08-28T10:11:12
2023-08-28T10:11:12
152,631,182
4,549
1,651
MIT
2023-05-31T06:10:33
2018-10-11T17:38:35
C++
UTF-8
Python
false
false
3,409
py
# Time: O(n) # Space: O(1) # counting sort solution class Solution(object): def specialArray(self, nums): """ :type nums: List[int] :rtype: int """ MAX_NUM = 1000 count = [0]*(MAX_NUM+1) for num in nums: count[num] += 1 n = len(nums) ...
[ "noreply@github.com" ]
kamyu104.noreply@github.com
d17776b6855dfcc141feea8086af080f6d09fc11
8bcf5bf18f6e9c1d5871ef8a88ef5921e03e9b02
/koldunov/api/urls.py
a4efa9857dea75f924535c42e25c43c5803313cc
[]
no_license
volgoweb/rest_example
73f5fc26cce45c0aae49247768f74ffa2f4c01d4
7ee8b87914d6c69c80158e7e22a6b454c3e7f76b
refs/heads/master
2021-01-10T01:32:44.098668
2017-09-05T12:42:00
2017-09-05T12:42:00
51,444,569
1
0
null
null
null
null
UTF-8
Python
false
false
346
py
# -*- coding: utf-8 -*- from rest_framework import routers from .views.product_views import CategoryViewSet, ItemViewSet from .views.stat_views import StatViewSet router = routers.SimpleRouter() router.register(r'category', CategoryViewSet) router.register(r'item', ItemViewSet) router.register(r'stat', StatViewSet) ...
[ "volgoweb@bk.ru" ]
volgoweb@bk.ru
fb28d6bd690ff888dfd3ea29b317ae4cf3d2be7a
8eca0a7a9ae207113f9f9ed98d093cbe21ffcd8a
/Maths_based_problems/grid_unique_paths/solution2_dp.py
eed4c34ad0482d36605fb37189b7a03c658eb218
[]
no_license
Ranjit007ai/-Interviewbit-Maths
3238c720bb5e0765eef0e0e1a39549eff1ba788d
044627422fc38ee3e5aaa9cbfc8f00398d1f9bb5
refs/heads/main
2023-03-25T06:06:14.206384
2021-03-27T14:38:16
2021-03-27T14:38:16
352,065,531
0
0
null
null
null
null
UTF-8
Python
false
false
568
py
def unique_paths(m,n): dp = [[0]*n for _ in range(0,m)] # each position in dp show the no of way to reach their # now the first row and first col will be 1 ,since their is 1 way to traverse from one position to another in single row or column vector for row in range(0,m): dp[row][0] = 1 ...
[ "noreply@github.com" ]
Ranjit007ai.noreply@github.com
b3096c51d5f0148b23157700f003b048c28d4cb6
efd6c1d24b0a392a177679429d53dd2f515d0d95
/bi_auth/migrations/0001_initial.py
fd577d05d960ad8b413cd4b9a52c1be60fe0f81b
[]
no_license
mitshel/TakedaAnalitic
5ccfb4aa83a056cbeaebce03df41819c7ece7985
b04b08fb053bff238a1ce68df423f99314827b48
refs/heads/master
2021-07-02T21:27:10.023816
2019-02-14T14:32:18
2019-02-14T14:32:42
153,908,777
0
0
null
null
null
null
UTF-8
Python
false
false
979
py
# Generated by Django 2.1.2 on 2018-12-15 11:16 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] ope...
[ "mitshel@mail.ru" ]
mitshel@mail.ru
5fe19acc4de946e7408e43a378612cded89edc88
aa91f6e8d59286f65e7f6ed065823c80b7694439
/scripts/analysis/baostock/yangxian/yangxian.py
adf483a1883a24304215af71aef322817a97af98
[ "MIT" ]
permissive
davidyuqiwei/davidyu_stock
7f93bcc2c50a0e2c356e3b517dbf7e2e7467093f
c234911f49d5980f2dff651333f8ca957333e094
refs/heads/master
2023-01-07T02:08:04.330559
2023-01-02T16:31:37
2023-01-02T16:31:37
163,694,812
13
2
null
2022-12-18T03:55:10
2018-12-31T20:07:30
Jupyter Notebook
UTF-8
Python
false
false
1,725
py
from davidyu_cfg import * from functions.data_dir import * from functions.get_datetime import * from functions.run_combine_all_csv import * from functions.colNames import * from functions.day_history.kLines import klineDate from functions.LinearReg import * from functions.common.dfProcess import * from functions.common...
[ "davidyuqiwei@outlook.com" ]
davidyuqiwei@outlook.com
b468d83e6f86299cc5a6da5cc3813594132a55dc
30b232051b10753e9103a70d88a387dfa1aca63f
/164.py
2f3c183e1682f60665db64f6c436ac296f2bf23b
[]
no_license
samrithasudhagar/guvi2
fe6d7af8a73cef515991524d7abad754c3700dc5
f7eb8a8b2cd701c2708c414939cc139414d3310d
refs/heads/master
2020-04-20T12:27:47.748859
2019-05-26T09:45:42
2019-05-26T09:45:42
168,843,977
0
3
null
null
null
null
UTF-8
Python
false
false
175
py
n,k=map(int,input().split()) l=list(map(int,input().split())) m=0 if k in l: print(k) else: for i in l: if i>m and i <k: m=i print(m)
[ "noreply@github.com" ]
samrithasudhagar.noreply@github.com
8fb33330b1462f23987648fc31eb06140b7e5caa
1e03cd80d27d35ffdc8f68f70a36a461eaae4b9d
/apps/common/views.py
9da3528729470edad1fb1663ca5e9291ee3c0179
[]
no_license
paddy375691/flask_zlbbs
bee8f15497c58bd5f1f614d6a686b93301f93d0a
90fb142b33aecca6ff66013953ecf6e3e39b6139
refs/heads/master
2023-02-04T07:55:00.798789
2020-12-25T08:51:13
2020-12-25T08:51:13
324,265,174
0
0
null
null
null
null
UTF-8
Python
false
false
144
py
from flask import Blueprint bp = Blueprint('common', __name__, url_prefix='/common') @bp.route('/') def index(): return 'common index'
[ "you@example.com" ]
you@example.com
3ad52e8c095b3ad50975940c78e30707311ab01e
32ba9f1c35ae916d33b121daeeea8e1910a447d7
/utils/tag.py
99083b27f2ee3987fa2f8e96f2665c4f0533c66f
[ "MIT" ]
permissive
rituparna/glTools
8b02fa2751e1b997f7a202c7df8a3dd3d3032722
c512a96c20ba7a4ee93a123690b626bb408a8fcd
refs/heads/master
2020-03-19T19:23:47.684580
2018-06-10T23:53:58
2018-06-10T23:53:58
136,853,456
0
0
null
2018-06-10T23:46:54
2018-06-10T23:46:53
null
UTF-8
Python
false
false
2,893
py
import maya.cmds as mc import glTools.tools.namingConvention class Tag( object ): def __init__(self): ''' ''' self.nameTagAttr = 'nameTag' def addNameTag(self,control,tag): ''' Set the name tag value for the specified control ''' # Check control if not mc.objExists(control): raise Exception('...
[ "grant@bungnoid.com" ]
grant@bungnoid.com
e037ce0f746846b6294b60c884db7209be1e7464
efbc8c73e9ac5cbcb9321518ab06b3965369a5f0
/SWEA/D2/1974_스도쿠 검증.py
5c70e3a29c30f7e85436a3f0b4edb86ade4466a6
[]
no_license
AshOil/APS
56b9395dcbb8eeec87a047407d4326b879481612
fe5a2cd63448fcc4b11b5e5bc060976234ed8eea
refs/heads/master
2023-07-15T17:32:20.684742
2021-08-23T13:04:05
2021-08-23T13:04:05
283,709,661
0
0
null
null
null
null
UTF-8
Python
false
false
1,389
py
import sys sys.stdin = open('input_data/1974.txt',"r") num_dict = {} T = int(input()) for t in range(1, T+1): for tt in range(1,10): num_dict[tt] = list(map(int, input() .split())) result = True # 가로부터 검사하자 for hori in num_dict.values(): if sorted(hori) != [1, 2, 3, 4, 5, 6, 7, 8, 9]:...
[ "ka0@kakao.com" ]
ka0@kakao.com
49adb1a0d02abd33be4f5345e463f2839479722a
b2d3bd39b2de8bcc3b0f05f4800c2fabf83d3c6a
/examples/pwr_run/checkpointing/short/max_pwr/job18.py
8d86f952590173e5884246a93a2efab702b53071
[ "MIT" ]
permissive
boringlee24/keras_old
3bf7e3ef455dd4262e41248f13c04c071039270e
1e1176c45c4952ba1b9b9e58e9cc4df027ab111d
refs/heads/master
2021-11-21T03:03:13.656700
2021-11-11T21:57:54
2021-11-11T21:57:54
198,494,579
0
0
null
null
null
null
UTF-8
Python
false
false
7,216
py
""" #Trains a ResNet on the CIFAR10 dataset. """ from __future__ import print_function import keras from keras.layers import Dense, Conv2D, BatchNormalization, Activation from keras.layers import AveragePooling2D, Input, Flatten from keras.optimizers import Adam from keras.callbacks import ModelCheckpoint, LearningRa...
[ "baolin.li1994@gmail.com" ]
baolin.li1994@gmail.com
1fc74891fa1324f804b07585e2b154d9b49afdf6
de681ebfa95a07c04fbb1280bf722847b06ee548
/migrations/versions/3fd0d7bc25ea_create_tag_model.py
c5297e733152e5145f95a89eca64b85173b984bb
[]
no_license
Dzhoker/flask-lessons
156957ed29a674df474cfc6b8cdca12adae021d7
590e436516dbd8a3a9af4ad33aafbc854088a6aa
refs/heads/master
2023-03-18T09:44:19.431920
2021-02-18T02:52:07
2021-02-18T02:52:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
761
py
"""create Tag model Revision ID: 3fd0d7bc25ea Revises: 1b2fd89e61b5 Create Date: 2021-01-12 07:40:03.728879 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '3fd0d7bc25ea' down_revision = '1b2fd89e61b5' branch_labels = None depends_on = None def upgrade(): ...
[ "surenkhorenyan@gmail.com" ]
surenkhorenyan@gmail.com
1bd246b511bcb25535f008e43dec5d7633a97690
2c112f781016f2022dc7ff1c616b1f57185fe8f8
/tests/conftest.py
34a2935ba0d6d69229c0b0455e16b60a8fcb1f85
[]
no_license
dominicgs/Website
c15312a5b081b42db880b99df6811c8c04777824
fc3587daacff20ec3ab590df121c9f693f09a8ce
refs/heads/master
2020-03-21T16:49:07.492309
2018-06-26T21:41:50
2018-06-26T21:41:50
64,015,414
0
1
null
2016-07-23T12:33:16
2016-07-23T12:33:16
null
UTF-8
Python
false
false
2,265
py
" PyTest Config. This contains global-level pytest fixtures. " import os import os.path import pytest import shutil from models.user import User from main import create_app, db as db_obj, Mail from utils import CreateBankAccounts, CreateTickets @pytest.fixture(scope="module") def app(): """ Fixture to provide an ...
[ "russ@garrett.co.uk" ]
russ@garrett.co.uk
c80abae38d1dabb5dfaa1cc1b9606faa528421bd
13b72e5c48f5f7213d9a569f699dc1554bc363dd
/demo/libdemo/list_git__repos.py
35f238aa8d2d69b1030b7d8cfefa92fded15d932
[]
no_license
srikanthpragada/PYTHON_02_MAR_2021
6997fece4ad627bb767c0bca5a5e166369087e68
5dfd0c471378bd22379ac0d66f8785d4d315017b
refs/heads/master
2023-04-04T20:28:22.738042
2021-04-17T14:19:48
2021-04-17T14:19:48
344,498,123
0
0
null
null
null
null
UTF-8
Python
false
false
362
py
import requests user = "srikanthpragada" response = requests.get(f"https://api.github.com/users/{user}/repos") if response.status_code != 200: print(f"Sorry! Could not get details for {user} from github!") exit() repos = response.json() # Convert JSON to dict for repo in repos: print(repo['name']) pri...
[ "srikanthpragada@gmail.com" ]
srikanthpragada@gmail.com
e1f046bf1125c305df03d5d353029498f0cbe882
56d41bbc6b5d831ba699ad4a44f5880ba3d195c8
/thread_sync.py
bcd0c1730eb098adb4c5bb1a0e3dc4d595662b6d
[]
no_license
pigliangliang/2018-07-05-08
4635e4dc1926f3f17eae7f607a0b188f6aaf9f43
ba95331f4b0cc0316377a5c67f86d03e8cc257b8
refs/heads/master
2020-03-22T08:51:08.209718
2018-07-08T07:58:06
2018-07-08T07:58:06
139,795,833
1
0
null
null
null
null
UTF-8
Python
false
false
606
py
#author_by zhuxiaoliang #2018-07-05 下午3:39 """   A. Semaphore(信号量)   在多线程编程中,为了防止不同的线程同时对一个公用的资源(比如全部变量)进行修改,需要进行同时访问的数量(通常是1)的限制。信号量同步基于内部计数器,每调用一次acquire(),计数器减1;每调用一次release(),计数器加1.当计数器为0时,acquire()调用被阻塞。 """ import time from random import random from threading import Thread,Semaphore,enumerate sema = Semaphore...
[ "836904717@qq.com" ]
836904717@qq.com
6844ce56ffa18f4d971b348110a9f410a1502c7e
a3c662a5eda4e269a8c81c99e229879b946a76f6
/.venv/lib/python3.7/site-packages/pylint/test/input/func_noerror_yield_assign_py25.py
f40d8d96e837e9022fc2596b23ce8733990a450c
[ "MIT" ]
permissive
ahmadreza-smdi/ms-shop
0c29da82c58b243507575672bbc94fb6e8068aeb
65ba3f3061e2ac5c63115b08dadfe7d67f645fb6
refs/heads/master
2023-04-27T19:51:34.858182
2019-11-24T20:57:59
2019-11-24T20:57:59
223,616,552
6
2
MIT
2023-04-21T20:51:21
2019-11-23T16:09:03
Python
UTF-8
Python
false
false
387
py
"""http://www.logilab.org/ticket/8771""" from __future__ import print_function def generator(): """yield as assignment""" yield 45 xxxx = yield 123 print(xxxx) def generator_fp1(seq): """W0631 false positive""" for val in seq: pass for val in seq: yield val def generator_...
[ "ahmadreza.smdi@gmail.com" ]
ahmadreza.smdi@gmail.com
40dbe20a67504c37c5be2abfab99add67569df21
585bac463cb1919ac697391ff130bbced73d6307
/36_ValidSudoku/solution1.py
91569e66f6dee678a57f5dd30000308804bcd22a
[]
no_license
llgeek/leetcode
ce236cf3d3e3084933a7a4a5e8c7766f7f407285
4d340a45fb2e9459d47cbe179ebfa7a82e5f1b8c
refs/heads/master
2021-01-22T23:44:13.318127
2020-03-11T00:59:05
2020-03-11T00:59:05
85,667,214
1
0
null
null
null
null
UTF-8
Python
false
false
769
py
class Solution: def isValidSudoku(self, board: List[List[str]]) -> bool: seen = set() for i in range(len(board)): for j in range(len(board[0])): val = board[i][j] if val == '.': continue if str(val) + 'in row ' + str(i) in seen: ...
[ "angleflycll@gmail.com" ]
angleflycll@gmail.com
bf439e9862b4ae08f44e047b1d51ff58c9ae6f67
c6666d0235d1d03ed9a5a2d1a3cfa9ccc9d9e88c
/webcore/migrations/0001_initial.py
bc167afd1bfb17d3738481c8cc02fc4ac5b3fcf0
[]
no_license
boiyelove/savingsensei
67dc8a5690c7599dd126159837af6e567852aa73
8acd46ebd770b9e18f64e14ff08bfd2ddbcc0edc
refs/heads/master
2021-10-20T01:32:10.775234
2019-02-25T03:27:31
2019-02-25T03:27:31
172,426,033
0
0
null
null
null
null
UTF-8
Python
false
false
1,812
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.7 on 2016-06-20 12:21 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Banner'...
[ "daahrmmieboiye@gmail.com" ]
daahrmmieboiye@gmail.com
4b1ecbe8bfc1dfb288e7e30b8ba859c26d6a53c9
b13ca274b4463c9900840ee6516094b7509b6041
/empower/lvapp/lvaphandler.py
b5c42204161a1e3cc0f451116cafa63d304a1803
[ "Apache-2.0" ]
permissive
imec-idlab/sdn_wifi_manager
09d206f2f649aa715752d3c44e011d3f54faf592
eda52649f855722fdec1d02e25a28c61a8fbda06
refs/heads/master
2021-06-23T08:03:22.482931
2020-12-03T11:30:10
2020-12-03T11:30:10
162,106,793
0
0
Apache-2.0
2019-03-27T16:23:31
2018-12-17T09:33:47
Python
UTF-8
Python
false
false
3,522
py
#!/usr/bin/env python3 # # Copyright (c) 2016 Roberto Riggio # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicabl...
[ "pedroisolani@gmail.com" ]
pedroisolani@gmail.com
1e273a85868f0f6b461bfd41551779c6a908e717
eab72229ae04d1160704cbf90a08a582802a739c
/pipeline.py
951739aed5ac7ad0818e105dbff2397a48108344
[ "MIT" ]
permissive
megatazm/Crowd-Counting
444d39b0e3d6e98995f53badf4c073829038b6b7
647a055baccee2c3b6b780f38930e2ffd14d1664
refs/heads/master
2022-04-01T04:49:16.409675
2020-01-31T21:24:02
2020-01-31T21:24:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
518
py
import os # Crop area #os.system("python3 crop.py") ## APPROACH 1 MCNN os.system("python3 put_zero_image.py") os.system("python3 test.py") os.system("python3 put_zero_den.py") os.system("python3 find_people.py") os.system("python3 position.py") ## APPROACH 2 - RNN #os.system("python3 tiny_face_eval.py --weig...
[ "gpsunicamp016@gmail.com" ]
gpsunicamp016@gmail.com
934e6966fbd17ae8a420204911909a52151bbaf6
8d5f49fa1fda8ffc473e7f5a62786c77838a5820
/website/load_tests/drawquest/test_scripts/utils.py
e305eef730b14c15bd7911f0cf1ade88885204ff
[ "BSD-3-Clause" ]
permissive
MichaelBechHansen/drawquest-web
dfc6f5d9541860a5df23db678e82564a230bd42e
8d8f9149b6efeb65202809a5f8916386f58a1b3b
refs/heads/master
2021-01-14T10:30:10.861222
2015-11-10T03:13:42
2015-11-10T03:13:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,724
py
import json import uuid import requests PASSWORD = 'testpassword' #QUEST_ID = 658 #QUEST_ID = 926 #staging smilie QUEST_ID = 7004 PLAYBACK_DATA = '' TEST_USERNAME = 'test_account__' TEST_PASSWORD = 'testaccount' class ApiError(Exception): pass class HttpError(Exception): pass class ApiConsumer(object)...
[ "alex.ehlke@gmail.com" ]
alex.ehlke@gmail.com
5dbd16bad92c13444eb77d53b650fba51d099460
7f8cebd9315129bcdb7ef220dc449cda26a19ce4
/models/aetanh.py
bcff65d94ee5b2f960314125e4beb4f15db6e754
[]
no_license
KaiqianZhang/dpcca_v8
75477b1768905b6c41838c8da9ff77fba13b5a45
1b65fc0c3ec6b182907ba070e859c1d92fc98942
refs/heads/master
2020-08-30T09:32:58.485684
2019-11-11T17:34:55
2019-11-11T17:34:55
218,334,012
1
0
null
null
null
null
UTF-8
Python
false
false
1,639
py
"""============================================================================= Autoencoder. =============================================================================""" import numpy as np from torch import nn # ------------------------------------------------------------------------------ class AETanH(nn.Mod...
[ "ggundersen@gmail.com" ]
ggundersen@gmail.com
5824f026706f22fed9333ce3b0f3cdc2674fb5cf
afb7d4d6013b6a9022d707d5835a3dd578214b2e
/Bite_172.py
d38f7db655c51e87afd6b54e249df6347f9a2efa
[]
no_license
JB0925/Bites
86f0bd49d8b53376257c14df280ae0a9643139a2
f884ce4ffd7ce39afcea5b86a80cec14c607a4f0
refs/heads/master
2023-03-29T21:48:42.849729
2021-03-29T01:37:48
2021-03-29T01:37:48
316,419,350
0
0
null
null
null
null
UTF-8
Python
false
false
375
py
from functools import partial # create 2 partials: # - 'rounder_int' rounds to int (0 places) # - 'rounder_detailed' rounds to 4 places rounder_int = 0 rounder_detailed = 0 def round_to_int(num, places): return round(num, places) rounder_int = partial(round_to_int, places=0) rounder_detailed = partial(round_...
[ "jbrink0925@gmail.com" ]
jbrink0925@gmail.com
6bb7901debec9f9ddd547ba4fb9d52462ca74c58
fa45fe7eaba7ef7c27ecf95db7c460ca189ce0d4
/everydays/BookBeingRead/python高级编程/day12.1.py
0d2033516213b11dfa91ea44119d6e37e17ceb4c
[]
no_license
jake20001/Hello
be1a2bb5331f2ad4c1d8f30c6a9a530aff79e605
08217871bb17152eb09e68cd154937ebe5d59d2c
refs/heads/master
2021-07-10T09:48:15.883716
2021-04-23T14:49:03
2021-04-23T14:49:03
56,282,358
0
0
null
null
null
null
UTF-8
Python
false
false
774
py
# -*- coding:utf-8 -*- # ------------------------------- # ProjectName : autoDemo # Author : zhangjk # CreateTime : 2020/12/18 11:05 # FileName : day12.1 # Description : # -------------------------------- import os class DublinCoreAdapter(object): def __init__(self,filename): self._filename = filename ...
[ "jianke.zhang@beantechs.com" ]
jianke.zhang@beantechs.com
12036ced2dc9a7de9f3d4d79fc1ad4e7fbcbe6cd
8fef8af953e8dafde78c671e8ee9813d08ab2d60
/trees/BST/LowestCommAncestor.py
f1e104c3496e69731c8a6af520b879abc8aa4736
[ "MIT" ]
permissive
htrahddis-hub/DSA-Together-HacktoberFest
037b009c744863070e0f1b61167c18f9101335f2
a5c6165c449c5b5b91e56815f2a38d5fd23bf354
refs/heads/main
2023-08-23T18:52:55.654386
2021-10-17T15:45:14
2021-10-17T15:45:14
418,180,825
1
0
MIT
2021-10-17T15:56:21
2021-10-17T15:56:21
null
UTF-8
Python
false
false
2,808
py
# Link to the problem :https://practice.geeksforgeeks.org/problems/lowest-common-ancestor-in-a-bst/1# #Function to find the lowest common ancestor in a BST. # We are looking for a node which is closest to both the nodes def LCA(root, n1, n2): #code here. while(root): # If the root is greater than ...
[ "dsrao0712@gmail.com" ]
dsrao0712@gmail.com
1eba6ca236ff4f6105330a8c2c4442d3537a21a8
00b762e37ecef30ed04698033f719f04be9c5545
/scripts/test_results/scikit-learn_test_results/conflicts/52_bench_sgd_covertype_actual.py
f88cf076b4bf0da384e6c9ba249ccf1ec8f143b1
[]
no_license
kenji-nicholson/smerge
4f9af17e2e516333b041727b77b8330e3255b7c2
3da9ebfdee02f9b4c882af1f26fe2e15d037271b
refs/heads/master
2020-07-22T02:32:03.579003
2018-06-08T00:40:53
2018-06-08T00:40:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,491
py
""" ================================ Covertype dataset with dense SGD ================================ Benchmark stochastic gradient descent (SGD), Liblinear, and Naive Bayes, CART (decision tree), RandomForest and Extra-Trees on the forest covertype dataset of Blackard, Jock, and Dean [1]. The dataset comprises 581,0...
[ "srhee4@cs.washington.edu" ]
srhee4@cs.washington.edu
516ddce9995ee16a9c3d14b282864b36283da25f
0805420ce1890c36aa9e0cc1a782945464433ef6
/client/eve/common/lib/eveLocalization/__init__.py
a26d9acf4f873ae1332caf2913e0b18ee75e8119
[]
no_license
cnrat/dec-eve-serenity
4ebc3b2ab8faa6e6714dbb72b7ebcf92c4b2d75c
37519e66a5fbb0d7c417d5cf9778636991efbed8
refs/heads/master
2021-01-21T03:39:48.969227
2016-08-10T05:25:07
2016-08-10T05:25:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
211
py
# Python bytecode 2.7 (decompiled from Python 2.7) # Embedded file name: e:\jenkins\workspace\client_SERENITY\branches\release\SERENITY\eve\common\lib\eveLocalization\__init__.py from _evelocalization import *
[ "victorique.de.blois@asu.edu" ]
victorique.de.blois@asu.edu
9107cd52b4f5cb29c06fa7c3b10e07dbb89fe3a2
e230e3c1d6935d36b7074390f096d782cabd75af
/dailyfresh/settings.py
520e1cbe63fe0018a6d3e7702bc98f883808c38e
[]
no_license
PeterZhangxing/dailyfresh_ori
603e7e42457d27ffefb6a4601f9b6826a3a55a6f
19b6d667d6f49a528aeb6f4430e2537c933936f0
refs/heads/master
2020-12-02T01:41:32.160278
2019-12-30T04:24:50
2019-12-30T04:24:50
230,846,590
0
0
null
null
null
null
UTF-8
Python
false
false
5,607
py
""" Django settings for dailyfresh project. Generated by 'django-admin startproject' using Django 2.0.4. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/settings/ """ import os...
[ "964725349@qq.com" ]
964725349@qq.com
c564381b8a3786274c292ddc6a57ed24ad1e6895
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03681/s311284212.py
d8b25fb6e7dd6d5384882806daa8e1c440d5c178
[]
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
298
py
n, m = map(int, input().split()) mod = 10 ** 9 + 7 if abs(n - m) >= 2: print(0) else: res = 1 for i in range(1, n+1): res = res * i % mod for i in range(1, m+1): res = res * i % mod if abs(n - m) == 1: print(res) else: print(res * 2 % mod)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
fbc9661d70e561d78342cfa587b4a738aa00e9e6
c85ec43e50f81f8e20c883eae9e06a5c8c621f8e
/caldera/utils/__init__.py
b2967128d628a732cece629c50a123db23a166f8
[ "MIT" ]
permissive
jvrana/caldera
b6cc0faed560df6bfa15a3f460fed4ea18b8a55a
a346324e77f20739e00a82f97530dda4906f59dd
refs/heads/master
2023-04-27T04:19:05.499430
2021-03-09T16:37:50
2021-03-09T16:37:50
266,161,720
0
0
MIT
2020-08-12T01:40:48
2020-05-22T16:49:35
Jupyter Notebook
UTF-8
Python
false
false
1,795
py
r""" Caldera utility functions. .. autosummary:: :toctree: generated/ dict_join # pairwise Indexing -------- .. autosummary:: :toctree: generated/ reindex_tensor unravel_index Tensor ------ Utilities for :class:`torch.Tensor` .. autosummary:: :toctree: generated/ scatter_coo ...
[ "justin.vrana@gmail.com" ]
justin.vrana@gmail.com
db704e6bc73086f4b513638afc26cfca69671862
4618c0152d45bcb5f54e298661a1479c643353f4
/pyengine/api/v1/GetProductDetail.py
d47126c2ec1ccde23882d215ccd30c526680ccaf
[]
no_license
pyengine/catalog
07312fb7606f6ff0b7e55359740af4a4e5d509f4
2403563c1f93d988466a12b870ce25475b0d1d92
refs/heads/master
2021-01-10T04:47:24.200088
2016-04-13T15:04:47
2016-04-13T15:04:47
55,772,134
0
0
null
null
null
null
UTF-8
Python
false
false
454
py
from pyengine.lib.error import * from pyengine.lib.command import Command class GetProductDetail(Command): # Request Parameter Info req_params = { 'uuid': ('r', 'str'), } def __init__(self, api_request): super(self.__class__, self).__init__(api_request) def execute(self): ...
[ "choonho.son@gmail.com" ]
choonho.son@gmail.com
0f40308406e38359eb00bd87c471b5f1ff5f6778
0fba89a7703d883231decbb5b748d4df22832e6a
/recipe_scrapers/_decorators.py
87fb968ea2b97ba5373f8906f7b9acf4f19879ef
[ "MIT" ]
permissive
tobiaghiraldini/recipe-scrapers
c66f1fb448f6e696677ec95d43a595be8470e890
1ced80d25dcc6e88877c26187990f112f3134e67
refs/heads/master
2022-07-04T20:31:07.114353
2020-05-20T10:42:26
2020-05-20T10:42:26
262,996,294
0
0
MIT
2020-05-11T09:23:45
2020-05-11T09:23:45
null
UTF-8
Python
false
false
1,895
py
import functools from language_tags import tags from ._schemaorg import SchemaOrgException class Decorators: @staticmethod def schema_org_priority(decorated): """ Use SchemaOrg parser with priority (if there's data in it) On exception raised - continue by default. If there's ...
[ "hhursev@gmail.com" ]
hhursev@gmail.com
d9e5e750b84c63450d958537f59dbc8b3863f3b4
2194df5490666825d382e6e47bd33139b1faf0df
/vtools/videotoimage.py
ff6b9cb5e919adadbff64930f5eb8a56adafd551
[]
no_license
aiporre/video_tools
a88a3134c6148bd384c71e846aeab49da6bfab8e
f955c22fc7259a4b45592f522bb80f0533e6093d
refs/heads/master
2021-08-02T21:03:53.344844
2021-07-28T16:45:57
2021-07-28T16:45:57
213,970,927
0
0
null
null
null
null
UTF-8
Python
false
false
4,568
py
import cv2 import argparse import os from tqdm import tqdm class VideoToImage(object): def __init__(self, src=0, output_path = './', extension = '.jpg', prefix='frame_', padding=-1): # Create a VideoCapture object self.capture = cv2.VideoCapture(src) self.output_path = output_path ...
[ "ariel.iporre.rivas@gmail.com" ]
ariel.iporre.rivas@gmail.com
dab5a55c04a4f4242ed5725c95704470f8d27791
aa30891b324f86fe9c6a3eeeb6a9b8ae64b7d81d
/ex043.py
3f7ab5d16e10be268d9e4f0765ca04086af2ad88
[]
no_license
JoamirS/Exercicios-Python
0055c5f73b9d0fb2d5d780c620bb0c4840c7d1b8
09b74babdfdf7142254a8d14132859e52f7b52b6
refs/heads/master
2023-08-31T13:21:03.310332
2023-08-26T03:42:58
2023-08-26T03:42:58
178,745,611
0
0
null
null
null
null
UTF-8
Python
false
false
874
py
''' Desenvolva uma lógica que leia o peso e a altura de uma pessoa, calcule seu IMC e mostre seu status, de acordo com a tabela abaixo: - Abaixo de 18.5: Abaixo do Peso | - Entre 18.5 e 25: Peso ideal | 25 até 30: Sobrepeso | 30 até 40: Obesidade - Acima de 40: Obesidade Morbida ''' #Declarando as variá...
[ "jmrsilveira@outlook.com" ]
jmrsilveira@outlook.com
caa5d7f22e33db8b41abcb461289fd84c5a814ee
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/40/usersdata/78/24413/submittedfiles/main.py
eab508f3756a8f0f59276fbd4bed79017c152c6b
[]
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
332
py
# -*- coding: utf-8 -*- from __future__ import division import funcoes #COMECE AQUI m=int(input('digite o valor de m:') e=input('digite o valor de epsilon:') m=funcoes.absoluto(m) pi=funcoes.pi(m) cosseno=funcoes.cosseno(pi/5,e) razaoaurea=funcoes.razaoaurea(m,e) print('%.15f' %pi) print('%.15f' %razaoaurea) ...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
b0b53b387467c7290b49d7c01a16691b782d9100
951b605ea41da28dccba6d3de63fb9211b7ad5b1
/Mains/main.py
f3cabc1b8e650a5af81217b1b118a57e8a7327f4
[ "MIT" ]
permissive
tiangeluo/DefectiveCNN
99296f7a86efd3c4d044701f4e94388989cbd66a
fdbf5235adffa846630fadb4ff910de50870c077
refs/heads/master
2022-01-29T14:23:10.198712
2022-01-08T22:20:54
2022-01-08T22:20:54
222,830,775
1
1
null
null
null
null
UTF-8
Python
false
false
4,648
py
'''Train CIFAR10 with PyTorch.''' from __future__ import print_function import torch import torch.nn as nn import torch.optim as optim import torch.nn.functional as F import torch.backends.cudnn as cudnn import torchvision import torchvision.transforms as transforms import os import argparse #from models import * f...
[ "tiangelce@gmail.com" ]
tiangelce@gmail.com
13b2b9c390f93b4c58274db5a361c530327c3a2b
bbe74f172bf1f1cca1c77bd249c6f9a97ca897a4
/probs11-20/prob13.py
0e84fcee2846a2e45db91e51d3eefd773b8d39cf
[]
no_license
kruthar/euler
5b32b7780502ff82e855c0c9670c91aff3938c5d
18a59531f2108074de3a7db29a77017663753abc
refs/heads/master
2021-01-13T13:19:54.723543
2016-02-22T14:53:45
2016-02-22T14:53:45
52,280,655
0
0
null
null
null
null
UTF-8
Python
false
false
5,357
py
__author__ = 'kruthar' ''' Large Sum Work out the first ten digits of the sum of the following one-hundred 50-digit numbers. 37107287533902102798797998220837590246510135740250 46376937677490009712648124896970078050417018260538 74324986199524741059474233309513058123726617309629 91942213363574161572522430563301811072406...
[ "kruthar@gmail.com" ]
kruthar@gmail.com
19a5eb94d0a3c8ccb52b085d6825e08f5a8062ca
51f2492a5c207e3664de8f6b2d54bb93e313ca63
/atcoder/soundhound2018-summer-qual/c.py
93091c2550ea9792540a7ddf7fe97eb7d9c2060f
[ "WTFPL", "LicenseRef-scancode-unknown-license-reference" ]
permissive
abeaumont/competitive-programming
23c5aabd587d7bb15a61efd3428838cb934233dd
a24c9b89941a59d344b51dc1010de66522b1a0dd
refs/heads/master
2023-09-01T09:50:58.267361
2023-07-31T18:00:10
2023-07-31T18:00:10
117,589,708
618
262
WTFPL
2023-07-12T17:36:20
2018-01-15T20:00:56
C++
UTF-8
Python
false
false
296
py
#!/usr/bin/env python3 # https://soundhound2018-summer-qual.contest.atcoder.jp/tasks/soundhound2018_summer_qual_c n, m, d = map(int, input().split()) if d == 0: print('{:.10f}'.format((m - 1) / n)) else: t = n * (n - 1) // 2 print('{:.10f}'.format((m - 1) * (n - 1) * (n - d) / (t * n)))
[ "alfredo.beaumont@gmail.com" ]
alfredo.beaumont@gmail.com
8a2eb862ad50edda68a729d3dc9f11fc97df64e8
ec85250addb7357dfe7bb3e0680d53fc7b0fd8fb
/examples/docs_snippets/docs_snippets_tests/concepts_tests/resources_tests/test_resources.py
5e07b899452a7f25971b2a9d834e8dd7bb8a8a0f
[ "Apache-2.0" ]
permissive
dagster-io/dagster
6adb5deee8bcf3ea1866a6a64f2ed81e1db5e73a
fe21995e0402878437a828c6a4244025eac8c43b
refs/heads/master
2023-09-05T20:46:08.203794
2023-09-05T19:54:52
2023-09-05T19:54:52
131,619,646
8,565
1,154
Apache-2.0
2023-09-14T21:57:37
2018-04-30T16:30:04
Python
UTF-8
Python
false
false
1,581
py
from dagster import build_init_resource_context, build_op_context from docs_snippets.concepts.resources.resources import ( cereal_fetcher, connect, db_connection, db_resource, do_database_stuff_dev, do_database_stuff_job, do_database_stuff_prod, op_requires_resources, test_cm_resourc...
[ "noreply@github.com" ]
dagster-io.noreply@github.com
1856c7c864ac34d62c6c9bc7de93fbbd76a236f0
2bb90b620f86d0d49f19f01593e1a4cc3c2e7ba8
/pardus/tags/2009.1/x11/terminal/xterm/actions.py
0bc996b345bff3ffad1468eeeffc1e93bc0c3d83
[]
no_license
aligulle1/kuller
bda0d59ce8400aa3c7ba9c7e19589f27313492f7
7f98de19be27d7a517fe19a37c814748f7e18ba6
refs/heads/master
2021-01-20T02:22:09.451356
2013-07-23T17:57:58
2013-07-23T17:57:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,072
py
#!/usr/bin/python # -*- coding: utf-8 -*- # # Copyright 2009 TUBITAK/UEKAE # Licensed under the GNU General Public License, version 2. # See the file http://www.gnu.org/copyleft/gpl.txt. from pisi.actionsapi import autotools from pisi.actionsapi import pisitools from pisi.actionsapi import shelltools from pisi.actions...
[ "yusuf.aydemir@istanbul.com" ]
yusuf.aydemir@istanbul.com
0a53ab68989d286f013da079bf2fa922a9c6acde
8dd000d05a29cece1460fd48c4f6b12c56281ca1
/ugly/default_settings.py
e3dea2571f19db51dc2da821e5e99b015d7ad1a8
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
imclab/ugly
3e2717982b6e999c99d3e884d7f4d48d08fc7609
bc09834849184552619ee926d7563ed37630accb
refs/heads/master
2021-01-15T19:35:38.835572
2014-01-08T20:24:56
2014-01-08T20:24:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
398
py
# Flask stuff. DEBUG = False TESTING = False SECRET_KEY = "development key" # App stuff. ADMIN_EMAIL = "Ugly Reader <ugly@dfm.io>" BASE_MAILBOX = "[Ugly Reader]" AES_KEY = b"test AES key... change this in production" MAX_FEEDS = 100 # Database stuff. SQLALCHEMY_DATABASE_URI = "postgresql://localhost/ugly" # Google O...
[ "danfm@nyu.edu" ]
danfm@nyu.edu
8f55e7fc73404cd650b20ca669fd313db96f1b3c
4c67112b8e4c1ed7fd2f636a0dcee4972eeb79e6
/deployment/GPT2/encoder.py
f6508e866e80f4de9aaa34474e404aae72cbb3bd
[ "MIT" ]
permissive
t04glovern/gpt2-k8s-cloud-run
700cc8da97e8b42ca39fb0aed9a26f7edebb090b
687a20f76c3e53f917ea9553e569be52deb323d6
refs/heads/master
2023-06-04T14:07:50.532901
2022-09-03T12:58:48
2022-09-03T12:58:48
180,802,919
8
1
MIT
2023-05-22T21:56:35
2019-04-11T13:53:44
Python
UTF-8
Python
false
false
4,156
py
"""Byte pair encoding utilities""" import os import json import regex as re from functools import lru_cache @lru_cache() def bytes_to_unicode(): """ Returns list of utf-8 byte and a corresponding list of unicode strings. The reversible bpe codes work on unicode strings. This means you need a large # o...
[ "nathan@glovers.id.au" ]
nathan@glovers.id.au
dfea14f587580d86c76f3dbc73c65587e1154af8
faaf12ab18978082233c09628b815a69e73868e4
/leetcode/algorithms/easy/keep_multiplying_found_values_by_two.py
9d03b8b29a25813877514664235bcbeb70bc846b
[ "WTFPL" ]
permissive
ferhatelmas/algo
6826bcf0be782cb102c1ee20dce8d4345e1fd6d2
7b867f6d2c8a9fb896f464168b50dfc115617e56
refs/heads/master
2023-08-18T19:59:58.435696
2023-08-14T10:16:00
2023-08-14T10:16:00
3,813,734
27
16
WTFPL
2020-10-25T23:00:16
2012-03-23T23:43:31
Java
UTF-8
Python
false
false
212
py
from typing import List class Solution: def findFinalValue(self, nums: List[int], original: int) -> int: s = set(nums) o = original while o in s: o *= 2 return o
[ "elmas.ferhat@gmail.com" ]
elmas.ferhat@gmail.com
5a43f55a19e3c63e780c242dc3f5a1013c94a070
a951ccc03e99ae61178ab85f6db0fd5968709280
/prefix_sums/genomic_range.py
04f8f6028e9ab8f7e8919e44da513188dc5cd481
[]
no_license
mmanishh/codilitysolution
37142e66c25f786ef7bedaebbe0b164e50ff7804
d3487be50e52861cc59d3651e996d4d23cb32613
refs/heads/master
2021-07-07T12:58:07.651699
2020-08-07T10:00:21
2020-08-07T10:00:21
163,286,608
0
0
null
null
null
null
UTF-8
Python
false
false
429
py
def genomic_range(S,P,Q): S = list(S) new_s = [] result = [] impact = {'A':1,'C':2,'G':3,'T':4} for s in S: new_s.append(impact[s]) for i in range(len(P)): l ,r = P[i] , Q[i] sliced = new_s[l:r+1] result.append(min(sliced)) return result if __na...
[ "dfrozenthrone@gmail.com" ]
dfrozenthrone@gmail.com
b53210f45388c5820faf0c133ad6ef73039b955b
9a034b12c845d01f36aff2e5fdbf8486a9e8a642
/faketrudy/trudy_api/migrations/0005_child_tweets.py
58e5ce1a352b4425e107065b667d213e62e02fbe
[]
no_license
piyush6191996/Django-Rest-Framework
2d1cd89de700e7aa68f93f9104418c05c70e800a
3950a72bed52fd4bcbec3de439fe9f1130df10f9
refs/heads/master
2020-03-15T06:00:31.362680
2018-05-07T19:09:17
2018-05-07T19:09:17
131,998,569
0
0
null
null
null
null
UTF-8
Python
false
false
1,464
py
# Generated by Django 2.0.2 on 2018-04-10 08:05 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('trud...
[ "you@example.com" ]
you@example.com
fac948d696d4a82b62dca8ce6557a6b4e27a4e6e
0ecb1763b4cab08a1fb80234639e46afc8921e2f
/further/routing_1.py
882cf1231be2c220621e4dd32a8a4aea3cdd9566
[]
no_license
mach8686devops/pyside6-demo
4eed3713288ec21b0ec4b8561290f87925693b89
848302ff9c1536034cf5f225fa953944d011c2a4
refs/heads/main
2023-05-05T11:12:20.711846
2021-05-28T13:44:41
2021-05-28T13:44:41
371,714,201
0
0
null
null
null
null
UTF-8
Python
false
false
1,491
py
import sys from PySide6.QtCore import QSize, Qt from PySide6.QtWidgets import QApplication, QLabel, QMainWindow class MainWindow(QMainWindow): def __init__(self): super().__init__() self.label = QLabel("Click in this window") self.status = self.statusBar() self.setFixed...
[ "zhangjohn202@gmail.com" ]
zhangjohn202@gmail.com
f9a3bff56e5ed0ba4f874a6571ecf9e908e79f95
de1f9d660cfb738afdb66e4a2d63a4577c07d9c6
/xcube/webapi/defaults.py
e2f0580e213aeaa838812aab943976b33b2c918e
[ "MIT" ]
permissive
rabaneda/xcube
db47eb416db85df891a924063482a7943cae9d4f
0d38ca513987184dbc4a37da1616e4076964d0f1
refs/heads/master
2020-11-24T00:11:17.107630
2020-02-11T10:11:34
2020-02-11T10:11:34
227,877,138
0
0
MIT
2019-12-13T16:14:51
2019-12-13T16:14:50
null
UTF-8
Python
false
false
1,831
py
# The MIT License (MIT) # Copyright (c) 2019 by the xcube development team and contributors # # Permission is hereby granted, free of charge, to any person obtaining a copy of # this software and associated documentation files (the "Software"), to deal in # the Software without restriction, including without limitation...
[ "norman.fomferra@gmail.com" ]
norman.fomferra@gmail.com
16788fb6c4d87a3d199099337d60a972ac10c1d0
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_5631989306621952_1/Python/gvalli/2016-1A-A-lastword.py
becda986965852bb63622f5a8164983cb9663cf1
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
Python
false
false
444
py
#! /#!/usr/bin/env python # -*- coding: utf-8 -*- import sys fh = open(sys.argv[1], 'r') T = int(fh.readline()) # number of test cases for t in range(T): S = fh.readline().split()[0] # string of letters res = '' oldval = -1 for c in S: val = ord(c) if val >= oldval: res =...
[ "alexandra1.back@gmail.com" ]
alexandra1.back@gmail.com
def6c18b46463b5c3cd481ceefdafb7b8c4e49d6
98a936d5372294ed892a9bf9cf98646c72af515c
/usage/lab/explorer_usage.py
fd4a3b0be9636dbe6d5abd61ffe6a45858e3c81c
[ "MIT" ]
permissive
edublancas/pipeline
f6d22ad07b134be98c139d1de6ca7d8321072ba8
5bef04d77fdadc1dc4ec22b9b346f0a062cca1ce
refs/heads/master
2021-05-15T01:09:50.072378
2016-12-29T05:45:48
2016-12-29T05:45:48
59,692,708
0
0
null
null
null
null
UTF-8
Python
false
false
1,169
py
from pipeline import ExperimentExplorer # load everything explorer = ExperimentExplorer() # just load results from my_experiment_a explorer = ExperimentExplorer('my_experiment_a') # load results from my_experiment_a and my_experiment_b explorer = ExperimentExplorer(['my_experiment_a', 'my_experiment_b']) # compute ne...
[ "edu.blancas@gmail.com" ]
edu.blancas@gmail.com
c5a4840e2abacff143dd7d855e796d90b83c83fe
d9eef8dd3489682c8db41f2311e3058d1f369780
/.history/abel-network-files/metis_transf_20180709124830.py
42a9fae8f327a0df02f62926b8ffe1d5dacf3f19
[]
no_license
McKenzie-Lamb/Gerrymandering
93fe4a49fe39a0b307ed341e46ba8620ea1225be
b7a7c4129d6b0fcd760ba8952de51eafa701eac3
refs/heads/master
2021-01-25T06:06:43.824339
2018-10-16T14:27:01
2018-10-16T14:27:01
93,526,515
0
0
null
2018-07-12T19:07:35
2017-06-06T14:17:47
Python
UTF-8
Python
false
false
2,331
py
# Author: Abel Gonzalez # Date: 06/26/18 # # Description: # This program uses the .shp file to create a network graph where each node # represents a census tract and the edge represents adjacency between each # tract, usign graph-tool instead of networkx import graph_tool.all as gt import metis from pathlib import Pat...
[ "gonzaleza@ripon.edu" ]
gonzaleza@ripon.edu
cde74c8664798c8237fa5329c575a705974c6f41
34c5a03855ab0aca39acea941be520157f7d0b74
/lib/ansible/modules/cloud/alicloud/ali_slb_vsg_info.py
72e35f09e490e814c2cd95556da2fa6bd18f6359
[ "Apache-2.0" ]
permissive
lixue323/ansible-provider
1260d1bc17a2fa7bf4c0f387a33dd942059850ed
aae2658532afcbcdf471609fae0e2108fb57af3b
refs/heads/master
2020-08-11T21:44:37.685788
2019-12-13T03:11:23
2019-12-13T04:00:45
214,633,323
0
1
Apache-2.0
2019-10-12T11:12:07
2019-10-12T11:12:07
null
UTF-8
Python
false
false
6,239
py
#!/usr/bin/python # Copyright (c) 2017-present Alibaba Group Holding Limited. He Guimin <heguimin36@163.com.com> # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # # This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under t...
[ "guimin.hgm@alibaba-inc.com" ]
guimin.hgm@alibaba-inc.com
4067eaa4a5851aa47554afb318aa9f0825522d89
c9490d7bb9c3add1a5e71b06c9180260ffc1fff5
/web_dynamic/2-hbnb.py
2eadee48a25ba93f32aa643310baf9dfb56b7b2c
[ "MIT" ]
permissive
PierreBeaujuge/AirBnB_clone_v4
54a255023587e6e291f41410f124da8089f2a5b7
f93bb1f22660f4497fb942abe120a5e69815affc
refs/heads/master
2021-01-04T15:00:01.541582
2020-10-08T09:04:29
2020-10-08T09:04:29
240,601,631
0
1
MIT
2020-02-18T02:25:15
2020-02-14T21:28:36
HTML
UTF-8
Python
false
false
1,351
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 import uuid # flask setup app = Flask(__name__) app.url_map.strict_slashes = False port = 5000 host = '0.0.0.0' # begin flask page rendering @app.teardow...
[ "pierre.beaujuge@gmail.com" ]
pierre.beaujuge@gmail.com
d891da04d501abe4b1f6da6ca84babc9ccac723d
d7fb8eacd8a1aae8fe6eb49111f93090b7e87ce0
/backend/tstcr2020102701_dev_14091/settings.py
e74bd1f3e5a9f57d885d8b38f60ca2550b592ad3
[]
no_license
crowdbotics-apps/tstcr2020102701-dev-14091
4d5bcfc2b0aa29e67cebcd8948258b75e8ad9c6b
cc6ba4999444c7e93943f76af75c2506048bf2b6
refs/heads/master
2023-01-03T05:09:02.457778
2020-10-28T21:59:17
2020-10-28T21:59:17
307,772,734
0
0
null
null
null
null
UTF-8
Python
false
false
6,125
py
""" Django settings for tstcr2020102701_dev_14091 project. Generated by 'django-admin startproject' using Django 2.2.2. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/...
[ "team@crowdbotics.com" ]
team@crowdbotics.com