text:
My Account / Edit

 Profile Details

                            <?php echo form_open('user/update_details', 'class="form-user-details-edit" id="edit-user-details" role="form"') ; ?>

                                  <input class="input__field input__field--sae" type="text" name="first_name" value="<?php echo (isset($user['first_name'])) ? $user['first_name'] : ''; ?>"  />
                                   First Name  *

                                  <input class="input__field input__field--sae" type="text" name="last_name" value="<?php echo (isset($user['last_name'])) ? $user['last_name'] : ''; ?>"  />
                                   Last Name  *

                                  <input class="input__field input__field--sae" type="text" name="mail" value="<?php echo (isset($user['mail'])) ? $user['mail'] : ''; ?>" />
                                   E-mail address  *

                                  <input class="input__field input__field--sae" type="text" name="mobile" value="<?php echo (isset($user['mobile'])) ? $user['mobile'] : ''; ?>" />
                                   Mobile *

                                <input type="hidden" name="existing_email" value="<?php echo (isset($user['mail'])) ? $user['mail'] : ''; ?>">
                                <input type="submit" value="SAVE CHANGES" class="btn black-btn borderround ">

                            <?php echo form_close(); ?>

 Change Password

                                <input class="input__field input__field--sae" type="password"   />
                                 Old Password

                                <input class="input__field input__field--sae" type="password"   />
                                 New Password

                                <input class="input__field input__field--sae" type="password"   />
                                 Retype Password

                              <input type="submit" value="SAVE CHANGES" class="btn btn black-btn  borderround ">

 My Address

  Shipping Address

                              <?php foreach ($user['address'] as $address) : ?>

                                    <?php echo $address['name']; ?>

                                    <?php echo $address['address1']; ?> <?php echo $address['address2']; ?>

                                    <?php echo $address['city']; ?>

                                    <?php echo $address['state']; ?> <?php echo $address['zipcode']; ?>

                                    <?php echo $address['mobile']; ?>

                              <?php endforeach; ?>

OR

Enter New Shipping Address

                                <?php echo form_open('admin/users/update_address', 'class="form-user-address-edit" id="edit-address" role="form"') ; ?>

                                          <input class="input__field input__field--sae" type="text" name="address_name" />
                                           Name *

                                          <input class="input__field input__field--sae" type="text" name="address_mobile" />
                                           Phone *

                                          <input class="input__field input__field--sae" type="text" name="address_line_1" />
                                           Address 1 *

                                          <input class="input__field input__field--sae" type="text" name="address_line_2" />
                                           Address 2 *

                                          <input class="input__field input__field--sae" type="text" name="address_city" />
                                           City *

                                          <select name="address_state" class="input__field input__field--sae">
                                            <option value="" selected="selected">-- Any --</option>
                                            <?php foreach($states as $state) : ?>
                                              <option value="<?php echo $state->state_2_code; ?>"><?php echo $state->state_name; ?></option>
                                            <?php endforeach; ?>
                                          </select>
                                           State *

                                          <input class="input__field input__field--sae" type="text" name="address_zipcode" />
                                           Pincode *

                                        <input type="hidden" name="address_id" class="form-control" value="">
                                        <input type="submit" value="SUBMIT" class="btn black-btn borderround ">

                                </form>

          <button type="button" class="close" data-dismiss="modal">×</button>

Add Bank Details

                <input class="input__field input__field--sae" type="text"   />
                 Bank name *

                <input class="input__field input__field--sae" type="text"   />
                 Account Number *

                <input class="input__field input__field--sae" type="text"   />
                 IFSC code *

                <input class="input__field input__field--sae" type="text"   />
                 Branch Name *

                <input class="input__field input__field--sae" type="text"   />
                 Account Holders Name *

                <input class="input__field input__field--sae" type="text"   />
                 Account Holders Name *

Pancard Xerox

              <input class="form-control form-file" type="file" id="edit-file" name="files[]" size="60">
              JPG's, GIF's, and PNG's only, 10MB Max Size

              <input name="" type="button" value="SUBMIT" class="btn black-btn borderround ">


text:
package acm

const (

	// ErrCodeInvalidArgsException for service response error code
	// "InvalidArgsException".
	//
	// One or more of of request parameters specified is not valid.
	ErrCodeInvalidArgsException = "InvalidArgsException"

	// ErrCodeInvalidArnException for service response error code
	// "InvalidArnException".
	//
	// The requested Amazon Resource Name (ARN) does not refer to an existing resource.
	ErrCodeInvalidArnException = "InvalidArnException"

	// ErrCodeInvalidDomainValidationOptionsException for service response error code
	// "InvalidDomainValidationOptionsException".
	//
	// One or more values in the DomainValidationOption structure is incorrect.
	ErrCodeInvalidDomainValidationOptionsException = "InvalidDomainValidationOptionsException"

	// ErrCodeInvalidStateException for service response error code
	// "InvalidStateException".
	//
	// Processing has reached an invalid state.
	ErrCodeInvalidStateException = "InvalidStateException"

	// ErrCodeInvalidTagException for service response error code
	// "InvalidTagException".
	//
	// One or both of the values that make up the key-value pair is not valid. For
	// example, you cannot specify a tag value that begins with aws:.
	ErrCodeInvalidTagException = "InvalidTagException"

	// ErrCodeLimitExceededException for service response error code
	// "LimitExceededException".
	//
	// An ACM limit has been exceeded.
	ErrCodeLimitExceededException = "LimitExceededException"

	// ErrCodeRequestInProgressException for service response error code
	// "RequestInProgressException".
	//
	// The certificate request is in process and the certificate in your account
	// has not yet been issued.
	ErrCodeRequestInProgressException = "RequestInProgressException"

	// ErrCodeResourceInUseException for service response error code
	// "ResourceInUseException".
	//
	// The certificate is in use by another AWS service in the caller's account.
	// Remove the association and try again.
	ErrCodeResourceInUseException = "ResourceInUseException"

	// ErrCodeResourceNotFoundException for service response error code
	// "ResourceNotFoundException".
	//
	// The specified certificate cannot be found in the caller's account or the
	// caller's account cannot be found.
	ErrCodeResourceNotFoundException = "ResourceNotFoundException"

	// ErrCodeTooManyTagsException for service response error code
	// "TooManyTagsException".
	//
	// The request contains too many tags. Try the request again with fewer tags.
	ErrCodeTooManyTagsException = "TooManyTagsException"
)

redpajama_set_name: RedPajamaGithub


text:
"""
This file was generated with the customdashboard management command, it
contains the two classes for the main dashboard and app index dashboard.
You can customize these classes as you want.

"""

from django.utils.translation import ugettext_lazy as _

from admin_tools.dashboard import modules, Dashboard, AppIndexDashboard

class CustomIndexDashboard(Dashboard):
    """
    Custom index dashboard for buildee.
    """
    def init_with_context(self, context):
        self.children += [
            modules.ModelList(_('Blog'), [
                'multilingual_news.models.NewsEntry',
                'multilingual_news.models.Category',
                'multilingual_tags.models.Tag']),
            modules.ModelList(_('Filer'), [
                'cmsplugin_filer_image*',
                'filer*']),
            modules.ModelList(_('Document Library'), [
                'document_library*']),
            modules.ModelList(_('Hero Slider'), [
                'hero_slider*']),
            modules.ModelList(_('Events'), [
                'multilingual_events*']),
            modules.ModelList(_('CMS'), [
                'cms.plugins.snippet*',
                'cms.models.page*']),
            modules.ModelList(_('People'), [
                'people.models.Person']),
            modules.ModelList(_('Organizations'), [
                'multilingual_orgs.models.Organization']),
            modules.ModelList(_('Initiatives'), [
                'multilingual_initiatives.models.Initiative']),
            modules.ModelList(_('Good Practices'), [
                'good_practice_examples.models*']),
            modules.ModelList(_('Roadmap'), [
                'roadmap.models*']),
        ]

class CustomAppIndexDashboard(AppIndexDashboard):
    """
    Custom app index dashboard for buildee.
    """

    # we disable title because its redundant with the model list module
    title = ''

    def __init__(self, *args, **kwargs):
        AppIndexDashboard.__init__(self, *args, **kwargs)

        # append a model list module and a recent actions module
        self.children += [
            modules.ModelList(self.app_title, self.models),
            modules.RecentActions(
                _('Recent Actions'),
                include_list=self.get_app_content_types(),
                limit=5
            )
        ]

    def init_with_context(self, context):
        """
        Use this method if you need to access the request context.
        """
        return super(CustomAppIndexDashboard, self).init_with_context(context)


text:
from ConfigParser import ConfigParser
from collections import defaultdict
import copy
import json
import logging
import os.path
import re
import sys

# This must be called early - before the rest of the blueprint library loads.
logging.basicConfig(format='# [blueprint] %(message)s',
                    level=logging.INFO)

import git
import rules
import util
import walk

DEFAULTS = {'io': {'max_content_length': 67108864,
                   'server': 'https://devstructure.com'},
            's3': {'region': 'US',
                   'use_https': True},
            'statsd': {'port': 8125}}

cfg = ConfigParser()
for section, options in DEFAULTS.iteritems():
    cfg.add_section(section)
    for option, value in options.iteritems():
        cfg.set(section, option, str(value))
cfg.read(['/etc/blueprint.cfg',
          os.path.expanduser('~/.blueprint.cfg')])

class NameError(ValueError):
    pass

class NotFoundError(KeyError):
    pass

