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
3c4dab7d2ca28e85d07d217a14632ebd048a5d15
6c507cccc6c13cbd37298be2f70d7c8e92356ea9
/master_content_server/util_baseconvert.py
606661a5ffcaf89ebe07740b35edbc993c666581
[]
no_license
kuroneko/harem
309a3d53fc6a518001c9c330e3fae04a41926c5e
c9223e19af03dc1a89416f104760aa983119f396
refs/heads/master
2021-05-29T00:39:41.001286
2011-05-21T23:04:37
2011-05-21T23:04:37
105,629,747
0
0
null
2017-10-03T08:30:41
2017-10-03T08:30:41
null
UTF-8
Python
false
false
2,325
py
#!/usr/bin/python from util_regexes import * BASE10_DIGITS = "0123456789" BASE16_DIGITS = "0123456789abcdef" BASE32_DIGITS = "ABCDEFGHIJKLMNOPQRSTUVWXYZ234567" def convert(number, fromdigits, todigits): """Convert between arbitrary base systems Written by Drew Pettula Stolen from http://aspn.activestate.com/ASPN...
[ "barneydesmond@gmail.com" ]
barneydesmond@gmail.com
ec17d4bbeae0f09559c5cd94e053a2b20e0e9816
f0b8ebdabbc59d4c4214a79b44012a06a0c0c2fc
/hu-django-ucars/wsgi.py
28b6fe2fc6752d12bcabb7c49346b3f8cbcc89a6
[]
no_license
devashishsharma2302/react-native-ucars-django
84e802c0da54fe81509d9a85d9dd5f20892bd9d5
7367c7b793cbfcccef29484ca46e99fa220c8af4
refs/heads/master
2021-01-24T04:20:29.223617
2018-02-26T08:16:44
2018-02-26T08:16:44
122,933,841
0
0
null
null
null
null
UTF-8
Python
false
false
388
py
""" WSGI config for hu-django-ucars 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/1.9/howto/deployment/wsgi/ """ from __future__ import unicode_literals, absolute_import import os from django.core.wsgi ...
[ "devashish.sharma@hashedin.com" ]
devashish.sharma@hashedin.com
779b93eeb337db3efee9f8b78f0c98238b233ba8
177f2ddeca7e15351675035fc10307cf390e6311
/baekjoon/1011.py
b35e9466a2e3362d5dbd779fa26d0cb4df704429
[]
no_license
kokospapa8/algorithm-training
8e15fcf46b0f7aaba2a5210209376ae2aacd8107
6e1f6a45c1787c98f2cc2add10a7df22b449c6ea
refs/heads/master
2022-10-02T08:12:19.426555
2020-06-04T10:10:30
2020-06-04T10:10:30
257,132,701
1
0
null
null
null
null
UTF-8
Python
false
false
319
py
T = int(input()) for _ in range(T): start, end = map(int, input().split()) diff = end - start i = 0 if diff == 1: print(1) else: while diff > 0 : i += 1 diff -= 2*i if diff <= 0: print(2 * i) break elif diff <= i+1: print(i*2+1) break
[ "noreply@github.com" ]
noreply@github.com
800ae8c3497f1292df90b472c2dc120c814fe11b
3db346853b87783974fde9996c2cd1ee47e66e06
/src/azure-cli-core/azure/cli/core/aaz/_operation.py
030d217962260ac4d93824a8c8c945de16ee04a1
[ "BSD-3-Clause", "LGPL-2.0-or-later", "GPL-1.0-or-later", "MPL-2.0", "Apache-2.0", "BSD-2-Clause", "LGPL-2.1-only", "MIT", "LGPL-2.1-or-later" ]
permissive
ravgill/azure-cli
048669167c79fdd9f1cbfa71fa7819ca919bb12c
7fb136ef8e00713ed0a9cb3549c7e0bdd73896ac
refs/heads/dev
2022-05-27T13:15:37.157405
2022-05-17T18:23:38
2022-05-17T18:23:38
241,434,913
0
0
MIT
2020-04-29T00:37:34
2020-02-18T18:20:48
null
UTF-8
Python
false
false
10,631
py
# -------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # --------------------------------------------------------------------...
[ "noreply@github.com" ]
noreply@github.com
5559ff3b8d6a987f15d3f19068b4c475668a7461
a07ed3f4984e8153219ef25927a5784c127f43a4
/arp_spoof/venv/bin/easy_install-3.7
bb94d94b031d29105f2a3d2e40ac4cab54a11736
[]
no_license
golan1202/Hacking-with-Python
939333b4e86669527f2ccf846caa49601fc05848
98e0b1fef562d64b3e6ec8eab90ed75fb8c3f221
refs/heads/master
2020-08-21T23:41:08.979455
2019-10-19T21:31:11
2019-10-19T21:31:11
216,272,690
1
0
null
null
null
null
UTF-8
Python
false
false
443
7
#!/root/PycharmProjects/arp_spoof/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==40.8.0','console_scripts','easy_install-3.7' __requires__ = 'setuptools==40.8.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', ''...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
bf1bc1181dc1398baa365c64081544531a19ba5c
b4a3ffb862a206a4c7b9783e1643340b01032380
/getzip.py
7de2b299194a80a20e8907ec7e136ca6801a151b
[]
no_license
tanawootc/demopython
6bb3073078849429782ca863245e398b316f3727
470882271057f1c8e5d0d3f55676accdf2cf9e6e
refs/heads/master
2023-01-02T13:20:57.909091
2020-10-27T14:20:33
2020-10-27T14:20:33
307,615,528
0
0
null
null
null
null
UTF-8
Python
false
false
116
py
import zipfile zf=zipfile.ZipFile('demo.zip',mode='w') zf.write('datatext.txt') zf.write('demofile2.txt') zf.close
[ "fr302_kmutt@hotmail.com" ]
fr302_kmutt@hotmail.com
fd9d52245c2475ab33497efb7eb09727eba3a3fc
7b20c0c6013735aa11bf6a8d1886e1bf5b6244fd
/database/models.py
aedfcd94e3d68c3221761a229b48191650906547
[]
no_license
strategy155/SwadeshRocks
04779dabf57c006c5bcf29eb2949faa84badaabb
f338f11922110414cf59e51f9e9a8e60faa42a33
refs/heads/master
2020-04-06T04:52:57.326865
2016-11-13T15:46:08
2016-11-13T15:46:08
73,625,458
0
0
null
null
null
null
UTF-8
Python
false
false
801
py
from sqlalchemy import Column, Integer, String from wtforms import Form, StringField, PasswordField, validators from database_initialization import Base class User(Base): __tablename__ = 'users' id = Column(Integer, primary_key=True) name = Column(String(50), unique=True) password = Column(String(50)...
[ "strategy155@gmail.com" ]
strategy155@gmail.com
a735fb37aaa2be26ab8d3c81503489d6f048bf9e
e0d1f9bcb34758b0cbaa6a32e477e18553f47d25
/flapper-news/node_modules/mongoose/node_modules/mongodb/node_modules/bson/build/config.gypi
bc68d6129165c638043ce33468f0fca07168327f
[ "Apache-2.0", "MIT" ]
permissive
ChrisLai/thinkster_mean_tutorial
fd2a93627aa9f0defeb7b7a7b58a8340433c57bf
1a3e4dba3b063a2a0bc2a7a289a5275d5fcfc46f
refs/heads/master
2020-12-24T17:26:28.613865
2015-01-30T20:19:03
2015-01-30T20:19:03
29,829,048
0
0
null
null
null
null
UTF-8
Python
false
false
3,231
gypi
# Do not edit. File was generated by node-gyp's "configure" step { "target_defaults": { "cflags": [], "default_configuration": "Release", "defines": [], "include_dirs": [], "libraries": [] }, "variables": { "clang": 1, "host_arch": "x64", "node_install_npm": "false", "node_pref...
[ "chrislai@vt.edu" ]
chrislai@vt.edu
a34d3f91763e03f91981e736cd01e8e95ff7086e
1d71f8dd253daf35031ca3a8303aed6e8f6389b4
/conditional-operators.py
fc7d9a670995c498efda6f10b5f5e8e604dcb531
[]
no_license
Kandy-Hamisi/Python-Projects
87944e60257bb0394959d7e864c1a8e137eba026
38493eb4b8fc5c6ef5c518358c292b5726b754ce
refs/heads/main
2023-03-25T12:51:09.105723
2021-03-28T21:02:11
2021-03-28T21:02:11
342,692,555
0
0
null
null
null
null
UTF-8
Python
false
false
240
py
# Check if user is eligible for loan # not logical operators convert what is true to false and what is false to true has_high_income = False has_good_credit = True if has_high_income or has_good_credit: print("Eligible for loan")
[ "hkandy2000@gmail.com" ]
hkandy2000@gmail.com
c049cf04be0858d3c73c14db381bc8813f8d8642
bedd4710a59869f35bf1277cb5985973990caa23
/woocommerceArtikli.py
caed7b5989e8412689ceb69f52aae8ce488e4fc3
[]
no_license
outlawbl/pantheonWordpressConnector
c5b3115db982006871c6d4cc02fa8d95502a5245
e0bc28f86cda638929e5a8cf145310e7f1a66135
refs/heads/master
2023-07-28T02:43:39.191611
2021-07-12T13:46:48
2021-07-12T13:46:48
345,086,050
0
0
null
2021-07-12T13:46:49
2021-03-06T12:16:21
Python
UTF-8
Python
false
false
1,091
py
from connections import wcapi import pprint # # Woocommerce artikli # ukupno_stranica_artikala = wcapi.get("products?per_page=100").headers['X-WP-TotalPages'] page = 1 woocommerce_artikli = [] while page < int(ukupno_stranica_artikala)+1: artikli = wcapi.get("products", params={"per_page": 100, 'page':page}).jso...
[ "sandro.peric90@gmail.com" ]
sandro.peric90@gmail.com
2087c2bd762deafca1193784d35bf38c7003b32a
a96b2a749bba4b278e5bb5113ba4015c404c1924
/server/errors/room.py
eba871c69d7e15b684ed7f72c0fbafaf84209f2c
[]
no_license
barthap/ChatRooms
0a0b1c8e791cd32f47e18d44f0d60b95a46640c0
b9bf8b0e982b9d9c495a715fd70abab3c372fe5c
refs/heads/main
2023-06-07T16:05:51.732748
2021-06-28T18:24:28
2021-06-28T18:24:28
359,367,017
0
0
null
null
null
null
UTF-8
Python
false
false
329
py
from errors.api import ApiError class RoomAlreadyExistsError(ApiError): def __init__(self, payload=None): super().__init__('room_already_exists', status_code=400, payload=payload) class RoomNotFoundError(ApiError): def __init__(self, payload): super().__init__('room_not_found', status_code=404, payload=...
[ "noreply@github.com" ]
noreply@github.com
ad1209ffeec1852a66aebad75571ab1926989861
a4bcfc59bc5a0f0f1d241e569b0ad1cbdb8d4406
/task8.py
3feda9784229f665cc4317d3bb1074436d6df6e2
[]
no_license
umang2107/Daily-Practicals
a4d8353ef739cc60214a57f893a591aeb19b0dc5
dcc1d363e5456a3fee6eecba93085a3aafb34509
refs/heads/main
2023-06-02T17:35:54.456231
2021-06-11T09:35:56
2021-06-11T09:35:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
185
py
a = int(input("enter first no : ")) b = int(input("enter second no : ")) if a<b: print("{} is smallest number : ".format(a)) if b<a: print("{} is smallest number. ".format(b))
[ "noreply@github.com" ]
noreply@github.com
5374d65830897d4758ddd2f4c56fcd91af1be102
8eaf5c962e0f3d4422c1e7e398d43dc12d95bda0
/env/bin/easy_install
78be6c8646f8042a9521706a3c47a10875697af5
[]
no_license
travelplanner2k17/TravelPlan
96cb695c4e5a4fb7e65362598fb7c549d0fb95e3
920916cc3c6042c4af26858ff7f924b68960b21c
refs/heads/master
2021-01-18T16:47:18.186128
2017-04-09T23:32:16
2017-04-09T23:32:16
86,767,542
0
0
null
null
null
null
UTF-8
Python
false
false
265
#!/home/chezl/Documents/TravelPlan/env/bin/python # -*- 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())
[ "ezlvansa_myxc002@yahoo.com" ]
ezlvansa_myxc002@yahoo.com
6a54944f6cac5bfda15f8a6c9b8a83b38f820830
d11869516241dca08eba5db8924a779f689852f5
/models/company.py
60ca4092f9071b3d851f217a1fc456c99ad41719
[]
no_license
andriy-sa/Flask-Rest-Api
1002bce98f013445ee031dac58a875a9334a3599
5b0347ed59b8f4b88340f9b20d226c004083e3a6
refs/heads/master
2021-07-04T06:15:30.337343
2017-10-27T09:42:17
2017-10-27T09:42:17
79,466,263
3
0
null
2021-06-01T21:55:06
2017-01-19T15:22:52
JavaScript
UTF-8
Python
false
false
331
py
from orator import Model from models import user,project from orator.orm import has_many class Company(Model): __fillable__ = ['name', 'address', 'logo'] @has_many('company_id', 'id') def users(self): return user.User @has_many('company_id', 'id') def projects(self): return proje...
[ "andriy_smolyar_0@mail.ru" ]
andriy_smolyar_0@mail.ru
d2b4615c57859b3493f75cacb02165af03d4e7d8
48dc878f009c7c1546cc359b1bf7617f4f10b0ca
/backend/restaurants/views.py
627663148e1ddf1ddc38e9d4fda2fb17d997af76
[]
no_license
siam923/kothayki
69577da53c024905c6b6a8d38c4c904a7ed5a692
aec99315d101ffc65fc97967b9a52b59c1751343
refs/heads/main
2023-07-15T19:10:50.721114
2021-08-26T17:07:57
2021-08-26T17:07:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,013
py
from django.shortcuts import render from rest_framework import generics from django_filters.rest_framework import DjangoFilterBackend from .models import (Category, Restaurant, Branch, Food, FoodReview, RestaurantReview, RestaurantYoutubeReview) from .serializers import (CategorySerializer, Restau...
[ "sadman923@gmail.com" ]
sadman923@gmail.com
d258d0409fcb4ccc5af10e6725a17d7e1c7d3880
78d94466432b7ca3d8496f34caf2390cb1690c41
/CleanCSS.py
7f24918abf5d35a4d44dffaeba21d10eebce7481
[]
no_license
datygra/CleanCSS
eeaba8d3930dcb7689ef0a198e3987b55ff8a5b8
c4672e78e9f9db60d1f484751a141249e8e7b2d8
refs/heads/master
2021-05-28T22:44:07.826413
2015-07-20T18:43:14
2015-07-20T18:44:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,408
py
import sublime import sublime_plugin SETTINGS_FILE = "CleanCSS.sublime-settings" settings = {} def indentChar(): return settings.get('indent_string', '\t') def flatten(list, join=-1): result = list if(join != -1): result = [] for item in list: result.append(item) result.append([join]) if(len(result)):...
[ "scott.tolksdorf@gmail.com" ]
scott.tolksdorf@gmail.com
26aded6e7f22ab5080e99b0e2e42fc3d16d9833e
3791647f9a0e8d3ff5113c4da887f8db1923c41c
/program.py
9fee99a5464cd8101f818b4541caf92fd6af4916
[ "MIT" ]
permissive
Varda-star/KIRO-test
c36159f1bef69026c998d89dd4862f8504cf4aa0
15607c1fd2cf88559999c5e458d54ade8caf2775
refs/heads/main
2023-04-23T05:33:46.117825
2021-05-06T14:38:40
2021-05-06T14:38:40
363,720,785
0
0
MIT
2021-05-02T18:38:36
2021-05-02T18:21:50
Python
UTF-8
Python
false
false
1,192
py
class Reseau(object): def __init__(self, list_nodes, distribution): assert len(list_nodes)<=30 assert df_nodes.iloc[distribution, 2]=="distribution" self.list_nodes=list_nodes self.distribution= distribution def add_chain(self,position, node): if len(self.list_nodes)<30...
[ "karel.al-daccache@ensta-paris.fr" ]
karel.al-daccache@ensta-paris.fr
186f01e276d46f067e8ccb38cfe9b1e09aabd9f7
3c8aaef535328f7c4d812cf086a637b27d891752
/interview/pinterest/phone/LC298. Binary Tree Longest Consecutive Sequence.py
c51973eb52f88e73861fa9cf04311db3ff3260f8
[]
no_license
zhangshv123/superjump
9339cd7f5e75d8a94be60d44c752267cc38183d3
7de5f69e6e44ca4e74d75fed2af390b3d2cbd2b9
refs/heads/master
2020-03-20T20:36:34.378950
2019-03-08T04:37:22
2019-03-08T04:37:22
137,696,605
1
0
null
null
null
null
UTF-8
Python
false
false
997
py
写程序前先写好数学公式,搞清楚DFS的定义! local = max(left+1(如果连上), right+1(如果连上),1) global = max(local, globalLeft, globalRight) class Solution(object): def longestConsecutive(self, root): res = self.dfs(root) return res[1] def dfs(self, root): if not root: return 0,0 if not root.left and not root.right: return 1...
[ "zhangshuhan@gmail.com" ]
zhangshuhan@gmail.com
1cff5f088a90f4b42b2e8a062bd122660102fd44
bcbb518ebc8ac2f564ce21d7088e8b073f303f29
/matstat/Lib/site-packages/gradient_utils/multi_node.py
5ad4ff5741deb446dddf75166358b77b9c33f5ac
[]
no_license
Artemon28/PrymatLab2
97e206fd907937c04db0ab5322862701bff25bba
1f5b3aef8d6ddf28dd41d28fd66e7e726f4007d0
refs/heads/master
2023-06-08T15:01:06.442587
2021-06-25T10:44:30
2021-06-25T10:44:30
380,145,425
0
0
null
null
null
null
UTF-8
Python
false
false
644
py
import json import os from gradient_utils.exceptions import ConfigError from gradient_utils.utils import _get_paperspace_tf_config def get_tf_config(): """ Function to prepare TensorFlow config and set os env with proper configuration :raise: ConfigError when there is no configuration for TensorFlow to ...
[ "los28.2001@mail.ru" ]
los28.2001@mail.ru
9ee73a66e5c695fbd6d138dfbb950756b81519dc
c72ed161c76f84a3e19e96f58eac0172a90930c2
/test_backends_yajl2.py
f213bef4777469da2a80e8021888b34229463cd1
[ "BSD-3-Clause" ]
permissive
sakurahilljp/enumjson
e245534c987b8d809852b87fe628961ace0fff59
3d0107fc898ea864179b0ac70043c7c5d5a6f511
refs/heads/master
2020-04-01T18:16:07.779416
2018-10-18T02:07:27
2018-10-18T02:07:27
153,482,007
0
0
null
null
null
null
UTF-8
Python
false
false
872
py
import unittest from io import BytesIO, StringIO from enumjson.backends.yajl2 import basic_parse from enumjson.common import parse JSON = b''' { "docs": [ { "null": null, "boolean": false, "true": true, "false": false, "integer": 0, "double": 0.5, "exponent": 1.0e+2, ...
[ "sakurahilljp@gmail.com" ]
sakurahilljp@gmail.com
baf79a3c208c552b17a1cadce94c36092413fef5
1258bb731d9a87fbe70cea29a1398d337c7a6165
/host/tests.py
ce7f7e0e09add1b5c3cb73cddb0636699d75ea40
[]
no_license
yiluxiangdong/HostManager_v2
8967a1ff459995f7565c1fb93acdd4b39af87bfe
cca95259549ca05eba5938baf00085e33a46e581
refs/heads/master
2020-03-22T11:21:01.641281
2018-07-06T09:46:19
2018-07-06T09:46:19
139,965,354
0
0
null
null
null
null
UTF-8
Python
false
false
225
py
<<<<<<< HEAD from django.test import TestCase # Create your tests here. ======= # -*- coding: utf-8 -*- from django.test import TestCase # Create your tests here. >>>>>>> 自动化测试脚本2018/07/06 17:38:42 更新
[ "2437375168@qq.com" ]
2437375168@qq.com
8da684baf848f23d4ad28aeefc1091d074270ae0
629e7e5c24808ba8fb1cee2bd9567fb4749d8076
/tests/collector/test_response_getter.py
3e344c7dfb948b6e94800531262763d76846a6c0
[ "MIT" ]
permissive
katmratliff/psi-collect
ebab7245ccf8633d0b7524d44f2e2e21d1e30f21
7a553ea03b1120a54e33006907ab853f2a816f29
refs/heads/master
2021-01-06T18:50:18.443460
2020-02-20T22:58:16
2020-02-20T22:58:16
241,447,732
0
0
MIT
2020-02-18T19:23:31
2020-02-18T19:23:31
null
UTF-8
Python
false
false
979
py
from unittest import TestCase import requests from psicollect.collector.response_getter import get_http_response, get_full_content_length class TestResponseGetter(TestCase): def test_generic_response_success(self): self.assertEqual(requests.codes.ok, get_http_response('https://www.google.com/').status_...
[ "noreply@github.com" ]
noreply@github.com
e29113fa1118db2448fd80c7d463f4cae5c86ee7
6b17f15654b953e4b267cb72d7d77c4fe1c7cede
/mysite/settings.py
848b1293e7308848e5636384e5c300166ac97c31
[]
no_license
DenimY/mysite
a41e159852965319ae9fb39dc3ee06c0fafd2ca3
d97c08316773e60ec353feb57e72677b30ea4e5a
refs/heads/master
2021-07-08T14:37:37.641014
2020-09-01T11:19:20
2020-09-01T11:19:20
185,014,312
0
0
null
null
null
null
UTF-8
Python
false
false
3,826
py
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 2.1.5. For more information on this file, see https://docs.djangoproject.com/en/2.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.1/ref/settings/ """ import os # ...
[ "ykm3976@gmail.com" ]
ykm3976@gmail.com
918e58a68fb694ef5432f883db2395f22089eed0
67596a2964cc29c48ca73dd100360a8c80683f64
/HighVoltageSystem.py
2896278059da389fec460ea7ce88ef87a9cc25c2
[]
no_license
alfab3/HVSFinal
1ada84831165c8b1c0e8a2a75db0fae2dabe314d
25280a2d5fc95351994c2a5440a81f0dd53f63ca
refs/heads/master
2022-11-20T05:22:30.956249
2020-07-21T15:21:34
2020-07-21T15:21:34
277,906,087
0
0
null
null
null
null
UTF-8
Python
false
false
888
py
#Main File for High Voltage System #Written by Albert Fabrizi #Version 0.1 #Date: July 10, 2020 from Tkinter import * import Tkinter as tk import time import random mainWindow = Tk() class Window(Frame): def __init__(self, master = None): Frame.__init__(self,master) self.master = master s...
[ "alfabrizi3@gmail.com" ]
alfabrizi3@gmail.com
b91e209c55f1b855d67292bed49e2b3c750cd22a
40298fa8620011276a2d77d8af430c5d5fcf7dee
/app/migrations/0005_auto_20160614_0912.py
11904163fd293be24ba411e06137e44a2cefd61c
[]
no_license
DhawalRank-zz/LibApp
5df0e734114f874bef9adf5d8aaf0bfa7484cb9a
db0711e3accb5b0209fb93f73803c23c3b713a7e
refs/heads/master
2021-09-26T17:44:49.839768
2016-06-29T18:29:12
2016-06-29T18:29:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,113
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.6 on 2016-06-14 13:12 from __future__ import unicode_literals import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('app', '0004_auto_20160611_1448'), ] operations = [ migration...
[ "sojitradhawal@gmail.com" ]
sojitradhawal@gmail.com
92e19f3c4c8b958450ad5aac7c133ded63b1438d
606ac3c56762768b4a971f9db8ed09becfcf7d9b
/base_page.py
487c53da854f4b0c5ba4f34308e5560a1a01d5d5
[]
no_license
Usergaser/pageobjectmodel
fc816b615b01042ca04a553e01bcaadc4f67c784
1cf20826ffc5c214fd49001508b736352edf2bf7
refs/heads/master
2020-08-23T21:31:57.698600
2019-10-26T02:52:33
2019-10-26T02:52:33
216,709,583
0
0
null
null
null
null
UTF-8
Python
false
false
178
py
class BasePage(): def __init__(self, browser, url): self.browser = browser self.url = url def open(self): self.driver.get(self.url)
[ "noreply@github.com" ]
noreply@github.com
0250cd48d5a986100a714a8df43942c520fec8de
b95798134de0a45d1b3ac457bb390eb0eecc6b92
/Exercicios-CursoEmVideo/ex028.py
c4c3db3b851632e02255b1e0fd13ab72d128b743
[ "MIT" ]
permissive
guilhermeerosa/Python
2a807d79bead4793f7d4007f540c2cfb6c41b015
bf15b2abc952e3792d058ae72c157709e113b651
refs/heads/master
2021-05-21T18:20:04.953856
2020-04-15T01:39:24
2020-04-15T01:39:24
252,750,645
0
0
null
null
null
null
UTF-8
Python
false
false
563
py
#Jogo de tentar adivinhar from random import randint from time import sleep #Cabeçalho print('-=-'*19) print('Vou pensar em um numero entre 0 e 5. Tente adivinhar...') print('-=-'*19) #Escolha do jogador escolha = int(input('Escolha um numero: ')) print('PROCESSANDO...') sleep(2) #Escolha do computador comp = randin...
[ "59878498+guilhermeerosa@users.noreply.github.com" ]
59878498+guilhermeerosa@users.noreply.github.com
21ca3a9c270ac746eb64f80c7defd90327f22ee7
e64faca512ba58d84c9e10491c1c0ede23bf98d2
/tools/tg.py
896965f36ea9f3e2b456477bd415057302ef903f
[]
no_license
PooryaSharifi/V
2142164bf7cbebbc906931a1b96a64f2f44ff06e
1ef7f73601a6a301d3410ed63f724492882b7ea3
refs/heads/master
2022-04-26T22:07:06.015500
2020-04-20T04:57:16
2020-04-20T04:57:16
256,737,124
0
1
null
null
null
null
UTF-8
Python
false
false
338
py
from pytg.sender import Sender from pytg.receiver import Receiver import json receiver = Receiver(host="localhost", port=4458) sender = Sender(host="localhost", port=4458) name = sender.contact_add("+989133657623", "+989133657623", "")[0]['print_name'] print(sender.send_msg(name, "hi h hi")) print(sender.send_location...
[ "noreply@github.com" ]
noreply@github.com
1a5046a46a930cf9d22cbf17a710bc92cb6c3580
20035d7de00f51adbfd43b6c08ecc4f651f45ab4
/backend/services/text_similarity/api/controllers/controller.py
4fd4910e225871c2e9b9f23ab1d58a40ab8f5630
[ "MIT" ]
permissive
R-aryan/Text-Similarity-Using-BERT
3f40d2deb8b8b73f5428f47be37662251fa0d436
edba09c0da2b21d50532facc1237c2e7ffae10bd
refs/heads/main
2023-08-07T19:50:13.727391
2021-09-27T06:06:37
2021-09-27T06:06:37
409,261,165
0
0
null
2021-09-27T06:06:38
2021-09-22T15:38:08
Python
UTF-8
Python
false
false
938
py
from flask import Response from flask_restful import Resource from backend.common.util.json import ComplexEncoder from backend.common.util.http_status import HttpStatus import json class Controller(Resource): @staticmethod def response_ok(data): return Response(json.dumps(data, cls=ComplexEncoder),...
[ "aryan.rritesh@gmail.com" ]
aryan.rritesh@gmail.com
7f8902aaa8480c3436e9e2ae8a4b2939aac4883e
587feca15946d0e82a4f31432e0c8bd21c23fcb9
/model/cell.py
27665baf6e35c38ee9a40c655613b92a5201582f
[]
no_license
vanzytay/EMNLP18_DCU
1a3d1e680f540e81542c6c2cb9dd32426b8b5320
91719d04dd910f1a19e77bb08620dd682d8e8598
refs/heads/master
2020-03-27T07:00:49.635823
2019-05-11T04:00:34
2019-05-11T04:00:34
146,156,263
9
0
null
null
null
null
UTF-8
Python
false
false
1,958
py
import tensorflow as tf class DCU_pooling(tf.nn.rnn_cell.RNNCell): def __init__(self, out_fmaps, pool_type, initializer=None, in_dim=None): self.__pool_type = pool_type self.__out_fmaps = out_fmaps if(initializer is None): # initializer = tf.contrib.layers....
[ "vanzytay@gmail.com" ]
vanzytay@gmail.com
365f109ecdc7bef348e0afda449d6ff9c1423a44
0892937e1ef77f110a05042fa49b9178221590a5
/quiz_app/admin.py
c54e0446c5f2b40a946d0f3ec5d7d08897fbfaa7
[]
no_license
dmswl0311/nh_hackathon_quiz
aa2e0cc51db3abe45bdb6aadb96855528a149d63
c4fadf6a9249d6e8ad80d553f8c20a848bdfc851
refs/heads/master
2023-01-29T15:46:22.046038
2020-12-13T13:35:46
2020-12-13T13:35:46
320,609,628
0
0
null
null
null
null
UTF-8
Python
false
false
128
py
from django.contrib import admin from .models import Quiz, OX_Quiz admin.site.register(Quiz) admin.site.register(OX_Quiz)
[ "dmswl_0311@naver.com" ]
dmswl_0311@naver.com
f09be44d1584b164210550d980f760ed311a1611
6c3ff3b5084fd6efde712834e70ece5a8a8d8a41
/mycode/cnn_class_fm_static.py
8a0c85db09fe4e3cdd3479b9ad02929107a40a3d
[]
no_license
shuningfei/sentiment
2fd8a2e11c461bebe320fc5897393cb371c874da
8742adcff38a14d65f026f5132d85dde89b598fe
refs/heads/master
2021-04-28T20:50:43.878302
2018-02-18T08:25:33
2018-02-18T08:25:33
121,932,367
0
0
null
null
null
null
UTF-8
Python
false
false
7,680
py
import sys import numpy as np import tensorflow as tf from sklearn import cross_validation from sklearn.cross_validation import KFold from sklearn import metrics def accuracy(predictions, labels): return (100.0 * np.sum(np.argmax(predictions, 1) == np.argmax(labels, 1)) / predictions.shape[0]) class TextCNN(object)...
[ "zhou@last.cl.uni-heidelberg.de" ]
zhou@last.cl.uni-heidelberg.de
d06ba3a39c1339b3301e652807885c2348d249aa
75f3ddcebb39e1575d0e735090cbafae5bc05140
/setup.py
7d957bf60b9cd3b0c319e27de4efb82b1d33cecc
[ "BSD-3-Clause" ]
permissive
ethen8181/ort_inference
372b548e98f4e6e6e5fde2bf5533a31c6e6273ce
2fdd7fe8479c4b8679f8e809fa2b3846ad96b3fe
refs/heads/main
2023-05-15T07:42:48.247881
2021-06-21T04:30:06
2021-06-21T04:30:06
376,840,702
0
0
null
null
null
null
UTF-8
Python
false
false
4,471
py
# -*- coding: utf-8 -*- import os import sys import subprocess from setuptools import setup, Extension from setuptools.command.build_ext import build_ext # Convert distutils Windows platform specifiers to CMake -A arguments PLAT_TO_CMAKE = { "win32": "Win32", "win-amd64": "x64", "win-arm32": "ARM", "w...
[ "ethen8181@gmail.com" ]
ethen8181@gmail.com
3cb7ca56963e72016dc4ddc901355e89000d6ea0
8d79e742cb632585186cc8af85c29ae6bc6c9903
/numpycolorhistogram.py
b355e823c767914292959a88ca47f34965d3fabc
[]
no_license
HarikaSatyaPreethi/opencv_programms
21ec30d8a25cef53d6af3811a2e91792d4b26634
6615fb6cf8aaec90af8df4f1d081705717b8f999
refs/heads/master
2020-05-01T09:51:50.819639
2019-03-24T12:05:20
2019-03-24T12:05:20
177,409,592
0
0
null
null
null
null
UTF-8
Python
false
false
1,022
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Sun Mar 24 10:44:59 2019 @author: preethi """ import cv2 import matplotlib.pyplot as plt import numpy as np def main(): path = "/home/preethi/Documents/opencv/misc/4.2.07.tiff" img = cv2.imread(path, 1) img = cv2.cvtColor(img, cv2.CO...
[ "satyaganesula461@gmail.com" ]
satyaganesula461@gmail.com
3c44c959852972cb393e665f8a03da163321704e
294d9ee09808404b37781e8504824cb1d277beec
/django_project/migrations/0006_auto_20160616_0211.py
58750c776e030f986bfac401bf58717f8b7633aa
[ "BSD-3-Clause" ]
permissive
kunalsharma05/django-project
8794d788da1782cd9fb5759c98d7e11d14620116
2fb8b5a5e5583518a46d3994a8bf1c48fb531443
refs/heads/master
2020-12-11T04:09:22.279011
2016-08-27T11:38:10
2016-08-27T11:38:10
53,092,671
5
1
null
2016-03-03T23:45:00
2016-03-03T23:45:00
null
UTF-8
Python
false
false
657
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.4 on 2016-06-16 02:11 from __future__ import unicode_literals import datetime from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.sw...
[ "ks05111996@gmail.com" ]
ks05111996@gmail.com
494cf359b8f1efd02f67635b8b12933e562d71b4
c106149cccfac8dd4f05f976253f529b3234828c
/zerver/management/commands/send_realm_reactivation_email.py
39b1dd91a654be9dba3474577f165a89b79bc915
[ "Apache-2.0", "LicenseRef-scancode-free-unknown" ]
permissive
kartikey54/zulip
cc685686af3bc1fbadc9ded260f62f45087df301
e8b44f491f8967823273a6d5acd3d3d376e62b90
refs/heads/master
2021-01-23T02:59:24.396882
2019-10-08T19:46:43
2019-10-08T19:46:43
86,029,881
1
0
Apache-2.0
2019-10-08T19:46:44
2017-03-24T05:16:51
Python
UTF-8
Python
false
false
805
py
from argparse import ArgumentParser from zerver.lib.management import ZulipBaseCommand, CommandError from zerver.lib.send_email import send_email, FromAddress from zerver.lib.actions import do_send_realm_reactivation_email from typing import Any class Command(ZulipBaseCommand): help = """Sends realm reactivatio...
[ "tabbott@zulipchat.com" ]
tabbott@zulipchat.com
4f529ded28f7f66f414f239e601ba06e9f1e7c18
f8d7bf751f5596f46111f52f127a412c50b7c6a4
/mhc2flurry/cluster_parallelism.py
85bc3fc2d6e85625f2cd6c14a123b901ad645de5
[ "Apache-2.0" ]
permissive
luoyuan3316/mhc2flurry
7e9ef790fbceebc34e8f432dc594fc3a12bddab7
914dddfd708801a83615d0cc3d41dd3b19e45919
refs/heads/master
2023-04-16T14:27:36.602561
2021-04-26T14:09:56
2021-04-26T14:09:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,651
py
""" Simple, naive parallel map implementation for HPC clusters. Used for training MHC2flurry models. """ import traceback import sys import os import time import signal import argparse import pickle import subprocess import shutil from .local_parallelism import call_wrapped_kwargs from .class1_affinity_predictor impo...
[ "timodonnell@gmail.com" ]
timodonnell@gmail.com
43f0e39d46526ede0ee5c11c77f503b58a0a0a51
c18f069ad374d8b72ff874aebcd6781a08c3f126
/train_context_nogeo.py
b702dcbbcc3e53e7850fa415b7871d210aae320a
[]
no_license
gongshuai1/layout2img
26e036f29e0435c29802ff14056d8aaef9207b75
c915f15a571d672973ec5722a7711988b70d2bb2
refs/heads/main
2023-03-31T16:00:11.865293
2021-04-09T14:43:08
2021-04-09T14:43:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,783
py
import argparse import os import pickle import time import datetime import numpy as np import torch import torch.nn as nn import torch.nn.functional as F import torchvision.transforms as transforms from tensorboardX import SummaryWriter from torchvision.utils import make_grid from utils.util import * from data.cocostu...
[ "liao@cvddl.tnt.uni-hannover.de" ]
liao@cvddl.tnt.uni-hannover.de
b4224a70225760c2e0f7daf3350469ca47dd7457
4851a19e87b7fe6bce24472aff1165328eca0197
/matchlogs/2012/brewerylog_8eme_wheels_team-defaite-25-34.py
164c5fb1ab502f81752ee2bcbc602c6f0c9a4885
[]
no_license
alberthier/bhware
771decb0c0f163f4d147dc31f2abd9d03a768094
6a34f546667234aa2d1a2df51490e2f889ed950c
refs/heads/master
2021-01-18T17:18:48.255703
2014-09-21T21:23:36
2014-09-21T21:23:36
24,302,862
2
0
null
null
null
null
UTF-8
Python
false
false
460,822
py
#!/usr/bin/env python # encoding: utf-8 from packets import * from trajectory import * log = [] if __name__ == '__main__': def l(line): print(line) else: def l(line): global log log.append(line) l(['0.00','ARM','# Logging to \'brewerylog_0000.py\'']) l(['3.52','ARM','# Pathfinding C ...
[ "eric.alber@gmail.com" ]
eric.alber@gmail.com
a510b14f7242bb8df70c4f967feaeb496fcedd09
7dd7766c588e201fe4494a3ac37a22820a4eff8e
/leetcode/backtrack/39.py
8aaa1953d0c320068ade782d0330d5281165dc1b
[]
no_license
YutingYao/leetcode-3
428aef96e8ceea2f86c6968977a48e92a4a52eda
e5b680db40de95f8f4b47e9b399942369c2081d9
refs/heads/main
2023-07-14T05:49:40.024579
2021-08-18T02:17:54
2021-08-18T02:17:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
662
py
class Solution: def combinationSum(self, candidates: List[int], target: int) -> List[List[int]]: ret=[] path=[] def back_track(nums,i_start,sum_): for i in range(i_start,len(nums)): if sum_+nums[i]>target:#剪枝 continue sum_+=nu...
[ "lan1106628183@163.com" ]
lan1106628183@163.com
76b1e3ade70f817101de3bceff2829859a449e4e
b4c28049f1e3bc367d523f84f3816178e9e1d468
/20160302.py
28db3ba1865577c25308fb9e72d40826343e0d62
[ "MIT" ]
permissive
JaeGyu/PythonEx_1
5f602274727722ddc352fcdd7b5f41b73d8aa784
e67053db6ca7431c3dd66351c190c53229e3f141
refs/heads/master
2020-05-22T05:43:59.902893
2017-09-02T06:54:57
2017-09-02T06:54:57
50,916,308
0
0
null
null
null
null
UTF-8
Python
false
false
108
py
#_*_ coding: utf-8 _*_ l = [1,2,3,4,5] print type(l) print 2/4.0 print 2//4.0 #부동소수점 나눗셈
[ "jpmlyr@gmail.com" ]
jpmlyr@gmail.com
20b505302e96a24101b5c519ac5bb17b2693001c
4886150d525b393a4484b9f03441504a3d7273e1
/projeto/core/urls.py
c46d8a3df4d2a3894c64c301d12536289ac82fbe
[]
no_license
ricardocappi/estoque
76445e993a5fa465e8689db19bdc5c49e01a2b52
b45520e0548c9d5901df60dcf92e0de79d1ae622
refs/heads/master
2020-07-06T12:51:32.056490
2019-08-22T17:45:35
2019-08-22T17:45:35
203,023,458
0
0
null
null
null
null
UTF-8
Python
false
false
141
py
from django.urls import path from projeto.core import views as v app_name = 'core' urlpatterns = [ path('', v.index, name='index'), ]
[ "53310222+ricardocappi@users.noreply.github.com" ]
53310222+ricardocappi@users.noreply.github.com
fc2b5985f306eff0e9e64b4deb94bf8d97ef66a2
19ee1238762daa7ebb2850920a33bdf19731826f
/download_sanguo.py
c6d03e101cfc88c732f1aaba4268bd87d66c9207
[]
no_license
JeremyCCHsu/LM-Ch-Classic-Lit
432be0fb27923df018cb1dd0630d602404b720d6
058637b99343337014c2003245b826308f1d4eaf
refs/heads/master
2020-06-23T10:45:00.006437
2016-11-24T10:24:09
2016-11-24T10:24:09
74,654,138
0
0
null
null
null
null
UTF-8
Python
false
false
2,162
py
# coding=utf-8 # This script is best suited for http://ctext.org # (Notice: the website actually prevents automatic downloading, so plz watch out.) # # I've been banned for downloading it. = = # Maybe I can fake a browser? # http://stackoverflow.com/questions/27652543/how-to-use-python-requests-to-fake-a-br...
[ "jeremycchsu@gmail.com" ]
jeremycchsu@gmail.com
b6863dd1e133f2d14e1c1aaa6a43917d8b01e00e
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/synthetic/tree-big-3429.py
7e35c22deed3fcb33f0fb8c3ea44a31bea95a86c
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
23,289
py
# Binary-search trees class TreeNode(object): value:int = 0 left:"TreeNode" = None right:"TreeNode" = None def insert(self:"TreeNode", x:int) -> bool: if x < self.value: if self.left is None: self.left = makeNode(x) return True else: ...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
db1e8d92f5dfca32278c16d8c186b9171a3ab0d3
ffb867563db50377779e7caa36e65659e2ac247c
/Sample_Application/shserver.py
d78365732e8d55f0979458b81a66fb6f05d1c31d
[]
no_license
abharga997/networks_p1
629a0f07220734eaac33e3e0a02ad7ab7eda5b1b
9cbbff6fe93c50599bf3e93cb42b919e08606ee6
refs/heads/main
2023-03-25T05:45:02.452397
2021-03-17T05:17:12
2021-03-17T05:17:12
347,533,357
0
0
null
null
null
null
UTF-8
Python
false
false
872
py
''' Created on Feb 19, 2021 @author: nigel ''' from message import Message from shprotocol import SHProtocol class SHServer(object): ''' classdocs ''' def __init__(self, s: SHProtocol): ''' Constructor ''' self._shp = s def run(self): mr = self._...
[ "noreply@github.com" ]
noreply@github.com
4e9b3ace17e6ece9ef68fe352bc38da33460c815
72aa6fdcc0efbba77964695c59234c5b0d521cd0
/is_bst_hard.py
1b9888dc6cbe6dfac053afd5d3c92a08ef7798f7
[]
no_license
manishkumar2409/UCSDx-ALGS201x
43510bc61f2476e18db3a2d091e37fe1340931a5
79fe0a9871619e5f77deaeda7608c3fea261bb31
refs/heads/master
2022-02-15T06:56:06.841898
2019-07-31T04:36:42
2019-07-31T04:36:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,347
py
#!/usr/bin/python3 import sys, threading sys.setrecursionlimit(10**7) # max depth of recursion threading.stack_size(2**27) # new thread will get stack of such size class Node: def __init__(self, key, left, right): self.key = key self.left = left self.right = right def IsBinarySearchTree(tree, nod...
[ "noreply@github.com" ]
noreply@github.com
f3e1ff8030f9090e706621f56d4f9b61a23e8428
5453f2006363fb4986eb9b9f39b3e1556e34198d
/Profanity editor.py
bd4cbfa85ac66404af33413162fb59faf3c8e02d
[]
no_license
patialashahi31/Full-stack-development
c3edc88e2f1ecf6b1c534076d12e4a015a4744ae
6f633a1237acb6195b03811fc281fbf1572cea6f
refs/heads/master
2020-11-25T18:01:30.306477
2019-12-21T11:18:31
2019-12-21T11:18:31
228,783,880
0
0
null
null
null
null
UTF-8
Python
false
false
374
py
import urllib.request def read_from_file(): quotes = open("quotes.txt") contents = quotes.read() print(contents) profanity(contents) quotes.close() def profanity(text): connection = urllib.request.urlopen("http://www.wdylike.appspot.com/?q=" + text) output = connection.read() p...
[ "tejinderpals31@gmail.com" ]
tejinderpals31@gmail.com
0eb4a0c97dea695c5c933c1cd51d8256ab1b8812
31adcb624cdb5c5ad86d3245e5f6216c98ee191d
/Post.py
ed4474a21a6994ad9c9588354e0ebec3b886b011
[]
no_license
DonHaul/ig-automation-data
b9f18ed02642ee6a8d88e8cda78831b87e15fbd8
35f80468520173e0396a77c78fc52531a10f82ad
refs/heads/master
2021-04-19T13:15:17.915671
2020-04-11T20:12:22
2020-04-11T20:12:22
249,607,078
0
0
null
null
null
null
UTF-8
Python
false
false
1,406
py
# coding: utf-8 # In[8]: # -*- coding: utf-8 -*- import sys import pandas import csv import postselenium as ps import hashtags import FileIO #location of spread path = "D:/User/Desktop/Insta/Posts.xlsx" #append in end of description description_end = '''👉 Segue @bolsos_cheios 👈\n👇 Menciona alguém que precise ...
[ "ramiro.animus@gmail.com" ]
ramiro.animus@gmail.com
fb588a29ad13110bfe5be22b2eca5aff80ed72bc
51bab842d885e6d5e6dc0892522ed8ce82f2be9d
/src/picktrue/sites/abstract.py
ca470e6512e31356d37569ab9e178342d9c4e097
[ "MIT" ]
permissive
winkidney/PickTrue
d941e5e9eb420f4a80bd0bbe1c06a0ab8ff3c861
772b105e4de3852bba41369221f47b8480bf1070
refs/heads/master
2023-03-12T01:40:54.780845
2023-03-10T17:23:55
2023-03-10T17:23:55
144,246,340
146
16
MIT
2020-07-24T13:02:24
2018-08-10T06:32:10
Python
UTF-8
Python
false
false
2,353
py
import os from pathlib import Path import requests from picktrue.meta import UA, ImageItem from picktrue.utils import retry def normalize_proxy_string(proxy): if 'socks5' in proxy: if 'socks5h' not in proxy: proxy = proxy.replace('socks5', 'socks5h') return proxy def get_proxy(proxy_st...
[ "winkidney@gmail.com" ]
winkidney@gmail.com
0e5af4515f9dd1ee176f5f268a129a8ba12e2054
fd90b21abac646fa6b4d2ac3b352c1f964ebb0c9
/Sorting/merge_sorted_arrays.py
9f48040b665b03dd1999ecb86b83c15b80f95a45
[]
no_license
abhi55555/dsPrograms
fe3ef661fc43754d1ba5635029d1e8052facf4c2
c2841bbf60c5a22bb68895927b63fc9a6ee1510e
refs/heads/master
2021-07-20T12:40:46.138181
2020-06-07T14:26:19
2020-06-07T14:26:19
180,559,748
0
0
null
null
null
null
UTF-8
Python
false
false
738
py
# merge two sorted arrays such that new array is sorted. def mergeArrays(arr1, arr2, n1, n2): arr3 = [None] * (n1 + n2) i = 0 j = 0 k = 0 while i < n1 and j < n2: if arr1[i] < arr2[j]: arr3[k] = arr1[i] k = k + 1 i = i + 1 else: arr...
[ "33001714+abhi55555@users.noreply.github.com" ]
33001714+abhi55555@users.noreply.github.com
86b3f83929f79a52ee1fe3868ff4b89ab6361197
05a7108e234e2af2b5261b512d62414ef329f4d2
/main.py
b1d0b200f289ad8bd9544e637200ebe30819f612
[]
no_license
manshul1807/Mean_Variance_Standard_Dev_Calculator
41582a20aefda06655c5894927c7eae69371b1c5
00030b500a92687284acfff98d9108b5e2426fee
refs/heads/master
2022-10-23T23:21:55.128205
2020-06-18T19:36:30
2020-06-18T19:36:30
273,324,528
1
0
null
null
null
null
UTF-8
Python
false
false
246
py
# This entrypoint file to be used in development. Start by reading README.md import mean_var_std from unittest import main print(mean_var_std.calculate([0,1,2,3,4,5,6,7,8])) # Run unit tests automatically main(module='test_module', exit=False)
[ "noreply@github.com" ]
noreply@github.com
35dfc784fce1e1f84a5c902dfaad6aa13b45a15b
b7f9d32bfd0ba147182a880de9b257355d3bc945
/pyedi/grammar/jsonnocheck.py
28444610964efc57bb6f31665ff2ce012f9fe561
[]
no_license
jedrus2000/pyedi
25cbb930d854e0dbe79d251b3215040c978410b2
b5d291c5f8565137bb845835c8fe439730b2f2c7
refs/heads/master
2020-04-12T09:15:58.802275
2018-12-19T07:16:55
2018-12-19T07:16:55
162,396,916
1
0
null
null
null
null
UTF-8
Python
false
false
1,690
py
""" This is modified code of Bots project: http://bots.sourceforge.net/en/index.shtml ttp://bots.readthedocs.io https://github.com/eppye-bots/bots originally created by Henk-Jan Ebbers. This code include also changes from other forks, specially from: https://github.com/bots-edi This project, as origi...
[ "a.barganski@gmail.com" ]
a.barganski@gmail.com
37402bdf9294be291fb39fe8404553f2d0cb5d60
9b5e70bc584a3de594aa18b9144f941a3d644b3c
/Fibonacci.py
0dc6eda5514ecdc38c3022ecd33ff6e4b43c0e7b
[]
no_license
Uservasyl/StartDragons_lesson2
fe3c60822b136bcff521c6ca80e721a015621513
2b9e090a574681c155655a915e8d17f93e3d9da2
refs/heads/master
2020-04-04T10:31:43.992241
2018-11-02T11:37:50
2018-11-02T11:37:50
155,858,119
0
0
null
null
null
null
UTF-8
Python
false
false
590
py
import random # генерація списку Фібоначчі. n = int(input("Введіть довжину списку: \n")) a = 0 b = 1 li = [] N = n * 5 while len(li) < N: c = a + b a = b b = c li.append(c) print(li) # генерація списку довжиною n із списку Фібоначчі. arr = random.sample(li, n) # сортування методом включення for i in ...
[ "vasul1983rost@gmail.com" ]
vasul1983rost@gmail.com
c248e573b83f7eecb70be7d44a886b64a121bb1b
6e87fcaeb1240da844f79509dfbe1b8ca4b2454e
/Django_python/Data Logging server/Logger/Logger/wsgi.py
dc54eca2fab7dfebd2c01bc00cbd1b064e1468de
[]
no_license
alifele/Python
e46eb83427ab55cf20fd21891af537e2780443c0
747ab9e7249042cf6b2dd31276e6f25d8814523c
refs/heads/master
2023-03-17T06:34:53.451566
2023-03-06T02:57:58
2023-03-06T02:57:58
182,303,700
1
0
null
2022-12-08T10:17:12
2019-04-19T17:46:14
Python
UTF-8
Python
false
false
389
py
""" WSGI config for Logger 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.0/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETTIN...
[ "ali.fele@gmail.com" ]
ali.fele@gmail.com
b7fa3343383d68a70e8e9baf430f5abe51b77c52
11064ad7f023a205edc05314baa48563895cb346
/HTB/charenges/pwn/little_tommy/solver.py
f687e304227150b7f07216868a17d066e768853c
[]
no_license
teppi1995/pentest
c38e0e62b39d84ebcd829408b87113ca0f1ee95c
3936b0000e25fdbd576b91796fd5681defabe638
refs/heads/master
2022-05-29T14:16:47.454997
2020-05-03T16:06:37
2020-05-03T16:06:37
257,635,516
0
0
null
null
null
null
UTF-8
Python
false
false
1,245
py
import logging from pwn import * from time import sleep logging.basicConfig(level=logging.INFO, format="%(message)s") #logging.disable(logging.CRITICAL) HOST = "docker.hackthebox.eu" PORT = 31940 def main(): logging.info("***remote exploit ***") logging.info("[*]target host : " + HOST) logging.info("[*]t...
[ "yt1z45dvn2vnca3k1tc7@docomo.ne.jp" ]
yt1z45dvn2vnca3k1tc7@docomo.ne.jp
783203789a9449d2d91d1429e86eb9ea6d46379a
df7602d23dd58cbee98b9b468cc860100e651edc
/src/transformers/models/big_bird/modeling_big_bird.py
67b9bd182c5e6aae61bff263d60af6ef98e857a5
[ "Apache-2.0" ]
permissive
trickstertwo/transformers
0d71caa73d4877504516a445b16f60a153b0f3e8
1ed2ebf60d87ef12bd063c7c58e484e19189c754
refs/heads/master
2023-05-29T22:59:11.023178
2021-06-14T16:44:28
2021-06-14T16:44:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
133,773
py
# coding=utf-8 # Copyright 2021 Google Research and The HuggingFace Inc. team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICE...
[ "noreply@github.com" ]
noreply@github.com
2722c4c0e0ffcce40a0523453b238dfc5d0edec7
40968e634cd94017947b26fae5df8ca33b0576ae
/dssm.py
2e3a744c0e7d07d21f5d841b1a1a900a92305a42
[]
no_license
chungdz/DSSMMind
3164204ddfffae39c8f7658b098a07ef756fe98c
381750287585b767fe917672e95952f0992490b8
refs/heads/master
2023-07-17T11:28:03.794776
2021-09-02T08:06:51
2021-09-02T08:06:51
327,492,851
0
0
null
null
null
null
UTF-8
Python
false
false
2,596
py
import torch import torch.nn as nn import torch.nn.functional as F import torch.optim as optim """ size: (batch_num, (batch_size, trigram_dimension)) e.g.(100, (1024, 30k)) query: Query sample doc_p: Doc Positive sample doc_n1, doc_n2, doc_n3, doc_n4: Doc Negative sample """ class ForwardNet(nn.Module): def __ini...
[ "1033718596@qq.com" ]
1033718596@qq.com
e5fffd0eaacdf7d63176bd4dd1659f28c5b27862
4c0d0d0f2acaaab8f641cdac3cecc306bdd2d4b9
/Keras/KerasXceptionModelClassification.py
f866998be1a5e8cf784365cc0f70360a1d5ba731
[]
no_license
adines/DeepClassificationJ
18f6125598c6523320f3753490079da1207c5de1
9f3bd50f4f4eb564ac83a46e0bdfacf629314157
refs/heads/master
2021-05-10T13:58:00.708598
2018-05-24T07:19:40
2018-05-24T07:19:40
118,496,142
1
0
null
null
null
null
UTF-8
Python
false
false
747
py
import numpy as np from keras.applications.xception import Xception from keras.applications.xception import decode_predictions from keras.applications.xception import preprocess_input from keras.preprocessing import image from Keras import KerasModelClassification class KerasXceptionModelClassification(KerasModelCla...
[ "adrian140793@hotmail.com" ]
adrian140793@hotmail.com
e0ac24619a342a1b4cf7f9e015cbbcec4a3161d4
c9b5f49906e213c0c6edd25c063961b8226b67af
/compression/evaluate.py
a6d3d4e3f36ec271fc6ec3957c65c952d9ea8164
[]
no_license
danielzgsilva/jetson_projects
c481ff505c97ac40089438f34ae24b74e265631c
72ab79a2d4759fe51d107432aa9ff6ce2c728a53
refs/heads/master
2023-01-20T20:22:04.410741
2020-12-01T21:31:07
2020-12-01T21:31:07
294,460,502
0
0
null
null
null
null
UTF-8
Python
false
false
3,723
py
import os #os.environ['CUDA_LAUNCH_BLOCKING']='1' import config import torch import numpy as np from dataloader import TrainDataset, ValidationDataset, DataLoader, get_cifar100_dataset from model import VGGModel, VGGModel_old import time from basisModel import basisModel, display_stats from options import Options ...
[ "danielzgsilva@knights.ucf.edu" ]
danielzgsilva@knights.ucf.edu
6a6330e5e145cce0ae6fac8aad2d84caea5e127a
023da7e3a9307d4f6fe721af79544689c1f6f652
/practice/001/practice003.py
1bea575454a51651a5ff96ff9249f4c5ee40ddee
[]
no_license
fanxingxiao/python-practice
caaaed740927238b97e10ccd7d0a199c75cda98f
6c2a11f284a325057b20a8fb6a4bc5c26ddb178d
refs/heads/master
2020-09-30T22:52:44.512610
2020-06-29T10:49:18
2020-06-29T10:49:18
227,393,246
0
0
null
null
null
null
GB18030
Python
false
false
324
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # 使用*args 和 **kwargs 调用函数 def test_args_kwargs(arg1, arg2, arg3): print("arg1:", arg1) print("arg2:", arg2) print("arg3:", arg3) args = ("two", 3, 5) test_args_kwargs(*args) kwargs = {"arg3": 3, "arg2": "two", "arg1": 5} test_args_kwargs(**kwargs)
[ "v-caimingxin@xiaomi.com" ]
v-caimingxin@xiaomi.com
209d3db6c79ee799511f92208ef8f428a130b3ab
8b18410b8acc6717164c92f09ebcaf4c2d5812e6
/imly/migrations/0014_auto__add_special.py
85bdbf38f033f1de17ce5873a974dd9a771ba5d1
[]
no_license
shekit/imly
1b856873b88f07af2b281fb34c08cb87f9813c6d
69ec51a2ffd9927f20aca52bdb833b79d0e7ddfb
refs/heads/master
2020-12-24T14:27:46.351037
2013-10-31T12:36:40
2013-10-31T12:36:40
39,316,471
0
0
null
null
null
null
UTF-8
Python
false
false
24,442
py
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding model 'Special' db.create_table(u'imly_special', ( (u'id', self.gf('django.db.models.fi...
[ "manish.kansara07@gmail.com" ]
manish.kansara07@gmail.com
685a499dde0f78f0cfc578b2fedf2b09180686a0
e726ea9362257b469a7ec9ec7375304d8e22d6d9
/env/bin/pyjade
666a5f1a6b333b6f3224562b41e40db84eb2d6fe
[]
no_license
abbyoung/malteseofig
2fe993b1affc0501363d74db3fc90604f97c7f72
26b533cc5c10f9afd0302a644ade8d4dad2b84fb
refs/heads/master
2016-09-06T15:32:57.538419
2015-01-30T05:05:52
2015-01-30T05:05:52
30,044,840
0
0
null
null
null
null
UTF-8
Python
false
false
333
#!/Users/Abigail/Desktop/slack_exercise/env/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'pyjade==3.0.0','console_scripts','pyjade' __requires__ = 'pyjade==3.0.0' import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.exit( load_entry_point('pyjade==3.0.0', 'console_scripts', 'pyja...
[ "Abigail@sherry.local" ]
Abigail@sherry.local
28642c224abb07f03d6e3c0002d570ec3095e530
8eab8ab725c2132bb8d090cdb2d23a5f71945249
/virt/Lib/site-packages/stack_data/serializing.py
fb67d2906a1d42c448f6b8f99c6e470900813a01
[ "MIT" ]
permissive
JoaoSevergnini/metalpy
6c88a413a82bc25edd9308b8490a76fae8dd76ca
c2d0098a309b6ce8c756ff840bfb53fb291747b6
refs/heads/main
2023-04-18T17:25:26.474485
2022-09-18T20:44:45
2022-09-18T20:44:45
474,773,752
3
1
MIT
2022-11-03T20:07:50
2022-03-27T22:21:01
Python
UTF-8
Python
false
false
6,441
py
import inspect import logging import sys import traceback from collections import Counter from html import escape as escape_html from types import FrameType, TracebackType from typing import Union, Iterable, List from stack_data import ( style_with_executing_node, Options, Line, FrameInfo, Variable...
[ "joao.a.severgnini@gmail.com" ]
joao.a.severgnini@gmail.com
5a11112058ae007b6764e25e44cccde6c87c2df1
77ab593ed55a6d46b1778f6d41bc70ced3f8cd46
/face_into/face72/see_data.py
f713bea53d21afcdad492cd716761cea8e41e100
[]
no_license
wosxcc/bot
e93b92fbca79a915feb186160f3f72c99218ffcb
c097f5455bc6264c9f778fb72900475963836153
refs/heads/master
2021-06-12T12:43:47.314071
2018-12-14T08:51:43
2018-12-14T08:51:43
128,619,488
7
0
null
null
null
null
UTF-8
Python
false
false
1,321
py
import os import cv2 as cv path_files = 'E:/dectect/dectect/face68' for file in os.listdir(path_files): if (file[-4:]=='.txt'): print(file) img = cv.imread(path_files+'/' + file[:-4]+'.jpg') txt_open = open(path_files+'/' + file) txt_read = txt_open.read() txt_lines =txt...
[ "821022156@qq.com" ]
821022156@qq.com
acc7193169a2e3dd8eeadc50f5a52d3e3ac7d2df
f680782b55a40bd7785e1717712278816058c53a
/Uber/foodtrucks/serializers.py
47ba0461cd249e9dd3e84f6e1b453005e1a6aa97
[]
no_license
lxn2/food-trucks
e9f755550674100af3ec99ee8da894786ea697e5
2f0817aa090fe97cbce642a626b41571e0ac4602
refs/heads/master
2016-08-04T11:44:26.494353
2015-04-05T20:01:40
2015-04-05T20:01:40
33,389,813
0
0
null
null
null
null
UTF-8
Python
false
false
682
py
# AUTHOR: Ly Nguyen from rest_framework import serializers from foodtrucks.models import FoodTrucks, FoodTypes class FoodTypesSerializer(serializers.ModelSerializer): food = serializers.CharField(source='get_food_display') # from FoodTypes human-readable field of FOOD_CHOICES trucks = serializers.StringRelatedField...
[ "nguyenlyx@gmail.com" ]
nguyenlyx@gmail.com
f07fecfbe41fa6f5a0d071a0779023ddd9a066ad
43268854505070471e0911bc0e5b280cadec8601
/modeller9v8/examples/commands/all_hydrogen.py
277f74f956357eaf0efaf2fe95d7ea9c4afac96a
[]
no_license
realbigws/From_CA_to_FullAtom
08621bf350c77e29140051d1af850a51e5fe138f
a59d9fcbc6c1f2bfc5fc2d77da26318c63ac3052
refs/heads/master
2020-05-30T01:37:47.378404
2019-05-30T21:42:45
2019-05-30T21:42:45
189,481,583
2
0
null
null
null
null
UTF-8
Python
false
false
955
py
# This will read a specified atom file, generate all hydrogen atoms, # add atomic radii and charges, and write the model to a PDB file in # the GRASP format. This can be used with GRASP to display electrostatic # properties without assigning charges and radii in GRASP. from modeller import * from modeller.scripts impo...
[ "wangsheng@ttic.edu" ]
wangsheng@ttic.edu
a4dc1709c35ab32f8bc572b3472147be1ce42cfa
a0bbf9631a1425e31175358d03a5bd109e13f477
/sem1/src/lab3/code/lab3.py
e873f3f470916503230d9df4a6f6ab306a9af7d1
[]
no_license
AlexKaravaev/courses
0f5aa8da155706a23adb831ac52e44c160029e33
93273510e34985e02b8d348515ebcabe7f4c105f
refs/heads/master
2020-03-21T17:48:17.352827
2018-07-31T14:17:52
2018-07-31T14:17:52
138,854,938
3
3
null
2018-07-24T13:42:45
2018-06-27T08:49:58
TeX
UTF-8
Python
false
false
919
py
#!/usr/bin/env python3 from ev3dev.ev3 import * from math import copysign import time # settig up the motors and sensor left_motor = LargeMotor('outA') right_motor = LargeMotor('outB') sensor_us = UltrasonicSensor('in1') # distance measurement unit is cm sensor_us.mode = 'US-DIST-CM' dist_goal = 20 # proportional c...
[ "rami.naim2010@yandex.ru" ]
rami.naim2010@yandex.ru
ffbb9886801bc3c1ca30a921c15aa3dbda77da1a
a68712b5aca615b247c9870e1b02957c0e32fc61
/apps/usuarios/views.py
604597495de3d8c2447c3ab7ace4e5a4cdc25716
[]
no_license
rubicarlo/proyecto
ab69b2bfa6e3b8859e2e6c8038d16d1b1788b956
4e9ef3d9f6504714dc0433125200debae64fb2e3
refs/heads/master
2021-08-28T06:16:00.563857
2017-12-11T11:07:35
2017-12-11T11:07:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
499
py
from django.shortcuts import render from django.contrib.auth.forms import UserCreationForm from django.contrib.auth.models import User from django.views.generic import CreateView from django.core.urlresolvers import reverse_lazy from apps.usuarios.forms import RegistroUsuario class RegistroUsuario(CreateView): mo...
[ "rubicarlo@hotmail.com" ]
rubicarlo@hotmail.com
274dfe3cf98ee0c8c4f5c4041476016d8fc6422d
9e3a09b9a1bf582fcc76a4eff3d7fcc5bb623487
/tensorflow/contrib/framework/python/ops/script_ops.py
ff5583a87d002bc5c52edb15855673dc1b5e7ea5
[ "Apache-2.0" ]
permissive
64bitjava/tensorflow
77e09666abc12b1d38d4c28b5edba914b1d2ec64
45e1624f56d26fda05a57599b5597c17c424f8b4
refs/heads/master
2021-01-22T05:43:15.285384
2018-01-16T21:14:25
2018-01-16T21:14:25
92,488,473
1
1
null
2018-01-16T21:14:26
2017-05-26T08:18:30
C++
UTF-8
Python
false
false
5,391
py
# Copyright 2015 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "cais@google.com" ]
cais@google.com
1e8ff115934731286e7476f61001415c1b822adb
1c178f4232964e8f49a946303d3159e8014b9a7d
/web_test/help/selene/shared/hook.py
8cb05707b3f96b62f299555a3d9e4003a1d7f514
[ "MIT" ]
permissive
xcyac/python-web-test
c9be25aece7abd2777991612a9a7761a5713dad5
58000f56d85a32eea0b3837ec61a40b65d8c3ecb
refs/heads/master
2023-07-12T04:59:27.085906
2021-08-15T06:29:33
2021-08-15T06:29:33
396,183,742
0
0
null
null
null
null
UTF-8
Python
false
false
1,302
py
import allure from selene.core.exceptions import TimeoutException from selene.support.shared import browser def attach_snapshots_on_failure(error: TimeoutException) -> Exception: """ An example of selene hook_wait_failure that attaches snapshots to failed test step. It is actually might not needed, be...
[ "xulei22@tal.com" ]
xulei22@tal.com
d14755d8be7c7738a6d2c031925667ece779b05f
137cb759aa0e7596f1b47649db4ba7bbd95b34de
/backend/api/management/commands/settlement_task.py
5dac346feb3e234398eb8bb608aaa71830cc27ee
[ "MIT" ]
permissive
Dynora/eth-payment-channels
cb330495c77531fa84d84d1b23e4ef971e58310a
759944a57181626fec3dc90aecdf5e1ae8a594c4
refs/heads/master
2022-12-12T13:58:08.442546
2019-05-07T09:27:00
2019-05-07T09:27:00
131,702,477
0
1
MIT
2022-08-30T20:21:32
2018-05-01T10:49:01
JavaScript
UTF-8
Python
false
false
3,212
py
from datetime import datetime, timedelta import pytz from django.conf import settings from django.core.management.base import BaseCommand, CommandError from api.models import PaymentChannel from api.utils import get_web3_object, get_contract_object, send_signed_transaction class Command(BaseCommand): help = 'Tas...
[ "arjan@dynora.nl" ]
arjan@dynora.nl
63d5e0a355f86793d55ea7d55b8b1f1112962737
686a2f942e466a9bf7b1c7c03d29dbb303643a20
/TSC_German.py
93e1fd6f6543e8b76819a5fdbe1a811718fac112
[]
no_license
shaxinlei/TrafficSignRecognition
c7c3679181c7f12d53ed470c09805b5b59462525
c335dc413702cd007c1eed60296b0cacc0ff27e2
refs/heads/master
2021-10-09T03:16:45.589457
2018-12-20T14:07:20
2018-12-20T14:07:20
88,011,397
2
0
null
null
null
null
UTF-8
Python
false
false
12,494
py
import csv import random import numpy as np import matplotlib.pyplot as plt import skimage.data import skimage.transform import tensorflow as tf # function for reading the images # arguments: path to the traffic sign data, for example './GTSRB/Training' # returns: list of images, list of corresponding labels def read...
[ "shaxinlei@gmail.com" ]
shaxinlei@gmail.com
0ddf50344dcbe6552a07517025b906e8689cf0ad
bb4f5934e73c5d5b41bee90f0b7531c96b4128d5
/main.py
b052170512ec58d80c7fce4d974050ff27301fd6
[]
no_license
dchavadar/cookieBlog
9e6b203a49004dc883e850dcf0cea6ab58397c86
909c7816bf8ec0c32798d8a5b7623380fe43af52
refs/heads/master
2016-09-14T13:52:44.399781
2016-04-18T11:51:04
2016-04-18T11:51:04
56,499,115
0
0
null
null
null
null
UTF-8
Python
false
false
3,623
py
#!/usr/bin/env python # # Copyright 2007 Google Inc. # # 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...
[ "e145701@ie.u-ryukyu.ac.jp" ]
e145701@ie.u-ryukyu.ac.jp
ed202550c399b038c7bfb0bf2e966d9f0662b5d4
2d05050d0ada29f7680b4df20c10bb85b0530e45
/python/tvm/contrib/tf_op/module.py
bcff2741630c5308254ab8df9ed28a5875b956ff
[ "Apache-2.0", "BSD-3-Clause", "MIT", "LicenseRef-scancode-unknown-license-reference", "Unlicense", "Zlib", "LLVM-exception", "BSD-2-Clause" ]
permissive
apache/tvm
87cb617f9a131fa44e1693303aaddf70e7a4c403
d75083cd97ede706338ab413dbc964009456d01b
refs/heads/main
2023-09-04T11:24:26.263032
2023-09-04T07:26:00
2023-09-04T07:26:00
70,746,484
4,575
1,903
Apache-2.0
2023-09-14T19:06:33
2016-10-12T22:20:28
Python
UTF-8
Python
false
false
4,901
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "noreply@github.com" ]
noreply@github.com
73d44a4621b45f3fc45f7f4bb1d25c04d464346a
3b1e33faed6cc7f663cfb93b9277aaf3faaa8d21
/firstapp/migrations/0001_initial.py
8e9f9a2dd977a7a0e4660910859e33d5e2105868
[ "MIT" ]
permissive
moff4/django-raw-sql
c2aab15cd82f874977568018057dbf71afad2c93
396cf477c7096d6f8ac17c501c6f2a607b7904e0
refs/heads/master
2023-05-24T15:27:14.172604
2021-06-20T09:51:28
2021-06-20T09:51:28
371,930,362
0
0
null
null
null
null
UTF-8
Python
false
false
519
py
# Generated by Django 3.2.3 on 2021-05-28 21:14 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Contact', fields=[ ('id', models.IntegerFie...
[ "a.komissarov@city-mobil.ru" ]
a.komissarov@city-mobil.ru
22705174c565fe970562456cbb66189060b71534
f71dce819dcaac555fb596d7cf67dd9bace75f78
/loclib/bin/django-admin.py
817c09159fc9f1cb9fa737f3e4b5188db189deaf
[ "CC0-1.0" ]
permissive
jspringer/django-library-catalog
6f24a5761d13e447d25641355de8ac00227b6495
ed3c96a678c3b16a4fd2f1dce03afe4465c4577e
refs/heads/master
2023-01-15T19:16:44.095012
2019-06-27T04:02:52
2019-06-27T04:02:52
181,389,081
0
0
CC0-1.0
2022-12-26T20:39:12
2019-04-15T01:06:43
JavaScript
UTF-8
Python
false
false
177
py
#!/Users/j/Development/Projects/django-locallibrary/loclib/bin/python3 from django.core import management if __name__ == "__main__": management.execute_from_command_line()
[ "jsnsprngr@gmail.com" ]
jsnsprngr@gmail.com
9af0ee17ad87c5303e7a84b1cf5702a122cf4675
60f2cec35ff47706420827d359b3a7eacb176715
/lexical_tagger/trie.py
04a6a2dd1b4895d7139bd5c27b24b4968cfba2dd
[]
no_license
dahuerfanov/NER-System
122771d46828931bd0ba1bf2745b239731e17d8e
5ba7c16fb5afcbb130189d0d9e99486c32372486
refs/heads/master
2023-02-27T15:38:04.350890
2021-02-05T00:39:59
2021-02-05T00:39:59
333,581,429
1
0
null
null
null
null
UTF-8
Python
false
false
1,315
py
import numpy as np class Trie: def __init__(self, tagscnt): self.tagscnt = tagscnt self.root = TrieNode(tagscnt) self.maxlen = 0 def add_word(self, w, tag, min_prefix=-1): if min_prefix < 0: min_prefix = len(w) - 1 node = self.root self.maxlen = ma...
[ "dahuerfanov@gmail.com" ]
dahuerfanov@gmail.com
3ff57393ce92ae30f58a4966be8cbeb1900cace3
790e79aa516c024a5f9fadf2932a37e316416617
/blog/migrations/0001_initial.py
cc2e07d6d71c9ce29ecc8c781a3f07d3f7cef44c
[]
no_license
jeannedelaban/my-first-blog
6529af5eec64d44ae43bdeff3a9d7e5884d1aa34
d078913d25009958ffc23fd8e8838d3640a83f88
refs/heads/master
2021-01-20T19:30:44.483606
2016-06-04T15:25:51
2016-06-04T15:25:51
60,417,010
0
0
null
null
null
null
UTF-8
Python
false
false
1,050
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.6 on 2016-06-04 14:07 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): initial = True depen...
[ "jeanne.delaban@yahoo.fr" ]
jeanne.delaban@yahoo.fr
99ff4a6158be8b19c3d930f48b992a4d03a2d9cc
730b1e4b20ae1a7e43e8d8b7276ef7808a4c603a
/randomized.py
2c922bc7e66c37bccd61f5534e03b6a3d13d4b98
[]
no_license
SuperFranklin/central-vertex-random-alg
157bb17a5aa70e7b022ca44757400410471c0cce
e2457e4dcc4a531e3cc1e8c242de64ccd4dfdeae
refs/heads/master
2022-07-25T03:42:27.603477
2020-05-17T12:54:53
2020-05-17T12:54:53
264,665,055
0
0
null
null
null
null
UTF-8
Python
false
false
739
py
from dijkstra import dijkstra import random def findRandomizedCenter(graph): executions = 0 paths = dict() graph.keys() totalMin = 5000 k = random.sample(list(graph.keys()), len(graph)) print(k) for v1 in k: max = 0 l = random.sample(list(graph.keys()), len(graph)) f...
[ "franciszek.slupski@supermemo.com" ]
franciszek.slupski@supermemo.com
4adfee636c7c39e8dbd23fcae6a9ce94429d8329
6875f4f3bcd435bcd66328eee777318be283931c
/food_review_website_ZMH/foodrepublic/reviews/views.py
97c2bab660f159e58bcba71a04e29f1f7c920caf
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
MOMOMOMOMOMOKO/FoodReview
5dcd4e443e5ae7c0c6ae86b42aac88191af1e2b9
589a255908c94263ee472b887b52f3a7c8601d69
refs/heads/master
2020-05-02T11:24:00.157922
2019-07-05T13:58:46
2019-07-05T13:58:46
177,928,027
0
0
null
null
null
null
UTF-8
Python
false
false
4,079
py
from django.shortcuts import get_object_or_404, render from django.http import HttpResponseRedirect from django.core.urlresolvers import reverse from django.contrib.auth.models import User from .models import Review, Food, Cluster from .forms import ReviewForm from .suggestions import update_clusters import datetime ...
[ "noreply@github.com" ]
noreply@github.com
c49e8906d36bc54723cfef8165b3fb60fbfb66c0
f5d6e6e7a01b0c5576357d8b041dfe3dda23a6b4
/assignment/assignment08_Diary3/diaryApp/migrations/0001_initial.py
0ac1208c5d06520fc60bad9e0226e0b3ae2aceab
[]
no_license
soeunkk/2021LikeLion
104937de8a9d0fc60bd3ddbefe8dc0083f0f1e1e
eac8345b2181405a54e91fce62cf88969bccfa1d
refs/heads/master
2023-07-17T02:44:07.135465
2021-08-27T04:27:11
2021-09-08T14:19:50
355,162,132
0
0
null
null
null
null
UTF-8
Python
false
false
572
py
# Generated by Django 3.2.2 on 2021-05-12 19:34 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Diary', fields=[ ('id', models.BigAutoField...
[ "luckyber1@naver.com" ]
luckyber1@naver.com
aff6eb12a9c046c046903c6fa320eeddea843a0f
e216a3e62e57077d40b35ccf50f5dd7cbdc0636a
/hamropasal/urls.py
bd7fd11216716dc06a8cc0cea49b37e32fbdf846
[]
no_license
Gcool05/hamropasal
e7bb16829c0a43c55eb00a811d58d3132f135893
290431f98691639581507879fe4552ee55070071
refs/heads/master
2020-06-18T23:44:13.863827
2016-12-09T03:32:18
2016-12-09T03:32:18
74,934,018
0
0
null
null
null
null
UTF-8
Python
false
false
851
py
"""hamropasal URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.10/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...
[ "gokulbhatt05@gmail.com" ]
gokulbhatt05@gmail.com
d5a2f49110fd363deb27708c646b22143667b47c
5e381364c2ab31ff3618369085afffba6caa8edb
/recipes/xtr/all/conanfile.py
e4caa905f0a2d8e333cbaa86e7345766dda819a1
[ "MIT" ]
permissive
CAMOBAP/conan-center-index
16aea68a6d22da22831ba985773125e8eda08f00
67d57532bdad549fef3fa6cb8fcdfa86bc55e4f1
refs/heads/master
2023-07-30T08:58:57.285571
2021-10-02T14:57:54
2021-10-02T14:57:54
323,262,699
1
0
MIT
2021-05-29T13:37:04
2020-12-21T07:30:02
Python
UTF-8
Python
false
false
3,685
py
from conans import ConanFile, AutoToolsBuildEnvironment, tools from conans.errors import ConanInvalidConfiguration import os class XtrConan(ConanFile): name = "xtr" description = \ "C++ Logging Library for Low-latency or Real-time Environments" topics = ("xtr", "logging", "logger") url = "htt...
[ "noreply@github.com" ]
noreply@github.com
03e2d01099f8601a427ced9e76c0efe84bdc6d95
947af25b72b5b3037443fae3fb22fa3a2f1de363
/nextgisweb_mapserver/mapfile/keyword_tests.py
8857613f74b6be20b27ab8cb8421416a1f7d64c7
[]
no_license
guardeivid/nextgisweb_mapserver
2b527b160b6cb017ae9c6a663e4171783a9c89d2
34376442fe6d56794c32523050ceb338a902228f
refs/heads/master
2020-03-30T02:50:50.893436
2014-04-14T09:19:49
2014-04-14T09:19:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
528
py
# -*- coding: utf-8 -*- from lxml.etree import tostring, fromstring, RelaxNG from .keyword import registry def _test_shema(cls): root = cls.element_schema() root.set('datatypeLibrary', 'http://www.w3.org/2001/XMLSchema-datatypes') xml = tostring(root, pretty_print=True) idx = 1 print '' for...
[ "me@dezhin.net" ]
me@dezhin.net
7f5d989cb77b8fbbb53231f3820afe5b56fbe207
18f0ad99e21e2e35126f8c3c28079d358fa2129a
/SnakeBot/buzzer/code.py
6488f15e023e6bf5709d147c707884478c919297
[ "MIT" ]
permissive
ladyada/Adafruit_Learning_System_Guides
9bf18dfa35941e0cbecbb3c2d02b4fa3cb79744f
6d76801878cbf65132ccea950dc47ae842c73dcd
refs/heads/master
2023-08-20T20:30:42.910576
2022-01-10T20:28:11
2022-01-10T20:28:11
115,837,894
13
2
MIT
2020-03-31T23:23:45
2017-12-31T02:34:47
C
UTF-8
Python
false
false
2,930
py
import time import random from adafruit_crickit import crickit LEFT = False RIGHT = True random.seed(int(time.monotonic())) ss = crickit.seesaw left_wheel = crickit.dc_motor_1 right_wheel = crickit.dc_motor_2 RIGHT_BUMPER = crickit.SIGNAL1 LEFT_BUMPER = crickit.SIGNAL2 CENTER_BUMPER = crickit.SIGNAL3 ss.pin_mode(R...
[ "dastels@daveastels.com" ]
dastels@daveastels.com
6ede63ea5c8ab4b00d2f83e83c5485e6af375642
76e7e5b21d064bdb4c3f1a8e18216197db3c3c6e
/ACMICPC/for/printn.py
7753e780fed20e18d258f132652dad5c15104e54
[]
no_license
googoles/Python_Algorithm
f594314aa51deed31008945843f28192916f1577
80c2c8ef4c4b617e2adea1fdcc6901109d546781
refs/heads/master
2022-12-26T16:30:19.579556
2020-09-11T14:34:31
2020-09-11T14:34:31
240,672,932
2
0
null
null
null
null
UTF-8
Python
false
false
86
py
#N찍기 import sys n = int(sys.stdin.readline()) for i in range(n,0,-1): print(i)
[ "46067507+googoles@users.noreply.github.com" ]
46067507+googoles@users.noreply.github.com
fc27b6e21246822f2402db831f14022ea9ad2764
486875eeaf2bd38b5b38301518864235f8a467ff
/pyvisa_example.py
281a4c9e501c561f7b604c1f4b30b8410576fb12
[]
no_license
DavidUrz/Examples_python
4d1997a5e1f9f2b098708c019d1351876dde8570
3eb153c0c9395e73a7a65d324f029bb2c17806a0
refs/heads/main
2023-04-06T08:22:28.417687
2021-04-21T05:30:12
2021-04-21T05:30:12
359,345,722
0
0
null
null
null
null
UTF-8
Python
false
false
194
py
import pyvisa rm = pyvisa.ResourceManager() rm.list_resources() # ('ASRL1::INSTR', 'ASRL2::INSTR', 'GPIB0::12::INSTR') # inst = rm.open_resource('GPIB0::12::INSTR') # print(inst.query("*IDN?"))
[ "urzua.david@hotmail.com" ]
urzua.david@hotmail.com
e0b18c1f2eaa29f35fc5485ec134be673b0dbbdc
382fdb1a75674b8f881e0c86ed4053c0929415bf
/App_blog/views.py
c8330d25ae429a8769b5e7dcd6d8956dbde32604
[]
no_license
preetisrj/myblog_project
7db480f49b55715cf644703f26d4c7c834b42685
a205d61b04d8ab4ced16e4584a2884cc0a202067
refs/heads/master
2023-05-27T02:29:30.754650
2021-06-16T07:31:27
2021-06-16T07:31:27
377,412,430
1
0
null
null
null
null
UTF-8
Python
false
false
2,975
py
from django.shortcuts import render, HttpResponseRedirect from django.views.generic import CreateView, UpdateView, ListView, DetailView,TemplateView, DeleteView from App_blog.models import Blog, Comment, Likes from django.utils.text import slugify from django.urls import reverse, reverse_lazy from django.contrib.auth.d...
[ "preetisrj@gmail.com" ]
preetisrj@gmail.com
30085ad4b83dedab54382759ab42b36ceb5f7d16
ca83423ad74a40e05dd1008428dda8f15c6d58f4
/check_mfs.py
e32c5957c61af138c437de849a5105ef5867a1e8
[]
no_license
bailu/moosefs_monitor
1155d657d8d7c8f4627b91698549aebd0d7e55c0
8804f02e61a8cbd93c9307c4fcd86f0f2c049dd6
refs/heads/master
2016-09-11T12:41:01.967925
2013-10-18T10:56:19
2013-10-18T10:56:19
13,675,439
5
1
null
null
null
null
UTF-8
Python
false
false
11,568
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import socket import struct import time import traceback import sys import smtplib from email.mime.text import MIMEText from daemon import Daemon #MooseFS 主控服务器配置 masterhost = '127.0.0.1' masterport = 9421 mastername = 'MooseFS' #硬盘容量警告百分比 WARNING_HDD = 90 #重复项通知间隔时间,单位...
[ "hbyl@msn.com" ]
hbyl@msn.com
57efa27138197ad993b30c9bf2cee1211c0c7094
1de663353cdd02e224bd7ea4c341d7072799aad7
/347TopKFrequentElements.py
ea19f41114561380976ab90aa8d8c961908cb743
[]
no_license
huanglin6385/huanglin
ce96102819a352a7435da448747daf34fb5ecf4c
b3d4f0e54c2bf1127817f2c8d126de12cecf1f05
refs/heads/master
2020-12-02T19:22:16.078461
2017-09-14T09:05:17
2017-09-14T09:05:17
96,330,917
0
0
null
null
null
null
UTF-8
Python
false
false
678
py
#62.26 import collections class Solution(object): def topKFrequent(self, nums, k): """ :type nums: List[int] :type k: int :rtype: List[int] """ dict2 = collections.defaultdict(list) dict1 = collections.Counter(nums) for i in dict1: dict2[di...
[ "a940100079@qq.com" ]
a940100079@qq.com
c648558579356a1057328b1ea35bd5e6c1b446a6
d6e9aa31c05dd22857b27353d26a69ed5c472d56
/books/apps/index/migrations/0023_auto_20200709_1752.py
ec260d5a31ad8e1a8ceac84b90c43991f19e6346
[]
no_license
Zhukowych/books
4ac3490c3bdb369c3e524cdc4317b29781af9133
70c785bbb87eaa07958dd70e94caef87ddcea04d
refs/heads/main
2023-02-15T01:27:45.886052
2021-01-06T18:55:47
2021-01-06T18:55:47
324,331,587
0
0
null
null
null
null
UTF-8
Python
false
false
403
py
# Generated by Django 3.0.6 on 2020-07-09 14:52 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('index', '0022_categoryrating'), ] operations = [ migrations.AlterField( model_name='bookrating', name=...
[ "mzmzhuk@gmail.com" ]
mzmzhuk@gmail.com
782097d71247ef434e09cceef0c187f9596170a9
1b66fda82a919e74c036c767e904b415bda02e9a
/app.py
14ef00b7c49a716f2742050e794472e5352d938c
[]
no_license
AloisSeckar/StaraKrc
4ecfd4673364a7b5fd2b98df3c9f78486a087b3e
58392d58c19ff888d4e194780dde2c3841c950bd
refs/heads/master
2023-07-20T04:03:08.579362
2023-07-06T22:35:07
2023-07-06T22:35:07
47,654,601
0
0
null
null
null
null
UTF-8
Python
false
false
283
py
import os # Pokud se settings nachází v /srv/app/moje_aplikace, # bude obsah pro DJANGO_SETTINGS_MODULE: moje_aplikace.settings os.environ.setdefault("DJANGO_SETTINGS_MODULE", "main.settings") from django.core.wsgi import get_wsgi_application application = get_wsgi_application()
[ "ellrohir@seznam.cz" ]
ellrohir@seznam.cz
d23f56d4a1ed9d0c9f17975d7c3dd0e2c236f90d
e93613f33a6bd31d8ce6d24b1ad66d1999234f8c
/session_4/update.py
9445a35abb5a9e2b2c77357a0653c05e233ced5a
[]
no_license
ngocphucdo/ngocphucdo-fundamentals-c4e15
c37e1475d90bd5fcaac28e89bf1c7c3afc0871a1
8ec9fe94d9ac13d37de55ae358fbc3a72b6299fa
refs/heads/master
2021-05-05T15:44:28.427623
2018-01-29T15:59:28
2018-01-29T15:59:28
117,319,509
0
0
null
null
null
null
UTF-8
Python
false
false
130
py
menu = ["Pho", "Thit cho", "Tieu ho"] #list for index, item in enumerate(menu): menu[index] = menu[index].lower() print(menu)
[ "taken.jb@gmail.com" ]
taken.jb@gmail.com
ff805590927202c519ba6fc616a3e63321a66599
15ee95024fa0748f96a64b1c8ff9d58cd7dafece
/boardings_management/identificative_document.py
873ca90ee6fd9ac9a939523e4a8cda83fd906097
[]
no_license
Pexego/addons-va-ca-px
598e7be56dc9db290dda46dcdfd7ab95f584addf
bec77afc343caed7aaff9854097ad002bd1ce264
refs/heads/master
2020-05-07T15:26:44.358072
2014-09-29T16:12:52
2014-09-29T16:12:52
24,601,451
0
1
null
null
null
null
UTF-8
Python
false
false
5,127
py
# -*- coding: utf-8 -*- ############################################################################## # # Copyright (C) 2004-2012 Pexego Sistemas Informáticos All Rights Reserved # $Marta Vázquez Rodríguez$ <marta@pexego.es> # # This program is free software: you can redistribute it and/or modify # it unde...
[ "santiago@pexego.es" ]
santiago@pexego.es
e061f62c09a8e8d7f78c9313d2d96595f9dbd27a
85a9ffeccb64f6159adbd164ff98edf4ac315e33
/pysnmp/RUCKUS-WLAN-MIB.py
0603b37cfd38c7a3260f7fc34fa80689d922e6f4
[ "Apache-2.0" ]
permissive
agustinhenze/mibs.snmplabs.com
5d7d5d4da84424c5f5a1ed2752f5043ae00019fb
1fc5c07860542b89212f4c8ab807057d9a9206c7
refs/heads/master
2020-12-26T12:41:41.132395
2019-08-16T15:51:41
2019-08-16T15:53:57
237,512,469
0
0
Apache-2.0
2020-01-31T20:41:36
2020-01-31T20:41:35
null
UTF-8
Python
false
false
48,959
py
# # PySNMP MIB module RUCKUS-WLAN-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/RUCKUS-WLAN-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 20:50:58 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27...
[ "dcwangmit01@gmail.com" ]
dcwangmit01@gmail.com
33487b92751bf0eaf6a62f9ba5ee55ffc8dba1d9
1b7417b0c5b7d5828fa352f393be3cfb59654f86
/detector.py
e9ba908ea6bd84794c226c3fa7fc09bc1e42901f
[]
no_license
rkat7/face_detector
b69f464a82f55788b0765669a7b6f9655daf85a6
d637bbf8743fb63f99d5b24a13d3d20bfdada330
refs/heads/master
2020-08-07T07:19:00.475312
2019-10-07T10:12:21
2019-10-07T10:12:21
213,350,345
2
0
null
null
null
null
UTF-8
Python
false
false
717
py
import cv2 # loading the test image image = cv2.imread("kids.jpg") # converting to grayscale image_gray = cv2.cvtColor(image, cv2.COLOR_BGR2GRAY) # initialize the face recognizer (default face haar cascade) face_cascade = cv2.CascadeClassifier("cascades/haarcascade_fontalface_default.xml") # detect all the faces in...
[ "noreply@github.com" ]
noreply@github.com
c496ffdc539d3e86f634178d6487f6152208682f
b8c6f79e406e91aa5d76c693ebc0a6a54b6cb191
/src/pmoapp/migrations/0021_auto_20171016_2241.py
23194ba28a9db95942067eac10351f8019ae6eb3
[]
no_license
jtan346/CZ3003_PMO
1cdbc28f24972367d146c40fa4651744140735a9
a1651eab0f3750d3f725c843d18c614245de94cf
refs/heads/master
2021-03-22T03:12:56.984319
2018-09-10T02:25:01
2018-09-10T02:25:01
103,250,166
1
0
null
null
null
null
UTF-8
Python
false
false
1,193
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.4 on 2017-10-16 14:41 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('pmoapp', '0020_auto_20171016_2240'), ] operations ...
[ "benjamintanjb@gmail.com" ]
benjamintanjb@gmail.com
a59af38922095895695985e3ca319d0416456618
af3f77682b3f61a6d47c0437fde89e4f849a001e
/mosaic/results.py
71fbacb2ecdc7cc43276d0700c4c6371cb0496f0
[]
no_license
guibuzi/bioinfo
a055d5cc1bd18c2f9b3a87e395a2e2f8e8058f42
38c5596decc75a5bfcb2504623c9adb6a633ddac
refs/heads/master
2023-01-29T11:53:05.383666
2020-12-15T12:29:52
2020-12-15T12:29:52
218,671,087
0
0
null
null
null
null
UTF-8
Python
false
false
2,841
py
import sys, os, re, random from collections import Counter, defaultdict import matplotlib.pyplot as plt def read_seq(_in): labels, seqs = [], [] with open(_in) as f: for line in f: label, seq = line.split('\t') seqs.append(seq.strip()) labels.append(label) retu...
[ "guibuzi@outlook.com" ]
guibuzi@outlook.com
ad46e0cb6259ed806649b04c09511680b76f932f
e2471bacec3a7d2a344e5df5a01035949865e973
/RexJggData/no2/plot.py
fad59f51aed4f622db89e72e7c7fac9bb33bdc7c
[]
no_license
ono-lab/FreshMan2019_RexNJgg_Kujirada
2d5dc7112e0f6245768bb86b53f8214ad3fbae0e
bc065d00a95800131361d6574b45018a9e9d1c70
refs/heads/master
2020-05-15T21:37:11.539488
2019-05-08T10:09:23
2019-05-08T10:09:23
182,503,079
0
0
null
null
null
null
UTF-8
Python
false
false
364
py
import matplotlib.pyplot as plt import pandas as pd df = pd.DataFrame.from_csv('RexJggKTableP14K5_no1.csv', header=1); print(df) df.plot(legend=False); plt.xlim(0, 80 * (10**4)); plt.ylim(10**(-8), 10**4); plt.xlabel("Number of Evals"); plt.ylabel("Best Evaluation Value"); plt.yscale('log') plt.savefig(...
[ "49476274+Renya-Kujirada@users.noreply.github.com" ]
49476274+Renya-Kujirada@users.noreply.github.com
62cdd2136986368bbf1b0b11e0bd9c2b67467903
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/ysgbRFTPujx8v37yF_9.py
6636e68c4e204f96c2ae4dff5513f35eb4a94f15
[]
no_license
daniel-reich/ubiquitous-fiesta
26e80f0082f8589e51d359ce7953117a3da7d38c
9af2700dbe59284f5697e612491499841a6c126f
refs/heads/master
2023-04-05T06:40:37.328213
2021-04-06T20:17:44
2021-04-06T20:17:44
355,318,759
0
0
null
null
null
null
UTF-8
Python
false
false
835
py
class Triangle: ​ def __init__(self): self.r = {1: [1]} self.last_row = 1 self.last_num = 1 def advance(self): new_row = self.last_row + 1 nr = [n for n in range(self.last_num+1, self.last_num + new_row + 1)] self.last_num = nr[-1] self.last_row += 1 self.r[new_row...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local