blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
213 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
c7fdd0c4d775f4ed1c0a20245a65dba10c0f496c
04ff5f92e73d97d8698e23b501f60ddf76566543
/onnxmltools/convert/lightgbm/_parse.py
13ab874d66db7e75580b8316e83952983d8f4fad
[ "MIT" ]
permissive
wenbingl/onnxmltools
06bba3b93b83d2aadaa629ee7e1673a4f01834f5
1eb3e4f8d025e2039fca58b848d625ed3974f7a3
refs/heads/master
2021-06-02T06:22:54.283120
2018-11-14T05:34:42
2018-11-14T19:01:56
135,391,325
0
0
MIT
2018-05-30T06:13:32
2018-05-30T05:15:43
Python
UTF-8
Python
false
false
3,903
py
# ------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # -------------------------------------------------------------------------- from ..co...
[ "wenli@microsoft.com" ]
wenli@microsoft.com
20cf6309f2e6f3ea3b36a710b1a42366894ae688
da98a74f6ab511dce5b0d65c99538c18aa57f3cc
/criteo_test/affm_tuning/affm_lgbEncoder_tuning.py
648834ac69a97d4080eddde30312affdb259cdb4
[]
no_license
sunjiaxin111/Master-s-graduation-design
90bd4f2648adc3d23a73069d30c7c2d4129bccce
d514e7a6aa1048dc92509fb08a752193ecdbfb81
refs/heads/master
2020-05-09T12:26:00.172805
2019-04-13T02:45:09
2019-04-13T02:45:09
181,111,985
0
0
null
null
null
null
UTF-8
Python
false
false
32,697
py
# -*- coding: UTF-8 -*- import argparse import ast import logging import time import numpy as np import pandas as pd import tensorflow as tf from sklearn.base import BaseEstimator, TransformerMixin from sklearn.metrics import roc_auc_score, log_loss from tensorflow.contrib.layers.python.layers import batch_norm as bat...
[ "153454521@qq.com" ]
153454521@qq.com
d131a9c9e52c0f2d733a93cdeddf66a364c86799
9125a70b2f1fc3850999a8c9f21a5103849ff33f
/app/intent_news/__init__.py
b251dafbf783b6e473032dd3df3afa45d45660c3
[ "MIT" ]
permissive
drabekj/OttoBot-Alexa-Skill
334899260bb96e44eac2ae3ba1d7be6aa9badcbd
76a4e5d9d1ac22eb171545c8b9ce558bb95e269f
refs/heads/master
2022-12-16T17:53:54.384116
2018-07-02T15:57:39
2018-07-02T15:57:39
127,158,636
2
0
MIT
2022-09-16T17:47:09
2018-03-28T15:11:15
Python
UTF-8
Python
false
false
4,402
py
from app import AlexaRequest, ResponseBuilder from app.utils import Ticker2Name from app.utils.FeedReader import FeedReader from static import strings news_count = 3 def handle_news(request): """ Generate response to intent type NewsAboutCompanyIntent based on the stage of the dialog. :type request Alexa...
[ "drabek.honza@gmail.com" ]
drabek.honza@gmail.com
ca6491995930cd9ff3fba245a2c4eeaa755f813e
02f4d6352e177e4291bd0bece59d3309092a8ff5
/testimonials/admin.py
7a4efeb5ef0668731505066e3a9144199c259f5f
[]
no_license
odedahay/django-connect-care
8966502090434373637f06d1fe32b56f2ae0f96f
52e733418b822aac3fc3af3225d56e50d72b422b
refs/heads/main
2023-02-11T23:24:50.990813
2020-12-13T03:04:04
2020-12-13T03:04:04
314,047,502
0
0
null
null
null
null
UTF-8
Python
false
false
301
py
from django.contrib import admin from .models import Testimonial class TestimonialAdmin(admin.ModelAdmin): list_display = ['order_by', 'name', 'is_published'] list_display_links = ('name',) list_editable = ('order_by','is_published',) admin.site.register(Testimonial,TestimonialAdmin)
[ "odedahay@yahoo.com" ]
odedahay@yahoo.com
923acf4f5f73b2ab128ff8f4eaa090e1bfc5dc97
bb711368738bdd6bf97e4894e5ba4635d9312187
/wavelet.py
f9b36e9db5bcd15a880021726eddb0f603b7005e
[]
no_license
woo3937/IRcamera
3138e3554b68b1f62788ace1117c73a817025bce
4cb06349423230262f96803a6bd40fe323336edd
refs/heads/master
2021-01-01T15:40:58.663097
2013-12-30T02:56:25
2013-12-30T02:56:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
483
py
from __future__ import division from pylab import * s = arange(16) #N = length(S); N = len(s) #s1 = S(1:2:N-1) + sqrt(3)*S(2:2:N); # 1, 3, 5, 7... and 2, 4, 6, i = arange(N/2, dtype=int)*2 s1 = s[i] + sqrt(3) * s[i+1] #d1 = S(2:2:N) - sqrt(3)/4*s1 - (sqrt(3)-2)/4*[s1(N/2); s1(1:N/2-1)]; w = concatenate(([s1[N/2-1]], ...
[ "sieve121@umn.edu" ]
sieve121@umn.edu
02d0975ccfed593c0dbe3f38396ff2c0909959e7
0309b4b9397cd7c3dbf4e6adbe8e60d70b0e1e65
/queueserver/versions/version_1_17.py
43aca40fd0bd297cd10a35c40f0c596f752e0f63
[]
no_license
JLyne/QueueServer
4c11f6c15846cff932f6e375038b342336b596a1
5e216cbe85d970e9a40b4508a07cae994fb3992c
refs/heads/master
2023-03-08T02:52:01.338167
2023-02-24T21:40:06
2023-02-24T21:40:06
234,971,293
0
0
null
null
null
null
UTF-8
Python
false
false
1,955
py
from quarry.types.nbt import TagInt, TagRoot, TagCompound from queueserver.versions import Version_1_16_2 from queueserver.protocol import Protocol class Version_1_17(Version_1_16_2): protocol_version = 755 chunk_format = '1.17' def __init__(self, protocol: Protocol, bedrock: False): super(Versi...
[ "jim+github@not-null.co.uk" ]
jim+github@not-null.co.uk
7003e0a54996ab11f191b69ba52a16d4379ab39f
8a83a9af4259f676bc777a267c7c75b48db9096a
/venv/bin/isort
5608788d5ac09c91ceea9b77784f782187cffda6
[]
no_license
ahmo10/problem
56c7f2878e14448b0727db8c87d4355e4d111b1a
59efc5c8b3fc6d10ad67f91d4ef873ce589a62fb
refs/heads/master
2020-03-23T22:09:06.990334
2018-07-24T14:12:14
2018-07-24T14:12:14
142,156,452
0
0
null
null
null
null
UTF-8
Python
false
false
238
#!/home/ahmed/Desktop/ahmed/venv/bin/python # -*- coding: utf-8 -*- import re import sys from isort.main import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "ahmey.ibra@gmail.com" ]
ahmey.ibra@gmail.com
8c0c52b748d955145638dc894ec4ae3cb1d45f2c
412e327f41ec7c7a8e9389740bc849ebe173059e
/python/plotting_functions/empirical_models.py
9ed2d32f68fb5b2853449dd63df59983721f34d8
[]
no_license
erolsson/railway_ballast
2b617b91ae720ef86cd1e5c89b08a34b92996fd5
cfc86c22cc5e2f857c24ba1a01c2541edf839e3b
refs/heads/master
2023-07-25T16:54:10.529328
2023-07-23T12:49:32
2023-07-23T12:49:32
186,101,940
0
0
null
null
null
null
UTF-8
Python
false
false
4,174
py
import os import numpy as np import matplotlib.pyplot as plt import matplotlib.style from abaqus_python_interface import ABQInterface from comparison_of_models import get_path_points_for_fem_simulation abq = ABQInterface("abq2018") matplotlib.style.use('classic') plt.rc('text', usetex=True) plt.rc('font', serif='...
[ "erolsson@kth.se" ]
erolsson@kth.se
2601e3df70b850fb1c8d807bad793d77edb21a11
90a40a62bdc4ec5e2a2e95aef53dfacc4366babc
/learner/run.py
99c25147cb7322afc8f2bc5fe0faf2d558226fd9
[ "MIT" ]
permissive
xiaohui-zhangxh/spider
acf9de2d318988346b7d33222926450a3cbe59ba
76fa461e0058f80ac57bcf9c247f16abacdb3a11
refs/heads/master
2020-12-28T21:28:26.337951
2016-07-29T04:56:47
2016-07-29T04:56:47
64,440,695
0
0
null
2016-07-29T01:36:41
2016-07-29T01:36:41
null
UTF-8
Python
false
false
1,446
py
#!/usr/bin/env python import os import sys lib_path = os.path.realpath(os.path.join(os.path.abspath(os.path.dirname(__file__)), '..', 'lib')) if lib_path not in sys.path: sys.path[0:0] = [lib_path] import utils import clusterers import processors import simplejson as json import os import argparse def main(args...
[ "zhou@ziyan.info" ]
zhou@ziyan.info
6d9ca94951ed0aedd43662adb6bc92c2892e327b
c22c176e4db84f48c2dee757c4cb57cdb506eb8b
/xunit_tools/xunit_parse.py
332ceb7064d7d1171de9db4f78fcad04182500a2
[ "MIT" ]
permissive
charlesthomas/xunit_tools
bc6aa9891398bb7fb0f246a4331bf03f237aa647
ce71d95a595829377b271777e0b7faba4dd75803
refs/heads/master
2021-07-09T14:44:29.634649
2019-04-10T23:24:29
2019-04-10T23:24:29
73,010,693
0
1
MIT
2021-03-20T00:00:52
2016-11-06T18:35:33
Python
UTF-8
Python
false
false
1,709
py
import os.path from cgi import escape import xml.etree.ElementTree as ElementTree from render_objects import HTMLObject from test_objects import TestSuite class XUnitParse(HTMLObject): template = 'xunit' def __init__(self, filepath): self.filepath = filepath self.suite = None self.roo...
[ "ch@rlesthom.as" ]
ch@rlesthom.as
aa5b5cf536cd17830810b4449e944260520c859f
6f1ef8212efe16b89154739a2387de5f0552c3b3
/py4e/pay4.py
df72a8321e27dcb1100a6196d000f9e75904aaf2
[]
no_license
t0etag/Python
a612af508b2adda3e493aa57cfc03ebbfa6df06e
e763eaf892502f44f97e978ef87669fe87f016f9
refs/heads/master
2021-07-15T18:40:38.253241
2021-01-27T21:16:02
2021-01-27T21:16:02
232,670,829
0
0
null
2021-01-27T21:16:03
2020-01-08T22:16:12
Python
UTF-8
Python
false
false
605
py
""" Calculate pay from user input using a function Give employee 1.5 times hourly pay above 40 hours """ hours = input("Enter hours: ") try: hours = float(hours) except: print("Please enter a number.") rate = input("Enter pay rate: ") try: rate = float(rate) except: print("Please ente...
[ "salazar.tony@heb.com" ]
salazar.tony@heb.com
53e99b620ef41d3431b8a2e2f1b1752ba7ed7f5c
9e988c0dfbea15cd23a3de860cb0c88c3dcdbd97
/sdBs/AllRun/ec_11510-2806/sdB_ec_11510-2806_coadd.py
b8a00e983beb135ab5eedc62448fb22de2b74e60
[]
no_license
tboudreaux/SummerSTScICode
73b2e5839b10c0bf733808f4316d34be91c5a3bd
4dd1ffbb09e0a599257d21872f9d62b5420028b0
refs/heads/master
2021-01-20T18:07:44.723496
2016-08-08T16:49:53
2016-08-08T16:49:53
65,221,159
0
0
null
null
null
null
UTF-8
Python
false
false
439
py
from gPhoton.gMap import gMap def main(): gMap(band="NUV", skypos=[178.398542,-28.380747], skyrange=[0.0333333333333,0.0333333333333], stepsz = 30., cntfile="/data2/fleming/GPHOTON_OUTPUT/LIGHTCURVES/sdBs/sdB_ec_11510-2806/sdB_ec_11510-2806_movie_count.fits", cntcoaddfile="/data2/fleming/GPHOTON_OUTPUT/LIGHTCURVES/sd...
[ "thomas@boudreauxmail.com" ]
thomas@boudreauxmail.com
1f4602250ee385eaad603ab4f460fe716074575b
30e53103c9f976cc456d2e0a39b04ac54810473c
/venv/bin/pip3.6
b379085f5eded6fbccb3c9c745a7de21f5b26a89
[]
no_license
AnjaliAstro/BlogApp
6d6d2851f9be3855b3fbef87ebd5ae2d45206605
26de239d219b350cffa9a4b89d08de32ab75b902
refs/heads/master
2020-06-14T06:39:35.368846
2019-09-25T17:58:55
2019-09-25T17:58:55
194,935,018
0
0
null
null
null
null
UTF-8
Python
false
false
262
6
#!/home/anjali/Documents/BlogProject/BlogProject/venv/bin/python3 # -*- coding: utf-8 -*- import re import sys from pip._internal import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "anjali12astro@gmail.com" ]
anjali12astro@gmail.com
5f1ef23e880c57aa0cfe6ab9a0b517813e7f795d
126fa31d137c763d46c6bcb65e9bdd727930ddb1
/src/groups/migrations/0003_auto_20180830_0032.py
0e750a3dcba88d4b023d03844a066be2784051ce
[]
no_license
amaanabbasi/groupio
42741d3a1be8f145e978c7238180f11560d8b62f
bd3747661e2131856e073a647d69427b7aed34d0
refs/heads/master
2022-12-21T09:14:34.846836
2018-10-05T20:01:13
2018-10-05T20:01:13
145,425,215
0
0
null
2022-11-22T02:52:54
2018-08-20T14:00:46
Python
UTF-8
Python
false
false
1,007
py
# Generated by Django 2.1 on 2018-08-29 19:02 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('groups', '0002_auto_201808...
[ "amaanabbasi99@gmail.com" ]
amaanabbasi99@gmail.com
abc4a456983553001ed9d2b36f7c0723495cbd03
5d36864f5f9f1b737c4718703ee53c3aa715e398
/CourseGrading/5.2.2税后工资.py
d6b574d185bd95c73c29cf67a43a14974ae1ed02
[]
no_license
xzl995/Python
d909274c9aba8ae9f18029a5f2069b1bb3418b9a
48d4add7a1d46b2e3773bdf096e834852115014d
refs/heads/master
2020-04-14T11:51:35.407548
2019-01-02T10:54:55
2019-01-02T10:54:55
163,824,702
4
1
null
null
null
null
UTF-8
Python
false
false
809
py
""" 【问题描述】 假设税前工资和税率如下(s代表税前工资,t代表税率): s<1000 t=0% 1000<=s<2000 t=10% 2000<=s<3000 t=15% 3000<=s<4000 t=20% 4000<=s t=25% 编写一程序,要求用户输入税前工资额,然后计算税后工资额。 【输入形式】 从键盘输入税前工资s,可以是浮点数。 【输出形式】 输出税后工资额,保留小数后两位。 【输入样例】 3000 【输出样例】 2400.00 【样例说明】 税前工资为3000,所以税率为20%,扣除税后工资为2400.00 """ s = float(input()) if ...
[ "595696893@qq.com" ]
595696893@qq.com
bd8578f27702f7410b5d161fe70220d50c474f6f
f13acd0d707ea9ab0d2f2f010717b35adcee142f
/AtCoder_Virtual_Contest/macle_20220823/a/main.py
6a8b437c02a6e70ad83a3b115857a7dd91d8088e
[ "CC0-1.0", "LicenseRef-scancode-public-domain" ]
permissive
KATO-Hiro/AtCoder
126b9fe89fa3a7cffcbd1c29d42394e7d02fa7c7
bf43320bc1af606bfbd23c610b3432cddd1806b9
refs/heads/master
2023-08-18T20:06:42.876863
2023-08-17T23:45:21
2023-08-17T23:45:21
121,067,516
4
0
CC0-1.0
2023-09-14T21:59:38
2018-02-11T00:32:45
Python
UTF-8
Python
false
false
281
py
# -*- coding: utf-8 -*- def main(): import sys input = sys.stdin.readline s = [input().rstrip() for _ in range(3)] t = input().rstrip() ans = "" for ti in t: ans += s[int(ti) - 1] print(ans) if __name__ == "__main__": main()
[ "k.hiro1818@gmail.com" ]
k.hiro1818@gmail.com
c6dffb1a18ad74e5775deea011d9d3dcee62c38d
77d3578e266da563d7d53c3de20e5a6708ffc317
/basic_loop.py
955427e9f7f33dd079416f230892ac95d28ce7a0
[]
no_license
danbongas/Python_Basics
3844cb2549aa0c588254242587dc11e447556f32
50fc7b67b361cbdb01cb994ebe47f79705d72a05
refs/heads/master
2020-12-15T12:51:52.192875
2020-01-21T13:59:05
2020-01-21T13:59:05
235,108,779
0
0
null
null
null
null
UTF-8
Python
false
false
128
py
print("Counting Leap Years from 1990 to 2020:\n") for num in range(1990,2020): if num%4==0: print("Is a Leap Year: ",num)
[ "noreply@github.com" ]
danbongas.noreply@github.com
25434ceef7fdb5b1281814f9ea5c6c17aeead479
6608256b317319111d22ad91497880fb6e996a00
/thrift/server/TServer.py
d344fdd736efa06b00205d0ff574dd5feb992f8c
[ "MIT" ]
permissive
PythonRebirth/sk
9165ade9893000ad90b9a6b20a8cfe55e0a7139f
d20f757752461c7ca68d0e5c086a490bcc47df94
refs/heads/main
2023-04-14T09:17:48.138580
2021-05-03T10:56:00
2021-05-03T10:56:00
359,256,965
1
1
null
null
null
null
UTF-8
Python
false
false
7,247
py
from six.moves import queue import logging import os import threading from thrift.protocol import TBinaryProtocol from thrift.transport import TTransport logger = logging.getLogger(__name__) class TServer(object): def __init__(self, *args): if (len(args) == 2): self.__initArgs__(args[0], args[1]...
[ "noreply@github.com" ]
PythonRebirth.noreply@github.com
93f87c58022dcd4d1c31d610604097e70ed4ec82
a2f2c2484bea09b8f9a4cca01c9cf797a80b8de3
/Module 6/P5HW2_MathQuiz_JamesLeach.py
b7d108324b4ea31844dd34084054f3f2bb2c364c
[]
no_license
JamesFTCC/cti110
711dfd4281a3df832e718a50cd7a708713caaf6f
6b13a9e1cd59a74cfc58648e4c4dfd35f0c3c4eb
refs/heads/master
2020-07-25T00:46:27.041842
2019-12-03T19:20:00
2019-12-03T19:20:00
208,102,724
0
0
null
null
null
null
UTF-8
Python
false
false
1,415
py
# This program has the user add or subtract random numbers. # 11/5/19 # CTI-110 P5HW2 - Math Quiz # James Leach # Inputs whether the user would like to add, subtract, or exit. Then inputs their answer to the problem. # Calculates whether the users answer was correct. # Outputs if the user got the problem right ...
[ "noreply@github.com" ]
JamesFTCC.noreply@github.com
1a32e93c35c00f322aac2c66393a0c69af62d393
59150a7613e2ba56dc94b0f0e236d2950bc3f854
/Practice/06/Python/06.py
31093027e926bb25c0183dd2a71e4c897e843a81
[]
no_license
DONR69/Programming
9817aecf2708836c3e3d909bb922058eddbff5a1
6c91e33c5da5d931deb4f54d3bca51bfe5cd8082
refs/heads/main
2023-04-03T12:28:24.336901
2021-04-19T05:37:35
2021-04-19T05:37:35
334,436,608
0
0
null
null
null
null
UTF-8
Python
false
false
1,369
py
from math import sqrt a = float(input("a = ")) b = float(input("b = ")) c = float(input("c = ")) if (a == 0 and b == 0): if (c == 0): print("Все корни верны") else: print("Нет корней") elif (a == 0): if (c == 0): print("Корнем уравнения является 0") else: f = -1 * (c / ...
[ "02dandy02@mail.ru" ]
02dandy02@mail.ru
a165393e1acfe0730470c64181e82318c7400cc7
6f9a9a7c5c4138f763d13469f8739a02982fef5b
/products/migrations/0001_initial.py
52206e033c621000eab11345b9ee52cec63ffe2a
[]
no_license
RogueAngelfire/vixens_Vegan_delights_v1
4fc1cda905f8c1bf9ff3c808eb83e1b8d7f46e2d
5ce73871e486a585e5f967ecbb9ed3a11be088ad
refs/heads/master
2022-12-23T00:03:27.522172
2020-09-30T16:35:02
2020-09-30T16:35:02
294,390,166
0
0
null
null
null
null
UTF-8
Python
false
false
1,527
py
# Generated by Django 3.1.1 on 2020-09-29 14:08 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Category', fields=[ ...
[ "info@robincollins.co.uk" ]
info@robincollins.co.uk
6a9a936b2b1e8268f6ac049692741576ac3653e7
cc8b3a58189b7292c6e097783f42a93d925154df
/semana3/mvc/controllers/visitas.py
01e2a26a6b3a53d74eaec075d56290ba2f175765
[]
no_license
Jesus-Manuel-Huerta-Najera/repl
3b9cd2ef8d4b16615284ef3a5ba4f0c81d55d62d
26b83ad8f69081958d1789366faf8dc9b49d8254
refs/heads/master
2022-08-21T15:56:52.314090
2020-05-27T00:04:34
2020-05-27T00:04:34
267,140,822
0
0
null
null
null
null
UTF-8
Python
false
false
1,079
py
import web from datetime import date from datetime import datetime class Visitas: def GET(self, name): try: cookie = web.cookies() visitas = 0 today = date.today() now1 = datetime.now() now = now1.hour web.setcookie("Hora",str(now),expires="", dom...
[ "replituser@example.com" ]
replituser@example.com
35182ec13a455ebdc11c9376fb9efeff112588ec
18c0123deb1543dc8d4b329ee4fe8ced6ac74fdb
/icdscraper/icdscraper/settings.py
f6f442373d15f656e351bcb6f0fc5d357e195550
[]
no_license
cabbysaurus/MimicProject
45c4030c67af0f98be29b565e2bf7efa66f7c583
129b89d26be9dedf8755ce94d0d10e64c0dabf9e
refs/heads/master
2021-06-27T19:59:35.625868
2017-09-17T18:56:11
2017-09-17T18:56:11
103,061,021
0
0
null
null
null
null
UTF-8
Python
false
false
3,168
py
# -*- coding: utf-8 -*- # Scrapy settings for icdscraper project # # For simplicity, this file contains only settings considered important or # commonly used. You can find more settings consulting the documentation: # # http://doc.scrapy.org/en/latest/topics/settings.html # http://scrapy.readthedocs.org/en/lat...
[ "noreply@github.com" ]
cabbysaurus.noreply@github.com
9bc080ab237167122f2eec6e5f9195eff14595a0
4a2e472d9c97a3e36f3fbf5a5f3011512f0dd41f
/project.py
05676b30b14c8986d7be455339520002d2fd8778
[]
no_license
Priyansh99/Sentiment-analysis
0d93fc4a7fec0ca8b4f2234ba8897231e905ca3e
b7e433e8edca4efc21d148662125b92872e102f8
refs/heads/master
2020-08-03T09:09:29.329841
2019-09-29T17:08:44
2019-09-29T17:08:44
211,696,447
1
0
null
null
null
null
UTF-8
Python
false
false
507
py
from tkinter import * def spam(): root.destroy() import spam def review(): root.destroy() import review root=Tk() root.state('zoomed') root.resizable(width=False,height=False) root.configure(background='yellow') l=Label(root,text='Sentiment Analysis',bg='yellow',font=('',40,'bold')) l.pack() b1=Button(root,comma...
[ "priyanshumishra04@gmail.com" ]
priyanshumishra04@gmail.com
dc3d0fdd27576ef10a85831c24b6499af822fcaa
6d874f49ce97919c5345ff64f235ab84f28b6261
/DjangoStaticProject/manage.py
1f231b6cbfe7f088d00751649803ec2943163562
[]
no_license
SarikaKakulate/djangoprojectclass
55cb40fda1735129257ffd8184c96e4b97a1bb92
911109884f164800e5d91b0cf0e5f5dd723555db
refs/heads/main
2023-04-17T13:10:00.601831
2021-05-01T06:59:32
2021-05-01T06:59:32
363,334,246
0
0
null
null
null
null
UTF-8
Python
false
false
675
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): """Run administrative tasks.""" os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'DjangoStaticProject.settings') try: from django.core.management import execute_from_command_line ...
[ "kakulatesarika144@gmail.com" ]
kakulatesarika144@gmail.com
96040baf52fe08f173c22cd5fc1e1d079f214044
1113e8eec4ccbbcd00c6a9b5466c5239b6f0eb03
/cpos/esb/basic/config.py
78b827c6fc657e2dc476c3ac36a560c47302c568
[]
no_license
yizhong120110/CPOS
a05858c84e04ce4aa48b3bfb43ee49264ffc5270
68ddf3df6d2cd731e6634b09d27aff4c22debd8e
refs/heads/master
2021-09-01T17:59:53.802095
2017-12-28T05:43:06
2017-12-28T05:43:06
106,247,188
0
0
null
null
null
null
UTF-8
Python
false
false
1,755
py
# -*- coding: utf-8 -*- #1、读取config目录下有哪些文件 #2、将文件列表中的config_local单独拿出来 #3、取出每个文件中的固定名称的列表 #4、将列表中的变量绑定到settings上 #5、不能有重复的变量出现 import os import glob import copy from cpos.foundation.conf.core import Settings ,settings def get_settings(fileslst,modulepath,globalsettings): cfg_local = [] mod_re...
[ "yizhong120110@gmail.com" ]
yizhong120110@gmail.com
e3e23f21af215bc81eac4c178539e42f010040b5
9d6f975f28e6fd3492fd7f005960e34880c413bf
/Modules/CameraModule.py
d2911b312122fafdaa3dcecf455641529bcfec0a
[]
no_license
OmarMaysour/RoadEye
67cbfcdc63f6d1935168c8001f422885a9e06468
c9c06eb251f1740a396584af55473819b133b547
refs/heads/master
2020-04-24T05:42:16.382943
2019-06-19T16:35:13
2019-06-19T16:35:13
171,739,103
0
0
null
null
null
null
UTF-8
Python
false
false
673
py
import cv2 def get_camera_module_instance(): if not _CameraModule._CameraModuleInstance: _CameraModule._CameraModuleInstance = _CameraModule() return _CameraModule._CameraModuleInstance class _CameraModule: _CameraModuleInstance = None def __init__(self): self._cap = cv2.VideoCaptur...
[ "omarmaysour@hotmail.com" ]
omarmaysour@hotmail.com
083e2022c505be71b9ea2449a1859cd906422d79
23af0bfdbcb369e38aef3b8e0a158a6471a1dbb1
/Aula21/ex12.py
6a6e86843faaf43e1589d9d6da257c3055e1ffd3
[ "MIT" ]
permissive
danicon/MD3-Curso_Python
334bbf80a2e17c33f1f86bb20fe26f763cdc4a33
3d419d440d3b28adb5c019268f4b217e7d0ce45a
refs/heads/main
2023-02-26T16:26:02.898775
2021-02-01T14:51:44
2021-02-01T14:51:44
322,028,270
0
0
null
null
null
null
UTF-8
Python
false
false
283
py
def ficha(jog='<desconhecido>', gol=0): print(f'O jogador {jog} fez {gol} gol(s) no campeonato.') n = str(input('Nome do Jogador: ')) g = str(input('Número de Gols: ')) if g.isnumeric(): g = int(g) else: g = 0 if n.strip() == '': ficha(gol=g) else: ficha(n, g)
[ "dancon.alferes@gmail.com" ]
dancon.alferes@gmail.com
5f9814efef2e2136dbba11dd27dae9788c25efb8
bc441bb06b8948288f110af63feda4e798f30225
/database_delivery_sdk/api/dbservice/batch_update_owner_pb2.py
4e540301020980bc3b732b5946f5d4b94e5de433
[ "Apache-2.0" ]
permissive
easyopsapis/easyops-api-python
23204f8846a332c30f5f3ff627bf220940137b6b
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
refs/heads/master
2020-06-26T23:38:27.308803
2020-06-16T07:25:41
2020-06-16T07:25:41
199,773,131
5
0
null
null
null
null
UTF-8
Python
false
true
7,992
py
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: batch_update_owner.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.p...
[ "service@easyops.cn" ]
service@easyops.cn
7985a7769558cbe54367b70678bdb6c4863410cf
3e33d1cf28d537dbe97f4e93ed9a5c866da8c89e
/backend/mysite/settings.py
abf968b65e2a4bd8ad3a32ad5eee2f9540210101
[ "MIT" ]
permissive
alantanlc/ntucourses
69a03b04c158a296c44f98cc7491422cec7f5bfc
eb3de4912aafc3c4326c04bcb3da64c39a3079e8
refs/heads/master
2023-08-11T09:08:49.982124
2020-09-20T06:18:32
2020-09-20T06:18:32
244,103,674
1
1
null
null
null
null
UTF-8
Python
false
false
3,595
py
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 3.0.4. For more information on this file, see https://docs.djangoproject.com/en/3.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.0/ref/settings/ """ from dotenv i...
[ "alanwuha91@gmail.com" ]
alanwuha91@gmail.com
7bb235a4ddc86182a4ee0c65f798d97c9a6d1a5d
9c782acda72eb104b8830c7223fff107329bf64e
/S12/Assignment B/model/MyResNet.py
5eb1e87e52634f917b5d171c2203f25d86961d9c
[]
no_license
kavyashruthi/EVA4-Assignment
b1ca650b960116756926878ff52352a80271273e
96ad6a8f1f93353608e7e739d71d4cc34caea1c0
refs/heads/master
2022-07-05T20:02:17.184362
2020-05-11T15:16:07
2020-05-11T15:16:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,746
py
import torch import torch.nn as nn import torch.nn.functional as F class MyResNet(nn.Module): def __init__(self): super(MyResNet,self).__init__() self.prepLayer=nn.Sequential(nn.Conv2d(in_channels=3,out_channels=64,kernel_size=(3,3),stride=1,padding=1), nn.BatchNorm2d(64), ...
[ "noreply@github.com" ]
kavyashruthi.noreply@github.com
d6dd47b7030374c7eff40b219ce7bd921666948d
df69498e7a5ab7ddea1ff32b59c99ac38ebdeb43
/bfs.py
2c289796889bf92741e2c7cd06e777bbf2d2223f
[]
no_license
ajeetjaiswal02/Leetcode-Codes
453a34b2e14e4e769faa132b7616c9873b576eb1
ca24dc91bf5adccb46be082a2c9dce4b949da72c
refs/heads/master
2023-08-25T05:43:22.857879
2021-10-01T06:12:11
2021-10-01T06:12:11
288,520,504
2
3
null
2021-10-01T06:12:11
2020-08-18T17:28:28
Python
UTF-8
Python
false
false
483
py
graph = { 'A' : ['B','C'], 'B' : ['D', 'E'], 'C' : ['F'], 'D' : [], 'E' : ['F'], 'F' : [] } seen = [] # List to keep track of seen nodes. queue = [] #Initialize a queue def bfs(seen, graph, node): seen.append(node) queue.append(node) while queue: s = queue.pop(0) print (s, end = " ") ...
[ "ajeetjaiswal103@gmail.com" ]
ajeetjaiswal103@gmail.com
5d1d22ba7b3b602bf22d05ab2c1be226b4dfff18
c53b3e120c59557daaa2fa5b7626413105eb5965
/tendenci/apps/base/templatetags/smart_if.py
a39097fef611e17962bb40c2b05603b307facd68
[]
no_license
chendong0444/ams
8483334d9b687708d533190b62c1fa4fd4690f2c
f2ac4ecc076b223c262f2cde4fa3b35b4a5cd54e
refs/heads/master
2021-05-01T03:59:18.682836
2018-07-23T06:33:41
2018-07-23T06:33:41
121,194,728
0
0
null
null
null
null
UTF-8
Python
false
false
12,844
py
""" A smarter {% if %} tag for django templates. While retaining current Django functionality, it also handles equality, greater than and less than operators. Some common case examples:: {% if articles|length >= 5 %}...{% endif %} {% if "ifnotequal tag" != "beautiful" %}...{% endif %} """ import unittest from...
[ "chendong@shinezone.com" ]
chendong@shinezone.com
123883e959e4b75ab8ee2008effa0577f7927177
846ec53edeaa6ec13ccab9ad3fa9b811ea52f1a5
/src/aminer/precision/LoadArtifacts.py
e68e9e39057afe5a108679ceead1f99bbf35b760
[]
no_license
wyxzou/Citations
05cc42f03836549b64926fa8c47f5831b0ab5ad1
7fc4a5dc0551464b4e4cf492363a4ed5bf254222
refs/heads/master
2023-08-27T21:48:51.126505
2021-10-29T15:47:02
2021-10-29T15:47:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
322
py
#!/usr/bin/env python # coding: utf-8 # In[2]: from utility import EnglishTextProcessor # In[3]: etp = EnglishTextProcessor() # In[4]: from gensim.models import FastText # In[5]: import pickle # In[9]: vec = pickle.load(open('vec.model', 'rb')) fasttext = FastText.load('fasttext.model') # In[ ]: ...
[ "spandan.garg1706@gmail.com" ]
spandan.garg1706@gmail.com
82cf63aa62ab404f9840bfcd4673805dafb46344
fa0fa16b894504e1844af3ae3b0991e5a6525d3c
/MorphPlot.py
9e7cbc9fc21741de9ff36795e891a030b4530bda
[]
no_license
Projet-Guerledan/image-processing
471d0ac2e9d19ce139a33032a0c23ed6442d6efe
678e26a4f67ddc65edf5dd16f938f33475a953d1
refs/heads/master
2021-01-19T22:07:42.220513
2017-02-20T15:31:51
2017-02-20T15:31:51
82,573,049
0
0
null
null
null
null
UTF-8
Python
false
false
3,916
py
# # MorphPlot class # # This class simplifies testing of OpenCV morphological operations # using the cv2.morphologyEx function # # Arguments: # - input: [STRING] input file # - output: [STRING] output file # - *optionsKernel: [DICT] kernel types # - *optionsTransform: [DICT] morphological transform operations # - kern...
[ "s.evandro@hotmail.com" ]
s.evandro@hotmail.com
ab2b03f5d2ec311a01e06d18a2a9f1cfe019ab16
b140b104b6de0c8a924db008a48d9798e046919e
/byte/backup_ver1.py
a5230376aee7205cea0680146eadff09aaaadfe9
[]
no_license
saibi/python
ad206fbfe752198492c939578607f1c31223d3c3
fd94a623241c28dffe60350496a5c858c6f912e8
refs/heads/main
2023-09-01T08:20:33.379923
2023-08-31T01:32:17
2023-08-31T01:32:17
74,268,329
0
0
null
null
null
null
UTF-8
Python
false
false
541
py
#!/usr/bin/env python # -*- coding: utf8 -*- import os import time source = ['/home/saibi/code_test/python/tutorial', '/home/saibi/code_test/python/byte'] target_dir = '/tmp' target = target_dir + os.sep + time.strftime('%Y%m%d%H%M%S') + '.zip' if not os.path.exists(target_dir): os.mkdir(target_dir) zip_comma...
[ "kimyoungmin@gmail.com" ]
kimyoungmin@gmail.com
1865f3d5c1af297b5b994f6bd014824460e28c3b
32ab2b00d96f9eeb68a410d3ca1ae870b1a0d3b8
/panda.py
deb413511896a9c49cfb52bf728a83ae3cad3bb0
[]
no_license
sedighi-mahdi/pycode
96b44dd33c2a84088d755785d19757dd74080334
2528e7b36e87bb39bbd55df8d6dd633f749f7cf9
refs/heads/master
2020-07-26T18:26:01.214855
2019-10-03T08:49:48
2019-10-03T08:49:48
208,732,316
1
2
null
null
null
null
UTF-8
Python
false
false
943
py
import pandas as pd data = pd.read_csv("state.csv") # ده رکورد اول لیست را در خروجی چاپ می کند print("Head -- \n", data.head(10)) # ده رکورد آخر داده را در خروجی چاپ می کند print("\n\n Tail -- \n", data.tail(10)) #نسبت جمعتی به میلیون نفر data['PopulationInMillions'] = data['Population']/1000000 print (data.head(5...
[ "sedighi.mahdi87@gmail.com" ]
sedighi.mahdi87@gmail.com
d4ca46e2c944de9ca853678d9c3ca4f707c7a382
7e2351db6ee3d9bf1edaf728855c7a5934e8b7dc
/tests/test_physics.py
6edb6bbf392ea9f8532414a0acf9d1d0adae647a
[ "MIT" ]
permissive
alstar8/habitat-sim
b8fd764fb57b8cb678c7ac03ec1f95f4b3012d01
fc3261f89732c4712ca1db00b24487a983641d62
refs/heads/main
2023-08-14T11:15:50.555848
2021-10-03T11:39:03
2021-10-03T11:39:03
413,045,671
0
0
MIT
2021-10-03T10:31:02
2021-10-03T10:31:02
null
UTF-8
Python
false
false
84,410
py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. import math import random from os import path as osp import magnum as mn import numpy as np import pytest import quater...
[ "noreply@github.com" ]
alstar8.noreply@github.com
ae7f7ab412f1e0e4ea68463a31e7fa4c908c8bde
06fa2d4eb930a72fa75f18f64e13ae5508998572
/middlewares.py
b53e0733af567b00e64cfee3099bd847e8126b74
[]
no_license
YusraShereen/ScrapyProj
4a1dc232e0d82d971b99f0aad1aabc74d5152ba6
0643aa3da6a0c646b16fd98df5093febb2bed6cf
refs/heads/master
2023-06-19T10:49:24.164988
2021-07-20T16:36:12
2021-07-20T16:36:12
387,853,468
0
0
null
null
null
null
UTF-8
Python
false
false
3,656
py
# Define here the models for your spider middleware # # See documentation in: # https://docs.scrapy.org/en/latest/topics/spider-middleware.html from scrapy import signals # useful for handling different item types with a single interface from itemadapter import is_item, ItemAdapter class ScrapyprojSpiderMiddleware:...
[ "yusrashereen@gmail.com" ]
yusrashereen@gmail.com
94066670c65fcbc3311f8710c8a8089ff1abd2e0
76d9f9197480e2d6be9946ffc6339e2d874168e8
/try_except.py
a93f572f64219386212ea8f854a3321f51a6a6d4
[]
no_license
Falrym/Python_Projects_CS_120
dabe5f278b1450f04ff6ee5077cefda4ceba5e2f
4b691868a28ba5e72ea721f79b21108463adf27e
refs/heads/master
2023-02-14T18:16:30.916313
2021-01-02T18:14:13
2021-01-02T18:14:13
326,240,026
0
0
null
null
null
null
UTF-8
Python
false
false
827
py
# while True: # try: # numerator = int(input("numerator: ")) # denominator = int(input("denominator: ")) # result = numerator/denominator # print(result) # except ZeroDivisionError: # print("you cannot divied by zero") # try: # number = int(input("enter a num...
[ "derek.hudgens@yahoo.com" ]
derek.hudgens@yahoo.com
e7909ec595087995f080878c3c686c959150fd13
6da29ccfd0349366085095c98c91fc6d39eef670
/util/mailutil.py
766141a43084ecf90e263f68b4f76e1e1d4c7bad
[]
no_license
lwk123/Test58
f92b052609815ab25799e99d7fd775d4ab3a1506
eb40ac8feb0920fbb34329b4a8ff9bbf1480ca18
refs/heads/master
2021-09-03T13:44:45.543370
2018-01-09T13:56:06
2018-01-09T13:56:06
115,908,921
0
0
null
null
null
null
UTF-8
Python
false
false
1,874
py
#!/usr/bin/python # -*- coding: UTF-8 -*- # 发送邮件 import ConfigParser import smtplib from email.mime.text import MIMEText from email.header import Header import sys reload(sys) sys.setdefaultencoding('utf-8') config = ConfigParser.ConfigParser() config.readfp(open("../config.properties", "rb")) session_name = 'email' ...
[ "1985636414@qq.com" ]
1985636414@qq.com
3cd264ce5cf91b24270e303157172e16a52098ba
b50f0d3b4a7cac4ad33c23654c330655ed740930
/pythonx/python_function_expander/vendors/astroid/tests/unittest_nodes.py
b831c9bde31a19bfc925909403f92b18f68204b4
[ "MIT" ]
permissive
ColinKennedy/vim-python-function-expander
869c8025a948ee48ca8aac758001c4c2b8765218
7fbaac0bdb6316177c85284052694175a2819638
refs/heads/master
2020-04-04T13:04:28.664537
2019-10-07T00:15:57
2019-10-07T00:15:57
155,947,699
22
0
MIT
2018-11-07T18:36:40
2018-11-03T03:50:14
Python
UTF-8
Python
false
false
30,227
py
# Copyright (c) 2006-2007, 2009-2014 LOGILAB S.A. (Paris, FRANCE) <contact@logilab.fr> # Copyright (c) 2013-2016 Claudiu Popa <pcmanticore@gmail.com> # Copyright (c) 2014 Google, Inc. # Copyright (c) 2015 Florian Bruhin <me@the-compiler.org> # Copyright (c) 2015-2016 Cara Vinson <ceridwenv@gmail.com> # Licensed under ...
[ "colinvfx@gmail.com" ]
colinvfx@gmail.com
8b8c2212cf4eaa65d485fcf99a858b2ec72c07c2
310dbcf30d39634452251375609b6139ae2aa764
/backend/plugin.py
d534d968de492ffa1bf7fd6e29596617b5415b6d
[]
no_license
jwcxz/lpctrl
15b63c63f8738423f7bce1130dce753f252a6f62
2fe42e5ae643511ac071bfb1d6e1a74cf672ca8f
refs/heads/master
2016-09-06T18:01:31.857758
2013-05-04T06:31:26
2013-05-04T06:31:26
3,004,261
2
0
null
null
null
null
UTF-8
Python
false
false
2,056
py
import threading from backend.constants import * SLIDER_VALS = [ 0x30, 0x30, 0x21, 0x21, 0x12, 0x12, 0x03, 0x03 ]; class Plugin(threading.Thread): enabled = False; def __init__(self, dev, args): threading.Thread.__init__(self); # what to do on i...
[ "jwc@jwcxz.com" ]
jwc@jwcxz.com
cc93138d65edba1c5b1b60dce4310eef220e71e8
63599fe431ed0e82177a30136fed789eb7a06200
/posts/models.py
58dedbf27e09335dd67b1bfab3f58c2998a4bb76
[]
no_license
yutanakachan/agefree2
5a22cfcc40024db4914316573c543a7186dead06
686afbc7a64edd02ff9ee039f8b19ad171e9bd33
refs/heads/master
2020-04-09T23:17:34.612213
2018-12-07T09:26:45
2018-12-07T09:26:45
160,652,527
0
0
null
null
null
null
UTF-8
Python
false
false
352
py
from django.db import models # Create your models here. class Post(models.Model): title = models.CharField(max_length=100) published = models.DateTimeField() image = models.ImageField(upload_to='media/') body = models.TextField() def __str__(self): return self.title def summary(self)...
[ "y.nakagawa1107@gmail.com" ]
y.nakagawa1107@gmail.com
c0c262f31ed504fc6eda8edb69f734c6ecd1b643
4d3485ac082da067a52758908dc18f0d3dfdec12
/src/mutualModelling/model.py
7f7bee917dbeac47c242df2ef68a04b3f8649d43
[ "ISC" ]
permissive
alexis-jacq/Mutual_Modelling
f8497b1da9b9da536dfec1927c8b44027fced7fa
2e34cf2b6282341dffdd518584fcbc63df46df68
refs/heads/master
2021-01-17T20:28:50.584728
2016-11-09T17:19:45
2016-11-09T17:19:45
56,058,497
1
0
null
null
null
null
UTF-8
Python
false
false
22,420
py
#!/usr/bin/env python # coding: utf-8 """ library of functions/algorithms to build, update and compaire models of different agents built by a robot. """ import numpy as np import random import operator from bidict import bidict import copy """ GLOBAL PARAMETERS """ # hebbian learning: #================== FIRE_TIME =...
[ "alexis.jacq@gmail.com" ]
alexis.jacq@gmail.com
11598bb19f096e2d77de2f92ae6033ae43579ded
f80ef3a3cf859b13e8af8433af549b6b1043bf6e
/pyobjc-framework-HealthKit/PyObjCTest/test_hkcdadocumentsample.py
5bdeb58bb45061daf1ce60c8c7399d94213d8863
[ "MIT" ]
permissive
ronaldoussoren/pyobjc
29dc9ca0af838a56105a9ddd62fb38ec415f0b86
77b98382e52818690449111cd2e23cd469b53cf5
refs/heads/master
2023-09-01T05:15:21.814504
2023-06-13T20:00:17
2023-06-13T20:00:17
243,933,900
439
49
null
2023-06-25T02:49:07
2020-02-29T08:43:12
Python
UTF-8
Python
false
false
724
py
from PyObjCTools.TestSupport import TestCase import HealthKit class TestHKCDADocumentSample(TestCase): def test_constants13_0(self): self.assertIsInstance(HealthKit.HKPredicateKeyPathCDATitle, str) self.assertIsInstance(HealthKit.HKPredicateKeyPathCDAPatientName, str) self.assertIsInstance...
[ "ronaldoussoren@mac.com" ]
ronaldoussoren@mac.com
86b110ef4c6db36d268997477fa8b0dfd534379e
5b347340fbcf0cddfa78a214977629000f57b2d3
/pg2d.py
3d385843863e03b0452c71bfabe60dc69827be7c
[]
no_license
dougshidong/joukowski_high_order_mesh
425ef6cb7f5e749eff65832c74d6490a0b54863b
48bbc1be3f9dab7c5e2d90c38703a0510e0fc512
refs/heads/main
2022-12-30T19:15:45.816962
2020-10-22T22:17:34
2020-10-22T22:17:34
305,817,383
0
0
null
null
null
null
UTF-8
Python
false
false
2,737
py
from __future__ import division def writePG2D(filename_base, ref, Q, TriFlag, E, V, nLE, NC, nWK, nWB, nr): #=========================# # Write out the grid file # #=========================# assert Q == 1 filename = filename_base + ('_tri' if TriFlag else '_quad') + '_ref'+str(ref)+ '_Q'+str(Q)+...
[ "doug.shidong@gmail.com" ]
doug.shidong@gmail.com
9aaec30fa6669d03839d6805ec0886ea96c88281
8ce8799ec8a89241a756f31ec000f22109206423
/node_modules/mongoose/node_modules/mongodb/node_modules/mongodb-core/node_modules/bson/node_modules/bson-ext/build/config.gypi
dfb16ca53d6be0487c72e02ad6ce896d4214a473
[ "Apache-2.0", "MIT" ]
permissive
shaunymca/stackrank
661d2d615fcf505087ceaec33f1b602520a55e49
60afc8ccdc00a0dd9c6b8539e9671f42aed930ac
refs/heads/master
2021-08-28T13:09:41.239515
2021-08-17T14:11:19
2021-08-17T14:11:19
45,931,537
0
0
null
null
null
null
UTF-8
Python
false
false
3,477
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": "true", "node_prefi...
[ "smcavinney@rjmetrics.com" ]
smcavinney@rjmetrics.com
1148c0910b91cc03e7d17be5b7ff92f615332024
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03253/s408919725.py
3b3fd0ae0d573c7704b3717b620af69d006ea589
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
812
py
import collections def prime_factorize(n): a = [] while n % 2 == 0: a.append(2) n //= 2 f = 3 while f * f <= n: if n % f == 0: a.append(f) n //= f else: f += 2 if n != 1: a.append(n) return a U = 2*10**6 MOD = 10**9+...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
2e629d9cd7127b697ab8a0b883f54987cf0882c9
d0dc2ddfe1073ceee5d178a48964403f748fdb57
/Wuziqi_Main.py
a15b928435602a297de12804ed5d58e7dc793704
[]
no_license
hrb518/AlphaWuziqi_Zero
ebca1084d563d60a5647626eecd402d0cf356ad2
e5e02cb16b64d8340312fde48308111590535579
refs/heads/master
2023-01-02T21:51:37.859080
2020-10-29T12:30:13
2020-10-29T12:30:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,983
py
from Wuziqi_Board import Board from Wuziqi_Game import Game import time from Wuziqi_constant import board_hight from Wuziqi_constant import board_width from Wuziqi_constant import n_in_num from Wuziqi_constant import simu_time from Wuziqi_constant import simu_num if __name__ == '__main__': print('棋盘大小为',board_w...
[ "1084895390@qq.com" ]
1084895390@qq.com
2fb19187f21a900af8f5d973bdcdbb7f9f16512e
c67486d820387afa7aae87ef1eb1e4861b0bd570
/src/utils.py
dd3862b361a00516e174a221e2b42a7bb3aa94ca
[]
no_license
juvekaradheesh/event-entity-coref-with-spanbert
fd1777a58f811cc80bd2fc4ade6a5217ee79eed9
491a4cfe1912318a9d1851c43161b0ef7e41ca2c
refs/heads/master
2022-12-25T00:25:32.300584
2020-10-07T18:44:53
2020-10-07T18:44:53
298,850,898
4
0
null
null
null
null
UTF-8
Python
false
false
8,397
py
import os import xmltodict import json import numpy as np import torch def process_ecb_plus(data_path, mention_type_start): all_sentences = [] all_tokens = [] batch_indices = [0] mentions = [] gold_starts = [] gold_ends = [] clusters = [] batch_index = 0 for dir_ in os.listdir(os.p...
[ "juvekaradheesh@gmail.com" ]
juvekaradheesh@gmail.com
adf6026f41cbd09fc1199cc5147629f4a195d096
bee54127ab5a184f3e1f2fda633c63c1aa98d59b
/brain/fuzzy.py
95f74cc9320d4105a41f4e2c85aed679a878c208
[]
no_license
nttrungmt/pyro_v5.0.0
7de2312619c237c0ef66dadab59e6e171429a153
a2fcc0fe37b0655028d8a11c8c30174cea12e6cf
refs/heads/master
2020-06-08T17:53:37.735120
2019-06-22T20:32:25
2019-06-22T20:32:25
193,276,889
0
0
null
null
null
null
UTF-8
Python
false
false
11,950
py
""" Fuzzy Logic Base Class E. Jucovy, 2005 based on fuzzy.py by D.S. Blank, 2001 """ __author__ = "E. Jucovy, Douglas Blank <dblank@brynmawr.edu>" __version__ = "$Revision: 1.9 $" from math import exp class FuzzyOperators: def Union(self,a,b): pass def Intersection(self,a,b): pass def Complement(se...
[ "nttrungmt@gmail.com" ]
nttrungmt@gmail.com
ec5ea35c4ffead8f683b6f064e189c45313204ce
0c911f90939d18c5f50f8ae116e636d7e8d7602e
/DJANGO/SIMPLE_SOCIAL_CLONE/simplesocial/groups/migrations/0001_initial.py
79daa94e01d1000840aa65fba3299bda343516e4
[]
no_license
riyadRafiq/Python-and-Django-Full-Stack-Web-Developer-Bootcamp-Projects
98dcc3cc82e3db250d66d97430dbb210fcce394b
a995519bfdaaf9e65460a0e8e94c749853d149ba
refs/heads/master
2021-02-08T01:55:22.904980
2020-11-20T17:57:32
2020-11-20T17:57:32
244,095,931
1
0
null
null
null
null
UTF-8
Python
false
false
1,868
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.3 on 2020-03-07 19:45 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migratio...
[ "riyadrafiq@gmail.com" ]
riyadrafiq@gmail.com
0ab3c451a8741658f7109ca97f6f9867bfef9e66
2ef84b5d5ffd723b72473a483a1b91b50ef3c260
/se/Config/app.py
5ade6b5f1be4c37b6de0708877c0c722b1007033
[]
no_license
kuldeep-rawani/lead_management_app
003e962a9724bc253a07d18266acfa7dffe33690
c8bd6b18f5c733df9e544690e4aabacc87e6e632
refs/heads/master
2021-08-15T01:53:42.286645
2017-02-22T07:43:14
2017-02-22T07:43:14
111,065,866
0
0
null
null
null
null
UTF-8
Python
false
false
358
py
from flask import Flask from flask_sqlalchemy import SQLAlchemy import os app = Flask(__name__) app.config.from_object(os.environ['APP_SETTINGS']) app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = False db = SQLAlchemy(app) from se.Models.Lead import lead_management from se.Models.Attachment import lead_attachment if _...
[ "kuldeep@sourceeasy.com" ]
kuldeep@sourceeasy.com
95cad932e8c7577777a588f35369823d4b232749
9632b2cbdf25bb3b788db392ae3ea503008909c6
/node.py
fef7629274b4bfdaacbe2e6a081649f10df2296b
[]
no_license
riking/trafficsimgame-js
0f610a3dc44c857aec23161c69955795cf80255d
06254bba10e35d287d791651e51b1acad13132a4
refs/heads/master
2021-01-18T14:02:59.283992
2012-04-06T20:59:34
2012-04-06T20:59:34
2,811,922
0
0
null
null
null
null
UTF-8
Python
false
false
5,388
py
import math import vectors import world import cars class Node: # self.connections = {node: road, node: road} def __init__(self, position, connect=None, manager=None): self.pos = vectors.Vector(position) self.connections = {} if connect: for n in connect: s...
[ "rikingcoding@gmail.com" ]
rikingcoding@gmail.com
1700253dd5ee98c3964c2addb337c32f3cfcbcf8
4478cbb2288457d649477fefdf96d710be4ff4bc
/scripts/dvxplorer_test.py
bc61df74a727a9536be9a52f5ea62eadc1c4a08d
[ "MIT" ]
permissive
duguyue100/pyaer
bd0f08363623403e0dc72f62d8bf4dd70205cdc6
d5b923e1564be06a5e771e7f6b72db755563c2e7
refs/heads/master
2023-05-01T22:14:39.133760
2023-03-25T13:04:52
2023-03-25T13:04:52
105,263,648
27
5
MIT
2019-06-20T20:00:18
2017-09-29T11:11:22
Python
UTF-8
Python
false
false
1,868
py
"""DVXplorer Test. Author: Yuhuang Hu Email : duguyue100@gmail.com """ from __future__ import print_function, absolute_import import numpy as np import cv2 from pyaer.dvxplorer import DVXPLORER device = DVXPLORER() print("Device ID:", device.device_id) print("Device Serial Number:", device.device_serial_number) pr...
[ "duguyue100@gmail.com" ]
duguyue100@gmail.com
e7122065f5ca2cf762f86e2343251e9ccb8b3c92
cb21c8ea795bbb2be306865ba7ff295e45c7fc32
/htn/assemble.py
95b139fe70c9ab66d85361bcdccb147e5a0a9b17
[]
no_license
dloti/pddl-to-htn
675e72688449d461bdf6598158008cc5b4dec68c
135eac34cf7eac6610a8eb08bc29b2df5c3284c6
refs/heads/master
2022-12-01T06:59:28.980945
2020-05-08T17:14:13
2020-05-08T17:14:13
259,025,143
4
0
null
2020-08-02T17:29:02
2020-04-26T12:29:51
Java
UTF-8
Python
false
false
1,663
py
import subprocess import argparse import os def main(): parser = argparse.ArgumentParser() parser.add_argument('-i', '--input', help='input domain name') parser.add_argument('-o', '--output', help='output path for generated htns') args = parser.parse_args() out_path = os.path.normpath(args.output...
[ "¨dlotinac@gmail.com¨" ]
¨dlotinac@gmail.com¨
79f7beec7930893d1bdb2e735e40c9ec6f6acbc8
5dd93a32e9803cbe29de37434d9bd1209f871b84
/majiang2/src/majiang2/dealer/dealer_all_color.py
218363eebcaef53c18c2002b1d505d9f45c74634
[]
no_license
cnbcloud/mjserver
71e9448478d6b6c04e852fc74968b3b2cb75f51c
b5b08a85d49c3bed460255a62dc5201b998d88d4
refs/heads/master
2021-01-21T17:46:29.073368
2017-07-27T09:25:49
2017-07-27T09:25:49
98,517,509
1
1
null
null
null
null
UTF-8
Python
false
false
6,873
py
# -*- coding=utf-8 ''' Created on 2016年9月24日 @author: zhaol ''' from majiang2.dealer.dealer import Dealer import random from majiang2.tile.tile import MTile from freetime.util import log as ftlog """ 麻将手牌编码 万 1-9 筒 11-19 条 21-29 东 31 南 32 西 33 北 34 中 35 发 36 白 37 """ class AllColorDealer(Dealer): def __init__(sel...
[ "gamedev@jundeMac-mini.local" ]
gamedev@jundeMac-mini.local
c86f6cdc19992ca81228b9b59009f6e334b6b5e3
40c735de998571d77318d85f8cd0ee74555b4acf
/reaction/data/makeData.py
f1a0c94ad06def4ad7522b61b2bb80696ee98a69
[]
no_license
cam1681/ODENet
682e6ed5a4d6c7711170f49a7efac0e61bb50ea3
d853eccb83b7c1cae58aef059e80e989a6e06ccc
refs/heads/master
2020-12-27T03:59:43.631650
2020-02-02T08:38:57
2020-02-02T08:38:57
237,741,647
4
0
null
null
null
null
UTF-8
Python
false
false
1,953
py
import numpy as np import matplotlib.pylab as plt from itertools import chain, product N = 5; rawdata = np.loadtxt('actin{}.txt'.format(N),unpack=False) rawdata[:,0] = rawdata[:,0]/3600 indices, = np.where((np.diff(rawdata[:,0])==0)*1 == 1) x = np.delete(rawdata[:,0],indices) y = np.delete(rawdata[:,1],indices) ...
[ "pihu@pi-macbook.local" ]
pihu@pi-macbook.local
5d6510bdbc3df2050efb95441d37867be34df818
37083ca6c0a2142fc069c59f426931da82636639
/src/Decision_Tree.py
2de9f58bdbdbbb981b5b9528f7f5837bed7082da
[]
no_license
burfel/ML-project
c0fd5a28b539edec61decaf4c71f77fbb35626a6
5917b3b5c4bffb25fc7943185405d937a4a9a6c1
refs/heads/master
2021-09-04T19:59:46.703574
2018-01-22T00:05:48
2018-01-22T00:05:48
118,189,950
0
0
null
null
null
null
UTF-8
Python
false
false
4,661
py
import numpy as np import time from Decision_Node import DecisionNode#, FastDecisionNode from Attribute_Selector import AttributeSelector from Leaf_Decider import LeafDecider """ Based on C4.5 - the classifier (it is not for regression) X contains the attributes that the algorithm can learn from per example Y are the ...
[ "felicia.burtscher@hotmail.com" ]
felicia.burtscher@hotmail.com
bf0e73cc661d93997ddf0586dd16a1920b74feee
64ae9e59e387aa219183f6748f07ede3533c14b2
/lib/hardware/switches/force10.py
801a288bde842162510f99d2c59a73519ba2a7ab
[ "BSD-2-Clause" ]
permissive
sohonet/HEN
fe0168816d908c9c5d3180e90e67b12e4724c7be
47575028a6f3d3fe04d6839dd779b2b1b991accc
refs/heads/master
2021-01-19T07:30:22.849260
2012-02-20T19:41:17
2012-02-20T19:41:17
87,548,153
0
0
null
2017-04-07T13:25:40
2017-04-07T13:25:40
null
UTF-8
Python
false
false
69,551
py
#################### # TODO # Add roll back support for adding ports # Add roll back support for creating vlans # Add more debugging to telnet interface # Clean up code # More comments, and fix comments # Add exception throwing ###########################################################################################...
[ "ben@darkworks.net" ]
ben@darkworks.net
5a20a19b367e40fc5885c801478fb301d77671ae
86e6975cf041756b613da2521026862825ddd6c8
/hyperglass/log.py
8791a2e44eb87a92c44790d308e74c1b2d832132
[ "BSD-3-Clause-Clear" ]
permissive
GeeZeeS/hyperglass
e2f6a7c92421c353574f0d238a3cba4be81596cd
90c179f46ecc58562dbcd9ec6d761075a8699f79
refs/heads/main
2023-07-14T10:48:24.273421
2021-08-20T11:18:44
2021-08-20T11:18:44
397,539,831
0
0
BSD-3-Clause-Clear
2021-08-18T09:11:57
2021-08-18T09:11:57
null
UTF-8
Python
false
false
3,536
py
"""Logging instance setup & configuration.""" # Standard Library import os import sys import logging from datetime import datetime # Third Party from loguru import logger as _loguru_logger _FMT = ( "<lvl><b>[{level}]</b> {time:YYYYMMDD} {time:HH:mm:ss} <lw>|</lw> {name}<lw>:</lw>" "<b>{line}</b> <lw>|</lw> {...
[ "matt@allroads.io" ]
matt@allroads.io
955e9db5dcd9fd12689827e63be265a21501d1e9
614c4ee8f256dcc0d2e4b489fe9d89e816692695
/L_32_processing_each_image.py
dda98de7d4a54bf95b7d102c9b8d89be0aa4897c
[]
no_license
SherylHohman/CarND-Advanced-Lane_Lines-Exercises
861bbbb52eea76427759a5766212bf86d2182f8a
274e9396cecc3f8878227419d35d4ac3471bf6af
refs/heads/master
2021-06-19T07:22:27.828587
2017-06-11T21:04:01
2017-06-11T21:04:01
92,852,287
0
0
null
null
null
null
UTF-8
Python
false
false
17,703
py
# coding: utf-8 # # L_32 Processing Each Image # #### Steps 1 - 3: # In[1]: get_ipython().magic('matplotlib inline') # In[2]: # Some Helper Functions def create_folder_if_not_exists(folder_name): import os # May need to update this function if not running within Jupyter notebook, or running in differ...
[ "SherylHohman@users.noreply.github.com" ]
SherylHohman@users.noreply.github.com
2bf74226a17840f642af1c200eaf75b60fee3328
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_cuckold.py
02ae87e466b124319f1f538d3d0c656319e5c7f3
[ "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
360
py
#calss header class _CUCKOLD(): def __init__(self,): self.name = "CUCKOLD" self.definitions = [u'a man whose wife deceives him by having a sexual relationship with another man'] self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.specie = 'nouns' def run(self, obj1 =...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
7caed470f07428ee6ecc9f422d867e1662fe2a59
d58a90ea4c2ff3af32eeea40db95b69d8b0955de
/extensions.py
0c18fbab78fc76e8feb94462569b16d6c6742182
[]
no_license
marsalan06/flask_restful_api_tutorial
626bb2434201e292bbc5b9c9dcc7a3be6377a797
4106ec5d0f4bfb19717fe162e486a2236529107c
refs/heads/main
2023-04-05T17:06:04.951563
2021-04-21T23:52:08
2021-04-21T23:52:08
360,338,624
0
0
null
null
null
null
UTF-8
Python
false
false
32
py
from db_config import VideoModel
[ "arsalan.9798@gmail.com" ]
arsalan.9798@gmail.com
470a2ba41670de0bcaf3f71ad21f29748ec55cfe
29736bc4633244f845b2e9defbadbdf5a3dd4309
/object_detection/utils/label_map_util.py
8bc87ab062ae2f5b121e9918ff67ee08cb4828b1
[]
no_license
Abhishek98765/Emergency-Vehicle-Detection-using-Image-Processing
045df875bfdf1883e79953bbde35de18967acafd
748af81176ed4f762f337f5e4ea94e2306c299df
refs/heads/master
2022-12-14T11:09:34.187442
2020-09-06T17:09:57
2020-09-06T17:09:57
293,274,871
0
1
null
null
null
null
UTF-8
Python
false
false
4,701
py
from __future__ import absolute_import from __future__ import division from __future__ import print_function import logging from six import string_types from six.moves import range import tensorflow as tf from google.protobuf import text_format from object_detection.protos import string_int_label_map_pb2 def _validate_...
[ "abhishek.april16@gmail.com" ]
abhishek.april16@gmail.com
c7e48d978b5fe1639d5759f2c11b49831e3f7ab3
90a4b469f41b02aeb430c378ca513a58ea6bd0b5
/Tools/STM32H7_SWO_Output_Solution.py
a3beb7588cbf40c8ee58f32168b3f6bbd0aedfd8
[]
no_license
znfgnu/stm32h7xx-cubemx-makefile-openocd-gdbgui-example
a734d4c47571a258a2c39fc096b0ae1fb59a9996
388e17af8fb595379d93e4206eb553a710064724
refs/heads/master
2022-04-06T20:34:55.574158
2020-01-20T13:48:49
2020-01-20T13:48:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,811
py
#!/usr/bin/env python3 """ # STM32H7 SWO Output Solution Author: Brian Khuu 2020 Main Copy: https://gist.github.com/mofosyne/178ad947fdff0f357eb0e03a42bcef5c This generates codes that enables SWO output for STM32H7 and was tested on NUCLEO-H743ZI2. This is required because stm32h7 changed the regist...
[ "mofosyne@gmail.com" ]
mofosyne@gmail.com
0cd3055eda98921d51bcc30e87b903e4a577e640
c4fe6807966f20d67930d6deb12e9159e225c298
/modeling.py
ad4e1a00e2c0d485b1344d09851cb59238d910ae
[]
no_license
liuyang0711/classifier_multi_label_seq2seq_attention
f9d283823d374a3d7ce70d5c375b4fdb4f2ccd28
cd0214a55a8408582574f5a6425429d41cbd9ce2
refs/heads/main
2023-07-07T19:50:11.407782
2021-08-20T03:31:54
2021-08-20T03:31:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
45,493
py
"""The main ALBERT model and related functions. For a description of the algorithm, see https://arxiv.org/abs/1909.11942. """ import collections import copy import json import math import re import numpy as np import six from six.moves import range import tensorflow as tf from tensorflow.contrib import layers as cont...
[ "noreply@github.com" ]
liuyang0711.noreply@github.com
05abc1222c4d6787e03d129f59fe59e47c85d30b
2b55f8db7c5b713d3c6df6bd67c438caa6e9ebdd
/Python/CCC '12 S5 - Mouse Journey.py
4f58a7294d8101d0fcb178941f8b3673c04d6e4b
[ "MIT" ]
permissive
RobinNash/Solutions-to-Competition-Problems
c68bf8a487b4d003fb7955b1f2d7e297ab39a518
c29f4498e806ce16078934caa9b0975d63c88a79
refs/heads/main
2023-06-18T14:22:39.554912
2021-07-22T02:58:27
2021-07-22T02:58:27
367,485,315
0
0
null
null
null
null
UTF-8
Python
false
false
804
py
# Mouse Journey # # September 29, 2019 # By Robin Nash r,c = map(int, input().split()) # 2D array to hold where cages are cages = [[False for i in range(c+1)] for i in range(r+1)] # 2D array to dynamically allocate the number of paths to each point grid = [[0 for i in range(c+1)] for i in range(r+1)] # ...
[ "noreply@github.com" ]
RobinNash.noreply@github.com
dafd124fb00c29dca97d60c09735878fd6622765
fc1e575351c6142244892261cf5d95db2dd5aab9
/Полезные методы Selenium/Основные методы Selenium/Theory/lesson4_step3.py
b4bbe357597284a386586ec8d1c159c41ed5a635
[]
no_license
genakoganovich/stepik-python-selenium
f8471e8463e20ae5026df08c7a178595c8ce36f7
8c8c4ca3cb24d7cb8bacfbe43ea014c09d593267
refs/heads/master
2023-01-08T22:49:20.753290
2020-11-13T18:11:54
2020-11-13T18:11:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
268
py
from selenium import webdriver browser = webdriver.Chrome() browser.get("http://suninjuly.github.io/wait1.html") button = browser.find_element_by_id("verify") button.click() message = browser.find_element_by_id("verify_message") assert "successful" in message.text
[ "genakoganovich@gmail.com" ]
genakoganovich@gmail.com
e9c9d5026bc592946cbec9fb06e1a0f42089d088
cd2cb47552a5ee914898bb27e5a7eb02362c4e0d
/projecteRestaurant/urls.py
e781eaf7d9de35eb8d6aab1bfab3b45ece5918b8
[]
no_license
Jap9/Django_Restaurant
02bcfb46d24bd83ea10bbc4c9db6c9b17a851396
9f9e0d36a1368f8fb7d9faf7a3be0c1586e69544
refs/heads/master
2021-01-10T16:33:50.811446
2016-04-30T12:44:07
2016-04-30T12:44:07
54,205,064
0
0
null
null
null
null
UTF-8
Python
false
false
511
py
from django.conf.urls import patterns, include, url from django.contrib import admin from Restaurantapp.views import * from Restaurantapp import views urlpatterns = patterns('', url(r'^$',mainpage), url(r'^admin/', include(admin.site.urls)), url(r'^post/new/$', views.new_restaurant, name='new_restaurant')...
[ "josepalbertpifarre@gmail.com" ]
josepalbertpifarre@gmail.com
b4ff6d5b6215e6bf92673e7ecde69612b402be36
32de904cf7a14d5838fee0206600d5627b0cd0c8
/EXIF/EXIF.py
8dba1ce8b34950d0de757ece93e0b06c6a101461
[]
no_license
Wildog/pythonista-toys
087f4214eb6be61f35072829cae228bf684dab70
692579f7cb863b685afa4efd67f5ec29993330ec
refs/heads/master
2020-04-18T10:11:15.914277
2016-09-19T18:29:11
2016-09-19T18:29:11
67,137,601
14
2
null
null
null
null
UTF-8
Python
false
false
6,904
py
import appex from PIL import Image from PIL.ExifTags import TAGS from console import hud_alert from datetime import datetime from geopy.geocoders import Nominatim import photos import ui import io import os def get_exif(img): ret = {} try: info = img._getexif() except: pass else: for tag, value in info.items...
[ "i@wil.dog" ]
i@wil.dog
d2ac8ca8d2e56b54a1ed6cdcd97c0b628f951c63
5182897b2f107f4fd919af59c6762d66c9be5f1d
/.history/src/Simulador_20200712170607.py
1de1eda53add0e93321c63b8d3811c1a3c54cdde
[ "MIT" ]
permissive
eduardodut/Trabalho_final_estatistica_cd
422b7e702f96291f522bcc68d2e961d80d328c14
fbedbbea6bdd7a79e1d62030cde0fab4e93fc338
refs/heads/master
2022-11-23T03:14:05.493054
2020-07-16T23:49:26
2020-07-16T23:49:26
277,867,096
0
0
null
null
null
null
UTF-8
Python
false
false
15,199
py
import pandas as pd import numpy as np from Matriz_esferica import Matriz_esferica from Individuo import Individuo, Fabrica_individuo import random from itertools import permutations import matplotlib.pyplot as plt from matplotlib.colors import ListedColormap from scipy.sparse import csr_matrix, lil_matrix class S...
[ "eduardo_dut@edu.unifor.br" ]
eduardo_dut@edu.unifor.br
32b1c34d9bfe6e0492cae5e46eb37a434046e163
fcee849921db7153446b2fcef5cc698b530c8c8b
/backend/tracker/migrations/0002_alter_route_timing.py
b97d828d24b8d4f7aaedff7aa2a3a63b1895e9fb
[]
no_license
josiahphua/climbdjango
6a0cca8c66e73d114cc7a671eed43881b7b8933a
175050853891772f1ab832df1f58a3758202d0b3
refs/heads/main
2023-06-29T15:48:44.416455
2021-07-16T04:17:48
2021-07-16T04:17:48
392,588,627
0
0
null
null
null
null
UTF-8
Python
false
false
405
py
# Generated by Django 3.2.5 on 2021-07-14 03:28 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('tracker', '0001_initial'), ] operations = [ migrations.AlterField( model_name='route', name='timing', fi...
[ "twangxh@Twangs-MBP.lan" ]
twangxh@Twangs-MBP.lan
39ac8c429fe95711c58d28d502807484f6054868
58e810c96b5be58d681520744784f69d79d02f47
/mf_module/run.py
f2dd26b62348053715714690914892226665c5f2
[]
no_license
littleso-so/Recommender
7e391db9878796cc89d5d6f74ab7756263e2f61f
7ea0e475580557d91e3939f67ca0da6064eca6dc
refs/heads/master
2020-04-02T09:16:27.610479
2018-09-04T03:24:53
2018-09-04T03:24:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,255
py
''' Created on Dec 9, 2015 @author: donghyun ''' import argparse import sys from data_manager import Data_Factory parser = argparse.ArgumentParser() # Option for pre-processing data parser.add_argument("-c", "--do_preprocess", type=bool, help="True or False to preprocess raw data for ConvMF (defa...
[ "lmm6895071@126.com" ]
lmm6895071@126.com
120b3991e75b3590f66f073c15ed29eeaf93108e
6a6b1ca96853bb6b49bb66329b72bf6c33472f3a
/web/django/mysite/board/models.py
6398e1198a588cac77e5727809c3ac88b106f355
[]
no_license
gghotted/TIL
70e33622b142b1a0ee8cbcd8bca010cd09477cd4
5de1e664ec5caa1a0e769e1043f4ddabe63870a5
refs/heads/master
2020-11-29T19:43:09.017234
2020-04-25T18:07:13
2020-04-25T18:07:13
230,201,812
0
0
null
null
null
null
UTF-8
Python
false
false
588
py
from django.db import models from django.utils import timezone class Board(models.Model): author = models.ForeignKey('auth.User', on_delete=models.CASCADE) title = models.CharField(max_length=200) text = models.TextField() created_date = models.DateTimeField(default=timezone.now) views = models.Po...
[ "gghotted2@naver.com" ]
gghotted2@naver.com
7420b28bdb41ab90ac3ba325620d4e04886c8617
4665d9e55f056f2f82785f4f458627c104b12d1a
/stats.py
c7b8c933db9971c9f32b2cd43799757160fe853a
[]
no_license
merfill/text_normalization
eeb1dc59fa733212d042c23f37a8f52d7a217c72
4175072151c0cf9467d9132be75c75b399215b43
refs/heads/master
2021-10-14T09:45:20.111327
2019-02-04T08:12:31
2019-02-04T08:12:31
108,391,902
0
0
null
null
null
null
UTF-8
Python
false
false
414
py
import os import csv # read data into memory classes = {} print 'start reading data into memory...' with open('data/en_train.csv', 'rb') as f: reader = csv.DictReader(f, delimiter=',', quotechar='"') for row in reader: if row['class'] not in classes: classes[row['class']] = 0 class...
[ "mefrill@yandex.ru" ]
mefrill@yandex.ru
b0dfaf8ef3d0bae96e9be256f13702376ed147c3
d231b042ec27012e1949be74e199afadbb20396f
/gym_minigrid/envs/putnear.py
b93de26afd2c92a5de80020f58f5b3424c54852c
[ "BSD-3-Clause" ]
permissive
planetceres/gym-minigrid
090ea02952b1ccdc49c0b6c055dd7bb4e152f6da
5e4d517a057d11f8b9eb599398f37563654ba946
refs/heads/master
2021-04-15T18:55:13.339789
2018-04-14T15:50:49
2018-04-14T15:50:49
126,549,762
1
0
BSD-3-Clause
2018-04-14T15:50:50
2018-03-23T23:50:20
Python
UTF-8
Python
false
false
3,734
py
from gym_minigrid.minigrid import * from gym_minigrid.register import register class PutNearEnv(MiniGridEnv): """ Environment in which the agent is instructed to place an object near another object through a natural language string. """ def __init__( self, size=6, numObjs=2...
[ "maximechevalierb@gmail.com" ]
maximechevalierb@gmail.com
baa70e074451135b2ba2795acc1426ea1a7845dd
c0ad33c6e01062582f3a4d04c9140b54915938b5
/week-11/Day_76/same_tree.py
07648f3f35661592d7237064b453558441ec243e
[]
no_license
ShahriarCodes/100_days_LeetCode_challenge
9574a464b7f2c623630899bf32051c31ab7a6532
ade6196695fa2ef3214cd79a4d4d6d8adb4fc508
refs/heads/master
2023-02-03T05:34:41.285159
2020-12-25T17:59:04
2020-12-25T17:59:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
506
py
# Definition for a binary tree node. # class TreeNode: # def __init__(self, val=0, left=None, right=None): # self.val = val # self.left = left # self.right = right class Solution: def isSameTree(self, p: TreeNode, q: TreeNode) -> bool: if p is None or q is None: retur...
[ "shahriar.hasan100@gmail.com" ]
shahriar.hasan100@gmail.com
e41a5132f505cecaa25c00592368e3e0c1418a4d
06180bf039f24ab3d6e557b9393728a1f10c1c4e
/allocation.py
e525ef82072dd4b4a254bf6f979dde2d29bb1fb1
[]
no_license
YwM3829/allocationbot
4a26fb9694a18c7c0f7e775f1d5abe8f1b711a6e
2af981b41ddbba67dc143e2d525b69c2ccd758e2
refs/heads/master
2020-03-18T12:46:58.452075
2018-05-28T13:59:16
2018-05-28T13:59:16
134,743,834
0
1
null
null
null
null
UTF-8
Python
false
false
2,363
py
#Allocation discord bot by YwM#3829 import os import discord from discord.ext import commands from discord.ext.commands import bot import asyncio client = discord.Client() bot = commands.Bot(command_prefix = "#") bot.remove_command('help') my_user_id = "312615388854878208" @bot.event async def on_ready(): pr...
[ "noreply@github.com" ]
YwM3829.noreply@github.com
5bc3d3b181019fbd4be3e1dd8b566cd998e88813
c5480a7d900b1415d498701eb364ccca8ea5a862
/ML Concepts implementations/SVM/SVM-kernel-trick-linearly-inseparable-data-part-2.py
55ef3864a7f2226b359c6671a72cb6082f1468a4
[]
no_license
activeskygate/Machine-Learning-Examples
61b37e9bf2ca89e21a119da223a16a85b588fa57
f9d7f8af019442656d6333c6289cbb26e51e4fbb
refs/heads/master
2023-03-14T20:31:54.949612
2018-03-09T08:42:19
2018-03-09T08:42:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
740
py
# -*- coding: utf-8 -*- """ Created on Sun Feb 22 19:27:43 2017 @author: sraghunath Transforms the data onto a higher dimension and projects it back using the linear trick via RBF Kernel """ import matplotlib.pyplot as plt import numpy as np from plot_data import plot_decision_regions from sklearn.svm import SVC ...
[ "siddharth.raghunath@hds.com" ]
siddharth.raghunath@hds.com
d77eb9b1e235b598f39734d82b125907fdbf8480
a11ce502842987411d6b8aa047ffa4e712b5efb9
/ul.py
32ff13988d4d378e846d73e08993ff7dba523322
[]
no_license
aryavikas/Kalman-Filter-Based-Tracking-for-Channel-Aging-in-Massive-MIMO-Systems
6d3a714192a9d579e437775a1b8f882d68d4b3fb
022f83d727a3d97cd769ed021ea61731f43abcf1
refs/heads/master
2020-03-10T21:36:06.082554
2018-04-27T06:08:52
2018-04-27T06:08:52
129,598,173
0
0
null
null
null
null
UTF-8
Python
false
false
837
py
from pylab import * from matplotlib import rc,rcParams import matplotlib.pyplot as plt plt.rcParams["font.weight"] = "bold" plt.rcParams["axes.labelweight"] = "bold" import numpy as np x = [20,30,40,50,60,70] datal1=[19.0376,22.5148,25.0996,26.7576,28.6828,31.1158] datal3=[25.4709,29.7743,33.2772,35.7501,39.031,41.362...
[ "noreply@github.com" ]
aryavikas.noreply@github.com
75e9c141a537af48687fa3c58e33c21199d6dd77
5e277a32c166ae45bea28310074dc459a0d99cf6
/.metadata/.plugins/org.eclipse.core.resources/.history/a2/3054477d7e9b00161299af2c090fd9cc
0d19a34a5371b728d5025ab1101811006b6ba44d
[]
no_license
vgvcode/pos
4d7172d7905f60157fcae445c650475d17a9a390
a9dba2c5c3fc8c4529c6619a3dc92c9608a4c70d
refs/heads/master
2021-01-13T13:12:37.833510
2016-11-02T22:28:42
2016-11-02T22:28:42
72,686,364
0
0
null
null
null
null
UTF-8
Python
false
false
8,011
#!/usr/bin/python from __future__ import print_function # Python 2/3 compatibility import json from decimal import * import time import uuid import boto3 from copy import deepcopy from boto3.dynamodb.conditions import Key import commonmodule # Helper class to convert a DynamoDB item to JSON. class DecimalEncoder(json....
[ "vgvcode@gmail.com" ]
vgvcode@gmail.com
f37cb3349f2258ce131ece0a60b7c4eee6a8f4bf
cda974da2632b8486fbe8373af337826d73f614b
/src/stse/__init__.py
1fe5881e1852a07e68576afa848cef476195760d
[]
no_license
sstoma/stse
0acd03e2c7d2b6ed480ab9843a3206ac16633269
6b51cd71b55fb68092fd67deebf08d5e34f1519f
refs/heads/master
2020-05-17T08:51:27.471813
2015-01-04T20:58:02
2015-01-04T20:58:02
28,810,112
0
1
null
null
null
null
UTF-8
Python
false
false
91
py
import core import tools import growth import gui import io import structures import visu
[ "sstoma@users.noreply.github.com" ]
sstoma@users.noreply.github.com
67be99880fd7439a17fda45cd702fd09abb7a76b
7e43652b347e601b3ff35ea28e838e334d84ee32
/myenv/bin/django-admin.py
f0f0008dffe66e2458827f5288079961524886de
[]
no_license
PunjabiAI/aivaid
3b187200750af6503d6d4f4661ce7c1e6489b4d1
a1e69e7ed1295bf90a965b5dd68f91c9885bf5f6
refs/heads/master
2023-06-02T16:19:14.824238
2021-06-17T07:45:08
2021-06-17T07:45:08
377,430,560
0
0
null
null
null
null
UTF-8
Python
false
false
162
py
#!/home/webtunix/Music/apiwork/aivaid/myenv/bin/python3 from django.core import management if __name__ == "__main__": management.execute_from_command_line()
[ "priyanka@webtunix.com" ]
priyanka@webtunix.com
0e857fadcc4938ff913f75f2ed8f300b41fd2a8f
54f0008346411fd389e9b656daa42faf0a3ece3e
/sets/models.py
23437cefda2f2a6f3f311b705e9a35b01b65d037
[]
no_license
abitty/altergot
7fd75dfa414719be44946e15426fe62ccd60180a
6982d5a564ea0c83e257e50cb317a0a0b65471c8
refs/heads/master
2021-12-12T10:24:58.059234
2021-09-05T12:14:09
2021-09-05T12:14:09
105,701,321
0
0
null
null
null
null
UTF-8
Python
false
false
1,337
py
from django.db import models from django.utils.http import urlencode from django.urls import reverse # Create your models here. class Collection(models.Model): COLLECTION_CHOICES = ( ('CN','Монеты'), ('BN','Купюры'), ) owner = models.ForeignKey('auth.User',on_delete=models.CASCADE) kind = models.CharField("Ти...
[ "abitty@ya.ru" ]
abitty@ya.ru
a946e22c2ec36535b3110adba013e4c8add97df0
4ddb2e0f79e69350179e50cc0cd220dc51de6ca6
/pages/panel.py
88a3af56c649cd482e50a53bb7bfe1dbbc1b8bd3
[]
no_license
384782946/ProjectWizard
08ff9db2c95056b32717b6159c203040d73882e5
985163fe2d3f611be1997ec27b954d77a3b809d6
refs/heads/master
2021-01-09T20:42:32.185239
2017-04-24T07:38:15
2017-04-24T07:38:15
62,059,098
0
1
null
null
null
null
UTF-8
Python
false
false
1,637
py
# coding:utf-8 ''' 作者:张潇健 日期:2016-6-14 概述:列举之前向导的用户设定 ''' import app from PyQt4.QtGui import QWizardPage,QHBoxLayout,QVBoxLayout,QLabel,QLineEdit,QPushButton,QListWidget,QDateEdit,QFileDialog from PyQt4.QtCore import QStringList,Qt,QDate class PanelPage(QWizardPage): def __init__(self): super(PanelPage,s...
[ "384782946@qq.com" ]
384782946@qq.com
61b2cf414d60349c206376834ad4464683e92bd6
328c9ba6eccc7ef2c0916be369f8bc0cd954cea8
/code/run_grid.py
95df865342e70c448612b08de0d24153ef101c2b
[ "MIT" ]
permissive
caioc2/dengue_release
933a5bcb7fbbc66d5b092978969d72dcab4fef17
316a8da7b166f0a9a985ee1817d79f1ae6ae6e4a
refs/heads/master
2023-08-29T21:27:25.015560
2021-11-12T16:47:49
2021-11-12T16:51:16
300,068,437
7
2
null
null
null
null
UTF-8
Python
false
false
27,260
py
import pandas as pd from glob import glob import numpy as np import os import sys import math from sklearn.preprocessing import StandardScaler from sklearn.metrics import accuracy_score from sklearn.metrics import f1_score from sklearn.metrics import recall_score from sklearn.metrics import precision_score from scipy.s...
[ "caioc2bolado@gmail.com" ]
caioc2bolado@gmail.com
06482a9d416856f3cc042110e582582a828ae569
96139fd4b616bccef2401bd3fb8a25d5fd5d33f1
/tests/conftest.py
b2523f8db482bc99427389c74b1f7e855d0d7d6b
[]
no_license
nathancooperjones/2048-ai
af9d6fec1af4a9d1ac47cba8eee78b8f643ddeec
ad0e35cb684bfb355babce0d70dc0797c22c6136
refs/heads/master
2020-08-24T13:36:28.503146
2020-01-03T23:41:38
2020-01-03T23:41:38
216,836,120
0
0
null
null
null
null
UTF-8
Python
false
false
91
py
import sys import os sys.path.append(os.path.join(os.path.dirname(__file__), 'fixtures'))
[ "nathancooperjones@gmail.com" ]
nathancooperjones@gmail.com
51fbf6df906d530407c2aa6d975e24a0544b48d3
2d3198d326c695fdbe9d1f7eaed1072908e8d246
/csv2tvm/csv2tvm.py
198a54b0c773d78c1ee7cf4b6803cdd8e84a79fa
[]
no_license
pollozhao/Hydro
8da02e6dae7b1819b296f54fb084a363641341cb
cc0879f78eed9ac3404c2849324fdfceac3f19b3
refs/heads/master
2020-04-15T14:11:31.282703
2019-01-10T04:55:10
2019-01-10T04:55:10
164,745,346
0
0
null
null
null
null
UTF-8
Python
false
false
1,839
py
# csv format WITHOUT heading: start,node,Kh,Kv,Ss,Sy # sorted by: start,node inputfile = '004_total_TVM.csv' outputfile = inputfile.replace('.csv','.tvm') total_sp = 108 fout = open(outputfile,'w') fout.write(' # MODFLOW-USG Time-Variant Materials (TVM) Package \n\ 1 0 0 ...
[ "noreply@github.com" ]
pollozhao.noreply@github.com
ceaa02895cc7b072cfdd7f6c27db13f28b462bad
ad5542c705938d1d52ab14e363035b4575e8abcd
/i2b2tools/converters/__init__.py
c113950945eb5caf0f40c62e6e7f27d95128985a
[ "Apache-2.0" ]
permissive
cjliux/i2b2tools
0811236675ef83277a8784c000d46fff8dd9501a
305f2555121de4f09780ca13c018644b8759e363
refs/heads/master
2020-05-04T15:35:29.498884
2019-04-25T08:13:19
2019-04-25T08:13:19
179,247,860
1
0
null
null
null
null
UTF-8
Python
false
false
81
py
from .inline import standoff_to_inline, inline_to_standoff from .common import *
[ "cjliux@gmail.com" ]
cjliux@gmail.com
a4e081e2f2324bde8cb985aa063647de3d17c7ee
59da8c75021610887304acc36fdecad84289847c
/강병수/Etc/210402_python/problem01.py
1202d39d28a5df6125aca88fd94af80fd59be347
[]
no_license
kb-ict/20201126_cSharp_java_class
8e3d041566a74f39911c660c89fd1174a3eec224
e5be9e11f1d0e2f58fbbdade6c28c6de1fefc023
refs/heads/main
2023-05-09T12:29:51.721299
2021-05-24T07:25:36
2021-05-24T07:25:36
340,220,518
0
0
null
null
null
null
UTF-8
Python
false
false
286
py
import pyperclip, pyautogui, time pyautogui.hotkey('win','r') pyautogui.write('mspaint') time.sleep(1.5) pyautogui.hotkey('enter') time.sleep(2) pyautogui.moveTo(342,92, duration=2) pyautogui.click(x=342, y=92) time.sleep(1) pyautogui.click(x=500, y=400) pyautogui.write('Well done!')
[ "biscottimeru@gmail.com" ]
biscottimeru@gmail.com
f3396d3389170eab0fa52c05e0fa2c94ee90fb82
f473eba3a4a32c8dbbca99d1e25a4715abf5767e
/datasets/demon_dataset.py
02ec59a0a6134e5f4cd8f914d678af01df940c00
[ "BSD-2-Clause" ]
permissive
xubin1994/multi_view_stereonet
1ef82e2bac994ab68b462795ee436959cb790e1d
ab37254ed6c17a9057d0a006dc7ea2dd636cdd2f
refs/heads/main
2023-06-14T20:56:50.823749
2021-05-21T22:41:45
2021-07-14T17:13:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,505
py
# Copyright 2021 Massachusetts Institute of Technology # # @file demon_dataset.py # @author W. Nicholas Greene # @date 2020-10-09 11:55:58 (Fri) import os import glob import random from PIL import Image import numpy as np import torch.utils.data as tud from utils import depthmap_utils class DeMoNDataset(tud.Datase...
[ "wnick.greene@strio.ai" ]
wnick.greene@strio.ai
ffc7449e3ebf51010762bd5fb7423dfa78e2f390
dfcdf18ec829d7926e1fad2df82e6156fdc0c2d0
/spit/zscale.py
f40490127cd102372df644d17c747f2b374b8591
[ "BSD-3-Clause" ]
permissive
pypeit/spit
c87d4906ce35c20e68bcaaa536d7e5622c3f5de0
77f0687c9aeae11ad56f0c5ac2a2b2ad21eed7fb
refs/heads/master
2022-01-15T02:37:51.432828
2019-08-13T20:58:49
2019-08-13T20:58:49
112,011,236
2
2
BSD-3-Clause
2019-08-14T05:34:00
2017-11-25T14:49:25
Python
UTF-8
Python
false
false
6,513
py
""" This file is part of the STScI numdisplay package: https://www.stsci.edu/trac/ssb/stsci_python/browser/stsci_python/trunk/numdisplay/lib/stsci/numdisplay/zscale.py?rev=13225 under the following license: Copyright (C) 2005 Association of Universities for Research in Astronomy (AURA) Redistribution and use in s...
[ "xavier@ucolick.org" ]
xavier@ucolick.org
ce7653c10072b6131971eb3c9e2d75e9fcff2f60
45dadbb39beb9d3ddea48fdf088b07d7b8f06f27
/coroblog/asgi.py
9d1eed0fea1d1284bc34b25dc8f72d7f57ff5574
[]
no_license
jod35/Memo
edcf7a00ccdb76fc9525354a8151332aa5082f19
53bdbc85f2c4ccfab84c5e91e369cf6136c827ce
refs/heads/master
2023-01-23T15:07:02.566048
2020-11-12T18:13:00
2020-11-12T18:13:00
305,370,403
0
0
null
null
null
null
UTF-8
Python
false
false
393
py
""" ASGI config for coroblog 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/3.0/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_SETT...
[ "jod35@test.com" ]
jod35@test.com
111dfde5ae2aa71082fdb16043ff83be4fc8d48c
9f02973cd0b8e7886085b7cff75b0f515ddf1a37
/PLSA(PLSI)/src/PLSA_slow.py
41ff4a446e9382892c5e4c84f4ff32ab7acc026b
[]
no_license
damo894127201/MachineLearning
9c578628936ded8e4c26c232d6adabc58e09bf54
ca0d43c9ba8ff7d1353606ba893291e3bf10f9e7
refs/heads/master
2020-07-23T12:23:48.141435
2019-11-20T02:06:48
2019-11-20T02:06:48
207,554,934
4
1
null
null
null
null
UTF-8
Python
false
false
14,333
py
# -*- coding: utf-8 -*- # @Time : 2019/11/10 10:14 # @Author : Weiyang # @File : PLSA_slow.py #====================================================================================================================== # 概率潜在语义分析(probabilistic latent semantic analysis,PLSA):含有隐变量的模型,学习算法是EM算法 # 也称概率潜在语义索引(probabilis...
[ "894127201@qq.com" ]
894127201@qq.com
e2b8e7c470a6c659c0a81869ec8129e631a50ab7
760c7b015b30603bc8041f2bca602d63a9549680
/Website-WebApp/NowUI/NowUI/settings.py
aafec1789f25c13365512c7fabab508874b79542
[]
no_license
Rac-Ro007/Decentralized-Fleet-Management-System
555e79cc049851bce0ef4577a1e6d6524257bf09
c89c9af0fbd309a70836746193bb141e3e50c644
refs/heads/master
2022-11-11T09:23:35.027000
2020-06-30T06:20:16
2020-06-30T06:20:16
276,010,955
0
0
null
null
null
null
UTF-8
Python
false
false
3,149
py
""" Django settings for NowUI project. Generated by 'django-admin startproject' using Django 2.2.1. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import os # B...
[ "ronak.vadhaiya@somaiya.edu" ]
ronak.vadhaiya@somaiya.edu
e6aae4664af1c395e025ebab20e82e126d8262a2
c675eaf3dc367e901e68805cce36f69781187b04
/Stack/Protostar-exploits/Nebula/Level 17/level17.py
fbfa908b08a8913ef54be8b52a6bd1127a130adf
[]
no_license
nu11secur1ty/Linux_hardening_and_security
ce97b32bf26dd681079a53cd659f123fb276bd1a
bf00a6ef37aee358be28e60d0af2511d7ee028e2
refs/heads/master
2023-03-06T14:26:08.416964
2023-02-22T12:05:51
2023-02-22T12:05:51
97,936,635
14
5
null
null
null
null
UTF-8
Python
false
false
542
py
#!/usr/bin/python import os import pickle import time import socket import signal signal.signal(signal.SIGCHLD, signal.SIG_IGN) def server(skt): line = skt.recv(1024) obj = pickle.loads(line) for i in obj: clnt.send("why did you send me " + i + "?\n") skt = socket.socket(socket.AF_INET, socket.SOCK_ST...
[ "venvaropt@gmail.com" ]
venvaropt@gmail.com
0e312a2df090eea62b82c07fd7402e9aa4d0c1cd
5d093e51efa7a5e87feb54785192bf34837cb4f8
/noise_fft.py
5462a75f4d1edfc7b616a04a9af60944f10c25c5
[]
no_license
shigasy/fft-example
8f2ce9265b674011e9cbb4748037dffc02e4e345
4149e1063df59a39119fbcb9fcae51b0e06a2b12
refs/heads/master
2022-11-08T16:13:36.689727
2020-06-16T06:50:41
2020-06-16T06:50:41
272,333,894
0
0
null
null
null
null
UTF-8
Python
false
false
3,958
py
import numpy as np import matplotlib.pyplot as plt np.random.seed(0) # 乱数seed固定 N = 128 dt = 0.01 # サンプリング周期(sec) 100Hz freq = 4 # 周波数 Hz 1秒あたりに繰り返される回数のこと 周期は1波長の数 周波数は1秒あたりに繰り返される回数のこと? 4Hz amp = 1 # 振幅 t = np.arange(0, N * dt, dt) f = amp * np.sin(2 * np.pi * freq * t) + np.random.randn(N) * 0.3 # 信号 plt.xla...
[ "kxx555u.u@gmail.com" ]
kxx555u.u@gmail.com
e3f696f1b168e75b90ad00e7e7a6c642b8e5a410
552c39141dab7cbc0c34245000291a46cdb41495
/lte_enb/src/acceptance/s1ap/cm_xta_pycmd.py
00cae7aa8528453c4f59778e97c32505320da2dc
[]
no_license
cmjeong/rashmi_oai_epc
a0d6c19d12b292e4da5d34b409c63e3dec28bd20
6ec1784eb786ab6faa4f7c4f1c76cc23438c5b90
refs/heads/master
2021-04-06T01:48:10.060300
2017-08-10T02:04:34
2017-08-10T02:04:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
56,720
py
# #/********************************************************************20** # # Name: SIP # # Type: Python File # # Desc: # # File: cm_xta_pycmd.py # # Sid: cm_xta_pycmd.py@@/main/26 - Tue Apr 10 12:26:14 2012 # # Prg: # #***********************************************...
[ "sriprasads@gmail.com" ]
sriprasads@gmail.com