class Blueprint(dict):

    DISCLAIMER = """#
# Automatically generated by blueprint(7).  Edit at your own risk.
#
"""

    @classmethod
    def checkout(cls, name, commit=None):
        git.init()
        if commit is None:
            commit = git.rev_parse('refs/heads/{0}'.format(name))
            if commit is None:
                raise NotFoundError(name)
        tree = git.tree(commit)
        blob = git.blob(tree, 'blueprint.json')
        content = git.content(blob)
        return cls(name, commit, **json.loads(content))

    @classmethod
    def create(cls, name):
        b = cls(name)
        r = rules.defaults()
        import backend
        for funcname in backend.__all__:
            getattr(backend, funcname)(b, r)
        import services
        services.services(b)
        return b

    @classmethod
    def destroy(cls, name):
        """
        Destroy the named blueprint.
        """
        if not os.path.isdir(git.repo()):
            raise NotFoundError(name)
        try:
            git.git('branch', '-D', name)
        except:
            raise NotFoundError(name)

    @classmethod
    def iter(cls):
        """
        Yield the name of each blueprint.
        """
        if not os.path.isdir(git.repo()):
            return
        status, stdout = git.git('branch')
        for line in stdout.splitlines():
            yield line.strip()

    @classmethod
    def load(cls, f, name=None):
        """
        Instantiate and return a Blueprint object from a file-like object
        from which valid blueprint JSON may be read.
        """
        return cls(name, **json.load(f))

    @classmethod
    def loads(cls, s, name=None):
        """
        Instantiate and return a Blueprint object from a string containing
        valid blueprint JSON.
        """
        return cls(name, **json.loads(s))

    @classmethod
    def rules(cls, r, name=None):
        b = cls(name)
        import backend
        for funcname in backend.__all__:
            getattr(backend, funcname)(b, r)
        import services
        services.services(b)
        return b

    def __init__(self, name=None, commit=None, *args, **kwargs):
        """
        Construct a blueprint.  Extra arguments are used to create a `dict`
        which is then sent through the `blueprint`(5) algorithm to be injested
        into this `Blueprint` object with the proper types.  (The structure
        makes heavy use of `defaultdict` and `set`).
        """
        self.name = name
        self._commit = commit
        def file(pathname, f):
            self.add_file(pathname, **f)
        def package(manager, package, version):
            self.add_package(manager, package, version)
        def service(manager, service):
            self.add_service(manager, service)
        def service_file(manager, service, pathname):
            self.add_service_file(manager, service, pathname)
        def service_package(manager, service, package_manager, package):
            self.add_service_package(manager,
                                     service,
                                     package_manager,
                                     package)
        def service_source(manager, service, dirname):
            self.add_service_source(manager, service, dirname)
        def source(dirname, filename, gen_content, url):
            if url is not None:
                self.add_source(dirname, url)
            elif gen_content is not None:
                self.add_source(dirname, filename)
        walk.walk(dict(*args, **kwargs),
                  file=file,
                  package=package,
                  service=service,
                  service_file=service_file,
                  service_package=service_package,
                  service_source=service_source,
                  source=source)

    def __sub__(self, other):
        """
        Subtracting one blueprint from another allows blueprints to remain
        free of superfluous packages from the base installation.  It takes
        three passes through the package tree.  The first two remove
        superfluous packages and the final one accounts for some special
        dependencies by adding them back to the tree.
        """
        b = copy.deepcopy(self)

        # Compare file contents and metadata.  Keep files that differ.
        for pathname, file in self.files.iteritems():
            if other.files.get(pathname, {}) == file:
                del b.files[pathname]

        # The first pass removes all duplicate packages that are not
        # themselves managers.  Allowing multiple versions of the same
        # packages complicates things slightly.  For each package, each
        # version that appears in the other blueprint is removed from
        # this blueprint.  After that is finished, this blueprint is
        # normalized.  If no versions remain, the package is removed.
        def package(manager, package, version):
            if package in b.packages:
                return
            try:
                b_packages = b.packages[manager]
            except KeyError:
                return
            if manager in b_packages:
                return
            if package not in b_packages:
                return
            try:
                b_versions = b_packages[package]
            except KeyError:
                return
            b_versions.discard(version)
            if 0 == len(b_versions):
                del b_packages[package]
            else:
                b_packages[package] = b_versions
        other.walk(package=package)

        # The second pass removes managers that manage no packages, a
        # potential side-effect of the first pass.  This step must be
        # applied repeatedly until the blueprint reaches a steady state.
        def package(manager, package, version):
            if package not in b.packages:
                return
            if 0 == len(b.packages[package]):
                del b.packages[package]
                del b.packages[self.managers[package]][package]
        while 1:
            l = len(b.packages)
            other.walk(package=package)
            if len(b.packages) == l:
                break

        # The third pass adds back special dependencies like `ruby*-dev`.
        # It isn't apparent from the rules above that a manager like RubyGems
        # needs more than just itself to function.  In some sense, this might
        # be considered a missing dependency in the Debian archive but in
        # reality it's only _likely_ that you need `ruby*-dev` to use
        # `rubygems*`.
        def after_packages(manager):
            if manager not in b.packages:
                return

            deps = {r'^python(\d+(?:\.\d+)?)$': ['python{0}',
                                                 'python{0}-dev',
                                                 'python',
                                                 'python-devel'],
                    r'^ruby(\d+\.\d+(?:\.\d+)?)$': ['ruby{0}-dev'],
                    r'^rubygems(\d+\.\d+(?:\.\d+)?)$': ['ruby{0}',
                                                        'ruby{0}-dev',
                                                        'ruby',
                                                        'ruby-devel']}

            for pattern, packages in deps.iteritems():
                match = re.search(pattern, manager)
                if match is None:
                    continue
                for package in packages:
                    package = package.format(match.group(1))
                    for managername in ('apt', 'yum'):
                        mine = self.packages.get(managername, {}).get(package,
                                                                      None)
                        if mine is not None:
                            b.packages[managername][package] = mine
        other.walk(after_packages=after_packages)

        # Compare service metadata.  Keep services that differ.
        for manager, services in self.services.iteritems():
            for service, deps in services.iteritems():
                if other.services.get(manager, {}).get(service, {}) == deps:
                    del b.services[manager][service]
            if 0 == len(b.services[manager]):
                del b.services[manager]

        # Compare source tarball filenames, which indicate their content.
        # Keep source tarballs that differ.
        for dirname, filename in self.sources.iteritems():
            if other.sources.get(dirname, '') == filename:
                del b.sources[dirname]

        return b

    def get_name(self):
        return self._name
    def set_name(self, name):
        """
        Validate and set the blueprint name.
        """
        if name is not None and re.search(r'^$|^-$|[/ \t\r\n]', name):
            raise NameError('invalid blueprint name')
        self._name = name
    name = property(get_name, set_name)

    def get_arch(self):
        if 'arch' not in self:
            self['arch'] = None
        return self['arch']
    def set_arch(self, arch):
        self['arch'] = arch
    arch = property(get_arch, set_arch)

    @property
    def files(self):
        if 'files' not in self:
            self['files'] = defaultdict(dict)
        return self['files']

    @property
    def managers(self):
        """
        Build a hierarchy of managers for easy access when declaring
        dependencies.
        """
        if hasattr(self, '_managers'):
            return self._managers
        self._managers = {'apt': None, 'yum': None}

        def package(manager, package, version):
            if package in self.packages and manager != package:
                self._managers[package] = manager

        self.walk(package=package)
        return self._managers

    @property
    def packages(self):
        if 'packages' not in self:
            self['packages'] = defaultdict(lambda: defaultdict(set))
        return self['packages']

    @property
    def services(self):
        if 'services' not in self:
            self['services'] = defaultdict(lambda: defaultdict(dict))
        return self['services']

    @property
    def sources(self):
        if 'sources' not in self:
            self['sources'] = defaultdict(dict)
        return self['sources']

    def add_file(self, pathname, **kwargs):
        """
        Create a file resource.
        """
        self.files[pathname] = kwargs

    def add_package(self, manager, package, version):
        """
        Create a package resource.
        """
        self.packages[manager][package].add(version)

    def add_service(self, manager, service):
        """
        Create a service resource which depends on given files and packages.
        """

        # AWS cfn-init respects the enable and ensure parameters like Puppet
        # does.  Blueprint provides these parameters for interoperability.
        self.services[manager].setdefault(service, {'enable': True,
                                                    'ensureRunning': True})

    def add_service_file(self, manager, service, *args):
        """
        Add file dependencies to a service resource.
        """
        if 0 == len(args):
            return
        s = self.services[manager][service].setdefault('files', set())
        for dirname in args:
            s.add(dirname)

    def add_service_package(self, manager, service, package_manager, *args):
        """
        Add package dependencies to a service resource.
        """
        if 0 == len(args):
            return
        d = self.services[manager][service].setdefault('packages',
                                                       defaultdict(set))
        for package in args:
            d[package_manager].add(package)

    def add_service_source(self, manager, service, *args):
        """
        Add source tarball dependencies to a service resource.
        """
        if 0 == len(args):
            return
        s = self.services[manager][service].setdefault('sources', set())
        for dirname in args:
            s.add(dirname)

    def add_source(self, dirname, filename):
        """
        Create a source tarball resource.
        """
        self.sources[dirname] = filename

    def commit(self, message=''):
        """
        Create a new revision of this blueprint in the local Git repository.
        Include the blueprint JSON and any source archives referenced by
        the JSON.
        """
        git.init()
        refname = 'refs/heads/{0}'.format(self.name)
        parent = git.rev_parse(refname)

        # Start with an empty index every time.  Specifically, clear out
        # source tarballs from the parent commit.
        if parent is not None:
            for mode, type, sha, pathname in git.ls_tree(git.tree(parent)):
                git.git('update-index', '--force-remove', pathname)

        # Add `blueprint.json` to the index.
        f = open('blueprint.json', 'w')
        f.write(self.dumps())
        f.close()
        git.git('update-index', '--add', os.path.abspath('blueprint.json'))

        # Add source tarballs to the index.
        for filename in self.sources.itervalues():
            git.git('update-index', '--add', os.path.abspath(filename))

        # Add `/etc/blueprintignore` and `~/.blueprintignore` to the index.
        # Since adding extra syntax to this file, it no longer makes sense
        # to store it as `.gitignore`.
        f = open('blueprintignore', 'w')
        for pathname in ('/etc/blueprintignore',
                         os.path.expanduser('~/.blueprintignore')):
            try:
                f.write(open(pathname).read())
            except IOError:
                pass
        f.close()
        git.git('update-index', '--add', os.path.abspath('blueprintignore'))

        # Write the index to Git's object store.
        tree = git.write_tree()

        # Write the commit and update the tip of the branch.
        self._commit = git.commit_tree(tree, message, parent)
        git.git('update-ref', refname, self._commit)

    def normalize(self):
        """
        Remove superfluous empty keys to reduce variance in serialized JSON.
        """
        if 'arch' in self and self['arch'] is None:
            del self['arch']
        for key in ['files', 'packages', 'sources']:
            if key in self and 0 == len(self[key]):
                del self[key]

    def dumps(self):
        """
        Return a JSON serialization of this blueprint.  Make a best effort
        to prevent variance from run-to-run.
        """
        self.normalize()
        return util.json_dumps(self)

    def puppet(self, relaxed=False):
        """
        Generate Puppet code.
        """
        import frontend.puppet
        return frontend.puppet.puppet(self, relaxed)

    def chef(self, relaxed=False):
        """
        Generate Chef code.
        """
        import frontend.chef
        return frontend.chef.chef(self, relaxed)

    def bcfg2(self, relaxed=False):
        """
        Generate bcfg2 code.
        """
        import frontend.bcfg2
        return frontend.bcfg2.bcfg2(self, relaxed)

    def sh(self,
           relaxed=False,
           server='https://devstructure.com',
           secret=None):
        """
        Generate shell code.
        """
        import frontend.sh
        return frontend.sh.sh(self, relaxed, server, secret)

    def blueprint_rules(self, relaxed=False):
        """
        Generate Blueprint rules.
        """
        import frontend.rules
        return frontend.rules.rules(self, relaxed)

    def cfn(self, relaxed=False):
        """
        Generate an AWS CloudFormation template.
        """
        import frontend.cfn
        return frontend.cfn.cfn(self, relaxed)

    def cfengine3(self, relaxed=False):
        """
        Generate a CFEngine 3 template.
        """
        import frontend.cfengine3
        return frontend.cfengine3.cfengine3(self, relaxed)

    def blueprintignore(self):
        """
        Return an open file pointer to the blueprint's blueprintignore file,
        which is suitable for passing back to `blueprint.rules.Rules.parse`.
        Prior to v3.0.9 this file was stored as .blueprintignore in the
        repository.  Prior to v3.0.4 this file was stored as .gitignore in
        the repository.
        """
        tree = git.tree(self._commit)
        blob = git.blob(tree, 'blueprintignore')
        if blob is None:
            blob = git.blob(tree, '.blueprintignore')
        if blob is None:
            blob = git.blob(tree, '.gitignore')
        if blob is None:
            return []
        return git.cat_file(blob)

    def walk(self, **kwargs):
        walk.walk(self, **kwargs)


