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
17c5b2471577628fd0394914e3f06511ee0a6531
855e69a905c26d19eb2252515eeaef1c0379d9bb
/tests/app/settings.py
256875ff6b2f09e0803218febb668e4968b1638b
[ "BSD-2-Clause" ]
permissive
pnovusol/django-tables2
da630536628648491c9071c173643edf1ece2ded
48182aa120715b8c55c4bc8ccbdc3f53f0df1b0e
refs/heads/master
2021-01-18T03:09:01.008769
2013-08-12T15:07:38
2013-08-12T15:07:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
672
py
from django.conf import global_settings import six DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': ':memory:', } } INSTALLED_APPS = [ 'tests.app', 'django_tables2', ] ROOT_URLCONF = 'tests.app.urls' SECRET_KEY = "this is super secret" TEMPLATE_CONTEXT_PRO...
[ "bradley.ayers@gmail.com" ]
bradley.ayers@gmail.com
5e8d13dc417ced950898ac72b0618cc3c3a2fec2
055789729e069b1244bcf096cfa16d11d9596260
/Online-Examination-master/online_examination/exam/models.py
b13eda80f7c4c0f96de1a117ee98fd26c6d27141
[]
no_license
kishorekdty/netz-code
d877f8d82fcccdc197508265d3895d39eb3995b1
bf5c6d166690b400fd109070401d36f77f56b671
refs/heads/master
2021-01-10T08:25:51.199137
2015-06-05T14:26:22
2015-06-05T14:26:22
36,936,978
0
0
null
null
null
null
UTF-8
Python
false
false
10,915
py
from django.db import models from college.models import Course, Semester from academic.models import Student class Subject(models.Model): subject_name = models.CharField('Subject Name', null=True, blank=True, max_length=200) duration = models.CharField('Duration', null=True, blank=True, max_length=200)...
[ "kkishore@integretz.com" ]
kkishore@integretz.com
d3e5f7765718f82b66adb5745ca36ba8ba9e4adf
0d4a603ea0ffca1d6503b6f03f2d8bd9718adb35
/code/playerInterface.py
a0e181872f3029e2af3be4e6578ddc7a1414c8ce
[]
no_license
RobinMontferme/ProjetReversi2019
3dedbb0423153df1d0effb60455c6b6cc7d77e1f
576fb93de4a7e04687ee08b5b666d082f4763943
refs/heads/master
2022-03-24T17:28:36.137712
2019-12-22T20:45:25
2019-12-22T20:45:25
221,645,058
1
1
null
null
null
null
UTF-8
Python
false
false
1,126
py
class PlayerInterface(): # Returns your player name, as to be displayed during the game def getPlayerName(self): return "Not Defined" # Returns your move. The move must be a couple of two integers, # Which are the coordinates of where you want to put your piece # on the board. Coordinates a...
[ "robin.montferme@gmail.com" ]
robin.montferme@gmail.com
b34b6eedf808f6a26a2cf64fcd353839b742dfa3
c36f46d8d8afd0ddf27d8ebe3afbdd03a8a8dddb
/Include/DBConnection.py
2681e264bcaa8e66137f3e6822b5d968708085d4
[]
no_license
NazarNintendo/python-app
a71a538622547be25128df2666914a99cba6d2d0
b611430cb140d8d0e6b918450296ee5a02e237bd
refs/heads/master
2022-12-10T07:55:08.604274
2020-09-13T21:34:26
2020-09-13T21:34:26
295,242,219
0
0
null
null
null
null
UTF-8
Python
false
false
419
py
import psycopg2 as psc from Include.config import config class DbConnection: records = [] def enable_connection(self): conn = psc.connect(f"dbname={config['database']} user={config['user']} password={config['pass']}") cur = conn.cursor() cur.execute("SELECT * FROM customer;") ...
[ "nazarchik1701@gmail.com" ]
nazarchik1701@gmail.com
50f5477a0bbb10e0d356fbe8aa777cae29d9dffa
6ec91b363b077bffd33f15300a0935124e9fb915
/Cracking_the_Code_Interview/Leetcode/14.DP/120.Triangle.py
a7e2879f610fe04793e1b1f2c35318dc4b3ff0fc
[]
no_license
lzxyzq/Cracking_the_Coding_Interview
03232515ae8eb50394d46322d36b230d1a626fcf
79dee7dab41830c4ff9e38858dad229815c719a0
refs/heads/master
2023-06-05T19:52:15.595289
2021-06-23T22:46:02
2021-06-23T22:46:02
238,068,000
0
1
null
null
null
null
UTF-8
Python
false
false
805
py
''' @Author: your name @Date: 2020-06-30 18:43:37 @LastEditTime: 2020-06-30 19:39:19 @LastEditors: Please set LastEditors @Description: In User Settings Edit @FilePath: /Cracking_the_Code_Interview/Leetcode/14.DP/120.Triangle.py ''' # Given a triangle, find the minimum path sum from top to bottom. Each step you may mov...
[ "lzxyzq@gmail.com" ]
lzxyzq@gmail.com
41b2488c525f79030de81dd82d710a0cd7c146a4
184245bcb1c338dfccb0c1cfa7bda86211a4ff81
/python_requests_essentials_practice/Chapter-1/client/make_request.py
7a7ce0abd89761eb91bf733114bc8aeb0bfb69a2
[]
no_license
bkzzshzz/python_intermediate
a24ed98eea47e06cfdb1226e7355885bfab7fcf4
9e9ddf6cb680d436c866d1041b446fe2eaa2d93e
refs/heads/master
2023-06-21T03:12:04.082582
2021-07-23T18:52:35
2021-07-23T18:52:35
375,579,916
0
0
null
null
null
null
UTF-8
Python
false
false
314
py
import requests import json def request1(): url = 'http://localhost:8001' payload = {'some' : 'data'} request_header = {'user-agent' : 'bkess browser'} response = requests.get(url, headers=request_header) print((response.content.decode('utf-8'))) if __name__ == '__main__' : request1()
[ "bkzz_shzz@yahoo.com" ]
bkzz_shzz@yahoo.com
9112fe8e2731f2eecbd1a30f14bdddf2f1e47068
15b2de45066828b113ded3cbb8b0296234cca713
/algorithm/bubble_sort.py
28da815f3684515116d11cfb7c5e188ae6061404
[]
no_license
linhuiyangcdns/leetcodepython
38ab91aea95c46ea183cc6072f1d71c3fe7d0007
ad9089d29ec8ef484fedece884f7e5702e6a3ad1
refs/heads/master
2020-03-21T18:29:07.276732
2018-08-15T15:09:22
2018-08-15T15:09:22
138,894,437
0
0
null
null
null
null
UTF-8
Python
false
false
308
py
def bublle_sort(list1): for i in range(len(list1)-1,0,-1): for j in range(i): if list1[j] > list1[j+1]: list1[j],list1[j+1] = list1[j+1],list1[j] return list1 if __name__ == '__main__': li = [54, 26, 93, 17, 77, 31, 44, 55, 20] print(bublle_sort(li))
[ "804268450@qq.com" ]
804268450@qq.com
9cb8af564787f969643454e662a6a84c037be982
a20db420b58321756676ddf41a2833f0283c6f66
/src/Repositories/TVDB.py
7906c18edb742e0e517a7cf05a381e20bda76f04
[]
no_license
CPSibo/Chrysalis
5a3194cfb0be8c24543ffb51dd52643afea9c2b1
a2cfaaf4aeb4ad7adb48f1229ba291a9af6dc263
refs/heads/master
2020-04-15T07:54:00.249188
2019-10-01T01:12:06
2019-10-01T01:12:06
164,506,527
0
0
null
null
null
null
UTF-8
Python
false
false
4,339
py
import os import json from Repositories.Repository import Repository, RepositoryTypes from Utilities.Logger import Logger from .Repository import RegisteredRepository @RegisteredRepository class TVDB(Repository): """ API wrapper for TheTVDB.com. Attributes: base_url (str): Minimal URL for the API...
[ "cpsibo@gmail.com" ]
cpsibo@gmail.com
3e7c131b1322a82cf9d29b9063a13e6984219f58
3f4f03b37d908d8dba0f360dec8ce607aefefc6a
/src/intranet3/utils/mail.py
68efe0d47e1df65cf586f9c57d1a12f53878b982
[ "MIT" ]
permissive
rutral/intranet
47a5bd33e5e1e82c2ceafef7dc8af886176835a6
e673ceb9a054910f6c858779cc783c6c3377e664
refs/heads/master
2021-01-20T23:51:07.545975
2013-07-01T17:14:47
2013-07-01T17:14:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
18,240
py
# -*- coding: utf-8 -*- """ Sending emails """ import re import email import quopri import datetime import time from base64 import b64decode from functools import partial from pprint import pformat from email.header import decode_header from email.utils import parsedate, formataddr from email.mime.base import MIMEBase ...
[ "konrad.rotkiewicz@stxnext.pl" ]
konrad.rotkiewicz@stxnext.pl
dc29b58c92f8d705a0d55b2e25bf2a720992ce86
4584ecfc572567e62dab233c60824955315b7c4a
/examples/s5b_transfer/s5b_sender.py
70a9704fc8c42c8cc31d8f3ab6debff09da80b05
[ "BSD-3-Clause", "MIT", "BSD-2-Clause" ]
permissive
louiz/slixmpp
9bc8964d463672b28d8ccf3e324600e77fca4e8a
7b69ae373838c1adcbff223b7c2d8518ff6d8f85
refs/heads/master
2021-01-16T22:00:28.105481
2016-08-23T22:33:07
2016-08-23T22:33:07
988,500
2
3
null
2016-01-07T08:36:46
2010-10-14T23:03:43
Python
UTF-8
Python
false
false
4,054
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Slixmpp: The Slick XMPP Library Copyright (C) 2015 Emmanuel Gil Peyrot This file is part of Slixmpp. See the file LICENSE for copying permission. """ import asyncio import logging from getpass import getpass from argparse import ArgumentParser impo...
[ "emmanuel.peyrot@collabora.com" ]
emmanuel.peyrot@collabora.com
148bcc649884e56f3eabd4f23b4769ac9a8402b6
3a937a74d17559cee02bb1b64f8bf0db83371d9f
/optim/opt-talk/many.py
eed29d37ba76a6eeb79caf0d2c4f6979dc2fff31
[]
no_license
amey-joshi/am
11d95229e6d7574189ab9fd8afe7d5088d3a9ce8
f546b13b741e2746a4eb1e45943c9686479bb896
refs/heads/master
2021-07-17T19:17:33.852098
2021-05-08T17:13:49
2021-05-08T17:13:49
247,212,889
1
0
null
null
null
null
UTF-8
Python
false
false
244
py
#!/bin/python import numpy as np import matplotlib.pyplot as plt x = np.linspace(0, 25, 100) y = np.sqrt(x) * np.cos(x) + x/3 plt.plot(x, y) plt.xlabel("x") plt.ylabel("y") plt.title("A function with several extrema") plt.savefig("many.png")
[ "ajoshi@localhost.localdomain" ]
ajoshi@localhost.localdomain
b6a660a4d40988c152dd9f46172b80b9eb8a1ebe
5c6fec629b7e78987a23ed554bae3a2e444212d4
/test.py
fad7b682e78fb1a18f58cb52ef70e14af46f172f
[ "MIT" ]
permissive
fz-lyu/FaceRecoCamera
2ee755ab56bd2b174909627e2009274d57675a33
3a5b5018e26e07a98036ca12e79d263e23e154f8
refs/heads/master
2022-06-16T00:39:09.683879
2017-10-16T15:20:01
2017-10-16T15:20:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,073
py
import face_recognition import cv2 import main # This is a demo of running face recognition on live video from your webcam. It's a little more complicated than the # other example, but it includes some basic performance tweaks to make things run a lot faster: # 1. Process each video frame at 1/4 resolution (though s...
[ "fanzhe@gatech.edu" ]
fanzhe@gatech.edu
bf3c76a5c4aad512d0d65ca40066f8ef02a57b78
3677fed8c91a284c8ce24afd8f853604e799258a
/configs/__init__.py
b498ffb392b2e7931868beb34e155acd8f332073
[]
no_license
iseekwonderful/HPA-singlecell-2nd-dual-head-pipeline
945e683ad8061cecb42b404234b404016d558bfa
8033fb317fa59694db44c9823bdf06752cf0a1bc
refs/heads/master
2023-05-11T07:59:31.020497
2021-05-25T03:21:31
2021-05-25T03:21:31
370,543,923
10
3
null
null
null
null
UTF-8
Python
false
false
7,805
py
import yaml import json import os import glob class Element: def __repr__(self): return ', '.join(['{}: {}'.format(k, v) for k, v in self.__dict__.items()]) class DPP(Element): def __init__(self, dict): self.nodes = 1 self.gpus = 4 self.rank = 0 self.sb = True ...
[ "sss3barry@gmail.com" ]
sss3barry@gmail.com
bf73bd5eda0d1303716e539c0d40f57d6ab13de8
22fe6ed51715486ebbc09e404504ed4d7a28c37d
/python-katas/57_CountHi.py
6ef69b2da8a4251f4d619f0a62ab8c3d5042d32a
[]
no_license
Jethet/Practice-more
1dd3ff19dcb3342a543ea1553a1a6fb0264b9c38
8488a679730e3406329ef30b4f438d41dd3167d6
refs/heads/master
2023-01-28T14:51:39.283741
2023-01-06T10:14:41
2023-01-06T10:14:41
160,946,017
1
1
null
null
null
null
UTF-8
Python
false
false
378
py
# Return the number of times the string 'hi' appears in a given string. def count_hi(str): return str.count('hi') # CodingBat solution: def count_hi(str): sum = 0 for i in range(len(str)-1): if str[i:i+2] == 'hi': sum += 1 #or: sum = sum + 1 return sum print(count_hi('abc hi ...
[ "henriette.hettinga@gmail.com" ]
henriette.hettinga@gmail.com
24f8d7f705edfcfdc557a42ef15fc94321307445
e4a3d6ae2e207af7b1f933b4f24dfe16a10fecb9
/magdysite/magdysite/wsgi.py
350f77a973606b8504f602eccece7c0defb0cc7e
[]
no_license
magdymaher129/django
69b8663605a5b6b94df10fbe0180620cab713ef4
8b07ae031d26b1260ae1a5326512e376bcf34632
refs/heads/master
2020-06-19T11:03:55.014955
2019-07-13T06:57:24
2019-07-13T06:57:24
196,686,429
1
0
null
null
null
null
UTF-8
Python
false
false
411
py
""" WSGI config for magdysite 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/2.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefaul...
[ "noreply@github.com" ]
noreply@github.com
a027d72c06e32069f439b2351506e2f825bda09b
dc5208c53aff4f7aba38424263ec9e62e5071def
/shop_sale.py
2dc550a0bbc3acdc3ae7ebda9fec7a25a520698e
[]
no_license
GeoLibra/shop
29653e4e1935cfe778891003a5de57954df73464
85d29899518672ceb17250e888f9184e8af0ece0
refs/heads/master
2020-04-21T17:48:27.150774
2019-02-24T06:00:30
2019-02-24T06:00:30
169,748,044
2
0
null
null
null
null
UTF-8
Python
false
false
7,094
py
from PyQt5.QtCore import * from PyQt5.QtGui import * from PyQt5.QtWidgets import * class ShopSale_UI(object): # def __init__(self): # super(ShopSale_UI, self).__init__() # self.setupUi() def setupUi(self,MainWindow): MainWindow.setObjectName("MainWindow") MainWindow.resize(1000,6...
[ "674530915@qq.com" ]
674530915@qq.com
4462ff9f0be2b2a4bc6388beb3c3bb7e86b6f68f
dca1b84e1f59a7218487a921aec7967001780001
/3rdStage/train.py
8bcd97bf3cb7a801a2a602b23135d36c1aa2b88d
[]
no_license
deeChyz/smomi4-5
1f5380ddee8499612fdf1fed336dbd71029685ca
f8ececb2fe65854c6736c01b3142dd2bdfaa79f8
refs/heads/master
2022-06-30T04:57:26.800232
2020-05-11T23:29:49
2020-05-11T23:29:49
257,396,814
0
0
null
null
null
null
UTF-8
Python
false
false
5,029
py
"""This module implements data feeding and training loop to create model to classify X-Ray chest images as a lab example for BSU students. """ __author__ = 'Alexander Soroka, soroka.a.m@gmail.com' __copyright__ = """Copyright 2020 Alexander Soroka""" import argparse import glob import numpy as np import tensorflow a...
[ "rogrumb@gmail.com" ]
rogrumb@gmail.com
8a6b6c6fe1b3b2af79f8f844858d2002dd0dd07b
6d68911c2a223577f34be94ca85465434758e7a6
/cameo.py
9951c87c0568a993118aca94d9e91a2dc780d380
[]
no_license
qzlshy/face
155c31dec4df69c76702c755da23ac90f93b2078
d126f4bacf0752baeb754b6795c8bdd8695ea788
refs/heads/master
2020-12-02T00:40:19.403301
2019-12-30T02:24:56
2019-12-30T02:24:56
230,832,617
0
0
null
null
null
null
UTF-8
Python
false
false
1,331
py
#!/usr/bin/python3 # coding=utf-8 import cv2 from managers import WindowsManager, CaptureManager import face_recognition import numpy as np class Cameo(object): def __init__(self): self._windowManager = WindowsManager('Cameo', self.onkeypress) self._capturemanager = CaptureManager(cv2.VideoCaptur...
[ "qzlshy@126.com" ]
qzlshy@126.com
a7f06fa5e0370c086f018f7bef4e557808384e41
27791ad050c906b956919dbbe475391edccdfd4f
/nanob_tests.py
7eb7fa7bad38b0be98ec981e0af46b684411cb5e
[]
no_license
liamdillon/nanobulletin
188d2da5cd58a7167c88a29d191be1b1c3d3ae29
056a0bee73fd39b55f0f385eec307c8893a7b8a6
refs/heads/master
2020-12-25T17:26:22.783856
2016-08-15T17:41:03
2016-08-15T17:41:03
12,597,942
0
0
null
null
null
null
UTF-8
Python
false
false
1,763
py
import os import nanob import unittest import tempfile class NanobTestCase(unittest.TestCase): def setUp(self): #create an empty database for testing and store its file descriptor #use the flask test client self.db_fd, nanob.app.config['DATABASE'] = tempfile.mkstemp() nanob.app.con...
[ "liamhdillon@gmail.com" ]
liamhdillon@gmail.com
43bbdb90a3582369da02ca0e61c79d2650509477
94deb6a8650e23a1f77e486995db8d7fc27d30b4
/ComputerObject.py
bdefc3fe96318e61f26b8f09d683ff050f0eac0f
[]
no_license
daniellande/battleships
f15fc5bcd1553a2cf17b0265d65c73295193106f
53aacfc8f1e7c8b39d5228daf2964b21af66f1ac
refs/heads/master
2020-05-27T07:26:02.127492
2014-08-22T15:53:17
2014-08-22T15:53:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,363
py
import random from ShipsObject import * from StringConversions import * class Computer(object): def __init__(self): self.mode = "Seek" self.hits = [] self.letters = ["A","B","C","D","E","F","G","H","I","J"] self.numbers = ["1","2","3","4","5","6","7","8","9","10"] self....
[ "mtt@MTTs-MacBook-Pro-2.local" ]
mtt@MTTs-MacBook-Pro-2.local
5f46ec6485ed4ae0fa2df0dde33d8e79a69ee1a4
ef68f5e2e1ede8a91d42d7f1c61cfab7ae3efbe0
/scripts/train_test_different_k.py
f4e5388f6e07760c5dd2a0c2a9e62f9f703d4c89
[]
no_license
abhiagwl/Improving_Inference_in_VAE
c09ba89dd757c818589490260653a318dd0038cb
21f03a1ff5fcb2374752395ff59e931599e5aa2b
refs/heads/master
2021-08-27T21:28:52.901662
2017-12-10T11:51:32
2017-12-10T11:51:32
113,743,501
2
0
null
null
null
null
UTF-8
Python
false
false
10,710
py
import tensorflow as tf import numpy as np import datetime import socket import os import argparse #-------------------------------- Hyper Parameters ----------------------------- batch_size = 100 hidden_dim = 30 learning_rate = 0.0005 max_epochs = 50 k=10 scale_param = 10000 sample_param = 100 #----------------------...
[ "abhiagwl@iitk.ac.in" ]
abhiagwl@iitk.ac.in
10019e15fb119b667af4d903e1694dad44c55d81
9b4520e6874e7cb03361558075a66ac8b5e6a548
/luckdsun/slang/migrations/0002_remove_member_m_pass.py
ca12f26fc20817d9b445c1dbe51e8b07179ae6f3
[]
no_license
mkh9293/slang
de41ae269107aa297ce2389781783b871d5607da
f3a635759615709f861f4e6985af3c3f041e2fab
refs/heads/master
2021-01-10T06:46:13.344350
2016-01-30T09:52:19
2016-01-30T09:52:19
50,423,684
0
0
null
2016-01-26T12:34:33
2016-01-26T11:13:13
Python
UTF-8
Python
false
false
377
py
# -*- coding: utf-8 -*- # Generated by Django 1.9 on 2016-01-30 08:34 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('slang', '0001_initial'), ] operations = [ migrations.RemoveField( model_na...
[ "mkh9209@naver.com" ]
mkh9209@naver.com
cb3e813088259f958d239a41e10ad6aaef5883f9
6691c8eb872615d1cf487b1d826191500f0eecc3
/unused/dialog_lumens_pur_prepareplanningunit.py
4bed8dac2f75d852cdb88181c3758bec001ac0d2
[]
no_license
geoenvo/lumens
466198b0e137d1210b2a6a3e63b42dc9e9e6c993
4d09083e6ecc6783132bc2059306c5f35ec4d1ae
refs/heads/master
2020-04-06T07:04:00.516004
2016-06-01T09:57:26
2016-06-01T09:57:26
43,800,954
0
1
null
null
null
null
UTF-8
Python
false
false
8,542
py
#!/usr/bin/env python #-*- coding:utf-8 -*- import os, logging from qgis.core import * from PyQt4 import QtCore, QtGui from processing.tools import * from dialog_lumens_base import DialogLumensBase class DialogLumensPURPreparePlanningUnit(DialogLumensBase): """ """ def __init__(self, parent): ...
[ "seno@geo.co.id" ]
seno@geo.co.id
55b52764902ce153ec4c19dc6da9439dee543669
9a0eb3e292d57b59198c7c66a994372ced9cfa5b
/nodes/1.x/python/String.ReplaceIllegalFilenameCharacters.py
a922b676f1485306810fd884001c9016638051ed
[ "MIT" ]
permissive
andydandy74/ClockworkForDynamo
544ddf0893f5c0072fca7934f4e128001771f767
528400c667c4c3f2b51814af84e85c8fab8a8059
refs/heads/master
2023-08-19T03:07:33.489926
2023-08-13T04:31:17
2023-08-13T04:31:17
15,043,988
184
100
MIT
2023-09-04T18:47:40
2013-12-09T10:11:01
Python
UTF-8
Python
false
false
430
py
strings = IN[0] replace = IN[1] strlist = [] for str in strings: str = str.replace('/', replace) str = str.replace('?', replace) str = str.replace('<', replace) str = str.replace('>', replace) str = str.replace('\\', replace) str = str.replace(':', replace) str = str.replace('*', replace) str = str.replace('|',...
[ "dieckmann@caad.arch.rwth-aachen.de" ]
dieckmann@caad.arch.rwth-aachen.de
c4b714343b63868a77deb87345fae0189c00aefc
caac62c43addc19741e6b73cbbd5763f50b68279
/2program3.py
34fe551a578404acfb5ac0de6435f228d83fb72a
[]
no_license
ansaari/codekata
d17cfcbff59008dfc3c6a5af4ec179d382e42ec1
d9039e81ee04f379f55f1d74b4dbbedf01a9c4aa
refs/heads/master
2020-04-21T16:04:42.925304
2019-02-21T07:04:05
2019-02-21T07:04:05
169,688,913
0
0
null
null
null
null
UTF-8
Python
false
false
127
py
g=int(raw_input()) h=0 for i in range (2,g//3): if(g%i==0): h=h+1 if(h<=0): print("yes") else: print("no")
[ "noreply@github.com" ]
noreply@github.com
83852e477286aff2176a0246871748edca6bcef8
c733e6b433914a8faba256c7853f5cf2cd39c62a
/Python/Leetcode Daily Practice/Heap/692. Top K Frequent Words.py
db9a25d3ab733cd3cdd4dd640983c8602e54fffe
[]
no_license
YaqianQi/Algorithm-and-Data-Structure
3016bebcc1f1356b6e5f3c3e588f3d46c276a805
2e1751263f484709102f7f2caf18776a004c8230
refs/heads/master
2021-10-27T16:29:18.409235
2021-10-14T13:57:36
2021-10-14T13:57:36
178,946,803
1
0
null
null
null
null
UTF-8
Python
false
false
385
py
class Solution(object): def topKFrequent(self, words, k): from collections import Counter import heapq cnt = Counter(words) # o(n) h = [(-freq, key) for key, freq in cnt.items()] # o(n) return [heapq.heappop(h)[1] for i in range(k)] # o (k * logn) print(Solution().topKFrequen...
[ "alicia.qyq@gmail.com" ]
alicia.qyq@gmail.com
7d1a23e8f82b1ebe56ddbdaf7010cc53fbea9849
2a7a1f8f2b9af145985a6946c7524a98678ad6a5
/dashboard/migrations/0020_auto_20170511_0617.py
941ee4a45d14c4799b5eec1c4848470c896bfd1f
[]
no_license
Jiker4836/opsweb
ad620398e6c53632b689ceab73d02a750fbb1112
c91140d100173823e0e35972675f499c13395273
refs/heads/master
2021-01-19T20:49:00.082649
2017-05-11T09:00:59
2017-05-11T09:00:59
88,560,509
0
0
null
null
null
null
UTF-8
Python
false
false
774
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('dashboard', '0019_product'), ] operations = [ migrations.AlterField( model_name='product', name='dev...
[ "jiker4836@163.com" ]
jiker4836@163.com
9f5dc12109b39109052f0c7accaacf0412324b6c
20698396bce1604e7b36ad7350030f040f5f4893
/mongoNYT.py
ec7d83e2cf49ebb5f430773200e187a0a06bd38a
[]
no_license
seungwonyang/public
588058bdeb3123f949ad65e0d0a3f5ac1dce4c1d
86019e849f29d4f54dedb2b209560c1d44ec7c64
refs/heads/master
2021-01-25T09:53:45.839622
2013-08-08T15:50:59
2013-08-08T15:50:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,944
py
#------------------------------------------------------------------------------------------ # Seungwon Yang <seungwon@vt.edu> # PARC Internship, Dept. of CS, Virginia Tech # Description: this script adds a list of JSON records from an input file # (generated by mongodb) to mysql db # Usage: >>python mongo...
[ "seungwonyang@gmail.com" ]
seungwonyang@gmail.com
b8efe4de969fc3e054fbfc7785285133181cc58c
44125ac22788ed99389249e04c1bda87e0b0e6c3
/sharifdaily/kernel/views.py
5a4098db293bac38b3c32bd534418fa63ed43788
[]
no_license
mmbrian/sharifdaily
c2985d34fd33dc60d77e7216010ebc72c3ec72dd
5d15642859e13e956bfb9e55e8b4d667d1ea0613
refs/heads/master
2021-01-02T09:33:52.373058
2014-01-19T07:07:48
2014-01-19T07:07:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
520
py
from django.http import HttpResponse from django.core.serializers.json import DjangoJSONEncoder from .models import AppVersion try: import json except ImportError: from django.utils import simplejson as json def get_latest_version(request): try: last_version = AppVersion.objects.filter(published=...
[ "mohsen.brian@gmail.com" ]
mohsen.brian@gmail.com
13f4acd3b7b06c62449a3ff575618e203428cc3d
c7066d3b72a54665d81de1d77d7bdcfd0ece7b42
/python/ccxt/ascendex.py
c2951759419e5046421f16fd8bd991a4af0f59cb
[ "MIT" ]
permissive
blair/ccxt
cf09b7a604586c230e8cea2b6e4dbf6c3c3497ea
3a6bd4efb78d01391f9a4ea43ec228b75ca24695
refs/heads/master
2023-09-03T21:09:44.447194
2023-08-26T19:01:14
2023-08-26T19:01:14
126,121,401
0
2
MIT
2018-03-21T04:02:57
2018-03-21T04:02:56
null
UTF-8
Python
false
false
132,974
py
# -*- coding: utf-8 -*- # PLEASE DO NOT EDIT THIS FILE, IT IS GENERATED AND WILL BE OVERWRITTEN: # https://github.com/ccxt/ccxt/blob/master/CONTRIBUTING.md#how-to-contribute-code from ccxt.base.exchange import Exchange from ccxt.abstract.ascendex import ImplicitAPI import hashlib from ccxt.base.types import OrderSide...
[ "travis@travis-ci.org" ]
travis@travis-ci.org
13ab0721b3a33f3abbaaf46d0378e8b4649ba27f
d1f15554df2d5c0f74ddbcba6e870359841f682b
/wagtail/migrations/0057_page_locale_fields_notnull.py
8f18589b5c9f794cba254c26312dd2d73645c5f1
[ "BSD-3-Clause", "LicenseRef-scancode-proprietary-license" ]
permissive
wagtail/wagtail
bd405f89b86e0c625fef0685fd6bfba41cf5cbfc
06a7bc6124bf62675c09fbe0a4ed9bbac183e025
refs/heads/main
2023-09-04T06:22:51.601208
2023-09-01T15:22:00
2023-09-01T15:22:00
16,479,108
12,974
3,580
BSD-3-Clause
2023-09-14T10:45:04
2014-02-03T12:41:59
Python
UTF-8
Python
false
false
793
py
# Generated by Django 2.2.10 on 2020-07-13 10:17 from django.db import migrations, models import django.db.models.deletion import uuid class Migration(migrations.Migration): dependencies = [ ("wagtailcore", "0056_page_locale_fields_populate"), ] operations = [ migrations.AlterField( ...
[ "matt@west.co.tt" ]
matt@west.co.tt
7825bb5c5c917cbc130aad94579c3f872c27d21d
c62e851ae0105122743e81228645a26a0f4d99cb
/venv/Scripts/mailmail-script.py
1aa1fa55f21ca5a7987e9cb10beba738f6c43f22
[]
no_license
prego123/covid19
7e0fce59cf1a1cd738538cc3f3ca5e25892eb1c9
0b8bbc448b5ea7e80b7fc4d9aa707b4090c92562
refs/heads/master
2022-12-11T12:29:22.203537
2020-09-07T13:56:31
2020-09-07T13:56:31
263,549,955
0
0
null
null
null
null
UTF-8
Python
false
false
442
py
#!"C:\Users\PRAGATI RANA\PycharmProjects\covid19\venv\Scripts\python.exe" # EASY-INSTALL-ENTRY-SCRIPT: 'Twisted==20.3.0','console_scripts','mailmail' __requires__ = 'Twisted==20.3.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.e...
[ "shalu.pragati11@gmail.com" ]
shalu.pragati11@gmail.com
11a0c03c4815f3950a7dfa818e49110b487ad3b3
6aceb7ec64fc30ab283adb5d365dc444604c7b8e
/day03/ex08/test.py
74aa98fb8d4b09045dbab9c1497a028e67556b4c
[]
no_license
tillderoquefeuil-42-ai/bootcamp-ml
727f2839c14ad8377291bd36875be98cd915e589
c16f27bcd948a3e4477e8905f8f2c7449461d444
refs/heads/master
2022-06-06T03:25:36.563108
2020-05-05T14:56:15
2020-05-05T14:56:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
764
py
import numpy as np from vec_log_gradient import vec_log_gradient # Example 1: y1 = np.array([1]) x1 = np.array([4]) theta1 = np.array([[2], [0.5]]) print(vec_log_gradient(x1, y1, theta1)) # Output: # array([[-0.01798621], [-0.07194484]]) # Example 2: y2 = np.array([[1], [0], [1], [0], [1]]) x2 = np.array([[4], [7.16...
[ "tillderoquefeuil@MacBook-Pro-de-Till.local" ]
tillderoquefeuil@MacBook-Pro-de-Till.local
36a9049f82e24664d1a0b62af74fe1929ec91228
8571ed40a006e8b5917a9b3effa4c9f0450370e2
/product/migrations/0012_auto_20200516_0529.py
220051405f2a7a246188478847a8542b618397f2
[]
no_license
suleyiilmaz/DjangoProject
c3641e5f9c65ea4414ed2ea446557386fc7c018d
ab117cc12695270d01cbe884719f59e8de5b6748
refs/heads/master
2022-11-02T02:59:56.146833
2020-06-16T16:12:49
2020-06-16T16:12:49
251,582,358
0
0
null
null
null
null
UTF-8
Python
false
false
402
py
# Generated by Django 3.0.4 on 2020-05-16 02:29 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('product', '0011_remove_comment_rate'), ] operations = [ migrations.AlterField( model_name='comment', name='comment',...
[ "suleyilmaz10@gmail.com" ]
suleyilmaz10@gmail.com
bd7a98f7bf0dd46bd79a0c4e1cc4f7e81129c5f8
186ebaa705c6348c72f5a4f3939fead2d01b6193
/Manifold_Learning.py
3f90db27ccb097edce55e3b26dd3446709cd2798
[]
no_license
seanco-hash/Manifold_Learning
d51322238d94eed5e104bff2591f836f429e9b91
eb77be236b5bbb0eb1073683101b2cf2a448b01c
refs/heads/main
2023-01-22T15:09:53.199064
2020-12-05T22:17:55
2020-12-05T22:17:55
317,980,530
0
0
null
null
null
null
UTF-8
Python
false
false
4,259
py
import pickle import matplotlib.pyplot as plt import numpy as np from sklearn import datasets from mpl_toolkits.mplot3d import Axes3D def digits_example(): ''' Example code to show you how to load the MNIST data and plot it. ''' # load the MNIST data: digits = datasets.load_digits() data = di...
[ "shon.cohen@cs.huji.ac.il" ]
shon.cohen@cs.huji.ac.il
a00510b3a26014c9a90a8a21e7190913418962e0
79d4af804b4667c36d040a244644874739673658
/notebook/day10/polymorphism/monster.py
a3b0e83035ac6e20ebbef13d013c40b426be82f7
[]
no_license
thenry0401/css-python
452573cee63da7bea3cd6ce0cd85c80d52606be1
b9a8bd0fe2e7640d558677ed81759ec83ea8bc76
refs/heads/master
2021-01-23T07:20:54.544842
2017-05-01T06:52:57
2017-05-01T06:52:57
86,420,296
2
0
null
null
null
null
UTF-8
Python
false
false
647
py
# coding: utf-8 # In[1]: from character import Character # In[ ]: class IceMonster(Character): def get_damaged(self, attack_power, attack_kind): if attack_kind == "ICE": self.hp += attack_power else: self.hp -= attack_power def __str__(self): return...
[ "thenry0401@gmail.com" ]
thenry0401@gmail.com
ba973d04d86b07a1aab5e135cd94a7c135c128c7
f6fd01eaa74ace15ffc085065a51681565bf2740
/env/bin/odfmeta
3e4ef655ec6b0eda94a09a55ca27f27010333967
[]
no_license
emmashen6786/api_test
d05c89a718b7441bb7f4d099792f873afa782056
51486a4c05548b410e360777c2e93d1c954bfa06
refs/heads/master
2020-05-15T03:10:40.762906
2019-04-19T02:25:08
2019-04-19T02:25:08
182,062,758
0
0
null
null
null
null
UTF-8
Python
false
false
8,482
#!/Users/shuiguowei/Practice/api_test/env/bin/python3.6 # -*- coding: utf-8 -*- # Copyright (C) 2006-2009 Søren Roug, European Environment Agency # # This is free software. You may redistribute it under the terms # of the Apache license and the GNU General Public License Version # 2 or at your option any later version...
[ "shanshan.shen@dianrong.com" ]
shanshan.shen@dianrong.com
b9fa106f81e4698d993fcb57cb93fae628641352
206f8e915a4f3964605ceb62f6c1911534bfd286
/negentweeapi/status.py
8eca5b2b8088cc05ea378b275bfc8dd2f473d7d6
[ "Apache-2.0" ]
permissive
PythonWrappers/9292API
6c37d61fe6e1b00c32a5c8acd163000a62a6b9f4
50034c9ebc0bf51d8b06bb9d44267c7c602418f1
refs/heads/master
2020-03-19T15:23:02.814336
2018-06-10T12:26:39
2018-06-10T12:26:39
136,668,559
0
0
null
null
null
null
UTF-8
Python
false
false
843
py
import requests from .settings import * from datetime import datetime from typing import Tuple def get_data_date_range() -> Tuple[datetime, datetime]: """ Gets the current from/to date available in the 9292 API :return: a tuple from a from and to date """ url = "{0}/{1}/status?lang={2}".format(URL...
[ "hylcos@gmail.com" ]
hylcos@gmail.com
116f88df4dcd50e7ef212af6460ce4d833d8a457
d3d40ddac839ea831a09dc380287f1278eac229d
/er_graphs/100/0.05/central2b.py
458ab03d09fa58e42fc54ea80f2d2002c3363803
[]
no_license
AkshayViru/Anchor-Node-Finder
c0b0400c4b95fe82266bf779ab2747f1f42949dc
ed569812b3313560fa10759f9b544a105f39d206
refs/heads/main
2023-07-03T11:21:00.178236
2021-08-14T16:15:14
2021-08-14T16:15:14
395,999,740
0
0
null
null
null
null
UTF-8
Python
false
false
1,389
py
from __future__ import division import networkx as nx graph_num=1 probab=0.05 f_out= open("central2b.txt" ,"w+") while graph_num<=10: G= nx.Graph() f = open('100_%s_%s.txt' %(probab,graph_num)) edgelist = [] for line in f: coms= line.split() v1= int(coms[0]) v2= int(coms[1]) edgelist.append((v1,v2)) ...
[ "akshayknr7@gmail.com" ]
akshayknr7@gmail.com
7488e911c273b0557d8a935aec55fb2a6143dc75
123910a155522dc2c1fadc00eebfb0bc66b9067b
/day2.py
6a76091c1358b6d061f8488f57405db6775ab121
[]
no_license
cdjnzpy/mlearn
99860f87ed58dfeb06a7ab71f281189c129fa606
d791e74d54f4c0540ad5ab459b1491de8efc2392
refs/heads/master
2021-01-03T19:50:06.463279
2020-02-14T13:34:56
2020-02-14T13:34:56
240,214,401
1
0
null
null
null
null
UTF-8
Python
false
false
2,785
py
#encding:utf-8 #文本预处理部分 #读入文本 import collections import re import os path = os.path.dirname(__file__) def read_book(): with open(path+'\\JaneEyre.txt', 'r') as f: lines = [re.sub('[^a-z]+', ' ', line.strip().lower()) for line in f]#去除掉所有符号,只保留英文 return lines#输出为句子,列表 #随后进行分词 def char_s...
[ "noreply@github.com" ]
noreply@github.com
bdbe6ea6340e8f88e7e25d5b64882ed8bd313b28
488825f206180a276a4dbf61ed85227d6eb791cf
/src/config/asgi.py
0b57e107471310680a0c77fa63612bdaeef0f579
[ "Unlicense" ]
permissive
MTES-MCT/trackdechets-cockpit
53acf96e79bcdb2a834f2c28114bbb1866a766e6
3624caf22882bd499dc7b22900e297adc6ca62d3
refs/heads/main
2023-08-04T10:15:17.613615
2022-01-03T22:16:07
2022-01-03T22:16:07
441,255,835
0
0
null
null
null
null
UTF-8
Python
false
false
391
py
""" ASGI config for cockpit project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/4.0/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault("DJANGO_SETTI...
[ "lp@providenz.fr" ]
lp@providenz.fr
2c85a1f8ffc44e63f9aa0d6425da3c4b5f07c9c7
75a4767735a91dfd6e5f51964ddf3819a1cf0ab2
/Snake/snake.py
804c7ff68d6afd6edaca1a8e2acc6732676413cb
[]
no_license
louisguan/super-saiyan
8b71d937f7e002df4412554a4ba9b0b8418dd083
21da4f99defb5f32b32c052856ea682d807b81d6
refs/heads/master
2021-01-16T21:37:38.946000
2014-03-24T13:58:20
2014-03-24T13:58:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,081
py
import random import sys from Tkinter import * def keyPress(event): canvas = event.widget.canvas if (event.char == "q"): canvas.data['quit']=True elif (event.char == "r"): canvas.data['start']=False init(canvas) elif (event.keysym == 'space'): canvas.data['st...
[ "ljn07050@gmail.com" ]
ljn07050@gmail.com
9814a392ad08db3420d2e996e257bedf1e726fa2
b47115934ac89129f4f4f7655b36574c4ef32fea
/old/V3/app1_3.py
e5d076579cdc136e005413c65471bf39cfec229f
[]
no_license
jct3000/sqlalchemy
41ce66142c3146d0bca7058876efe7aad908ff57
937bfe990768d8f40111465029c999ca8049f010
refs/heads/master
2021-07-14T10:47:47.496246
2019-08-24T17:19:31
2019-08-24T17:19:31
187,557,262
1
0
null
null
null
null
UTF-8
Python
false
false
7,732
py
from sqlalchemy import create_engine, Column, Integer, String, ForeignKey, orm, DateTime from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.orm import sessionmaker, relationship from datetime import datetime, timedelta # inclusao de classe geral de personal data from sqlalchemy.ext.declarative impo...
[ "joao.carlos.teixeira@ist.utl.pt" ]
joao.carlos.teixeira@ist.utl.pt
48b15be505f68c01bcbe37105ce08e8d80a90959
93b704572dd4f36ae488f931fbe8372a215b13ad
/clean_solutions/day3.py
d56d9cf4949958790cfde7211c768208ff456079
[]
no_license
Goldenlion5648/AdventOfCode2020Live
7cfdf6804402fdf42d10c70742579522c487f501
e3f5908e8747991b50bdde339ad9ecba527b1168
refs/heads/master
2023-04-04T12:48:21.318124
2021-04-08T16:42:13
2021-04-08T16:42:13
317,414,264
1
0
null
null
null
null
UTF-8
Python
false
false
736
py
''' Right 1, down 1. Right 3, down 1. (This is the slope you already checked.) Right 5, down 1. Right 7, down 1. Right 1, down 2. ''' from collections import * with open("input3.txt") as f: # a = list(map(int,f.read().strip().split("\n"))) board = f.read().strip().split("\n") def slide(xChange, yChange): ...
[ "coboudinot@gmail.com" ]
coboudinot@gmail.com
a8bceb43fa6ab5f7df905906b3caf20a528a4d3a
ec9f6651e72cf6af5c3b377e3cf7fe24076eba39
/detection/train.py
cdeddae6c146932d0fd8afa345f5e3b59bfcdbe3
[]
no_license
DanMartyns/MacSpoofingDetection
9bc60044f7450ade6b7b407c4b271b5c4f157bfb
21b683eec5eb091d71cf6c1bc3b463b14a63c66b
refs/heads/master
2020-05-18T02:38:25.253233
2019-07-03T00:49:59
2019-07-03T00:49:59
184,121,976
0
0
null
null
null
null
UTF-8
Python
false
false
7,663
py
import argparse import os import math import random import statistics import numpy as np import pickle import copy from sklearn import svm from sklearn.ensemble import IsolationForest from sklearn.preprocessing import StandardScaler from sklearn.metrics import confusion_matrix from sklearn.neighbors import LocalOutlier...
[ "margaridaocs@ua.pt" ]
margaridaocs@ua.pt
c079c02b3ca5326563ba354698e2392c87ee0def
47693ffe6c3d14a4b8536ae89c63b7df911a4de8
/peer_lending/users/migrations/0002_auto_20210418_1217.py
82bfab26cb63ad4283ff8fc9003d1f3225ec7af6
[ "BSD-3-Clause" ]
permissive
teorich/peerlending_starter
2b22dd3d843fe0101551f1973e961cfe1a7a9699
3f0e2761a823a75d5ad6547a407ab782008b5185
refs/heads/main
2023-04-25T04:44:53.677736
2021-04-18T18:09:53
2021-04-18T18:09:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,083
py
# Generated by Django 3.1.8 on 2021-04-18 10:17 from django.db import migrations, models import uuid class Migration(migrations.Migration): dependencies = [ ('users', '0001_initial'), ] operations = [ migrations.AddField( model_name='user', name='first_name', ...
[ "mrjamesreinhold@gmail.com" ]
mrjamesreinhold@gmail.com
eabc327817af3553828fe0ffc5f9a44d5e5d1951
52b5773617a1b972a905de4d692540d26ff74926
/.history/mushroomPicker_20200729130815.py
f6b760f3a1112376d639f98641c3cd38b7ba4176
[]
no_license
MaryanneNjeri/pythonModules
56f54bf098ae58ea069bf33f11ae94fa8eedcabc
f4e56b1e4dda2349267af634a46f6b9df6686020
refs/heads/master
2022-12-16T02:59:19.896129
2020-09-11T12:05:22
2020-09-11T12:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,178
py
''' You are given a non-empty, zero-indexed array A of n (1 � n � 100 000) integers a0, a1, . . . , an−1 (0 � ai � 1 000). This array represents number of mushrooms growing on the consecutive spots along a road. You are also given integers k and m (0 � k, m < n). A mushroom picker is at spot number k on the road and sh...
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
26eb3da91f9d5309b6650b1f7e62de5724b4f8dd
056ef2e008849515aa81487614259280f7f179c1
/vrt/vfin/dain/MegaDepth/options/test_options.py
fa1f946af8aa57c723d5ad435cf0b10432018825
[ "MIT" ]
permissive
darktohka/OpenVideoEnhance
5361c2af9b091ba3a80e4fc3e3225acbf551e180
f31746b6b2ad510e18d6343304646bd8fb50a390
refs/heads/develop
2023-03-11T20:31:23.258900
2021-02-27T09:23:03
2021-02-27T09:23:03
344,285,821
1
0
MIT
2021-03-03T22:53:05
2021-03-03T22:53:04
null
UTF-8
Python
false
false
878
py
from .base_options import BaseOptions class TestOptions(BaseOptions): def initialize(self): BaseOptions.initialize(self) self.parser.add_argument('--ntest', type=int, default=float("inf"), help='# of test examples.') self.parser.add_argument('--results_dir', type=str, default='./results/',...
[ "iBobbyTS@gmail.com" ]
iBobbyTS@gmail.com
87f76ef7f0a4f8ca551c0dd58adb6ceec115833c
75650efb55b569ac27a880702b9bd756793dd3cb
/build/scripts-3.7/eu_create_gcp_url_list.py
74238890381f628eeccac92d76aca11cdc4a53ce
[ "MIT" ]
permissive
nathankw/dev_encode_utils
d33a5c5097b0a7982790d8b69bfde2c2ec7bf3b8
9f4596112a9764d4c93214d9e5e3a4861dfc54a0
refs/heads/master
2018-12-27T11:26:04.375692
2018-10-24T06:08:36
2018-10-24T06:08:36
121,198,680
0
0
null
null
null
null
UTF-8
Python
false
false
2,052
py
#!/Library/Frameworks/Python.framework/Versions/3.7/bin/python3 # -*- coding: utf-8 -*- ### # © 2018 The Board of Trustees of the Leland Stanford Junior University # Nathaniel Watson # nathankw@stanford.edu # 2018-10-23 ### """ Creates a Google Storage Transfer Service URL list file, which can be used as input into t...
[ "nathankw@Nathans-MacBook-Air.local" ]
nathankw@Nathans-MacBook-Air.local
39c412f9b18b2196fb290af51106a9a906ececfd
1f19e504dede93559edfa4266ae90c9b698f1595
/learning_logs/migrations/0004_auto_20201019_0709.py
e7cf8bad138692fd900c1ae7ab55070b3e1b9aa9
[]
no_license
poemDead/learning_log_django
3a93e9fa4f6553c0704c7c49911aaafadb60b1e8
5149c72bf8cb522544f1b82d030fc93915c9d2f5
refs/heads/main
2023-02-07T20:17:38.741281
2023-02-01T01:51:20
2023-02-01T01:51:20
305,242,096
1
0
null
null
null
null
UTF-8
Python
false
false
374
py
# Generated by Django 2.2 on 2020-10-19 07:09 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('learning_logs', '0003_auto_20201019_0703'), ] operations = [ migrations.RenameField( model_name='topic', old_name='data_added'...
[ "69440589+poemDead@users.noreply.github.com" ]
69440589+poemDead@users.noreply.github.com
b3673d87cd687e139daef7c90d95e0a9126b841d
954df5fb1ceaf64fe3004e0b072b78024065cdd0
/virtual/Lib/site-packages/future/moves/_markupbase.py
41c4f96c55552b677772b61ba497a16ba84b3df8
[]
no_license
chelseyrandolph/cs440_DatabaseUI
7dc5b4c3d0a4e72023db61f4a613fc889bc69f86
28355cdfe0f4732568f1f8e43e2ce7809b4fc260
refs/heads/master
2022-06-06T19:18:31.819483
2020-05-05T20:51:58
2020-05-05T20:51:58
259,436,551
0
0
null
null
null
null
UTF-8
Python
false
false
151
py
from __future__ import absolute_import from future.utils import PY3 if PY3: pass else: __future_module__ = True from markupbase import *
[ "chelseyrrandolph@gmail.com" ]
chelseyrrandolph@gmail.com
ad5d5361d58d186ea6682f1b01c9158b0e151206
1255b4c76aa2def0d8ca07ff75ef264383de36e3
/main.py
8b482da2a9acf7567e56eec60c0e4c881703abac
[]
no_license
thepixelboy/flask-auth
bcbe2ce182e54743acfa70860f975b059952c65c
e49903b65c9451891b61138e1b5453ea29f733d1
refs/heads/main
2023-07-10T00:41:46.442728
2021-08-23T16:56:39
2021-08-23T16:56:39
399,182,979
0
0
null
null
null
null
UTF-8
Python
false
false
3,337
py
from os import name from flask import Flask, render_template, request, url_for, redirect, flash, send_from_directory from werkzeug.security import generate_password_hash, check_password_hash from flask_sqlalchemy import SQLAlchemy from flask_login import UserMixin, login_user, LoginManager, login_required, current_user...
[ "34570952+thepixelboy@users.noreply.github.com" ]
34570952+thepixelboy@users.noreply.github.com
4a5300837d83d06467afb85f15b78e321182b279
666d451f3e6a8053211600a5d33e6c757e176335
/bobtemplates/mbaechtold/django_project/src/website/wsgi.py
d56e6b1e044bfdcb992fae27ce2235add65b3c03
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
mbaechtold/django-project-template
4a7b5242c9149eea0821c47339d0fed0db183135
cdbac7de9c7cf9d20291dace39ff3000987d79f8
refs/heads/master
2020-05-01T12:03:18.974328
2013-09-09T10:54:00
2013-09-09T10:54:00
4,346,364
0
0
null
null
null
null
UTF-8
Python
false
false
1,067
py
""" This module contains the WSGI application used by Django's development server. It should expose a module-level variable named ``application``. Django's ``runserver`` and ``runfcgi`` commands discover this application via the ``WSGI_APPLICATION`` setting. Usually you will have the standard Django WSGI application h...
[ "github@tph.ch" ]
github@tph.ch
5317b35317ba1ab2da314d6bd8ad9be085d19480
13f4a06cd439f579e34bf38406a9d5647fe7a0f3
/nn_ns/parsing/FS/readme.py
d02accd2f405f4744acde147164ec31870528870
[]
no_license
edt-yxz-zzd/python3_src
43d6c2a8ef2a618f750b59e207a2806132076526
41f3a506feffb5f33d4559e5b69717d9bb6303c9
refs/heads/master
2023-05-12T01:46:28.198286
2023-05-01T13:46:32
2023-05-01T13:46:32
143,530,977
2
2
null
null
null
null
UTF-8
Python
false
false
2,141
py
3 froms: FSM, [Rule], regular_expression FSM: TotalState : FSM formal - FSM{initial :: TotalState, finals :: Set TotalState, error :: TotalState, transition :: Map TotalState (Map Symbol TotalState) ...
[ "wuming_zher@zoho.com.cn" ]
wuming_zher@zoho.com.cn
a786ff4225a5ef3d90945927f927306e9fcf005d
039d48e141a8276f8a8b869fe57ecd11335aa774
/toolchains/gcc-linaro-7.4.1-2019.02-x86_64_aarch64-linux-gnu/aarch64-linux-gnu/libc/lib/libstdc++.so.6.0.24-gdb.py
f1efd517cb064807ca14d91e7afab0879ed1f922
[]
no_license
BPI-SINOVOIP/BPI-Mainline-uboot
7e6d4e91f8340c381315d04ec9894ac26d36c8c0
7ce9aae0a4c658525a34e9404b6fef5140a6548b
refs/heads/master
2023-05-26T21:11:05.630207
2023-03-14T15:17:36
2023-03-14T15:17:36
41,422,808
14
15
null
2023-05-23T04:11:00
2015-08-26T11:51:04
null
UTF-8
Python
false
false
2,591
py
# -*- python -*- # Copyright (C) 2009-2017 Free Software Foundation, Inc. # 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; either version 3 of the License, or # (at your option) any later versio...
[ "lionwang@sinovoip.com.cn" ]
lionwang@sinovoip.com.cn
75a200d94249e8c6d57dbb9015f55760805259de
780cc16d12414f209f3931a912fc46b557ff1446
/without-label-V2/.secondary/experiment3.py
95ea71abacc57887e8b0a33c534a1348841e49d8
[]
no_license
smaityumich/Transfer-learning
b991ae7f547e14ddaad908e2f38c675b41eefa18
fcf28c4c302f4c4bf30edf1182b1935e6848791f
refs/heads/master
2021-11-13T00:13:27.825203
2020-02-21T02:58:00
2020-02-21T02:58:00
232,660,760
0
0
null
2020-03-13T12:38:50
2020-01-08T21:12:07
Python
UTF-8
Python
false
false
2,234
py
import numpy as np from withoutLabelV2 import * import sys import os from fractions import Fraction ## Mkaing a hidden output directory outdir = os.getcwd() + '/.out' if not os.path.exists(outdir): os.system(f'mkdir {outdir}') ## Getting classifier for the def job(par): ## Setting seed and parameter ...
[ "smaityumich" ]
smaityumich
ee947ab878cedddde467745d6f6bf32fc9b603b9
c8a3b33f0ec6b53c3280f6a65cfb18c115d0b615
/set_cases_cpeq_extra.py
1b199c7bffa3e9c91a0bc7267b945af99de858a1
[ "MIT" ]
permissive
marcelosalles/dissertacao
dd502c1ab78d12bfc4673fcec9816485992d358a
692f80a0d6b28a7e929dc86f6a684cfa84b59df1
refs/heads/master
2021-12-11T15:42:22.545985
2021-12-07T17:53:47
2021-12-07T17:53:47
190,596,533
0
0
null
null
null
null
UTF-8
Python
false
false
7,922
py
import datetime import json import os import pandas as pd import dict_update import sample_gen import idf_creator_floor as whole_gen import singlezone_diss import runep_subprocess import output_processing2 import other_crack_fac update = dict_update.update # Globals FOLDER = 'cp_eq_extra' SIZE = 200 SAMPLE_NAME = '...
[ "marcelosalles@github.com" ]
marcelosalles@github.com
b052d9182d7cc616f37c5f07a4d3abae03216ac3
07d5ce00ce15f0c04d175ac1c54bfa3e5ed949bf
/IntroPython/parse_file.py
5f599cff5af2835bc1396f21ce775d32ef587f46
[]
no_license
mrinal-subash/BINF6308
8beececfc7d87b2703a2cefe92df36f98f46fd3c
237afbb977d1ca65bca490e8c3837d8109492f30
refs/heads/master
2022-04-23T21:22:18.603198
2020-04-25T05:17:45
2020-04-25T05:17:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
899
py
#!/usr/bin/env python # parse_file.py # To use regular expressions you need to import re import re # Set the file path to the Drosophila genome dmel_genome_path = '/scratch/Drosophila/dmel-all-chromosome-r6.17.fasta' # Initialize a line counter line_count = 0; # Initialize a sequence variable seq = '' with open(dm...
[ "noreply@github.com" ]
noreply@github.com
3241fdacf8511474ccc549ee916f1c7d86a836cd
f3a3c0a2b161a50224e6104e35fb3dd6c5cc8ad6
/Reactor.py
738c29f9c6b2c8dd0f8034c054850449bf1b6b97
[]
no_license
reubens9/masters_code
19a3ceafc6cfe091866b2a87c91aa882b9b5957a
538161256d7d2c837f6e6b21b8e4b5b02f7fa7a3
refs/heads/master
2020-05-04T21:39:22.045216
2019-04-09T13:53:18
2019-04-09T13:53:18
179,483,977
0
0
null
null
null
null
UTF-8
Python
false
false
2,532
py
# coding: utf-8 import numpy as np def math_test(a,b,c): # a = X[0] # b = X[1] # c = X[2] return a*b*c MMx = 24.04 # g/cmol C H 1.8 O 0.5 N 0.16 Q = 0.9058 # mL/min C_N = 0.0125 # g/L r_Urea = Q / 1000 * C_N # g Urea/min Mass_fr_Urea = 14 * 2 / (12 + 4 + 28 + 16) Mass_fr_Biomass = 14 * 0.16 / (12...
[ "reubenswart@gmail.com" ]
reubenswart@gmail.com
17af078221d30f88e222eb9d6c5861dc1a20e88a
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/verbs/_disintegrating.py
532e7be5907664219ed247bb6f5173a80c0ad3de
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
282
py
from xai.brain.wordbase.verbs._disintegrate import _DISINTEGRATE #calss header class _DISINTEGRATING(_DISINTEGRATE, ): def __init__(self,): _DISINTEGRATE.__init__(self) self.name = "DISINTEGRATING" self.specie = 'verbs' self.basic = "disintegrate" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
51608c5d43d59f5805eb4025757cc2d391ff256c
6195c30bee626877e7c5762fb654adf1ae250bd3
/problem_32.py
c0aad91bb909b018b3d77329e2c7c49fc544a13c
[]
no_license
sergun4ik/projecteuler
8b1bac8ad7fc9485dddef6f1b89c5aa2ac00cef4
243aea89d0cd8cc9a27a72395c90861fd59fc0ed
refs/heads/master
2021-11-26T02:31:19.520044
2021-11-16T12:44:34
2021-11-16T12:44:34
188,433,458
0
0
null
null
null
null
UTF-8
Python
false
false
433
py
''' Solves problem #32 on https://projecteuler.net Sergey Lisitsin. May 2019''' pans = set() digits = '123456789' for x in range(1000): for y in range(10000): interim = str(x) + str(y) + str(x*y) interim = ''.join(sorted(interim)) print (interim) if interim == digits: ...
[ "sergeyl@sicl.com" ]
sergeyl@sicl.com
27d796ebef60da62d2097d9ebfac8fc3b5f5c511
dd56626ccde1ccd5165fd251896125f0b9f0e6bb
/All-Classes_DotPY_Modified_Sublime/Class31-Accessor-MutatorMethod-Classmethod-InstanceMethod-ClassVariable-InstanceVariable.py
9d070dd01c27086fd6f03ee001b6132488bcc8b8
[]
no_license
sumanes4u/Anaconda-Projects
7df103a3af244f97f8a64cdd9a6f35ad5a7026c2
38c2cecae00dcb238808aa0a6f92cf4be36f001b
refs/heads/master
2020-04-07T04:13:56.013322
2018-11-18T03:48:42
2018-11-18T03:48:42
158,046,063
0
0
null
null
null
null
UTF-8
Python
false
false
4,817
py
# coding: utf-8 # # Class # - Constructor ( init method ) # - Namespaces # - types of methods # - Instance methods # - class methods # - static methods # - Inner Classes # - Inheritance # - Polymorphism # - Method overloading # In[3]: class Sample: # This is a constructor ...
[ "ssamarthi@arubanetworks.com" ]
ssamarthi@arubanetworks.com
2c22ce041558ee668c89454dd1b433ef527f4d5f
c0c506702f51046c11085249fbb45dd01af6c11f
/sql-execute.py
2c4710d5996d702ccc23ef0d77ebf77f8da5aa13
[]
no_license
ashishup1999/Songs-detection-by-audio-fingerprinting
d6f7a61783003a7c908e87a27e8f5af6909bbe18
98f56d06cd9c991a1fefbfdd2293a8bee3fac4ec
refs/heads/main
2022-12-25T15:55:22.652039
2020-10-11T11:57:05
2020-10-11T11:57:05
303,103,832
1
0
null
null
null
null
UTF-8
Python
false
false
497
py
#!/usr/bin/python import argparse import sys from libs.db_sqlite import SqliteDatabase from termcolor import colored from argparse import RawTextHelpFormatter if __name__ == '__main__': parser = argparse.ArgumentParser(formatter_class=RawTextHelpFormatter) parser.add_argument('-q', '--query', nargs='?')...
[ "noreply@github.com" ]
noreply@github.com
51a7abc5c786abeb3e55dc95ed53aef57e85b34a
94df6050f2a262da23f62dd678ccc4366b7657fc
/temporary/bin/tqdm
9efa8c44cdb5ce4f8dc9684a0b3710267894d570
[]
no_license
EkenePhDAVHV/phd-autonomous-cars-frank
29cc2fc608db53d4d060422022dc5019cf6360f0
1daed3425bfad99dac31543fbeb7950e25aa2878
refs/heads/main
2023-04-29T06:02:59.444072
2021-05-23T11:04:07
2021-05-23T11:04:07
357,157,735
0
0
null
null
null
null
UTF-8
Python
false
false
265
#!/home/ekene/PycharmProjects/phd-autonomous-cars-frank/temporary/bin/python # -*- coding: utf-8 -*- import re import sys from tqdm.cli import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "e.f.ozioko@pgr.reading.ac.uk" ]
e.f.ozioko@pgr.reading.ac.uk
cb0ffc8b1d6f6dd64345336453f628b38d80a9f1
90596c9b5d9db8bbfdf3dd996c9f00bd3f60eec9
/ultimatemusic/music.py
b695740771e09f059637dca410997e5ed41b5841
[]
no_license
Atharvious/discord-bot
b20de471b2d6e850e8688d9f49ccfa38671c3c99
3d3060a4a7f59d76b8c22b345e6419c73cd5d6bd
refs/heads/main
2023-04-05T18:55:51.430398
2021-03-31T01:02:03
2021-03-31T01:02:03
333,718,433
0
0
null
null
null
null
UTF-8
Python
false
false
3,070
py
from dotenv import load_dotenv import os load_dotenv() API = os.getenv('YOUTUBE_API') api_name = "youtube" api_version = "v3" from googleapiclient.discovery import build youtube = build(api_name,api_version,developerKey = API) class YouTubeParser: def __init__(self,argument): self.keyword = argument ...
[ "rainmaker@pop-os.localdomain" ]
rainmaker@pop-os.localdomain
547062260665854f2daa9245458cd458043ab8b7
02984c41ad9934a41de106d8be405cb65b265a3f
/matrix/image.py
dd536cebb090c549585725f28220c5f51355ec09
[]
no_license
pcp135/C-CtM
865637a19c0ae3494cfa1f895a517cfe053981c6
3bbe833a4501ec994c48f8c9c747bf0e785a5d9e
refs/heads/master
2016-09-05T10:05:58.367061
2013-09-08T00:34:37
2013-09-08T00:34:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,870
py
""" Basic types: file - a png file on disk image - a list of list of pixels. pixels can be triples of RGB intensities, or single grayscale values. vec - a vector with domain {0..width-1}x{0..height-1} display - not a type per se, but rather causing the type to be shown on screen Functions convert between the...
[ "pcp135@gmail.com" ]
pcp135@gmail.com
4bf28bc7353c46ecf708c6bb3059c4f96d510296
d188f791dd2e096fb3b094e086b35f3c642cd40c
/src/data/make_user_csv.py
080ba85eea2313b0c131061054a9bd1ee9335885
[ "MIT" ]
permissive
ravitejau/User_Churning_Prediction_StackOverflow
71d58a02ff06d78f115af436ffc5ac8e65d00a40
58ec5822e3ca23e912d154004e353df1725e2bc7
refs/heads/master
2020-04-11T19:34:00.768223
2018-12-16T20:42:27
2018-12-16T20:42:27
162,038,575
0
0
null
null
null
null
UTF-8
Python
false
false
1,263
py
import xml.etree.cElementTree as et import pandas as pd def getvalueofnode(node): """ return node text or None """ return node.text if node is not None else None def users(): """ Convert PostHistory.xml to pandas dataframe """ parsed_xml = et.parse("../../data/raw/Users.xml") dfcols = ['Id','...
[ "raviteja.upmaka1994@gmail.com" ]
raviteja.upmaka1994@gmail.com
afdf99debddabc6eca316386fdd77ca357973217
8244500da96cc8bda534574a3519bebfc19f09aa
/portfolio/urls.py
1a061d243046b620688c6268271668b3ec80ec17
[]
no_license
Antrowmano/portfoilo-Django-project
0deb953308cfdc792b7d33949977e8db4caf822d
978fd023460ffee8fc17089ac61b6784d45e4612
refs/heads/master
2023-07-19T20:21:47.652146
2021-08-28T07:16:52
2021-08-28T07:16:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
795
py
"""portfolio URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.2/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-bas...
[ "antrowmano543@gmail.com" ]
antrowmano543@gmail.com
ff27d1695dcafdf6c0990e339bae4ebdc384fe83
c5a921726a3805663d26a2dbaa47e49497931d4e
/Algorithms/challenges/lc437_path_sum_3.py
3c2379a605bdceaccb345b85e6736d43f336db08
[]
no_license
snowdj/cs_course
a50d07548198b4202e8abde01ec572e2cce38ab3
fa6504cb5145d10952f4615478fa745f4b35ba13
refs/heads/master
2020-03-17T15:18:52.190747
2018-05-13T08:08:51
2018-05-13T08:08:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,111
py
""" Time: O(n) Space: O(n) You are given a binary tree in which each node contains an integer value. Find the number of paths that sum to a given value. The path does not need to start or end at the root or a leaf, but it must go downwards (traveling only from parent nodes to child nodes). The tree has no more tha...
[ "jesse@liu.onl" ]
jesse@liu.onl
a3f236ba9acc0a4b6555b96f6a332662b412630d
4591b4c66f443a2a54c858a8f3b529b8f388a5e4
/workshops/migrations/0009_auto_20141201_0016.py
63d5f5e8ede381a4c432f6a8b3b7406a26f704cf
[ "MIT" ]
permissive
sburns/amy
39e11b48212304c7620e56a66c2f585d3d5951ae
7a315ba934f45e2234aaf1ea0e953b88a6239e10
refs/heads/master
2020-12-28T20:31:22.103801
2015-01-20T20:27:31
2015-01-20T20:27:31
27,539,122
0
1
null
2015-01-27T17:43:06
2014-12-04T12:18:40
Python
UTF-8
Python
false
false
451
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('workshops', '0008_person'), ] operations = [ migrations.AlterField( model_name='person', name='email...
[ "gvwilson@third-bit.com" ]
gvwilson@third-bit.com
6e5431d642069e5b1b07fb396031e63b157ca4ef
d0267cedb13177a01487e11615588ee597ee498c
/src/marks/vscode_settings.py
8524e50b1e1486100bb6fdfb374adc1ac08a56ed
[ "MIT" ]
permissive
soheeyang/cursorless-talon
aa7ffffce9d1c75f380e271943cc6ba4a6aac2af
c3438d7d6300473d95568f72c60ef6e9421bbe43
refs/heads/main
2023-08-15T22:20:43.883566
2021-10-07T13:37:58
2021-10-07T13:37:58
419,826,361
0
0
null
null
null
null
UTF-8
Python
false
false
2,076
py
import os from talon import Context, Module, actions from pathlib import Path from ..vendor.jstyleson import loads mod = Module() windows_ctx = Context() mac_ctx = Context() linux_ctx = Context() windows_ctx.matches = r""" os: windows """ mac_ctx.matches = r""" os: mac """ linux_ctx.matches = r""" os: linux """ @m...
[ "noreply@github.com" ]
noreply@github.com
4a37ada10f67469365dc3441bc5ec20f0d5d7c87
cebcd4c29a2f7542f4fed1109e6bdfc4fa99beca
/formdemo/models.py
0bfd77102df4b87bb6de58e11daffb711d55b15b
[]
no_license
mkdika/django-form-demo
6a35e3514c1f79fa5fb5a4754bcaad0be80a78c2
0557956aa11a0742b06a17c6e223242c36460c48
refs/heads/master
2020-03-27T18:56:37.982967
2018-09-01T00:41:39
2018-09-01T00:41:39
146,954,956
1
0
null
null
null
null
UTF-8
Python
false
false
1,814
py
from django.db import models from ckeditor.fields import RichTextField from datetime import datetime class Author(models.Model): EDUCATION_DEGREE = ( ('PRI', 'Primary'), ('INT', 'Intermediate'), ('HIG', 'High'), ('BAC', 'Bachelor Degree'), ('MAS', 'Master Degree'), (...
[ "mkdika@gmail.com" ]
mkdika@gmail.com
d31f11bddf9791dee17880f0c0425c13ad495a90
ab6c6559d9cfac36c3c4ece192fa2300767662d1
/Python Game Development for Beginners - Working Files/Chapter 5/Increasing Challenge with Levels Part I/main.py
38ecd797fc5c5f6c15d8d84cfd91391e4842c047
[]
no_license
Igor-Nosatov/PythonGameDev_Trinket
962b86572c74c64652a24768dfec2101fcae221f
e6166f69307ded6880b0aaa3299c0a151807bb9c
refs/heads/master
2020-06-24T20:22:57.187289
2016-05-03T10:33:26
2016-05-03T10:33:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,111
py
# import the turtle module so we can use all the neat code it contains import turtle from helpercode import BoxTurtle, printwin, checkpos, maketurtles from time import sleep from random import randint, choice # Create variables to contain our BoxTurtle objects boxturtles = maketurtles() # Create a variable `tina` th...
[ "lrbeaver@gmail.com" ]
lrbeaver@gmail.com
663f3769cf5a7c92bedbcb78fa4493d70bd8b3a0
bde8ab827d5b2c2f3c974536b02b116e47ed20f3
/optimize.py
87de30db2c5b1c51923693c110bb76cd665005c6
[ "MIT" ]
permissive
benlawson/MusicLingo
6b5d83b70db65002a033e58f108a9a5a1c065ffd
edf50e4c0e399b5cea595c65ac8c3226fb04861b
refs/heads/master
2021-01-17T06:40:21.079699
2017-04-29T17:22:33
2017-04-29T17:22:33
47,513,310
0
1
null
2016-09-16T23:38:58
2015-12-06T20:51:28
Python
UTF-8
Python
false
false
1,006
py
##################################################################### # optimize.py # Node = dict Leaf = str Num = int def eliminateDeadCode(s): if type(s) == Leaf or type(s) == Num: return s if type(s) == Node: for label in s: children = s[label] if label == 'Print': ...
[ "balawson@bu.edu" ]
balawson@bu.edu
50ac6709acfc86d952d4ef089c648926671f477b
8acffb8c4ddca5bfef910e58d3faa0e4de83fce8
/ml-flask/Lib/site-packages/sacremoses/corpus.py
721a5bbd1be20eb165825ba3c6dae6936c425b69
[ "MIT" ]
permissive
YaminiHP/SimilitudeApp
8cbde52caec3c19d5fa73508fc005f38f79b8418
005c59894d8788c97be16ec420c0a43aaec99b80
refs/heads/master
2023-06-27T00:03:00.404080
2021-07-25T17:51:27
2021-07-25T17:51:27
389,390,951
0
0
null
null
null
null
UTF-8
Python
false
false
129
py
version https://git-lfs.github.com/spec/v1 oid sha256:d72f15b792d94c6d388af9f8c568d412c657f055c925abdae378464c275c54a4 size 5016
[ "yamprakash130@gmail.com" ]
yamprakash130@gmail.com
48aa40f60c02ad5c330e0865defcba13e49a1510
518260d9991ff4771ffda214ffde116ce239b369
/hw3/hw3.py
8218d0dc9857e1cf17d6ac8dff1d3a52288991a9
[]
no_license
Ivan-Hao/IntelligentVehicle
1523926c6eefa9567e7298547318aa1f157ce8c0
c83d1f4c54a62c394a408dcda57d9bb224c62ccb
refs/heads/master
2020-09-16T21:27:55.325141
2020-06-13T07:42:19
2020-06-13T07:42:19
223,892,054
0
0
null
null
null
null
UTF-8
Python
false
false
1,837
py
import sys time = 0 back_edge = [] class vertex(): def __init__(self, args): self.number = args self.edge = [] self.ischeck = 'white' self.checktime = 0 self.endtime = 0 self.predecessor = None def add_connect(self, args): self.edge.append(args) def dfs...
[ "wangyunhao@cmlab.csie.ntu.edu.tw" ]
wangyunhao@cmlab.csie.ntu.edu.tw
83819dde3730e1a0ba29a2eae622ceb336a6cb20
d0582057d848ffd1e6481824282a94c23dc3b5b3
/setup-tty2img.py
f68c25dbcaeb5c55b6ceb5cc6caea5d1eea5b7b2
[ "MIT" ]
permissive
opcode-eu-org-libs/asciicast2movie
2f9d3be188694e6ae3fa70be96bb54620638da12
986576bd63add5bed0d5aa4a21cc5539c6bee2a7
refs/heads/master
2023-04-19T10:38:36.819255
2021-04-26T07:26:46
2021-04-26T07:26:46
308,849,580
35
7
MIT
2021-04-26T07:26:47
2020-10-31T09:44:33
Python
UTF-8
Python
false
false
897
py
import setuptools import tty2img setuptools.setup( name="tty2img", py_modules=["tty2img"], version="0.3.7", author="Robert Paciorek", author_email="robert@opcode.eu.org", description="rendering pyte terminal emulator screen as image", long_description=tty2img.__doc__, long_description_c...
[ "robert@opcode.eu.org" ]
robert@opcode.eu.org
24432c9fd52eb43caf72d99549f5067e361a860d
2841d8e3d48aed80fe2098739a0b8050d34f8569
/Automata/PA2_python/src/CYK.py
a44dba8c3d14c1474b2dbfadf8330d189f0ab79d
[]
no_license
kingback1/CourseraHW
8f64ba8326f7339f5d451606e82cd1be251915cc
776bb7f9376424cdc2af6eaeee3942b9e21c21fb
refs/heads/master
2021-01-21T09:47:22.463023
2014-04-22T14:32:13
2014-04-22T14:32:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,844
py
''' CYK algorithm for Context Free Language Author: Chenguang Zhu CS154, Stanford University ''' import sys,traceback import os import string maxProductionNum = 100 #max number of productions VarNum = 4 production = [[0] * 3 for i in range(maxProductionNum+1)] '''Prouductions in Chomsky Normal Form (CNF) produc...
[ "1062018952@qq.com" ]
1062018952@qq.com
30b9c1c0a8e43980eaba935bac27eca234435171
d3050f495f22b40cf300a05fa8ce2961ce1fbfa3
/Day3/AUC Robotics Summer Camp/Day3/catkin_ws/build/src/ball_chaser/catkin_generated/pkg.develspace.context.pc.py
281ee97a4d4ca6c9893ab2587c05f49a798e5a13
[]
no_license
mirashanouda/ROS_course
57214a97beee1ec01d341b0fb5684bae2176f90c
d847fa430f216b370a6211be8c2004aae1915269
refs/heads/master
2022-12-11T20:07:28.392143
2020-09-07T00:50:52
2020-09-07T00:50:52
287,122,652
1
0
null
null
null
null
UTF-8
Python
false
false
616
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/mira/AUC-Robotics/ROS_course/Day3/AUC Robotics Summer Camp/Day3/catkin_ws/devel/include".split(';') if "/home/mira/AUC-Robotics/ROS_course/Day3/AUC Robotics Summer Camp/Day3/catkin_ws/devel/inclu...
[ "mira.shanouda" ]
mira.shanouda
76586ca741364a3c5216604960f1c75befc06bc1
c1253970a0b872b73d1ebb1360532b585faf3baa
/process_result.py
a88688521e4af1d6edf81902a0a199f6ff4973fb
[]
no_license
sruthi2498/TelegramCovid
3996900a6f69bcf1dba4e0385ed3f165e2a3a600
050f07a860945b715493c9418832db408da8cc60
refs/heads/master
2023-04-25T05:49:18.565250
2021-05-15T04:04:57
2021-05-15T04:04:57
366,968,767
1
0
null
null
null
null
UTF-8
Python
false
false
1,403
py
import re import csv import pandas as pd from fuzzywuzzy import fuzz filename="vaccine_slot_trends.csv" df = pd.read_csv(filename) df.drop_duplicates(subset=None, inplace=True) df = df.sort_values("pincode").reset_index() print("Existing : ",len(df)) out_file = "hospital_timeslots.txt" f=open(out_file,"w") hospital...
[ "vsruthi98@gmail.com" ]
vsruthi98@gmail.com
12ef4a4ee84efe8dddbe8dc234cdb04eb07adb9c
65a7496000953f8aa56aae0da74611292e30201e
/mongoDB/__init__.py
578cd9e584b2be2dad0fcb8efcbb7b76bd3ff25a
[]
no_license
sileyouhe/Douban_movie_data_analysis
19d202c32133bc6778480232dafe8672ac2660a2
2f97609b9885dff62547ae9a1e635d5c83ec2ebb
refs/heads/master
2020-09-10T21:25:13.966807
2019-12-19T08:55:33
2019-12-19T08:55:33
221,838,137
0
2
null
null
null
null
UTF-8
Python
false
false
641
py
import pymongo #和数据库连接 client = pymongo.MongoClient(host='localhost', port=27017) #访问“test”数据库 db = client.test print(db) # 访问‘movie’ 集合 collection = db.movie # 插入一条数据 item = { 'name': 'abc', 'actor': 'zhang san', } #result = collection.insert_one(item) #返回一个独一无二的ID值 #print(result) items =[{ 'name': ...
[ "sileyouhe@gmail.com" ]
sileyouhe@gmail.com
2113063d729a811629f3bc376ba4bf53a6246231
ea2f7efb514b7e33eb205519cfffc356f58a9816
/Clases en Python/__repr()__.py
6f40939cad236fb3207cb6550a444771c025da4d
[]
no_license
MGijon/Learning-Python
fa79071bf53172743e96d2c614be2963a5107a9d
728f8d7e30729a965c5a093e08005d715aa6e46b
refs/heads/master
2021-06-28T15:44:34.082472
2019-02-23T17:58:06
2019-02-23T17:58:06
105,207,614
2
0
null
null
null
null
UTF-8
Python
false
false
2,145
py
''' __REPR()__: Nos devuelve una cadena de texto con la representación única de un objeto. Es útil, por ejemplo, a la hora de depurar un error. ------------ A la representación única accedemos de dos formas: con la función repr() o con las dobles comillas hacia atrás (``). Si __repr()__ no está definido, ...
[ "mgijon94@gmail.com" ]
mgijon94@gmail.com
1c015a0854fcde9d4cf0f6123bcf6118fef54688
1ee0cfce421668e7d698602e6aded4f53b48345c
/slover/libMF.py
4b60c7719074c05eeb64a9e21ef462f971a10bd7
[]
no_license
Jackjet/datagrand_recSys
bb3e9ff3eb93ba813373eeb7575223e66fe39f48
b59945dbb6d3fd17fac4404a3b5f232d09e7745d
refs/heads/master
2020-05-07T18:06:49.430415
2017-07-23T08:43:03
2017-07-23T08:43:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,838
py
# coding=utf-8 import csv import os import gc import numpy import pandas as pd #w(x) = log( 1+N('view') / N(x) ),实际评分和w(x)=1一样 import time """ 基于矩阵分解的推荐算法 使用的台大开源的libMF包 先根据SGD优化MSE,得到用户矩阵和物品矩阵(脚本:libMF.sh) 然后计算每一个用户对每一个商品的评分,选择top20,去掉看过的,生成top5推荐列表 麻烦的是全量计算的时间复杂度非常高,而且效果还差 最终使用test中的top10筛...
[ "18210872892@163.com" ]
18210872892@163.com
70d28bdb9d82aa11081654760958d50a0e9b5ae3
55647a80c8b412af9df0ba3f50595cc2f29c25e6
/res/scripts/client/gui/battle_control/controllers/consumables/__init__.py
de6cdb4912e1bd8a0b0ace2de737e8453afc24ad
[]
no_license
cnsuhao/WOT-0.9.17-CT
0035eb6070fb4fab8d8ee9f8bbc676c10d511cfb
d1f932d8cabaf8aa21708622e87f83c8d24d6451
refs/heads/master
2021-06-08T18:11:07.039293
2016-11-19T19:12:37
2016-11-19T19:12:37
null
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
1,212
py
# 2016.11.19 19:48:19 Střední Evropa (běžný čas) # Embedded file name: scripts/client/gui/battle_control/controllers/consumables/__init__.py from gui.battle_control.controllers.consumables import ammo_ctrl from gui.battle_control.controllers.consumables import equipment_ctrl from gui.battle_control.controllers.consumab...
[ "info@webium.sk" ]
info@webium.sk
b273f9b5b2501af9b9e5f2bf763f41c49463f08e
37dc13aeae55edb3bf94769c9dec738cb20d3c21
/GUI/BrokerBenchmark_v2.py
bc7f6e983da32050320623fb8bd549014178b475
[]
no_license
Parr0t/BrokerBenching
24a964bd2169817bdcc4923856739dd24f2139a8
57c8e015fedfeda018f4ba73cacdc0afdbdc4f86
refs/heads/master
2021-01-25T01:21:00.389155
2017-06-19T06:55:49
2017-06-19T06:55:49
94,745,454
0
0
null
null
null
null
UTF-8
Python
false
false
6,334
py
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'BrokerBenchmark.ui' # # Created by: PyQt5 UI code generator 5.6 # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore, QtGui, QtWidgets class Ui_MainWindow(object): def setupUi(self, MainWindow): Mai...
[ "henric.breuer@gmail.com" ]
henric.breuer@gmail.com
f49cc8a318dbe041128c54cd3be1978f05320e6e
12b9a593bd6a10b8aba48ed940d9fdb800ca51bf
/venv/Lib/site-packages/pytube/streams.py
59e4e96ea0b933ae766b68ac52d243c92aac52d1
[]
no_license
Saifahmad-svg/YouTube-Downloader
1210384e20627826fb1f8dded87b175f12f93f84
84921fdfe5994e55a1ea4a76c09edc260b1a2509
refs/heads/master
2023-04-12T11:24:53.467967
2021-04-17T10:28:36
2021-04-17T10:28:36
358,836,206
2
0
null
null
null
null
UTF-8
Python
false
false
13,078
py
# -*- coding: utf-8 -*- """ This module contains a container for stream manifest data. A container object for the media stream (video only / audio only / video+audio combined). This was referred to as ``Video`` in the legacy pytube version, but has been renamed to accommodate DASH (which serves the audio and video sep...
[ "ahmadmoiz079@gmail.com" ]
ahmadmoiz079@gmail.com
2b625e5241e1fce827189ba0c63e713e459992b9
34b83bacb45ab3f4367238ee586109a797c82e23
/Proyecto/env/bin/easy_install-3.7
24ed2954c3ec02dac32a004125cd403339c55ba7
[]
no_license
adbetin/proyecto-pruebas-miso4208
66f859f68e3f5cecec79c18cdb6e1fe727b52598
f14da2e52f1059144fff0d75d5f1b74b2b364b23
refs/heads/master
2020-03-26T03:46:51.583155
2018-11-22T00:13:48
2018-11-22T00:13:48
144,470,516
0
1
null
null
null
null
UTF-8
Python
false
false
273
7
#!/Users/davidsaavedra/Documents/Proyecto/env/bin/python3 # -*- 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())
[ "davidsaavedra@MacBook-Air-de-David.local" ]
davidsaavedra@MacBook-Air-de-David.local
7d72e289cd1a204ce8d9543b02b422fad79372c9
9848584d5f1858692fb4cdbe793bc91ed3be920e
/coding/00239-sliding-window-max/solution.py
aef03fa50138e58d6f572230081501d70f98fcf3
[]
no_license
misaka-10032/leetcode
1212223585cc27d3dfc6d2ca6a27770f06e427e3
20580185c6f72f3c09a725168af48893156161f5
refs/heads/master
2020-12-12T09:45:31.491801
2020-09-14T00:18:19
2020-09-14T00:18:19
50,267,669
3
1
null
null
null
null
UTF-8
Python
false
false
1,055
py
#!/usr/bin/env python3 # encoding: utf-8 import collections from typing import List class DecreasingGarbageCollectionQueue: def __init__(self, ttl: int): self._ttl = ttl self._q = collections.deque() def append(self, t: int, v: int): # First, clean up the stale elements. whil...
[ "longqicai@gmail.com" ]
longqicai@gmail.com
deb8bf603ffe349649ad018dc1bad52c104ecc00
a6486474f8de739c5c38115860d9806a63926f9f
/NJF/settings.py
a817d3f40d454554e85e78d9961aa8db942cff1b
[]
no_license
AdityaSreepad/NJF
151801279602075c352e4f306078b46382a74e8f
0a780e44f7e50ec1809f1e13f250af3e1aec9a0e
refs/heads/master
2022-05-24T08:13:50.656950
2019-09-07T10:10:46
2019-09-07T10:10:46
204,331,673
0
0
null
2022-04-22T22:08:33
2019-08-25T18:07:49
Python
UTF-8
Python
false
false
3,233
py
@@ -1,126 +0,0 @@ """ Django settings for NJF project. Generated by 'django-admin startproject' using Django 2.2.4. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """...
[ "aditya.g.sreepad@gmail.com" ]
aditya.g.sreepad@gmail.com
57eb63aef52b1d51cc147831e2de70dd7402e9ae
9e35cd8bdfba25749d4a75d8093e14c3b63aaa93
/Thursty-Backend-master/Party/models.py
693c8591a6c1c30525d871e67d87528474a5d207
[]
no_license
aaryangrg/Shortin
756db3be1a722ad8a215aeba907ee0570b8706e1
d452362f001c6d357da8ab75779b7873e27b288f
refs/heads/master
2022-12-09T11:26:16.116983
2018-05-29T16:45:00
2018-05-29T16:45:00
135,323,997
0
0
null
2022-12-08T02:08:20
2018-05-29T16:27:23
Python
UTF-8
Python
false
false
1,427
py
from django.db import models from django.contrib.postgres.fields import ArrayField # Create your models here. class Party(models.Model): #Unique Party identifier partyid = models.CharField(max_length = 100, blank = False, null = False, unique = True, primary_key = True) #Basic Details createdAt = m...
[ "aaryan.garg1@gmail.com" ]
aaryan.garg1@gmail.com
55a11c16a314a81724eaf59517091e360790c84f
1a19ac07ef5e5803e75155c02d2a746e295a778b
/backend/App/app.py
e933eb639367f8f68b853e23e72f5527b9a7cd12
[]
no_license
Chinmay-KB/cfg2020
f1f30f3ecdb0818f6ed6a2f9b0e1ad1c818b4a47
d7f59b1ac1c74943f91a11d9f71a21be5a71bffd
refs/heads/main
2023-01-25T05:19:24.237957
2020-12-06T16:24:03
2020-12-06T16:24:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
557
py
from flask import Flask from flask import jsonify,after_this_request,make_response import json import sqlquery as query from flask_cors import CORS, cross_origin app = Flask(__name__) CORS(app) app.config['JSON_SORT_KEYS'] = False @app.route('/getRows',methods=['GET']) def getRows(): all_rows, column_names=query.get...
[ "mr.sayan.dey@gmail.com" ]
mr.sayan.dey@gmail.com
b35a9ff601e7840c26a996d0f54eca9c718d1e47
7297aa83b4d2759c07714208f59fc112249b27f3
/guest/sign/views.py
fb0f990bf90577836541d1947a03b70bce866c22
[]
no_license
yehshuwen/Django_practice
26e2e5eff9bba14c0a700db97bf0e8b6d4f70a67
9d46b9f5456e65566a60c642c9eb0ceface91300
refs/heads/master
2020-04-03T09:20:55.578892
2018-12-27T10:50:13
2018-12-27T10:50:13
155,162,247
0
0
null
null
null
null
UTF-8
Python
false
false
1,563
py
from django.shortcuts import render from django.http import HttpResponse from django.http import HttpResponseRedirect from django.contrib import auth from django.contrib.auth.decorators import login_required # Create your views here. ''' def index(request): return HttpResponse("Hello Django!") ''' def index(reques...
[ "passage543@gmail.com" ]
passage543@gmail.com
5aab7beb6743d9b8f2c9470c478f4166c9f30859
8e22003b5cb6213862d537e03ae7b4272df543b3
/daftarsiswa/models.py
a4bb4b34f0e5072447f9035cfa2bb5bccec86354
[]
no_license
dananggeek/profilsekolah
c864d57ac17e9875d1b88e85bcba06315d3ad879
8166adbe3deda218bdfce5f72888dd509a19e124
refs/heads/master
2020-03-18T13:58:42.318176
2018-05-25T07:45:35
2018-05-25T07:45:35
134,821,725
0
0
null
null
null
null
UTF-8
Python
false
false
1,114
py
from django.db import models from django.contrib.auth.models import User # Create your models here. class pendaftaran (models.Model): #user =models.ForeignKey(User, on_delete=models.CASCADE) nama_depan =models.CharField(max_length=50) nama_belakang =models.CharField(max_length...
[ "dananggeek@gmail.com" ]
dananggeek@gmail.com
34457b9f1292450d30115f4b973ae6c397ad444b
f5d1e8b54ddbc51a9ef1b868eee93096d9b0fbeb
/weapp/tools/weather/views.py
bc7bb0580ac24124ade857e06b690326ad36e083
[]
no_license
chengdg/weizoom
97740c121724fae582b10cdbe0ce227a1f065ece
8b2f7befe92841bcc35e0e60cac5958ef3f3af54
refs/heads/master
2021-01-22T20:29:30.297059
2017-03-30T08:39:25
2017-03-30T08:39:25
85,268,003
1
3
null
null
null
null
UTF-8
Python
false
false
6,497
py
# -*- coding: utf-8 -*- __author__ = "liupeiyu" import time from datetime import timedelta, datetime, date import urllib, urllib2 import os import json from django.http import HttpResponseRedirect, HttpResponse from django.template import Context, RequestContext from django.contrib.auth.decorators import...
[ "jiangzhe@weizoom.com" ]
jiangzhe@weizoom.com
ed33f94bbd108c9000ac2d9dc0d03f9bc890dcbc
1f689e448d8b510ea6575590cb6920048b4e9aea
/leetcode/202_happy_number.py
238115bb7972505ac6b64021c56ccdb3faf05303
[]
no_license
lijenpan/python
52c6061ff90c611efd039b1858339edbefdb5ad0
7f67045a83bd2592ccc399420194094fb78404b8
refs/heads/master
2020-05-30T10:53:15.634090
2016-12-02T20:50:28
2016-12-02T20:50:28
7,646,477
1
0
null
null
null
null
UTF-8
Python
false
false
977
py
""" Write an algorithm to determine if a number is "happy". A happy number is a number defined by the following process: Starting with any positive integer, replace the number by the sum of the squares of its digits, and repeat the process until the number equals 1 (where it will stay), or it loops endlessly in a cycl...
[ "noreply@github.com" ]
noreply@github.com
a6cfc4148c5956d771b4b5f544581c26e4416276
cb799e1939148bf0784d8be80da909499b361184
/angr/analyses/decompiler/graph_region.py
59af543ed240015f0bb67cc21f5fa230e13e7692
[ "BSD-2-Clause" ]
permissive
wwwzbwcom/angr
474d272ad1e80b3967bec5c851bb2457cd7fc7b3
7c710f2b11f4918651bd9f087cdf883e2fa79b6c
refs/heads/master
2022-08-01T00:19:13.997613
2020-05-26T22:28:06
2020-05-26T22:28:06
259,056,991
0
0
BSD-2-Clause
2020-04-26T14:54:51
2020-04-26T14:54:50
null
UTF-8
Python
false
false
5,915
py
import logging from typing import Optional import networkx from .structurer_nodes import MultiNode l = logging.getLogger(name=__name__) class GraphRegion: """ GraphRegion represents a region of nodes. :ivar head: The head of the region. :ivar graph: The region graph. :...
[ "noreply@github.com" ]
noreply@github.com
7b6226c6e82c06fda9bbbf1708beca784473b9ae
44138967ec141d689a77dfd57b1f57f637039d86
/learn-test/fanyi.py
b14962cd5fc20b7b8e81251d781e68a67a9a30eb
[]
no_license
JaydenWade/WebCrawlers
3ce026d9e25999a3662777b85e21e787d036e99b
40c59e2bae4db6c20aebe58ddea7286798f2776e
refs/heads/master
2020-12-04T17:54:51.836760
2020-02-11T07:08:33
2020-02-11T07:08:33
231,859,082
0
0
null
null
null
null
UTF-8
Python
false
false
642
py
# -*-coding:utf-8-*- import requests headers = { 'ser-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) ' 'AppleWebKit/537.36 (KHTML, like Gecko) ' 'Chrome/79''.0.3945.88 Safari/537.36' } data = { "source":"auto", "target": "zh", "sourceText": "hola", "qtv":"e1886386250e8e04", "q...
[ "593849745@qq.com" ]
593849745@qq.com
ebebd592aa47837a19c5ee2b75bf60093d19f7ce
2a0f1e7d713d2c2e7ab55c3ebc023211b825e71a
/ps7b.py
9e4439efb418f08a4b6d19722887718285025007
[]
no_license
monaghrp/600ocwHW7
d7ada690fa0a39d42232fdd78e8c59e73acc3892
72ae49e117e0bc7598dd3930c49633eb8f45a6b9
refs/heads/master
2016-09-05T10:42:43.980103
2013-08-08T20:14:19
2013-08-08T20:14:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
648
py
## 1.1 1/8 ## 1.2. 1/8 ## 1.3. 3/8 ## 1.4. 1/2 ## 2. 6*(1/6)^5 import random count=[] random.seed() iterations=10000 trials=100 for i in xrange(0,trials): count.append(0) for j in xrange(0,trials): for i in xrange(0,iterations): d1=random.randint(1,6) d2=random.randint(1,6) d3=random.ra...
[ "ryan_p_monaghan@hotmail.com" ]
ryan_p_monaghan@hotmail.com
ec032a5a668893cd894d1edf47f1f8f00cfef317
d9f868545ccfc628ac89c1d654c6baa7fd15d201
/Samples/Core/LearningWithEmbeddedPython/Data/demo_init.py
70af4a39e5c6c3997d0a8fe959af8cfd2b05d5b0
[]
no_license
bingbin83/DDGI-1
88fc0e5b8baed07ce940486b73cf4ee02610b871
cc8b6b8194ff4473cdf21f72754a103cd6f8526d
refs/heads/master
2022-04-01T18:06:45.337480
2020-01-16T16:11:16
2020-01-16T16:11:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,296
py
#*************************************************************************** # Copyright (c) 2017, NVIDIA CORPORATION. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # * Redistributions of...
[ "guoxx@me.com" ]
guoxx@me.com
8ab8b6ab34a49d1936eb7cb2cdfa1fa2034968d1
2b42b40ae2e84b438146003bf231532973f1081d
/spec/mgm4459225.3.spec
bae40e140f22b81e61c4e43270ce074687df979f
[]
no_license
MG-RAST/mtf
0ea0ebd0c0eb18ec6711e30de7cc336bdae7215a
e2ddb3b145068f22808ef43e2bbbbaeec7abccff
refs/heads/master
2020-05-20T15:32:04.334532
2012-03-05T09:51:49
2012-03-05T09:51:49
3,625,755
0
1
null
null
null
null
UTF-8
Python
false
false
14,687
spec
{ "id": "mgm4459225.3", "metadata": { "mgm4459225.3.metadata.json": { "format": "json", "provider": "metagenomics.anl.gov" } }, "providers": { "metagenomics.anl.gov": { "files": { "100.preprocess.info": { ...
[ "jared.wilkening@gmail.com" ]
jared.wilkening@gmail.com