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
58d72a314edfad39990b2ac7fc3de6cc03a4a7f0
bba3501189d047e37911ea93c88fdd51f651d7d1
/temp scripts/temp.py
ab7b6d99e38bf0420f62f690d63a9440180df17c
[]
no_license
nepeters/pyEWIMV
d47c82b9cde87f583330f5f3f6c36eca8716dec5
f10b59672668c19d5880495e044e7afa2337dc26
refs/heads/master
2023-02-17T07:25:03.115699
2020-04-25T16:49:13
2020-04-25T16:49:13
228,910,450
1
0
null
null
null
null
UTF-8
Python
false
false
15,052
py
# -*- coding: utf-8 -*- """ Spyder Editor This is a temporary script file. """ import sys import numpy as np import pandas as pd sys.path.insert(0,'/home/nate/wimv') from classes import poleFigure, bunge from utils.orientation import symmetrise, normalize, XYZtoSPH crystalSym = 'm-3m' sampleSym = '1' cellSize = n...
[ "np7ut@virginia.edu" ]
np7ut@virginia.edu
ae92f9a2a9e72b428fd36b74ebb4f115f8b7cfe6
d1e4cb9d6174eb682dde2c0c3e453c1ab5c67255
/node_modules/bson/build/config.gypi
0eac2699d7ee4394b03adeafe489f6c50841d6ae
[]
no_license
XtianB/todo
430e47d186bdf5c559fd9afcea3d9a63c807affc
f7069e478838613396474a1adfcfcad2ac9c36e0
refs/heads/master
2021-01-10T14:35:24.306467
2015-10-11T20:50:12
2015-10-11T20:50:12
44,069,022
0
0
null
null
null
null
UTF-8
Python
false
false
3,912
gypi
# Do not edit. File was generated by node-gyp's "configure" step { "target_defaults": { "cflags": [], "default_configuration": "Release", "defines": [], "include_dirs": [], "libraries": [] }, "variables": { "clang": 1, "host_arch": "x64", "icu_data_file": "icudt54l.dat", "icu_d...
[ "christianbryantmusic@gmail.com" ]
christianbryantmusic@gmail.com
160de7f02299ef298ae7a8ea89e6763d9e44517a
007bf16271220e10ef41bc8ce7951bbba4eb92d0
/demo/保存检查点.py
3ff811e24565b1506785098d69fd7ab472e04479
[]
no_license
gaoyuan888/tensorflow-demo
289a3a65471fdaf64647517c03b51e3bc73cdb5c
ac70994080e8cd1c29b00bf0ac5117aa74ba58f6
refs/heads/master
2020-05-02T13:17:14.224154
2019-03-28T13:00:07
2019-03-28T13:00:07
177,980,028
1
0
null
null
null
null
UTF-8
Python
false
false
3,456
py
# -*- coding: utf-8 -*- """ Created on Wed Jun 27 15:15:56 2018 @author: 凯文 """ import tensorflow as tf import numpy as np import matplotlib.pyplot as plt plotdata = { "batchsize":[], "loss":[] } def moving_average(a, w=10): if len(a) < w: return a[:] return [val if idx < w else sum(a[(idx-w):i...
[ "yauri.zhang@qunar.com" ]
yauri.zhang@qunar.com
f8989285f7386b756d3d5f1c345143180c4d3bb0
9b3ffbe9c2d800dff756032a155a78009f1adbb9
/面向对象编程/HouseMain.py
b0c09b2935db456cc66ce06417bd94ff7abdf560
[]
no_license
sevenbean/Machine-Learning
b618bf2c99eb0e3b4f35b50d6dbfe56921cdcda5
6baa0524c4a2f1bb4a0a887107f548dee930d1a6
refs/heads/master
2023-06-08T09:49:09.910092
2021-06-26T10:40:26
2021-06-26T10:40:26
290,967,502
1
1
null
null
null
null
UTF-8
Python
false
false
279
py
from 面向对象编程.House import House from 面向对象编程.HouseItem import HouseItem ximengsi=HouseItem("席梦思",4.0) chugui=HouseItem("橱柜",5.0) bieshu=House("别墅",80.0) bieshu.addHouseItem(ximengsi) bieshu.addHouseItem(chugui) print(bieshu.__str__())
[ "noreply@github.com" ]
noreply@github.com
54cadbd2c2e775c43656fcfe871e215742eb3499
06b8ef7199d75b16edfda9e5a450c04354820ad8
/main.py
f5d754165fa5311184a6f325765fc6a0015e5951
[]
no_license
arvndvv/Python-RPG
2b13878066000e580fce03297aa0efa67307960a
8ad88bbb06a9e188bd19d9b0d6cb79bba6da56dc
refs/heads/master
2022-11-18T04:56:17.092340
2020-06-30T16:24:39
2020-06-30T16:24:39
276,151,512
0
0
null
null
null
null
UTF-8
Python
false
false
4,987
py
import time import sys import os import random from classes.game import person,bcolors usrname=input(bcolors.lightgreen+"Your Name:"+bcolors.endc) os.system('cls' if os.name == 'nt' else 'clear') def enemystat(): print(bcolors.fail+bcolors.bold+enemy_name+bcolors.endc) print(bcolors.purple) sys.stdout....
[ "noreply@github.com" ]
noreply@github.com
0b03981bca1aa3cc84a817b93cc0d407d6d7fc5d
2a0f06dcbdc146151a28d587a96d935c117f6499
/Functions/GISAXS/Rod_Lipid.py
8646c630d5835ba537ec74fd6254f9789edbfe58
[ "MIT" ]
permissive
chemmatcars/XModFit
ac2ad8aa5222ba243011a3e445933f061cc3bc6b
abbb091e703cfc3580a39b68070f5b60d3abb86b
refs/heads/main
2023-08-09T15:18:55.170768
2023-07-24T19:30:07
2023-07-24T19:30:07
390,606,994
0
2
null
null
null
null
UTF-8
Python
false
false
3,301
py
# import necessary modules for the class from lmfit import Parameters #Please do not remove this line import numpy as np import sys import os from scipy import special sys.path.append(os.path.abspath('./Functions')) class Rod_Lipid: #Please put the class name same as the function name def __init__(self,x=0, E=10.0...
[ "nayanbera@gmail.com" ]
nayanbera@gmail.com
39a24d14853cdc98aeb036f49ed3f032a1f0b4e2
719fc7e5172c469fd85fecff06562e148af4ebca
/src/n_armed_bandit.py
6bc190778644c7e1b0fe273937e2d2ab535a81f4
[]
no_license
Bluemi/rl_testbed
f612aadc75d3dd62b301c90ecf9208a86de25772
c39d0b98ef733ca056c231baa8fd2de6d64fe2d7
refs/heads/master
2022-02-22T01:24:55.320361
2019-09-21T18:51:36
2019-09-21T18:51:36
198,037,712
0
0
null
null
null
null
UTF-8
Python
false
false
2,422
py
import time from abc import ABC import numpy as np class Playable(ABC): def play(self, action: int) -> float: """ Tries the given action. Returns the reward of this play. :param action: The index of the level to try :return: The random reward generated by the chosen action ...
[ "bruno.schilling@protonmail.ch" ]
bruno.schilling@protonmail.ch
f786fc49f22518808be5ffe4b7139646bf9f6ae7
c5e0cff8be25ea7f67b7b68417aab6c54cc4708a
/code-listings/chapter_10/Example_03.py
611f302003cb0aae1cfef773f1adc16798de1693
[]
no_license
cwb4/practical-python-projects
e7a0d92034923f6e547f6cca26eda2c98026aca4
55860d40b4fed8a9dcbf37da888a31114016386e
refs/heads/master
2022-12-21T09:05:56.490629
2020-10-01T16:30:39
2020-10-01T16:30:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,533
py
""" Using This Code Example ========================= The code examples are provided by Yasoob Khalid to help you reference Practical Python Projects book. Code samples follow PEP-0008, with exceptions made for the purposes of improving book formatting. Example code is provided "as is". Permissions ============ In gen...
[ "hi@yasoob.me" ]
hi@yasoob.me
066775eea5a9fc755660f1f1b211a6359a9d39b9
eb82022c0cfc7c8747661cff9624ad2099fa1c3f
/accounting_report_xls/wizard/requisition_report.py
b8a86af9ecb7b11cf815777cb5903909435929ab
[]
no_license
dadysuarsa/Odoo
8d026a066c390cc8f72805d2672212e61260c1cb
c9becd0c192fa239520ad3e1a11d81f70832eddf
refs/heads/master
2023-03-11T06:02:06.011575
2021-02-26T02:17:37
2021-02-26T02:17:37
276,346,540
0
0
null
null
null
null
UTF-8
Python
false
false
2,509
py
# -*- coding: utf-8 -*- # Part of Odoo. See LICENSE file for full copyright and licensing details. # # Please note that these reports are not multi-currency !!! # from odoo import api, fields, models, tools class RequisitionReport(models.Model): _name = "requisition.report" _description = "Requisition Repor...
[ "dads02_zetti@yahoo.com" ]
dads02_zetti@yahoo.com
99fc264e361c08fda18f058be8e53b400b61379e
6ecf40c771874f31fa19f9534677c95c731352e9
/DRTransmitter.py
d60163c5eddb41d056a1880c6cf332dfa9d71c5b
[]
no_license
fstakem/OptNetFilt
1c86e82629352ee8ee9eb270aa3be01c6202696d
c862f3d1dd09ad9cdd146871761cb1f814e82de9
refs/heads/master
2016-09-11T03:06:06.466206
2014-06-07T02:03:04
2014-06-07T02:03:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,700
py
# .------------------------------------------------------------------------------. # | | # | D E A D R E C K O N I N G T R A N S M I T T E R | # | ...
[ "fstakem@gmail.com" ]
fstakem@gmail.com
ee8c858cb16637d8d413326133307df4b755a52b
2ae3ee719643b644c2387c527e026d019568f791
/manojPrasad_pyadvanced/3/3.py
b4b88430a2418479062a0f5e267dcb4e8960b0df
[]
no_license
constantine1998/software-engineering
9f9b8acf76ffe824d56c5c5458b4d3ae3c017467
b5b95741de9146c2fadb82150b64f8393f5a9910
refs/heads/master
2022-04-21T21:01:15.276580
2020-04-17T03:47:31
2020-04-17T03:47:31
256,301,925
0
0
null
null
null
null
UTF-8
Python
false
false
99
py
add = lambda a,b:a+b def Lcollapse(x): r=reduce(add,x) for what in r: print what,
[ "noreply@github.com" ]
noreply@github.com
be9142c193081f1a1035d6f272c22cc11c1b0e9d
2bc8f66fd34ba1b93de82c67954a10f8b300b07e
/general_backbone/layers/global_context.py
0c80d60097c862eb96f2e9085a77dbbde1fa354a
[]
no_license
DoDucNhan/general_backbone
7dabffed5a74e622ba23bf275358ca2d09faddc1
686c92ab811221d594816207d86a0b97c9b4bc73
refs/heads/main
2023-08-31T14:59:23.873555
2021-10-23T06:34:14
2021-10-23T06:34:14
420,419,141
1
0
null
null
null
null
UTF-8
Python
false
false
2,449
py
# Copyright (c) general_backbone. All rights reserved. """ Global Context Attention Block Paper: `GCNet: Non-local Networks Meet Squeeze-Excitation Networks and Beyond` - https://arxiv.org/abs/1904.11492 Official code consulted as reference: https://github.com/xvjiarui/GCNet """ from torch import nn as nn import ...
[ "phamdinhkhanh.tkt53.neu@gmail.com" ]
phamdinhkhanh.tkt53.neu@gmail.com
2d1f6069e16fb2eec66a0ae544e49165793b9481
5cbc5e6fc58b88d04388f0913e375f0034e07ee6
/Adversarial_Work_NoKnowledge.py
efde7eb841906beebb7b2a3c42647e777915d2da
[]
no_license
shayan-taheri/RazorNet_AdversarialExample_Detection
1275f6fb91927708aa6be49432a46a9aa01f7e9f
adb5ea1995c321cf767523965c0973688df36964
refs/heads/master
2022-06-14T18:08:16.813845
2020-05-06T10:17:15
2020-05-06T10:17:15
261,722,814
3
0
null
null
null
null
UTF-8
Python
false
false
6,763
py
"""Test ImageNet pretrained DenseNet""" import os os.environ["CUDA_DEVICE_ORDER"]="PCI_BUS_ID" os.environ["CUDA_VISIBLE_DEVICES"] = "3" import cv2 import numpy as np import keras from keras.optimizers import SGD import keras.backend as K import glob import matplotlib.pyplot as plt import sklearn.metrics as sklm impor...
[ "noreply@github.com" ]
noreply@github.com
64aaae03c3ab90f3f0225cbf42dc6b88da545cbb
8bdce915174678a90a6be811ea91b50930b9d26a
/coding/Algorithm_exercise/Leetcode/0051-N-Queens.py
feda3efdc7bdf33d817beb02ebc76b87d12dbe3e
[]
no_license
CharlesBird/Resources
daefffef8fb3735e656cd0a3bf400d5e2ff85cc0
517ac7b7992a686fa5370b6fda8b62663735853c
refs/heads/master
2022-12-15T02:54:56.530940
2020-02-29T14:33:43
2020-02-29T14:33:43
109,668,108
1
1
null
2022-12-08T05:04:25
2017-11-06T08:34:30
Jupyter Notebook
UTF-8
Python
false
false
1,247
py
""" The n-queens puzzle is the problem of placing n queens on an n×n chessboard such that no two queens attack each other. Given an integer n, return all distinct solutions to the n-queens puzzle. Each solution contains a distinct board configuration of the n-queens' placement, where 'Q' and '.' both indicate a queen...
[ "1016784928@qq.com" ]
1016784928@qq.com
2571969d76af0f76eb9cf4d6518aa2ee3cb716ed
4c207b2dd10db5598ccf5d04ccbf5b272bb1a3ae
/app/services/healthcheck.py
d01f5b6cb3836e30f9e6bcdb524a2b45be854c81
[ "MIT" ]
permissive
sina-e/bot
44ede51f498bae10bae59c705dbe42e2d78921cc
5d892a24724b3cd9b50928f1f5753e8b38d537c4
refs/heads/master
2022-03-22T12:32:30.890950
2019-11-10T09:53:10
2019-11-10T09:53:10
244,046,558
1
0
null
null
null
null
UTF-8
Python
false
false
1,458
py
from aiogram import Dispatcher from aiogram.utils.executor import Executor from aiohttp_healthcheck import HealthCheck from loguru import logger from app import config health = HealthCheck() def setup(executor: Executor): executor.on_startup(on_startup, webhook=True, polling=False) async def on_startup(dispat...
[ "jroot.junior@gmail.com" ]
jroot.junior@gmail.com
e2525353ca08757de856bd4266ebe6ec839d7970
7e00d4682c97fd903dec25b3a28851c4f1a68c8a
/kinect_touchpad.py
8eaa7fce316fd21b02458f1b2d9cd3045eacfda1
[]
no_license
Kronossos/Kinect_handwritten_digits_recognition
74acba1093c326435ffd9ac4996741f5d41acfc6
2ef94317a27edaf3691c6abd3474472c3206e44e
refs/heads/master
2020-04-22T07:23:03.162616
2019-02-11T23:07:17
2019-02-11T23:07:17
170,215,811
0
0
null
null
null
null
UTF-8
Python
false
false
6,071
py
import freenect import sys import cv2 import numpy as np from sklearn.ensemble import RandomForestClassifier from sklearn.svm import SVC # function to get RGB image from kinect def get_video(): array, _ = freenect.sync_get_video() array = cv2.cvtColor(array, cv2.COLOR_RGB2BGR) return array # function t...
[ "alek10000@gmail.com" ]
alek10000@gmail.com
d39d55626150a5f216c292e0bd94792f134a3b53
3670f2ca6f5609e14cce8c31cb1348052d0b6358
/xacro/image_pipeline/camera_calibration/src/camera_calibration/calibrator.py
48ffaee50b851449e5fbccc9f254a8649ec5cd16
[]
no_license
jincheng-ai/ros-melodic-python3-opencv4
b0f4d3860ab7ae3d683ade8aa03e74341eff7fcf
47c74188560c2274b8304647722d0c9763299a4b
refs/heads/main
2023-05-28T17:37:34.345164
2021-06-17T09:59:25
2021-06-17T09:59:25
377,856,153
5
0
null
null
null
null
UTF-8
Python
false
false
53,581
py
#!/usr/bin/env python # # Software License Agreement (BSD License) # # Copyright (c) 2009, Willow Garage, Inc. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistributions of source co...
[ "shuyuanhao@cetiti.com" ]
shuyuanhao@cetiti.com
6f768e2c7e5fd1f8e2695f489b1ba00b7554ed98
7deb2d6e11a67ff03f0641d9715905d85d1ee959
/Lab1/lab1(Final).py
22f5f0a26908f36e654c020e5e267f2a602cebd4
[]
no_license
Inlucker/Computational_algorithms
cad7d2aa8e00f14b145473d3667f79217998a102
f4da10c38d43cc22d99bf23b61f7b046b4c1aac6
refs/heads/main
2023-05-09T11:53:47.615630
2021-05-30T14:36:31
2021-05-30T14:36:31
341,246,428
0
0
null
null
null
null
UTF-8
Python
false
false
4,902
py
table1 = [(0.00, 1.000000, -1.00000), (0.15, 0.838771, -1.14944), (0.30, 0.655336, -1.29552), (0.45, 0.450447, -1.43497), (0.60, 0.225336, -1.56464), (0.75,-0.018310, -1.68164), (0.90,-0.278390, -1.78333), (1.05,-0.552430, -1.86742)] def search_valu...
[ "arseny707@mail.ru" ]
arseny707@mail.ru
770173ce874c8ea8ac0882245dc4e2ebaeab8261
2ef2dd70dc1d8d90aaa897507973e983f8ea2334
/src/dispatch/plugin/models.py
342e74e0ad39521584d06a2b4423e19ecd99d1a8
[ "Apache-2.0" ]
permissive
darwinz/dispatch
6d05640496c87d8866ab2a49df76a7b95942e2b1
b024940a3e4d48b70153fe76c8851e796b2fd299
refs/heads/develop
2023-08-31T04:16:02.424743
2023-05-10T16:30:23
2023-05-10T16:30:23
253,351,940
0
0
Apache-2.0
2023-09-14T15:05:51
2020-04-05T23:24:46
Python
UTF-8
Python
false
false
4,490
py
from typing import Any, List, Optional from pydantic import Field, SecretStr from pydantic.json import pydantic_encoder from sqlalchemy.orm import relationship from sqlalchemy.ext.associationproxy import association_proxy from sqlalchemy import Column, Integer, String, Boolean, ForeignKey from sqlalchemy.ext.hybrid i...
[ "noreply@github.com" ]
noreply@github.com
ca1f6092eead8de290c5658c963b5351d199c0d2
73b4be84d77182b493311a4a8edfe2cdc0746303
/objects/game_object/dinamic/shoot_marker.py
b46a749a0d872f92d184405025909c4a327d7556
[]
no_license
DanielVitas/projektna-naloga-UVP
db93bea0455876a38c7257cf9bd2ee9aeed4a6a4
bb88b75ef25af7137d153e5a71e845a3181aa3f3
refs/heads/master
2020-03-20T21:36:27.904128
2018-10-25T13:46:22
2018-10-25T13:46:22
137,750,056
0
0
null
null
null
null
UTF-8
Python
false
false
417
py
from objects.game_object.game_object import GameObject from objects.images.static_animation import StaticAnimation from physics.coordinates import Coordinates class ShootMarker(GameObject): def __init__(self): GameObject.__init__(self, [StaticAnimation(self, 'resources\\test_images\\red.png'), Co...
[ "noreply@github.com" ]
noreply@github.com
cce92451c44a25e4b4dd160814fc25d6151452bf
ecb11ec765323df43b47cfde8ca3d8286ccfe113
/kalman/catkin_ws/build/odom_to_trajectory/catkin_generated/pkg.develspace.context.pc.py
81331070f58fb512850b9c65d848888d0dd1989f
[]
no_license
alexeysas/rb-world
a445ead8316319e5199786f08b1a6129627e2558
98eeaddb5ae6e2b8a67a4240d558bbd7f9e09174
refs/heads/master
2020-05-02T13:20:30.558142
2019-05-09T20:31:23
2019-05-09T20:31:23
177,981,497
0
0
null
null
null
null
UTF-8
Python
false
false
399
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else [] PROJECT_CATKIN_DEPENDS = "".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else [] PROJECT_NAME = "odom_to_trajectory" PROJECT_SPACE_DIR...
[ "asasryl@gmail.com" ]
asasryl@gmail.com
fa4318c6e2b83b65787fd100a34495e39d56e1c8
11bb38bcd86dc92280918675d38040255e191cca
/memory_game.py
eff2be3f90ad40f585eece56a16b0516d6942615
[]
no_license
vlasoffivan95/memory-game-tkinter
dcc0d98e4b39774678738d1cc9ffd24e7e8de546
35a03d130f2f42e3d9d6100cbde2137ed4c208e7
refs/heads/master
2020-12-15T14:48:38.818284
2020-01-20T16:21:03
2020-01-20T16:21:03
235,143,896
0
0
null
null
null
null
UTF-8
Python
false
false
11,796
py
import random, pygame, sys from pygame.locals import * FPS = 30 # frames per second, скорость программы WINDOWWIDTH = 640 # ширина в пикселях WINDOWHEIGHT = 480 # высота в пикселях REVEALSPEED = 8 # скорость раскрывания ящиков BOXSIZE = 40 # высота и ширина ящика GAPSIZE = 10 # расстояние между полями с ящиками BOAR...
[ "vlasoffivan95@gmail.com" ]
vlasoffivan95@gmail.com
6df934e6bb6cbec350d4f1c52258c36643b13b91
a40215db1e113b0c4cb675551012f2e10dcc35f2
/post/migrations/0004_auto_20210827_1354.py
66a28703e466e11d942ae0178a042e825c48837a
[]
no_license
OmkarPatra/EventApplication
6b90aa003cc392566408ce0f8792e8a5814ee884
01c0f9f5c3b60fc56b44a50b9a539b71dc23cff4
refs/heads/master
2023-07-16T05:28:09.926964
2021-08-28T09:00:46
2021-08-28T09:00:46
400,745,475
0
0
null
null
null
null
UTF-8
Python
false
false
683
py
# Generated by Django 3.2.6 on 2021-08-27 08:24 import datetime from django.db import migrations, models from django.utils.timezone import utc class Migration(migrations.Migration): dependencies = [ ('post', '0003_remove_eventlist_likes'), ] operations = [ migrations.AddField( ...
[ "opomkarpatra@gmail.com" ]
opomkarpatra@gmail.com
fb44722cb1c40349af46810e881d1158562e1d95
3eef317fef4691ce4895bc30d325a595fb9e755d
/backend/beergame/asgi.py
7d5e0a849e19ac702271e135adbe57f87a345bfb
[]
no_license
erlisakulla/bdg-django-react-xp4
3af18be44da61bc2e97134177655f183f6f14c4f
349955cd9a0450af62dd96d68c9718729a44f237
refs/heads/main
2023-05-06T09:53:27.369587
2021-04-27T22:06:48
2021-04-27T22:06:48
373,533,655
1
0
null
null
null
null
UTF-8
Python
false
false
169
py
import os from django.core.asgi import get_asgi_application os.environ.setdefault("DJANGO_SETTINGS_MODULE", "beergame.settings") application = get_asgi_application()
[ "m.ouchrahou@jacobs-university.de" ]
m.ouchrahou@jacobs-university.de
02d805ec2da1c542813f48e2d36487ea8c3282fd
54a18823b019112c53fc62766da10cbe5f879615
/pkg/codegen/internal/test/testdata/output-funcs/py_tests/funcWithConstInput.py
d3ba8492d878603b3f22f3f1d551e00dbb14a2fe
[ "Apache-2.0" ]
permissive
TrendingTechnology/pulumi
01904487b2560244c3588004b562571f85cf2e51
1a4f36e97b15e6a25d92a8ebbabd5238c6c5be54
refs/heads/master
2023-07-27T19:38:17.162679
2021-09-16T04:12:49
2021-09-16T04:12:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
832
py
# coding=utf-8 # *** WARNING: this file was generated by . *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = [ 'func_with_c...
[ "noreply@github.com" ]
noreply@github.com
f3ba6016dae18c09d49a947f3cca0c750202b3bd
3e7e2503e9e621828196dfdb2f14c93cd2dd169c
/Lab1/venv/Scripts/pip3-script.py
c72be6d81831c7c967572b6a90fad8bb2f0f892f
[]
no_license
ApetroaeiClaudiu/Artificial-Intelligence
759f1a44aa5bb79528f7a56333ad8e9a13134f7d
606f204201fa2db58fe1a5a45735dafe4fbf49b7
refs/heads/main
2023-04-16T06:13:24.399366
2021-04-25T22:27:25
2021-04-25T22:27:25
361,637,158
0
0
null
null
null
null
UTF-8
Python
false
false
410
py
#!"D:\A-FACULTATE\Anu 2\Sem2\AI\Lab1\venv\Scripts\python.exe" # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip3' __requires__ = 'pip==19.0.3' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])...
[ "apetroaei.claudiu99@yahoo.com" ]
apetroaei.claudiu99@yahoo.com
318598fc511768b47de7fde335e16e09ff4d614e
c67fe4c82b068552c6a0d0e789cddd107c0ed1f2
/src/CGroupAPI.py
be2a41f205aafbd11a34b12d11cddd284ba92cdc
[]
no_license
arthurlockman/CGroup_Manager
5a704812604eb9c338f16f2a8b23553524c51452
4989bff78f26af01d0016c6e8a19094e17377bb7
refs/heads/master
2021-01-16T23:09:02.876834
2016-08-04T17:39:40
2016-08-04T17:39:40
63,186,791
4
0
null
null
null
null
UTF-8
Python
false
false
3,264
py
import dbus import subprocess import re import multiprocessing import os import gi gi.require_version('Gtk', '3.0') from gi.repository import Gtk from Unit import Unit from Resource import Resource class CGroupAPI: def __init__(self): print('Bringing up CGroup API...') self.processors = multipro...
[ "hello@rthr.me" ]
hello@rthr.me
b134c8522befecaacc9c1dc2cebc7372461d683d
c5fff0d67c69fe929d8797861ae0363f13da78b9
/qikk/qikk/pipelines.py
e2648c972894ddf1066e5d530338395edfaf7206
[]
no_license
mensyli/project
6928d6a457e04a24acfcf345f16f8aed9d09d42e
74a1efdbac681345749c4cfa84b0f0b213ab1cae
refs/heads/master
2021-01-23T00:34:57.262290
2017-07-01T06:13:58
2017-07-01T06:13:58
92,820,934
0
0
null
null
null
null
UTF-8
Python
false
false
822
py
# -*- coding: utf-8 -*- # Define your item pipelines here # # Don't forget to add your pipeline to the ITEM_PIPELINES setting # See: http://doc.scrapy.org/en/latest/topics/item-pipeline.html import os import requests import re class QikkPipeline(object): def process_item(self, item, spider): bas...
[ "mensyli@sina.com" ]
mensyli@sina.com
5f8bc031c015caa2e686ee7184e27f3fbe619389
f2a05f9f1e85639a1868863db2c4b0e23271760a
/conv_model_v1_10epochs.py
9188e49e0459fc963b83fe639261ac79b433ea33
[ "MIT" ]
permissive
Mvgnets/Convolutional-NN
f11ceed95a5fb2e81d35f91401e422509bc6787c
14e3631b606746edf442287882197c1c606d3b63
refs/heads/master
2020-07-17T14:41:36.054247
2019-09-03T10:18:22
2019-09-03T10:18:22
203,819,550
0
0
null
null
null
null
UTF-8
Python
false
false
4,954
py
from __future__ import absolute_import, division, print_function, unicode_literals # TensorFlow and tf.keras import tensorflow as tf from tensorflow import keras from tensorflow.python.keras.utils.data_utils import Sequence from tensorflow.keras.models import Sequential from tensorflow.keras.layers import Dense, Flatt...
[ "noreply@github.com" ]
noreply@github.com
36fa45f34096e7799eee7adf0125a33f781c2f9b
68da48dfa442ac136deb3ba65f0fcf72ae28da40
/djangoStart/accounts/migrations/0001_initial.py
9c3377e6ea6dec0da9c19315d53f933f31b0bbc4
[]
no_license
bojanmaric/DjangoProject
00ea10abec36ad2ce2ad328a66faef29ddbfc958
15fa5c7d300e4efea1e7afc0b1d7e2b87b6470d9
refs/heads/master
2023-05-13T20:23:24.987718
2021-06-06T19:44:53
2021-06-06T19:44:53
365,849,807
0
0
null
null
null
null
UTF-8
Python
false
false
743
py
# Generated by Django 3.2 on 2021-05-03 08:32 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Customer', fields=[ ('id', mo...
[ "bojanmaric98@gmail.com" ]
bojanmaric98@gmail.com
62f08ddb907ceddc5328c7ea56e25a0e6fc88a35
90a27f79f891266ecf16bc3a021a427c7cdfdca8
/ckgerp/wsgi.py
f364aa83b063b33638fddcf4211a51ee70d1e6ac
[]
no_license
udeepbahadur7/erp
933e1269caed42d9de00f058fed00c9321d24aba
cad508ef4ddba7caec08fdbcc37e666c42bf698f
refs/heads/master
2020-05-17T08:03:18.849115
2019-04-26T09:12:18
2019-04-26T09:12:18
183,593,104
0
0
null
null
null
null
UTF-8
Python
false
false
389
py
""" WSGI config for ckgerp project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETTIN...
[ "udeepbahadur7@gmail.com" ]
udeepbahadur7@gmail.com
608b0c1d80e09f16811de5668694372fd440a5d8
cb84a07c55a040de58586ed83cc86c56531e505b
/quickstart/api_marking.py
6ca48b436e74061140fc0a2a16bb7bbe9d0b89dc
[]
no_license
lawrhuan/CS446
1af543a2357c45b6b7d79f01b455f0dcd126f1c6
2b42760f227620c702457558c867c5c1d192c3e3
refs/heads/master
2020-05-31T01:17:21.605869
2014-07-12T18:49:05
2014-07-12T18:49:05
21,444,579
0
1
null
null
null
null
UTF-8
Python
false
false
3,312
py
from django.shortcuts import render from data.models import User, Group, GroupMember, UserLocation, UserMarker from rest_framework import viewsets from quickstart.serializers import UserSerializer, GroupSerializer from django.http import HttpResponse from django.utils.decorators import method_decorator from django.view...
[ "root@ip-172-31-11-130.us-west-2.compute.internal" ]
root@ip-172-31-11-130.us-west-2.compute.internal
ba5d56c1fe377f823de9541eeea2989b66a73694
7e34f8aced94918b220e8724b1fc8d1ad6e0db4e
/api/profile/urls.py
856ea877ece0e3af07c4b2a84b695a205e08414b
[]
no_license
Alex-Klionski/test-task
4033dc6029b8475aeb5b5279bc522952a88d06cb
453f8cb57a5f85ba5d01077483ede04924b00096
refs/heads/master
2022-12-22T14:07:29.298164
2020-10-03T14:37:50
2020-10-03T14:37:50
300,900,481
0
0
null
null
null
null
UTF-8
Python
false
false
366
py
from django.contrib import admin from django.urls import path, include from . import views urlpatterns = [ # path('<int:pk>/', views.GetUserProfileView.as_view({'get': 'retrieve', 'put': 'update'})), path("<int:pk>/", views.UserProfileDetailView.as_view(), name="profile"), path("all/", views.UserProfileLis...
[ "leshka.klionski@gmail.com" ]
leshka.klionski@gmail.com
c52e13c738c0265e6fff07eccec6b6e1f6c368f4
665cce39709ed06a9170d1433bc4f9facc3cc559
/python学习/接口自动化/接口自动化1.py
a105f049f6d09d02518cb80fa81452a79710655e
[]
no_license
LiuJiYangYang/python-ride
a717aa6a19a43dbfbb9e65f5f41430f2125ec348
7c5b0223253ade7617e21963dce1f65bb4add834
refs/heads/master
2020-05-15T23:09:05.384607
2019-05-09T13:25:29
2019-05-09T13:25:29
182,544,879
1
0
null
null
null
null
UTF-8
Python
false
false
166
py
import requests payload={ 'p1':'v1', 'p2':'v2', } r=requests.get('https://b2c.jihainet.com/wap/index.html#/index', payload) print(r.text)
[ "1318335493@qq.com" ]
1318335493@qq.com
60880ae7949bb967f756a43d127a7f238c99ddf7
eedf1d63e217560eb76d19e8fee29d1e6613c8c9
/WireRouting/BreadthFirst/wireRouting.py
518d5b7311c5f26a7284dfc8604f0cb4583dcbdd
[]
no_license
jtadley/Python
2b446eb8a871226469770a87196f6b2e88cfb5b3
831d591c2906712efdaaf144a9e936642876c578
refs/heads/master
2021-09-24T08:38:01.130036
2018-10-06T03:36:45
2018-10-06T03:36:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,651
py
#2d array of 0's and -1's, find shortest path from top left to bottom right without using -1 squares (only 0's) import queue class Route(object): ls = [] WIDTH = 0 HEIGHT = 0 q = queue.Queue() def __init__ (self, ls): self.ls = ls self.HEIGHT = len(ls) self.WIDTH = len(ls[0]) self.ls[0][0] = 1 self.q.p...
[ "noreply@github.com" ]
noreply@github.com
38f62e47c1978d14af480e88f9bfd26b0953254b
77cac1b6fbc5bbf6f74b219bfd8715552efdc4bf
/myproject/blog/migrations/0002_auto_20200526_0048.py
7001070f41c39a72eaacf0373e4027eed484e774
[]
no_license
j-goyal/Django_blog
2939256632447ecde8eb36c4497c2eaed1f433d6
7783ff639c7eb7490f16dc0f03abf83911883f0c
refs/heads/master
2022-11-15T07:15:47.198821
2020-07-07T17:16:29
2020-07-07T17:16:29
277,877,764
0
0
null
null
null
null
UTF-8
Python
false
false
594
py
# Generated by Django 3.0.2 on 2020-05-25 19:18 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('blog', '0001_initial'), ] operations = [ migrations.AddField( model_name='post', name='slug', ...
[ "noreply@github.com" ]
noreply@github.com
32d31ef79cbdcee17855fe62e72fb8985a0653f1
c41a78db5e0828fc71735abf76d0cf89fd3557e5
/python-exercises-2/mult_table.py
a67dd60720c4d16e8cb20097ea2b582d36cb889a
[]
no_license
teresahu/digitalcrafts
a54435f04299ab795db4c65ecd6fbe92b1c13502
1dd1db9ee03ec47dfd9dfc7fc0e8c4a650b14f43
refs/heads/master
2021-07-14T08:03:57.277310
2017-10-12T23:32:21
2017-10-12T23:32:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
123
py
for i in range(1, 11): for j in range(1, 11): print( "{0} X {1} = {2}".format(i, j, (i * j)) )
[ "eric.m.schow@gmail.com" ]
eric.m.schow@gmail.com
bbf636e5ca3a130e3de7564001791c09bed132d0
d3a204a438d7f2d439b3f18be9cf1271f5ab475f
/project3/my_model_using_bert23.py
dd43fed3a6bf8f332956534b15c48b9f1a5062f3
[]
no_license
saga9017/laboratory
f2f0d07fb691bd89e6f614cca7e377e82da5f656
77c53c36a99c0da17f23df235edacbcf83469b42
refs/heads/master
2021-05-16T19:32:23.477377
2020-03-27T06:44:16
2020-03-27T06:44:16
250,438,442
1
0
null
null
null
null
UTF-8
Python
false
false
34,191
py
""""""""""""""""""""""""""" using pre-trained bert, using cls for prediction, fine-tuning, using text + location + knowledge """"""""""""""""""""""""""" import sys, os from datetime import datetime import numpy as np import random import copy import time import torch import torch.nn as nn from torch.autograd import Va...
[ "saga9017@korea.ac.kr" ]
saga9017@korea.ac.kr
76e3076813f6db7c367f37b3a1c3847d0fd96feb
b29eb2af59c1b528cb87278e29e782c1ae4b736e
/homepage/apps.py
faa9712f2479a7259a1c31e0b66b7ece4eb9894d
[]
no_license
Highcreate/highcreate
28f3a24eadaeb8d63608e6d888aff4293cf5793c
00484841edaa15440ab83b7313f45b3316734abb
refs/heads/master
2021-07-07T21:24:32.728035
2020-09-12T07:08:37
2020-09-12T07:08:37
183,980,558
4
3
null
2019-11-05T16:11:44
2019-04-29T01:40:38
CSS
UTF-8
Python
false
false
131
py
from __future__ import unicode_literals from django.apps import AppConfig class HomepageConfig(AppConfig): name = 'homepage'
[ "junhui@highcreate.biz" ]
junhui@highcreate.biz
4eea45159b29e2885794425b255c65c94dd5b5af
9ec521b54bb463b5d9ef3491864a524eff4f0c7d
/Problem15_LatticePaths.py
d8a6bfa82a3bf7242928a2264b0abdc804951140
[]
no_license
JooHis/Euler
c373e211dbd4e0fbba1200950b5e08ab36e35df8
ad6afb87bdb73eb9cd1627bcd2bd0b715bc3d2a2
refs/heads/master
2022-12-02T17:21:20.820049
2020-08-16T21:15:30
2020-08-16T21:15:30
288,025,299
0
0
null
null
null
null
UTF-8
Python
false
false
419
py
from itertools import permutations def main(): s1 = "RR" s2 = "DD" # Get all permutations of length 2 # and length 2 perm = set(permutations(["R", "R", "D", "D", "R", "R", "D", "D", "R", "R", "D", "D", "R", "R", "D", "D", "R", "R", "D", "D", ], 7)) # Print the obtained permutations ...
[ "noreply@github.com" ]
noreply@github.com
f5f35d70e0353b3a35f35c451319f0e769743b96
4fdc184ad256ca03e8fae5422871cf3245c5f6c6
/Network_Programing_cookbook/chapter_1/008.py
27f2fd84eb086d8c3de737920b90df0174ce137c
[]
no_license
llybood/My_python
448e9d1b9fa062ecc93513a706161ed3f690913b
bc8da50281f2a8c2eec2a4647c1703a832e0f624
refs/heads/master
2021-06-15T17:13:22.427718
2017-01-22T15:16:25
2017-01-22T15:16:25
46,701,177
0
0
null
null
null
null
UTF-8
Python
false
false
363
py
#-*- coding: utf-8 -*- __author__ = 'coolfire' import ntplib from time import ctime def print_time(): ntp_client = ntplib.NTPClient() response = ntp_client.request('pool.ntp.org') #返回Ntpstats对象 #ctime将一个时间戳转换为字符串 print ctime(response.tx_time) #tx_time 系统时间戳 if __name__ == "__main__": print_time()...
[ "taxuewuhenbb@126.com" ]
taxuewuhenbb@126.com
93a51baeebf6e0fe32ccda0a47f14ca058504185
115164c003cc768275cad8fceb9958669b249a3a
/Backend/PythonCode/segmentation.py
255b859bfa2c5b631121d9db1e8a67f97341e04c
[]
no_license
SabikAbtahee/Handwritten-Equation-Detector-and-Solver-SPL3
6e7b28e3e4c4d0c91d286f1bcc501cd35b4873fe
58047806c1967f0127dad513d6cda605023ae746
refs/heads/master
2023-01-12T15:35:21.612714
2019-12-18T09:20:44
2019-12-18T09:20:44
205,827,954
1
0
null
2023-01-07T11:02:36
2019-09-02T09:57:31
Jupyter Notebook
UTF-8
Python
false
false
10,152
py
import PIL.ImageOps import numpy as np import cv2 import glob import os import scipy.misc # from scipy.misc import imageio.imwrite from PIL import Image, ImageDraw from ImageProcessing import ImageConversions equal_path = "./data/annotated_test_Equal/" equal_result_path = "./data/annotated_test_Equal_result/" equal_b...
[ "34734363+SabikAbtahee@users.noreply.github.com" ]
34734363+SabikAbtahee@users.noreply.github.com
a9c2ca46404762775a6a5aa5b6ce977b00220088
bb780c039d8b373af40796ef415a40dfe69f80cb
/brickatory/gen-py/brickatory/BrickatoryService-remote
f2122203d3ee8ccd6f32a650945ce018868f9cbc
[]
no_license
predicateacademy/physical-computing
9a27c3a6c7fb2816963ed17f626e08d563b6f11b
8d9063f0c9eff1e39f5bf06589acfc135f79c90b
refs/heads/master
2021-06-14T00:29:55.361700
2017-04-22T21:28:11
2017-04-22T21:28:11
85,442,404
0
0
null
null
null
null
UTF-8
Python
false
false
2,614
#!/usr/bin/env python # # Autogenerated by Thrift Compiler (0.9.2) # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # # options string: py # import sys import pprint from urlparse import urlparse from thrift.transport import TTransport from thrift.transport import TSocket from thrift.transport imp...
[ "mike@predicate.us" ]
mike@predicate.us
11b945d6c2d66c54f85c3a3eecb7c8dcfb2f5662
c8895564dfc3ce12836160194cce6620db6b457c
/prepare_uris.py
a5ec9ad61d1b9d1c767d59fa79a44ca971015076
[ "CC0-1.0" ]
permissive
sebbader/soliot_evaluation
cae84a93daf669ba7fb2f02d0aa48bfbb64abfc8
ff657727a8578706641ac84df324a8df43edb57e
refs/heads/master
2023-05-25T14:24:10.974585
2020-05-02T13:39:09
2020-05-02T13:39:09
260,246,337
0
0
CC0-1.0
2023-05-22T23:25:29
2020-04-30T15:17:41
Python
UTF-8
Python
false
false
2,799
py
import boto3 # Get all instances with tag "Name:solibot" ec2 = boto3.client('ec2') response = ec2.describe_instances(Filters=[{'Name': 'tag:Name', 'Values': ['solibot']}]) # Get IP-addresses of those instances solibot_ips = [] for reservation in response['Reservations']: for instance in reservation['Instances']:...
[ "sebastian.bader@iais.fraunhofer.de" ]
sebastian.bader@iais.fraunhofer.de
17b2461a212da015c84e2940b19586b90d3c540d
75db098eacad497a4fc50faba8cd5d624825f13c
/3_apis (1).py
fab5a9f1db03d1314bdb58ecbeb74f1c77723331
[]
no_license
josearias96/Final-Datos2
5f168859da8ae1971c94bb21765e2298901bcc8c
ab43c7edb7e3b44414e3ad7e4b15f39691099a9e
refs/heads/master
2020-04-07T22:52:35.078951
2018-11-23T16:35:39
2018-11-23T16:35:39
158,788,611
2
0
null
null
null
null
UTF-8
Python
false
false
3,209
py
""" Created on Wed Oct 24 07:21:44 2018 @author: Jose Antonio Arias """ #libraries import random from flask import Flask, request, jsonify from flask_restful import Resource, Api import random, string import newsapi """" from newsapi import NewsApiClient """ from news_api import newsApi from api_mysql2 im...
[ "noreply@github.com" ]
noreply@github.com
b5b439468f7e971aa3b6ce006ea2fab6ba171066
8611684cb138328633f314653ec7b1d9fe22d27b
/hw2/HW2.py
f1b3d57992b2dda5736c1835204d0415bb55d455
[]
no_license
rogphill/cmps128
6657be5661808ac72ba2b01c80c6c0fa42ae6c61
4f222ca1b7120542be54805f4df018de880eae7e
refs/heads/master
2020-09-30T05:21:53.600242
2019-12-10T21:01:30
2019-12-10T21:01:30
227,214,730
1
0
null
null
null
null
UTF-8
Python
false
false
8,674
py
import unittest import subprocess import requests import sys import random import time hostname = 'localhost' # Windows and Mac users can change this to the docker vm ip contname = 'assignment2' # Set your container name here sudo = '' # Make the value of this variable sudo if you need sudo to start contai...
[ "noreply@github.com" ]
noreply@github.com
ece759fdcf364aee9bac00ef45bc29d76de11e30
22920aa73ed7f39c36094d4e15cb8a7d04e1fde8
/Yelp Data Analysis/Analysis.py
f91a793ad5c920e54eb92e9cf3b757e31bc7aab8
[]
no_license
harrykrish/Yelp-Data-Analysis
3bf899ed955eb73465baf6b46253bd94b0fb0583
79c67a2fd3bf8dafc946c7046078cb3054a35a50
refs/heads/master
2021-01-12T04:18:56.352912
2017-05-02T06:50:05
2017-05-02T06:50:05
77,580,349
0
8
null
null
null
null
UTF-8
Python
false
false
1,856
py
import argparse import os import pandas as pd import seaborn as sns print('Enter the case number of the analysis you want to perform') analysisno=input('Case 1: You want to know the restaurants,hotels and attractions per capita for a city?\nCase 2: Feeling Hungry? Not to worry!!\nCase 3:Want to know the delacies of you...
[ "Harikrishna Ramakrishnan" ]
Harikrishna Ramakrishnan
aa1525f6d1ea094f0a919e17f3f9b91f95b66bc6
ca62df98359ba3d026c83cc562ece194534bb142
/plugins/wikipedia.py
7ff0578c67f0879bb0f5dae3128d7f687ed124c1
[]
no_license
diethnis/Bruh
663251130c01dcbf0cd36fe47c6705740114a169
36baa85226228daf45ba250fd337a9de61747792
refs/heads/master
2021-01-17T21:51:32.695611
2015-03-22T04:36:38
2015-03-22T04:36:38
32,660,540
0
0
null
2015-03-22T04:36:39
2015-03-22T03:36:33
Python
UTF-8
Python
false
false
1,681
py
import json from urllib.parse import quote_plus from urllib.request import urlopen from re import sub from bruh import command def wikisearch(irc, msg): try: url = "https://en.wikipedia.org/w/api.php?action=query&list=search&srsearch={}&srprop=timestamp&format=json" query = json.loads(urlopen(url...
[ "reisen@morphism.org" ]
reisen@morphism.org
162e921c3a9621f4f8e877078a58211b9278b0a5
f6bba50fccc6fb0dae2f046193434cfb4b9d32d5
/121/A.py
9289baf98b8a4ddbe3c1fee1117da72c3e424709
[]
no_license
seven320/AtCoder
4c26723d20004fe46ce118b882faabc05066841c
45e301e330e817f1ace4be4088d3babe18588170
refs/heads/master
2021-11-22T22:57:32.290504
2021-10-24T09:15:12
2021-10-24T09:15:12
162,827,473
2
0
null
null
null
null
UTF-8
Python
false
false
177
py
# encoding:utf-8 import copy import numpy as np import random H,W = map(int,input().split()) h,w = map(int,input().split()) ans = H*W ans -= (h*W+H*w) ans += h*w print(ans)
[ "yosyuaomenw@yahoo.co.jp" ]
yosyuaomenw@yahoo.co.jp
aac8cdb0a19d0e20317b760efbf4f99fb5dfd23d
afc3ba9020c2c90057306df2b176807567eef7ec
/conjugate_gradient_0.01.py
636e5ac717b6b8fbb482a53a3a0c67564e1c6db7
[]
no_license
AspirinCode/PSPD_minimization
f0bde87d65e1cec8714df63425c67bdb97972573
bd1a46a5e6f0ff8795dd549105b7527ba4699a6f
refs/heads/master
2022-04-10T16:13:33.298802
2020-02-21T21:26:41
2020-02-21T21:26:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,562
py
from minimization.minimization_options import * import argparse import numpy as np if __name__ == '__main__': # command parsing parser = argparse.ArgumentParser() parser.add_argument( "-i", "--pdb", help='Initial pdb file' ) args = parser.parse_args() # initialize pyrosetta init...
[ "mikegao95@gmail.com" ]
mikegao95@gmail.com
3e8cea7402ce536742be5bf04921d105997596a0
2f02f09ab64c49c1f46e87d034e34c56bf9a2312
/lfctestdjango/west/urls.py
02a719d71b610605ef52e182e6b60f35cb002721
[]
no_license
lifucaigithub/test
8500e1b90543c75d551b420b90d577e6d4bb6b45
1aadb0bff0139fd0f3f8da7b91622696c82bf6f3
refs/heads/master
2021-05-12T13:48:10.148674
2018-01-10T09:46:59
2018-01-10T09:46:59
116,939,176
0
0
null
null
null
null
UTF-8
Python
false
false
1,034
py
"""lfctestdjango URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.10/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Cl...
[ "lifucai@g7.com.cn" ]
lifucai@g7.com.cn
cfe59c92f975ddbdf6089ab7e2d03d429d14d7ae
1637ca9a225766ea6c2d0769a66738d6fb5cfea7
/main.py
afd98ba0313f058035411588f9f8cd6261fc4ba7
[]
no_license
NbpZarco/Discord-Server-Cloner
569c5b9eadb2eef688bcc4afc945def68c492c3d
7f6f3a704431e2191eb1a26483d803818c50b06f
refs/heads/main
2023-09-02T13:56:52.129235
2021-11-20T16:22:04
2021-11-20T16:22:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,905
py
import os import discord from discord.ext import commands import asyncio import logging import random from colorama import Fore import requests import json import datetime import random import threading import random import time import threading token = input("\033[0;96m[~\033[0;96m] \033[0;96mTOKE...
[ "noreply@github.com" ]
noreply@github.com
a8900822d7304576a7b117aea8738776f84b8cfc
ae7c6bf729fc4527cfbb7b29bd4dee77b01584c4
/chicago/zip_codes.py
13725efc7dab3c1d18c9c420fa3d06d984a02a04
[]
no_license
ghing/python-chicago
61fd2639160bf1092d7bcfbc1101dc8428764042
4fefb221bca83d55e6c6eb7bae4b90149acf7c57
refs/heads/master
2021-01-13T04:33:02.289631
2017-01-20T22:13:53
2017-01-20T22:13:53
79,591,829
0
0
null
2017-01-20T19:44:17
2017-01-20T19:44:17
null
UTF-8
Python
false
false
998
py
import os.path import six from .base import Model, Collection, DATA_DIRECTORY ZIP_CODE_GEOJSON_PATH = os.path.join(DATA_DIRECTORY, 'chicago_zip_codes.geojson') class ZipCode(Model): fields = [ 'zip', ] def __str__(self): return self.zip def __repr__(self): return "ZipCode(...
[ "geoffhing@gmail.com" ]
geoffhing@gmail.com
a934cc54bca28400e069269d8f87d58ea865e6c1
9be8fefabecddbb44959acf247ea7513066c2a46
/FacialRecognition/03_face_recognition.py
495153a1643f5020e9aaed8aa06507023a02390f
[]
no_license
Teerapatr/FacialRecognition
083949e730a850ed7a6b6e9349b77065574ca049
cef2d44518ca4cde8d4a371bff11d3b66beb2da0
refs/heads/master
2020-06-14T10:12:23.610473
2019-07-03T06:41:57
2019-07-03T06:41:57
194,978,037
0
0
null
null
null
null
UTF-8
Python
false
false
2,842
py
'''' Real Time Face Recogition ==> Each face stored on dataset/ dir, should have a unique numeric integer ID as 1, 2, 3, etc ==> LBPH computed model (trained faces) should be on trainer/ dir Based on original code by Anirban Kar: https://github.com/thecodacus/Face-Recognition Developed by ...
[ "teerpatr6@gmail.com" ]
teerpatr6@gmail.com
d39063fe831b550fc02fc674df6797f6774dc2af
2b4af8810511b5f1ed47fdf5662753b9b4af76b8
/custom/enikshay/private_sector_datamigration/migrations/0003_auto_20170513_1805.py
fbfb08937806346ac17af7cf5bbc2706612319a5
[]
no_license
DeckOfPandas/commcare-wddcp
55bde89197ec5bc4a4b53d327ec6a811aec0d752
810d2e09d3890e3d0d70178745da5924c1db767b
refs/heads/dimagi
2020-12-02T19:19:53.992796
2017-06-30T15:18:16
2017-07-05T12:23:26
96,325,707
1
0
null
2017-07-05T14:02:49
2017-07-05T14:02:49
null
UTF-8
Python
false
false
477
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.7 on 2017-05-13 18:05 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('private_sector_datamigration', '0002_auto_20170512_1919'), ] operations = [ ...
[ "npellegrino@dimagi.com" ]
npellegrino@dimagi.com
cf21813b0c00288ad8c300ca963cc361e1909799
c6b033987e04a024a625fa461d8167c64b5d0912
/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/build/config.gypi
8527442f4cffb7054a585adc15ef2fa76aaa7d9d
[ "MIT" ]
permissive
ericjhlee/chatroom
80e96bb1ec459afdf95d7e43375b7bf68b32dc07
e15fb7bf2c3eb6cfdc65de23c9c11c2c2295a85a
refs/heads/master
2020-05-20T13:21:56.058362
2014-06-28T05:30:26
2014-06-28T05:30:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,138
gypi
# Do not edit. File was generated by node-gyp's "configure" step { "target_defaults": { "cflags": [], "default_configuration": "Release", "defines": [], "include_dirs": [], "libraries": [] }, "variables": { "clang": 1, "host_arch": "x64", "node_install_npm": "true", "node_prefi...
[ "eric_lee93@hotmail.com" ]
eric_lee93@hotmail.com
6f5e16f53ab683703a06734fc22b9e6dd2a587f1
1b8a21352de8a2d9d6d7a528f6519327a06c1eb9
/categories/admin.py
ec69cf201ecc5288882adf0bb5a8085b63243e9d
[]
no_license
elcidon/projeto_blog
5172505d5d5e9cfea126447b2211feb82d8901d7
87a1c608024512b96563c8d8d39b35bf3e797bc9
refs/heads/master
2022-12-28T07:53:24.914362
2020-10-15T10:16:11
2020-10-15T10:16:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
221
py
from django.contrib import admin from .models import Category @admin.register(Category) class CategoryAdmin(admin.ModelAdmin): list_display = ('id', 'category_name') list_display_links = ('id', 'category_name')
[ "erickfabiani123@gmail.com" ]
erickfabiani123@gmail.com
2763e34073e5b3b98d1d742f3eca58e5d18d03d5
8210497f809634e54adb30050944e9be1076eb34
/excel_merging.py
10f070ad4fd46e237ae125ea983d67171e47dd3f
[]
no_license
eugene27091/excelMerge
b73452a8f3552c678fa47032d9214c5292dc03d1
cf99a7000abfd333a5857aa3ffe6d21c3a0139c6
refs/heads/main
2023-07-13T10:13:14.666939
2021-08-22T12:17:12
2021-08-22T12:17:12
395,188,829
0
0
null
null
null
null
UTF-8
Python
false
false
1,163
py
import pandas as pd import glob import os input_file = r'C:/Users/EUGENE/PycharmProjects/dogpre_final' # csv파일들이 있는 디렉토리 위치 output_file = r'C:/Users/EUGENE/PycharmProjects/dogpre_final/7p_Merged2.csv' # 병합하고 저장하려는 파일명 allFile_list = sorted(glob.glob(os.path.join(input_file, '7p_*'))) # glob함수로 sales_로 시작하는 ...
[ "noreply@github.com" ]
noreply@github.com
3253aed2160ec45e0f4cdee35bfe3fe07e0a205c
74df00f7378156718caee9100b9e3bb712a37232
/model.py
17f0add51f2fe134024ddb39363f25bb3f9eb968
[ "Apache-2.0" ]
permissive
GodXuxilie/DatabaseSystem
56e7456937751314a5b74c1d04d30828ea34624d
81a9aaaef3c1d9fc66c8189d6fda08879b2142ae
refs/heads/master
2022-11-13T13:48:13.095566
2020-06-27T11:50:14
2020-06-27T11:50:14
270,658,211
3
2
null
null
null
null
UTF-8
Python
false
false
4,437
py
import torch.nn as nn import torch from torch.autograd import Variable class Movie_Recommendation_Model(nn.Module): def __init__(self, uid_max, gender_max, age_max, job_max, movie_id_max, movie_categories_max, movie_title_max): super(Movie_Recommendation_Model, self).__init__() self.uid_max = uid_...
[ "noreply@github.com" ]
noreply@github.com
9375fb7d93fe08316c36a852a86fe39bc8689c46
8d1a4d8a66e5ef4fd49e448388d8f2afeb6ae72e
/easy/page1/removeElement.py
fad69597e33c698fdbeaa3ce3f0152d179a2d3cb
[]
no_license
Taku-orand/practice_alg
3ae0d66daa48ffdd72ce4f1e1648467f0c2c2636
7bbc6b34bf80916a0a9422be91ad1a7c7119d689
refs/heads/master
2023-06-14T06:22:46.883127
2021-07-08T14:18:29
2021-07-08T14:18:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
214
py
class Solution: def removeElement(self, nums: List[int], val: int) -> int: j = 0 for i in range(len(nums)): if val != nums[i]: nums[j] = nums[i] j += 1 return j + 1
[ "uoastudent182@gmail.com" ]
uoastudent182@gmail.com
4ac2ea1c7913b5b9e953c02bb2e83369432dcabd
53c71d518c4a94bb617572a02f2cb7ddecf19f0f
/gmmp/migrations/0004_specialquestions.py
0f1d0ea9b2526c82a37d6cf2ed68c09874f8df7e
[ "Apache-2.0" ]
permissive
CodeForAfrica/gmmp
aad53666facfd19761d49f0fb5dfc5f148598485
37ce836f1be2c338b66d3b75a3cdb0e9bff855bc
refs/heads/master
2023-04-06T06:49:20.547521
2023-03-22T05:17:08
2023-03-22T05:17:08
221,116,593
6
2
Apache-2.0
2023-03-22T05:17:09
2019-11-12T02:53:59
Python
UTF-8
Python
false
false
999
py
# Generated by Django 2.2.15 on 2020-09-01 05:39 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django_countries.fields class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ...
[ "esirkings@gmail.com" ]
esirkings@gmail.com
3192468b3d6d4a4e049545f1a74508b86d451062
aa0270b351402e421631ebc8b51e528448302fab
/sdk/paloaltonetworks/azure-mgmt-paloaltonetworksngfw/generated_samples/fqdn_list_local_rulestack_create_or_update_maximum_set_gen.py
755d0412200bb3a98af329c57e98ac8474ced4c4
[ "MIT", "LGPL-2.1-or-later", "LicenseRef-scancode-generic-cla" ]
permissive
fangchen0601/azure-sdk-for-python
d04a22109d0ff8ff209c82e4154b7169b6cb2e53
c2e11d6682e368b2f062e714490d2de42e1fed36
refs/heads/master
2023-05-11T16:53:26.317418
2023-05-04T20:02:16
2023-05-04T20:02:16
300,440,803
0
0
MIT
2020-10-16T18:45:29
2020-10-01T22:27:56
null
UTF-8
Python
false
false
2,048
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
421f97dd87af1238a1a021be8b92225457a87c71
8c7c48b9c3e00309730452ac12c63d7f09ed5411
/Mix/St - Caesar.py
6df86d614228087cf82ab6627eca1573c8d3ca12
[]
no_license
eugennix/python
dfe12bdb9b7a4e0d5d33722235aca02f1eb45caf
43fdbf0565080abe296a8c93cef5142a57e77be4
refs/heads/master
2023-05-11T23:30:42.080518
2023-04-30T09:36:31
2023-04-30T09:36:31
211,489,061
0
0
null
null
null
null
UTF-8
Python
false
false
2,538
py
''' Шифр Цезаря заключается в замене каждого символа входной строки на символ, находящийся на несколько позиций левее или правее его в алфавите. Для всех символов сдвиг один и тот же. Сдвиг циклический, т.е. если к последнему символу алфавита применить единичный сдвиг, то он заменится на первый символ, и наобор...
[ "eugennix@gmail.com" ]
eugennix@gmail.com
90c3c58e70de2915b6742891f95b33d801bf3cf2
3beadcd5aafd8672b216698679b90b51662d045a
/pip_all.py
c03f5de6dc70dd3c6dbca360de0251b7297c6a5c
[]
no_license
sherifrad/pipall
27ced6387bf3c56a1c0644d67e7e11bf1077b34b
8f0c8de77fa3b5f1ecacbc0c8e15f1da1c1202f0
refs/heads/master
2020-04-04T21:44:14.967525
2018-11-05T23:24:23
2018-11-05T23:24:23
156,296,582
1
0
null
null
null
null
UTF-8
Python
false
false
1,196
py
# coding: utf-8 import subprocess import re cmd = ['pip', 'freeze'] process = subprocess.check_output(cmd).decode('utf-8') # list of packages with version eg: ['alembi==1.0.0', 'sqlalchemy==1.3.1'] prcs_result = process.split('\n') pkgs = [] # packages list without version. eg: ['alembi', 'sqlalchemy'] pattern = "[^...
[ "dr.sherif1992@gmail.com" ]
dr.sherif1992@gmail.com
bddebbd32e852d0e78f101ad47fc40fa5437ec3a
aeb83cf95ae58bd0bef1e980809ea89986de1352
/aircraft_framework_win/framework_Bento_win/cl_max_2D.py
4b640c2624a936960e5a5f1dc9c3e762f2bd58b7
[ "Apache-2.0" ]
permissive
AlejandroRios/IAANDOCAC-aircraft-framework
38e58f811a03120fc262ae277b5073ce8a99b382
9768e9736af70e20e8ef1cc0ad6501f3a28dbb47
refs/heads/master
2023-02-28T06:23:17.815882
2021-01-31T21:47:47
2021-01-31T21:47:47
288,756,770
0
0
null
null
null
null
UTF-8
Python
false
false
2,099
py
"""" Function : cl_max_2D.py Title : Section Clmax Written by: Alejandro Rios Date : November/2019 Last edit : August/2020 Language : Python Aeronautical Institute of Technology - Airbus Brazil Description: - This module calculate the 2D clmax for each aifoil of the wing segments Future implementation...
[ "aarc.88@gmail.com" ]
aarc.88@gmail.com
d06630cf81232023174df9252ae937d2052d68b5
38bfac0f40db918498de7be7e02970dc94c26fc3
/找质数.py
427ff855716d124edfc7cf5fc4dfd57d0ede6d96
[]
no_license
Wu2406/Ideas
b73b91522bc39e0ccae86d6a6649e838a0450dd8
a30a786f29c051e74be988e74013a360b3c935dc
refs/heads/main
2023-07-15T22:09:26.674177
2021-08-16T09:50:00
2021-08-16T09:50:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
206
py
for i in range(2,10000): for j in range(3,10): while i % j != 0: j = j + 1 if j > int(j**0.5): print(i)
[ "wuyoualan@126.com" ]
wuyoualan@126.com
73387bc01717247899d73d29347c88b4edce05cf
8caf432c0b337326e67d8d653006fcd87a10c120
/RNN_Text_Classify-master/RNN_Text_Classify-master/data_helper.py
3156e7a267605d8a7c1ed581b97d3cb239c1b246
[ "Apache-2.0" ]
permissive
a550461053/BDCI2017-360
c78c00ca296d0baea188ae7fc577d0c2f5f0e60d
eb6d7dffb0e83e5ad80a21d8d5fd3ae9467a4379
refs/heads/master
2021-08-29T12:37:19.702425
2017-12-14T01:44:13
2017-12-14T01:44:13
112,309,516
7
4
null
null
null
null
UTF-8
Python
false
false
18,128
py
""" description: this file helps to load raw file and gennerate batch x,y author:luchi date:22/11/2016 """ import numpy as np import pickle as pkl from gensim.models import word2vec def loadWord2Vec(filename): vocab, embd = [], [] model_ = word2vec.Word2Vec.load(filename) # 2.1 导出权重 weight = model_....
[ "a550461053@qq.com" ]
a550461053@qq.com
84f0f8092f81b651d958dbf77cda36576cc605bd
605c10db2f950a506af60d57a2074f97ebcf89ab
/code/PROJECT/data_collection/tools/tool_clip_text.py
8e05a495532ed234d8027f39ebae50d4b03c5f0e
[]
no_license
MulongXie/Research-ReverselyGeneratingWebCode
928f90d6b4f80ebff40a9a3a48f8b564277a0987
2c1598a765166f30786b0e6a22c485358ca2e98d
refs/heads/master
2020-05-17T18:14:02.241209
2020-04-10T00:19:16
2020-04-10T00:19:16
183,857,077
0
3
null
2020-02-03T04:31:34
2019-04-28T04:51:24
Python
UTF-8
Python
false
false
2,437
py
import pytesseract as pyt import cv2 import numpy as np import glob from os.path import join as pjoin ROOT_CLEAN_IMG = 'E:\Mulong\Datasets\dataset_webpage\page10000\ip_img_clean' ROOT_OUTPUT = "E:/Mulong/Datasets/dataset_webpage/elements/text" def clipping(img, corners, output_root=ROOT_OUTPUT, pad=False, show_clip=...
[ "dsh15325@163.com" ]
dsh15325@163.com
e4d7c8ef2e1272b0abbf1efc61ed28459dc3921f
41e5e8424c7207b7a48712479d7325b182314658
/03.07/cadastro.py
d8741ed0b9d4adbde77f62fb9ce69f2f8c6c918c
[]
no_license
rodrigor/introProg-2015.1
efac08204ab732039faa0cbf80af5b173716e779
474d097df0e3ef60b0eb90d58142f1f9ff7d773c
refs/heads/master
2021-01-21T13:25:37.055653
2016-05-30T13:02:32
2016-05-30T13:02:32
52,787,907
4
0
null
null
null
null
UTF-8
Python
false
false
138
py
nomes = [] nomes.append("Joao") nomes.append("Maria") nomes.append("Jose") nomes.append("Filismina") for nome in nomes: print(nome)
[ "rodrigor@dcx.ufpb.br" ]
rodrigor@dcx.ufpb.br
ffc913ac274984b687fba1e23716572ced7bbd7b
fc861233f2ae31f3cdf312e5ca8d68029e811f69
/arrays/SuperWashingMachine_HARD.py
d07ff21678abb6b5f9300ede6cf7a6089d3f2b78
[]
no_license
QuentinDuval/PythonExperiments
20fc54d98ff6e4131975809c32cf8844ff2a8ecb
3ffcfee5cedf421d5de6d0dec4ba53b0eecbbff8
refs/heads/master
2021-07-26T21:24:18.324350
2020-05-02T08:11:58
2020-05-02T08:11:58
163,210,028
3
0
null
null
null
null
UTF-8
Python
false
false
2,749
py
""" https://leetcode.com/problems/super-washing-machines/ You have n super washing machines on a line. Initially, each washing machine has some dresses or is empty. For each move, you could choose any m (1 ≤ m ≤ n) washing machines, and pass one dress of each washing machine to one of its adjacent washing machines at...
[ "senmenty@gmail.com" ]
senmenty@gmail.com
ffcaeac98202cabcc7de9239e976408589ad2a24
b7bf93fc21ba8eec04d6f24e79689dd7bb989770
/test/functional/p2p_node_network_limited.py
84d7213b4cad926cabd2f4fcbe678d02664e31d6
[ "MIT" ]
permissive
onuratakan/bitracoin
cd3ab809af1ce9e245b2fecf59e1421e1e427f90
1d73e0b6352d29066706ac4033dc7b4711246883
refs/heads/main
2023-04-09T03:10:58.075426
2021-04-16T22:06:06
2021-04-16T22:06:06
358,728,118
0
0
MIT
2021-04-16T22:06:07
2021-04-16T21:54:02
null
UTF-8
Python
false
false
5,030
py
#!/usr/bin/env python3 # Copyright (c) 2017-2018 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Tests NODE_NETWORK_LIMITED. Tests that a node configured with -prune=550 signals NODE_NETWORK_LI...
[ "binosaurcoin@gmail.com" ]
binosaurcoin@gmail.com
1d7cc1b5cf1555580a43eeb2fba2b8c6d5b43908
eed5204d3a6caf27a9a70318ee5db3bd9be1c704
/config_default.py
1f687975d6de184f8f97f55ddbad9cc0ae9f573c
[]
no_license
smhigley/Flaskblog
187d16aa70e15bca45f6c36ca85f1dc0946e4318
3de7281e114b5af3a3cfb7c1983c46b133e13717
refs/heads/master
2021-01-22T23:26:09.847122
2016-01-20T07:01:48
2016-01-20T07:01:48
38,000,728
1
0
null
null
null
null
UTF-8
Python
false
false
555
py
import os basedir = os.path.abspath(os.path.dirname(__file__)) # WTF Forms settings WTF_CSRF_ENABLED = True SECRET_KEY = '' # Flask-Oauth settings FACEBOOK_APP_ID = '' FACEBOOK_APP_SECRET = '' # Database settings, using SQLAlchemy SQLALCHEMY_DATABASE_URI = '' SQLALCHEMY_MIGRATE_REPO = '' # Current Map Location loca...
[ "sarahmhigley@gmail.com" ]
sarahmhigley@gmail.com
7f008b3d222e693347ccceb3fd885446777317f0
61ff7de6fb00e9adb4c0479bec8d01661808098c
/spellcheck.py
914c5cfb77bad0e519e043ee1431eaedce434020
[]
no_license
SNaveenMathew/TextMining
da017ae8ae74b91685716c57a1b34138ef364b39
614cd86a4972e89319ffd414255ec5e6cfd95286
refs/heads/master
2021-05-07T17:23:00.062701
2019-01-20T00:25:39
2019-01-20T00:25:39
108,678,010
2
0
null
null
null
null
UTF-8
Python
false
false
3,912
py
import re, collections, sys from misspell import Misspell # re - Python Library for Regular Expressions # collections - Python Library for High Performance Container Datatypes # Spell Check program using algorithm originally # summarized by Dr. Peter Norvig. # src: http://norvig.com/spell-correct.html # additional s...
[ "naveen.nathan@tredence.com" ]
naveen.nathan@tredence.com
04b3141ac0be4dac4a8bece2c99868c77ef0d2f2
47efd93db059bb330ab1d76b7ad3ae4dd1a4ed38
/txfb/authentication.py
1dd61b22ed17bdffae7ebc5e07af4f2bbb14ae6e
[]
no_license
davidstrauss/imbored
ff010f7430ad17311c76f0e6fe6ae78e0e135845
b989c3dde4ccbb5c8e0c435ec73d38c529423159
refs/heads/master
2020-04-05T23:41:57.647024
2012-06-24T04:18:45
2012-06-24T04:18:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,927
py
from zope.interface import Interface, Attribute, implements from twisted.python.components import registerAdapter from twisted.web.server import Session, NOT_DONE_YET from twisted.web.resource import Resource from twisted.python import log from twisted.internet import defer, reactor import uuid import urllib import ur...
[ "david@davidstrauss.net" ]
david@davidstrauss.net
6ae7560c7fe931a9cb233dbb80213d11ee6f4c7f
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p04001/s207133170.py
880c6edc03d8bb2cff7f1a58a4507040bed759aa
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
701
py
S = input() # TODO: 再帰関数でリストを作成 [s1, "+", s2, s3, "+", s4]とか result = [] def dfs(i, list): if i == len(S): result.append(list) return else: if i == len(S) - 1: return dfs(i+1, list+[S[i]]) else: return dfs(i+1, list+[S[i]]), dfs(i+1, list+[S[i], "+"]) # ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
76c095105d1f213f60507f16ca47a1c56327f9fc
12211f16644211de30b7151bdcd0d29350f53835
/nbs/lib/nb_03.py
f33ea8697ecdba8f68bf28da9e88b6b67fda038a
[]
no_license
letsdodatascience/research-lib
a8dd05fd2ff3390fe59165009c2911af4ca5e47b
2bec49ddabe18e8f3f422bca8c625d36977a7fa3
refs/heads/master
2020-05-19T09:41:31.254843
2019-06-01T20:04:12
2019-06-01T20:04:12
184,953,745
0
0
null
null
null
null
UTF-8
Python
false
false
4,706
py
################################################# ### THIS FILE WAS AUTOGENERATED! DO NOT EDIT! ### ################################################# # file to edit: dev_nb/03_optimizers.ipynb from lib.nb_02a import * def sgd_step(p, lr, **kwargs): p.data.add_(-lr, p.grad.data) return p def weight_decay(p, ...
[ "vineet1.singh@citi.com" ]
vineet1.singh@citi.com
fec0e3eb2b303f74fce97532edb58ccc325da797
119242ec020d2a935860ae7048963d4b724e55a5
/test.py
4690d8a0b7517554a9eb71b3854962b930b0e847
[]
no_license
pacharaphol/printlotto
fdfae1c964a2af43fccca4c293dafa3ba51bb796
276e33284e639bdcff5c6ff436aca304e19e1d6f
refs/heads/master
2021-01-12T08:34:21.279318
2016-12-16T03:14:00
2016-12-16T03:14:00
76,614,470
0
0
null
null
null
null
UTF-8
Python
false
false
37
py
import random random.randint(0, 100)
[ "noreply@github.com" ]
noreply@github.com
d1000a10105d7dc92f07ddc2e42f0a0b8cefa317
78379964ec1ed0d962eba7614c6a9d659f05a8c1
/run.py
d8c880510128ca98c132a382080cb171ec8c3729
[]
no_license
kushaldas/nlogcmd
dd9124f6cd33f3aca7d89dfd8c3fae8bac935b2b
71362dd5ecd3c49bf517ff63963809a3dbdc605e
refs/heads/master
2022-08-06T03:44:01.422542
2020-05-25T14:59:04
2020-05-25T14:59:04
266,799,399
0
0
null
null
null
null
UTF-8
Python
false
false
64
py
from nlogcmd import main if __name__ == "__main__": main()
[ "mail@kushaldas.in" ]
mail@kushaldas.in
c74f7972df03e772c45471dfc507ca6f5efa0d51
e0c8662a56d89730043146ddc340e9e0b9f7de72
/plugin/118a320c-1596.py
3205edb6500e7b3aae3542131bb1317f8a8cac3c
[]
no_license
izj007/bugscan_poc
f2ef5903b30b15c230b292a1ff2dc6cea6836940
4490f3c36d4033bdef380577333722deed7bc758
refs/heads/master
2020-09-22T17:20:50.408078
2019-01-18T09:42:47
2019-01-18T09:42:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,609
py
#coding:utf-8 from lib.curl import * # -*- coding: utf-8 -*- #__Author__ = treeoph import re,urlparse def assign(service, arg): if service=='strongsoft': return True,arg def audit(arg): p=urlparse.urlparse(arg) raw='''POST /SysManage/AjaxHandler/UploadHandler.ashx HTTP/1.1 Host: {netloc} Content-Le...
[ "yudekui@wsmtec.com" ]
yudekui@wsmtec.com
26f16c41af762194b2801125a00e8332668fd4a6
d61a343613289d64b01ba161f545dd4a07762ba7
/sr_blockly_blocks/generators/python/scripts/arm_joint_target.py
1e17cfb8bff02a4c3cfef597c0b7562acbc9cbec
[]
no_license
ThoMut/sr_blockly
c045e7d458de48ad3b190c7d333cb90d39171616
1c51f151e10fcfcb49daf53c8c39c06f65c1da1f
refs/heads/master
2021-01-19T02:31:47.943549
2017-02-06T16:36:32
2017-02-06T16:36:32
87,287,371
0
0
null
2017-04-05T08:47:41
2017-04-05T08:47:40
null
UTF-8
Python
false
false
424
py
import ast if joint_goal == 'joint_angles': arm_commander.move_to_joint_value_target_unsafe(ast.literal_eval(joint_pose_target), time_to_target, wait=wait, angle_degrees=angle) else: joints = arm_commander.get_named_target_joint_values(joint_pose_target) ...
[ "kirsty@shadowrobot.com" ]
kirsty@shadowrobot.com
0f889217e3efbc4508de4291c5b0150ca54e13f7
311d889ca8e63ea6ce50dc9d7e75052bd2b4c405
/sysidentification/coupling/new_coupling/coupling_simulation_results.py
27ef40d4def9c109c6245690cb6d1f6f520f1ebd
[]
no_license
NayaBaslan/system_identification_COVID19
87776e32daf7b95f1cc3bb6429dcdad0e43fdf5f
d660edccc832cf06f55fd7d1d9de83b0dfa0329a
refs/heads/main
2023-06-01T01:40:03.796850
2021-07-06T11:17:32
2021-07-06T11:17:32
383,439,966
0
0
null
null
null
null
UTF-8
Python
false
false
7,085
py
from casadi import * import numpy as np import pandas as pd import matplotlib.pyplot as plt import pdb import os from plots_utils_coupling import * month = "August" start = 13 + 20 start = 13 N = 17 # max = 37 alpha_reg 1e9 N = 37 # N = 5 age_groups = 9 weeks_num = [13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25...
[ "naya.baslan@hotmail.com" ]
naya.baslan@hotmail.com
6fd1bc8561edeed5dde10eeb8c10157d7a6e4766
8f4d45d2523c57291ce4dc7a42b63d7e58912931
/admin_resumable/urls.py
98e0b54af77b5998c8ac3ae6bc5670028fb4ab2c
[]
no_license
kuuba/resup
c248b1117a1b3b6a9803565a9ad9b3fd036ee66a
5170874819426186cdbac325f8f3e78661941c26
refs/heads/master
2020-05-19T08:50:00.746140
2014-04-30T16:00:45
2014-04-30T16:00:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
154
py
from django.conf.urls import patterns, url urlpatterns = patterns('', url(r'^$', 'admin_resumable.views.admin_resumable', name='admin_resumable'), )
[ "tiivel@gmail.com" ]
tiivel@gmail.com
8009627e4cd0e856993524424b9b9897c46be53e
4833770a61eadea393d68321e8e814a022d466bd
/ExportToExcel.py
ac42f161a830c50eaa5daa449d14b00e8febf054
[]
no_license
warm-nova/Auto_RenameRender
827e2f220d6d14ccdf57a80abbe191ae6919d8ba
4aa06a2c3343b76b05c5dd3e2f2d4c7c8c85f0ec
refs/heads/master
2020-05-22T12:26:35.217778
2019-05-13T03:22:26
2019-05-13T03:22:26
186,338,381
0
0
null
null
null
null
UTF-8
Python
false
false
459
py
import os import csv pic_folder = input("请输入保存图片的文件夹路径:") out = open("pictureListOutput.csv",'a',newline='') csv_write = csv.writer(out) for path,childpath,files in os.walk(pic_folder): for i in range(len(files)): if files[i][-3:] == 'jpg' or files[i][-3:] == 'JPG' or files[i][-3:] == 'png' or files[i][-3...
[ "mig_davidli@163.com" ]
mig_davidli@163.com
626a4d10d7b29271ed92d511a73c67b98affecb1
bf8f377422db9954b81cc44259f0450f7799541d
/pawn_stars/wsgi.py
7db541520d3b5221158eb09ea6282ea4bf8a8fdb
[ "MIT" ]
permissive
team-pawn-stars/PawnStars-Backend
c7acaaa10fa2f40f77822e5a99af0a9890797471
b1ea9d29adea65b3004555386b51e488460d1b30
refs/heads/master
2020-05-04T13:55:34.080903
2019-06-13T12:59:55
2019-06-13T12:59:55
179,179,127
0
0
null
null
null
null
UTF-8
Python
false
false
397
py
""" WSGI config for pawn_stars project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.0/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_SE...
[ "python@istruly.sexy" ]
python@istruly.sexy
2cbb11a7810ebd3eb98e6c46bbbc47d594bf0cdf
4b9bcbcb43ae349c802de330c1da2b97f9f4d52f
/Bird(Incomplete).py
b518ea3126079c429f39cac632c76a4a6af0caa0
[]
no_license
youbrajrai/Games
a57ff06e004bca20a85f725c083f724a0b17f4d3
236d775e4db970dbedb7cad90432f3ed67a676ea
refs/heads/master
2021-03-30T03:16:46.041341
2020-03-17T15:55:43
2020-03-17T15:55:43
248,010,659
0
0
null
null
null
null
UTF-8
Python
false
false
2,584
py
import pygame import math import random pygame.init() clock=pygame.time.Clock() width=500 height=500 win=pygame.display.set_mode((width,height)) class obj(object): def __init__(self, x,y): self.x=x self.y=y self.gravity=1.2 self.velocity=0 self.lift=-0.012 def up(self): self.velocity+=self...
[ "noreply@github.com" ]
noreply@github.com
6f2631f5eef82a00c9deef7d8ae9e57016609ef8
7b4808f6244a61e99a7ff90d1dda8a2d09ace09f
/com/yiyi/learn_sklearn/lesson01.py
7019a86dd99918956bea82a9ae159c2a1a2e8bf6
[]
no_license
yiyisf/SKLearn
9612269c914fe2aad244bfd28fd04cd7f3d1a23c
23cabbc57cf09470a58396d6eb6e5690e9c09803
refs/heads/master
2021-01-19T19:54:27.417810
2017-04-25T03:03:18
2017-04-25T03:03:18
88,461,510
0
0
null
null
null
null
UTF-8
Python
false
false
372
py
import matplotlib.pyplot as plt from sklearn import datasets from sklearn import svm digits = datasets.load_digits() clf = svm.SVC(gamma=0.001, C=100) X,y = digits.data[:-10], digits.target[:-10] clf.fit(X,y) # print(clf.predict(digits.data[-5])) print(clf.predict(digits.data[-4])) plt.imshow(digits.images[-4], cma...
[ "slys12345" ]
slys12345
c9d48bed17c1a432a17e9ded5ee224b95d8f1d44
51e13f58edabaae0904bdc4b78657cdd55b96366
/Bike.py
3e34d91e2c4111a068c4eca553a4841072df4922
[]
no_license
acheun1/01.Bike
ed4659914963de1b91b4d3a7cafe2087b5a992b5
010dc55ea987a47ad92e93690fbba52778d57936
refs/heads/master
2020-03-29T14:59:36.747062
2018-09-24T02:25:49
2018-09-24T02:25:49
150,040,031
0
0
null
null
null
null
UTF-8
Python
false
false
1,787
py
#Bike #2018 09 18 #Cheung Anthony # Create a new class called Bike with the following properties/attributes: # price # max_speed # miles # Create 3 instances of the Bike class. # displayInfo() - have this method display the bike's price, maximum speed, and the total miles. # ride() - have it display "Riding" on the s...
[ "anthonycheung2016@u.northwestern.edu" ]
anthonycheung2016@u.northwestern.edu
a6f1e4766479cbfb1f928f26e4c75f643c379f58
4ac0b3a021d7ba1f2b4354c957e667c5456e81af
/personalsite/urls.py
13674fe881717096ed4509ddd7f313c8169f1fa8
[]
no_license
jonesnl/personalwebsite
d61897ef8debcc219c2d22bce9fc05def8db3250
0b55cb641c7463d960a5bfe84969a181e7b5381d
refs/heads/master
2021-05-16T03:01:28.819134
2018-01-20T19:59:20
2018-01-20T19:59:20
13,892,265
0
1
null
null
null
null
UTF-8
Python
false
false
778
py
from django.conf.urls import include, url from django.contrib import admin from frontpage import views # Uncomment the next two lines to enable the admin: # from django.contrib import admin admin.autodiscover() urlpatterns = [url(r'^$', views.index, name='index'), url(r'^blog/', include('blog.urls')),...
[ "jonesnl@umich.edu" ]
jonesnl@umich.edu
c9f1824a4095b81466b56a6fb66a2c22ab729ed8
5ab06653f682144b355a5dd7fc4d4f2ce4295e80
/android_server/develop/HTTPServer.py
2162c26a130d79eef535002bef9a51144ee933c4
[]
no_license
chenhuanting/pythonSln
0d257529c613a109ce5a34218af337d8cd17255e
f8596624511c286abf6489b3e27d371eded7ab8e
refs/heads/master
2020-07-23T21:18:35.580848
2019-09-16T08:13:40
2019-09-16T08:13:40
207,708,871
0
0
null
null
null
null
UTF-8
Python
false
false
14,149
py
#!/usr/bin/python #coding:utf8 from flask import Flask, render_template, url_for, request,redirect,make_response,session ,jsonify,Response,json import os,pymysql,base64,datetime from Refer_DB import Refer_MYSQL import urllib from urllib import request as url_request import requests as http_request from io import Byte...
[ "2272650876@qq.com" ]
2272650876@qq.com
709eb35365d3a06bd9f24087e46777e7a7b37dee
2b255d07420114c40f6c8aeb0fb25228588282ed
/sitecomber/apps/config/management/commands/crawl_page.py
f50bc927ac3a48312f85620262611ccad9a81b10
[]
no_license
ninapavlich/sitecomber
b48b3ee055dac1f419c98f08fffe5e9dc44bd6e3
6f34e5bb96ca4c119f98ee90c88881e8ca3f6f06
refs/heads/master
2022-12-11T20:55:07.215804
2020-03-13T07:58:28
2020-03-13T07:58:28
197,045,165
1
0
null
2022-12-08T01:47:52
2019-07-15T17:42:31
JavaScript
UTF-8
Python
false
false
1,015
py
import logging from django.core.management.base import BaseCommand from django.core.exceptions import ObjectDoesNotExist from sitecomber.apps.results.models import PageResult logger = logging.getLogger('django') class Command(BaseCommand): """ Example Usage: Load and parse page result with primary key...
[ "nina@ninalp.com" ]
nina@ninalp.com
e8dd6a42a1f6eb6d94cefb986c43a7cd569be71b
48e08c7d5856c35492500b6b01d3d72a31f58ffc
/Leetcode/0051-0100/0086-partition-list.py
74ffde18be275050ee72f79c301933fb36d60ee1
[ "MIT" ]
permissive
MiKueen/Data-Structures-and-Algorithms
8d8730e539e1c112cbd4a51beae9e1c3e2184e63
8788bde5349f326aac0267531f39ac7a2a708ee6
refs/heads/master
2021-07-18T17:16:39.948239
2020-09-13T15:44:37
2020-09-13T15:44:37
212,309,543
0
1
MIT
2019-10-06T16:24:43
2019-10-02T10:19:07
Python
UTF-8
Python
false
false
1,079
py
''' Author : MiKueen Level : Medium Problem Statement : Partition List Given a linked list and a value x, partition it such that all nodes less than x come before nodes greater than or equal to x. You should preserve the original relative order of the nodes in each of the two partitions. Example: Input: head = 1->4->...
[ "keshvi2298@gmail.com" ]
keshvi2298@gmail.com
3cfa344fd5f4a113becb67dc506f55d5b6e80421
cfc6755ad8627bdcaf1f24a93226071412092ba6
/Conductance.py
65e291342df2dc48753f5f1ecb6fca7faf87637b
[]
no_license
HibbardJJ/PConductance
f5c8a2014c03280417a5751ee10b6e06c610f1cd
a7519aa5403e3e5e21142fbc23220e1c91bf34a7
refs/heads/master
2021-06-29T05:45:30.011910
2017-09-21T15:56:23
2017-09-21T15:56:23
104,368,247
0
0
null
null
null
null
UTF-8
Python
false
false
1,611
py
# -*- coding: utf-8 -*- """ Spyder Editor This is a temporary script file. """ import numpy as np "Constants" "Latent Heat of Vaporization for Water" L_w = 40.68 w_0 = 657959000 w_a = 11.99 T_w = 4982.85 number = 19 R_load = 135 def g_s(K_matrix,T_a,T_e): return (R_load+K_matrix*(T_a-T_e))/(L_w*(w_0*np.exp(-T_w...
[ "31393066+HibbardJJ@users.noreply.github.com" ]
31393066+HibbardJJ@users.noreply.github.com
58c0b95d752a1cb35fe77a104190da67ab2925e7
f6ea25823706fe7db053b69639c57431ffc7c8be
/Datacademy/venv/bin/pip
5c7c8fd81e8f939cc5339c0a391c385f819336c4
[]
no_license
BobbyJoeSmith3/Week10Hacks
6f57d34a16a01c6a019730539257910b878eef11
43aba9b979bc26ec118eb4af4b0d0149ee87461c
refs/heads/master
2021-01-18T13:42:34.055202
2014-06-26T15:36:50
2014-06-26T15:36:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
263
#!/home/bobbyjoesmith/Training/Week10/Week10Hacks/Datacademy/venv/bin/python # -*- coding: utf-8 -*- import re import sys from pip import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "bobbyjoe@codeforprogress.org" ]
bobbyjoe@codeforprogress.org
c377fb6c827517db67cf88da41ed063ac5af3054
c13c4499b624e5d2673423bfa0ce234d1fcf1412
/manage.py
0a5ca35669efc4617b15fd997d0a7fa4c283989b
[]
no_license
Vishaldara/Carzone
6c296718032a58d0253e6975e049aad5caf52455
9c7fb08ddeb30490e63e5546e9159d493fc54549
refs/heads/master
2021-01-19T20:43:06.202672
2017-04-17T18:34:29
2017-04-17T18:34:29
88,537,466
0
0
null
null
null
null
UTF-8
Python
false
false
805
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "carzone.settings") try: from django.core.management import execute_from_command_line except ImportError: # The above import may fail for some other reason. Ensure that the ...
[ "vishaldara@yahoo.com" ]
vishaldara@yahoo.com
9bb3a6be65a3a8d4af767b13ea3ff1c1dea07e65
f91354e58e965c182c9b6c09907bf59200ea266e
/lib/packet/ipv6.py
123ee33f74d978a6bd4587554cee6b818456a02d
[]
no_license
milolx/ipgw.cp
dd7da748187053a98058e0b3a845493539d9bb80
e0d33a120d256d392d8110853cafecacfe8da088
refs/heads/master
2020-04-04T13:49:40.198129
2014-09-08T01:29:31
2014-09-08T01:29:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,909
py
# Copyright 2012,2013 James McCauley # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
[ "milolx@gmail.com" ]
milolx@gmail.com
02c6eb36052bcfc890a8e226a4294f703655b9ab
94889e022b2ffd80d17a626b68df597f14a028f7
/python/regex/re4.py
06d7eb71c054de077576b03d5bd5deaf32fda1fc
[]
no_license
wushengling/AutoTest
2059b799374aa7794435d28642246d77580ca018
6698f2f275ed4ce47e197d87e9e5a0cda2a8d6a0
refs/heads/master
2022-07-02T17:58:45.651811
2020-04-19T11:15:02
2020-04-19T11:15:02
188,354,973
4
0
null
2022-06-21T03:15:04
2019-05-24T04:59:46
HTML
UTF-8
Python
false
false
547
py
# 概括字符集 # \d 匹配一个数字字符 等价于 [0-9] # \D 匹配一个非数字字符 等价于 [^0-9] # \w 匹配字母、数字、下划线 等价于[A-Za-z0-9_] # \W 匹配非字母、数字、下划线 等价于 [^A-Za-z0-9_] # \s 匹配任何空白字符,包括空格、制表符、换页符等等 等价于[\f\n\r\t\v] # \S 匹配任何非空白字符。等价于 [^ \f\n\r\t\v] # . 匹配除换行符(\n、\r)之外的任何单个字符 import re a = 'python 1111java&678p\n\r\t\fhp' r = re.findall('\w',a) print(r)
[ "shlwu@qumitech.local" ]
shlwu@qumitech.local
e2e615261889de4dd961429bcec9a565abeb1c31
c08471b7088e5546329dc7d5df4dd08d3e66649b
/cars_api/models.py
c5e1e40b6a0e11b9a4a32f046ece1d843c186e68
[]
no_license
Miszo97/Cars-API
2d341f6c91afe50858ba3898c8667f9c5a2785ba
77207d093a360a49c523728797abeba94cbdf732
refs/heads/main
2023-06-23T13:08:22.826773
2021-07-25T12:18:46
2021-07-25T12:18:46
373,200,358
0
0
null
null
null
null
UTF-8
Python
false
false
664
py
from django.db import models from django.db.models.aggregates import Avg class Car(models.Model): make = models.CharField(max_length=100) model = models.CharField(max_length=100) def __str__(self): return self.make + " " + self.model def avg_rating(self): return self.rates.all().aggr...
[ "kol478@gmail.com" ]
kol478@gmail.com
07d958c07f8b01849b4a95476899f574340f20c7
96c47b36cffa08a88fcaafb644e6d6a31b6291f5
/lib/agents/mysqlAgent.py
9cbf75bf24ae5875846f68ba75dcbaa02e31c43f
[]
no_license
ynztyl10/goodman
fc64670464dcfc1baec1bd724121a5066c99a188
c278cbdba587bb6309f429a1ebc3250151ec6d68
refs/heads/master
2020-09-29T16:57:39.241157
2017-09-25T03:47:15
2017-09-25T03:47:15
67,604,239
0
0
null
null
null
null
UTF-8
Python
false
false
1,897
py
# coding=utf-8 import MySQLdb from MySQLdb import converters import itertools import logging logger = logging.getLogger(__file__) class MysqlAgent(object): def __init__(self, config): logger.debug(config) conv = converters.conversions.copy() conv[246] = float # convert decimals to floa...
[ "nemo@sqtest7.(none)" ]
nemo@sqtest7.(none)
684022b71ef0d7261d8e43295a62ebc0b0fd84be
6fcfb638fa725b6d21083ec54e3609fc1b287d9e
/python/BichenWuUCB_squeezeDet/squeezeDet-master/src/nets/resnet50_convDet.py
b1d4cde60ed5f428dd7949a8c1ad08f053b0b4cf
[]
no_license
LiuFang816/SALSTM_py_data
6db258e51858aeff14af38898fef715b46980ac1
d494b3041069d377d6a7a9c296a14334f2fa5acc
refs/heads/master
2022-12-25T06:39:52.222097
2019-12-12T08:49:07
2019-12-12T08:49:07
227,546,525
10
7
null
2022-12-19T02:53:01
2019-12-12T07:29:39
Python
UTF-8
Python
false
false
6,835
py
# Author: Bichen Wu (bichen@berkeley.edu) 08/25/2016 """ResNet50+ConvDet model.""" from __future__ import absolute_import from __future__ import division from __future__ import print_function import os import sys import joblib from utils import util from easydict import EasyDict as edict import numpy as np import t...
[ "659338505@qq.com" ]
659338505@qq.com
e8e6885a751342acaf0621e026c50293242aeb96
e253c70e21dd4fa4f95b90ab35a0f190aefc4ec0
/users/urls.py
9c542d7e7055bbd96fc8ca67b4c98b4240548a56
[]
no_license
buddeleopoldo/django_2_learning_log
3ef6cc78db37791e79856260aabac44b3bfb5e04
c61d357dc57f319aebe9ba06fe106fda2d7ad755
refs/heads/master
2023-01-08T06:15:51.675399
2020-10-31T18:39:38
2020-10-31T18:39:38
308,918,116
0
0
null
null
null
null
UTF-8
Python
false
false
465
py
"""Defines URL patterns for users""" from django.conf.urls import url from django.urls import path from django.contrib.auth.views import LoginView from . import views app_name = "users" urlpatterns = [ # Login page path('login/', LoginView.as_view(template_name='users/login.html'), name="login"), # Logout ...
[ "polibudde@gmail.com" ]
polibudde@gmail.com