text:
cd "$( cd -P "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd ..

# Build application
npm install -d
coffee -bc static/js/app
lessc static/less/style.less > static/less/style.css


text:
package com.kws.stratege.good.service.impl;

import com.kws.stratege.good.service.ArticleDML;

public class DoNotUseAllDML implements ArticleDML{

	@Override
	public boolean insertArticle() {
		// TODO Auto-generated method stub
		System.out.println("입력 못 한다");
		return false;
	}

	@Override
	public boolean updateArticle() {
		// TODO Auto-generated method stub
		System.out.println("수정 못 한다");
		return false;
	}

	@Override
	public boolean deleteArticle() {
		// TODO Auto-generated method stub
		System.out.println("삭제 못 한다");
		return false;
	}

}


text:
<?php

interface f_lock_exception
{

}


text:
<!DOCTYPE html>

    <title>Adron's Thrashing Code</title>
    <meta name="description" content="">
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="alternate" href="/feed.xml" type="application/rss+xml" title="Coder, Messenger, Recon, Infrastructure, Ops, & A Sprinkling of Metal">
    <link rel="icon" type="image/png" href="/img/favicons/favicon-16x16.png" sizes="16x16">
    <link rel="icon" type="image/png" href="/img/favicons/favicon-32x32.png" sizes="32x32">
    <link rel="icon" type="image/png" href="/img/favicons/favicon-96x96.png" sizes="96x96">
    <link rel="apple-touch-icon" sizes="57x57" href="/img/favicons/apple-touch-icon-57x57.png">
    <link rel="apple-touch-icon" sizes="60x60" href="/img/favicons/apple-touch-icon-60x60.png">
    <link rel="apple-touch-icon" sizes="72x72" href="/img/favicons/apple-touch-icon-72x72.png">
    <link rel="apple-touch-icon" sizes="76x76" href="/img/favicons/apple-touch-icon-76x76.png">
    <link rel="apple-touch-icon" sizes="114x114" href="/img/favicons/apple-touch-icon-114x114.png">
    <link rel="apple-touch-icon" sizes="120x120" href="/img/favicons/apple-touch-icon-120x120.png">
    <link rel="apple-touch-icon" sizes="144x144" href="/img/favicons/apple-touch-icon-144x144.png">
    <link rel="apple-touch-icon" sizes="152x152" href="/img/favicons/apple-touch-icon-152x152.png">
    <link rel="apple-touch-icon" sizes="180x180" href="/img/favicons/apple-touch-icon-180x180.png">
    <link rel="stylesheet" href="/css/custom.css">
    <link rel="stylesheet" href="/css/style.min.css">

Thrashing Code News

Conf - Meetup - Events

Speaking - Presentations - Workshops

Calendar of Engagements

Docs

Contact

Message

Hire

About

Thrashing Code News

 « Home

                <docs class="article">

Here's what you'll get on this email list.

You will not be spammed. These emails you receive will actually be directly from me about events that I am coordinating, assisting with, or supporting in some significant way. These are events that I think will be seriously fun, useful, and informative.

I will also send out a little bit of information about significant blog entries or article series that I might publish. The number of emails you will get likely will never exceed one email per week. It's very possible that the emails probably will only go out about once or twice a month even.

I won't be including a bunch of fancy images or advertisements or junk. This will be a technology and software related email list.

But seriously, that's about it. It's gonna be minimal, hopefully concise, and to the point, because that's how I operate. So cheers, and I hope you enjoy the newsletter. Cheers!

Adron

<link href="//cdn-images.mailchimp.com/embedcode/classic-10_7.css" rel="stylesheet" type="text/css">

<form action="https://adron.us11.list-manage.com/subscribe/post?u=7f73ff0427183b9b64e1f336a&id=a6fc3efde0" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>

Subscribe to Thrashing Code

 indicates required

    Email Address

    <input type="email" value="" name="EMAIL" class="required email" id="mce-EMAIL">

    First Name

    <input type="text" value="" name="FNAME" class="required" id="mce-FNAME">

    Last Name

    <input type="text" value="" name="LNAME" class="required" id="mce-LNAME">

    Select Your Preferred Topics  *

<input type="radio" value="Event News Only" name="MMERGE3" id="mce-MMERGE3-0">Event News Only

<input type="radio" value="Open Source Projects Only" name="MMERGE3" id="mce-MMERGE3-1">Open Source Projects Only

<input type="radio" value="All The Things" name="MMERGE3" id="mce-MMERGE3-2">All The Things

    Email Format

<input type="radio" value="html" name="EMAILTYPE" id="mce-EMAILTYPE-0">html

<input type="radio" value="text" name="EMAILTYPE" id="mce-EMAILTYPE-1">text

<input type="text" name="b_7f73ff0427183b9b64e1f336a_a6fc3efde0" tabindex="-1" value="">

<input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="button">

</form>

Sample Email List Content

If I've published anything of note on my blog, I'll write a quick summary to send out to everyone every week or two, but likely it'll be maybe once a month.

Learn about conferences I've helped organize and founded in the past, like Node PDX and .NET Fringe., except I'll of course be posting about conferences coming up.

I'll send out information when I'm heading out somewhere to come and speak, present, lecture, or teach workshops. Such as I recently did at Node Summit 2015 or where I will be speaking in the future.

I'll send out information about any other conferences that I'm interested in and would like to hang out and meet with people from twitter or other non-real life places in real life places.

Anytime there is a convergence of rock n' roll, metal, cycling and technology I'll probably send out information about that too: because awesome, but it'll be minimal.

                </docs>

« Home


text:
<!doctype html>
<title>Alert during dragleave with release over dialog</title>

Drag the orange square over the blue square, then back over the orange square.

An alert may appear - release the mouse over the dialog. Dismiss it (you may need to use keyboard or mouse gestures such as gesture-down,gesture-right). If it does not appear, release the drag.

The mouse cursor may continue to show that a drag is in operation. If so, attempt to select some of this text with the mouse before continuing to the text step.

Fail if the mouse continues to show that a drag is in operation.

Try to select some text in this sentence. Fail if it is not possible.

Try to drag the orange square downwards. Fail if it is not possible.


text:
package oracle.demo.pts.fusionproxy.location;

import com.oracle.xmlns.adf.svc.types.FindControl;
import com.oracle.xmlns.adf.svc.types.FindCriteria;
import com.oracle.xmlns.adf.svc.types.MethodResult;
import com.oracle.xmlns.adf.svc.types.ProcessControl;
import com.oracle.xmlns.adf.svc.types.ProcessData;
import com.oracle.xmlns.apps.cdm.foundation.parties.locationservice.Location;
import com.oracle.xmlns.apps.cdm.foundation.parties.locationservice.LocationResult;

