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
fee21611eaf17114936248b43a353e50c2c2ad87
c1aedf51610c576ba543a093736f9bd50313885b
/new_version/twitter_trends.py
7bd9e821d67759a490a065a37d634b9c20502974
[]
no_license
hqsiswiliam/COMM031_Assignment
5033b133511ca122b3a9392c70ec2ae22984b85a
19c14987bde9286c77b602438d6424ede4b14beb
refs/heads/master
2020-04-06T07:01:21.085621
2014-05-12T22:26:06
2014-05-12T22:26:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,982
py
import tweepy import pickle from sklearn.naive_bayes import MultinomialNB from sklearn.feature_extraction.text import TfidfVectorizer import my_api def createTweepyAPIObject(consumer_key = '43DH3cys1RRfSEJLmnP3S9FYY',consumer_secret = 'zAnNf0Zf0PkpZiz3Dt6g4LDIVV1XlFE8WYPihRewGk0ztP2UIk', access_token = '2231668399-D1...
[ "hqsiswiliam@gmail.com" ]
hqsiswiliam@gmail.com
36d111e1771dcbeffa6aa7bb0eed33b39255927e
c8c196932b6e6876f59fd29a2103739063bac755
/producer_consumer2.py
c887e6649c5216d6fcfd5023df1214f0096d3843
[]
no_license
Sweltering/thread-pro_con
e121bd1b6241cb56f7e9535439ae95f5d98e44b5
801040aa54f3a108b09c3aa589aae83bcb6269d0
refs/heads/master
2020-03-27T10:03:00.730286
2018-08-28T04:21:58
2018-08-28T04:21:58
146,391,447
1
1
null
null
null
null
UTF-8
Python
false
false
1,870
py
# Condition版本生产者消费者 import threading import time import random CONDTITION = threading.Condition() # 创建一个共享Condition GMONEY = 1000 # 金库初始值 TIMES = 0 # 生产次数初始值 TOTALTIMES = 10 # 生产者只生产10次 # 生产者 class Producer(threading.Thread): def run(self): global GMONEY global TIMES while True: ...
[ "wj@magedu.com" ]
wj@magedu.com
eed0537fe59da61c2c9fc47fbe008b97cf832160
02e0de917e1d6fb64522fdfc145f9388dc5653f8
/招聘信息爬虫/model.py
086c5cd84120dbb4bc6304dad092ae8e92604d56
[ "Apache-2.0" ]
permissive
SeiunSky1/ProjectsForChineseGraduates
f1afc5f5f2cf86e9eb96d85f46c945da2e364f82
49f6a7c10bb6725b415eff2d7a882510653af57b
refs/heads/main
2023-09-04T09:06:45.550904
2021-10-19T02:27:39
2021-10-19T02:27:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,917
py
from preprocessing import getXandY import numpy as np from sklearn.model_selection import train_test_split from imblearn.over_sampling import RandomOverSampler from sklearn.model_selection import GridSearchCV from sklearn.model_selection import RandomizedSearchCV import pickle def save_model(filename): X,y = getXa...
[ "xsxjhm88776218@126.com" ]
xsxjhm88776218@126.com
4b88fd538aed971df0bd9d0ec5c2a4cc4800b66e
b312c25e681c6902d500111bed6eddcaf8ef7878
/DvaSun/Agent/plugin/collectData.py
89f28f0126d06987b4206fd3a7b432141ce6df50
[]
no_license
OriginLucas/monitor
83ec95b26736363ec4518ad6e66afaab9ab00e42
26974a903f612458eba20a8904145f02fbf0055d
refs/heads/master
2021-01-25T14:15:48.695435
2018-03-03T08:02:52
2018-03-03T08:02:52
123,671,541
0
0
null
null
null
null
UTF-8
Python
false
false
1,815
py
#!/usr/bin/python from Agent.plugin.launch import launch_items import json import threading from Agent.plugin.trans import Trans_data class collect_api(object): cpu = Trans_data('CPU_info') memory = Trans_data('Mem_info') disk = Trans_data('Disk_info') def col_cpu(self): t1 = thr...
[ "noreply@github.com" ]
noreply@github.com
8f980f7a468a73477498934d1403c6aff4c77d8a
20188b14d1c765844c7c82b6c150f487cac0bc58
/LR_kFCV.py
a24b60ba59275ce5aa9cd5d9a430bf23f15fe994
[]
no_license
jay27694/Data-Mining-Classification-Algorithms
6cb0148f023e1af92f89cb4d0765024bc68b5c99
35275d7d1a843cc8f3e353994f21e91447b0854c
refs/heads/master
2021-01-01T18:30:50.603895
2017-07-25T21:27:25
2017-07-25T21:27:25
98,350,250
0
0
null
null
null
null
UTF-8
Python
false
false
4,057
py
import numpy as np import csv from numpy.linalg import inv #take datasets print("1: ATNT50, 2: ATNT200, 3: Exam, 4: ATNT400, 5: Gene, 6: Hand ") input_file = int(input("Enter dataset number: ")) if(input_file == 1): file_train = open("Data\\ATNT50\\csv\\trainDataXY.csv") if(input_file == 2): file_train = open(...
[ "jaypatel27694@gmail.com" ]
jaypatel27694@gmail.com
878ba54228fb77bfbe8877d32692469f4266a528
90cb3924b35fcb86942f669731b5e158401961b6
/ngs_summarized_py/ngs_summarized_v13.py
0d133616be586ba0253f722f673308dae1d753e7
[]
no_license
solnavss/biopython-learning
5b339d53a5461c7f4780eb89df87453280657516
15d9686916d216c42766e68fa0641d0aef3606cc
refs/heads/master
2021-09-25T17:34:23.276199
2018-10-24T17:37:44
2018-10-24T17:37:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,415
py
#!/usr/bin/python2.7 # This Python file uses the following encoding: utf-8 #------------------------------- Importing modules ----------------------------- from collections import OrderedDict import re import os, sys #----------------------------- Opens and write files --------------------------- contigs = open('co...
[ "solnava.mi@gmail.com" ]
solnava.mi@gmail.com
0b2ea839276a4ec36c3be5661e2ffc16dd965171
c1655d6c6c11dafc1c7fa9f771b8e1f99cf7f123
/venv/lib/python3.6/site-packages/pyomo/core/base/suffix.py
aa87df3782834ac58feecd227e58f1e7c93b5655
[]
no_license
igorsowa9/vpp
a27520f19a54d7490534016ded9cd66f4ef5385b
ea91e3b2db921e7b1a450d243f39dbcf61231107
refs/heads/master
2021-04-30T03:28:56.642244
2019-09-16T09:01:49
2019-09-16T09:01:49
121,514,524
3
1
null
null
null
null
UTF-8
Python
false
false
15,481
py
# ___________________________________________________________________________ # # Pyomo: Python Optimization Modeling Objects # Copyright 2017 National Technology and Engineering Solutions of Sandia, LLC # Under the terms of Contract DE-NA0003525 with National Technology and # Engineering Solutions of Sandia, LLC,...
[ "iso@ubuntu.ubuntu-domain" ]
iso@ubuntu.ubuntu-domain
6ef713c2e9955d39b1d41b97f2c6af1db8994234
0a38a23f0afd0a55f5b0db56e1b9f7a6318134a7
/.config/polybar/scripts/tempCodeRunnerFile.py
abd612bc1218e28c364a30b0a0f2802ae3dece98
[]
no_license
must4rd/dotfiles
d2c778daa5da928e1177b8f2b9a675cbfb04e57a
cdee92d0667fb6527bce1c6f8fbe7945134d4136
refs/heads/master
2020-06-02T23:26:48.538863
2020-03-06T18:13:20
2020-03-06T18:13:20
176,594,378
0
0
null
null
null
null
UTF-8
Python
false
false
186
py
import gi # gi.require_version("Gtk", "3.0") # from gi.repository import Gtk, Gdk # window = Gdk.Window() # window.connect("delete-event", Gtk.main_quit) # window.show_all() # Gtk.main()
[ "majoderksen@googlemail.com" ]
majoderksen@googlemail.com
e4c333cff4daee43ed2150afdfd377001881c76e
5dad5cf477d76c7ff8aeb5804e4f7dda62f6cfeb
/caesar.py
369975ca20371523317a18e7b2c1891457cd0461
[]
no_license
yinsain/dhke_caesar_secure_file_transfer
484be108695cf8bcd2582bdf47e570b33649def6
76904f1b742bea14ab9bbfc9311c2a97fd194979
refs/heads/master
2022-11-23T14:49:20.178195
2020-07-22T21:29:56
2020-07-22T21:29:56
281,786,012
0
0
null
null
null
null
UTF-8
Python
false
false
2,194
py
#!/usr/bin/env python3 import minilogger ml = minilogger.minilogger('crypto.log') def code(c): # single function for coding decoding if type(c) == type('a'): # perform range based ASCII comparison if c >= 'a' and c <= 'z': return (ord(c) - ord('a')) + 40 if c >= 'A' and c <=...
[ "ydeep18@gmail.com" ]
ydeep18@gmail.com
c2f165e2d7ebaf17c6d5c48b3576de36260edd53
6b2b21730b54868935f3617c00ffd7a7846c8359
/application/controllers/helpers/format_helper.py
c6f3c263999c40e723291471f4f559e30f996a60
[ "MIT" ]
permissive
teomoney1999/fn_backend
2deba161cf28745cd1947f620da5400422b80d14
ba10c1aa2a46a4b5bd3a51212eba335991b173b0
refs/heads/master
2023-06-21T16:48:52.633352
2021-07-21T14:48:06
2021-07-21T14:48:06
386,329,638
0
0
null
null
null
null
UTF-8
Python
false
false
41
py
def to_dict(obj): return vars(obj)
[ "teomoney1999@gmail.com" ]
teomoney1999@gmail.com
50023bf9df33c22176c2dd31f6c75b785f32917d
8ccda37f25907d63b89f9603d251447cac1ca88d
/andreprado/apps.py
a5918768df3fb795d97a8d2e15f3f18bd67cea92
[]
no_license
andre-prado/myresume
a79678c0e729ef1085fa06bcad3ad77bacfebef1
ae80ec1dd53272c62eae3e93d08ca767e9beae35
refs/heads/main
2023-02-03T11:38:00.605092
2020-12-22T19:24:43
2020-12-22T19:24:43
323,678,211
0
0
null
null
null
null
UTF-8
Python
false
false
95
py
from django.apps import AppConfig class AndrepradoConfig(AppConfig): name = 'andreprado'
[ "andr3prad0@gmail.com" ]
andr3prad0@gmail.com
f654f454570e218f8ca2c223ec748ea8067fc744
07c33c620099ce9c526a1b1d7a4ea7e49de94c37
/misc/curvature_jit.py
1286119df5cad43550c1ab176c32bc54b55f5bf3
[]
no_license
dkon99/Curvature
3b0d9d42d364fb91e2e5c5caaa4b102641c59e12
783431ef0e9f3f07045f9adccf60fc8ce4d90cd1
refs/heads/master
2021-01-01T18:21:44.664551
2017-08-19T20:41:43
2017-08-19T20:41:43
98,322,456
2
3
null
null
null
null
UTF-8
Python
false
false
1,744
py
import h5py import matplotlib.pyplot as plt import numpy as np import scipy.linalg import time from numba import jit filename = 'c:/data/test.MIG.0.h5' print(filename) sgydata = h5py.File(filename) Kmean = np.zeros((101, 101,151)) Kgaus = np.zeros((101, 101,151)) Kmax = np.zeros((101, 101,151)) data = np.zeros((...
[ "dkon99@users.noreply.github.com" ]
dkon99@users.noreply.github.com
a18c34ee83d8d0a5535c01efe3ebe5dfcad004c7
019d9829add824b1d2b84fd55872f4b8107d527a
/collection_dataStore.py
974daf79256827d68c22a5e39d50e95634d080cc
[]
no_license
jayantsi/NVETg-mapper
17ab5f06d43b9ffed4771cfa3821ddbbc2651e1f
35de76f353f80c42931bee5b1421cff8a804a3a3
refs/heads/master
2021-01-10T22:43:36.284213
2016-09-30T21:00:59
2016-09-30T21:00:59
69,701,235
0
0
null
null
null
null
UTF-8
Python
false
false
9,835
py
############################################ ## GET MAX DATE ## ############################################ import calendar import datetime import threading import time import ee #import logging #import loggerFunctions ############################################ ## STATICS ...
[ "vedagayathri@vedagayathri-VirtualBox.(none)" ]
vedagayathri@vedagayathri-VirtualBox.(none)
b988547aeade1c42cfea0da062e3ba6a62e711c9
c2fb6846d5b932928854cfd194d95c79c723f04c
/python/coursera_python/MICHIGAN/wikicrawler/fin5.py
6ca16eb862d2f226ef4bed731e6432b820b1b03d
[ "MIT" ]
permissive
Jimut123/code-backup
ef90ccec9fb6483bb6dae0aa6a1f1cc2b8802d59
8d4c16b9e960d352a7775786ea60290b29b30143
refs/heads/master
2022-12-07T04:10:59.604922
2021-04-28T10:22:19
2021-04-28T10:22:19
156,666,404
9
5
MIT
2022-12-02T20:27:22
2018-11-08T07:22:48
Jupyter Notebook
UTF-8
Python
false
false
3,200
py
# To run this, you can install BeautifulSoup # https://pypi.python.org/pypi/beautifulsoup4 # Or download the file # http://www.py4e.com/code3/bs4.zip # and unzip it in the same directory as this file import sqlite3 conn = sqlite3.connect('wiki1.sqlite') cur = conn.cursor() cur.executescript(''' CREATE TABLE IF NOT ...
[ "jimutbahanpal@yahoo.com" ]
jimutbahanpal@yahoo.com
4904f907b8975aa4bc91cc64e46edaf1137ef282
c5a2e0f97047ee269a49d22d0f4367d0cb489577
/Match__Details/espn_match/espn_match/spiders/group7_matchDetails.py
19c72eaf03a17537bc2fe71aae8b89faa8920bad
[]
no_license
MS-2019-Git/ESPN-Data-Scraping
15250f3cac95e7fb5daca25b95df38f597f35eed
6b33c1da6f2754741a8bba3f9b89faf30e5bc68b
refs/heads/main
2023-03-06T17:27:06.999235
2021-02-22T15:09:11
2021-02-22T15:09:11
341,102,913
0
0
null
null
null
null
UTF-8
Python
false
false
3,643
py
# -*- coding: utf-8 -*- from scrapy import Spider from scrapy.spiders import CrawlSpider, Rule from scrapy.http import Request from scrapy.linkextractors import LinkExtractor from scrapy import Selector from selenium import webdriver import random import time # This is a combined code of Scrapy and Selenium.All the fi...
[ "57787924+MS-2019-Git@users.noreply.github.com" ]
57787924+MS-2019-Git@users.noreply.github.com
e4d23a56aa95cac0d11bf916aabdb1ea0d1d364c
4dd1d8fa59e20061e2c12e540fc52b1b305e575b
/source/sims/s286/double-harris-ic.py
ba4ee31039abd673c146d855b94be5ecfb63344d
[ "MIT" ]
permissive
ammarhakim/ammar-simjournal
f63521906a97d55ab290a5960d94758139944c89
5019f4723e20db80a20db6f2bd454c2fd3241412
refs/heads/master
2023-06-08T08:18:11.722779
2023-06-02T15:06:43
2023-06-02T15:06:43
204,050,516
3
3
null
2022-02-01T16:53:13
2019-08-23T18:28:44
Lua
UTF-8
Python
false
false
1,554
py
from pylab import * import numpy Lx = 100.0 Ly = 50.0 NX = 200 NY = 100 B0 = 0.1 me = 1.0 mi = me*25.0 qe = -1.0 qi = 1.0 dlambda = 1.0 n0 = 1.0 ninf = 0.2*n0 psi0 = B0 dx = Lx/NX dy = Ly/NY X = linspace(0.5*dx, Lx-0.5*dx, NX) Y = linspace(0.5*dy, Ly-0.5*dy, NY) XX, YY = meshgrid(X, Y) Bx = numpy.zeros((NX, NY), nu...
[ "11265732+ammarhakim@users.noreply.github.com" ]
11265732+ammarhakim@users.noreply.github.com
491ab618150cca9428c116d0a833210ca3a7f721
b2b390e8e9a7c2f2db3e05acd73bf2a04a67fd64
/uri1006.py
02987d5bbba92daef661fd5647ca45aa97d1d1ec
[]
no_license
adelino-py/questoesURI
ab1521921420657f71f41bcb72498c52338fc142
9e649c7048aff5b03a8488c0d895f1833a210a8f
refs/heads/master
2021-06-14T05:59:51.048256
2020-04-16T18:02:27
2020-04-16T18:02:27
254,476,969
1
0
null
null
null
null
UTF-8
Python
false
false
116
py
A = float(input()) B = float(input()) C = float(input()) MEDIA = ((A*2)+(B*3)+(C*5))/10 print ("MEDIA = %.1f"%MEDIA)
[ "53866538+adelino-py@users.noreply.github.com" ]
53866538+adelino-py@users.noreply.github.com
9797dcb9be7ef50f331a5979b2218e173d47e633
adeed5a2f66946fe8d11a26aa2a0ccab14bb9243
/tests/conftest.py
b84976256ec2539927f4d99ea76cadcfb75de8c2
[ "BSD-3-Clause" ]
permissive
vcdi/nouns
803c79e8508afaeb97056c0ee0e2dcae0d72b069
4bec17265fcaa757446e32b57540efe9b20d8ea0
refs/heads/master
2020-12-23T09:22:56.733072
2020-02-04T07:30:53
2020-02-04T07:30:53
237,109,894
0
0
null
null
null
null
UTF-8
Python
false
false
102
py
from pytest import fixture from nouns import get_x @fixture def x(): _x = get_x() yield _x
[ "robertlechte@gmail.com" ]
robertlechte@gmail.com
42b2c750a9c2fce1c775e9334b3c2bd5bac0b053
d25bad990bdbe978580fc1d74698f3570a07630c
/BrandWatch/__init__.py
eca4d572f362888e641e8bc1378a469f3c0347d8
[]
no_license
isabella232/brand_watch
618ae5e80737301dd186dc661624ed82b13e492e
98c3c1755f0ea304b8ca0214f8c1bbdcfdede32a
refs/heads/master
2023-03-17T06:29:58.299963
2016-10-27T14:37:06
2016-10-27T14:37:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,133
py
""" __init__.py @brad_anton Implements the Watcher class """ import investigate import datetime from Leet import Leet class Watcher: def __init__(self, api_key=None, brand=None, exclude=None, days=1, limit=100, include_category=False): """Create a new Watcher instance Keyword arguments: ...
[ "brad.antonie@gmail.com" ]
brad.antonie@gmail.com
07ceee94ac6769810c56a87dfb5665fd10bac0d0
7cbc7b60d26d986f4695edf4de815734e95079f4
/django_app/blog_bootcamp/blog_bootcamp/settings.py
f220dba631cc8e7bfe859918b5010b16c74b9693
[]
no_license
dowidev/bootcamp_blog
1010a1d89cc70e58e7a029e20ed0e787c070bf2b
e7f721ed59cc5e45c1066a6b6937e66ebac7af33
refs/heads/master
2020-05-17T18:08:57.657460
2019-04-28T08:36:52
2019-04-28T08:36:52
183,875,730
0
0
null
null
null
null
UTF-8
Python
false
false
3,208
py
""" Django settings for blog_bootcamp project. Generated by 'django-admin startproject' using Django 2.2. 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 o...
[ "doni.wi@outlook.com" ]
doni.wi@outlook.com
2aaa724b3b3c9dfa2b2ec2da8a3f8c233d73bd02
e8a6a775869b7113aa2d79c8c47f6b9683bec742
/djangostarter/djangostarter/settings.py
66fe8df210477156c8fb0080612f0aa56ded9699
[]
no_license
brellin/Hello-Django
ee66b5b93dd8170f547e8ac27e155c0e3e79670c
5b2cba79132aec5f2c868fff3a8f7b7a08de7582
refs/heads/master
2020-11-30T04:10:24.513777
2019-12-27T17:13:32
2019-12-27T17:13:32
230,298,215
0
0
null
2019-12-27T17:13:34
2019-12-26T16:56:07
null
UTF-8
Python
false
false
3,109
py
""" Django settings for djangostarter project. Generated by 'django-admin startproject' using Django 3.0.1. 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/ """ import...
[ "cekakid@gmail.com" ]
cekakid@gmail.com
1ec904ee3855d9e5b9589d234d9313df225761df
a0a99f16cc2ccaa145ac37bf18dbd73cbd7954d9
/chat.py
a7c0215ef2911ff3e1b98d7f848270018fc64705
[ "MIT" ]
permissive
dinhlongviolin1/python-simple-chat-socket-threading
9c65656b7f09b13fc82bd3bb5f38df22705b3c51
a42203b6417c101a3a6df43b58232e0cc2893f79
refs/heads/master
2021-05-18T19:25:13.834923
2020-03-30T17:35:34
2020-03-30T17:35:34
251,377,109
1
0
null
null
null
null
UTF-8
Python
false
false
1,068
py
import tkinter as tk from threading import Thread class chatBox(): def __init__(self, username, buttonFunction): self.tk = tk self.master = tk.Tk() self.master.title("Hi " + username + "!") self.scrollbar = tk.Scrollbar(self.master) self.mylist = tk.Listbox(self.master, ys...
[ "noreply@github.com" ]
noreply@github.com
deda7c2da31cde83eeb0a317505f79f8db6fb75e
326c6ad82d59bb7509c02c76695ea9035993da70
/lib/modules/powershell/situational_awareness/network/powerview/set_ad_object.py
2a0e745b9ae829fc42345a0a3330e60ab4217790
[ "BSD-3-Clause" ]
permissive
Arvanaghi/Empire
0c08bd7ddfba9be10e96bb0834b8ce3bc829059b
fd168ebf8acb1c2ee59d56f2c393ebd7a297603e
refs/heads/master
2021-01-20T14:15:34.864581
2017-08-05T17:51:44
2017-08-05T17:51:44
99,435,848
2
0
null
2017-08-05T16:50:16
2017-08-05T16:50:16
null
UTF-8
Python
false
false
4,526
py
from lib.common import helpers class Module: def __init__(self, mainMenu, params=[]): self.info = { 'Name': 'Set-ADObject', 'Author': ['@harmj0y'], 'Description': ('Takes a SID, name, or SamAccountName to query for a specified ' 'domain ob...
[ "will@harmj0y.net" ]
will@harmj0y.net
4343f12ca9b606da52ca4a35079890001d8cbb3f
da1f27e1a58d16d58602bb93a415e190c962c8f8
/ntimes.py
30d913adf14aec1167dc1929dcd0a02fb212f224
[]
no_license
fbbenod/Basic2
0c978958ac339ef8dbbb00402c37fe5a74e66acb
e739de3369ba9e214db24f081eaffa931f78604c
refs/heads/master
2020-04-30T15:57:16.886429
2019-08-31T11:55:13
2019-08-31T11:55:13
176,934,524
0
0
null
null
null
null
UTF-8
Python
false
false
44
py
for i in range(1000): print("Hello World")
[ "noreply@github.com" ]
noreply@github.com
f1f6ea249402b6419fc6f324019956dc69813c50
69633bcb719e5caa2859c30d38f0fb0ff33b05a7
/app/api/urls.py
8ab6b71db340bc097ea2d0ae7dd19e923cae9533
[]
no_license
Zarinabonu/employee_version_2
e0ed3df43633241774686b7eaba01fbf2bebfa1a
991d8fce23d3736df0271c3ca3e380a13ab6e5c0
refs/heads/master
2022-11-26T03:22:47.067982
2019-12-07T08:14:36
2019-12-07T08:14:36
223,534,726
0
0
null
2022-11-22T04:50:39
2019-11-23T05:12:50
Python
UTF-8
Python
false
false
498
py
from django.urls import include, path urlpatterns = [ path('group/', include('app.api.group.urls')), path('employee/', include('app.api.employee.urls')), path('salary/', include('app.api.salary.urls')), path('accountant/', include('app.api.accountant.urls')), path('attendance/', include('app.api.a...
[ "zarinabonu199924@gmail.com" ]
zarinabonu199924@gmail.com
c44a97daf82d86cde77944bed0a1ab6cf58f3391
eafeb2e54ba2f98bc6c41acfe53dffd5fa97f7f1
/sandbox/scaling.py
607757f44c0af361398490621299a4752f347006
[]
no_license
timbailey74/python-utilities
812b4fb3fff0ae460f1446634d39e249311b96e9
ba2e676acbb484d5923929e015058a5518999af6
refs/heads/master
2020-04-16T16:40:33.112317
2016-12-10T01:17:08
2016-12-10T01:17:08
34,838,591
0
0
null
null
null
null
UTF-8
Python
false
false
150
py
# Test the effect of scaling and other transformations on numerical accuracy of # least-squares, numerical differentiation, etc. import numpy as np
[ "Tim.Bailey@nicta.com.au" ]
Tim.Bailey@nicta.com.au
602b892f9b2b2b68bf207e26be4821c22d593b1e
9e0b4660731fb09c60c01cb24543b31277ed1e94
/backed/orm.py
1300309aa1fb64b1f45b74b90d8bfca390ddc572
[]
no_license
elchudi/urban
cff90eb7d941c24c73f78accabef79ab97a0a344
bcc97b2532551f58bfac8beb56c412547c48a863
refs/heads/master
2016-09-05T11:16:29.135261
2012-07-07T13:54:20
2012-07-07T13:54:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,415
py
from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.schema import ForeignKey from sqlalchemy import * from sqlalchemy.orm import * from sqlalchemy.ext.declarative import declarative_base from datetime import datetime from geoalchemy import * from geoalchemy.postgis import PGComparator # Setup the ...
[ "gustavogiudici@gmail.com" ]
gustavogiudici@gmail.com
9937cf400900d8feca30792588e986c4191c1324
8001a393379d9e887c1ef28cffb9ce8d05db869b
/api/urls.py
0e7de8ae1ad682c1f3508b9c32d3ba04fbbbbfa7
[]
no_license
gercheq/sallasana
c0795de0eebeddb16e55e6f548ba8829176d73a2
52debcc91ed2bfd72a3c5f8909363878715bee52
refs/heads/master
2020-04-04T14:16:02.458489
2014-09-09T20:10:43
2014-09-09T20:10:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
368
py
__author__ = 'Renan Cakirerk <renan@cakirerk.org>' from django.conf.urls import patterns from django.conf.urls import url urlpatterns = patterns( 'sallasana.api.views', url(r'^like/(?P<user_id>\d+)$', 'like'), url(r'^dislike/(?P<user_id>\d+)$', 'dislike'), url(r'^match$', 'match'), url(r'^ping$', ...
[ "renan@redbeacon.com" ]
renan@redbeacon.com
d78f52bb8f4976823a1faa9bccce21b444405d1c
e3f0b204784aa8ea9533abb8e7a1f39643002893
/read.py
fff72514555f7385425f6c7256fe0b193dabb1a3
[]
no_license
hims1911/HERE-API---ride-distance
643283e0beec2cc97281ff7bf4fa26f61735b334
d92e81f1aefcd200fc9255298fcd9aab2949f9cc
refs/heads/master
2020-05-24T18:01:22.399876
2019-05-20T17:29:31
2019-05-20T17:29:31
187,400,421
0
0
null
null
null
null
UTF-8
Python
false
false
648
py
import json def point1(): with open('result.json') as json_file: data = json.load(json_file) a = (data["Response"]["View"][0]["Result"][0]["Location"]["DisplayPosition"]["Latitude"]) b = (data["Response"]["View"][0]["Result"][0]["Location"]["DisplayPosition"]["Longitude"]) re...
[ "noreply@github.com" ]
noreply@github.com
fa8309731559f5f28c23907d10d8809df78cf6ea
7142c3941481e661075154d714a29d5e283a3074
/KeywordArguments.py
7238526401ef054445d4af584ad76d295e46f26a
[]
no_license
nirajan5/Demo
5642a9669fedcca47b0304ac423c0b3e6333b8e2
2451875bf5698cd38af69baa117c14099951bc9f
refs/heads/master
2023-07-27T17:04:03.689673
2021-09-15T11:14:25
2021-09-15T11:14:25
406,732,005
0
0
null
null
null
null
UTF-8
Python
false
false
279
py
# function func is called with the name and message as the keyword arguments def func(name, message): print("printing the message with", name, "and ", message) # name and message is copied with the values Mike and hello respectively func(name="Mike", message="hello")
[ "jhanirajan5@gmail.com" ]
jhanirajan5@gmail.com
fd4e2579a8e858837e9d156f5fc1c23f2ac8c1f7
b3325ecba57fe5c05c310a348cf09d7fef516b38
/Week04/lemonadeChange.py
23603647d3f6968793cc284c074def1a31c75559
[]
no_license
xhf119/algorithm010
b58cf76c8647fec4262405e400af24bdf88f6a7a
b9111591656b79ee7e3026c6e530e34cf9a211fa
refs/heads/master
2022-12-04T10:26:35.311578
2020-08-23T16:14:06
2020-08-23T16:14:06
271,516,246
0
0
null
2020-06-11T10:22:48
2020-06-11T10:22:48
null
UTF-8
Python
false
false
945
py
java class Solution { public boolean lemonadeChange(int[] bills) { int five = 0, ten = 0; for (int bill: bills) { if (bill == 5) five++; else if (bill == 10) { if (five == 0) return false; five--; ten++; ...
[ "277266319@qq.com" ]
277266319@qq.com
692efbb0eede10c13aa28a4ca288b8967efd3d08
a22798b49535425c5a96f472c918b0d36d6422cb
/UTS3.py
cea04bbc2db77a5fbe45947ac5c59b891784ea56
[]
no_license
bobyuwono/Digital-Image-Processing-Course-Assignment
b1bd74ac22cda24427bd8d45aba8c63bee921401
d8974d605a14e4c1bad90a7ed403d03c36026b3f
refs/heads/master
2021-05-21T08:50:58.818483
2020-04-03T05:28:01
2020-04-03T05:28:01
252,624,232
0
0
null
null
null
null
UTF-8
Python
false
false
1,227
py
import cv2 import numpy as np from matplotlib import pyplot as plt img = cv2.imread('flowers.tif',0) img2 = img.copy() template = cv2.imread('templates.tif',0) w, h = template.shape[::-1] # All the 6 methods for comparison in a list methods = ['CCOEFF', 'CCOEFF_NORMED', 'CCORR', 'CCORR_NORMED', 'SQDIFF', ...
[ "39585526+bobyuwono@users.noreply.github.com" ]
39585526+bobyuwono@users.noreply.github.com
d3772b0034043754aa97cbf0e16c2142daf57a00
729c4799ef4e9f785fbfb4126198cfa072f86831
/datastrucutre_and_algo/pattern.py
ea70ef584c91a79d487caaf72764d8b8731236ee
[]
no_license
enakann/Prasanna
7d85e609ffca994f43d9e7286fc4b6870a670d9e
109febbd0f78520d2ed10588c207c69a567c0e3d
refs/heads/master
2020-09-02T22:30:07.932470
2019-12-12T08:32:29
2019-12-12T08:32:29
219,320,937
0
0
null
null
null
null
UTF-8
Python
false
false
160
py
i=0 while i < 4: j=0 while j < 7: print((i,j),end='') j+=1 print("\n") i+=1 n=3 for i in range(1,n+1): print((n-i)*' '+i*'* ')
[ "Navaneethan55@gmail.com" ]
Navaneethan55@gmail.com
094d9657fffeaea42b6dea79acf485afec4e103f
94b3bce8558eeef162d7d09a897faa1ea053161d
/util/listutil.py
48e37dbef6f1a85a544e2ca647ce117cd63a457b
[]
no_license
nju04zq/POJ
73faa8b155f4be385ff4641d8f52981f4e7a099a
6a39943799c4ecf93c1f49ba716a4418d6a4e37f
refs/heads/master
2021-01-25T08:20:02.930332
2018-05-15T04:40:57
2018-05-15T04:40:57
93,757,557
1
0
null
null
null
null
UTF-8
Python
false
false
2,776
py
class ListNode(object): def __init__(self, data=0): self.data = data self.next = None def generate_list(size=None): if size is None: size = randint(min_int=1, max_int=10) head, prev = None, None for i in xrange(size): node = ListNode() if head is None: ...
[ "nju04zq@gmail.com" ]
nju04zq@gmail.com
54eb049e5124a5f14707ca07f5cba6da715f6d19
3a684feaa970da8b43e6f43bdc13bf79e0b0e20d
/harmonization.py
ca58e1baf47840206bde4c8149c647a94c763f1b
[ "MIT" ]
permissive
Iheb96/SinGAN_InPainting
335d7a16e79a2cc155505f3637b23e5701dc0d14
16ddbaab7c94fc3cd1c08d978bb26698bfec1ae7
refs/heads/master
2023-02-20T22:57:08.590052
2021-01-14T17:35:21
2021-01-14T17:35:21
329,684,127
2
0
null
null
null
null
UTF-8
Python
false
false
2,893
py
from config import get_arguments import os os.environ['KMP_DUPLICATE_LIB_OK']='True' from SinGAN.manipulate import * from SinGAN.training import * from SinGAN.imresize import imresize from SinGAN.imresize import imresize_to_shape import SinGAN.functions as functions if __name__ == '__main__': parser = get_argumen...
[ "bensalemiheb@yahoo.fr" ]
bensalemiheb@yahoo.fr
2c0829aa3b95f4b60ab2ce3ac0a504d92d1660f9
b15c027a90dea808b39e650f8b9ba361a15516fe
/gh2db/__main__.py
363599db691624f8dec3ad9470094744c5856fa2
[ "MIT" ]
permissive
MichinaoShimizu/gh2db
0f15ddf9a2e2c80cefa2381813e256948a0f95ca
9bf23974229755d2c86572276edb011097472bc3
refs/heads/main
2023-08-19T08:58:06.300614
2021-10-05T13:32:16
2021-10-05T13:32:16
410,165,471
0
0
MIT
2021-09-27T11:59:48
2021-09-25T03:31:20
Python
UTF-8
Python
false
false
11,926
py
from __future__ import print_function import os from argparse import ArgumentParser from github import Github from gh2db.dbbase import BaseSession from gh2db.logger import get_module_logger from gh2db.migration import Migration from gh2db.model import (GithubOrganizations, GithubOrganizationTeamMembers, ...
[ "shimizu.michinao@gmail.com" ]
shimizu.michinao@gmail.com
60f3b7ad1d977d404acd82e153774d9c6b231869
dfe7219e916e194edd35df23506b2e43495f746d
/ant/057s_最長共通部分列問題.py
e4c05c7af20c8d6d972f885c1c38b12838a8087a
[]
no_license
oz4point5/atcoder
ffb0c15bfd5ff7e37fbd0b17abf4433b2d819f7a
f721d51de4d8cd51f21c8405ab2d8342bf7d4744
refs/heads/master
2020-05-05T03:27:21.469805
2019-04-12T15:42:55
2019-04-12T15:42:55
179,672,993
0
0
null
null
null
null
UTF-8
Python
false
false
419
py
import sys import os f = open("C:/Users/user/Documents/python/ant/import.txt","r") sys.stdin = f # -*- coding: utf-8 -*- n = int(input()) m = int(input()) s = list(input()) t = list(input()) def dpf(a,b): if a == 0: return 0 if b == 0: return 0 if s[a-1] == t[b-1]: ...
[ "noreply@github.com" ]
noreply@github.com
952a7a1c2f3eb4e2f24e8025b5251a91134b9173
f4bb6a587b0a0a163a28f171fe5b5b511f6320d3
/venv/bin/epylint
8f7732ffd9d0a783f125da1f58bf83ac3aad0da4
[]
no_license
kissthink/simple-dialog-system
e33a58ec5af0473da85b1864b9c91e2ad932ef95
fe98e6b199fd09fcbb73a62fcc5615ec63f836ac
refs/heads/master
2020-03-17T08:32:39.127245
2018-03-15T07:16:52
2018-03-15T07:16:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
267
#!/Users/dongniu/projects/simple-dialog-system/venv/bin/python # -*- coding: utf-8 -*- import re import sys from pylint import run_epylint if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(run_epylint())
[ "1619249966@qq.com" ]
1619249966@qq.com
baf79214692455db57861792b2f1ca24f8f899e9
7d8022661a756f77f715ee4d099fb17cb9da671a
/feature/zoo/Skewness_Daily.py
65ff2a7ce6ebc641dccfe4e1a9bbef343ece64da
[]
no_license
lxj0276/Quant-Util
a7d70d88fc47eb16a08149faefa7b128c01c670e
2706ecba72a293ee01105ad22508a8d6b20e1394
refs/heads/master
2020-04-25T13:40:36.700892
2018-10-15T04:35:54
2018-10-15T04:35:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
609
py
from feature.base import NonPersistentFeature from feature.ops import * from feature.zoo.ChangeRate_Daily import ChangeRate_Daily class Skewness_Daily(NonPersistentFeature): description = '个股历史22日收益率的偏度' formula = 'Skewness = E[(R)^3], R=(r-mu)/sigma ' granularity = 'day' def _create_feature(self, in...
[ "zhangzc@pku.edu.cn" ]
zhangzc@pku.edu.cn
a3c7bd125c51573a9f347fa0b5a7f4faa503ae9d
91cd30410b99a72f6a38fc4f05a91287b4b2b538
/mysite/polls/views.py
907d17f1f05f9a17f62d3eb79efd0928263ca2b6
[]
no_license
wangzizhan/django
c9b9ecd3823dfaf28a02e9412b9b33bcd845c6d9
0039a8d37533e604dd97a94b2206ee0bd4acde5f
refs/heads/master
2021-01-10T01:37:26.765652
2016-04-07T08:36:18
2016-04-07T08:36:18
55,677,544
0
0
null
null
null
null
UTF-8
Python
false
false
1,231
py
from django.http import HttpResponse, Http404, HttpResponseRedirect from .models import Question from django.template import loader from django.shortcuts import render, get_object_or_404 from django.core.urlresolvers import reverse from django.views import generic # Create your views here. class IndexView(generic.List...
[ "geniuscat0524@gmail.com" ]
geniuscat0524@gmail.com
95ed2e4f4514f6ab3e5bcdfc2bfa0f6154f5646d
d5544edf9a439c9d43c79d5b9e90f75cbc406c3b
/server.py
38f3e10299b0aca39bf2771e46fb7fd10ffef512
[]
no_license
abir0187/grpc
67d9feae7c082c0c0bd42362bcc333d813bfff1c
9d7bd9204860e612ad7196d4fa53b3e20af6399a
refs/heads/master
2023-04-07T20:28:29.338691
2021-04-15T19:28:29
2021-04-15T19:28:29
358,089,496
0
0
null
null
null
null
UTF-8
Python
false
false
803
py
# python -m grpc_tools.protoc -I. --python_out=. --grpc_python_out=. calculator.proto import grpc import time from concurrent import futures import calculator_pb2 import calculator_pb2_grpc import math_util class CalculatorServicer(calculator_pb2_grpc.CalculatorServicer): def SquareRoot(self, request, contex...
[ "abir0187@aol.com" ]
abir0187@aol.com
3b4c3ebcc95f6891385346ebc2ece840427a93c5
9c3f16a3474948468215a0bb8de481b685acf0b7
/pwkit/environments/casa/util.py
0c44962c7d305ee183f9370cd5831d29460b900a
[ "MIT" ]
permissive
BunnyBuster/pwkit
4b738ecddf2bb4fae26a73d5a5e62cad96d5b87f
ce20bf4b0d54aa9bf2ebbaadadadeb1d4eb88ba2
refs/heads/master
2021-01-17T22:18:28.541008
2015-08-06T19:31:10
2015-08-06T19:31:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,772
py
# -*- mode: python; coding: utf-8 -*- # Copyright 2015 Peter Williams <peter@newton.cx> and collaborators. # Licensed under the MIT License. """pwkit.environments.casa.util - core utilities for the CASA Python libraries Variables: INVERSE_C_SM - Inverse of C in s/m (useful for wavelength to time conversion) INVE...
[ "peter@newton.cx" ]
peter@newton.cx
d50904788587f41c88d4ef1cc66f8e8f9088b84e
50ef2c318849384c13479d5b0ebfb2a95c38758f
/cvs2svn_lib/test/rcs_stream_test.py
9a6e1a7839f5b519a91e7cf6e028a45789ca4a4a
[ "BSD-2-Clause" ]
permissive
robinst/cvs2svn
553a2e73e76cda312e2bec34d9d9d6080531b5d3
a5eab2d2805fe3f95bfeb0387f0ee975a4b3d08c
refs/heads/master
2021-01-15T19:04:48.807990
2011-03-23T14:52:52
2011-03-26T11:07:27
1,516,991
0
0
null
null
null
null
UTF-8
Python
false
false
4,666
py
#!/usr/bin/env python # (Be in -*- python -*- mode.) # # ==================================================================== # Copyright (c) 2010 CollabNet. All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. The terms # ...
[ "mhagger@be7e6eca-30d4-0310-a8e5-ac0d63af7087" ]
mhagger@be7e6eca-30d4-0310-a8e5-ac0d63af7087
cd3eab350948a1d0bb60ff749c912f040ceb9c1d
dce0d91e42275109dccf3f7cb6e4daf5b837b8d5
/setup.py
6d6e78bb93fe4cc950c626c8ca893a44b75d3c6c
[]
no_license
eandualem/telecom_analytics
e58e4e0b3f936b88b5cfaf582e21271eac2cbc42
6487568a683b8b965c1c0b20de74dfcc737cf598
refs/heads/main
2023-06-18T20:36:02.257100
2021-07-19T08:00:32
2021-07-19T08:00:32
385,293,347
4
0
null
null
null
null
UTF-8
Python
false
false
1,211
py
#!/usr/bin/env python from setuptools import setup, find_packages with open('README.md') as readme_file: readme = readme_file.read() requirements = ['pandas>=1.1.0', 'numpy>=1.19.0', ] test_requirements = ['pytest>=3', ] setup( author="Elias Andualem", email="eandualem@gmail.com", python_requires='>...
[ "eandualem@gmail.com" ]
eandualem@gmail.com
39d4c3c9a5e685dc630af31f9faba7f4450d59cd
5d01d3f255916c91310adec1d75fb78fc8ad11a2
/summer/main_for_server.py
cdb3e6a3f64446f3013aa1b5e03a700b4ea670c8
[]
no_license
botianzhe/fingerprint_liveness_detection
86ef3f35a94065fae5d95b09025fc2dfcbdf923b
052f7dcad994e129ae3f4cb832fc03d1598b7202
refs/heads/master
2021-01-22T22:28:05.907618
2017-07-11T02:29:35
2017-07-11T02:29:35
85,545,644
0
0
null
null
null
null
UTF-8
Python
false
false
13,751
py
import os import cv2 import numpy as np from tensorflow.python.framework import dtypes from six.moves import xrange from tensorflow.contrib.learn.python.learn.datasets import base import tensorflow as tf import math IMAGE_SIZE = 64 IMAGE_PIXELS = IMAGE_SIZE * IMAGE_SIZE NUM_CLASSES = 2 def extract_train_...
[ "ypp865@163.com" ]
ypp865@163.com
b7790981f27f0df6446de417cbab71ec02f0a0e2
cba5d1392eb232f69e110c1c03b4b1655330fb05
/run_rsa_sub.py
c5f2e419e7295da90966c97f9732b4e3c366d3b1
[]
no_license
abakkour/fMRI_classifier
20867aae2046f95e3f160bf263e48874a8100289
94527f7017ebd3636db2a20951fc1d6c42afb958
refs/heads/master
2021-01-12T10:12:09.007964
2017-01-03T20:11:26
2017-01-03T20:11:26
76,385,328
0
0
null
null
null
null
UTF-8
Python
false
false
1,632
py
#!/usr/bin/env python import mvpa2, sklearn, os, nibabel, sys import pylab as pl import numpy as np from mvpa2.suite import * # little helper function to plot dissimilarity matrices # since we are using correlation-distance, we use colorbar range of [0,2] #def plot_mtx(mtx, labels, title): # pl.figure() # pl.im...
[ "akram.bakkour@gmail.com" ]
akram.bakkour@gmail.com
1df9426d689c26e9ffe41dfa63506a8289f38011
bb648ef58922f0d0be02d10da7bce962723808d6
/overseer/logservice/Broodling/Broodling/util/util_picture.py
527e2f0ee58f0407796f098f6f732ff821e31ed7
[]
no_license
smiledaddy/Crystal
5d4f622461dda28c4f4b99e61b7a06a0589e8ad0
4f6449841296911c674a37e253193e23e7960353
refs/heads/master
2020-04-12T23:20:27.481639
2015-09-11T07:45:59
2015-09-11T07:45:59
40,286,157
0
1
null
null
null
null
UTF-8
Python
false
false
5,604
py
# -*- coding: UTF-8 -*- import matplotlib matplotlib.use('Agg') from matplotlib import pyplot as plt from util.util_log import logger import random def gen_picture(data1, data2, xlabel, xlen=28, pic_name="test"): try: s = [i for i in range(xlen)] fig, ax1 = plt.subplots() fig.set_dpi(40) ...
[ "xshu@niub.la" ]
xshu@niub.la
2c8c262e8a0014e40672dd1234baaee9da536afa
12b5f40f9573885f3498b526610d3e1f614d9b53
/Topics/Integer arithmetic/Calculate a remainder/main.py
269bdac3ffc12c4c6f89afc6dca5cb553c3db701
[]
no_license
advantager/Zookeeper
717ab583a49fc44f91641e9e6c64626384ba5228
8f80978099bd390e0cd0ae029d5baba95e56ecd7
refs/heads/master
2023-08-07T15:59:39.936153
2021-09-24T16:09:41
2021-09-24T16:09:41
410,026,186
0
0
null
null
null
null
UTF-8
Python
false
false
26
py
a = 10 b = 3 print(a % 3)
[ "smartrun@macbookpronok.local" ]
smartrun@macbookpronok.local
b417b8ca3b63b6bc4505ada038294e4f304a3afb
7d4cabd25f6c9b30513a2c1d08b766bbb3c57802
/vacancies/migrations/0008_auto_20210217_1948.py
0c66cda1fc41ef81f2d1f7aef55c5416dc2223fb
[]
no_license
Egor754/developer_vacancies
890b95fac5a34e092de33153c7c1fffacd287405
f97cb33f06f4c2606aeb61941e62393b04c7217a
refs/heads/master
2023-05-30T16:26:22.795274
2021-06-18T22:06:02
2021-06-18T22:06:02
378,273,281
0
0
null
null
null
null
UTF-8
Python
false
false
834
py
# Generated by Django 3.1.5 on 2021-02-17 14:48 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('vacancies', '0007_auto_20210212_0113'), ] operations = [ migrations.AlterField( model_name='app...
[ "xel-boi@mail.ru" ]
xel-boi@mail.ru
37fc5a29e2f90813bde7962cf1754d03a335c61b
fb5729d93ae409d5973909f3eef2b9d45ff1fea9
/HiCommon.py
7062187dbda654780f6cdc2318faa226ec9cef45
[]
no_license
hackstudio/HiQuant
2c64eb355646dba6f2a2a3ade2bbaf8d2a72940c
c9615976c4943b626696b9c7f0561c3015d9730e
refs/heads/master
2022-01-05T06:00:51.495549
2018-10-05T14:42:46
2018-10-05T14:42:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,009
py
# -*- coding: UTF-8 -*- from hikyuu.interactive.interactive import * from datetime import datetime import hikyuu.trade_sys._trade_sys log_file = os.getcwd() + "\hi.log" para_file = os.getcwd() + "\hi_para.log" print(log_file) print(para_file) #(80000000, blocka, ['-50,-100,-5'], ['001','tactics001'], [2, 'SG_Flex', 2,...
[ "fxh1121@163.com" ]
fxh1121@163.com
4b78cd0e785c1baf2f229f1aac9b1568331a2e21
594d53aa40d2ff5652911288bb3ecd8ef5a498f4
/pley/output/oss.py
08419cdd810ecbaac56464040586a9f3f369d422
[]
no_license
spuriousdata/pley
f302c1aafbb44df89a5cabeae774be21ffa71ccd
014537818fc2d7c8a7414275ca0540795b8a7057
refs/heads/master
2022-12-12T16:38:01.329747
2018-02-12T09:06:57
2018-02-12T09:06:57
120,169,547
1
0
null
2022-12-08T00:55:54
2018-02-04T09:00:00
Python
UTF-8
Python
false
false
806
py
import ossaudiodev class Device(object): def __init__(self, device='/dev/dsp1', samplerate=48000, channels=2, bits=16): self.adev = ossaudiodev.open(device, 'w') self.bits(bits) self.samplerate(samplerate) self.channels(channels) def write(self, data): return self.adev...
[ "spuriousdata@gmail.com" ]
spuriousdata@gmail.com
536156b273683c6865e4ce6f894a7acedfeab14c
9240c573719755b67f030b5491ebfeb4d1f352bc
/code-smell--if-statements/github_summary/tests/c_refactor_first_pass_test.py
9abb86aa0f6e1266278214c68d4aae61a9464b25
[]
no_license
alysivji/talks
46f6586e99af65de9b5d1dc34e2791e885a14d90
db63f50d27ab312e832a4314f0fcf874c324d1b8
refs/heads/main
2023-04-29T22:10:48.315626
2023-04-18T17:16:05
2023-04-18T17:16:05
89,402,889
115
54
null
2022-03-27T15:33:39
2017-04-25T20:19:12
Jupyter Notebook
UTF-8
Python
false
false
927
py
import pytest import responses from github_summary.c_refactor_first_pass import perform @pytest.mark.end_to_end @pytest.mark.vcr() def test_perform(): summary_text = perform(github_username="alysivji") assert "busy-beaver-dev/busy-beaver" in summary_text assert ":arrow_up: 19 commit(s) to 2 repo(s)" in s...
[ "noreply@github.com" ]
noreply@github.com
42d4e14bfa94bd62f6a98bae988d6c52e6d4f11d
12139fb270a099b01e4d68ce66aa7482f9eed189
/backend/delivery_order/migrations/0001_initial.py
b001253df4ca0fca357aab50cc409aed84cd07ea
[]
no_license
crowdbotics-apps/himi2-25342
610a85cba7221f3412de3ee3e00af182b9cb2fd4
ba9c7c90e42984b26d234a281ea50f2738b2146f
refs/heads/master
2023-04-03T05:05:43.969021
2021-03-29T13:35:53
2021-03-29T13:35:53
352,651,097
0
0
null
null
null
null
UTF-8
Python
false
false
2,609
py
# Generated by Django 2.2.19 on 2021-03-29 13:24 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('delivery_user_profile', '0001_initial'), ('menu', '0001_initial'), ] operations = [ ...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
45ddcc02a425d72fc2dfc312221093b5f04f95b3
7f320a273651dd2067f01acafaa5a53ca75bddbc
/week-01-python/Assignment-1.py
07da579ffa9f7c9f35fb07525c3cf4f3f971853f
[]
no_license
choiy20/my-first-coding
dad6e912fa735f3c2007517c8696f1691c481077
4d402ad8df2a7a4603fefe31648cb009a017bc37
refs/heads/master
2021-07-23T13:11:48.605797
2017-11-01T00:45:46
2017-11-01T00:45:46
107,134,832
0
0
null
null
null
null
UTF-8
Python
false
false
1,344
py
# restaurant = str(input("Please choose one from Korean, Chinese or Japanese: ")) # # # import random # # if restaurant in ["Korean".lower(), "Korea".lower()]: # korean = ["K1", "K2", "K3", "K4", "K5"] # print (random.choice(korean)) # # elif restaurant in ["Chinese".lower(), "China".lower()]: # chinese = [...
[ "yoojin.kelly.choi@gmail.com" ]
yoojin.kelly.choi@gmail.com
52e0b12b528c2d1b77c61eaf0546ea0a2dcfb090
a12061968db84a03a2085e981e3b6e006fac7631
/model/IOrchestration.py
43ab8b3ae6f109435cc735886e1731c70f257e78
[]
no_license
mathiasimmer/genmodeltest
7aaa2eede5b7c15727a422a1d726b48e97c27f89
0cd68a51212dd75d79b135a9576dd78148b0bfc2
refs/heads/master
2021-01-20T00:24:25.762602
2017-04-23T12:30:29
2017-04-23T12:30:29
89,128,893
0
0
null
null
null
null
UTF-8
Python
false
false
279
py
from abc import abstractmethod class IOrchestration(object): pass # Start of user code -> properties/constructors for IOrchestration class(interface) # End of user code # Start of user code -> methods for IOrchestration class(interface) # End of user code
[ "help@genmymodel.com" ]
help@genmymodel.com
20c3759d57656771b5a7bde785e363246b1e2d7d
65388ae4dddb8822223b36c856ff6da15d5eaf0a
/mpython/bin/rst2s5.py
fe3ae8fd19e48d79565e69c5eda62b37cf5d694e
[]
no_license
af13s/ataraxis-backend
9d8a7c200a8ff48b14d124e7d88e76c01a3cf383
491c4538134c043051fd36be722d79e6ab06dfb3
refs/heads/master
2022-03-11T14:11:14.581484
2019-11-19T05:30:51
2019-11-19T05:30:51
190,910,988
0
0
null
null
null
null
UTF-8
Python
false
false
684
py
#!/Users/andrewflorial/Desktop/App/ataraxis/mpython/bin/python3.7 # $Id: rst2s5.py 4564 2006-05-21 20:44:42Z wiemann $ # Author: Chris Liechti <cliechti@gmx.net> # Copyright: This module has been placed in the public domain. """ A minimal front end to the Docutils Publisher, producing HTML slides using the S5 templat...
[ "andrewflorial@Andrews-MacBook-Pro.local" ]
andrewflorial@Andrews-MacBook-Pro.local
82ce43393749d78942eb60d749b2b8ff32453a98
c81e5abf8de53747242e6d1c064af630de35836f
/source/api/views.py
2c5f5f07cbda5d808a491a30ff18777518198bc7
[]
no_license
emirnur/homework-49
0707918120df630846721d443d4a7afa91d2e30f
ee4bd75b085378054804c8c5bbbb05a84e79b49e
refs/heads/master
2022-12-06T15:05:22.365470
2019-12-09T13:03:54
2019-12-09T13:03:54
211,308,243
0
0
null
2022-11-22T04:47:39
2019-09-27T11:53:26
Python
UTF-8
Python
false
false
1,265
py
from django.shortcuts import render from rest_framework import viewsets from rest_framework.permissions import SAFE_METHODS, DjangoModelPermissions from rest_framework.response import Response from rest_framework.views import APIView from api.serializers import ProjectSerializer, IssueSerializer from webapp.models imp...
[ "nur.emirlan@gmail.com" ]
nur.emirlan@gmail.com
1470e8f704547f2d2fc8591da5e5c7affda7bf27
dcf59e225497c4d3f014b57a80bc6c2fe81a6863
/code/content/CalculateSimilarity.py
28cc3a79f31b3babffb4059b32124ab61b650c34
[]
no_license
yipeiw/twitter
51332afbfd152a5b37e09ca7d9a8b8266bfe9071
0de9ae33da50b89cf1109009fd90c8f99d05b95d
refs/heads/master
2016-09-11T10:54:11.454929
2014-05-02T17:31:10
2014-05-02T17:31:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
170
py
#!/usr/bin/env python import sys tweetfile = sys.argv[1] userlist = sys.argv[2] output = sys.argv[3] #calculate the cosine distance for different types of similarity
[ "yipei@lagos.lti.cs.cmu.edu" ]
yipei@lagos.lti.cs.cmu.edu
69f2bec28898727533aee19ccd39968fb1fa82c8
7e9332c5c17c88f8fbda542acdb9de0286b00839
/attendanceapp/migrations/0001_initial.py
322c67e9cd39dac0e85083dcdd783fa401880f0d
[]
no_license
ashutosh-101/student-smart-face-recognition-attendance-system
2033411b4e2e61aa447af5543948be2ba1576aca
017b31a1dfa6ff1da75828444a9df7c1df12bb76
refs/heads/main
2023-05-27T21:39:15.369061
2021-06-09T11:48:55
2021-06-09T11:48:55
375,333,725
0
0
null
null
null
null
UTF-8
Python
false
false
864
py
# Generated by Django 3.0.8 on 2020-07-21 06:49 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Indlist', fields=[ ('id', m...
[ "noreply@github.com" ]
noreply@github.com
d0633f5ae1db773f02e62df9d52debb75e7482e0
647acd6a0503db14cc265fed78e6875e28fcf10a
/tCurve/sandbox/__init__.py
ef9aa0b74b211d5a664369bf29ebfa17371c8a34
[]
no_license
peixiongau/Assignment3
5845c7738723844ec65e8aeca73c699741c40b2d
630f425f91da1c9bfcdc2727f2e0010df78eccad
refs/heads/main
2023-03-02T08:00:27.985066
2021-02-15T10:29:12
2021-02-15T10:29:12
338,990,782
0
0
null
null
null
null
UTF-8
Python
false
false
523
py
def test(x): return x highB = 20 lowB = 0 delta = 0.01 oldResult = 0 newResult = delta slices = 4 step = (highB-lowB)/slices while (abs(newResult-oldResult)/newResult) > delta: oldResult = newResult step = (highB - lowB) / slices newResult = 0 for i in range(0, slices - 2, 2): ...
[ "70298430+peixiongau@users.noreply.github.com" ]
70298430+peixiongau@users.noreply.github.com
c23ef4a464fbc5d3689693b672cc8cbb3f3e0132
fc21903995f7505556dccd9892562b0d37fef95f
/mapper.py
58c27d20e6dd24299209bec0b07bc69540873489
[]
no_license
kmcgregr/assignment_1
00076ec17bc4f5d12f3a533ab59765da84bac7a7
1aec7cd91ccb83778c435214c87f414e0a7daffe
refs/heads/master
2020-03-19T10:52:18.362745
2018-06-15T01:56:30
2018-06-15T01:56:30
136,407,853
0
0
null
null
null
null
UTF-8
Python
false
false
1,095
py
#!/usr/bin/env python import sys stop_words = ["a","about","about","above","after","again","against","all","am","an", \ "and","any","are","aren't","as","at","be"] e_book_dictionary = {} #--- get all lines from stdin --- for line in sys.stdin: #--- remove leading and trailing whitespace--- line=lin...
[ "kmcgregr@gmail.com" ]
kmcgregr@gmail.com
ce8c34d8dae2a65f5b61cda23a5386018eea438e
d86201e962801fba33aecd5a8a7542e2cdfbc232
/train.py
1951373516e479d99898a6d0a9a3d92f2aeb3800
[ "MIT" ]
permissive
ShiChenAI/CWRU-tf
5146123d2044c6901d536a933a2912965f76c53c
bc551368374c4ff8f66b6095f9d63b4ef5b6df31
refs/heads/main
2023-09-03T11:51:42.733611
2021-11-18T00:30:37
2021-11-18T00:30:37
418,802,525
0
0
null
null
null
null
UTF-8
Python
false
false
15,643
py
from tqdm import tqdm import numpy as np import argparse import os from pathlib import Path import tensorflow as tf from networks import Cov1DModel, single_loss, Transformer, AttentionCov1DModel from datasets import CWRUDataset, CWRUDataloader from utils import Params, cal_acc, generate_classifier, increment_dir, cal_c...
[ "noreply@github.com" ]
noreply@github.com
f22e0886db6f9382a5e20f45bcfbf625ccc3c4b8
54f352a242a8ad6ff5516703e91da61e08d9a9e6
/Source Codes/AtCoder/arc076/B/3550700.py
8f96f6d28852e7726701218eb446f377441ebaf7
[]
no_license
Kawser-nerd/CLCDSA
5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb
aee32551795763b54acb26856ab239370cac4e75
refs/heads/master
2022-02-09T11:08:56.588303
2022-01-26T18:53:40
2022-01-26T18:53:40
211,783,197
23
9
null
null
null
null
UTF-8
Python
false
false
1,186
py
# -*- coding: utf-8 -*- n = int(input()) ax = [] ay = [] for i in range(n): x,y = map(int, input().split()) ax.append((x,i)) ay.append((y,i)) ax.sort() ay.sort() edge = [] for i in range(n-1): v = ax[i][1] u = ax[i+1][1] c = abs(ax[i][0]-ax[i+1][0]) edge.append((c,v,u)) ...
[ "kwnafi@yahoo.com" ]
kwnafi@yahoo.com
e48dd44a6f32d70bb408a6cef32b370ce27ed821
711756b796d68035dc6a39060515200d1d37a274
/output_cog/optimized_35426.py
f2b6425c5719c07256d34c3c3090f1c6c421232f
[]
no_license
batxes/exocyst_scripts
8b109c279c93dd68c1d55ed64ad3cca93e3c95ca
a6c487d5053b9b67db22c59865e4ef2417e53030
refs/heads/master
2020-06-16T20:16:24.840725
2016-11-30T16:23:16
2016-11-30T16:23:16
75,075,164
0
0
null
null
null
null
UTF-8
Python
false
false
10,841
py
import _surface import chimera try: import chimera.runCommand except: pass from VolumePath import markerset as ms try: from VolumePath import Marker_Set, Link new_marker_set=Marker_Set except: from VolumePath import volume_path_dialog d= volume_path_dialog(True) new_marker_set= d.new_marker_set marker_set...
[ "batxes@gmail.com" ]
batxes@gmail.com
a7bdf555c5c6d3f96279b3733f29b9c8b469e4e2
54f352a242a8ad6ff5516703e91da61e08d9a9e6
/Source Codes/AtCoder/abc114/C/4911470.py
7120757865868e9a23be1abac95852d41aafe750
[]
no_license
Kawser-nerd/CLCDSA
5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb
aee32551795763b54acb26856ab239370cac4e75
refs/heads/master
2022-02-09T11:08:56.588303
2022-01-26T18:53:40
2022-01-26T18:53:40
211,783,197
23
9
null
null
null
null
UTF-8
Python
false
false
428
py
n=int(input()) import bisect import itertools l=len(str(n)) ans=[] num=[] x=['3', '5', '7'] for k in range(3,l+1): m=list(itertools.product(x, repeat=k)) num.extend(m) for i in range(len(num)): y=num[i] if '3' in y and '5' in y and '7' in y: number='' for j in range(len(y))...
[ "kwnafi@yahoo.com" ]
kwnafi@yahoo.com
8808986b8904f141db052ca5aa47711f5cf07734
c934f878af7e0591c67352b4d1178140d80e12e8
/lesson1_6.py
513f28bff2717ca8193ed3463f4f7bdd2c06a671
[]
no_license
makoflexite/stepik---auto-tests-course2
9fc957b83ecc41af8755a5690d26cd5617fdfa25
5a34760b3dcb128a0fb0883501bf21ff2206f8cc
refs/heads/master
2021-08-07T21:47:57.179928
2020-07-28T07:15:09
2020-07-28T07:15:09
252,147,177
0
0
null
2021-06-02T02:40:00
2020-04-01T10:48:10
Python
UTF-8
Python
false
false
1,744
py
from selenium import webdriver import time try: link = "http://suninjuly.github.io/registration1.html" # link = "http://suninjuly.github.io/registration2.html" browser = webdriver.Chrome() browser.get(link) # Ваш код, который заполняет обязательные поля input1 = browser.find_element_by_xpath("...
[ "mako@flexite.com" ]
mako@flexite.com
fb8abe534e603795db747646f36ff5576e1a2ec0
9a37461f5ee5e6ca6e2f43b88394bf7b66f2a95b
/app/tracks/migrations/0002_track_posted_by.py
120cda526586cb9b9bcdf9f4608dfae3b2847c6a
[]
no_license
goughjo02/react-tracks
c7587039dae7bc649b0fb8570f78fd8f1f4062a4
a394a3cd79b7accf69a87144f39986f508afea08
refs/heads/master
2023-04-11T04:51:17.336810
2021-04-17T20:37:50
2021-04-17T20:37:50
356,690,948
0
0
null
null
null
null
UTF-8
Python
false
false
576
py
# Generated by Django 3.2 on 2021-04-10 22:01 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), ('tracks', '0001_initial'), ...
[ "goughjo02@gmail.com" ]
goughjo02@gmail.com
4bfae37ee37f293153a442a5301b4ea1d1887493
7cd0b68c088bf8d42e048c3e4c2b3428a914b988
/mk-ckeck-ints-py2.py
b5e236d2cf8f7ab5e2b24ee8432412a594fb0cd9
[ "Apache-2.0" ]
permissive
mykespb/pythoner
9603904be46298f52ce54f7e421889e6d88b1c8e
5049b20018890d18d9fd8076ad13f176e1f037e3
refs/heads/master
2023-07-26T07:17:42.848231
2023-07-23T19:30:20
2023-07-23T19:30:20
42,587,225
1
0
Apache-2.0
2022-07-06T21:09:43
2015-09-16T12:59:54
HTML
UTF-8
Python
false
false
3,741
py
#!/usr/bin/env python2 # -*- coding: utf-8 -*- # mk-check-ints.py (c) myke 2015-11-07 # check first integer predefined refs for i in range (-10, 300): a = i+0 b = i+0 if a is b: print i, "equals" else: print i, "not equals" -10 not equals -9 not equals -8 not equals -7 not equals -6 no...
[ "mykespb@gmail.com" ]
mykespb@gmail.com
e8fc55c6787585e423a94e7166047b50f483e6ff
8bd8003d04b2456962b7cd05a301f9a90a6fad98
/vscode/fizz.py
88e78dce5cc842cb6ff9abb9bfa55b526d42bf3f
[]
no_license
fadibsat/ucla-2019
198e0d54f5d0872f3559e74eb80ed28e4f664064
24b1890877e65964a97bdf8fa5bfa7c72c7c2135
refs/heads/master
2020-06-24T06:02:39.743693
2019-08-09T22:13:23
2019-08-09T22:13:23
198,871,564
0
0
null
null
null
null
UTF-8
Python
false
false
595
py
# Write a program that prints all the numbers from 1 to 100 # Except, when it gets to a multiple if 3, it prints "fizz" instead of the number # and when it gets to a multiple of 5, it prints "buzz" instead of the number # If something is a multiple of both 3 and 5, print "fizz buzz" # Example (from 1 to 20) """ 1 2 f...
[ "fadibsat@gmail.com" ]
fadibsat@gmail.com
c622b9d36749d30594c0412f9cb1ebf46789e8d3
ca2af9c0268dfd44c4019e3b286918f780cf639f
/space.py
b712d0e9ceae30613b64030e360e9f72e1d05211
[]
no_license
gufran-ansari/space-invaders
3810af88e77b47264782468473db2f1eaedd619a
239eddfddd11c8729475b9fd8dcc5435ee4df350
refs/heads/main
2023-08-29T06:33:36.394563
2021-11-14T15:20:03
2021-11-14T15:20:03
247,096,692
0
0
null
null
null
null
UTF-8
Python
false
false
8,913
py
import pygame import os import random import time pygame.font.init() # Window and size width, height = 800, 700 win = pygame.display.set_mode((width, height)) # Name of the window pygame.display.set_caption("Space Shooter") # Load Images red_ship = pygame.image.load(os.path.join('assets', 'red_ship.png')) green_ship...
[ "noreply@github.com" ]
noreply@github.com
3c05d3923747b05675fbca8e4f3013509d5d1984
4731a78924c45cb293991384ef5f70463fa437d5
/det/bin/python-config
3c4092160acd5025a0d4e99a81b9292ccebe1727
[]
no_license
vkd225/ObjectRecognition
f90f1f9de721a9627aed49cb50f44973a8423d57
9344059b2076b21efa73934042768cc293b5efb8
refs/heads/master
2021-07-05T08:58:00.776332
2017-09-28T20:04:40
2017-09-28T20:04:40
105,192,894
0
0
null
null
null
null
UTF-8
Python
false
false
2,355
#!/home/vikash/Desktop/ObjDetection/det/bin/python import sys import getopt import sysconfig valid_opts = ['prefix', 'exec-prefix', 'includes', 'libs', 'cflags', 'ldflags', 'help'] if sys.version_info >= (3, 2): valid_opts.insert(-1, 'extension-suffix') valid_opts.append('abiflags') if sys.vers...
[ "vkd225@nyu.edu" ]
vkd225@nyu.edu
781480b6b7c9c10bf5e38599c8db5a2b48975330
4e3eedbf46a032c42665c3b212a48bc30652c1ed
/day09/03 作业.py
0f6da2b7095362708f20d35f0057463e18209925
[]
no_license
zranguai/python-learning
7eb2a842f6f4624f550ee1c4ff7cd64ac948097a
acf19c9f85eec4bee3e3e3a00712c4a53aa9d249
refs/heads/master
2023-03-24T14:36:32.248437
2021-03-15T08:24:01
2021-03-15T08:24:01
347,874,326
1
0
null
null
null
null
UTF-8
Python
false
false
4,475
py
# # 1.整理函数相关知识点,写博客。 # # 2.写函数,检查获取传入列表或元组对象的所有奇数位索引对应的元素,并将其作为新列表返回给调用者。 # def odd_element(li): # l1 = li[1::2] # return l1 # # # l2 = [1, 2, 3, 6, 5, 8] # tu2 = (1, 2, 3, 6, 5, 8) # res = odd_element(l2) # res1 = odd_element(tu2) # print(res) # print(res1) # 3.写函数,判断用户传入的对象(字符串、列表、元组)长度是否大于5。 # def judge_leng...
[ "zranguai@gmail.com" ]
zranguai@gmail.com
7c6abef881225c8d6c81852a20ca2b4da455f8cf
4526dfc364330b95110cf987fc75ed9cc4bb1a8f
/checkout/migrations/0004_order_user_profile.py
b6416cd308a14181433c538d2f842f8bd96b8162
[]
no_license
kenwals/BoWood-Audio
e65f72533770d228407224f6a35d23c0e829eeb4
7046b030fdef95f745fbd389fa3f2140ad09ece4
refs/heads/main
2023-07-16T13:23:53.245462
2021-08-19T19:52:31
2021-08-19T19:52:31
387,548,996
0
2
null
2021-08-19T19:47:50
2021-07-19T17:47:11
HTML
UTF-8
Python
false
false
567
py
# Generated by Django 3.2.5 on 2021-07-30 13:28 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('profiles', '0001_initial'), ('checkout', '0003_alter_order_country'), ] operations = [ migrations.A...
[ "kenwals@gmail.com" ]
kenwals@gmail.com
55c0ddc10dfebaabc5ebad6bab71d2634378ec9e
887811408e187da2422900a31859925d59d4d6ec
/UniquePaths.py
5e5e9cbb532d75cf1af78435b7bb02a6042e8d8b
[]
no_license
adityachhajer/LeetCodeJuneChallenge
5a998baf6dc5207c56c48ccd36c82ef44f41217c
8ed8b0c012691387e417bcf45009debe4d5f8551
refs/heads/master
2022-11-12T16:40:25.360578
2020-07-01T06:31:51
2020-07-01T06:31:51
268,749,503
2
0
null
null
null
null
UTF-8
Python
false
false
686
py
class Solution: def solve(self,n,m,t): if n-1==0 and m-1==0: return 1 elif t[n][m]!=0: return t[n][m] else: if n - 1 == 0 and m - 1 != 0: t[n][m]=self.solve(n, m - 1, t) return t[n][m] elif n - 1 != 0 a...
[ "noreply@github.com" ]
noreply@github.com
68419211bd0aa1f49b996f3b1ffade316207498e
8dd2cdfe96f49b4f18032bf33fc00c20dd3c2f3b
/mistletoe/block_tokenizer.py
ba29889c1d0397acdc0c266d0c127d0968e08a36
[ "MIT", "CC-BY-3.0", "CC-BY-4.0" ]
permissive
elebow/mistletoe
49d81c4c66b2b7a7e97e816fc7336b14cc93a3dc
d9e0d67c1cdd7815c8840bbcc65a91e875949e27
refs/heads/master
2020-03-21T08:50:43.165518
2018-06-11T15:07:08
2018-06-11T15:07:08
138,368,878
0
0
MIT
2018-06-23T03:42:39
2018-06-23T03:42:39
null
UTF-8
Python
false
false
2,523
py
""" Block-level tokenizer for mistletoe. """ class FileWrapper: def __init__(self, lines): self.lines = lines if isinstance(lines, list) else list(lines) self._index = -1 self._anchor = 0 def __next__(self): self._index += 1 if self._index < len(self.lines): ...
[ "miyu.china@icloud.com" ]
miyu.china@icloud.com
1639d20c0bb79e8aeb6b36605f7b08d89a15eff6
9d603fa48f2f66f9070fa283ab2163181855bc62
/hm_02_绘制图像.py
404ea022f23e63a181ce4d3acb46f3460f0f4dd8
[]
no_license
suyibjut/PlaneWar
f5df1a0c4cd2f8444ed4cd1b5f1e700c269c79a6
31a9b66abcd9c7479f231e3aa31d9968b8a763de
refs/heads/master
2020-05-05T14:05:02.606965
2019-04-08T08:38:27
2019-04-08T08:38:27
180,106,330
1
0
null
null
null
null
UTF-8
Python
false
false
302
py
import pygame pygame.init() # 创建游戏的窗口 screen = pygame.display.set_mode((480, 700)) # 绘制背景图像 bg = pygame.image.load("./images/background.png") # blit绘制图像 screen.blit(bg, (0, 0)) # update 更新屏幕显示 pygame.display.update() while True: pass pygame.quit()
[ "=suyibjut@163.com" ]
=suyibjut@163.com
25c194f1e5e6cd85b3cbd905e33ab760c4d03ac2
6acef5bfa9c895f9447830ca44ab2adbdf7ccf0f
/server/resources/user.py
bdf900cd370776452614b068340338459224050e
[]
no_license
prembhanderi/store-locations-iOS
1446f57aefad832cb4acbc6cfaacb61e3811155a
4c75299a89ea2ad4cccfb840c47446ef1a95595f
refs/heads/master
2022-04-08T20:59:05.461690
2020-03-20T20:46:24
2020-03-20T20:46:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
718
py
from flask_restful import Resource, reqparse from models.user import UserModel class UserRegister(Resource): parser = reqparse.RequestParser() parser.add_argument('username', type=str, required=True, help="This field cannot be left blank." ) parser.add_argument('password', ...
[ "noreply@github.com" ]
noreply@github.com
95ceee00826bae615883457c7b072e20a2790b30
f9077a852d7ae8032cf2bab98b4de0ebff0447e8
/specs.py
90d4791d27526fe79517a4efe10ac3726cd7541f
[]
no_license
tendolkar3/bitrus
98b48143f3baf4ded2bce2898c5660490cfc6c50
114e5e9077b99d5bde2e8192cfe3bbe716e598e0
refs/heads/master
2021-05-10T14:13:35.657466
2018-01-22T21:41:18
2018-01-22T21:41:18
118,509,056
0
0
null
null
null
null
UTF-8
Python
false
false
1,129
py
class Env(object): def __init__(self, observation_space, action_space): self.observation_space = observation_space self.action_space = action_space self.simulation = None pass def step(self, action): """ This should compute one time step of the simulation. ...
[ "htnayajregatti@gmail.com" ]
htnayajregatti@gmail.com
056d347217bd6407a0b52242a2e7ac05344ab191
1f6c089f9be7e43f0c4de93a0ad2d1fc7fd6c580
/Topics/List comprehension/Even numbers/main.py
cf823da48080e0c15a17da3c31ba945099e4e736
[]
no_license
Borys-Sz/Tic-Tac-Toe
77b8d3740945af112499e12f1035e45aa0c9e7c3
22c9ed669f8f6bc5728cb78920568c8bff17dadc
refs/heads/main
2023-06-10T23:34:57.593978
2021-07-04T11:27:38
2021-07-04T11:27:38
382,831,700
0
0
null
null
null
null
UTF-8
Python
false
false
242
py
# the following line reads the list from the input; do not modify it, please my_numbers = [int(x) for x in input().split(" ")] # work with the variable 'my_numbers' new_numbers = [num for num in my_numbers if num % 2 == 0] print(new_numbers)
[ "borys-sza@wp,pl" ]
borys-sza@wp,pl
faa0b58f1960b71c04d7049f05bdb90a68ff60d2
324a2bdacb4b6c6286ce6886bca412cca283d649
/src/gym/simulate_network/reward/aurora_reward.py
e948b15e4171fa7f41020c8352e928c2bfb31170
[ "Apache-2.0" ]
permissive
shaymargolis/PCC-RL
1c244640e68df4b811bb980147cb95e277bd3966
947a0016480db57a3bd1f96f3f892180d707496b
refs/heads/master
2023-02-10T03:01:13.496385
2020-12-04T15:25:45
2020-12-04T15:25:45
265,189,635
0
0
NOASSERTION
2020-05-19T08:27:52
2020-05-19T08:27:51
null
UTF-8
Python
false
false
600
py
from src.common.sender_obs import SenderMonitorInterval from src.gym.simulate_network.constants import REWARD_SCALE, BYTES_PER_PACKET from src.gym.simulate_network.reward.reward import Reward class AuroraReward(Reward): def get_reward(self, sender_mi: SenderMonitorInterval, rate: float): throughput = send...
[ "shay.margolis@mail.huji.ac.il" ]
shay.margolis@mail.huji.ac.il
c64a42861b5b69b657676e42ff637e8febcde842
c8ba6eba3843da1fe84fb0e47070ebc745bfbd08
/build/lua-reader/source/protobuf-2.6.1/python/google/protobuf/message.py
fbc2cf6f1a9db1b4f27950e098f2955319b0205a
[ "LicenseRef-scancode-protobuf", "MIT", "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause" ]
permissive
LazyPlanet/MX_LIB
2a830b5c83cfaa86784dfe8b661ca147020b5593
8f4032b53153ee630f621afbda22454e7aae9a4e
refs/heads/master
2021-07-03T07:00:45.112479
2019-07-25T02:52:40
2019-07-25T02:52:40
186,107,361
0
0
NOASSERTION
2020-10-13T13:12:46
2019-05-11T08:26:58
C++
UTF-8
Python
false
false
10,559
py
# Protocol Buffers - Google's data interchange format # Copyright 2008 Google Inc. All rights reserved. # https://developers.google.com/protocol-buffers/ # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # ...
[ "1211618464@qq.com" ]
1211618464@qq.com
1114561561d83494f84896d62364cedb394287eb
10d706e6a037be52231599dff41a0501beb781bc
/flask/template/application.py
1dd88ba491b00fb982a48ef8b8eec9270b4f2397
[]
no_license
sihota/CS50W
fc4da579091ead429e338fe3444c124d170c84ed
ce99213428514ac888594e88b7d213a84bad795f
refs/heads/master
2022-11-16T02:10:28.233597
2020-07-13T02:51:22
2020-07-13T02:51:22
271,143,582
0
1
null
null
null
null
UTF-8
Python
false
false
134
py
from flask import Flask,render_template app = Flask(__name__) @app.route("/") def index(): return render_template("index.html")
[ "sihotaamarpal@yahoo.com" ]
sihotaamarpal@yahoo.com
ebcc95083cfa5486c1c0adad86ca24bdcb10a738
c5aac4f7a0eb023c371b98f6eb756a0abc94ba8b
/handlers/users/add_task.py
308ed4ffba99651f2ed5f65d0d0f8d31dd684fb7
[]
no_license
nedopolz/bot_alexy
a8300c8e61ec0f4383b51b2bbcfc6404e1adfdd6
8013a33ac70e8ca4c11d5bec3eb6e5adc6372e37
refs/heads/master
2023-04-18T16:21:17.315961
2021-04-27T15:44:56
2021-04-27T15:44:56
362,166,045
0
0
null
null
null
null
UTF-8
Python
false
false
1,970
py
from aiogram import types from aiogram.dispatcher import FSMContext from aiogram.dispatcher.filters import Command from aiogram.types import CallbackQuery from data.config import admins from keyboards.inline.task_type import choose_type from loader import dp, db from states.task_addition import Addition @dp.message_...
[ "75213601+nedopolz@users.noreply.github.com" ]
75213601+nedopolz@users.noreply.github.com
b42df0b0600e103687089c0a446ba7fcfe9c3afb
c87c59975245506de6bf4d6411452ef6a0ea8e67
/mysite/settings.py
5457a743e6af034f24d2a9e32b4ab8a73d2b565a
[]
no_license
chardgraves/my-first-blog
689b9db9d924ba069fe1c1d13075d9cbbfb3a02e
58b55d3470707a45e100bdebfbfccd62542dc75b
refs/heads/master
2023-03-12T14:19:22.031418
2021-03-03T04:46:11
2021-03-03T04:46:11
342,484,204
0
0
null
null
null
null
UTF-8
Python
false
false
3,208
py
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 2.2.19. 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 #...
[ "ahri.potter.com" ]
ahri.potter.com
ff0a4db26982e59d2fb52bea8bd36e3b2e2ef425
539719687241644c729f8b275c2e0b409d8efd89
/diamond_problem.py
de65035804c9e76216e39bdb05f5997aa4534ee6
[]
no_license
cope2012/p4e-oop
1852636808a246b4176e633051dd65229afdb6c8
95813f6d30a59da5b15d8541c4653bb863267e9e
refs/heads/master
2022-09-30T17:30:33.177770
2020-06-07T06:50:06
2020-06-07T06:50:06
268,008,998
0
0
null
null
null
null
UTF-8
Python
false
false
375
py
class Class1: def m(self): print("In Class1") class Class2(Class1): def m(self): print("In Class2") super().m() class Class3(Class1): def m(self): print("In Class3") super().m() class Class4(Class2, Class3): def m(self): print("In Class4") su...
[ "cope2012_hds@hotmail.com" ]
cope2012_hds@hotmail.com
f3a01b868d231358e9f762b09e2d8400c33d7e03
b39d9ef9175077ac6f03b66d97b073d85b6bc4d0
/Torisel_WC500039912.1.py
e171724fdab26401b59865112ccd9ffbabce2d73
[]
no_license
urudaro/data-ue
2d840fdce8ba7e759b5551cb3ee277d046464fe0
176c57533b66754ee05a96a7429c3e610188e4aa
refs/heads/master
2021-01-22T12:02:16.931087
2013-07-16T14:05:41
2013-07-16T14:05:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,874
py
{'_data': [['Common', [['Immune system', u'Diabetes mellitus 10 (3,1) 2 (0,6) Dehydrering 17 (5,3) 8 (2,5) Hypokalcemi 21 (6,5) 5 (1,6) Hypofosfatemi 26 (8,1) 14 (4,4) Hyperlipidemi 4 (1,2) 0 (0,0) Psykiska Mycket vanliga Insomni 45 (14,0) 1 (0,3) st\xf6rningar Depression 16 (5,0) 0 (0,0)'], ...
[ "daro@daro-ThinkPad-X220.(none)" ]
daro@daro-ThinkPad-X220.(none)
cdc40be77c33d567af9b5df6be9a0f2050d8e2c8
d579975a516e964a5a0534cecba9c86d5a07d4b3
/tokeniz/apps/api/tests/forms.py
3e3cfff37f653cc2a38cd9522e6228104749cc6a
[]
no_license
edicts/tokeniz
7904c0097e96857c1b0821d2f35597ebf1589845
e30127c413ad322eba9c3df7d19604661a5fb643
refs/heads/master
2020-08-04T10:21:41.877125
2015-02-16T18:49:29
2015-02-16T18:49:29
10,444,734
0
0
null
2015-02-16T18:46:49
2013-06-03T01:12:06
Python
UTF-8
Python
false
false
176
py
from __future__ import unicode_literals from django.test import TestCase class ModuleTest(TestCase): def setUp(self): pass def tearDown(self): pass
[ "rico@neutroninteractive.com" ]
rico@neutroninteractive.com
6be78bf6df873da2e5167b7752c6318be2d9b9a5
431b1316297c4d8eec80541f0df2aeefac91c2fd
/website/main/abbreviations.py
ed0d173df2e159d9488a71b6010df90b404215af
[]
no_license
terry-rozmus/vocabulator
b3c6f30abf5e2cd45f794e16b8077b1cd71fa60a
57110f4bcf0832f19c76f682a304aac166ad1a1b
refs/heads/master
2020-03-22T16:57:34.157826
2018-07-10T02:45:10
2018-07-10T02:45:10
140,363,365
0
0
null
null
null
null
UTF-8
Python
false
false
47,612
py
abbreviations = set ([ "patd", "osirm", "aegis", "lencl", "xtc", "hdtv", "fractal", "fus", "netcdf", "rlin", "esop", "asdsp", "daccs", "tsdu", "hero", "mlt", "acaws", "atoms", "dore", "cart", "herp", "hotol", "rafvr", "unix", "univ", "unit", "dna", "dnc", "dnl", "dni", "sfrpg", "dns", "...
[ "noreply@github.com" ]
noreply@github.com
dd57eba92378fbdd5bad3a8819c14540e2f82060
412adfca657ddbdbbef437fa306d610061e5996b
/data/generate_json.py
072f7fdd8be26293c4bf6f29facd11bf7a81f512
[]
no_license
gidglass/db-encryption
294170a6d832555248368b5e05876abace7fcf4f
e90a92ea70f975596b6f58acd80cd9af6b9b3de9
refs/heads/master
2021-01-01T05:04:47.045543
2016-05-15T14:30:42
2016-05-15T14:30:42
56,701,250
1
1
null
null
null
null
UTF-8
Python
false
false
459
py
import pandas as pd import json DATA = pd.read_csv('customer.csv') TABLE = 'CUSTOMER' COLS = ('ID', 'FIRST_NAME', 'LAST_NAME', 'ADDRESS', 'CITY', 'STATE', 'ZIP', 'PHONE', 'EMAIL', 'SSN') results = [] for row in DATA.values: entry = { 'row': { 'table': TABLE, 'fields': dict(zip(COLS, row)) ...
[ "gidglass@gmail.com" ]
gidglass@gmail.com
08d7a2b99f95bb04925744ca90436897d720e28d
026e2c312171158100445102ddb0c4d16e68f294
/naver_campus_hackday/2019_naver_campus_hackday_summer/03.py
cae0c821e33b78b50cb34a168375503afafbf427
[]
no_license
dl0312/PS
46e561099582957de8fca5d55d98f34f02bb1a9e
05e6fd30c932b5013cd0274119ec4002f68d3e70
refs/heads/master
2020-05-09T13:11:14.682009
2019-09-06T17:19:57
2019-09-06T17:19:57
181,141,370
2
1
null
null
null
null
UTF-8
Python
false
false
336
py
def solution(t_lst): t_lst_sorted = sorted(t_lst, reverse=True) t_len = len(t_lst) winter_max_t = t_lst[0] winter_max_t_idx = 0 for idx, t in enumerate(t_lst): if t >= winter_max_t: winter_max_t_idx = t_lst_sorted.index(t) if t_len - winter_max_t_idx == idx+1: ...
[ "leegun2003@gmail.com" ]
leegun2003@gmail.com
8beb4ccfa43bad50ce035f1c6acca5825ea159d1
00d1f33d0a07fbe1123dc31aff27e1ff24e45ef4
/thrift/transport/TTwisted.py
ea3dc3d8f894f2a8cc1b6cd5927a0a9e1e1ba5d2
[]
no_license
wbz93815/python-thrift
caaec5de4922bda254f1d497bb9f57b98ee113b6
eb9205f43c610b9c468d2e88451bccb57d6e4fbb
refs/heads/master
2021-01-24T03:38:00.299235
2018-02-26T01:51:00
2018-02-26T01:51:00
122,897,560
0
0
null
null
null
null
UTF-8
Python
false
false
10,904
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...
[ "baozhou.wang@datuhongan.com" ]
baozhou.wang@datuhongan.com
a4121b364c978347da27194b9061f3bd495259a0
871b3fa6647983570ecc0a8f4764dd2af4765427
/roxanne/main.py
08b439409202f5e1b432bc061bb3ebca88dcd4b2
[]
no_license
kwarwp/anita
5eaa8f6b587bdc8d702aeae775803bec60856fbc
b813492175365a0f7b8934c710cc09b0ff26763f
refs/heads/master
2022-10-17T01:02:37.845442
2022-09-26T15:05:06
2022-09-26T15:05:06
216,602,314
0
0
null
null
null
null
UTF-8
Python
false
false
462
py
# anita.roxanne.main.pyhttps://i.imgur.com/u1dActr.jpgV from _ spy. violino.main import cena,elemento,texto, STYLE STYLE["width"]=600 STYLE["heigth]= "200px" linkdatalita="https://i.imgur.com/6rLmVNz.jpg" linkdocolete="https://i.imgur.com/PV7WWPJ.jpg" linkquartodatalita="https://i.imgur.com/wdKENXo.jpg" linkdosubmarino...
[ "38007182+kwarwp@users.noreply.github.com" ]
38007182+kwarwp@users.noreply.github.com
180f70081bd56dee88a09532ac437aeda5cea176
181f1809e0fdd60277a66d1ec62f801b202f9834
/Exercises/ex15.py
df1aa8f508aad3c021d4f1dd50da5f72bcd961ec
[]
no_license
Donzellini/pythonCampinasTech
a1096af54b7013bad8b46f4a9b2683c7414bbba5
8ed19209eeba0582c56715e9e6eb7eeec16899c9
refs/heads/master
2023-03-07T00:16:34.031888
2021-02-25T00:50:35
2021-02-25T00:50:35
328,802,944
0
0
null
null
null
null
UTF-8
Python
false
false
830
py
# 15. Fazer um sistema de Feira Livre(Deve imprimir uma lista com as frutas e pedir para o solicitante colocar o nome e selecionar a fruta e depois deve imprimir o nome do solicitante e a fruta) list_fruits = ["banana","apple","pineapple","strawberry","peach"] i = 0 t = len(list_fruits) - 1 #tratei a variável com -1 ...
[ "muriel.donzellini@gmail.com" ]
muriel.donzellini@gmail.com
230aae4fad6d6e86c39430f3952b12a8ade9fc88
b8b91c62b4bfe9c7b8036585de9515d51a4221d3
/src/module/order_creator/backup/order_creator_ver2.1/checker.py
c04504d213df6e1346ae067b9a00fe77eb01ca56
[]
no_license
lucio-karin0506/graduation-project-P407
740b50928768490e9222aedfc42d69fc7a964ffe
dd4b6fe92547fdfb97a191741bad566464f85cfa
refs/heads/main
2023-08-04T16:12:36.443393
2021-09-23T08:24:35
2021-09-23T08:24:35
397,681,131
1
3
null
null
null
null
UTF-8
Python
false
false
2,487
py
""" Created on 2021.1.23 @author: 김상혁 """ def crossUp(row:"Series", idx:int, df:"DataFrame", source:str, target:str or int) -> bool: """ source가 target을 상향돌파 했음을 T/F로 반환한다. Parameters ---------- row: row of DataFrame that is series idx: index of row df: Stock DataFrame source: Col...
[ "syy2585@naver.com" ]
syy2585@naver.com
2bddbb5e6aa2f729bf95602c58edfe8ca93ee857
fd1c22ec2da66c40193392fd1d6fd79b126bb954
/app.py
bd4297aa1d8acbc7d2cef454d709f92fc4a0fae1
[]
no_license
DesignisOrion/Python-Simple-Audio-Player
0a7d321e6f634fd9c209c97e9ad2903b46314847
e72f6a4c82bb4d1817d56dd3b1dee2e82c9e6372
refs/heads/master
2022-12-11T10:56:50.552719
2020-09-12T03:48:27
2020-09-12T03:48:27
288,871,371
0
0
null
null
null
null
UTF-8
Python
false
false
670
py
# This app is called PyAudio, in which is a music player made in Python. from pygame import mixer # importing mixer from pygame framework mixer.init() # start the mixer mixer.music.load("beat.mp3") # Load the song mixer.music.set_volume(0.7) # set the volume mixer.music.play() # Play the mixer while ...
[ "noreply@github.com" ]
noreply@github.com
1c5d5abe6881bb402ca1bb02ff571c2bf939088f
22448455657c98093edce0a83e972b25716bca32
/sms/schools/models.py
687ecf0cca5efbe871ee4bca68ddd9ef5b458a65
[]
no_license
Madanshrestha/rosebay_task
9631a06317599b2ca0e6f27f94aa3f96ca5937a9
8fdc5d08c630189a5c8e9b2a3feb1088756e18d9
refs/heads/master
2020-05-21T09:08:32.985223
2019-05-12T02:15:03
2019-05-12T02:15:03
185,992,031
0
0
null
null
null
null
UTF-8
Python
false
false
239
py
from django.db import models # Create your models here. class School(models.Model): school_name = models.CharField(max_length=255) location = models.CharField(max_length=50) def __str__(self): return self.school_name
[ "gamenic.madan@gmail.com" ]
gamenic.madan@gmail.com
6cff89ca0b9ca776019aab3ca95b749d43c0fafa
833082677d333f5dd88f13e7ae06c7c13f2e77db
/tests/test_mongoreporter.py
ae8d7c227d2b4af3315064d38e8b8ae0efc8d3cc
[ "Apache-2.0" ]
permissive
Paulius-Maruska/mongodog
66c53844b219373a02651f6b9bd7f1a385519bcf
3f246322c97a27f6bafe4e3d40d08ea1a81a373c
refs/heads/master
2021-01-10T21:27:01.387462
2014-09-01T12:32:50
2014-09-01T12:32:50
23,465,283
1
1
null
null
null
null
UTF-8
Python
false
false
1,724
py
# -*- coding: utf-8 -*- """Unit tests for mongodog MongoReporter It's a little bit of a special case, because we don't want it to start reporting its own commands""" try: # if pymongo available import pymongo PYMONGO_AVAILABLE = True except ImportError: PYMONGO_AVAILABLE = False import mongodog.reporte...
[ "paulius.maruska@gmail.com" ]
paulius.maruska@gmail.com
66194d260e410c281e64b63c7c3d7e40e941e568
98f7163d31d7c8ee1a7900acc486b354ccc11fed
/scripts/flekkies.py
225a5c7274f27f91d2dd457f811022916d7f6b72
[]
no_license
mbajoshuac/HNG_storm-task
7f27e5b7f47bb99d1f28296f8b6297ed62f5490f
1d1be671f258384c0c0b614669c9323e700dd904
refs/heads/master
2022-10-01T18:19:47.235416
2020-06-07T18:42:02
2020-06-07T18:42:02
269,045,390
0
0
null
2020-06-03T09:26:44
2020-06-03T09:26:43
null
UTF-8
Python
false
false
151
py
output = "Hello World, this is [Adefolake] [Olanrewaju] with HNGi7 ID [HNG-03335] using [Python] for stage 2 task. olafolake13@gmail.com" print(output)
[ "praiseajayi2@gmail.com" ]
praiseajayi2@gmail.com
4049a02fd60ab4a249f4d40702531b9eafed09fd
a9fe1b5c320cdef138ac4a942a8b741c7f27de7c
/LC742-Closest-Leaf-in-a-Binary-Tree.py
f3a487514bfb862775af04044d8e89b47e295321
[]
no_license
kate-melnykova/LeetCode-solutions
a6bbb5845310ce082770bcb92ef6f6877962a8ee
ee8237b66975fb5584a3d68b311e762c0462c8aa
refs/heads/master
2023-06-28T06:35:33.342025
2021-07-30T06:59:31
2021-07-30T06:59:31
325,106,033
2
1
null
null
null
null
UTF-8
Python
false
false
4,287
py
""" Given a binary tree where every node has a unique value, and a target key k, find the value of the nearest leaf node to target k in the tree. Here, nearest to a leaf means the least number of edges travelled on the binary tree to reach any leaf of the tree. Also, a node is called a leaf if it has no children. In ...
[ "forkatemelnikova@gmail.com" ]
forkatemelnikova@gmail.com
a680c0a1fe2d38f6d0b18ffdd796e9ee3e954a86
31e7d0e1622d2fe3228bd09a44828dab42138fab
/samples/jancy-stdlib/sphinx/jancylexer.py
9b136601cc97074792127b2ec746254513f3b02c
[ "MIT" ]
permissive
vovkos/doxyrest
3c3a6b0316cdb6b86a29a7f75d95fbbe19ca8107
9f7ca85d22e992049c1c399e39c710a33450b069
refs/heads/master
2023-07-11T00:15:47.838211
2023-06-29T08:48:15
2023-06-29T08:48:15
76,837,554
326
28
MIT
2023-01-18T17:22:10
2016-12-19T07:12:08
C++
UTF-8
Python
false
false
5,697
py
#............................................................................... # # This file is part of the Jancy toolkit. # # Jancy is distributed under the MIT license. # For details see accompanying license.txt file, # the public copy of which is also available at: # http://tibbo.com/downloads/archive/jancy/l...
[ "vovkos@gmail.com" ]
vovkos@gmail.com