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
a352a0a1b1ee3450f63f90b6486011d84e3b1868
e87c04d6c2bbba383f9c75620b16f02358039ab5
/보충/미로1.py
889bc61652d663fee00031279caf1f6e9ba1bf6d
[]
no_license
yoonwoo123/Algorithm
2bf6e103009572cbcf3abfd783f6c28762529340
5d1e76f1bf6c2fc6acb25dc5296d62b2ca453ec6
refs/heads/master
2022-06-18T14:06:06.248906
2022-05-29T10:41:15
2022-05-29T10:41:15
221,483,283
0
0
null
null
null
null
UTF-8
Python
false
false
706
py
import sys sys.stdin = open("미로1_input.txt") dx = [1, 0, -1, 0] # 우, 하, 좌, 상 dy = [0, 1, 0, -1] def dfs(x, y): maze[y][x] = 9 # 방문표시 for i in range(4): global flag nx = x + dx[i] ny = y + dy[i] if maze[ny][nx] == 3: flag = 1 break if maze[ny]...
[ "lkkjasd@korea.ac.kr" ]
lkkjasd@korea.ac.kr
8f90f53f4f8b98f34c6f21170636a11a3faf3b30
456433ac78b70cb8ae076ae166a85e349f181d7f
/systems/KURSSKLAD/KURSTERM/TRANSUNITRETURN/transunitreturn.py
014805c78aeb006058805d3a66217c259c87f717
[]
no_license
shybkoi/WMS-Demo
854c1679b121c68323445b60f3992959f922be8d
2525559c4f56654acfbc21b41b3f5e40387b89e0
refs/heads/master
2021-01-23T01:51:20.074825
2017-03-23T11:51:18
2017-03-23T11:51:18
85,937,726
0
0
null
null
null
null
WINDOWS-1251
Python
false
false
3,269
py
# -*- coding: cp1251 -*- from systems.KURSSKLAD.KURSTERM.common import TCommonTerm from systems.KURSSKLAD.KURSTERM.TRANSUNITRETURN.templates.index import index from systems.KURSSKLAD.KURSTERM.TRANSUNITRETURN.templates.auto import auto from systems.KURSSKLAD.KURSTERM.TRANSUNITRETURN.templates.autoTransUnit import autoT...
[ "s.shybkoi@gmail.com" ]
s.shybkoi@gmail.com
925ca8233ec1f869327ec17b01779d58af3a7eeb
ad9bd58a3ec8fa08dfcc994d4101ee815a9f5bc0
/02_algorithm/04.Stack/20190819/stack_practice_03/stack_practice_03.py
a2b7c341e89dea47790118435e6561dd2c2769d4
[]
no_license
wally-wally/TIL
93fc1d0e3bc7d030341ed54155294c68c48b4c7d
936783bc86f563646c0398c24e2fcaa707f0ed23
refs/heads/master
2023-04-28T08:59:48.235747
2023-04-12T12:06:52
2023-04-12T12:06:52
195,918,111
40
7
null
2020-09-29T16:20:46
2019-07-09T02:31:02
Python
UTF-8
Python
false
false
632
py
# 문제를 재귀적으로 푼다 # 재귀적 정의를 구현할 때 재귀호출이 좋다. # 재귀적 정의 --> 좀 더 작은 문제의 답을 사용해서 더 큰 문제의 답을 구하는 방법 # 팩토리얼 예제 # 문제의 크기는 자연수로 표현 # 1, n = 1 or 0 # (n-1)! * n, n > 1 def factorial(n): # n(매개변수) : 문제(크기)를 나타내는 값 # 반환값 = n!의 값(문제의 해) if n == 0 or n == 1: # 기저 사례 # 재귀호출 하지 않고 종료 return 1 ...
[ "wallys0213@gmail.com" ]
wallys0213@gmail.com
dde95a6598f20b7d186a996cf811781d6e534b9e
9633f30e171550a5008ffe1a90d21254e7fe9c19
/0x0C-python-almost_a_circle/models/base.py
b9ce9c1c1c3eaf425240be1a6412718d8d35b1ae
[]
no_license
jj131204/holbertonschool-higher_level_programming
95e2b528bc68e7a3897c5ff49a23b1f37e9abee4
be2afa3b2a54e88d7dd4e39e5116c9bd1b941ba6
refs/heads/master
2023-08-30T16:56:37.834970
2021-09-22T22:34:37
2021-09-22T22:34:37
361,829,671
0
0
null
null
null
null
UTF-8
Python
false
false
1,010
py
#!/usr/bin/python3 """create class Base""" import json class Base: """class base""" __nb_objects = 0 def __init__(self, id=None): """ def __init__(self, id=None): """ if id is not None: self.id = id else: Base.__nb_objects += 1 self.id = Base...
[ "jj131204@gmail.com" ]
jj131204@gmail.com
c9b09b68eed4b34734399a88a6c0a55d7be9401c
95495baeb47fd40b9a7ecb372b79d3847aa7a139
/test/test_access_policy_category.py
11c2017c46bf3867b915f353ab0c59fca1768429
[]
no_license
pt1988/fmc-api
b1d8ff110e12c13aa94d737f3fae9174578b019c
075f229585fcf9bd9486600200ff9efea5371912
refs/heads/main
2023-01-07T09:22:07.685524
2020-10-30T03:21:24
2020-10-30T03:21:24
308,226,669
0
0
null
null
null
null
UTF-8
Python
false
false
1,242
py
# coding: utf-8 """ Cisco Firepower Management Center Open API Specification **Specifies the REST URLs and methods supported in the Cisco Firepower Management Center API. Refer to the version specific [REST API Quick Start Guide](https://www.cisco.com/c/en/us/support/security/defense-center/products-programmi...
[ "pt1988@gmail.com" ]
pt1988@gmail.com
67356b560bdcc2411922d7c19c8c1593edebbd9e
7cbdb437946c7c79ca514f52c352ae3bfe5b1aaf
/recipe/tests.py
ee043909e2b45e6e4aff36e23350a72f8a89a11c
[]
no_license
SamirIngley/Recipes-Blog
435311fab3cb27f0b288729805a2aed50bfb9a3f
7b12f50738b4f65557c0e1f92f905ddd83de2ebf
refs/heads/master
2020-11-26T22:27:49.239843
2019-12-26T01:21:19
2019-12-26T01:21:19
229,217,552
0
0
null
2020-06-06T01:05:46
2019-12-20T07:55:06
Python
UTF-8
Python
false
false
1,838
py
# wiki/tests.py from django.test import TestCase from django.contrib.auth.models import User from recipe.models import Page class RecipeTestCase(TestCase): def test_true_is_true(self): """ Tests if True is equal to True. Should always pass. """ self.assertEqual(True, True) def test_page_slugif...
[ "samir.ingle7@gmail.com" ]
samir.ingle7@gmail.com
90d4aab70505bc32d8460fdc76a1d6a0bc6b0724
90419da201cd4948a27d3612f0b482c68026c96f
/sdk/python/pulumi_azure_nextgen/compute/v20191201/get_log_analytic_export_throttled_requests.py
3a6f0ea7758156897c6c5bbd943793b12d7e02fe
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
test-wiz-sec/pulumi-azure-nextgen
cd4bee5d70cb0d332c04f16bb54e17d016d2adaf
20a695af0d020b34b0f1c336e1b69702755174cc
refs/heads/master
2023-06-08T02:35:52.639773
2020-11-06T22:39:06
2020-11-06T22:39:06
312,993,761
0
0
Apache-2.0
2023-06-02T06:47:28
2020-11-15T09:04:00
null
UTF-8
Python
false
false
3,608
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from ... import _utilities, _tables from...
[ "noreply@github.com" ]
test-wiz-sec.noreply@github.com
288e76ce905f639a74ba721fd38b41fc04c40f45
16e498600e8e9f1c0f3f0e2c4b2df2dcb56b9adc
/registration/admin.py
ea137c1ff68e3fdf9cd248567b622cc64d6f5948
[ "BSD-3-Clause" ]
permissive
kklimonda/django-registration
b220338f0775ea7313a481438cade9341ef078c3
9d4099011c64d0e9d1a502a7b230fa2547d7f771
refs/heads/master
2021-01-17T07:28:05.795437
2013-04-14T03:06:20
2013-04-14T03:06:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,611
py
from django.contrib import admin from django.contrib.sites.models import RequestSite from django.contrib.sites.models import Site from django.utils.translation import ugettext_lazy as _ from .models import RegistrationProfile class RegistrationAdmin(admin.ModelAdmin): actions = ['activate_users', 'resend_activat...
[ "rochacbruno@gmail.com" ]
rochacbruno@gmail.com
64b4dc3e651ef1a0377081e5697aad87c4789d60
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/73/usersdata/214/39782/submittedfiles/triangulo.py
fc7eb86f1197185aca4df06deba4e940fa9bee35
[]
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
475
py
# -*- coding: utf-8 -*- import math a=int(input('Digite a:')) b=int(input('Digite a:')) c=int(input('Digite a:') a>=b>=c>0 if a<b+c: print('S') else: print('N') if a+b<c: if(a**2)==(b**2)+(c**2): print ('Re') if(a**2)==(b**2)+(c**2): print('Ob') if(a**2)==(b**2)+(c**2): ...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
99df5d6a98c97acee2ab5bf8db8f1a542093aa9b
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/59/usersdata/195/61824/submittedfiles/testes.py
569ee6ed3f4b3b4a00c2e1c54c88be2f1a92f096
[]
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
296
py
# -*- coding: utf-8 -*- import numpy as np def transposta(b): b=[] for i in range(0,b.shape[0],1): for j in range(0,b.shape[1],1): b[i,j]==a[j,i] b[i,j]=float(input('elemento:')) n=int(input('linas:')) m=int(input('colunas:')) b=b.zeros((n,m)) print(transposta(b))
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
5bae0b9fbbefb10205ba1adbbadbfbd3ca07d7f8
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_funnelled.py
1b5788bd13ce44f929c9be42befa4a4c2f4fd558
[ "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
226
py
#calss header class _FUNNELLED(): def __init__(self,): self.name = "FUNNELLED" self.definitions = funnel self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['funnel']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
fdbc362014380cedc9ec820a8c28b657237f2444
dd8511e1209646823f7ec2a2ce669171f9b0a5cc
/plato/tools/common/test_symbolic_predictors.py
3dfd88b375367eee00f840f7afbef08a991bd643
[]
no_license
codeaudit/plato
9e8df28e589d6c43aef2271e9f940076ef4a143d
ba19f92a42729e9d3cf5da05746dead83db3f41c
refs/heads/master
2021-01-12T11:32:34.796675
2016-10-07T14:05:00
2016-10-07T14:05:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,025
py
from plato.tools.mlp.mlp import MultiLayerPerceptron from plato.tools.optimization.cost import negative_log_likelihood_dangerous from plato.tools.common.online_predictors import GradientBasedPredictor from plato.tools.optimization.optimizers import SimpleGradientDescent from utils.benchmarks.train_and_test import perce...
[ "peter.ed.oconnor@gmail.com" ]
peter.ed.oconnor@gmail.com
e8d66db9f808801439a592d691e8ab8563e3eb6b
1eb7fa8b1745d4e51cefb4eceb44621862516aa6
/Company Interview/FB/SerializeAndDeserialize.py
33ca3c4b67d0cd6cb974244469491f275d5f25f1
[]
no_license
geniousisme/CodingInterview
bd93961d728f1fe266ad5edf91adc5d024e5ca48
a64bca9c07a7be8d4060c4b96e89d8d429a7f1a3
refs/heads/master
2021-01-10T11:15:31.305787
2017-03-06T00:03:13
2017-03-06T00:03:13
43,990,453
0
1
null
null
null
null
UTF-8
Python
false
false
1,175
py
class TreeNode(object): def __init__(self, x): self.val = x self.left = None self.right = None class Codec(object): def serialize(self, root): def serializer(root): if root is None: res.append('#') return res.append(str(roo...
[ "chia-hao.hsu@aiesec.net" ]
chia-hao.hsu@aiesec.net
3ea21ddb2ae9b03c9181387ce1af7ce6b652d1cb
e18b3cb22c09cb6b2fff7555eeaeddba1513ac1f
/python_stack/flask_fundamentals/whats_my_name/app.py
4bafe3b4c5f7d1bd350de8f8e61c352ad859b72d
[]
no_license
LawerenceLee/coding_dojo_projects
e71760850f3164fbd217004d0ea2f38c5bddd2d8
099b1f862ec520bab93c58235151680bb74c0bf6
refs/heads/master
2021-05-10T16:11:40.466412
2018-05-09T02:24:04
2018-05-09T02:24:04
118,569,970
1
1
null
2018-03-24T22:37:58
2018-01-23T06:48:41
Python
UTF-8
Python
false
false
417
py
from flask import (Flask, render_template, redirect, request, url_for) DEBUG = True PORT = 8000 HOST = "0.0.0.0" app = Flask(__name__) @app.route('/') def index(): return render_template('index.html') @app.route("/process", methods=['POST']) def process(): print(request.form['your-name']) return redir...
[ "lucifitz.edward@gmail.com" ]
lucifitz.edward@gmail.com
8b648420b85b3333e48cd30d97adff051fcc4d67
2a1969afe3818412140efb25921f35610dd9023d
/python/pythonGUI/PyQt5/my note/examples/3_3_box_layout_vbox_hbox.py
dedee22f54e3d8a2e9f2906c1cc1aad0231bdc2f
[]
no_license
Light2077/LightNote
149cf42089f15bbebd62e27fe5aa6afe67f25779
cd733014f8be44207d624a5fd02dfddcd776aad1
refs/heads/master
2023-09-01T07:49:05.494481
2023-08-24T10:00:09
2023-08-24T10:00:09
224,410,710
4
0
null
null
null
null
UTF-8
Python
false
false
1,036
py
import sys from PyQt5.QtWidgets import ( QApplication, QMainWindow, QWidget, QVBoxLayout, QHBoxLayout, QPushButton, ) class Example(QMainWindow): def __init__(self, parent=None): super().__init__(parent=parent) self.setGeometry(200, 200, 300, 150) self.setWindowTitl...
[ "435786117@qq.com" ]
435786117@qq.com
c5aed1e631b4cec0b812399ab18123634d8a5671
c3dc08fe8319c9d71f10473d80b055ac8132530e
/challenge-165/roger-bell-west/python/ch-1.py
460191357b2828a60f49ec73f416a12739c54f30
[]
no_license
southpawgeek/perlweeklychallenge-club
d4b70d9d8e4314c4dfc4cf7a60ddf457bcaa7a1e
63fb76188e132564e50feefd2d9d5b8491568948
refs/heads/master
2023-01-08T19:43:56.982828
2022-12-26T07:13:05
2022-12-26T07:13:05
241,471,631
1
0
null
2020-02-18T21:30:34
2020-02-18T21:30:33
null
UTF-8
Python
false
false
1,280
py
#! /usr/bin/python3 import fileinput points = [] lines = [] x = [] y = [] for line in fileinput.input(): line=line.rstrip() f = [int(i) for i in line.split(',')] for i in range(len(f)): if i % 2 == 0: x.append(f[i]) else: y.append(f[i]) if len(f) == 4: lines.append(f) if len(f) == ...
[ "roger@firedrake.org" ]
roger@firedrake.org
2a2eedd00c5d7719d072f84307fedc954789ea25
32b46b0955d1abd963077c7ed6f614c8fa1403e9
/BT/pyobjc-core-3.0.4/build/lib.macosx-10.11-intel-2.7/PyObjCTest/test_inspect_signatures.py
91eb53069c7804e7efe4a7ac50b850519d493a79
[ "MIT" ]
permissive
ivanmolera/Raspberry
3771f74ce4e4667c95081bfa38a2b39ec6375a26
30d16fdb88efc2aec347047eef26da213346cd1a
refs/heads/master
2021-01-19T20:27:51.424504
2018-02-10T16:48:30
2018-02-10T16:48:30
88,509,424
2
0
null
null
null
null
UTF-8
Python
false
false
1,624
py
from PyObjCTools.TestSupport import * import objc import types import inspect class TestInspectSignatures (TestCase): @min_python_release("3.4") def test_module_functions_signature(self): for nm in dir(objc): obj = getattr(objc, nm) if isinstance(obj, types.BuiltinMethodType): ...
[ "ivan.molera@gmail.com" ]
ivan.molera@gmail.com
ce452c20e4b8d2186443529b945ac3386d21abc2
552320aa1aed946ac6e83a149355d495252e09f4
/rule/rule-code/oracle/DML_SORT.py
89a12a34f4f23ee4c2386b611357ac74181aa3cc
[]
no_license
kk71/sqlaudit
59bab5765a67f56f1dd2f3103812051c5acbbc49
51b4a3b188ab31da5511bb68f617933d771a3d51
refs/heads/main
2023-02-04T18:38:46.125746
2020-06-30T06:06:51
2020-06-30T06:06:51
323,559,338
1
0
null
null
null
null
UTF-8
Python
false
false
313
py
import re def code(rule, entries, **kwargs): single_sql: dict = kwargs.get("single_sql") sql_text: str = single_sql["sql_text_no_comment"] dml_sort = re.compile(r"(\s)?((update )|(delete )).*order by", re.M+re.I) if dml_sort.search(sql_text): yield single_sql code_hole.append(code)
[ "kai.fang@kirintech.cn" ]
kai.fang@kirintech.cn
1841e5f59a2690cdc2fb0f3fe2a6685186d96ab9
ce7fb81204902a49786b6b9cbf29647d159f28c3
/node/SQL/mysql/tbl_vector_style_insert.py
961d1c50619e01fe8b7ec63c6907d31cdb4ffd3a
[]
no_license
seefs/Source_Insight
cddc11b80b2ffe7d01200867d9db5185521ed201
130d807d99333d11a708e59a80b06b0a5377f1a3
refs/heads/master
2023-08-16T21:16:19.543498
2023-08-06T18:17:11
2023-08-06T18:17:11
165,578,073
7
3
null
null
null
null
UTF-8
Python
false
false
1,831
py
import pymysql import re # 打开数据库连接 db = pymysql.connect("localhost","root","s0f0s0","jiebanew" ) # 使用cursor()方法获取操作游标 cursor = db.cursor() match_str = '_' dict = {} sql_rd = "SELECT * FROM tbl_base_all" sql_rd = "SELECT * FROM tbl_base_all" #sql_wr_pre = "UPDATE tbl_vector SET `VC%s` =%s where VID = %s;" sql_w...
[ "seefs@163.com" ]
seefs@163.com
29f4630dce6ed1e24ddcb6b1e4a73d2781516456
60325d386df03a8a5d2602139b9b6a7422c8e79c
/Python/SOP/SOP_create_gizmo.py
c0be55f579105a0634ea62df51c95a0e96d13af0
[]
no_license
jsa4000/SideFX-HOUDINI
98f5aacfda4709a721a7cadb3c61171f1b8012ae
2366b4b87c0e780dbc9ccecfc8bc04f8e59a01c9
refs/heads/master
2021-01-22T09:27:57.533881
2017-04-28T11:23:22
2017-04-28T11:23:22
81,961,380
5
3
null
null
null
null
UTF-8
Python
false
false
1,149
py
node = hou.pwd() geo = node.geometry() # Add code to modify contents of geo. # Use drop down menu to select examples. attrib = geo.addAttrib(hou.attribType.Point,"Cd",(0,0,0)) # Vector X (Side) sidevector = hou.Vector3((1.0,0.0,0.0)) sidevector.normalized() attribSide = geo.addAttrib(hou.attribType.Point,"Side",side...
[ "jsa4000@gmail.com" ]
jsa4000@gmail.com
2fc2533d27af5189679f1be9017cff8d67e35c0d
02e5b1240db2ef04b4f8b661a9ac4ce060144d74
/test/geweke_ct_test.py
5b96979aa97f893c391cdafaa57f3d088f12b1fa
[ "MIT" ]
permissive
jayeshchoudhari/pyhawkes
b3b143a5040730826c23a9b3703159dbeb9bf21d
f4b0e6e3ce7f74e647f0ed2254ea334c22d6e82b
refs/heads/master
2021-06-12T12:55:54.740142
2017-03-27T06:47:16
2017-03-27T06:47:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,149
py
import numpy as np np.random.seed(1234) import matplotlib.pyplot as plt from scipy.stats import gamma, t, probplot from pyhawkes.models import ContinuousTimeNetworkHawkesModel from pybasicbayes.util.text import progprint_xrange def test_geweke(): """ Create a discrete time Hawkes model and generate from it. ...
[ "scott.linderman@gmail.com" ]
scott.linderman@gmail.com
454486b360222d0be71121c0c3b0766b377b6de8
4369c5a214f8c4fb1f8a286f72d57cfa9c3f02c7
/geotrek/tourism/migrations/0004_auto_20190322_1908.py
f03a350395c6ef760026fa83bddfb5dc1f73f878
[ "BSD-2-Clause" ]
permissive
GeotrekCE/Geotrek-admin
c13d251066e92359c26f22d185b8bd2e26e622ef
a91b75261a876be51ad2a693618629900bea6003
refs/heads/master
2023-08-21T12:45:25.586551
2023-08-09T12:28:33
2023-08-09T12:28:33
9,886,107
71
56
BSD-2-Clause
2023-09-13T09:40:33
2013-05-06T12:17:21
Python
UTF-8
Python
false
false
1,182
py
# Generated by Django 1.11.14 on 2019-03-22 18:08 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('tourism', '0003_auto_20190306_1417'), ] operations = [ migrations.AlterModelOptions( name='touristiccontenttype1', ...
[ "gael.utard@makina-corpus.com" ]
gael.utard@makina-corpus.com
3b9e645996132a272316f8928612a8d743e4ee43
026f12a5fdd4b3bfee00713091267aaef71047c1
/end/demo1/bookdemo/polls/forms.py
59f1ce8aebd950796aeffb0769d69f030a0e8aaa
[]
no_license
zzy0371/py1911project
64c64413ea0107926ae81479adc27da87ee04767
7ce2a2acfc1dade24e6e7f8763fceb809fabd7a1
refs/heads/master
2023-01-08T07:51:13.388203
2020-03-19T03:31:33
2020-03-19T03:31:33
239,649,431
0
1
null
2023-01-05T09:04:53
2020-02-11T01:22:35
JavaScript
UTF-8
Python
false
false
1,112
py
from django import forms from .models import User class LoginForm(forms.Form): """ 定义一个登录表单用于生成html登录表单 """ username = forms.CharField(max_length=150,min_length=3, label="输入用户名", help_text="用户名最小6,最大150",) password = forms.CharField(min_l...
[ "496575233@qq.com" ]
496575233@qq.com
6eea14cd8ff6d3489b18e1c0a58b2528c6b0370c
a4deea660ea0616f3b5ee0b8bded03373c5bbfa2
/concrete_instances/register-variants/vrsqrtps_xmm_xmm/instructions/vrsqrtps_xmm_xmm/vrsqrtps_xmm_xmm.gen.vex.py
9f8d295f1eb314cbe69055e099f7208efc7b0bdf
[]
no_license
Vsevolod-Livinskij/x86-64-instruction-summary
4a43472e26f0e4ec130be9a82f7e3f3c1361ccfd
c276edab1b19e3929efb3ebe7514489f66087764
refs/heads/master
2022-02-02T18:11:07.818345
2019-01-25T17:19:21
2019-01-25T17:19:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
190
py
import angr proj = angr.Project('./instructions/vrsqrtps_xmm_xmm/vrsqrtps_xmm_xmm.o') print proj.arch print proj.entry print proj.filename irsb = proj.factory.block(proj.entry).vex irsb.pp()
[ "sdasgup3@illinois.edu" ]
sdasgup3@illinois.edu
b63fa9d1cd2d5f05bba5cf59b8e7584e386ff9ef
25d081c82bf9adc2a8d96c254df0239a9f982a71
/tools/file_search.py
11469d4167adeef4ce416653eba9b2256b77e6d2
[ "MIT" ]
permissive
asiekierka/z2
f102de582aaa9fc51b6b598a1fb07c58be4f540f
d926408423dc98d71d5e7fc2fda3202c03c309de
refs/heads/master
2021-06-15T15:09:41.614135
2021-02-23T02:44:54
2021-02-23T02:44:54
146,348,922
1
0
MIT
2018-08-27T20:14:46
2018-08-27T20:14:46
null
UTF-8
Python
false
false
2,140
py
import django import os import re import sys import zipfile sys.path.append("/var/projects/museum") os.environ.setdefault("DJANGO_SETTINGS_MODULE", "museum.settings") django.setup() from museum_site.models import File # noqa: E402 from museum_site.constants import SITE_ROOT # noqa: E402 def main(): shortcuts ...
[ "doctordos@gmail.com" ]
doctordos@gmail.com
de3366ed069ff8116b3bfe89dc977aaa79c406f6
ea35facf6d823e93706b5f551408250b1e089be9
/共通問題/14_12.py
d02d6ce9cf4df2e35aed12e8c7dfc19af3116257
[]
no_license
YukiNGSM/PythonStudy
7a2d24f4762e384531eadd691858296b00b6a6b3
26310d0e007745ff4920ccd0fc3e51771cb2d5f1
refs/heads/master
2023-07-19T00:06:29.061255
2021-09-22T01:29:49
2021-09-22T01:29:49
409,025,304
0
0
null
null
null
null
UTF-8
Python
false
false
482
py
address_str = input("住所を入力してください:") index = 0 if address_str.find("東京都") != -1: index = address_str.find("都") elif address_str.find("北海道") != -1: index = address_str.find("道") elif address_str.find("大阪府") != -1 or address_str.find("京都府") != -1: index = address_str.find("府") elif address_str.find("県") != -1...
[ "ykh2135239@o-hara.ac.jp" ]
ykh2135239@o-hara.ac.jp
2206ac9cfa6da743114677db3d089f306b0497aa
3f9e960174cfc5c8bd6827ce5362124c467a3952
/python/prep/find-max.py
e9a8c5f30d079fb61552d3949305b9912db251da
[]
no_license
monobinab/python
f3ec6d462d7149c007ac9e14e72132eae73b4acd
265621b045969c819eb86fa7ba2a3bdfad34ecb6
refs/heads/master
2020-12-03T00:04:29.185880
2017-07-01T18:53:11
2017-07-01T20:06:16
95,982,002
0
0
null
null
null
null
UTF-8
Python
false
false
2,057
py
# some functions to work with loop def find_max(data): biggest = data[0]; print(biggest) for val in data: if val > biggest: biggest = val; return biggest; print(find_max([1000, 1, 2, 3, 7, 7, 100, 4])) def find_min(data): smallest = data[0]; for val in data: if va...
[ "monobina.saha@searshc.com" ]
monobina.saha@searshc.com
259a015c82d514ec77e650e0acb5a9afebc642d2
8f48d12b88048e424ebb0d72ca6dfab5cf12ae0f
/0600_0999/923.py
0da37c61c3b5051a81a5e025ce875afd0d36cebc
[]
no_license
renjieliu/leetcode
e1caf13c18a8107ed9252588b339fb76bcb1b246
4668b64fcb9320b6c316d8608fc61911ce43b6c7
refs/heads/master
2023-03-18T18:16:06.187741
2023-03-14T20:31:59
2023-03-14T20:31:59
128,823,819
7
0
null
null
null
null
UTF-8
Python
false
false
2,542
py
class Solution: def threeSumMulti(self, arr: 'List[int]', target: int) -> int: # O(N2LogN | N) hmp = {} for a in arr: if a not in hmp: hmp[a] = 0 hmp[a] += 1 output = 0 arr = sorted(hmp.keys()) seen = set() fact = lambda x: 1 if...
[ "anlrj@qq.com" ]
anlrj@qq.com
65d45ee320837f03ec2327071590305732848200
af7a8e1fcacb1ac50ae6c8072db608ca3e80a839
/tests/test_linearize.py
7e5bb8ea9c414b953f498ee4f92ab10ba1a07ebb
[ "MIT" ]
permissive
wszhang/devito
3c497af69a8420bae00b17ad8c0b9c08ca1de704
a7dbdabe505ded73781ca06e0a1c40b4d582655d
refs/heads/master
2023-09-06T00:33:43.694995
2021-10-13T07:51:29
2021-10-13T07:51:29
416,707,398
0
0
null
null
null
null
UTF-8
Python
false
false
6,806
py
import pytest import numpy as np import scipy.sparse from devito import (Grid, Function, TimeFunction, SparseTimeFunction, Operator, Eq, MatrixSparseTimeFunction) from devito.ir import Expression, FindNodes def test_basic(): grid = Grid(shape=(4, 4)) u = TimeFunction(name='u', grid=grid)...
[ "f.luporini12@imperial.ac.uk" ]
f.luporini12@imperial.ac.uk
9934aca3276aec7f5db8547b6452a74f26e0922c
54bb9ba6d507cd25b2c2ac553665bc5fc95280d1
/tests/onegov/gazette/test_views_categories.py
f4a276ee54ff21d4de1bd1636e5d63f25c6af2d0
[ "MIT" ]
permissive
href/onegov-cloud
9ff736d968979380edba266b6eba0e9096438397
bb292e8e0fb60fd1cd4e11b0196fbeff1a66e079
refs/heads/master
2020-12-22T07:59:13.691431
2020-01-28T08:51:54
2020-01-28T08:51:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,759
py
from freezegun import freeze_time from tests.onegov.gazette.common import login_editor_1 from tests.onegov.gazette.common import login_publisher from pyquery import PyQuery as pq from webtest import TestApp as Client from xlrd import open_workbook def test_view_categories(gazette_app): with freeze_time("2017-10-2...
[ "denis.krienbuehl@seantis.ch" ]
denis.krienbuehl@seantis.ch
8106dce1761f9380a357a6fea81f564b15eecbf6
82d588161a8f8cd27c3031c779120ea4380791b9
/minjoo/Codility/CountDiv.py
3da57e4f57e8f12ec1b46b4f62a80179f7909600
[]
no_license
Yejin6911/Algorithm_Study
3aa02a7d07169382a78c049d1de8251a52da816c
98c968bfeed17ab6b62e3a077280e0310f08190a
refs/heads/master
2023-09-01T00:31:07.212413
2021-10-24T07:56:21
2021-10-24T07:56:21
345,009,057
1
1
null
2021-09-20T13:08:33
2021-03-06T04:57:34
Python
UTF-8
Python
false
false
131
py
import math def solution(A, B, K): aq = A / K bq = B / K a = math.ceil(aq) b = math.floor(bq) return b - a + 1
[ "mjson1954@gmail.com" ]
mjson1954@gmail.com
a8585cd8a0146d0882917a004252adfda2b8a5ce
46853d317dcb7784dc84504c86cb0719a4fe471b
/project/settings.py
5601662d65f43cacad8db8f4973817faa03c7486
[ "MIT" ]
permissive
naritotakizawa/django-inlineformset-sample
f9d41a2f4fee5db7f0b769ddb9696ae773aae61b
f4a3e4420b20ab677cb535f7778c48dbc32ea70b
refs/heads/master
2020-05-05T13:12:34.783845
2019-04-08T04:12:39
2019-04-08T04:12:39
180,066,167
1
1
null
null
null
null
UTF-8
Python
false
false
3,186
py
""" Django settings for project project. Generated by 'django-admin startproject' using Django 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/ """ import os # B...
[ "toritoritorina@gmail.com" ]
toritoritorina@gmail.com
be1600bc1975659320667879170d3beef2f42c17
3b3585bb12becfe72af03814cec645b0c8e6c779
/satchmo/product/factories.py
c455d7c2e2cd3167f6f5ae085bd3097dcc955e76
[ "BSD-2-Clause" ]
permissive
juderino/jelly-roll
aac548073487511c5b935d9fb20c5a995c665b9b
ccac91bf3aab06fec4f83a7f9eabfa22d41b922a
refs/heads/master
2021-01-18T21:04:15.232998
2015-07-21T20:35:26
2015-07-21T20:35:26
36,597,803
0
0
null
2015-05-31T10:16:21
2015-05-31T10:16:21
null
UTF-8
Python
false
false
1,062
py
import factory from decimal import Decimal from django.contrib.sites.models import Site from django.template.defaultfilters import slugify from satchmo.product.models import ( ConfigurableProduct, Product, Price, ) class ProductFactory(factory.django.DjangoModelFactory): class Meta: model = ...
[ "tony@ynottony.net" ]
tony@ynottony.net
a26207237f873a85d24db735c0e883f1fc52fa4a
3e8234adc26292085a78418d8475ca5fe83ef92a
/jupyterhub/sample_configs/cilogon/00-preamble.py
644223ca6b98635583d6caeec1e984103bd820af
[ "MIT" ]
permissive
womullan/jupyterlabdemo
5cef774de875606df5b2d759f1da9c1e766b5195
e8da8920627d32d2d6fa60e2083a88a630ad5209
refs/heads/master
2021-08-14T06:59:29.128152
2017-11-13T21:34:23
2017-11-13T21:34:23
110,708,695
0
0
null
2017-11-14T15:32:30
2017-11-14T15:32:30
null
UTF-8
Python
false
false
571
py
""" This is the JupyterHub configuration directory that LSST DM-SQuaRE uses. Different subconfiguration files in this directory do different things. The major components are the options form, the spawner, the authenticator, and the JupyterHub environment. These files are mapped into the JupyterHub configuration as a...
[ "athornton@gmail.com" ]
athornton@gmail.com
04b790b2a3106481a3b23156f43208a786867d2a
98b9521915fc87b963344e33ebfd779b02e9c33f
/virtual/bin/symilar
3b07a38d2af2742b5df49d3a7a393f6597f2422c
[ "MIT" ]
permissive
Jeffmusa/smartFridge
33f35483ddfd310f54b4aea7ccae4f6caf57c8bf
89c5dfca68ca80a36c062aa1bb195e6cf8f1a10f
refs/heads/master
2020-04-03T15:49:34.854722
2018-11-01T12:41:07
2018-11-01T12:41:07
155,379,225
0
0
MIT
2018-10-30T12:10:30
2018-10-30T12:10:29
null
UTF-8
Python
false
false
255
#!/home/vicklyne/smartFridge/virtual/bin/python3.6 # -*- coding: utf-8 -*- import re import sys from pylint import run_symilar if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(run_symilar())
[ "jeffmusa@gmail.com" ]
jeffmusa@gmail.com
a31b97f409e4a93874a09654a33245ce9caf47fb
6531a7c162f83cfd5e7a3c4ea8a93dae58717ff4
/le_social/openid/middleware.py
518b4a19c9f0638872c23ef170a66d27aae3753d
[]
no_license
brutasse/django-le-social
4a9103a4f24abcc054cdaaa222af9f349f24a03b
abf8a3bc57cf5f25d83b9806406cef8f9b87da63
refs/heads/master
2021-07-11T18:00:14.420981
2016-10-17T12:06:00
2016-10-17T12:06:00
1,677,246
26
4
null
2016-09-25T18:05:17
2011-04-28T19:07:01
Python
UTF-8
Python
false
false
199
py
class OpenIDMiddleware(object): """ Populates request.openid and request.openids """ def process_request(self, request): request.openids = request.session.get('openids', [])
[ "buburno@gmail.com" ]
buburno@gmail.com
57db87c9797abc2707a464d3b187ceba70140495
f3b233e5053e28fa95c549017bd75a30456eb50c
/CDK2_input/L1Q/1Q-17_MD_NVT_rerun/set_1ns_equi_1.py
6e267d5a25d2c1095b57350c91596b9b1a2e1503
[]
no_license
AnguseZhang/Input_TI
ddf2ed40ff1c0aa24eea3275b83d4d405b50b820
50ada0833890be9e261c967d00948f998313cb60
refs/heads/master
2021-05-25T15:02:38.858785
2020-02-18T16:57:04
2020-02-18T16:57:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
925
py
import os dir = '/mnt/scratch/songlin3/run/CDK2/L1Q/MD_NVT_rerun/ti_one-step/1Q_17/' filesdir = dir + 'files/' temp_equiin = filesdir + 'temp_equi_1.in' temp_pbs = filesdir + 'temp_1ns_equi_1.pbs' lambd = [ 0.00922, 0.04794, 0.11505, 0.20634, 0.31608, 0.43738, 0.56262, 0.68392, 0.79366, 0.88495, 0.95206, 0.99078] for...
[ "songlin3@msu.edu" ]
songlin3@msu.edu
25d5976832ad59276a925791f17f1af25df88294
869153aa415924529a3dc739df098c5d4bb83ce4
/17_contour/2_approxpoly.py
510e1441c6bea77de31e526f8100e5df2c9a617f
[]
no_license
ccwu0918/class_opencv_python
b8c4dfb64e3fa84ba4b79b96c31b98600ae4c829
fa15bcd23eb388359180a00ce096b79ec0bdc2ec
refs/heads/main
2023-06-28T05:54:05.010580
2021-08-05T12:53:09
2021-08-05T12:53:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
876
py
import cv2 RECT, HEXAGON = 0, 1 frame = cv2.imread("./images/poly.png") gray = cv2.cvtColor(frame, cv2.COLOR_BGR2GRAY) edged = cv2.Canny(gray, 50, 150) edged = cv2.dilate(edged, None, iterations=1) contours, hierarchy = cv2.findContours(edged, cv2.RETR_EXTERNAL, cv2.CHAIN_APPROX_SIMPLE) print('=== 處理前') print('矩形點...
[ "shinjia168@gmail.com" ]
shinjia168@gmail.com
27aab3a9cc7d68c1f9995b8141f2835218ef5fa5
9aaa39f200ee6a14d7d432ef6a3ee9795163ebed
/Algorithm/Python/099. Recover Binary Search Tree.py
e52e96232688e101cc8945d37d8bb4ed53c5c8a1
[]
no_license
WuLC/LeetCode
47e1c351852d86c64595a083e7818ecde4131cb3
ee79d3437cf47b26a4bca0ec798dc54d7b623453
refs/heads/master
2023-07-07T18:29:29.110931
2023-07-02T04:31:00
2023-07-02T04:31:00
54,354,616
29
16
null
null
null
null
UTF-8
Python
false
false
1,163
py
# -*- coding: utf-8 -*- # @Author: WuLC # @Date: 2016-07-03 20:01:22 # @Last modified by: WuLC # @Last Modified time: 2016-07-03 20:01:47 # @Email: liangchaowu5@gmail.com # Definition for a binary tree node. # class TreeNode(object): # def __init__(self, x): # self.val = x # self.left = None # ...
[ "liangchaowu5@gmail.com" ]
liangchaowu5@gmail.com
3dce37f70d0e342a89d689ef5496ace1bf7fb07e
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_014/ch47_2020_04_13_13_29_30_615294.py
5ec09dffb565c008c5f35752896118970f26a078
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
203
py
def estritamente_crescente(lista): i = 0 lista_nova = [] while i < len(lista): if lista[i+1] > lista[i]: lista_nova.append(lista[i+1]) i += 1 return lista_nova
[ "you@example.com" ]
you@example.com
0aaa9a9fc44222dce38e3bae24286b8df567512b
16e69196886254bc0fe9d8dc919ebcfa844f326a
/edc/subject/consent_old/forms/consent_catalogue_form.py
b9b24101a14789ffb046f04fa0cfa7ea7a8d8238
[]
no_license
botswana-harvard/edc
b54edc305e7f4f6b193b4498c59080a902a6aeee
4f75336ff572babd39d431185677a65bece9e524
refs/heads/master
2021-01-23T19:15:08.070350
2015-12-07T09:36:41
2015-12-07T09:36:41
35,820,838
0
0
null
null
null
null
UTF-8
Python
false
false
206
py
from edc.base.form.forms import BaseModelForm class ConsentCatalogueForm (BaseModelForm): def clean(self, consent_instance=None): cleaned_data = self.cleaned_data return cleaned_data
[ "ew2789@gmail.com" ]
ew2789@gmail.com
a07c61061a32428c289217787b8315b3a1f0900a
ab2f1f18f64d9f2d49a4eea5c6a78ee1275662de
/trex_client/external_libs/scapy-2.3.1/python2/scapy/__init__.py
443b36753f7f543c88564c4b8abe0f9bd5fd84ad
[ "MIT" ]
permissive
alwye/trex-http-proxy
d09d7fabe60add4a445e5ceb71f5f2a6d209e0a0
e30f5af03aaaad518b5def6e1804c3741dd5d0c6
refs/heads/master
2021-08-16T22:32:56.643253
2021-06-08T19:52:35
2021-06-08T19:52:35
60,734,923
4
3
MIT
2021-06-08T19:39:18
2016-06-08T22:27:35
Python
UTF-8
Python
false
false
458
py
## This file is part of Scapy ## See http://www.secdev.org/projects/scapy for more informations ## Copyright (C) Philippe Biondi <phil@secdev.org> ## This program is published under a GPLv2 license """ Scapy: create, send, sniff, dissect and manipulate network packets. Usable either from an interactive console or as ...
[ "alzverev@cisco.com" ]
alzverev@cisco.com
9329443d1478f64209887aa32825726f941e27ba
1b36425f798f484eda964b10a5ad72b37b4da916
/posthog/migrations/0222_fix_deleted_primary_dashboards.py
ef8d4a6cc13d5483ef0aa1cd227c44747efb0d4c
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
dorucioclea/posthog
0408baa2a7ae98e5bea352c516f741ddc17c0a3e
8848981baf237117fb22d28af0770a0165881423
refs/heads/master
2023-01-23T11:01:57.942146
2023-01-13T09:03:00
2023-01-13T09:03:00
241,222,000
0
0
MIT
2020-02-17T22:34:37
2020-02-17T22:34:36
null
UTF-8
Python
false
false
2,831
py
import structlog from django.db import connection, migrations from django.db.models import Q # 0220_set_primary_dashboard set the primary dashboard for teams, but # it didn't account for deleted dashboards. This migration fixes projects # that have a primary dashboard set to a deleted dashboard. def fix_for_deleted_...
[ "noreply@github.com" ]
dorucioclea.noreply@github.com
ce041d314e8b73e5a06532fc7a6ea5a036ac0a5b
6547747b93196f4f4d74248de81e943cdd253d3e
/projects/views.py
6e9a7b56a0beef4fee5c92c2dfd926ef3ebfe757
[]
no_license
cyberkuroneko/PCN_CODEV_project
1551fa2768dc1a08f452636c42191e380ea602f6
66e5004ad045ad9d83f880affbf6cfa60eab2706
refs/heads/master
2022-12-18T08:55:07.879527
2020-09-12T07:06:43
2020-09-12T07:06:43
294,866,626
0
0
null
2020-09-12T04:03:16
2020-09-12T04:03:16
null
UTF-8
Python
false
false
198
py
from django.views.generic import ListView from .models import Projects # Create your views here. class ProjectsHomePageView(ListView): template_name = 'projects_home.html' model = Projects
[ "vagrant@vagrant.vm" ]
vagrant@vagrant.vm
de03e9aca5ea4d28dfd81d74ba7ff87890be777f
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03015/s226920110.py
5c2c5ed57fb8a4d7c4a1620946f7cbd6703e4a3e
[]
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
224
py
MOD = 10**9+7 L = input() N = len(L) ans = 0 c = 0 for i in range(N): if L[i] == '1': ans += pow(3,N-i-1,MOD)*pow(2,c,MOD) ans %= MOD c += 1 ans += pow(2,c,MOD) ans %= MOD print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
3aa2ceaf8175c3dc9b6b0f5c72ae1b49efbe0cc4
597c4f48332251552a602122bb3d325bc43a9d7f
/chapter11_dynamic_programming/04_recursive_memo/02_memo_recursive.py
74fcfce3fb9665a82e4dde4dd6df3caee6c34d14
[]
no_license
Kyeongrok/python_algorithm
46de1909befc7b17766a57090a7036886361fd06
f0cdc221d7908f26572ae67b5c95b12ade007ccd
refs/heads/master
2023-07-11T03:23:05.782478
2023-06-22T06:32:31
2023-06-22T06:32:31
147,303,654
0
1
null
null
null
null
UTF-8
Python
false
false
300
py
# [0, 0, 0, 0, 0, 0, 0, 0, 0, 0] # => [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] n = 10 memo = [0] * n print(memo, len(memo)) def checkMemo(memo, n): if memo[n] == 0: return memo else: n = n - 1 memo[n] = n checkMemo(memo[n], n) result = checkMemo(memo, n) print(result)
[ "oceanfog1@gmail.com" ]
oceanfog1@gmail.com
359abbbcf3e86f4744a33647da97ba7bd44c27b7
6be845bf70a8efaf390da28c811c52b35bf9e475
/windows/Resources/Python/Core/Lib/hotshot/log.py
a8655b0a99f0d251de073b6e4842948aa55050c8
[]
no_license
kyeremalprime/ms
228194910bf2ed314d0492bc423cc687144bb459
47eea098ec735b2173ff0d4e5c493cb8f04e705d
refs/heads/master
2020-12-30T15:54:17.843982
2017-05-14T07:32:01
2017-05-14T07:32:01
91,180,709
2
2
null
null
null
null
UTF-8
Python
false
false
5,436
py
# uncompyle6 version 2.9.10 # Python bytecode 2.7 (62211) # Decompiled from: Python 3.6.0b2 (default, Oct 11 2016, 05:27:10) # [GCC 6.2.0 20161005] # Embedded file name: log.py import _hotshot import os.path import parser import symbol from _hotshot import WHAT_ENTER, WHAT_EXIT, WHAT_LINENO, WHAT_DEFINE_FILE, WHAT_DEF...
[ "kyeremalprime@gmail.com" ]
kyeremalprime@gmail.com
620f06ddbdef017d8c36b66631587e5dfd47c971
e322d01555aebbcf9f23a68fa9160e75d4397969
/YouCompleteMe/third_party/ycmd/third_party/racerd/scripts/run_wrk_benchmarks.py
85985137ca89c3ec08b6f907c789b7fd518d499d
[ "Apache-2.0", "GPL-1.0-or-later", "GPL-3.0-only" ]
permissive
liqiang0330/i3ForDebian9
3b2bb5ce104f25cadab7a57cdc7096fadeb4a9ef
37a63bdaf18dab847e57d328cdcb678668ab6207
refs/heads/master
2022-10-25T13:30:26.723690
2018-03-17T05:22:55
2018-03-17T05:22:55
162,018,419
1
1
Apache-2.0
2022-10-08T20:30:23
2018-12-16T16:11:57
Python
UTF-8
Python
false
false
3,139
py
#!/usr/bin/env python # vim: ts=4 sw=4 et cc=80 tw=79 import subprocess import tempfile import os from os import path # Support overriding RACERD. Assume racerd is on path by default. if os.environ.has_key('RACERD'): RACERD = os.environ['RACERD'] else: RACERD = 'racerd' def get_scripts_dir(): """ Re...
[ "yuan705791627@gmail.com" ]
yuan705791627@gmail.com
933df71bf9732ccc8ea0ee553ba02320d8126c6e
9a8416deb357d9d0714c3b09dc2c70e8fffa05e7
/Collect/MOD12/__init__.py
5eac4f4f7da1cb1c2bcd13bde5033ead4cf5d375
[ "Apache-2.0" ]
permissive
ali1100/wa
055d0989bb414e443319ee996a8049b5051a9e74
700e5014533c45f38a245c3abdeacc537cb307bc
refs/heads/master
2021-05-13T12:03:02.161649
2018-09-19T06:51:41
2018-09-19T06:51:41
117,149,867
0
1
Apache-2.0
2018-09-19T06:38:19
2018-01-11T20:29:13
Python
UTF-8
Python
false
false
798
py
# -*- coding: utf-8 -*- """ Authors: Tim Hessels UNESCO-IHE 2016 Contact: t.hessels@unesco-ihe.org Repository: https://github.com/wateraccounting/wa Module: Collect/MOD12 Description: This module downloads MOD12 LC data from http://e4ftl01.cr.usgs.gov/. Use the MOD12.LC_yearly function to download and create ...
[ "timhessels@hotmail.com" ]
timhessels@hotmail.com
ba0f5ce1975bf1f8c6ce378a443255fcb0443019
79f42fd0de70f0fea931af610faeca3205fd54d4
/base_lib/ChartDirector/pythondemo_cgi/finance.py
932f4132e25cedc156bfb1d23e9cb27aa6704e2e
[ "IJG" ]
permissive
fanwen390922198/ceph_pressure_test
a900a6dc20473ae3ff1241188ed012d22de2eace
b6a5b6d324e935915090e791d9722d921f659b26
refs/heads/main
2021-08-27T16:26:57.500359
2021-06-02T05:18:39
2021-06-02T05:18:39
115,672,998
0
0
null
null
null
null
UTF-8
Python
false
false
2,765
py
#!/usr/bin/python from FinanceChart import * # Create a finance chart demo containing 100 days of data noOfDays = 100 # To compute moving averages starting from the first day, we need to get extra data points before # the first day extraDays = 30 # In this exammple, we use a random number generator utility to simula...
[ "fanwen@sscc.com" ]
fanwen@sscc.com
fa46f790dc1f979f39ed1aee253c88fa73042a0a
b8f160d2e8c09d5fdce7171924765b74edb97141
/page/gouwuche_page.py
c0b3a147f1fc40bfc6b6c43f52c26d943ad66baf
[]
no_license
danyubiao/mryx
7bf3e0f2bae42ef2fe4c9238569194c767b3f754
2325c7854c5625babdb51b5c5e40fa860813a400
refs/heads/master
2023-01-05T01:17:28.259444
2020-10-20T02:02:20
2020-10-20T02:02:20
304,574,484
0
6
null
2020-10-20T02:02:21
2020-10-16T09:04:01
Python
UTF-8
Python
false
false
933
py
# @Time : 2020/10/19 11:00 # @Author : 白光华 # @Email : 1277987895@gmail.com # @File : gouwuche_page # @Project : app测试 """购物车封装定位""" import self from appium import webdriver from time import sleep from appium.webdriver.common.mobileby import MobileBy as By from selenium.webdriver.support.wait import WebDriverWait from ...
[ "you@example.com" ]
you@example.com
fdc5040420ae8c8fccd6fcbcfd6571e629ec3fe2
3a1fea0fdd27baa6b63941f71b29eb04061678c6
/src/ch08/instructions/references/ArrayLength.py
1e62ebf2864f856112a9c4c1871c01f914b060df
[]
no_license
sumerzhang/JVMByPython
56a7a896e43b7a5020559c0740ebe61d608a9f2a
1554cf62f47a2c6eb10fe09c7216518416bb65bc
refs/heads/master
2022-12-02T17:21:11.020486
2020-08-18T06:57:10
2020-08-18T06:57:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
792
py
#!/usr/bin/env python # encoding: utf-8 """ @author: HuRuiFeng @file: ArrayLength.py @time: 2019/9/17 21:31 @desc: arraylength指令用于获取数组长度,只需要一个操作数,即从操作数栈顶弹出的数组引用。 """ from ch08.instructions.base.Instruction import NoOperandsInstruction from ch08.rtda.Frame import Frame class ARRAY_LENGTH(NoOperandsInstruction): de...
[ "huruifeng1202@163.com" ]
huruifeng1202@163.com
38475fa87788a196aa49972f1a1cf47a600c69cf
000c243b4c30bd089867f73ca1bcfede1c3ef801
/catkin_ws/build/mapviz/mapviz/cmake/mapviz-genmsg-context.py
a2f6c76c8fcf220d76e8e24263350aab52a67984
[]
no_license
dangkhoa1210/SLAM-AND-NAVIGATION-FOR-MOBILE-ROBOT-OUTDOOR-INDOOR-
b4d9bf2757d839d9766d512c2272731300320925
7273ea9e966353440d3993dcba112bc0a2262b98
refs/heads/master
2023-07-15T14:07:17.123812
2021-09-02T10:12:30
2021-09-02T10:12:30
402,361,868
0
0
null
null
null
null
UTF-8
Python
false
false
606
py
# generated from genmsg/cmake/pkg-genmsg.context.in messages_str = "" services_str = "/home/khoa/catkin_ws/src/mapviz/mapviz/srv/AddMapvizDisplay.srv" pkg_name = "mapviz" dependencies_str = "marti_common_msgs" langs = "gencpp;geneus;genlisp;gennodejs;genpy" dep_include_paths_str = "marti_common_msgs;/home/khoa/catkin_...
[ "dangkhoaphamdang1210@gmail.com" ]
dangkhoaphamdang1210@gmail.com
905e03a56f2de81f5788eb73a86993424cd54536
4a9e5f6f2bd6f8768533bc250b7f0bb8efb9620c
/hackerearth/ALGO_Semi/A.py
ca9b80f57b8303df7bdccf36bc10c081d92073c9
[ "MIT" ]
permissive
akshaynagpal/competitive-programming
28c9a6070d82ce9140a7173ddbb0080ac5b3e1fc
0a54f43e3e0f2135c9c952400c5a628244b667d1
refs/heads/master
2021-01-18T22:40:59.078826
2017-04-22T18:44:25
2017-04-22T18:44:25
41,152,292
0
0
null
null
null
null
UTF-8
Python
false
false
2,356
py
import itertools import sys num_tests = int(raw_input()) for i in range(num_tests): x, y, z = raw_input().split() a = int(x) b = int(y) q = int(z) q_list = [int(i) for i in raw_input().split()] add = a + b sub = max(a,b) - min(a,b) adder_list = [a,b,add,sub] for query in q_list:...
[ "akshay2626@gmail.com" ]
akshay2626@gmail.com
a9767ff8584097a72971d1e8644b417eb926a01d
78d23de227a4c9f2ee6eb422e379b913c06dfcb8
/LeetCode/846.py
384d03f6466286d2c3fad09a5cdd6413b61dcffb
[]
no_license
siddharthcurious/Pythonic3-Feel
df145293a3f1a7627d08c4bedd7e22dfed9892c0
898b402b7a65073d58c280589342fc8c156a5cb1
refs/heads/master
2020-03-25T05:07:42.372477
2019-09-12T06:26:45
2019-09-12T06:26:45
143,430,534
1
0
null
null
null
null
UTF-8
Python
false
false
746
py
from collections import Counter class Solution: def isNStraightHand(self, hand, W): """ :type hand: List[int] :type W: int :rtype: bool """ L = len(hand) if L%W != 0: return False counter = Counter(hand) while counter: ...
[ "sandhyalalkumar@gmail.com" ]
sandhyalalkumar@gmail.com
2fecfee104269eac54eb1ff97981413680f0aca5
60ca69e2a4c6b05e6df44007fd9e4a4ed4425f14
/beginner_contest/183/A.py
0c3a7cb3882bd72537672f3fac59c59a477676b3
[ "MIT" ]
permissive
FGtatsuro/myatcoder
12a9daafc88efbb60fc0cd8840e594500fc3ee55
25a3123be6a6311e7d1c25394987de3e35575ff4
refs/heads/master
2021-06-13T15:24:07.906742
2021-05-16T11:47:09
2021-05-16T11:47:09
195,441,531
0
0
MIT
2021-05-16T11:47:10
2019-07-05T16:47:58
Python
UTF-8
Python
false
false
131
py
import sys input = sys.stdin.readline sys.setrecursionlimit(10 ** 7) x = int(input()) if x >= 0: print(x) else: print(0)
[ "204491+FGtatsuro@users.noreply.github.com" ]
204491+FGtatsuro@users.noreply.github.com
03873d4ea28c94d0fce1511dcf5e24a1225b1d9c
3fa7b041caf5dfe8e10d2086bc3127859e610227
/python2/2/knock12.py
5f22d6b6bfe7e69c59c395befd593b2fb8ad9add
[]
no_license
himkt/nlp-100knock
693b71e1d3ef5d65276d2694f309a7e39b5e002c
3be136307271f0aa5f46aef366bac0c53513c5ca
refs/heads/master
2020-04-16T15:14:19.962351
2016-08-19T10:30:43
2016-08-19T10:30:43
32,132,964
31
4
null
2021-03-05T14:39:46
2015-03-13T06:02:54
Jupyter Notebook
UTF-8
Python
false
false
623
py
# -*- coding: utf-8 -*- # @author = himkt # 2015/07/16 ''' 12. 1列目をcol1.txtに,2列目をcol2.txtに保存 各行の1列目だけを抜き出したものをcol1.txtに, 2列目だけを抜き出したものをcol2.txtとしてファイルに保存せよ. 確認にはcutコマンドを用いよ. ''' f = open('../data/hightemp.txt', 'r') f_col1 = open('./col1.txt','w') f_col2 = open('./col2.txt','w') for line in f: col1, col2, temp...
[ "himkt@klis.tsukuba.ac.jp" ]
himkt@klis.tsukuba.ac.jp
9de9ff070cc553ba6c7017ee27c8c3c37ec80577
aa0d55b2aa22da0af6545ce0da46d04dbdc3bffc
/cpgames/core/games/breakoutclone/modules/utils.py
f8df36ce3d52ef56483f54fbabdceb11d2d70859
[ "Apache-2.0" ]
permissive
cyanghsieh/Games
19fdad463cf12cbd503a399ed2700c0dae615714
07767df6d181b9eae89ce0a8b883d19afb450cc1
refs/heads/master
2023-05-11T11:11:09.777569
2023-02-22T14:28:18
2023-02-22T14:28:18
283,113,319
0
0
MIT
2020-07-28T05:49:13
2020-07-28T05:49:12
null
UTF-8
Python
false
false
551
py
''' Function: 工具函数 Author: Charles 微信公众号: Charles的皮卡丘 ''' '''导入关卡文件''' def loadLevel(levelpath): brick_positions = [] fp = open(levelpath, 'r', encoding='utf-8') y = -1 for line in fp.readlines(): if (not line.strip()) or (line.startswith('#')): continue else: ...
[ "1159254961@qq.com" ]
1159254961@qq.com
f6e89855368091cfa463917ef3abf2fed8677d25
e540a64d8a23ee83b3d2a5842636a2ea7486a52f
/test_petcd/test_unit/client_get_64a46cd84bc94765b8a167e7f6582eab.py
31be52dca66015fffe2eeb5d46d462c3d7b5578f
[ "Apache-2.0" ]
permissive
alunduil/petcd
27066c735667d1de2308a165b5c8dfe59f3d2dc7
a9579259b6ecc12182cc57a0549a7618c0c70a27
refs/heads/master
2021-01-22T16:26:14.682404
2015-07-25T15:26:54
2015-07-25T15:26:54
46,867,580
0
0
null
2015-11-25T14:47:20
2015-11-25T14:47:19
null
UTF-8
Python
false
false
1,495
py
# Copyright 2015 Alex Brandt # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
[ "alunduil@alunduil.com" ]
alunduil@alunduil.com
0d04e6bc9a229cb2cd1c8e3d668a8821c929b8d8
223b7276b54fee31f1510145ac4c4e13c6b6a3e0
/HearthStoneSpider/tools/remote_server.py
3cb8649cedbf55d55671b9f396de4bb25c38b519
[]
no_license
CoderEnko007/HearthStoneSpider
6c2d5e63fc6ee64e4838d5b77937da66972fcd82
7bafa78c10dcdf3d17dd33a0fbf9abfe7726284a
refs/heads/master
2023-02-18T11:05:16.644753
2022-09-18T07:01:58
2022-09-18T07:01:58
144,394,353
0
0
null
2023-02-07T21:53:30
2018-08-11T15:00:25
HTML
UTF-8
Python
false
false
2,973
py
import json import requests from urllib.parse import urljoin class HSServer(object): def __init__(self, path=None): # self.host = 'http://127.0.0.1:8001' self.host = 'http://47.98.187.217' self.url = urljoin(self.host, path) def set_url_path(self, path): self.url = urljoin(self...
[ "yf381966217@163.com" ]
yf381966217@163.com
4cb20d9c4f026d16c353ff24d766471117d06273
d4eb113c44c86322b3811513a7286d176f106eb6
/experiments/convolutional_autoencoder_perturbations/rotated+scaled-precip/autoencoder.py
9f8144f085411691ebeb36578a3dcb59a2b63136
[]
no_license
philip-brohan/Machine-Learning
67a2eb780383b3436da4fef1d763f39d255ae696
dc53b9c336d5f12272257f327abe49dec436ea04
refs/heads/master
2021-03-27T12:33:07.518279
2020-04-30T19:38:02
2020-04-30T19:38:02
56,614,781
0
0
null
null
null
null
UTF-8
Python
false
false
3,609
py
#!/usr/bin/env python # Convolutional autoencoder for 20CR prmsl fields. # This version is all-convolutional - it uses strided convolutions # instead of max-pooling, and transpose convolution instead of # upsampling. # This version uses scaled input fields that have a size (79x159) that # match the strided convolu...
[ "philip@brohan.org" ]
philip@brohan.org
ea167fb8ab273f422a67ad5fd1577b556d59819c
04a540847c1333c987a1957fd8d31197c594f6bb
/programmers/64063_1_2.py
bb87f123a44803709df076a015cef03e5372985c
[]
no_license
k8440009/Algorithm
fd148269b264b580876c7426e19dbe2425ddc1ab
a48eba0ac5c9f2e10f3c509ce9d349c8a1dc3f0c
refs/heads/master
2023-04-02T16:06:10.260768
2023-04-02T11:04:32
2023-04-02T11:04:32
200,506,643
0
0
null
null
null
null
UTF-8
Python
false
false
376
py
# 호텔 방 배정 (효율성 x) # https://programmers.co.kr/learn/courses/30/lessons/64063 def solution(k, room_number): answer = [] room = dict() for room_key in room_number: key = room_key while(key in room): key += 1 room[key] = 1 answer.append(key) #print(answer) re...
[ "k8440009@gmail.com" ]
k8440009@gmail.com
1f7e64d2a7a01b64856c7764d77116c496b38347
4f4776eb69cbea9ee1c87a22732c5d778855c83a
/leetcode/Number_of_1_Bits.py
836df79c90ca983c9a66722751cf1ec02cb6fddf
[]
no_license
k4u5h4L/algorithms
4a0e694109b8aadd0e3b7a66d4c20692ecdef343
b66f43354792b1a6facff90990a7685f5ed36a68
refs/heads/main
2023-08-19T13:13:14.931456
2021-10-05T13:01:58
2021-10-05T13:01:58
383,174,341
1
0
null
null
null
null
UTF-8
Python
false
false
797
py
''' Number of 1 Bits Easy Write a function that takes an unsigned integer and returns the number of '1' bits it has (also known as the Hamming weight). Note: Note that in some languages, such as Java, there is no unsigned integer type. In this case, the input will be given as a signed integer type. It should not...
[ "kaushal.v.bhat@gmail.com" ]
kaushal.v.bhat@gmail.com
a6f1ee88d3be933a37a62eb2d070d8032201a492
24f664aa2344d4f5d5e7b048ac4e85231715c4c8
/datasets/me_db/tests/integration_tests/conftest.py
205f1f009297ae600813291058172b6b97e9018b
[ "MIT" ]
permissive
speycode/clfuzz
79320655e879d1e0a06a481e8ec2e293c7c10db7
f2a96cf84a7971f70cb982c07b84207db407b3eb
refs/heads/master
2020-12-05T13:44:55.486419
2020-01-03T14:14:03
2020-01-03T14:15:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,358
py
# Copyright 2018, 2019 Chris Cummins <chrisc.101@gmail.com> # # 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 the rights to # use, copy, modi...
[ "chrisc.101@gmail.com" ]
chrisc.101@gmail.com
7def0c19f5d2bf3212b2a2cf63953f42fc2debb6
2fb7188adb6f52023485d8a775e4ecbf96331b81
/PixelGeometry/calculateRMS.py
eaba86ec104f0376ab2dd280fa35e239332310ec
[]
no_license
amassiro/dEdxCalibration
f5c580247041b4477a118772bbda9b924ae1103a
837eb440711983ddd0a283ec0cf3582c4a454d24
refs/heads/master
2020-03-24T03:31:45.099672
2019-11-08T13:09:40
2019-11-08T13:09:40
142,422,991
0
0
null
null
null
null
UTF-8
Python
false
false
3,185
py
import os # example of file name: # plots_run/cc_add_layer_3_eta_5_BPIX.root list_files = [] for root, dirs, files in os.walk("plots_run/"): for filename in files: if "cc_add_" in filename and ".root" in filename : #print(filename) list_files.append(filename) #print "list_files = ...
[ "massironi.andrea@gmail.com" ]
massironi.andrea@gmail.com
7a567594c1e7adc2858272c848dcbaa3f69ad25b
a9c3db07c29a46baf4f88afe555564ed0d8dbf2e
/src/1018-largest-perimeter-triangle/largest-perimeter-triangle.py
0a77f6046ef72192ef87f5b340d5bb1cb593a6eb
[]
no_license
HLNN/leetcode
86d2f5b390be9edfceadd55f68d94c78bc8b7644
35010d67341e6038ae4ddffb4beba4a9dba05d2a
refs/heads/master
2023-03-13T16:44:58.901326
2023-03-03T00:01:05
2023-03-03T00:01:05
165,402,662
6
6
null
null
null
null
UTF-8
Python
false
false
1,073
py
# Given an integer array nums, return the largest perimeter of a triangle with a non-zero area, formed from three of these lengths. If it is impossible to form any triangle of a non-zero area, return 0. # #   # Example 1: # # # Input: nums = [2,1,2] # Output: 5 # Explanation: You can form a triangle with three side len...
[ "Huangln555@gmail.com" ]
Huangln555@gmail.com
a40ca002ab664eb7d143fa43e4065c311d103456
8c7be58d2ddb6d1d10b93cb1139d2376be9fd07d
/naive_chatbot/predictor_pb2.py
c5bb06e1718c3cad08cebb4bfb529397d2cb7a66
[]
no_license
zhouziqunzzq/MiraiGo-DD-naive-chatbot
c47e630cf38dd1b67ec4ccda2769a5db4a49608c
a69143c306a7e91e9262cec82ea1a8af8afecb45
refs/heads/main
2023-04-27T19:43:57.272470
2021-05-16T23:40:53
2021-05-16T23:40:53
343,130,542
1
0
null
null
null
null
UTF-8
Python
false
true
7,834
py
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: predictor.proto """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.proto...
[ "zhouziqun@cool2645.com" ]
zhouziqun@cool2645.com
6ec8eb0c7925f1935b91bc24f5fc9ba37f80f94e
3a4549470cb0e6e55c98522ba08ce629d60960ea
/froide/foirequest/migrations/0014_auto_20180111_0738.py
6ac2c84671c22abd5063ab69c08f7dae915f3e1f
[ "MIT" ]
permissive
lanmarc77/froide
4e28d3e33017b3e776a7eb13d63c7b71bdb3bc68
bddc8bb27c8a7c2a959003dda724194948bc381a
refs/heads/main
2023-03-17T03:02:01.277465
2021-03-06T16:37:26
2021-03-06T16:37:26
345,137,125
0
0
MIT
2021-03-06T16:13:09
2021-03-06T16:13:09
null
UTF-8
Python
false
false
779
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.9 on 2018-01-11 06:38 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('team', '0001_initial'), ('foirequest', '0013_auto_2...
[ "mail@stefanwehrmeyer.com" ]
mail@stefanwehrmeyer.com
a9f89df989abb980a1262104c411c0d54f5ed4f1
f75609812d20d46a9f94ee0cfdb91c321d26b63d
/_python/python_OOP/ReverseList.py
bce461e45a9c3d243043de9f60d6131bff3880a7
[]
no_license
IanAranha/Python2021
eff47a20451f61b144b17f48321a7b06308aadca
d9769b8b387b77753b77f6efe3a9a270a1f158d3
refs/heads/main
2023-04-02T08:20:24.382913
2021-04-10T22:27:10
2021-04-10T22:27:10
345,918,060
0
0
null
null
null
null
UTF-8
Python
false
false
220
py
def reverseList(list): mid = int(len(list)/2) for i in range(0, mid): print("Swapping", list[i], list[len(list)-1-i]) list[i], list[len(list)-1-i] = list[len(list)-1-i], list[i] return list
[ "ianorama@gmail.com" ]
ianorama@gmail.com
9a1921c0fab1929c7b32e8be96af2137df25ab32
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_014/ch21_2020_03_04_16_45_58_943718.py
00d24fdcc27af6720298b24527260aeea05098a5
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
135
py
a = input ('Quantos dias?') b = input ('Quantas horas?') c = input ('Quantos minutos?') d = input ('Quantos segundos?') print(a,b,c,d)
[ "you@example.com" ]
you@example.com
271dec9f5adcad66f6210b0577ceeb4e167480f9
3474b315da3cc5cb3f7823f19a18b63a8da6a526
/scratch/KRAMS/src/apps/scratch/jakub/xdomain/examples/2D_sep_f.py
1084bb4e78de58c3c36540538e88662be0ba3cde
[]
no_license
h4ck3rm1k3/scratch
8df97462f696bc2be00f1e58232e1cd915f0fafd
0a114a41b0d1e9b2d68dbe7af7cf34db11512539
refs/heads/master
2021-01-21T15:31:38.718039
2013-09-19T10:48:24
2013-09-19T10:48:24
29,173,525
0
0
null
2015-01-13T04:58:57
2015-01-13T04:58:56
null
UTF-8
Python
false
false
4,901
py
''' Created on Sep 23, 2009 @author: jakub ''' if __name__ == '__main__': from ibvpy.api import FEDomain, FERefinementGrid, FEGrid, TStepper as TS,\ BCDofGroup,BCDof, RTraceDomainListField from ibvpy.core.tloop import TLoop, TLine from ibvpy.mesh.xfe_subdomain import XFESubDomain ...
[ "Axel@Axel-Pc" ]
Axel@Axel-Pc
cff565e39aba802e39091d4bd9ce442f20ad1c56
87ad372898e793faf1ad89f4bb3b6e84a8002131
/tests/unit/FundManager/test_set_next_time_lock.py
8ce922c052d511d6829b68fa62421a68b8fab166
[]
no_license
atsignhandle/unagii-vault-v2
6a9a96c11d34257bc3fdae57455ec3b2f9c0029a
548f715f34329eb5abebffe40acbeb56a31cb6f3
refs/heads/main
2023-08-27T00:59:48.080152
2021-09-28T02:47:36
2021-09-28T02:47:36
413,448,825
0
0
null
2021-10-04T14:07:37
2021-10-04T14:07:36
null
UTF-8
Python
false
false
405
py
import brownie import pytest def test_set_next_time_lock(fundManager, user): timeLock = fundManager.timeLock() # not time lock with brownie.reverts("!time lock"): fundManager.setNextTimeLock(user, {"from": user}) tx = fundManager.setNextTimeLock(user, {"from": timeLock}) assert fundManag...
[ "tsk.nakamura@gmail.com" ]
tsk.nakamura@gmail.com
152a0575c29496fc966528cfe473fc4a02bb05aa
a4364a0ee3dd9aa057c049771319c628b88b1b8d
/week5/file.py
90250ed1abed55b0f11a3670aecbae07c9106e37
[]
no_license
lsh931125/altole
22e69c98af2fd673fa2dc40d58b64a6ebc0ce577
15afc3d511ed5be56ea091e9842408b362ad79e3
refs/heads/main
2023-04-10T16:15:14.865549
2021-04-12T14:13:59
2021-04-12T14:13:59
336,302,892
0
0
null
null
null
null
UTF-8
Python
false
false
155
py
# writedata.py f = open("새파일.txt", 'w',encoding='utf-8') for i in range(1, 11): data = "%d번째 줄입니다.\n" % i f.write(data) f.close()
[ "you@example.com" ]
you@example.com
88cf61b2fac3023bb2a72c2fb2afef1483328050
29da2ca6def1270be13a3096685a8e5d82828dff
/CIM15/IEC61970/Informative/InfWork/WorkStatusEntry.py
e3719f0ca36369573702570e2383844ff6dcbd92
[ "MIT" ]
permissive
rimbendhaou/PyCIM
75eb3bcd3729b2410c03f3d5c66d6f1e05e21df3
d578bb0bf1af344342bd23344385ed9c06c2d0ee
refs/heads/master
2022-04-28T01:16:12.673867
2020-04-16T02:19:09
2020-04-16T02:19:09
256,085,381
0
0
MIT
2020-04-16T02:15:20
2020-04-16T02:08:14
null
UTF-8
Python
false
false
2,108
py
# Copyright (C) 2010-2011 Richard Lincoln # # 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 the # rights to use, copy, modify, merge, publish...
[ "rwl@thinker.cable.virginmedia.net" ]
rwl@thinker.cable.virginmedia.net
a65c657ece078bdf1546ffad0971554575ffe0ec
3d947e8502aa677398f4f8e102f6dc10dfa4a8ae
/apps/workpoint/admin.py
1dd68861a9eef366fa3b43767a789c59b15a8e05
[]
no_license
wd5/3gspeed
400f65996a168efb2322e736f47de7d5667bb568
9451605898541bd8f912ed84d23c74e500b49595
refs/heads/master
2016-08-08T22:02:08.798728
2012-09-11T01:50:37
2012-09-11T01:50:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,548
py
# -*- coding: utf-8 -*- from django.contrib import admin from django import forms from apps.utils.widgets import Redactor from sorl.thumbnail.admin import AdminImageMixin from models import Ability, Distinct, City, Point, SpeedAtPoint, ModemType, Operator class AbilityAdmin(AdminImageMixin, admin.ModelAdmin): lis...
[ "steeg.xs@gmail.com" ]
steeg.xs@gmail.com
72934dd176732ebd3730bd794e8e20805878afb9
3ab5cc24ce16f937fbc0d8906b5a3a3e95fd08f2
/Kapittel-03/fasit_3.py
1ec0549290b8def11279486f0b77f7251cdb2572
[]
no_license
magnusoy/Python-Grunnleggende
8aaf4ed5b373f17233bdcf38f52f5a1fa90db5bd
984e04e285b46d920c51c92095223fee0766fa29
refs/heads/master
2023-02-24T21:38:35.823047
2021-01-19T19:37:02
2021-01-19T19:37:02
295,389,253
2
0
null
null
null
null
UTF-8
Python
false
false
633
py
""" Oppgave 1 Gjør om all teksten i variabelen til store bokstaver. """ txt = "vI LæReR om PYTon i dETte kurSEt" txt2 = txt.upper() print(txt2) """ Oppgave 2 Slutter teksten med: pappesker? """ txt = "Her var det veldig mange tomme pappesker" result = txt.endswith("pappesker") print(result) """ Oppgave 3 Finn ut...
[ "magnus.oye@gmail.com" ]
magnus.oye@gmail.com
11cc25e0f718e43bfcb3c39dc12f902e4724bdf2
c5be6a92f216957d340474b58507606a38c10f5f
/course-files/projects/project_01/option1_graphics/main.py
5b91603f485c3f9fdd9db91d718b32be8446b708
[]
no_license
eecs110/winter2019
0b314c35e886b8099368ed7dfd51b707ab73c0c2
f4107207ca1c9c10b78bdbb74fd82410b00ee363
refs/heads/master
2020-04-11T10:09:28.100445
2019-03-21T18:00:25
2019-03-21T18:00:25
161,705,160
3
0
null
null
null
null
UTF-8
Python
false
false
646
py
from tkinter import Canvas, Tk import helpers import utilities import helpers import time gui = Tk() gui.title('My Terrarium') # initialize canvas: window_width = gui.winfo_screenwidth() window_height = gui.winfo_screenheight() canvas = Canvas(gui, width=window_width, height=window_height, background='white') canvas....
[ "vanwars@gmail.com" ]
vanwars@gmail.com
fb6cac8ca7336dff94c7a117a60d6edc63f4e026
19316c08712a502b1124f2b55cb98bfcbcca7af5
/dev/docs-old/advanced/v1 cookbook/uses/2017-12-19 search abf for comments/go.py
742202ac1771508baccbc0fe5b6b22965932ae34
[ "MIT" ]
permissive
swharden/pyABF
49a50d53015c50f1d5524242d4192718e6f7ccfa
06247e01ca3c19f5419c3b9b2207ee544e30dbc5
refs/heads/main
2023-08-28T02:31:59.540224
2023-08-17T16:34:48
2023-08-17T16:34:48
109,707,040
92
39
MIT
2023-04-06T00:37:29
2017-11-06T14:39:21
Jupyter Notebook
UTF-8
Python
false
false
405
py
import glob import sys import os sys.path.insert(0,os.path.abspath("../../../src/")) import pyabf if __name__=="__main__": PATH=R"X:\Data\projects\2017-01-09 AT1-Cre mice\2017-01-09 global expression NTS\data" for fname in sorted(glob.glob(PATH+"/*.abf")): abf=pyabf.ABF(fname) if not abf.commen...
[ "swharden@gmail.com" ]
swharden@gmail.com
ddd8b19f908ab3f029b6724dfada7b82a7cf029c
19af5a32468f39e8fa198901b6585ca485aca0ca
/sketches/particle/particlesystem.py
669112dca09c760ea2c1c201df79b2ce2046e4dd
[ "MIT" ]
permissive
kantel/nodebox1
9bf8f4bd5cd8fde569cb235a60be2bda4607ab76
9f9e8fe3cb7f033e55c4a52fe106c6b3fd849406
refs/heads/master
2022-05-18T12:12:14.314978
2022-04-09T16:04:00
2022-04-09T16:04:00
92,529,020
1
0
null
null
null
null
UTF-8
Python
false
false
1,441
py
# Particle-System # Nach dem Processing (Java) Sketch von Daniel Shiffmann # aus: The Nature of Code, o.O. 2012, Seite 149ff size(560, 315) speed(30) colormode(RGB) from pvector import PVector #---------------------Klassendefinitionen ------------------------ class Particle(object): def __init__(self, l): ...
[ "joerg@kantel.de" ]
joerg@kantel.de
952ec57240ec0cd076b3210096804a21425ada68
839ed24e7ecf66b6983f4f2629ef87b90c02d41e
/C/python3/c025.py
babcf7bbffb550765c70a42db073bacaff42438b
[]
no_license
ht0919/ProgrammingExercises
86634153be11d08ba45c8d06bf2574b48974a2a6
5a9dc356603e3a54d7fdd9d8780c8851f7f37928
refs/heads/master
2020-04-04T07:32:09.083569
2018-10-17T04:28:37
2018-10-17T04:28:37
25,193,626
0
0
null
null
null
null
UTF-8
Python
false
false
793
py
M = int(input()) # 1回に運べる枚数 N = int(input()) # FAXが届く回数 first = True cnt = 0 for i in range(N): tmp = input().rstrip().split(' ') x = int(tmp[0]) #時 y = int(tmp[1]) #分 c = int(tmp[2]) #枚数 if first == True: # 最初のケース h = x p = c first = False else: # 2回め以降のケ...
[ "ht0919@gmail.com" ]
ht0919@gmail.com
a7b89ed666f90f741189709714a0d769e456603a
9dc496421cc79235c6ad4a5207de52ec2298b0dd
/post/migrations/0005_auto_20190117_1443.py
1eab8ae327ec6f5836545c39540e0aa3ad2f1b77
[]
no_license
m0nte-cr1st0/my-first-blog
f9494189566984c62f16e579830074e539d19bd8
56aa3804253ea6c80560b6b5fcc6534614a0ac5f
refs/heads/master
2020-04-17T14:21:11.979436
2019-01-22T11:36:20
2019-01-22T11:36:20
155,852,519
0
0
null
null
null
null
UTF-8
Python
false
false
534
py
# Generated by Django 2.1.5 on 2019-01-17 12:43 from django.db import migrations, models import post.models class Migration(migrations.Migration): dependencies = [ ('post', '0004_auto_20190117_1429'), ] operations = [ migrations.AlterField( model_name='post', nam...
[ "dinamo.mutu111@gmail.com" ]
dinamo.mutu111@gmail.com
261b1e853ef38fe2040e5be44aa5017d5c600f5c
f76b743338f48bef09bdf9447cf230719b0a3c76
/深度学习/分数阶微分/赵骞/mnist_loader.py
e0a9c01d325e95807daebd1d75c81bde7434d8c0
[]
no_license
shao1chuan/regression
ca71a165067f7407a598f593d61e1df24632a42e
4ec9e40b1eafb697f89e956d1c625d8bb8c10ada
refs/heads/master
2023-08-23T01:30:05.924203
2021-10-13T14:32:43
2021-10-13T14:32:43
329,070,549
2
0
null
null
null
null
UTF-8
Python
false
false
3,480
py
""" mnist_loader ~~~~~~~~~~~~ A library to load the MNIST image data. For details of the data structures that are returned, see the doc strings for ``load_data`` and ``load_data_wrapper``. In practice, ``load_data_wrapper`` is the function usually called by our neural network mycode. """ #### Libraries # Standard l...
[ "4448445@qq.com" ]
4448445@qq.com
4ac51470ec597cda7528073e0c5c0b5d8d5a926f
4a50774fb00196e0bb57edf47a442e30dc1aa5be
/ฝึกเขียน/For_loop/mainloop.py
614d7b696686ddbf50faf163e35196e13cb38ec3
[]
no_license
Sittisukintaruk/learning-Coding-Self-Python
1124581aba4ebb01bcdee85e328a67d9c061931f
b0d2cad76a54ab94ceed3b456eca48eb09225aa3
refs/heads/master
2023-02-16T21:48:57.310708
2021-01-13T18:10:57
2021-01-13T18:10:57
298,890,199
0
0
null
null
null
null
UTF-8
Python
false
false
527
py
import math def fact (n): if n >= 0: if n == 0 or n == 1 : return 1 else: f = 1 for i in range(2 ,n+1): f = f * i return f else: return math.nan def permut(n , k): return fact (n) / (fact (n - k)) def com...
[ "fah78963214@gmail.com" ]
fah78963214@gmail.com
16786f8c9d2bef2bd6ac9518fcf57cc7fc19e607
73770ddb5441f589742dd600545c555dd9922ae8
/db_scripts/versions/d2c4a25c3c1d_v30_course_tree.py
824db58eae92c5499013a31689236ed782979526
[]
no_license
annndrey/trainingsite
c200a203c7a5fe832de70e9497a93df3745d63ef
6dce55dc25b2a6f5285a8cfba1fbd7d83dbbe96b
refs/heads/master
2020-03-29T16:11:06.336532
2018-09-24T12:53:55
2018-09-24T12:53:55
150,102,082
0
0
null
null
null
null
UTF-8
Python
false
false
7,792
py
"""V30_course_tree Revision ID: d2c4a25c3c1d Revises: a24e5727c770 Create Date: 2017-08-11 17:37:18.038419 """ from alembic import op import sqlalchemy as sa from sqlalchemy.dialects import mysql # revision identifiers, used by Alembic. revision = 'd2c4a25c3c1d' down_revision = 'a24e5727c770' branch_labels = None de...
[ "annndrey@trololo.info" ]
annndrey@trololo.info
6c833c96e9b2d68d9022c12b7ad1c058fa95fa67
4252102a1946b2ba06d3fa914891ec7f73570287
/pylearn2/datasets/tfd.py
2a8cff8eaf7353dfa2b022826fe526b825b96b87
[]
no_license
lpigou/chalearn2014
21d487f314c4836dd1631943e20f7ab908226771
73b99cdbdb609fecff3cf85e500c1f1bfd589930
refs/heads/master
2020-05-17T00:08:11.764642
2014-09-24T14:42:00
2014-09-24T14:42:00
24,418,815
2
3
null
null
null
null
UTF-8
Python
false
false
4,795
py
import numpy as np from pylearn2.datasets import dense_design_matrix from pylearn2.utils.serial import load from pylearn2.utils.rng import make_np_rng class TFD(dense_design_matrix.DenseDesignMatrix): """ Pylearn2 wrapper for the Toronto Face Dataset. http://aclab.ca/users/josh/TFD.html Parameters ...
[ "lionelpigou@gmail.com" ]
lionelpigou@gmail.com
7445fa91b3c0c18b7a57868865369d11968c26c3
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_196/ch25_2020_03_11_11_18_42_760637.py
290e11d5e107eaf55948946794c96f9f115582db
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
273
py
a = float (input("Qual a velocidade?")) b = float (input("Qual o ângulo de lançamento?")) g = 9.8 from math import sin d = ((a**2)*(sin*(2*b)))/(g) if (100-d)==2 or (100-d)<2: print ("Acertou!") elif d < 98: print ("Muito perto") else: print ("Muito longe")
[ "you@example.com" ]
you@example.com
3860aeb9a171e0c0407f824c7a3b97b4b7518ba3
ed682f663f29d43f45ece61afe8925055ecec161
/wsconnections/counter/views.py
0621dfc7e6f7a03bad8cbd26459756653f7f3035
[]
no_license
aaronbassett/django-ws-connections
0f24493c157748d809d623d610f6f21e27dbdba2
675b2431ee80bf76aee744a904eee0e284324678
refs/heads/master
2020-05-09T13:28:11.611876
2019-04-10T19:56:55
2019-04-10T19:56:55
181,153,357
5
0
null
null
null
null
UTF-8
Python
false
false
393
py
from django.views.generic import TemplateView from nanoid import generate class CountersWrapperView(TemplateView): template_name = "counter/index.html" def get_context_data(self, **kwargs): context = super().get_context_data(**kwargs) context['nanoid'] = generate(size=6) return context...
[ "me@aaronbassett.com" ]
me@aaronbassett.com
1a4049be4c964247c6ed69d9dbb126d7e5729c14
48e124e97cc776feb0ad6d17b9ef1dfa24e2e474
/sdk/python/pulumi_azure_native/deviceupdate/v20200301preview/__init__.py
ed784172151ec8f045708ca4679c6f49841e4023
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
bpkgoud/pulumi-azure-native
0817502630062efbc35134410c4a784b61a4736d
a3215fe1b87fba69294f248017b1591767c2b96c
refs/heads/master
2023-08-29T22:39:49.984212
2021-11-15T12:43:41
2021-11-15T12:43:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
615
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** from ... import _utilities import typing # Export this package's modules as members: from ._enums import * from .account import * from .get_account imp...
[ "noreply@github.com" ]
bpkgoud.noreply@github.com
3557914301b9c6b30c03271309e557c40ac31c24
90419da201cd4948a27d3612f0b482c68026c96f
/sdk/python/pulumi_azure_nextgen/devices/v20200301/iot_dps_resource.py
24ff4aa176709c49c612e62feff015417f73edda
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
test-wiz-sec/pulumi-azure-nextgen
cd4bee5d70cb0d332c04f16bb54e17d016d2adaf
20a695af0d020b34b0f1c336e1b69702755174cc
refs/heads/master
2023-06-08T02:35:52.639773
2020-11-06T22:39:06
2020-11-06T22:39:06
312,993,761
0
0
Apache-2.0
2023-06-02T06:47:28
2020-11-15T09:04:00
null
UTF-8
Python
false
false
7,270
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from ... import _utilities, _tables from...
[ "public@paulstack.co.uk" ]
public@paulstack.co.uk
2976ea7ae45914e9623b137b7d0c8dbd805a632f
f71273e5a2c4382ad990e350dfd58b702db56fdf
/app/migrations/0002_hashtag.py
79996242ffd39f4eb93d96ffb79c5a15687fff46
[]
no_license
jangheeseung/Django_pr
dcb6c4596b61a8f524964f735b726087c763ad7c
94dfe789b361ddb6cf28575d42238f85f8d25129
refs/heads/master
2023-04-27T08:07:16.398124
2019-06-02T07:19:07
2019-06-02T07:19:07
189,816,258
0
0
null
2022-11-22T03:33:52
2019-06-02T07:15:27
Python
UTF-8
Python
false
false
497
py
# Generated by Django 2.2 on 2019-05-21 15:49 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('app', '0001_initial'), ] operations = [ migrations.CreateModel( name='Hashtag', fields=[ ('id', models...
[ "gmltmd121@gmail.com" ]
gmltmd121@gmail.com
bb4c204fd838cabab66d96bd22ffe3b75aba2054
2bba4782f9085d2c0c324f6668709a81e482e095
/secao06/ex39.py
60905c0de2ffaf50db15faaf89b89564324145f2
[]
no_license
Saccha/Exercicios_Python
886ae07392f006226688b8817bf17a7a52020ef9
e54203cb8754180f0fe120ee60c462c2e74c86e3
refs/heads/main
2023-04-18T06:44:42.243579
2021-04-18T03:49:30
2021-04-18T03:49:30
346,230,383
0
0
null
null
null
null
UTF-8
Python
false
false
570
py
""" 39. Faça um programa que calcule a área de um triângulo, cuja base e altura são fornecida pelo usuário. Esse programa não pode permitir a entrada de dados inválidos, ou seja, medidas menores ou iguais a 0. """ base = int(input("Digite o tamanho da base do triângulo: ")) if base > 0: altura = int(input("Digite o...
[ "noreply@github.com" ]
Saccha.noreply@github.com
421b77d86e1828dc04ab6239fe78cafe93a062c5
d6e53e37c394acab024696b15c2da0a53a00d317
/zanhu/news/tests/test_urls.py
d11cf8b1a85d2fb9e98a5ab9fc6d0c7b5a5636e7
[]
no_license
3pacccccc/zanhu
04943ebefb32bac5668287c75dd1e6793010760d
c4ee76ef6018ae98cab7ea53255feeae83c8dfaf
refs/heads/master
2022-12-13T21:24:18.136698
2019-07-21T17:19:15
2019-07-21T17:19:15
191,209,450
4
0
null
2022-12-08T05:17:22
2019-06-10T16:57:02
CSS
UTF-8
Python
false
false
636
py
from test_plus import TestCase from django.urls import reverse, resolve class TestUserURLs(TestCase): def setUp(self): self.user = self.make_user() def test_detail_reverse(self): self.assertEqual(reverse('users:detail', kwargs={'username': 'testuser'}), '/users/testuser/') def test_deta...
[ "351489917@qq.com" ]
351489917@qq.com
8fbf4dbd5b542b886e1093c883ec70240afca7aa
3be42b83a15d022f5863c96ec26e21bac0f7c27e
/tensorflow_probability/python/bijectors/categorical_to_discrete_test.py
9ed4b7e54dc20c538567c8a95c95853e66ff5711
[ "Apache-2.0" ]
permissive
ogrisel/probability
846f5c13cddee5cf167b215e651b7479003f15d2
8f67456798615f9bf60ced2ce6db5d3dba3515fe
refs/heads/master
2022-11-09T10:53:23.000918
2020-07-01T23:16:03
2020-07-01T23:17:25
276,580,359
2
1
Apache-2.0
2020-07-02T07:37:58
2020-07-02T07:37:57
null
UTF-8
Python
false
false
5,842
py
# Copyright 2018 The TensorFlow Probability Authors. # # 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 o...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
d1110e2cb826366becbe3ad092ac71f92eaa8b9b
bb3c7f1af8520ec1ba117353819af1066d098b35
/Backend/ShipEzy/settings.py
eead43054d37953888167f2c0e1321fc750a47f1
[]
no_license
RitikaSingh02/ShipEzyy
fc36cab264848d61090d4a0824cde7f453b8fcc6
a00e86afd39efcfe99a2e770cbde5d15ff8fdae0
refs/heads/master
2023-07-11T21:50:58.788964
2021-07-30T15:56:05
2021-07-30T15:56:05
394,031,670
0
0
null
null
null
null
UTF-8
Python
false
false
2,777
py
import os from dotenv import load_dotenv load_dotenv('./.env') # Build paths inside the project like this: os.path.join(BASE_DIR, ...) BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) SECRET_KEY = os.environ.get('secret_key') DEBUG = True ALLOWED_HOSTS = ['*'] INSTALLED_APPS = [ 'django.co...
[ "ritika2002singh@gmail.com" ]
ritika2002singh@gmail.com
9e0d5240635da3a56ff4da7586e70ff3ae30616e
84abce44bd0278fa99e9556168290675f399834c
/EcalAlCaRecoProducers/config/reRecoTags/Cal_Nov2016_ped_v1.py
d5be47190da438134c7f8e99b01ad280f2f89499
[]
no_license
ECALELFS/ECALELF
7c304c6b544b0f22a4b62cf942f47fa8b58abef0
62a046cdf59badfcb6281a72923a0f38fd55e183
refs/heads/master
2021-01-23T13:36:31.574985
2017-06-22T12:26:28
2017-06-22T12:26:28
10,385,620
1
9
null
2017-06-30T12:59:05
2013-05-30T15:18:55
C++
UTF-8
Python
false
false
725
py
import FWCore.ParameterSet.Config as cms # Official GT for september re-reco # pedestal tags produced by Jean for pedestal studies: # 6a9a2818932fce79d8222768ba4f2ad3f60f894c payload is used (first Bon pedestal run of 2016, Apr) from CondCore.ESSources.CondDBESSource_cfi import * #CondDBConnection.connect = cms.stri...
[ "shervin.nourbakhsh@cern.ch" ]
shervin.nourbakhsh@cern.ch
1f802b207229f09d76b481f39de935bcd569ef13
6db8aba817161dc573f16cde185f4a1c02c753e0
/KadaneAlgo.py
b019a9517f32915d97e6d71d177e4028b4821033
[]
no_license
Prakashchater/Leetcode-array-easy-questions
456153a13397c895acae6550dad8f1b1851ff854
7c5d40f9d68dbf61f4a61a33d9b54f769473b057
refs/heads/main
2023-06-19T14:01:52.483440
2021-07-22T19:44:40
2021-07-22T19:44:40
354,926,404
0
0
null
null
null
null
UTF-8
Python
false
false
752
py
""" # Time: O(N) Space: O(1) def kadaneAlgo(arr): maxsum = 0 currsum = 0 for i in range(len(arr)): currsum = currsum + arr[i] if currsum > maxsum: maxsum = currsum if currsum < 0: currsum = 0 return maxsum if __name__ == '__main__': arr = [5, -4...
[ "prakashchater@gmail.com" ]
prakashchater@gmail.com
1331240bbd0b83d5db30d30dc807f04821e2ffaa
927b50cdaf1c384c8bbf6f13816d0ba465852fd8
/main/admin.py
28531a2a583252a8277b2b1e07b6cbe1b50faae0
[ "MIT" ]
permissive
jhabarsingh/DOCMED
f37d336483cffd874b0a7db43677c08a47bd639c
8a831886d3dd415020699491687fb73893e674c5
refs/heads/main
2023-04-26T06:45:10.409633
2021-05-19T14:37:53
2021-05-19T14:37:53
316,683,855
3
5
MIT
2021-02-21T13:32:33
2020-11-28T07:51:22
JavaScript
UTF-8
Python
false
false
341
py
from django.contrib import admin from main.models import UserCategory, Patient, Doctor, Appointment, Prescription, Contact # Register your models here. admin.site.register(UserCategory) admin.site.register(Patient) admin.site.register(Contact) admin.site.register(Doctor) admin.site.register(Appointment) admin.site.re...
[ "jhabarsinghbhati23@gmail.com" ]
jhabarsinghbhati23@gmail.com
f485063b77515a897b7551e37b28a77deb3059e6
700577285824a21df647aba584d51420db59c598
/OpenColibri/allauth/socialaccount/providers/oauth2/views.py
669a16b17622bb341dac4351bf60494a8bf28ae9
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
epu-ntua/opencolibri
2c05acc43ef1b1c86608f6e729a4f83773b01b73
78e2411f78a0213b3961145cfe67cd52398cea70
refs/heads/master
2016-09-11T02:39:43.798777
2014-04-06T11:30:39
2014-04-06T11:30:39
15,764,540
2
0
null
null
null
null
UTF-8
Python
false
false
2,973
py
from django.core.urlresolvers import reverse from django.http import HttpResponseRedirect from allauth.socialaccount.helpers import render_authentication_error from allauth.socialaccount import providers from allauth.socialaccount.providers.oauth2.client import (OAuth2Client, ...
[ "smouzakitis@epu.ntua.gr" ]
smouzakitis@epu.ntua.gr
c738ca9f29e6ac11acd68e45f8559240446bfa5b
b7da8d949067a6a7c3a177693ba1bc1f1fe4d533
/quantdigger/branches/quantweb/demo/backup/dstushare.py
5a9cb6ddd582847d0365cd348ccd8339f0c35624
[]
no_license
sunlandli/stock
422722d14405e368f7f295ef2ef7c40e880cd4ef
0112f70335d5ae17b05093ac7c36824a41caf88c
refs/heads/master
2021-07-15T15:21:45.834055
2017-10-19T07:05:13
2017-10-19T07:05:13
100,480,563
2
0
null
null
null
null
UTF-8
Python
false
false
1,510
py
# -*- coding: utf-8 -*- import pandas as pd import tushare as ts import cache as cc # tsshare的get_h_data接口默认只取一年 # 所以这里使用一个很早的时间强制获取所有历史数据 _VERY_EARLY_START = '1988-12-12' def _process_dt(dt): return str(pd.to_datetime(dt).date()) if dt else None def _process_tushare_data(data): data.open = data.open.astype...
[ "sunlandli@tom.com" ]
sunlandli@tom.com
667ab42b912802cfb95982deef3a8ed88a2b595b
0a88cb38439a3e19dd4d4f052895c94f19979649
/box/Scripts/migrate-script.py
ceadc22465e8cc343d82766ee1a183e9d804415d
[]
no_license
pace-noge/online_shop
a9427fbb2eff205af87f03c0bbb3585a37bb697f
ac20010d4046c86b399217cab09267c890a777c2
refs/heads/master
2020-05-18T03:03:16.364749
2013-02-15T06:28:28
2013-02-15T06:28:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
315
py
#!C:\EmeraldBox\box\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'sqlalchemy-migrate==0.7.2','console_scripts','migrate' __requires__ = 'sqlalchemy-migrate==0.7.2' import sys from pkg_resources import load_entry_point sys.exit( load_entry_point('sqlalchemy-migrate==0.7.2', 'console_scripts', 'migrate')() )
[ "nasa.freaks@gmail.com" ]
nasa.freaks@gmail.com