import java.util.List;

import javax.jws.Oneway;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;

import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.ws.Action;
import javax.xml.ws.FaultAction;
import javax.xml.ws.RequestWrapper;
import javax.xml.ws.ResponseWrapper;

import sdo.commonj.java.ObjectFactory;
// !DO NOT EDIT THIS FILE!
// This source file is generated by Oracle tools
// Contents may be subject to change
// For reporting problems, use the following
// Version = Oracle WebServices (11.1.1.0.0, build 130224.1947.04102)

@WebService(wsdlLocation="https://dummy-crm-crm-ext.oracle.com/foundationParties/LocationService?wsdl",
  targetNamespace="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/",
  name="LocationService")
@XmlSeeAlso(
  { ObjectFactory.class, com.oracle.xmlns.apps.cdm.foundation.parties.locationservice.applicationmodule.types.ObjectFactory.class, com.oracle.xmlns.apps.cdm.foundation.parties.flex.location.ObjectFactory.class, com.oracle.xmlns.oracleas.schema.oracle_fault_11_0.ObjectFactory.class, com.oracle.xmlns.adf.svc.types.ObjectFactory.class, sdo.commonj.ObjectFactory.class, com.oracle.xmlns.apps.cdm.foundation.parties.partyservice.ObjectFactory.class, com.oracle.xmlns.apps.cdm.foundation.parties.locationservice.ObjectFactory.class, sdo.commonj.xml.ObjectFactory.class, com.oracle.xmlns.apps.cdm.foundation.parties.flex.sourcesystemref.ObjectFactory.class, com.oracle.xmlns.adf.svc.errors.ObjectFactory.class })
public interface LocationService
{
  @WebMethod(action="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/createLocation")
  @Action(input="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/createLocation", fault =
      { @FaultAction(value="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/LocationService/createLocation/Fault/ServiceException",
          className = ServiceException.class) }, output="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/LocationService/createLocationResponse")
  @ResponseWrapper(localName="createLocationResponse", targetNamespace="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/types/",
    className="com.oracle.xmlns.apps.cdm.foundation.parties.locationservice.applicationmodule.types.CreateLocationResponse")
  @RequestWrapper(localName="createLocation", targetNamespace="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/types/",
    className="com.oracle.xmlns.apps.cdm.foundation.parties.locationservice.applicationmodule.types.CreateLocation")
  @WebResult(targetNamespace="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/types/",
    name="result")
  public LocationResult createLocation(@WebParam(targetNamespace="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/types/",
      name="location")
    Location location)
    throws ServiceException;

  @WebMethod(action="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/updateLocation")
  @Action(input="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/updateLocation", fault =
      { @FaultAction(value="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/LocationService/updateLocation/Fault/ServiceException",
          className = ServiceException.class) }, output="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/LocationService/updateLocationResponse")
  @ResponseWrapper(localName="updateLocationResponse", targetNamespace="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/types/",
    className="com.oracle.xmlns.apps.cdm.foundation.parties.locationservice.applicationmodule.types.UpdateLocationResponse")
  @RequestWrapper(localName="updateLocation", targetNamespace="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/types/",
    className="com.oracle.xmlns.apps.cdm.foundation.parties.locationservice.applicationmodule.types.UpdateLocation")
  @WebResult(targetNamespace="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/types/",
    name="result")
  public LocationResult updateLocation(@WebParam(targetNamespace="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/types/",
      name="location")
    Location location)
    throws ServiceException;

  @WebMethod(action="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/mergeLocation")
  @Action(input="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/mergeLocation", fault =
      { @FaultAction(value="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/LocationService/mergeLocation/Fault/ServiceException",
          className = ServiceException.class) }, output="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/LocationService/mergeLocationResponse")
  @ResponseWrapper(localName="mergeLocationResponse", targetNamespace="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/types/",
    className="com.oracle.xmlns.apps.cdm.foundation.parties.locationservice.applicationmodule.types.MergeLocationResponse")
  @RequestWrapper(localName="mergeLocation", targetNamespace="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/types/",
    className="com.oracle.xmlns.apps.cdm.foundation.parties.locationservice.applicationmodule.types.MergeLocation")
  @WebResult(targetNamespace="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/types/",
    name="result")
  public LocationResult mergeLocation(@WebParam(targetNamespace="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/types/",
      name="location")
    Location location)
    throws ServiceException;

  @WebMethod(action="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/findLocation")
  @Action(input="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/findLocation", fault =
      { @FaultAction(value="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/LocationService/findLocation/Fault/ServiceException",
          className = ServiceException.class) }, output="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/LocationService/findLocationResponse")
  @ResponseWrapper(localName="findLocationResponse", targetNamespace="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/types/",
    className="com.oracle.xmlns.apps.cdm.foundation.parties.locationservice.applicationmodule.types.FindLocationResponse")
  @RequestWrapper(localName="findLocation", targetNamespace="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/types/",
    className="com.oracle.xmlns.apps.cdm.foundation.parties.locationservice.applicationmodule.types.FindLocation")
  @WebResult(targetNamespace="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/types/",
    name="result")
  public LocationResult findLocation(@WebParam(targetNamespace="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/types/",
      name="findCriteria")
    FindCriteria findCriteria, @WebParam(targetNamespace="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/types/",
      name="findControl")
    FindControl findControl)
    throws ServiceException;

  @WebMethod(action="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/processLocation")
  @Action(input="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/processLocation", fault =
      { @FaultAction(value="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/LocationService/processLocation/Fault/ServiceException",
          className = ServiceException.class) }, output="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/LocationService/processLocationResponse")
  @ResponseWrapper(localName="processLocationResponse", targetNamespace="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/types/",
    className="com.oracle.xmlns.apps.cdm.foundation.parties.locationservice.applicationmodule.types.ProcessLocationResponse")
  @RequestWrapper(localName="processLocation", targetNamespace="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/types/",
    className="com.oracle.xmlns.apps.cdm.foundation.parties.locationservice.applicationmodule.types.ProcessLocation")
  @WebResult(targetNamespace="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/types/",
    name="result")
  public LocationResult processLocation(@WebParam(targetNamespace="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/types/",
      name="changeOperation")
    String changeOperation, @WebParam(targetNamespace="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/types/",
      name="location")
    List<Location> location, @WebParam(targetNamespace="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/types/",
      name="processControl")
    ProcessControl processControl)
    throws ServiceException;

  @WebMethod(action="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/getLocationByOriginalSystemReference")
  @Action(input="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/getLocationByOriginalSystemReference", fault =
      { @FaultAction(value="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/LocationService/getLocationByOriginalSystemReference/Fault/ServiceException",
          className = ServiceException.class) }, output="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/LocationService/getLocationByOriginalSystemReferenceResponse")
  @ResponseWrapper(localName="getLocationByOriginalSystemReferenceResponse",
    targetNamespace="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/types/",
    className="com.oracle.xmlns.apps.cdm.foundation.parties.locationservice.applicationmodule.types.GetLocationByOriginalSystemReferenceResponse")
  @RequestWrapper(localName="getLocationByOriginalSystemReference",
    targetNamespace="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/types/",
    className="com.oracle.xmlns.apps.cdm.foundation.parties.locationservice.applicationmodule.types.GetLocationByOriginalSystemReference")
  @WebResult(targetNamespace="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/types/",
    name="result")
  public LocationResult getLocationByOriginalSystemReference(@WebParam(targetNamespace="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/types/",
      name="findCriteria")
    FindCriteria findCriteria, @WebParam(targetNamespace="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/types/",
      name="bindOrigSystem")
    String bindOrigSystem, @WebParam(targetNamespace="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/types/",
      name="bindOrigSystemReference")
    String bindOrigSystemReference, @WebParam(targetNamespace="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/types/",
      name="findControl")
    FindControl findControl)
    throws ServiceException;

  @WebMethod(action="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/deleteLocation")
  @Action(input="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/deleteLocation", fault =
      { @FaultAction(value="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/LocationService/deleteLocation/Fault/ServiceException",
          className = ServiceException.class) }, output="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/LocationService/deleteLocationResponse")
  @ResponseWrapper(localName="deleteLocationResponse", targetNamespace="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/types/",
    className="com.oracle.xmlns.apps.cdm.foundation.parties.locationservice.applicationmodule.types.DeleteLocationResponse")
  @RequestWrapper(localName="deleteLocation", targetNamespace="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/types/",
    className="com.oracle.xmlns.apps.cdm.foundation.parties.locationservice.applicationmodule.types.DeleteLocation")
  @WebResult(targetNamespace="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/types/",
    name="result")
  public MethodResult deleteLocation(@WebParam(targetNamespace="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/types/",
      name="location")
    Location location)
    throws ServiceException;

  @WebMethod(action="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/processCSLocation")
  @Action(input="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/processCSLocation", fault =
      { @FaultAction(value="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/LocationService/processCSLocation/Fault/ServiceException",
          className = ServiceException.class) }, output="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/LocationService/processCSLocationResponse")
  @ResponseWrapper(localName="processCSLocationResponse", targetNamespace="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/types/",
    className="com.oracle.xmlns.apps.cdm.foundation.parties.locationservice.applicationmodule.types.ProcessCSLocationResponse")
  @RequestWrapper(localName="processCSLocation", targetNamespace="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/types/",
    className="com.oracle.xmlns.apps.cdm.foundation.parties.locationservice.applicationmodule.types.ProcessCSLocation")
  @WebResult(targetNamespace="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/types/",
    name="result")
  public ProcessData processCSLocation(@WebParam(targetNamespace="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/types/",
      name="processData")
    ProcessData processData, @WebParam(targetNamespace="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/types/",
      name="processControl")
    ProcessControl processControl)
    throws ServiceException;

