blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
213 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
19e5914084188d5755d4c357569877b84a3db38f
5532a4b50e29cc114a439ee851640abcff8f5c1f
/baikeSpider/spiderMain.py
b482a72122424c12cace2af668327d389b3e8bf0
[]
no_license
xingjia05/crawler
c998620af1b90a1643bccdbc5d4a6a96d2f03c78
2ecd0420330feb5b63b206973fcabcbffbea09ba
refs/heads/master
2022-11-19T19:32:18.917684
2020-07-25T15:58:46
2020-07-25T15:58:46
282,476,394
0
0
null
null
null
null
UTF-8
Python
false
false
1,129
py
# coding:utf8 import urlManager, htmlDownloader, htmlParser, htmlOutputer class SpiderMain(object): def __init__(self): self.urls = urlManager.UrlManager() self.downloader = htmlDownloader.HtmlDownloader() self.parser = htmlParser.HtmlParser() self.outputer = htmlOutputer.HtmlOutpu...
[ "xingjiazhang@192.168.1.4" ]
xingjiazhang@192.168.1.4
9929b559634ed099ff922aaf1f3e3d1868db8a59
b438c197c2c564cce2c6c6525fe048e8804a5b6d
/setup.py
87c32fc998759e89874d5055790d290efefe706e
[]
no_license
serge-m/dlibfacedetector
06101bf4d7e3dc732c8857b1dc42fdb9c63ffb8c
0bc96d6ddea3660f670aa3029e7f515709c3d2a2
refs/heads/master
2021-01-20T18:15:25.239639
2017-07-29T09:52:02
2017-07-29T09:52:02
90,914,347
0
0
null
null
null
null
UTF-8
Python
false
false
421
py
#!/usr/bin/env python from distutils.core import setup with open('requirements.txt') as f: required = f.read().splitlines() setup(name='dlibfaceextractor', version='0.0.1', description='Face extractor based on dlib', author='sergem', author_email='sbmatyunin@gmail.com', url='https:/...
[ "sbmatyunin@gmail.com" ]
sbmatyunin@gmail.com
7269fba168be92f031d45efcf6db471198159283
3acc2ba3aedf9ec54ef70384d8481a6f1ef8f9d8
/habgnab_art.py
6aa22731e8478c137052fb08fb4cc1c32a6dd6fa
[]
no_license
Aknexad/hangman
df8f7fce2bec5bcf191b6b2a62ec10dbe67b51d4
736f174a9652062410a0275a3853ad5b43a5d1e9
refs/heads/main
2023-05-06T20:45:21.265140
2021-06-02T19:10:18
2021-06-02T19:10:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
533
py
stage = [ ''' +---+ | | O | /|\ | / \ | | =========''', ''' +---+ | | O | /|\ | / | | =========''', ''' +---+ | | O | /|\ | | | =========''', ''' +---+ | | O | /| | | | =========''', ''' +---+...
[ "noreply@github.com" ]
Aknexad.noreply@github.com
c636e5b018738670e0f6b6f4b1801954dca8e009
a85ad1cb4744755f8320319e154bca64fa84b889
/my_modules.py
c359669fbc7db8d085f62f126b7a04b1d4301500
[]
no_license
vfedotovs/text-based-password-generator
fc3946c7e443010f36bf8c2576a14a8a290f248d
ed8d3778370fa733b6b4fc1ea39e2bc44b693d6a
refs/heads/master
2022-11-29T04:50:48.052416
2020-07-25T21:18:51
2020-07-25T21:18:51
268,333,049
0
0
null
null
null
null
UTF-8
Python
false
false
4,249
py
import random spec_chars = ['!', '"', '£', '$', '%', '&', '*', '(', ')', '_', '+'] numbers = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] letters = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z'] def gen_random_index_list(count...
[ "vtrader@inbox.lv" ]
vtrader@inbox.lv
623e0cd2ec63ea3b4ba362632a976b5f02d1847c
582be7636d99fa5d4523b9bfe2b1d99d2a79bd47
/PostModeling.py
4d13205b074b1b0d1b5a31d0b3a4fcfc912a7931
[]
no_license
srobles09/COVIDvaccineAllocationIP2021
d4ac3b11b95576467c6bb11b379197f83307a34c
d0f08f74893a99e197ad418dc690a29e9c43f712
refs/heads/master
2023-04-17T10:24:59.914576
2021-05-04T19:34:03
2021-05-04T19:34:03
357,250,644
0
0
null
null
null
null
UTF-8
Python
false
false
2,450
py
#import os import pandas as pd import numpy as np # Plotting packages import matplotlib.pyplot as plt #import matplotlib.lines as mlines #from matplotlib.colors import ListedColormap #import seaborn as sns # Geospatial packages import geopandas as gpd import fiona from shapely.geometry import Point # Shapely for conve...
[ "69159760+srobles09@users.noreply.github.com" ]
69159760+srobles09@users.noreply.github.com
abd99effc8066d0f99b112d3383ed33be7e2b560
2d732fa72d31bbbc3654037c8f9e8d73a2b34855
/CalcBWMatrix.py
34171373fc551d35efe8dae408c9af72c70e80e0
[]
no_license
seshadrs/EC2Tools
5380fe532355404353a08b53fe4b80da68c15d1b
b8ff5f8676bf2404796e914442c85848ed00fbcd
refs/heads/master
2016-09-06T07:05:01.755735
2013-02-17T21:38:53
2013-02-17T21:38:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,462
py
""" Author : Seshadri Sridharan A script that calculates the Bandwidth matrix for all EC2 instances using 'netconf' Input : Instances txt file with each line in the format "<ami-id> <public-dns>" """ import subprocess import sys class EC2Instance: """ lets you ssh to an EC2 instance using subprocess, execute ...
[ "seshadrs@cs.cmu.edu" ]
seshadrs@cs.cmu.edu
d2e9df288e273a43ccb5fec56e34bdea637cba51
ac5e52a3fc52dde58d208746cddabef2e378119e
/exps-gsn-edf/gsn-edf_ut=3.0_rd=0.5_rw=0.06_rn=4_u=0.075-0.35_p=harmonic-2/sched=RUN_trial=10/params.py
9a7717a916f586bbc8ca9cafff2ceb6bd92ebf1a
[]
no_license
ricardobtxr/experiment-scripts
1e2abfcd94fb0ef5a56c5d7dffddfe814752eef1
7bcebff7ac2f2822423f211f1162cd017a18babb
refs/heads/master
2023-04-09T02:37:41.466794
2021-04-25T03:27:16
2021-04-25T03:27:16
358,926,457
0
0
null
null
null
null
UTF-8
Python
false
false
254
py
{'cpus': 4, 'duration': 30, 'final_util': '3.021810', 'max_util': '3.0', 'periods': 'harmonic-2', 'release_master': False, 'res_distr': '0.5', 'res_nmb': '4', 'res_weight': '0.06', 'scheduler': 'GSN-EDF', 'trial': 10, 'utils': 'uni-medium-3'}
[ "ricardo.btxr@gmail.com" ]
ricardo.btxr@gmail.com
d8b4a8e03d911c074131883c717616a071878443
1bd299b05b2c0769d9dfd77ecd336a103bf969fe
/Q2a.py
e0d8e349cd4259bd101cc6d11c0b4e6068c691e0
[]
no_license
xueyiyao/cs165a_hw1
89954e37c9412c5805a4961145072faf2a8ab07a
a1b0d0187d9cc2651783e4d831bb80166dbcf107
refs/heads/master
2020-12-20T04:57:40.982470
2020-01-25T00:09:08
2020-01-25T00:09:08
235,968,703
0
0
null
null
null
null
UTF-8
Python
false
false
424
py
import numpy as np #Note: Should use numpy array for A and B # A: 5x4 # B: 4x3 A = np.arange(1,21).reshape(5,4) print(A) B = np.arange(1,13).reshape(4,3) print(B) AxB = A.dot(B) print(AxB) """ Output example: [[ 1 2 3 4] [ 5 6 7 8] [ 9 10 11 12] [13 14 15 16] [17 18 19 20]] [[ 1 2 3] [ 4 5 6] ...
[ "xueyiyao@umail.ucsb.edu" ]
xueyiyao@umail.ucsb.edu
c95e855e9dbebcb86c55c09cf4e937203dc39f61
39a0b2d123198782fa39ae8f37855a7d312e2600
/prime.py
6dc64b70bac969d8aeebe20edc623f02dd4b312d
[]
no_license
ddchristian/Prime-Inventory
10effb95562e468dc89f35d078b95a215fb8ceeb
2230904f70b3711e11318f21c045710504fc11d3
refs/heads/master
2021-04-09T11:23:59.866737
2019-02-03T03:28:57
2019-02-03T03:28:57
125,563,068
1
0
null
null
null
null
UTF-8
Python
false
false
2,389
py
from startup import check_startup from queryMethods import getDevice startup_vars = check_startup(spark_bot=False) print('From __main__: startup_vars=', startup_vars) print('new startup_vars =', startup_vars) query_options = {'A' : 'serialNumberQ', 'B' : 'ipAddrQ', 'C' : 'macAddrQ', 'D' : 'deviceTypeQ', 'E' : 'softw...
[ "dchristi@cisco.com" ]
dchristi@cisco.com
f51c4db2199af5db649ce0d2dd84febdacf977fe
f0edb1fdfc89e3b01b82eca668b833c8e996c919
/src/meanvar.py
9127ddd84417a583b3f5b811ea7fd63d49fc1704
[]
no_license
SixByNine/gwdetect
420c14b595662485b735490323440d007f00e129
9cba6713d09e7442e1cbb2b04668f653c1688d6e
refs/heads/master
2021-01-02T09:39:04.249855
2017-06-29T09:37:10
2017-06-29T09:37:10
10,794,507
1
0
null
null
null
null
UTF-8
Python
false
false
931
py
#!/usr/bin/python from sys import argv from numpy import * import argparse parser = argparse.ArgumentParser(description='Mean, variance, other useful things.') parser.add_argument('file') parser.add_argument('col',type=int) parser.add_argument('-m','--median',action="store_const", const='median') parser.add_argument('...
[ "mkeith@pulsarastronomy.net" ]
mkeith@pulsarastronomy.net
504a3b7543dcbf0a72d82f024bc05d10b5648ab0
84907367f182ef7d5708c4232d9e41ea82a5c725
/Print_masterfile.py
77d3d22ff21d26afb09e7dbaa7cd42c2388078ce
[]
no_license
Paulina-Panek/BiopythonScripts
db91a53ffadd2bb7be006c9eca1379c1afd82e1c
b5e49b782684346a66e196b9ee63a6e6bf3a87c8
refs/heads/master
2021-03-17T09:31:08.708612
2020-05-01T00:06:27
2020-05-01T00:06:27
246,980,284
0
0
null
null
null
null
UTF-8
Python
false
false
5,545
py
# Paulina Panek # April 2020 # Script parsing result GenPept file (.gp) to get a csv file with all results from Bio import Entrez Entrez.email = "ppanek@hpu.edu" from Bio import SeqIO from Bio import Align from Bio.SubsMat.MatrixInfo import gonnet from PercentIdentity import * #imports all functions from PercentIdent...
[ "noreply@github.com" ]
Paulina-Panek.noreply@github.com
dc9824e46b5a8cc9a859a0acb9b5bcb1772b368b
21c788e7d1a7b9b00eb355af223ede47fd877094
/stefan/RC4_stefan.py
f5f614bce21774f0a1afe5dbad2d849d4f7ea435
[]
no_license
StefanB7/EHN-410-Practical-2-AES-3DES-RC4
b97382a42924ef3208f071f9b77f1ff0370674ae
da232b6457a8ca53bcc12f2ad29bbd9881cadeb3
refs/heads/main
2023-05-30T20:55:51.364034
2021-06-12T18:30:10
2021-06-12T18:30:10
362,843,729
0
0
null
null
null
null
UTF-8
Python
false
false
9,146
py
# EHN 410 - Practical 2 - 2021 # RC4 Encryption and Decryption # Group 7 # Created: 14 May 2021 by Stefan Buys import numpy as np import copy from PIL import Image ##### MAIN CIPHER FUNCTIONS ##### def RC4_Enctrypt(inspect_mode, plaintext, key): #Generate the required stream generation variables: S = bytea...
[ "22056509+StefanB7@users.noreply.github.com" ]
22056509+StefanB7@users.noreply.github.com
f0fb2f80c33baa93c5b997b44cf6feaf76ebabe8
eccffae4ff27bccaab1d2c46f1fcd21751e3ad15
/aayudh/scanner.py
ced96a79d3a0364b8c8151c7086a4e9665a8d286
[]
no_license
pl0mo/aayudh
8430718dcf8d136c6bc9250c17ca082b2d55d021
18314e4e2276fa8402b2122e4cb18b99c85160ad
refs/heads/master
2021-12-22T10:56:26.374085
2017-10-13T06:38:55
2017-10-13T06:38:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
41,015
py
# -*- coding: utf-8 -*- import re import logging.config import pygal from pygal import Config from pygal.style import LightColorizedStyle, RedBlueStyle, CleanStyle import yara import pylibemu from external import utilitybelt import utils class Scanner: def __init__(self, config={}): self.logger = logging.ge...
[ "7h3rAm@gmail.com" ]
7h3rAm@gmail.com
b558a5f18f55c7197200c0d002e7a91b389c657a
f18152728f6cc3ad6379181b303dc516cbd184ad
/actions.py
ce975520f8005426229fbb77a4e419e070707d81
[]
no_license
spirosavlonitis/sentiment_predictor
5d168cbd23b03786af1da4ea722139a3897e58df
5ef4e1c318db7ba35e7102ba56e2191c8aa8e1b3
refs/heads/master
2020-04-11T10:02:29.142794
2018-12-14T07:02:39
2018-12-14T07:02:39
161,700,872
0
0
null
null
null
null
UTF-8
Python
false
false
730
py
import numpy as np from vectorizer import vect import sqlite3 def classify(clf, document): """Classify user input.""" label = ['negative', 'positive'] X = vect.transform([document]) y = clf.predict(X)[0] proba = np.max(clf.predict_proba(X)) return proba, label[y] def train(clf, document, labe...
[ "spirosa84@hotmail.com" ]
spirosa84@hotmail.com
3116f1dbaf91e026539a62162fa063db593b5337
017916cc98e583ee7f0973220056fe5a6c5292b7
/basic_grammar/classs.py
f9da5db19a0581960ce4284a0d75a098fc017e75
[]
no_license
DongChanKIM2/JS
ae0674427be44b5459bb4cae1ed157d492c1925e
92ff17268e7831895a5909d404ddc2c7d9931430
refs/heads/main
2023-08-25T23:31:37.393520
2021-10-24T03:28:10
2021-10-24T03:28:10
362,272,742
0
0
null
null
null
null
UTF-8
Python
false
false
548
py
class Car: def __init__(self, options): self.title = options.get('title') def drive(self): return '부릉부릉' options = {'title': '세단', 'color': 'blue'} car = Car(options) car.title # bmw car.drive() # 부릉 부릉 class Mercedes(Car): def __init__(self, options): super().__init__(options...
[ "fromecha@gmail.com" ]
fromecha@gmail.com
f6c55bbbbe2cfb9bba709afc8dc0371c8106a589
d78145457f180d4b6535f5590ed794e1da26b070
/fig5.py
981ab3bdf3a5b84a36e3a107f8e1c1f3f0b5cf11
[]
no_license
bolongz/MC_Telegraph_Equations
2c0953e10e013748bf0f4a4761c18519547dcf89
3c9f067262d8b2ab84c94bca7f28f921a43f7254
refs/heads/master
2020-03-28T19:40:01.649127
2018-09-18T00:14:40
2018-09-18T00:14:40
148,997,929
0
0
null
null
null
null
UTF-8
Python
false
false
5,648
py
# This is an code for the example at 4.1.1 to generate Figure 5 import math import random as rd import numpy as np import matplotlib.pyplot as plt from mpl_toolkits.mplot3d import Axes3D from matplotlib import cm from matplotlib.legend_handler import HandlerLine2D import matplotlib matplotlib.rc('xtick', labelsize...
[ "bolongz" ]
bolongz
86b50466e909a8234bcdbc3ac7b0ff8bc7f50dd6
56bf1dbfa5d23257522fb03906e13c597a829ed3
/plugins/YouMustBuildABoatGameAgentPlugin/files/you_must_build_a_boat_game_agent.py
07e82ecfd2b6fa01e7c341a9e7693b38e4526d2a
[ "MIT" ]
permissive
fendaq/SerpentAI
0417777bbc0fccb50df456d0ced1bce839aa3211
e9c147f33a790a9cd3e4ee631ddbf6bbf91c3921
refs/heads/master
2021-07-23T02:04:15.977726
2017-08-26T23:31:59
2017-08-26T23:31:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
23,236
py
from lib.game_agent import GameAgent from lib.machine_learning.context_classification.context_classifiers import CNNInceptionV3ContextClassifier from lib.sprite import Sprite import lib.cv import lib.ocr from .helpers.ocr import preprocess as ocr_preprocess from .helpers.game import parse_game_board, generate_game_...
[ "info@nicholasbrochu.com" ]
info@nicholasbrochu.com
1e4e61cf5e7e169794e46582487559adf479515b
abf605ecb315c256243c242eaac4cd392973c6e2
/GeoDocs/GeoDocs/cuentas/models.py
3c9402a5c01122b0cf9eb077c890e7e700466d74
[]
no_license
patriciozapata/Python-django-postgresql
67f0cceea399939fe1d36bcf4b8682c9909b06c6
2fbd8142da0fa661f04ec166dac43a2ed6c6d9be
refs/heads/tesis
2022-11-05T19:30:05.521923
2019-05-02T21:01:23
2019-05-02T21:01:23
184,653,172
0
1
null
2022-11-03T16:04:34
2019-05-02T21:21:03
null
UTF-8
Python
false
false
2,324
py
from django.db import models from django.contrib.auth.models import ( BaseUserManager, AbstractBaseUser ) class UserManager(BaseUserManager): def create_user(self, email, nombre, apellido, perfil, password=None): if not email: raise ValueError('Users must have an email address') ...
[ "patrix_malito@hotmail.com" ]
patrix_malito@hotmail.com
be44bbc064d7280037111833692d80e31717c8e1
24f2deae78a3f5fa8b5b3a53baff5637e0ea80ff
/sinoera/tst/sinozodiac/test_monkeyclever.py
93fc4197c860d2006f56188460f678c512b554e0
[ "Apache-2.0" ]
permissive
sinotradition/sinoera
02b979a7dbca81594eed8862fa86671856b91e2e
1e93482c0a56a8917bc7ceebeef5b63b24ca3651
refs/heads/master
2021-01-10T03:20:20.231752
2015-12-14T15:13:42
2015-12-14T15:13:42
47,981,945
1
0
null
null
null
null
UTF-8
Python
false
false
394
py
#!/usr/bin/python #coding=utf-8 '''This is test module @author: sheng @contact: sinotradition@gmail.com @copyright: License according to the project license. ''' import unittest from sinoera.sinozodiac import monkeyclever TestMonkeycleverFunctions(unittest.TestCase): def setUp(self): pass def test...
[ "smlh.sheng@gmail.com" ]
smlh.sheng@gmail.com
66a4d92f7ec31b6e8c4973554647c227fbf1f327
197d1e555430b8524b2f8ef62539a65005d53f44
/hw1_tagging/venv/bin/easy_install
40711d02ecb909628a5d0027230116ae3a089950
[]
no_license
yw778/COMS4705_nlp
b721aa5c20d7620d826cd39887b6f16699f51efb
b66dedf26af7e746454e6becfa01a314c5bf664e
refs/heads/master
2021-03-27T19:57:36.796081
2018-05-26T22:21:16
2018-05-26T22:21:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
253
#!/Users/yuwang/nlp_1/venv/bin/python # -*- coding: utf-8 -*- import re import sys from setuptools.command.easy_install import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "yuwang95320@gmail.com" ]
yuwang95320@gmail.com
dc2c0bcd950dff0ecd0af63cc4a6cdd8ea869cd3
e82b073e9b92499b35b2d45c1b5384609969778a
/CSE316/Assignment 2/Source Code/src/server.py
6bef0307749b867e565de2ad6711c358ee2a4c1a
[]
no_license
wjxhhhhh/XJTLU
2a6dbba2ec48231b299393ea10e7f58c957a9e82
a812446706e5d575d154035c338f58757ce0771f
refs/heads/master
2023-04-25T00:00:34.473128
2020-07-09T23:21:04
2020-07-09T23:21:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
860
py
# Sahand Sabour - 1614650 # Basic implementation of the CoAP server # 1) Change self.SERVER to IP address of your choosing. # 2) Run this file via: # python src/server.py from coapthon.server.coap import CoAP from tools.Resources import COAPResource class CoAPServer(CoAP): def __init__(self): self.SE...
[ "karimiali0022@yahoo.com" ]
karimiali0022@yahoo.com
59bd8f6d04bda0023fa0410fd105f1e5594bf584
b45b8fdc2daf1138e45dc3aa6adc05737a171e52
/votingapp/election/admin.py
4a5b2d62dad3d6150f3b077fb5d443fb2efb4abf
[]
no_license
princevanani9/SEPP
badfb5e8d13c049995d0ed295141c3c310f744da
ea8cc4ef43f9c0e59fd4e73f75ccc459e3d15497
refs/heads/master
2023-04-03T10:16:43.533755
2021-04-02T07:46:48
2021-04-02T07:46:48
353,250,327
0
0
null
null
null
null
UTF-8
Python
false
false
210
py
from django.contrib import admin from .models import CreateElection @admin.register(CreateElection) class AdminCreateElecion(admin.ModelAdmin): list_display = ['name','type'] # Register your models here.
[ "vananiprince9@gmail.com" ]
vananiprince9@gmail.com
03e0ce534ea35cb85aa6b762ecc79460b25841f8
de2c194da09e8a00f67dfc81e4d2526598699ffe
/autoencoder_duong/test_keras_install.py
b9fffb9489ef8a7c4ebade37d2612768db0534d0
[]
no_license
vutienduong/CNNTensorFlow
972d0cc9468030d4837ea6fec31d1c6453b843c4
322434668334b524b2479135decc48cf762c6713
refs/heads/master
2021-01-12T08:23:36.699712
2017-05-25T03:00:30
2017-05-25T03:00:30
76,561,139
1
1
null
null
null
null
UTF-8
Python
false
false
1,107
py
from keras.models import Sequential from keras.layers import Dense, Dropout, Activation from keras.optimizers import SGD import keras.utils as keut # Generate dummy data import numpy as np x_train = np.random.random((1000, 20)) y_train = keut.to_categorical(np.random.randint(10, size=(1000, 1)), num_classes=10) x_test...
[ "lucifervtd@gmail.com" ]
lucifervtd@gmail.com
fe4ea25f10a6b7dc123b6983849f78f880cd66ff
9b3576dc1a0c8d9b778859372b8f8f4caa70d61d
/config.py
f9833ffe4f6025e3323868918f85ee9fee25ef9c
[]
no_license
dittohead/googlespeedtestchecker
8eb37a95432cf741906c7167ac530a4f80c9d788
f55d7cc2347f3e034558520d67ed598d607f8b65
refs/heads/master
2020-05-21T08:51:56.394729
2017-05-03T11:57:14
2017-05-03T11:57:14
70,039,971
0
1
null
null
null
null
UTF-8
Python
false
false
158
py
api_key = 'AIzaSyCRkic6tlrQqHESMQ6EnDubrZDrpML43xE' pagespeedHost = "https://www.googleapis.com/pagespeedonline/v2/runPagespeed?url=" sitemap = 'sitemap.txt'
[ "noreply@github.com" ]
dittohead.noreply@github.com
00de5095f39191fb4f1bd56a30416f2450ba71fb
f7330e58eddabd7d4fee5a4a9688d3515f8b9dd4
/checkpt_restart/run_with_restart/run_with_restart.py
8ed8540c1f34e7154796ccf35e1eca9b5bea714a
[ "BSD-3-Clause" ]
permissive
clawpack/apps
9960265fa818794e6ebec7b9b5b65aa8e188a27a
f520ff1bb5271cc565bd6d4370331b5530c0d257
refs/heads/master
2023-04-07T03:42:11.531257
2023-03-30T19:07:51
2023-03-30T19:07:51
3,307,858
8
36
NOASSERTION
2023-03-30T09:05:16
2012-01-30T19:16:21
Jupyter Notebook
UTF-8
Python
false
false
5,062
py
#!/usr/bin/env python # encoding: utf-8 """ Script to run a code or restart it from a checkpoint file automatically. Needs to be cleaned up and made more general. Assumes code is compiled already. python run_with_restart.py Will do the following: - Check whether _output exists with data from a run that appea...
[ "rjl@uw.edu" ]
rjl@uw.edu
b0990df1a25a8c8ff0efe04b40609e2c15b42bb8
bdfd839c3324feff6f474f006a32b66c01784b92
/ros_vive_driver/src/ros_vive_driver/vrwrapper/VRTrackedDevice.py
195b7ddebe023c68cf8143ce1a74bb3a88f25eeb
[]
no_license
jdewaen/ros_vive
fddf3c7e84d9f588517d27592d97a16d80d1f4db
5e20c3cd9934c9fd87784fb1e1a05139b673b2f3
refs/heads/master
2020-08-09T22:07:25.801070
2019-09-30T09:09:46
2019-09-30T09:09:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,048
py
import math import openvr class VRTrackedDevice(object): TRACKING_RESULT = { 1: "Uninitialized", 100: "Calibrating_InProgress", 101: "Calibrating_OutOfRange", 200: "Running_OK", 201: "Running_OutOfRange" } def __init__(self, vr_obj, index, device_class, name): ...
[ "noreply@github.com" ]
jdewaen.noreply@github.com
d59fa7860f877cedd7b28103192d75cb60a9b3b2
9ee94226f283d601b27ae0b97bcfa178b51b6514
/catkin_velodyne/build/sbg_ros_rec/catkin_generated/pkg.installspace.context.pc.py
d95db19ade852a50c6c45313259fae3fe71fe4cd
[]
no_license
zhang-quanzhe/navigation_car
ecaba1f385093ec3dc2ae433ce1ade96f278a466
2643a7827fcdc0660b11900f4118bb94be2291ee
refs/heads/master
2023-07-14T02:24:57.932726
2021-08-21T09:27:17
2021-08-21T09:27:17
398,517,655
0
0
null
null
null
null
UTF-8
Python
false
false
380
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 = "sbg_driver_2" PROJECT_SPACE_DIR = "/h...
[ "9418372+zhangquanzhe@user.noreply.gitee.com" ]
9418372+zhangquanzhe@user.noreply.gitee.com
e6fc9450a00f5c5945c80ab8beda73f5a5c6c6fc
aaf14b75a281d0d230591a503dafb49bcfa62be8
/params.py
b179fa5e43038c20cef058a5eb6c2db225c4b56c
[]
no_license
jialyu/MCIT582
6524021493a439ae130e5a145bacdc9236a96086
bbdf8840a4199094170ea113598ef4c84ee3d75e
refs/heads/main
2023-07-16T09:59:56.501976
2021-08-14T04:42:43
2021-08-14T04:42:43
367,925,781
0
1
null
null
null
null
UTF-8
Python
false
false
315
py
g=9698439374675276823390863679085787099821687964590973421364530706908301367232976242960049544758496470828675688981570819335336142993170304256564916507021997 p=17485407687035251201370420829093858071027518631263552549047038216080132036645437679594890870680904087373138192057582526597149370808367592630377967178132719
[ "jialyuz@seas.upenn.edu" ]
jialyuz@seas.upenn.edu
ba84f991060139b6c585752c2838f6d0855c1e5d
aaab39a353d12f182e107d1cf74f6b3a45d65bcd
/1/second.py
da9a718543e4aba6d31a3c9af9e43270fef52c99
[]
no_license
myonov/advent_of_code_2018
c27c1983d5479f0650fd303046d1ae6b115012fd
902c59d13c8119d976ed2c05a55a572852227fd5
refs/heads/master
2020-04-09T23:52:12.347631
2018-12-22T13:58:45
2018-12-22T13:58:45
160,669,082
0
0
null
null
null
null
UTF-8
Python
false
false
274
py
s = 0 f = {0} with open('input.txt', 'r') as fin: d = [int(line) for line in fin] q = True while q: for item in d: s += item if s in f: print(s) q = False break f.add(s)
[ "myonov@gmail.com" ]
myonov@gmail.com
c581ade6b59cd845c34b70586cfc5b5cab2022fd
f559b4d607cfdd3f192daed155ed8b0d263c71b2
/env/bin/django-admin.py
2832c6575b235beacbbadfac18c346f0dd30d38c
[]
no_license
chris-baby/WbOnline
6270015e9a7897b413a3fe97e2aca8a33f744995
91425f677d2e7c2a0ac9aeb8c1ee47d75f9b9321
refs/heads/master
2022-07-14T23:57:56.162760
2020-05-11T13:56:22
2020-05-11T13:56:22
263,056,250
0
0
null
null
null
null
UTF-8
Python
false
false
162
py
#!/Users/tongtong/Desktop/root/bwOnline/env/bin/python3 from django.core import management if __name__ == "__main__": management.execute_from_command_line()
[ "918128078@qq.com" ]
918128078@qq.com
1bd6b6e60863db9b9d7ea35156c0117ede3c8461
0d118386f5bf841864d2679461624b4ad0d488fb
/day_three/solution.py
e4af81f085b546f2a5f565f5c8d6defc9e540352
[]
no_license
sandrohp88/adventofcode2018
6604d56f5d67a889b6f1327888e9b9861c0bd72b
7cc0a05f836ce4d29c482f18559ed74ea0d31498
refs/heads/master
2020-04-09T09:32:37.437124
2018-12-09T22:37:37
2018-12-09T22:37:37
160,237,449
0
0
null
null
null
null
UTF-8
Python
false
false
1,178
py
import re def part1(claims): # rows, columns = find_matrix_size(claims) matrix = [['.']*1000 for _ in range(1000)] overlaps = 0 for id_, l, t, w, h in claims: for i in range(t, t+h): for j in range(l, l+w): if matrix[i][j] == '.': matrix[i][j] = ...
[ "sandrohp88@gmail.com" ]
sandrohp88@gmail.com
95025f13d1081fcd737d395850c6ddefe735a83f
19a4b144e8afa70931d7a6e03bad2acea3d58fec
/venv/Lib/site-packages/uiutil/frame/dynamic.py
a4b996a817ca562efe709e2ab8ab6b40f4e40a0d
[ "Apache-2.0" ]
permissive
avim2809/CameraSiteBlocker
29505f8d2d36f7d402787a032a916bd0fc2c4941
bfc0434e75e8f3f95c459a4adc86b7673200816e
refs/heads/master
2020-11-24T17:01:05.842820
2019-12-26T12:55:34
2019-12-26T12:55:34
228,260,283
0
0
null
null
null
null
UTF-8
Python
false
false
6,887
py
# encoding: utf-8 import json import logging_helper from future.utils import iteritems from uiutil.frame.frame import BaseFrame from configurationutil import Configuration, cfg_params from .._metadata import __version__, __authorshort__, __module_name__ from ..resources import templates, schema from ._dynamic_widget i...
[ "avim2809@gmail.com" ]
avim2809@gmail.com
97fa9c0f4789f947ef64dd6ce8e5760526b25b7e
e3cf0d1f7ee2f3320f96b4ff5567e11b4155814f
/blog_nsi/urls.py
fe20079bb2cb7ff858d918813f2514645aa57226
[]
no_license
noumou2019/projets_nsi
6ef21e634126411a61ccdddd3fd436ea60c65774
e9c816d7fc8f8847c93d9d1cad6f40ed0eae0935
refs/heads/master
2023-07-29T13:42:26.057217
2020-04-24T20:37:25
2020-04-24T20:37:25
256,851,995
0
0
null
2021-09-22T18:54:14
2020-04-18T20:58:56
Python
UTF-8
Python
false
false
318
py
from . import views from django.urls import path from django.conf.urls import url urlpatterns = [ # path('', views.PostList.as_view(), name='home'), path('', views.post), url(r'^post/(?P<id>[0-9]+)$',views.show_post), #path('<slug:slug>/', views.PostDetail.as_view(), name='post_detail'), ]
[ "noumou diakhate" ]
noumou diakhate
013e3a057b78e9d567beb91e013b38d35609ed24
ba6cf7dc7403d475121460684a01e7aebeda38b1
/ag_Cog_Testing_Pred/ag_Cog_Testing_Pred/q_scripts/TL_DRM_IDA_Traget_restAPI_test.py
4f49f9e857c5405f50bcf55b8121f67e8036cb42
[]
no_license
ilanjaya/predictive-defect-management-1479716573136
a1d53a6297c52af14c4c429572e4cd4f79764808
1bf9f5a6b59041f771dbbe22cbb85358d77c844b
refs/heads/master
2023-07-09T11:23:18.159748
2023-06-27T11:56:35
2023-06-27T11:56:35
74,347,471
0
0
null
2016-11-22T07:35:56
2016-11-21T09:30:25
Java
UTF-8
Python
false
false
5,612
py
# -*- coding: utf-8 -*- """ @authors: Cognitive Development Team (Nilesh, Mandar, Abhishek, Gomathy, Rahul, Anil) """ from __future__ import print_function import sys import os import requests import time # User Inputs ----------------------------------------------------------------- path_base = os.path.dirname(os.pa...
[ "noreply@github.com" ]
ilanjaya.noreply@github.com
834213ba2753b49b7973cec9cd548f30bae2ec2a
323cd948429b9e9e6b0e287be9e352cb4c78eebd
/MyCareer/mycareers/migrations/0014_auto_20190626_1718.py
d7e7673cd29c0d57445782ca9fe95c0f2a331a94
[]
no_license
Jiwon0801/MyCareer
2267aebc6295ae1ae68f2441da7c9b45a034e135
dabed70b885a4147d283f5aafa75ff29b1cb39ef
refs/heads/master
2022-11-16T23:39:34.631636
2019-06-27T05:33:40
2019-06-27T05:33:40
194,028,875
0
1
null
2022-11-03T16:24:10
2019-06-27T05:32:49
Python
UTF-8
Python
false
false
521
py
# Generated by Django 2.2.2 on 2019-06-26 17:18 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('mycareers', '0013_auto_20190626_1655'), ] operations = [ migrations.RenameField( model_name='tb_project', old_name='project_...
[ "ssintico88@naver.com" ]
ssintico88@naver.com
897d586112f0ec222933a592cf1333bb33fa2f21
3615a5c3ef1a534630c07cdc128f258f505bbfdb
/CONNECT/settings.py
4a486906b9064b30564a19fa8b5a2f4e634b6200
[]
no_license
ashwinmendhe/Django-CONNECT
9310736c2092b6cf0e470f76e139f59bbb6a59a3
619c3f5817b66320bec9d486b899ca7481f70a3c
refs/heads/master
2023-08-21T10:31:24.314729
2021-10-28T05:38:30
2021-10-28T05:38:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,200
py
""" Django settings for CONNECT project. Generated by 'django-admin startproject' using Django 3.2.8. For more information on this file, see https://docs.djangoproject.com/en/3.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.2/ref/settings/ """ from pathlib...
[ "ashwin.mendhe11@gmail.com" ]
ashwin.mendhe11@gmail.com
724b4ac56c91b6848db180ec241a9630281cc4cf
d1276973203b51a7891d54c061d268dcce5686a8
/django-udemy/src/blog/migrations/0005_comment.py
a55c2b7f563d5df1d302ec02c05720af1a8a8db5
[]
no_license
srinumadhavv/django_restaurant
f576ef2c52cebaebff9155d6f1d33dba0e66ca61
39087916cdb804d30fca3197936d3902f5d00a14
refs/heads/master
2021-05-21T20:41:05.184948
2020-04-03T17:25:48
2020-04-03T17:25:48
252,791,832
0
0
null
null
null
null
UTF-8
Python
false
false
965
py
# Generated by Django 3.0.4 on 2020-04-01 17:26 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ...
[ "srinumadhavv@gmail.com" ]
srinumadhavv@gmail.com
8a6ae4b1914dbad07b3f5757c33c8c2f26c55fe0
418f984fd7adc3f0c167b7b306cc5d7752149883
/LearnScrapy/books.toscrape.com/settings.py
4868c7fafbaefb54d503879a76561ae65a9c6c14
[]
no_license
shuihu001/Python3-Spiders
1c056fa6451973cac40651a23d8bce5d546f83a0
5e425010450cee73f3f45b0b5d4dffa51393adb3
refs/heads/master
2020-03-09T12:45:44.374079
2018-03-24T06:33:23
2018-03-24T06:33:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,149
py
# -*- coding: utf-8 -*- # Scrapy settings for ToscrapeBooks project # # For simplicity, this file contains only settings considered important or # commonly used. You can find more settings consulting the documentation: # # https://doc.scrapy.org/en/latest/topics/settings.html # https://doc.scrapy.org/en/latest...
[ "noreply@github.com" ]
shuihu001.noreply@github.com
cd1aea6d076c2a8cb9f8340f9ffca0fa4ba1c63b
db5aac17b476308e291fc8ca6dc642d6a5ecb105
/gui/bin/wheel
2aa36ddfa2123ed46a53557291c9f4fb95cad95c
[]
no_license
maknetwork/windows_gui
2f93c6a3b5ff8a1581e1e3852fcb117835cf3cc0
6318371db12fd9aaa25a5a579e700f4e1a1c1a66
refs/heads/master
2023-08-14T23:54:13.254629
2020-04-18T10:18:20
2020-04-18T10:18:20
256,722,790
0
0
null
2023-07-23T12:22:47
2020-04-18T10:15:37
Python
UTF-8
Python
false
false
229
#!/home/arif/aarzeon/gui/gui/bin/python # -*- coding: utf-8 -*- import re import sys from wheel.cli import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "maknetwork" ]
maknetwork
79eeaa901ce0d9bd1a86ba03f05e476efff338c2
58ca1aedfd2c2c43ce3f71e7877f92c51d41adf8
/confusion_matrix.py
a98fcffcb0e3224af90edcaa6902019e8e7cc655
[]
no_license
seaun163/DeepSLAM
00d88ee00367987cb4b7a57db3b0bedafeeb4e68
a038772bd7de897fb8253214813bfab09e31d62f
refs/heads/master
2021-01-25T08:19:28.198277
2016-10-18T19:11:32
2016-10-18T19:11:32
93,752,917
1
0
null
2017-06-08T13:32:24
2017-06-08T13:32:24
null
UTF-8
Python
false
false
15,726
py
import numpy as np import matplotlib.pyplot as plt import scipy.io as sio import cPickle as pickle import math import h5py import getpass import sys import overfeat from scipy.ndimage import imread from scipy.misc import imresize from copy import deepcopy # Smush the 5 images together into one, otherwise treat them se...
[ "brent.komer@gmail.com" ]
brent.komer@gmail.com
b9a7c26b69d0c4bee348283b34b00c53ac903ea8
c157dc447672f47f2e4aef2291c25beea6d71cf0
/geGL/scripts/subscripts/glExtensionFilter.py
f6b45412710eee580962cd33b8e7885e56887db1
[]
no_license
Rendering-FIT/GPUEngine
a1b38299adb9ee972a3b0011ad3bfb31b9da9fab
a5f486d3dfdc7c4430d90cb6cf0ccdba6da37844
refs/heads/master
2022-04-29T17:50:56.736207
2022-04-29T09:59:10
2022-04-29T10:09:39
81,936,720
11
8
null
2019-10-16T07:15:04
2017-02-14T11:04:27
C++
UTF-8
Python
false
false
492
py
#!/usr/bin/python import sys import re import os import fileinput from subprocess import Popen, PIPE data0="" for line in fileinput.input(): data0+=line #ext = re.compile(r"AMD|NV|ATI|IBM|HP|EXT|ARB|OES|SUN|SGI|MESA|INTEL|APPLE|3DFX|GREMEDY|OVR|PGI|INGR|KHR|\[") ext = re.compile(r"AMD|NV|ATI|IBM|HP|ARB|OES|SUN|...
[ "imilet@fit.vutbr.cz" ]
imilet@fit.vutbr.cz
51a76d49337dfbcacbf3e19f4ad22b413a2df96f
c68f4ef6b038d54489593efdbc5829793d9bc620
/official/urls.py
bae2e51e7f7ae08e6a372850ae95bc9c4881a99e
[]
no_license
sivanZhang/official
8aec0e0e56421c098847a66813943fc162bfff04
255c3baa04a1920d46607434819d0dd8899c4f1c
refs/heads/master
2021-09-16T00:15:25.199375
2018-06-13T14:27:54
2018-06-13T14:27:54
139,970,003
1
0
null
null
null
null
UTF-8
Python
false
false
2,284
py
"""official URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.11/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') Class-b...
[ "461882709@qq.com" ]
461882709@qq.com
b45ff9e709d93a0c576a76a3dfe00c1a545240a4
c74e1e14535b6343a27ddbd9fe130a327ba75716
/shop/migrations/0005_auto_20200503_0226.py
1d6c6a34b6964241ac006bb5efa30cd12507c825
[]
no_license
parmaryash49/Django-Simple-Ecommerce-Site
7736bbbf331df0c80bf1029ee3496f8e577b7bdd
cd0bf17fb70e35ecbf7db05d637fd80b77244889
refs/heads/master
2022-12-17T23:56:42.908596
2020-05-31T19:35:40
2020-05-31T19:35:40
299,948,894
0
0
null
2020-09-30T14:39:34
2020-09-30T14:36:51
null
UTF-8
Python
false
false
526
py
# Generated by Django 3.0.5 on 2020-05-02 20:56 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('shop', '0004_orders'), ] operations = [ migrations.RenameField( model_name='orders', old_name='item_json', ...
[ "chintakd999@gmail.com" ]
chintakd999@gmail.com
4a3aa4ea3c917d43b650b80ecfdaa059e4256042
003b6b60d7b89779a304ac05612a83364f01bbe4
/TrialOne/EComWeb/website/migrations/0011_remove_order_start_date.py
5d15e3e40014a0711e4db2bb5764ddbc9ab7fe8b
[]
no_license
Shrenik99/DBMS_Python_project
7d8ab2f04e31054139f7eb8948dad37dc3aa891b
ed26f1bfadc42252e0a43b1efb91a1b476344aaf
refs/heads/main
2023-03-27T04:35:48.273102
2021-03-21T11:10:58
2021-03-21T11:10:58
350,084,267
2
0
null
2021-03-21T18:27:24
2021-03-21T18:27:24
null
UTF-8
Python
false
false
330
py
# Generated by Django 3.1.5 on 2021-03-17 11:08 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('website', '0010_orderitem_ordered'), ] operations = [ migrations.RemoveField( model_name='order', name='start_date', ...
[ "arya21kapoor@gmail.com" ]
arya21kapoor@gmail.com
544248a2f00936d0a98efc4feaa3d18b67957fb1
eb720d10b398f08a08770599c091f483c8504fc3
/src/state_definitions.py
e81b1bcb9043a067d1f3cc9692a3d086123429a1
[]
no_license
colepeterson4/Wall-Follower
deeb90e5d773f6de396b6b81ddd895c9dbaf2de9
3c5ed49428e69a5a8612e83f9d14b3142ca54c12
refs/heads/master
2023-03-13T05:08:38.481887
2021-03-05T04:07:49
2021-03-05T04:07:49
344,686,827
0
0
null
null
null
null
UTF-8
Python
false
false
372
py
#Here is where you can define all of your states in a clever way to make your code more readable. #Think of all the states your robot could be in if thrown randomly into a world. #Currently the code is set up for a variable name being equal to an integer like: #FOLLOW_LEFT = 1 #FOLLOW_RIGHT = 2 #TURN_LEFT = 3 #TURN_RI...
[ "colepeterson4@gmail.com" ]
colepeterson4@gmail.com
d6e187a43b57948110fc80cd494a67623b5d163b
816ef1dccf6212505fe4eb9579f2e121010a3c8e
/mysite/settings.py
8692deeaaf1b2f369ddc2dfb878059c0a8741afc
[]
no_license
ginamb/my-first-blog1
fd82c66e1340d000c52bb665ed2de6ded6346d72
606e2c1cc072b82552e298c77c4b23a69ab9055b
refs/heads/master
2020-12-30T13:40:00.175766
2017-06-13T17:12:42
2017-06-13T17:12:42
91,241,139
0
0
null
null
null
null
UTF-8
Python
false
false
3,200
py
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 1.10.7. For more information on this file, see https://docs.djangoproject.com/en/1.10/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.10/ref/settings/ """ import os ...
[ "ambrozaityte.g@gmail.com" ]
ambrozaityte.g@gmail.com
c263e9bdb7f6f66dd4cc071975d148c40f35b7c8
5436ef13bec2476f5abe9d8f1f586a90d87119d6
/wsgi_adapter/request.py
9ef2791a22d337b0dea5ec33b9f16606eb322561
[ "MIT" ]
permissive
carltongibson/azure-functions-wsgi-adapter
392f2890880882b3c7740d5a9ae1159a977d677b
0dc0a45aa1b6b72155c62dcb1388ff43b21a1c1d
refs/heads/master
2023-08-26T15:19:27.753700
2020-04-12T13:12:48
2020-04-12T13:12:48
157,197,174
9
2
null
null
null
null
UTF-8
Python
false
false
745
py
import os class AzureRequestAdapter: def __init__(self, azure_request): self.azure_request = azure_request def as_dict(self): """WSGI environ MUST be a plain Python dict.""" req = self.azure_request path_info = req.route_params.get('path_info', '') path_info = '/' + o...
[ "carlton.gibson@noumenal.es" ]
carlton.gibson@noumenal.es
084e6fcc39a7e35823dbbce5f8f327f6cc08ee9e
b93321838d339c9354e735cd691bbc4bfa5b7e4e
/website/urls.py
c4d34bd6180baf470bac0c204b7c6f1bf8271ee6
[]
no_license
deviank/firstDjangoSite
45a68759515ff5b5b31bfe5427495f270dee69b2
efd33f49878a8e495913b41b6358af383ad12be5
refs/heads/master
2021-01-11T02:05:51.631143
2017-05-18T15:20:36
2017-05-18T15:20:36
70,809,280
0
1
null
2017-03-29T07:10:17
2016-10-13T13:28:25
HTML
UTF-8
Python
false
false
1,115
py
"""website 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') Class-ba...
[ "noreply@github.com" ]
deviank.noreply@github.com
b6eb439655a13dd067a935ed76756f4f55fc72b6
baeca56d705aab0325fe6c2fc5fbd0b8c9883303
/递归/3.py
584f48796718a0023c0086352b63cac3e9aa6283
[]
no_license
lixiangwang/SEU---Data-structure-and-algorithm-design
69411225934636ea791ced494b598d610224b48f
cbc03bff7e885a196dfd6a6a75de112e8b6a3aa5
refs/heads/master
2020-11-23T22:46:19.928513
2019-12-23T11:06:14
2019-12-23T11:06:14
227,852,147
1
1
null
null
null
null
UTF-8
Python
false
false
480
py
# encoding: utf-8 def LCS(a, b): if a == '' or b == '': return '' elif a[-1] == b[-1]: return LCS(a[:-1], b[:-1]) + a[-1] else: sol_a = LCS(a[:-1], b) sol_b = LCS(a, b[:-1]) if len(sol_a) > len(sol_b): return sol_a return sol_b if __name__ == ...
[ "47591862+lixiangwang@users.noreply.github.com" ]
47591862+lixiangwang@users.noreply.github.com
86aa76b0f91c8917deb6bc800a3a98983bb2bb02
51f887286aa3bd2c3dbe4c616ad306ce08976441
/pybind/nos/v6_0_2f/overlay_gateway/attach/rbridge_id/__init__.py
444af2f5f0cc31eaaf8279728fd9afc3fcb242cc
[ "Apache-2.0" ]
permissive
b2220333/pybind
a8c06460fd66a97a78c243bf144488eb88d7732a
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
refs/heads/master
2020-03-18T09:09:29.574226
2018-04-03T20:09:50
2018-04-03T20:09:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,382
py
from operator import attrgetter import pyangbind.lib.xpathhelper as xpathhelper from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType from pyangbind.lib.base import PybindBase from d...
[ "badaniya@brocade.com" ]
badaniya@brocade.com
2372188140a1e8060d79cb303a3e257bee50b3c8
c718f1694f84b96ee45ca348045b3e0a11c38444
/account_profile/migrations/0004_auto_20141207_0003.py
edc8931a8d22583289fb24831177cd385ea02008
[]
no_license
damianpv/realtymplace
26a3ad48ad132d7993b3741fb6c351c376b5d9f2
7e84d46ddb82066c4b1b1d73abcb7df038f05dc3
refs/heads/master
2020-03-18T02:54:22.686441
2018-05-21T03:28:17
2018-05-21T03:28:17
134,212,955
0
1
null
null
null
null
UTF-8
Python
false
false
445
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('account_profile', '0003_auto_20141207_0002'), ] operations = [ migrations.AlterField( model_name='userprofile', ...
[ "damian.adriel@gmail.com" ]
damian.adriel@gmail.com
92bfa05bea61a869b6d79595e5b28f340350f31c
c4f4499e19a80381be650d01fb4f0c176f07cbb9
/Python/buttonLED.py
f5b8938628c1a699c19fa4b2e78f0e5fd69b5600
[]
no_license
dcmid/doodads
6af8f61b3182707bd69f925507675b2ab2de2008
d48cfe3fc27407ba0e89dda741c24ec80e6337e9
refs/heads/master
2021-01-22T11:38:38.848244
2015-05-27T16:02:26
2015-05-27T16:02:26
33,454,497
0
0
null
null
null
null
UTF-8
Python
false
false
488
py
import RPi.GPIO as GPIO import time GPIO.setmode(GPIO.BOARD) GPIO.setup(15, GPIO.IN, pull_up_down=GPIO.PUD_UP) GPIO.setup(40, GPIO.OUT) while True: try: startTime=time.time() while not GPIO.input(15): time.sleep(.05) elapsedTime=time.time()-startTime if elapsedTime>.05: print elapsedTime startTime=...
[ "d.claymidkiff@gmail.com" ]
d.claymidkiff@gmail.com
863dda01ba3e7e7715f7baace8a7169afe070a36
58bcdda18a727374830c8b536ca413714a137a36
/plebian/news/tests.py
c1ddda7b126ec9de362c9e7838cb3781e7570d89
[]
no_license
alanzoppa/django-plebian
c337fa120090a46966791e69e41b2d5497b3bd87
eb3f861abf1da1ebee0550a774923fc4a7122294
refs/heads/master
2016-09-09T22:52:23.121713
2010-11-19T23:14:18
2010-11-19T23:14:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
545
py
import random import json from django.test.client import Client from django.test import TestCase from django.conf import settings from django.core.cache import cache from django.core.urlresolvers import reverse from plebian.news.models import * class SimpleTest(TestCase): def test_validity_of_urls(self): c...
[ "azoppa@Manifest-Digitals-MacBook-Pro-5.local" ]
azoppa@Manifest-Digitals-MacBook-Pro-5.local
2293fb2827ff3dc063a3779584f029916bbccf17
a700e0378dcb2409aaea43f671a242e7d747fd8a
/gui/Table.py
351b5db048854a55c1384208d88e5f5195a024a8
[]
no_license
razzaksr/PythonAnnamalai
da8d3a09a97489e43cd880a8114e24412ba36362
4f0e431fcd0fe5cd22075c9348c9fff954785c89
refs/heads/master
2023-02-02T00:54:42.694291
2020-12-22T09:58:15
2020-12-22T09:58:15
281,579,023
0
0
null
null
null
null
UTF-8
Python
false
false
2,741
py
# Getting records from tkinter import * from tkinter import messagebox from tkinter.ttk import Combobox from pymysql import * class record(Tk): def __init__(self): Tk.__init__(self) self.title("Getting records") self.geometry("500x400") p1 = PhotoImage(file="C:\\Users\\DOLL\\Pycha...
[ "razzaksr@gmail.com" ]
razzaksr@gmail.com
061c8009fa7bb28dc55261adf8cd2fd22130be4c
08bac92b1741c0b2e106935bab47ff65b309123c
/0x0F-python-object_relational_mapping/5-filter_cities.py
7ec7e23ceb57945823f543d7cfa6fe82316dd399
[]
no_license
RoMalms10/holbertonschool-higher_level_programming
5702dbcc17156b66b472df79eddb55baac2613aa
aebff20e55c7fe07e9e3fb1ff33dd65d17d8ee1f
refs/heads/master
2021-09-14T10:10:56.680309
2018-05-11T17:59:40
2018-05-11T17:59:40
113,100,806
0
1
null
null
null
null
UTF-8
Python
false
false
812
py
#!/usr/bin/python3 ''' This module queries cities TABLE and joins it with states and sorts by input ''' if __name__ == "__main__": import MySQLdb from sys import argv db = MySQLdb.connect(host="localhost", port=3306, user=argv[1], passwd=argv[2], db=argv[3]) cur = db.curs...
[ "156@holbertonschool.com" ]
156@holbertonschool.com
3d5181261fd7d8e2a51740ad8383f25860efab5c
67a7ebf702ce3fd3b7d198313e3c5d444ca7ac0c
/modules/entry.py
a1dfbae9f114c76eb68865cd32324d7dd1b2372d
[ "Apache-2.0" ]
permissive
syslock/ems
82b959efbdbba48da28d781afe5bfb66dfc3b072
241a93b90ef866200f78c023236921ab8f8c115c
refs/heads/master
2021-01-17T02:23:20.858297
2020-10-10T23:15:27
2020-10-10T23:15:27
4,173,565
0
0
null
null
null
null
UTF-8
Python
false
false
1,298
py
import json from lib import db_object from lib import entry from lib import errors from modules import get as get_module def process( app ): query = app.query obj_id = query.parms["id"] if not app.user.can_read( obj_id ): raise errors.PrivilegeError( "%d cannot read %d" % (app.user.id, obj_id) ) obj = db_object....
[ "syslock@gmx.de" ]
syslock@gmx.de
d456c30b907b604c4ef16dcf5f3a4f3774303ec4
7979c7d4162d75c749d6e22c4914c3ff7f92dd5a
/我手敲的代码(中文注释)/chapter11/volatility/plugins/dumpfiles.py
afac695daf92e55f1fe01a5845fe3d6d6eb6c276
[]
no_license
giantbranch/python-hacker-code
11f2bc491c43d20d754cefd7084057af47b3f62c
addbc8c73e7e6fb9e4fcadcec022fa1d3da4b96d
refs/heads/master
2023-08-05T01:46:19.582299
2021-11-25T06:17:40
2021-11-25T06:17:40
52,247,436
400
179
null
null
null
null
UTF-8
Python
false
false
52,457
py
# Volatility # Copyright (C) 2012-13 Volatility Foundation # # This file is part of Volatility. # # Volatility is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License Version 2 as # published by the Free Software Foundation. You may not use, modify or # distribute...
[ "493254599@qq.com" ]
493254599@qq.com
605bd581f662bb2525fc236b7fb33a2086e737a5
8780bc7f252f14ff5406ce965733c099034920b7
/pyCode/MongoToMysql/ods_mongodb_enterprise.py
58d9f7ddcd5e4fab7187e43a6bedc2822c48e69c
[]
no_license
13661892653/workspace
5e4e458d31b9355c67d67ba7d9faccbcc1ac9f6b
17960becabb3b4f0fc30009c71a11c4f7a5f8330
refs/heads/master
2020-12-24T20:00:15.541432
2018-08-14T13:56:15
2018-08-14T13:56:15
86,225,975
1
0
null
null
null
null
UTF-8
Python
false
false
2,727
py
#coding=utf-8 #Version:python3.5.2 #Tools:Pycharm #Date: """ 数据仓库,处理Mongodb到Mysql的数据问题 """ __author__ = "Colby" import pymongo import pymysql #--------------------------数据库启动函数------------------------------ def start_MySQL(): conn = pymysql.connect(host='localhost', user='root', passwd='root', db='youboy', charset...
[ "470563152@qq.com" ]
470563152@qq.com
3b5c3590e555db3f87a54ef3874064e2167e7ede
8c922f362fdb28782502eb91176e686df8142087
/src/novaposhta/views.py
1747e1c8e0bd35d9e525700883a05c24ebc09d3d
[]
no_license
JaVood/pasta_family
94d981088b8183845e8f12b3fab4c99bd651e3bf
fc6698e388c5e4ac5a0c58a93a610cbf4000e58a
refs/heads/master
2020-05-02T12:35:02.403867
2019-03-27T09:37:51
2019-03-27T09:37:51
177,957,070
0
0
null
null
null
null
UTF-8
Python
false
false
646
py
from django.http import JsonResponse, HttpResponse from django.contrib.auth.decorators import login_required from novaposhta.lib import search_warehouses, refresh_warehouses, refresh_areas, refresh_cities, refresh_all @login_required def refresh(request): refresh_warehouses() refresh_areas() refresh_citi...
[ "javood@JaVood.local" ]
javood@JaVood.local
f3b263e9f663d8a6408e7f735bb694cdad3097e4
8b9989ea9e96b20eecaf2132fff1a7d3ef22aad9
/Length_of_Last_Word.py
67668bc7c2fe7a5c6514a02be5f998d1d7f9d076
[]
no_license
useyourfeelings/leetcode
421a113e3b46208e98b573f83b4518ad06251856
4847f7f2d50d82f56932491426e4a948687d82ea
refs/heads/master
2021-01-01T20:06:22.766922
2015-02-17T05:53:41
2015-02-17T05:53:41
30,801,531
0
0
null
null
null
null
UTF-8
Python
false
false
254
py
class Solution: # @param s, a string # @return an integer def lengthOfLastWord(self, s): s = s.rstrip() length = len(s) if length == 0: return 0 return len((s.split(' ')[-1].lstrip()))
[ "raidercodebear@gmail.com" ]
raidercodebear@gmail.com
545da36839f6b07f36ef3b328c0fdcda8d0d1c9f
5d680ec506efe6b6e743fd3fb0ba7554a341028e
/andreasmusic/pitches.py
cb49af2170184da88293b5062e3c35449d562f27
[]
no_license
andreasjansson/andreasmusic
200e0252fe3ca33b1e58dc5a1ccb460fbc061212
f3906a9588e066b6aceb271613fcf674b4b55890
refs/heads/master
2021-01-10T19:01:52.006316
2014-08-22T06:07:17
2014-08-22T06:07:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,867
py
import sys import numpy as np from collections import namedtuple Note = namedtuple('Note', ['name', 'fq', 'midi_pitch']) NOTE_NAMES = ['C', 'C#', 'D', 'D#', 'E', 'F', 'F#', 'G', 'G#', 'A', 'A#', 'B'] ENHARMONIC_EQUIVALENTS = { 'C#': 'Db', 'Db': 'C#', 'D#': 'Eb', 'Eb': 'D#', 'E' : 'Fb', 'Fb': ...
[ "andreas.s.t.jansson@gmail.com" ]
andreas.s.t.jansson@gmail.com
bc96466615bc972f927d839ba7be56459ff8f060
2ecfe901f9b955d9f1ce32c80d5342f345e7f986
/py3oauth2/tests/test_refreshtokengrant.py
c8e2350fafa78b73c78713d59cbcb6daaa4f1252
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
putyta/py3oauth2
731b6f6919be6b98703bcded0e0d2659fcc2020f
060dc6f896382ae74842126df011e92bb9fb7146
refs/heads/master
2021-01-14T08:03:52.853376
2014-12-03T07:26:03
2014-12-03T07:26:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,233
py
# -*- coding: utf-8 -*- import contextlib import uuid from examples.models import ( Owner, Store, ) from py3oauth2.refreshtokengrant import RefreshTokenRequest from py3oauth2.tests import ( BlindAuthorizationProvider, mock, TestBase, ) class TestRefreshTokenRequest(TestBase): def setUp(sel...
[ "kohei.yoshida@gehirn.co.jp" ]
kohei.yoshida@gehirn.co.jp
745923603c9c69d1a0fb4c0aaea41d9fd536dda3
8dbf1dd411a4f1b4c9b3c6c5a5cdbe40404aa3ae
/polls/migrations/0001_initial.py
d1e1b2ee96c7de3f72901a3820f02cd7e6f30587
[ "BSD-3-Clause" ]
permissive
marcaurele/debian-packaging-for-django
31ac3005cd820979a472827ad2422ec365b7bf83
b0b8431f801a8cc5f068a6570d30939d40d333e7
refs/heads/master
2021-08-23T09:10:58.761508
2017-12-04T12:50:02
2017-12-04T12:50:02
112,287,266
0
0
null
null
null
null
UTF-8
Python
false
false
1,230
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.7 on 2017-11-27 16:43 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...
[ "m@brothier.org" ]
m@brothier.org
48b9d26fb186dac78386c6dfe0f315b7e5cdd08d
662232c0bd3aa31dd0f80b2a07c7d6342b672e68
/src/image_crawler.py
64b6684fe3f0a970f4047af8df08f1022199fcb9
[ "MIT" ]
permissive
quqixun/ImageCrawler
4373c01b6afc79d5163f385e1c17d25df6a7e456
98205ae74f5e32ac90a04b902c0f49eb165d5a63
refs/heads/master
2022-12-16T00:02:02.000676
2021-03-19T08:02:53
2021-03-19T08:02:53
164,621,794
25
7
MIT
2022-12-07T03:03:38
2019-01-08T10:13:11
Python
UTF-8
Python
false
false
3,285
py
import os import ssl import json import time import pandas as pd from tqdm import * from selenium import webdriver class ImageCrawler(object): SETTINGS = { 'baidu': {'url': 'https://image.baidu.com/search/index?tn=baiduimage&word=${KEYWORD}', 'see_more': None, 'xpath'...
[ "quqixun@icarbonx.com" ]
quqixun@icarbonx.com
9710326985b7fbf02113f33f4cf94e5cdee47478
3c5d86d087ce526ac3456f2fa443c71cc79f0e35
/qa/rpc-tests/fundrawtransaction-hd.py
c844e7b3ce3d68c3afd1a094aca48c31ffbb0b23
[ "MIT" ]
permissive
perfectblockchain/coin-core
937577b2836fb032283fa5e90f0dac9abf524f9d
b79deef27798fb51f0140541f2493807efa893b2
refs/heads/master
2020-03-25T04:34:54.900739
2018-09-12T10:44:52
2018-09-12T10:44:52
143,402,539
0
0
null
null
null
null
UTF-8
Python
false
false
25,445
py
#!/usr/bin/env python2 # Copyright (c) 2014-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. from test_framework.test_framework import BitcoinTestFramework from test_framework.util import * # Creat...
[ "coinbuildhelp@gmail.com" ]
coinbuildhelp@gmail.com
6b93d035eb85106993e327a9d8ba4d5830bc4b5d
6ab3d02c6b5426cd122b3d3c7b31faee7ea917d4
/hashmap_uncommonChar.py
16b0e41f244203ec15510a06985977b9d8972898
[]
no_license
AishwaryalakshmiSureshKumar/DS-Algo
e54967ed24c641059fe15b286359f1b71141eeff
a624b29182c92b5fa8017aae597eb4ad2475deae
refs/heads/main
2023-04-21T17:17:10.342833
2021-04-18T18:03:57
2021-04-18T18:03:57
356,888,335
0
0
null
null
null
null
UTF-8
Python
false
false
1,148
py
#code def uncommonChar(str1, str2): ll = [] for i in str1: if i not in str2 and i not in ll: ll.append(i) for i in str2: if i not in str1 and i not in ll: ll.append(i) ll = sorted(ll) for i in ll: print(i,end='') '''MA...
[ "noreply@github.com" ]
AishwaryalakshmiSureshKumar.noreply@github.com
50c787eff65d485ac370b05518c45b8ed17ebf5f
9e103392e152873fcad9e3d0f0c18ca9507a0ddb
/accounts/admin.py
b5f060489948390e62ac6e006dd83507575c5a5d
[]
no_license
do324/instaclone
9911a300809df1d4d7acbdf69902310b4829ccc4
2e07cd68d0849b8d27cc3b46917a2930ec56bd36
refs/heads/master
2022-05-28T17:45:13.398274
2020-05-06T08:46:15
2020-05-06T08:46:15
260,907,845
0
0
null
null
null
null
UTF-8
Python
false
false
591
py
from django.contrib import admin from .models import Profile, Follow # Register your models here. class FollowInline(admin.TabularInline): model = Follow fk_name = 'from_user' @admin.register(Profile) class ProfileAdmin(admin.ModelAdmin): list_display = ['id', 'nickname', 'user'] list_display_links...
[ "doyun5114@gmail.com" ]
doyun5114@gmail.com
fb1355a16b36ac4d9c03852ba9890a86a3dc94af
7fe6407014fcfbab69c2ef6a56e6864227f66e2c
/Game.py
7faab7b0b0dd6a6b0ffc3456dbba01712fc8f560
[ "MIT" ]
permissive
enosal/jubal-pygame
3951effc18f723052824d6d44f78163c29c5a903
331bf2be2f3e1165653be8a4dc02fbf0c6277da3
refs/heads/master
2021-01-17T16:15:03.037529
2014-04-12T04:18:59
2014-04-12T04:18:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,483
py
#!/usr/bin/env python import pygame, sys, pyganim, os from pygame.locals import * from Player import Player from Input import Input from Tile import Tile pygame.init() FPS = 30 # frames per second settings fpsClock = pygame.time.Clock() DURATION = 0.1 # Screen size SCREEN_X=400 SCREEN_Y=400 # This is the length of...
[ "aavina2@gmail.com" ]
aavina2@gmail.com
789f0bc4c608fc5a4c4e46b52cb7634a18ec644f
fee6bb5e775c41d7c9e820a10ba785c526cb5fbf
/PythonAPI/CrudApp/serializers.py
69405f83dda5afbe713496488fb7a7276f2b56dd
[]
no_license
jaovw/pbl7
c6d898d06086fc506f9cfa984a06e226a4ad4269
76b9541246de5f7c9e27cd8f0e1500d6d86f6d14
refs/heads/main
2023-08-30T00:32:05.254036
2021-11-02T22:27:54
2021-11-02T22:27:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
600
py
from django.db.models import fields from django.db.models.base import Model from rest_framework import serializers from CrudApp.models import Editora, EditoraLivro, Livro class EditoraSerializer(serializers.ModelSerializer): class Meta: model = Editora fields = ('EditoraId', 'NomeEditora', 'LocalE...
[ "gabriel_fsbs2@hotmail.com" ]
gabriel_fsbs2@hotmail.com
3ec85d43915036c75522d11ebe231715c5e0a19c
b08a5bb3f0b570236774a85230533532c0343389
/swami-control/usr/lib/python2.7/dist-packages/swami_startupapps/swami_startupapps.py
527df86ffbc8f7596ea1a21e755a53da5be0af52
[]
no_license
BodhiDev/bodhi5packages
007d262b9367f698159ae41fe4ba8e4fa4a0e3ce
2581afa2dcf7145fc683cb5275c2a012b9c687ac
refs/heads/master
2022-10-08T20:28:10.470593
2022-09-23T05:36:54
2022-09-23T05:36:54
134,073,827
1
3
null
2021-03-31T11:42:21
2018-05-19T15:24:05
Python
UTF-8
Python
false
false
11,254
py
#Moksha startup applications module for the Swami Control Panel import os from efl.evas import EVAS_HINT_EXPAND, EVAS_HINT_FILL from efl import elementary from efl.elementary.button import Button from efl.elementary.box import Box from efl.elementary.entry import Entry from efl.elementary.icon import Icon from efl.el...
[ "ylee@bodhilinux.com" ]
ylee@bodhilinux.com
db782fe99f4bfbce673138a8c29e635dd5b552ad
d24a6e0be809ae3af8bc8daa6dacfc1789d38a84
/ABC/ABC251-300/ABC290/F.py
c84a613c4d9104d5bde110858967956466e6c904
[]
no_license
k-harada/AtCoder
5d8004ce41c5fc6ad6ef90480ef847eaddeea179
02b0a6c92a05c6858b87cb22623ce877c1039f8f
refs/heads/master
2023-08-21T18:55:53.644331
2023-08-05T14:21:25
2023-08-05T14:21:25
184,904,794
9
0
null
2023-05-22T16:29:18
2019-05-04T14:24:18
Python
UTF-8
Python
false
false
1,140
py
MOD = 998244353 def solve(t, case_list): n = 2 * max(case_list) factorial = [1] * (n + 1) factorial_inv = [1] * (n + 1) for i in range(1, n + 1): factorial[i] = (factorial[i - 1] * i) % MOD factorial_inv[-1] = pow(factorial[-1], MOD - 2, MOD) for i in range(n, 0, -1): factoria...
[ "cashfeg@gmail.com" ]
cashfeg@gmail.com
09ada11b6a8f3cef5e9f809a0c7cac1bf266055b
859e3c2582d38d4bf76363f7695b6003513707ed
/Alphabet_Rangoli.py
7d3b575c2a6d0c11e5c6880cabf17dfc28caa5a5
[]
no_license
tiptop-crazy/hackerrank
a1612038eb52e1c9a04c436e05d92619ff014867
53fc624db5da822afd875ef58cba5e360ed56dc5
refs/heads/master
2020-12-04T06:02:08.937639
2020-01-04T11:45:03
2020-01-04T11:45:03
231,645,800
0
0
null
null
null
null
UTF-8
Python
false
false
3,729
py
""" You are given an integer, N. Your task is to print an alphabet rangoli of size N. (Rangoli is a form of Indian folk art based on creation of patterns.) Different sizes of alphabet rangoli are shown below: #size 3 ----c---- --c-b-c-- c-b-a-b-c --c-b-c-- ----c---- #size 5 --------e-------- ------e-d-e----...
[ "andrei.shewko@gmail.com" ]
andrei.shewko@gmail.com
3e9b8378b946a2f7f7bff6cca9a458bb921a97ab
94dcc6470f46734e033dea761e48028f5cf9d3b2
/backend/apps/httpproxy/models.py
16dfb92768740bb2e93c0ac8a008e2a32b3485f7
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
cnap-cobre/synapse
08adf02fb22166b26846265511a800ce92d9bbf1
edb850412b6f95d1d4e057674e5cd899ee0b444e
refs/heads/master
2021-03-24T09:25:01.365514
2018-12-12T22:41:38
2018-12-12T22:41:38
108,348,892
1
2
MIT
2018-12-25T09:52:49
2017-10-26T02:02:02
CSS
UTF-8
Python
false
false
3,856
py
from django.db import models from django.utils.six.moves import urllib from django.utils.translation import ugettext as _ class Request(models.Model): """ An HTTP request recorded in the database. Used by the :class:`~httpproxy.recorder.ProxyRecorder` to record all identifying aspects of an HTTP requ...
[ "kevin.dice1@gmail.com" ]
kevin.dice1@gmail.com
bbfe78db4af645877df6f330d30b8cc4bebf4d84
75d6c8bc41d3228139c58f9360b18fdd2306cf55
/scrapy_app/youtube/youtube/items.py
b3d36b8004dfb0f700e5d4f33b4cfd824a6e81ca
[]
no_license
memadd/youtubecrawler
b5f372176f6516e23621a7e53569cec6f6f72b30
bec5b22bf104405c579f044b569dedc0e285cabf
refs/heads/main
2023-04-30T14:04:53.064650
2021-05-03T22:39:06
2021-05-03T22:39:06
363,543,612
0
0
null
null
null
null
UTF-8
Python
false
false
426
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 YoutubeItem(scrapy.Item): # define the fields for your item here like: url = scrapy.Field() title = scrapy.Field() duration = scr...
[ "memad632@gmail.com" ]
memad632@gmail.com
e868a94e30c3ecc3ee54bc639d661943d16f2dc2
642759c2986011e1ead0093d3217567b9c6bcb51
/dictionary.py
551526b571ad2c9b4078b1b715ef5efab6bdafad
[]
no_license
VashStampede/LRU_cache
7249a039aa57ac41e09acedf407906f1557dea65
c7ff66f754f4fac75be8d75f94bfe13a2c8820e6
refs/heads/master
2020-09-13T07:15:17.743276
2019-11-20T16:25:31
2019-11-20T16:25:31
222,691,807
0
0
null
null
null
null
UTF-8
Python
false
false
884
py
import random QUOTES = [ "There's a huge amount of faith and confidence in the stunt team. ...", "All of the stunt men - these are the unsung heroes. ...", "Revenge is a caustic thing. ...", "When I'm getting ready for a movie, let's just say my diet is 'The Antisocial Diet.'", "High risk is high adrenaline", "Without...
[ "ilyshameal@gmail.com" ]
ilyshameal@gmail.com
8200dd9efd8cd574e153819ddf517425d1c2d3d5
e74ccc836611b5131356f6f446f21b2e76c41247
/cifar10_classification.py
c42749ad11afcb4bbf16e03c06d322727a787d8f
[]
no_license
Bruces1998/NeuralNetwork
5754096c1be7403b23d12ad7832f939ffcd8b1d6
b6ba2c61c0c5671eaa5aac9890101fbb61cb1aa0
refs/heads/master
2020-06-29T12:27:19.803675
2019-08-27T12:51:23
2019-08-27T12:51:23
200,535,554
0
0
null
null
null
null
UTF-8
Python
false
false
1,346
py
import numpy as np from keras.datasets import cifar10 from keras.layers import Dense from keras.models import Sequential from keras.optimizers import SGD from sklearn.preprocessing import LabelBinarizer from sklearn.metrics import classification_report import matplotlib.pyplot as pyplot print("[INFO] loading CIFAR-10...
[ "bruces1998@gmail.com" ]
bruces1998@gmail.com
f71e67ea97ed8728bbb2893bbcb69248df256a18
b6d6062570f02cb278d6189ab4135cc17e2cc4d4
/django_tctip/admin.py
62937195148f71f4e88f81d00064bfbbe8517e9a
[ "MIT" ]
permissive
mooremok/django-tctip
92fb190cb059d8cb2dfc56231fb250914b414978
d15a47aab0f9f3e18d407df38fbd81f296cc4bfe
refs/heads/master
2022-11-23T10:20:06.830429
2020-07-20T02:25:17
2020-07-20T02:25:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,192
py
from django.contrib import admin from .models import Tip # Register your models here. @admin.register(Tip) class TipAdmin(admin.ModelAdmin): fieldsets = ( ('基本设置', {'fields': (('is_on',), ('name', 'minScreenSize'), ('headText', 'siderText'), ...
[ "zlwork2014@163.com" ]
zlwork2014@163.com
3836c2b712e9e2ef692b159a8849ce4fafa9da48
a6f91bafaca735998fa2400c930aee121918623a
/sif/migrations/0002_auto_20160525_1204.py
bde59ac09571ce957d1a6a16866ca280877ca1d7
[]
no_license
ramonvg/shareitfast
0ae99b395710eec3329a822b65e906e126cb4e70
761eb4a102dbe7b53ce39822ebb575f444daea73
refs/heads/master
2020-12-24T19:04:09.148997
2016-05-25T14:05:34
2016-05-25T14:05:34
59,667,200
0
0
null
null
null
null
UTF-8
Python
false
false
430
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.6 on 2016-05-25 12:04 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('sif', '0001_initial'), ] operations = [ migrations.AlterField( m...
[ "rvg@openmailbox.org" ]
rvg@openmailbox.org
31c63861b0e0320ebbcb5ece22a79a725f3fbd66
7f3b81cca74eac23f270a9f8e956d0c5a47728e1
/Final/Shop/services.py
bc101202fb0ba8e99de475ba81083e3664e89dec
[]
no_license
dhtien95/cuoiky
2540c987a0e3202a292d4ca8bb8c0460e8eda1cd
c6566d1ababc2f33e7f3a5d7cd5f2c275012eb05
refs/heads/master
2020-03-19T23:51:36.116939
2018-06-12T06:08:26
2018-06-12T06:08:26
137,022,923
0
0
null
null
null
null
UTF-8
Python
false
false
5,006
py
import os from mimetypes import MimeTypes from django.contrib.auth.models import User from Shop.models import Song from api import drive_api from api.drive_api import downloads_path,createFolder from sys import argv downloads_path = os.path.expanduser((os.sep.join(["~","Downloads"]))) class EncodeWAV: def __i...
[ "38153453+dhtien95@users.noreply.github.com" ]
38153453+dhtien95@users.noreply.github.com
3f35d71922b13339d2c2ab0ce88a514fd571b483
8872abd7028ea45cc84074a4657650261a92fbbc
/VigenereCipher/vigenercipher1.py
9e2ab10d3b903943da67405ced48ba6dc1c3451f
[]
no_license
MatteoGardini1988/opencodes
92e775b5d6de238633a777257cd77faaddfdd9c4
ee0c9b20e96728aee420b15c3ad0ec503938a6d8
refs/heads/main
2023-08-24T13:52:15.821362
2021-10-13T08:47:21
2021-10-13T08:47:21
415,842,722
0
0
null
null
null
null
UTF-8
Python
false
false
3,557
py
import constants as c class VigenereCipher: def __init__(self, msg, alphabeth="LATIN"): # Choose the alphabeth assert alphabeth in c.ALPHABETHS.keys(), f"The alphabeth ',{alphabeth},' does not exists." chosen_alphabeth = c.ALPHABETHS[alphabeth] # Inizialize the me...
[ "noreply@github.com" ]
MatteoGardini1988.noreply@github.com
0a7a15e03741213c91a5d2b06212b2b10de010e8
71f39b722f1204738b53e90d8566bcf6da99d494
/apps/utils/yunpian.py
efd6bd4e99d5ed743b872b2e50e3c07ff167dd63
[]
no_license
kingvern/txplatform
cd9fc36fe3ba536b7578d734f520d0f091db4b22
235465b742d0ba13132f872e0f3818990f232888
refs/heads/master
2022-12-17T00:03:50.675329
2018-11-16T10:02:35
2018-11-16T10:02:35
149,862,235
0
0
null
2022-11-22T02:53:29
2018-09-22T09:17:06
JavaScript
UTF-8
Python
false
false
732
py
# _*_ coding: utf-8 _*_ import requests class YunPian(object): def __init__(self, api_key): self.api_key = api_key self.single_send_url = 'https://sms.yunpian.com/v2/sms/single_send.json' def send_sms(self, code, mobile): parmas = { 'apikey': self.api_key, 'mo...
[ "kingvern@foxmail.com" ]
kingvern@foxmail.com
c5912fceef6b9dcb1f1cc8b305861e72abef1b77
20b0eb954615e6953b641cf9122c2212a2b32e32
/shoot/account/forms.py
d10a7615d32d87d2428cd2cf15f58dbe64c22f7f
[]
no_license
divyeshbhatt/sports
254f160cb7731b89fe78d8cfbd44680f75125a89
029a30c76255bebd6103335b89721303edb61a1c
refs/heads/master
2020-03-09T22:36:39.399852
2018-04-11T06:28:47
2018-04-11T06:28:47
129,038,184
0
0
null
null
null
null
UTF-8
Python
false
false
1,174
py
from django import forms from django.contrib.auth import ( authenticate, get_user_model, login, logout, ) User = get_user_model() class UserLoginForm(forms.Form): username = forms.CharField(widget=forms.TextInput(attrs={'placeholder':'username'})) password = forms.CharField(widget=forms.PasswordInput(attrs...
[ "divyesh171975@gmail.com" ]
divyesh171975@gmail.com
a3706a1097368c223b6395e2a2418e3ff40dc558
04662a4b20227f8ab7446cce71a77e2bd7fbfffb
/flask-aws/bin/rst2odt_prepstyles.py
b60558395fdfc271bbe3400b2be1d2bb9f46d108
[]
no_license
poonesh/flask-aws-tutorial
d77511290cf2b293c01dd9ac93a46678f4dd9d12
ccd2b829f9f381d0fdb84c1c995ce7aaeb7ea2ed
refs/heads/master
2021-01-25T14:39:39.219960
2018-03-03T21:34:19
2018-03-03T21:34:19
123,721,060
0
0
null
2018-03-03T18:43:18
2018-03-03T18:43:18
null
UTF-8
Python
false
false
1,744
py
#!/Users/Pooneh/projects/flask-aws-tutorial/flask-aws/bin/python # $Id: rst2odt_prepstyles.py 5839 2009-01-07 19:09:28Z dkuhlman $ # Author: Dave Kuhlman <dkuhlman@rexx.com> # Copyright: This module has been placed in the public domain. """ Fix a word-processor-generated styles.odt for odtwriter use: Drop page size s...
[ "poonehshooshtari@gmail.com" ]
poonehshooshtari@gmail.com
bf340fac36686131acd709efb2fff3a1258101c7
ecec5645d7cc552565e466b2f233275294bab108
/lab2_v9/code.py
f28ef7ec803e23f78f7de1d6353ae1c2b0230471
[]
no_license
stepatron/MobileDevicesManagement
677b3cffe7956040f69cf98182c3b3708f32c042
66690443cc6007b67b42e763f46cd098b9a887de
refs/heads/master
2022-04-14T11:52:47.487215
2022-02-10T18:09:17
2022-02-10T18:09:17
255,310,079
0
0
null
null
null
null
UTF-8
Python
false
false
1,502
py
import os import re import math import matplotlib.pyplot as plt table = [] table_1 = [] mbit_rate = 0.5 kbit_free_total = 1000 byte_total = bill_total = 0 ip_client = '192.168.250.3' # os.system("nfdump -r nfcapd.202002251200 >> nfcapd202002251200.txt") file_in = open('nfcapd202002251200.txt', 'r') [t...
[ "noreply@github.com" ]
stepatron.noreply@github.com
c9673f0f6fd4aecb76d02fa3a8f44211346f42e5
b32fdf5e74c46bcde51c12c152e6762a92e272e0
/Login/urls.py
e5d4c36a606fd87dc4459f8c29d1a3c2ea44f235
[]
no_license
INHDI/demo_sql
172722f6a7122bec0d103aee7e62cb65925e4aa1
d77f7a796bf3d406f1881f0753cd4278948a5b74
refs/heads/main
2023-07-20T04:32:24.296373
2021-08-19T04:36:08
2021-08-19T04:36:08
397,814,454
0
0
null
null
null
null
UTF-8
Python
false
false
255
py
from django.urls import path from . import views urlpatterns = [ path('login/', views.login, name='home'), path("them/", views.them, name="them"), path("sua/<str:pk>", views.sua, name="sua"), path("xoa/<str:pk>", views.xoa, name="xoa") ]
[ "dang12.10.1999@gmail.com" ]
dang12.10.1999@gmail.com
bf59a8d1751a59bb7477c25729c5179e6bdb4d4d
1daabb9079a80fdf24f1e27d750b7bd53ac1c4c3
/pybot/plugins/perms.py
135f8d20745484fe1e6cc8faf9c1ac71c70d6986
[ "MIT" ]
permissive
jkent/pybot
ea01bd0d9b19b65a30a50f429b563e3ff39d1ee9
0c70a7c29caa709413e04a411a5fdb22a8dbdb12
refs/heads/master
2023-07-14T20:22:56.612958
2021-08-20T04:49:05
2021-08-20T04:49:05
12,857,889
0
1
MIT
2021-05-02T00:36:54
2013-09-16T03:42:14
Python
UTF-8
Python
false
false
4,918
py
# -*- coding: utf-8 -*- # vim: set ts=4 et import json import os import sqlite3 from pybot.plugin import * class Plugin(BasePlugin): default_level = 1000 def on_load(self): self.db = sqlite3.connect(os.path.join(self.bot.core.data_path, 'perms.db')) self.cur = self.db.curso...
[ "jeff@jkent.net" ]
jeff@jkent.net
f5a46d1bbb3b34ce030ff8beb152402b946804ea
e188b95dd14ec5de77056be87c30ccc322f87d7a
/Week2/command line/command-line/SNParrray2fasta.py
b7ce71fb3b5408ab4e7385968507cafa51fdeb64
[]
no_license
anuhanovic/BIOF475Spring2018
f0db901b45c7bac4d736f2ced93ec1e2b794dfa7
fdeafbea61b58d90399c4ae0b09bbefe3a705ea6
refs/heads/master
2021-05-08T13:56:17.463030
2019-07-12T18:13:24
2019-07-12T18:13:24
120,050,640
7
7
null
2018-12-04T19:41:58
2018-02-03T01:56:19
Jupyter Notebook
UTF-8
Python
false
false
2,096
py
#!/usr/bin/python # """ Modified to deal with tab-delimited rows of IDs and nucleotides. Did this to parse a SNP array into FASTA format. Author: R. Burke Squires, BCBB """ # __version__: 0.1.1 def converter(args): """ This method takes the command line arguments and converts the input SNP file into a F...
[ "noreply@github.com" ]
anuhanovic.noreply@github.com
2508cc3d31dd4401b54226b20e67701253be7c4d
547018e2fb9b178aacfe2ceabcab4313647ffb79
/test_cases/general/primitive_type/time/py/test_generate/parse.py
edef0527fe4b9af76816443699824edcbb8c8aa6
[ "MIT" ]
permissive
Parquery/mapry
2eb22862494342f71ca4254e7b2b53df84bd666f
93515307f9eba8447fe64b0ac7cc68b2d07205a7
refs/heads/master
2021-06-11T09:57:17.764387
2021-06-02T14:19:52
2021-06-02T14:19:52
165,482,780
11
3
MIT
2021-06-02T14:19:53
2019-01-13T08:31:08
C++
UTF-8
Python
false
false
2,269
py
# File automatically generated by mapry. DO NOT EDIT OR APPEND! """provides general structures and functions for parsing.""" import typing import some.graph class Error: """represents an error occurred while parsing.""" def __init__(self, ref: str, message: str) -> None: """ initializes ...
[ "noreply@github.com" ]
Parquery.noreply@github.com
f2a93f6eb0f2a4b12c9f597dd58d59b49426ecb9
efe53f7c0b0439bd9dcdcf49847222c87aad6c51
/study_algorithm/python/Recursion/Fibonnaci.py
34d5b4ce62808109109459c9e944593ed16230ef
[ "MIT" ]
permissive
AlphaSunny/study
f13eca7bfa830dcdcb395fb05e9c2006b86190ad
4e65127fefa9078b7ae6b9db92369c93e61e4327
refs/heads/master
2020-04-09T07:57:30.685004
2019-03-21T08:40:29
2019-03-21T08:40:29
160,177,045
0
0
null
null
null
null
UTF-8
Python
false
false
354
py
# Instantiate Cache information n = 10 cache = [None] * (n + 1) def fib_dyn(n): # Base Case if n == 0 or n == 1: return n # Check cache if cache[n] != None: return cache[n] # Keep setting cache cache[n] = fib_dyn(n-1) + fib_dyn(n-2) ret...
[ "epsilonsunny@gmai.com" ]
epsilonsunny@gmai.com
cc0b92b1e557e4310fac89d5ba17a487c4827dce
ecdbfdcc607f7c58e2728f76b7819790d6ab51c7
/Machine Learning Lab 1.py
a0c5c6a83a3972fd64ffdbc052081ebd8dd34f3d
[]
no_license
NischalKothariM-1CE17CS074/ML-LAB-7TH-SEM_NISCHAL
0908143c6ef7568195868d10c34df854ec8d4aef
5122da8109536c7aa437fcfe4a5b73b2075bf99e
refs/heads/main
2023-02-20T22:48:55.111346
2021-01-27T15:31:26
2021-01-27T15:31:26
329,391,518
0
0
null
null
null
null
UTF-8
Python
false
false
958
py
#!/usr/bin/env python # coding: utf-8 # In[6]: import csv num_attribute=6 a=[] with open('pro1.csv', 'r') as csvfile: reader=csv.reader(csvfile) for row in reader: a.append(row) print(row) print("\n The total number of training instances are : ",len(a)) num_attribute = len(a[0])-1 print(...
[ "noreply@github.com" ]
NischalKothariM-1CE17CS074.noreply@github.com
b168b5b02efedee13bf8554f7c91b90784e428ae
96cc90fd90b838c55f08605d0096e8a91f35a797
/Django_ben6/urls.py
2a7e5261e84508cc217896c4a2f57316d36a1db7
[]
no_license
obt817/Django_ben6
832165818b05c07e013b2309c270a4ced0234001
8ab3e3671ee571777e4a8e0dcb4a3c512cc17d68
refs/heads/master
2023-01-30T15:39:41.183016
2020-12-04T14:39:08
2020-12-04T14:39:08
316,948,120
0
0
null
null
null
null
UTF-8
Python
false
false
798
py
"""Django_ben6 URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/dev/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-b...
[ "obatayouhei@obatayouheinoMacBook-Air.local" ]
obatayouhei@obatayouheinoMacBook-Air.local
1d6b32455392c0bcd4af1a417953e142dfb8d24e
367e63b0a34178713613b737d8a8ca59dc039acc
/Sorting/Insertion-sort.py
99dcd274283d4b31f257203cc4d528ce0614f95f
[]
no_license
ossayed/hackerrank-problems
1d92d13750cdfc7420c284001772b093992d5714
53fcbbdef97527cbca8b79119436c826b0c2edc3
refs/heads/master
2020-03-28T05:08:39.559407
2018-09-07T02:19:28
2018-09-07T02:19:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
731
py
#!/bin/python3 import sys #https://www.hackerrank.com/challenges/insertionsort2/problem def insertionSort2(n, arr): # Complete this function for x in range(1,n): sort_num = arr[x] for y in range(1,x + 1): if sort_num < arr[x-y]: arr[(x-y)+1] = arr[x-y] ...
[ "ossayedkh@gmail.com" ]
ossayedkh@gmail.com
a1f5abefe278e255ac9bb7768c3d39e92105bc60
c074fb834cb4a8ac75d107146df10f9496590792
/users/urls.py
df7702c6046b6ab2fde4eb8a1c751b9e23eb5677
[ "Unlicense" ]
permissive
jmhubbard/quote_of_the_day_custom_user
4d5ffd4183d7e6290161b84cae2aa1f7ad621a99
27024b2953c1c94fd2970563c3ab31ad444912b6
refs/heads/master
2023-02-19T00:59:27.372671
2021-01-10T02:45:56
2021-01-10T02:45:56
293,443,918
1
0
Unlicense
2020-12-03T17:59:59
2020-09-07T06:41:25
Python
UTF-8
Python
false
false
771
py
from django.urls import path, include from users.views import UserCreate, UserDeleteView, useraccountview from main.views import UserLoginView, UserLogoutView # from django.contrib.auth import views as auth_views urlpatterns = [ path('login/', UserLoginView.as_view(), name='login'), path('add/', UserCreate.as...
[ "jasonhubb@gmail.com" ]
jasonhubb@gmail.com
e98c78de8aedaf45e00b38c10dbe13f7032afb9b
1684a619346926098eb66e818dfc7fda160d7062
/src/Profiles/migrations/0006_alter_profile_user.py
b8588138e874d998425c096983088ed79d928cfb
[]
no_license
mah-di/social
e5fc0a531d8f5cc66074e1fd100077524ad48d01
d1f10b15872e8a015f7bbc8180eec67657e7efd2
refs/heads/main
2023-07-04T18:02:54.574786
2021-08-28T06:01:32
2021-08-28T06:01:32
400,711,110
0
0
null
null
null
null
UTF-8
Python
false
false
609
py
# Generated by Django 3.2.5 on 2021-07-27 15:18 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), ('Profiles', '0005_alter_p...
[ "mahdiiqbal37@gmail.com" ]
mahdiiqbal37@gmail.com
a6467223350da4911eb89579ea7f11c2fb8744a8
c34dd2c2d8c0b5916743bb7014e5011a5197dfd2
/projects/NLR_MEG/PSI_session1_ROI_3.py
82e54b1d6ee9f8032cd6fa7313485480352d2c14
[ "BSD-3-Clause" ]
permissive
yeatmanlab/BrainTools
c6858c2a2623ee4ec1160ef98872f15e2ad05dad
890db4256b0290918045e53cd3c6fd6197fcbb4e
refs/heads/master
2021-05-22T03:47:32.162046
2021-04-14T17:56:12
2021-04-14T17:56:12
46,300,396
5
7
BSD-3-Clause
2019-06-18T21:22:46
2015-11-16T20:25:44
Python
UTF-8
Python
false
false
102,702
py
# -*- coding: utf-8 -*- """ Created on Tue Nov 15 12:05:40 2016 @author: sjjoo """ #%% import sys import mne import matplotlib.pyplot as plt import imageio from mne.utils import run_subprocess, logger import os from os import path as op import copy import shutil import numpy as np from numpy.random import randn from s...
[ "sjjoo@utexas.edu" ]
sjjoo@utexas.edu
addf62c3fc65ce49d477e0cfdd502a0fd8dedf6e
3c3b8c27c3478a52bb7b68caf8fecd6431d7a786
/backend/swagger_server/controllers/document/info.py
8313e530913cac567e5dd311e1b0174b9a3731fb
[ "MIT" ]
permissive
Lend88/libresign
d7116aa71904de011c48700bff65f06cde2853d4
9537f39a696fa5f3433052406329d77d528b6cf9
refs/heads/master
2020-04-20T07:02:13.623754
2018-08-24T19:56:02
2018-08-24T19:56:02
145,740,805
0
0
null
null
null
null
UTF-8
Python
false
false
4,232
py
import json from uuid import UUID from flask import Response, jsonify from flask_jwt_extended import jwt_required, get_jwt_identity from ...decorators import produces from ...db import Session from ...models import ErrorMessage from ...mappings import Document, Field, FileUsage, FieldUsage from ... import config from...
[ "sean@lend88.com" ]
sean@lend88.com
7cc2cd33d853705b4649625af3ff61164575e74b
1eab20f73802746572c2a4a1996ce7355afca276
/app.py
97d97d79cd999c0cd9a9708e1ce190b02b71ee36
[]
no_license
gretelup/bbb
5b57f1732a23e1edb59b0aadb443eceef53c8f1d
ab5157e3a46561f773d990cee0acfd3e7375e519
refs/heads/master
2023-03-20T21:29:38.100908
2021-03-20T13:13:36
2021-03-20T13:13:36
277,312,251
0
0
null
2021-03-20T04:26:59
2020-07-05T13:55:13
JavaScript
UTF-8
Python
false
false
3,097
py
import os import pandas as pd import numpy as np import sqlalchemy from sqlalchemy.ext.automap import automap_base from sqlalchemy.orm import Session from sqlalchemy import create_engine from flask import Flask, jsonify, render_template from flask_sqlalchemy import SQLAlchemy app = Flask(__name__) ###############...
[ "gretelup@gmail.com" ]
gretelup@gmail.com
c24c4e3521e3a3b230daaaf0d2f590d8e5fe952d
e7e5ac71c941e3daf82781249ae6d32d8614f78e
/2017/day-04/part1.py
10683698d8af82bdb1eaa74118c13286e071c8aa
[ "MIT" ]
permissive
amochtar/adventofcode
7f952ebee6b41aa5147cc788710fb054579742e7
292e7f00a1e19d2149d00246b0a77fedfcd3bd08
refs/heads/master
2022-07-14T22:46:21.175533
2021-12-15T08:14:17
2021-12-15T08:28:43
222,647,709
1
0
MIT
2022-06-22T04:45:13
2019-11-19T08:36:02
Python
UTF-8
Python
false
false
144
py
with open("input.txt", "r") as f: lines = f.readlines() print("Part 1:", len([l for l in lines if len(set(l.split())) == len(l.split())]))
[ "amochtar@xebia.com" ]
amochtar@xebia.com
ed65d2fbf91fb60c18f53d2cb981e925bd6c5fdc
3a702d84cb15e76dc0eebf9d9d1939e0334c57c8
/Site/list/models.py
d49a066c028e24d410ff9d5f0ff95309f12c0098
[]
no_license
DanilParunov/SiteAgLib
3fa99007e0bdb411f075d8464474cf96168a8bbb
f16544f8c4d86b172d241b3710949a568f5b8a2a
refs/heads/master
2023-02-22T12:28:42.325291
2021-01-17T20:57:52
2021-01-17T20:57:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,158
py
from django.db import models from django.urls import reverse class Articles(models.Model): title = models.CharField('Название', max_length=50) anons = models.CharField('Автор', max_length=250) text = models.TextField('Текст') date = models.DateField('Дата выпуска') def __str__(self): return ...
[ "danil19056@gmail.com" ]
danil19056@gmail.com
3288c028cd4b3fe106a6c3cdfd5ea08541dd253e
3fffc40cf16672cb36b4ce5da6b8a6fc3fe3f848
/digitRecognizer.py
f1b49241574c4d1c26cc905c86652987a82c892d
[]
no_license
pranauv1/Digit_Recognizer
04dfec8dcb113fa987d9f1b760c5de42d7b4825c
f303f49fdd8ea1064092b21c0c8afb0c033f26db
refs/heads/main
2023-07-05T15:38:12.791482
2021-08-20T16:18:24
2021-08-20T16:18:24
398,330,081
0
0
null
null
null
null
UTF-8
Python
false
false
2,362
py
#Get the dataset ! kaggle competitions download -c digit-recognizer #Unzip them ! unzip /path/test.csv.zip ! unzip /path/train.csv.zip import numpy as np import pandas as pd import matplotlib.pyplot as plt from keras.utils.np_utils import to_categorical from keras.models import Sequential from keras.layers import Den...
[ "noreply@github.com" ]
pranauv1.noreply@github.com