text stringlengths 29 850k |
|---|
import numpy
import theano
import theano.tensor as T
rng = numpy.random
N = 400
feats = 784
D = (rng.randn(N, feats).astype(theano.config.floatX),
rng.randint(size=N,low=0, high=2).astype(theano.config.floatX))
training_steps = 10000
# Declare Theano symbolic variables
x = T.matrix("x")
y = T.vector("y")
w = theano.... |
... a thin little headband accessorizing her simple hair bun.
I haven't thought to throw on a headband with a bun in so long, but I think it adds such a nice subtle something-something to make the hairstyle more interesting--especially when it's in a color that closely matches the hair, like Dita's is (keeps things fro... |
from .actions import parse_actions, parse_commands
class Tile(object):
def __init__(self, name, front=None, back=None,
front_commands=None, back_commands=None):
self.name = name
self.front = parse_actions(front)
self.back = parse_actions(back)
self.front_commands ... |
Steak night should be fun and fancy, but it doesn’t have to be a complicated. In this dish, both the steaks and the sides are put in the oven to cook, so there’s very little hands-on time (and fewer dishes to wash!). You should keep a timer handy, to be sure your steaks are cooked to your liking. Apple and sweet potato... |
import urllib,urllib2,re,xbmcplugin,xbmcgui
#!/usr/bin/python
# -*- coding: utf-8 -*-
XbmcTRteam='http://XbcmTR.com'
def CATEGORIES():
addDir('[COLOR red][B]>> INFOYU OKUYUNUZ <<[/B][/COLOR] ', "INFO(name)",'7','http://www.kanal23.com/dosya/unlem-1.jpg')
addDir('[COLOR orange][B]>> [/B][... |
At Copper Canyon Boutique Hotel we make group travel the best experience. Whether it’s a work group, schools or family trips, our hotel in Chihuahua, Mexico will offer you the best group rates and the ideal services to satisfy the needs of each and every traveler.
Traveling to Chihuahua and need 10 or more rooms? We ha... |
#!/user/bin/python
from datetime import datetime, timedelta
import os
from constants import MessageCodes, Sensors, Statuses, DebugLevels
import db
from workerthread import WorkerThread
class SystemMonitor(WorkerThread):
def __init__(self, inQueue, outQueue):
self.initTime = datetime.now()
... |
Hyster C160 J30 40xmt Service Shop Manual Forklift Workshop Repair Book - Hyster C160 (J30-40XMT) Shop Repair Manual. The Service workshop repair manual offers detailed servicing instructions and will give you complete step by step information on repair, servicing, preventative maintenance & troubleshooting procedures ... |
"""
Some codes from https://github.com/Newmu/dcgan_code
"""
from __future__ import division
import math
import json
import random
import scipy.misc
import numpy as np
from time import gmtime, strftime
# -----------------------------
# new added functions for pix2pix
def load_data(image_path, image_size, input_c_dim, ... |
Our current global food system consists is a web of pharmaceuticals, confinement and resource-intense concentration of crop, animal and food production. And there’s now a higher mortality rate related to obesity than to hunger. What if farms, food processors and restaurants worked together in a seamless system, local ... |
""" Remove duplicated Gmail Message objects and tighten constraints for Gmail messages.
Revision ID: 4b4c5579c083
Revises: 1925c535a52d
Create Date: 2014-07-17 00:01:09.410292
"""
# revision identifiers, used by Alembic.
revision = '4b4c5579c083'
down_revision = '4b4674f1a726'
from alembic import op
from sqlalchemy... |
A proper bald eagle scowl.
Usually I am the watcher. Today I found myself being the observed species by this osprey.
The tiny fluffs of feathers on each side of this double-crested cormorant’s head are his “crests”.
Only the mature double-crested cormorant has the crests.
There are none on the immature bird at the lowe... |
# -*- coding:utf-8 -*-
"""
start.py获取详细页html源码的程序
存放在数据库code_0507里面
start2.py对详细页html源码解析
存放在数据库code_0507里面
功能:先爬取……后解析……
"""
import redis
import time
from process.html_save import FetchDetailHtml
from process.list_page import SummaryFetchParse
def main():
"""
爬取详细页源码 存入code_0507数据库... |
BOTOX® Cosmetic (a purified protein produced by the Clostridium botulinum bacteria) has been used safely by doctors for many years. BOTOX® Cosmetic has been used for wrinkle therapy since the early 1990's.
BOTOX® Cosmetic has grown to become one of the most popular cosmetic procedures. There are many reasons for this. ... |
#pylint: disable = F0401
from helpers import *
from time import time as now
from time import sleep
from sys import exc_info
import thread
import org.bukkit.inventory.ItemStack as ItemStack
import org.bukkit.Bukkit as Bukkit
from basecommands import simplecommand
@hook.event("player.PlayerJoinEvent", "monitor")
def o... |
Many interpreters understand anathema and anathemasimply as different spellings of the same word that may be used interchangeably. If that were true, there would be no point in including these words in a book of synonyms. Like heurema and heurema and epithema and epithema, anathema and anathema probably were once no mo... |
# Copyright 2018 The TensorFlow Probability Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... |
The rain is pouring down in Fort William so that may well be end of an amazing run of weather. Not to worry I just bought a new kayak so I’ve been waiting to get some use out of it! My last post from September is from a couple of days on Skye with Alfie and Oliver. I have been to skye a fair bit but always headed to th... |
import subprocess
import os
import sys
import commands
import numpy as np
import pyroms
import pyroms_toolbox
from remap_bio_woa import remap_bio_woa
from remap_bio_glodap import remap_bio_glodap
data_dir_woa = '/archive/u1/uaf/kate/COBALT/'
data_dir_glodap = '/archive/u1/uaf/kate/COBALT/'
dst_dir='./'
src_grd = py... |
^ The average commercial electricity rate in Geneva, IL is 7.99¢/kWh.
^ The average residential electricity rate in Geneva, IL is 9.56¢/kWh.
^ The average industrial electricity rate in Geneva, IL is 6.74¢/kWh.
The average commercial electricity rate in Geneva is 7.99¢/kWh.
This average (commercial) electricity rate in... |
# -*- coding: utf-8 -*-
# Generated by Django 1.10 on 2016-09-19 15:22
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('talent', '0001_initial'),
]
operations = [
migrations.AlterField(
... |
We analyzed Julgamento.clipesebandas.com.br page load time and found that the first response time was 92 ms and then it took 379 ms to load all DOM resources and completely render a web page. This is an excellent result, as only a small number of websites can load faster.
HTML content can be minified and compressed by ... |
# -*- coding: utf-8 -*-
import json
import datetime
import urllib2
from mock import Mock, patch
from flask import session
from werkzeug.datastructures import ImmutableMultiDict
from purchasing.users.models import User
from purchasing.data.contracts import ContractBase
from purchasing.data.contract_stages import Cont... |
Waltz Me To Heaven: Shopping Event At Fig!
I am completely obsessed with this outfit from Fig! Maybe it's all the talk of Coachella, but I would love to be sitting on a blanket listening to some good music in this outfit (minus the wedges). I fell in love with this Pepin top on the hanger, and I like even more on. The ... |
import sublime
import sublime_plugin
from ..SublimeCscope import DEBUG
from . import indexer
# These commands should trigger a state change event in the indexer
PROJECT_COMMANDS = ('prompt_add_folder',
'prompt_open_project_or_workspace',
'prompt_switch_project_or_workspace',
... |
Garza K M, Sebzda E, Ohteki T, and Ohashi P S. . Immunologically Mediated Endocrine Diseases. Lippincott Williams&Wilkins, 2002.01 Immunotherapies: role of peptides in the generation and regulation of autoimmunity. |
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may ... |
Like many working men and women in the U.S. the staff of political campaigns and state parties experience pressures on the job and like all workers in America, these campaign staffers deserve to have a strong voice on the job. The Teamsters Union has a proven record when it comes to delivering on strong contracts for a... |
#
# Copyright (c) 2015 nexB Inc. and others. All rights reserved.
# http://nexb.com and https://github.com/nexB/scancode-toolkit/
# The ScanCode software is licensed under the Apache License version 2.0.
# Data generated with ScanCode require an acknowledgment.
# ScanCode is a trademark of nexB Inc.
#
# You may not use... |
You guys notice those 10-Step “How-To” Articles? The ones that give different tips or ways to improve something; ranging from hair to relationships. I came across one the other day that advised its readers on how to be happy. And as much as I find these types of articles interesting, I feel they are somewhat misleading... |
"""An implementation of a doubly linked list in Python."""
class Node():
"""Instantiate a node."""
def __init__(self, value=None, nxt=None, previous=None):
"""."""
self.value = value
self.next = nxt
self.previous = previous
class DbLinkedList():
"""Instantiate a doubly l... |
Cycles up to 13 weeks have entered down phases on schedule, while the 6 month and 10-12 month cycles remain in up phases. Here’s how to play it.
Try Lee Adler’s Technical Trader and Liquidity Trader risk free for 90 days! Subscribe today and save! Subscription prices will increase when the Liquidity Trader website is f... |
#! /usr/bin/env python
"""
usage: %(progname)s [args]
"""
import os, sys, string, time, getopt
from log import *
import odb
import MySQLdb
class Cursor(odb.Cursor):
def insert_id(self, tablename, colname):
return self.cursor.insert_id()
class Connection(odb.Connection):
def __init__(self, host, user, pass... |
So how to preface this collection of images of the stunning West of Ireland Elopement of Saja & Dirk?
I could talk about how they got in touch first by replying to an Instagram Story of me filing my taxes by stuffing a fist full or receipts into an envelope for my poor suffering accountant. I could talk of how I realis... |
#!/usr/bin/env python
# coding: utf-8
###################################################################
# カーリルAPIを用いて,東大図書館の蔵書の貸出可否を調べるスクリプト
# 2015.05.25 yk_tani
###################################################################
import urllib2, sys, json
try: isbn = sys.argv[1] # specify ISBN in commandli... |
Reasonable growth potential with acceptable track record.
Polymetal International plc operates as a precious metals mining company in Russia, Kazakhstan, East Asia, and Europe. The last earnings update was 30 days ago. More info.
POLY outperformed the Metals and Mining industry which returned -1.6% over the past year.
... |
#!/usr/bin/env python2
# Copyright 2011, 2012 Alexandre Gravier (al.gravier@gmail)
# This file is part of PyCogMo.
# PyCogMo is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, o... |
PROVIDENCE — The Providence Place Mall was briefly evacuated on Labor Day after someone pulled a fire alarm.
Mall security tells WBSM News that a person had pulled the fire alarm at around 2:30 p.m. this afternoon, and the mall was evacuated.
The all-clear sign was given just after 3 p.m., and the mall has re-opened an... |
#!/usr/bin/env python
import sys, os, subprocess, urllib, logging
log = logging.getLogger(__name__)
major, minor = [int(i) for i in sys.version_info[:2]]
if major != 2 or minor < 4:
sys.exit("""Please install python. Versions 2.4, 2.5, 2.6, and 2.7 should all work
If you have python installed, make sure that \"pyt... |
Mark A. Socinski, MD: Most of the regimens that we use to treat advanced lung cancer are administered as every-3 weeks regimens. For instance, for nonsquamous patients, the 2 typical combinations we use are either carboplatin with paclitaxel or carboplatin with pemetrexed plus or minus bevacizumab. These are drugs that... |
"Script to generate the general views of Haldis"
import os
from datetime import datetime, timedelta
import yaml
from typing import Optional
from flask import Flask, render_template, make_response
from flask import request, jsonify
from flask import Blueprint, abort
from flask import current_app as app
from flask impo... |
also leads the country for foreign buyers selling off their stake of real estate.
Long the top choice for international buyers in the U.S., Florida also leads the country for foreign buyers selling off their real estate stakes.
The state drew 22 percent of the country’s international buyers purchasing property and 26 p... |
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under t... |
Since 1956, innovation, quality and craftsmanship have been part of the Williams Sonoma legacy. We’re proud to bring you the perfect complement to our Williams Sonoma Stemware collection. This handsome decanter was designed in-house in collaboration with expert sommeliers, winemakers and chefs. Its classic shape effici... |
# StartTarget.py -- Lustre action class : start (mount) target
# Copyright (C) 2009-2013 CEA
#
# This file is part of shine
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# o... |
Attorney General Loretta Lynch unveiled the U.S. Justice Department’s “expansive new strategy for combating fraudulent goods” at a roundtable in Boston on Friday.
The plan, Lynch said, will involve closer collaboration between the FBI and the businesses, entrepreneurs and other industry leaders whose intellectual prope... |
"""
A Rankine vapor power cycle
"""
import cantera as ct
# parameters
eta_pump = 0.6 # pump isentropic efficiency
eta_turbine = 0.8 # turbine isentropic efficiency
p_max = 8.0e5 # maximum pressure
def pump(fluid, p_final, eta):
"""Adiabatically pump a fluid to pressure p_final, using
a pump with ... |
Allied Forces have discovered an ancient relic, known as the Hourglass, on a forgotten island. The treasure in combination with its key, the Dagger of Time, allows the user to control and manipulate time. Axis command has learned of this discovery and has assembled an immediate landing party to capture the relics. Alli... |
# -*- coding: utf-8 -*-
# Copyright (c) 2014 - 2015 Detlev Offenbach <detlev@die-offenbachs.de>
#
"""
Module implementing a dialog to show a list of files which had or still have
conflicts.
"""
from __future__ import unicode_literals
import os
from PyQt5.QtCore import pyqtSlot, Qt, QPoint, QProcess, QTimer
from Py... |
Ilhan Omar is telling the truth. How is that anti-Semitic?
What moves the wheels of American politics? Is it a dedicated tireless commitment to public service? A strong desire to better the lives of constituents? A genuine ideology? Maybe sometimes, in the odd rare case. But more often that not, it’s money.
Money funds... |
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: cta_event.proto
import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _ref... |
IDNA Convert is a pure PHP implementation of IDNA, which allows to convert internationalized domain names.
It implements most of the relevant RFCs such as RFC3490, RFC3491, RFC3492 and RFC3454 as well as RFC5890, RFC5891, RFC5892, RFC5893 and RFC5894.
See the documentation to learn, how to work with IDNA Convert.
See t... |
"""
Provides the command-line interface for pymake2.
"""
#---------------------------------------
# IMPORTS
#---------------------------------------
import os
import sys
from pymake2 import report
from pymake2.cli import info, options
from pymake2.core import makeconf
from pymak... |
PlanetHardware’s a comprehensive, easy-to-navigate site with many CPU, mainboard, and monitor reviews, to name but a few product categories covered. Each section shows recent reviews, previews, and articles. The site also features roundups and shootouts of Intel and AMD CPUs. |
import time
import numpy as np
from typing import NamedTuple
from sdc.io.csv_ext import to_varname
from sdc.tests.test_utils import *
class CallExpression(NamedTuple):
"""
code: function or method call as a string
type_: type of function performed (Python, Numba, SDC)
jitted: option indicating whether... |
For skin care products, my summer fav is definitely the amazing Curél Hydra Therapy Wet Skin Moisturizer. You will notice its magical skin soothing affects most dramatically after extreme sun like I experienced on my San Andres, Colombia and Cancun, Mexico trips. If you don’t know what a “wet skin moisturizer” is, read... |
# This file is part of Indico.
# Copyright (C) 2002 - 2021 CERN
#
# Indico is free software; you can redistribute it and/or
# modify it under the terms of the MIT License; see the
# LICENSE file for more details.
from operator import attrgetter
from flask import flash, jsonify, redirect, request
from werkzeug.excepti... |
This entry was posted on Tuesday, August 14th, 2012 at 9:15 and is filed under Comics. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site. |
import numpy as np
class CategoryToNumeric(object):
"""
Transform class that replaces a categorical value with a representative target value
for instances that belong to that category. This technique is useful as a method to
turn categorical features into numeric values for use in an estimator, and c... |
master_trainer_mike says, "Hi gang! I'm back from London and ready to answer a plethora of questions."
master_trainer_mike says, "You do know what a plethora is right?"
master_trainer_mike says, "I would hate to think you were asking a plethora of questions if in fact you didn't know what a plethora was!"
master_traine... |
# -*- coding: utf-8 -*-
# Generated by Django 1.10.8 on 2018-10-23 18:45
from __future__ import unicode_literals
from django.db import migrations
def move_person_from_popolo(apps, schema_editor):
PopoloPerson = apps.get_model("popolo", "Person")
PeoplePerson = apps.get_model("people", "Person")
for pper... |
These delicious cupcakes by Half Baked Harvest are seriously to die for. Death By Chocolate Cupcakes are moist, rich, chocolate cupcake filled with whipped cream and topped with really awesome frosting. Chocolate mousse frosting is what make these cupcakes over the top. Besides having Kahlua in the cake and filling, th... |
import os
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
with open("README.rst") as f:
long_desc = f.read()
ind = long_desc.find("\n")
long_desc = long_desc[ind + 1:]
setup(
name="custodian",
packages=find_packages(),
version="0.8.1",
inst... |
Co-founder of the Zurich-based nonprofit organization nethood.org, which is involved in two EU Horizon2020 projects (2016–2018), MAZI — http://mazizone.eu, and netCommons — http://netcommons.eu.
This paper frames the role of community (wireless) networks, and other forms of grassroots DIY networking models, as co... |
from __future__ import print_function, absolute_import
import os, sys, pydoc
import numpy as np # noqa (API import)
_cwd = os.path.abspath(os.path.split(__file__)[0])
sys.path.insert(0, os.path.join(_cwd, '..', 'param'))
import param
__version__ = param.Version(release=(1,5,0), fpath=__file__,
... |
I love love love this band and it doesn’t hurt that the lead singer, Julie Budet, is always fun to look at. Her style has a lot of color and a lot of humor in it, which of course I appreciate. There are often times when I find I allign myself heavily with her style of dressing – when I feel like putting on the brightes... |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Author: Arne Neumann <discoursegraphs.programming@arne.cl>
"""
This module contains code to generate figures of RST trees in Latex
(using the rst.sty package).
"""
# Python 2/3 compatibility
from __future__ import (absolute_import, division,
prin... |
Young girls mostly prefer to use a lip gloss to give an attractive shimmer and hint of color to their lips. Also girls look better in a lip gloss as compared to a lipstick. On top of that one can use a lip gloss on daily basis and can apply lipstick during special occasions only.
This beauty product is hugely popular a... |
from time import time
from zeus.utils.metrics import Counter, HitCounter, gauge
def test_hit_counter():
current_ts = int(time())
c = HitCounter(size=3)
c.incr(current_ts=current_ts)
c.incr(current_ts=current_ts)
assert c.count(current_ts=current_ts) == 2
assert c.count(1, current_ts=current_t... |
Velocity USA-built wheels for your 26"-wheeled Rivendell. The wheels are hand-assembled in Michigan, USA, with our-design Velocity Atlas rims, DT Swiss double butted spokes, and solid, dependable, Shimano Deore hubs. Includes QR skewers. |
import sys
import pkgutil
import time
import re
from datetime import datetime
from email.utils import parsedate_tz, mktime_tz
from inbox.log import get_logger
from inbox.providers import providers
class ProviderSpecificException(Exception):
pass
def or_none(value, selector):
if value is None:
retu... |
Zambia is one of Southern Africa’s landlocked countries, sharing its borders with the Democratic Republic of Congo, Tanzania, Malawi, Mozambique, Zimbabwe, Botswana, Namibia and Angola. The landscape can be described as flat terrain that rises to a plateau of 8,000 ft. in the east and the climate of Zambia is generally... |
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... |
Come to "The Moon," and if your friends aren't already there you will soon be making new ones. We offer inside and outdoor dining in a family-friendly atmosphere.
We have a full bar with tasty specialty drinks, our Hole in the Neck wines, more than 50 craft and imported beers, and the friendliest servers in the world!
... |
# Copyright 2017 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... |
Know what to do in case of a weather-related emergency.
Emergency preparedness and natural disasters.
Your home or work routines can be disrupted with little or no warning by natural disasters, fires or other catastrophic events. It’s important that you and your family are prepared as help may not always be availabl... |
# Copyright 2014 Google Inc. 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 applicable law or a... |
Let me originate by saying I like bread. Unique sizzling bread with butter smeared on thick decrease slices. That's doubtlessly the explanation I’ll maybe perhaps never construct the South Seaside or Atkins diets. There would possibly maybe be a wretchedness despite the indisputable fact that with selfmade bread … I kn... |
#!/usr/bin/env python
# ----------------------------------------------------------------------------
# Copyright (c) 2016--, Biota Technology.
#
# Distributed under the terms of the Modified BSD License.
#
# The full license is in the file LICENSE, distributed with this software.
# -------------------------------------... |
The exterior canvas is clean and beautiful. The leather piping has light wear at the bottom corners. The middle leather strip has signs of wear and minor hairline scratches. The handles have minor signs of wear and a few minor hairline scratches. The goldtone hardware is bright with hairline surface scratches. The inte... |
"""
Depth First Search
------------------
Recursive implementation of the depth first search algorithm used to
traverse trees or graphs. Starts at a selected node (root) and explores the
branch as far as possible before backtracking.
Time Complexity: O(E + V)
E = Number of edges
... |
Smart and defensible. That’s how greatest to describe Gov. Gavin Newsom’s determination to reassign all but one hundred of the 360 California Nationwide Guard troops stationed on the southern border, which undercuts President Donald Trump’s hyperbolic declare that there’s a “nationwide emergency” at the border. Here in... |
###########################################################################
#
# Copyright 2020 Google LLC
#
# 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
#
# https://www.apache.org/l... |
THE 2019 NRL season draw is just days from being finalised — minus a historic US kick-off.
Todd Greenberg’s dream to launch the season in America has been put on hold as it proved too great a financial risk.
The NRL will continue to investigate ways to cover the costs of staging the season kick-off in the US for the st... |
# -*- coding: utf-8 -*-
# Copyright: (c) 2018, SylvainCecchetto
# GNU General Public License v2.0+ (see LICENSE.txt or https://www.gnu.org/licenses/gpl-2.0.txt)
# This file is part of Catch-up TV & More
from __future__ import unicode_literals
import json
import re
from codequick import Listitem, Resolver, Route
impo... |
Keep in touch with Into The Gloss!
Want more ITG? Sign up for Into The Gloss stories, Glossier product info and launches, and event invites delivered right to your inbox. Unsubscribe anytime. |
#!/usr/bin/env python3
"""
Created on 4 Mar 2019
@author: Bruno Beloff (bruno.beloff@southcoastscience.com)
"""
from scs_core.aqcsv.specification.country_iso import CountryISO
from scs_core.aqcsv.specification.country_numeric import CountryNumeric
from scs_core.data.json import JSONify
# -------------------------... |
And what better way to chill out than a trip to a luxurious spa?
We guarantee you’ll be relaxed after a pampering session in this GORGE place. It has the most amazing scenery and it’s in the sunny south east. What’s not to love?
Spa treatments, a luxurious hotel and a wildlife park nearby? Ideal.
The beautiful Lyrath E... |
# Script to evaluate the performance of the clustering algorithm.
import argparse
from itertools import combinations
from collections import defaultdict
def count_correct_pairs(cluster, labels_lookup):
"""
Given a cluster, count the number of pairs belong to the same label and
the total number of pairs.
... |
As the Brexit process moves forward and insurance companies prepare for the UK’s divorce from the European Union, stakeholders in the US are also getting ready for a new era of political and economic relations between the two countries.
The American Insurance Association (AIA), the trade association for leaders in the ... |
"""
Functions for doing geometry calculations in the various types of coordinates
shared between client and server.
"""
import heapq
import math
from src.shared.config import CHUNK_SIZE, BUILD_SIZE
from src.shared.exceptions import NoPathToTargetError
from src.shared.logconfig import newLogger
log = newLogger(__name... |
This card was created as inspired by Splitcoaststampers card layout design for this week. Since it was the week of July 4th I decided to pull out this cute image from La-La Land Crafts called Saluting Luka. I am so grateful for all those men and women who dedicate their lives to keep America and the world free. This is... |
import logging
logger = logging.getLogger(__name__)
class Harmony(object):
# numeric representation of the Circle of 5ths.
HARMONY = {
'G': 1,
'D': 2,
'A': 3,
'E': 4,
'B': 5,
'F#': 6,
'Gb': 6,
'Db': 7,
'C#': 7,
'Ab': 8,
'... |
2nd Annual All member show & anniversary celebration!
On his knees, drained; he simply can’t continue the pursuit. The muse escapes him, again. Elusive, cruel, intoxicating. This is a celebration of the beauty of unattainable dreams and the spirits that, nevertheless, cannot resist the chase!
Friends and strangers are ... |
# QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
# Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation.
#
# 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 Lice... |
ZTE's latest attempt at breaking into the premium smartphone market is the Axon 7, and it's available for pre-order today. You have to drop $399.98 to secure your Axon 7, which offers some rather high-end specs for that price. One catch, you'll have to wait a few weeks to actually get your phone.
The Axon 7 has an alum... |
"""
Django settings for survivalguide 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, .... |
This blog will take you through the steps of maintaining a wonderful wildflower meadow over the summer months. If you are keen to find out even more about Wildflower Turf, look out for our book which will be published later on this year.
A single end of season cut is essential, however, you may feel one of the below mi... |
import numpy as np
from .Transform import *
class TransformObject:
def __init__(self, local=None):
self.quat = Float4(0.0, 0.0, 0.0, 1.0)
self.local = local if local is not None else Matrix4()
self.updated = True
self.left = WORLD_LEFT.copy()
self.up = WORLD_UP.copy()
... |
Spectacular views of the Atlantic Ocean await you from the private balcony of this Tybee vacation condominium. This is a top floor unit with amenities that include use of the property's 3 swimming pools, including 1 heated and a Kid's Pool with waterfall, private beach access and The Deck beachside restaurant.
Great st... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.