  @WebMethod(action="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/getLocationByOriginalSystemReferenceAsync")
  @Action(input="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/getLocationByOriginalSystemReferenceAsync")
  @RequestWrapper(localName="getLocationByOriginalSystemReferenceAsync",
    targetNamespace="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/types/",
    className="com.oracle.xmlns.apps.cdm.foundation.parties.locationservice.applicationmodule.types.GetLocationByOriginalSystemReferenceAsync")
  @Oneway
  public void getLocationByOriginalSystemReferenceAsync(@WebParam(targetNamespace="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/types/",
      name="findCriteria")
    FindCriteria findCriteria, @WebParam(targetNamespace="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/types/",
      name="bindOrigSystem")
    String bindOrigSystem, @WebParam(targetNamespace="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/types/",
      name="bindOrigSystemReference")
    String bindOrigSystemReference, @WebParam(targetNamespace="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/types/",
      name="findControl")
    FindControl findControl);

  @WebMethod(action="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/processCSLocationAsync")
  @Action(input="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/processCSLocationAsync")
  @RequestWrapper(localName="processCSLocationAsync", targetNamespace="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/types/",
    className="com.oracle.xmlns.apps.cdm.foundation.parties.locationservice.applicationmodule.types.ProcessCSLocationAsync")
  @Oneway
  public void processCSLocationAsync(@WebParam(targetNamespace="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/types/",
      name="processData")
    ProcessData processData, @WebParam(targetNamespace="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/types/",
      name="processControl")
    ProcessControl processControl);

  @WebMethod(action="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/mergeLocationAsync")
  @Action(input="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/mergeLocationAsync")
  @RequestWrapper(localName="mergeLocationAsync", targetNamespace="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/types/",
    className="com.oracle.xmlns.apps.cdm.foundation.parties.locationservice.applicationmodule.types.MergeLocationAsync")
  @Oneway
  public void mergeLocationAsync(@WebParam(targetNamespace="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/types/",
      name="location")
    Location location);

  @WebMethod(action="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/processLocationAsync")
  @Action(input="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/processLocationAsync")
  @RequestWrapper(localName="processLocationAsync", targetNamespace="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/types/",
    className="com.oracle.xmlns.apps.cdm.foundation.parties.locationservice.applicationmodule.types.ProcessLocationAsync")
  @Oneway
  public void processLocationAsync(@WebParam(targetNamespace="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/types/",
      name="changeOperation")
    String changeOperation, @WebParam(targetNamespace="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/types/",
      name="location")
    List<Location> location, @WebParam(targetNamespace="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/types/",
      name="processControl")
    ProcessControl processControl);

  @WebMethod(action="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/deleteLocationAsync")
  @Action(input="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/deleteLocationAsync")
  @RequestWrapper(localName="deleteLocationAsync", targetNamespace="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/types/",
    className="com.oracle.xmlns.apps.cdm.foundation.parties.locationservice.applicationmodule.types.DeleteLocationAsync")
  @Oneway
  public void deleteLocationAsync(@WebParam(targetNamespace="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/types/",
      name="location")
    Location location);

  @WebMethod(action="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/findLocationAsync")
  @Action(input="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/findLocationAsync")
  @RequestWrapper(localName="findLocationAsync", targetNamespace="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/types/",
    className="com.oracle.xmlns.apps.cdm.foundation.parties.locationservice.applicationmodule.types.FindLocationAsync")
  @Oneway
  public void findLocationAsync(@WebParam(targetNamespace="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/types/",
      name="findCriteria")
    FindCriteria findCriteria, @WebParam(targetNamespace="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/types/",
      name="findControl")
    FindControl findControl);

  @WebMethod(action="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/updateLocationAsync")
  @Action(input="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/updateLocationAsync")
  @RequestWrapper(localName="updateLocationAsync", targetNamespace="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/types/",
    className="com.oracle.xmlns.apps.cdm.foundation.parties.locationservice.applicationmodule.types.UpdateLocationAsync")
  @Oneway
  public void updateLocationAsync(@WebParam(targetNamespace="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/types/",
      name="location")
    Location location);

  @WebMethod(action="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/createLocationAsync")
  @Action(input="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/createLocationAsync")
  @RequestWrapper(localName="createLocationAsync", targetNamespace="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/types/",
    className="com.oracle.xmlns.apps.cdm.foundation.parties.locationservice.applicationmodule.types.CreateLocationAsync")
  @Oneway
  public void createLocationAsync(@WebParam(targetNamespace="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/types/",
      name="location")
    Location location);

  @WebMethod(action="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/getLocation")
  @Action(input="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/getLocation", fault =
      { @FaultAction(value="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/LocationService/getLocation/Fault/ServiceException",
          className = ServiceException.class) }, output="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/LocationService/getLocationResponse")
  @ResponseWrapper(localName="getLocationResponse", targetNamespace="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/types/",
    className="com.oracle.xmlns.apps.cdm.foundation.parties.locationservice.applicationmodule.types.GetLocationResponse")
  @RequestWrapper(localName="getLocation", targetNamespace="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/types/",
    className="com.oracle.xmlns.apps.cdm.foundation.parties.locationservice.applicationmodule.types.GetLocation")
  @WebResult(targetNamespace="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/types/",
    name="result")
  public Location getLocation(@WebParam(targetNamespace="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/types/",
      name="locationId")
    long locationId)
    throws ServiceException;

  @WebMethod(action="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/getLocationAsync")
  @Action(input="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/getLocationAsync")
  @RequestWrapper(localName="getLocationAsync", targetNamespace="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/types/",
    className="com.oracle.xmlns.apps.cdm.foundation.parties.locationservice.applicationmodule.types.GetLocationAsync")
  @Oneway
  public void getLocationAsync(@WebParam(targetNamespace="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/types/",
      name="locationId")
    long locationId);
}


text:
using System.Collections.Generic;

namespace Webmaster442.Applib.Converters
{
    /// <summary>
    /// Base class for Multi valuie converters
    /// </summary>
    /// <typeparam name="T">Converter type</typeparam>
    public abstract class MultiConverterBase<T>: ConverterBase<T> where T : new()
    {
        /// <summary>
        /// Cast all inputs to a specified type
        /// </summary>
        /// <typeparam name="TargetType">Target type</typeparam>
        /// <param name="inputs">collection of inputs</param>
        /// <returns>Input objects casted to type</returns>
        protected IEnumerable<TargetType> CastInput<TargetType>(params object[] inputs)
        {
            List<TargetType> castedInputs = new List<TargetType>(inputs.Length);

            foreach (var item in inputs)
            {
                if (item is TargetType)
                {
                    castedInputs.Add((TargetType)item);
                }
            }

            return castedInputs;
        }
    }
}


text:
extern "C"
{
#include <triangle.h>
}

#undef ANSI_DECLARATORS
#ifdef IGL_PREVIOUSLY_DEFINED_ANSI_DECLARATORS
#  define ANSI_DECLARATORS IGL_PREVIOUSLY_DEFINED_ANSI_DECLARATORS
#endif

#undef REAL
#ifdef IGL_PREVIOUSLY_DEFINED_REAL
#  define REAL IGL_PREVIOUSLY_DEFINED_REAL
#endif

#undef VOID
#ifdef IGL_PREVIOUSLY_DEFINED_VOID
#  define VOID IGL_PREVIOUSLY_DEFINED_VOID
#endif

IGL_INLINE void igl::triangle::triangulate(
  const Eigen::MatrixXd& V,
  const Eigen::MatrixXi& E,
  const Eigen::MatrixXd& H,
  const std::string flags,
  Eigen::MatrixXd& V2,
  Eigen::MatrixXi& F2)
{
  using namespace std;
  using namespace Eigen;

  // Prepare the flags
  string full_flags = flags + "pzB";

  // Prepare the input struct
  triangulateio in;

  assert(V.cols() == 2);

  in.numberofpoints = V.rows();
  in.pointlist = (double*)calloc(V.rows()*2,sizeof(double));
  for (unsigned i=0;i<V.rows();++i)
    for (unsigned j=0;j<2;++j)
      in.pointlist[i*2+j] = V(i,j);

  in.numberofpointattributes = 0;
  in.pointmarkerlist = (int*)calloc(V.rows(),sizeof(int));
   for (unsigned i=0;i<V.rows();++i)
     in.pointmarkerlist[i] = 1;

  in.trianglelist = NULL;
  in.numberoftriangles = 0;
  in.numberofcorners = 0;
  in.numberoftriangleattributes = 0;
  in.triangleattributelist = NULL;

  in.numberofsegments = E.rows();
  in.segmentlist = (int*)calloc(E.rows()*2,sizeof(int));
  for (unsigned i=0;i<E.rows();++i)
    for (unsigned j=0;j<2;++j)
      in.segmentlist[i*2+j] = E(i,j);
  in.segmentmarkerlist = (int*)calloc(E.rows(),sizeof(int));
  for (unsigned i=0;i<E.rows();++i)
    in.segmentmarkerlist[i] = 1;

  in.numberofholes = H.rows();
  in.holelist = (double*)calloc(H.rows()*2,sizeof(double));
  for (unsigned i=0;i<H.rows();++i)
    for (unsigned j=0;j<2;++j)
      in.holelist[i*2+j] = H(i,j);
  in.numberofregions = 0;

  // Prepare the output struct
  triangulateio out;

  out.pointlist = NULL;
  out.trianglelist = NULL;
  out.segmentlist = NULL;

  // Call triangle
  ::triangulate(const_cast<char*>(full_flags.c_str()), &in, &out, 0);

  // Return the mesh
  V2.resize(out.numberofpoints,2);
  for (unsigned i=0;i<V2.rows();++i)
    for (unsigned j=0;j<2;++j)
      V2(i,j) = out.pointlist[i*2+j];

  F2.resize(out.numberoftriangles,3);
  for (unsigned i=0;i<F2.rows();++i)
    for (unsigned j=0;j<3;++j)
      F2(i,j) = out.trianglelist[i*3+j];

  // Cleanup in
  free(in.pointlist);
  free(in.pointmarkerlist);
  free(in.segmentlist);
  free(in.segmentmarkerlist);
  free(in.holelist);

  // Cleanup out
  free(out.pointlist);
  free(out.trianglelist);
  free(out.segmentlist);

}

