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
f215b321dbc65408cbfafabd6f87c0b42985c9ea
93d68ae55337bee755e630aa842c3ea6f0d1e007
/gen_template_c.py
bba2735817963fddddb873201776538ba131c82d
[]
no_license
CathalHarte/c_cpp_cmake_templates
efd78df100a8d4c69ee4d48cb1336f157e9cac04
01a2d59130beb41630760417aa145df854318b7d
refs/heads/master
2021-02-17T15:33:40.181562
2020-04-07T15:45:20
2020-04-07T15:45:20
245,107,766
0
0
null
null
null
null
UTF-8
Python
false
false
2,224
py
#!/usr/bin/python3 import argparse parser = argparse.ArgumentParser(description="This creates a template .c file in the folder \ (Title, section headers, etc) it is called in.") parser.add_argument("filename", help="The name of the file that you want to generate omitting...
[ "cathal.harte@rapttouch.com" ]
cathal.harte@rapttouch.com
2573aab5a2471963704c00ae85c7efb0ca6e854c
5c147ad2bb9b91ed33409e5a5724ceb20e585435
/flaskr/__init__.py
92bc96423f129b206fd3b2dc492a4e9a7198262a
[]
no_license
finisher1017/smarter
1fca6d923c63b2f395b1624257cf66829efc9ebd
07a23f84da71d488cc52c05b8dab693f4ac8f48a
refs/heads/master
2020-03-24T22:08:41.079902
2018-08-01T17:12:09
2018-08-01T17:12:09
141,936,112
0
0
null
null
null
null
UTF-8
Python
false
false
850
py
import os from flask import Flask, render_template def create_app(test_config=None): # create and configure the app app = Flask(__name__, instance_relative_config=True) app.config.from_mapping(SECRET_KEY='dev', DATABASE=os.path.join(app.instance_path, 'flaskr.psql'),) if test_config is None: # load the...
[ "finisher1017@gmail.com" ]
finisher1017@gmail.com
4ebb84f81063fc2f6ba05d750ff8d4b3761caa04
2948eda77e7530b4252827313fd9a11acd751da8
/startpage/main.py
fcfe2bd3f44e3d49ce8a1ea902b29ea52e96b461
[]
no_license
mrtopf/adhc-bt-startpage
bd00fbcc386f3b7c7a85e3437ae837900a8aa68e
a985e85d9cd58918250ebb419c95271a792a93ce
refs/heads/master
2021-01-10T21:37:36.265035
2011-02-21T07:08:15
2011-02-21T07:08:15
1,391,857
0
0
null
null
null
null
UTF-8
Python
false
false
2,125
py
from framework import Handler, Application from framework.decorators import html from logbook import Logger from logbook import FileHandler import uuid import werkzeug import datetime import pkg_resources from jinja2 import Environment, PackageLoader, TemplateNotFound import setup class StaticHandler(Handler): d...
[ "website@ip-10-226-178-16.eu-west-1.compute.internal" ]
website@ip-10-226-178-16.eu-west-1.compute.internal
785c3c15eaf032737edc2ee120b7320ddca17890
2f44c31cb1ba4b92f5575b91915a6624fcf8dc50
/simple_softmax.py
0bb67cd09e22041bba5f7418ac9e7a46c7d86ccc
[]
no_license
grissiom/captcha-tensorflow
322859bc8bce442cdfe6afbd170a4ad701644510
d0f428524cdc2072d7b192da188a64afc016bbfc
refs/heads/master
2021-09-03T13:51:27.820290
2018-01-07T16:30:44
2018-01-07T16:30:44
116,818,872
0
0
null
2018-01-09T13:22:38
2018-01-09T13:22:37
null
UTF-8
Python
false
false
2,343
py
# -*- coding:utf-8 -*- import argparse import sys import tensorflow as tf import datasets.base as input_data MAX_STEPS = 10000 BATCH_SIZE = 1000 FLAGS = None def main(_): # load data meta, train_data, test_data = input_data.load_data(FLAGS.data_dir, flatten=True) print 'data loaded' print 'train i...
[ "i@jackon.me" ]
i@jackon.me
4fbdbe5e494379c5bfa4f47fee381e212fefc707
e0b6f5bd451aa8af3273fbc948799637681342e1
/scripts/old_codes/combine_ips_visual_bysubj.py
71bd1a76218fe56ac5bea30f853a5bcbbc877385
[]
no_license
davidbestue/encoding
6b304f6e7429f94f97bd562c7544d1fdccf7bdc1
c27319aa3bb652b3bfc6b7340044c0fda057bc62
refs/heads/master
2022-05-05T23:41:42.419252
2022-04-27T08:34:52
2022-04-27T08:34:52
144,248,690
0
0
null
null
null
null
UTF-8
Python
false
false
10,336
py
# -*- coding: utf-8 -*- """ Created on Fri Jan 4 11:56:47 2019 @author: David """ import os import pandas as pd import numpy as np import matplotlib.pyplot as plt import seaborn as sns from functions_encoding_loop import * root = '/mnt/c/Users/David/Desktop/together_mix_2TR/Conditions/' dfs_visual = {} dfs_ips = {...
[ "davidsanchezbestue@hotmail.com" ]
davidsanchezbestue@hotmail.com
52a470f19ad47696fc3099bbb68edd42a9983fd4
899b8f35ec099abdb8965b39e3f63641c38b336f
/headless-chrome/example/chrome_driver_demo.py
671934ce6d82f28ab023c3d6070a0c01eb1c72d2
[ "MIT" ]
permissive
einverne/dockerfile
51862e36a5cc26f33e42708cdce36f0b76e552f4
54064d3f61ba3c61dc0b7454a86efd2a0e05d230
refs/heads/master
2023-08-31T20:51:42.479471
2023-08-29T05:36:52
2023-08-29T05:36:52
121,220,501
146
49
MIT
2023-09-02T02:38:18
2018-02-12T08:32:53
Dockerfile
UTF-8
Python
false
false
2,497
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from selenium import webdriver from selenium.webdriver.common.keys import Keys def get_jd_price(driver): driver.get("https://item.jd.com/5218185.html") # wait up to 10 seconds for the elements to become available driver.implicitly_wait(10) price = driver...
[ "einverne@gmail.com" ]
einverne@gmail.com
b84b7acadbb7f125057cd865a2952c7aa3a68ee9
608cbb8a2cfa7be360fbdc1d3338a0b348226c00
/SimulationCode/RunAllSims.py
1cb5864b5d4e52a4db2dd4bcf4eb83cb57cf921a
[ "MIT" ]
permissive
MacIver-Lab/Ergodic-Information-Harvesting
aa89d3900f7b1106d3d1326f8851544632171950
6b06033852d511c682f1a38d84d6c3e0d735659b
refs/heads/master
2021-07-01T14:53:29.893326
2020-08-18T04:10:02
2020-08-18T04:10:02
132,499,485
6
4
MIT
2020-08-13T14:45:29
2018-05-07T18:18:02
Jupyter Notebook
UTF-8
Python
false
false
1,490
py
from ErgodicHarvestingLib.SimulationMainQueue import SimulationMainQueue from datetime import datetime import time import warnings import sys from multiprocessing import cpu_count from os import scandir import numpy as np # Suppress all warnings np.seterr(all="ignore") warnings.filterwarnings("ignore") if __name__ ==...
[ "chenchen.bme@gmail.com" ]
chenchen.bme@gmail.com
e2034247a869695e430d6d1219d75fd72bf5b6a7
d81f09e9d1caac1cd216d2a077ff4669d6b89b59
/SerialBoot16/SerialBoot16.py
e7f4083932a93cee3ea071c31d04fa386aad0497
[]
no_license
luciodj/PIC16-Serial-Bootloader
203bb6113cbeb721578843b61cb691205da433a5
4b18ba65353227b92e9fef21391a30b5ec62e96c
refs/heads/master
2020-07-21T03:21:13.098216
2015-01-20T20:54:35
2015-01-20T20:54:35
206,748,947
1
1
null
null
null
null
UTF-8
Python
false
false
16,641
py
#!usr/bin/python # # Serial Bootloader for PIC16 # # Author: Lucio Di Jasio # url: blog.flyingpic24.com # import serial import serial.tools.list_ports as lp import time import sys import intelhex from Tkinter import * from tkFileDialog import askopenfilename __version__ = 0.1 STX = '[' #0x0f cmdSYNC =...
[ "pilot@flyingpic24.com" ]
pilot@flyingpic24.com
54d58dff53e43a7372192dc56d2ea6c3f9d782e0
e93ddb893fccfb94a4240e4c36e547a10c33f5a5
/data/process_data.py
896fa0ae57010eebc9f28f3ea9eeaee9218959f0
[]
no_license
imadarsh1001/Disaster_Response_Pipeline_NLP
8e3a8b58c0f5b5b8c9e41388b354ba8ae4244a7c
6f089812ee18ef1f4ba0858bbfb7ab07129fb452
refs/heads/master
2022-09-13T14:39:32.664825
2020-05-26T22:38:26
2020-05-26T22:38:26
264,499,135
1
0
null
null
null
null
UTF-8
Python
false
false
3,402
py
import sys import numpy as np import pandas as pd from sqlalchemy import create_engine def load_data(messages_filepath, categories_filepath): """ - Loads the data from csv files into dataframe - Merge the 2 dataframe Args: messages_filepath (str): File path of message ...
[ "imadarsh1001@gmail.com" ]
imadarsh1001@gmail.com
3a93bf306e8f160d8e5f9c0ed472b015bb94941e
ee401da90cfa0e100da89d493712d1371ca0bbd9
/prpl/apis/hl/spec/builder/graph/graph.py
cc6e401942a48b79ffa4987493ac85811ffd7ed4
[]
no_license
prplfoundation/prpl-ssi-api-parser
c82e72a802de581e6df856c96ecf3b36a1d3e494
f81c189eb7a61a0260e7110b264c2e1823d39258
refs/heads/master
2020-03-26T22:07:02.424175
2019-02-28T18:36:22
2019-02-28T18:36:22
145,432,762
0
1
null
null
null
null
UTF-8
Python
false
false
1,442
py
class Graph: """Graph groups multiple nodes into a Graphviz cluster/graph.""" def __init__(self): """Initializes the Graph object.""" self.nodes = {} def append(self, node): """Adds the provided node/tree to the cluster. Args: node (Node): Node...
[ "jrmfreitas@live.com" ]
jrmfreitas@live.com
ccfe5211621db29314115cb391d4fdeebba44405
060722dfbdd53724a2e6444341225c4937ef1fe9
/classes/classes.py
674cb4527fb1309c374fb9441aab386377272355
[]
no_license
math77/Python3OO-Basico
aded5407489aab2284338b75abf52212bb919275
331988f15852ebc724cc3f826d4cd1f92a805fcb
refs/heads/master
2020-03-22T01:09:46.548659
2018-07-01T23:54:42
2018-07-01T23:54:42
139,286,922
0
0
null
null
null
null
UTF-8
Python
false
false
510
py
class Dog: #Class Attribute specie = 'mammal' def __init__(self, name, age): self.name = name self.age = age #metodo de instancia def description(self): return "{} is {} years old".format(self.name, self.age) #metodo de instancia def speak(self, sound): return "{} says {}".format(self.name, sound) ...
[ "matheusemanuel745@gmail.com" ]
matheusemanuel745@gmail.com
047d16ad58473a4eeec83febc0bfece993897984
801cf912f3c13ac73af9178b482ba2408ac5f102
/questions/migrations/0004_auto_20200227_1859.py
b0cb9bc47b7f6556a0e67c31a6372b96db86c9c2
[]
no_license
didemertens/sei-project-4
62de1c24ad0f5433a95b51e44a6e1430bf39454b
dc6b42565698fb1d2b3d411cec6d6c95612a9b20
refs/heads/master
2023-01-12T13:44:43.069791
2020-03-27T10:31:33
2020-03-27T10:31:33
243,276,770
0
0
null
2023-01-05T08:28:49
2020-02-26T14:03:03
JavaScript
UTF-8
Python
false
false
1,054
py
# Generated by Django 2.2.9 on 2020-02-27 18:59 from django.db import migrations, models import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ('questions', '0003_auto_20200227_1019'), ] operations = [ migrations.AddField( model_name='answer', ...
[ "d.g.j.mertens@gmail.com" ]
d.g.j.mertens@gmail.com
f517f22ae79b5ae1cd103c71e08419386bd8eeae
9da129602c7da275c2e7c839c29c044e71d6c9b1
/PYTHON CODE FOR COMPUTER SIDE/NFC/venv/Lib/site-packages/llsmartcard/helper.py
9d973b8fee47640b86c7829dd9c4fb2d36468e71
[]
no_license
SSTodorov/Passdroid
370b428ab82abd1c0bdcdcd7fa97dc67c4e848eb
3afa9578ee27a47b69bb2129ad209001f4952a5b
refs/heads/main
2023-08-05T19:51:00.015103
2021-09-17T11:33:46
2021-09-17T11:33:46
407,514,695
0
0
null
null
null
null
UTF-8
Python
false
false
596
py
def write_binary(data, filename): """ Write binary data to a file on disk """ import struct # Create file and write to it f = open(filename, "wb+") f.write(struct.pack("%dB" % len(data), *data)) f.close() def read_binary(filename): """ Write binary data to a file on ...
[ "62951147+SSTodorov@users.noreply.github.com" ]
62951147+SSTodorov@users.noreply.github.com
2ec24b71ad14bc96972d682f916bd44ff665186f
fca8cc40e736521a3cb31c831379264da76a2bf3
/reference/reference/views.py
d3ab641339a0503282d0b6fb983de7fecab1c4c8
[]
no_license
vnikesh/Essens-Website
4e3058f345d2e3e0c7a26dd09e8e0fb0e6ccb59f
34d1f7932d9a96e4ac7dfc279e92d6fb2273e3d5
refs/heads/master
2020-03-07T08:22:08.688873
2018-03-30T03:20:16
2018-03-30T03:20:16
127,375,920
0
0
null
null
null
null
UTF-8
Python
false
false
685
py
from django.shortcuts import render # Create your views here. #from django.utils import timezone #from .models import * from django.shortcuts import render, get_object_or_404 #from django.shortcuts import redirect #from django.contrib.auth.decorators import login_required #from .forms import * #from django.db.models ...
[ "nikeev1991@gmail.com" ]
nikeev1991@gmail.com
db7f00f51f2445ceb5545c73e114f641524ecfc4
54750412da7d9d16285c9a45a4fb9de6890b1d5b
/activity_manager/views/register.py
336835eded49f2f18ee03bf46e61fdbd44889384
[]
no_license
MasterBlaster479/we_deploy
1bc36bb14fc8a01fc8bf0eba1a434dcaa8c319bb
038e369034b603766c692f3de936a93c3ee574cd
refs/heads/master
2021-01-25T01:22:20.254456
2017-06-19T09:13:05
2017-06-19T09:13:05
94,755,562
0
0
null
null
null
null
UTF-8
Python
false
false
694
py
from flask_restful import Api from ActivityResource import * from UserResource import * def register_resources(app, api_prefix): api = Api(app) # Activity Resource register api.add_resource(ActivityResource, api_prefix + ActivityResource.route_base) api.add_resource(ActivityResourceList, api_prefix + A...
[ "goran.bogic@infokom.hr" ]
goran.bogic@infokom.hr
afa655ac8cf52139ac0b35fdacc2cb0bfdc7e870
88fea51d5d9e9e2e30d81f099fa6093e6d60e6f7
/test.py
d435266d2e6f0d421f8f35ecb5bcc002217e2dbf
[]
no_license
dnfcallan/VirtualConductor
fb80caea70832652e16df02ac246f0bd46aa5e4f
30930a51747599a601e24bb764ae0f984a538390
refs/heads/main
2023-04-20T03:35:18.436315
2021-04-26T12:01:11
2021-04-26T12:01:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,888
py
import datetime import torch from moviepy.editor import * from dataset import * from utils_pose import filter, show_pose def test(G_high_dir, G_low_dir, testset, video_save_dir=None, vis=True): dataset = TestDataset(test_samles_dir=testset) testloader = DataLoader(dataset=dataset, batch_size=1) ...
[ "noreply@github.com" ]
dnfcallan.noreply@github.com
45d147e228b07cd440f607f9150aae35457d9bc5
2fe43bb14f9c54ac0d043078b023c48a061c0e70
/api/settings.py
6d5016eb2fe941f4f56e3b9b2327e4f43fdf7310
[]
no_license
martin-martin/django-music-API
5bcad92ccd4855e1a173ebef6757c6c8a0a0f0f6
6947a1ac558b2deeee795aef8a26c49a3f5a15e9
refs/heads/master
2020-03-30T09:12:04.021342
2018-10-01T15:02:22
2018-10-01T15:02:22
151,065,062
0
0
null
null
null
null
UTF-8
Python
false
false
3,114
py
""" Django settings for api 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 # Bui...
[ "breuss.martin@gmail.com" ]
breuss.martin@gmail.com
02fcc954935e2275f6b7dd5f75950f1634c61ccb
8deae87877b6a814e7deca685b75e5d25ce6af93
/simple/simple/wsgi.py
40361f37ece8b58fa1bf5c7129437637d70a6330
[ "MIT" ]
permissive
e4c5/django-react
a885ef78d22f820017a4c61091088b958be4d098
88a04915871f5d6544368fc1a91bffc9e02506cc
refs/heads/master
2023-04-14T06:24:23.424084
2023-04-04T12:46:27
2023-04-04T12:46:27
187,174,419
3
1
null
null
null
null
UTF-8
Python
false
false
389
py
""" WSGI config for simple 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/4.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETTIN...
[ "raditha.dissanayake@gmail.com" ]
raditha.dissanayake@gmail.com
3c8837220b27445ba7329947de011eeec3235eb2
e4abb5d67c5ba3edcd70592d55ad58b01a4dba1c
/fraud_detections/userr/migrations/0001_initial.py
f65740eaec82c1b3c483a92f3896e5337d5da76c
[]
no_license
vismaya1999/fraud-detection1
6cd886a2833637e9b602f155665063828f5eeb97
eb65af882a081e080918e8da6e9c6d81981d386f
refs/heads/main
2023-08-04T06:42:21.325285
2021-09-15T18:03:30
2021-09-15T18:03:30
406,871,028
0
0
null
null
null
null
UTF-8
Python
false
false
2,268
py
# Generated by Django 2.2 on 2021-05-06 07:28 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='csvfile', fields=[ ('id', models.AutoField(pr...
[ "90727490+vismaya1999@users.noreply.github.com" ]
90727490+vismaya1999@users.noreply.github.com
cf7302c368d59a41fe3b12a16f5001efce0f9cc7
d93d0c40b1099961806093d37933530185d6303c
/jobs/migrations/0006_auto_20171015_0136.py
ff58f6a0a8d6dcc596a639dbf12ad86003af8ca9
[]
no_license
mindBenders1/infyjobs-backend
52881d38684d0fe2892dde38ff5d8ba223fd226e
de52f48358ea260f99799e20bde50f9799e4290f
refs/heads/master
2021-07-13T08:23:17.451274
2017-10-15T06:41:45
2017-10-15T06:41:45
106,837,666
0
1
null
null
null
null
UTF-8
Python
false
false
458
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.4 on 2017-10-15 01:36 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('jobs', '0005_auto_20171015_0136'), ] operations = [ migrations.AlterField( ...
[ "pal.vishal41@gmail.com" ]
pal.vishal41@gmail.com
1d7d27f729c4dd8cd00c766f664b766d6bb795e4
473ff17a5b9d6526a653a27a9aaa3f01f05f3d27
/workshopsit/manage.py
30530222835804f2e8b27052d957b96ef9de474c
[]
no_license
anagha-praveen/Django-workshop
a6c944de10c5151c0f0cc4b736175cf597de9723
acc1719123499a942fa62bf621217a10f12282b8
refs/heads/master
2020-03-19T15:56:41.575773
2018-06-09T11:04:57
2018-06-09T11:04:57
136,692,761
0
1
null
2019-10-26T06:01:11
2018-06-09T05:11:28
Python
UTF-8
Python
false
false
543
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "workshopsit.settings") try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportError( "Couldn't import Django. ...
[ "root@13cpu0168L.amritavidya.edu" ]
root@13cpu0168L.amritavidya.edu
10960bc50ae00a433f9e2abc2c7241c9ec902041
a5cf6698654cb9d2af54d81c2195844c98d8acf3
/cd/website/settings.py
5341535e181b48083e144076acf7a3da3c4034ae
[]
no_license
captaintl/lll
e721cd8213cdcb7a7676e77aef2429c0d535585d
6a30503365caf11c64d4c4ffdeb42fa0f98e14c0
refs/heads/master
2021-01-10T12:58:57.470321
2015-11-15T00:58:41
2015-11-15T00:58:41
46,198,516
0
0
null
null
null
null
UTF-8
Python
false
false
1,986
py
""" Django settings for website project. For more information on this file, see https://docs.djangoproject.com/en/1.6/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.6/ref/settings/ """ # Build paths inside the project like this: os.path.join(BASE_DIR, ...) im...
[ "314802708@qq.com" ]
314802708@qq.com
6194798040b0c19cfcc3216d87ba8f8fbab67590
4a8dd5bc769f7e7733558d036533520d15c40974
/gs_decentralized/Specialized/Maya/gs_assets/gs_scripts/Common/gs_NonDefHistCheck_class.py
989de8c289eeaf1756f26c896fddaeb49d562810
[]
no_license
sadams115/Grindstone
6794cd16940a5c361b93091124558e497bb3aac9
cc5809f35bccd15a3008cd0ca5a933375f54902d
refs/heads/master
2021-01-21T12:12:10.779455
2018-05-04T19:19:11
2018-05-04T19:19:11
102,050,711
0
1
null
null
null
null
UTF-8
Python
false
false
2,099
py
# Grindstone gs_NonDefHistCheck_class.py # Authors: Sam Carnes and Sean Adams # This file scans every DAG object in the scene and checks for any non-deformer history. # The script returns a true or false depending on the results import pymel.core as pm import maya.cmds as cmds class NonDefHistCheck: ...
[ "noreply@github.com" ]
sadams115.noreply@github.com
6a5589892bc9da0e9e5a16a04da8e397c39bfd69
7d776e7d8211a118f5b666fdfd4b6ac05fedc23f
/dqn-LunarLander/ll-v2.py
1c46b70a1a64d29712fa3cc18e772572e22a3ca4
[]
no_license
srikanth-kilaru/rl-projects
12f16bad24c7081eb12055ca7d6bdfc77f31c5a2
cf3b5c20e2007545a13eb39d186d22940196ec73
refs/heads/master
2020-04-11T13:50:23.458816
2019-01-07T00:54:21
2019-01-07T00:54:21
161,831,743
2
1
null
null
null
null
UTF-8
Python
false
false
7,063
py
import gym import numpy as np from keras.models import Sequential from keras.layers import Dense, Dropout from keras.layers.embeddings import Embedding from keras.optimizers import RMSprop, Adam import random from collections import deque import matplotlib.pyplot as plt from keras import backend as K from IPython impo...
[ "srikilaru@gmail.com" ]
srikilaru@gmail.com
d0de8044c39efd2d7705999f0cdd891d7b72b4ed
690491a5adfaccd6be1c9ef54e3b7da779550249
/utils/dm_test.py
dfb03976b29cd326184bdb2b91f5e53298ace296
[]
no_license
lex-koelewijn/Thesis_Asset_Price_Forecasting
34aa4742c58bc387a4baf1cf2c9da2ab9c3525b2
ce09153316c628ef777fddbab3af48e644368197
refs/heads/main
2023-04-25T03:44:35.680328
2021-04-28T14:06:01
2021-04-28T14:06:01
344,453,837
1
0
null
null
null
null
UTF-8
Python
false
false
6,825
py
# Author : John Tsang # Date : December 7th, 2017 # Purpose : Implement the Diebold-Mariano Test (DM test) to compare # forecast accuracy # Input : 1) actual_lst: the list of actual values # 2) pred1_lst : the first list of predicted values # 3) pred2_lst : the second list of...
[ "lex.koelewijn@gmail.com" ]
lex.koelewijn@gmail.com
198983b3fa30c1ea7e5fc7b81f8959731a8ec0e7
75bc89befe6d0b9ccb16140b153d8467d4cff56a
/survey3_ver0825.py
105b7d9d12645f512818e785efa2a16f14a68bf6
[]
no_license
seongeun827/OTTRS
fbf61a22ecdf4088638ed3ac588e3042ec36f27d
c962b3e0108f1df738b0672e281fc8d103c6ab42
refs/heads/main
2023-08-14T17:24:26.389600
2021-09-29T03:22:41
2021-09-29T03:22:41
411,514,726
0
0
null
null
null
null
UTF-8
Python
false
false
9,721
py
import sys import cx_Oracle import csv from PyQt5.QtWidgets import * from PyQt5.QtGui import * from PyQt5.QtCore import * class OttApp(QWidget): def __init__(self, parent): super().__init__(parent) self.pp = parent self.width = 1200 self.height = 800 self.setSty...
[ "noreply@github.com" ]
seongeun827.noreply@github.com
bba2c42a8194c48e55d42961683bf776e1fbdeeb
b01a590c216ae1e96b0a28cfe99fb6959b2c4b2c
/while_loop.py
6750498cdb69306daf14b589f52174103934d114
[]
no_license
mshkdm/python_basics
f4f5237f9b1036f3a039cf5d3a7ee2be6ab60e63
33c739bc4ea5ad2f59b82decfbeccd008b6baad9
refs/heads/master
2022-12-16T22:55:29.875876
2017-07-25T08:38:09
2017-07-25T08:38:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,044
py
i = 0 numbers = [] while i < 6: print "At the top i is %d" % i numbers.append(i) i += 1 print "Numbers now: ", numbers print "At hte bottom i is %d" % i print "The numbers: " for element in numbers: print element # 1. Study Drills_1 def while_loop(i): i = 0 numbers_1 = [] prin...
[ "mixandoma@ya.ru" ]
mixandoma@ya.ru
3f2dc467cc4233f609afa83c18e40cb0e854ef1b
8d16db57a6d3be686f654e51d287ff03ba2fcf78
/scripts/motors2.py
e9368a082a33a5224058e99e47afff358def2bac
[]
no_license
isapanda/pimouse_ros
8db8d222060baca59b7f3b0ff35b9a62a6db3b63
fae920085d39683ec4b9c6d7d9e3fe44d3ec575b
refs/heads/master
2023-02-06T13:16:12.326416
2020-12-30T12:45:09
2020-12-30T12:45:09
324,419,190
0
0
null
null
null
null
UTF-8
Python
false
false
2,493
py
#!/usr/bin/env python #encoding: utf8 import sys, rospy, math from pimouse_ros.msg import MotorFreqs from geometry_msgs.msg import Twist from std_srvs.srv import Trigger, TriggerResponse class Motor(): def __init__(self): if not self.set_power(False): sys.exit(1) rospy.on_shutdown(self.set_power)...
[ "koro.koro.panda.dokoeiku@gmail.com" ]
koro.koro.panda.dokoeiku@gmail.com
60025ea38f82f5fba4bcc8381d4ab1d16e25f418
b542c85b3bf8c8b512831484bea148821c049aa2
/webpersonal/users/views.py
018eea55ac188f6215be1b5fde5ff6657e26dd6f
[]
no_license
franlop24/FlaskWebApp
86030dfe7487fcb3a8ed9505667812192295d72d
2e9627f7be946cafb2d48c4dd1a52e081819c848
refs/heads/master
2023-03-05T03:13:52.430229
2021-02-19T18:55:45
2021-02-19T18:55:45
340,461,750
0
1
null
null
null
null
UTF-8
Python
false
false
2,561
py
from flask import render_template, url_for, flash, redirect, request, Blueprint from flask_login import login_user, current_user, logout_user, login_required from webpersonal import db from webpersonal.models import User from webpersonal.users.forms import RegistrationForm, LoginForm, UpdateUserForm from webpersonal.us...
[ "franlopbri@gmail.com" ]
franlopbri@gmail.com
3d28d52207a9bdd435b87599f365610d8f297c19
60a831fb3c92a9d2a2b52ff7f5a0f665d4692a24
/IronPythonStubs/release/stubs.min/System/Net/__init___parts/AuthenticationSchemeSelector.py
6e9918078e9d0b7039aa183589532641d5b137c0
[ "MIT" ]
permissive
shnlmn/Rhino-Grasshopper-Scripts
a9411098c5d1bbc55feb782def565d535b27b709
0e43c3c1d09fb12cdbd86a3c4e2ba49982e0f823
refs/heads/master
2020-04-10T18:59:43.518140
2020-04-08T02:49:07
2020-04-08T02:49:07
161,219,695
11
2
null
null
null
null
UTF-8
Python
false
false
2,790
py
class AuthenticationSchemeSelector(MulticastDelegate,ICloneable,ISerializable): """ Selects the authentication scheme for an System.Net.HttpListener instance. AuthenticationSchemeSelector(object: object,method: IntPtr) """ def BeginInvoke(self,httpRequest,callback,object): """ BeginInvoke(self: Authenticatio...
[ "magnetscoil@gmail.com" ]
magnetscoil@gmail.com
00f52ec703752465b4057e361479299471343355
b4d9642fc50f41f9c09890ff00051d7734d9329e
/Raster-processing-R-bash-Python/reclassify_ocean_bathymetry.py
e54e7978833d3240e28643f6225fda8863010a8a
[]
no_license
pumiko/studies-and-training
70ab64046060564e3338f3ae82e3405a596947db
a820abf9ee2fc37efdc1fd5bccaf12026d89d6b7
refs/heads/master
2021-01-21T09:56:10.267055
2017-03-12T19:33:11
2017-03-12T19:33:11
83,355,411
0
0
null
null
null
null
UTF-8
Python
false
false
420
py
import arcpy import numpy as np from arcpy import env from arcpy.sa import * env.workspace = "path/to/folder" start_ocean = np.arange(-11000,-9,10) end_ocean = np.arange(-10990,1,10) labels = np.arange(11000,0,-10) array = np.column_stack((start_ocean,end_ocean,labels)) list_reclass_values = array.tolist() Reclass...
[ "stec.magda@gmail.com" ]
stec.magda@gmail.com
0176be918eb53c53becc78acdc3cb99103d62b87
ac5e52a3fc52dde58d208746cddabef2e378119e
/exps-mrsp.0/mrsp_ut=3.5_rd=1_rw=0.04_rn=4_u=0.075-0.325_p=harmonic-2/sched=RUN_trial=35/params.py
39b4dc35f69e50caff552d3f745c596e740bc5a0
[]
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
248
py
{'cpus': 4, 'duration': 30, 'final_util': '3.618762', 'max_util': '3.5', 'periods': 'harmonic-2', 'release_master': False, 'res_distr': '1', 'res_nmb': '4', 'res_weight': '0.04', 'scheduler': 'RUN', 'trial': 35, 'utils': 'uni-medium-3'}
[ "ricardo.btxr@gmail.com" ]
ricardo.btxr@gmail.com
83d83a4abbfcae98b346764470f7f219f49ae4ef
24a56351c1417fbe126c74a22294381e32939006
/main.py
5660598d45947d591472543190d3a3aa3a438013
[]
no_license
BhanuPrakashNani/Gesture-Detection
0265be86d09b64cf524d8720367c3c8a7bd7566e
0372efbdb54534cf92583b0771b101f584d3b605
refs/heads/master
2022-09-01T06:08:17.884212
2020-05-23T20:05:10
2020-05-23T20:05:10
267,622,010
0
0
null
2020-05-28T15:09:30
2020-05-28T15:09:29
null
UTF-8
Python
false
false
568
py
from flask import Flask, render_template, Response from recognize import VideoCamera app = Flask(__name__) @app.route('/') def index(): return render_template('index.html') def gen(camera): while True: frame = camera.get_frame() yield (b'--frame\r\n' b'Content-Type: image/jpeg\r...
[ "bvsabhishek@gmail.com" ]
bvsabhishek@gmail.com
f6dee28a3ed4f81785df8e616bcd458485360a96
8a7b0e4aea78be10c08fe8e1ac98368f8bfdbae8
/EvaMap/Metrics/metric.py
3b3ac96e029477693c2e7cb3c0511c7aaa122110
[ "MIT" ]
permissive
benj-moreau/EvaMap
feebc392e79eaedf0f9f171ef5aeb8f10bf3a243
42e616abe9f15925b885797d30496e30615989a0
refs/heads/master
2022-04-05T19:15:33.909365
2020-03-13T10:11:23
2020-03-13T10:11:23
198,458,252
3
0
null
null
null
null
UTF-8
Python
false
false
140
py
def metric(onto=None, map=None, g_map=None, data=None): return { 'name': None, 'feedbacks': [], 'score': 0 }
[ "benji_moreau@hotmail.fr" ]
benji_moreau@hotmail.fr
81be67e31cb3e6f6890f31444e7794c51ff1f2c2
bae7ff2c12358cc053c600841b1f43008445dfa7
/rules/cnv.smk
6ab64b444de05390eda9df568226890e778b18ca
[]
no_license
joys8998/bioinformatics-joy
bcd5393b927a59ac0e8365b1d88134f2e75e6d66
885dc9a043657186b35e403c2b4f626f329e1fdc
refs/heads/master
2021-07-23T12:06:10.736193
2021-01-14T22:46:17
2021-01-14T22:46:17
236,940,012
0
0
null
null
null
null
UTF-8
Python
false
false
4,256
smk
rule process_intervals: input: ref="resources/genome.fa", intervals="resources/calling_regions.hg38.interval_list" params: bin_len=0, merging_rule="OVERLAPPING_ONLY", tmp_dir=config["tmp_dir"] output: interval_preprocessed="sandbox/calling_regions.preprocesse...
[ "bordinijoy@gmail.com" ]
bordinijoy@gmail.com
408acd829bd8489aabb3dea183c99d57896ec2ce
efc3bf4f88a2bfc885de5495c87433d345b54429
/ZOJ/3191.py
a11237f5b2af1c8cc1d724abc0dcc77bd51022aa
[]
no_license
calvinxiao/Algorithm-Solution
26ff42cc26aaca87a4706b82a325a92829878552
afe254a4efa779598be8a82c5c5bcfcc94f80272
refs/heads/master
2016-09-05T21:08:35.852486
2015-08-23T15:13:23
2015-08-23T15:13:23
20,149,077
0
0
null
null
null
null
UTF-8
Python
false
false
734
py
#Problem ID: 3191 #Submit Time: 2013-04-24 10:15:49 #Run Time: 10 #Run Memory: 320 #ZOJ User: calvinxiao import sys def getline(): return sys.stdin.readline() def getint(): return input() def getints(): return map(int, raw_input().split()) def getlist(): return raw_input().split() #sy...
[ "calvin.xiao@scaurugby.com" ]
calvin.xiao@scaurugby.com
4f6f51d8e40d117b7c63ae6a13477f753f0bc66e
e970324a60eaa413532cf848b1650361ab7f3702
/mopidy_nfcread/nfc/clf/arygon.py
5ad9239e161887bb2b3c35e41deb952a42269d70
[ "Apache-2.0" ]
permissive
gefangenimnetz/mopidy-nfcread
67141238c07c78d8108bb53ef92d76f7594fbcbb
268bea060a204f7fb3df266882228c65055481a3
refs/heads/master
2021-01-10T11:15:16.431108
2015-11-08T19:44:17
2015-11-08T19:44:17
45,315,318
6
1
null
null
null
null
UTF-8
Python
false
false
3,682
py
# -*- coding: latin-1 -*- # ----------------------------------------------------------------------------- # Copyright 2009-2015 Stephen Tiedemann <stephen.tiedemann@gmail.com> # # Licensed under the EUPL, Version 1.1 or - as soon they # will be approved by the European Commission - subsequent # versions of the EUPL (t...
[ "kontakt@florian-kutschera.de" ]
kontakt@florian-kutschera.de
85523e076c2a9670337e202fd9513822ccf7cf71
99f3bbb1b097d640f4518eab940587e7282bcad4
/problem7.py
de5b2d64b2498d159ddad31b0a5aa7e12d00b0d8
[]
no_license
MariinoS/projectEuler
f2a5f59602944c21425ebcda3ec4c098ae2ee6de
4a9f3bb35ad1ed76d18e077a59cac254e526d3ad
refs/heads/master
2021-01-10T16:17:31.610231
2016-02-20T23:33:50
2016-02-20T23:33:50
51,226,450
0
0
null
null
null
null
UTF-8
Python
false
false
789
py
# Project Euler: Problem 7 Source Code. By MariinoS. 7th Feb 2016. # Task: By listing the first six prime numbers: 2, 3, 5, 7, 11, and 13, # we can see that the 6th prime is 13. # What is the 10 001st prime number? # # My Solution: def is_prime(x): if x > 1: for n in range(2, x): ...
[ "MarinoSoro@MacBook-Pro-van-Marino.local" ]
MarinoSoro@MacBook-Pro-van-Marino.local
36b46d502efc50b478c07c3614993b5e52cf6123
b5a127b843a6cd3237f44a7e7e24df8d7283068a
/hw01.py
648118e563a6fc63dcafbb70d930c184b7588428
[]
no_license
mmssyy/msy
810542e719ee0384eed4de40d2ca396146b80135
d25c78a244d3a66061c15959f380cac16b93ebab
refs/heads/master
2020-04-26T08:27:32.549049
2019-11-12T13:57:59
2019-11-12T13:57:59
173,423,431
0
0
null
2019-05-13T12:26:59
2019-03-02T08:33:30
HTML
UTF-8
Python
false
false
140
py
for i in range(1, 10): for j in range(i, 10): print(f"{i}*{j}={i*j:<2d}", end=' ') print() print(" "*i, end='')
[ "498232736@qq.com" ]
498232736@qq.com
ffbfd19801d8b95f7cd3475e687a7d9d2ddb7bb7
33d83bfd86d17c7182959f2af2974f086f0a900c
/ml_glaucoma/cli_options/train/tf_keras.py
53654be3a3b0c64bf55883081869091565346d53
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
SamuelMarks/ml-glaucoma
5205216bff6daf6b0b7941f0a34539644e2abed8
a1dffb106475ab9be9755429899cbfbe6a4a33f9
refs/heads/master
2021-03-19T16:53:53.354989
2020-12-19T08:50:03
2020-12-19T08:50:03
79,754,884
3
2
null
2019-10-06T13:08:23
2017-01-23T00:01:04
Python
UTF-8
Python
false
false
357
py
import tensorflow as tf from ml_glaucoma import callbacks as callbacks_module from ml_glaucoma.utils.helpers import get_upper_kv valid_callbacks = get_upper_kv(tf.keras.callbacks) valid_callbacks.update(get_upper_kv(callbacks_module)) SUPPORTED_CALLBACKS = tuple(sorted(valid_callbacks.keys())) # Cleanup namespace de...
[ "807580+SamuelMarks@users.noreply.github.com" ]
807580+SamuelMarks@users.noreply.github.com
1882321dfb7d6c3d25f93fbf056a39ae8686edfc
2f2bebd590d02005654cd22953db7681dee764dc
/TestModel/wsgi.py
195940ed3078f15273928da379a1a491ea24e00e
[]
no_license
DanielSamsonraj/College-Tasks
6af11882c62b1df75e4f5599b7296718d725c873
6964095a7236ae845ac84108f8db84bda8754417
refs/heads/master
2022-11-11T23:36:25.007332
2020-07-10T15:49:06
2020-07-10T15:49:06
275,524,334
0
0
null
null
null
null
UTF-8
Python
false
false
395
py
""" WSGI config for TestModel 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/3.0/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SET...
[ "danielsam458@gmail.com" ]
danielsam458@gmail.com
5738c5b13a19960f4eb3b599e0dd2d595d8c83b4
28702e06390fc5b1c39f5945ab8365ed273483c3
/iFair.py
de703b44191cc273f6e5d0561041c08f41b045c7
[ "MIT" ]
permissive
plahoti-lgtm/iFair
c4c48120041c5a2627bb86e2f09914e779d2fbdf
e504fc5411c2129b443ef77b3f016173cd3fb66e
refs/heads/master
2021-05-18T00:27:09.313891
2020-03-29T12:33:43
2020-03-29T12:33:43
251,023,153
4
0
null
null
null
null
UTF-8
Python
false
false
4,013
py
""" Implementation of the ICDE 2019 paper iFair: Learning Individually Fair Data Representations for Algorithmic Decision Making url: https://ieeexplore.ieee.org/document/8731591 citation: @inproceedings{DBLP:conf/icde/LahotiGW19, author = {Preethi Lahoti and Krishna P. Gummadi and Ge...
[ "noreply@github.com" ]
plahoti-lgtm.noreply@github.com
e86563173531d8b28011339b0d6151a1ad925692
6b06010f58958e522992e99efdf5056b15c037f3
/learning_journal.py
8c942735e81f6369cdc0f9c13e7d1f499db7301d
[]
no_license
k1ycee/School_Work
139ee1fcff5f294819c2ce0b410b194c3dca34e0
9dd3dff4a767d84021e11c57d7a9f3a7345bd474
refs/heads/master
2023-03-22T20:27:33.410554
2021-03-22T08:05:39
2021-03-22T08:05:39
340,304,719
0
0
null
null
null
null
UTF-8
Python
false
false
4,374
py
# import PyPDF2 # from gtts import gTTS # import os # def countdown(n): # if n <= 0: # print('Blastoff!') # else: # print(n) # countdown(n-1) # # Function that counts up from a negative number # def countup(n): # if n >= 0: # print(n) # print('BlastUp!')...
[ "chiagozieani145@gmail.com" ]
chiagozieani145@gmail.com
8b3f5f4ad3fcb11d245e75d80e2e90e86bb035fc
31e49b0c2fc73529af1b49724edca11b1ad5bfb1
/data/generate_frame.py
405c86e8db376f1249bb568d805363db7e1bc66e
[ "MIT" ]
permissive
beibuwandeluori/DeeperForensicsChallengeSolution
0030fd25b4fa994656e1f58ae1a38e4bda5a55e3
d19284d48d386a7409f097ad2755c6a9c31a5729
refs/heads/master
2023-04-21T09:28:50.963428
2021-05-21T14:22:14
2021-05-21T14:22:14
309,660,404
29
5
null
null
null
null
UTF-8
Python
false
false
3,841
py
import numpy as np import cv2 import os import shutil from tqdm import tqdm def extract_frames(videos_path, frame_subsample_count=30, output_path=None): reader = cv2.VideoCapture(videos_path) # fps = video.get(cv2.CAP_PROP_FPS) frame_num = 0 while reader.isOpened(): success, whole_image = reade...
[ "1329636999@qq.com" ]
1329636999@qq.com
636c19716c6fe400a8be0ff1adb798143928282e
384324291014bc14a83253416923bbb164283a4e
/moveZeroes.py
182ffe8c245a437c4e5855a772f70bd04c923130
[]
no_license
Sammyuel/LeetcodeSolutions
b9147717f6693c212ba16eaf0df2bd7a3ee53ea7
0864b4f8a52d9463d09def8d54a9b852e4073dcc
refs/heads/master
2020-03-28T09:33:32.014502
2018-11-08T00:57:43
2018-11-08T00:57:43
148,042,957
0
0
null
null
null
null
UTF-8
Python
false
false
341
py
class Solution(object): def moveZeroes(self, nums): """ :type nums: List[int] :rtype: void Do not return anything, modify nums in-place instead. """ pos = 0 for i in xrange(len(nums)): if nums[i]: nums[i], nums[pos] = nums[pos], nums[i] ...
[ "sam.lee1@bell.ca" ]
sam.lee1@bell.ca
5f0cf6160c0e0b51bb29880c1a50839556e3a902
ff3b19b5cc5aac4b856c924dc86af3ffb631948e
/Test/getReaction.py
5486f02d9878c842fd166793362035bd03277b9b
[ "Apache-2.0" ]
permissive
yuxiabuyouren/Test
0bc8be254b07e0051f6dcf8c2ab4d6e978559f26
f1335c7dd0edb66c6a75fa2a93a16336333782c5
refs/heads/master
2020-03-20T05:34:53.846340
2018-06-05T12:25:32
2018-06-05T12:25:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,536
py
from django.http import HttpResponse import json import re from collections import defaultdict def getReaction(request): treatments = [] reactions = defaultdict(dict) snodes = request.GET['snodes'].strip().split("\t") #print(len(snodes)) for snode in snodes: items = snode.rstrip(";").split(...
[ "sangyunxin@gmail.com" ]
sangyunxin@gmail.com
84fece833becbc375cab5cf7c904cf9910960ad5
e64f34e6c03297239e252070874b509fcaf09686
/vmall-server/app/api_v1/order.py
6d78c8daa12e815ba6f7339fcc1c0d25ce78fc3a
[]
no_license
goobai/vmall
e0205d31a800033c913448ab48446afc0df9572c
9b130303cf78e04cbe1d8df2bd30fb774cf65d48
refs/heads/master
2023-05-12T01:40:13.789619
2023-02-02T06:14:26
2023-02-02T06:14:26
208,969,999
0
0
null
null
null
null
UTF-8
Python
false
false
7,108
py
from . import bp from flask import jsonify, request, redirect, url_for from app.models import * from flask_jwt_extended import jwt_required, create_refresh_token, create_access_token, get_jwt_identity from sqlalchemy import desc, func from app.utils import generate_order_id """ 商品单接口: 1、提交订单 2、支付订单金额 3、查询订...
[ "834207470@qq.com" ]
834207470@qq.com
a40ae26e22d1343dac0a948f1a5dd87ee495e2a2
1ac5bc7013898f54c58ffc48aa785f880b0ecbf5
/vyper_parser/ast.py
3329c4cc4c679ef49df1787e88379279811d609a
[ "MIT" ]
permissive
gihyeonsung/vyper-parser
c431e7853e03d32d5e194afc83bafde80d3ed718
b117cfbe262d0c5f06a7a0d216c210dc28cb514c
refs/heads/master
2023-02-05T13:23:21.742632
2020-12-29T04:07:40
2020-12-29T04:07:40
325,181,995
0
0
MIT
2020-12-29T04:04:21
2020-12-29T04:04:20
null
UTF-8
Python
false
false
28,245
py
import ast as python_ast import typing from vyper_parser.types import ( SubclassesDict, ) from vyper_parser.utils import ( Singleton, get_all_subclasses_dict, ) constant = typing.Any identifier = str singleton = typing.Union[None, bool] AliasSeq = typing.Sequence['alias'] ArgSeq = typing.Sequence['arg'] ...
[ "davesque@gmail.com" ]
davesque@gmail.com
a8d03bbcf43bc5c07f17f932b44e7e0dafad0cd3
c57b0d390d7bc671060e56dc1fc61fe33943c4bf
/record.py
b6312406e3b0a20fec0c350b85880415f351c6af
[]
no_license
Technically-Tony/SafeFolder
010395a201f105c592055135429dcf0bb3d1e38e
53ce435df454266f8c5d4434ac3f687319b7f178
refs/heads/master
2023-04-13T18:18:18.893484
2021-04-22T15:51:17
2021-04-22T15:51:17
360,559,724
0
0
null
null
null
null
UTF-8
Python
false
false
2,204
py
import sqlite3 from hashlib import sha256 ADMIN_PASSWORD = "123456" connect = input("Please key in your password?\n") while connect != ADMIN_PASSWORD: connect = input("Please key in your password?\n") if connect == "q": break def create_password(pass_key, service, admin_pass): return sha256(admi...
[ "tkagete@icloud.com" ]
tkagete@icloud.com
c667a0adc433827a28b8642bbe65c0f86d1a64af
486820178701ecb337f72fd00cd2e281c1f3bbb2
/teuthology_master/virtualenv/bin/lss3
d697c0259f1b300fe60ca594252427be3b35e02a
[ "MIT" ]
permissive
hgichon/anycloud-test
9e0161bc563a20bd048ecff57ad7bf72dcb1d420
0d4cd18d8b6bb4dcf1b59861fea21fefe6a2c922
refs/heads/master
2016-09-11T09:32:23.832032
2015-06-24T00:58:19
2015-06-24T00:58:19
35,654,249
2
0
null
null
null
null
UTF-8
Python
false
false
3,487
#!/home/teuthworker/src/teuthology_master/virtualenv/bin/python import boto from boto.exception import S3ResponseError from boto.s3.connection import OrdinaryCallingFormat def sizeof_fmt(num): for x in ['b ', 'KB', 'MB', 'GB', 'TB', 'XB']: if num < 1024.0: return "%3.1f %s" % (num, x) ...
[ "hgichon@gmail.com" ]
hgichon@gmail.com
ebb6289f6a70902ad76e593b705064a119d35d6a
6727f6f02ef8bf1403f02b0fc11c98f364a621b5
/python_basic/bin/easy_install
34ce48240a93e7624ef98e31464dab8bd16a422e
[]
no_license
doulos76/Python_Study
fdd73012ce9f1d61d1805e992a1c2893c5b77a45
cd978ec0f60fe16de575122f1dcf37bc5895aac6
refs/heads/master
2020-05-05T01:43:51.810526
2019-11-22T12:53:12
2019-11-22T12:53:12
179,612,985
0
0
null
null
null
null
UTF-8
Python
false
false
293
#!/Users/minhoigoo/Documents/development/Python_Study/python_basic/bin/python3 # -*- 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())
[ "inojyes@gmail.com" ]
inojyes@gmail.com
924abbfe7df5d7cef4621a9d90e78d44bb72dcb0
a358ae526370c264d57e0a0f1cc68095c13674af
/Day 052/main.py
c201cfcdd0eb2fb9e63ed42be08bb9060950f56a
[]
no_license
LintaoC/udemy_100DaysOfCode_python
ef2d1c792cd8d46f17481150df11da3d866cc5ce
a533662934655b8767530bc06d7f68081e5f54c5
refs/heads/main
2023-08-14T09:11:27.304476
2021-09-20T19:54:35
2021-09-20T19:54:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,844
py
from selenium import webdriver from selenium.webdriver.common.keys import Keys from selenium.common.exceptions import NoSuchElementException, ElementClickInterceptedException import time import os SIMILAR_ACCOUNT = "elonofficiall" USERNAME = "xxxx" PASSWORD = "xxxx" #FIREFOX_DRIVER_PATH = "/home/zellkoss/Programme/ge...
[ "noreply@github.com" ]
LintaoC.noreply@github.com
d8f338e99ff87f248eb0fe86f28f3acc7fd4ed42
da6a4c0189ceb34d2503133548842eff1c18264e
/games/coop_game.py
333071e3d752d9eb171c055bcd6528cddc82fda0
[ "Apache-2.0" ]
permissive
idoheinemann/Leverage-Graph
5572dea6438dd3496884e1e18e317db2e230949a
39f8c04e5b5f3a8af969f2f9d83ddb8c9ce3c028
refs/heads/main
2023-08-11T12:53:55.037503
2021-09-27T09:39:14
2021-09-27T09:39:14
410,688,015
1
0
null
null
null
null
UTF-8
Python
false
false
1,138
py
import abc from _types import Coalition, Value, Player, Payoff from sympy.utilities.iterables import multiset_permutations import math import numpy as np from tools import normalize_payoff class CoopGame(abc.ABC): def __init__(self, players_amount: int): self.grand_coalition = set(range(players_amount)) ...
[ "idohaineman@gmail.com" ]
idohaineman@gmail.com
a4addd7c329bcb221b029d23e293ee477c5a4736
b2f02d8716b2021cc4a7f299a52aadadb7d1a07a
/Dns.py
75b3bf6ab0e3bc27957da98e89b89ff277649430
[]
no_license
gostkin/networks-dns-hw
47badb4d5a98c665f223a181b87269cd1d54ef45
247d5c7d0871fc1f737f4f1b0f97cf8abd2ac78f
refs/heads/master
2023-05-29T09:46:58.851840
2021-03-28T16:28:25
2021-03-28T16:28:25
352,379,507
0
0
null
2023-05-03T07:47:03
2021-03-28T16:27:13
Python
UTF-8
Python
false
false
3,119
py
import typing as tp import socket from DnsResponse import DnsResponse from IpRecord import IpRecord from Trace import Trace ROOT_SERVERS_DNS = { "a.root-servers.net": '198.41.0.4', "b.root-servers.net": '199.9.14.201', "c.root-servers.net": '192.33.4.12', "d.root-servers.net": '199.7.91.13', "e.ro...
[ "gostkin@chatfuel.com" ]
gostkin@chatfuel.com
57ce9340f31634e6e0a201a76d13ddb85e094906
4ba474fe4deba9ccad2f82fac97031720650ccf4
/blog/models.py
44efded4068e1947a3f1da17ade87deb631242b2
[]
no_license
Jimmy9507/rhinoceros
0e00dbbdb787412835b57a250e529289fe22a46e
eb913a0e71bde8e11cf4789863b7fee4043a384d
refs/heads/master
2020-04-12T21:38:34.663966
2019-01-24T23:11:55
2019-01-24T23:11:55
162,767,295
0
0
null
null
null
null
UTF-8
Python
false
false
318
py
from django.db import models # Create your models here. class Article(models.Model): #标题 title=models.CharField(max_length=32,default='Title') #内容 content=models.TextField(null=True) pub_time=models.DateTimeField(null=True ) def __unicode__(self): return self.title
[ "406403730@qq.com" ]
406403730@qq.com
dd093afdea197edc3af544cab2e6bbde1fa450d6
93037409a617094334b68d2d93340a8c4304e8a5
/cam_tf_alignment/utils/data_utils.py
064eb9f4b9012182248e91007fb6981d03f0ec11
[]
no_license
DCSaunders/cam-tf-seq2seq
ff4fab5f66a9ade7a91614da08d2fe912b46465e
b4a7d54562196105c9e163ed6ca2e0834d464821
refs/heads/master
2021-01-21T12:50:17.301084
2019-05-08T13:14:58
2019-05-08T13:14:58
102,101,143
0
1
null
null
null
null
UTF-8
Python
false
false
19,109
py
# Copyright 2015 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "ds636@cam.ac.uk" ]
ds636@cam.ac.uk
a6ba0e0999eee8ffcb1eba0dc7edeb8373fa5a61
09e57dd1374713f06b70d7b37a580130d9bbab0d
/benchmark/startQiskit_noisy1660.py
d3db3c4cd504b1ed00c9774adc0fa6e92a169529
[ "BSD-3-Clause" ]
permissive
UCLA-SEAL/QDiff
ad53650034897abb5941e74539e3aee8edb600ab
d968cbc47fe926b7f88b4adf10490f1edd6f8819
refs/heads/main
2023-08-05T04:52:24.961998
2021-09-19T02:56:16
2021-09-19T02:56:16
405,159,939
2
0
null
null
null
null
UTF-8
Python
false
false
4,553
py
# qubit number=5 # total number=59 import cirq import qiskit from qiskit.providers.aer import QasmSimulator from qiskit.test.mock import FakeVigo from qiskit import QuantumCircuit, QuantumRegister, ClassicalRegister from qiskit import BasicAer, execute, transpile from pprint import pprint from qiskit.test.mock import ...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
fa37545dd00bea660a0e4bb47a3b7a8064cedc48
99c159a19be8a206ab7b118e98b7b2f44f57bceb
/test/functional/wallet_scriptaddress2.py
c8fe4bf5b3fc509154565ff4f96607b69a24be8f
[ "MIT" ]
permissive
hypothesize-coin/hypothesize
69c299b17d78d2e173eb7be16554ebe8d8d5a736
e69e0f2a45ec957783b6c58bebf4028e17c8e7d8
refs/heads/master
2020-03-30T17:46:16.971179
2018-11-09T10:07:53
2018-11-09T10:07:53
151,400,607
0
0
null
null
null
null
UTF-8
Python
false
false
3,924
py
#!/usr/bin/env python3 # Copyright (c) 2015-2016 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. # # Test new Hypothesize multisig prefix functionality. # from test_framework.test_framework import Bitc...
[ "denys@thegcccoin.com" ]
denys@thegcccoin.com
1faf96d3804d561f0d6c470ac72a3a3adb19f2a4
ee974d693ca4c4156121f8cb385328b52eaac07c
/env/lib/python3.6/site-packages/werkzeug/contrib/__init__.py
e3fce34e0fdb049b8508969345b2adda40d8a861
[]
no_license
ngonhi/Attendance_Check_System_with_Face_Recognition
f4531cc4dee565d0e45c02217f73f3eda412b414
92ff88cbc0c740ad48e149033efd38137c9be88d
refs/heads/main
2023-03-12T07:03:25.302649
2021-02-26T15:37:33
2021-02-26T15:37:33
341,493,686
1
0
null
null
null
null
UTF-8
Python
false
false
128
py
version https://git-lfs.github.com/spec/v1 oid sha256:fc6588df0d88c081452380af988e88ddda126f5a77c22ebd4aa8efdd62636da3 size 569
[ "Nqk180998!" ]
Nqk180998!
0b8c1b384a192f26f71db6bdaf59854d0cab4854
189d36a9798ae2459d8605267021e76aa4f2640f
/testcases/rhsm/rhsm_level_2/tc_ID536782_check_stackable_ability_of_product.py
075507beb8e545bef3849c21a3baddb05a913a60
[]
no_license
shihliu/entitlement-ci
967a0e51de39763bbc077844d2266203223c48a2
313e6d03eb7448387767f5d9f3b376d120c4d2f0
refs/heads/master
2021-01-16T21:51:56.426491
2017-12-21T07:46:58
2017-12-21T07:46:58
38,414,026
0
0
null
2015-07-13T08:47:23
2015-07-02T05:53:17
Python
UTF-8
Python
false
false
2,250
py
from utils import * from testcases.rhsm.rhsmbase import RHSMBase from utils.exception.failexception import FailException class tc_ID536782_check_stackable_ability_of_product(RHSMBase): def test_run(self): case_name = self.__class__.__name__ logger.info("========== Begin of Running Test Case %s ====...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
c35ac964893d13ea8f1ba0eaf4ee0629c8976d60
24980684279c29269e62a304e9be49dbda091736
/Prime.py
ebc4bb41c59d3143688e7b299509cb0ff00b4fd1
[]
no_license
ManiNTR/python
98dec01afbbabd38e93e7970a575a347e5a1a749
559053b82b3f7b944849b21e29787122418f83b8
refs/heads/master
2020-06-29T10:58:23.795841
2019-08-13T14:59:25
2019-08-13T14:59:25
200,515,938
0
0
null
null
null
null
UTF-8
Python
false
false
259
py
#Program to check the prime number num=int(input("Enter the number:")) prime=True for i in range(2,num): if num%i==0: prime=False if(prime==True): print("The given number is prime") else: print("The given number is not a prime")
[ "noreply@github.com" ]
ManiNTR.noreply@github.com
5b1e5fe965dc759005fb7eb065fad20dffb8b619
40a04920dea94179878e25a0804ce4a6b459aca9
/PheonixTS/AdvancedPython/PythonAdv if/Student Files/testing-debugging/Exercises/test_string_functions.py
87a66cd4edad6b6fd7b46a2a8d0a6dd326670c23
[]
no_license
Kryptonian92/pythonAssignments
5c7dd9140d07c94b19816ebbcaba579338479136
06355e0481307a77e5acd53b86b1fc144e98302a
refs/heads/master
2021-01-20T15:50:46.355224
2017-10-28T19:02:52
2017-10-28T19:02:52
90,771,012
0
0
null
null
null
null
UTF-8
Python
false
false
853
py
import unittest from string_functions import * class TestStringFunctions(unittest.TestCase): def test_prepend(self): self.assertEqual(prepend('bar','foo'), 'foobar') def test_append(self): self.assertEqual(append('bar','foo'), 'barfoo') def test_insert(self...
[ "ausar_mcgruder@yahoo.com" ]
ausar_mcgruder@yahoo.com
a50d0be5c5aaa0943dd230d84b252248b5367e3e
db73f626b4b4fdb9095a5f9ccaa2091a79caf06b
/tenant_manage_plat/migrations/0008_auto_20160204_2144.py
141b4816b74f7505ac048671cd81e2f8f865931f
[]
no_license
Evaxtt/weixin
f3b3f8b4adbab9689795684f0a8d25a8e1ed2097
bce09d08e456057ea7e67aaaeba7a16ae6eb6ea1
refs/heads/master
2021-01-17T15:45:38.620631
2016-10-24T09:22:03
2016-10-24T09:22:03
65,252,315
0
0
null
null
null
null
UTF-8
Python
false
false
482
py
# -*- coding: utf-8 -*- # Generated by Django 1.9 on 2016-02-04 13:44 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('tenant_manage_plat', '0007_auto_20160204_2118'), ] operations = [ migrations.A...
[ "394012641@qq.com" ]
394012641@qq.com
9711632a4d0ef32757ea0b00c0c7b901214e65de
5a7295c74f5cf8c81a9c4faff4ac73b462e80532
/aws-cdk-java/step_three/python_lambdas/errors.py
f94e42bfacc0fcdcf86d065c72c80cdcb31cd580
[]
no_license
hermanlintvelt/aws-java-serverless
840a0b1ed0b7b60d791a4e273c940aea743eb71e
8205e0d8961f4ea639c669c58a854bfa7a06dc88
refs/heads/main
2023-08-25T19:30:27.392857
2023-08-15T11:59:47
2023-08-15T11:59:47
206,782,368
4
2
null
2023-08-15T11:59:48
2019-09-06T11:46:36
Java
UTF-8
Python
false
false
1,470
py
import json def any_error(message: str, code: int) -> dict: return { 'statusCode': code, 'body': json.dumps({'message': message}), 'headers': { "Access-Control-Allow-Origin": "*", "Access-Control-Allow-Credentials": True, "Access-Control-Allow-Headers": "Origin,Cont...
[ "herman.lintvelt@gmail.com" ]
herman.lintvelt@gmail.com
5595e1e3cf4fc22afb0d5ead6ebd3f7b56e3bd8f
3d19e1a316de4d6d96471c64332fff7acfaf1308
/Users/B/bilalr/aje-url_2.py
abdec9dd0fe9367167f95964d44ddddc69c81e21
[]
no_license
BerilBBJ/scraperwiki-scraper-vault
4e98837ac3b1cc3a3edb01b8954ed00f341c8fcc
65ea6a943cc348a9caf3782b900b36446f7e137d
refs/heads/master
2021-12-02T23:55:58.481210
2013-09-30T17:02:59
2013-09-30T17:02:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,684
py
import scraperwiki from bs4 import BeautifulSoup search_page = "http://www.contractsfinder.businesslink.gov.uk/Search%20Contracts/Search%20Contracts%20Results.aspx?site=1000&lang=en&sc=3fc5e794-0cb4-4c10-be10-557f169c4c92&osc=db8f6f68-72d4-4204-8efb-57ceb4df1372&rb=1&ctlPageSize_pagesize=200&ctlPaging_page=" html = s...
[ "pallih@kaninka.net" ]
pallih@kaninka.net
aac3d35e784873fac9577160a091d457835358dd
33a50bb13812090a36257078522b798762978c66
/aliyun/api/rest/Ecs20130110DescribeImagesRequest.py
c9f3b5ab13260b722e7f491d8f89bb91cb26ef5e
[]
no_license
aa3632840/quanlin
52ac862073608cd5b977769c14a7f6dcfb556678
2890d35fa87367d77e295009f2d911d4b9b56761
refs/heads/master
2021-01-10T22:05:14.076949
2014-10-25T02:28:15
2014-10-25T02:28:15
23,178,087
1
0
null
null
null
null
UTF-8
Python
false
false
430
py
''' Created by auto_sdk on 2014-09-08 16:48:02 ''' from aliyun.api.base import RestApi class Ecs20130110DescribeImagesRequest(RestApi): def __init__(self,domain='ecs.aliyuncs.com',port=80): RestApi.__init__(self,domain, port) self.ImageId = None self.ImageOwnerAlias = None self.PageNumber = None self.PageSiz...
[ "262708239@qq.com" ]
262708239@qq.com
5bfd032db6f096244473d05becfd8c7c24e371cc
53e29bb608afabf536fda6395113c5dece2a953b
/ArrangementThree.py
51e2d9c9b5f2e372fa259228f522882b4c7d6249
[]
no_license
StrawberryFlavor/SmartContract
bcb7705243bd7603a25374f9498722450e05c3e2
dc1dc4e43ca07f17737b505ad9cad3e351e86965
refs/heads/master
2021-07-22T02:13:28.406874
2020-08-29T16:07:48
2020-08-29T16:07:48
211,664,030
4
1
null
null
null
null
UTF-8
Python
false
false
15,961
py
Cversion = '1.0.0' from hashgard.interop.System.Storage import Get, Put, PutArray, GetArray from hashgard.interop.System.Runtime import GetTxSender, GetTime, GetRand, TimeFormat from hashgard.vmop.Builtins import concat from hashgard.libop.String import join, split, int, str from hashgard.interop.System.Account import...
[ "w.he@hashgard.com" ]
w.he@hashgard.com
bdf8366f56067eeaa3cb91a176054b81a24d653e
de4b0eca24faec44bb03b66c53770e417ad84410
/custom_LSTM.py
4b656b23c27ff051803574f88450937e7ff6e06a
[]
no_license
MarySherry/AML
5718dfe4a0c876dcd3bafd19e2e0fc3ddd73fd5e
2909dfe6230230a2035a5e5d7140ee23470c236d
refs/heads/master
2020-09-29T20:47:07.611669
2019-12-10T13:01:42
2019-12-10T13:01:42
227,119,263
0
0
null
null
null
null
UTF-8
Python
false
false
6,246
py
import tensorflow as tf import pandas import numpy as np from sklearn.metrics import accuracy_score import sys # Set parameters letter_embedding_size = 5 lstm_hidden_size = 38 epochs = 100 minibatch_size = 256 # Load data p_train_data = pandas.read_csv("train_eng.csv") p_test_data = pandas.read_csv("test_eng.csv") ...
[ "noreply@github.com" ]
MarySherry.noreply@github.com
86e46441a8a60ee107f08dd91c85d958dd07d7dc
8ff2c3bf95ad793680854e012c1b2a0a47c6b053
/.ipynb_checkpoints/game_main_train-checkpoint.py
bc7aebbdccbcfb8102f5e912c89bc57a095691de
[]
no_license
zlxzgtc/majiangAI
9fa61484b0fb1414418b587a9b7b38ee8bb8d57b
df73484ba43fa6365c5f3dab4a3923ac46468491
refs/heads/main
2023-02-15T09:26:26.201169
2021-01-17T15:27:38
2021-01-17T15:27:38
329,600,513
4
1
null
2021-01-14T13:43:14
2021-01-14T11:53:09
Python
UTF-8
Python
false
false
7,592
py
from random import shuffle from copy import deepcopy import numpy as np import utils import player import game_table import hu_judge class Game(): def __init__(self, players=['ai', 'computer', 'computer', 'computer'], banker=0, round=1): self.finished = False self.players = [] for i in ra...
[ "2780311834@qq.com" ]
2780311834@qq.com
8b59d398d6fc73d704bba06861f961b7c8dcd1d7
d051f3fe9fda31b72fa0ddce67aa1f4293c7c37c
/models/statespace/transient.py
c7f1cd6b2d9d15a35f8331140a415813ecf897ea
[ "BSD-3-Clause" ]
permissive
davmre/sigvisa
4e535215b6623310d8f5da64258f6fa9a378f9fd
91a1f163b8f3a258dfb78d88a07f2a11da41bd04
refs/heads/master
2021-03-24T10:24:52.307389
2018-01-05T19:33:23
2018-01-05T19:33:23
2,321,239
0
0
null
null
null
null
UTF-8
Python
false
false
14,891
py
import numpy as np import scipy.stats import copy from sigvisa.models.statespace import StateSpaceModel class TransientCombinedSSM(StateSpaceModel): """ State space model consisting of a bunch of submodels that come and go, each model being active for a given interval of time. The observation is taken to...
[ "dmoore@cs.berkeley.edu" ]
dmoore@cs.berkeley.edu
04a05adbe948f7e5ed39e3b098955fa05f5a068e
c33ec6f52ef4ecb174c07765b6e8a8548f29daec
/Code/manage.py
4a49a92ed28826b19bfd75f1b85c31ab5f46e1ea
[]
no_license
mayerll/design
ebfc449fc787dfcef19bd29d1857411ec888a48e
1b489827c7e917d6e0e6be96cf59a0b2ae4a3d32
refs/heads/main
2023-08-04T02:18:05.799487
2021-10-01T01:23:31
2021-10-01T01:23:31
412,280,478
0
0
null
null
null
null
UTF-8
Python
false
false
641
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys print(sys.path) def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'cloud.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: ...
[ "root@iMac-od-Bopeng.local" ]
root@iMac-od-Bopeng.local
f832a1d9ccc528d16cb002adc2534143cc56f5bc
c839961aeab22795200d9edef9ba043fe42eeb9c
/data/script1191.py
176b0a9cf6075a6a1703f257277e6e864d61d8c6
[]
no_license
StevenLOL/kaggleScape
ad2bb1e2ed31794f1ae3c4310713ead1482ffd52
18bede8420ab8d2e4e7c1eaf6f63280e20cccb97
refs/heads/master
2020-03-17T05:12:13.459603
2018-05-02T19:35:55
2018-05-02T19:35:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,614
py
# coding: utf-8 # I found kagglegym_emulation to be very helpfull (https://www.kaggle.com/slothouber/two-sigma-financial-modeling/kagglegym-emulation). What this script does is validating it against the actual kagglegym. I used some snippets from this script https://www.kaggle.com/sankhamukherjee/two-sigma-financial-...
[ "adithyagirish@berkeley.edu" ]
adithyagirish@berkeley.edu
761cfa12dd0b5e6365b02d4330959c319cd91793
09f2850b1fc2d2572a9619a0bcb2f9ac63f7c4a5
/stock/common/monkey_patch.py
428f450a29a67bc4b0c3aef6c7a3f9ed6f403224
[]
no_license
lijielife/stock-59
5cf34ae090997dfe211b9b4764a44fc009baf735
2e87f8636784b079fd236dcc3c7f5a0f937e259a
refs/heads/master
2020-07-12T15:09:31.063580
2015-10-03T14:37:35
2015-10-03T14:37:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
429
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Author : lhr (airhenry@gmail.com) # @Link : http://about.me/air.henry def as_method_of(cls): def as_method_of_cls(func): setattr(cls,func.__name__,func) return as_method_of_cls def as_staticmethod_of(cls): def as_method_of_cls(func): seta...
[ "airhenry@gmail.com" ]
airhenry@gmail.com
a609024657e14b3862f7977456f4092abd104bdc
a6b954681dea98853ad38b21193b6ab3cbb06c30
/ticTacToe/migrations/0001_initial.py
443393eb77eed7894e0682c2ee1eabbc54b6a68f
[]
no_license
alexdeathway/GameZilla
267d3eb723b5bc8804269332caa35e6529a7cd17
5110dc1ce3f9053790a0688a68caf350903a68a6
refs/heads/master
2023-03-13T02:09:49.784423
2021-03-04T10:47:14
2021-03-04T10:47:14
334,889,720
0
0
null
2021-03-04T10:47:15
2021-02-01T09:03:35
Python
UTF-8
Python
false
false
4,000
py
# Generated by Django 3.0.5 on 2020-11-29 14:18 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import jsonfield.fields class Migration(migrations.Migration): initial = True dependencies = [ ("game", "0001_initial"), migrations.swap...
[ "niteshsinha1707@gmail.com" ]
niteshsinha1707@gmail.com
1e67b3bef014e1357c1e2730c2f1e476dadccd06
3d3cd15c67bae669d644a15343d66f66038bb89b
/backend/app/routes.py
962c3f40a27773884bdf2f21475dc6c3ab6f73da
[]
no_license
ni3ol/the-pizza-project
0e771778ade80f663cbfbd038652830d246aaa52
f025b220b185258cb2b38a3533ffd98f8706e514
refs/heads/master
2023-01-13T10:05:46.452189
2020-05-30T11:23:11
2020-05-30T11:23:11
188,875,990
1
0
null
2023-01-03T22:46:59
2019-05-27T16:22:50
JavaScript
UTF-8
Python
false
false
1,638
py
import requests from flask import render_template, request, jsonify from main import app from config import ( API_CREDENTIALS, TRELLO_API_BASE_URL, PIZZA_PROJECT_BOARD_ID, TO_DO_LIST_ID ) import cards @app.route('/api/boardlists') def get_lists(): payload = {**API_CREDENTIALS} response = reque...
[ "nvojacek@gmail.com" ]
nvojacek@gmail.com
c9972195d1fbff55b1cdf1078d3338786bc38d76
a49731805f9b30a1294d67fc078b780fd2f2a91d
/fitmodel/test.py
44f46913ad4fa76bbc6b779faa1ef6893ce4ab2b
[]
no_license
yw5aj/HS2014
cf74dd18d5902799da1aacf6f8c875afd98a84f9
9901aa37e3801f7654489100e2fc3cbf63b9ccaa
refs/heads/master
2021-06-06T08:56:26.294778
2015-09-29T15:17:49
2015-09-29T15:17:49
25,499,189
0
0
null
null
null
null
UTF-8
Python
false
false
34
py
import numpy as np print range(5)
[ "yw5aj@virginia.edu" ]
yw5aj@virginia.edu
aada8e89982dca7cc3a4f46040ae3b6001ad380f
d7967d1a9b2f7ca8eba10ba2cf7cac94f203ab75
/explanation_util.py
61308c1603115743e1cf00fb0ff02b39f476fdfa
[]
no_license
sayanbanerjee32/Local-explainability-of-NER-task-Masters-thesis
183a2c85962a9c8531ca95b5f70abd14f920b699
006634b41d594b5723ab3e6adae947e7ee1c570c
refs/heads/master
2023-06-12T08:10:10.898774
2021-07-08T16:07:29
2021-07-08T16:07:29
307,369,448
0
0
null
null
null
null
UTF-8
Python
false
false
26,415
py
import numpy as np import pandas as pd from keras.preprocessing.sequence import pad_sequences import re import copy from lime.lime_text import LimeTextExplainer import shap from ner_util import format_aux_input, \ pred2label, \ sent2features def get_entity_prediction(...
[ "sayanbanerjee32@gmail.com" ]
sayanbanerjee32@gmail.com
4177ee205902616799bc9b611c0e7e18be7c78b3
85d812a90b74069e751cc2cd661bcd29f1573b78
/app/core/models.py
6fec4ba55624bc8af035617f897dd27d1a087a7e
[]
no_license
olumide95/Recipe-API-Python
6b524bb6ff910a2b3d3d2d3bad8fa274963b4d37
bd7959ce8fd8d23d11b36a9e64e3648acffd5a2a
refs/heads/master
2022-11-22T21:44:46.507778
2020-06-20T11:18:06
2020-06-20T11:18:06
273,131,616
0
0
null
null
null
null
UTF-8
Python
false
false
1,204
py
from django.db import models from django.contrib.auth.models import AbstractBaseUser, BaseUserManager,\ PermissionsMixin class UserManager(BaseUserManager): # create new user def create_user(self, email, password=None, **extra_fields): if not email: raise ValueError('Email is Require...
[ "olugbemiro.olumide@gmail.com" ]
olugbemiro.olumide@gmail.com
7373b189067a4772f1283cf415a3978c55fa4fe9
00af03827c29c507211141facc8eb2317337a1ef
/tests/test_usage.py
e2c3c2de241a70789e7e30b42c4b20183127bb6d
[ "ISC" ]
permissive
gcross/paycheck
ed2fcf3719d454f2f0d20f18674c729875e83245
3a98d1a94a3c499087104142d5ee71f09529e633
refs/heads/master
2021-01-16T22:48:32.421571
2018-10-18T14:39:53
2018-10-18T14:39:53
271,126
4
2
ISC
2018-10-18T14:39:55
2009-08-06T22:41:13
Python
UTF-8
Python
false
false
629
py
import unittest from paycheck import with_checker class TestUsage(unittest.TestCase): @with_checker() def test_defaults(self, i=int, f=float): self.assertTrue(isinstance(i, int)) self.assertTrue(isinstance(f, float)) @with_checker(int) def test_mixed(self, i, f=float): self.as...
[ "gcross@phys.washington.edu" ]
gcross@phys.washington.edu
adf34968726ce7db596b72abdb414288e7fcf7b8
f2d0ce02cb7b7632a726a006a58cd5fc3d6f3733
/osb11/wsgi.py
3cad70ff04f1272ace459e1835fe031f77bab8ae
[]
no_license
Daviddager/mavengui
8a5a03a8f0b438060fba508f4cd13bb6b67488e8
c2496c6e8a8a989917cf03c1521e4e1ce4166bca
refs/heads/master
2020-12-02T17:47:46.710639
2017-08-31T02:47:56
2017-08-31T02:47:56
96,428,917
0
0
null
null
null
null
UTF-8
Python
false
false
388
py
""" WSGI config for osb11 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.11/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_SETTIN...
[ "drdagerm@gmail.com" ]
drdagerm@gmail.com
af7609702b76b1b0c3f412b0749b333f5f3b9e71
5f6425e9d83b57b864e48f227e1dc58356a555c0
/utils/palettes/3rd-party/adapted_solarized_dark.py
72cf00d4c363e0ff3e9595a1ff5f99db611cde79
[ "MIT" ]
permissive
jan-warchol/selenized
b374fa7822f281b16aa8b52e34bd1e585db75904
df1c7f1f94f22e2c717f8224158f6f4097c5ecbe
refs/heads/master
2023-06-22T09:37:02.962677
2022-09-12T20:24:40
2022-09-12T20:24:40
45,570,283
663
58
MIT
2023-04-18T09:33:22
2015-11-04T22:00:52
Emacs Lisp
UTF-8
Python
false
false
790
py
# Solarized dark with monotones and accents mapped to ANSI codes according to # selenized convention name = 'Selenized solarized dark' palette = { "bg_0": "#002b36", "fg_0": "#839496", "bg_1": "#073642", "red": "#dc322f", "green": "#859900", "yellow": "#b58900...
[ "jan.warchol@gmail.com" ]
jan.warchol@gmail.com
c4de5d0f4cf4ce49b52eeea7efa02da2e5c7df6b
310bafd1ce54303618c3f3c2955694fab2233efd
/day-15/testdemocalc/mus/TestBankAddUser.py
8c8017cbaaaa3ef9db03dfcc8de14865fc205d23
[]
no_license
caodongxue/python_all-caodongxue
73495b68817857178336bc0d86b26f6634027cb9
b065cb60907125f15b99618f69ea0d612baff4fe
refs/heads/main
2023-01-31T00:23:25.374626
2020-12-17T12:33:30
2020-12-17T12:33:30
322,277,884
0
0
null
null
null
null
UTF-8
Python
false
false
1,371
py
import unittest from demo.bank import bank_addUser ''' 1.搞清楚哪些是要测的业务逻辑部分。 2.写核心代码 3.业务: 用户满了:3 已经存在:2 开户成功:1 username,password,country,province,street,door,money ''' class TestBankAddUser(unittest.TestCase): def testAddUser(self): username = "jaso...
[ "noreply@github.com" ]
caodongxue.noreply@github.com
8a7d25c0eabce992dca705a7ec51147f50c82e07
ea94ae6b63391e148e816c867de38326d76fe14a
/apps/user/migrations/0002_alter_user_phone_number.py
367b1e2cbc972db4171d2152efa3fa4424cd86b7
[]
no_license
divitrao/oscar_api
7d8a254411a500468cd488bd69f21393d3de8f42
c98f85239319490e55e4bb538768747c39fcc06a
refs/heads/master
2023-08-25T01:21:14.540602
2021-11-03T16:48:27
2021-11-03T16:48:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
377
py
# Generated by Django 3.2.9 on 2021-11-03 05:55 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('user', '0001_initial'), ] operations = [ migrations.AlterField( model_name='user', name='phone_number', ...
[ "divit@yodaplus.com" ]
divit@yodaplus.com
a3106dfa1242dd7e9828cfb745691ddf06217f5f
cc0f22e0078b777e1781216ab03d9af4a7d9c1ad
/corpusholder.py
4dbc5e1d2cfcd4b2a3853a6c023b528ac5921a93
[]
no_license
aazarov/NLP_SentimentAnalysis_HyperparametersSearch
4432af0e922d7aa0dd742637b67316d2e33397c2
05a351717654a2a15b5d88679226e3a0c297520e
refs/heads/main
2023-01-31T01:33:22.180352
2020-12-17T09:13:40
2020-12-17T09:13:40
315,881,037
1
0
null
null
null
null
UTF-8
Python
false
false
8,641
py
from itertools import chain from collections import defaultdict from collections import Counter from numpy import asarray from sklearn.utils import shuffle import re from nltk.corpus import stopwords import torch from torch.nn.utils.rnn import PackedSequence, pack_sequence from torch.utils.data import Dataset, DataLoad...
[ "azarov.alexey@gmail.com" ]
azarov.alexey@gmail.com
7088906d9e21682ec196b3de383756e59736e76e
2061d5ccea97aee9b92e267cf6f47a9a7700c67f
/exec/catkin_ws/src/sub2/sub2/path_pub.py
7b16ca445825f936bbbda9177882bdd896d5873f
[]
no_license
lovelyunsh/ggobugi
23630286453b00d3200b2eee547b8447ede449de
19de6b0070f533917f1a665b69fe0eec0749ba0b
refs/heads/master
2023-06-13T04:02:05.245161
2021-07-11T09:25:30
2021-07-11T09:25:30
384,886,343
0
0
null
null
null
null
UTF-8
Python
false
false
5,932
py
import rclpy from rclpy.node import Node from geometry_msgs.msg import Twist,PoseStamped from squaternion import Quaternion from nav_msgs.msg import Odometry,Path from math import pi,cos,sin,sqrt import tf2_ros import os # path_pub 노드는 make_path 노드에서 만든 텍스트 파일을 읽어와 전역 경로(/global_path)로 사용하고, # 전역 경로 중 로봇과 가장 가까운 포인...
[ "lovelyunsh@naver.com" ]
lovelyunsh@naver.com
8d528dbb4e558b13890b46dbb917d8bf39391ff8
74047f69c5ebd83f6807978ccbed1fa7bdaaa3ca
/hackerrank/16Whats'sYouar_name.py
dce3f30ebdcf12c478643ebd2c2e581d66b655af
[]
no_license
Ashwinbicholiya/Python
9b9e6731e3dcb0ccd298cf502f0a82962a52c7f0
11e748f105d77f2830a3dd48e3b72f80f3d8d18d
refs/heads/master
2023-01-02T22:29:53.079325
2020-10-30T08:49:17
2020-10-30T08:49:17
261,976,363
0
1
null
null
null
null
UTF-8
Python
false
false
206
py
def print_full_name(a, b): print("Hello",a,b,end="! You just delved into python.") if __name__ == '__main__': first_name = input() last_name = input() print_full_name(first_name, last_name)
[ "ashwinbicholiya@gmail.com" ]
ashwinbicholiya@gmail.com
44581f682eadb599a6020821c63ad5255dc830d6
1a0501254cf9ae6edc6b21bc2acada59f2949f9d
/dev_algorithms/sensfunc/pca_utils.py
0c16300dc55dc0b51c0a9f77fc08d9e058830933
[]
no_license
pypeit/PypeIt-development-suite
50e73b27f59910dbcd33c365b33a05cf2bbaddc1
38cd140fd11f84169e0ec81197a1363d218717cd
refs/heads/main
2023-08-30T15:40:15.912065
2023-07-20T13:36:47
2023-07-20T13:36:47
57,143,048
7
10
null
2023-09-13T20:05:22
2016-04-26T16:11:32
Jupyter Notebook
UTF-8
Python
false
false
1,322
py
import numpy as np import scipy from sklearn import mixture def init_pca(filename,wave_grid,redshift): # Read in the pickle file from coarse_pca.create_coarse_pca # The relevant pieces are the wavelengths (wave_pca_c), the PCA components (pca_comp_c), # and the Gaussian mixture model prior (mix_fit) wa...
[ "davies@physics.ucsb.edu" ]
davies@physics.ucsb.edu
bf3cf876db7defb907e789131f7c20ac13e5f551
522abc504683433e903fccfdd16b039cad5d8c8c
/suite-api-tool/metrics_table.py
e5fc498e08c02eda42638c30d05d0610ff23e30a
[]
no_license
lucid281/python-vrops-api-tool
f8f73647d512ab08d292adc4e58c926aa63df348
37a22f7215a4c82006bca5d1a79af4053e334411
refs/heads/master
2021-03-19T16:50:28.890764
2016-12-07T14:33:22
2016-12-07T14:33:22
76,059,427
0
0
null
2016-12-09T18:15:56
2016-12-09T18:15:56
null
UTF-8
Python
false
false
1,766
py
from PyQt5.QtWidgets import QTableWidget, QTableWidgetItem from easy_table import EasyTable import time class MetricsTable(EasyTable): def __init__(self, clipboard): super(MetricsTable, self).__init__(clipboard) self.reInit() def reInit(self): self.setSelectionBehavior(QTableWidget.Se...
[ "keith.stouffer@bluemedora.com" ]
keith.stouffer@bluemedora.com
116eda60e59049793ffcbcd9626a083b67de10f2
77a2a754ed5f120b05082a41926214352c92397e
/Basic18_function_2.py
1b82683b287f262e1850eb7aaf83d58c21f3c1a3
[]
no_license
apotree/Python
dd3bfd91d6f1efa2248cc565ac02912d5203c732
de370f4f56dd5954650fb1b52558c7b4b82315cd
refs/heads/master
2020-11-26T13:25:05.698994
2020-01-13T15:02:51
2020-01-13T15:02:51
229,085,396
0
0
null
null
null
null
UTF-8
Python
false
false
765
py
import re import sys from urllib.request import urlopen def urlopenRead(): f = urlopen("https://www.hanbit.co.kr/store/books/full_book_list.html") bytes_content = f.read() return bytes_content def urlprocess(bytes_content): scanned_text = bytes_content[:1024].decode("ascii", errors="replace") mat...
[ "noreply@github.com" ]
apotree.noreply@github.com
116c19a853a43a404640ba3646429f4fd9880b0a
86f39c676edc656988317149b9ac2d28f0337462
/OceanColor/utils.py
f5c7bcac31626cc5b0b2e67fd7b0552b55c97e60
[ "BSD-3-Clause" ]
permissive
castelao/OceanColor
5813f22de58a49688c2d0a64c6a0c3d35c8dec98
343de1c537f326d90f350dbaef3712781316b33b
refs/heads/main
2023-05-24T00:29:18.119622
2022-07-07T15:04:54
2022-07-07T15:04:54
318,619,654
13
1
NOASSERTION
2022-11-21T18:11:03
2020-12-04T19:46:09
Python
UTF-8
Python
false
false
3,079
py
"""Miscellaneous utils such as flag mask decoding """ import logging import os module_logger = logging.getLogger("OceanColor.utils") def oceancolorrc(): """Path to custom configuration Define the path to the user custom configuration, such as EarthData's username to be used. The default path is a...
[ "noreply@github.com" ]
castelao.noreply@github.com
08eeac8944557c1ac603baffeb311e2264f589bc
20cb496059c08c2cf657a96079367c18bc3d1f17
/Exrop.py
8e7e545e6a553a35dab27af87cf893c6307a1794
[]
no_license
idkwim/exrop
3310b5d16a76a64dbf8314364895c3568d876f60
aec69a955a4a419bb25c3708ee96813d6f427560
refs/heads/master
2020-12-22T18:22:53.332438
2020-01-27T00:03:07
2020-01-27T00:03:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,557
py
from ChainBuilder import ChainBuilder from RopChain import RopChain from os import popen def parseRopGadget(filename): cmd = 'ROPgadget --binary {} --only "pop|xchg|add|sub|xor|mov|ret|jmp|call|leave" --dump | tail -n +3 | head -n -2'.format(filename) with popen(cmd) as fp: sample_gadgets = dict() ...
[ "n0psledbyte@gmail.com" ]
n0psledbyte@gmail.com
b4b84e70e368be74afd3f48be1eb91d8890fec44
f5da6740463adf52e847c99976099509120b3c1e
/write_funcs.py
d85ce2b5c4d830b526e7f0f77bd7150b065113c4
[]
no_license
Jamespage6978/Coffee_Log
17a1c5718438db809936d360711924d3f48da651
eea80227822a46e1306d0854929c4b604cde1e18
refs/heads/master
2020-12-14T23:00:41.239201
2020-01-24T14:17:16
2020-01-24T14:17:16
234,901,823
1
0
null
2020-01-24T14:05:28
2020-01-19T13:06:12
Python
UTF-8
Python
false
false
756
py
from config import configuration as config from read_funcs import log_ToDict # import os, json, pandas def write_html(): Log_df = log_ToDict() pandas.set_option('colheader_justify', 'center') if config['Switches']['location'] == 'local': path = "Coffee_Log.html"#f"{config['Local']['location']}Cof...
[ "JPAGE8@jaguarlandrover.com" ]
JPAGE8@jaguarlandrover.com
4d391c601c627eb4ae4a91d2a90a2777a56b3591
96ce221c32910f0c0ea327fa33c36f2e5472f33b
/chrombpnet/evaluation/invivo_footprints/run_tfmodisco.py
e0d5da4557c51043cd29edc7f7644353da297d3b
[ "MIT" ]
permissive
kundajelab/chrombpnet
ba6eaac10ccb63bdf4831dfb96b10fd9220a5ec7
d3684388512ad2248ac1c2d1dfd36167b634e816
refs/heads/master
2023-08-22T01:47:11.764016
2023-07-25T18:15:34
2023-07-25T18:15:34
388,665,623
48
14
MIT
2023-08-28T06:21:21
2021-07-23T03:28:33
Jupyter Notebook
UTF-8
Python
false
false
9,973
py
import h5py import os import numpy as np import tqdm from collections import OrderedDict import modisco import click import pickle as pkl import modisco.visualization import deepdish def import_shap_scores_part2( shap_scores_hdf5, peak_table, center_cut_size=None, chrom_set=None, remove_non_acgt=True ): sco...
[ "annashcherbina@gmail.com" ]
annashcherbina@gmail.com
dd75fec5a435ab11787e0058c7914dcc869756a6
4e8876d7b29cf9fb05849da77553b8a7e3783bdc
/src/plugins/processing/algs/gdal/aspect.py
3296c51fcd427c594057708043cbd596f6888b7f
[]
no_license
hydrology-tep/hep-qgis-plugin-lite
48477f504b6fc1a9a9446c7c7f5666f4b2ccfee7
781cbaa1b3e9331de6741dd44a22322048ab176c
refs/heads/master
2021-03-27T17:01:18.284421
2018-06-27T12:09:58
2018-06-27T12:09:58
70,825,462
0
0
null
null
null
null
UTF-8
Python
false
false
3,875
py
# -*- coding: utf-8 -*- """ *************************************************************************** aspect.py --------------------- Date : October 2013 Copyright : (C) 2013 by Alexander Bruy Email : alexander dot bruy at gmail dot com *********...
[ "joaa@localhost.localdomain" ]
joaa@localhost.localdomain
65d996dee76c2c05d9fbf3c120fa1a74bde4c2e1
9805edf2b923c74cf72a3cfb4c2c712255256f15
/python/075_sort_colors.py
73cf05fef89358bf173c0d3d70846bc4b36c98cd
[ "MIT" ]
permissive
jixinfeng/leetcode-soln
5b28e49c2879cdff41c608fc03628498939b0e99
24cf8d5f1831e838ea99f50ce4d8f048bd46c136
refs/heads/master
2022-10-12T17:02:53.329565
2022-10-06T03:21:56
2022-10-06T03:21:56
69,371,757
0
1
null
null
null
null
UTF-8
Python
false
false
1,058
py
""" Given an array with n objects colored red, white or blue, sort them so that objects of the same color are adjacent, with the colors in the order red, white and blue. Here, we will use the integers 0, 1, and 2 to represent the color red, white, and blue respectively. Note: You are not suppose to use the librar...
[ "ufjfeng@users.noreply.github.com" ]
ufjfeng@users.noreply.github.com
9fa62a43186e25880e889b1f0f912ed7aa4dd2c1
21d5b313142910c7e00e97f99cf8257fe370007c
/client_raspberrypi/test_only/test.py
8c95084bf4dce29115f97583575b4a87d648b1a5
[]
no_license
pym7857/self-driving-rc-car
1d08aa8c3da9723577ac5d7ac1cab94d5bade748
05f022552d729712dc9df762079d0a1f5105acf9
refs/heads/master
2022-12-16T15:38:27.487287
2020-08-27T03:02:53
2020-08-27T03:02:53
274,446,475
1
0
null
2020-06-23T15:48:19
2020-06-23T15:48:18
null
UTF-8
Python
false
false
3,783
py
import socket import cv2 import numpy from queue import Queue from _thread import * from time import * import RPi.GPIO as GPIO from time import sleep # ====================== dist sensor ====================== GPIO.setmode(GPIO.BCM) GPIO_TRIGGER = 19 GPIO_ECHO = 26 print("Ultrasonic Distance Measurement") # 초음파를...
[ "49298852+yudazzi@users.noreply.github.com" ]
49298852+yudazzi@users.noreply.github.com
1dd28a6a0e85a2ae3e21d709c6bfd648c22531c2
8cfc0164a94a4beae3add41a28b0eb1dcbbd6217
/tests/test_update_status.py
84b578271c5667921aa86fceb47b9fbf3d5fa5ab
[ "MIT" ]
permissive
voxbone-workshop/voxbone-workshop-cachet-uptime-robot
f2fa202ffa23626d337908f033e7ad9d3c9a389e
bbc414d2393f2f5c5733478d887b5e57b8106577
refs/heads/master
2022-12-17T04:44:55.714904
2020-09-24T11:15:00
2020-09-24T11:15:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,734
py
import unittest.mock as mock import pytest import update_status class TestMonitor(object): def test_send_data_to_cachet_updates_the_component_status(self, monitor, uptimerobot_monitor): website_config = monitor.monitor_list[uptimerobot_monitor['id']] with mock.patch('update_status.CachetHq') as c...
[ "info@dutchmasterserver.nl" ]
info@dutchmasterserver.nl
a9e138243d1bba91d7e0b6494adc04abef165626
9d5ae8cc5f53f5aee7247be69142d9118769d395
/409. Longest Palindrome.py
d0591fb2730737228ef30913c8ada08dc22b0d14
[]
no_license
BITMystery/leetcode-journey
d4c93319bb555a7e47e62b8b974a2f77578bc760
616939d1599b5a135747b0c4dd1f989974835f40
refs/heads/master
2020-05-24T08:15:30.207996
2017-10-21T06:33:17
2017-10-21T06:33:17
84,839,304
0
0
null
null
null
null
UTF-8
Python
false
false
425
py
import collections class Solution(object): def longestPalindrome(self, s): """ :type s: str :rtype: int """ c = collections.Counter(s) flag = any([c[letter] % 2 == 1 for letter in c]) # there is a letter appears odd times res = 0 for letter in c: ...
[ "noreply@github.com" ]
BITMystery.noreply@github.com
0f446d9f7a66f9e41e806f1ef156a722ba7f5b9d
80ec8e8134ce879cb8b90211f14022de722d303a
/data_load_util.py
3305877806ce45456f1e9d8cce1b604241e21130
[]
no_license
riturajkush/ImageCaptionGenerator
a4ed34fe75ba118dea8d91bae6ae669a49429edb
bb343fe0c1cb53e65d48617d0adeb474f0559536
refs/heads/master
2021-09-18T14:25:52.054496
2018-07-14T23:17:07
2018-07-14T23:17:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,379
py
from numpy import array from pickle import load from keras.preprocessing.text import Tokenizer from keras.preprocessing.sequence import pad_sequences from keras.utils import to_categorical from keras.utils import plot_model from keras.models import Model from keras.layers import Input, Dense, LSTM, Embedding, Dropout f...
[ "athite@uncc.edu" ]
athite@uncc.edu
fb91b13645150b24c04ab1b24ee854b199663fe0
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_101/ch19_2020_03_18_01_37_43_330625.py
0877da9fb9fd60863c40c5ca83a1ee479aa9f09e
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
159
py
def classifica_triangulo(x,y,z): if x==y==z: return "equilátero" elif x!=y!=z: return "escaleno" else: return "isósceles"
[ "you@example.com" ]
you@example.com