text stringlengths 29 850k |
|---|
# -*- coding: utf-8 -*-
import os, sys, codecs
import json
from pydash import py_ as _
ENCODING = 'utf-8'
ENCODING1 = 'gb18030'
def dec(aStr):
gb18030_encode, gb18030_decode, gb18030_reader, gb18030_writer = codecs.lookup(ENCODING)
text, length = gb18030_decode(aStr, 'replace')
return text
def enc(aSt... |
In this week's comics, Doctor Who and Star Trek cross universes!
What's coming into comic shops tomorrow? A clash of two venerable television shows, Batman battling architecture-themed supervillains, and a new issue of Jeff Smith's Rasl. Set sonic screwdrivers to stun.
When the Federation's most terrifying enemy strike... |
#! /usr/bin/env python
import random
import sys
import syslog
import socket
import threading
import time
import agoclient
client = agoclient.AgoConnection("simulator")
def messageHandler(internalid, content):
if "command" in content:
if content["command"] == "on":
print "switching on: " + internalid
client... |
Separate loop handling from internal code.
Fix race while allocating free loop device.
Use loop functions even in api test.
Cryptsetup resize will try resize also underlying device. |
#!/usr/bin/env python
# This example script was ported from Perl Spreadsheet::WriteExcel module.
# The author of the Spreadsheet::WriteExcel module is John McNamara
# <jmcnamara@cpan.org>
__revision__ = """$Id: simple.py,v 1.9 2004/01/31 18:56:07 fufff Exp $"""
########################################################... |
Adds a "Delete All" button in the Comment Moderation page that deletes ALL the commentary from ALL the chat rooms.
Hi i was wondering if there is anyway to delete all comments except the superuser grotto and still add the deleted comments to the audit part so i know all who deleted them ?
Moved to its own thread that c... |
from core.himesis import Himesis
class HeclassOUTeStructuralFeaturesSolveRefEClassEStructuralFeatureEClassEStructuralFeature(Himesis):
def __init__(self):
"""
Creates the himesis graph representing the AToM3 model HeclassOUTeStructuralFeaturesSolveRefEClassEStructuralFeatureEClassEStructuralFeatu... |
Is Continuous or Cyclic Oral Contraceptives Better Post-Surgery?
Ludovico Muzii, MD, from the Sapienza University of Rome, and colleagues conducted a systematic review and meta-analysis to compare a continuous versus a cyclic oral contraceptive schedule after surgical excision of ovarian endometriomas. Data were includ... |
import numpy as np
import re
from treegp.experiments.code.datasets import predict_results_fname, timing_results_fname, gp_fname
from treegp.gp import GP
import scipy.sparse
model_list_fname = "models"
basedir = "experiments/models/"
class NoResultsError(Exception):
pass
def extract_results(txt, prefix, require_t... |
Rose Beef Tripe is sourced exclusively from USA raised beef, and harvested from the first stomach of the steer. The tripe is scalded, and then hand cut and packed in each can with whole milk. Beef Tripe is enjoyed by multiple generations in a variety of recipes. Enjoy it stripped and lightly fried with a spicy tomato s... |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Tests for Paxo."""
import unittest
from clint import arguments
from paxo.core import Paxo
from paxo.command import Command, cmd, define_command, Collection
from paxo.util import ExitStatus, is_win, is_lin, is_osx, args
class AbstractTestCase(unittest.TestCase):
... |
Hi, I'm new here, and I am jumping for eagerness to dive into the world of fall making.
I need to know the best ways to mount tubular crin to hair falls. I need them to be professional quality, can't risk them to slide off.
I need to decide wether I keep tieing them to hairbands, or start sewing them into strips of fab... |
"""empty message
Revision ID: 3f82af559c8a
Revises: None
Create Date: 2015-10-16 03:37:42.100489
"""
# revision identifiers, used by Alembic.
revision = '3f82af559c8a'
down_revision = None
from alembic import op
import sqlalchemy as sa
def upgrade():
### commands auto generated by Alembic - please adjust! ###... |
Sixteen and seventeen year ragged high college baseball avid gamers who wish to play summer baseball need to accomplish a quite numerous between American Legion baseball versus disappear baseball. And rather in overall there’s some heavy recruiting from the American Legion coaches. Over the final few years legion coach... |
#!/usr/bin/python
import numpy as np
import argparse
parser = argparse.ArgumentParser(add_help=True)
parser.register('type', 'bool',
lambda v: v.lower() in ("yes", "true", "t", "1"))
parser.add_argument("-db", type="bool", action="store", default=False)
parser.add_argument("-qoi_dim", type=int, action=... |
The retail event of the year is here again!
Start off 2015 by visiting Prism in Booth #2675 at the Big Show. If you’re interested in retail analytics, visual merchandising, or simply better managing your brick-and-mortar business, we’ll be there to show you how. You can also find us in Axis Communications booth #3133, ... |
#!/usr/bin/env python3
# author: @netmanchris
"""
Copyright 2016 Hewlett Packard Enterprise Development LP.
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/... |
This report provides a government-specific perspective on Deloitte’s 2018 Technology Trends report. Our aim is to provide a government lens on eight trends that are shaping strategic and operational transformations and redefining IT’s role within the enterprise.
We acknowledge that government organizations are differen... |
#!/usr/bin/env python3
# flake8: noqa
import os
import sys
import time
import random
import threading
sys.path.append(os.path.join(os.path.dirname(os.path.realpath(__file__)), ".."))
from panda import Panda, PandaSerial # noqa: E402
INIT_GPS_BAUD = 9600
GPS_BAUD = 460800
def connect():
pandas = Panda.list()
pr... |
Quantity II covers: JG fifty three Pik-As, JG fifty four Grünherz, JG seventy seven Herz-As, JG three hundred, JG 301, JG 302 Wilde Sau, and JG four hundred.
I was once stationed at toes. Hood with B Co. , 2/158th Aviation, sixth Cav Bde (AC) whilst the photographers took the pack up pictures for this e-book. It was o... |
import gym
import random
import unittest
import ray
from ray.rllib.agents.pg import PGTrainer
from ray.rllib.agents.pg.pg_tf_policy import PGTFPolicy
from ray.rllib.agents.dqn.dqn_policy import DQNTFPolicy
from ray.rllib.optimizers import (SyncSamplesOptimizer, SyncReplayOptimizer,
As... |
From Louis C.K.’s It Gets Better. Hypergamy explained. Women maximize both short-term and long-term options simultaneously. Men don’t need a long-term option because we are the long-term prize. Invest in yourself and see your options multiple over time while hers wither away exponentially. |
# ===============================================================================
# Copyright 2017 dgketchum
#
# 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... |
"I am not an unemployed alcoholic, I am a bartender who works from home” is a jocular line that was cited on Twitter by comedy wirter Richard Day on January 27, 2010.
“I’m not an alcoholic; I’m a bartender who works from home” was cited on Twitter by Adel Alizedeh, a Persian stand-up comedian from Brooklyn, on March 21... |
import Gears as gears
from .. import *
class Erf(Component) :
def applyWithArgs(
self,
stimulus,
*,
toneRangeMean = 0.5,
toneRangeVar = 0.3,
dynamic = False
) :
self.stimulus = stimulus;
try:
trmean ... |
This song is unusual because when I first listened to the rhythm I thought it was going to be a happy song, but after I listened to the lyrics I realised that it was the complete opposite.
This song for me represents happy because the strumming of the guitar seems very calming, and the voice is really cheerful. The lyr... |
import random
def write_stages( stages_l, fname ):
f = open( fname, "w" )
for (i, stage) in enumerate( stages_l ):
for (addr, data) in enumerate( stage ):
wr_str = str(i) + " " + str( addr )
for d in data:
wr_str = wr_str + " " + str( d )
f.write("%s\n" % wr_str)
f.close()
def wri... |
Little-d distributed systems: the accidental sort. You built a program, it ran on one server. Then you added a database, some caches, perhaps a job worker somewhere. Whoops, you made a distributed system! Almost everything works this way now.
Big-D distributed systems: you read the Dynamo paper, maybe some Lamport pape... |
# -*- coding: iso-8859-1 -*-
"""
MoinMoin - twikidraw
This action is used to call twikidraw
@copyright: 2001 by Ken Sugino (sugino@mediaone.net),
2001-2004 by Juergen Hermann <jh@web.de>,
2005 MoinMoin:AlexanderSchremmer,
2005 DiegoOngaro at ETSZONE... |
In the wake of a convulsion of violence against foreigners, international relief officials said Wednesday that South African authorities are planning to establish refugee camps to house tens of thousands of displaced people who had fled their homes in impoverished squatter areas, but the government contended that no de... |
# 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... |
The federal Liberal government is projecting a deficit of at least $18.4 billion next year, nearly five times its $3.9-billion projection just three months ago, it was revealed today.
That means the shortfall could well exceed $20 billion once a number of big-ticket Liberal campaign promises are factored in.
The estima... |
# -------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
# --------------------------------------------------------------------------
import sys... |
There’s this friend of mine, Ganesh (name changed for anonymity’s sake). He’s a school-college-buddy and lives near my place. We’ve known each other for over over sixteen years now. He’s a guy I adore and admire a lot, mainly for some of his principles which he holds strong. Even though fate’s played some nasty games w... |
# -*- coding: utf-8 -*-
'''
Rickshaw
-------
Python Pandas + Rickshaw.js
'''
from __future__ import print_function
from __future__ import division
import time
import json
import os
from collections import defaultdict
from pkg_resources import resource_string
import pandas as pd
import numpy as np
from jinja2 import ... |
Callum Rudge reflects on a memorable night as Kell Brook's brave battle to conquer unbeaten middleweight ogre Gennady Golovkin ended in noble failure.
Luke G. Williams looks ahead to Saturday’s Swedish super-fight between bitter rivals Mikaela Laurén and Klara Svensson which headlines a big night of boxing in Stockholm... |
"""
Stack-In-A-Box: Python Responses Support
"""
from __future__ import absolute_import
import logging
import re
import responses
from stackinabox.stack import StackInABox
from stackinabox.util import deprecator
from stackinabox.util.tools import CaseInsensitiveDict
logger = logging.getLogger(__name__)
def respo... |
Home›LifeStyle›If You Love Pani Puri,Then Must Read.
There is something comfortingly familiar about eating a humble pani puri – a crispy hollow ball made of semolina or wheat, filled with spicy potatoes and topped with tangy, spicy tamarind water made fragrant by mint leaves and black salt.
It may sound like culinary c... |
#!/usr/bin/env python
# Copyright 2014: Mirantis 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
#... |
There are growing concerns about local and regional ecosystems and their vulnerability in relation to human activities.
This case study evaluates 10 Integrated Land Management (ILM) projects from Canada, the U.S. and Europe to provide information that will help promote better awareness of potential environmental and cu... |
from .adb import adb
_LOG_TAG_PROPERTY = 'log.tag.{tag}'
LOG_LEVELS = ('VERBOSE', 'DEBUG', 'INFO', 'WARN', 'ERROR', 'ASSERT')
def is_valid_log_level(level):
return level.upper() in LOG_LEVELS
def set_loggable_level_for_tag(tag, level='VERBOSE'):
"""
Set the minimum loggable level for a tag.
:para... |
Louisiana dancehalls and festivals intrigue everyone from shy bystanders to outgoing dancers. Regardless of your dance skill level, Moriah will take you to the next one. She teaches the leader and follower roles for a variety of dances including Zydeco, Cajun Two Step, Waltz, Jitterbug, Whiskey River, and East Coast Sw... |
# encoding: utf-8
# Copyright 2013 maker
# License
"""
Project management: admin page
"""
from maker.projects.models import Project, Milestone, Task, TaskTimeSlot, TaskStatus
from django.contrib import admin
class ProjectAdmin(admin.ModelAdmin):
""" Project admin """
list_display = ('name', 'details', 'p... |
We rightly ask who are these 'least of these my brethren' with whom the King identifies? There surely is an ethical application of meaning to this passage and we do well to take it to heart. There is, however, a oneness of the King with those who suffer for the sake of his name. In my preparation for this reflection I ... |
#!/usr/bin/env python
# Copyright 2014 The LUCI Authors. All rights reserved.
# Use of this source code is governed under the Apache License, Version 2.0
# that can be found in the LICENSE file.
"""Generates the file /etc/udev/rules.d/android_swarming_bot.rules to enable
automatic Swarming bot to be fired up when an A... |
Need another great resource to use for research? Use the WorldBook Encyclopedia online! See one of the library staff for the username and password to use at home.
The Florida Electronic Library is an Internet resource that offers access to comprehensive, accurate, and reliable information. Available resources include e... |
# -*- coding: UTF-8 -*-
__revision__ = '$Id$'
# Copyright (c) 2005-2009 Vasco Nunes, Piotr Ożarowski
#
# 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 of the License, or
# (at... |
and good thinking. Simple and effective wallpaper. Good work. Voted up for this.
thanks for the advice :) !! |
# coding=utf-8
from typing import List
import aiohttp
from bot.sections.base import BaseSection
from bot.utils import line_splitter
__author__ = "Gareth Coles"
class URLSection(BaseSection):
_type = "url"
cached_lines = []
def __init__(self, name, url=None, header="", footer=""):
super().__ini... |
2. The latest technology is applied in the production of the smart Weigh packing machine. Smart Weigh believes the achievement of customer expectation will enhance the customer satisfication.
3. Smart Weigh pouch helps products to maintain their properties. multihead weigher,multihead weigher packing machine based on m... |
# pylint: disable=W0511
# 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 of the License, or (at your option) any later
# version.
#
# This program is distributed in the hope that... |
William (Bill) W. Koehnlein, life-long peace and social justice activist, organizer and educator, died in Manhattan on November 19, 2017, after a long, courageous struggle with colon cancer.
A native New Yorker, Bill was born May 10, 1949, and spent the first six years of his life in the Payson Avenue section of Manhat... |
from trac import perm
from trac.core import *
from trac.test import EnvironmentStub
import unittest
class DefaultPermissionStoreTestCase(unittest.TestCase):
def setUp(self):
self.env = EnvironmentStub(enable=[perm.DefaultPermissionStore,
perm.DefaultPermissionG... |
An Anthology of Way-Back-When Futures. US edition: St. Martins 1977.
An Anthology of Way-Back-When Futures US edition: St. Martins 1977.
Also in The Penguin Science Fiction Omnibus.
Also in pb (Avon Feb 80).
1 Uninhabited Planets "...Because Theyre There"
Also in hc (Weidenfeld & Nicolson Mar 75). Pagination taken... |
"""Package for parsing and generating FASTA files of biological sequences.
Use the :class:`tinyfasta.FastaParser` class to parse FASTA files.
To generate FASTA files use the :func:`tinyfasta.FastaRecord.create` static
method to create :class:`tinyfasta.FastaRecord` instances, which can be written
to file.
"""
__ve... |
Because it was a successful mining town long before it became a jet-set favorite, there are many old and classic buildings from its time as a mining capitol.
I couldn’t decide if this beauty was old or a just well done new facsimile.
The Wheeler Opera House is old and authentic. Only wish it had been open to take a pee... |
from django.db import models
from django.contrib.auth.models import User
from microdata.models import Device, Appliance
from django.conf import settings
from recurrence.fields import RecurrenceField
from paintstore.fields import ColorPickerField
# Create your models here.
class EventNotification(models.Model):
"""... |
The steeper, the better. The Deacon 76 Pro redefines the way you experience the slopes.
The new Deacon 76 Pro is one of 4 new frontside models intended to make firm and even icy conditions more fun. Völkl engineers have developed a 3D.Glass sandwich construction with two layers of fiberglass – one that wraps around the... |
import binascii
import sys
from cert_core import Chain, UnknownChainError
unhexlify = binascii.unhexlify
hexlify = binascii.hexlify
if sys.version > '3':
unhexlify = lambda h: binascii.unhexlify(h.encode('utf8'))
hexlify = lambda b: binascii.hexlify(b).decode('utf8')
def obfuscate_email_display(email):
... |
Looking for Millionaires? Try These U.S. Cities.
Moneyed Americans are multiplying around Houston, Dallas and San Jose, Calif.
Fueled by the vibrant energy and technology sectors, those three metropolitan areas saw some of the fastest growth over the past five years in the number of residents with at least $1 million i... |
import warnings
import pkg_resources
# __version__ = pkg_resources.get_distribution("bika.lims").version
# import this to create messages in the bika domain.
from dependencies.dependency import MessageFactory
bikaMessageFactory = MessageFactory('bika')
from dependencies.dependency import PloneMessageFactory as PMF
# ... |
Follow the instructions below to delete an existing Group from CDP.
All users that belong to the deleted group will lose any permissions set at the group-level.
1. Click on "Groups" in the Main Menu to access the "Groups" screen.
2. In the "Groups" list, find the appropriate Group and click on the "Delete" icon in the ... |
from __future__ import print_function
import sys
import numpy
from matplotlib.pylab import *
def plt_ref_orbit(s, lng):
subplot(1, 2, 1)
plot(s, lng[:, 0], '-b')
xlabel('s [m]'); ylabel('phase [rad]')
subplot(1, 2, 2)
plot(s, lng[:, 1], '-b')
xlabel('s [m]'); ylabel('E_k [MeV]')
def plt_m... |
Winter has officially arrived in Texas, in case you were wondering. I've been freezing my tail off for days, and the coats have officially come out of the closet. Now that I've been walking around in my old coat that I keep meaning to get hemmed and mended, I am noticing lots of gorgeous options on the internets. Plus,... |
# Copyright 2012 OpenStack Foundation
#
# 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... |
Over 6,000 Food Growers and Artisans.
Join us in Rebuilding our Local Food Systems.
"Hi I get raw milk 24/7 from Bakewell creamery on Wayby valley rd Wellsford. I understand that they deliver as far south as 1 hour from Wellsford so I would say you could get it in takapuna. The milk is fantastic for cheese and is great... |
from pysb import Model, Monomer, Parameter
from pysb.core import SelfExporter
from bel import bel_api
from biopax import biopax_api
from trips import trips_api
SelfExporter.do_export = False
class BaseAgentSet(object):
"""A container for a set of BaseAgents. Wraps a dict of BaseAgent instances."""
def __init_... |
LOW MILES - 29,259! 4x4, Aluminum Wheels, Satellite Radio, Onboard Communications System, CD Player, CHEVROLET MYLINK AUDIO SYSTEM, 4.2 D... SEATS, FRONT 40/20/40 SPLIT-BENCH, 3-... TRANSMISSION, 6-SPEED AUTOMATIC, HEAV... CLICK ME! KEY FEATURES INCLUDE 4x4, Satellite Radio, CD Player, Onboard Communications System, Al... |
# -*- coding: utf-8 -*-
from david.lib.mixins.props import PropsMixin, PropsItem
from .attachment import Attachment
from .form import AttachmentFieldList
def _get_ids(items):
return [(i.id if hasattr(i, 'id') else i) for i in items]
class AttachmentMixin(PropsMixin):
""" Mixin for a db.Model """
attac... |
2 Bedroom Semi Detached Bungalow For Sale in Preston for Asking Price £190,000.
A contemporary two bedroom fully renovated semi detached true bungalow offered with no chain delay, presented with a high specification and extended with a beautiful conservatory opening onto the wonderful south-facing garden. The light and... |
# Copyright 2010-2012 Canonical Ltd. This software is licensed under
# the GNU Lesser General Public License version 3 (see the file LICENSE).
from django.core import serializers
from django.db import models
from django.db.models.fields.files import FileField
from django.utils import simplejson
class AuditLog(model... |
Real estate prices are forever in flux. Normally, house values appreciate in the long term. But, of course, there is always a certain amount of risk in real estate.
When your property appreciates you have a bigger asset to borrow against, and you make a higher profit when you sell. But how will you be sure what you're ... |
# Fetches twits from Twitter using one of many possible download mechanisms and parameters given via command line arguments
# This particular implementation uses twitterscraper as an example implementation.
# Warning: scraping twitter may be not completely legal in your country.
# You could use tweepy for a legal optio... |
The Blot is so freaking pumped about the return of Better Call Saul tonight on AMC! The prequel/sequel of Breaking Bad really hit its stride last year, and the sky is truly the limit for Better Call Saul Season 3 with the addition of Giancarlo Esposito’s Gustavo Fring to the cast. Things are totally going to get crazy ... |
# -*- coding: utf-8 -*-
from __future__ import absolute_import
from celery.utils.log import get_task_logger
from lib.fingerprinting import HttpFingerprinter, HttpsFingerprinter
from .....app import websight_app
from ....base import ServiceTask, NetworkServiceTask
logger = get_task_logger(__name__)
#USED
@websight_... |
WHAT – President Barack Obama will award Chaplain (Captain) Emil J. Kapaun, U.S. Army, the Medal of Honor posthumously for conspicuous gallantry.
WHEN – The event will be held Thursday, April 11. A second ceremony will occur the next day, April 12 at the Pentagon.
WHERE – The award ceremony will occur at the White Hous... |
import time
import uuid
import subprocess
import logging
log = logging.getLogger(__name__)
def check_call(*args, **kwargs):
start = time.time()
command_uuid = uuid.uuid4()
command_line = subprocess.list2cmdline(args[0])
log.debug("%s: Executing: %s" % (command_uuid, command_line))
data = None
... |
When asked to describe MLB Fan Cave to people I tell them it’s kind of like Survivor meets The Real World in the fan cave in New York.
The cave dwellers blog and film videos about the experience, cover every MLB game, and get to interact with players and celebrities.
The current video up on the MLB FanCave website has ... |
#!/usr/bin/env python2
# -*- coding: utf-8 -*-
#
# GuessIt - A library for guessing information from filenames
# Copyright (c) 2012 Nicolas Wack <wackou@gmail.com>
#
# GuessIt is free software; you can redistribute it and/or modify it under
# the terms of the Lesser GNU General Public License as published by
# the Free... |
Jessica joined the Crest team in 2015, and following her time managing the paraplanning team, she is now an Adviser within the firm. Jessica has been able to explore the practical application of her studies in the various facets of her professional role. She enjoys the challenge, with no two days being the same.
Jessic... |
#-*- coding:utf-8 -*-
"""
This file is part of OpenSesame.
OpenSesame 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, or
(at your option) any later version.
OpenSesame is distri... |
We are looking for experienced line cooks who are eager to learn our recipes.
We desire a leader ready to take initiative and who has the ability to display professional care, and is committed to long term full time employment.
Knowledge of basic French cuisine is an asset but not mandatory. The desire to learn new tec... |
import sys, os
sys.path = [os.path.join(os.getcwd(), "..") ] + sys.path
from tileConfig import TileConfig, TileDesc, MachineDesc, SaveConfig, LoadConfig, TileLocation, Rect, LocalWindow
def CreateLocalTestConfig():
c = TileConfig()
t0 = TileDesc( (400, 400), (0,0), ":0", localWindowId=0)
t1 = TileDesc... |
Shop latest outdoors tiles online from our range of Sunglasses at au.dhgate.com, free and fast delivery to Australia. DHgate offers a large selection of eye glasses colours and uvb with superior quality and exquisite craft.
ABC Bahrain Business Directory for Ceramics & Tiles ... The Gulf region now hosts some of the wo... |
"""File system utilities
.. codeauthor:: Joe DeCapo <joe@polka.cat>
"""
import errno
import os
import shutil
from pathlib import Path
import clowder.util.formatting as fmt
from clowder.util.error import ExistingFileError, MissingSourceError
from clowder.util.logging import LOG
def symlink_clowder_yaml(source: Pat... |
Last lot available in the popular Brittany Hills subdivision. No tap fees with this lot. Great opportunity to build your dream home!! Seller is related to the listing Realtor. |
#!/usr/bin/env python
# -*- coding: utf-8
from __future__ import print_function
import argparse
import codecs
import cPickle as pickle
import numpy as np
import os
from load_tweets import load_tweets
from collections import Counter
NAME='ef_list_baseline'
prefix='list_baseline'
if __name__ == "__main__":
# Las o... |
Since forcibly exiled on February 29, 2004, Washington and Haiti denied his right to return, though affirmed in Haiti's Constitution and international law.
Article 9: "No one shall be subjected to arbitrary arrest, detention or exile."
Article 13(2): "Everyone has the right to leave any country, including his own, and ... |
#!/usr/bin/env python
# -*- mode: python; coding: utf-8; -*-
# (c) Lankier mailto:lankier@gmail.com
import sys, os
import time
import shutil
import sqlite3
from cStringIO import StringIO
from lxml import etree
from copy import deepcopy
from optparse import OptionParser, make_option
import zipfile
import traceback
fro... |
Hello Derry friends of Vanguard Dental Group! When you think about getting into shape, your teeth are probably not the first body parts that come to mind. But your Derry dentist may be able to improve your smile with bonding and enamel shaping, and you won’t even have to join a gym!
We’re Drs. Rothenberg and Moskowitz,... |
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
import phonenumber_field.modelfields
class Migration(migrations.Migration):
dependencies = [
]
operations = [
migrations.CreateModel(
name='LeadSource',
fields=[
... |
Christmas! Where does it come from and how is it celebrated?
On December 25, Christian all over the world celebrate Christmas Day as the anniversary of the birth of Jesus of Nazareth, a spiritual leader whose teachings form the basis of their religion. The tradition of celebrating this holiday involves gift giving, dec... |
# Echo client program
import socket
import time
import os
os.system("protoc -I=../proto --python_out=. ../proto/navirice_image.proto")
import navirice_image_pb2
class Image:
def __init__(self, width, height, channels, type_, data, data_size):
self.width = width
self.height = height
self.c... |
Councillors have voted to stop the sale of the former Magdalene Laundry site on Sean McDermott Street.
Plans were put forward last year to sell the site to a Japanese hotel chain.
However, a decision to stop the proposed sale was made at tonight's Dublin City Council meeting.
Social Democrats Councillor Gary Gannon is ... |
#
# @lc app=leetcode id=661 lang=python3
#
# [661] Image Smoother
#
# https://leetcode.com/problems/image-smoother/description/
#
# algorithms
# Easy (52.47%)
# Total Accepted: 55.7K
# Total Submissions: 106.1K
# Testcase Example: '[[1,1,1],[1,0,1],[1,1,1]]'
#
# An image smoother is a filter of the size 3 x 3 that ... |
I provide a cozy, home like environment which provides comfort for the child as well as the parents. Separate, quiet nursery for restful naps, privacy fenced outdoor play yard for exploring, playing, and picnics. Large indoor playroom with lots of natural light, that' s stocked with toys to spark the imagination and en... |
#!/usr/bin/env python
from setuptools import setup, find_packages
install_requires = [
'sockjs-tornado==1.0.0',
'tornado==3.2.2',
'argparse',
# simplejson is really required for py3 support to avoid encoding problems
'simplejson'
]
tests_require = [
'mock==2.0.0'
]
setup(
name='thunderpu... |
In this article, I will teach you how to easily activate Glo Yakata plan on your mobile phone for free browsing and downloads for all Glo subscribers.
I will also state & explain the numerous benefits you get to enjoy when you subscribe to Glo Yakata plan.
If you know you are a glo subscriber. You should know that you ... |
#!/usr/bin/env python
# pylint: disable=W0212
from agate.rows import Row
from agate import utils
@utils.allow_tableset_proxy
def join(self, right_table, left_key, right_key=None, inner=False, require_match=False, columns=None):
"""
Create a new table by joining two table's on common values.
This method ... |
The 2018 Black Alumni Reunion will #RaiseTheBAR. This reunion will feature more alumni, more free time to catch up with friends, and fun exciting events.The reunion will be held Sept. 21-23 at University Park. Proceeds from reunion tickets sales will benefit the Penn State African American Alumni Organization Emergency... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.