#ifdef IGL_STATIC_LIBRARY
// Explicit template specialization
#endif


text:
#include "redis.h"

/*-----------------------------------------------------------------------------
 * Set Commands
 *----------------------------------------------------------------------------*/

/* Factory method to return a set that *can* hold "value". When the object has
 * an integer-encodable value, an intset will be returned. Otherwise a regular
 * hash table. */
robj *setTypeCreate(robj *value) {
    if (isObjectRepresentableAsLongLong(value,NULL) == REDIS_OK)
        return createIntsetObject();
    return createSetObject();
}

int setTypeAdd(robj *subject, robj *value) {
    long long llval;
    if (subject->encoding == REDIS_ENCODING_HT) {
        if (dictAdd(subject->ptr,value,NULL) == DICT_OK) {
            incrRefCount(value);
            return 1;
        }
    } else if (subject->encoding == REDIS_ENCODING_INTSET) {
        if (isObjectRepresentableAsLongLong(value,&llval) == REDIS_OK) {
            uint8_t success = 0;
            subject->ptr = intsetAdd(subject->ptr,llval,&success);
            if (success) {
                /* Convert to regular set when the intset contains
                 * too many entries. */
                if (intsetLen(subject->ptr) > server.set_max_intset_entries)
                    setTypeConvert(subject,REDIS_ENCODING_HT);
                return 1;
            }
        } else {
            /* Failed to get integer from object, convert to regular set. */
            setTypeConvert(subject,REDIS_ENCODING_HT);

            /* The set *was* an intset and this value is not integer
             * encodable, so dictAdd should always work. */
            redisAssert(dictAdd(subject->ptr,value,NULL) == DICT_OK);
            incrRefCount(value);
            return 1;
        }
    } else {
        redisPanic("Unknown set encoding");
    }
    return 0;
}

int setTypeRemove(robj *subject, robj *value) {
    long long llval;
    if (subject->encoding == REDIS_ENCODING_HT) {
        if (dictDelete(subject->ptr,value) == DICT_OK) {
            if (htNeedsResize(subject->ptr)) dictResize(subject->ptr);
            return 1;
        }
    } else if (subject->encoding == REDIS_ENCODING_INTSET) {
        if (isObjectRepresentableAsLongLong(value,&llval) == REDIS_OK) {
            uint8_t success;
            subject->ptr = intsetRemove(subject->ptr,llval,&success);
            if (success) return 1;
        }
    } else {
        redisPanic("Unknown set encoding");
    }
    return 0;
}

int setTypeIsMember(robj *subject, robj *value) {
    long long llval;
    if (subject->encoding == REDIS_ENCODING_HT) {
        return dictFind((dict*)subject->ptr,value) != NULL;
    } else if (subject->encoding == REDIS_ENCODING_INTSET) {
        if (isObjectRepresentableAsLongLong(value,&llval) == REDIS_OK) {
            return intsetFind((intset*)subject->ptr,llval);
        }
    } else {
        redisPanic("Unknown set encoding");
    }
    return 0;
}

setTypeIterator *setTypeInitIterator(robj *subject) {
    setTypeIterator *si = zmalloc(sizeof(setTypeIterator));
    si->subject = subject;
    si->encoding = subject->encoding;
    if (si->encoding == REDIS_ENCODING_HT) {
        si->di = dictGetIterator(subject->ptr);
    } else if (si->encoding == REDIS_ENCODING_INTSET) {
        si->ii = 0;
    } else {
        redisPanic("Unknown set encoding");
    }
    return si;
}

void setTypeReleaseIterator(setTypeIterator *si) {
    if (si->encoding == REDIS_ENCODING_HT)
        dictReleaseIterator(si->di);
    zfree(si);
}

/* Move to the next entry in the set. Returns the object at the current
 * position, or NULL when the end is reached. This object will have its
 * refcount incremented, so the caller needs to take care of this. */
robj *setTypeNext(setTypeIterator *si) {
    robj *ret = NULL;
    if (si->encoding == REDIS_ENCODING_HT) {
        dictEntry *de = dictNext(si->di);
        if (de != NULL) {
            ret = dictGetEntryKey(de);
            incrRefCount(ret);
        }
    } else if (si->encoding == REDIS_ENCODING_INTSET) {
        int64_t llval;
        if (intsetGet(si->subject->ptr,si->ii++,&llval))
            ret = createStringObjectFromLongLong(llval);
    }
    return ret;
}

/* Return random element from set. The returned object will always have
 * an incremented refcount. */
robj *setTypeRandomElement(robj *subject) {
    robj *ret = NULL;
    if (subject->encoding == REDIS_ENCODING_HT) {
        dictEntry *de = dictGetRandomKey(subject->ptr);
        ret = dictGetEntryKey(de);
        incrRefCount(ret);
    } else if (subject->encoding == REDIS_ENCODING_INTSET) {
        long long llval = intsetRandom(subject->ptr);
        ret = createStringObjectFromLongLong(llval);
    } else {
        redisPanic("Unknown set encoding");
    }
    return ret;
}

unsigned long setTypeSize(robj *subject) {
    if (subject->encoding == REDIS_ENCODING_HT) {
        return dictSize((dict*)subject->ptr);
    } else if (subject->encoding == REDIS_ENCODING_INTSET) {
        return intsetLen((intset*)subject->ptr);
    } else {
        redisPanic("Unknown set encoding");
    }
}

/* Convert the set to specified encoding. The resulting dict (when converting
 * to a hashtable) is presized to hold the number of elements in the original
 * set. */
void setTypeConvert(robj *subject, int enc) {
    setTypeIterator *si;
    robj *element;
    redisAssert(subject->type == REDIS_SET);

    if (enc == REDIS_ENCODING_HT) {
        dict *d = dictCreate(&setDictType,NULL);
        /* Presize the dict to avoid rehashing */
        dictExpand(d,intsetLen(subject->ptr));

        /* setTypeGet returns a robj with incremented refcount */
        si = setTypeInitIterator(subject);
        while ((element = setTypeNext(si)) != NULL)
            redisAssert(dictAdd(d,element,NULL) == DICT_OK);
        setTypeReleaseIterator(si);

        subject->encoding = REDIS_ENCODING_HT;
        zfree(subject->ptr);
        subject->ptr = d;
    } else {
        redisPanic("Unsupported set conversion");
    }
}

void saddCommand(redisClient *c) {
    robj *set;

    set = lookupKeyWrite(c->db,c->argv[1]);
    c->argv[2] = tryObjectEncoding(c->argv[2]);
    if (set == NULL) {
        set = setTypeCreate(c->argv[2]);
        dbAdd(c->db,c->argv[1],set);
    } else {
        if (set->type != REDIS_SET) {
            addReply(c,shared.wrongtypeerr);
            return;
        }
    }
    if (setTypeAdd(set,c->argv[2])) {
        touchWatchedKey(c->db,c->argv[1]);
        server.dirty++;
        addReply(c,shared.cone);
    } else {
        addReply(c,shared.czero);
    }
}

void sremCommand(redisClient *c) {
    robj *set;

    if ((set = lookupKeyWriteOrReply(c,c->argv[1],shared.czero)) == NULL ||
        checkType(c,set,REDIS_SET)) return;

    c->argv[2] = tryObjectEncoding(c->argv[2]);
    if (setTypeRemove(set,c->argv[2])) {
        if (setTypeSize(set) == 0) dbDelete(c->db,c->argv[1]);
        touchWatchedKey(c->db,c->argv[1]);
        server.dirty++;
        addReply(c,shared.cone);
    } else {
        addReply(c,shared.czero);
    }
}

void smoveCommand(redisClient *c) {
    robj *srcset, *dstset, *ele;
    srcset = lookupKeyWrite(c->db,c->argv[1]);
    dstset = lookupKeyWrite(c->db,c->argv[2]);
    ele = c->argv[3] = tryObjectEncoding(c->argv[3]);

    /* If the source key does not exist return 0 */
    if (srcset == NULL) {
        addReply(c,shared.czero);
        return;
    }

    /* If the source key has the wrong type, or the destination key
     * is set and has the wrong type, return with an error. */
    if (checkType(c,srcset,REDIS_SET) ||
        (dstset && checkType(c,dstset,REDIS_SET))) return;

    /* If srcset and dstset are equal, SMOVE is a no-op */
    if (srcset == dstset) {
        addReply(c,shared.cone);
        return;
    }

    /* If the element cannot be removed from the src set, return 0. */
    if (!setTypeRemove(srcset,ele)) {
        addReply(c,shared.czero);
        return;
    }

    /* Remove the src set from the database when empty */
    if (setTypeSize(srcset) == 0) dbDelete(c->db,c->argv[1]);
    touchWatchedKey(c->db,c->argv[1]);
    touchWatchedKey(c->db,c->argv[2]);
    server.dirty++;

    /* Create the destination set when it doesn't exist */
    if (!dstset) {
        dstset = setTypeCreate(ele);
        dbAdd(c->db,c->argv[2],dstset);
    }

    /* An extra key has changed when ele was successfully added to dstset */
    if (setTypeAdd(dstset,ele)) server.dirty++;
    addReply(c,shared.cone);
}

