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
6044495f7b78f64322564e77b54abedff3140e1c
62ccec7f20eee9c6cedb4850056dc7578191dafb
/files-siat/siat/wikitest/wikitest/settings.py
3f599504c970e671c02ea124cd8f3e676bd9fd1f
[]
no_license
dingxuyong/SZCI
f6e7ab62b231b3ba9d2a7a5997ae57fd8d7800e3
2b53817dd59336d45299b64e48657fde04dc85de
refs/heads/master
2021-01-19T00:50:01.946758
2016-11-14T11:15:37
2016-11-14T11:15:37
73,261,171
0
0
null
null
null
null
UTF-8
Python
false
false
3,360
py
""" Django settings for wikitest project. Generated by 'django-admin startproject' using Django 1.9.7. For more information on this file, see https://docs.djangoproject.com/en/1.9/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.9/ref/settings/ """ import os ...
[ "ding.xuyong@ostorage.com.cn" ]
ding.xuyong@ostorage.com.cn
04d3b0a0882be498682d9e9d0c72959e7ea8d189
c6df5fce683928284f90509196ffcff7da0ac313
/p_chapter05_02.py
59801eb5005cddd4eb5245c241b5a11afa6bb1c5
[]
no_license
young-hun-jo/PythonAdvanced
208a447227115cb7fc1d2e7c9cd2a64858ff1434
e293ce8b82682f85b85469d82fcef43564179ad3
refs/heads/master
2023-02-08T01:04:23.329700
2021-01-03T04:15:19
2021-01-03T04:15:19
322,829,542
0
0
null
null
null
null
UTF-8
Python
false
false
1,826
py
# Chapter05-02 # 파이썬 심화 - 클로저 개념 이해 # 1. 파이썬 변수 범위(scope) 이해 # Ex1) def func_v1(n): print(n) print(b) # print(func_v1(10)) => 에러발생 # Ex2) b = 20 def func_v2(a): print(a) print(b) func_v2(10) # Ex3) b = 20 def func_v3(a): print(a) print(b) b = 40 # func_v3(10) => 에러발생! 함수 내부의 print(b...
[ "joyh951021@gmail.com" ]
joyh951021@gmail.com
36d588ec318a929bde142d36913eae7c7dd7bc78
b15b805674ed84c86072ec693734c743cee66b8c
/Homework08/tic-tac-toe.py
c4cfff6684bc98f41add37e3b915fa0267729dca
[]
no_license
Cherevan/AndriyCherevan_MA2018Python
e22a59c568c420d43b9367074c477e844541a747
70b200d756e643e97f12e5ae6c651c22ea91df55
refs/heads/master
2022-12-12T04:39:50.857552
2019-03-18T21:28:40
2019-03-18T21:28:40
155,781,677
0
1
null
2021-06-01T23:27:11
2018-11-01T22:06:52
Jupyter Notebook
UTF-8
Python
false
false
2,820
py
""" Monte Carlo Tic-Tac-Toe Player """ import random import poc_ttt_gui import poc_ttt_provided as provided NTRIALS = 100 # Number of trials to run SCORE_CURRENT = 1.0 # Score for squares played by the current player SCORE_OTHER = 2.0 # Score for squares played by the other player def mc_trial(board, player): ...
[ "cherevan.andriy@gmail.com" ]
cherevan.andriy@gmail.com
8a6a8e8e93fd8928ad317a39ef306e002e825d8a
254ef44b90485767a3aea8cbe77dc6bf77dddaeb
/441排列硬币.py
a5322fb823433368efc0bf8352f3bf9d19f11c17
[]
no_license
XinZhaoFu/leetcode_moyu
fae00d52a52c090901021717df87b78d78192bdb
e80489923c60ed716d54c1bdeaaf52133d4e1209
refs/heads/main
2023-06-19T02:50:05.256149
2021-07-09T00:50:41
2021-07-09T00:50:41
331,243,022
0
0
null
null
null
null
UTF-8
Python
false
false
596
py
""" 你总共有 n 枚硬币,你需要将它们摆成一个阶梯形状,第 k 行就必须正好有 k 枚硬币。 给定一个数字 n,找出可形成完整阶梯行的总行数。 n 是一个非负整数,并且在32位有符号整型的范围内。 示例 1: n = 5 硬币可排列成以下几行: ¤ ¤ ¤ ¤ ¤ 因为第三行不完整,所以返回2. """ class Solution(object): def arrangeCoins(self, n): """ :type n: int :rtype: int """ if n < 2: return n ...
[ "948244817@qq.com" ]
948244817@qq.com
d21cc40094da9073cae74ceb2e3479a562f90909
04e02c56f90d7ce4ada1fd36017facc90f5345a8
/all/approximation/identity_test.py
7af58afdc4900935b80b18b212a3d9371702bcd6
[ "MIT" ]
permissive
cpnota/autonomous-learning-library
d34a317cb68b6360c450786add7053d02f69f19b
8e68f0b21cd74bb5efc6d68fde45c26a0e26d6c2
refs/heads/master
2023-07-19T06:20:12.485433
2022-08-31T19:43:36
2022-08-31T19:43:36
156,611,625
647
74
MIT
2022-10-03T14:03:14
2018-11-07T21:39:56
Python
UTF-8
Python
false
false
1,090
py
import unittest import torch import torch_testing as tt from all.core import State from all.approximation import Identity, FixedTarget class TestIdentityNetwork(unittest.TestCase): def setUp(self): self.model = Identity('cpu', target=FixedTarget(10)) def test_forward_tensor(self): inputs = to...
[ "noreply@github.com" ]
noreply@github.com
d1ce8ce7a80b7171fb5bf4b3aaca75feb187671d
fcf6edd30fc47deb973111bb86f8e2c8412d4e03
/test_api.py
09425785a53294fdc41dfd9214749859fc891692
[]
no_license
carlosbentz/django-kmdb-viewsets
bfc910176c900a14ad073b78e691883ecf297a97
5034cf3a2234bc6624fa7976c902c9f1438c418d
refs/heads/master
2023-08-06T07:03:54.958683
2021-09-08T02:48:54
2021-09-08T02:48:54
411,372,388
0
0
null
null
null
null
UTF-8
Python
false
false
50,681
py
from django.test import TestCase from rest_framework.test import APIClient import json import ipdb class TestMovieView(TestCase): def setUp(self): self.client = APIClient() self.user_data = { "username": "user", "first_name": "Edward", "last_name": "Stewart", ...
[ "carlos.bentz@hotmail.com" ]
carlos.bentz@hotmail.com
65d7a641a5a0a6b5247342b94793ba5f1c5c3c86
983e25154623d5c6d20a949802f4c7175cf682ff
/BlackJack.py
bd9b5e60934742f15516fd02671504c1b68f801d
[]
no_license
sonnyloweus/PythonGames
dd29fbcc743029234727adb0d30a386fca7c1003
caea172cb15230b0543541f47c05e75dc5f0bde3
refs/heads/master
2022-01-24T00:37:13.818777
2019-07-18T04:13:12
2019-07-18T04:13:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,254
py
from random import shuffle card_chars=['┌','─', '┐','│','░','└','┘','♠', '♥', '♣', '♦'] deck = list(range(52)) shuffle(deck) a = "┌─────────┐" b = "│░░░░░░░░░│" i = "└─────────┘" dealers_hand=[] dealers_hand.append(deck.pop()) dealers_hand.append(deck.pop()) players_hand=[] players_hand.append(deck.pop()) players...
[ "noreply@github.com" ]
noreply@github.com
fd162b71ca7f20d002b925e58ee87a85b3f62058
e45fc7b6c9908b807ba28b9b4ecd1506daea9983
/Maoyan_Spider/MaoyanScrapy/items.py
ea2c3c4659806cebf93c0cd85c92ca5cadac6ce3
[]
no_license
FZWYGX/MaoYanScrapy
56ceb40d42b752f6a428f87d6bf9623743707eec
e38c2e3ccce4e32aad99afc41b1cb0103fedfad9
refs/heads/master
2020-03-25T06:39:46.096891
2018-08-06T15:43:43
2018-08-06T15:43:43
143,517,041
0
0
null
null
null
null
UTF-8
Python
false
false
937
py
# -*- coding: utf-8 -*- # Define here the models for your scraped items # # See documentation in: # https://doc.scrapy.org/en/latest/topics/items.html import scrapy class MaoyanscrapyItem(scrapy.Item): # 电影的第一个名字 name_first = scrapy.Field() # 电影的第二个名字 name_second = scrapy.Field() # 电影的链接 url...
[ "545111573@qq.com" ]
545111573@qq.com
d5e2af1a2bae15112a8ce036274d8863844cf46d
cf9adea87ecdef48190ba786e38e19a7dac62352
/Scripts/007_filter_sequences.py
7d9ca463ba4195049cb5cc2b43cf6c6f3c59df67
[]
no_license
landrylaboratory/BuBR1_coevolution
c18e89e942bb528384be0917138485b2d761f9a3
8d1960ec1d91d1bbf3bebb49c9800334e31e6184
refs/heads/master
2023-04-30T18:55:42.492842
2023-04-12T13:51:24
2023-04-12T13:51:24
201,345,282
0
1
null
null
null
null
UTF-8
Python
false
false
6,274
py
#!/usr/bin/env python # coding: utf-8 ##################################################### #### 007_filter_sequences #### #### This script refines the alignments of BUB1 #### #### and BUBR1 sequences. To do this, it removes #### #### sequences that have over 20% gaps in the #### #### alignment. #### #######...
[ "angel.cisneros911@gmail.com" ]
angel.cisneros911@gmail.com
d01073407b0228f50507d3745a0e0e9db155c160
ddfda7b31616b03e94d83e2974f69f2f88418346
/src/linesDetector.py
a1c56964373f1fd6ca7ee0880445eb729b7387ee
[ "MIT" ]
permissive
micheledaros/CarND-Advanced-Lane-Lines
8f3e3927b67b210bd4c4392080e78a47b9ce0925
b27d57f1c6730f302f18fb6b8cbbfcb9361d57bf
refs/heads/master
2020-09-08T16:02:36.765439
2019-01-25T21:19:14
2019-01-25T21:19:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,652
py
import matplotlib matplotlib.use('TkAgg') import numpy as np import cv2 def toBinary(img): ''' Transform an image so every pixel that is not black becomes white :param img: An image :return: A copy of the original image, with all the pixel that are not black have 1.0 ''' gray = img[:, :, 2] ...
[ "darosmic@gmail.com" ]
darosmic@gmail.com
6cbebfaf12b54603690ea649653ac470b595c95c
ef58ab10f91a7f67b711581e35aa7e6b9abb80fa
/basic/alternative1_upgrade.py
b8f9ef3af8a92f43543fbb4da08ae96aeabfc61d
[]
no_license
alstndhffla/PythonAlgorithm_Practice
6090562e6c836d367e8172fd592a4cca5ba34b44
100c13467c8d3ce75297d44b2353049bca506628
refs/heads/master
2023-03-24T12:05:17.874850
2021-03-25T11:32:25
2021-03-25T11:32:25
343,729,022
0
0
null
null
null
null
UTF-8
Python
false
false
623
py
print("+, - 을 번갈아 출력합니다.") n = int(input("몇 개를 출력할까?:")) # +- 를 n // 2개의 출력 # 파이썬에서는 무시하고 싶은 값을 _(언더스코어) 로 사용할 수 있다. # 여기선 순서말고는 아무런 의미가 없기 때문에 _ 를 사용했다. # for _ in range(1, n // 2+1): # 카운터용 변수가 1일 때 for _ in range(n // 2): # 카운터용 변수가 0일 때 print("+-", end="") # n 이 홀수일 때만 + 를 출력(0이니까 false 라 아래 코드를 실행하지 않음...
[ "alstndhffla@gmail.com" ]
alstndhffla@gmail.com
344c9dc1053d0677562dc03b7403438c317832c4
440b918affee34f5ae09f9389e10212eb00738d4
/test_stepper_motor_rotation.py
386f215794649b503f7e9dd468b657d1f7201129
[]
no_license
wildtangent/raspberry-pi-examples
4cd0deaf2b8bba7d6e08ba58f3a1f991b96fdde4
4f74f9cfb6008bfa953c8b9ee3b5bfbd30662d35
refs/heads/master
2021-01-10T02:14:54.855946
2015-11-03T01:51:14
2015-11-03T01:51:14
45,083,645
0
0
null
null
null
null
UTF-8
Python
false
false
162
py
import RPi.GPIO as GPIO from stepper_motor import MyPiStepperMotor stepper = MyPiStepperMotor(MyPiStepperMotor.DEFAULT) stepper.rotate(-90) stepper.rotate(90)
[ "joe@authomedia.co.uk" ]
joe@authomedia.co.uk
c845e20cb49ffa17704614605c775f62174f35f2
215f4260f3bc746ea038febbe27e177c73e8781d
/Koudai/Server/src/ZyGames.Tianjiexing.Web/Script/PyScript/Action/action4408.py
1745ae928052a268c7191948572bcc21935d790f
[]
no_license
cosim/Scut-samples
c7baf863300111846358fb016896736420ec0058
86286c4b083fdb8ac6244ad122b5facb7592eabd
refs/heads/master
2021-01-18T03:54:16.358346
2015-10-16T09:07:36
2015-10-16T09:07:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,808
py
import clr, sys import random import time import datetime import ReferenceLib from lang import Lang from action import * from System import * from System.Collections.Generic import * from ZyGames.Framework.Cache.Generic import * from ZyGames.Framework.Common.Log import * from ZyGames.Tianjiexing.Model imp...
[ "wzf_88@qq.com" ]
wzf_88@qq.com
bf4c649d9aa4db08e9ba0eefad52f69264b4c42b
59cdcd414992c7adc4319b28d160926877a5ef71
/src/main/nluas/core_agent.py
4bf2511315ac6da6f431b76b2f75f5b71dc03667
[ "Apache-2.0" ]
permissive
sjdayday/ecg_framework_code
9d3f8bbc70657a0a4359a819df8ca740e2de7d32
1eb9a9f8e9e8f2186e133cdb4655850b16192fc0
refs/heads/master
2020-04-05T12:28:44.593884
2016-07-07T17:30:51
2016-07-07T17:30:51
61,233,119
0
0
null
2016-06-15T18:58:11
2016-06-15T18:58:09
null
UTF-8
Python
false
false
3,310
py
""" Author: seantrott <seantrott@icsi.berkeley.edu> Defines a CoreAgent, which uses the Transport module. Can be initialized by just feeding it a channel name. All "Agents" inherit from the CoreAgent. ------ See LICENSE.txt for licensing information. ------ """ from nluas.Transport import * import argparse import o...
[ "seantrott@icsi.berkeley.edu" ]
seantrott@icsi.berkeley.edu
fecbcfb2544a51c7260251e112e4c3c0c6c5584e
2a826ae0879046275b83ac3b77c01072aa0ee3de
/双向链表.py
9bff220fc7bc2f438c90ac64c362cd93830d3cf0
[]
no_license
snail9611/Data-Structures-and-Algorithms
a833816491c3352ca53ec33116a7f27760e7f502
6cc254a2b17e322dd1e7ecb373de0893998f8674
refs/heads/main
2023-07-14T00:19:09.824745
2021-08-18T15:52:11
2021-08-18T15:52:11
397,526,954
0
0
null
2021-08-18T15:52:11
2021-08-18T08:25:51
Python
UTF-8
Python
false
false
3,669
py
# -*- coding: utf-8 -*- """ Time : 2021/7/7 10:29 Author : snail Software : PyCharm E-mail : zh1289732630@gmail.com CSDN bolg : https://blog.csdn.net/snail9610 """ class Node: """双向链表节点""" def __init__(self, item): self.item = item self.pre = None self.next = None ...
[ "noreply@github.com" ]
noreply@github.com
7f44b1fbde8bef0f5e632f5feaf7f2cf11ab8420
f0b0477ff59e17fefb4f9840962aef00053b864c
/simax/interface/interface.py
dae952323cc88adc24eaae58a307efe8bc377b96
[ "MIT" ]
permissive
ytanay/simax
d7207ce9590600c35a9cdec2c243bb8df6a9a320
98c425f99c2285163698764f646d577d8696d8f0
refs/heads/master
2021-01-19T12:01:23.945849
2017-04-12T06:17:40
2017-04-12T06:17:40
88,015,521
0
0
null
null
null
null
UTF-8
Python
false
false
2,187
py
import pprint from tkinter import * from simax.seeding import seeder from simax.world.world import World def flatten_list(param): return [item for sublist in param for item in (sublist if hasattr(sublist, '__iter__') else [sublist])] class Interface(object): def __init__(self): master = Tk() ...
[ "yotam@paticon.com" ]
yotam@paticon.com
d483382c2da9b288dcd2a3cb38716ddc1883218a
c4cc3af7dd48687cb1e34ae7a89e51f5e11fbe2f
/hogar/listas/migrations/0016_auto_20210129_0357.py
d7c733987bf8485cff1abd461ac4e14f6194c4b0
[]
no_license
BadiaValdes/DjangoCodeFarm
2e5dad53043f0accc6eaaedf385297e710f2ceaa
a00857e98d35f781a6b2561c2e491f2f563b97e5
refs/heads/main
2023-06-12T00:30:25.613238
2021-06-21T16:11:06
2021-06-21T16:11:06
341,701,200
1
0
null
null
null
null
UTF-8
Python
false
false
779
py
# Generated by Django 3.1.5 on 2021-01-29 03:57 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('listas', '0015_auto_20210129_0315'), ] operations = [ migrations.AddField( model_name='state', name='icon', ...
[ "je.badia@habilisoluciones.com" ]
je.badia@habilisoluciones.com
1c254d77bf2005e8f1804b7bf5f08537f9aa7ef9
1bb89138bbb5c115ca28d6466a98efb986f397c0
/server3/app/app.py
d55a822d737d85b91dddb9b5ad38ede55184bb2b
[]
no_license
vishnuavenu/naive-load-balancer-setup-docker
803e7117f31925c8eb00a5740c05bc60f3d5e026
732b9d1e45f362c57fbc8b68d708e5519e5f37d8
refs/heads/master
2020-01-28T15:39:34.904983
2016-09-01T13:11:44
2016-09-01T13:11:44
67,131,070
0
0
null
null
null
null
UTF-8
Python
false
false
195
py
from flask import Flask import sys app = Flask(__name__) @app.route('/') def reply(): return 'HELLO FROM FIRST SERVER 3' if __name__ == '__main__': app.run(debug=True,host='0.0.0.0')
[ "vishucool.venu@gmail.com" ]
vishucool.venu@gmail.com
f5aa343d376598014d94f548a395bfba65b7acff
2f413f5ff887666e3eb74ea1a49b7efb9431f05e
/ezcad/plugins/process_log.py
42c28f27700fea67ba734905d85eb41a1907bdbe
[ "BSD-3-Clause" ]
permissive
ezcad-dev/ezcad
382c4a5285b106d460349894c57d73d53ea08e82
690373e6c01f59a27ae7b23e03bfb39eae77cb27
refs/heads/master
2020-07-05T05:50:51.851684
2020-03-14T00:04:06
2020-03-14T00:04:06
202,544,015
2
1
null
null
null
null
UTF-8
Python
false
false
1,817
py
# -*- coding: utf-8 -*- # Copyright (c) Ezcad Development Team. All Rights Reserved. """Process log plugin""" # Third party imports from qtpy.QtWidgets import QVBoxLayout # Local imports from ezcad.config.base import _ from ezcad.plugins.base import EasyPluginWidget from ezcad.widgets.log_box import LogBox class P...
[ "ezcad.dev@gmail.com" ]
ezcad.dev@gmail.com
2f2fad1f16e31ac16bf0df7821eb3888be80d35d
59e066739ea9e8923a1bd452bbdfd530f9599af3
/cmake-build-debug/catkin_generated/pkg.develspace.context.pc.py
800ac9033c88066b160d94e4235f45e0aec1a3ec
[]
no_license
tanqingge/gpm_slam_final
f3cca04b7856a7bfe77d1d4e5938f7bd94bc0cbd
d7039e915d05f3b052b56eeced86908514bff062
refs/heads/main
2023-03-23T01:39:29.133006
2021-03-19T13:12:08
2021-03-19T13:12:08
349,426,533
0
0
null
null
null
null
UTF-8
Python
false
false
559
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/tanqingge/catkin_ws/src/gpm_slam/cmake-build-debug/devel/include".split(';') if "/home/tanqingge/catkin_ws/src/gpm_slam/cmake-build-debug/devel/include" != "" else [] PROJECT_CATKIN_DEPENDS = "me...
[ "964463975@qq.com" ]
964463975@qq.com
600441b93aa220dfc85e66eb995b139d9a4d9a5c
afffb9ba7d258d2a573bcdc15ec8f0592c100410
/models/place.py
b2510d80f0ddb59005c0143d697e92b5fc8977cb
[]
no_license
MAZTRO/AirBnB_clone
b59bd510a44f0af50442dd7346f1ab94c9aacd76
30571eb33b936457ee0b616f46e05c126b7fad40
refs/heads/master
2021-02-03T22:30:01.480829
2020-03-02T21:29:22
2020-03-02T21:29:22
243,560,252
0
0
null
null
null
null
UTF-8
Python
false
false
345
py
#!/usr/bin/python3 from models.base_model import BaseModel """ Class Place """ class Place(BaseModel): """ class Place """ city_id = "" user_id = "" name = "" description = "" number_rooms = 0 number_bathrooms = 0 max_guest = 0 price_by_night = 0 latitude = 0.0 longitude = ...
[ "designe.mallet@gmail.com" ]
designe.mallet@gmail.com
e0d5ec70bc483d21e4aab727ddfa0c50f2d47102
5738221f80aed8efe3c7fa085304c22c43d0ac83
/mediaaluno.py
69884d30e0a8335ff4d5e5b96134e749fd8fec59
[]
no_license
CapGalius/Exercicios-python
5632b67c1ad57cb3a30a9bde4862f5d37f51a92c
6281f1ef3d34a9e14fdb1d70a5a6637e0802eaf7
refs/heads/master
2021-07-13T01:46:48.899617
2020-08-11T13:51:42
2020-08-11T13:51:42
193,954,211
0
0
null
null
null
null
UTF-8
Python
false
false
1,591
py
nome = input("Digite o nome do aluno: ") valid_nota = False while valid_nota == False: nota1 = input("Digite nota da Prova 1: ") try: nota1 = float(nota1) if nota1 <0 or nota1 >10: print("Nota inválida. Use valores entre 0 e 10") else: valid_nota = True exce...
[ "capgalius@gmail.com" ]
capgalius@gmail.com
a22b9bec10e366c001d7568d2f8bba418f9e34d8
8068a9a3107ee82b506e7049897085af8e59c66f
/netstack/l1_interface.py
884d5fa9c5ce8085cb88f4e782c7f2b1d9d6b179
[]
no_license
rammak/netsim
435d2f333cf37e2dbe89480c2d77b1ab36d9af07
734d204e39296b55219dbaee84d41164ada68433
refs/heads/master
2023-03-29T23:00:11.712375
2021-04-13T06:02:36
2021-04-13T06:02:36
355,099,666
0
0
null
null
null
null
UTF-8
Python
false
false
607
py
import socket ETH_P_ALL = 3 MAX_PKT_SIZE = 4096 class Interface: name = None rawSocket = None def __init__(self, interface_name): print("Initializing interface...") self.name = interface_name self.rawSocket = socket.socket(socket.PF_PACKET, socket.SOCK_RAW, socket.htons(ETH_P_ALL...
[ "rutwij@dal.ca" ]
rutwij@dal.ca
23beca48a2e4e0384450243b260b2d764607bc92
dd5c898efef1d648eb4f7d4d6f7990d106c61abb
/visualizations/rhods-notebooks/models/user.py
e924f218962579e54802f1785c95d9d3a21844bd
[ "Apache-2.0" ]
permissive
dagrayvid/ci-artifacts
3b257c7d40e3a364e45bc7a889ed7c8dad19c330
024d2a756399887a329e18fedd4fbc466a264340
refs/heads/main
2023-08-08T14:10:31.721857
2023-06-09T13:22:04
2023-06-28T21:08:05
357,960,252
0
0
Apache-2.0
2021-04-14T15:49:42
2021-04-14T15:49:42
null
UTF-8
Python
false
false
525
py
from . import enums import matrix_benchmarking.models as matbench_models from typing import List, Optional class SubStepData(matbench_models.ExclusiveModel): resource_init_time: float container_ready_time: float user_notification: float class StepData(matbench_models.ExclusiveModel): name: enums.St...
[ "kpouget@redhat.com" ]
kpouget@redhat.com
7fd1dbe3e06dc453bc514ba3d58dd5b19f88d100
3669cd260bdab697376feca747d1635d35f42c83
/security/py-fail2ban/files/patch-actions.py
91bfc987942691a41c98c25baa79292d35497788
[]
no_license
tuxillo/DPorts
58072bc88887c7a53a51988c76a70366bef44a93
f523fb13a9d3ecc5ce9a8045fdf146ae05de5399
refs/heads/master
2020-04-03T08:02:44.297511
2013-03-04T07:56:00
2013-03-04T07:56:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
280
py
--- server/actions.py.orig 2012-11-27 18:16:18.000000000 +0100 +++ server/actions.py 2012-11-27 18:17:04.000000000 +0100 @@ -206 +206 @@ - logSys.warn("[%s] Unban %s" % (self.jail.getName(), aInfo["ip"])) + logSys.warn("[%s] Unban %s" % (self.jail.getName(), str(aInfo["ip"])))
[ "nobody@home.ok" ]
nobody@home.ok
5fd0d3f0eb9110b6f09d8eaa9ed47d574cfdf370
1dd72195bc08460df7e5bb82d3b7bac7a6673f49
/api/alembic/versions/4ac7d9f38f85_allows_null_dewpoint_values_for_hourly_.py
3d54107fefa7c5c3568f7d9fb1ecf0a6655968e6
[ "Apache-2.0", "MIT" ]
permissive
bcgov/wps
c4347c39cadfad6711502d47776abc8d03895593
0ba707b0eddc280240964efa481988df92046e6a
refs/heads/main
2023-08-19T00:56:39.286460
2023-08-16T18:03:06
2023-08-16T18:03:06
235,861,506
35
9
Apache-2.0
2023-09-11T21:35:07
2020-01-23T18:42:10
Python
UTF-8
Python
false
false
891
py
"""Allows null dewpoint values for hourly actuals Revision ID: 4ac7d9f38f85 Revises: aa82757b1084 Create Date: 2021-06-01 14:29:49.951368 """ from alembic import op from sqlalchemy.dialects import postgresql # revision identifiers, used by Alembic. revision = '4ac7d9f38f85' down_revision = 'aa82757b1084' branch_labe...
[ "noreply@github.com" ]
noreply@github.com
dd38dce74115338bf73d7200e7487e9a4cf2dd5e
0ef809aad6fa3889f37557a777d3fb0528dec931
/course2/first/mysite/polls/urls.py
1479dc65257ceea38cfea5bedb94103035cc0cf8
[]
no_license
tanviredu/COURSERA_DJANGO_SPECIALIZATION
f0f49a1456c8d0a266c015d257153d9f708a3042
6bff6eb2a7cf36a6d959cb935d11ac0797711a6e
refs/heads/master
2022-12-15T20:46:50.055812
2020-09-14T15:18:05
2020-09-14T15:18:05
289,696,029
0
0
null
null
null
null
UTF-8
Python
false
false
373
py
from django.urls import path from . import views urlpatterns = [ path('', views.index, name='index'), path('owner', views.owner, name='owner'), path('<int:question_id>/', views.details, name='details'), # path('<int:pk>/results/', views.ResultsView.as_view(), name='results'), # path('...
[ "tanvirrahman@pop-os.localdomain" ]
tanvirrahman@pop-os.localdomain
8bc2e44e3e466dc26619d029a675833ba01af00e
62062f769b79bc543ccd4ff9a3a2a4fa6611407f
/airbyte-integrations/connectors/source-salesforce-singer/source_salesforce_singer/__init__.py
11ea21a7cdd1fa8608391ccce9b1c0b1bd836a22
[ "MIT" ]
permissive
eugene-kulak/airbyte
444920077198acbd82465300ce5f6b1175e2f363
ec5378a2c247e8a3926ee902c2f4115afdd7629f
refs/heads/master
2023-02-14T03:46:45.191194
2020-11-05T05:02:04
2020-11-05T05:02:04
310,260,932
0
0
MIT
2020-12-09T10:13:49
2020-11-05T10:14:56
null
UTF-8
Python
false
false
1,096
py
""" MIT License Copyright (c) 2020 Airbyte Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distr...
[ "noreply@github.com" ]
noreply@github.com
0c15131e30a6b94938e18b671638e273934f7357
3b5ee9aa584bfca56dabc19d75717f6104c0dc95
/sky_pattern/sky_template_taskfarmer/compute_sky_templates-old.py
5bd31c824ec6a8bf57995b138cdd253acf97d011
[]
no_license
rongpu/desi-misc
95690ca99962940fd4a793d523edf4d2ce68b4c3
c700344ebf8f74391fcce69a47e4ca57fc4b34f8
refs/heads/master
2023-09-01T00:49:07.399914
2023-08-11T17:10:40
2023-08-11T17:10:40
173,173,912
2
0
null
null
null
null
UTF-8
Python
false
false
14,228
py
from __future__ import division, print_function import sys, os, glob, time, warnings, gc import matplotlib matplotlib.use('Agg') import matplotlib.pyplot as plt import numpy as np from astropy.table import Table, vstack, hstack import fitsio from scipy.interpolate import interp2d from scipy.ndimage.filters import gaus...
[ "rongpu.zhou@gmail.com" ]
rongpu.zhou@gmail.com
6a141c2ae4ceb9cc1b6d3043c203ccb43cfc96a0
c50457a4a02a465ebdf70ae87cef677121d920e3
/Endkampf3.py
acb3218a5724e1df9bcd1e0cd51dbba824caf71e
[]
no_license
Lonni2380/Endkampf
e5ce579d5f769d13933386af2a025aadc0adf092
e12d76a357f57010005eb05044c9a532c515703b
refs/heads/master
2020-03-28T18:42:56.618502
2013-08-21T10:33:24
2013-08-21T10:33:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,305
py
import random #.... #Schadensmodell #Heiltrank = Voller Schaden #Ausweichen + Biss: 0 #Ausweichen + Feuer: 0.5 #Ausweichen + Tatze: 1 #Verstecken + Feuer: 1 #Verstecken + Biss: 0.5 #Verstecken + Tatze: 0 #Deckung + Biss: 1 #Deckung + Feuer 0 #Deckung + Tatze 0.5 #Drachenaktionen s = {} s["feuer"] = {"deckung":0,"auswe...
[ "Leonhardh@gmx.at" ]
Leonhardh@gmx.at
db9d5a0d44c212fa2e91211fb96432ceeae04284
6a5d92efe4ca6debd6dd2b65dab570433e992c4e
/wk2.py
82301100dcea04091efec6f954fd3ba162fdbabc
[]
no_license
mirjana2911/test-1
eef9661a7472ac7fd86a7152f54c51683216c4dd
b0529cdfa82317ef86ba288e0a36add0900a7da0
refs/heads/master
2023-02-03T13:37:41.942101
2020-12-20T22:43:26
2020-12-20T22:43:26
305,460,340
0
0
null
null
null
null
UTF-8
Python
false
false
165
py
dict={ "name":"John Doe", "age":21, "net worth": 5213.4, "name":"John" } print(type(dict)) print(dict) print(dict["net worth"]) #print (name)
[ "mirjana.dragonfly@gmail.com" ]
mirjana.dragonfly@gmail.com
719623fd97c8bf194a23b4b065a43eef6f5543d8
c7a6893aebe919b3df7fd98dba11b7b414366d36
/mydjango/cmdb/migrations/0003_project.py
e59a8ff241196f9593f973502f5d231caee72d58
[]
no_license
vayne1/mydjango
49dff9073d481fa8f4abb8b548270d43b6118622
a3506459abb02a81d2fe228aeaa15373fb8b3396
refs/heads/master
2020-03-20T08:40:45.318744
2018-12-13T06:55:19
2018-12-13T06:55:19
137,315,957
1
0
null
null
null
null
UTF-8
Python
false
false
502
py
# Generated by Django 2.0.4 on 2018-04-16 03:52 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('cmdb', '0002_host_date'), ] operations = [ migrations.CreateModel( name='project', fields=[ ('id', m...
[ "760762654@qq.com" ]
760762654@qq.com
1aaa7966c0bc892984230be28a5fe51cb3d849bf
820189d86d7978d649add5f051ddf347fa828df5
/main.py
5acb2a393a8fe540ff093c32709f9db62cb478c0
[]
no_license
xavierfeltin/vanilla_neural_network
8c3f18ebd2db5c762c2caf8eeae2e70b4ad92124
1218f268d77404d4f05770dde333e21ccd7b1e1c
refs/heads/master
2021-05-13T18:15:50.571311
2018-01-16T07:35:56
2018-01-16T07:35:56
116,854,349
0
0
null
null
null
null
UTF-8
Python
false
false
717
py
import mnist_loader import network2 import network def call_network1(): net = network.Network([784, 30, 10]) net.SGD(training_data, 30, 10, 3.0, test_data=test_data) def call_network2(): net = network2.Network([784, 30, 10], cost=network2.CrossEntropyCost) net.SGD(training_data, 30, 10, 0.5, ...
[ "xavier.feltin@gmail.com" ]
xavier.feltin@gmail.com
0f1183e97da07bd5f49d57e484c565872ba37049
238e46a903cf7fac4f83fa8681094bf3c417d22d
/VTK/vtk_7.1.1_x64_Debug/lib/python2.7/site-packages/twisted/manhole/ui/test/test_gtk2manhole.py
463190f37a1020dc41ec1587e34d4d45d1896c90
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
baojunli/FastCAE
da1277f90e584084d461590a3699b941d8c4030b
a3f99f6402da564df87fcef30674ce5f44379962
refs/heads/master
2023-02-25T20:25:31.815729
2021-02-01T03:17:33
2021-02-01T03:17:33
268,390,180
1
0
BSD-3-Clause
2020-06-01T00:39:31
2020-06-01T00:39:31
null
UTF-8
Python
false
false
1,324
py
# Copyright (c) 2009 Twisted Matrix Laboratories. """ Tests for GTK2 GUI manhole. """ skip = False try: import pygtk pygtk.require("2.0") except: skip = "GTK 2.0 not available" else: try: import gtk except ImportError: skip = "GTK 2.0 not available" except Runt...
[ "l”ibaojunqd@foxmail.com“" ]
l”ibaojunqd@foxmail.com“
b2c9b2c0803ff8bf62cbd244d48287311cee9acd
aa7bfe3d24299f703a605abd2ba50255a35e37a9
/Wordlist_Surfer.py
bb4272070d0761e346fb960f599db964473cacf7
[]
no_license
JosephRowell/GitHub
b152ef51d4e857f56cfc160413af773d97632d72
a6ee0abd6378f72291cea7a24caf9f3b6786d3d0
refs/heads/master
2021-01-22T03:01:17.253531
2014-03-06T19:44:32
2014-03-06T19:44:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,736
py
##Wordlist_Surfer.py Written in Python v.3 ##NOTE this version only checks one time. I need to fix that. ---- ##def check(): ##Defines the function ## password = input("Enter password ") ##whatever the user inputs becomes the variable ## if password in open('results.txt').read(): ##If that word is in a file... #...
[ "rowelljoey@yahoo.com" ]
rowelljoey@yahoo.com
83cd34c9efcfa3238e02006c9b2715b3f279ed99
5317624f61675996a2a564e50c6d0c114f686505
/src/example/admin.py
9b0403f5fb5b4bf9b560e613a0541de97cb94697
[]
no_license
zejuniortdr/docker-rest-api-study
e69d9a69a85bfb8ddbd5b88c9f1b51d35a4b4401
25da34714f7156f2864f93c33243ed43c9d1482e
refs/heads/master
2022-12-12T15:53:17.604451
2019-10-21T21:16:27
2019-10-21T21:16:27
204,204,418
0
0
null
2022-04-22T22:17:42
2019-08-24T19:41:43
Python
UTF-8
Python
false
false
122
py
from django.contrib import admin # Register your models here. from .models import Example admin.site.register(Example)
[ "zejuniortdr@gmail.com" ]
zejuniortdr@gmail.com
043d8fb2c152fdd550c8ca27bc20aa63d55472ad
39596d54a85eae7c32daa132d2548c371ee5c667
/rush00/php-piscine-master/unit-tests/test_d02.py
757dbd2fb31f6e443d5e03c90a7d510380abc4de
[]
no_license
charlchi/php
ee809537c5d4bf5d602664599aa708ee08a73604
ef0f0306f17195410df5388ecd024f35cf2c8de5
refs/heads/master
2020-03-30T09:35:23.846216
2018-10-14T11:41:11
2018-10-14T11:41:11
151,081,831
0
0
null
null
null
null
UTF-8
Python
false
false
4,382
py
#!/usr/bin/python from helper import * day_location = "../d02/" # START OF TESTS START OF TESTS START OF TESTS START OF TESTS # ex00 test_command(day_location + '/ex00/another_world.php', "") test_command(day_location + '/ex00/another_world.php ' \ + '"Cette phrase contient des espaces et de...
[ "cmoller@student.wethinkcode.co.za" ]
cmoller@student.wethinkcode.co.za
97644b79ac35ae36269aa2943b1d28640165c597
dd97ee76d2028c6e389e485cea63957f55507a26
/test_tensorflow_and_CNN.py
f86bfab2d33f6024e81e63e2a0405358fff409fb
[]
no_license
qintian0321/primirna_prediction
8005e3f3bf335c81fcf98cb4237133ae0f3545bd
9e8fe12ac9389d2a7fde426d3e384961c6e91194
refs/heads/master
2020-03-15T09:52:11.145892
2018-05-04T04:17:30
2018-05-04T04:17:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,823
py
#------------------------------------------------------------------------------- # Name: module1 # Purpose: # # Author: chris # # Created: 26/04/2018 # Copyright: (c) chris 2018 # Licence: <your licence> #------------------------------------------------------------------------------- # Copyright ...
[ "christephen.qin@gmail.com" ]
christephen.qin@gmail.com
d56f05af3c27de535dd87df53be5bd34660d448d
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/adverbs/_worsts.py
238bd14921209f33ca8ce96c77e28f95ec46020d
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
235
py
from xai.brain.wordbase.adverbs._worst import _WORST #calss header class _WORSTS(_WORST, ): def __init__(self,): _WORST.__init__(self) self.name = "WORSTS" self.specie = 'adverbs' self.basic = "worst" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
c2ea20ffb683062c77937efa138362a45c6265db
5ecf20ea28a79e22d505c7ea3185e50eb78bb3bf
/Trainer.py
e9cab025e95a5933039ec8171227df7f1012971e
[]
no_license
ayushmankumar7/Face_Recognization_OpenCV
c3422df14c2bff4064e5e509e1aff20fc42b35be
2227fb524a0304f36d0b7fe46e4ffac42d3ec864
refs/heads/master
2020-04-26T07:46:18.870133
2019-09-19T13:33:22
2019-09-19T13:33:22
173,403,580
0
0
null
null
null
null
UTF-8
Python
false
false
706
py
import cv2 import numpy as np import os from PIL import Image recognizer = cv2.face.LBPHFaceRecognizer_create() path = 'dataSet' def getImageWithID(path): imagePaths = [os.path.join(path, f) for f in os.listdir(path)] faces = [] IDs = [] for imagePath in imagePaths: faceImg = Image.open(imagePath...
[ "ayushmankumar7@gmail.com" ]
ayushmankumar7@gmail.com
571c72b14584c77bc5d28abe67cc92cb27329332
84e9f55767f11c89c0a199a626a6c7ab849f0620
/lib/fast_rcnn/config.py
fb125f3818a0102ef2aa399759ae306d0279bb32
[]
no_license
Lius94/improved-py-faster-rcnn
4d0b2beb1f8a83ce0951471f11de3c0f00f28255
9529ad41d7dfdec9ab4a89fc9bca420749795c25
refs/heads/master
2020-03-16T02:02:21.657629
2018-06-06T02:23:36
2018-06-06T02:23:36
132,455,205
3
0
null
null
null
null
UTF-8
Python
false
false
9,212
py
# -------------------------------------------------------- # Fast R-CNN # Copyright (c) 2015 Microsoft # Licensed under The MIT License [see LICENSE for details] # Written by Ross Girshick # -------------------------------------------------------- """Fast R-CNN config system. This file specifies default config option...
[ "939010676@qq.com" ]
939010676@qq.com
db0b4acae232bd24feb87c11d1425af44b03880e
a85d5ab0a6f2e36d00fa8ed877f0d5895ca095b0
/code/conf/hqcj_new.py
2ecd62e921ad449682baec2bb835502f7a00ab21
[]
no_license
Bztmom/bztCra
ee8d3b3fa4f64fab40a8ec3a76dc05a9617cac54
d20086ddadda07252774fc8d882c52f9832fdb40
refs/heads/master
2020-03-16T18:46:05.736587
2018-05-11T03:37:51
2018-05-11T03:37:51
132,886,173
0
0
null
null
null
null
UTF-8
Python
false
false
20,095
py
# -*- coding: utf-8 -*- from .common import * conf = { "domain_name": "环球财经", "pipelines": [ { "name": "中国", "log_level": "info", "log_filename": "../log/hqcj_zg.log", "crawler": { "name": "HQCJNewsPipeline_new.HQCJNewsCrawler"...
[ "535314323@qq.com" ]
535314323@qq.com
5a808b2bbbca9aa49cc5705727487b10b63f5ca4
112c3ff93998c5abdfeab9ab95de0ae49542cff5
/python/quick_sort.py
c91dc0eaa9dd94ba531bf01716f7e6ec254c8593
[ "Apache-2.0" ]
permissive
cbare/Etudes
51365187fbeac1b7ad4e529a419e23dea9c2801c
39aa2767837b409574c4547bbd457a1bcae6b38e
refs/heads/master
2023-03-17T02:51:27.778292
2023-03-12T22:36:12
2023-03-12T22:36:12
68,837,814
1
0
null
null
null
null
UTF-8
Python
false
false
572
py
import random def pivot(items, a, b): p = items[b] i = a for j in range(a,b): if items[j] <= p: items[i], items[j] = items[j], items[i] i += 1 items[i], items[b] = items[b], items[i] return i def quicksort(items, i, j): """ inplace quicksort """ if...
[ "christopherbare@gmail.com" ]
christopherbare@gmail.com
e5b176baa0003dbc59a2ca08e8b15d8fb4ead384
8669106952260c2efbf6fb7960c106f5c74f6ae3
/agora_cli/export.py
786963d3368c0eea322bb26dcf8a0c5392e2d357
[ "Apache-2.0" ]
permissive
fserena/agora-cli
92c25d0dbb84ce45bfb5deba8e66d4a96e4bf5e4
9a24ed443e3d3420d25c66f0fcc8246f510bf3a0
refs/heads/master
2020-03-27T08:41:23.241299
2019-03-21T10:09:29
2019-03-21T10:09:29
146,277,959
1
0
null
null
null
null
UTF-8
Python
false
false
1,447
py
#!/usr/bin/env python """ #-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=# Copyright (C) 2018 Fernando Serena #-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=# Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in...
[ "kudhmud@gmail.com" ]
kudhmud@gmail.com
314d5e0993e70a6c52e43ff201d85066a048856f
17ae11c343b33b9f9e0363f0542db9925922fdfa
/coders/wsgi.py
d2736d539a785acb996a69b2145c192f4a71dd6a
[]
no_license
artist1327/Coders
67e1e36b5263626273dce7abd546e8d0de6ae870
eada92c110d660d054b09974dc5fdba1b16a9daf
refs/heads/master
2021-01-26T03:52:46.156250
2020-02-26T15:46:02
2020-02-26T15:46:02
243,297,751
1
0
null
null
null
null
UTF-8
Python
false
false
389
py
""" WSGI config for coders 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.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETTIN...
[ "chaitanyashrivastava13@gmail.com" ]
chaitanyashrivastava13@gmail.com
d1203e82570e4d5912a7947b18befac137bde579
1548ce77537dcd50ab04b0eaee050b5d30553e23
/autotabular/pipeline/components/data_preprocessing/data_preprocessing_categorical.py
d6705e83ea43154d12a39641896c87ce43decbe9
[ "Apache-2.0" ]
permissive
Shamoo100/AutoTabular
4a20e349104246bf825ebceae33dca0a79928f2e
7d71bf01d2b7d84fcf5f65c9f45c5cea1255d8a2
refs/heads/main
2023-08-13T21:34:34.329888
2021-10-02T07:06:00
2021-10-02T07:06:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,322
py
from typing import Any, Dict, List, Optional, Tuple, Union import numpy as np from autotabular.pipeline.base import DATASET_PROPERTIES_TYPE, BasePipeline from autotabular.pipeline.components.data_preprocessing.categorical_encoding import OHEChoice from autotabular.pipeline.components.data_preprocessing.categorical_enc...
[ "jianzhnie@126.com" ]
jianzhnie@126.com
126b9039131fae67dd05ee5ebd541aa857ae7b38
99dd07876cc7f1125b6ce8bbd954378ec2f8a7eb
/subtree_of_another_tree.py
abe40cb6f366ab62857af111996348cd97746bbf
[]
no_license
Farrellow/LeetCodePractice
c90378133cb74380e3914be50a218890beed44c1
565d2906b5021913ee21bd44c881e5d6c75b3ec1
refs/heads/master
2021-06-04T19:43:23.308497
2017-06-29T08:58:49
2017-06-29T08:58:49
90,127,627
0
0
null
2017-05-03T08:57:54
2017-05-03T08:44:00
Python
UTF-8
Python
false
false
2,290
py
# Definition for a binary tree node. # class TreeNode(object): # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution(object): def isSubtree(self, s, t): """ :type s: TreeNode :type t: TreeNode :rtype: bool "...
[ "farrellow@gmail.com" ]
farrellow@gmail.com
2a53ce22b89a12453b82224ac02cbcc0f2a8aabd
12f592ab9963427c1beb448406ef03557cfce99f
/moor_ten_zero.py
9f45f8579a8ed46be1849bb855ee502f2647b03e
[]
no_license
johnjasa/SparOpt
a821ddfa85cd0573876e69c9b54dd441d69a5bb9
819babc1580b02a1542d3ce1066150493e33c3ac
refs/heads/master
2020-05-17T22:18:01.577722
2019-04-30T02:48:19
2019-04-30T02:48:19
183,996,379
0
0
null
2019-04-29T03:53:03
2019-04-29T03:53:03
null
UTF-8
Python
false
false
4,032
py
import numpy as np from scipy.optimize import root, least_squares from openmdao.api import ImplicitComponent class MoorTenZero(ImplicitComponent): def setup(self): self.add_input('z_moor', val=1., units='m') self.add_input('water_depth', val=1., units='m') self.add_input('EA_moor', val=1., units='N') self.a...
[ "john.m.hegseth@ntnu.no" ]
john.m.hegseth@ntnu.no
693d07d889d9003b52e0363d1edddd0fa4dbb27b
9442b97a4bfdd0cdc90e5f498e8d16d8483aa5a1
/SocialImpactNetwork/migrations/0030_contactquestions.py
44af0843b3f76c2d2f8cc78c7681a55a0be30d49
[]
no_license
nauman-pucit/problem_solver
9af25cf1507e28b76caf08df10818ee9ed0ca331
4da7f1d7f02695504887287db28f808c637a2286
refs/heads/master
2021-09-03T08:13:28.734243
2018-01-07T11:17:21
2018-01-07T11:17:21
116,555,235
0
0
null
null
null
null
UTF-8
Python
false
false
625
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('SocialImpactNetwork', '0029_merge'), ] operations = [ migrations.CreateModel( name='ContactQuestions', ...
[ "nauman.pucit@gmail.com" ]
nauman.pucit@gmail.com
f57310bed2a1c58aed8958d2ec2afcb9b866e397
7cc0ef2d1ad8e9a1542e52bc6bc8897606639452
/account/migrations/0007_auto_20160505_1827.py
3f70979a040e12f0e39942e7f66d9c20adccf8e3
[]
no_license
htl1126/pathjump
1e87c6127bbfebc8519379c9352440d3a98359f6
c1235c3fbb13af31ac7b8523e7a83b69f0da95b7
refs/heads/master
2021-01-15T15:36:47.723753
2016-08-26T20:35:32
2016-08-26T20:35:32
53,075,772
2
2
null
2016-05-06T17:43:22
2016-03-03T19:07:26
HTML
UTF-8
Python
false
false
1,476
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.4 on 2016-05-05 22:27 from __future__ import unicode_literals from django.db import migrations, models import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ('account', '0006_auto_20160505_1447'), ] operations = [ ...
[ "b93902098@ntu.edu.tw" ]
b93902098@ntu.edu.tw
72889c4f0d3e26b8c3d57ddde57e485ad3700194
4b1237fad063e94a2e205c34a9246341dce20b14
/python/http_upload.py
c34c9ffa2efc6ef823e988d75b787aeef1960eca
[]
no_license
SamuelXu/mytest_demo
e338a8c6625f6bc6f0d622f4048c665715435f56
8bf0f5963d6b6e909da7c230ae76be53f635b54d
refs/heads/master
2021-01-22T02:20:55.632614
2020-06-29T23:39:37
2020-06-29T23:39:37
92,354,252
0
0
null
null
null
null
UTF-8
Python
false
false
294
py
#!env python import urllib2 import mmap f = open(argv[1], 'rb') mmaped_file = mmap.mmap(f.fileno(), 0, access = mmap.ACCESS_READ) request = urllib2.Request(url, mmaped_file) request.add_header("Content-Type", "text/plain") response = urllib2.urlopen(request) mmaped_file.close() f.close()
[ "x@mulangcloud.com" ]
x@mulangcloud.com
1098ec264a936582719bba9d99ce5e5129c281aa
e9a48d6e81e6711ea6eb5c05b96728d3d1d48b5c
/Desktop/Python Alura/Modulo1 (Jogo da advinhação)/forca.py
ea57f56b4630458099739d70eeda4ef3bcaa93f7
[]
no_license
PrerigoDEV/Jogos-com-o-Python
cf015d11d2cefda7c943d73cfa17cd26932bc3c1
c194f0fdeb5231c98cd8cb5b64f235114640020c
refs/heads/master
2023-06-15T00:06:52.104604
2021-07-06T14:03:05
2021-07-06T14:03:05
383,484,829
0
0
null
null
null
null
UTF-8
Python
false
false
3,731
py
import random def jogar(): imprimirabertura() palavra_secreta = gerar_palavra() letras_acertadas = substitui_letrasecreta(palavra_secreta) encerar = 0 enforcou = False acertou = False erros = 0 #Enquanto nao enforca ou acerta a palavra, o ciclo "while" continua# while(not enforcou an...
[ "kevinsleiman@hotmail.com" ]
kevinsleiman@hotmail.com
faba7d30008bfca674137e177c9be791a2a987c4
2159ebf5c8b581c8a555193d32bf248c4e04d960
/src/mn2/imagens/filtros.py
9111a15efd79bc1d686afe21cec849779648f434
[]
no_license
Metodos-Numericos-II/biblioteca
a401d46024e1e9f9a9f5111155008fa37e52c9c5
99463a876350864e58970fc2a954cf82c936bf2b
refs/heads/main
2023-07-11T11:00:23.924569
2021-08-11T21:02:53
2021-08-11T21:02:53
390,840,885
1
0
null
2021-08-10T22:35:23
2021-07-29T20:18:03
Python
UTF-8
Python
false
false
3,391
py
from Imagem import * def convoluir(img, filtro): """ Convolui um kernel com uma Imagem L img: Imagem filtro: kernel (ndarray). Não reverte-lo antes de passar para a função retorno: Imagem resultado da convolução """ nova_img = Imagem(None, img.largura, img.altura, img.formato, img.modo) if img.modo != ...
[ "almeida.lucas89@gmail.com" ]
almeida.lucas89@gmail.com
91edc3f2e33b2bbca1ee98e8b76dfe875cf3c247
971e0efcc68b8f7cfb1040c38008426f7bcf9d2e
/tests/model_control/detailed/transf_Anscombe/model_control_one_enabled_Anscombe_PolyTrend_Seasonal_Second_AR.py
64f7646780a6a43000ce6df0f0cadc56dde92ebd
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
antoinecarme/pyaf
a105d172c2e7544f8d580d75f28b751351dd83b6
b12db77cb3fa9292e774b2b33db8ce732647c35e
refs/heads/master
2023-09-01T09:30:59.967219
2023-07-28T20:15:53
2023-07-28T20:15:53
70,790,978
457
77
BSD-3-Clause
2023-03-08T21:45:40
2016-10-13T09:30:30
Python
UTF-8
Python
false
false
156
py
import tests.model_control.test_ozone_custom_models_enabled as testmod testmod.build_model( ['Anscombe'] , ['PolyTrend'] , ['Seasonal_Second'] , ['AR'] );
[ "antoine.carme@laposte.net" ]
antoine.carme@laposte.net
927e1b653796e14f40b71b3371c4ae6ffa40ed90
ef76aed15b94c0647b7e3cb1af9da7deefb35b80
/python_script/config.py
69517818a4e7123477583657443b14eb73f2721a
[ "MIT" ]
permissive
namnh68/openstack_upgrade_test
ea2df2d4dd50afe5486ec50cce169461baeb9b94
a6a4ce57a931ce6959f85b7bafa95e10a0d0ed52
refs/heads/master
2021-06-16T03:49:26.241455
2017-05-11T02:14:39
2017-05-11T02:14:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
125
py
IP = '10.164.180.105' USERNAME = 'admin' PASSWORD = 'nam123' PROJECT_NAME = 'admin' AUTH_URL = 'http://{}:5000/v3'.format(IP)
[ "daidv@vn.fujitsu.com" ]
daidv@vn.fujitsu.com
feaa68ef3f8405d44218d47a289aca76d921f291
64c9339c239f050fbd64dda9b211cc4933261480
/trestle/core/ncname_validator.py
0ce343b73907fe2c53536d61ca981fb60ae79530
[ "Apache-2.0" ]
permissive
degenaro/compliance-trestle
e094f4d19b4b4a5d9483ee4c6cb99ef85cdb57fb
253b17bf7eaf944a32df96f49f4dab9b5d0ec3b2
refs/heads/main
2023-04-12T20:44:33.487559
2021-05-13T07:12:22
2021-05-13T07:12:22
368,640,007
0
0
Apache-2.0
2021-05-18T19:07:26
2021-05-18T19:07:25
null
UTF-8
Python
false
false
1,622
py
# -*- mode:python; coding:utf-8 -*- # Copyright (c) 2020 IBM Corp. 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 # #...
[ "noreply@github.com" ]
noreply@github.com
426e1cb3b794cda21ff0f687c65b51e046aa05e2
934107eaba17b352bf7bf3a9c0a45af4f263fd54
/products/migrations/0003_product_nutriscore_grade.py
8b0d47e0de3ba519d19e8a0193eeb2224b048011
[]
no_license
quentin338/Purebeurre-p8
d0324f0fbc7e96a1418b367ea41ef3f4f51cc437
15bb4192df331d790ef28140e65213ac604cf96e
refs/heads/master
2023-08-07T22:25:10.975870
2023-07-26T10:21:04
2023-07-26T10:21:04
207,123,046
0
0
null
2023-07-26T10:21:06
2019-09-08T14:17:16
CSS
UTF-8
Python
false
false
444
py
# Generated by Django 2.2.5 on 2019-10-21 19:57 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('products', '0002_auto_20190919_1414'), ] operations = [ migrations.AddField( model_name='product', name='nutriscore_...
[ "quentin.bertrand@yahoo.fr" ]
quentin.bertrand@yahoo.fr
945d57a53bd0dae91137c9ba1f1efc9b34fe111e
e59e1039469765c35192b1cd6eea2789b49190ba
/nslocalizer/xcodeproj/pbProj/XCVersionGroup.py
53e60757f370688e3305b35df0c363060f3e69f8
[ "BSD-3-Clause" ]
permissive
samdmarshall/nslocalizer
db208f166e9c7c8aa7c97d33700943370d1e063b
df086165d9201c98753cdda47bcfa0e517839696
refs/heads/develop
2021-01-18T00:45:31.485248
2019-04-02T18:00:48
2019-04-02T18:00:48
63,786,762
174
12
NOASSERTION
2019-02-24T16:27:13
2016-07-20T14:10:52
Python
UTF-8
Python
false
false
2,124
py
# Copyright (c) 2016, Samantha Marshall (http://pewpewthespells.com) # All rights reserved. # # https://github.com/samdmarshall/nslocalizer # # Redistribution and use in source and binary forms, with or without modification, # are permitted provided that the following conditions are met: # # 1. Redistributions of sourc...
[ "me@samdmarshall.com" ]
me@samdmarshall.com
8e255f8d35102f89a79a0058077682a37ae944b5
e538eb62546bfe826fcefec04eeddab3b7d87262
/djangodocs/mysite/polls/models.py
6f55aadbbda5ab33609ea93cc1cac6e957f545b2
[]
no_license
yeniiiii/djangodocs
e57837af9ae5aca728b88ccd2723af942c490231
58c959f1ed01742e57f5166bad172d0618990a0b
refs/heads/main
2022-12-25T07:10:24.530156
2020-10-10T10:41:28
2020-10-10T10:41:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
698
py
import datetime from django.db import models from django.utils import timezone # Create your models here. class Question(models.Model): # Question model question_text = models.CharField(max_length=200) pub_date = models.DateTimeField('date published') def __str__(self): return self.question_text ...
[ "moi.yeeun@gmail.com" ]
moi.yeeun@gmail.com
155c5e091f225d912126897fda4d64e976e10e98
cc6d5291e8c28a344ab2d10430a71daffdc97bee
/docker-moloch/scripts/moloch_yara.py
c66d327b0cc926ac9daec75c477ec2b97cf98659
[ "MIT" ]
permissive
MonaxGT/Moloch
c43a6afb6f75c013e6e0d80f69dd270180294ebf
7d19b49cdb84e54d999e0bffd3048d6a09e54043
refs/heads/master
2021-05-10T18:42:20.305311
2019-05-06T11:26:54
2019-05-06T11:26:54
118,132,438
3
0
null
null
null
null
UTF-8
Python
false
false
1,348
py
import git import os from pathlib import Path yara_directory='/data/yara' yara_file = '/data/yara/all.yara' yara_git = 'git://github.com/Yara-Rules/rules.git' yara_file_list = [] def git_clone (): try: try: os.stat(yara_directory) except: os.mkdir(yara_directory) gi...
[ "monaxnn@mail.ru" ]
monaxnn@mail.ru
73106665bb6f712db86eda52498cc869e98bc206
104dd6e7ff900cd7ab64aa77ad57f46e31067cf9
/jayz/cart/migrations/0001_initial.py
0ed61b5c41cca17b9a7354354e24bebd2dd3d820
[]
no_license
jayanth15/my-ecommerce-template
5089850e2040f8d2b05973d7c60c5ba6e1d4dbb0
96f21f413c9b3dea2e90fc829ca6ef4848eec9b7
refs/heads/master
2021-01-04T20:02:56.939387
2020-02-16T23:47:33
2020-02-16T23:47:33
240,736,548
0
0
null
null
null
null
UTF-8
Python
false
false
1,603
py
# Generated by Django 3.0.3 on 2020-02-16 07:08 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] ope...
[ "i.jayanth1995@gmail.com" ]
i.jayanth1995@gmail.com
4c9529c9e1ccee4619da2333f65ada7cd8afc5ba
b0943fefdd71e36c5cca9448e043c4626ce7217d
/django_sandbox/wsgi.py
1ba9951c66641f45b7ec6fe78b0b54a9ed60cfef
[]
no_license
ahcub/django_sandbox
8f6bf2d62c7145ee87bbb9e353feafe966461520
170ee9445bb33a6870e4510f2b4278c00d8bd03b
refs/heads/master
2021-03-12T19:55:31.521567
2015-10-01T18:59:05
2015-10-01T18:59:05
22,056,271
1
0
null
null
null
null
UTF-8
Python
false
false
402
py
""" WSGI config for django_sample project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.6/howto/deployment/wsgi/ """ import os os.environ.setdefault("DJANGO_SETTINGS_MODULE", "django_sandbox.settings") from ...
[ "olex.buchkovsky@gmail.com" ]
olex.buchkovsky@gmail.com
896e92850aada43ef7cd64757f53107f703afd3d
f7f1506690bce67bc0589c3d27a2549385e39bc6
/restApi/firstApi/migrations/0002_remove_users_message.py
ee8c24bdc26091305d4bdf84a8d100b6c3efdb2c
[]
no_license
interstellarcodegit/django-app
f91e53381bb9ab7a9923963986c698ea4ce7f6c1
29be607b68cbbbceed98ae04be9bcfb642bef063
refs/heads/master
2022-12-26T21:27:23.298140
2020-10-11T09:11:26
2020-10-11T09:11:26
303,060,679
0
0
null
null
null
null
UTF-8
Python
false
false
318
py
# Generated by Django 3.0.8 on 2020-09-15 07:25 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('firstApi', '0001_initial'), ] operations = [ migrations.RemoveField( model_name='users', name='message', ), ]
[ "techinterstellar@gmail.com" ]
techinterstellar@gmail.com
1941a3e85ac002f99326fce57f1b60371abea477
b38da1296d5e07ec9dcf9b8893423e699399f3b8
/script.py
2e379393337dfec366d455066fa6c1182ef35afa
[]
no_license
sid-cha/NGO-Enlist
b8d64f6664272bd44c0c095788151fa8c3368c9b
2e47b64b061b2499319527b380ad331c8d4a12d7
refs/heads/master
2022-12-28T05:46:17.050236
2020-09-30T19:21:27
2020-09-30T19:21:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
278
py
import os os.system('mongoimport') dir = "public/data" for file in os.listdir(dir): print(file) os.system('mongofiles -d NgoEnlist put logos/' + str(file)) os.system('mongoimport --db NgoEnlist --collection Events --type csv --file "Dataset.csv" --headerline')
[ "noreply@github.com" ]
noreply@github.com
d59604249e069ff9890aefb76852de35e8b82a9b
66dafdc199a4f71573fb8dc22d628f080b431af6
/products/migrations/0001_initial.py
ada19df1ed2926cfa81f0eb50235d01509e493e0
[]
no_license
kryachka/Cinema-web
3ef1725ae4a10cc364f62abe45893036be055fc2
3ce11abdbeb1fe2072b37a5638bfe697da48126f
refs/heads/master
2022-04-14T05:55:40.837613
2017-12-17T12:17:49
2017-12-17T12:17:49
114,495,630
0
2
null
2017-12-17T12:38:27
2017-12-16T23:02:17
Python
UTF-8
Python
false
false
1,828
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.6 on 2017-11-10 21:19 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.Crea...
[ "34610965+kryachka@users.noreply.github.com" ]
34610965+kryachka@users.noreply.github.com
596b64221ab3bf09fd36b81245b725ef27edbb7f
ad13583673551857615498b9605d9dcab63bb2c3
/output/models/nist_data/atomic/float_pkg/schema_instance/nistschema_sv_iv_atomic_float_enumeration_4_xsd/__init__.py
6b1c7764ed6855c717d67be10234c1e18219fca4
[ "MIT" ]
permissive
tefra/xsdata-w3c-tests
397180205a735b06170aa188f1f39451d2089815
081d0908382a0e0b29c8ee9caca6f1c0e36dd6db
refs/heads/main
2023-08-03T04:25:37.841917
2023-07-29T17:10:13
2023-07-30T12:11:13
239,622,251
2
0
MIT
2023-07-25T14:19:04
2020-02-10T21:59:47
Python
UTF-8
Python
false
false
364
py
from output.models.nist_data.atomic.float_pkg.schema_instance.nistschema_sv_iv_atomic_float_enumeration_4_xsd.nistschema_sv_iv_atomic_float_enumeration_4 import ( NistschemaSvIvAtomicFloatEnumeration4, NistschemaSvIvAtomicFloatEnumeration4Type, ) __all__ = [ "NistschemaSvIvAtomicFloatEnumeration4", "Ni...
[ "tsoulloftas@gmail.com" ]
tsoulloftas@gmail.com
4849e8f2e4ff2c0414a99b29ca5fac3c8fae7be2
9a2070c5c2215a28454af8e691792ecd80af2f88
/streaming/transparency/api/records.py
59e4c8123e469da6d10cbd7558427e66091b0e02
[ "MIT" ]
permissive
d3vzer0/faust-transparency
ec430b63b95f109628991a197dbda591d0480f44
17b8b59f26f60c36fda31e507dc6d897c22e80e9
refs/heads/development
2023-01-13T04:43:23.849508
2019-06-09T11:51:13
2019-06-09T11:51:13
179,157,618
12
3
MIT
2022-12-09T04:33:37
2019-04-02T20:58:21
Python
UTF-8
Python
false
false
766
py
import aiohttp import asyncio class Records: def __init__(self, source, session): self.source = source self.session = session async def get(self, min_records, max_records): url = 'https://{0}ct/v1/get-entries?start={1}&end={2}'.format(self.source, min_records, max_records)...
[ "joey.dreijer@ing.nl" ]
joey.dreijer@ing.nl
e61719f769098064193649f0ac7053f6a2864573
00bfbb71a57670b96f28475d5ae92b72823019cf
/src/route.py
8be800fae30184f7a250b2550cc1e22c68a261af
[]
no_license
michaellhans/logistic-routing-problem
f242cb62edd67339fc38810ec5b4f3c053f8321e
8426dea813e2adcf75089aaed0c2364143627175
refs/heads/master
2022-09-22T10:25:03.621042
2020-06-02T11:06:16
2020-06-02T11:06:16
266,836,507
0
0
null
2020-05-25T17:10:51
2020-05-25T17:10:50
null
UTF-8
Python
false
false
3,667
py
# route.py # Contain every module about routing from ant_colony import * import more_itertools as mit import random # Create list of destination coordinates def CreateListCoordinate(cities, maps): listCoordinate = [] for city in cities: listCoordinate.append([city, maps[city]]) return listCoordina...
[ "michaelhans777@gmail.com" ]
michaelhans777@gmail.com
e814cd1ae5b1490a236eee10e8881c68c824b03b
e4bfc1c65267dad29bca4632ff06adb99ceb7053
/basics/math/remap.py
f10ba15baa716ff3faf4f8a885acbf53dc3b559b
[ "MIT", "LicenseRef-scancode-public-domain", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Shiwank19/p5-examples
6548ddc1ce0a89414bc092f33a7fc8a12acd9e91
8d57227f7391bd1f38fdf7f01da61c789923cabb
refs/heads/master
2020-05-15T18:05:15.049713
2019-04-21T07:44:37
2019-04-21T07:44:37
182,417,071
0
0
null
2019-04-20T14:39:14
2019-04-20T14:39:13
null
UTF-8
Python
false
false
913
py
# Remap # # Use the remap() function to take any number and scale it to a new # number that is more useful for the project that you are working on. # For example, use the numbers from the mouse position to control the # size or color of a shape. In this example, the mouse's x-coördinate # (numbers between 0 and 360) ar...
[ "theabhikpal@gmail.com" ]
theabhikpal@gmail.com
4db2f70125d55dc93257f676a4f151d6e74ffbdc
b8bff6154e548d6135812394f22d6564c40b074b
/flask-aws/bin/bundle_image
d417974d24fa30d6313fcc8108015b0fcc9760b0
[]
no_license
nygeog/flask-aws-tutorial-nygeog
0cb18a48dab515abfce9b89d9b6b84e152bd2e40
f80668e9bdb3eced69c2c1bd50f6f83c37f65ce1
refs/heads/master
2021-01-10T05:48:10.904717
2015-10-28T03:01:53
2015-10-28T03:01:53
45,084,168
0
1
null
null
null
null
UTF-8
Python
false
false
1,614
#!/Users/danielmsheehan/GitHub/flask-aws-tutorial-nygeog/flask-aws/bin/python2.7 from boto.manage.server import Server if __name__ == "__main__": from optparse import OptionParser parser = OptionParser(version="%prog 1.0", usage="Usage: %prog [options] instance-id [instance-id-2]") # Commands parser.ad...
[ "daniel.martin.sheehan@gmail.com" ]
daniel.martin.sheehan@gmail.com
f9a6b210802e3f5f56d50de5bbafb9c30ea2a57a
58b0ed8409d1d5d501e01a219c978e3406513101
/students/migrations/0004_auto_20210207_2232.py
daa24cfeaf8622806107c6ef8af63bf72a01000d
[]
no_license
boluuu/sms
2180b9a58178c2e237ffed2c156fcaa76e8ac28a
7dfce8e340d4f9233ac23445ff3efee4c062a576
refs/heads/master
2023-03-02T15:27:47.480762
2021-02-12T15:06:39
2021-02-12T15:06:39
336,898,529
0
0
null
null
null
null
UTF-8
Python
false
false
413
py
# Generated by Django 2.2.2 on 2021-02-07 21:32 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('students', '0003_auto_20210207_2229'), ] operations = [ migrations.AlterField( model_name='studentinfo', name='game'...
[ "odedeyib@gmail.com" ]
odedeyib@gmail.com
da8d9ed74b72088ae71062997f7e461bc03ce5d1
1b9c6cd7f3c8665bdd19e3ac2857d42897939f7b
/Development/first_ros_script.py
e5f572736240483d9fc8a6b56b42f74ac88579ae
[ "MIT" ]
permissive
icisneros/uav_landing
bb6c00702e4f6b814a0484c89f0a2769eda9d706
538b7af567ef037748fa99e4d0607d07fa058217
refs/heads/master
2021-01-13T10:26:55.336609
2016-11-30T08:45:17
2016-11-30T08:45:17
72,260,600
0
0
null
null
null
null
UTF-8
Python
false
false
10,180
py
#!/usr/bin/env python """ ----------------------------------------------------------------------------------------- AR Tag Experimentations -- Launch files: -- usb_cam usb_cam.launch * or * usb_cam usb_cam_wyaml.launch ** and ** webcam_ar_track webcam_indiv.launch * or * webcam_ar_track webcam_bundle.launch -- Fo...
[ "ivanalexiscisneros@college.harvard.edu" ]
ivanalexiscisneros@college.harvard.edu
913096e1f4f5d79eb8e22f3e0a46b6ac66e40beb
abf984d4784f593ce617b335029b3efc273c7678
/school_1329_server/users/migrations/0004_auto_20171228_1822.py
e1781425ab261058467d4a9f8d7b250a1c693513
[]
no_license
potykion/school_1329_server
80200cf5ddebfc4f9ac94ef2db19472c1b3cf374
7c579c625dc1fae7334117fa6cf078ede38574dc
refs/heads/master
2021-09-08T18:02:22.092561
2018-03-11T16:54:13
2018-03-11T16:54:13
113,746,164
0
1
null
null
null
null
UTF-8
Python
false
false
984
py
# Generated by Django 2.0 on 2017-12-28 15:22 import datetime from django.db import migrations, models import django.utils.timezone from django.utils.timezone import utc class Migration(migrations.Migration): dependencies = [ ('users', '0003_auto_20171226_0152'), ] operations = [ migrat...
[ "potykion@gmail.com" ]
potykion@gmail.com
9ba38f46b6294725f79154fdedc5e5571682aa8f
d791695781b6b2de0c28ca5d8724bab25032b221
/netconf_cli/connect_to_station.py
e056cd5f84db14b7dc5800e6e39489aa844fa256
[]
no_license
ashishsanjaysharma/TSN_CNC_Netconf_Notifications
971f783ce704c20462522774932268e28313fef6
304f7c1e38cf1f15faf9dea6e7167e1f95398718
refs/heads/master
2022-04-04T10:56:40.563380
2020-02-19T22:51:55
2020-02-19T22:51:55
241,738,456
2
0
null
null
null
null
UTF-8
Python
false
false
2,879
py
#!/usr/bin/env python from ncclient import manager from ncclient import operations import xml.dom.minidom as xml_p import xmltodict from scheduler import run_scheduler import threading rpc_subscribtion_msg = ''' <rpc message-id="102" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"> <create-subscription xmlns="urn:...
[ "ashishsanjaysharma@gmail.com" ]
ashishsanjaysharma@gmail.com
5b098cc32ed04727d88286884d3a1a759dd4afa0
ddb185b0cf581d85a1dd733a6d1e5d027ba3e0ca
/phase1/400.py
877ca618fdd5b1fc536af2f45765a18d49bae79b
[]
no_license
GavinPHR/code
8a319e1223a307e755211b7e9b34c5abb00b556b
b1d8d49633db362bbab246c0cd4bd28305964b57
refs/heads/master
2020-05-16T04:09:19.026207
2020-04-30T10:00:06
2020-04-30T10:00:06
182,766,600
1
0
null
null
null
null
UTF-8
Python
false
false
515
py
# Nth Digit class Solution: def findNthDigit(self, n: int) -> int: i = 0 idx = 9 * (10 ** i) * (i + 1) while n - idx > 0: n = n - idx i += 1 idx = 9 * (10 ** i) * (i + 1) pos = n % (i + 1) print(n, i, pos, sep="||") num = (10 ** i -...
[ "gavinsweden@gmail.com" ]
gavinsweden@gmail.com
ddb9d807f751071bddc2d57e5b2572a8749e0064
02d1d89ed3c2a71a4f5a36f3a19f0683a0ae37e5
/lib/FileReceiver.py
277e739d9cf45dd1c5b4d028829ae349f67feaec
[]
no_license
lforet/robomow
49dbb0a1c873f75e11228e24878b1e977073118b
eca69d000dc77681a30734b073b2383c97ccc02e
refs/heads/master
2016-09-06T10:12:14.528565
2015-05-19T16:20:24
2015-05-19T16:20:24
820,388
11
6
null
null
null
null
UTF-8
Python
false
false
2,608
py
# USAGE: python FileReciever.py import socket, time, string, sys, urlparse from threading import * #------------------------------------------------------------------------ class FileReceiver ( Thread ): def __init__( self, command_port, data_port ): Thread.__init__( self ) self.cmd_port = command_port...
[ "mobot@mobot-2012.(none)" ]
mobot@mobot-2012.(none)
ef934f7254d9f285eb6058cebe5315294edb096f
d1f542b2f12ff068001132aed907162ef7d1f9c1
/psc_konvertor/__init__.py
29fb55919f3ad655be15bcba255e72055665e16f
[ "MIT" ]
permissive
petrbel/psc_konvertor
32d67b53dc371eaea3ed3e30da543656ff70f086
b1c3e1b72956b1341df130950409630167a4fe15
refs/heads/master
2022-06-17T20:44:12.387411
2022-04-12T17:23:26
2022-04-12T17:23:26
50,129,136
1
2
MIT
2022-06-08T11:32:52
2016-01-21T18:51:28
Python
UTF-8
Python
false
false
1,828
py
# -*- coding: utf-8 -*- import os import pandas __author__ = 'Petr Belohlavek <me@petrbel.cz>' print() class PscKonvertor: """Konvertuje postovni smerovaci cisla na prislusne okresy a kraje. Vyhledavani je pro maximalni rychlost indexovane.""" _MODULE_PATH = os.path.dirname(os.path.abspath(__file__...
[ "me@petrbel.cz" ]
me@petrbel.cz
7cb0f1c9c7ca53419f4d843771e8d05e386fd3dc
add72f4d6f9f7af1f437d19213c14efb218b2194
/icekit_press_releases/migrations/0010_add_brief.py
53e0ff6430fc135656f91969f847f38cd1b04409
[ "MIT" ]
permissive
ic-labs/django-icekit
6abe859f97c709fcf51207b54778501b50436ff7
c507ea5b1864303732c53ad7c5800571fca5fa94
refs/heads/develop
2022-08-08T21:26:04.144852
2018-01-08T02:55:17
2018-01-08T02:55:17
65,470,395
53
12
MIT
2022-07-06T19:59:39
2016-08-11T13:11:02
Python
UTF-8
Python
false
false
700
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('icekit_press_releases', '0009_auto_20170519_1308'), ] operations = [ migrations.AddField( model_name='pressrelea...
[ "greg@interaction.net.au" ]
greg@interaction.net.au
757e9edd17b0ee8a7da6e9eebaefa154578833d2
0a8ab2ddc9ce3b76cf91484c253f7ec0cfd2bbc7
/FastBridgeApp/data/Latin/latin_for_americans_vol_1_and_2_ullman-henderson.py
08cdd23f5e9d4ea6e76819ad52bbb2470821713c
[]
no_license
clangen2/FastBridge
cadb018ca2bf7966b032d4429e98ff774b0bbc9e
c839be0d69b16b89946e40153ada11ad355692b7
refs/heads/master
2023-08-28T00:55:09.163609
2021-09-27T13:38:50
2021-09-27T13:38:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
73,063
py
import text nan="" section_words = {'start': -1, '1.15': 390, '1.18': 416, '1.3': 514, '1.31': 532, '1.38': 578, '1.4': 590, '1.52': 702, '1.63': 791, '1.64': 796, '2.1': 26, '2.14': 937, '2.2': 996, '2.3': 59, '2.4': 1180, '2.40': 1187, '2.41': 1191, '2.42': 1196, '2.43': 1207, '2.44': 1213, '2.45': 1219, '2.46': 1223...
[ "carter.langen@gmail.com" ]
carter.langen@gmail.com
61f9149db413e0ca2be39e999b5226e769a2e9f4
550a42686d76174e6c5e229bdba16b03102426a7
/wsgi.py
a9b11a1dbb612970927a2641c9e8009bac8829c4
[]
no_license
alexcthomas/bucephalus
5aab415143bfd1c68d019d8aa1ee3c15304e625c
8ee422646102298b152fd55ac835fa53553f86b8
refs/heads/master
2021-01-18T20:12:58.210790
2017-10-31T13:09:49
2017-10-31T13:09:49
86,944,915
0
0
null
2017-10-31T13:13:44
2017-04-01T21:50:11
Python
UTF-8
Python
false
false
195
py
""" Gunicorn config script """ accesslog='-' bind = 'unix:bucephalus.sock' workers = 1 threads = 4 worker_class = 'gevent' worker_connections = 1000 umask = 7 user = 'nobody' group = 'nogroup'
[ "alexthomas00@gmail.com" ]
alexthomas00@gmail.com
752fb839aa70b3c7d732640f8c2ae4af72133936
7556865daab11f93e8946226dca7eb7c99508ad6
/cookie/config/settings/production.py
8d6a87f0c0f165e7a93090b341950bc1b8b1f0ba
[ "MIT" ]
permissive
kasalak/two-scoops-cookiecutter
84fe53385dca21f7194c5fa42956159d676c08c6
cd6ac25e290ef3b11f7d420d06de194d3a357cc5
refs/heads/master
2016-09-12T13:39:59.452793
2016-05-06T21:40:23
2016-05-06T21:40:23
58,233,988
0
0
null
null
null
null
UTF-8
Python
false
false
7,288
py
# -*- coding: utf-8 -*- """ Production Configurations - Use djangosecure - Use Amazon's S3 for storing static files and uploaded media - Use mailgun to send emails - Use Redis on Heroku """ from __future__ import absolute_import, unicode_literals from boto.s3.connection import OrdinaryCallingFormat from django.util...
[ "karthik.kasala@gmail.com" ]
karthik.kasala@gmail.com
267a9d4aef1012a67735fbbb8cbf8102d892cb68
72c36a3fa32fe5637cd219282d0145da25d26cd8
/task3.py
066773973740e9bcc1ff5340b6249a1eaa15829b
[]
no_license
H0TCE/tupac
76e4cc5b662616a7c057d1d8b729caed2fc59016
5d9d1bf8b75482ee7c829e19a056902ee552503a
refs/heads/master
2020-05-16T16:08:29.067922
2019-04-24T05:11:39
2019-04-24T05:11:39
183,151,872
0
0
null
null
null
null
UTF-8
Python
false
false
501
py
import bs4 as bs import urllib.request source = urllib.request.urlopen("http://www.bbc.com/news").read() soup = bs.BeautifulSoup(source,"lxml") print(soup.title) for headlines in soup.find_all("h3"): print(headlines.text) #!/usr/bin/python #import urllib2 #from BeautifulSoup4 import BeatifulSoup # Open URL, read H...
[ "noreply@github.com" ]
noreply@github.com
d27b91306820f0c12d76d0b421c286eef8da969d
722091dafa98a27ed8af830659be1933d6175a34
/utilities/admin_tools/menu/__init__.py
8026a1d088396db3eefc653676496ec965218cfd
[ "MIT", "BSD-3-Clause" ]
permissive
chi1/trinitee
6d6bdf8ba69fe2d76ff435e71f92e3d4d97bcda0
9be0240ccdbf33ce402909dbb6c883950ec943aa
refs/heads/master
2020-12-29T02:55:51.484042
2010-08-17T19:44:54
2010-08-17T19:44:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
47
py
from utilities.admin_tools.menu.menus import *
[ "ksocha@ksocha.com" ]
ksocha@ksocha.com
2ad05a6e11f56d84e241b6e27e47ec2819408f2c
9a5d0344b93820367697e4dbcd6e1ee35c99b660
/ProductsService/asgi.py
dd3817420d628062149d979c83517b175e0b0b1d
[]
no_license
sgtpsibin/django-rest-api
015b6e4f6aad12bbaff674adc712ca7772daf4c5
6c1119443cf0da95585bc55c63d77673a3c7f18f
refs/heads/master
2023-07-30T01:06:40.508662
2020-05-02T01:15:22
2020-05-02T01:15:22
259,041,528
0
0
null
2021-09-22T18:55:39
2020-04-26T13:46:39
Python
UTF-8
Python
false
false
407
py
""" ASGI config for ProductsService project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.0/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJAN...
[ "wmhatdau@gmail.com" ]
wmhatdau@gmail.com
58b6749b3c5dbb294c5e0d86c3a6b183e28b9eb6
4c3a209fa9343dc4d574a3a5cb40a4940f10d866
/codeup_100/1060.py
ae8cf76cef5c0d0ff34ecd4a6d8d3f6054ba5de2
[]
no_license
Hyunjae-Kim/Coding-test-tutorial
44de999f0b854b1d3e2813ced86d8eaa6e6c3ade
cfb278c3b61424b4419bfcf7909b076cc768b683
refs/heads/master
2023-01-12T08:27:14.310415
2020-11-12T10:21:06
2020-11-12T10:21:06
305,025,030
0
0
null
null
null
null
UTF-8
Python
false
false
63
py
num1, num2 = list(map(int, input().split())) print(num1 & num2)
[ "khj9481@gmail.com" ]
khj9481@gmail.com
63e5b52b6462f6833165e18a5002e6580be8575a
d951b81739ad04981f9284d75d41d1f9ba1344af
/Редакционное расстояние между строками.py
e5e5423a399d0be68e8b8c18e14c46feb0782e28
[]
no_license
foolosopherr/python-beginners
85aeecfdf96d1ff8fbcc0c10486a6b2268a0ec51
23bb5ac5681cffde6b2641132c178d8dd2a721e9
refs/heads/main
2023-05-27T23:13:14.154594
2021-06-13T08:41:01
2021-06-13T08:41:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
591
py
# 1) перепутали символ # 2) вставили лишний # 3) потеряли нужный # кратчайший способ def levenstein(A, B): F = [[(i+j) if i*j == 0 else 0 for j in range(len(B)+1)] for i in range(len(A)+1)] for i in range(1, len(A)+1): for j in range(1, len(B)+1): if A[i-1] == B[j-1]: ...
[ "noreply@github.com" ]
noreply@github.com
771ad5ac2a34884bcd43a05f69b30b6e6d21a353
3197bcf3e80989d0fc13519b2a5689c8b21049d8
/prototypes/training_scripts/HeLa/feature_net_61x61_dropout_norm3.py
46da59afb0570adc9516dc823bf0919d3b8b35f8
[]
no_license
YubinXie/DeepCell
d6a5434dcf5fb208f407caf714d4877ed745a7cd
887ac6be63e2594c3480680fdde63fbe9dded336
refs/heads/master
2021-05-05T16:17:38.178635
2018-01-13T20:39:34
2018-01-13T20:39:34
117,307,949
0
0
null
2018-01-13T02:45:18
2018-01-13T02:45:18
null
UTF-8
Python
false
false
1,084
py
'''Train a simple deep CNN on a HeLa dataset. GPU run command: THEANO_FLAGS='mode=FAST_RUN,device=gpu,floatX=float32' python training_template.py ''' from __future__ import print_function from keras.optimizers import SGD, RMSprop from cnn_functions import rate_scheduler, train_model_sample from model_zoo import fea...
[ "vanvalen@gmail.com" ]
vanvalen@gmail.com
e0616f5198b78b478368daadb51bcc230980ebe6
1d141b294a9cc3c9abbc5c013cc5ba4ff6c37dfd
/Flask RESTful API/flask_get_post.py
3bef965c10917e635aa5baeff4f7e7fbf6602efb
[]
no_license
Deepthi-Jallepalli/Deploying-ML-Models
eacf6de7659f1c0c3dabe7543ef500c630f4fc04
5c96ffdd5341eb4fc3f1eda1490cc5370d7712aa
refs/heads/master
2022-12-23T11:32:14.200699
2020-09-24T08:56:49
2020-09-24T08:56:49
295,054,533
0
0
null
2020-09-22T10:52:53
2020-09-13T01:12:51
Jupyter Notebook
UTF-8
Python
false
false
397
py
from flask import Flask, jsonify, request from werkzeug import EnvironBuilder app = Flask(__name__) @app.route("/", methods=['GET','POST']) def index(): if (request.method == 'POST'): req_json = request.get_json() return jsonify({'requested json':req_json}), 201 else: return jsonify({"...
[ "jdeepthi1612@gmail.com" ]
jdeepthi1612@gmail.com
afe30402c428b3b5cb816c08a6899bf22623498c
bf8d344b17e2ff9b7e38ad9597d5ce0e3d4da062
/deploy/third_engine/demo_openvino/python/openvino_infer.py
0ad51022b1793e7b6430025a7c71cc0de7658c8c
[ "Apache-2.0" ]
permissive
PaddlePaddle/PaddleDetection
e7e0f40bef75a4e0b6dcbacfafa7eb1969e44961
bd83b98342b0a6bc8d8dcd5936233aeda1e32167
refs/heads/release/2.6
2023-08-31T07:04:15.357051
2023-08-18T02:24:45
2023-08-18T02:24:45
217,475,193
12,523
3,096
Apache-2.0
2023-09-10T10:05:56
2019-10-25T07:21:14
Python
UTF-8
Python
false
false
9,233
py
# Copyright (c) 2022 PaddlePaddle 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 appli...
[ "noreply@github.com" ]
noreply@github.com
ce879194c5cd487647fb7aebdeb08adbfa36a966
973ac85842b01e373c48d161bf46c7c7e0e50227
/Game5/home.py
d89c7638483f9feca2608c04430c40c0062f7fe7
[ "MIT" ]
permissive
splin85/Games
b652a050b905a2922849df21ff1262f8dedba6f1
41ebdf73e5523be15830334afc12f013b1d60323
refs/heads/master
2020-03-28T12:38:45.987129
2018-09-11T10:21:39
2018-09-11T10:21:39
148,318,954
1
0
MIT
2018-09-11T13:09:02
2018-09-11T13:09:02
null
UTF-8
Python
false
false
595
py
# coding: utf-8 # 作者: Charles # 公众号: Charles的皮卡丘 # 大本营类 import pygame # 大本营类 class Home(pygame.sprite.Sprite): def __init__(self): pygame.sprite.Sprite.__init__(self) self.homes = ['./images/home/home1.png', './images/home/home2.png', './images/home/home_destroyed.png'] self.home = pygame.image.load(self.homes...
[ "1159254961@qq.com" ]
1159254961@qq.com
b33a299ca424118b35ab9f42a83e2dcf452d6d1f
d1e1eb5f292f3982ddf67ebefcc9429d77ec8241
/grayHist.py
256486d7678b8f6d9eca4931e5a21813ff2132e4
[]
no_license
gadeuneo/SCSI-Python
46b23c5e2f2f43308e78c9dad7f4ea588d7b3e6b
194e296ffd06dcd50e64206fc125e9b04641a6d4
refs/heads/master
2021-01-25T08:49:08.825827
2014-08-07T15:56:48
2014-08-07T15:56:48
22,621,871
1
0
null
null
null
null
UTF-8
Python
false
false
239
py
#James Gardner import cv2 import numpy img = cv2.imread("TestImages/shops.jpg") gray = cv2.cvtColor(img,cv2.COLOR_BGR2GRAY) hist = cv2.calcHist([gray], [0], None, [8], [0, 8]) cv2.imshow("img",img) cv2.waitKey(0) cv2.destroyAllWindows()
[ "gadeuneo@users.noreply.github.com" ]
gadeuneo@users.noreply.github.com
df258a208348b017e2c9cf61a8a39e9d1be99432
44470a3d1388eddc83e84193813364cdc446f89a
/FinancialSimulator/Config/ConfigInstall.py
731afffe0e43c6cf368dd2f87069f4048f3bf290
[ "LicenseRef-scancode-public-domain" ]
permissive
FabriceSalvaire/pyFinancialSimulator
12671b48ff3596affc5d770058dae41dcdfeecac
ea8380bf1106d597661214b2695681e21d72d259
refs/heads/master
2021-01-10T17:16:59.975117
2018-04-11T11:41:38
2018-04-11T11:41:38
43,254,801
0
1
null
null
null
null
UTF-8
Python
false
false
1,298
py
#################################################################################################### import os #################################################################################################### import FinancialSimulator.Tools.Path as PathTools # due to Path class ##################################...
[ "fabrice.salvaire@orange.fr" ]
fabrice.salvaire@orange.fr
0af731161a510aa2f79564c87d640b03d3a74e87
38f8072cd2ecf0453bfdc8bc28e58bdd511071a6
/python/sdm/houdini/__init__.py
761073f29e01e729eeffb2b3463e8decdde8227c
[ "MIT" ]
permissive
sashaouellet/SDMTools
7248b93f4989662f96ecc17b218ac50956bc00fc
edb529398b07a577a5492887fe840c6cfd891551
refs/heads/master
2021-09-05T19:40:58.033313
2018-01-30T16:17:25
2018-01-30T16:17:25
107,717,224
7
4
null
null
null
null
UTF-8
Python
false
false
844
py
import hou import os, json import logging, logging.config # Installation directory for Houdini SDM Tools folder = os.path.join(os.path.dirname(os.path.dirname(os.path.dirname(os.path.dirname(__file__)))), 'houdini') logDir = os.path.join(folder, 'logs') # Setup logging if not os.path.exists(logDir): os.makedirs(logD...
[ "spaouellet@me.com" ]
spaouellet@me.com
57f4da243b0e492f1a11841675e4399e15da5c9f
1934b796ee4f8ba7a567742995f33b1b9993994d
/dlPRIDEPeptide.py
c3695d769f52626c9c54164f2eb0b58fe295261d
[]
no_license
ybucla/CodeManage
598e57f889559323b798ca238595b06913b0ad2a
f0c32e640aa5732cd5d66604612c07eaf1328b6e
refs/heads/master
2021-01-12T06:23:24.186669
2017-04-27T03:12:50
2017-04-27T03:12:50
77,351,967
0
0
null
null
null
null
UTF-8
Python
false
false
1,858
py
#! /u/home/y/ybwang/python import urllib2,re,sys,time from BeautifulSoup import BeautifulSoup def dl(id): url = 'http://www.ebi.ac.uk/pride/archive/projects/'+id+'/psms' response = urllib2.urlopen(url) page = response.read() soup = BeautifulSoup(page) # search results totalnum = 0 for t in soup.findAll('h3'): ...
[ "hust.wangyb@gmail.com" ]
hust.wangyb@gmail.com
20e7c40b605eeadfaa936e8900a227e8ce8b2bd2
b5e4c2d945aed8a690300db79a6dcb9a945941c6
/loading.py
b5b78ad6dab3ffd0a1a08ef8af030684d790ec93
[]
no_license
ArmandGiraud/EvaluateSearch
704ae021efa83b75932e4ec0cdadece0db7fcd9e
827487b5974e28d4a471352f7b410f8bf2771846
refs/heads/master
2020-12-31T10:10:51.548943
2020-02-08T09:38:05
2020-02-08T09:38:05
238,994,012
1
0
null
null
null
null
UTF-8
Python
false
false
1,173
py
"""this module aims at loading data necessary for evaluation of Semantic Search against Business labelled data""" import os import json DATA_FOLDER = "./data" def load_eval_data(eval_data_file_name): """load the evaluation set built from datafiller""" eval_file = os.path.join(DATA_FOLDER, eval_data_file_name...
[ "armand.giraud.ag@gmail.com" ]
armand.giraud.ag@gmail.com
dbdd81b2cd4ed5e08eaa9fb8b7d10f05889588fc
d9565a2b0b23a7ae758aeddf8fb64cbd6ddb016c
/todo_list/migrations/0005_auto_20200331_0136.py
e5f35704e649fcdd36b7436960db6904094bba17
[]
no_license
johnwonderbread/todo2
817d30142c5718fefaebd80be1175fe166f6e864
1e362d0f0c9a956436132e8bfe67cf1da76cf031
refs/heads/master
2021-05-17T05:35:18.316939
2020-04-15T04:42:55
2020-04-15T04:42:55
250,651,270
0
0
null
2020-04-12T06:48:21
2020-03-27T21:26:49
Python
UTF-8
Python
false
false
591
py
# Generated by Django 3.0.4 on 2020-03-31 01:36 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('todo_list', '0004_list_u...
[ "johntyler@Johns-MacBook-Pro-2.local" ]
johntyler@Johns-MacBook-Pro-2.local
04348bc209ff5800233d60c2f3054ef1ced29847
06afc1d3d4d29a986d2a629f0fea3a8931689c80
/ps10/Scratch.py
d3f2a16a53254fdfeb71877c1372c36acd5c0e48
[]
no_license
flip-in/CS6.00
bc2a0020ef2113b2a2d755ab08b1ce5ecdf7cb1c
11506d907d5f34a26117fa6a8b1ef20d16a59c81
refs/heads/master
2021-04-24T19:57:15.820778
2019-10-22T00:50:20
2019-10-22T00:50:20
117,389,624
0
0
null
null
null
null
UTF-8
Python
false
false
463
py
#!/usr/bin/env python2 # -*- coding: utf-8 -*- """ Created on Thu Sep 28 15:53:25 2017 @author: apple """ import random myList = [] for i in range(1, 101): myList.append(i) trainingPoints = myList[:] numItemsToPartition = int(len(myList) * .2) print numItemsToPartition holdout_points = random.sample(myLis...
[ "pricew86@gmail.com" ]
pricew86@gmail.com
e9a5f4c59a7c8134e743a024b9d32484992d4406
61a9fb936eabbe479d79a85a035c4aa25ad6e66b
/blog/views.py
67e9d0940a9af59636733ed70f3dfa0c8c89b530
[]
no_license
oneshadab/Portfolio-And-Amazing-Blog-Site
6b25cbd835fd703d72dc29fe6b2df2a4995ffe23
4ab0a98f8d047429b6b0516b8b62131215978793
refs/heads/master
2022-11-25T02:19:39.584571
2020-08-07T08:03:08
2020-08-07T08:03:08
285,787,180
0
0
null
2020-08-07T09:11:33
2020-08-07T09:11:32
null
UTF-8
Python
false
false
5,031
py
from django.shortcuts import render, redirect, get_object_or_404 from django.contrib.auth.forms import UserCreationForm,AuthenticationForm from django.contrib.auth.models import User from django.db import IntegrityError from django.contrib.auth import login,logout,authenticate from django.contrib.auth.decorators import...
[ "zenhar.mz@gmail.com" ]
zenhar.mz@gmail.com
d1bb597ac190a9b3082ebc37918679cc03a3b73f
59a01c3e492a825a2111bd32f0f2a697dacac123
/myproject/settings.py
5010f778d84674a46fc6c132a345c4ee89e8db73
[]
no_license
Anish171098/django-ipt
dc9946af5187d906cfd20420be098062faec96c7
dbbfb243c16f1b2c5f4a1910c4f00fb6dd13bbc1
refs/heads/master
2023-01-21T16:03:50.057138
2020-11-21T11:34:45
2020-11-21T11:34:45
314,795,180
0
0
null
null
null
null
UTF-8
Python
false
false
3,097
py
""" Django settings for myproject project. Generated by 'django-admin startproject' using Django 2.1.2. For more information on this file, see https://docs.djangoproject.com/en/2.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.1/ref/settings/ """ import os ...
[ "anish171098@gmail.com" ]
anish171098@gmail.com
fc67c96e07d3f67baee2b1e030bf0ecc520de2a2
f5a8e1b0707344b2048e5dd62d590faa4ce51c63
/forum/migrations/0002_auto_20200404_1636.py
719080ba44ec2e28df3c296a5a01b7b40d1b6afb
[]
no_license
Madhava2209/Forum_App
00217777f94cf3b4da332b7dc9d452d8df836e00
571d1c3fc4683336ee37b64fb3c5136089e8a0fc
refs/heads/master
2021-05-22T15:07:43.055071
2020-04-08T15:56:30
2020-04-08T15:56:30
252,975,093
0
0
null
null
null
null
UTF-8
Python
false
false
504
py
# Generated by Django 3.0.3 on 2020-04-04 11:06 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('forum', '0001_initial'), ] operations = [ migrations.RenameField( model_name='answer', old_name='titmestamp', ne...
[ "52972972+Madhava2209@users.noreply.github.com" ]
52972972+Madhava2209@users.noreply.github.com