blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
281
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
6
116
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
313 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
18.2k
668M
⌀
star_events_count
int64
0
102k
fork_events_count
int64
0
38.2k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
107 values
src_encoding
stringclasses
20 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.02M
extension
stringclasses
78 values
content
stringlengths
2
6.02M
authors
listlengths
1
1
author
stringlengths
0
175
7ac6d4c001329c9a35470df8bba27a7bc134ed92
7afc886f0b8dfdb1d9c0bac42c30cf76168d2659
/assignment1/cs231n/classifiers/neural_net.py
2df387b7742a9e60c74e4f6f65b8f5bd1f88670b
[]
no_license
LaoJu/cs231n_assignment
928be594591611f788a9ba7e12a3ffa7ad339b95
58e5daf34a167d7373dc2bbe6f5975bf011932bd
refs/heads/master
2020-04-14T02:45:29.104660
2019-02-23T02:08:02
2019-02-23T02:08:02
163,590,960
0
0
null
null
null
null
UTF-8
Python
false
false
10,736
py
from __future__ import print_function import numpy as np import matplotlib.pyplot as plt class TwoLayerNet(object): """ A two-layer fully-connected neural network. The net has an input dimension of N, a hidden layer dimension of H, and performs classification over C classes. We train the network with a softma...
[ "864196621@qq.com" ]
864196621@qq.com
ac63fc806677d2239cdeb46a809335480b479def
a223b2aeda331990bc7c5f93623eafbe500d503a
/todopro/todoapp/urls.py
762961463aad40f4faf1ff2a93bb09220f8b11ea
[]
no_license
DivyaKb15/divyatodopro
e00c3df8282b7d67a1845919284d97ef941f6639
b3b03ae4a4964ae9ddd6688425c1f2cb39ce1ac3
refs/heads/master
2023-02-21T16:39:51.371976
2021-01-26T18:53:11
2021-01-26T18:53:11
333,183,599
0
0
null
null
null
null
UTF-8
Python
false
false
552
py
from django.urls import path, include from . import views urlpatterns = [ path('', views.task_view, name='task_view'), path('delete/<int:id>/', views.delete, name='delete'), path('update/<int:id>/', views.update, name='update'), path('cvtask/',views.TaskListView.as_view(),name='cvtask'), path('cvde...
[ "safirmeeyana15@gmail.com" ]
safirmeeyana15@gmail.com
4243efcc2bbec7f555993c60229d1eedb05865e1
9c48808788274754e0c4ed882131701c20c89b4a
/rename_mesh_as_object.py
aac1436d9f18f22f69b7a2eabd8469a5c5d31130
[]
no_license
karboosx/blender-scripts
d0accb3c9bdc83ab1f489c0204954084211991d2
989296f6e3517a3a1d7ef2b398522753e6259477
refs/heads/master
2021-01-19T21:13:34.879000
2017-04-18T13:58:08
2017-04-18T13:58:08
88,629,574
0
0
null
null
null
null
UTF-8
Python
false
false
177
py
import bpy print("Object, Verts, faces, edges") for element in bpy.context.scene.objects: if element.type != "MESH": continue element.data.name = element.name
[ "noreply@github.com" ]
noreply@github.com
23abbcb7ce157f9ae18189509f7c5be03874d2a7
995480a6352c56d66998786c2e2d06dff043ad13
/app.py
01b9fd4db17e408dd69d9062132c9339b30587f7
[]
no_license
AshleyMcGee/web_homework
e3192a6bbc25f49d1248e5b008931b61efae30ec
1dc050514ef94b1d524dfbef87e29c3c4379ce4b
refs/heads/master
2022-12-18T02:34:32.356734
2020-05-06T20:21:38
2020-05-06T20:21:38
180,806,526
0
0
null
2022-11-22T04:31:03
2019-04-11T14:11:44
HTML
UTF-8
Python
false
false
717
py
from flask import Flask, render_template, url_for app = Flask(__name__) @app.route('/') def home(): return render_template("index.html") @app.route('/temp') def temps(): return render_template("temp_x.html") @app.route('/humid') def humidity(): return render_template("humid_x.html") @ap...
[ "6312276+AshleyMcGee@users.noreply.github.com" ]
6312276+AshleyMcGee@users.noreply.github.com
f4e145be26561a2879e8628f18ff091439ea4389
58c092b831bad39b6bec3ba9e778d28b2631fbc3
/predict.py
b1892ddade50534ae42575fce0fd047f1fc256e9
[ "MIT" ]
permissive
StevenCyb/Inpainting-using-Context-Encoder-in-Generative-Adversarial-Network-V2
62bce3661f5e172ecb12f89b32e5a899df616221
0ddacabaef4829b1ca6b11b14bb0baaaec3f5ca2
refs/heads/master
2020-07-24T09:24:55.869033
2019-10-15T16:05:46
2019-10-15T16:05:46
207,881,476
1
0
null
null
null
null
UTF-8
Python
false
false
1,305
py
import os import cv2 import argparse import numpy as np from gan_ce.network import Network # Define arguments with there default values ap = argparse.ArgumentParser() ap.add_argument("-i", "--image", required=True, help="Path to the image.") ap.add_argument("-m", "--mask", required=True, help="Path to the mask.") ap.a...
[ "41087154+StevenCyb@users.noreply.github.com" ]
41087154+StevenCyb@users.noreply.github.com
0a086ba5ffae00e39e59426d3cc287e047cf73a7
4d71eb6075ac388a67370fddc1ae0579575b304f
/examples/ssd/train_multi.py
8fdd055743af395d22b217e7d335ca7d5e61771e
[ "MIT" ]
permissive
apple2373/chainercv
1b4a6ad80648e848c7108e53fbb3e3fd44aa5c3e
1442eac6a316c31eab029c156b6d6e151553be2a
refs/heads/master
2020-03-18T20:53:21.473474
2018-05-28T09:37:14
2018-05-28T09:37:14
135,245,197
1
0
MIT
2018-05-29T05:27:15
2018-05-29T05:27:15
null
UTF-8
Python
false
false
5,279
py
import argparse import multiprocessing import numpy as np import chainer from chainer.optimizer_hooks import WeightDecay from chainer import serializers from chainer import training from chainer.training import extensions from chainer.training import triggers import chainermn from chainercv.chainer_experimental.data...
[ "Hakuyume@users.noreply.github.com" ]
Hakuyume@users.noreply.github.com
70d1a57a8ff9abd23d4a0f4d13454eef7b41d120
5f30f80b96dccdf5c589527e3c37cbc51cab1dfe
/chat/urls.py
cf64015d586ca1542c42761383fa51f1ff1284c0
[]
no_license
Bossy1996/chatapp
8a2b0969043c4ad6fbed265209ae9d9e08471966
52d23cf2621e48d47f07666f05b091bda88ee5f2
refs/heads/master
2023-07-08T01:35:50.067608
2021-08-19T01:38:14
2021-08-19T01:38:14
395,324,552
0
0
null
null
null
null
UTF-8
Python
false
false
116
py
from django.urls import path from . import consumers urlpatterns = [ path('/chat/', consumers.ChatConsumer) ]
[ "jonandonigaldos1996@gmail.com" ]
jonandonigaldos1996@gmail.com
6915503a26e36723c9060192c3db1517fcb93cae
522ecf8aa112eeb9f2e2e782c9b53cd56a35c841
/indexer/classes/Document.py
408b32c27447f5e5210267f7179c199a1cd5769f
[]
no_license
brujua/Information-Retrieval
840f67eaf20fe8576bffc52df824621025312120
e7f2cd6a9b84c34d5bd1cd4fae9671e70e0c5b35
refs/heads/master
2020-04-30T20:52:21.189270
2019-05-08T21:56:30
2019-05-08T21:56:30
177,080,111
0
0
null
null
null
null
UTF-8
Python
false
false
674
py
import uuid from dataclasses import dataclass from typing import Set, Dict from classes import Term @dataclass class Document: file_name: str terms: Dict id: int def has_term(self, term: Term): term_freq = self.terms.get(term, 0) self.terms[term] = term_freq + 1 def get_freq(se...
[ "brunocrisafulli@yahoo.com.ar" ]
brunocrisafulli@yahoo.com.ar
0f1b7cefd176b3539ee02af4cd1b8710084794b8
4e7797d520a68ded9bf77be555c13aff643389f1
/tests/test_helper.py
e448b376e57a6f296b955df3b01a3e0df4fcf3f7
[]
no_license
JBorrow/seagen
654cf06b3191fbd00faaa313afb2822b7ea396f2
fb1dbc0736593cc2cd6364812e1fcc0fabe3eb32
refs/heads/master
2021-04-27T00:20:41.761132
2018-03-06T15:23:18
2018-03-06T15:23:18
123,797,126
0
0
null
null
null
null
UTF-8
Python
false
false
743
py
""" Tests the helper functions """ import numpy as np import matplotlib.pyplot as plt import mpl_toolkits.mplot3d.axes3d as axes3d from seagen.helper import polar_to_cartesian def test_polar_to_cartesian(): """ Tests the polar to cartesian conversion by ensuring that r is conserved. """ phi = np...
[ "joshua.borrow@durham.ac.uk" ]
joshua.borrow@durham.ac.uk
0aae26c696704b04d111a90fce0f8d28ce988fbe
edc29cf6a557dd3f10ac55088493b66038f9508c
/ocean/article/admin.py
d26ce96c9f49b84e8011d5d104752d3638d92446
[]
no_license
kong2030/python
2b3550299f7066ae1f9b0ecf7cd064a5721c90aa
603682d1dcd11be0e248aa0573a7be99b8c2e7a9
refs/heads/master
2022-07-16T19:39:22.877703
2022-07-04T04:12:45
2022-07-04T04:12:45
144,438,684
0
0
null
null
null
null
UTF-8
Python
false
false
683
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.contrib import admin from models import * import datetime # Register your models here. # Module admin model class ArticleAdmin(admin.ModelAdmin): # show the key info list_display = ('title', 'keyword', 'app_system') # 设置哪些字段可以...
[ "kong2030@qq.com" ]
kong2030@qq.com
ea48cfb55a448b9c63e0fba03fe39b8f9193557e
092dd2cb4c28745a6e63c63d5ad79fcb8ef2cea2
/bax/models/exe_path.py
de7eceeac3b1bb6b0251a1e53322c4596ef2dd3f
[]
no_license
willieneis/bayesian-algorithm-execution
fdd2ffc7b9ee3ca819d63ff12fa1ca377ee2812c
d75d1a89bb566e62662e4d010d91893bfe1ee9f4
refs/heads/main
2023-07-19T13:29:44.473572
2021-09-03T23:01:55
2021-09-03T23:01:55
308,774,451
45
7
null
null
null
null
UTF-8
Python
false
false
1,518
py
""" Classes for execution paths. """ from argparse import Namespace import copy from ..util.base import Base from ..util.misc_util import dict_to_namespace class ExePath(Base): """ Execution path, which takes a model as input. """ def set_params(self, params): """Set self.params, the parame...
[ "willie.neiswanger@gmail.com" ]
willie.neiswanger@gmail.com
7c0e2ffee816a35c2d057419a714c80b1ebecc75
f06cf7cf7fe12a50f45edbd56b20acfc28606a44
/Linked List/intersection_point_in_list.py
83f9cde211bce58dc409bc7e8d8650e0d63b775f
[]
no_license
prashant97sikarwar/data-structure-and-algorithms
53e016e50cf2ba26d2504f5a5f1ba39ca35f13f4
3ebe367c96a7bd82a427fc2beb7c8edd37247de7
refs/heads/master
2023-01-18T16:15:44.935431
2020-11-22T14:59:54
2020-11-22T14:59:54
257,667,068
0
0
null
2020-10-02T09:59:27
2020-04-21T17:32:43
Python
UTF-8
Python
false
false
456
py
class node: def __init__(self,val): self.next = None self.data = val def intersetPoint(head_a,head_b): curr = head_a purr = head_b while curr is not None: curr.data = curr.data - 1001 curr = curr.next ans = -1 while purr is not None: if purr.data >= 0: ...
[ "prashant97sikarwar@gmail.com" ]
prashant97sikarwar@gmail.com
5a0e92c01b0a60624933262537e50977be65a81e
0be4be42d6cc2db04d4e6832e2f1c292b0dbd332
/acribia_test/urls.py
7a77e3f739c1dc0d1a94f48114926bd869a4f80a
[]
no_license
NikSavilov/acribia_test
a1a305dc50d694c2f7f98fae7d4cfa16391df843
265266f85a919e2210289b916e0dd22815026ada
refs/heads/master
2020-11-28T01:20:20.248678
2019-12-23T03:48:44
2019-12-23T03:48:44
229,667,551
0
0
null
null
null
null
UTF-8
Python
false
false
804
py
"""acribia_test URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-...
[ "31826550+NikSavilov@users.noreply.github.com" ]
31826550+NikSavilov@users.noreply.github.com
41240dabfbfc53853e0c6c4c1b66afbc663ebd85
b1d764d60b9bedd947ff14196dd035eebb165bae
/code kata/alphabet.py
503245fe133795ad2e96ab6dc3662e6cacea356a
[]
no_license
Manovah/guvi
8d8cbb8dd9f16fcda4a155b8c72d2f50c165f82b
8038042e549fe1561111fd0a4da7654791851ccb
refs/heads/master
2020-06-03T00:07:55.814847
2019-06-22T13:55:02
2019-06-22T13:55:02
191,355,081
0
0
null
null
null
null
UTF-8
Python
false
false
169
py
x=input() z=['q','w','e','r','t','y','u','i','o','p','a','s','d','f','g','h','j','k','l','z','x','c','v','b','n','m'] if x in z: print('Alphabet') else: print('No')
[ "noreply@github.com" ]
noreply@github.com
8ed4b3e34cedad23e166bd98e3442803b499d5b1
edbb9542b29b2b84c1b05d1f51275c7656ae4ca8
/run.py
3d8c8af98fc7e1c39014706e6931fd111d774dff
[]
no_license
Ayush19-01/GCI-Unit-Testing
ec0f07814b66ef00e8fb171d086cca43130131a9
27b0a6cc42138c222f3f978e803b826dd3f3d5ab
refs/heads/master
2021-01-02T15:41:55.592147
2020-02-11T05:53:42
2020-02-11T05:53:42
239,687,217
0
0
null
null
null
null
UTF-8
Python
false
false
3,270
py
# Made for the sole purpose of GCI 2019 import random import numpy as np import os import time os.system("clear") def prRed(skk): return str("\033[91m{}\033[00m" .format(skk)) def prGreen(skk): return str("\033[92m{}\033[00m" .format(skk)) def prYellow(skk): return str("\033[93m{}\033[00m" .format(skk)) def p...
[ "noreply@github.com" ]
noreply@github.com
4fd3f6a581d68839b003173568914ea6e56d657b
841c090b8c5ad93a386eed44b24eaa77c8aadff5
/Thanatos/models.py
098e173314240069a4f61809cf36c0594ca55d30
[]
no_license
jslatte/tartaros
9b765e750b212bedc5e054985404a884c951418a
cc14053da99f6671b12e03ef5dc1717c3d9e4aa5
refs/heads/master
2021-01-01T17:20:54.156453
2014-07-29T16:30:35
2014-07-29T16:30:35
8,034,842
1
0
null
null
null
null
UTF-8
Python
false
false
8,494
py
#################################################################################################### # # Copyright (c) by Jonathan Slattery # #################################################################################################### ############################################################################...
[ "Jonathan.Slattery@avt-usa.com" ]
Jonathan.Slattery@avt-usa.com
80e7e24fa177ebc144d6d0a696111748c980e580
6cd94226c3fc1137beccad83c049ae95ffd4abfb
/0416/ntust/mysite/mysite/urls.py
87bb709a5cd2de07b07d1141edf5821d7c71e6cf
[]
no_license
chuang0709/JerryHW
2cd651030fb26902a568e0c06ea30c5e7733842f
b1737326b624ef15f342d0b796f591e8f1a57c4f
refs/heads/master
2021-09-15T04:40:26.351888
2018-05-25T15:30:01
2018-05-25T15:30:01
125,646,902
0
0
null
null
null
null
UTF-8
Python
false
false
807
py
"""mysite URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.11/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-bas...
[ "chunang0709@gmail.com" ]
chunang0709@gmail.com
57e3696503c3443d6e57294c7da7aefd27b261f9
244ecfc2017a48c70b74556be8c188e7a4815848
/res/scripts/client/gui/shared/utils/requesters/requestscontroller.py
be2c8caecc9dbab9b1fc757b83af66b425b517d0
[]
no_license
webiumsk/WOT-0.9.12
c1e1259411ba1e6c7b02cd6408b731419d3174e5
5be5fd9186f335e7bae88c9761c378ff5fbf5351
refs/heads/master
2021-01-10T01:38:36.523788
2015-11-18T11:33:37
2015-11-18T11:33:37
46,414,438
1
0
null
null
null
null
WINDOWS-1250
Python
false
false
5,567
py
# 2015.11.18 11:57:02 Střední Evropa (běžný čas) # Embedded file name: scripts/client/gui/shared/utils/requesters/RequestsController.py from functools import partial import BigWorld from debug_utils import LOG_ERROR, LOG_DEBUG from shared_utils import safeCancelCallback from gui.shared.rq_cooldown import RequestCooldow...
[ "info@webium.sk" ]
info@webium.sk
f8850a5b26ff755a3a915e6f201bae0e908c9be5
6b20c1fb1b9cbc117f4de21e8a24259d1031100e
/scripts/average_vel.py
c773c8cf655a8934df2befccd8723c6788b74a3e
[]
no_license
Gastd/motion_ctrl
4e943fe35df0b4551712211d3d0130e611975e22
646e4ae933dcc3f658010753aa74f4f00767452f
refs/heads/main
2023-07-11T08:04:24.722041
2021-08-05T02:12:42
2021-08-05T02:12:42
301,256,131
1
1
null
2020-10-08T19:07:24
2020-10-05T00:31:23
CMake
UTF-8
Python
false
false
1,339
py
#!/usr/bin/env python import rospy from std_msgs.msg import String from geometry_msgs.msg import Twist linear_sum = 0 n_linear = 0 angular_sum = 0 n_angular = 0 def callback(data): global linear_sum global n_linear global angular_sum global n_angular linear_vel = data.linear.x angular_vel = da...
[ "gabriel.araujo.5000@gmail.com" ]
gabriel.araujo.5000@gmail.com
7f1836ea32d0d8531567a6a9d255a62f7bfab0ac
98d08190319226bcfda8404023988bbdf14a76f3
/OPENCV/opencv_support.py
871475c332a2067599ee85d07435fb6304c29aaf
[]
no_license
SaidAlvarado/UNETBOT_2015
6cc90069d34c927f275526f16ea612660726f74c
7fe8f710fac8cca0d340ceab5a1e972bfdc98558
refs/heads/master
2021-01-10T22:11:09.567545
2015-10-26T19:27:47
2015-10-26T19:27:47
35,787,230
0
0
null
null
null
null
UTF-8
Python
false
false
14,261
py
import numpy as np import cv2 import random # Filtros de color de HSV rojoLow = np.array([0,198,68]) rojoHigh = np.array([17,255,255]) amarilloLow = np.array([24,210,67]) amarilloHigh= np.array([34,255,237]) azulLow = np.array([90,54,0]) azulHigh = np.array([116,255,93]) verdeLow = np.array([37,144,0...
[ "said_alvarado@hotmail.com" ]
said_alvarado@hotmail.com
a4d69b5d3d6747f313209a1534539033e0d26edf
268568ff2d483f39de78a5b29d941ce499cace33
/spyder/plugins/editor/__init__.py
837acce64e0e7f40a42373fee3222e97d7416db5
[ "MIT" ]
permissive
MarkMoretto/spyder-master
61e7f8007144562978da9c6adecaa3022758c56f
5f8c64edc0bbd203a97607950b53a9fcec9d2f0b
refs/heads/master
2023-01-10T16:34:37.825886
2020-08-07T19:07:56
2020-08-07T19:07:56
285,901,914
2
1
MIT
2022-12-20T13:46:41
2020-08-07T19:03:37
Python
UTF-8
Python
false
false
394
py
# -*- coding: utf-8 -*- # ----------------------------------------------------------------------------- # Copyright (c) 2009- Spyder Project Contributors # # Distributed under the terms of the MIT License # (see spyder/__init__.py for details) # --------------------------------------------------------------------------...
[ "mark.moretto@forcepoint.com" ]
mark.moretto@forcepoint.com
c594f78b733e395a7d369bd262c7cea585fbe150
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03705/s081733428.py
98e064ca6f0ef5b9a31b74e618de42bb0a8fbdba
[]
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
150
py
N, A, B = map(int,input().split()) min = A * (N - 1) + B max = B * (N - 1) + A if (max - min) + 1 < 0: print("0") else: print((max - min) + 1)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
98151bb3945bdf399f1d80082c5852c8b1ed1486
89a670d5fa58a2c40e8eca942420bc8da03352b6
/sistema/sigestar/appsistema/admin.py
6e6bd425b48307e82ab55e628f831d72f3fa9056
[]
no_license
necritos/sigestar
f38378bff8a83f5f9695afd5b551082b8f04ae0c
e4ad3342d4e6606890422d9c499fae9bfb557c4c
refs/heads/master
2020-05-18T00:44:05.987232
2013-08-08T22:50:53
2013-08-08T22:50:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
212
py
from django.contrib import admin from appsistema.models import Categoria, Solicitud, Tipo, Rubro admin.site.register(Categoria) admin.site.register(Tipo) admin.site.register(Solicitud) admin.site.register(Rubro)
[ "manuelriosvega@gmail.com" ]
manuelriosvega@gmail.com
7b74ecf9cdd1b909e24e5e576f8de6229d90b73b
74cab51fa52be54dfd720ba130f0c0435d99c8cd
/xray/scratch/00-VICTRE_pipeline/01-pipeline_codes/x-ray_runs/run_xray_jobs.py
9d528cc33e7ea4057dd677b530e765a726b82271
[]
no_license
shenghh2015/fda_breast_phantom
a57f82fc280783b1c3ca48308565beeff87e6530
dfb9d8613ed5cf0e5812a674027a5d200ffc91bd
refs/heads/main
2023-06-04T10:51:09.736674
2021-06-17T19:21:27
2021-06-17T19:21:27
377,733,048
0
1
null
null
null
null
UTF-8
Python
false
false
643
py
import os import argparse #os.chdir('/scratch/00-VICTRE_pipeline/00-base_input_files/x-ray_runs/') parser = argparse.ArgumentParser() parser.add_argument("--num_jobs",type=int) parser.add_argument("--gpu_num",type=int) args = parser.parse_args() path = os.getcwd() print('The current path:{}'.format(path)) os.ch...
[ "shenghh2015@gmail.com" ]
shenghh2015@gmail.com
537a003979fe6e0256692f1c18d9ca8c8cea3a2c
4f01079e1741a290398862dba4452cb23615d0d6
/pioneer3at_control/scripts/nmpcCodeGeneration.py
097a4a18171d59b2c1bacca0f4d74a9ab74d92d2
[]
no_license
fmccastro/pioneer3at-nmpc
faa7a2d65fc0e611169ce79385b384983f006b1d
1f317c4c7d8038447b9cb24b1ca846b1daafe803
refs/heads/main
2023-08-04T06:05:22.638575
2021-09-13T20:51:06
2021-09-13T20:51:06
306,483,268
0
0
null
null
null
null
UTF-8
Python
false
false
1,782
py
import numpy as np from sys import path path.append(r"/home/fmccastro/Thesis_RoverNavigation/ROS_workspaces/ws_1/src/casadi-linux-py27-v3.5.1-64bit") from casadi import * if __name__ == '__main__': """ x = MX.sym("x") # States y = MX.sym("y") theta = MX.sym("theta") states = vertcat...
[ "franciscomccastro@gmail.com" ]
franciscomccastro@gmail.com
03b34f6a847f901f34b14a6a7fc01479413f66db
395f8a649669e6e7095a4ab494c555844298b945
/mastery/mastery/wsgi.py
899174eca097f275a257e0d5ec1a1b2df9a1be7c
[]
no_license
bradjerkson/10000HourRule
c76939ab9f9ef8c3df03b3d3cc9717147026ee27
631dbeded938ca6ba7b76ae896dd8ed847a8094a
refs/heads/master
2023-03-15T02:11:59.543875
2021-03-20T06:18:31
2021-03-20T06:18:31
280,025,509
0
0
null
null
null
null
UTF-8
Python
false
false
391
py
""" WSGI config for mastery 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.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETTI...
[ "bradley_jackson@ymail.com" ]
bradley_jackson@ymail.com
a1bca283975a1c1d1a69770d49be28717d7f7ede
93f36c1c6097691de7bc2be43f8c714a4736f8be
/test/test_service.py
5dddcd7fe6e2be092ebee4fd9c17e513ee0235d8
[]
no_license
subscreasy/subscreasy-python-client
28e5e54f6714af6081343a0550a3591d76ba7423
f74e572226bdd381f987b95954ceefacc7fb2b07
refs/heads/master
2020-03-18T22:36:53.227457
2018-05-30T09:11:24
2018-05-30T09:11:24
135,354,585
0
0
null
null
null
null
UTF-8
Python
false
false
825
py
# coding: utf-8 """ Api Documentation Api Documentation # noqa: E501 OpenAPI spec version: 1.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import unittest import swagger_client from swagger_client.com.kodfarki.subscreasy.client...
[ "halil.karakose@kodfarki.com" ]
halil.karakose@kodfarki.com
b8a9b37ebf44bd54afb2999b4fb930b8506cd0bd
2caf4fc121b6df2fc468c5d3c0e02d5e611b3c70
/src/contact/forms.py
2fa325c3db4019dfa699d4205a4d506a9ad568a2
[]
no_license
plerzundi/caffeteira
ba6faa376b830dc68bfe8abc0e25ccbbe346ce4a
59ed2c6f22a1e120a6a72c6cd1f58595edab0762
refs/heads/master
2020-03-21T01:30:11.012665
2018-06-21T22:14:58
2018-06-21T22:14:58
137,946,086
1
0
null
null
null
null
UTF-8
Python
false
false
577
py
from django import forms class ContactForm(forms.Form): name = forms.CharField(label="Nombre", required=True, widget=forms.TextInput( attrs={'class': 'form-control', 'placeholder': 'Escribe tu nombre..'} )) email = forms.EmailField(label="Email", required=True, widget=forms.EmailInput( att...
[ "patriciolerzundi@gmail.com" ]
patriciolerzundi@gmail.com
3916bdf4c6ab077979f7dde11de8de79137bc6e9
e18ef621eb92bb7af2e683fbc0b8c8b638b1ec46
/ACTIVITIES/python/fizzbuzz.py
4b424bb0e42620a78703aec8ffb3046877d6db54
[]
no_license
BPCao/Assignments
496b238ce8c2db101beef80d8538027fca26683e
6144f7a35fdec4b945f69e282b7164cac9f7ddfe
refs/heads/master
2020-04-22T12:32:08.729961
2019-05-02T13:07:19
2019-05-02T13:07:19
170,374,968
0
0
null
null
null
null
UTF-8
Python
false
false
283
py
def fizzBuzz(): num1 = int(input("Please enter a whole number: ")) if num1 % 3 == 0: print ("Fizz") elif num1 % 5 == 0: print ("Buzz") elif num1 % 3 == 0 and num1 % 5 == 0: print ("Fizz Buzz") else: print ("No Fizz Buzz") fizzBuzz()
[ "bach.cao@Bachs-MBP.localdomain" ]
bach.cao@Bachs-MBP.localdomain
95ce44a1ea35c2f7d70624237f2a1f58ee321bed
05d84ca54c3866a546dc9eb03bf904552845b114
/main/migrations/0005_auto_20181110_0140.py
30b6a19f4a470da99c33289b5c2a8bf8c9fb0dfe
[]
no_license
chriscauley/ur-conf
43ba6793995b4a17308844c6ccaeb7e92f50eb1e
17819b750117ce3cb8808d4a6c8702b5234c8dbb
refs/heads/master
2022-12-13T08:38:05.026612
2020-05-11T13:10:53
2020-05-11T13:10:53
155,024,014
0
0
null
2022-12-09T20:29:49
2018-10-28T01:13:40
JavaScript
UTF-8
Python
false
false
368
py
# Generated by Django 2.1.2 on 2018-11-10 01:40 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('main', '0004_auto_20181109_1624'), ] operations = [ migrations.RenameField( model_name='achievement', old_name='description'...
[ "chris@lablackey.com" ]
chris@lablackey.com
e1e0082878d72d7286dad3889b135edbead96d79
0dabbacd26c74d4852e4f2bb7f17fbbfa7901f65
/routes.py
4690bcd2a7326825058242a9397a458cf59dbd0d
[]
no_license
Ommer/collection-of-learning
e045ff25b3def93f21ff53e10aae6e91598bfa6d
40a0fcae737e4bc5356361cb4af4ed848f3cff13
refs/heads/master
2021-01-10T15:01:34.685024
2015-12-21T07:54:51
2015-12-21T07:54:51
48,307,482
0
0
null
null
null
null
UTF-8
Python
false
false
275
py
from flask import Flask, render_template app = Flask(__name__) @app.route("/") def index(): return render_template("index.html") @app.route("/about") def about(): return render_template("about.html") if __name__ == "__main__": app.run(debug=True,host='192.168.1.192')
[ "osimjee@canoga.com" ]
osimjee@canoga.com
ea922d5b914d5cfe09d8f675bb97de8eb4ab9384
ac90b675d8f566bfefca6033c448f642190f0cf9
/learning/model/autoencoder.py
48fe7cdc385d49fda176aad780abc70ec8e07fa3
[]
no_license
winbergs/faces-shapemodeling
b2175a3da7b880eca99e689f8a41308ccf8115cb
e177210c419607bec1da0677189baeb1478fa542
refs/heads/master
2023-03-24T02:07:01.018978
2020-05-29T07:59:22
2020-05-29T07:59:22
526,609,070
1
0
null
2022-08-19T13:00:37
2022-08-19T13:00:36
null
UTF-8
Python
false
false
2,529
py
import torch import torch.nn as nn class Autoencoder(nn.Module): def __init__(self, num_points): super(Autoencoder, self).__init__() self.num_points = num_points self.point_net_encoder = nn.Sequential( nn.Conv1d(in_channels=3, out_channels=64, stride=1, kernel_size=1), ...
[ "daniel@sparber.io" ]
daniel@sparber.io
4a59095a1135564021b5b7317d97b177fe85039d
220b973be371b7effdb27c5effbac8ad1da46485
/backEnd/pagerank_mapreduce/pg_reducer_generator.py
563ecae167504f634f63c983d991fae785d170a0
[]
no_license
wlz1028/pl_works
b782992fce53e6055d24e2c3921d97ed69b6c930
708f23696c7d9fe96d29fa430f94d0fa1d0ee42e
refs/heads/master
2020-04-06T03:30:02.220604
2014-12-03T23:37:23
2014-12-03T23:37:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
936
py
import sys last = None pg = 0 beta = 0.8 N = 4 counter = 0 def get_stdin(stdin): for line in stdin: yeild def reducer(): lines = get_stdin(sys.stdin) for line in lines: data = line.strip().split('\t') page_id,value = data[0],data[1] #If new page_id detect, #print ...
[ "wlz1028@gmail.com" ]
wlz1028@gmail.com
03c777de9d4267ee5f7e331f86059ab4d864b1fe
da623e0caaab4767bc075bfa1ebd1af6da70a684
/tools/grading-tools/push-problemsets.py
a8b9d1e114d44bffbd9442ee83ea59352cbfcafb
[]
no_license
alex-ly/hcf-hacking
7408638fffea54e98c32eb03925b538c4a2ee4fc
9d9456fba8af04122cc49d14ea48743d91683ea1
refs/heads/master
2020-03-19T09:00:22.298295
2018-06-06T01:02:26
2018-06-06T01:02:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,197
py
import os import sys import subprocess import time OUTBOUND = os.path.join(os.environ.get('HOME'), "exchange/problemsets/outbound") USERS_ROOT = "/user-problemsets" def slashed(x): if x.endswith("/"): return x else: return x + "/" def list_users(): for x in os.listdir(USERS_ROOT): ...
[ "noreply@github.com" ]
noreply@github.com
e389593015b15209f4eed8fbdcdc15c6c7c1fdce
ae08bf2b937da68cac4c2fb0e926383012483fd8
/xpath/6.04-news_xpaht3.py
e5b90e7007bebe5636fde93b0cd4f134afb69c43
[]
no_license
hiei17/Crawler_Learning_Record
67f57bfdd15f84c63908c37da24e62f8f8cab8f9
99fb7d36451994e232670067a6a51699bd47c644
refs/heads/master
2020-04-10T10:13:33.686807
2019-01-26T14:28:01
2019-01-26T14:28:01
160,958,966
0
0
null
null
null
null
UTF-8
Python
false
false
648
py
from lxml import etree html = """ <html> <body> <ul> <li>1 <a href="">子</a> </li> <li>2 <a href="">子</a> </li> <li>3 <a href="">子</a> </li> <li>4 <a href="">子</a> </li> <li>5 <a href="">子</a> </li> </ul> </...
[ "1311822904@qq.com" ]
1311822904@qq.com
cf90adffa041ea62709451a2f6cf519949fce841
b677894966f2ae2d0585a31f163a362e41a3eae0
/ns3/ns-3.26/src/olsr/examples/wscript
35a0d90e4cb07c3aaf83654d02db5ca1a0ebcde7
[ "LicenseRef-scancode-free-unknown", "GPL-2.0-only", "Apache-2.0" ]
permissive
cyliustack/clusim
667a9eef2e1ea8dad1511fd405f3191d150a04a8
cbedcf671ba19fded26e4776c0e068f81f068dfd
refs/heads/master
2022-10-06T20:14:43.052930
2022-10-01T19:42:19
2022-10-01T19:42:19
99,692,344
7
3
Apache-2.0
2018-07-04T10:09:24
2017-08-08T12:51:33
Python
UTF-8
Python
false
false
466
## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- def build(bld): obj = bld.create_ns3_program('simple-point-to-point-olsr', ['point-to-point', 'internet', 'olsr', 'applications', 'wifi']) obj.source = 'simple-point-to-point-olsr.cc' obj =...
[ "you@example.com" ]
you@example.com
9c685722409e3518af6a7fb6f46c6e4c518ffa8c
4e7b0dd419e3b6039d44cb10cc7f7e0c9eea521b
/mysite/polls/models.py
6206280a57d233e69597378dd758b68ce4bff6ca
[]
no_license
zsx0728/Python
5cd4fd36738e36c2e93f8ffc23457e24b444dc12
c53de64f82b37199edd8de21ad0cebc44c86c52d
refs/heads/master
2022-08-27T10:28:06.657966
2022-07-29T03:00:22
2022-07-29T03:00:22
157,692,838
0
0
null
null
null
null
UTF-8
Python
false
false
862
py
import datetime from django.db import models from django.utils import timezone # Create your models here. class Question(models.Model): question_text = models.CharField(max_length=200) pub_date = models.DateTimeField('date published') def __str__(self): return self.question_text def was_publ...
[ "root@agent.domain.com" ]
root@agent.domain.com
64ee4f9020649bc64f22d45e7da73125a89815e5
19cccae9f14fef24f87c8cded25b9ed8ac3a4c4e
/build/ros_vlp_noswing/catkin_generated/pkg.develspace.context.pc.py
d6f2086fbe66d1bc9179608bcb2a3766fbd233ea
[]
no_license
shingyo12/catkin_ws
ab70d41ad6aa54a2c40a7b24adc496dc46f3c7c2
68547f806e72156043408dae664b98b15bd0011e
refs/heads/master
2020-04-07T19:37:16.966634
2018-12-13T08:17:31
2018-12-13T08:17:31
158,648,175
0
0
null
null
null
null
UTF-8
Python
false
false
377
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else [] PROJECT_CATKIN_DEPENDS = "".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else [] PROJECT_NAME = "ros_vlp_noswing" PROJECT_SPACE_DIR = ...
[ "shingyo12@gmail.com" ]
shingyo12@gmail.com
970da725868a3f8523a6bfb87725a31b4be2d2aa
7feb434c269ef76b067e6cc87c596c35ec2fd93f
/python/move_pic_to_center.py
608a03de9ccda97e86a953021a0bd5736f707ae9
[]
no_license
Xuyangting/YouYuAutomator
ed2bf428b9a76e76e1585855f37c5cff9ba7639f
f95556173dc0a6a123faa350d29409c0d5fbd320
refs/heads/master
2021-01-16T21:30:22.237596
2017-08-14T06:35:21
2017-08-14T06:35:21
100,235,528
0
0
null
null
null
null
UTF-8
Python
false
false
923
py
# -*- coding:utf-8 -*- import sys import os from ftplib import FTP # 需要创建的文件夹名称,与质量中心执行任务的编号一致 dirName = sys.argv[1] # 建立连接 def ftp_connect(): ftp = FTP() ftp.connect("10.9.8.42", "21", timeout=10) ftp.login("timen.xu", "xyt407708323") return ftp # 上传文件 def upload_file(ftp, remote_path, local_path...
[ "timen.xu@ruifusoft.com" ]
timen.xu@ruifusoft.com
1e990455989a68bf3a32d77fefe0c72200afa65d
77a708a1fc108a422b51d016259e4b84d9c33a7f
/multiplicities_list2.py
98ebc802265f4f4b231b432c8f445dd3239ad03b
[]
no_license
weipanchang/project
f0f85992a2eceb9b3558466299b17b8adbee1df3
129c08534efe2332fb622a6a26e26df29b8b2632
refs/heads/master
2022-07-13T01:38:32.562827
2022-05-30T18:07:16
2022-05-30T18:07:16
17,384,611
0
0
null
null
null
null
UTF-8
Python
false
false
1,891
py
#!/usr/bin/python #author: william #date: #purpose import math def do_factorial(n): if n == 1: return 1 else: return n * do_factorial(n-1) def do_factor(number): n = int((math.sqrt((number))) + 1) factor = [x for x in range(2,n+1) if number % x == 0] return sorted(factor) def do_primary(l): ...
[ "weipanchang@hotmail.com" ]
weipanchang@hotmail.com
2e96b0e4182f1e8509d265aa949acbd7ad06be5d
bba2a950898219fce21da4a9f4b7b29833bce6e6
/main_app/apps.py
e3c718c8303bfb9aa2aa954a03bcb2b8820bd5b9
[]
no_license
jamesthejellyfish/Avybe_challenge
dc01af9731b3d403e6c61f6385b0c626f3045433
da80e0ce73f0c0ca114156da9b9a39d445579d9e
refs/heads/master
2023-03-19T20:03:23.844192
2021-03-12T19:03:42
2021-03-12T19:03:42
346,049,748
0
0
null
null
null
null
UTF-8
Python
false
false
89
py
from django.apps import AppConfig class TestdbConfig(AppConfig): name = 'main_app'
[ "hungergamesnum.1@gmail.com" ]
hungergamesnum.1@gmail.com
d973271777c8e9494f9733d1dc4e18c88d81190c
9b97735e1004126be4eac3e71e7821132efbb545
/decorators_functional_and_class_based/decorators_logging_example.py
4369fb63071ff329a340df0218127ea87c613566
[]
no_license
danstelian/python_misc
bf52c5fa7941f4139ede6fbca0002dd9d3ee43d1
1613b6cecb05d8d44e08d7df4e2694bfc4476019
refs/heads/master
2021-04-26T22:56:50.496421
2018-04-02T05:38:26
2018-04-02T05:38:26
123,901,042
0
0
null
null
null
null
UTF-8
Python
false
false
758
py
import logging import time from functools import wraps def logger_decorator(func): logging.basicConfig(filename=f'{func.__name__}.log', level=logging.INFO) @wraps(func) def wrapper(*args): logging.info(f'ran with args: {args}') return func(*args) return wrapper def timer_decorator(...
[ "stelian.dm@gmail.com" ]
stelian.dm@gmail.com
eed70d8d22b65175cdefba66cf6a140d701df085
668c6048babf844559bfad92f6da8c58aa582d7f
/bin/fairseq_plugins/criterions/translating_lm.py
18ae5f458ef03c9157c93e1def3fb58c31e8288d
[]
no_license
jancijen/oas-hepb
5cd25f443bcf1faa0a303aad9fd8b681c5293fc6
56407211406c86021bd740515a6f87123cbf0bf4
refs/heads/master
2022-11-25T15:05:55.387183
2020-08-01T23:33:49
2020-08-01T23:33:49
284,305,594
0
0
null
null
null
null
UTF-8
Python
false
false
3,857
py
# Copyright (c) Facebook, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. import math import logging import torch import torch.nn.functional as F from fairseq import metrics, utils from fairseq.criterions import Fai...
[ "jan.jendrusak@merck.com" ]
jan.jendrusak@merck.com
9cfb4222acbfff4606c9d9ddd27bb766d4ba51c4
08014244d232f3069469f4d242976942b397b8fb
/app/models/project.py
18eb5a44dcf77945d115e44d8b6900dcd2e8524b
[]
no_license
pengdaan/Automated-test-platform
fd5fb510fd8232418b591d1d58399e7f01a33fd9
dce2d24adef0cd6322ade5a58cbf96462c608ade
refs/heads/main
2023-06-04T08:25:58.246912
2021-05-01T14:27:24
2021-05-01T14:27:24
345,913,011
0
0
null
null
null
null
UTF-8
Python
false
false
3,816
py
#!/usr/bin/env python # -*- encoding: utf-8 -*- """ @文件 :project.py @说明 :项目表 @时间 :2020/08/11 08:58:49 @作者 :Leo @版本 :1.0 """ from sqlalchemy import text from flask_sqlalchemy import orm from app.models.api import Api from app.models.base import Base, db from app.models.case import Cas...
[ "" ]
25d0dce6961d9519df4a63364a28340e11dc5e49
7c6d62bc3d9d103611da203e0f648b5e549968d6
/p8/p8p2.py
f8ca9f0c8266151c6524a327177815ef14b23986
[]
no_license
chowsychoch/Programming-1-
632e59c473068c8694be760c903a372780fba64a
959555396134076443bc171d75de757143e8c282
refs/heads/master
2023-01-11T10:58:56.938941
2020-11-04T09:40:51
2020-11-04T09:40:51
306,856,483
0
0
null
null
null
null
UTF-8
Python
false
false
668
py
#prompt user for int #print out input # if user input < 0: #print out error # set number as one #while num is smaller or equal to input #set index to one #while index is smaller than user input #print out index * num #increment by one #print space line # num increment by one # print finished ...
[ "cho.cho@ucdconnect.ie" ]
cho.cho@ucdconnect.ie
35a1716ba124832d9905c592d9e96d33a27971ee
eb9c3dac0dca0ecd184df14b1fda62e61cc8c7d7
/google/cloud/dialogflow/v2/dialogflow-v2-py/google/cloud/dialogflow_v2/services/intents/pagers.py
f5030b36777fe129d348bab6f6e1d7c6da9472c0
[ "Apache-2.0" ]
permissive
Tryweirder/googleapis-gen
2e5daf46574c3af3d448f1177eaebe809100c346
45d8e9377379f9d1d4e166e80415a8c1737f284d
refs/heads/master
2023-04-05T06:30:04.726589
2021-04-13T23:35:20
2021-04-13T23:35:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,626
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
[ "bazel-bot-development[bot]@users.noreply.github.com" ]
bazel-bot-development[bot]@users.noreply.github.com
5551777276b0a9c302242cf25f0b2533c7bb4990
9cd09b6bb92db175b9d3882fb61667e74af6c3c9
/data.py
95350d1bc0b2201d2d9a0fc8084c7de6eac346cd
[]
no_license
aniemi/Pastebin
537a7e6e2f95a0e2466a131c44d09ea48d43e850
e5da9ca9dfe34f877bd84ee795b7851a3e051ba3
refs/heads/master
2021-07-15T05:08:01.389869
2020-01-01T20:07:12
2020-01-01T20:07:12
231,257,688
0
0
null
2021-03-20T02:35:47
2020-01-01T19:57:50
Python
UTF-8
Python
false
false
1,846
py
from flask import Flask, g, current_app import sqlite3 DATABASE = 'database.db' def get_db(): db = getattr(g, '_database', None) if db is None: db = g._database = sqlite3.connect(DATABASE, isolation_level=None) db.row_factory = sqlite3.Row return db def init_db(): db = get_db() with ...
[ "akseli.niemi@me.com" ]
akseli.niemi@me.com
6d4f64ec2045276b56dba14ee6b4ad2b1dff62c4
dab891f601d33dbab869672eb035f6bb1c79c8d8
/dirs/crons.py
683aabcdf865b6fbc0b22a2872b37ecf2551f851
[]
no_license
codeforcauseorg-archive/Py-Boot-2021
c8835ed4af2b2cdd1f80d5dff9a12676ef613ea6
6734e7f9b0a8e3c1eb46de11d095fae1c4c49ec7
refs/heads/main
2023-07-17T23:14:47.204035
2021-08-24T06:26:02
2021-08-24T06:26:02
392,699,382
1
0
null
null
null
null
UTF-8
Python
false
false
146
py
from crontab import CronTab cron = CronTab(user='ganga') job = cron.new(command='python file-dispenser.py') job.minute.every(1) cron.write()
[ "anujgargcse@gmail.com" ]
anujgargcse@gmail.com
04b20c8ddcc8ccb1bcd6fdc132a5d9aba83a58dd
668ad558bd89c0b0c9a1f97ae2a8d3e399622746
/T5/common_gen/eval_common_gen.py
e15d11bb4a92803aec2c6ae198c173fd091221a4
[]
no_license
sonaliserro/w266-commonsenseqa
fdfb92dc4144ab5e41e2c6f910329492ea916151
042570eab5b806ca24854e09df9b7d60762f5bfe
refs/heads/master
2023-01-30T20:36:43.093416
2020-12-10T03:13:44
2020-12-10T03:13:44
297,233,251
1
0
null
null
null
null
UTF-8
Python
false
false
875
py
import nlp from nlgeval import compute_metrics # Load the common_gen validation dataset valid_dataset = nlp.load_dataset('common_gen', split = nlp.Split.VALIDATION) # Generate a references.txt file that contains 1 reference per line output_file = 'references.txt' with open(output_file, 'w') as writer: for idx, r...
[ "sonaliserro@berkeley.edu" ]
sonaliserro@berkeley.edu
9ddd817fc1bf54e9ca3ca5f047ae01e3ce822ebb
6c5782cee8e8b8a2fe0cd37191b181c037bf66c3
/AlgoExpert/3. Hard/Python/Find Loop/Find Loop.py
304657cfde74af7944f3477b455d198359842f16
[]
no_license
Abhishek-Rout/Competitive-Coding
4ccd440add9d2e3746430750b8cfe11216ec3416
557093f767496a0b1d1a8dc247dec7fe1c1e1dc5
refs/heads/master
2023-08-27T16:11:22.580935
2021-10-21T05:59:30
2021-10-21T05:59:30
291,649,962
15
22
null
2021-10-06T15:37:08
2020-08-31T07:49:11
Python
UTF-8
Python
false
false
364
py
class LinkedList: def __init__(self, value): self.value = value self.next = None # O(n) time | O(1) space def findLoop(head): first = head.next second = head.next.next while first != second: first = first.next second = second.next.next first = head while first != second: first = first...
[ "noreply@github.com" ]
noreply@github.com
6b3978ff628392431e85d01883dc819ca1140db6
751603b721babb7e1657512baf896c818e5b65d0
/compgraph/mt/memory_watchdog.py
c592ba63631b38e5205539985221fac59091f2fa
[]
no_license
ReddyNick/projects
34d24b4ec258adea6d6b454c6fec03699a2b9ba7
b070baa026b87f45df2a6692d163442ce51244c2
refs/heads/main
2023-06-03T06:07:25.236179
2021-06-22T16:02:39
2021-06-22T16:02:39
379,316,698
0
0
null
null
null
null
UTF-8
Python
false
false
2,156
py
from os import environ, getpid from sys import stderr from threading import Thread, Event from time import sleep from psutil import Process VERBOSE = int(environ.get("VERBOSE", "0")) SLEEP_PERIOD = float(environ.get("WATCHDOG_PERIOD", "100")) / 1000.0 # in msec WIDTH = int(environ.get("PLOT_WIDTH", "100")) // 5 * 5 ...
[ "mango.syrup@yandex.ru" ]
mango.syrup@yandex.ru
6a24c3144a5aa3f2beef03d9028955e776f49f06
c3189c74a58f38e4e58dd7693ce3766aed4c255b
/retrieveData.py
d7e32466bce60078f1702d430b4623a539b60eb3
[]
no_license
m-kopf/CookingCompendium
b03c76f71cdfa3495e4bb3f2c073b1f8e548409d
8a69520e1ce54ee0a7cea3305ebd73fdaea2f88b
refs/heads/master
2020-12-26T23:59:40.941808
2020-02-02T19:08:46
2020-02-02T19:08:46
237,697,718
0
0
null
2020-02-02T00:28:52
2020-02-02T00:28:51
null
UTF-8
Python
false
false
837
py
import sqlite3 def readSqliteTable(): try: sqliteConnection = sqlite3.connect('Recipes.db') cursor = sqliteConnection.cursor() print ("Connection to SQLite") sqlite_select_query = """SELECT * from Recipe""" cursor.execute(sqlite_select_query) records = cursor.fetchall() print("Total row...
[ "wendykopf@Wendys-MacBook-Pro.local" ]
wendykopf@Wendys-MacBook-Pro.local
9ad6be4c78e74806f22c40d8736604e560f03069
59f635ca237f829c9f420ea7e97e150845e7c131
/src/fuzzyLogicRule/variable/variable.py
36d970ec8f610c82ef214c5a451c40efefa22bff
[]
no_license
Lukeeeeee/FuzzyInferenceWithDRL
38256d4d5f01b552779765a5016ef444977114a4
5dbe4ded544d779a81d72917f2cef03c67b0c4d6
refs/heads/master
2021-03-24T02:48:17.175094
2017-09-12T01:19:12
2017-09-12T01:19:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
737
py
class Variable(object): def __init__(self, name, mf, range): self.name = name self.mf = mf self.linguistic_label = [] for mf_i in mf: self.linguistic_label.append(mf_i.name) self.upper_range = range[1] self.lower_range = range[0] self._value = {}...
[ "lukedong123@gmail.com" ]
lukedong123@gmail.com
8a90f1562daaf6f29ced5e9afb0f9c2d898e3578
7a5a3eb831825fb0c0e80957278d95332e5f2258
/core/RIG/Control/mirrorCtlShp/mirrorCtlShp.py
cf45e216ce822ca1791c86f01caf11de51c3ea90
[]
no_license
lefan2016/MPToolkit
e76cee2be10558dd97f228789d0e05bca4deebfc
5b3d1cf7a83b9eeda57919722e353ada7a4f7f6b
refs/heads/master
2020-04-23T11:05:02.816596
2015-12-17T06:26:32
2015-12-17T07:08:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,722
py
#======================================== # author: changlong.zang # mail: zclongpop@163.com # date: Tue, 05 May 2015 11:44:00 #======================================== import os.path, re, pymel.core import maya.cmds as mc from mpUtils import scriptTool, uiTool, mayaTool #--+--+--+--+--+--+--+--+--+--+--+--+--+--+-...
[ "zclongpop123@163.com" ]
zclongpop123@163.com
a43fd59c4508ad46a45261ac67c010c3279895c7
a8ef28945e3103e0f50ed3b33718ab84252bae27
/setup.py
24c4cb1ac57980f3d983c77530a4592696a4801a
[]
no_license
IMIO/cpskin.diazotheme.trendybasic
bbc4c66a0a2a43ae28529bdf5a3f25f6a7a9cce0
fa429b4d39afca575f20fc760dd249160519ddf5
refs/heads/master
2021-01-18T21:57:33.971670
2020-10-29T10:10:52
2020-10-29T10:10:52
30,590,900
0
0
null
null
null
null
UTF-8
Python
false
false
1,299
py
# -*- coding: utf-8 -*- """Installer for the cpskin.diazotheme.trendybasic package.""" version = '0.2.11.dev0' from setuptools import find_packages from setuptools import setup long_description = ( open('README.rst').read() + '\n' + 'Contributors\n' '============\n' + '\n' + open('CONTRIBUTO...
[ "maud.gennart@imio.be" ]
maud.gennart@imio.be
f6cd8ddf03f569cc1053b2976871a095db6d6ca0
41b599f17f8d51f5252c7e409a0e67b9e8a62605
/pipeline/pipeline_stack.py
87e7f068f561f5bf7f8505ba20cec720ed4a6f9b
[ "MIT" ]
permissive
timjbruce/monorepo-mulitregion
15ac878f7d53675948d35d48f8f9faad79dee914
6ac75670d6e6bc1013b8bca827d2d5da2ed7b627
refs/heads/main
2023-06-14T22:34:27.876003
2021-07-06T21:21:28
2021-07-06T21:21:28
383,593,185
0
0
null
null
null
null
UTF-8
Python
false
false
12,225
py
###Non-productrion Code### from aws_cdk import ( aws_codebuild as _codebuild, aws_codecommit as _codecommit, aws_codepipeline as _codepipeline, aws_codepipeline_actions as _codepipeline_actions, aws_iam as _iam, aws_s3 as _s3, core as cdk ) class PipelineStack(cdk.Stack): def __init__...
[ "brucetim@amazon.com" ]
brucetim@amazon.com
e09e39532171b1abbde86f18d51023bb08a30345
d5245e9d20cbbc2533f6640bdf050e45b38cee3c
/userInformation/ID3Method.py
2689bd5c66839cf9259c5467b34bbf3d40e85100
[]
no_license
sehan10/presumptive_diagnosis
5109e97638ac45d131dc1b3189a4a2f3a749bbf6
4f3ecd41b444db6ddd17100da97760e76cedd998
refs/heads/master
2020-05-22T08:18:42.275015
2019-05-12T17:03:04
2019-05-12T17:03:04
186,274,667
0
0
null
null
null
null
UTF-8
Python
false
false
23,807
py
from decimal import * from random import randrange import math import copy class MethodRepository: Class = [] entropySys = 0.0 singleTon = True DescionTree = [] IterationNo = "" Layer = "0" Data = [] digitcounter=0 def MakedecisionTree(self,TraininD,AttributesName,Class): ...
[ "sehan_ahmed@live.com" ]
sehan_ahmed@live.com
dc9052f26023ef505df746bfa11a9decec965b19
b6fd5a2e07091636c1cf27351d5b5e58d475c267
/round_time.py
a8a1af6e662dde669374603fcbaed76505223517
[ "BSD-2-Clause" ]
permissive
Stefal/ubx-to-gpx
54a37c17c188020553bd45415d68a9dff34f00a5
c420905d5a35d41bfa5dd0aaf07f99b1f7045681
refs/heads/master
2021-08-02T08:49:42.115996
2021-07-28T19:04:35
2021-07-28T19:04:35
189,289,061
1
0
NOASSERTION
2021-03-25T11:21:40
2019-05-29T19:53:18
Python
UTF-8
Python
false
false
3,284
py
import datetime def round_time(dt=None, date_delta=datetime.timedelta(seconds=1), to='average'): """ Round a datetime object to a multiple of a timedelta dt : datetime.datetime object, default now. dateDelta : timedelta object, we round to a multiple of this, default 1 minute. from: http://stackov...
[ "stephane.peneau@wanadoo.fr" ]
stephane.peneau@wanadoo.fr
7e785828ecc952b6eabfc9890f7df3d4a90a054d
b71e91d4eb55b6826dbe378180aa7b2b8a717bdf
/Capitulo10/exercicio109_v2.py
b5df9d68ab21d3a0935e8bfaac4dc18ddb8237c3
[]
no_license
gustavopierre/think_python
49a9ceb50f760b41f6fbac54a07f6b394aa8d637
a3ad6e660db4e6ce2aa105f5084e585f95936867
refs/heads/main
2023-03-24T23:48:29.415573
2021-03-15T22:15:30
2021-03-15T22:15:30
348,137,048
0
0
null
null
null
null
UTF-8
Python
false
false
125
py
t = [] fin = open('./Capitulo9/words.txt') for line in fin: word = line.strip() t = t + [word] fin.close() print(t)
[ "gustavopierre@gmail.com" ]
gustavopierre@gmail.com
85cedc808873125c55e46e7b8d735ab98f0e69bb
b6044e62cfa76304ce82a76970107c7834f8b521
/python/basic_gramma/Web development/WSGI/server.py
1b7bb41213acfd12d39da2b4a5bb1c29248457fd
[]
no_license
lxw15337674/Language_learning
869e67221132ee31e7f06600096360431f1f6146
c3abd190fc98bc0482752345d5a39aecb983f043
refs/heads/master
2020-04-16T17:42:36.710187
2017-03-22T10:18:03
2017-03-22T10:18:03
64,550,536
0
0
null
null
null
null
UTF-8
Python
false
false
416
py
#负责启动WSGI服务器,加载applicaiton()函数: #从wsgiref模块带入 from wsgiref.simple_server import make_server #导入我们自己编写的application函数 from dev_webapp import application # 创建一个服务器,IP地址为空,端口是8000,处理函数是application: httpd = make_server('',8000,application) print('Serving HTTP on port 8000') # 开始监听HTTP请求: httpd.serve_forever()
[ "404174262@qq.com" ]
404174262@qq.com
c7c889636b85cb12e2266052560382d35d7e43d5
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/6/odu.py
ffb5ddfec684b20676e433f2e985814acd853b04
[]
no_license
G4te-Keep3r/HowdyHackers
46bfad63eafe5ac515da363e1c75fa6f4b9bca32
fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2
refs/heads/master
2020-08-01T12:08:10.782018
2016-11-13T20:45:50
2016-11-13T20:45:50
73,624,224
0
1
null
null
null
null
UTF-8
Python
false
false
486
py
import sys def printFunction(lineRemaining): if lineRemaining[0] == '"' and lineRemaining[-1] == '"': if len(lineRemaining) > 2: #data to print lineRemaining = lineRemaining[1:-1] print ' '.join(lineRemaining) else: print def main(fileName): with open(fileName) as f: for line in f: ...
[ "juliettaylorswift@gmail.com" ]
juliettaylorswift@gmail.com
104d7f7f8b1f2d29fd36533af77e862c36fd2c1e
a6fff983ab308add08df57876df370c230af37e8
/hello_world.py
d49eea9117a1e945c22696914d6924157f7d4a98
[]
no_license
Raparker88/hangman
5bc2cbd4e2dfd1eade6c34ee8c5f5bcc1e06a79b
32bde5439323d6cefae4ad17007eb404558c4d35
refs/heads/master
2020-12-08T03:35:18.813262
2020-01-11T18:27:25
2020-01-11T18:27:25
232,872,631
0
0
null
null
null
null
UTF-8
Python
false
false
38
py
print("hello world!") print("Hello!")
[ "59704464+Raparker88@users.noreply.github.com" ]
59704464+Raparker88@users.noreply.github.com
6df4a2b8ccf09e4e5c64e891b4c75397cdd73c13
9790b3e52cc3393f74d06655b820047d1be8bf46
/parser.py
2ad94eb1c5d3f758f93a17e43a561940f2607f4c
[]
no_license
3omar3allam/tiny-parser
7c0eb365d2b55abca82cec049800b6dbb104645c
33c67cf66492e9e4d81b3a02965ca3f6c68a1165
refs/heads/master
2020-04-12T05:26:07.433566
2019-01-07T14:12:01
2019-01-07T14:12:01
162,326,959
0
1
null
null
null
null
UTF-8
Python
false
false
7,268
py
from helper import Node,find_indeces class Parser: iterator=0 def __init__(self): self.types = [] self.values = [] self.iterator = 0 self.parse_tree=None self.nodes_table={} self.edges_table=[] def set_types_and_values(self,types,values): ...
[ "allamov96@gmail.com" ]
allamov96@gmail.com
f291a2ae0a71925f927ac2e38711136cb391d118
e2463e1889ca9e87297358ac5b54b2b73994a830
/_submodules/mmdetection/mmdet/models/dense_heads/__init__.py
d8cfdcfb040406d07e80a7b76d4abef97b379998
[ "Apache-2.0" ]
permissive
franktpmvu/dmtrack
b0fe8b2614f4b829fe6cb1ed651377c66f64ed6a
d27b56055392a496ce53d85f78178f754a6ea20b
refs/heads/main
2023-07-10T08:49:10.018437
2021-08-18T09:23:23
2021-08-18T09:23:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,238
py
from .anchor_head import AnchorHead from .atss_head import ATSSHead from .fcos_head import FCOSHead from .fovea_head import FoveaHead from .free_anchor_retina_head import FreeAnchorRetinaHead from .fsaf_head import FSAFHead from .ga_retina_head import GARetinaHead from .ga_rpn_head import GARPNHead from .guided_anchor_...
[ "superkevingit@gmail.com" ]
superkevingit@gmail.com
7e3ef551da182d2cd839da07b3a7490fc9878864
889128a951b7d7401243f1d2cb85f29e6e2d4f0b
/sorting algorithms/BFPRT.py
ef63aaafd048d4ac65844d599a7c664c19b41c4a
[]
no_license
Gexeg/lessons
414f7ab54d39eee19d3b1e376aca8f8765151632
25c44ecc1e15d55af6b07615750a15b16d1e517e
refs/heads/master
2021-12-01T06:11:17.547258
2021-11-30T18:48:55
2021-11-30T18:48:55
143,589,951
2
0
null
null
null
null
UTF-8
Python
false
false
1,120
py
import random def find_k(array, k): pivot = find_pivot(array) low_elements = [element for element in array if element < pivot] highs_elements = [element for element in array if element > pivot] pivots = [element for element in array if element == pivot] if k < len(low_elements): return find...
[ "psiondnd@yandex.ru" ]
psiondnd@yandex.ru
27e66432a1de605323881a4382c282991adb6fc7
a1a5bdf1d362c532f468adcf4bfb5dfecd7a081a
/Enequaler_Column_FNXionJNXion-20201223ver.py
498ff7a22678b4a224c6b6d0cd2b0e0e44411f2a
[]
no_license
the-shynamites/shynamithub
61b0596bbdbb5f8f921d0ded1d335dd035a5647c
79b97885a0c1365efbb57efee017d0259461d129
refs/heads/master
2023-02-15T12:56:28.181047
2021-01-11T16:12:32
2021-01-11T16:12:32
278,798,028
1
0
null
null
null
null
UTF-8
Python
false
false
1,827
py
#Enequaler_Column_FNXionJNXion-20201223ver.py # coding:utf-8 import time import pprint import openpyxl from openpyxl import load_workbook # xlsxファイル名を入力してEnterで確定する。 print("PLZ choose your XLSX file, and press Enter-key, e.g. fnxion_dequal (without [.xlsx]).") XLSX0 = input() XLSX1 = XLSX0 + '.xlsx' #...
[ "noreply@github.com" ]
noreply@github.com
255b9e1701d4d09d4dac95d0fcf336c2e20d800f
03f30b0cf13beb6c80c26af3c40b9334ce5b063c
/알고리즘특강/보조 배터리.py
c00b88c1df6b46f87456ddb5fbddf0d464e3b410
[]
no_license
yunakim2/Algorithm_Python
41887147dd412596cd5813283e96f68113a4c43d
e8fde2bd7206903b6b4f3c321c3ed5651b484cc7
refs/heads/master
2023-08-25T23:13:58.544439
2021-11-13T09:08:17
2021-11-13T09:08:17
295,153,209
0
1
null
null
null
null
UTF-8
Python
false
false
643
py
import collections a,b,c = map(int,input().split()) n = int(input()) cable = [] for _ in range(n): cable.append(list(map(int,input().split()))) cable.sort(key= lambda k: k[0]) cable = collections.deque(cable) price = 0 cnt = 0 while cable: p, type = cable.popleft() if type == 0: if a>0: ...
[ "98_02@naver.com" ]
98_02@naver.com
61bdd5b93399057adeb0866cc524d7531a7916da
aa90434900a007c572b5147efdb8d5f1e8d4b9a1
/Himanshu/sentiment_entity_API/model.py
c6b42a64192e6ba307a72d225c77b1e5c1aabe00
[]
no_license
harshgupta9723/ML_Experiments
d563c45116a8a06ed2a3d63eb93c8712223809fb
3997531a78d5f173af1c4f1eeba6cd4d4b8688b4
refs/heads/main
2023-09-04T13:26:10.592725
2021-11-19T06:28:10
2021-11-19T06:28:10
406,354,066
0
0
null
2021-11-19T06:28:11
2021-09-14T12:16:45
Jupyter Notebook
UTF-8
Python
false
false
950
py
# -*- coding: utf-8 -*- """SentimentAnalysis.ipynb Original file is located at https://colab.research.google.com/drive/109ZiRsDQVElX0HTJvCmuZA_C8sQ0Am4A """ # !pip install transformers # !pip install tqdm import spacy from transformers import pipeline # Defining a pipeline classifier = pipeline("sentiment-ana...
[ "iamhimanshu0" ]
iamhimanshu0
d32c2395b60600f2c6632895ac315868b07aa240
17be80a5a40d6989ff11fa46947eec2cc73fcec0
/src/0008/0008.py
a3a68fde21e441fa9a7a2d4de7f333ce48bda166
[]
no_license
zhangjiahuan17/LeetCode
61cd1997cb9805a1d5a29c97cadfc29da7bc7b0e
cbc22a6826755ffb5a8b7048b964c19682703a40
refs/heads/master
2020-05-14T17:28:25.159743
2018-12-05T13:40:18
2018-12-05T13:40:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
595
py
class Solution(object): def myAtoi(self, str): """ :type str: str :rtype: int """ import re str = str.strip() result = re.search(r"^[+-]?\d+", str) if result: result = int(result.group(0)) print result if result < 0:...
[ "liuhan0122@shu.edu.cn" ]
liuhan0122@shu.edu.cn
7aa36594e904a7e70a02048b3fe3697453456cdb
c550be587cdca058ddfe9ae7429a7488f8667c05
/console.py
b2a9014dc365c3dc281c0d90f621b070a550417b
[]
no_license
AkwasiAA/w4_d2_homework
4f3db2da222df5ba61a9c408246f8f4484fe4a34
073c431af068fb384e50aa67bb3ffe5f8688dc9c
refs/heads/main
2023-06-09T09:41:11.536168
2021-07-07T07:30:32
2021-07-07T07:30:32
383,711,971
0
0
null
null
null
null
UTF-8
Python
false
false
956
py
import pdb from models.task import Task from models.user import User import repositories.task_repository as task_repository import repositories.user_repository as user_repository # from repositories.task_repository import select_all task_repository.delete_all() # task_1 = Task("Get lunch", "John", 65, True) # task_r...
[ "aa.acheampong1@gmail.com" ]
aa.acheampong1@gmail.com
4f4489524a1684a38158bbef520fa313dedb2967
6431702bbded09ccb0950b9aadd91b9821b9d7c9
/bar_charts.py
01338720942c3a92494f5e934aeaf0c15e522819
[]
no_license
PawelKonczalski/python_data_visualization
561ba3db5adafa881a6e537fcdfd7e9a1e10b5e7
8ba7b6091ec17a97e1c5807ac50eba455798078f
refs/heads/master
2021-05-24T13:42:07.709394
2020-04-06T18:52:18
2020-04-06T18:52:18
253,587,883
0
0
null
null
null
null
UTF-8
Python
false
false
1,224
py
import matplotlib.pylab as plt import numpy as np col_count = 3 bar_width = .15 korea_scores = (554, 536, 538) canada_score = (518, 523, 525) china_score = (613, 570, 580) france_score = (495, 505, 499) poland_score = (518, 518, 526) index = np.arange(col_count) k1 = plt.bar(index, korea_scores, bar_width, alpha=.4...
[ "50076223+PawelKonczalski@users.noreply.github.com" ]
50076223+PawelKonczalski@users.noreply.github.com
3512c8df490454bfe68d7a47273e40508c55d682
aaac14918f61747db3148d78f87f7769a19ce847
/CLASS2 - Conditionals/check_even.py
3fb9d45f0d268495b839b36dc712b03d4f921fd8
[]
no_license
mikestrain/PythonGA
a5f3e51ffb4f28b623a2160f799334348c987d00
fc3a787bbf3c498b3cfcea19bd26f1b37f7232e7
refs/heads/master
2020-12-03T20:25:29.172654
2020-02-21T20:14:41
2020-02-21T20:14:41
231,474,973
0
0
null
null
null
null
UTF-8
Python
false
false
398
py
number = 0 remainder = number % 2 if remainder == 0: print("The number is even.") else: print("The number is odd.") print("\n\n\n") x = 8 y = 0 a = "Hello" b = "test" if x and b: print("Both of these are true.") if not y or not a: print("One of these is false.") if x or y == False: print("Anoth...
[ "michael.e.strain@gmail.com" ]
michael.e.strain@gmail.com
1dafd4cde893a64c4ac57fd1235f640cff188c13
78a2a30311a7f88df906670464c90ffea0e8a4a2
/fractions.py
443a257cc56a0cd4f9adff587c4edd7c3127e2bc
[]
no_license
chousemath/daily-grammar
68f2a6751ed613945a6a71ef008ea78afeb471ad
7863a00d1d8d1c84bb10cdb179deca5686928451
refs/heads/master
2020-12-14T17:36:35.775668
2020-02-12T00:43:55
2020-02-12T00:43:55
234,826,691
0
0
null
null
null
null
UTF-8
Python
false
false
2,924
py
from fraction.Fraction import Fraction as frac from random import choice frac_map = {} lowest_common = {} for i in range(1, 100): frac_map[f'{frac(i * 1, i * 2)}'] = 'ChoiceFraction.OneHalf' lowest_common[f'{frac(i * 1, i * 2)}'] = '1/2' frac_map[f'{frac(i * 1, i * 3)}'] = 'ChoiceFraction.OneThird' lo...
[ "chousemath@gmail.com" ]
chousemath@gmail.com
d2dfa0cd60957a9f87cdf548ab46cbb6b3f3514c
67bab59ed680760a381e355df56423b897e1d56d
/pass_id.py
4ccb9ed1d7fef4dae034f6fb453aea58c0219d72
[]
no_license
andporfirio/14-desafios-desafio01
7e34fe2c85e67416da42bda871a77c52b4d16d6d
778879c957610c380462ef45552c9921b580c7e2
refs/heads/master
2020-04-07T03:57:37.077663
2018-11-18T15:57:53
2018-11-18T15:57:53
158,035,073
0
0
null
null
null
null
UTF-8
Python
false
false
233
py
#!/bin/python import string import random # Modulo para a geracao do hash da senha def pass_generator(size=14,chars=string.ascii_uppercase + string.digits): return ''.join(random.SystemRandom().choice(chars) for _ in range(size))
[ "and.porfirio@gmail.com" ]
and.porfirio@gmail.com
9bbb8c467ca674926b2940db52ac572f29c7f428
79f90e0740aabd3965e617a70d5b9595a0cc0773
/three body problem simulation/notebook.py
877af4e301cac99db0e6dcdb331e707ba62fc727
[]
no_license
classic-mathematician/Physics-Engine
466fa5b93d362395440697967fd3f7fdc96a766a
1fa5f294c9c59c910c50abbc525af2a3e3435689
refs/heads/master
2022-05-19T22:45:51.299067
2022-03-14T23:45:51
2022-03-14T23:45:51
176,183,248
1
0
null
null
null
null
UTF-8
Python
false
false
1,256
py
import pygame import math from body import Body pygame.init() #screen screen_width = 800 screen_height = 600 #colors black = (0,0,0) white = (255,255,255) red = (255,0,0) blue = (0,0,255) green = (0,255,0) colors = [] colors.append(black) colors.append(white) colors.append(red) colors.a...
[ "noreply@github.com" ]
noreply@github.com
4d48ee8aa2dac107353ee1105a6ea897c642ffe9
da5b9c07ed5eb61187f60c21a6038d803c06a234
/Library/lib/python2.7/site-packages/mysql/fabric/server_utils.py
3ad89f705c6b6f934e4c26e444fdc17915711fa5
[ "Python-2.0" ]
permissive
taranatarajan9/Zbooks
9cd26c1c97f41ee7970e8c0600ef16b2ea2896e3
fd28162bd75538690c8716af0a34fb66ae8d155a
refs/heads/master
2023-01-02T11:45:25.572778
2020-10-24T18:19:23
2020-10-24T18:19:23
306,942,566
0
0
null
null
null
null
UTF-8
Python
false
false
6,312
py
# # Copyright (c) 2013,2015, Oracle and/or its affiliates. All rights reserved. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; version 2 of the License. # # This program is distributed in the...
[ "taranatarajan9@gmail.com" ]
taranatarajan9@gmail.com
1b2490aade9d666d12db224e5f261951c8592660
21c5b922925922c5358075f1b11361cca022530e
/day10/day10b.py
9cbaf59339d8e63e5ef9b793b25061c067b8cee5
[]
no_license
sjstein/aoc2020
8efd6aeebfa6ccea4e95debe4d56d5eb88025d22
be024ad7daf1e9385a18e9263fed69be07d8a0d9
refs/heads/main
2023-01-31T16:51:58.907334
2020-12-19T03:54:29
2020-12-19T03:54:29
317,272,893
0
0
null
null
null
null
UTF-8
Python
false
false
681
py
""" """ def numhops(arr, dif): c = len(arr)-1 hops = 0 newarr = arr print(f'In numhops with array = {arr}') while c > 1: if (arr[c] - arr[c-2]) <= dif and (arr[c] > arr[c-1] > arr[c-2]): print(f'Found extra at {c-1} of value {arr[c-1]} ({arr[c-2]},{arr[c-1]},{arr[c]})') ...
[ "s.joshua.stein@gmail.com" ]
s.joshua.stein@gmail.com
eb15b4125424c6865b42ca535067bf7e590e2d1e
c697122555fa82d993f37c89f17ba98dd5fe502f
/src/pyams_table/tests/__init__.py
7432d6657437b20da080ab490faf7c03d172abd7
[ "ZPL-2.1" ]
permissive
Py-AMS/pyams-table
d9cdc9019a9aebc3e685eef243214f0ebc65301c
5b94a4cb2fa8874372f5ea40a202940881ba86b9
refs/heads/master
2021-07-11T11:31:36.772976
2021-03-09T12:49:10
2021-03-09T12:49:10
234,533,290
0
0
null
null
null
null
UTF-8
Python
false
false
800
py
# # Copyright (c) 2015-2019 Thierry Florac <tflorac AT ulthar.net> # All Rights Reserved. # # This software is subject to the provisions of the Zope Public License, # Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution. # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED # WARRAN...
[ "thierry.florac@onf.fr" ]
thierry.florac@onf.fr
3d6f3896d04acd270ca465c74aa49ceccba54775
9f5e9babd7b91494695d439a526af2ff26d1df6c
/ros_workspace/build/catkin_generated/order_packages.py
0ec54decf891381288bb3af62094e7d42af36999
[]
no_license
EthanMendel/MobileRobotics
484d606215b88ab79bf101d5e5383a683443a200
698598d4e45ddae6fd2d693d51355a73b626b4d9
refs/heads/master
2023-04-16T23:15:18.093403
2021-05-04T01:12:40
2021-05-04T01:12:40
364,104,816
0
0
null
null
null
null
UTF-8
Python
false
false
404
py
# generated from catkin/cmake/template/order_packages.context.py.in source_root_dir = "/home/turtlebot/ros_workspace/src" whitelisted_packages = "".split(';') if "" != "" else [] blacklisted_packages = "".split(';') if "" != "" else [] underlay_workspaces = "/home/turtlebot/workspaces/turtle/devel;/opt/ros/melodic".spl...
[ "ethanmendel516@gmail.com" ]
ethanmendel516@gmail.com
11c255513d653577c23eac038231af8bf48b39c0
e163c19c9105fb343866ff3e16717f9b79d765bb
/products/migrations/0005_alter_product_summary.py
79917a9eb5810e895184b546222d6e6b5d3d84bf
[]
no_license
stas-grgv/freecodedjango
e3d1ffe911aa3e445822cc25df87a109f7378eea
08bbb689a9086c0fcf0e8b1f666d18fa69f40bd6
refs/heads/master
2023-06-22T09:55:20.042234
2021-07-08T18:06:32
2021-07-08T18:06:32
382,438,275
0
0
null
null
null
null
UTF-8
Python
false
false
377
py
# Generated by Django 3.2.4 on 2021-06-30 23:57 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('products', '0004_alter_product_price'), ] operations = [ migrations.AlterField( model_name='product', name='summary'...
[ "77362690+stas-grgv@users.noreply.github.com" ]
77362690+stas-grgv@users.noreply.github.com
cba896781fd538dd8cb8faf6348f0309290a4fb5
8360018316eda1f32c91eb3526b6ca435e6d2ab9
/studentDB/evnv/bin/django-admin
e1dfd127d3964eb98e9b14504bab327680f6e85d
[]
no_license
Nandan1567/Student-Database
0a62155926311cb13ebd47ffef36ed5f74f6d40c
87785ef614253127ef4c1bb6d083766a151a864b
refs/heads/master
2020-12-23T15:17:21.421241
2020-01-31T06:46:00
2020-01-31T06:46:00
237,187,083
0
0
null
null
null
null
UTF-8
Python
false
false
308
#!/home/nandana/student-database/studentDB/evnv/bin/python3 # -*- coding: utf-8 -*- import re import sys from django.core.management import execute_from_command_line if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(execute_from_command_line())
[ "nandananandan7@gmail.com" ]
nandananandan7@gmail.com
e84145c7b14dbcf759ea86c19665429ad5f604fb
9c2dc11b595249984be043ce01a1e7694e9b8421
/HW/HW48-60/Day_051_Stacking_HW.py
9af83e559af76fa3e93df01962ff3e8acfcee9c5
[]
no_license
chinghwan/3rd-ML100Days
aa7a40723b4f9a79e1e8c828d675cfee4e2c67fd
d20abb9ed0f6ccf0a5dcfde10fdff75f0f57f832
refs/heads/master
2020-07-10T21:17:15.623938
2019-12-27T05:39:08
2019-12-27T05:39:08
204,373,979
0
0
null
null
null
null
UTF-8
Python
false
false
5,183
py
#!/usr/bin/env python # coding: utf-8 # # 作業 : (Kaggle)鐵達尼生存預測 # *** # - 分數以網站評分結果為準, 請同學實際將提交檔(*.csv)上傳試試看 # https://www.kaggle.com/c/titanic/submit # # [作業目標] # - 試著模仿範例寫法, 在鐵達尼生存預測中, 觀查堆疊泛化 (Stacking) 的寫法與效果 # # [作業重點] # - 完成堆疊泛化的寫作, 看看提交結果, 想想看 : 分類與回歸的堆疊泛化, 是不是也與混合泛化一樣有所不同呢?(In[14]) # 如果可能不同, 應該怎麼改寫會有較好的結果?...
[ "chinghwan@gmail.com" ]
chinghwan@gmail.com
0b5a83d087615704616c7aa44ed8bcc6dd942b8c
73add94ff9a9608f787f19a604df7b56cf83116f
/case_studies/birds/main.py
de5702fb05144aa2f1fb5790d8413e27faba1a4b
[]
no_license
pkro/edx-pythonforresearch
97b30110ab1f30750b904630dfa16bc33f163569
a533c6120f69c39dd894705885e41fe886be642f
refs/heads/master
2022-02-19T22:38:59.703284
2019-10-11T07:33:25
2019-10-11T07:33:25
207,480,318
0
0
null
null
null
null
UTF-8
Python
false
false
2,625
py
# -*- coding: utf-8 -*- import pandas as pd import numpy as np from matplotlib import pyplot as plt birddata= pd.read_csv('./bird_tracking.csv') bird_names=pd.unique(birddata.bird_name) ''' colors = dict(zip(bird_names, ['r','g','b'])) plt.figure(figsize=(7,7)) for bird in bird_names: ix = birddata.bird_name==b...
[ "pkrombach@web.de" ]
pkrombach@web.de
77d06393ecc569e157e8d651d7afb8ea55925368
1efff10c2dcd19def44b36facd36b8e407252e28
/workspace/devel/.private/tfpose_ros/lib/python2.7/dist-packages/tfpose_ros/msg/_BodyPartElm3D.py
7f2cb216f996355a29f0e4c06b5a9d56777c90b4
[]
no_license
PedroIldefonso/baxter_project
4ab682a589b793811ddd60a1ae00f12aea0958bf
cc8a0fc01df003b28a09759631e50f2ba89f226f
refs/heads/master
2023-02-06T02:46:18.567784
2020-12-27T20:50:45
2020-12-27T20:50:45
324,839,492
0
0
null
null
null
null
UTF-8
Python
false
false
4,145
py
# This Python file uses the following encoding: utf-8 """autogenerated by genpy from tfpose_ros/BodyPartElm3D.msg. Do not edit.""" import sys python3 = True if sys.hexversion > 0x03000000 else False import genpy import struct class BodyPartElm3D(genpy.Message): _md5sum = "eeee5595dc8784739be4dc17a4ca0b96" _type =...
[ "pedro.ildefonso13@gmail.com" ]
pedro.ildefonso13@gmail.com
73a8edbc10cf9a95bdf7fe0998a45479bc51ee6a
2e9e994e17456ed06970dccb55c18dc0cad34756
/atcoder/abc/075/D/D.py
bb36bb97e08ed60220e3bd3641780bbfbf444e97
[]
no_license
ksomemo/Competitive-programming
a74e86b5e790c6e68e9642ea9e5332440cb264fc
2a12f7de520d9010aea1cd9d61b56df4a3555435
refs/heads/master
2020-12-02T06:46:13.666936
2019-05-27T04:08:01
2019-05-27T04:08:01
96,894,691
0
0
null
null
null
null
UTF-8
Python
false
false
2,883
py
def main(): N, K = map(int, input().split()) x, y = zip(*( map(int, input().split()) for _ in range(N) )) f(N, K, x, y) def f(N, K, x, y): """ 制約 * 2≦K≦N≦50 * −10^9≦xi,yi≦10^9 (1≦i≦N) * xi≠xj (1≦i<j≦N) * yi≠yj (1≦i<j≦N) * 入力値はすべて整数である。(21:50 追記) 長方形の内部...
[ "kntsmy@hotmail.co.jp" ]
kntsmy@hotmail.co.jp
3c5940cff2207c22d5984ea4da03a02703864981
45e60cd08e1bf2bc979e1e4d89101aa24de7fdc8
/tools/graphs.py
5d20dc769bb0d72ced6f14d751adda7f46e80ab4
[ "MIT" ]
permissive
ad3002/Lyrebird
7662a0e65fdae810ea22214f1a75d212baf31b5a
8c0a186e32d61189f073401152c52a89bfed46ed
refs/heads/master
2022-06-16T07:54:34.837463
2022-05-12T09:58:09
2022-05-12T09:58:09
106,826,158
1
0
null
null
null
null
UTF-8
Python
false
false
9,710
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # #@created: 21.05.2014 #@author: Aleksey Komissarov #@contact: ad3002@gmail.com """ Repeat can be revealed as: 1) set of kmers forming it; 2) de Brujin graph from these kmers. Starting from the most frequent (conservative) kmer, we extend it to left and to right getting p...
[ "ad3002@gmail.com" ]
ad3002@gmail.com
29c53c9dd989b92da644998540979d855bafd45c
e262e64415335060868e9f7f73ab8701e3be2f7b
/.history/Test002/数据类型_20201205183838.py
68110a4f1f601b98f39c8628e07060a8e42e6692
[]
no_license
Allison001/developer_test
6e211f1e2bd4287ee26fd2b33baf1c6a8d80fc63
b8e04b4b248b0c10a35e93128a5323165990052c
refs/heads/master
2023-06-18T08:46:40.202383
2021-07-23T03:31:54
2021-07-23T03:31:54
322,807,303
0
0
null
null
null
null
UTF-8
Python
false
false
1,818
py
# fruits = ['orange', 'apple', 'pear', 'banana', 'kiwi', 'apple', 'banana'] # print(fruits.count("apple")) # a = fruits.index("banana",4) # print(a) # fruits.reverse() # print(fruits) # fruits.append("daka") # print(fruits) # print(fruits.sort) # a = fruits.pop(0) # print(a) # print(fruits) # number = [1,2,45,3...
[ "zhangyingxbba@gmail.com" ]
zhangyingxbba@gmail.com
e2035ff5c08bc92c0c10e654901db30f853962e2
f0e06d17943d096129dd015d301b9add19b78d17
/arraythingy2.0.py
67bf6a953cd5987d3486342d7967a129bae34761
[]
no_license
kt00781/Grammarcite
ebe82b97bac2131110adf6d172ed334bbad9f497
35da8e881c2845d41f71001da8db39bcab55e573
refs/heads/master
2020-04-22T13:50:50.856981
2019-04-16T23:30:45
2019-04-16T23:30:45
170,423,737
0
0
null
null
null
null
UTF-8
Python
false
false
662
py
from spellchecker import SpellChecker #input("Hello, How was your day?") #print("No one cares.") file_r = input("Input name of txt file: ") fr = open('{}.txt'.format(file_r)) text = fr.read() fr.close Array = text.splitlines() spell = SpellChecker() change = [] changeline = [] separator1 = " " separator2 = '\n' for ...
[ "alan@bondbunch.com" ]
alan@bondbunch.com
04ef9eb480fcf9ae2c53d536ebd6865160fa9533
6da70310e6c0ccfb9ef2ed064afb6161a65719e3
/TicTacToe/demo.py
8c8623013eb3cde1df7d9ff7a356092bf03fb8e9
[]
no_license
dizhang168/ai_projects
2fff32ecf4c34473c5b12abb2f3cf9a8d7b6832d
c4192b90084d8ab38a28d1ae7f567384b9fc7c2e
refs/heads/master
2020-04-12T21:31:37.103843
2019-03-24T14:38:51
2019-03-24T14:38:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
228
py
from game import * # Simple playing g = Game(player_1="User", player_2="Random") g.start() # RL training result = train(10000) print(result[0]) # Playing with trained Agent g2 = Game(player_1="User", player_2="RL") g2.start()
[ "dizhang168@hotmail.com" ]
dizhang168@hotmail.com
951f22c54a10e58341104bf1af2c7284075cede0
333838b07c44a19ef7d8b9aaae2961316ee7a2c2
/catkin_ws/build/catkin_generated/generate_cached_setup.py
4a99d1c6ceee55b6f5337c43e8c44ec24b47937a
[]
no_license
SLAMid/FINAL
ab968df22bf1f0926b1cca842e338a13c93f04dd
aa16747f835fba1fc81522ce7eeb9b7cdc934cdb
refs/heads/master
2020-03-15T07:25:05.088299
2018-05-03T17:32:48
2018-05-03T17:32:48
132,028,458
0
0
null
null
null
null
UTF-8
Python
false
false
1,294
py
# -*- coding: utf-8 -*- from __future__ import print_function import argparse import os import stat import sys # find the import for catkin's python package - either from source space or from an installed underlay if os.path.exists(os.path.join('/opt/ros/kinetic/share/catkin/cmake', 'catkinConfig.cmake.in')): sys....
[ "quickbrownfox319@gmail.com" ]
quickbrownfox319@gmail.com
9f536f73046bb2eba8e2c42f238f91002390682d
8cf9b5c1e5e9209c4dd55665c26077f23d40ceb5
/contact-api/app/__init__.py
bcca4d51a2742489d60613d14504ecfafbce373a
[]
no_license
cavalcanticampos/e2e-contacts
3979b59e53092cf6a05a0103dbd5f48d4db7b113
2b830bad3221baac670ba206bbc1be480dd8bc25
refs/heads/master
2022-12-24T00:58:39.464775
2020-09-28T03:54:52
2020-09-28T03:58:52
299,179,333
0
0
null
null
null
null
UTF-8
Python
false
false
514
py
from flask import Flask from flask_migrate import Migrate from .model import configure as config_db from .serielizer import configure as config_ma from flask_cors import CORS def create_app(): app = Flask(__name__) app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:////tmp/creathus.db' app.config['SQLALCHEM...
[ "robertoccamposn@gmail.com" ]
robertoccamposn@gmail.com
1dad6fc2832d150cdf80d08d56b5bde14c1e7b27
6d7608f435a92c71a5ec475abb421645faef3e41
/chefint.py
ee87bcbcce1d8a982a1e967aa270fc4af13efa06
[ "Unlicense" ]
permissive
stephenfmann/cooking-with-python
6a2bc5d7cc4bff913eba678b118ff5e861be1648
feb03895671a6ab0aeef7d943a06241fffe8a765
refs/heads/master
2023-01-12T08:20:04.101036
2022-12-21T17:15:18
2022-12-21T17:15:18
153,855,971
2
3
null
2021-11-10T14:09:54
2018-10-20T00:40:48
Python
UTF-8
Python
false
false
63,678
py
# -*- coding: utf-8 -*- """ chefint.py Interpret programs written in the esolang Chef. See syntax.md or https://www.dangermouse.net/esoteric/chef.html for details. (archived at https://web.archive.org/web/20220615003505/http://www.dangermouse.net/esoteric/chef.html) """ import sys, re, random, copy, l...
[ "stephenfmann@gmail.com" ]
stephenfmann@gmail.com
cfe51cd199388c68b927d994e0798a33068393a0
179fbbb7389d07a332a18a7a55f08db3417e686a
/PythonSelenium/Js.py
c164cf6f5db40350560ecc3c31f89239765c43cb
[]
no_license
agreen2413/GitDemo
08cd974c20e27a446d4bbc706acc7456d9d0c339
6c0b7108acef3016a71a4682f7e46e7d5f84d20c
refs/heads/master
2023-02-15T07:06:08.841536
2021-01-06T22:40:00
2021-01-06T22:40:00
320,665,169
0
0
null
null
null
null
UTF-8
Python
false
false
2,344
py
#Chrome Browser import time from select import select from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.support import expected_conditions from selenium.webdriver.support.select import Select driver = webdriver.Chrome(executable_path="C:\\PythonSelenium\\chromedriver_...
[ "agreen569@yahoo.com" ]
agreen569@yahoo.com
882606403a4cdb4e700a3c5363a2d1e08625f56d
d3165876e8125ba2a6207198f9f1c41adab22290
/myWeb/apis/user.py
e0d4434dc12c3be663cc24f79b6c99ffa80fbb3d
[]
no_license
JcwGitHub/Cloud_server
ecbd7f824669d87b9231a8b1a30992db7bf660bb
d8f43d380d81d596cf043ea99fd434a08743992a
refs/heads/master
2021-08-31T02:57:20.760298
2017-12-20T07:50:01
2017-12-20T07:50:01
111,689,831
0
0
null
null
null
null
UTF-8
Python
false
false
2,309
py
#coding=utf-8 from django import forms from django.contrib import auth from django.contrib.auth.models import User from django.http import HttpResponse from myWeb.apis import goods from myWeb.apis.localdefine import gusername,gpassword,gresponcache from myWeb.utils.requestmanage import requestpmanage from d...
[ "772763832@qq.com" ]
772763832@qq.com
1e3acb6e4f53e5e55bb3de711ffa8057b053594d
d625cc20454d5218cf237155739314b2c3e0bc7c
/src/svea/src/controllers/control_interfaces.py
88240ceb70ffc13664e321a203306e148f5bcd3f
[]
no_license
sumr4693/svea_starter
534936e8932f0544bc38528daa6d35012b77f6bc
41aab12421f3a89c45de2048df8b77ddd0b8e5eb
refs/heads/master
2022-12-16T14:43:36.942211
2020-10-02T17:31:49
2020-10-02T17:31:49
300,687,972
0
0
null
null
null
null
UTF-8
Python
false
false
21,698
py
#!/usr/bin/env python """ ROS interface objects for sending control to the SVEA car's low-level controller. The low-level controller expects unit-less steering and velocity values from [-127, 127] that correspond to the minimum and maximum steering angles and velocities. We implement the interfaces for two reasons: (1...
[ "subramanian4693@gmail.com" ]
subramanian4693@gmail.com
5145be87d31768c82f2e05727c0de10bf98fbc32
1a4bc1a11fdb3f714f22f5e0e826b47aa0569de2
/projects/project03/tests/q3_1_9.py
7ba9201ae87f09d05ffc4fe63d8fde616069e11c
[]
no_license
taylorgibson/ma4110-fa21
201af7a044fd7d99140c68c48817306c18479610
a306e1b6e7516def7de968781f6c8c21deebeaf5
refs/heads/main
2023-09-05T21:31:44.259079
2021-11-18T17:42:15
2021-11-18T17:42:15
395,439,687
0
1
null
null
null
null
UTF-8
Python
false
false
649
py
test = { 'name': 'q3_1_9', 'points': None, 'suites': [ { 'cases': [ { 'code': ">>> genre_and_distances.take(np.arange(7)).group('Genre').index_by('Genre')[my_assigned_genre][0].item('count') >= 4\nTrue", 'hidden': False, 'lo...
[ "taylorgibson@gmail.com" ]
taylorgibson@gmail.com
faa9d95cd1f54ea23330518a0bb79914deb889b6
a65019cfe135663781e716a7ed1bf8d50c3016fb
/app/auth.py
91b0386eaa44f93a09368460d2c3c7c6450b9ee2
[]
no_license
danielholmes839/Squash-App
d5b074410b98d000ec511189d38d12ba41b9cd02
987603636e06512c8f7992a35cb5d1169de2e310
refs/heads/master
2022-12-10T07:36:51.433175
2021-01-12T02:25:02
2021-01-12T02:25:02
200,510,432
0
0
null
2022-09-30T18:35:27
2019-08-04T15:36:23
Python
UTF-8
Python
false
false
2,192
py
# Daniel Holmes # auth.py import os from flask import request from functools import wraps from app import bcrypt, db from app.models import APIKey def required(): """ API Key required authorization decorator request should contain a 'username' and 'password' key """ def inner_function(f): ...
[ "danielh839@gmail.com" ]
danielh839@gmail.com
fb9cbb94cc255f67675688194b2756a15c9c4dca
9e20dd7cd0105122f0e164aa0966fc37691d5042
/card.py
be56121910a6aa12020005a8ca6c92c4d01710da
[]
no_license
RocketMirror/AtCoder_Practice
c650fd3ea1322ecda535e40f6ab63251085cecbe
32e4c346b65d670ba6642f815b1a04e8b7c5f241
refs/heads/master
2023-07-09T14:25:41.052647
2021-08-08T17:40:33
2021-08-08T17:40:33
394,016,650
0
0
null
null
null
null
UTF-8
Python
false
false
374
py
n = int (input()) dic = {} for _ in range (n): s = str (input()) if s in dic.keys(): dic[s] += 1 else: dic[s] = 1 m = int (input()) for _ in range (m): t = str (input()) if t in dic.keys(): dic[t] -= 1 else: dic[t] = -1 dic = sorted (dic.values(), reverse= True) ...
[ "matsuedanaoki@matsuedanaokinoMacBook-Air.local" ]
matsuedanaoki@matsuedanaokinoMacBook-Air.local
49244d4c23fe971dbd78845ae5cdde2a76d7a785
d5f8bd2eda991aab031d7c82cfba7ed25bfec8a0
/example_00531_capm.py
61564e400fb4c02bcc72ffc12f1ceffdb7035ce7
[]
no_license
alx1974/example_00531_capm.py
3a8db059423fc5b2cff5117135e799c9936d40ec
cb2393ab0d13b80a41723b4b973064aa34195c96
refs/heads/master
2020-08-07T13:48:56.456758
2019-10-07T20:10:13
2019-10-07T20:10:13
213,476,268
0
0
null
null
null
null
UTF-8
Python
false
false
990
py
#coding=utf-8 #Implementiere einen Rentenrechner #Anfangskapital: 100 #Zinsen: 6% #Laufzeit: Jahre #Formel für die Zinseszinsrechnung: Anfangskapital * ((1+(Zinsatz/100)) ^ jeweiligen Jahre) #Anfangskapital*math.pow(Zinsen,1) """ Ergebnis: Anfangskapital: 100 Zinssatz: 6.0 Veranlagungszeitraum: 5 Kap...
[ "noreply@github.com" ]
noreply@github.com
ca6d6152b3ba3adb92fb1a3b4b6d72c5875271d5
ec5e4dacb30800828ae4d68f9d87db523293ab65
/fb_post/views/create_comment/tests/test_case_01.py
d3a4ca4366ac755f7266092eef1c459667e60275
[]
no_license
raviteja1766/fb_post_learning
54022066ba727220433cb72c43458f9cb6164b24
889718fc8f138888aea1b66455fa68c000a02091
refs/heads/master
2022-11-08T17:39:40.275922
2020-06-25T11:19:28
2020-06-25T11:19:28
274,897,124
0
0
null
null
null
null
UTF-8
Python
false
false
952
py
""" # TODO: Update test case description """ from django_swagger_utils.utils.test import CustomAPITestCase from . import APP_NAME, OPERATION_NAME, REQUEST_METHOD, URL_SUFFIX REQUEST_BODY = """ { "content": "string" } """ TEST_CASE = { "request": { "path_params": {"post_id": "1234"}, "query_pa...
[ "ravitejak125@gmail.com" ]
ravitejak125@gmail.com