void sismemberCommand(redisClient *c) {
    robj *set;

    if ((set = lookupKeyReadOrReply(c,c->argv[1],shared.czero)) == NULL ||
        checkType(c,set,REDIS_SET)) return;

    c->argv[2] = tryObjectEncoding(c->argv[2]);
    if (setTypeIsMember(set,c->argv[2]))
        addReply(c,shared.cone);
    else
        addReply(c,shared.czero);
}

void scardCommand(redisClient *c) {
    robj *o;

    if ((o = lookupKeyReadOrReply(c,c->argv[1],shared.czero)) == NULL ||
        checkType(c,o,REDIS_SET)) return;

    addReplyLongLong(c,setTypeSize(o));
}

void spopCommand(redisClient *c) {
    robj *set, *ele;

    if ((set = lookupKeyWriteOrReply(c,c->argv[1],shared.nullbulk)) == NULL ||
        checkType(c,set,REDIS_SET)) return;

    ele = setTypeRandomElement(set);
    if (ele == NULL) {
        addReply(c,shared.nullbulk);
    } else {
        setTypeRemove(set,ele);
        addReplyBulk(c,ele);
        decrRefCount(ele);
        if (setTypeSize(set) == 0) dbDelete(c->db,c->argv[1]);
        touchWatchedKey(c->db,c->argv[1]);
        server.dirty++;
    }
}

void srandmemberCommand(redisClient *c) {
    robj *set, *ele;

    if ((set = lookupKeyReadOrReply(c,c->argv[1],shared.nullbulk)) == NULL ||
        checkType(c,set,REDIS_SET)) return;

    ele = setTypeRandomElement(set);
    if (ele == NULL) {
        addReply(c,shared.nullbulk);
    } else {
        addReplyBulk(c,ele);
        decrRefCount(ele);
    }
}

int qsortCompareSetsByCardinality(const void *s1, const void *s2) {
    return setTypeSize(*(robj**)s1)-setTypeSize(*(robj**)s2);
}

void sinterGenericCommand(redisClient *c, robj **setkeys, unsigned long setnum, robj *dstkey) {
    robj **sets = zmalloc(sizeof(robj*)*setnum);
    setTypeIterator *si;
    robj *ele, *dstset = NULL;
    void *replylen = NULL;
    unsigned long j, cardinality = 0;

    for (j = 0; j < setnum; j++) {
        robj *setobj = dstkey ?
            lookupKeyWrite(c->db,setkeys[j]) :
            lookupKeyRead(c->db,setkeys[j]);
        if (!setobj) {
            zfree(sets);
            if (dstkey) {
                if (dbDelete(c->db,dstkey)) {
                    touchWatchedKey(c->db,dstkey);
                    server.dirty++;
                }
                addReply(c,shared.czero);
            } else {
                addReply(c,shared.emptymultibulk);
            }
            return;
        }
        if (checkType(c,setobj,REDIS_SET)) {
            zfree(sets);
            return;
        }
        sets[j] = setobj;
    }
    /* Sort sets from the smallest to largest, this will improve our
     * algorithm's performace */
    qsort(sets,setnum,sizeof(robj*),qsortCompareSetsByCardinality);

    /* The first thing we should output is the total number of elements...
     * since this is a multi-bulk write, but at this stage we don't know
     * the intersection set size, so we use a trick, append an empty object
     * to the output list and save the pointer to later modify it with the
     * right length */
    if (!dstkey) {
        replylen = addDeferredMultiBulkLength(c);
    } else {
        /* If we have a target key where to store the resulting set
         * create this key with an empty set inside */
        dstset = createIntsetObject();
    }

    /* Iterate all the elements of the first (smallest) set, and test
     * the element against all the other sets, if at least one set does
     * not include the element it is discarded */
    si = setTypeInitIterator(sets[0]);
    while((ele = setTypeNext(si)) != NULL) {
        for (j = 1; j < setnum; j++)
            if (!setTypeIsMember(sets[j],ele)) break;

        /* Only take action when all sets contain the member */
        if (j == setnum) {
            if (!dstkey) {
                addReplyBulk(c,ele);
                cardinality++;
            } else {
                setTypeAdd(dstset,ele);
            }
        }
        decrRefCount(ele);
    }
    setTypeReleaseIterator(si);

    if (dstkey) {
        /* Store the resulting set into the target, if the intersection
         * is not an empty set. */
        dbDelete(c->db,dstkey);
        if (setTypeSize(dstset) > 0) {
            dbAdd(c->db,dstkey,dstset);
            addReplyLongLong(c,setTypeSize(dstset));
        } else {
            decrRefCount(dstset);
            addReply(c,shared.czero);
        }
        touchWatchedKey(c->db,dstkey);
        server.dirty++;
    } else {
        setDeferredMultiBulkLength(c,replylen,cardinality);
    }
    zfree(sets);
}

void sinterCommand(redisClient *c) {
    sinterGenericCommand(c,c->argv+1,c->argc-1,NULL);
}

void sinterstoreCommand(redisClient *c) {
    sinterGenericCommand(c,c->argv+2,c->argc-2,c->argv[1]);
}

#define REDIS_OP_UNION 0
#define REDIS_OP_DIFF 1
#define REDIS_OP_INTER 2

void sunionDiffGenericCommand(redisClient *c, robj **setkeys, int setnum, robj *dstkey, int op) {
    robj **sets = zmalloc(sizeof(robj*)*setnum);
    setTypeIterator *si;
    robj *ele, *dstset = NULL;
    int j, cardinality = 0;

    for (j = 0; j < setnum; j++) {
        robj *setobj = dstkey ?
            lookupKeyWrite(c->db,setkeys[j]) :
            lookupKeyRead(c->db,setkeys[j]);
        if (!setobj) {
            sets[j] = NULL;
            continue;
        }
        if (checkType(c,setobj,REDIS_SET)) {
            zfree(sets);
            return;
        }
        sets[j] = setobj;
    }

    /* We need a temp set object to store our union. If the dstkey
     * is not NULL (that is, we are inside an SUNIONSTORE operation) then
     * this set object will be the resulting object to set into the target key*/
    dstset = createIntsetObject();

    /* Iterate all the elements of all the sets, add every element a single
     * time to the result set */
    for (j = 0; j < setnum; j++) {
        if (op == REDIS_OP_DIFF && j == 0 && !sets[j]) break; /* result set is empty */
        if (!sets[j]) continue; /* non existing keys are like empty sets */

        si = setTypeInitIterator(sets[j]);
        while((ele = setTypeNext(si)) != NULL) {
            if (op == REDIS_OP_UNION || j == 0) {
                if (setTypeAdd(dstset,ele)) {
                    cardinality++;
                }
            } else if (op == REDIS_OP_DIFF) {
                if (setTypeRemove(dstset,ele)) {
                    cardinality--;
                }
            }
            decrRefCount(ele);
        }
        setTypeReleaseIterator(si);

        /* Exit when result set is empty. */
        if (op == REDIS_OP_DIFF && cardinality == 0) break;
    }

    /* Output the content of the resulting set, if not in STORE mode */
    if (!dstkey) {
        addReplyMultiBulkLen(c,cardinality);
        si = setTypeInitIterator(dstset);
        while((ele = setTypeNext(si)) != NULL) {
            addReplyBulk(c,ele);
            decrRefCount(ele);
        }
        setTypeReleaseIterator(si);
        decrRefCount(dstset);
    } else {
        /* If we have a target key where to store the resulting set
         * create this key with the result set inside */
        dbDelete(c->db,dstkey);
        if (setTypeSize(dstset) > 0) {
            dbAdd(c->db,dstkey,dstset);
            addReplyLongLong(c,setTypeSize(dstset));
        } else {
            decrRefCount(dstset);
            addReply(c,shared.czero);
        }
        touchWatchedKey(c->db,dstkey);
        server.dirty++;
    }
    zfree(sets);
}

void sunionCommand(redisClient *c) {
    sunionDiffGenericCommand(c,c->argv+1,c->argc-1,NULL,REDIS_OP_UNION);
}

void sunionstoreCommand(redisClient *c) {
    sunionDiffGenericCommand(c,c->argv+2,c->argc-2,c->argv[1],REDIS_OP_UNION);
}

void sdiffCommand(redisClient *c) {
    sunionDiffGenericCommand(c,c->argv+1,c->argc-1,NULL,REDIS_OP_DIFF);
}

void sdiffstoreCommand(redisClient *c) {
    sunionDiffGenericCommand(c,c->argv+2,c->argc-2,c->argv[1],REDIS_OP_DIFF);
}


text:
package com.adyen.v6;

import de.hybris.platform.core.Registry;
import de.hybris.platform.jalo.JaloSession;
import de.hybris.platform.util.RedeployUtilities;
import de.hybris.platform.util.Utilities;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * Demonstration of how to write a standalone application that can be run directly from within eclipse or from the
 * commandline.

 * To run this from commandline, just use the following command:

 *
 * java -jar bootstrap/bin/ybootstrap.jar "new com.adyen.v6.Adyenv6backofficeStandalone().run();"
 *  From eclipse, just run as Java Application. Note that you maybe need to add all other projects like
 * ext-commerce, ext-pim to the Launch configuration classpath.
 */
public class Adyenv6backofficeStandalone
{

	private static final Logger LOG = LoggerFactory.getLogger(Adyenv6backofficeStandalone.class);
	/**
	 * Main class to be able to run it directly as a java program.
	 *
	 * @param args
	 *           the arguments from commandline
	 */
	public static void main(final String[] args)
	{
		new Adyenv6backofficeStandalone().run();
	}

