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
46ec2bd6cceb54f2a7d46ee534cfdccc21e2ffa1
65fc48bf49e662486c238ea71738010ae9f07f34
/scripts/util/HMM_sclassifier_single_trial.py
3527589fa07d5def1d3205a3abfdc6ed939d8150
[]
no_license
dagv21/hmm_gait_phase_classifier
86a8ed6447519dbc2282a888ba131911da25aba2
4650c2649bc55a733275ac81bbc8334f0423dffb
refs/heads/master
2022-03-27T18:55:44.375727
2019-12-17T19:43:36
2019-12-17T19:43:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,181
py
#!/usr/bin/env python import rospy import rospkg import pickle import entry_data as ed import numpy as np import time from sklearn.model_selection import StratifiedKFold from sklearn.preprocessing import normalize from sklearn.mixture import GaussianMixture from entry_data import DataEntry, fullEntry from pomegranate i...
[ "miguel.sanchez-m@mail.escuelaing.edu.co" ]
miguel.sanchez-m@mail.escuelaing.edu.co
a0fc8d19c10db23a8abe32132998effa45b3dd65
4189f8f3b01265314a9117368a1b680d5e45916f
/sumvec/sumvec_v05.py
12121672ee8da1404489e40c8b531638505fa316
[]
no_license
operedo/training-python-line-profiler
45b0f07c5919a31c64c4d66f92e847b117abd77b
eab29422b6775991afedc99833b7456f7f22e35b
refs/heads/master
2020-12-07T10:36:01.270023
2020-01-09T02:41:48
2020-01-09T02:41:48
232,704,948
0
0
null
null
null
null
UTF-8
Python
false
false
663
py
import math import random @profile def decrement(value,vec,i,lim,div): if(vec[i]>=lim): return value else: return value-vec[i]/div @profile def increment(value,vec,i,lim,div): if(vec[i]<lim): return value+vec[i]/div else: return value @profile def sumvec(vec,n,lim,div): value=0.0 i=0 for i in range(0,...
[ "operedo@operedonb-uac.vtr.cl" ]
operedo@operedonb-uac.vtr.cl
f4165ab31deeb9639cc57bfd503e4f3bd24b3353
a8adf39521dd45fb66cc91bb26636de142f63438
/devtools/init-git-hooks.py
1c87bd6a9daeac52676c7eb06d6cb4bfbace5014
[ "MIT" ]
permissive
ethz-asl/refill
6ff80d4601985cf0565768157da88dfdb04dce66
64947e0a8e15855f4a5ad048f09f8d38715bbe91
refs/heads/master
2023-08-03T13:01:06.233740
2021-06-01T16:50:29
2021-06-01T16:50:29
71,505,955
9
3
MIT
2021-09-16T17:23:15
2016-10-20T21:29:47
C++
UTF-8
Python
false
false
520
py
#!/usr/bin/env python # Disable pylint filename and missing module member complaints. # pylint: disable=C0103,E1101 """ Initializes git hooks for refill project. """ import commands import subprocess def main(): """ Copies pre-commit script to git hooks folder. """ _, repo_root = commands.getstatusoutput('git...
[ "igilitschenski@ethz.ch" ]
igilitschenski@ethz.ch
b372f136945c7c140f928e3fcc06b705264dd82a
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2606/60797/247414.py
a53d3bf72630c68d1fad189adb9a6e4ed7f2c6f0
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
471
py
import math def search(nums, target): left = 0 right = len(nums) - 1 i = (left + right) // 2 while target != nums[i]: if target < nums[i]: right = i - 1 i = (left + right) // 2 else: left = i + 1 i = (left + right) // 2 return i if __...
[ "1069583789@qq.com" ]
1069583789@qq.com
1f641b2abde23abb37a077aa66188bc379549324
e2fdd704dcb3a6d38af9fe2c6d88f46088f7f868
/leetcode/next-greater-element-i/sort-characters-by-frequency/solution.py
7864b61e198872a55d638ffab4ef3f2d739e135f
[ "MIT" ]
permissive
Minkov/leetcode-solutions
ad6fa95338d1b4fc2d67f2d860df2417519082a1
0576fb5578282ec594656ed26cadf68f791d3ef9
refs/heads/master
2020-03-14T02:06:49.570035
2019-11-13T10:29:11
2019-11-13T10:29:11
131,392,480
1
0
null
null
null
null
UTF-8
Python
false
false
485
py
class Solution: def frequencySort(self, s): by_frequencies = dict() for ch in s: if ch not in by_frequencies: by_frequencies[ch] = 0 by_frequencies[ch] += 1 chars = [[by_frequencies[ch], ch] for ch in s] chars = sorted(chars, reverse=True) ...
[ "donchominkov@gmail.com" ]
donchominkov@gmail.com
d6d7a75916aede2d40d4a98a66ef61730b3e96b4
0b9e588b3d6ddf95d87a0a0f02d10ef6efcccf51
/eduapi/api/views/mixins.py
3813677de2e8238d750d2f38aae79b5771ad513e
[]
no_license
omni360/inspiration-edu-api
b5d07a7fe3a473689d5323e60e6f88dd3d6fb4cb
6e1bbf8d895082d4c44af4ae35b9f5aa5cc9addc
refs/heads/master
2022-01-22T23:30:09.879433
2016-04-28T02:02:46
2016-04-28T02:02:46
57,559,736
0
0
null
2022-01-06T22:24:03
2016-05-01T06:35:12
Python
UTF-8
Python
false
false
36,165
py
import types from django.db.models import Q from django.contrib.contenttypes.models import ContentType from django.shortcuts import get_object_or_404 from django.http import Http404 from rest_framework import generics from rest_framework import exceptions from rest_framework.request import clone_request from rest_frame...
[ "frida.cai@autodesk.com" ]
frida.cai@autodesk.com
bfb0a89cacedfde8761a840cff5f420644463eeb
8af4e1eda9aee144c882865b5d8248923c074c77
/PyCode/youku_work/kubox_pressure/main.py
eb71e08bf53c711139fb63da13185bec136d37ba
[]
no_license
supersonictan/iterview
cec5323c4b86f04928f1e9394732ba20e53c846d
1577b2864b352462d78e3a44bc18873db6074dc5
refs/heads/master
2021-01-24T03:07:30.269867
2019-06-24T04:06:32
2019-06-24T04:06:32
68,491,613
0
1
null
null
null
null
UTF-8
Python
false
false
945
py
#!/usr/bin/python # -*- coding=utf-8-*- import requests import Queue import sys import json import threading from KuboxTasker import * from Logger import * import time #http://www.cnblogs.com/pastgift/p/3985032.html import Global reload(sys) sys.setdefaultencoding('utf-8') def read_query_file(queryFilePath): wi...
[ "tanzhen.tz@alibaba-inc.com" ]
tanzhen.tz@alibaba-inc.com
328b6a0bbc4e1382159323ffc5c6ecccac6df006
2ecefe5f02ea941e41707820c0ea1f1b1bf0d6ba
/eio-stress.py
95a5abba1fd92c144ce71fa5942ea132595a89e6
[]
no_license
ankur4369/debug-scripts
fc0cedfe1f2b8da21e00ee93d7009256c5ab2542
32105caa0eea2cd73c3b0810e0d4110ff2b6944a
refs/heads/master
2023-03-12T19:04:42.265801
2021-02-25T21:04:36
2021-02-25T21:04:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,668
py
from bcc import BPF from time import sleep from subprocess import Popen import argparse import sys import os import ctypes as ct bpf_text = """ #include <uapi/linux/ptrace.h> #include <linux/bio.h> #include <linux/blkdev.h> BPF_HASH(seen, u64); BPF_ARRAY(enabled, u64, 1); BPF_PERF_OUTPUT(events); BPF_STACK_TRACE(stac...
[ "josef@toxicpanda.com" ]
josef@toxicpanda.com
aaf367affcdb324c29cc08570be95dacaabf4b4e
1fb3aef0501dcb3b12a37ffb4e3ae00bd49f0767
/rainbow2.py
e9f56845e108961a1bcc7b4dc5cd692cc6823800
[ "MIT" ]
permissive
joedeller/pymine
980cfd6bda5f24b6df492f6a96dc7d5858092076
55c92815bbda1a0a237764ca3543de56354d28dc
refs/heads/master
2021-06-05T14:22:35.389878
2017-05-23T10:09:18
2017-05-23T10:09:18
29,393,956
6
1
null
null
null
null
UTF-8
Python
false
false
857
py
#! /usr/bin/python # Joe Deller 2014 # A slightly more dangerous version of our Rainbow program # Level : Intermediate # Uses : Libraries, variables, operators, loops, lists import mcpi.minecraft as minecraft import mcpi.block as block import math mc = minecraft.Minecraft.create() # Find out where we are in the w...
[ "joedeller@outlook.com" ]
joedeller@outlook.com
59948c00e4905df5fa1638c82f7126e0f1b85ed8
5381faf718dce8931d4213bd80b26beacd032015
/mysite/polls/views.py
0bc81bccc9542893cf8355db502735e2f1978185
[]
no_license
Kozzii/matt_blog
e4f06ca9313eaa5e0f80d49f4fbbb385493c3a0c
43f8d3cf12b8bcdfcdde05b593bee87bab2eb8ed
refs/heads/master
2021-01-22T20:35:00.552754
2012-06-22T19:51:25
2012-06-22T19:51:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
930
py
from django.shortcuts import get_object_or_404, render_to_response from django.http import HttpResponseRedirect, HttpResponse from django.core.urlresolvers import reverse from django.template import RequestContext from polls.models import Choice, Poll def vote(request, poll_id): p = get_object_or_404(Poll, pk=poll_id...
[ "kozzii@kozzii-virtual-machine.(none)" ]
kozzii@kozzii-virtual-machine.(none)
6257c5a2afec86ebc40d0443780bae8d1708a3fc
8839f7d655f07e6ec52255b783d8dc3d20b7673a
/task 9 fuel management system.py
1d81187989658aaa95481bff3048a8668bf6c65d
[]
no_license
amardeep-H/Innomatics_Internship_APR_2021
e58244b391ec9f3efd6a4016c011d17dba2d4265
3d336a274c8afcd62028ca97e2b29d1af5a71977
refs/heads/main
2023-05-07T23:16:31.287184
2021-06-03T17:40:20
2021-06-03T17:40:20
361,978,607
0
0
null
null
null
null
UTF-8
Python
false
false
4,040
py
#!/usr/bin/env python # coding: utf-8 # In[18]: #TATA has developed a better fuel management system for the SUV segment. They claim that with this system, #on average the SUV's mileage is at least 15 km/litre? import matplotlib.pyplot as plt import numpy as np from scipy.stats import norm from scipy.stats import ...
[ "noreply@github.com" ]
noreply@github.com
8d0f961f5067783ad1f226278a1f72f69a73e2f2
7ed7f864373e80d67875eb85010d2e59a5000bf6
/projectpolls/urls.py
ba13d984bb1f6ac92b507511e58a24dc7fdda264
[]
no_license
shaina9/polls-
31a0b3be17e3ed52aaeaf0ccb4a5407bab40c156
2e72df87fb50822e7a4d5bf34c9858be446ddf9e
refs/heads/master
2020-12-23T16:06:04.649462
2020-01-30T11:32:33
2020-01-30T11:32:33
237,199,807
0
0
null
null
null
null
UTF-8
Python
false
false
798
py
"""projectpolls URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-...
[ "shainakhan763@gmail.com" ]
shainakhan763@gmail.com
d5116123857d9a768edde5094afd778289ae7a46
57d6a2def2fc723f56e6507e5ad38b33d235a7bd
/About_Flask_ M Sai Pranav/Flask_Prj/kotak.py
e36ad628e5973c82c29a96fa0a82a9bf2cd8cc87
[]
no_license
febatech/cloudformationtemplates
fae3f62fafed0ac6d32cbf0517e5f3ff1e77f38d
3f57c6e71f016f1f420e3e53f4fec023e4b6878e
refs/heads/development
2023-06-25T17:33:19.286140
2021-06-28T09:29:03
2021-06-28T09:29:03
288,682,952
0
2
null
2021-01-13T06:32:57
2020-08-19T08:57:49
Python
UTF-8
Python
false
false
4,514
py
from urllib.request import urlopen from bs4 import BeautifulSoup import json kotak_url=['https://www.kotak.com/en/personal-banking/cards/credit-cards.html'] identity=["cmp-item-list card-list m-grid dynamic-card-values list"] # execute pip install lxml in the terminal html = urlopen(kotak_url[0]) soup = BeautifulSou...
[ "sai.pranav@febatech.com" ]
sai.pranav@febatech.com
ddb5bc9e87cfc65e9510b627a37f2f35ff9512ab
85a9ffeccb64f6159adbd164ff98edf4ac315e33
/pysnmp-with-texts/WWP-LEOS-TABLE-CHG-NOTIF-MIB.py
d8fa65af32a4a4509f661a718246905fca451a21
[ "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-proprietary-license", "LicenseRef-scancode-unknown-license-reference" ]
permissive
agustinhenze/mibs.snmplabs.com
5d7d5d4da84424c5f5a1ed2752f5043ae00019fb
1fc5c07860542b89212f4c8ab807057d9a9206c7
refs/heads/master
2020-12-26T12:41:41.132395
2019-08-16T15:51:41
2019-08-16T15:53:57
237,512,469
0
0
Apache-2.0
2020-01-31T20:41:36
2020-01-31T20:41:35
null
UTF-8
Python
false
false
12,414
py
# # PySNMP MIB module WWP-LEOS-TABLE-CHG-NOTIF-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/WWP-LEOS-TABLE-CHG-NOTIF-MIB # Produced by pysmi-0.3.4 at Wed May 1 15:38:29 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python vers...
[ "dcwangmit01@gmail.com" ]
dcwangmit01@gmail.com
0f1ba5df09e7999b7d2e7b41b26c59324662c577
5177bdf1d3ccc485d536f6e1a2ef9be3329baaf1
/src/PresentationSamples/TornadoAndAsyncMongo/VegTrackerPyMongo/RestaurantCreateHandler.py
b4b341a6d7c10e8e35537b3f6af9127ed563d7d4
[]
no_license
johnzablocki/codevoyeur-samples
eb0857093c0dbc2b38fe2fc70902f2ae24265ccc
47df19fab8ca57d2bae122b45b041fb6d92af833
refs/heads/master
2021-06-14T01:30:59.589088
2011-11-10T21:48:54
2011-11-10T21:48:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
564
py
import tornado.web import tornado.ioloop import pymongo import pymongo.objectid from DBFactory import DBFactory class RestaurantCreateHandler(tornado.web.RequestHandler): def get(self): self.render("Templates/Restaurants/Create.html", venue={ "name" : "", "city" : "", "state" : "" }) def post(...
[ "jzablocki@users.noreply.github.com" ]
jzablocki@users.noreply.github.com
feff5ab73695206b96ceecd566fb5f3a48277960
685f4474699d769dae88537c69f5517ac13a8431
/EL266.py
03916d472efa7cdc10b541a5ebdc329e8c3f3e82
[]
no_license
Pumafied/Project-Euler
7466f48e449b7314598c106398c0be0424ae72d5
0c3e80a956893ce1881a9694131d52b156b9d3d8
refs/heads/master
2016-09-05T22:45:09.733696
2013-04-20T04:46:48
2013-04-20T04:46:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
364
py
# The divisors of 12 are: 1,2,3,4,6 and 12. # The largest divisor of 12 that does not exceed the square root of 12 is 3. # We shall call the largest divisor of an integer n that does not exceed the square root of n the pseudo square root (PSR) of n. # It can be seen that PSR(3102)=47. # Let p be the product of th...
[ "pumafied@gmail.com" ]
pumafied@gmail.com
a5a8f7960bbf17e16e514e2ba7fcab7e25a86534
69e65b611ac1087397afffbb8123f9ee7ed3f13c
/poket/algorithm/kadane.py
af0fd3917217b8e1322937413d4f124a663c8865
[]
no_license
Fool-Yang/Doraemon-Pocket
8fa9122b43a79458aece7e1ec0ed0cd27ff636a1
11597f8a3e835896540be39fa2e264bdbe6e2b25
refs/heads/master
2021-06-14T21:27:43.264457
2021-02-22T03:05:55
2021-02-22T03:05:55
133,148,536
0
0
null
null
null
null
UTF-8
Python
false
false
579
py
def Kadane(Arr): local_start = start = end = tot_sum = 0 # defalt setting # max_sum, min_start, min_end for i in range(1, len(Arr)): if Arr[i - 1] + Arr[i] < Arr[i]: local_start = i else: Arr[i] = Arr[i - 1] + Arr[i] if Arr[i] > tot_sum: ...
[ "noreply@github.com" ]
noreply@github.com
7bb05a4bbe2e8267a6c43e3620d67b4f465c3b44
2a54e8d6ed124c64abb9e075cc5524bb859ba0fa
/.history/1-Python-Basics/28-tuples2_20200413203128.py
8c41bfd70429203ae803473b037a15cffd43b26d
[]
no_license
CaptainStorm21/Python-Foundation
01b5fbaf7a913506518cf22e0339dd948e65cea1
a385adeda74f43dd7fb2d99d326b0be23db25024
refs/heads/master
2021-05-23T01:29:18.885239
2020-04-23T19:18:06
2020-04-23T19:18:06
253,171,611
0
0
null
null
null
null
UTF-8
Python
false
false
42
py
#Tuples part 2 my_tuple = (2, 1, 4, 10)
[ "tikana4@yahoo.com" ]
tikana4@yahoo.com
92253b6699b4fa29407b305bc4edebcb5b8eac97
1a730dc0a1f6de6672b968be3001c5c473dc88bd
/NewPerson2.py
d17a879efe40c33bc5f1b4b2e4623a4db7b9f6fb
[]
no_license
DrDrei/Project1Cmput291
565ccb9f28d8b6a6252e541d253a908875786d56
fc8d84e74aeead7a5d84982930c692c4ce6282a1
refs/heads/master
2021-05-01T16:25:33.447487
2016-03-18T23:08:48
2016-03-18T23:08:48
52,899,821
0
0
null
null
null
null
UTF-8
Python
false
false
7,966
py
''' Created on Mar 15, 2016 @author: drei ''' import tkinter as tk import datetime import re as regex from DBConnect import DBTables from cgi import valid_boundary class NewPerson2(tk.Frame): valid = 'light grey' invalid = 'red' isInputValid = False isDBValid = False personData =[] connectio...
[ "drei3000@gmail.com" ]
drei3000@gmail.com
a12d88a970708e9d5d97076359afcb8f116582e4
97c4d3d0509897c8a3591cd340dc2b77c4eeba77
/5.24/10_Dictionary/Homework.py
c86f2faeb142fd30950ccb0b12b5e463b499a9b3
[]
no_license
asterinwl/2021-K-Digital-Training_selfstudy
a056f3e7fa92c6b51914171d5171f05fd13fd9ec
cd9c136ddba5df4be6ae2ceb447ee6bb8d5d53bc
refs/heads/master
2023-08-29T02:18:13.234499
2021-10-09T15:21:55
2021-10-09T15:21:55
373,746,421
0
0
null
null
null
null
UTF-8
Python
false
false
2,222
py
print('1번') students = [ {"name" : "홍길동", "korean" : 87, "math" : 98, "english" : 88, "science" : 95}, {"name" : "이몽룡", "korean" : 92, "math" : 98, "english" : 96, "science" : 98}, {"name" : "성춘향", "korean" : 76, "math" : 96, "english" : 94, "science" : 90}, {"name" : "변학도", "korean" : 98, "math" : 92,...
[ "noreply@github.com" ]
noreply@github.com
d5e44748a1add0550ba38eb0d3ee626128c916e3
931144ef4082c71a4bb5de9eabe529b4f30b5f22
/roles/iri/files/nbctl
00188a4de1cb50ae7396a2d447d06752c5c70672
[ "MIT" ]
permissive
svenger87/iri-playbook
ac3c67ac9ed49215a1ba7e2496097a0996abbe87
e3871c78a5b60dad8ceea1dac842fe89e4d22f62
refs/heads/master
2020-04-24T02:09:40.357588
2019-02-20T07:57:13
2019-02-20T07:57:13
122,597,876
0
0
MIT
2018-02-23T09:04:53
2018-02-23T09:04:52
null
UTF-8
Python
false
false
12,023
#!/usr/bin/env python import argparse import tempfile import logging import hashlib import socket import yaml import json import sys import re import os from shutil import copyfile from os.path import expanduser from ipaddress import ip_address from argparse import RawTextHelpFormatter try: import urllib3 except ...
[ "nurielst@hotmail.com" ]
nurielst@hotmail.com
2fc4f483c819b45342b2d698e55c11b258c510fb
a43243ad3d3827f60292336bac51b383435f8115
/src/streamlit_extras/add_vertical_space/__init__.py
8083df0e14e49b5c2e225502657ed22a784fec8c
[ "Apache-2.0" ]
permissive
arnaudmiribel/streamlit-extras
def71d79f2b134ba7d2e9d5c633e652742990d64
7c39fb1ca18b7b115cf71131e2def35aae980698
refs/heads/main
2023-08-17T06:50:11.764961
2023-08-01T15:01:17
2023-08-01T15:01:17
523,339,630
344
43
Apache-2.0
2023-09-08T13:09:08
2022-08-10T12:43:31
Python
UTF-8
Python
false
false
751
py
import streamlit as st from .. import extra @extra def add_vertical_space(num_lines: int = 1): """Add vertical space to your Streamlit app.""" for _ in range(num_lines): st.write("") def example(): add_n_lines = st.slider("Add n vertical lines below this", 1, 20, 5) add_vertical_space(add_n...
[ "arnaudmiribel@gmail.com" ]
arnaudmiribel@gmail.com
090cb39b4dfa1b99a1ce99b755421f0b5280b73a
6d60fbb6de13bfa13c2d99757f4e2aa832a3ec9a
/intern/protwo/apptwo/migrations/0001_initial.py
22cd3f90305d13d30d2fdc4efebb934615b3693b
[]
no_license
harshitamalhotra/mongo
968e33b762b19e190bbbceddbf34c68b64e08d1f
468e6800171faebf0062cd28a2b01319a9246605
refs/heads/master
2022-09-17T11:09:16.431926
2020-06-04T05:23:41
2020-06-04T05:23:41
269,266,893
0
0
null
null
null
null
UTF-8
Python
false
false
653
py
# Generated by Django 3.0.6 on 2020-06-02 16:36 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='User', fields=[ ('id', mode...
[ "noreply@github.com" ]
noreply@github.com
6ceb7d7328b1004c4101d54edf822932443dda3b
7f079dac4df411a63ef783050da03fac55e56f0d
/cu-nyc-data-pt-08-2020-u-c-master/01-Lesson-Plans/06-Python-APIs/2/Activities/04-Stu_Burundi/Unsolved/config.py
3d33d5fa75b28a166edf4a0093fdb6d3286a86cc
[]
no_license
cesar3963/Hi_Class
cdecad9156d153f4101cefb63439d046a941f5d5
79f55361a00685a56fb66ddcedf248bc06b526c5
refs/heads/master
2022-12-27T04:15:35.541612
2020-09-26T20:51:51
2020-09-26T20:51:51
286,837,867
0
0
null
null
null
null
UTF-8
Python
false
false
64
py
# Add your API key api_key = "6ca7295c1b0ae5a0701369f7cefb416e"
[ "67514872+cesar3963@users.noreply.github.com" ]
67514872+cesar3963@users.noreply.github.com
d221ce0e4a81e0f35bfe3da9fbf509a3fdd2d96f
34fd78ad654ba3910a4d0184a4e5b512a3467ff1
/src/Follow_Black_Line.py
38868fcc72237830d776a3ccce664eb883be5313
[]
no_license
Maast3r/iRobot
20236529286d99cad8ca7720ab5594efa73e0eb2
232375993640e1e56ec100b662cdf6943621f2c2
refs/heads/master
2020-12-24T14:18:29.422076
2014-11-26T02:31:16
2014-11-26T02:31:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,997
py
''' Created on Nov 1, 2013 @author: maas ''' import c0 import m1 import m2 import m3 # import Xbox_And_KeyBoard import tkinter from tkinter import ttk import time import new_create import math class Distance(): # Using this class to help change variable values def __init__(self, distance): self.entry_...
[ "maastergotmail@gmail.com" ]
maastergotmail@gmail.com
cff5c89fd936f586cab31abd4b149ad10371821d
b05d72d107794cd87116c435a0b14bd629a8f843
/catkin_ws/build/cv_bridge/catkin_generated/pkg.installspace.context.pc.py
2a47cebaf99a5722fcd96836646c61b605d3bd61
[ "MIT" ]
permissive
vipulkumbhar/AuE893_Autonomy_Science_and_Systems
e12f79659c49c1ccafeba5400d9b684f7b94adc9
f741d5299b2804fd541b2bba64b8a4fba8521f33
refs/heads/master
2023-01-31T21:29:15.100607
2020-12-04T20:20:36
2020-12-04T20:20:36
241,254,713
4
1
null
null
null
null
UTF-8
Python
false
false
1,034
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "${prefix}/include;/opt/ros/kinetic/include/opencv-3.3.1-dev;/opt/ros/kinetic/include/opencv-3.3.1-dev/opencv".split(';') if "${prefix}/include;/opt/ros/kinetic/include/opencv-3.3.1-dev;/opt/ros/kinetic...
[ "vipulk@clemson.edu" ]
vipulk@clemson.edu
53a2d5eb1ffe18898404e3dd1675daf0ba6b3d04
2f6eeff6562d88010ee0613bc10397e9b5305dbe
/data_preprocessing/db_utils.py
915b77b291da330f6c189dfe430934fe53a78185
[]
no_license
dalonsos/drugs-discovery
cba077ded0b5ea88f87a0a90094eda7c67850dfb
ac9e74ea461639b91aefa3f4b4596180b8ff848b
refs/heads/master
2022-09-11T06:02:48.308128
2020-05-25T21:20:10
2020-05-25T21:20:10
266,876,342
0
0
null
null
null
null
UTF-8
Python
false
false
722
py
import sqlite3 from sqlite3 import Error def create_connection(db_file): """ create a database connection to the SQLite database specified by the db_file :param db_file: database file :return: Connection object or None """ print("Connecting to database ...") conn = None try: ...
[ "daniel_saro@hotmail.com" ]
daniel_saro@hotmail.com
7f474e1185145866641277d124acb862236f8537
f904ff9734760ffb2dad837c8fb7b8b7d6d1f7a4
/1472A.py
877a7df9aa98fbc3e80bdae6fb578b499bbb4231
[]
no_license
durax-0xf/codeforces-accepted
230be54c71da887052e3b202f58f4e25058557a8
1e6d04e3a530d02d3d56cdaba18f141719a759a6
refs/heads/main
2023-03-31T08:21:27.007849
2021-04-08T17:29:27
2021-04-08T17:29:27
336,671,736
1
0
null
null
null
null
UTF-8
Python
false
false
273
py
t = int(input()) for i in range(t): w, h, n = map(int, input().split()) suma = 1 while(w % 2 == 0): suma = suma * 2 w = w / 2 while(h % 2 == 0): suma = suma * 2 h = h / 2 if(suma >= n): print("YES\n") else: print("NO\n")
[ "noreply@github.com" ]
noreply@github.com
6b6ac9b826f31a32a49551e976173231bb8a6eb8
af4355a253bd344f92e9dfe37e29157d69ecc451
/app/msscomp/api/api_in/session_output.py
3edafd1c109556c8c58fd7e917bdb73ff2a17c3a
[]
no_license
MinGoJing/flask_demo
feac434ce2214db01c0b08f668266e6d101b1aba
f2ba620a04b5402ae77c8debf3cf28a775c1da57
refs/heads/master
2023-03-24T00:25:22.190867
2020-12-20T11:00:50
2020-12-20T11:00:50
268,649,120
4
0
null
2021-03-25T23:50:44
2020-06-01T22:47:27
Python
UTF-8
Python
false
false
921
py
#!/usr/bin/env python # -*- encoding: utf-8 -*- ''' @File : session_output.py @Desc : provide session output parser @Version : 1.0 @Author : MinGo @Contact : mingo_jing@163.com @License : Copyright © since 2020 MinGo All Rights Reserved. @History : 1.0: 2020/07/24 05:25, MinGo 1. Create...
[ "mingo_jing@163.com" ]
mingo_jing@163.com
2625cb7197df50625f65a7b70d5afbbbaa9073de
a1bffbabf9524c90d71c254f5638ee3caedd54e1
/modulos1.py
d685948886b6e79f24dd18d97cef7abd9fa14ac6
[]
no_license
UskoKruM/modulos_python
0e646d312d5e02394e7924a452ac170144e62103
be96f7c6f94631dfdcf4af90b8aa6913f2dda82e
refs/heads/master
2023-07-11T01:31:05.810368
2021-08-18T04:32:59
2021-08-18T04:32:59
349,550,154
4
0
null
null
null
null
UTF-8
Python
false
false
168
py
canal = 'UskoKruM2010' def sumar(a, b): return a+b def restar(a, b): return a-b def multiplicar(a, b): return a*b def dividir(a, b): return a/b
[ "uskokrum2010@gmail.com" ]
uskokrum2010@gmail.com
2ab42b252bed8f05f85438e157fa80d1fb2c89fe
59435e92515bc07c60a0f555b8b46a3d667b2d36
/mtutorproject/mysite/polls/models.py
9f4c2b8845ee2d8c20942291bf30611e823ab4e7
[]
no_license
jianwatertown/practise
e90dc8b8b84160ebfb86cc44fc4034defbcb7964
04be0893f9300c197e829936ea1740b92db971ee
refs/heads/master
2016-09-15T11:12:06.379203
2016-03-02T22:28:56
2016-03-02T22:28:56
38,128,888
0
0
null
null
null
null
UTF-8
Python
false
false
889
py
from django.db import models from django.utils import timezone import datetime # Create your models here. class Question(models.Model): question_text = models.CharField(max_length=200) pub_date = models.DateTimeField('date published') def was_published_recently(self): return self.pub_date >= tim...
[ "jian.wang@redfin.com" ]
jian.wang@redfin.com
dae6953a6a2368a727165f3716b61d70f3ef3003
ecaf2c4d3360aab8492db46dce7104b3b19cfe73
/gym_minigrid/multigrid.py
d37a1ad6ce6dfd5c1a385ed6a53d2da07857e6ea
[ "Apache-2.0" ]
permissive
naziah28/gym-minigrid
a7726187709dfc1f07fd90b94232c337bac93b56
8ebcf2840da5ebf728e083ed293b92fb38b9cebc
refs/heads/master
2023-01-03T04:54:53.593145
2020-10-28T11:13:53
2020-10-28T11:13:53
263,015,879
0
0
Apache-2.0
2020-05-11T10:53:49
2020-05-11T10:53:48
null
UTF-8
Python
false
false
33,775
py
import math import gym from enum import IntEnum import numpy as np from gym import error, spaces, utils from gym.utils import seeding from .rendering import * from .window import Window import numpy as np # Size in pixels of a tile in the full-scale human view TILE_PIXELS = 32 # Map of color names to RGB values COLOR...
[ "naziah28@gmail.com" ]
naziah28@gmail.com
eaeaa64b5e302ecdacee09900f045ff3b5231b71
4f6ea3dcdbbcba3265d49042e443943c8bf27bad
/tree.py
dc69de5cda39b6bca97ab95cedd8879932b89e1a
[]
no_license
Hyliagon78/renduentretien
7cc6ca73d6649fff96e5c8b08a6f7179058be843
794b0ba7c6a9141db436ee9b89f4fb114cad5b3c
refs/heads/master
2021-01-20T18:58:44.793154
2016-08-05T14:01:29
2016-08-05T14:01:29
65,023,500
0
0
null
null
null
null
UTF-8
Python
false
false
312
py
class abr_search: def __init__(self, tree, val) self.tree = tree self.val = val def run() ptr = self.tree.root if ptr.value = val return val elif val < ptr.value return abr_search(ptr.left, val) else return abr_search(ptr.right, val)
[ "manfred.msn@free.fr" ]
manfred.msn@free.fr
a8c147db047fa4bcc792392e8c7a98ea3ea03be4
18576820ca4cfbecbfc8e8c05e9aaba0809e6138
/fizeau_control_loop.py
5ea265e3af610f8f96546e44790327fc23afc2ca
[]
no_license
mwanakijiji/lbti_fizeau_control
d12e3fcfa12725ab24c42acaaea6e83bd97e2f02
08cd6aa2ae77d028b3b5d794d6403bffe143b25d
refs/heads/master
2021-07-09T09:13:06.175214
2018-12-10T16:24:44
2018-12-10T16:24:44
139,908,276
0
0
null
null
null
null
UTF-8
Python
false
false
2,021
py
#!/usr/bin/python from lmircam_tools import * from lmircam_tools.overlap_psfs import overlap_airy_psfs, overlap_grism_psfs from lmircam_tools.dial_opd import optimize_opd_fizeau_grism, optimize_opd_fizeau_airy from lmircam_tools.change_tt import optimize_tt_fizeau_airy ############## BEGIN GROSS OVERLAP OF NON-FIZEA...
[ "spalding@email.arizona.edu" ]
spalding@email.arizona.edu
ed86d450a200b1a3716031f000c74d3c8bc7d0b5
449f410b621049c4049a4f7d4b0858f53d56a7d7
/tests/test_text.py
6551f5ce92298f3a3be022e2e9f7888b1f6651cd
[ "MIT" ]
permissive
mvwicky/holdmypics
c02f25fd05d9694ff61d5839bd039a3a1bea4b01
194b135f885ef76d55975727a4a5125a6f9d33ee
refs/heads/main
2023-05-10T19:36:20.978697
2023-05-06T21:27:29
2023-05-06T21:27:29
196,925,416
0
0
MIT
2023-03-31T15:23:01
2019-07-15T04:45:27
Python
UTF-8
Python
false
false
5,151
py
from __future__ import annotations import imghdr import io import os import time from collections.abc import Callable from typing import TYPE_CHECKING from urllib.parse import urlencode import pytest from flask.testing import FlaskClient from hypothesis import example, given, strategies as st from loguru import logge...
[ "mvanwickle@gmail.com" ]
mvanwickle@gmail.com
34a254cec9548abcbab60b1f99bd0c35a6bbda8c
cddecd541b81e6240a3931f6ed0edebd1996d6ad
/lib/typing.py
7d8c7a343e44ad27f80bfd4f9e9c6ecf9015a12f
[ "MIT" ]
permissive
ejsuncy/tesla-alfred-workflow
cca47f59dd5e7fa9983eddf16fd6effad3542d44
d68e55b9d779004470c8e45327a3445946ed468f
refs/heads/master
2020-04-21T11:10:35.661274
2019-07-31T20:53:40
2019-07-31T20:53:40
169,513,194
3
0
MIT
2019-07-31T20:53:41
2019-02-07T03:19:41
Python
UTF-8
Python
false
false
71,774
py
from __future__ import absolute_import, unicode_literals import abc from abc import abstractmethod, abstractproperty import collections import functools import re as stdlib_re # Avoid confusion with the re we export. import sys import types import copy try: import collections.abc as collections_abc except ImportE...
[ "dbunked@gmail.com" ]
dbunked@gmail.com
d7e4b141fa7d0a5cfcf1eb37dd3bc042a92389d4
966fa5fb8ad51fa429210e92dac35fea6552298d
/cs410videosearchengine/videosearchengine/migrations/0005_video_gc_uri.py
dd8a3ba813cbb0a7f9375a1396018be69175dc46
[]
no_license
FASLADODO/cs410project
90ca7e2f5edfa63805ed73fbff079f74b6e3454a
76e54cc19bcec7fe3fe74d3e899a58d2f8bb7735
refs/heads/master
2022-03-20T18:22:27.247795
2018-12-17T02:02:10
2018-12-17T02:02:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
405
py
# Generated by Django 2.1.4 on 2018-12-09 16:40 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('videosearchengine', '0004_auto_20181204_0342'), ] operations = [ migrations.AddField( model_name='video', name='gc_u...
[ "cconnon11@gmail.com" ]
cconnon11@gmail.com
2da1eeeb4bd870c2f215eed4e889a6f023252005
421edcb49aa242891bcf26c96dd55a298b97f1a1
/venv/bin/alembic
cd88e75f65426a0935e923078c83d31f4350c22e
[]
no_license
wendy006/Blog_Flask
81b8cdd3d29d37e3043375e4757755698195b1f9
731565a0ea9c1b90eb01df128bb487b74bca5a05
refs/heads/master
2022-01-12T16:01:26.386064
2019-03-23T14:54:57
2019-03-23T14:54:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
250
#!/Users/tanny/Desktop/Flask_Python/venv/bin/python # -*- coding: utf-8 -*- import re import sys from alembic.config import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "tanorigin@gmail.com" ]
tanorigin@gmail.com
faf746738540093dc50b7121722259f366ad60ef
608f0dc5a2a9dd2018fea24643ca1e55f663e37d
/alumini/migrations/0001_initial.py
e055fedd092347df8b852bf4cc3c49bf20538022
[]
no_license
Martinagracy28/Alumniportal
99ef567a37d1cd9c03a42a72bc9d5983c5114811
4c5de9b596027459e88fb92fe433c3df8e57a0a2
refs/heads/master
2022-07-15T11:43:21.831876
2020-05-12T05:47:09
2020-05-12T05:47:09
261,420,602
0
0
null
null
null
null
UTF-8
Python
false
false
1,924
py
# Generated by Django 3.0.5 on 2020-04-29 05:21 from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Alumini',...
[ "martinagracy28@gmail.com" ]
martinagracy28@gmail.com
65b3c85e1b576786400888013c56c15748a50466
03a87f35e57ad9b45011d153486d8cc03e78ca53
/Autohotkey-python-project/fonctionClic.py
48d47c57150ddac47e7e54f8fc62da834212fbf2
[]
no_license
PierreGoe/FirstPythonProjects
d0216e0c5457b98aea1cedfeb5b7b2cdbf2d987b
36b6fa10da752e6db5e949916f0a2b0905e0b207
refs/heads/main
2023-08-30T14:20:48.736298
2021-11-15T19:09:09
2021-11-15T19:09:09
428,387,989
1
0
null
null
null
null
UTF-8
Python
false
false
1,595
py
import pynput from pynput.keyboard import Key, KeyCode, Listener from pynput.keyboard import Key, Controller as KeyboardController from pynput.mouse import Button, Controller as MouseController import time # Variable indispensable pour modul Keyborad controller keyboard = KeyboardController() mouse = MouseController...
[ "57042206+PierreGoe@users.noreply.github.com" ]
57042206+PierreGoe@users.noreply.github.com
400c20425237b68c8bf91f689766e53ffd43468e
7e4322276e367ce39c41a78fadbe89a100805c88
/streamwebs_frontend/streamwebs/migrations/0016_ripaquaticsurvey_site.py
561a7a9ddfaa1d6b01d0e3831123e70d7b84b4e8
[]
no_license
osuosl/streamwebs
eb1ea68fc7db69ab88eaf2f56b0b88538a28ebd3
b530b6fde8f354ec67281b897c10d95f7fe1752e
refs/heads/develop
2023-01-08T22:24:33.900113
2022-09-09T23:11:09
2022-09-09T23:11:09
46,070,727
5
2
null
2022-09-10T00:06:44
2015-11-12T18:01:39
Python
UTF-8
Python
false
false
576
py
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2017-09-15 15:20 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('streamwebs', '0015_auto_20170915_1429'), ] operation...
[ "baileysingleton@github.com" ]
baileysingleton@github.com
0e529e884f05b337cd282d3977342a4aee9e70b4
5f73a8162b8c22f8f65c2c1a98b5a61502fb0ed3
/viskit/frontend.py
4a3a355fec35cebee5d079cd865cd968af6996c8
[]
no_license
brandontrabucco/viskit
b6d18ba2d8f32779b0bb98fa550a80c6d6463ec2
a546e51e13bd1cf0eb9fa5284f1c596b88eded50
refs/heads/master
2020-04-29T21:40:45.270104
2019-03-19T04:03:44
2019-03-19T04:03:44
176,420,386
0
0
null
2019-03-19T04:01:00
2019-03-19T04:01:00
null
UTF-8
Python
false
false
30,527
py
import sys from viskit.core import AttrDict sys.path.append('.') import matplotlib import os matplotlib.use('Agg') import flask # import Flask, render_template, send_from_directory from viskit import core import sys import argparse import json import numpy as np from plotly import tools import plotly.offline as po ...
[ "vitchyr@gmail.com" ]
vitchyr@gmail.com
96235581b405cc06d689e6550080064c2f006214
e5eb1028d288b6415aede8d8d76d1ec2fcb94ecc
/n_to_m.py
ba9a8ce07929862db0a083cbb065aa2e0e7c2f7f
[]
no_license
xmd404/python-105-exercises
970c65eab304d1f4f7d1297e34b58606bfecf860
ba87f18bd770ecab84cbde2497e7ea85b2c4b017
refs/heads/master
2020-03-21T16:44:15.679355
2018-06-26T22:07:04
2018-06-26T22:07:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
238
py
start = int(raw_input("Starting #: ")) end = int(raw_input("Ending #: ")) for i in range(start, (end + 1)): if start < end: print i else: print "Starting number cannot be greater than ending number!" break
[ "noreply@github.com" ]
noreply@github.com
709edbefe665668855f66f063cee66d2d8362693
c1950d6c352298df099a2d6a1d04846c630d4233
/UVA11264CoinCollector.py
baeea0365c762de73e3d294d4e8ff0e824259f6c
[]
no_license
IanPaixao/Laboratorio-Projeto-Algoritmo
31bb24c1ce380dda9e9b1e74ff3634ff8588ced8
3842b8bccd534ded86f4342260cf7e9ef468253e
refs/heads/master
2020-04-21T09:45:16.149559
2019-06-12T21:36:40
2019-06-12T21:36:40
169,461,578
0
0
null
null
null
null
UTF-8
Python
false
false
346
py
""" Greedy algorithm to solve coin collector """ n = int(input()) for i in range (n): Sum = 0 input() coins = [int(coin) for coin in input().split()] ans = 0 for coin in coins: if(coins.index(coin) == (len(coins)-1)) or Sum + coin < coins[coins.index(coin)+1]: Sum += coin a...
[ "noreply@github.com" ]
noreply@github.com
8000d49d0b851aa4516fccb1ab153572422bd905
8b4bc065300170173717cbe4b34aa51c27bd7db7
/django-env/bin/sqlformat
fd866dffd06e468fa20af6e09a20094deec360ff
[]
no_license
shrimp509/Kdan-Hackathon
a0088002f340ebb50158533b7ff70c33b5f2bc49
f10e945b3888772c4fe33043c6c5dfdbcab76292
refs/heads/master
2022-12-03T01:47:44.931220
2020-08-22T08:57:45
2020-08-22T08:57:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
268
#!/Users/samho/PythonProject/kdan_book_storm/django-env/bin/python3 # -*- coding: utf-8 -*- import re import sys from sqlparse.__main__ import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "sam.ho@kdanmobile.com" ]
sam.ho@kdanmobile.com
1694499f38c5a7460bdbbd2db70b473fc4b3672a
8afb5afd38548c631f6f9536846039ef6cb297b9
/MY_REPOS/Lambda-Resource-Static-Assets/2-resources/BLOG/Data-Structures/1-Python/sort/bubble_sort.py
eab30b253fea793d1b3452317c7e81488330911d
[ "MIT" ]
permissive
bgoonz/UsefulResourceRepo2.0
d87588ffd668bb498f7787b896cc7b20d83ce0ad
2cb4b45dd14a230aa0e800042e893f8dfb23beda
refs/heads/master
2023-03-17T01:22:05.254751
2022-08-11T03:18:22
2022-08-11T03:18:22
382,628,698
10
12
MIT
2022-10-10T14:13:54
2021-07-03T13:58:52
null
UTF-8
Python
false
false
770
py
""" https://en.wikipedia.org/wiki/Bubble_sort Worst-case performance: O(N^2) If you call bubble_sort(arr,True), you can see the process of the sort Default is simulation = False """ def bubble_sort(arr, simulation=False): def swap(i, j): arr[i], arr[j] = arr[j], arr[i] n = len(arr) swapped = ...
[ "bryan.guner@gmail.com" ]
bryan.guner@gmail.com
b1d1da5c92bd4ca78a95a8e85e448fcc8cd9aaf6
22131427625828a1fdc67c72e9e0189c09bd5d98
/ex9.py
5e09a733b95ad30666a073626f14695a9f25a2eb
[]
no_license
cmundt88/PythonLearning
aa5a4c15ad088bebcba28058e64e285e0e156fd9
7c33faf73d951b11fde953fbddd658221baaa89b
refs/heads/master
2021-01-21T12:35:49.549343
2015-08-05T16:40:02
2015-08-05T16:40:02
39,265,996
0
0
null
null
null
null
UTF-8
Python
false
false
422
py
# Here's some new strange stuff, remember type it exactly. days = "Mon Tue Wed Thu Fri Sat Sun" months = "Jan\nFeb\nMar\nApr\nMay\nJun\nJul\nAug" print "Here are the days: ", days print "Here are the months: ", months print """ There's something going on here. With the three double-quotes. We'll be able to type as m...
[ "chris.mundt@gmail.com" ]
chris.mundt@gmail.com
49c9350d4ff10307ccb1042a24652e6a2b544470
d6ad504ed2bd7288fc12ba70151301e867d9e2cc
/virtualenv/TravelWithFriends/Lib/site-packages/psycopg2/tests/test_quote.py
1b35daeda5ec5d418989381d99266e90e39d5f16
[]
no_license
ajorve/pdxcodeguild
571f4440d78d250b2e9457d7331b1401fa81d5b2
91265b69ac0c61485757659508392bd2231e9eb1
refs/heads/master
2022-11-02T11:21:14.736382
2017-03-29T23:00:08
2017-03-29T23:00:08
79,478,400
0
1
null
2022-10-11T01:57:54
2017-01-19T17:42:12
Jupyter Notebook
UTF-8
Python
false
false
8,553
py
#!/usr/bin/env python # test_quote.py - unit test for strings quoting # # Copyright (C) 2007-2011 Daniele Varrazzo <daniele.varrazzo@gmail.com> # # psycopg2 is free software: you can redistribute it and/or modify it # under the terms of the GNU Lesser General Public License as published # by the Free Software...
[ "anders@codeinfusion.com" ]
anders@codeinfusion.com
7e6192a15decbaf3226352636cf0ba169df38d89
f3e5a8157167f952490c510f39bf25c612eb5a53
/dhjlrepo/wordCloud/jobw.py
fde2627eabe1becd5c3b6225c7b0752e712de2b1
[]
no_license
dhjl1807/dhjlrepo
5fcbeb08ba63089bf1d5308577a36de104e4d8a4
e3599f80b8d2b00553a46ec94ec4b0d2ccc7b413
refs/heads/master
2022-12-16T03:36:43.484259
2019-05-28T12:11:22
2019-05-28T12:11:22
188,370,619
0
1
null
2022-12-08T05:34:14
2019-05-24T07:05:17
HTML
UTF-8
Python
false
false
2,284
py
# -*- coding: utf-8 -*- from os import path import matplotlib.pyplot as plt import pymysql from wordcloud import WordCloud import numpy as np from PIL import Image import jieba class sqlHelper(object): def __init__(self, host, user, password, database): # 打开数据库连接 self.db = pymysql.connect(host, us...
[ "45684207+BlueSky-26@users.noreply.github.com" ]
45684207+BlueSky-26@users.noreply.github.com
9696ef11bc4fc57ad2c5358083c52b57eba4a87c
3e7a8c5630de986a4d02011b1bd368c041f3f477
/pytorch/pytorch实现多层感知机对手写数字分类.py
9bc6523f288118ada524b6e1da6d7b78f30ab5bd
[]
no_license
gswyhq/hello-world
b9ef715f80d2b39c8efaa1aa2eb18a6257e26218
b1ab053a05e1f8c63b8b04d6904a3cdca450bd9f
refs/heads/master
2023-05-26T13:15:36.788620
2023-05-19T13:38:50
2023-05-19T13:38:50
158,821,148
16
6
null
2021-03-19T02:59:48
2018-11-23T11:04:43
Python
UTF-8
Python
false
false
4,428
py
#!/usr/bin/env python # coding: utf-8 # # 3.10 多层感知机的简洁实现 # In[ ]: import torch from torch import nn from torch.nn import init import numpy as np import sys import torchvision print(torch.__version__) # ## 3.10.1 定义模型 # In[11]: num_inputs, num_outputs, num_hiddens = 784, 10, 256 class FlattenLayer(torch.nn.M...
[ "gswyhq@126.com" ]
gswyhq@126.com
9215a798cd84391fcca343d5e5778e9710d9f969
8c0ad206dce797d119a40d373c644dff0cadb2c8
/MenuSystem/MenuSystem.py
2de54e0f4ea77f4d984e75ce152502165d5480db
[]
no_license
zhangweichen2006/MICA
56a82832c9b75a4a3b040bb53013fae7a0d4816a
bd6a730a50c05770f80229c29855af0beae9152e
refs/heads/master
2021-01-01T04:29:37.262409
2018-01-30T10:08:31
2018-01-30T10:08:31
58,037,260
2
1
null
2016-05-22T05:26:50
2016-05-04T08:50:59
Python
UTF-8
Python
false
false
17,812
py
# -*- coding: utf-8 -*- from pygame import * from pygame import gfxdraw font.init() from os.path import dirname,join FGCOLOR = Color(0x161212f0) FGHIGHTLIGHT = Color(0x161212f0) BGCOLOR = Color(0xf2f1ebf0) BGHIGHTLIGHT = Color(0x804a50a0) BORDER_HL = Color(0x804a50ff) FGLOWLIGHT = Color(0xbfb9b4a0) BOR...
[ "weichenzhang@vlan-2619-10-16-82-137.student.wireless.sydney.edu.au" ]
weichenzhang@vlan-2619-10-16-82-137.student.wireless.sydney.edu.au
738b8cf3f59c9df7da1c0c7c55adfefafc2b9a16
9ba61317b33c4015ccfedd80a08532e6698c5b7f
/mnist_data/mnist_app.py
59c99360f921f9ad12f26afc3ca2d477430a7abd
[]
no_license
csliuchang/tensorflow_project
68ff7cdda3805747529de8e57bdcb94e8abaf4f2
0ff718d814ee2e181a35dd968e596421e6986616
refs/heads/master
2020-06-25T23:57:36.669965
2019-08-02T11:28:10
2019-08-02T11:28:10
199,460,996
0
0
null
null
null
null
UTF-8
Python
false
false
3,147
py
# coding utf-8 import tensorflow as tf import numpy as np from PIL import Image import mnist_backward import mnist_forward # from .mnist_backward import MODEL_SAVE_PATH def restore_model(testPicArr): """ " 创建一个默认图,在改图中执行以下操作" args: MOVING_AVERAGE_DECAY: 用于控制模型更新的速度,训练过程中会对每一个变量维护一个影子变量,这个影子变量的初始...
[ "598306303@qq.com" ]
598306303@qq.com
d40cbd78c22105244ca33f02a4478fe8bbf16590
a8720518ad514ed4ce893afc43576b6d44ad80b1
/homepage/core/admin.py
42e968b08de540fbcf2531c8f353b64cdaf5e2c2
[]
no_license
AlecAivazis/homepage-old
39d7b08219a1aa1341af8a1ce8ae17dab136ea7d
c48abea73d7118455ac207058cdf0f9d00352877
refs/heads/master
2023-03-12T14:13:44.321900
2015-10-28T23:44:43
2015-10-28T23:44:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
357
py
# -*- Python -*- # -*- coding: utf-8 -*- # # alec aivazis # # this file describes the base administration for homepage # homepage imports from .models import Project, ProjectScreenshot # import the django admin from django.contrib import admin # register the base models admin.site.register(Project) admin.site.regist...
[ "alec@aivazis.com" ]
alec@aivazis.com
74eda2f244ad6ca047d120d29e3ae212cd56b36a
4d080114481278ecd3baf4aef17f9dccba7b2a41
/tests/test_try_struc.py
805253ff2cf2a8bee4bd5fc287053460cfb52a24
[ "MIT" ]
permissive
xoeye/typecats
777cc0c814903fbb96b54c26ea55308b16362c0f
7f1f58c182e49f5e38ee0cd2d75bf3751073a14f
refs/heads/main
2022-12-05T16:37:42.192855
2022-11-21T13:51:04
2022-11-21T13:51:04
202,187,857
17
3
MIT
2022-11-21T13:51:05
2019-08-13T16:55:03
Python
UTF-8
Python
false
false
366
py
from typecats import Cat, try_struc def test_with_no_default(): @Cat class Thing(dict): name: str assert try_struc(Thing, None) is None assert Thing.try_struc(None) is None def test_with_default(): @Cat class Thing(dict): name: str = "" assert try_struc(Thing, None) is ...
[ "xavbergeron@gmail.com" ]
xavbergeron@gmail.com
7dbbc8c8312fb74686baedc5c5678628c55fa627
3a55b0d34af0bf6004f983083b3f9ad89c370289
/Design_Scripts/makeStimulusList1.py
b3a482abd1b175ca1a190f0bb0a5ff69affdcc52
[]
no_license
eng543/probabilistic-reduction-production
64dc8eddef7379f28b1a0e676cf442efbb0623a2
fc73154e00f8e23842dae4c4ea7d41efbbd2cf94
refs/heads/master
2021-01-10T12:35:48.403175
2017-04-05T21:08:50
2017-04-05T21:08:50
50,067,221
0
0
null
null
null
null
UTF-8
Python
false
false
19,811
py
# Step 1 # Script for creating intial pseudo-randomized list of stimuli (without practice trials) # Creates reference sheet to use for making other counterbalanced lists import random import csv with open("pairs1.txt", "U") as f: pairs = f.readlines() pairs = [line.rstrip("\n") for line in pairs] # Second half ...
[ "eng543@gmail.com" ]
eng543@gmail.com
9200f3457db1b656ae850b877cfc3dc494f16a4b
053b4cde6f13068b231467b185a9bfb1209a6c6d
/model.py
35fb240f061935140374991366633321e8e87c3b
[]
no_license
nameless-Chatoyant/SfM-Learner_pytorch
16c349f5202557eb0298cc03037c28b8d066abaf
9628abca9c0fb305261566f96fbf4c9415bd90e9
refs/heads/master
2021-04-15T03:54:47.141359
2018-03-26T14:46:16
2018-03-26T14:46:16
126,843,773
1
0
null
null
null
null
UTF-8
Python
false
false
438
py
import torch.nn as nn from modules import DispNet, PoseExpNet class Net(nn.Module): def __init__(self): super(Net, self).__init__() self.disp_net = DispNet() self.pose_exp_net = PoseExpNet() def init_weights(self): self.disp_net.init_weights() self.pose_exp_net.i...
[ "me@nameless.studio" ]
me@nameless.studio
10fd3151bae438dfb2d40395abb76b9a5b2645a9
b8273a69fd1f12ea9f2a43205e1af2218d6c57db
/xueqiu_mood/xueqiu_comment.py
98a5c0244d4ef937a4cf33970e2cd4e63d219c9e
[]
no_license
PsYear/CodeLearning
42be8c62c4a78a85f0f7cf1feaad29b272932787
e6626496d82a1d31d927fa666a0a8b662530d067
refs/heads/master
2020-04-11T23:29:25.704391
2018-06-01T08:55:55
2018-06-01T08:55:55
69,359,898
2
0
null
null
null
null
UTF-8
Python
false
false
3,948
py
#coding:utf-8 import requests import bs4 from bs4 import BeautifulSoup import requests import json import bs4 import codecs import time import tushare as ts def comment(socks,page): headers1 = { "User-Agent":"Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.116 Safari/537....
[ "sunzewen_brief@163.com" ]
sunzewen_brief@163.com
9cf0d899567ad954c7b2575f2025e92701183246
4c94d8dc9b2ffac0cc9917b720df92861a48bc53
/Server/Vision.py
ac3151861be8e05b475b028bc11a3133d56cecee
[]
no_license
abeakkas/Augmented-Checkers
22553f969cafb99234f02a8f40328f381bb5aaa1
5b70725c089e23cc18b55d03c6041ad3fe5ab83d
refs/heads/master
2020-03-29T18:22:53.768859
2018-09-25T05:03:28
2018-09-25T05:03:28
150,208,966
2
0
null
null
null
null
UTF-8
Python
false
false
3,903
py
import math import cv2 import numpy as np from PIL import Image, ImageFilter SAT_MIN, SAT_MAX = 30, 256 HUE_MIN, HUE_MAX = 230, 10 VAL_MIN, VAL_MAX = 20, 256 def get_corners(orig_img): filter_ = ImageFilter.GaussianBlur(radius=3) blurred_image = orig_img.filter(filter_) img = blurred_image.convert("HSV...
[ "akkas@mit.edu" ]
akkas@mit.edu
1c65d2f8b68e1df88765b82bf73aa337b70d5bf6
f576f0ea3725d54bd2551883901b25b863fe6688
/sdk/networkcloud/azure-mgmt-networkcloud/generated_samples/agent_pools_create.py
e4702cfc48a1642bf33c4566afcd5f9eb16bf7eb
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
Azure/azure-sdk-for-python
02e3838e53a33d8ba27e9bcc22bd84e790e4ca7c
c2ca191e736bb06bfbbbc9493e8325763ba990bb
refs/heads/main
2023-09-06T09:30:13.135012
2023-09-06T01:08:06
2023-09-06T01:08:06
4,127,088
4,046
2,755
MIT
2023-09-14T21:48:49
2012-04-24T16:46:12
Python
UTF-8
Python
false
false
4,299
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
noreply@github.com
e87fd0af770bdebc927b353eaa39dd78d958400f
d75f2550f0493a153e144759c8c6c378a4c436b2
/base_kivy_app/graphics.py
e766af9a31226890faa523de76926c8702df8b2d
[ "MIT" ]
permissive
healthonrails/base_kivy_app
c946fab1e130cd4b40eadc45116a2c4eabf460cf
47ade9665c79850909d4f2b6bae3acebaa1a0a3c
refs/heads/master
2020-12-10T18:55:36.819462
2020-01-03T23:36:46
2020-01-03T23:36:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
35,652
py
'''Graphics ============ ''' from os.path import join, dirname import math from time import perf_counter from functools import partial from inspect import isclass from math import pow, fabs from kivy.lang import Builder from kivy.clock import Clock from kivy.properties import ( NumericProperty, ReferenceListProper...
[ "moiein2000@gmail.com" ]
moiein2000@gmail.com
14585ad372296f3638ee4b2e4fdaa3cfc944f550
28de651ccde30bf93a815e5f5968cd6b4a9a1032
/test2.py
c07fefa9a6421aaa0dffaad60c2a8e0e33f5c881
[ "Apache-2.0" ]
permissive
mhowsmon/pyneta
c5c2e42c476724bd959030d6d32acf228b3419ae
4206bb3849dd677afdb87d2d8d18c349becbb1d6
refs/heads/master
2022-05-21T01:36:37.068483
2020-04-30T21:12:20
2020-04-30T21:12:20
260,292,765
0
0
Apache-2.0
2020-04-30T21:07:05
2020-04-30T18:51:14
Python
UTF-8
Python
false
false
135
py
#!/usr/bin/env python from __future__ import print_function, unicode_literals for x in range(10): print(x) print("some change")
[ "mhowsmon@yahoo.com" ]
mhowsmon@yahoo.com
b683a8b084d250943a04f7b80d5cb9fa65abfa8c
ee974d693ca4c4156121f8cb385328b52eaac07c
/env/lib/python3.6/site-packages/imgaug/augmenters/contrast.py
73170bb37c584e7b4de84c07db04386b23c4f881
[]
no_license
ngonhi/Attendance_Check_System_with_Face_Recognition
f4531cc4dee565d0e45c02217f73f3eda412b414
92ff88cbc0c740ad48e149033efd38137c9be88d
refs/heads/main
2023-03-12T07:03:25.302649
2021-02-26T15:37:33
2021-02-26T15:37:33
341,493,686
1
0
null
null
null
null
UTF-8
Python
false
false
130
py
version https://git-lfs.github.com/spec/v1 oid sha256:6724a23ca8693f52610258fd36edf644480787d709d4351080b5513adc338d47 size 57678
[ "Nqk180998!" ]
Nqk180998!
2eab281a1db78a8b6420122afd404fe0b0a12c37
568fa58296378fa129ab3349adf010daa44ed45b
/third_party/incubator-tvm/python/tvm/contrib/miopen.py
e062ac1e735ecdca9a09778d0aaef388d7a78837
[ "Zlib", "MIT", "LicenseRef-scancode-unknown-license-reference", "Apache-2.0", "BSD-2-Clause", "BSD-3-Clause", "NCSA", "X11-distribute-modifications-variant", "Unlicense", "LLVM-exception" ]
permissive
mindspore-ai/akg
37f471badc66de6a831f1f45ad84344f34d23ef2
99f33858d6972741748cbfc9ab0bf9600428fef7
refs/heads/master
2023-07-25T23:03:17.672665
2023-07-11T07:33:57
2023-07-11T07:33:57
274,077,856
319
36
Apache-2.0
2021-12-30T13:43:08
2020-06-22T08:09:05
Python
UTF-8
Python
false
false
3,805
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...
[ "1027252281@qq.com" ]
1027252281@qq.com
7419612351bcea0099d46d9f47c0deacc9d3f846
e8a4c963356dd8bd3e161e66559cb954a978d7f4
/youtube_vid.py
6c005b5a7c384f9b3d2663c7f7a84aed7e1f58db
[]
no_license
Haraprosad/ocs_class
6f3c6a155efa902e443f78a64a6c326d64f2c45a
e80aba9bc339ca98ad5df953ceb1c0c6b0cf67f0
refs/heads/master
2022-12-24T06:10:59.850176
2020-10-02T11:41:53
2020-10-02T11:41:53
300,596,435
0
0
null
null
null
null
UTF-8
Python
false
false
483
py
import pyautogui,time pyautogui.press("winleft") time.sleep(1) pyautogui.typewrite("chrome",0.5) pyautogui.press("enter") time.sleep(4) pyautogui.typewrite("www.youtube.com\n") time.sleep(14) pyautogui.moveTo(698,162,0.5) time.sleep(3) pyautogui.click() time.sleep(3) pyautogui.typewrite("sotyi bolchi tomake r valobash...
[ "haraprosadbiswas123@gmail.com" ]
haraprosadbiswas123@gmail.com
93b454caebabdce1dc2b3f96faf9c68967dee4f5
0cc681835c752c5c99610922d9952aa8fdbf71a9
/grackle/trainer/premise.py
4c83ab6f23fa67e970d04af309fa2a13537231ae
[]
no_license
ai4reason/atpy
cc2d4532d6348d7618d2c5168aa63bfe0db9e916
f16dd7b7c13fdffe1767158555e07847175052ca
refs/heads/master
2021-04-29T21:33:11.972336
2019-05-17T10:46:01
2019-05-17T10:46:01
121,618,495
0
2
null
2019-04-24T19:30:01
2018-02-15T10:51:29
Python
UTF-8
Python
false
false
2,606
py
from os import path, system from .trainer import Trainer from atpy import paramils SCENARIO = """ algo = grackle-wrapper.py %s execdir = . deterministic = 1 run_obj = runlength overall_obj = mean cutoff_time = 60 cutoff_length = max tunerTimeout = 360000 paramfile = params.txt outdir = paramils-out instance_file = i...
[ "jakubuv@gmail.com" ]
jakubuv@gmail.com
42474912f01dd5a4096659724f81bc1679588c38
f175720ff98ea20c178268fff330733ae4a7d93b
/p15_time_efficiency/a3_FindGreatestSumOfSubArray.py
96b03bd4321bace572c2b7b6c02d2fcf08f6dc84
[]
no_license
atm1992/nowcoder_offer_in_Python27
ef8d044494089d3cf5e881d86a632eee48c824d9
6ee455019ae2d9adeea9fc3876f5da4297320715
refs/heads/master
2021-09-08T14:42:07.844999
2021-09-04T03:56:18
2021-09-04T04:10:03
211,089,235
0
0
null
null
null
null
UTF-8
Python
false
false
1,249
py
# -*- coding: UTF-8 -*- """ 连续子数组的最大和。 HZ偶尔会拿些专业问题来忽悠那些非计算机专业的同学。今天测试组开完会后,他又发话了:在古老的一维模式识别中,常常需要计算连续子向量的最大和, 当向量全为正数的时候,问题很好解决。但是,如果向量中包含负数,是否应该包含某个负数,并期望旁边的正数会弥补它呢?例如:{6,-3,-2,7,-15,1,2,2}, 连续子向量的最大和为8(从第0个开始,到第3个为止)。给一个数组,返回它的最大连续子序列的和,你会不会被他忽悠住?(子向量的长度至少是1) 解题思路:使用两个变量,一个用于记录当前的累加和,另一个记录历史的最大和。若当前的累加和小于等于0,则可直接抛弃前...
[ "atm1992@126.com" ]
atm1992@126.com
4c6917bd36c5cbd63b612cd26d1b738c12813054
d449ca90f9ac706a0684c61b97a08b2da1234a53
/projects/views.py
7ec85fe4a5332ea7b07319d5606e9c33201bdbae
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Muia23/Tunzoo
e72d2454cffcb7e64842e7914d8faa67589f75b7
1c4aafc8e5e1033c76e2a707e2923d1da1a19fab
refs/heads/master
2022-12-05T15:37:59.271946
2020-08-19T20:35:12
2020-08-19T20:35:12
287,702,576
0
0
null
null
null
null
UTF-8
Python
false
false
3,684
py
from django.contrib.auth.decorators import login_required from django.shortcuts import render, redirect from django.http import HttpResponse, HttpResponseRedirect from .models import Post, Kura, Comment, Profile from .forms import PigaKura, PostForm, CommentForm # Home page. def home(request): current_user = reque...
[ "wilfred.muema@gmail.com" ]
wilfred.muema@gmail.com
6e9534944b13297621f239d82d35017df8ca7f00
b4b7983e86077bc41ed9fb2c373188e9fe102b30
/HW_code/3.9/ms.py
c05275660c5c72b031ffb938034bf723dcd6aadb
[]
no_license
luiscaro1/AI-HOMEWORK-2
46dbbf4fb14a66572eb0ebb2855fbacc88da3a46
c134034094ec05ff8d9d4f68c20f4ec8bedf0c87
refs/heads/main
2023-03-26T09:21:36.309211
2021-03-26T23:02:22
2021-03-26T23:02:22
351,931,165
0
0
null
null
null
null
UTF-8
Python
false
false
1,741
py
from problem import Problem from node import Node from state import State class MissionariesAndCannibals(Problem): """Missionaries and Cannibals problem class""" def __init__(self): """The constructor specifies the initial state, and goal state.""" initial_state = State((3, 3, 1)) goa...
[ "luis.caro1@upr.edu" ]
luis.caro1@upr.edu
b92c719c838c44f7a9aab607d59e87dbb6da351d
e97060ebb056b8c037e9cf95be08158ecab321bc
/ibmsecurity/isds/interfaces.py
f6af6a062b6ec84043d1ca491d2a39cc3363fcb0
[ "Apache-2.0" ]
permissive
sandermey/ibmsecurity
74ed8378e9ddb9f778b76d227e90cfb747511c1e
92ba7828260e96a6a323f4ac3830bfa43ee8dd7e
refs/heads/master
2020-04-09T22:49:06.302901
2018-03-07T05:04:37
2018-03-07T05:04:37
124,246,868
0
0
Apache-2.0
2018-03-07T14:21:29
2018-03-07T14:21:28
null
UTF-8
Python
false
false
1,052
py
import logging import ibmsecurity.utilities.tools logger = logging.getLogger(__name__) def get_all(isdsAppliance, check_mode=False, force=False): """ Retrieving all interfaces :rtype: (str, dict) """ return isdsAppliance.invoke_get("Retrieving all interfaces", "/widgets/mgmtinterface") def get_a...
[ "rsreera@us.ibm.com" ]
rsreera@us.ibm.com
50cad0e0dab9ad79e48f8aede55e7827b8c72aef
d4bbb0aa4b9a7e2cef9b6b54cddf756af7c3d738
/mixedBase.py
767228519f03baa690dafe8a9fc848b0c0a78125
[]
no_license
amgaryge/MyPython
ccaef72c106d0f0965c53bb886859c92e6c54284
9b233075e3bd065bc633f9fb719adfc447253c19
refs/heads/master
2020-03-26T21:42:44.524327
2018-08-18T05:07:56
2018-08-18T05:07:56
145,404,933
0
0
null
null
null
null
UTF-8
Python
false
false
983
py
from base64 import * import itertools s=open('mixedBase.txt','r').read() result={ '16':lambda x:b16decode(x), '32':lambda x:b32decode(x), '64':lambda x:b64decode(x) } for i_1 in ['16','32','64']: for i_2 in ['16','32','64']: for i_3 in ['16','32','64']: for i_4 in ['16','32','64'...
[ "mygaryge@users.noreply.github.com" ]
mygaryge@users.noreply.github.com
9d686a9560581189eaa2550da520a49e76693b4d
d2d30184c194001b5f0bb90da66c034c81461740
/src/jogovelha.py
70667a5cc5c8e827279200e182e2bc542d24d5d6
[]
no_license
AndersonTaborga/devops-aula07
058d0f59823762a03151794d3a93867dc1065724
2cbdeea615601130338e4f3090d3445f066ec1b7
refs/heads/master
2020-03-29T17:47:47.429038
2018-09-25T01:47:36
2018-09-25T01:47:36
150,180,251
0
0
null
2018-09-25T01:47:37
2018-09-24T23:18:01
Python
UTF-8
Python
false
false
570
py
TAB = [] def inicializar() : TAB.append(['X','X','O']) TAB.append(['O','O','X']) TAB.append(['O','O','X']) def jogar(jogador, linha, coluna): if jogador !='X' and jogador != 'O': raise RuntimeError('Jogador inválido!') valores = list(range(0,3)) if linha not in valores: raise RuntimeError('Linha inv...
[ "noreply@github.com" ]
noreply@github.com
931c4b664aa9e8de3ba322f0ae8cc0ad5286926f
b8c57c585b97e6353f409bde91159d206296b43a
/mysite/settings.py
12d155c76dad4b0871a4649d9e1aee5a807ea786
[]
no_license
ChangeWithCode/mysite
af13c2c2a28500c601f88598b1c08a464c5c9b3f
fc6ad347322821b30ba40f2125d59dfaef2cab6f
refs/heads/master
2023-08-17T00:48:00.555333
2021-09-22T14:44:42
2021-09-22T14:44:42
409,240,875
0
0
null
null
null
null
UTF-8
Python
false
false
3,845
py
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 3.2.7. For more information on this file, see https://docs.djangoproject.com/en/3.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.2/ref/settings/ """ import os from...
[ "innocentqasim791@gmail.com" ]
innocentqasim791@gmail.com
b20b822f7ac3425278a937d01df199ca7ad558f2
c217ef70b03a1f3ede895e796c1f95436ff9863a
/Oppg/chap_A/growth1_index_ip1.py
29224e7a888757e950bb4d849427b31b6d07a936
[]
no_license
petitefille/Python
fd2ee8bea79f8781930e4e2f30e63aa9eed76645
eb413985fb5d7b9e0fc77dba5f9e7299deee65d5
refs/heads/master
2020-12-19T08:40:18.802176
2020-04-25T09:46:59
2020-04-25T09:46:59
235,683,961
0
0
null
null
null
null
UTF-8
Python
false
false
2,160
py
from scitools.std import * x0 = 100 # initial amount p = 5 # interest rate N = 10 # number of years index_set = range(N+1) x = zeros(len(index_set), float) # solution: x[0] = x0 for i in index_set[:-1]: x[i+1] = x[i] + (p/100.0)*x[i] print x plot(index...
[ "emilyd@jordin.ifi.uio.no" ]
emilyd@jordin.ifi.uio.no
4faa4aa0b1c26edf2760bc10388f36959bfbd2a9
27860d5822084470d4a2e0f7e535175a20faf900
/src/clup/asgi.py
4e75e3c95e5f7dd4079708755325ae3d5e038dd4
[]
no_license
ethansam911/project-csci-clup
97105d786355772908d5224c053954b4e3040d06
a033a95892db8340ce8300723639e87fdbf7b4fe
refs/heads/master
2023-01-12T05:37:35.515518
2020-11-04T05:24:45
2020-11-04T05:24:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
401
py
""" ASGI config for clup 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.1/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJ...
[ "esam5556@gmail.com" ]
esam5556@gmail.com
32041e88e6b8f77021959adb4f9c2026f3f7e91d
7a56d644fd3817c198ce569a7a1868704ce8eeef
/exam/beautyUnion/test2.py
3b6157bb3001b6d24b49eab36f39834bea1c32c5
[]
no_license
wanxu2019/PythonPractice
c413c88ff7f29f21403f63218a255444b2108b17
c9961740f8cd0a61e1dbd8379f8ee6a7da5c1387
refs/heads/master
2020-03-17T00:04:58.615252
2019-02-21T12:16:04
2019-02-21T12:16:04
133,102,951
1
0
null
null
null
null
UTF-8
Python
false
false
1,133
py
# -*- coding: utf-8 -*- # @Time : 2018/9/27 19:38 # @Author : Json Wan # @Description : # @File : test2.py # @Place : dormitory ''' s="catsanddog" dict="cat","cats","and","sand","dog" ''' import re def main(): p1=re.compile("\"(\w*)\"") s=p1.findall(raw_input()) ...
[ "1334793794@qq.com" ]
1334793794@qq.com
ef9da3bac625f676f56fdc1d3a6ff80c1630d9da
62e58c051128baef9452e7e0eb0b5a83367add26
/x12/4060/224004060.py
0cfd110dffd480626cfac7c195c4d02697106c2d
[]
no_license
dougvanhorn/bots-grammars
2eb6c0a6b5231c14a6faf194b932aa614809076c
09db18d9d9bd9d92cefbf00f1c0de1c590fe3d0d
refs/heads/master
2021-05-16T12:55:58.022904
2019-05-17T15:22:23
2019-05-17T15:22:23
105,274,633
0
0
null
2017-09-29T13:21:21
2017-09-29T13:21:21
null
UTF-8
Python
false
false
416
py
from bots.botsconfig import * from records004060 import recorddefs syntax = { 'version' : '00403', #version of ISA to send 'functionalgroup' : 'MA', } structure = [ {ID: 'ST', MIN: 1, MAX: 1, LEVEL: [ {ID: 'CF1', MIN: 1, MAX: 1}, {ID: 'CF2', MIN: 1, MAX: 9999, LE...
[ "jason.capriotti@gmail.com" ]
jason.capriotti@gmail.com
15bf8b128820c28371be2eb3cbe9af25ed368011
20061f86ffa5bb626f91ba7705a68e83f0329857
/Pizzeria/Pizzeria/urls.py
e53f380b28d71c05c08a44906f4f7f5f142ae3d0
[]
no_license
lesiooo/PizzaMenu-Django_React
3445fb504073f7128642006270db408437e900d6
b9955013c3a7a5697812259d706291e74fe050ee
refs/heads/master
2020-04-19T19:30:16.722871
2019-01-30T18:06:04
2019-01-30T18:06:04
168,390,515
0
0
null
null
null
null
UTF-8
Python
false
false
879
py
"""Pizzeria URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-base...
[ "lesiooo94@gmail.com" ]
lesiooo94@gmail.com
257317e19a40b06ab4be3be5de419cf6111e2179
f9e800cc2f3e8f232c749c7da352ddad85125881
/forms.py
d8ae31f230cc5c3de837e51c77c88c1df4da4656
[]
no_license
exponent3141/dtp12-1
1f1a3835013cc6fbb214b5da402a9d3f99c6090b
d48e4b0db6ac5f8bd1f01830f197448e97dc67bc
refs/heads/main
2023-08-28T12:37:18.690913
2021-10-28T09:44:38
2021-10-28T09:44:38
366,182,360
0
0
null
2021-05-10T21:40:21
2021-05-10T21:40:20
null
UTF-8
Python
false
false
246
py
from flask_wtf import FlaskForm from wtforms import StringField, SubmitField from wtforms.validators import DataRequired class SearchForm(FlaskForm): query = StringField('query', validators=[DataRequired()]) submit = SubmitField('🔍')
[ "exponent3141@gmail.com" ]
exponent3141@gmail.com
4f24cb0ad2e47ace0e97f382862d5e8db6bb5dd1
23446765151830bc754d94333ecde972b6b4a2fc
/apps/users/serializers.py
c4dba9955879776e006195ff730df5928c059160
[]
no_license
apang-ai/DRF_fresh
c3ca08e0305863bf782afc5ed6717b6da7cdbe8b
c109d43bb6ee582d7acc5fefc69fe244ed9e5bbe
refs/heads/master
2022-09-21T14:49:42.691050
2020-06-01T12:05:54
2020-06-01T12:05:54
268,508,529
0
0
null
null
null
null
UTF-8
Python
false
false
3,781
py
# users/serializers.py import re from datetime import datetime, timedelta from rest_framework.validators import UniqueValidator from freshshop.settings import REGEX_MOBILE from users.models import VerifyCode from rest_framework import serializers from django.contrib.auth import get_user_model User = get_user_model(...
[ "1305999617@qq.com" ]
1305999617@qq.com
8421776eeb5b5952d17a78e8ec01ea390bcd7de5
998a41d15c4a2c3b8620d6f81b523821810bf08a
/AP/loginpage/views.py
5c0e2c9a7b514e92f0d60e1b5c84a1b2fd2e4750
[]
no_license
Naveenhiremath/AP
7977644d61bffd1ec93e239755d33065d0362fb8
ab127ed4dc919d4275c212fc4a9b0679460e7aa6
refs/heads/master
2020-04-16T05:31:23.157660
2019-01-11T21:18:37
2019-01-11T21:18:37
165,309,382
0
0
null
null
null
null
UTF-8
Python
false
false
151
py
from django.shortcuts import render, HttpResponse def index(request): import pdb;pdb.set_trace() return render(request,'loginpage/home.html')
[ "AL2328@accionlabs.in" ]
AL2328@accionlabs.in
2fd745763a335d8197571f0e738ba29b6ef2315e
03a44baca9e6ed95705432d96ba059f16e62a662
/CodeForces_Contest/Round_578_Div2/C.py
fed4f3043eab416cd20dd5eebc2d21555ed64458
[]
no_license
ytz12345/2019_ICPC_Trainings
5c6e113afb8e910dd91c8340ff43af00a701c7c7
cf0ce781675a7dbc454fd999693239e235fbbe87
refs/heads/master
2020-05-14T08:29:19.671739
2020-04-03T03:21:30
2020-04-03T03:21:30
181,722,314
0
0
null
null
null
null
UTF-8
Python
false
false
238
py
from math import gcd n, m, q = map(int, input().split()) d = gcd(n, m) x, y = n // d, m // d for i in range(q): a, b, c, d = map(int, input().split()) b = (b - 1) // [x, y][a == 2] d = (d - 1) // [x, y][c == 2] print('YNEOS'[b!=d::2])
[ "1217783313@qq.com" ]
1217783313@qq.com
cfd2f57ade3b18556861fc73ac6feeca514adc38
e4d39c514c8f555a706d4d293b91e253a23614aa
/manage.py
572ea681f23fba520e85784690e8183a78c12971
[]
no_license
shubhamjain31/AskForum
ddda79528026ed027e2268b99cfc5cb9ea412c54
f234f9ad1fb8d55520ced6987b1aec5d74fc7c08
refs/heads/main
2023-03-10T21:41:25.559793
2021-02-26T16:52:58
2021-02-26T16:52:58
309,034,117
0
0
null
null
null
null
UTF-8
Python
false
false
664
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', 'AskForum.settings') try: from django.core.management import execute_from_command_line except Imp...
[ "sj27754@gmail.com" ]
sj27754@gmail.com
ec3a12e121db35af765ddf335bdba9a3e2ca7038
2540eac9601abce6baf7d80bd77b2d3ce50e21f1
/main_app/migrations/0008_auto_20161117_1957.py
b7bc9ec03dcd079939d0d53effbac86bf675b46c
[]
no_license
sebasgomez24/GreenLeaf
8b66832c038afdc65f215e0aad2a9fbd28dc6495
b01fe7f0f1be6faf907b4e3cc6238343802afd09
refs/heads/master
2021-01-12T08:13:15.548367
2016-12-15T00:05:13
2016-12-15T00:05:13
76,507,585
0
0
null
null
null
null
UTF-8
Python
false
false
515
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.2 on 2016-11-17 19:57 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('main_app', '0007_profile'), ] operations = [ migrations.AlterField( ...
[ "sebasgomez24@gmail.com" ]
sebasgomez24@gmail.com
35070cb9c1e4ec9c2da3a592b991588268d723ec
5203a064da7c7155402421ef471c83e21cebac18
/labtronyxgui/application/include/ResourcePages.py
63b5f73624182ac9d9d0aaf9dba324b9a6bb2844
[ "MIT" ]
permissive
protonyx/labtronyx-gui
43c6c1a81c7d0ee9adbf22072e5d10296c353e8a
c2c1ad2005259006a64053acd2d3813b62e187f1
refs/heads/master
2021-01-18T00:26:49.063545
2015-10-14T21:41:16
2015-10-14T21:41:16
37,354,078
1
1
null
null
null
null
UTF-8
Python
false
false
7,893
py
import Tkinter as Tk import tkMessageBox class a_AppletSelector(Tk.Toplevel): def __init__(self, master, applets, cb_func): Tk.Toplevel.__init__(self, master, padx=2, pady=2) # Store reference to parent window callback function self.cb_func = cb_func self.applet = Tk.S...
[ "protonyx@users.noreply.github.com" ]
protonyx@users.noreply.github.com
40232b916fe4f4f03235eb599f4830697a65d0e1
2a03d611f83932f1e400fe8828af6546b945447d
/idea_app/migrations/0006_idea_i_date_sold.py
8e6c8439db3ad81dbeddd50be0f1194457321ff6
[]
no_license
ggabunia/ThoughtShare-Django
b354d1724472b9bb43df9a324d9856f1285cb340
a9fee6a1bba430ffe49bc2e1c2fd74db10bc2a19
refs/heads/master
2022-11-26T05:28:51.544298
2018-12-03T16:54:49
2018-12-03T16:54:49
158,215,699
0
0
null
2022-11-22T03:07:04
2018-11-19T12:05:10
Python
UTF-8
Python
false
false
403
py
# Generated by Django 2.1.3 on 2018-11-25 21:49 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('idea_app', '0005_remove_idea_i_picture'), ] operations = [ migrations.AddField( model_name='idea', name='i_date_sold...
[ "ggabunia91@outlook.com" ]
ggabunia91@outlook.com
10d3c353d4005396de5db390f25d1386081f9e95
2c979dd16516a76ce541b30b75cf790438ad25a0
/starter_repo/mysite/myapp/migrations/0002_article.py
037de5954de6085bc4ce21e1bdb13b451e0f5b14
[ "MIT" ]
permissive
Krebrov001/web-dev-project
717f19d8ccebaeed8f5b7847c011f994517cadec
682c91f8301f89eab09170624f02f47458249b23
refs/heads/master
2022-01-08T06:18:01.164484
2019-05-21T02:58:15
2019-05-21T02:58:15
187,594,698
0
0
null
null
null
null
UTF-8
Python
false
false
877
py
# Generated by Django 2.1.7 on 2019-04-22 01:11 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('myapp', '0001_initial'), ] operations = [ migrations.CreateModel( name='Article', fields=[ ('id', mo...
[ "noreply@github.com" ]
noreply@github.com
318c1e9d2da46b58b7ad1c6f8984526ebf711e5a
07b5b31fdaf26f53616e0fce6838780bdd6fb1a6
/create_faiss_index.py
c0574d59953fc8f2fcbe92d43fa393ed2b83fd1f
[ "Apache-2.0" ]
permissive
jplu/visual-search-scripts
0a6f34105434afcf7640a33b7359f6dc05b9b598
624398cb482129ac60180e09ca6b8f2960961442
refs/heads/master
2023-06-01T04:37:32.301571
2019-09-24T09:08:03
2019-09-24T09:08:03
210,385,763
2
0
Apache-2.0
2023-05-22T22:16:47
2019-09-23T15:09:53
Python
UTF-8
Python
false
false
2,506
py
import numpy as np import faiss import multiprocessing import glob import os import sys import tensorflow as tf os.environ["CUDA_VISIBLE_DEVICES"] = "-1" NUM_CPU = multiprocessing.cpu_count() // 4 manager = multiprocessing.Manager() features = manager.list() class Network(): def __init__(self): from class...
[ "julien.plu@schibsted.com" ]
julien.plu@schibsted.com
8076ceb3309f8f6f0a5777d2c282759f86d4e2f4
f4dbc34bba455ec10b9656e20f4a20f63b6c82e8
/run_tests.py
a3d97cb30aaad6f5ee9d893c93c435964fe435a8
[ "BSD-3-Clause" ]
permissive
apeterson139/django-redis-cache
0772d9aec55dc993a87dfd9b2d61a0a5ddd1ea85
092290b7707dcc7b40a92ad54952505900044d02
refs/heads/master
2021-01-15T21:34:35.525765
2012-06-27T18:14:55
2012-06-27T18:14:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,275
py
#!/usr/bin/env python from __future__ import with_statement from optparse import OptionParser import os from os.path import dirname, abspath, join import sys from django import VERSION from django.conf import settings from django.template import Template, Context from django.utils import importlib from redis.server imp...
[ "sebleier@gmail.com" ]
sebleier@gmail.com
c45a3d1399c1798d5ef9cccc8a359ce12f0a9130
3c72927bffb799ce245d0b632fb3e10de2ab35d5
/RightHandedTri.py
a6d41de1c045ddf72b5b6b3605399a2d77d31778
[]
no_license
thatothupudi/Katas
315072e4aed3b899b4332ab220ef4c5c2bb33308
cd9e8b87da816356a9339d49f6bd05cf2075dee8
refs/heads/master
2020-12-29T13:24:11.795663
2020-02-13T08:09:12
2020-02-13T08:09:12
238,621,482
0
0
null
null
null
null
UTF-8
Python
false
false
312
py
def RightHandTri(num): return_result = '' for column in range(num): for row in range(column + 1): print('#', end = '') print() return return_result triangle1_result = RightHandTri(2) triangle2_result = RightHandTri(4) print(triangle1_result) print(triangle2_result)
[ "thato.thupudi@umuzi.org" ]
thato.thupudi@umuzi.org
ab0e6e84ae744c194e09271a8ba6afdce8e6c941
f18185e64a7c75e55b7ec6b1fe40fbdf660d94c7
/maze/maze.py
5aff43b96519130047b841cbb0d6217b862bde5f
[ "MIT" ]
permissive
grypesc/DSAIMinorProjects
e70c0683f0b7318b4b4eac5d9832f744df380f06
935a3d2e41d177599b16c740cfd57e273e50ad7a
refs/heads/master
2020-05-24T20:33:24.790900
2019-05-19T09:48:54
2019-05-19T09:48:54
187,457,915
1
0
null
null
null
null
UTF-8
Python
false
false
4,817
py
from turtle import * # Simple class class Point: def __init__(self,x,y): self.x=x self.y=y class Line: def __init__(self,p1,p2): self.p1=p1 self.p2=p2 SUCCESS_LEVEL = 110 # Drawing maze turtle = Turtle() turtle.shape('circle') paths = set() tracer(0,0) # I...
[ "noreply@github.com" ]
noreply@github.com
2ef3ccb92535d962510edebd9d512d0213e28fa4
d2e32bdd4018f6686bc68a18e6e5e5f4b48672c5
/vpn_bot/urls.py
68647b5d203e3cc0577f695d255a29164253cea5
[]
no_license
Chen-Han/vpn_bot
6ed614d42223d6a3ebcf98afa5c8d65812d83e2d
5ab555b85c3ba78205bd7ff997ef4ace34b0ea95
refs/heads/master
2020-04-28T03:07:05.105466
2019-03-11T04:11:15
2019-03-11T04:11:15
174,924,057
0
0
null
null
null
null
UTF-8
Python
false
false
749
py
"""vpn_bot URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based...
[ "hanchen1996@hotmail.com" ]
hanchen1996@hotmail.com
effd461a8a348cb967ff1e775d0027ee7244d32f
a5b5f3f6df1e53c52730835fde80f116483a237f
/app/tests/unit/test_util.py
e20c02691467f46a7f0a48853849f6999636e057
[ "MIT" ]
permissive
LIhDi/python-atendimento-agendamento-back-end
9db16c9df051c03be8a061775b4c2bda11b8a96f
affb722440678415d1d6293e84be3f1743c915b7
refs/heads/main
2023-05-26T09:55:09.527356
2021-06-02T00:45:24
2021-06-02T00:45:24
342,554,282
0
0
null
null
null
null
UTF-8
Python
false
false
177
py
from util.status import HTTPStatus def test_status_internal_server_error_when_missing(): status = HTTPStatus("None") assert status == HTTPStatus.INTERNAL_SERVER_ERROR
[ "lihdi@aline.diogo" ]
lihdi@aline.diogo
50ef32c94d5e5aee734232dd3e61fc70bf587629
8773e8c9b9a0a6e407f91b6f7c6321141d7e8356
/P0113.py
0b8fdc5ce3434443cc3611041a335ba30d4bcad7
[]
no_license
westgate458/LeetCode
1836bb21e8dd95386ccab390f5fd04567a429a02
36d7f9e967a62db77622e0888f61999d7f37579a
refs/heads/master
2021-12-28T04:16:36.875737
2021-12-17T05:48:09
2021-12-17T05:48:09
152,928,584
0
0
null
null
null
null
UTF-8
Python
false
false
1,231
py
# -*- coding: utf-8 -*- """ Created on Wed Apr 3 13:23:08 2019 @author: Tianqi Guo """ class Solution(object): def pathSum(self, root, sum): """ :type root: TreeNode :type sum: int :rtype: List[List[int]] """ # deal with trivial case if not root: ...
[ "tqguo246@gmail.com" ]
tqguo246@gmail.com
693191fb9ab124fb913b3adfbb4b088fb608acaa
c1a6fcf57aa4384f81ef82d2da8b4805a49fbadf
/mypythonapp/web/html.py
a8b52c817012d7a7f9f3bb5227c5e7002aece04b
[]
no_license
psytronica/zigrax
52e51415fce3e5fb30eae8fa323fbe6aecd41eb7
799140570e206091601e75fb95191bd64bb12210
refs/heads/master
2020-12-24T18:55:12.704013
2016-04-24T07:59:12
2016-04-24T07:59:12
56,959,767
0
0
null
null
null
null
UTF-8
Python
false
false
66
py
# -*- coding: utf-8 -*- def default_page(): print("zasdasd")
[ "zygopterix@gmail.com" ]
zygopterix@gmail.com
a177732813b9a52fe01d5d1e9ff9d13ee8947cc9
f3725f246e58e33b85874dcbebe65200c90b919c
/models/BasicLSTM/train.py
fd5d5a49505d86461b3e2c8c51c6172c21e72285
[]
no_license
WOWNICE/LanguageModel_AutoEncoder
ebe6e9134b84bc3d4a3e02c1d3109fbadfc23c01
fd868816d1e5e5561d9f5cee45222082218581f0
refs/heads/master
2020-03-26T05:07:30.576849
2018-08-15T01:20:32
2018-08-15T01:20:32
144,538,819
0
0
null
null
null
null
UTF-8
Python
false
false
4,244
py
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "rose@MacBook-Pro-3.local" ]
rose@MacBook-Pro-3.local
70ec233bc6dea14e82e83d774498d74354e96eb3
765a692897fac9a91518604cd55d1ff15b2d68a4
/src/px4_move.py
82a4e3ebb892b9acb97cf17a92e295653b8b8b40
[]
no_license
DarkcrusherX/indoor_nav
a82521e147ecfc6066c30e78829fc01e4d5c60f3
a24f9da24a3b4427c78cfcba4a80379cc8846efe
refs/heads/master
2022-11-05T05:45:56.805848
2020-06-23T06:54:18
2020-06-23T06:54:18
274,138,311
0
0
null
null
null
null
UTF-8
Python
false
false
2,758
py
import sys import copy import rospy import actionlib from nav_msgs.msg import Path from geometry_msgs.msg import PoseStamped from armf import armtakeoff from move_base_msgs.msg import MoveBaseAction, MoveBaseGoal msg = Path() current_position= PoseStamped() rospy.init_node('points',anonymous=True) def movebase_clie...
[ "noreply@github.com" ]
noreply@github.com
3fe9792527c2102bca402abc85ec35083bc105b7
b385f96bf019b5963c871614cbfb5deacddacbc1
/quadratic.py
e01e69f231fe511316b1a343de15e23ad92921d5
[]
no_license
emorri08/ITC110
7d4dfa498adb51a74096878d07866e6d63be9669
69cecb7c68c4adb115bfb3f22e439180830bf1b4
refs/heads/master
2020-04-09T03:31:57.200519
2018-12-11T04:00:52
2018-12-11T04:00:52
159,986,216
0
0
null
null
null
null
UTF-8
Python
false
false
558
py
#quadratic.py #compute the real roots of a quadratic equation #the program will crash if the equation has no real roots from math import * def main(): print("This program finds the real solutions to a quadratic") print() a = float(input("Enter coefficient a: ")) b = float(input("Enter coefficient b: ...
[ "noreply@github.com" ]
noreply@github.com
f4440770a165003e26a1fe82ab270ff926180faa
b822fd48d109c59a07cfef5196888c3f22c792b3
/aae/train.py
0c434501c97952da300c1a76736c15a79a31d1cb
[ "MIT" ]
permissive
cupOJoseph/drawlikebobross
2e179f24bc59303be2782d95880235c57995a460
e4c33745c605d17ea6b9e5bea3cf339eb875a58a
refs/heads/master
2022-05-05T12:18:45.504161
2018-07-05T02:21:40
2018-07-05T02:21:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,237
py
import os import sys import argparse import torch import torchvision.transforms as transforms sys.path.append(os.path.dirname(__file__)) from trainer import gan_trainer from loader import BobRossDataset # Params parser = argparse.ArgumentParser(description='GAN trainer') parser.add_argument('--epoch', default=500, ...
[ "kendricktan0814@gmail.com" ]
kendricktan0814@gmail.com
75302cb9e4d1e3d5f8bf29b9814776112b3b0823
ab0f2794733a129d4073542a1c9315f95f1b7ca8
/hello.py
ddddd1c76ee9aebeeffa87a41cc017b685828c26
[]
no_license
krishna-prasath/guvi
d0fbe631e932888ba426f77ba4feaa32d4e66781
98fd72ffa03e5d8e7a9fe68989924b690cd92c1b
refs/heads/master
2020-04-15T04:59:38.243149
2019-06-12T19:32:59
2019-06-12T19:32:59
164,404,997
0
0
null
null
null
null
UTF-8
Python
false
false
62
py
a=int(input()) if a==0: print(" ") else: print("Hello"*a)
[ "noreply@github.com" ]
noreply@github.com
e6a826c859b0466dac824829bb95d7f77d7ac101
4069115e4ae3cc051b82e3ae5ec94f9fa95e930e
/JZ51.py
ea95105db62a7a531c4298ad5b028a6166f651e8
[]
no_license
yhbian/niuke
45c09ccb28ce18702348085e51d4551e10a55421
1100e3a2cc486673b1892f1223bbf7b6444a1d08
refs/heads/main
2023-02-12T14:58:58.562210
2021-01-10T06:42:13
2021-01-10T06:42:13
324,090,561
0
0
null
null
null
null
UTF-8
Python
false
false
652
py
# -*- coding:utf-8 -*- class Solution: def multiply(self, A): # write code here from_start = [] from_end = [] B = [] s, e = 1, 1 for i in range(len(A)-1): s, e = s * A[i], e * A[-i-1] from_start.append(s) from_end.append(e) ...
[ "yhbian@mail.dlut.edu.cn" ]
yhbian@mail.dlut.edu.cn