blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
213 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
d84af18fe56189733f921cafb5d0b50df6b510f0
188fe0297208671994b0b86595777c299868db97
/src/sniptly/utils.py
4284f010f9fd3e66a38517071dbebcc8ad37baee
[ "MIT" ]
permissive
jjaakko/sniptly
2e986a51e7a8fa0e64907bab277ea735d47b65ef
c8190294f75a7b3db26af40e4b3592b5c5971b91
refs/heads/main
2023-05-31T22:41:53.398006
2020-07-08T14:57:52
2021-06-25T12:53:04
380,056,593
0
0
null
null
null
null
UTF-8
Python
false
false
316
py
from typing import List def extensions_to_glob_patterns(extensions: List) -> List[str]: """Generate a list of glob patterns from a list of extensions. """ patterns: List[str] = [] for ext in extensions: pattern = ext.replace(".", "*.") patterns.append(pattern) return patterns
[ "jaakko.kuurne@gmail.com" ]
jaakko.kuurne@gmail.com
c60cdc9f404197e9f25f6886a5275714e93ab0a6
e5d3d68e9353af93875707551d2747617245ffc3
/climate/climate_data.py
f4be63b690f9dfa1fdda948ff96308128c166dc9
[]
no_license
Ryan2718/Python-Projects
5686679ba82c0feb7c4155e7a4a2adea51bad1a3
2b57abfe19007baaeba86fdd6a1ecd8fc6b1cb9c
refs/heads/master
2020-06-18T00:00:14.071343
2019-07-10T02:00:06
2019-07-10T02:00:06
196,105,303
0
0
null
null
null
null
UTF-8
Python
false
false
295
py
# -*- coding: utf-8 -*- class ClimateData(object): def __init__(self, monthly_avg_tmps, monthly_avg_precips, hemisphere): self.monthly_avg_tmps = monthly_avg_tmps # Degree C self.monthly_avg_precips = monthly_avg_precips # mm self.hemisphere = hemisphere
[ "8814511+Ryan2718@users.noreply.github.com" ]
8814511+Ryan2718@users.noreply.github.com
70eaf35542dd8f1c66ae7cf3d79e7fd989040d4c
e6360219ba06194fac1f7ea91cd003f2a3db2ff1
/study_3/home_price.py
70c87c85c7010e1d2e3b1df1b68437f655c24d18
[]
no_license
jianhanke/spider
077926c83c3d14ccd233a9a2425d181511578f3b
63bf688b6592d1e9dd879728eab84a7c32b73b0a
refs/heads/master
2020-06-03T02:45:50.597189
2019-12-01T05:00:03
2019-12-01T05:00:03
191,402,230
1
0
null
null
null
null
UTF-8
Python
false
false
1,442
py
import requests from bs4 import BeautifulSoup import pymysql import math all_div=[] all_sql=[] initial_url='https://bj.fang.lianjia.com/loupan/' r=requests.get(initial_url) html=r.text soup=BeautifulSoup(html,'html.parser') num=soup.find('span',attrs={'class':'value'}).string page_num=math.ceil(int(2)/int(...
[ "1340289@qq.com" ]
1340289@qq.com
506d688e20757e0dd1604e8d6ae25f193dfeba46
5d2bc0efb0e457cfd55a90d9754d5ced9c009cae
/venv/lib/python2.7/site-packages/tests/test_143_BindParamInsertStmtNoneParam.py
7f4130ed2b4d3e3e6d5fd8ef375b62d1d15af6c8
[]
no_license
michaelp1212/paxton
dafe08eca55557d036189d5242e47e89ec15bf2d
0bd1da471c3a594c0765a4bc5cd1288404791caf
refs/heads/master
2021-03-25T07:17:06.523340
2020-03-19T01:38:24
2020-03-19T01:38:24
247,598,121
0
0
null
null
null
null
UTF-8
Python
false
false
1,576
py
# # Licensed Materials - Property of IBM # # (c) Copyright IBM Corp. 2007-2008 # from __future__ import print_function import sys import unittest import ibm_db import config from testfunctions import IbmDbTestFunctions class IbmDbTestCase(unittest.TestCase): def test_143_BindParamInsertStmtNoneP...
[ "smartwebdev2017@gmail.com" ]
smartwebdev2017@gmail.com
c8851fdcd0ba2ec7377d62611dc383d6a9fc7a29
e1184e2b369fd262477faee6ba526529d14bd972
/usrosint/modules/money/bymeacoffee.py
e8f85f0c98cdcb9f7acaa103ee14cdd3b8ec499a
[]
no_license
krishpranav/usr-osint
f3cf9d745fe15344c68c6ebde65e4963a6da6a96
9f2aba37563d483662997e88df875d7a4b8df3a6
refs/heads/master
2023-04-10T05:44:53.193444
2021-05-03T06:37:01
2021-05-03T06:37:01
363,646,588
5
0
null
null
null
null
UTF-8
Python
false
false
1,302
py
#!/usr/bin/env python3 # imports import requests import time class BuyMeACoffee: def __init__(self, config, permutations_list): self.delay = config['plateform']['buymeacoffee']['rate_limit'] / 1000 self.format = config['plateform']['buymeacoffee']['format'] self.permutations_list = [perm....
[ "krisna.pranav@gmail.com" ]
krisna.pranav@gmail.com
b90ea379482b78b1417dc5edfa366466e4debbcc
7a183caebc1ec41e108d7d6457952b7848d1cec4
/vulnserver/4_vs_test_badchars.py
f57ee6c5f8715bf4ca0b23d74ec80a31dc8310b9
[]
no_license
charchitt/Exploiting-Simple-Buffer-Overflows-on-Win32
b4c0289a0a107f19c927980c3dd11a0fce80b787
fd31f914b8dcd59926a6b2fcfe7eda1061d0f0ec
refs/heads/master
2021-09-10T21:12:52.098548
2018-04-02T08:03:23
2018-04-02T08:03:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,490
py
#!/usr/bin/python import socket server = '192.168.1.19' sport = 9999 s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) connect = s.connect((server, sport)) print s.recv(1024) # root@kali:~/Desktop/exploit_development/tools# ./badchar.py # Length of badchars = 256 badchars = "\x00\x01\x02\x03\x04\x05\x06\x07\x08\x...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
a2e6edfc7aac4240eb34217f1becdb34cd8d5020
305703bc970856fb472543842b89f6fcde8c6dae
/lib/vnf_util.py
74013ca9d51670a6f79600fffed4280827ce7fca
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
whiteslack/vnfproxy-monitor
9d78d6fa88a4fddd9998f60fe720598fe38d3ab7
198f17ef955f36a360bda3b4fc4941e5fd4986d8
refs/heads/master
2023-02-09T14:14:27.674372
2018-01-15T14:51:34
2018-01-15T14:51:34
326,210,955
0
0
NOASSERTION
2021-01-02T15:25:05
2021-01-02T15:24:57
null
UTF-8
Python
false
false
748
py
import sys sys.path.append('lib') import os from charmhelpers.core.hookenv import ( config, log, hook_name, action_name, action_tag) def dump_config(): try: cfg = config() log(cfg) for key in sorted(cfg): value = cfg[key] log("CONFIG: %s=%s" % (key, va...
[ "jmguzman@whitestack.com" ]
jmguzman@whitestack.com
c11859f6e1d0616857c9b865a1805b79f9b8c7f0
1e0c96a0dfe38dec1a455d3bc060db68da1e3775
/Labs/lab9/check.py
903d4465646cfc4090ecacab1907a4df9122b00a
[]
no_license
aakib97/CSE3100-Fall2018
9849733b7479398746ba5b01c29ad727c0f3558c
ff492efbad26c9965a4ee179824d41805385d164
refs/heads/master
2020-04-20T13:37:33.803482
2019-02-02T20:22:18
2019-02-02T20:22:18
168,873,695
0
0
null
null
null
null
UTF-8
Python
false
false
3,194
py
#!/usr/bin/python from __future__ import print_function from collections import deque import sys, re def sys_error(s): print ("Error: " + s) sys.exit(1) # not used def print_help(): print("Useage: check.py") sys.exit(0) ptn_id = re.compile('^(Computer|Printer)\s+(\d+)\s'); ptn_job = re.compi...
[ "noreply@github.com" ]
aakib97.noreply@github.com
ecd4be1afced3ec620f42586d01fd75dd3af6f6e
aa59c25c4f26e56fcccae3d97cd3a06f3b9fdd8f
/observatorio/apps/proyecto/models.py
3aca9deefaaf0f2c86f470918bae50ca9de4976b
[]
no_license
observatorio-app/appobservatorio
63c75d2fadb268d5581c1aafe0d73f53ce75845c
0f72dfb6bf0857d3671e080c32ce95bdc1ab7195
refs/heads/master
2020-09-12T22:29:41.975541
2016-10-20T23:21:08
2016-10-20T23:21:08
67,890,241
0
0
null
null
null
null
UTF-8
Python
false
false
2,230
py
from __future__ import unicode_literals # -*- encoding: utf-8 -*- from django.contrib.auth.models import User from django.db import models class inicioModel(models.Model): titulo_inicio = models.CharField(max_length = 100) descripcion_inicio = models.CharField(max_length = 2000) imagen = models.ImageField(upload_t...
[ "alka65@hotmail.com" ]
alka65@hotmail.com
50a447e509a6ebe7b197517babfbbed9f929b499
e4ef71dc9fac6c6e14e756bd08f90fd0be4c2cbc
/setup.py
30a5c8dbd40c094cb90bb9e07b2bb145d66f783a
[]
no_license
kanemathers/gitdeployed
83ce202d6871e170d8e4ad387ffa49b0e2dbde67
559792a52a8f531e2fbe456d4bdb711b8612b8ee
refs/heads/master
2021-01-25T07:08:30.495584
2013-03-18T12:18:40
2013-03-21T23:48:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,288
py
import os from setuptools import setup, find_packages here = os.path.abspath(os.path.dirname(__file__)) README = open(os.path.join(here, 'README.md')).read() CHANGES = open(os.path.join(here, 'CHANGES.txt')).read() requires = [ 'pyramid', 'SQLAlchemy', 'transaction', 'pyramid_tm', 'pyramid_de...
[ "kane@kanemathers.name" ]
kane@kanemathers.name
42edb0eb2d403f1126c37e4449983680b6cfcb5a
7911be298e9076bb5196ef439a9390b753f88bb7
/blogz/main.py
f3a3fedede0a9e4ba0499dc3592b54da59eea966
[]
no_license
hadelesko/build-a-blog
8ace8cbe9c904103886db53ce1cb0218b17fd401
a001fabaefc25bf1683b0f328190f0ca5cd043b9
refs/heads/master
2020-03-11T00:12:57.330004
2018-04-28T19:10:06
2018-04-28T19:10:06
129,658,303
0
0
null
null
null
null
UTF-8
Python
false
false
5,731
py
from flask import Flask, request, redirect, render_template, url_for from flask_sqlalchemy import SQLAlchemy import cgi ### # Prototype of redirect() function is as below − # Flask.redirect(location, statuscode, response) # In the above function − # location parameter is the URL where response should be redirected. # ...
[ "koomiadeh@gmail.com" ]
koomiadeh@gmail.com
6fea38efd9587c0f1c4bc509aa002254a6355839
bd882b2eb4cd60d8bf85e3315756115a64df0456
/2.1 Concurrent.futures.py
4d7ed0b2d56cc49bfb0e4764d3fb9098cd6971d8
[]
no_license
nicholas-dinicola/Multiprocessing-Threading
821081f20a8c45e1ee2f21227b24b7128136a4ad
52d177b1cac8197698fee149865c1baf85a6b328
refs/heads/main
2023-04-15T00:27:43.067653
2021-04-30T12:14:28
2021-04-30T12:14:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
667
py
import time import concurrent.futures start = time.perf_counter() # USING CONCURRENT.FUTURES # Create th efunction and return the values this time as a string def do_something(seconds): print(f"Sleeping for {seconds} second...") time.sleep(seconds) return f"Done sleeping!... {seconds}" # Use concurrent...
[ "noreply@github.com" ]
nicholas-dinicola.noreply@github.com
9a10e0de99d5041d082038eac9a19066c6e33076
3666c88c1bb764e3d98bbfd56205c8b988a254f1
/INFO1_09_C.py
c50a821271e5e0d1a4867aaa18a96b7ab4dc9704
[]
no_license
shi-mo/aoj
538b97e7d56136df0197ad015cc85c5aa9501ca5
b058e77a53163a0ada1425d3966b45b2619e275c
refs/heads/master
2023-04-02T18:33:43.783422
2023-03-20T12:20:37
2023-03-20T12:20:37
6,807,323
0
0
null
null
null
null
UTF-8
Python
false
false
140
py
n = int(input()) q = int(input()) a = [0] * n for _ in range(q): k = int(input()) a[k] += 1 print('\n'.join([str(x) for x in a]))
[ "yoshifumi.shimono@gmail.com" ]
yoshifumi.shimono@gmail.com
be797f6881585deaade34f37044408d5b9dd06c1
cceac4991f4835dd30584f101e02bbc6c42f9e94
/conanfile.py
9f6ed061c8f9d053b70f5cd1fc82c5cd3a45df4a
[ "MIT" ]
permissive
CPP-MULTI-LIB-CONAN-JENKINS-EXAMPLE/ci-LibA
d194bb68e51b9b7931483157f8296ff086adeca9
f2d0095195807a26514ba9accc05b029c04fc6f7
refs/heads/master
2021-07-08T01:41:36.125617
2020-02-23T22:11:36
2020-02-23T22:11:36
242,383,139
0
0
null
null
null
null
UTF-8
Python
false
false
1,690
py
import os from conans import ConanFile, CMake, tools class LibA(ConanFile): name = "LibA" version = "0.0.1" default_user = "testuser" default_channel = "stable" description = "LibA Test library for ci testing, no dependencies" url = "https://github.com/CPP-MULTI-LIB-CONAN-JENKINS-EXAMPLE/ci-L...
[ "you@example.com" ]
you@example.com
a64245cbe787503c981ed5ae555557bd8c098130
2a3164480da911ee2f3a59cae113c79a8946ff21
/auto_ml/train.py
a521b44e27dec424589354268866a7421fff4b51
[]
no_license
rshekhovtsov/romla
8e0f8002f5c972e9631406c6b2a5189749d54630
bdf3804eb0b4ac0b0166031c685212e11f2de1f1
refs/heads/master
2020-03-29T22:08:38.157897
2018-10-08T16:05:34
2018-10-08T16:05:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,031
py
import argparse import os import pandas as pd import pickle import time from sklearn.linear_model import Ridge, LogisticRegression from sklearn.preprocessing import StandardScaler from utils import transform_datetime_features from auto_ml import Predictor # use this to stop the algorithm before time limit exceeds T...
[ "pomka@yandex.ru" ]
pomka@yandex.ru
1b2e64f780ec7f16cbe47cb8915ab689f5e89234
bd4a3247155f51c30cf3c07346efbd30b234f424
/helpdesk/accounts/admin.py
ec0201faf57b29d458dfa7ee071204695332f51d
[]
no_license
ps9999/helpdesk_django
581239151f366e6f2e76f5ce11651df2597f8c5f
517d44ad1c166bfebe1269585e5a1c7dcc69afe7
refs/heads/master
2023-05-04T10:54:40.195348
2021-05-30T17:49:09
2021-05-30T17:49:09
372,278,819
0
0
null
null
null
null
UTF-8
Python
false
false
161
py
from django.contrib import admin from .models import UserDetails # Register your models here. admin.site.register(UserDetails) # Register your models here.
[ "developer18.punctualiti@gmail.com" ]
developer18.punctualiti@gmail.com
d126a50f4d9c899393dc40a8dda55d2413361056
2d6323b8ccaf08a8929dba79fb9575c436977bd4
/docassemble_webapp/docassemble/webapp/alembic/versions/77e8971ffcbf_first_alembic_revision.py
af735caf90d6410f5f90040d7f83aab3a8717b21
[ "MIT" ]
permissive
jhpyle/docassemble
f1c36e73d02807a7052b860dfceecdfa88e728c7
8726242cfbe3a15cad610dc2b518346be68ab142
refs/heads/master
2023-09-01T20:03:39.497473
2023-08-26T12:44:45
2023-08-26T12:44:45
34,148,903
691
300
MIT
2023-09-09T20:08:14
2015-04-18T02:09:32
Python
UTF-8
Python
false
false
511
py
"""first alembic revision Revision ID: 77e8971ffcbf Revises: Create Date: 2017-08-13 09:07:33.368044 """ from alembic import op import sqlalchemy as sa from docassemble.webapp.database import dbtableprefix # revision identifiers, used by Alembic. revision = '77e8971ffcbf' down_revision = None branch_labels = None de...
[ "jhpyle@gmail.com" ]
jhpyle@gmail.com
e7dcd01c1652e5c39955a5034b1397b2b507b1d2
7ebb9a09f0b033022ea12a1084aba64db6a83c61
/downloadUsersGraph.py
4388277760fc38204399e882deb6d91ba35ef86e
[ "Apache-2.0" ]
permissive
bhaskarvk/ShellShockAnalysis
447c897509916c908c1ffbc08d2519414cf4d7b8
d60edf18da0cda0d2643b61e2a82ca4a57eed468
refs/heads/master
2021-01-02T22:31:21.547631
2015-05-13T14:32:04
2015-05-13T14:32:04
24,659,240
2
0
null
null
null
null
UTF-8
Python
false
false
4,894
py
import tweepy import sys import jsonpickle #import pandas as pd import networkx as nx import os userDetailsCache = {} def getUserDetails(api, cache, userIds): uniqUserIds = set(userIds) # return object userDetails = list() cachedUserIds = set([userId for userId in uniqUserIds if userId in cache]) ...
[ "bhaskar.karambelkar1@one.verizon.com" ]
bhaskar.karambelkar1@one.verizon.com
04f64864c4808ff07643657ba76b4819ca99b6cf
ddef64902d50174004c86d45adbf88fb0924f0a0
/train.py
d81a370f5103907b06397a854544e735bfac0296
[ "MIT" ]
permissive
Babibubebon/DCGAN-chainer
731a531db8afc51b4b026e8eb1476493bc116dd2
1beb499c559362907a0fd79cb641ad5ba10a0780
refs/heads/master
2021-05-01T09:13:00.708857
2017-01-16T17:22:58
2017-01-16T17:22:58
75,496,801
0
0
null
null
null
null
UTF-8
Python
false
false
6,300
py
#!/usr/bin/env python import argparse import os import sys import numpy as np from PIL import Image import chainer import chainer.functions as F import chainer.links as L from chainer import Variable from chainer import serializers from chainer import training from chainer.training import extensions from net import G...
[ "babibubebon@babibubebo.org" ]
babibubebon@babibubebo.org
b76d58cb204ba500878f7cd3c2ede8c946049e1e
6d43c34b418233d9b81980e6cba01a26d6a3e91a
/baekjoon/Bronze/b_14613.py
bc85792a2757157456ca9059dc0112cad935f09b
[]
no_license
spongebob03/Playground
1cbba795294e5d609cb0ae951568f62d6f7e8dbc
4acae2f742f9f8b7e950053207e7c9f86cea6233
refs/heads/master
2021-01-05T04:22:36.303355
2020-05-22T13:59:28
2020-05-22T13:59:28
240,878,997
0
0
null
null
null
null
UTF-8
Python
false
false
200
py
#20판 했을때 결과 점수 import sys def score(w,l,d): r=20*w*50+20*l*(-50)+20*d*0 return r x=sys.stdin.readline().split() w=float(x[0]) l=float(x[1]) d=float(x[2]) print(score(w,l,d))
[ "sunhee1996@naver.com" ]
sunhee1996@naver.com
bc60efd01c040cb518b3422687792c91c73cfecf
72b349152a3af42a6f071071882e9c08720a1b75
/121.py
c18e98d981f348db8c0ae4996a87e3d85b8a9870
[]
no_license
Deepakdk7/PlayerSet13
3ffed2fb4bcd5c043de647f93700c4003687da29
fc7d559636ed83a231b1bf1681d21485ee134030
refs/heads/master
2020-06-05T15:28:38.442065
2019-07-08T14:35:58
2019-07-08T14:35:58
192,473,197
0
0
null
null
null
null
UTF-8
Python
false
false
89
py
ax=int(input()) c=[] for i in range(0,ax): c.append(input()) c=sorted(c) print(c[0])
[ "noreply@github.com" ]
Deepakdk7.noreply@github.com
39aba911814d6e695bacb578bca4d346e8d77f35
3ae4c65b8463c0ae2d6f4edfae85a62b9922230f
/SimDis/exps/arxiv/base_exp_simDis.py
704a19939b7f41f2efef9143197a78c658f0ad52
[ "MIT" ]
permissive
dungdinhanh/SimDis
2eb2e946ad38d10d7e8e0a03b4dc53e59436438c
0871a217a756acc268f35f802e35b01b12817f0d
refs/heads/main
2023-06-15T15:03:48.114277
2021-07-15T16:01:49
2021-07-15T16:01:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,731
py
# encoding: utf-8 import os import itertools import torch import torch.nn as nn import torch.distributed as dist from SimDis.models.sim_dis_train_model import SimDis_Model from SimDis.exps.arxiv import base_exp from SimDis.layers.optimizer import LARS_SGD class Exp(base_exp.BaseExp): def __init__(self, args): ...
[ "jindong@MAQ22589.redmond.corp.microsoft.com" ]
jindong@MAQ22589.redmond.corp.microsoft.com
8d0509ef4d9588c50f4b53e2600484a81696135d
f67beb57a4b54c5e5c5dd8ac030f6adebc1fd9cf
/Offer/6.py
10f402f56449c35e89abf9a0b5862eb3e0cdfbbb
[]
no_license
jasonliujiang/DataStructurePython
e00e526ce4f65542c5cdd88da05e707e29f1b815
ec4768b6b49e1dfa96f5fef66e4d4ee3d09b2ccf
refs/heads/master
2022-01-30T19:07:02.135289
2019-07-07T01:59:54
2019-07-07T01:59:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,847
py
""" 旋转数组的最小数字 Q: 把一个数组最开始的若干个元素搬到数组的末尾,我们称之为数组的旋转。 输入一个非减排序的数组的一个旋转,输出旋转数组的最小元素。 例如数组{3,4,5,1,2}为{1,2,3,4,5}的一个旋转,该数组的最小值为1。 NOTE:给出的所有元素都大于0,若数组大小为0,请返回0。 A: 二分查找的变形,旋转数组的首元素肯定不小于旋转数组的尾元素,找一个中间点,如果中间点比首元素大,说明最小数字在中间点后面,如果中间点比尾元素小,说明最小数字在中间点前面。然后循环。 但是在一次循环中,首元素小于尾元素,说明该数组是排序的,首元素就是最小数字,如果出现首元素、尾元素、中间值三者相等,则只能在此区域中顺序查...
[ "jason_liujiang@163.com" ]
jason_liujiang@163.com
895d715fb433475c1e0bbac0e0de220755191440
c0df13f6936d433dd317b825fb15f1a19a0d8c91
/python/challenges/multi_bracket_validation/multi_bracket_validation.py
bfba9a0fe2afc414e817ff0b0937b8270c696dc4
[ "MIT" ]
permissive
kmangub/data-structures-and-algorithms
17400365e28f562f4f213cefc4f278faec69c100
44b42c0d892f39593997bccb793eacc4d7d98906
refs/heads/master
2023-04-07T00:55:39.015895
2021-04-07T15:24:16
2021-04-07T15:24:16
298,032,265
0
0
MIT
2021-04-07T15:24:17
2020-09-23T16:38:52
JavaScript
UTF-8
Python
false
false
1,571
py
def multi_bracket_validation(string): """ This function will check to see if the brackets are matching. It creates an empty list, which is our stack and we will iterate through each character. Any opening brackets will be appended to our stack. When it encounters a closing bracket, it wi...
[ "karlomangubat92@gmail.com" ]
karlomangubat92@gmail.com
ae2e93a6208b4010177eb59cd1e9848965a91f17
09f370c50cfe220f623f57b30489a9ddb31f4441
/d2/sol1.py
7154678fb0a318c18324941507a3a0306fef9e18
[]
no_license
chanin-shim/SWEA
bb755787d6d7b62bf4a62b5fb5bd3b8b166cffac
2dcfdd4feeb0027e50a5a82e58326b399466f816
refs/heads/master
2023-04-14T12:14:19.662433
2021-04-22T13:55:35
2021-04-22T13:55:35
339,105,390
0
0
null
null
null
null
UTF-8
Python
false
false
187
py
import sys sys.stdin = open("input.txt") T = int(input()) 19(T) -> 11(L) 6(G) -> 34(i) -> 31(f) 38(m) -> 30(e) for tc in range(1, T+1): print("#{} ".format(tc, ))
[ "chanin.shim@gmail.com" ]
chanin.shim@gmail.com
3949fcb5e38cae1dfee79add93d17672db7ce79f
6909de83dd90ee1169d6c453c327ab2ce2687485
/scheme/tests/08.py
4081350d6bc2a5a3e87e9b394b45fcdb83bd2d98
[]
no_license
dantefung/cs61a-2021-summer
730cb0b9ab7327c32c619779d71882531bf328dd
4f22f20fcfddfb5bf121081919310413209da1b2
refs/heads/master
2023-08-19T14:51:27.380738
2021-11-01T06:54:33
2021-11-01T06:54:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,570
py
test = { "name": "Problem 8", "points": 1, "suites": [ { "cases": [ { "code": r""" scm> (lambda (x y) (+ x y)) 1456de84c3edf333b6f7aee0c0624b20 # locked scm> (lambda (x)) ; type SchemeError if you think this caus...
[ "wuyudi1109@gmail.com" ]
wuyudi1109@gmail.com
b3e7ce620c23754a089a63d0309b815e97c65655
8756821493ab79aeb3f4fd6255470c415e1fbcf5
/server/api/user/urls.py
686a5a45b4e23f66d9a325b0045bd171abf152e5
[]
no_license
aleloup-ops/Dashboard-EPITECH
462cbcec141fd3b9218ebde8a4c269cc6cab58a4
8871c55e89884ffddaaf851928d3220d3e8f9eab
refs/heads/main
2023-02-20T10:22:40.811112
2021-01-19T20:42:21
2021-01-19T20:42:21
317,262,364
1
1
null
null
null
null
UTF-8
Python
false
false
178
py
from django.urls import path, re_path from . import views urlpatterns = [ path('', views.index, name='index'), path('<str:user_id>', views.get_user, name='get_index') ]
[ "alexandre.megel@epitech.eu" ]
alexandre.megel@epitech.eu
2ed362409143988f8e51e25c2879fbeca2e5301f
9724e9d7a03a1fbf39eeb4010b1083d25922e087
/introduction-to-hadoop-and-mapreduce/project_discussion_forum_data/post_and_answer_length/mapper.py
c98444a3a24c0a7fcf7b740ccec1c205ab0df1f8
[]
no_license
rzskhr/Hadoop-and-MapReduce
d083061ae7ec607f5b7bdf46d170d90a46ec22a3
ca126ff05c78c42b699fd0b6cf7c3c0fc4c03313
refs/heads/master
2021-05-01T07:15:01.456532
2018-03-18T01:47:43
2018-03-18T01:47:43
121,152,389
1
0
null
null
null
null
UTF-8
Python
false
false
629
py
#!/usr/bin/python import sys import csv reader = csv.reader(sys.stdin, delimiter='\t') reader.next() for data in reader: if len(data) == 19: id, title, tagnames, author_id, body, node_type, parent_id, abs_parent_id, added_at, score, state_string,\ last_edited_id, last_activity_by_id, last_...
[ "rzskhr@outlook.com" ]
rzskhr@outlook.com
00f8c9438b9ec2ded08e135db341637e568f1e40
d6934bd6680e704aac70660b5abb047b82b81cd3
/cart/views.py
97c18ab5d2708a547b3b8ef61fafe4fa28feffe9
[]
no_license
mockystr/django_shop
b20239c753b67980b05d7311e5b28cb50b433250
85c805860c380c21ea6e9b30950dac09ec5d45d3
refs/heads/master
2020-03-27T21:11:14.083013
2018-09-11T16:08:59
2018-09-11T16:08:59
147,122,372
2
0
null
null
null
null
UTF-8
Python
false
false
1,576
py
from django.shortcuts import render, redirect, get_object_or_404 from django.views.decorators.http import require_POST from shop.models import Product from .cart import Cart from .forms import CartAddProductForm from coupons.forms import CouponApplyForm from shop.recommender import Recommender @require_POST ...
[ "navruzov.e@mail.ru" ]
navruzov.e@mail.ru
0c1e6d12cfdc587b71555a705a5987682eeec445
c059eb73ca9687bcfb469e6de5b1cd45574ab5c4
/django/mysite/pybo/migrations/0003_answer_author.py
9902c64bc56ffa2874e5e45b7488d0e0e533bee7
[]
no_license
DongwookKim0823/Jump_To_Django
01a5367b94874130bb44eebbc5917d32663c3a2b
99b2e50cb2ce50fc02e5eea7297eba9b67683fa6
refs/heads/main
2023-07-03T00:28:03.528556
2021-08-05T14:59:04
2021-08-05T14:59:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
627
py
# Generated by Django 3.2.4 on 2021-07-13 08:39 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('pybo', '0002_...
[ "dwkim0823@naver.com" ]
dwkim0823@naver.com
499b84e469bde9702e0fa190e50d9de456e494ed
fc52aef588754c41db17a1d28252b1899c2a8cba
/swampy/Lumpy.py
9eaf153cdd7a2b087e758150c0f4213d5d1b9776
[]
no_license
hypan599/think_complexity
884e5fcaeeaf66450da6ce28439bfe2b49a14439
26b4542c7362e8aa8731a6794228595c01605697
refs/heads/master
2021-09-08T10:55:26.755023
2018-03-09T10:39:57
2018-03-09T10:39:57
112,902,374
0
0
null
null
null
null
UTF-8
Python
false
false
48,358
py
#!/usr/bin/python """This module is part of Swampy, a suite of programs available from allendowney.com/swampy. Copyright 2010 Allen B. Downey Distributed under the GNU General Public License at gnu.org/licenses/gpl.html. UML diagrams for Python Lumpy generates UML diagrams (currently object and class diagrams) fro...
[ "450096325@qq.com" ]
450096325@qq.com
ceb7cb6f8c86412333ab9392d9aa1fc6635148f2
ba6fdc168ce09d187cfd06f086b04981ba04b2b0
/taller3.py
df847c149532795514dd55686de0adeb80a14387
[]
no_license
milerojas22/claseleo
09ee08a70001e5d7c29f9e750a50395de7d59ce6
abdebc683825f88bd90e9e8492278747c2964874
refs/heads/master
2020-05-14T11:23:49.645805
2019-04-17T17:12:48
2019-04-17T17:12:48
181,776,618
0
0
null
null
null
null
UTF-8
Python
false
false
258
py
lista=[] total=0 for n in range(10): numero =int(input('ingrese un numero: ')) lista.append(numero) total = total + numero media = total/10 print(lista) print('la suma de los numeros es: ',total) print('la media de los numeros es: ',media)
[ "noreply@github.com" ]
milerojas22.noreply@github.com
ff911b73f444a01ff61fb583fc88cb2d68d51835
faef34f960744959556f57b4507802e502b77159
/mainapp/migrations/0003_auto_20201123_0304.py
5f8df5a7242c31edc4a5e13a40e2ff8653fb46ac
[]
no_license
m1ger1/roboplatform
2437d2122d1fcbde551fe95cd087ea85154ec066
1408f453418a28710b89c29aa6cbca6dbe1f0d02
refs/heads/master
2023-05-27T10:40:25.503728
2021-01-11T12:11:59
2021-01-11T12:11:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
527
py
# Generated by Django 3.1.3 on 2020-11-23 00:04 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('mainapp', '0002_lesson_kit'), ] operations = [ migrations.RemoveField( model_name='lesson', name='kit', ), ...
[ "brainnugget50@gmail.com" ]
brainnugget50@gmail.com
fdde8e83ba117d2ea66f9539b6c792b0bcbe5cfe
1d814ce93d4be5dc4b8ebf8b68225469e6b70e63
/captcha/validate.py
3d4d5b6c248ff8fc2ad29c91a66d776abf2eac96
[ "MIT" ]
permissive
cimi/cscg-2020
3296f228af46bcc77ff419cb6a882616c6589e59
62377bbad3ed5bcaea5e80e032b73a7dbb73e1d0
refs/heads/master
2022-10-02T03:15:35.856086
2020-06-07T13:34:18
2020-06-07T13:34:18
268,373,490
4
4
null
2020-05-31T22:20:00
2020-05-31T22:16:47
Python
UTF-8
Python
false
false
1,772
py
from keras.models import load_model from keras.preprocessing import image from sklearn.preprocessing import LabelEncoder from processor import split_image import cv2 import numpy as np import os def get_encodings(): letters = [] for filename in os.listdir('training/letters/'): if '-' not in filename: con...
[ "alexandru.ciminian@datadoghq.com" ]
alexandru.ciminian@datadoghq.com
d28eff1868de620720a05348c3fdaf9a7e1b03c0
028a5df3cfe1560f007a8f1b8526bd53a911f913
/inf3331/assignment3/addition_testing.py
569cf2cd5df0960861126d1431c429ca3baf762e
[]
no_license
danielosen/code
243b55ef896af6ac2de9f9ada4221bb9f201c196
05d45c8299fda9711f747d5c4c7051d11d11a0ee
refs/heads/master
2021-01-23T05:34:53.889322
2017-05-31T18:17:59
2017-05-31T18:17:59
92,972,954
0
0
null
null
null
null
UTF-8
Python
false
false
955
py
from my_unit_testing import UnitTest def better_addition(a, b, num_rechecks=2): """Returns sum of a, b, but double checks answer several times.""" sum_computations = [a + b for n in range(num_rechecks)] for n in range(num_rechecks): if sum_computations[n] != sum_computations[n-1]: ...
[ "noreply@github.com" ]
danielosen.noreply@github.com
f007ba5d6aa59a34b0b98a5351546bea5223f172
212d3a4ccd591a741df36e8d073b1be8b09b00cd
/BackEnd/server.py
5b51641911158c741f1b9f861f98fa4972f9c095
[]
no_license
BITNP/group-message-system
a9f7cd81ad7b79b1d67e80a6f456791dcf410b12
0f6354b3bf567fe0ed3b604641b9d942696b50d7
refs/heads/master
2020-03-28T06:39:10.849698
2018-10-30T18:26:27
2018-10-30T18:26:27
147,850,354
1
1
null
null
null
null
UTF-8
Python
false
false
10,871
py
from http.server import BaseHTTPRequestHandler, HTTPServer import time import json import requests import MySQLdb import os import hashlib import databaseIO.databaseIO as dbIO HOST = '' PORT = 29999 ADDR = (HOST, PORT) # HTTP/1.1 404 Not Found # Server: 360wzws # Date: Fri, 29 Jun 2018 15:33:21 GMT # Content-Type: te...
[ "loveress01@gmail.com" ]
loveress01@gmail.com
ec664ac41515769e3c89fadff9679e0e257cfc80
275a53900c00f5601ea4ee748a5234c079cf7d03
/python/dimensions.py
28367c205e94a8d0388a5313e0660af577df414a
[]
no_license
yangzhi1992/com.yangzhi
cb3f6a32b334aedb07920f46be859ff71305ef41
5125e83b097fe4627b6c764d8cf8c80a2c433020
refs/heads/master
2022-12-24T13:49:00.004808
2021-02-05T08:32:53
2021-02-05T08:32:53
94,555,037
0
0
null
2022-12-15T23:51:41
2017-06-16T15:03:39
Python
UTF-8
Python
false
false
208
py
dimensions = (200, 50) print(dimensions[0]) print(dimensions[1]) for dimension in dimensions: print(dimension) #修改元组变量 dimensions = (400, 100) for dimension in dimensions: print(dimension)
[ "18255305960@163.com" ]
18255305960@163.com
c104c748d49c8886c7bd2820bfa0e1350aadf4d0
42f73952d74b54c09d2125e70d4c368914d8b6e0
/alien_invasion.py
bd62aadff61926bc0c4aa7d08b907d09c52caa5a
[]
no_license
satishraopublic/alieninvasion_python_learning
4b4f0bc780afe38f3aaf8e26cea34b054fbe65bc
a0bb1f6a83f75f70b70e16692800f96b2b862408
refs/heads/master
2020-11-26T17:34:24.539792
2019-12-20T00:26:21
2019-12-20T00:26:21
229,160,235
0
0
null
null
null
null
UTF-8
Python
false
false
1,195
py
"""This module does blah blah.""" import sys import pygame from settings import Settings from ship import Ship class AlienInvasion: """Overall class to manage game assets and behavior.""" def __init__(self): """Initialize the game, create game resources """ pygame.init() self.settin...
[ "Satish.Rao@hyland.com" ]
Satish.Rao@hyland.com
18f042bb0f084e97263613d6449e4ee812df322e
d3e4b3e0d30dabe9714429109d2ff7b9141a6b22
/Visualization/GeometricDistributionVisualization.py
fbfed65f86cbcd01ebecf2fa1232a8b51ecbb3e1
[ "MIT" ]
permissive
SymmetricChaos/NumberTheory
184e41bc7893f1891fa7fd074610b0c1520fa7dd
65258e06b7f04ce15223c1bc0c2384ef5e9cec1a
refs/heads/master
2021-06-11T17:37:34.576906
2021-04-19T15:39:05
2021-04-19T15:39:05
175,703,757
1
0
null
null
null
null
UTF-8
Python
false
false
183
py
from Combinatorics.Distributions import GeometricDist import matplotlib.pyplot as plt D1 = GeometricDist(.7) x1 = [i for i in range(5)] y1 = [D1[i] for i in x1] plt.scatter(x1,y1)
[ "ajfraebel@gmail.com" ]
ajfraebel@gmail.com
57afc4a0527aaaeec405e6b4f5aac56b2d626423
7f7f144d393f41080df4e9b1a56781fa9300ffc4
/config.py
23672005dc6dba5a409a10c8d6a7292ce3966003
[]
no_license
kusl/myflaskproject
4377295614e167524c14a6fe114b3eccdaaaccb6
badff41d75f87b885d4edf03d7a0eb8f3d428c87
refs/heads/master
2022-12-24T14:47:59.786155
2018-11-04T20:25:01
2018-11-04T20:25:01
155,693,473
0
0
null
2021-03-20T00:17:43
2018-11-01T09:42:58
Python
UTF-8
Python
false
false
907
py
#!/usr/bin/python from configparser import ConfigParser def config(filename='database.ini', section='postgresql'): # create a parser parser = ConfigParser() # read config file parser.read(filename) # get section, default to postgresql db = {} if parser.has_section(section): params...
[ "kushaldeveloper@gmail.com" ]
kushaldeveloper@gmail.com
2708b1428543747ec56290be32c256416258be61
3ce31eb855c6427a4ec9e803029949461b969adc
/fts/tests.py
a665637c279b1b10310058c31eb92358b35b3b18
[]
no_license
pcp135/exercise
93b98aadfe3a955807ce6467361357f90fcd352b
4addbc308ec6b71cab4f127741bc9cbaf0ebd3a8
refs/heads/master
2021-01-25T10:29:02.912759
2012-07-28T22:06:46
2012-07-28T22:06:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,427
py
from django.test import LiveServerTestCase from selenium import webdriver from selenium.webdriver.common.keys import Keys import login class ExerciseTest(LiveServerTestCase): fixtures = ['adminUser.json'] def setUp(self): self.browser = webdriver.Firefox() self._setup_workouts_via_admin() def tearDown(self...
[ "phil@parsons.uk.com" ]
phil@parsons.uk.com
d6d72b632eee1e7e11f2658e74868cd2b2f3ef7a
e3be689445fb37a275bf003240738ab7311445e0
/hist-gauss/hist.py
6fbe60ad944253f4cad4e6ef3138268564064a74
[]
no_license
dvgreetham/PhD-tools
407d6e8dd16023839a556b4e3ce10d1ce90deda9
a1bfac1abc7a2464dcb3d000d33636c863136c62
refs/heads/master
2020-05-17T03:00:38.024971
2019-02-05T11:05:23
2019-02-05T11:05:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,401
py
# -*- coding: utf-8 -*- """ Created on Mon May 14 10:43:45 2018 @author: goranbs compute, plot and write the histogram of a dataset """ import sys import numpy as np import matplotlib.pyplot as plt from scipy.optimize import curve_fit # ------------------------------------------------ # if len(sys.argv) < 3: ...
[ "g.svaland15@imperial.ac.uk" ]
g.svaland15@imperial.ac.uk
2681855eee69bd7b63dea1ac73d3aa9a3853b399
4ba091b217faddd0ee053c6f5f49547a3fc2713d
/big_feature/pysot/models/head/rpn.py
3ab768d43d54393a17e89c04725fc93ae0269920
[]
no_license
Catchen98/SOT-Projects
98cb90058c288596dbf516004777553e176a5250
352f43cd7d615fbdb08246fad9aefee03beca9e3
refs/heads/master
2022-12-19T00:56:43.095395
2020-09-17T13:30:23
2020-09-17T13:30:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,485
py
# Copyright (c) SenseTime. All Rights Reserved. from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals import torch import torch.nn as nn import torch.nn.functional as F import os from pysot.core.xcorr import xcorr_fast, xco...
[ "1850357388@qq.com" ]
1850357388@qq.com
f7afa319768395b6eef4accf776458d254625b6a
4a9995871447a406a7e6307a030503700cd41226
/script/testCase/Y3me项目/数字化建模/会员中心/标签分类.py
1085b33fd1c37f473f55bd6f1171e6c1ce96626a
[]
no_license
juntaoh1234/12122003
96a107ce22d930e8d9517810736d8f6ce92dc7ad
4bee39286c3708d7a0df3001e0daa9da51478170
refs/heads/master
2020-10-01T18:20:01.572599
2019-12-12T12:04:08
2019-12-12T12:04:08
227,596,967
3
0
null
null
null
null
UTF-8
Python
false
false
1,973
py
# coding=utf-8 from time import time, sleep from SRC.common.decorator import codeException_dec from SRC.unittest.case import TestCase from script.common import utils from selenium import webdriver from selenium.webdriver import ActionChains class EasyCase(TestCase): def __init__(self, webDriver, paramsList): ...
[ "1341890679@qq.com" ]
1341890679@qq.com
8ad8ff8a9685b9435f5d29a63a84df3cf8caf11c
7198404ed7691e4061f511e35071717ca81254b2
/hydrus/core/HydrusNetworking.py
0eb37b75f999a972a9ddb676c1c8fd0f3c8a6e0e
[ "WTFPL" ]
permissive
seniorm0ment/hydrus
d05b0bb83c54c258971fbb0797cbd28565945619
78261ecf9e192877013671ed7ee4517da581f900
refs/heads/master
2023-03-14T15:59:42.386590
2021-03-23T21:05:43
2021-03-23T21:05:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
30,038
py
import calendar import collections import datetime import http.client import json import psutil import socket import threading import urllib import urllib3 from urllib3.exceptions import InsecureRequestWarning urllib3.disable_warnings( InsecureRequestWarning ) # stopping log-moaning when request sessions have verify ...
[ "hydrus.admin@gmail.com" ]
hydrus.admin@gmail.com
21ec36ee3a016d32669ac9d1be8b28dba85bb29c
7bc201562c3180a26438cccdb6d36c80361b848d
/IUM/utils/readers/pandas_reader.py
7032aec89b005c736442b1378659efd2cfe8599a
[]
no_license
steciuk/IUM-recommendation-system
6615aa3bcdd6b367ab9ef4b85319ad4e95d68e57
528649ed5d1ee1b9ab1ace4980ff09d8234ef6e6
refs/heads/main
2023-03-22T13:03:33.505086
2021-03-18T17:33:43
2021-03-18T17:33:43
314,654,026
1
0
null
null
null
null
UTF-8
Python
false
false
524
py
import pandas as pd from definitions import ROOT_DIR def read_users(): with open(f'{ROOT_DIR}/data/ver3/users.csv', encoding='utf-8') as f: data = pd.read_csv(f) f.close() return data def read_products(): with open(f'{ROOT_DIR}/data/ver3/products.csv', encoding='utf-8') as f: data = ...
[ "steciuk77@gmail.com" ]
steciuk77@gmail.com
8b4cad1be68e2f4fcefaf8bf77548f5a8969fafe
b144c5142226de4e6254e0044a1ca0fcd4c8bbc6
/ixnetwork_restpy/testplatform/sessions/ixnetwork/impairment/profile/fixedclassifier/fixedclassifier.py
f4d28d081bb4e76412d0bede32333114ae5ce943
[ "MIT" ]
permissive
iwanb/ixnetwork_restpy
fa8b885ea7a4179048ef2636c37ef7d3f6692e31
c2cb68fee9f2cc2f86660760e9e07bd06c0013c2
refs/heads/master
2021-01-02T17:27:37.096268
2020-02-11T09:28:15
2020-02-11T09:28:15
239,721,780
0
0
NOASSERTION
2020-02-11T09:20:22
2020-02-11T09:20:21
null
UTF-8
Python
false
false
4,408
py
# MIT LICENSE # # Copyright 1997 - 2019 by IXIA Keysight # # 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,...
[ "srvc_cm_packages@keysight.com" ]
srvc_cm_packages@keysight.com
678d22bbbc45af9180741f592078ac3728b94c06
fa7f72fe2369733f8f97d2324d8e236deb6eab39
/Python/memory_puzzle.py
05c22e82d2331d3201b6f93d0b0bb2058c3c1533
[ "CC0-1.0" ]
permissive
Gulnaz-Tabassum/hacktoberfest2021
bd296832f7ff07712b0b4671a8bd841d645abc29
ffee073f6efa4090244b55966fd69dde51be12f1
refs/heads/master
2023-08-17T13:18:17.557965
2021-10-08T09:52:19
2021-10-08T09:52:19
414,930,631
2
0
CC0-1.0
2021-10-08T09:52:20
2021-10-08T09:47:37
null
UTF-8
Python
false
false
7,829
py
import random,pygame,sys from pygame.locals import * fps=30 wnwidth=640 wnheight=480 revelspeed=8 boxsize=40 gapsize=10 boardwidth=10 boardheight=7 assert (boardwidth*boardheight)%2==0,'Board need to have even number of boxes for pair of matches.' xmargin=int((wnwidth-(boardwidth*(boxsize+gapsize)))/2) ymargin=int((wn...
[ "mishrajitendra227@gmail.com" ]
mishrajitendra227@gmail.com
3b426af60e4124804c4a06843f6ed5f94cda8311
a964615ecce097846f8e36d338394c54802cf790
/sit_il/models/rl/npg/vpg/vpg_continuous_agent.py
f33848319b6f4c81eab6a0c08f08967b631e53fa
[]
no_license
edwardyulin/sit_project
c0b3333252090408637846c1f4b6f2e1e6e9f574
dd3e877c0ad281e39af2df68ab5c002d83677ccc
refs/heads/master
2023-09-05T17:37:58.371763
2021-10-29T07:59:54
2021-10-29T07:59:54
414,883,885
0
0
null
null
null
null
UTF-8
Python
false
false
15,107
py
#imports from typing import List, Optional, Tuple, Any, Dict, Union import tempfile from pathlib import Path import numpy as np from dataclasses import field, dataclass import pandas as pd import gym import wandb import tensorflow as tf from tensorflow.keras.utils import plot_model from sit_il.models.rl.npg.vpg.ml...
[ "67679083+edwardyulin@users.noreply.github.com" ]
67679083+edwardyulin@users.noreply.github.com
58b3db9657a0382c8a7ea0ee22ebded1e7d0734f
de392462a549be77e5b3372fbd9ea6d7556f0282
/accounts/migrations/0129_auto_20210526_0952.py
1c06372188954ab5ff13971cdb0cf2f166006a10
[]
no_license
amutebe/AMMS_General
2830770b276e995eca97e37f50a7c51f482b2405
57b9b85ea2bdd272b44c59f222da8202d3173382
refs/heads/main
2023-07-17T02:06:36.862081
2021-08-28T19:07:17
2021-08-28T19:07:17
400,064,408
0
0
null
null
null
null
UTF-8
Python
false
false
732
py
# Generated by Django 3.2.3 on 2021-05-26 06:52 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('accounts', '0128_auto_20210520_1129'), ] operations = [ migrations.AlterField( model_name='car', name='car_number', ...
[ "mutebe2@gmail.com" ]
mutebe2@gmail.com
57fc7cebd01728f8421be44aefcb47b90b42b206
ef9effb573816b7678b8da5dda541f640cffc3e0
/data/CIFAR10_test_query.py
f104e3f691ddcc847dd486b75dbcffcbc6f075fd
[]
no_license
yinianqingzhi/PQN
c0a3d835e9898803e8b056b45f0a5560c840165f
ba7724b8d97d8c42a44e61a2edd0a64e4f5be1ab
refs/heads/master
2020-04-07T19:46:07.102174
2018-11-22T07:52:05
2018-11-22T07:52:05
158,661,765
2
0
null
null
null
null
UTF-8
Python
false
false
6,624
py
from __future__ import print_function from PIL import Image import os import os.path import numpy as np import sys if sys.version_info[0] == 2: import cPickle as pickle else: import pickle import torch.utils.data as data # from .utils import download_url, check_integrity import random class CIFAR10_test_query...
[ "2622786022@qq.com" ]
2622786022@qq.com
cfb27aa31eff40e7e67b086f392c63700528a5a7
dd12e0765060a05ab0a824f46177732e8dd7ca39
/models/research/object_detection/train.py
d36a1e8a8a99904262489eeeff66906feab65856
[ "Apache-2.0" ]
permissive
jsqiaoliang/w9-github
828e24c931ae545297ea9ab21931bfdbca188580
af35993a0884ce1b78f73c1a307911e9d8f53dad
refs/heads/master
2022-11-11T04:37:05.382092
2018-06-30T00:49:01
2018-06-30T00:49:01
139,206,271
0
1
null
2022-10-22T13:05:19
2018-06-30T00:07:14
Python
UTF-8
Python
false
false
6,812
py
# Copyright 2017 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "809402755@qq.com" ]
809402755@qq.com
4eebb4950c40548137f7a1e945c05bc727b4d459
9de6d807ee4569f8829ee77135dfdab0edfb52f0
/contenidos/migrations/0016_auto__add_field_libro_editorial__add_field_libro_tipo__add_field_libro.py
b4aedad1aaf553fdb78f07925547cc5c0ec6d5a0
[]
no_license
dev-fjn/Fundacion
2d21155c74adc0a9049941c0796311bf407b07b1
f9053c09fbfd607273e44e4688bdb7302134f3f0
HEAD
2016-09-16T11:53:48.960224
2014-06-17T16:14:29
2014-06-17T16:14:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,136
py
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding field 'Libro.editorial' db.add_column(u'contenidos_libro', 'editorial', self....
[ "fjn_dev@fundacionjuannegrin.com" ]
fjn_dev@fundacionjuannegrin.com
cfccf2f5b9e4e5cf01fe4e18d2ba20b35a0ecfb3
8d3235b0a7212c9089667c8858026996d7349e1f
/Test2/work.py
d64e7a620677b10287bed95d07774c1ec2640441
[]
no_license
kategavrishina/homework4prog
7c5c129b0c35854ef29b6d1359e24da5435c7f87
0182f91f77c317392e7a9deaf5bd802f380f95f0
refs/heads/master
2018-09-06T13:50:19.952523
2018-06-19T09:34:57
2018-06-19T09:34:57
103,937,939
0
0
null
null
null
null
UTF-8
Python
false
false
1,181
py
#Вариант 1 import re import collections def first(filename): lines = 0 with open(filename, 'r', encoding = 'utf-8') as f: text = f.read() text = re.sub('<text>.+?', ' ', text) for line in text: lines += 1 with open('result.txt', 'w', encoding = 'utf-8') ...
[ "noreply@github.com" ]
kategavrishina.noreply@github.com
87c54eb66d5d84191cb938250febc8f6e93c66bd
1c6283303ceb883add8de4ee07c5ffcfc2e93fab
/Jinja2/lib/python3.7/site-packages/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/writeactions_b6ffad884e16fd072bdbe0c697cc514e.py
bebad5f05592157f45ad6a78e307f0ca57195d62
[]
no_license
pdobrinskiy/devcore
0f5b3dfc2f3bf1e44abd716f008a01c443e14f18
580c7df6f5db8c118990cf01bc2b986285b9718b
refs/heads/main
2023-07-29T20:28:49.035475
2021-09-14T10:02:16
2021-09-14T10:02:16
405,919,390
0
0
null
null
null
null
UTF-8
Python
false
false
11,181
py
# MIT LICENSE # # Copyright 1997 - 2020 by IXIA Keysight # # 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, ...
[ "pdobrinskiy@yahoo.com" ]
pdobrinskiy@yahoo.com
280852c62724590eb29ecc92644759f667191119
ef63608c4aad9b5e9f0cbbc189483904c0b26167
/users/urls.py
038af218d1ce0def8823257b687b78cc822f74be
[]
no_license
wgrn/authentication
98e1226cc44ac71702063d501359b7881aeebe74
0f0251d7056dec5a446ecc319ae69173ab2afaaa
refs/heads/master
2020-08-03T13:49:32.766743
2019-10-04T05:51:58
2019-10-04T05:51:58
211,773,359
0
0
null
null
null
null
UTF-8
Python
false
false
471
py
from django.urls import path #from django.conf.urls import patterns, url from . import views urlpatterns = [ path("", views.index, name="index"), path("login", views.login_view, name="login"), path("signup", views.signup_view, name="signup"), path("logout", views.logout_view, name="logout"), path(...
[ "noreply@github.com" ]
wgrn.noreply@github.com
5d6f9a66f1c3e02ba109c5b2a1e9d46eae5df09a
a871a6dcd54567815182a9176d9311cccd329d17
/venv/bin/pip3
e487e050a47e49427607455d3dc385b3686bb835
[]
no_license
alearcyber/riskofspeed
4cb4638ebd170505b9ac739268b0e702fda0051b
8840c7486ef27734e3d27a4ab697f292bc0003ca
refs/heads/main
2023-04-15T18:41:26.786197
2021-05-05T04:54:22
2021-05-05T04:54:22
364,078,114
0
0
null
null
null
null
UTF-8
Python
false
false
267
#!/Users/aidanlear/PycharmProjects/djangoProject/venv/bin/python # -*- coding: utf-8 -*- import re import sys from pip._internal.cli.main import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "atl9004@g.rit.edu" ]
atl9004@g.rit.edu
40d1051a115a6157fa99c3dbd88b6ef79e788c1b
b8dd380b0059fdb23acdebdac61c2a6d6966148d
/4_dfs.py
7ef6771159bce2f8c49e526ada16471d6d4cb0be
[]
no_license
mahesh-keswani/data_structures_algorithms_important_problems
d252ab667829fa432f68967b4afe938872b2fded
c9894b1ec8fa9627436231d511c2fa39090013ae
refs/heads/master
2023-08-28T04:00:52.315796
2021-10-23T08:55:48
2021-10-23T08:55:48
267,893,017
0
0
null
null
null
null
UTF-8
Python
false
false
408
py
class Node: def __init__(self, name): self.name = name self.children = [] def addChild(self, name): self.children.add(Node(name)) ## this array parameter will contain the nodes in the order in which dfs will traverse def dfs(self, array): array.append(self.name)...
[ "2017.mahesh.keswani@ves.ac.in" ]
2017.mahesh.keswani@ves.ac.in
a8031ded3535a8d986397f81e78b23a3edbd4090
05fa669ab75829b4ca5fdaccfdd04b7febd48d2a
/pipelines.py
08d9452f8e82bfd094d09caddd4f5da5d0646ad1
[]
no_license
songqingbo/scrapy_wangyi
5429883f273ed67e3f21e12e8e1c3f50cbe9c7b1
2f584a41a9be8d224725697217b8c17461377650
refs/heads/master
2021-01-19T04:55:47.469907
2017-04-06T08:19:04
2017-04-06T08:19:04
87,403,893
0
0
null
null
null
null
UTF-8
Python
false
false
1,566
py
# -*- coding: utf-8 -*- import MySQLdb import time class WangyiPipeline(object): def __init__(self): print 'init' self.host = '101.200.159.42' self.user = 'java' self.pw = 'inspero' self.database = 'musicnew' def open_spider(self, spider): self.database = MySQL...
[ "1792997269@qq.com" ]
1792997269@qq.com
7359839f86074836d7c6a25a6217217830c1ca5e
72f128e70882dc1b8aaee44e213dce3f7a6216c4
/BLL/athleteOrderedItems.py
ccc2d2c51bd5cf710c78063b56ecc26bd751475c
[]
no_license
Tfrodrigo/VMES-Sales-Summary
6e3f6f96e214c06a7bec5429cc1d8e2084fdf11b
e096bbfe24ffc3dd521016e4f4c63cae63981b1b
refs/heads/master
2020-09-09T13:43:52.949369
2020-01-25T09:26:17
2020-01-25T09:26:17
221,461,767
0
0
null
2020-01-25T09:26:18
2019-11-13T13:08:27
Python
UTF-8
Python
false
false
2,604
py
from PyQt5 import QtCore, QtGui, QtWidgets from PyQt5.QtWidgets import QMessageBox, QTableWidget,QTableWidgetItem import sys from functools import partial sys.path.insert(0, '../DAL') from handler import DataHandler dh = DataHandler('../VMES.db') sys.path.insert(0, '../UI') import athleteOrderedItems_ui ...
[ "noreply@github.com" ]
Tfrodrigo.noreply@github.com
fe2cdcd32f98b4183ed69b57275abb3b9f6fda68
92bbffaf4645d4f31bb875f364613d33e4b16dee
/comtek/wsgi.py
07640011ebb9a37f61e8d74081b91109451da0b9
[]
no_license
Alwa0/comtek_test
5ab57d345f14eafa1d8989d3ffb9e29c4fe950b2
2684afb887839a98372a13bd1b36da1f659d7e73
refs/heads/master
2023-06-17T00:16:14.936805
2021-07-05T13:43:01
2021-07-05T13:43:01
381,620,578
0
0
null
null
null
null
UTF-8
Python
false
false
389
py
""" WSGI config for comtek project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETTIN...
[ "a.paukova@innopolis.university" ]
a.paukova@innopolis.university
d3accd1450790151f1cc4bae3aac2b7777deb88c
743b3aa5721a7c09cba1810de6037fbf79de5603
/Neural_network/f_derivatives.py
0f5f6e8ac3518feaf17afa54477c5c4d7fbafd21
[]
no_license
nz0001na/handson-ml
f3a1186ad357a5e1b025d644af9f1e78a27d4496
b0f0b65e765212669c4624a4caa2ba710607ab20
refs/heads/master
2023-08-08T02:13:34.212337
2023-08-05T03:54:23
2023-08-05T03:54:23
249,257,389
0
0
null
null
null
null
UTF-8
Python
false
false
1,741
py
''' This lab will give you a more intuitive understanding of derivatives. It will show you a simple way of calculating derivatives arithmetically. It will also introduce you to a handy Python library that allows you to calculate derivatives symbolically. ''' from sympy import symbols, diff J = (3)**2 J_epsilon = (3+0...
[ "noreply@github.com" ]
nz0001na.noreply@github.com
4fb41b19a08644ca54882e05c48b17021c24fa0b
bc2a85e8dd9244f89e2f1801cc19d570a87c74ed
/Leetcode/Algorithms/Easy/DFS/PathsToLeaves.py
336c2921cae9752f9332113f74e3e72f985fc54c
[]
no_license
christian-miljkovic/interview
1cab113dbe0096e860a3ae1d402901a15e808e32
63baa1535b788bc3e924f3c24a799bade6a2eae3
refs/heads/master
2023-01-11T14:53:09.304307
2020-02-04T17:35:12
2020-02-04T17:35:12
193,549,798
0
0
null
2023-01-05T05:56:15
2019-06-24T17:28:50
Python
UTF-8
Python
false
false
1,228
py
""" Given a binary tree, return all root-to-leaf paths. Note: A leaf is a node with no children. Example: Input: 1 / \ 2 3 \ 5 Output: ["1->2->5", "1->3"] Explanation: All root-to-leaf paths are: 1->2->5, 1->3 """ # Definition for a binary tree node. # class TreeNode: # def __init__(self, x): #...
[ "cmm892@stern.nyu.edu" ]
cmm892@stern.nyu.edu
4e9ab2bd4be3a4849519d5303ae16a5aed55bf46
24d8cf871b092b2d60fc85d5320e1bc761a7cbe2
/BitPim/rev2895-2991/base-trunk-2895/phones/com_lgg4015.py
fd8246f01ff6a959d30da98cf06c5e09949710a7
[]
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
29,030
py
"""Communicate with the LG G4015 cell phone """ import base64 import sha import time import bpcalendar import common import commport import com_gsm import guihelper import memo import nameparser import p_lgg4015 import prototypes import sms class Phone(com_gsm.Phone): """ Talk to the LG G4015 Phone""" desc='LG-...
[ "joliebig@fim.uni-passau.de" ]
joliebig@fim.uni-passau.de
807f765e562c91b7b553d54b94e18b572bf55c33
6f94db52103adeee9727d795ca1ba0b9d98f096f
/geodjango/api/serializer.py
dcf71d5dcd9c61c90253300244984896dd8c66f0
[]
no_license
dannybombastic/vozplus
a15fa5a13f39b749479bdc39ad87062b50f775a7
b338809797f874388bbff270dea1c342e9d0fa56
refs/heads/master
2022-12-10T12:53:27.441115
2018-08-01T08:52:39
2018-08-01T08:52:39
143,129,291
0
0
null
2022-12-08T02:25:12
2018-08-01T08:48:10
Python
UTF-8
Python
false
false
2,312
py
from django.contrib.auth.models import User, Group from rest_framework import serializers, exceptions from django.contrib.gis.db import models from django.contrib.auth import authenticate, login from .models import Laptop, MenbersPoint from rest_framework_gis.serializers import GeoFeatureModelSerializer #...
[ "root@tough-cough.com" ]
root@tough-cough.com
ba1172395def777d712bd499abc3f9b9c2a962b1
6d8b11a7a056963fc976d61c1a1050888bb43218
/main.py
1421bed6d2feae3ca3def9f47642253ad02d9057
[]
no_license
RubenJacobse/test
ad60e324c6b161a3f26614245291d31081a2478d
de6ca9154ed84f0ebf56395d51431cb28cfdd93c
refs/heads/master
2021-10-08T11:44:15.034664
2018-12-11T22:54:48
2018-12-11T22:54:48
107,828,990
0
0
null
2017-10-22T01:44:05
2017-10-22T01:36:55
null
UTF-8
Python
false
false
90
py
def print_hello(): print("Hello World!") if __name__ == "__main__": print_hello()
[ "ruben_jacobse@hotmail.com" ]
ruben_jacobse@hotmail.com
7277918ec75809a8a71b8275b98e117a96846ba6
2b167e29ba07e9f577c20c54cb943861d0ccfa69
/numerical_analysis_backup/small-scale-multiobj/pareto2/backup_arch4_pod100_new/pareto19.py
de8f21e817aca14a05b627e5caf903f8d4b0192a
[]
no_license
LiYan1988/kthOld_OFC
17aeeed21e195d1a9a3262ec2e67d6b1d3f9ff0f
b1237577ea68ad735a65981bf29584ebd889132b
refs/heads/master
2021-01-11T17:27:25.574431
2017-01-23T05:32:35
2017-01-23T05:32:35
79,773,237
0
0
null
null
null
null
UTF-8
Python
false
false
1,949
py
# -*- coding: utf-8 -*- """ Created on Thu Aug 4 15:15:10 2016 @author: li optimize both throughput and connections """ #import sys #sys.path.insert(0, '/home/li/Dropbox/KTH/numerical_analysis/ILPs') import csv from gurobipy import * import numpy as np from arch4_decomposition_new import Arch4_decompose np.random...
[ "li.yan.ly414@gmail.com" ]
li.yan.ly414@gmail.com
cebc2086404383471286d8b1b71e54e5c281e023
c874e55ec73043f6b837601cc58d855d37649e59
/avbernat/All_Morphology/update_on_04.20.2020/all_morph-Autumn2019.py
be4b5cca643de276216485f02507d4426d0bf064
[]
no_license
mlcenzer/SBB-dispersal
85c54c924b399834a798d700cabf0b2702ae0755
1a777370986f83186180552a09149dfba72b96d0
refs/heads/master
2022-12-11T10:13:32.416530
2022-12-03T16:23:52
2022-12-03T16:23:52
229,098,494
0
0
null
null
null
null
UTF-8
Python
false
false
3,446
py
import os import csv from datetime import datetime, date all_morph = r"/Users/anastasiabernat/Desktop/allmorph/morph_to_cp.csv" # near completed file but missing dates demographics_data = r"/Users/anastasiabernat/Desktop/allmorph/bug_demographics_data_coor.csv" # file with sites so can match site-dates to site-IDs ...
[ "anastasiabernat@Anastasias-MacBook-Pro.local" ]
anastasiabernat@Anastasias-MacBook-Pro.local
bd8b7e39ecd5539a3b0f06ea57335f802db1f60e
301bdb50009961c35494df9fb43625c262047a17
/qa/rpc-tests/multi_rpc.py
69902992e5f52404415d487fb4e79df3b5d157a5
[ "MIT" ]
permissive
franklee1/master4
e6a10bcf068259aab70f886cd1dac50261deda73
a82cf06267de12b685390c26075e3debfd937788
refs/heads/master
2021-05-11T13:21:19.785228
2018-01-16T11:57:01
2018-01-16T11:57:01
117,677,623
0
0
null
null
null
null
UTF-8
Python
false
false
4,593
py
#!/usr/bin/env python2 # Copyright (c) 2015 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. # # Test mulitple rpc user config option rpcauth # from test_framework.test_framework import BitcoinTestFrame...
[ "franklee85@live.com" ]
franklee85@live.com
f7d6509abcaf4a031583b345b0880baf361bc352
c60703a79835fc05aec549d64bf9eedebbcbd20a
/app/models.py
6ec03c8dfd6f053b6f962a5e0fddaa23b9ac3deb
[ "MIT" ]
permissive
Abdisamad100/pitches
2dcd25a2d9fcc1e1a5a0b110e1577f1c2c8cae0b
17f816fa2aa9e697c663afe7839e4108275da8c6
refs/heads/master
2023-02-02T14:25:58.945931
2020-12-16T11:44:27
2020-12-16T11:44:27
318,565,473
0
0
null
null
null
null
UTF-8
Python
false
false
2,444
py
from . import db from werkzeug.security import generate_password_hash,check_password_hash from flask_login import UserMixin from . import login_manager from datetime import datetime @login_manager.user_loader def load_user(user_id): return User.query.get(int(user_id)) #... class User(UserMixin,db.Model): _...
[ "abdisamadcade004@gmail.com" ]
abdisamadcade004@gmail.com
3c24799c5db4e119676f9a6ba6df045d88501c4b
78b430738a078e2bbd75140aa05c5dd19d0086cf
/tf114/tf19_cnn4_cifa10.py
171b7b7013abf4bb0e1bda55dab2bbe176a4cd45
[]
no_license
silvermund/keras-study
b1a453b9427364f7f7f6ed095ea3a7d2dc0a8ea1
948a02d10d53d9e4450f9164cf2835f0b24574e2
refs/heads/main
2023-07-16T05:01:45.702395
2021-09-01T02:12:36
2021-09-01T02:12:36
383,711,628
0
0
null
null
null
null
UTF-8
Python
false
false
4,650
py
# 실습 # 만들기 # 0.7 이상 import tensorflow as tf import numpy as np from keras.models import Sequential from keras.layers import Conv2D, MaxPool2D tf.compat.v1.disable_eager_execution() print(tf.executing_eagerly()) # False print(tf.__version__) # 1.14.0 -> 2.4.1 # tf.set_random_seed(66) # 1. 데이터 from keras.data...
[ "cliferd@naver.com" ]
cliferd@naver.com
95d1c581109e4eb8c4580ae22f4f9f6059a36834
c45e36421992436f1234ddf5088c1c12a576209e
/autoshop_project/car_models/urls.py
64ac0132345907cfebda6f5062e8a8bbecbdf270
[]
no_license
dimavitvickiy/autoshop
e897fd67e61030e87c60e548f43178741f09dbf1
2c6228ae6c004b6f5ee28dfbf9afabee311fc360
refs/heads/master
2021-01-11T08:02:13.040752
2017-10-24T11:16:35
2017-10-24T11:16:35
72,923,746
0
0
null
null
null
null
UTF-8
Python
false
false
456
py
from django.conf.urls import url from . import views as model_views urlpatterns = [ url(r'^create$', model_views.car_model_create, name='create'), url(r'^$', model_views.car_model_list, name='list'), url(r'^(?P<slug>[\w-]+)/$', model_views.car_model_detail, name='detail'), url(r'^(?P<slug>[\w-]+)/dele...
[ "dimavitvickiy@gmail.com" ]
dimavitvickiy@gmail.com
98cd5ad237fa3b9eeb6fd7632584c85ec67ea736
0e3a9758175f37e4d702ff6ccd6d2ee2e91f727f
/deepiu/textsum/inputs/default/input.py
7bd4d6525e0a6f7bdbde178777e15637e93ef6f3
[]
no_license
hitfad/hasky
94d7248f21a1ec557a838b77987e34b77fb9a0c7
c1d2d640643037c62d64890c40de36ba516eb167
refs/heads/master
2021-01-20T22:55:36.778378
2017-08-29T13:23:50
2017-08-29T13:23:50
101,830,092
1
0
null
2017-08-30T02:48:35
2017-08-30T02:48:35
null
UTF-8
Python
false
false
2,351
py
#!/usr/bin/env python # ============================================================================== # \file input.py # \author chenghuige # \date 2016-08-17 23:50:47.335840 # \Description # ============================================================================== from __...
[ "29109317@qq.com" ]
29109317@qq.com
b4d087ebdad7c52b1f7aff6793cbe40278d29514
627a6a84b92605f997f3c8d64a2c3c0eb6a74e52
/venv/bin/easy_install-3.6
ea37d7573e615c666ad275aa4efade0c853a1511
[]
no_license
iamjasonkuo/househunt
c67c75d8cc6e3a9cdae8bc1ef55396766c34d91f
7e9a4b380381f46dfebf51ead955051b39a9a691
refs/heads/master
2022-10-16T04:02:41.007357
2018-04-19T17:22:25
2018-04-19T17:22:25
100,439,717
0
0
null
null
null
null
UTF-8
Python
false
false
290
6
#!/Users/jasonkuo/Desktop/random_coding_stuff/househunt/venv/bin/python3.6 # -*- coding: utf-8 -*- import re import sys from setuptools.command.easy_install import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "jasonkuo@Jasons-MacBook-Pro.local" ]
jasonkuo@Jasons-MacBook-Pro.local
887e7916d09010528ac3bd14caf87cdbb2bd0b28
5704bf1f4e8d3bc0ded23406d5cd0dc93412ea27
/python/python_questions/merge_lists.py
fbbdddb779722b62e321b868d652a2881ed71cf1
[]
no_license
apollopower/interview-prep
c6854b0e15a516fe46993f72ca8922f74881ec49
4d53b473efc001d41b989131762f0deaee5c7b13
refs/heads/master
2020-03-27T08:14:24.951750
2019-04-03T20:27:21
2019-04-03T20:27:21
146,235,471
1
0
null
null
null
null
UTF-8
Python
false
false
1,297
py
# Merge Two Sorted lists # The key to this problem is that the given lists are # already sorted. We can just iterate through both # at the same time, inserting the smallest value at a given # time, and then checking the next value # Space complexity => O(n), we are returning a newly merged list # Time complextiy => O...
[ "erthaljonas@gmail.com" ]
erthaljonas@gmail.com
7db69faceef3b27295847c559aff8e592796a2c9
e51de69384d96440f8a070ebdcaf543b91ffe59b
/TutorialPoint/01 - Variable Types/9 - DataTypeConversion.py
e01050de60aa53fdb923fb3cd0d85adcd0a87449
[]
no_license
PriscylaSantos/estudosPython
08c8ff245926f88d08a5ba0021ae810d1c548644
582e562f34e01db9d8ab6ad9c1c18c7339d3147c
refs/heads/master
2018-09-09T06:57:52.204792
2018-06-05T03:16:38
2018-06-05T03:16:38
77,758,338
1
0
null
null
null
null
UTF-8
Python
false
false
500
py
#!/usr/bin/python3 a = 251.96 print(a) a= int(a) print(a) print('************') b = 598 print(b) print(float(b)) print('************') c=789 print(c) print(complex(c)) print('************') d = 45.98 print(d) print(str(d)) print('************') e = 947.65 print(e) print(repr(e)) print('************') f = 67565 pri...
[ "santospriscyla@gmail.com" ]
santospriscyla@gmail.com
fa3f577d5ee48bba9e9a4d305970d0915491d935
322ed5d0858a88945f68c073198b74cfc6641b94
/pattern_2.py
8fb72d09f463135e9499ee377a4c16986b0c8b4e
[]
no_license
jeyaprakash1/pattern_programs
9282a3672f224af19a1b89fad4f47678d29de0cf
12765b99204b1c8713df3d2c24ac64bfb4f878b9
refs/heads/master
2023-04-01T21:52:30.931953
2021-04-09T12:54:23
2021-04-09T12:54:23
356,271,103
0
0
null
null
null
null
UTF-8
Python
false
false
139
py
# 5 # 5 4 # 5 4 3 # 5 4 3 2 # 5 4 3 2 1 for row in range(5,-1,-1): for col in range(5,row,-1): print(col,end="") print()
[ "jpofficial1232@gmail.com" ]
jpofficial1232@gmail.com
f3ec4b5d56c492f717d06d10ff2d025e4711e006
ef0aeed18a88ee8a2b8049676de91e51ea176138
/prac_08/silver_service_taxi.py
4bf1fcadbf4c13814e40a8d6950c38c09962be91
[]
no_license
anniebbcute/CP1404_Practicals
6073dfdc5e065f48254839db7b4d94711639ac5f
ee0cdc62f2ce514b37d2d806300b2642994e053a
refs/heads/master
2020-04-15T08:59:50.181191
2019-01-08T02:01:25
2019-01-08T02:01:25
164,534,130
0
0
null
null
null
null
UTF-8
Python
false
false
478
py
from prac_08.taxi import Taxi class SilverServiceTaxi(Taxi): flagfall = 4.50 def __init__(self, name, fuel, fanciness): super().__init__(name, fuel) self.fanciness = fanciness self.price_per_km *= fanciness def __str__(self): return "{} plus flagfall of ${:.2f}".format(su...
[ "mengyuan.li@my.jcu.edu.au" ]
mengyuan.li@my.jcu.edu.au
54af91f3b084bfc89ea4529342b2658ee3a18296
3509ae9b97f80256489d18e484dfad5cec45433a
/zhuanqspidersys/spiderapp/admin.py
5090782cc7ef0c718742f2f490b302da7b190951
[]
no_license
xichagui/spider
64722c0dedaf7405cc10e686ee26aa94002a598b
fd5f70e7590c05bae49d914b8c7add6f371b2903
refs/heads/master
2021-01-20T09:20:58.697145
2017-07-12T19:05:47
2017-07-12T19:05:47
90,242,607
0
0
null
null
null
null
UTF-8
Python
false
false
193
py
from django.contrib import admin # Register your models here. from spiderapp.models import Work, Author, Style admin.site.register(Work) admin.site.register(Author) admin.site.register(Style)
[ "xichagui@gmail.com" ]
xichagui@gmail.com
2ffe545e06630f9a96ba023367bc13c66eb5fdc3
382df78024f588acea08039a0b0a9e24f297b6a3
/python/numpy/anova.py
f5f74623337bf259841cfdfc490d5f14c989db8f
[]
no_license
id774/sandbox
c365e013654790bfa3cda137b0a64d009866d19b
aef67399893988628e0a18d53e71e2038992b158
refs/heads/master
2023-08-03T05:04:20.111543
2023-07-31T14:01:55
2023-07-31T14:01:55
863,038
4
1
null
2020-03-05T06:18:03
2010-08-26T01:05:11
TeX
UTF-8
Python
false
false
1,128
py
#! /usr/bin/python # -*- coding: utf-8 -*- import numpy as np data = np.array([[5., 7., 12.], [6., 5., 10.], [3., 4., 8.], [2., 4., 6.]]) s_mean = np.zeros(data.shape) for i in range(data.shape[1]): s_mean[:, i] = data[:, i].mean() print("水準平均 " + str(s_mean))...
[ "idnanashi@gmail.com" ]
idnanashi@gmail.com
a861df308430c874bb9b35a992ad194fdb7d74b1
90f41cf195a1929978cddf06c2f7145efe9477b5
/mimir/monitor/presence.py
655230a088e2310e58cbf49f7bca9b61fc9eb766
[ "MIT" ]
permissive
Cloudxtreme/mimir
efd7d774a6592359d174a7ebee3aabdfeb1078a2
1e507d9e973bde9ed2d75355c42de5cbfecf691d
refs/heads/master
2021-05-27T16:13:20.546036
2012-05-10T14:09:14
2012-05-10T14:09:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,266
py
# Copyright (c) 2005-2007 Ralph Meijer # See LICENSE for details from wokkel.xmppim import PresenceClientProtocol class Storage(object): def __init__(self, dbpool): self._dbpool = dbpool d = self._dbpool.runOperation("""UPDATE presences SET type='unavailabl...
[ "ralphm@ik.nu" ]
ralphm@ik.nu
745537de9256b97545fc0f5e94500f3962355db8
853b17641b1a7f61fe979882ea9a12b7a669bc8a
/AuthorRecognizer/author_recognizer.py
e54c00b027120b1111ef031f6607c803f7de07de
[]
no_license
kerata/Cmpe561-NLP
dca6c35f6b9d6d0d89a762774e7a28318d801d16
04bf37b5a94be5ead7ecdcc26951e13964452d57
refs/heads/master
2021-01-01T03:55:41.440992
2016-05-10T14:14:51
2016-05-10T14:14:51
58,454,160
0
0
null
null
null
null
UTF-8
Python
false
false
13,762
py
#!/usr/local/Cellar/python3/3.5.1/bin/python3.5 import os import argparse import utils from random import shuffle from math import log from models import Author VERBOSE = True DEBUG = False LESS = True vocabulary = {} training_set = {} test_set = {} def train(article_count): global vocabulary for author in ...
[ "merttiftikci@gmail.com" ]
merttiftikci@gmail.com
a99bffaff666e643eaebaf370beba5018ff88415
10717fe6f68c4ee9bcf27ee62e89581f4a030b8e
/extractor/tiktok.py
63aca954198bb80252aac6500ccde099ebec1c18
[]
no_license
HagerHosny199/Testing_Project
ff7f9a54b7a213c9d9ade0c5192845c2a29adc8b
9bc170263e239cc24ccfb2aa33b9913ff799ffe9
refs/heads/master
2020-05-17T20:57:01.750640
2019-05-08T22:13:06
2019-05-08T22:13:06
183,954,736
0
0
null
null
null
null
UTF-8
Python
false
false
4,808
py
# coding: utf-8 from __future__ import unicode_literals from .common import InfoExtractor from utils import ( compat_str, ExtractorError, int_or_none, str_or_none, try_get, url_or_none, ) class TikTokBaseIE(InfoExtractor): def _extract_aweme(self, data): video = data['video'] ...
[ "hagarhosny19@gmail.com" ]
hagarhosny19@gmail.com
486b0bc4ab7101ed1242be7c341f55b6a0ddedfd
f62fd455e593a7ad203a5c268e23129473d968b6
/vitrage-1.5.2/vitrage/tests/mocks/mock_driver.py
d614d822510efc12f16fcaeff09d09236e599f20
[ "Apache-2.0" ]
permissive
MinbinGong/OpenStack-Ocata
5d17bcd47a46d48ff9e71e2055f667836174242f
8b7650128cfd2fdf5d6c8bc4613ac2e396fb2fb3
refs/heads/master
2021-06-23T05:24:37.799927
2017-08-14T04:33:05
2017-08-14T04:33:05
99,709,985
0
2
null
2020-07-22T22:06:22
2017-08-08T15:48:44
Python
UTF-8
Python
false
false
20,845
py
# Copyright 2015 - Alcatel-Lucent # # 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,...
[ "gongwayne@hotmail.com" ]
gongwayne@hotmail.com
797065c6157a5fa68bb700be7ae66a1e048fd278
a237987cb60e532b7828ad664c9ea852dd0399d2
/wujin/wsgi.py
9981fcc9c9165d86ab3ad7a6e578109b8048588b
[]
no_license
liao820/wujin821
b37ea937e46d57ec4b8f2731d37ea477ab993f96
b71924fc602e7e487114641280a85bcb97192045
refs/heads/master
2023-04-21T23:20:17.888643
2021-05-16T14:42:08
2021-05-16T14:42:08
365,676,888
0
0
null
null
null
null
UTF-8
Python
false
false
403
py
""" WSGI config for wujin project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('D...
[ "2869799543@qq.com" ]
2869799543@qq.com
ae8c0e9c939e3f951a2745563148f89f1112682a
42e8317d12198c1cf6c0a3420242e17a745b33ee
/beneficiaries/beneficiaries/doctype/beneficiary/test_beneficiary.py
f1c38ca06ae89f62ee98cdd1f4863b69dc0827b0
[ "MIT" ]
permissive
alkuhlani/beneficiaries
8fd50a1e606935b69fc6f4c03f0514a7a8345cdb
11208fe88e3e848458473d12836b157895646c5c
refs/heads/main
2023-07-19T06:26:45.968349
2021-08-31T06:02:15
2021-08-31T06:02:15
401,810,336
0
1
NOASSERTION
2021-08-31T18:47:58
2021-08-31T18:47:57
null
UTF-8
Python
false
false
209
py
# -*- coding: utf-8 -*- # Copyright (c) 2021, Baida and Contributors # See license.txt from __future__ import unicode_literals # import frappe import unittest class TestBeneficiary(unittest.TestCase): pass
[ "frappe@ubuntu.vm" ]
frappe@ubuntu.vm
27898ef54858c5f3064cd761ca387ef291908a7b
80bc1e07b55aef418cf195c26f7861d17fb73711
/src/logger.py
ba22057890f26afa42fac9edaed7477ed511f25b
[]
no_license
alexgeer/gravitys-name-bot
75d6f71da42b871cf20ef9f1579b408ad32cbd6c
5837a9624cd7d1696ab31b6c7dd7970ed0132a48
refs/heads/main
2023-01-28T06:10:43.835410
2020-12-06T00:04:00
2020-12-06T00:04:00
318,890,647
0
0
null
null
null
null
UTF-8
Python
false
false
376
py
import logging from sys import stdout logger = logging.getLogger() logging.basicConfig(level=logging.INFO) logFormatter = logging.Formatter\ ("%(name)-12s %(asctime)s %(levelname)-8s %(filename)s:%(funcName)s %(message)s") consoleHandler = logging.StreamHandler(stdout) #set streamhandler to stdout consoleHandler.setF...
[ "geer.alex@gmail.com" ]
geer.alex@gmail.com
578fc9fd60b9b25c349184e8f7a81c47e9d82794
0510e4947e51d132ef2d637c5522b41aa84848aa
/src/apache.wsgi
a7a7e2730499ae3bebf8dbeba3be7c7f9396ff26
[]
no_license
esauro/akademic
c03c32e652d04fd0651b9a6a1f4f49eb2c1d0682
0174b7608f66c3626b8a1d19eadd9f01cc52ebfa
refs/heads/master
2021-01-18T05:39:21.220337
2010-10-15T13:34:58
2010-10-15T13:34:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
363
wsgi
#!/usr/bin/env python import os import sys sys.stdout = sys.stderr p = os.path.dirname(os.path.realpath(__file__)) sys.path.append(p) sys.path.append(p+"/..") os.environ['PYTHON_EGG_CACHE'] = os.path.join(p, 'egg-cache') os.environ['DJANGO_SETTINGS_MODULE'] = 'settings' import django.core.handlers.wsgi application ...
[ "rene@minicroso.(none)" ]
rene@minicroso.(none)
472a3216a25433e238d084a88264ae6008207241
8ef8e6818c977c26d937d09b46be0d748022ea09
/cv/detection/autoassign/pytorch/mmdet/core/hook/checkloss_hook.py
66a3c1176255137f17a08288cd4a4b82aca77323
[ "Apache-2.0" ]
permissive
Deep-Spark/DeepSparkHub
eb5996607e63ccd2c706789f64b3cc0070e7f8ef
9d643e88946fc4a24f2d4d073c08b05ea693f4c5
refs/heads/master
2023-09-01T11:26:49.648759
2023-08-25T01:50:18
2023-08-25T01:50:18
534,133,249
7
6
Apache-2.0
2023-03-28T02:54:59
2022-09-08T09:07:01
Python
UTF-8
Python
false
false
705
py
# Copyright (c) OpenMMLab. All rights reserved. import torch from mmcv.runner.hooks import HOOKS, Hook @HOOKS.register_module() class CheckInvalidLossHook(Hook): """Check invalid loss hook. This hook will regularly check whether the loss is valid during training. Args: interval ...
[ "jia.guo@iluvatar.ai" ]
jia.guo@iluvatar.ai
38a1c9d2ddfc2c0402295ab8f9bb7a0641dcc58c
1e07111c8d3173fa931923a86c43555c2d58948a
/CHB/train_model.py
3160ec136a04d8c825e9fdacaacf4217a9e5ec61
[]
no_license
whubaichuan/Epilepsy
07c29639ba8da5f6f3f191d32e0ac560159839ca
88cee770fd3fc42e14d876d22fafc0dc911dab2c
refs/heads/master
2023-08-05T04:14:20.000682
2021-09-29T21:23:04
2021-09-29T21:23:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,558
py
# -*- coding: utf-8 -*- import os import h5py import time import copy import tqdm import argparse import numpy as np import scipy.io as sio import os.path as osp import torch import torch.nn as nn import torch.optim as optim from torch.utils import data import torch.nn.functional as F from torch.autograd import Varia...
[ "c.gomez10@uniandes.edu.co" ]
c.gomez10@uniandes.edu.co
86f27cb684ca6c3bd735bec9826954a9689029fc
b22588340d7925b614a735bbbde1b351ad657ffc
/athena/LArCalorimeter/LArExample/LArCalibProcessing/python/OFCDefinitions.py
630492002d95e84b59dd3ce6c341bcbada3c6668
[]
no_license
rushioda/PIXELVALID_athena
90befe12042c1249cbb3655dde1428bb9b9a42ce
22df23187ef85e9c3120122c8375ea0e7d8ea440
refs/heads/master
2020-12-14T22:01:15.365949
2020-01-19T03:59:35
2020-01-19T03:59:35
234,836,993
1
0
null
null
null
null
UTF-8
Python
false
false
3,026
py
# Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration from collections import namedtuple OFCDefinitions=namedtuple("OFCDefinitions", ["Algoname", "Nsamples", "Nphase", "Dphase", ...
[ "rushioda@lxplus754.cern.ch" ]
rushioda@lxplus754.cern.ch
ee9e07d81c1e093c2c6a65b7fd4a8d2c5b8b737d
cdc3ee98954fc86bc816980e0dab767be3bbb0b5
/app.py
6d3ef9cbbf94259099da5bfd94d63b8d8c9c0bf1
[]
no_license
uniray7/resp-pi-cam
2199808569d695276032e1201572730a630edcac
98d0870c1719898ea9d889f432f007f479270fd4
refs/heads/master
2020-12-30T13:40:17.320095
2017-05-14T13:02:25
2017-05-14T13:02:25
91,242,689
0
0
null
null
null
null
UTF-8
Python
false
false
2,191
py
import gi gi.require_version('Gst', '1.0') from gi.repository import Gst import cv2 import numpy img_arr =None def new_sample(appsink): global img_arr sample = appsink.emit('pull-sample') buf = sample.get_buffer() caps = sample.get_caps() print caps.get_structure(0).get_value('format') print caps.get_s...
[ "uniray7@gmail.com" ]
uniray7@gmail.com
48b762312553cd9cc610d46d0e8cf948fa131020
0faac0c32c47715b7b6c3c96264a0cc4cbe9bfca
/Hello/test/Step18_File2.py
cc8012ee481dbaa050b4f3a9b3e20fbefebea06a
[]
no_license
hyunhee7/python_work
339a61c2361a8b37bd7c2c04b7ae5b92c63fb5b2
31adb3105fcad6254327f3c383d905b7592cd4af
refs/heads/master
2021-01-15T13:29:25.231833
2017-08-22T09:38:11
2017-08-22T09:38:11
99,674,872
0
0
null
null
null
null
UTF-8
Python
false
false
1,602
py
#-*- coding: utf-8 -*- import re import os import codecs sample = u"a b c ddd eee" result=re.split(r"[\t]+",sample) print result cwd=os.getcwd() filePath=cwd+os.sep filePath=cwd+os.sep+"testFile.txt" f=codecs.open(filePath,"r","utf-8") while True: data=f.readline() if data=="": break #반복문 블럭 빠져 나...
[ "hyunhi7@naver.com" ]
hyunhi7@naver.com
76e6c696bc83ab86a4ee1ee00fc9368eb01b4cd9
cd208b4a40be8bf166da79fdc126dbcb71e95a7d
/app/handlers/states/fridge_expiration_date_error.py
75c7ccfc48b996199ca1a48138350c74efbc7c24
[ "MIT" ]
permissive
Moirted/MyPersonalKitchenBot
63a2b1be6e21e90ed908c9f3162bd085162cd83f
03de0beeaf2665e8b3ddd1709da3d4edcd422b80
refs/heads/main
2023-04-21T12:17:52.486113
2021-05-16T13:00:22
2021-05-16T13:00:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
463
py
import re from aiogram import types from app.misc import dp from app.states import FridgeProductState @dp.message_handler(lambda msg: not re.search(r'^\d{1,2}\.\d{1,2}\.\d{4}$', msg.text), state=FridgeProductState.expiration_date) async def handler_fridge_expiration_date_error(msg: types.Message): return await ...
[ "ka.kovjarova@gmail.com" ]
ka.kovjarova@gmail.com
8e504f26c47a2b948e4431092fbbffd69d254a57
a1119965e2e3bdc40126fd92f4b4b8ee7016dfca
/branches/repy_v2/portability/tests/py_z_test_importcachedir_recursive.py
abec03bba9894531fbe8825ee4f921f2be201cb4
[ "MIT" ]
permissive
SeattleTestbed/attic
0e33211ddf39efdbcf5573d4fc7fa5201aa7310d
f618a962ce2fd3c4838564e8c62c10924f5df45f
refs/heads/master
2021-06-10T23:10:47.792847
2017-05-15T12:05:43
2017-05-15T12:05:43
20,154,061
0
1
null
2014-10-16T17:21:06
2014-05-25T12:34:00
Python
UTF-8
Python
false
false
1,395
py
""" Test if a call to importcachedir is handled well. """ import repyhelper import os import sys import shutil # clean up any left over data... try: shutil.rmtree('importcachetest') except (OSError, IOError): # it's okay if it doesn't exist... pass os.mkdir('importcachetest') # append this to the Python p...
[ "USER@DOMAIN" ]
USER@DOMAIN
082aebcc4bdbe996a74214e3ea8ffb28e8db2238
0b06cfba4d3670dfa7bda5345bec3bba82b465bb
/tests/test_otf.py
ae47b46fa5f19c73ce80141113edf6ce6e14a5ff
[ "MIT" ]
permissive
chllym/prysm
f570151783cd613af4fddc3ca4a5d207deac23ee
579dfc0ae58fab5e396a13613da7f87d2484f083
refs/heads/master
2020-04-01T01:56:33.808037
2018-09-09T00:48:46
2018-09-09T00:48:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,204
py
''' Optical Transfer Function (OTF) unit tests. ''' import pytest import numpy as np from prysm import otf from prysm.fttools import forward_ft_unit SAMPLES = 32 LIM = 1e3 @pytest.fixture def mtf(): x, y = forward_ft_unit(1/1e3, 128), forward_ft_unit(1/1e3, 128) xx, yy = np.meshgrid(x, y) dat = np.sin...
[ "brandondube@gmail.com" ]
brandondube@gmail.com
f9943ec6fc0cdb50adebc68165cf6d6842c97bee
a81386ef282db3302efcb051e63c7d5cfc1f46f1
/api_server.py
e75f4d7194f184de9e96207e1de19f3938b4b114
[]
no_license
yilisong007/blog-test
ede870ac77c834120313f49554a7c188437e53d8
84295d7c58251824176cd08842bb444acd11f5fd
refs/heads/master
2020-12-09T16:51:42.842449
2020-06-22T01:36:43
2020-06-22T01:36:43
233,362,639
0
0
null
null
null
null
UTF-8
Python
false
false
1,213
py
import json from flask import Flask from flask import request, make_response app = Flask(__name__) users_dict = {} @app.route('/api/users/<int:uid>', methods=['POST']) def create_user(uid): user = request.get_json() if uid not in users_dict: result = { 'success': True, 'msg': "...
[ "781095668@qq.com" ]
781095668@qq.com
921b0a3858fedb52134f99f183054625c52f8e55
277a1801abb3eb9886f016e2f5d39a5c5960507f
/kitna_paise.py
06903dc2f6702d473164d66ae8a7d9a9e387f933
[]
no_license
maurya-subhashini1/List
ede3df015b8e3e2e51212fb2df49de936219be18
9d8d23950dc2aab3310060cc6123ed76a8e86508
refs/heads/main
2023-05-14T10:37:06.070670
2021-06-01T10:41:27
2021-06-01T10:41:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
427
py
kitna_paisa_hai = [3000, 600000, 324990909, 90990900, 30000, 5600000, 690909090, 31010101, 532010, 510, 4100] i=0 l=[] k=[] h=[] while i<len(kitna_paisa_hai): if kitna_paisa_hai[i]>=10000000: l.append(kitna_paisa_hai[i]) elif kitna_paisa_hai[i]>=100000: k.append(kitna_paisa_hai[i]) else: ...
[ "noreply@github.com" ]
maurya-subhashini1.noreply@github.com
1faf668a6ae2562426ca1664a4dbc27ce79a797e
bd04d6c138665d01349f62d912514c5a7343a6d0
/algorithm/다익스트라.py
3e969d4ecebc379059c1c964fa6a9909b4f66271
[]
no_license
gvg4991/TIL
fe6209c21a228d3500ca64615df2f1066a5d0f11
ada8fbdc88555d327beae2ae8eee16b4739240aa
refs/heads/master
2021-06-08T06:44:37.554473
2021-06-06T09:06:47
2021-06-06T09:06:47
162,512,003
0
0
null
null
null
null
UTF-8
Python
false
false
3,262
py
import sys sys.stdin = open('input.txt') n,k = map(int,input().split()) #노드 수, 경로 수 datas = [[987654321]*n for _ in range(n)] for case in range(k): start,end,dist = map(str,input().split()) if start == 'a': start = 0 elif start == 'b': start = 1 elif start == 'c': start = 2 elif start == 'd': star...
[ "14.73oo6o19@gmail.com" ]
14.73oo6o19@gmail.com
b23744c68c3c3cd3a868e3bb9976c9740efd0960
72be8cdac574c94e2aa094ff6022f232a285831b
/Python/013.py
d2882a8e09f31219c6ff7057c35bbff6f4e11b5c
[ "MIT" ]
permissive
jaimeliew1/Project_Euler_Solutions
1def5a2514687f9546db1a025416004229352201
d014acd22be7f8920865058a48415072ffc7961f
refs/heads/master
2022-12-01T08:20:02.554540
2022-11-23T21:40:42
2022-11-23T21:40:42
126,694,746
0
0
null
null
null
null
UTF-8
Python
false
false
5,437
py
# -*- coding: utf-8 -*- """ Solution to Project Euler problem 13 Author: Jaime Liew https://github.com/jaimeliew1/Project_Euler_Solutions """ data = '''37107287533902102798797998220837590246510135740250 46376937677490009712648124896970078050417018260538 74324986199524741059474233309513058123726617309629 91942213363574...
[ "33415790+jaimeliew1@users.noreply.github.com" ]
33415790+jaimeliew1@users.noreply.github.com