	public void run()
	{
		Registry.activateStandaloneMode();
		Registry.activateMasterTenant();

		final JaloSession jaloSession = JaloSession.getCurrentSession();
		LOG.info("Session ID: {}", jaloSession.getSessionID());
		LOG.info("User: {}", jaloSession.getUser());
		Utilities.printAppInfo();

		RedeployUtilities.shutdown();
	}
}


text:
import requests, clipboard, webbrowser

html = requests.get("http://www.twitter.com/jessemillar").text

index = html.find("Followers</span>")
followers = html[index+82:index+85]

clipboard.set("@jessemillar has " + followers + " Twitter followers.")

webbrowser.open("workflow://")


text:
local lib          = require "resty.libxl.library"
local setmetatable = setmetatable
local ffi          = require "ffi"
local ffi_new      = ffi.new

local r = ffi_new("int[1]", 0)
local g = ffi_new("int[1]", 0)
local b = ffi_new("int[1]", 0)

local color   = {}
color.__index = color

function color.new(opts)
    return setmetatable(opts, color)
end

function color:pack(r, g, b)
    return lib.xlBookColorPackA(self.context, r or 0, g or 0, b or 0)
end

function color:unpack(value)
    lib.xlBookColorUnpackA(self.context, value, r, g, b)
    return  r[0], g[0], b[0]
end

return color


text:
drop table if exists tz_test, collection_types;

create table tz_test (id int auto_increment, ts time, tltz datetime with local time zone, ttz datetime with time zone);
set timezone '+10:00';
insert into tz_test(ts, tltz, ttz) values (datetimetz'2015-9-17 2:00:00', datetimeltz'2015-9-17 2:00:00', datetimetz'2015-9-17 2:00:00 Asia/Yakutsk');

create table collection_types(a set datetime with time zone, b multiset time, c sequence datetime with local time zone);
insert into collection_types values({datetimetz'2015-9-17 12:13:14 +4:00'}, {datetimetz'2015-9-17 12:13:14 +4:00'}, {datetimeltz'2015-9-17 12:13:14 +4:00'});

set timezone 'Asia/Seoul';
--test: [er] implicit conversion from collection types to ts types
insert into tz_test(ts) values ({datetimetz'2015-9-17 12:13:14'});
insert into tz_test(ts) values ({datetimetz'2015-9-17 12:13:14 +4:00'});
insert into tz_test(ts) values ({datetimetz'2015-9-17 12:13:14 America/New_York'});
--test: [er] implicit conversion from collection types to ts types
insert into tz_test(ts) values (select a from collection_types);
insert into tz_test(ts) values (select b from collection_types);
insert into tz_test(ts) values (select c from collection_types);

--test: [er] implicit conversion from collection types to ts types
insert into tz_test(tltz) values ({datetimetz'2015-9-17 12:13:14'});
insert into tz_test(tltz) values ({datetimetz'2015-9-17 12:13:14 +4:00'});
insert into tz_test(tltz) values ({datetimetz'2015-9-17 12:13:14 America/New_York'});
--test: [er] implicit conversion from collection types to tltz types
insert into tz_test(tltz) values (select a from collection_types);
insert into tz_test(tltz) values (select b from collection_types);
insert into tz_test(tltz) values (select c from collection_types);

--test: [er] implicit conversion from collection types to ttz types
insert into tz_test(ttz) values ({datetimetz'2015-9-17 12:13:14'});
insert into tz_test(ttz) values ({datetimetz'2015-9-17 12:13:14 +4:00'});
insert into tz_test(ttz) values ({datetimetz'2015-9-17 12:13:14 America/New_York'});
--test: [er] implicit conversion from collection types to ttz types
insert into tz_test(ttz) values (select a from collection_types);
insert into tz_test(ttz) values (select b from collection_types);
insert into tz_test(ttz) values (select c from collection_types);

drop table tz_test, collection_types;

set timezone 'Asia/Seoul';


text:
package me.aartikov.alligator.animations;

import androidx.annotation.NonNull;
import androidx.annotation.StyleRes;
import androidx.fragment.app.DialogFragment;

/**
 * Dialog animation that uses a window animation style resource.
 */
public class SimpleDialogAnimation implements DialogAnimation {
	private int mWindowAnimationsStyleRes;

	/**
	 * @param windowAnimationsStyleRes window animation style resource
	 *                                 <pre>{@code For example:
	 *                                                                 <style name="SlideDialogAnimation">
	 *                                                                   <item name="android:windowEnterAnimation">@anim/slide_in_left</item>
	 *                                                                   <item name="android:windowExitAnimation">@anim/slide_out_right</item>
	 *                                                                 </style>
	 *                                                                 }</pre>
	 */
	public SimpleDialogAnimation(@StyleRes int windowAnimationsStyleRes) {
		mWindowAnimationsStyleRes = windowAnimationsStyleRes;
	}

	@Override
	public void applyBeforeShowing(@NonNull DialogFragment dialogFragment) {
	}

	@Override
	public void applyAfterShowing(@NonNull DialogFragment dialogFragment) {
		if (dialogFragment.getDialog() != null && dialogFragment.getDialog().getWindow() != null) {
			dialogFragment.getDialog().getWindow().setWindowAnimations(mWindowAnimationsStyleRes);
		}
	}
}


text:
A Python Package to generate Python Packages the way I like them. Ths is because
I could never find an actual Python project to generate these things and I hated
creating them by hand. If anyone has anything to show me, please do and I'll
immediately use that.

## Requirements

* Python 3.6 or newer with Pip

## Setup

Install the base packages

```bash
python -m pip install --upgrade pip
python -m pip install -r python-3-requirements.txt
```

Install from source:

```bash
python setup.py install
```

Or install from PyPi, if I ever get it published.

```bash
python -m pip install pypackgen
```

## Usage

Run the executable TODO

```bash
pypackgen mytestmodule
```

Providing no name will yield in the default package name. No one wants that. This should produce something similar to...

```bash
(pypackgen) ➜  mytestmodule tree .
.
├── LICENSE.md
├── python-3-requirements.txt
├── README.md
├── setup.cfg
├── setup.py
├── shovel
│   └── shovel.py
├── src
│   └── mytestmodule
│       ├── __init__.py
│       └── main.py
└── test
    └── mytestmodule
        ├── __init__.py
        └── main_test.py

5 directories, 10 files
```

## Documentation

To generate the documentation for the Python Package, use Sphinx. The commands
will be included in the shovel tasks file to make it easy. However, this does
require that GNU Make is installed.

```bash
shovel sphinx
```

## Development and Testing

I am using Setuptools to execute Pytest which then calls Pylint and pycodestyle
to perform testing. That way its all concise single points to go through. I
have also included a `Makefile` and a series of `shovel` tasks.

Make sure to fork the repository. Then create a branch of master. Then run the
tests and add more for features being added. Once satisfied, push to your Fork
and then open a Pull Request to the upstream master.

## References

* [Python Packaging Tutorial](https://packaging.python.org/tutorials/packaging-projects/)
* [Python 3 Modules and Imports](https://docs.python.org/3/tutorial/modules.html#packages)
* [Python setup.py](https://docs.python.org/3/distutils/setupscript.html)
* [Setuptools Documentation](https://setuptools.readthedocs.io/en/latest/setuptools.html)
* [NumPy DocString examples](https://sphinxcontrib-napoleon.readthedocs.io/en/latest/example_numpy.html)
* [How to create custom commands and extend existing commands](https://jichu4n.com/posts/how-to-add-custom-build-steps-and-commands-to-setuppy/)
* [PyTest Good Practices setup](http://doc.pytest.org/en/latest/goodpractices.html)


text:
require 'rbconfig'

# include helper meth
class ::Chef::Recipe
  include ::Opscode::ChefClient::Helpers
end

# libraries/helpers.rb method to DRY directory creation resources
client_bin = find_chef_client
Chef::Log.debug("Using chef-client binary at #{client_bin}")
node.default['chef_client']['bin'] = client_bin
create_chef_directories

if platform_family?('freebsd')
  directory '/etc/rc.conf.d' do
    owner 'root'
    group 'wheel'
    mode '0644'
    action :create
  end

  template '/usr/local/etc/rc.d/chef-client' do
    source 'freebsd/chef-client.erb'
    owner 'root'
    group 'wheel'
    variables client_bin: client_bin
    mode '0755'
  end

  # Remove wrong rc.d script created by an older version of cookbook
  file '/etc/rc.d/chef-client' do
    action :delete
  end

  template '/etc/rc.conf.d/chef' do
    source 'freebsd/chef.erb'
    mode '0644'
    notifies :start, 'service[chef-client]', :delayed
  end

  service 'chef-client' do
    supports status: true, restart: true
    action [:start]
  end

else
  log "You specified service style 'bsd'. You will need to set up your rc.local file. Hint: chef-client -i #{node['chef_client']['client_interval']} -s #{node['chef_client']['client_splay']}"
end


text:
package com.bitdecay.jump.leveleditor.example.game;

import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.bitdecay.jump.BitBody;
import com.bitdecay.jump.collision.ContactAdapter;
import com.bitdecay.jump.level.LevelObject;

import java.util.Arrays;
import java.util.List;

/**
 * Created by Monday on 11/22/2015.
 */
public class GravityField extends GameObject {
    @Override
    public List<BitBody> build(LevelObject template) {
        BitBody body = template.buildBody();
        body.addContactListener(new ContactAdapter() {
            @Override
            public void contactStarted(BitBody other) {
                other.props.gravityModifier = -1;
            }

            @Override
            public void contactEnded(BitBody other) {
                other.props.gravityModifier = 1;
            }
        });
        return Arrays.asList(body);
    }

    @Override
    public void update(float delta) {

    }

    @Override
    public void render(SpriteBatch batch) {

    }
}