text:
package org.kie.workbench.common.stunner.core.client.components.toolbox.actions;

import java.util.Objects;
import java.util.function.Function;
import java.util.logging.Level;
import java.util.logging.Logger;

import javax.annotation.PreDestroy;
import javax.enterprise.context.Dependent;
import javax.enterprise.event.Observes;
import javax.inject.Inject;

import org.kie.workbench.common.stunner.core.client.api.ClientFactoryManager;
import org.kie.workbench.common.stunner.core.client.canvas.AbstractCanvasHandler;
import org.kie.workbench.common.stunner.core.client.canvas.controls.builder.BuilderControl;
import org.kie.workbench.common.stunner.core.client.canvas.controls.builder.EdgeBuilderControl;
import org.kie.workbench.common.stunner.core.client.canvas.controls.builder.request.EdgeBuildRequestImpl;
import org.kie.workbench.common.stunner.core.client.canvas.event.CancelCanvasAction;
import org.kie.workbench.common.stunner.core.client.canvas.util.CanvasHighlight;
import org.kie.workbench.common.stunner.core.client.canvas.util.CanvasLayoutUtils;
import org.kie.workbench.common.stunner.core.client.command.SessionCommandManager;
import org.kie.workbench.common.stunner.core.client.components.drag.ConnectorDragProxy;
import org.kie.workbench.common.stunner.core.client.components.drag.DragProxy;
import org.kie.workbench.common.stunner.core.client.components.drag.DragProxyCallback;
import org.kie.workbench.common.stunner.core.client.i18n.ClientTranslationService;
import org.kie.workbench.common.stunner.core.client.service.ClientRuntimeError;
import org.kie.workbench.common.stunner.core.client.session.Session;
import org.kie.workbench.common.stunner.core.client.shape.factory.ShapeFactory;
import org.kie.workbench.common.stunner.core.client.shape.view.event.MouseClickEvent;
import org.kie.workbench.common.stunner.core.graph.Edge;
import org.kie.workbench.common.stunner.core.graph.Element;
import org.kie.workbench.common.stunner.core.graph.Node;
import org.kie.workbench.common.stunner.core.graph.content.view.View;
import org.kie.workbench.common.stunner.core.graph.content.view.ViewConnector;
import org.kie.workbench.common.stunner.core.graph.processing.index.bounds.GraphBoundsIndexer;
import org.kie.workbench.common.stunner.core.util.DefinitionUtils;
import org.kie.workbench.common.stunner.core.util.UUID;

/**
 * A toolbox's action which goal is to create a new connection, as from the
 * toolbox's related node, to any other candidate canvas' node.
 */
@Dependent
public class CreateConnectorToolboxAction extends AbstractToolboxAction {

    private static Logger LOGGER = Logger.getLogger(CreateConnectorToolboxAction.class.getName());
    static final String KEY_TITLE = "org.kie.workbench.common.stunner.core.client.toolbox.createNewConnector";

    private final ClientFactoryManager clientFactoryManager;
    private final GraphBoundsIndexer graphBoundsIndexer;
    private final ConnectorDragProxy<AbstractCanvasHandler> connectorDragProxyFactory;
    private final EdgeBuilderControl<AbstractCanvasHandler> edgeBuilderControl;
    private final SessionCommandManager<AbstractCanvasHandler> sessionCommandManager;
    private final Function<AbstractCanvasHandler, CanvasHighlight> canvasHighlightBuilder;

    private String edgeId;
    private CanvasHighlight canvasHighlight;
    private DragProxy<AbstractCanvasHandler, ConnectorDragProxy.Item, DragProxyCallback> dragProxy;

    @Inject
    public CreateConnectorToolboxAction(final DefinitionUtils definitionUtils,
                                        final ClientFactoryManager clientFactoryManager,
                                        final GraphBoundsIndexer graphBoundsIndexer,
                                        final ConnectorDragProxy<AbstractCanvasHandler> connectorDragProxyFactory,
                                        final EdgeBuilderControl<AbstractCanvasHandler> edgeBuilderControl,
                                        final @Session SessionCommandManager<AbstractCanvasHandler> sessionCommandManager,
                                        final ClientTranslationService translationService) {
        this(definitionUtils,
             clientFactoryManager,
             graphBoundsIndexer,
             connectorDragProxyFactory,
             edgeBuilderControl,
             sessionCommandManager,
             translationService,
             CanvasHighlight::new);
    }

    CreateConnectorToolboxAction(final DefinitionUtils definitionUtils,
                                 final ClientFactoryManager clientFactoryManager,
                                 final GraphBoundsIndexer graphBoundsIndexer,
                                 final ConnectorDragProxy<AbstractCanvasHandler> connectorDragProxyFactory,
                                 final EdgeBuilderControl<AbstractCanvasHandler> edgeBuilderControl,
                                 final @Session SessionCommandManager<AbstractCanvasHandler> sessionCommandManager,
                                 final ClientTranslationService translationService,
                                 final Function<AbstractCanvasHandler, CanvasHighlight> canvasHighlightBuilder) {
        super(definitionUtils,
              translationService);
        this.clientFactoryManager = clientFactoryManager;
        this.graphBoundsIndexer = graphBoundsIndexer;
        this.connectorDragProxyFactory = connectorDragProxyFactory;
        this.edgeBuilderControl = edgeBuilderControl;
        this.sessionCommandManager = sessionCommandManager;
        this.canvasHighlightBuilder = canvasHighlightBuilder;
    }

    public CreateConnectorToolboxAction setEdgeId(final String edgeId) {
        this.edgeId = edgeId;
        return this;
    }

    public String getEdgeId() {
        return edgeId;
    }

    @Override
    @SuppressWarnings("unchecked")
    public ToolboxAction<AbstractCanvasHandler> onMouseClick(final AbstractCanvasHandler canvasHandler,
                                                             final String uuid,
                                                             final MouseClickEvent event) {
        // Obtain the connector and source node instances for proxying.
        final Element<?> element = CanvasLayoutUtils.getElement(canvasHandler,
                                                                uuid);
        final Node<View<?>, Edge> sourceNode = (Node<View<?>, Edge>) element.asNode();
        final Edge<? extends ViewConnector<?>, Node> connector =
                (Edge<? extends ViewConnector<?>, Node>) clientFactoryManager
                        .newElement(UUID.uuid(),
                                    edgeId)
                        .asEdge();

        // Set the transient connection to the source node, for further rule evaluations.
        connector.setSourceNode(sourceNode);

        // Built and show a connector drag proxy, to check and finally set
        // candidate the target node.
        final double x = event.getX();
        final double y = event.getY();
        dragProxy = showDragProxy(canvasHandler,
                                  connector,
                                  sourceNode,
                                  (int) x,
                                  (int) y);
        return this;
    }

    protected void cancelConnector(@Observes CancelCanvasAction cancelCanvasAction) {
        if (Objects.nonNull(dragProxy)) {
            dragProxy.clear();
            dragProxy = null;
        }
    }

    @Override
    protected String getTitleKey(final AbstractCanvasHandler canvasHandler,
                                 final String uuid) {
        return KEY_TITLE;
    }

    @Override
    protected String getTitleDefinitionId(final AbstractCanvasHandler canvasHandler,
                                          final String uuid) {
        return edgeId;
    }

    @Override
    protected String getGlyphId(final AbstractCanvasHandler canvasHandler,
                                final String uuid) {
        return edgeId;
    }

    @SuppressWarnings("unchecked")
    private DragProxy<AbstractCanvasHandler, ConnectorDragProxy.Item, DragProxyCallback> showDragProxy(final AbstractCanvasHandler canvasHandler,
                                                                                final Edge<? extends ViewConnector<?>, Node> connector,
                                                                                final Node<? extends View<?>, Edge> sourceNode,
                                                                                final int x,
                                                                                final int y) {

        // Built and show the drag proxy.
        final String ssid = canvasHandler.getDiagram().getMetadata().getShapeSetId();
        final ShapeFactory shapeFactory = canvasHandler.getShapeFactory(ssid);
        final ConnectorDragProxy.Item connectorDragItem = new ConnectorDragProxy.Item() {

            @Override
            public Edge<? extends ViewConnector<?>, Node> getEdge() {
                return connector;
            }

            @Override
            public Node<? extends View<?>, Edge> getSourceNode() {
                return sourceNode;
            }

            @Override
            public ShapeFactory<?, ?> getShapeFactory() {
                return shapeFactory;
            }
        };
        return connectorDragProxyFactory
                .proxyFor(canvasHandler)
                .show(connectorDragItem,
                      x,
                      y,
                      new DragProxyCallback() {
                          @Override
                          public void onStart(final int x,
                                              final int y) {
                              start(canvasHandler);
                          }

                          @Override
                          public void onMove(final int x,
                                             final int y) {
                              final Node targetNode = graphBoundsIndexer.getAt(x,
                                                                               y);
                              final boolean allow = allow(x,
                                                          y,
                                                          connector,
                                                          sourceNode,
                                                          targetNode);
                              canvasHighlight.unhighLight();
                              if (null != targetNode && allow) {
                                  canvasHighlight.highLight(targetNode);
                              } else if (null != targetNode) {
                                  canvasHighlight.invalid(targetNode);
                              }
                          }

                          @Override
                          public void onComplete(final int x,
                                                 final int y) {
                              final Node targetNode = graphBoundsIndexer.getAt(x,
                                                                               y);
                              accept(x,
                                     y,
                                     connector,
                                     sourceNode,
                                     targetNode);
                          }
                      });
    }

    @SuppressWarnings("unchecked")
    private void start(final AbstractCanvasHandler canvasHandler) {
        canvasHighlight = canvasHighlightBuilder.apply(canvasHandler);
        graphBoundsIndexer.setRootUUID(canvasHandler.getDiagram().getMetadata().getCanvasRootUUID());
        graphBoundsIndexer.build(canvasHandler.getDiagram().getGraph());
        edgeBuilderControl.init(canvasHandler);
        edgeBuilderControl.setCommandManagerProvider(() -> sessionCommandManager);
    }

    @SuppressWarnings("unchecked")
    private boolean allow(final int x,
                          final int y,
                          final Edge<? extends ViewConnector<?>, Node> connector,
                          final Node<? extends View<?>, Edge> sourceNode,
                          final Node targetNode) {
        if (null != targetNode) {
            EdgeBuildRequestImpl buildRequest =
                    new EdgeBuildRequestImpl(x,
                                             y,
                                             connector,
                                             sourceNode,
                                             targetNode);
            return edgeBuilderControl.allows(buildRequest);
        }
        return false;
    }

    @SuppressWarnings("unchecked")
    private void accept(final int x,
                        final int y,
                        final Edge<? extends ViewConnector<?>, Node> connector,
                        final Node<? extends View<?>, Edge> sourceNode,
                        final Node targetNode) {
        if (null != targetNode) {
            EdgeBuildRequestImpl buildRequest =
                    new EdgeBuildRequestImpl(x,
                                             y,
                                             connector,
                                             sourceNode,
                                             targetNode);
            edgeBuilderControl.build(buildRequest,
                                     new BuilderControl.BuildCallback() {
                                         @Override
                                         public void onSuccess(final String uuid) {
                                             complete();
                                         }

                                         @Override
                                         public void onError(final ClientRuntimeError error) {
                                             error(error);
                                         }
                                     });
        }
    }

    private void complete() {
        edgeBuilderControl.setCommandManagerProvider(null);
        canvasHighlight.destroy();
    }

    private void error(final ClientRuntimeError error) {
        complete();
        LOGGER.log(Level.SEVERE,
                   error.toString());
    }

    CanvasHighlight getCanvasHighlight() {
        return canvasHighlight;
    }

    protected DragProxy<AbstractCanvasHandler, ConnectorDragProxy.Item, DragProxyCallback> getDragProxy() {
        return dragProxy;
    }

    @PreDestroy
    public void destroy() {
        graphBoundsIndexer.destroy();
        connectorDragProxyFactory.destroy();
        edgeBuilderControl.destroy();
        if (null != canvasHighlight) {
            canvasHighlight.destroy();
            canvasHighlight = null;
        }
        if (null != dragProxy) {
            dragProxy.destroy();
            dragProxy = null;
        }
        edgeId = null;
    }

    @Override
    public int hashCode() {
        return edgeId.hashCode();
    }

    @Override
    public boolean equals(final Object o) {
        if (o instanceof CreateConnectorToolboxAction) {
            CreateConnectorToolboxAction other = (CreateConnectorToolboxAction) o;
            return other.edgeId.equals(edgeId);
        }
        return false;
    }
}


text:
package org.kefirsf.tk;

import javax.servlet.*;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * @author kefir
 */
public class WwwFilter implements Filter {

    public static final String WWW_PREFIX = "www.";

    public void destroy() {
    }

    public void doFilter(ServletRequest req, ServletResponse resp, FilterChain chain) throws ServletException, IOException {
        if (    req instanceof HttpServletRequest &&
                resp instanceof HttpServletResponse &&
                req.getServerName() != null &&
                req.getServerName().toLowerCase().startsWith(WWW_PREFIX)) {
            HttpServletRequest request = (HttpServletRequest) req;
            HttpServletResponse response = (HttpServletResponse) resp;

            String scheme = request.getScheme();             // http
            String serverName = request.getServerName();     // hostname.com
            serverName = serverName.substring(WWW_PREFIX.length());
            int serverPort = request.getServerPort();        // 80
            String contextPath = request.getContextPath();   // /mywebapp

            // Reconstruct original requesting URL
            StringBuilder url =  new StringBuilder();
            url.append(scheme).append("://").append(serverName);

            if ((serverPort != 80) && (serverPort != 443)) {
                url.append(":").append(serverPort);
            }

            if(contextPath!=null && contextPath.length()>0){
                url.append(contextPath).append("/");
            }

            response.setStatus(HttpServletResponse.SC_MOVED_PERMANENTLY);
            response.setHeader("Location", url.toString());
        } else {
            chain.doFilter(req, resp);
        }
    }

    public void init(FilterConfig config) throws ServletException {

    }

}

redpajama_set_name: RedPajamaGithub


text:
namespace Wexflow.Core.Db.MySQL
{
    public class Approver : Core.Db.Approver
    {
        public static readonly string ColumnName_Id = "ID";
        public static readonly string ColumnName_UserId = "USER_ID";
        public static readonly string ColumnName_RecordId = "RECORD_ID";
        public static readonly string ColumnName_Approved = "APPROVED";
        public static readonly string ColumnName_ApprovedOn = "APPROVED_ON";

        public static readonly string TableStruct = "(" + ColumnName_Id + " INT NOT NULL AUTO_INCREMENT, "
                                                        + ColumnName_UserId + " INT, "
                                                        + ColumnName_RecordId + " INT, "
                                                        + ColumnName_Approved + " BIT(1), "
                                                        + ColumnName_ApprovedOn + " TIMESTAMP NULL DEFAULT NULL, CONSTRAINT " + DocumentName + "_pk PRIMARY KEY (" + ColumnName_Id + "))";

        public int Id { get; set; }

        public override string GetDbId()
        {
            return Id.ToString();
        }
    }
}


text:
Bootstrap Data Table
====================

- sorting, pagination and search for tables
- bootstrap framework is used for the styling, in the bootstrap data table css file there are only a view lines like positioning elements
- fontawesome arrow icons are used for sorting, you can choose the arrows you like the most

Preview
-------

This is how the styled example look like, if you want to have a "blank" bootstrap table and style it how you like it just remove the style.css file.

How to use
----------

Include bootstrap data table, bootstrap framework and sorting plugin & jquery to your Site

    <link href="css/vendor/bootstrap.min.css" type="text/css" rel="stylesheet">
    <link href="css/vendor/font-awesome.min.css" type="text/css" rel="stylesheet">
    <link href="css/jquery.bdt.css" type="text/css" rel="stylesheet">

Turn your table into a bootstrap data table

Available Options
-----------------

- pageRowCount / initial row count per page / default is 10
- arrowDown / font awesome arrow down icon / default is "fa-angle-down"
- arrowUp / font awesome arrow up icon / default is "fa-angle-up"

Disable sorting for several columns with the css class disable-sorting

    #ID


text:
import {group} from './_internal';

// Indexes the object's values by a criterion, similar to `groupBy`, but for
// when you know that your index values will be unique.
var _indexBy = group( (result, value, key) => {
	result[key] = value;
});

export {_indexBy as default};


text:
//A marketing company wants to keep record of its employees. Each record would have the following characteristics:

//First name
//Last name
//Age (0...100)
//Gender (m or f)
//Personal ID number (e.g. 8306112507)
//Unique employee number (27560000…27569999)
//Declare the variables needed to keep the information for a
//single employee using appropriate primitive data types. Use descriptive names. Print the data at the console.
using System;

namespace Employee_Data
{
    class Program
    {
        static void Main()
        {
            Console.Write("First name : ");
            string firstName = Console.ReadLine();
            Console.Write("Last name : ");
            string lastName = Console.ReadLine();
            Console.Write("Genger(m or f) : ");
            char genger = Console.ReadKey().KeyChar;
            Console.WriteLine();
            Console.Write("Age : ");
            byte age = byte.Parse(Console.ReadLine());
            Console.Write("Personal ID number : ");
            long id = long.Parse(Console.ReadLine());
            Console.Write("Unique employee number : ");
            long uniqueNum = long.Parse(Console.ReadLine());
            Console.WriteLine(@"Employee:           {0} {1}
                                Gender:             {2}
                                Age                 {3}
                                ID                  {4}
                                Employee Number:    {5}",firstName,lastName,genger,age,id,uniqueNum);
        }
    }
}


text:
package VisDoc::HashUtils;

use strict;
use warnings;
my $PATTERN_KEY_IS_VALUE = '
  ^									# start of string
  (\w+)								# key at index 1
  \s*\=*\s*							# =
  (.*?)								# value at index 2
  $									# end of string
  ';

=pod

mergeHashes (\%a, \%b ) -> \%merged

Merges 2 hash references.

=cut

sub mergeHashes {
    my ( $A, $B ) = @_;

    my %merged = ();
    while ( my ( $k, $v ) = each(%$A) ) {
        $merged{$k} = $v;
    }
    while ( my ( $k, $v ) = each(%$B) ) {
        $merged{$k} = $v;
    }
    return \%merged;
}

1;

# VisDoc - Code documentation generator, http://visdoc.org
# This software is licensed under the MIT License
#
# The MIT License
#
# Copyright (c) 2010-2011 Arthur Clemens, VisDoc contributors
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.


text:
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>W29164_text</title>
        <link rel="stylesheet" type="text/css" href="style.css" />

                «

    <p class="styleSans4.0000<enum PANGO_WEIGHT_NORMAL of type PangoWeight><enum PANGO_STYLE_NORMAL of type PangoStyle>">


text:
package gg.pistol.scissors.game;

import gg.pistol.scissors.player.Player;

import java.util.List;

/**
 * The official who manages the game and ensure that the rules are adhered to.
 *
 * <p>The implementations of this interface should be thread-safe.
 *
 * @author Bogdan Pistol
 */
public interface Referee {

    /**
     * Start a new game, the referee will start counting.
     *
     * @throws GameAlreadyStartedException
     */
    void startGame() throws GameAlreadyStartedException;

    /**
     * @return the current game
     */
    Game getGame();

    /**
     * Forcibly stop the current game.
     */
    void stopGame();

}


text:
// Software License for MTL
//
// Copyright (c) 2007 The Trustees of Indiana University.
//               2008 Dresden University of Technology and the Trustees of Indiana University.
//               2010 SimuNova UG (haftungsbeschränkt), www.simunova.com.
// All rights reserved.
// Authors: Peter Gottschling and Andrew Lumsdaine
//
// This file is part of the Matrix Template Library
//
// See also license.mtl.txt in the distribution.

#ifndef MTL_CROP_INCLUDE
#define MTL_CROP_INCLUDE

#include <boost/numeric/mtl/utility/enable_if.hpp>
#include <boost/numeric/mtl/interface/vpt.hpp>

namespace mtl {

    namespace vector {

	/// Remove all zero entries from a collection
	/** Does nothing for dense collections **/
	template <typename T>
	typename mtl::traits::enable_if_vector<T, T&>::type inline crop(T& x)
	{
	    vampir_trace<3006> tracer;
	    x.crop(); return x;
	}
    }

    namespace matrix {

	/// Remove all zero entries from a collection
	/** Does nothing for dense collections **/
	template <typename T>
	typename mtl::traits::enable_if_matrix<T, T&>::type inline crop(T& x)
	{
	    vampir_trace<3006> tracer;
	    x.crop(); return x;
	}
    }

    using vector::crop;
    using matrix::crop;

} // namespace mtl

#endif // MTL_CROP_INCLUDE


text:
require 'ads_common/savon_service'
require 'dfp_api/v201602/ad_rule_service_registry'

module DfpApi; module V201602; module AdRuleService
  class AdRuleService < AdsCommon::SavonService
    def initialize(config, endpoint)
      namespace = 'https://www.google.com/apis/ads/publisher/v201602'
      super(config, endpoint, namespace, :v201602)
    end

    def create_ad_rules(*args, &block)
      return execute_action('create_ad_rules', args, &block)
    end

    def create_ad_rules_to_xml(*args)
      return get_soap_xml('create_ad_rules', args)
    end

    def get_ad_rules_by_statement(*args, &block)
      return execute_action('get_ad_rules_by_statement', args, &block)
    end

    def get_ad_rules_by_statement_to_xml(*args)
      return get_soap_xml('get_ad_rules_by_statement', args)
    end

    def perform_ad_rule_action(*args, &block)
      return execute_action('perform_ad_rule_action', args, &block)
    end

    def perform_ad_rule_action_to_xml(*args)
      return get_soap_xml('perform_ad_rule_action', args)
    end

    def update_ad_rules(*args, &block)
      return execute_action('update_ad_rules', args, &block)
    end

    def update_ad_rules_to_xml(*args)
      return get_soap_xml('update_ad_rules', args)
    end

    private

    def get_service_registry()
      return AdRuleServiceRegistry
    end

    def get_module()
      return DfpApi::V201602::AdRuleService
    end
  end
end; end; end


text:
@interface LYTabBarController : UITabBarController

@end


text:
#header #headerSet:after, #footer .socialNetworks ul:after, #footer #footerMenu ul:after {
  content: " ";
  display: block;
  clear: both;
  height: 0;
  overflow: hidden;
  visibility: hidden;
}

.hide, #footer #signature .row.addressRow > strong, #footer .socialNetworks h5 {
  padding: 0 !important;
  margin: 0 !important;
  height: 0;
  width: 0;
  overflow: hidden;
  visibility: hidden;
  display: block;
  position: absolute;
}

#header #headerSet:after, #footer .socialNetworks ul:after, #footer #footerMenu ul:after {
  content: " ";
  display: block;
  clear: both;
  height: 0;
  overflow: hidden;
  visibility: hidden;
}

.hide, #footer #signature .row.addressRow > strong, #footer .socialNetworks h5 {
  padding: 0 !important;
  margin: 0 !important;
  height: 0;
  width: 0;
  overflow: hidden;
  visibility: hidden;
  display: block;
  position: absolute;
}

html {
  height: 100%;
  font: 1em/1.3 "Bitstream Vera Sans", "DejaVu Sans", "Bitstream Vera Sans", "Trebuchet MS", Verdana, "Verdana Ref", sans-serif;
}

body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, figure, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-weight: inherit;
  font-style: inherit;
  font-size: 100%;
  font-family: inherit;
  vertical-align: baseline;
}

ol, ul {
  list-style: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: "";
}

blockquote, q {
  quotes: "" "";
}

body {
  height: 100%;
  color: #212b2e;
  background-color: #ffffff;
}

/*all elements boxsizing*/
body * {
  box-sizing: border-box;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
}

input:link, input:visited, input:hover, input:active, input:focus, textarea:link, textarea:visited, textarea:hover, textarea:active, textarea:focus, button:link, button:visited, button:hover, button:active, button:focus, select:link, select:visited, select:hover, select:active, select:focus, a:link, a:visited, a:hover, a:active, a:focus {
  outline: 0;
  outline-style: none;
  -webkit-tap-highlight-color: transparent;
}

/*HTML5 tags*/
header, section, footer, aside, nav, main, article, figure {
  display: block;
}

/*Titles*/
h1 {
  font-size: 1.5em;
  font-weight: bold;
  text-transform: uppercase;
}

h2 {
  font-size: 1.25em;
  font-weight: bold;
  letter-spacing: -0.074em;
  text-transform: uppercase;
}

/*strong*/
strong {
  font-weight: bold;
}

/*readable hide*/
/*Paraghraps*/
p {
  padding-bottom: 10px;
}

/*Lists*/
/*Ordered lists*/
address {
  font-style: normal;
}

/*rulers*/
hr {
  display: none;
}

/*tables*/
/*Forms*/
input[type=text], input[type=password], select, textarea {
  left: 0;
  padding: 2px 8px 2px 8px;
  height: 30px;
  font: normal 0.875em/1 "Bitstream Vera Sans", "DejaVu Sans", "Bitstream Vera Sans", "Trebuchet MS", Verdana, "Verdana Ref", sans-serif;
  color: #000000;
  border: 1px solid #d7d7d7;
  border-radius: 4px;
  position: relative;
  background-color: #ffffff;
  -webkit-transition: background-color 450ms ease-in 0ms, border-color 450ms ease-in 0ms, box-shadow 450ms ease-in 0ms;
  transition: background-color 450ms ease-in 0ms, border-color 450ms ease-in 0ms, box-shadow 450ms ease-in 0ms;
}
input[type=text]:hover, input[type=password]:hover, select:hover, textarea:hover {
  border-color: #5e717d;
}
input[type=text]:focus, input[type=password]:focus, select:focus, textarea:focus {
  outline-style: none;
  border-color: #5e717d;
  background-color: #ffffff;
  box-shadow: 2px 2px 2px 0 rgba(0, 0, 0, 0.2);
}
input[type=text].emptyField, input[type=password].emptyField, select.emptyField, textarea.emptyField {
  color: #747474;
}

select {
  padding: 3px 26px 3px 4px;
  position: relative;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background: #ffffff url(../img/select.png) right center no-repeat;
  background-origin: border-box;
  background-size: 26px auto;
}
select::-ms-expand {
  display: none;
}
select option {
  padding: 0 8px 0 8px;
}

/*Buttons*/
.submitButton {
  margin: 0;
  padding: 0em 1.42857em 0em 1.42857em;
  width: auto;
  height: 2.14286em;
  font: normal 0.875em/1.1 "Bitstream Vera Sans", "DejaVu Sans", "Bitstream Vera Sans", "Trebuchet MS", Verdana, "Verdana Ref", sans-serif;
  text-transform: uppercase;
  color: #ffffff;
  text-decoration: none;
  border-width: 0;
  border-radius: 6px;
  outline: none;
  cursor: pointer;
  display: inline-block;
  position: relative;
  box-shadow: -1px -1px 0 0 rgba(0, 0, 0, 0.12) inset, 1px 1px 0 0 rgba(255, 255, 255, 0.2) inset;
  background-repeat: no-repeat;
  background-position: 0 0;
  -webkit-transform: scale(1);
          transform: scale(1);
  background-color: #c3c3c3;
  background-image: -webkit-linear-gradient(bottom, #9d9d9d 20%, #c3c3c3 100%);
  background-image: linear-gradient(0deg, #9d9d9d 20%, #c3c3c3 100%);
  -webkit-transition: background-color 50mx ease-in 0ms, -webkit-transform 50mx ease-in 0ms;
  transition: background-color 50mx ease-in 0ms, -webkit-transform 50mx ease-in 0ms;
  transition: background-color 50mx ease-in 0ms, transform 50mx ease-in 0ms;
  transition: background-color 50mx ease-in 0ms, transform 50mx ease-in 0ms, -webkit-transform 50mx ease-in 0ms;
  padding-top: 0.52143em;
}
.submitButton span {
  text-shadow: rgba(0, 0, 0, 0.21) -1px -1px 0;
  white-space: nowrap;
  display: inline-block;
  overflow: visible;
  visibility: visible;
}
.submitButton:hover {
  background-color: #aaaaaa;
  background-image: -webkit-linear-gradient(bottom, #838383 20%, #aaaaaa 100%);
  background-image: linear-gradient(0deg, #838383 20%, #aaaaaa 100%);
}
.submitButton:active {
  -webkit-transform: scale(0.95);
          transform: scale(0.95);
}
.submitButton:active span {
  outline-style: none;
}
.submitButton::-moz-focus-inner {
  padding: 0;
  border: 0;
}
.submitButton:link, .submitButton:visited {
  color: #ffffff;
  text-decoration: none;
}
.submitButton:hover {
  color: #ffffff;
}
.submitButton:active {
  color: #ffffff;
}
.submitButton.unactive {
  background-color: #e9e9e9;
  background-image: -webkit-linear-gradient(bottom, #c3c3c3 20%, #e9e9e9 100%);
  background-image: linear-gradient(0deg, #c3c3c3 20%, #e9e9e9 100%);
}
.submitButton.unactive:hover {
  -webkit-transform: none;
          transform: none;
}

/*Links*/
a:link {
  color: #7d2626;
}

a:visited {
  color: #7d2626;
}

a:hover, a:active {
  color: #185759;
}

/*images*/
img {
  display: block;
}

/*Clear floats*/
/*tester*/
.tester {
  margin-top: 20px;
  padding: 10px 20px 10px;
  text-align: center;
  border: 1px solid #c6c6c6;
  border-radius: 2px;
  background-color: #ececec;
}
.tester p {
  padding-bottom: 4px;
  font-size: 0.75em;
}
.tester select {
  margin-top: 6px;
  vertical-align: middle;
}
.tester .submitButton {
  margin-top: 6px;
  vertical-align: middle;
}

/*///////////////////////////////*/
/*/////////LAYOUT////////////*/
/*///////////////////////////////*/
#container {
  margin: 0 auto;
  width: 100%;
  height: 100%;
  display: table;
  table-layout: fixed;
  position: relative;
}

#header {
  margin: 0 0 0 0;
  padding: 0 0 0 0;
  width: 100%;
  height: auto;
  border-bottom: 1px solid #999c97;
  position: relative;
  z-index: 10;
}
#header #headerSet {
  margin: 0 auto;
  padding: 10px 15px 12px 15px;
  width: 100%;
  max-width: 64em;
  height: auto;
  position: relative;
}

#content {
  width: 100%;
  max-width: 64em;
  height: 100%;
  text-align: left;
  clear: both;
  z-index: 5;
  position: relative;
  display: table-row;
}

/*nav column*/
/*main*/
#main {
  margin: 0 auto;
  padding: 22px 15px 15px 15px;
  width: 100%;
  max-width: 64em;
  font-size: 1em;
  position: relative;
}

/*sideBar column*/
#footer {
  width: 100%;
  height: auto;
  position: relative;
  border-top: 1px solid #999c97;
}
#footer #footerSet {
  margin: 0 auto;
  padding: 14px 15px 10px 15px;
  width: 100%;
  max-width: 64em;
  height: auto;
  position: relative;
}

/*////////////////////////////////*/
/*////////////ELEMENTS////////////*/
/*////////////////////////////////*/
/*////////////HEADER////////////*/
#header h1 {
  font: bold 2.5em/0.9 Frutiger, "Frutiger Linotype", Univers, Calibri, "Gill Sans", "Gill Sans MT", "Myriad Pro", Myriad, "DejaVu Sans Condensed", "Liberation Sans", "Nimbus Sans L", Tahoma, Geneva, "Helvetica Neue", Helvetica, Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: -0.054em;
  word-wrap: break-word;
  -webkit-hyphens: auto;
     -moz-hyphens: auto;
      -ms-hyphens: auto;
          hyphens: auto;
}

/*////////////FOOTER////////////*/
/*top*/
/*signature*/
#footer #signature {
  padding: 26px 0 4px 4px;
  width: auto;
  height: auto;
  min-height: 49px;
  color: #21241f;
  text-align: left;
  background: transparent url(../img/logofoot_NoCSS@1x.png) 0 0 no-repeat;
  background-origin: border-box;
  background-size: 133px 23px;
}
#footer #signature .row.addressRow {
  padding: 0 0 2px 0;
  min-height: -3px;
  width: auto;
  display: table;
}
#footer #signature strong {
  font: bold 1em/1.1 "Bitstream Vera Sans", "DejaVu Sans", "Bitstream Vera Sans", "Trebuchet MS", Verdana, "Verdana Ref", sans-serif;
  display: block;
}
#footer #signature address {
  padding: 0 0 0 0;
  font: normal 0.6875em/1 "Bitstream Vera Sans", "DejaVu Sans", "Bitstream Vera Sans", "Trebuchet MS", Verdana, "Verdana Ref", sans-serif;
  color: #474d42;
  display: table-cell;
  position: relative;
}
#footer #signature a:link, #footer #signature a:visited {
  color: #21241f;
  text-decoration: none;
}
#footer #signature a:hover, #footer #signature a:active {
  color: #7d2626;
  text-decoration: underline;
}

/*social networws menu*/
#footer .socialNetworks {
  padding: 0 0 0 0;
  width: auto;
  height: auto;
  text-align: right;
  z-index: 20;
}
#footer .socialNetworks ul {
  padding: 0;
}
#footer .socialNetworks ul li {
  font-size: 1em;
  padding: 0 0 0 5px;
  float: left;
  font-size: 0;
  line-height: 0;
}
#footer .socialNetworks ul li:first-child {
  padding-left: 0;
}
#footer .socialNetworks ul a:link, #footer .socialNetworks ul a:visited {
  width: 26.33333px;
  height: 26.5px;
  border-radius: 13.16667px;
  display: block;
  text-indent: 200%;
  overflow: hidden;
  background: transparent url(../img/uMenu_snIcons.png) 0% 0 no-repeat;
  background-origin: border-box;
  background-size: 600% 200%;
}
#footer .socialNetworks ul a:active, #footer .socialNetworks ul a:hover {
  background-color: #dfbe43;
}
#footer .socialNetworks ul .linkedin a:link, #footer .socialNetworks ul .linkedin a:visited {
  background-position: 20% 0;
}
#footer .socialNetworks ul .linkedin a:hover, #footer .socialNetworks ul .linkedin a:active {
  background-position: 20% 0;
}
#footer .socialNetworks ul .codepen a:link, #footer .socialNetworks ul .codepen a:visited {
  background-position: 40% 0;
}
#footer .socialNetworks ul .codepen a:hover, #footer .socialNetworks ul .codepen a:active {
  background-position: 40% 0;
}
#footer .socialNetworks ul .stackoverflow a:link, #footer .socialNetworks ul .stackoverflow a:visited {
  background-position: 60% 0;
}
#footer .socialNetworks ul .stackoverflow a:hover, #footer .socialNetworks ul .stackoverflow a:active {
  background-position: 60% 0;
}
#footer .socialNetworks ul .behance a:link, #footer .socialNetworks ul .behance a:visited {
  background-position: 80% 0;
}
#footer .socialNetworks ul .behance a:hover, #footer .socialNetworks ul .behance a:active {
  background-position: 80% 0;
}
#footer .socialNetworks ul .resume a:link, #footer .socialNetworks ul .resume a:visited {
  background-position: 100% 0;
}
#footer .socialNetworks ul .resume a:hover, #footer .socialNetworks ul .resume a:active {
  background-position: 100% 0;
}

/*tester*/
.tester {
  margin-top: 0;
  margin-bottom: 20px;
}
.tester #bp_output {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dotted #b3b3b3;
  font-size: 0.88em;
}
.tester #bp_output strong {
  text-transform: uppercase;
}
.tester #bp_output #bp_value {
  padding: 3px 5px 3px;
  font-size: 0.78em;
  vertical-align: 0.22em;
  color: #ffffff;
  line-height: 1;
  border-radius: 3px;
  display: inline-block;
  background-color: #212b2e;
}

/*////////////LAYOUT////////////*/
/*header*/
#header {
  border-bottom-width: 40px;
}
#header #headerSet {
  padding: 30px 15px 12px 15px;
}

/*ContentSet*/
#contentSet {
  margin: 0 auto;
  padding-right: 15px;
  padding-left: 15px;
  width: 100%;
  max-width: 64em;
}

/*Main*/
#main {
  width: calc(100% - 25em);
  float: left;
}

/*nav column*/
#content #navColumn {
  padding: 22px 0 15px 0;
  width: 12.5em;
  float: left;
  z-index: 2;
}

/*sideBar column*/
#content #sideBar {
  padding: 22px 0 15px 0;
  width: 12.5em;
  float: left;
  z-index: 2;
}

#footer {
  border-top-width: 40px;
}

/*////////////HEADER////////////*/
/*main menu*/
#header #mainMenu {
  bottom: -40px;
  padding: 0 0 0 0;
  width: auto;
  height: 40px;
  z-index: 10;
  display: block;
  position: absolute;
}
#header #mainMenu ul {
  padding: 0;
  height: 40px;
  position: relative;
}
#header #mainMenu li {
  padding: 0;
  height: 40px;
  font-size: 1em;
  float: left;
  background-color: transparent;
}
#header #mainMenu li:first-child a:link, #header #mainMenu li:first-child a:visited {
  border-left: 1px solid #ffffff;
}
#header #mainMenu li a:link, #header #mainMenu li a:visited {
  padding: 0 10px 0 10px;
  height: 40px;
  font: normal 15px/1.1 "Bitstream Vera Sans", "DejaVu Sans", "Bitstream Vera Sans", "Trebuchet MS", Verdana, "Verdana Ref", sans-serif;
  letter-spacing: -0.035em;
  text-decoration: none;
  color: #ffffff;
  display: block;
  z-index: 2;
  border-right: 1px solid #ffffff;
  position: relative;
  -webkit-transition: background-color 350ms ease-in 0ms;
  transition: background-color 350ms ease-in 0ms;
}
#header #mainMenu li a:hover, #header #mainMenu li a:active {
  z-index: 10;
  background-color: rgba(0, 0, 0, 0.55);
}
#header #mainMenu li a:link strong, #header #mainMenu li a:visited strong {
  padding-top: 11.75px;
  font-weight: normal;
  display: block;
  position: relative;
}

/*header menu*/
#header #headerMenu {
  padding: 8.4px 0 0 0;
  left: 15px;
  top: 0;
  height: 30px;
  position: absolute;
  z-index: 30;
}
#header #headerMenu ul {
  padding: 0;
  position: relative;
}
#header #headerMenu li {
  padding: 0 10px 0 10px;
  font-size: 1em;
  border-right: 1px dotted #212b2e;
  float: left;
  position: relative;
}
#header #headerMenu li a:link, #header #headerMenu li a:visited {
  padding: 0;
  font: normal 12px/1.1 "Bitstream Vera Sans", "DejaVu Sans", "Bitstream Vera Sans", "Trebuchet MS", Verdana, "Verdana Ref", sans-serif;
  color: #212b2e;
  text-decoration: none;
  display: block;
  position: relative;
}
#header #headerMenu li a:hover, #header #headerMenu li a:active {
  color: #7d2626;
}
#header #headerMenu li:first-child {
  border-left: 1px dotted #212b2e;
}

/*responsive Menu (jQuery)*/
#responsiveMenu {
  right: 0;
  top: 0;
  width: 0;
  height: 100%;
  display: none;
  position: absolute;
  overflow-x: hidden;
  overflow-y: hidden;
  z-index: 10;
  background-color: #1b1b1b;
  background-image: -webkit-linear-gradient(left, #000000 0%, #1b1b1b 8px, #3a3a3a 100%);
  background-image: linear-gradient(90deg, #000000 0%, #1b1b1b 8px, #3a3a3a 100%);
}
#responsiveMenu h3, #responsiveMenu h5 {
  padding: 6px 10px 4px;
  font: normal 0.55em/1.1 "Bitstream Vera Sans", "DejaVu Sans", "Bitstream Vera Sans", "Trebuchet MS", Verdana, "Verdana Ref", sans-serif;
  text-transform: uppercase;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  background-color: #070707;
  background-image: -webkit-linear-gradient(left, #000000 0%, black 8px, #1b1b1b 100%);
  background-image: linear-gradient(90deg, #000000 0%, black 8px, #1b1b1b 100%);
}
#responsiveMenu ul {
  padding: 0;
}
#responsiveMenu li {
  padding: 0;
  font-size: 0.78em;
  line-height: 1.1;
}
#responsiveMenu li a {
  padding: 16px 15px 16px 15px;
  font-family: "Bitstream Vera Sans", "DejaVu Sans", "Bitstream Vera Sans", "Trebuchet MS", Verdana, "Verdana Ref", sans-serif;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.2);
  display: block;
}
#responsiveMenu li a:link, #responsiveMenu li a:visited {
  color: #ffffff;
  text-decoration: none;
}
#responsiveMenu li a:hover, #responsiveMenu li a:active {
  background-color: rgba(255, 255, 255, 0.3);
}
#responsiveMenu li strong {
  font-weight: normal;
}
#responsiveMenu li ul {
  background-color: lightnen(#1b1b1b, 8);
  background-image: -webkit-linear-gradient(left, #000000 0%, #282828 8px, #474747 100%);
  background-image: linear-gradient(90deg, #000000 0%, #282828 8px, #474747 100%);
}
#responsiveMenu li li {
  font-size: 0.85em;
  line-height: 1.1;
  position: relative;
}
#responsiveMenu li li a {
  padding-left: calc(0.4em + 19px);
  font-family: "Bitstream Vera Sans", "DejaVu Sans", "Bitstream Vera Sans", "Trebuchet MS", Verdana, "Verdana Ref", sans-serif;
  font-weight: normal;
  position: relative;
}
#responsiveMenu li li a:before {
  content: "";
  display: block;
  left: 15px;
  top: calc(0.35em + 16px);
  width: 0.4em;
  height: 0.4em;
  position: absolute;
  background-color: #f0f0f0;
}
#responsiveMenu #r_socialNetworks li a:link, #responsiveMenu #r_socialNetworks li a:visited {
  padding-left: calc(2.19792em + 20px);
  position: relative;
}
#responsiveMenu #r_socialNetworks li a:link:before, #responsiveMenu #r_socialNetworks li a:visited:before {
  content: "";
  left: 15px;
  top: calc(-0.54375em + 16px);
  width: 2.19792em;
  height: 2.1875em;
  border-radius: 1.09375em;
  display: block;
  text-indent: 200%;
  overflow: hidden;
  position: absolute;
  box-sizing: border-box;
  background: transparent url(../img/uMenu_snIcons.png) 0% 100% no-repeat;
  background-origin: border-box;
  background-size: 600% 200%;
}
#responsiveMenu #r_socialNetworks li a:hover:before, #responsiveMenu #r_socialNetworks li a:active:before {
  background-color: rgba(0, 0, 0, 0.5);
}
#responsiveMenu #r_socialNetworks .linkedin a:link:before, #responsiveMenu #r_socialNetworks .linkedin a:visited:before {
  background-position: 20% 100%;
}
#responsiveMenu #r_socialNetworks .linkedin a:hover:before, #responsiveMenu #r_socialNetworks .linkedin a:active:before {
  background-position: 20% 100%;
}
#responsiveMenu #r_socialNetworks .codepen a:link:before, #responsiveMenu #r_socialNetworks .codepen a:visited:before {
  background-position: 40% 100%;
}
#responsiveMenu #r_socialNetworks .codepen a:hover:before, #responsiveMenu #r_socialNetworks .codepen a:active:before {
  background-position: 40% 100%;
}
#responsiveMenu #r_socialNetworks .stackoverflow a:link:before, #responsiveMenu #r_socialNetworks .stackoverflow a:visited:before {
  background-position: 60% 100%;
}
#responsiveMenu #r_socialNetworks .stackoverflow a:hover:before, #responsiveMenu #r_socialNetworks .stackoverflow a:active:before {
  background-position: 60% 100%;
}
#responsiveMenu #r_socialNetworks .behance a:link:before, #responsiveMenu #r_socialNetworks .behance a:visited:before {
  background-position: 80% 100%;
}
#responsiveMenu #r_socialNetworks .behance a:hover:before, #responsiveMenu #r_socialNetworks .behance a:active:before {
  background-position: 80% 100%;
}
#responsiveMenu #r_socialNetworks .resume a:link:before, #responsiveMenu #r_socialNetworks .resume a:visited:before {
  background-position: 100% 100%;
}
#responsiveMenu #r_socialNetworks .resume a:hover:before, #responsiveMenu #r_socialNetworks .resume a:active:before {
  background-position: 100% 100%;
}

#rmmenu_Icon {
  right: 15px;
  top: 0;
  width: 40px;
  height: 40px;
  text-indent: 100%;
  overflow: hidden;
  position: absolute;
  z-index: 200;
  cursor: pointer;
  opacity: 0.5;
  display: none;
  background: transparent url(../img/rmmenu_Icon.png) 0% 0 no-repeat;
  background-origin: border-box;
  background-size: 400% 100%;
  -webkit-transition: opacity 350ms ease-in 0ms;
  transition: opacity 350ms ease-in 0ms;
}
#rmmenu_Icon:hover, #rmmenu_Icon:active {
  opacity: 1;
}
#rmmenu_Icon.open {
  background-position: 33.33333% 0;
}
#rmmenu_Icon.running {
  -webkit-animation: rmmenu_Icon_FX 800ms ease 0ms 1 forwards;
          animation: rmmenu_Icon_FX 800ms ease 0ms 1 forwards;
}

/*Animation - rmmenu_Icon*/
@-webkit-keyframes rmmenu_Icon_FX {
  0% {
    -webkit-transform: scale(1, 1);
            transform: scale(1, 1);
    opacity: 1;
  }
  50% {
    -webkit-transform: scale(0, 0);
            transform: scale(0, 0);
    opacity: 0.6;
  }
  100% {
    -webkit-transform: scale(1, 1);
            transform: scale(1, 1);
    opacity: 1;
  }
}
@keyframes rmmenu_Icon_FX {
  0% {
    -webkit-transform: scale(1, 1);
            transform: scale(1, 1);
    opacity: 1;
  }
  50% {
    -webkit-transform: scale(0, 0);
            transform: scale(0, 0);
    opacity: 0.6;
  }
  100% {
    -webkit-transform: scale(1, 1);
            transform: scale(1, 1);
    opacity: 1;
  }
}
/*responsive buttons*/
/*////////////MAIN////////////*/
/*////////////NAV COLUMN////////////*/
#navColumn #navMenu ul {
  padding: 0;
}
#navColumn #navMenu ul li {
  font-size: 0.88em;
  line-height: 1.1;
  border-bottom: 1px solid #ffffff;
}
#navColumn #navMenu ul li a:link, #navColumn #navMenu ul li a:visited {
  padding: 8px 10px 8px 10px;
  color: #ffffff;
  text-decoration: none;
  display: block;
  background-color: rgba(0, 0, 0, 0.55);
}
#navColumn #navMenu ul li a:hover, #navColumn #navMenu ul li a:active {
  background-color: rgba(0, 0, 0, 0.75);
}
#navColumn #navMenu li ul {
  border-top: 1px solid #ffffff;
  background-color: rgba(0, 0, 0, 0.25);
}
#navColumn #navMenu li ul li {
  border-bottom-style: dotted;
}
#navColumn #navMenu li ul li:last-child {
  border-bottom-style: none;
}
#navColumn #navMenu li ul li a:link, #navColumn #navMenu li ul li a:visited {
  padding: 6px 10px 6px 15px;
  color: #ffffff;
  text-decoration: none;
  display: block;
  background-color: rgba(0, 0, 0, 0.25);
}
#navColumn #navMenu li ul li a:hover, #navColumn #navMenu li ul li a:active {
  background-color: rgba(0, 0, 0, 0.55);
}

/*////////////SIDEBAR COLUMN////////////*/
/*////////////FOTER////////////*/
/*footer menu*/
#footer #footerMenu {
  left: 0;
  top: -40px;
  padding: 0 0 0 0;
  width: 100%;
  height: 40px;
  position: absolute;
  z-index: 10;
}
#footer #footerMenu ul {
  padding: 0 0 0 15px;
}
#footer #footerMenu li {
  padding: 12.256px 0 0 6px;
  font-size: 1em;
  float: left;
  position: relative;
}
#footer #footerMenu li:first-child {
  padding-left: 0;
}
#footer #footerMenu li a:link, #footer #footerMenu li a:visited {
  padding: 0 0 0 calc(0.38em + 2px);
  font: normal 0.88em/1.1 "Bitstream Vera Sans", "DejaVu Sans", "Bitstream Vera Sans", "Trebuchet MS", Verdana, "Verdana Ref", sans-serif;
  color: #ffffff;
  text-decoration: none;
  display: block;
  position: relative;
}
#footer #footerMenu li a:link:before, #footer #footerMenu li a:visited:before {
  content: "";
  top: 0.36em;
  left: 0;
  font-size: 1em;
  width: 0.38em;
  height: 0.38em;
  border-radius: 0.19em;
  display: block;
  position: absolute;
  background-color: #ffffff;
}
#footer #footerMenu li a:link strong, #footer #footerMenu li a:visited strong {
  font-weight: normal;
}
#footer #footerMenu li a:hover, #footer #footerMenu li a:active {
  color: #7d2626;
}
#footer #footerMenu li a:hover:before, #footer #footerMenu li a:active:before {
  background-color: #7d2626;
}

/*top*/
#footer #top {
  padding: 0;
  width: 34px;
  height: 34px;
  right: 15px;
  top: -37px;
  text-indent: 200%;
  position: absolute;
  z-index: 20;
  overflow: hidden;
  white-space: nowrap;
}
#footer #top a:link, #footer #top a:visited {
  left: 0;
  top: 0;
  width: 34px;
  height: 34px;
  border-radius: 17px;
  border: 3px solid #ffffff;
  display: block;
  position: absolute;
  background: #2e2e2e url(../img/btt_arriba.png) 0 0 no-repeat;
  background-origin: border-box;
  background-size: 100% auto;
}
#footer #top a:hover, #footer #top a:active {
  background-color: #dbb833;
}

/*//////////////////////////////////////*/
/*/////////MEDIA QUERIES////////////*/
/*//////////////////////////////////////*/
#x-small {
  left: 0;
  top: 0;
  font-size: 0;
  line-height: 0;
  overflow: hidden;
  visibility: hidden;
  display: none;
  z-index: 100;
  position: absolute;
}

#small {
  left: 0;
  top: 0;
  font-size: 0;
  line-height: 0;
  overflow: hidden;
  visibility: hidden;
  display: none;
  z-index: 100;
  position: absolute;
}

#medium {
  left: 0;
  top: 0;
  font-size: 0;
  line-height: 0;
  overflow: hidden;
  visibility: hidden;
  display: none;
  z-index: 100;
  position: absolute;
}

#large {
  left: 0;
  top: 0;
  font-size: 0;
  line-height: 0;
  overflow: hidden;
  visibility: hidden;
  display: none;
  z-index: 100;
  position: absolute;
}

@media (min-width: 60.875em) {
  #large {
    visibility: visible;
  }

  html {
    font-size: 100%;
  }

  /*///////////////////////////////*/
  /*/////////LAYOUT////////////*/
  /*///////////////////////////////*/
  /*////////////HEADER////////////*/
  /*////////////MAIN////////////*/
  /*////////////NAV COLUMN////////////*/
  /*////////////SIDEBAR COLUMN////////////*/
  /*////////////FOTER////////////*/
}
@media (min-width: 53.125em) and (max-width: 60.8125em) {
  #medium {
    visibility: visible;
  }

  html {
    font-size: 16px;
  }

  /*///////////////////////////////*/
  /*/////////LAYOUT////////////*/
  /*///////////////////////////////*/
  /*////////////HEADER////////////*/
  /*////////////MAIN////////////*/
  /*////////////NAV COLUMN////////////*/
  /*////////////SIDEBAR COLUMN////////////*/
  /*////////////FOTER////////////*/
}
@media (min-width: 33.125em) and (max-width: 53.0625em) {
  #small {
    visibility: visible;
  }

  html {
    font-size: 16px;
  }

  body {
    outline: transparent solid 0;
    overflow-x: hidden;
  }

  /*///////////////////////////////*/
  /*/////////LAYOUT////////////*/
  /*///////////////////////////////*/
  /*header*/
  #header {
    border-bottom-width: 1px;
  }
  #header #headerSet {
    padding: 10px 15px 12px 15px;
  }

  /*ContentSet*/
  #contentSet {
    padding-bottom: 30px;
  }

  /*Main*/
  #main {
    padding-right: 0;
    padding-left: 0;
    width: 100%;
    float: none;
  }

  /*nav column*/
  #content #navColumn {
    padding: 0 !important;
    margin: 0 !important;
    height: 0;
    width: 0;
    overflow: hidden;
    visibility: hidden;
    display: block;
    position: absolute;
  }

  /*sideBar column*/
  #content #sideBar {
    padding-right: 0;
    padding-left: 0;
    width: 100%;
    float: none;
    border-top: 1px solid #b3b3b3;
  }

  #footer {
    border-top-width: 1px;
  }

  /*////////////HEADER////////////*/
  /*responsive Menu (jQuery)*/
  /*responsive icons*/
  #rmmenu_Icon {
    top: 10px;
    display: block;
  }

  /*////////////MAIN////////////*/
  /*////////////NAV COLUMN////////////*/
  /*////////////SIDEBAR COLUMN////////////*/
  /*////////////FOTER////////////*/
}
@media (max-width: 33.0625em) {
  #x-small {
    visibility: visible;
  }

  html {
    font-size: 16px;
  }

  body {
    outline: transparent solid 0;
    overflow-x: hidden;
  }

  /*///////////////////////////////*/
  /*/////////LAYOUT////////////*/
  /*///////////////////////////////*/
  /*header*/
  #header {
    border-bottom-width: 1px;
  }
  #header #headerSet {
    padding: 10px 65px 12px 15px;
  }

  /*ContentSet*/
  #contentSet {
    padding-bottom: 30px;
  }

  /*Main*/
  #main {
    padding-right: 0;
    padding-left: 0;
    width: 100%;
    float: none;
  }

  /*nav column*/
  #content #navColumn {
    padding: 0 !important;
    margin: 0 !important;
    height: 0;
    width: 0;
    overflow: hidden;
    visibility: hidden;
    display: block;
    position: absolute;
  }

  /*sideBar column*/
  #content #sideBar {
    padding-right: 0;
    padding-left: 0;
    width: 100%;
    float: none;
    border-top: 1px solid #b3b3b3;
  }

  #footer {
    border-top-width: 1px;
  }

  /*////////////HEADER////////////*/
  /*responsive Menu (jQuery)*/
  /*responsive icons*/
  #rmmenu_Icon {
    top: 10px;
    display: block;
  }

  /*////////////MAIN////////////*/
  /*////////////NAV COLUMN////////////*/
  /*////////////SIDEBAR COLUMN////////////*/
  /*////////////FOTER////////////*/
}


text:
'use strict';

/**
 * Schema of the Data property of an EventGridEvent for an
 * Microsoft.AppConfiguration.KeyValueModified event.
 *
 */
class AppConfigurationKeyValueModifiedEventData {
  /**
   * Create a AppConfigurationKeyValueModifiedEventData.
   * @member {string} [key] The key used to identify the key-value that was
   * modified.
   * @member {string} [label] The label, if any, used to identify the key-value
   * that was modified.
   * @member {string} [etag] The etag representing the new state of the
   * key-value.
   */
  constructor() {
  }

  /**
   * Defines the metadata of AppConfigurationKeyValueModifiedEventData
   *
   * @returns {object} metadata of AppConfigurationKeyValueModifiedEventData
   *
   */
  mapper() {
    return {
      required: false,
      serializedName: 'AppConfigurationKeyValueModifiedEventData',
      type: {
        name: 'Composite',
        className: 'AppConfigurationKeyValueModifiedEventData',
        modelProperties: {
          key: {
            required: false,
            serializedName: 'key',
            type: {
              name: 'String'
            }
          },
          label: {
            required: false,
            serializedName: 'label',
            type: {
              name: 'String'
            }
          },
          etag: {
            required: false,
            serializedName: 'etag',
            type: {
              name: 'String'
            }
          }
        }
      }
    };
  }
}

module.exports = AppConfigurationKeyValueModifiedEventData;


text:
require 'money_conversion/configuration'
require 'money_conversion/version'
require 'money_conversion/errors'
require 'money_conversion/operator'
require 'money_conversion/comparator'
require 'money_conversion/converter'
require 'money_conversion/validator'
require 'money'

module MoneyConversion
  def self.configuration
    @configuration ||= Configuration.new
  end

  def self.configure
    yield(configuration)
  end
end


text:
<?php
namespace Faker\Components\Engine\Common\Composite;

use Symfony\Component\EventDispatcher\EventDispatcherInterface;

/**
  *  Basic Implementation of a Table Node this will be
  *  subclassed by the DB and XML Engines which implement GeneratorInterface and
  *  VisitorInterface.
  *
  *  @author Lewis Dyer <getintouch@icomefromthenet.com>
  *  @since 1.0.4
  */
class TableNode implements CompositeInterface
{
    /**
      *  @var  CompositeInterface
      */
    protected $parentNode;

    /**
      *  @var array[CompositeInterface]
      */
    protected $children = array();

    /**
      *  @var  Symfony\Component\EventDispatcher\EventDispatcherInterface
      */
    protected $event;

    /**
      *  @var string the nodes id
      */
    protected $id;

    /**
      *  Class Constructor
      *
      *  @param string $id the nodes id
      */
    public function __construct($id,EventDispatcherInterface $event)
    {
        $this->id       = $id;
        $this->children = array();
        $this->event    = $event;
    }

    //------------------------------------------------------------------
    # Composite Interface

    public function getEventDispatcher()
    {
        return $this->event;
    }

    public function setEventDispatcher(EventDispatcherInterface $event)
    {
        $this->event = $event;
    }

    public function validate()
    {
        $children = $this->getChildren();
        $id       = $this->getId();

        if(empty($id)) {
            throw new CompositeException($this,'Table must have a name');
        }

        if(count($children) === 0) {
            throw new CompositeException($this,'Table must have at least 1 column');
        }

        foreach($children as $child) {
            $child->validate();
        }

        return true;
    }

    public function getParent()
    {
        return $this->parentNode;
    }

    public function setParent(CompositeInterface $parent)
    {
        $this->parentNode = $parent;
    }

    public function getChildren()
    {
        return $this->children;
    }

    public function clearChildren()
    {
        $this->children = null;
        $this->children = array();
    }

    public function addChild(CompositeInterface $child)
    {
        $this->children[] = $child;
        $child->setParent($this);
    }

    public function getId()
    {
        return $this->id;
    }

}
/* End of File */


text:
@interface KSCrashReportSinkQuincy ()

@property(nonatomic, readwrite, retain) NSString* userIDKey;
@property(nonatomic, readwrite, retain) NSString* userNameKey;
@property(nonatomic, readwrite, retain) NSString* contactEmailKey;
@property(nonatomic, readwrite, retain) NSArray* crashDescriptionKeys;
@property(nonatomic,readwrite,retain) NSURL* url;
@property(nonatomic,readwrite,retain) KSReachableOperationKSCrash* reachableOperation;

@end

@implementation KSCrashReportSinkQuincy

@synthesize url = _url;
@synthesize userIDKey = _userIDKey;
@synthesize userNameKey = _userNameKey;
@synthesize contactEmailKey = _contactEmailKey;
@synthesize crashDescriptionKeys = _crashDescriptionKeys;
@synthesize reachableOperation = _reachableOperation;
@synthesize waitUntilReachable = _waitUntilReachable;

+ (KSCrashReportSinkQuincy*) sinkWithURL:(NSURL*) url
                               userIDKey:(NSString*) userIDKey
                             userNameKey:(NSString*) userNameKey
                         contactEmailKey:(NSString*) contactEmailKey
                    crashDescriptionKeys:(NSArray*) crashDescriptionKeys
{
    return [[self alloc] initWithURL:url
                           userIDKey:userIDKey
                         userNameKey:userNameKey
                     contactEmailKey:contactEmailKey
                crashDescriptionKeys:crashDescriptionKeys];
}

- (id) initWithURL:(NSURL*) url
         userIDKey:(NSString*) userIDKey
       userNameKey:(NSString*) userNameKey
   contactEmailKey:(NSString*) contactEmailKey
crashDescriptionKeys:(NSArray*) crashDescriptionKeys
{
    if((self = [super init]))
    {
        self.url = url;
        self.userIDKey = userIDKey;
        self.userNameKey = userNameKey;
        self.contactEmailKey = contactEmailKey;
        self.crashDescriptionKeys = crashDescriptionKeys;
        self.waitUntilReachable = YES;
    }
    return self;
}

- (id <KSCrashReportFilter>) defaultCrashReportFilterSet
{
    return [KSCrashReportFilterPipeline filterWithFilters:
            [KSCrashReportFilterCombine filterWithFiltersAndKeys:
             [KSCrashReportFilterPassthrough filter],
             kFilterKeyStandard,
             [KSCrashReportFilterAppleFmt filterWithReportStyle:KSAppleReportStyleSymbolicatedSideBySide],
             kFilterKeyApple,
             nil],
            self,
            nil];
}

- (NSString*) cdataEscaped:(NSString*) string
{
    return [string stringByReplacingOccurrencesOfString:@"]]>"
                                             withString:@"]]" @"]]><![CDATA[" @">"
                                                options:NSLiteralSearch
                                                  range:NSMakeRange(0,string.length)];
}

- (NSString*) blankForNil:(NSString*) string
{
    return string == nil ? @"" : string;
}

- (NSString*) descriptionForReport:(NSDictionary*) report keys:(NSArray*) keys
{
    NSMutableString* str = [NSMutableString string];
    NSUInteger count = [keys count];
    for(NSUInteger i = 0; i < count; i++)
    {
        NSString* stringValue = nil;
        NSString* key = [keys objectAtIndex:i];
        id value = [report objectForKeyPath:key];
        if([value isKindOfClass:[NSString class]])
        {
            stringValue = value;
        }
        else if([value isKindOfClass:[NSDictionary class]] || [value isKindOfClass:[NSArray class]])
        {
            NSError* error = nil;
            NSData* encoded = [KSJSONCodec encode:value options:KSJSONEncodeOptionSorted | KSJSONEncodeOptionPretty error:&error];
            if(error != nil)
            {
                KSLOG_ERROR(@"Could not encode report section %@: %@", key, error);
                continue;
            }
            stringValue = [[NSString alloc] initWithData:encoded encoding:NSUTF8StringEncoding];
        }
        else if(value == nil)
        {
            KSLOG_WARN(@"Report section %@ not found", key);
        }
        else
        {
            KSLOG_ERROR(@"Could not encode report section %@: Don't know how to encode class %@", key, [value class]);
        }
        if(stringValue != nil)
        {
            if(i > 0)
            {
                [str appendString:@"\n\n"];
            }
            [str appendFormat:@"%@:\n", key];
            [str appendString:stringValue];
        }
    }
    return str;
}

- (NSString*) quincyInstallUUID
{
    static NSString *installUUID = nil;
    static dispatch_once_t predicate;

    dispatch_once(&predicate,
    ^{
        NSString *priorValue = [[NSUserDefaults standardUserDefaults] stringForKey:kQuincyUUIDUserDefault];
        if (priorValue)
        {
            installUUID = priorValue;
        }
        else
        {
            CFUUIDRef uuidObj = CFUUIDCreate(NULL);
            installUUID = (NSString*) CFBridgingRelease(CFUUIDCreateString(NULL, uuidObj));
            CFRelease(uuidObj);
            [[NSUserDefaults standardUserDefaults] setObject:installUUID forKey:kQuincyUUIDUserDefault];
            [[NSUserDefaults standardUserDefaults] synchronize];
        }
    });

    return installUUID;
}

- (NSString*) quincyArchFromCpuType:(cpu_type_t)cpuType cpuSubType:(cpu_subtype_t)cpuSubType
{
    NSString *arch = @"???";

    switch (cpuType)
    {
        case CPU_TYPE_ARM:
            switch (cpuSubType)
            {
                case CPU_SUBTYPE_ARM_V6:
                    arch = @"armv6";
                    break;

                case CPU_SUBTYPE_ARM_V7:
                    arch = @"armv7";
                    break;

                case CPU_SUBTYPE_ARM_V7S:
                    arch = @"armv7s";
                    break;

                default:
                    arch = @"arm-unknown";
                    break;
            }
            break;

#ifdef CPU_TYPE_ARM64
        case CPU_TYPE_ARM64:
            switch (cpuSubType)
            {
                case CPU_SUBTYPE_ARM_ALL:
                    arch = @"arm64";
                    break;

#ifdef CPU_SUBTYPE_ARM_V8
                case CPU_SUBTYPE_ARM_V8:
                    arch = @"arm64";
                    break;
#endif

                default:
                    arch = @"arm64-unknown";
                    break;
            }
            break;
#endif

        case CPU_TYPE_X86:
            arch = @"i386";
            break;

        case CPU_TYPE_X86_64:
            arch = @"x86_64";
            break;

        case CPU_TYPE_POWERPC:
            arch = @"powerpc";
            break;
    }

    return arch;
}

- (NSString*) uuidsFromReport:(NSDictionary*) standardReport
{
    NSMutableString* uuidString = [NSMutableString string];
    NSArray* binaryImages = [standardReport objectForKey:@KSCrashField_BinaryImages];
    if(binaryImages == nil)
    {
        return @"";
    }

    NSDictionary* systemInfo = [standardReport objectForKey:@KSCrashField_System];
    NSString* processPath = [systemInfo objectForKey:@KSCrashField_ExecutablePath];
    NSString* appContainerPath = [[processPath stringByDeletingLastPathComponent] stringByDeletingLastPathComponent];

    for(NSDictionary* image in binaryImages)
    {
        NSString* imagePath = [[image objectForKey:@KSCrashField_Name] stringByStandardizingPath];
        NSString* imageType;
        if(processPath && [imagePath isEqualToString:processPath])
        {
            imageType = @"app";
        }
        else if(appContainerPath && [imagePath hasPrefix:appContainerPath])
        {
            imageType = @"framework";
        }
        else
        {
            // Only include the UUID information for the app binary or frameworks contained in
            // the app.
            continue;
        }

        NSString* uuid = [image objectForKey:@KSCrashField_UUID];
        if(uuid == nil)
        {
            uuid = @"???";
        }
        else
        {
            uuid = [[uuid lowercaseString] stringByReplacingOccurrencesOfString:@"-" withString:@""];
        }
        cpu_type_t cpuType = [[image objectForKey:@KSCrashField_CPUType] intValue];
        cpu_subtype_t cpuSubType = [[image objectForKey:@KSCrashField_CPUSubType] intValue];
        NSString* arch = [self quincyArchFromCpuType:cpuType cpuSubType:cpuSubType];
        [uuidString appendFormat:@"<uuid type=\"%@\" arch=\"%@\">%@</uuid>", imageType, arch, uuid];
    }

    return uuidString;
}

- (NSString*) toQuincyFormat:(NSDictionary*) reportTuple
{
    NSDictionary* report = [reportTuple objectForKey:kFilterKeyStandard];
    NSString* appleReport = [reportTuple objectForKey:kFilterKeyApple];
    NSDictionary* systemDict = [report objectForKey:@KSCrashField_System];
    NSString* userID = self.userIDKey == nil ? nil : [self blankForNil:[report objectForKeyPath:self.userIDKey]];
    NSString* userName = self.userNameKey == nil ? nil : [self blankForNil:[report objectForKeyPath:self.userNameKey]];
    NSString* contactEmail = self.contactEmailKey == nil ? nil : [self blankForNil:[report objectForKeyPath:self.contactEmailKey]];
    NSString* crashReportDescription = [self.crashDescriptionKeys count] == 0 ? nil : [self descriptionForReport:report keys:self.crashDescriptionKeys];
    NSString* uuids = [self uuidsFromReport:report];
    NSDictionary* reportInfo = [report objectForKey:@KSCrashField_Report];

    NSString* result = [NSString stringWithFormat:
                        @"\n    <crash>\n"
                        @"        <applicationname>%@</applicationname>\n"
                        @"        <uuids>\n"
                        @"          %@\n"
                        @"        </uuids>\n"
                        @"        <bundleidentifier>%@</bundleidentifier>\n"
                        @"        <systemversion>%@</systemversion>\n"
                        @"        <platform>%@</platform>\n"
                        @"        <senderversion>%@</senderversion>\n"
                        @"        <version>%@</version>\n"
                        @"        <uuid>%@</uuid>\n"
                        @"        <log><![CDATA[%@]]></log>\n"
                        @"        <userid>%@</userid>\n"
                        @"        <username>%@</username>\n"
                        @"        <contact>%@</contact>\n"
                        @"        <installstring>%@</installstring>\n"
                        @"        <description><![CDATA[%@]]></description>\n"
                        @"    </crash>",
                        [systemDict objectForKey:@"CFBundleExecutable"],
                        uuids,
                        [systemDict objectForKey:@"CFBundleIdentifier"],
                        [systemDict objectForKey:@"system_version"],
                        [systemDict objectForKey:@"machine"],
                        [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleVersion"],
                        [systemDict objectForKey:@"CFBundleVersion"],
                        [reportInfo objectForKey:@KSCrashField_ID],
                        [self cdataEscaped:appleReport],
                        userID,
                        userName,
                        contactEmail,
                        [self quincyInstallUUID],
                        [self cdataEscaped:crashReportDescription]];
    return result;
}

- (NSData*) toQuincyBody:(NSArray*) reports
{
    NSMutableString* xmlString = [NSMutableString stringWithString:@"<crashes>"];

    for(NSDictionary* report in reports)
    {
        NSString* reportString = [self toQuincyFormat:report];
        [xmlString appendString:reportString];
    }
    [xmlString appendString:@"</crashes>"];

    return [xmlString dataUsingEncoding:NSUTF8StringEncoding];
}

- (void) filterReports:(NSArray*) reports
              bodyName:(NSString*) bodyName
       bodyContentType:(NSString*) bodyContentType
          bodyFilename:(NSString*) bodyFilename
          onCompletion:(KSCrashReportFilterCompletion) onCompletion
{
    if(self.url == nil)
    {
        if(onCompletion != nil)
        {
            onCompletion(reports, NO, [NSError errorWithDomain:[[self class] description]
                                                          code:0
                                                   description:@"url was nil"]);
        }
        return;
    }

    NSMutableURLRequest* request = [NSMutableURLRequest requestWithURL:self.url
                                                           cachePolicy:NSURLRequestReloadIgnoringLocalCacheData
                                                       timeoutInterval:15];

    KSHTTPMultipartPostBody* body = [KSHTTPMultipartPostBody body];

    [body appendData:[self toQuincyBody:reports]
                name:bodyName
         contentType:bodyContentType
            filename:bodyFilename];

    request.cachePolicy = NSURLRequestReloadIgnoringLocalCacheData;
    request.timeoutInterval = 15;
    request.HTTPMethod = @"POST";
    request.HTTPBody = [body data];
    [request setValue:@"Quincy/iOS" forHTTPHeaderField:@"User-Agent"];
    [request setValue:@"gzip" forHTTPHeaderField:@"Accept-Encoding"];
    [request setValue:body.contentType forHTTPHeaderField:@"Content-type"];

    dispatch_block_t sendOperation = ^
    {
        KSLOG_TRACE(@"Sending request to %@", request.URL);
        [[KSHTTPRequestSender sender] sendRequest:request
                                        onSuccess:^(__unused NSHTTPURLResponse* response,
                                                    __unused NSData* data)
         {
             KSLOG_DEBUG(@"Post successful");
             kscrash_callCompletion(onCompletion, reports, YES, nil);
         } onFailure:^(NSHTTPURLResponse* response, NSData* data)
         {
             NSString* text = [[NSString alloc] initWithData:data encoding:NSUTF8StringEncoding];
             KSLOG_DEBUG(@"Post failed. Code %d", response.statusCode);
             KSLOG_TRACE(@"Response text:\n%@", text);
             kscrash_callCompletion(onCompletion, reports, NO,
                                      [NSError errorWithDomain:[[self class] description]
                                                          code:response.statusCode
                                                   description:text]);
         } onError:^(NSError* error)
         {
             KSLOG_DEBUG(@"Posting error: %@", error);
             kscrash_callCompletion(onCompletion, reports, NO, error);
         }];
    };

    if(self.waitUntilReachable)
    {
        KSLOG_TRACE(@"Starting reachable operation to host %@", [self.url host]);
        self.reachableOperation = [KSReachableOperationKSCrash operationWithHost:[self.url host]
                                                                       allowWWAN:YES
                                                                           block:sendOperation];
    }
    else
    {
        sendOperation();
    }
}

- (void) filterReports:(NSArray*) reports
          onCompletion:(KSCrashReportFilterCompletion) onCompletion
{
    [self filterReports:reports
               bodyName:@"xmlstring"
        bodyContentType:nil
           bodyFilename:nil
           onCompletion:onCompletion];
}

@end

@interface KSCrashReportSinkHockey ()

@property(nonatomic,readwrite,retain) NSString* appIdentifier;

@end

@implementation KSCrashReportSinkHockey

@synthesize appIdentifier = _appIdentifier;

+ (KSCrashReportSinkHockey*) sinkWithAppIdentifier:(NSString*) appIdentifier
                                         userIDKey:(NSString*) userIDKey
                                       userNameKey:(NSString*) userNameKey
                                   contactEmailKey:(NSString*) contactEmailKey
                              crashDescriptionKeys:(NSArray*) crashDescriptionKeys
{
    return [[self alloc] initWithAppIdentifier:appIdentifier
                                     userIDKey:userIDKey
                                   userNameKey:userNameKey
                               contactEmailKey:contactEmailKey
                          crashDescriptionKeys:crashDescriptionKeys];
}

- (id) initWithAppIdentifier:(NSString*) appIdentifier
                   userIDKey:(NSString*) userIDKey
                 userNameKey:(NSString*) userNameKey
             contactEmailKey:(NSString*) contactEmailKey
        crashDescriptionKeys:(NSArray*) crashDescriptionKeys
{
    if((self = [super initWithURL:[self urlWithAppIdentifier:appIdentifier]
                        userIDKey:userIDKey
                      userNameKey:userNameKey
                  contactEmailKey:contactEmailKey
             crashDescriptionKeys:crashDescriptionKeys]))
    {
        self.appIdentifier = appIdentifier;
    }
    return self;
}

- (void) filterReports:(NSArray*) reports
          onCompletion:(KSCrashReportFilterCompletion) onCompletion
{
    if(self.appIdentifier == nil)
    {
        if(onCompletion != nil)
        {
            onCompletion(reports, NO, [NSError errorWithDomain:[[self class] description]
                                                          code:0
                                                   description:@"appIdentifier was nil"]);
        }
        return;
    }

    [self filterReports:reports
               bodyName:@"xml"
        bodyContentType:@"text/xml"
           bodyFilename:@"crash.xml"
           onCompletion:onCompletion];
}

- (NSURL*) urlWithAppIdentifier:(NSString*) appIdentifier
{
    NSString* urlString = [NSString stringWithFormat:@"https://sdk.hockeyapp.net/api/2/apps/%@/crashes",
                           [appIdentifier URLEncoded]];
    return [NSURL URLWithString:urlString];
}

@end


text:
require 'rails_helper'

RSpec.describe Peoplefinder::MembershipsController, type: :controller do
  routes { Peoplefinder::Engine.routes }

  before do
    mock_logged_in_user
  end

  describe 'DELETE destroy' do
    let(:membership) { create(:membership) }

    it 'deletes the record' do
      delete :destroy, id: membership.to_param, referer: people_path
      expect {
        Peoplefinder::Membership.find(membership)
      }.to raise_error(ActiveRecord::RecordNotFound)
    end

    it 'redirects to the referer' do
      delete :destroy, id: membership.to_param, referer: people_path
      expect(response).to redirect_to(people_path)
    end
  end
end


text:
'use strict';

var compressions = require('../compressions');
var ZipFileWorker = require('./ZipFileWorker');

/**
 * Find the compression to use.
 * @param {String} fileCompression the compression defined at the file level, if any.
 * @param {String} zipCompression the compression defined at the load() level.
 * @return {Object} the compression object to use.
 */
var getCompression = function (fileCompression, zipCompression) {

    var compressionName = fileCompression || zipCompression;
    var compression = compressions[compressionName];
    if (!compression) {
        throw new Error(compressionName + " is not a valid compression method !");
    }
    return compression;
};

/**
 * Create a worker to generate a zip file.
 * @param {JSZip} zip the JSZip instance at the right root level.
 * @param {Object} options to generate the zip file.
 * @param {String} comment the comment to use.
 */
exports.generateWorker = function (zip, options, comment) {

    var zipFileWorker = new ZipFileWorker(options.streamFiles, comment, options.platform, options.encodeFileName);
    var entriesCount = 0;
    try {

        zip.forEach(function (relativePath, file) {
            entriesCount++;
            var compression = getCompression(file.options.compression, options.compression);
            var compressionOptions = file.options.compressionOptions || options.compressionOptions || {};
            var dir = file.dir, date = file.date;

            file._compressWorker(compression, compressionOptions)
            .withStreamInfo("file", {
                name : relativePath,
                dir : dir,
                date : date,
                comment : file.comment || "",
                unixPermissions : file.unixPermissions,
                dosPermissions : file.dosPermissions
            })
            .pipe(zipFileWorker);
        });
        zipFileWorker.entriesCount = entriesCount;
    } catch (e) {
        zipFileWorker.error(e);
    }

    return zipFileWorker;
};


text:
*> \brief \b CHESV_ROOK computes the solution to a system of linear equations A * X = B for HE matrices using the bounded Bunch-Kaufman ("rook") diagonal pivoting method
*
*  =========== DOCUMENTATION ===========
*
* Online html documentation available at
*            http://www.netlib.org/lapack/explore-html/
*
*> \htmlonly
*> Download CHESV_ROOK + dependencies
*>
*> [TGZ]
*>
*> [ZIP]
*>
*> [TXT]
*> \endhtmlonly
*
*  Definition:
*  ===========
*
*       SUBROUTINE CHESV_ROOK( UPLO, N, NRHS, A, LDA, IPIV, B, LDB, WORK,
*                              LWORK, INFO )
*
*       .. Scalar Arguments ..
*       CHARACTER          UPLO
*       INTEGER            INFO, LDA, LDB, LWORK, N, NRHS
*       ..
*       .. Array Arguments ..
*       INTEGER            IPIV( * )
*       COMPLEX            A( LDA, * ), B( LDB, * ), WORK( * )
*       ..
*
*
*> \par Purpose:
*  =============
*>
*> \verbatim
*>
*> CHESV_ROOK computes the solution to a complex system of linear equations
*>    A * X = B,
*> where A is an N-by-N Hermitian matrix and X and B are N-by-NRHS
*> matrices.
*>
*> The bounded Bunch-Kaufman ("rook") diagonal pivoting method is used
*> to factor A as
*>    A = U * D * U**T,  if UPLO = 'U', or
*>    A = L * D * L**T,  if UPLO = 'L',
*> where U (or L) is a product of permutation and unit upper (lower)
*> triangular matrices, and D is Hermitian and block diagonal with
*> 1-by-1 and 2-by-2 diagonal blocks.
*>
*> CHETRF_ROOK is called to compute the factorization of a complex
*> Hermition matrix A using the bounded Bunch-Kaufman ("rook") diagonal
*> pivoting method.
*>
*> The factored form of A is then used to solve the system
*> of equations A * X = B by calling CHETRS_ROOK (uses BLAS 2).
*> \endverbatim
*
*  Arguments:
*  ==========
*
*> \param[in] UPLO
*> \verbatim
*>          UPLO is CHARACTER*1
*>          = 'U':  Upper triangle of A is stored;
*>          = 'L':  Lower triangle of A is stored.
*> \endverbatim
*>
*> \param[in] N
*> \verbatim
*>          N is INTEGER
*>          The number of linear equations, i.e., the order of the
*>          matrix A.  N >= 0.
*> \endverbatim
*>
*> \param[in] NRHS
*> \verbatim
*>          NRHS is INTEGER
*>          The number of right hand sides, i.e., the number of columns
*>          of the matrix B.  NRHS >= 0.
*> \endverbatim
*>
*> \param[in,out] A
*> \verbatim
*>          A is COMPLEX array, dimension (LDA,N)
*>          On entry, the Hermitian matrix A.  If UPLO = 'U', the leading
*>          N-by-N upper triangular part of A contains the upper
*>          triangular part of the matrix A, and the strictly lower
*>          triangular part of A is not referenced.  If UPLO = 'L', the
*>          leading N-by-N lower triangular part of A contains the lower
*>          triangular part of the matrix A, and the strictly upper
*>          triangular part of A is not referenced.
*>
*>          On exit, if INFO = 0, the block diagonal matrix D and the
*>          multipliers used to obtain the factor U or L from the
*>          factorization A = U*D*U**H or A = L*D*L**H as computed by
*>          CHETRF_ROOK.
*> \endverbatim
*>
*> \param[in] LDA
*> \verbatim
*>          LDA is INTEGER
*>          The leading dimension of the array A.  LDA >= max(1,N).
*> \endverbatim
*>
*> \param[out] IPIV
*> \verbatim
*>          IPIV is INTEGER array, dimension (N)
*>          Details of the interchanges and the block structure of D.
*>
*>          If UPLO = 'U':
*>             Only the last KB elements of IPIV are set.
*>
*>             If IPIV(k) > 0, then rows and columns k and IPIV(k) were
*>             interchanged and D(k,k) is a 1-by-1 diagonal block.
*>
*>             If IPIV(k) < 0 and IPIV(k-1) < 0, then rows and
*>             columns k and -IPIV(k) were interchanged and rows and
*>             columns k-1 and -IPIV(k-1) were inerchaged,
*>             D(k-1:k,k-1:k) is a 2-by-2 diagonal block.
*>
*>          If UPLO = 'L':
*>             Only the first KB elements of IPIV are set.
*>
*>             If IPIV(k) > 0, then rows and columns k and IPIV(k)
*>             were interchanged and D(k,k) is a 1-by-1 diagonal block.
*>
*>             If IPIV(k) < 0 and IPIV(k+1) < 0, then rows and
*>             columns k and -IPIV(k) were interchanged and rows and
*>             columns k+1 and -IPIV(k+1) were inerchaged,
*>             D(k:k+1,k:k+1) is a 2-by-2 diagonal block.
*> \endverbatim
*>
*> \param[in,out] B
*> \verbatim
*>          B is COMPLEX array, dimension (LDB,NRHS)
*>          On entry, the N-by-NRHS right hand side matrix B.
*>          On exit, if INFO = 0, the N-by-NRHS solution matrix X.
*> \endverbatim
*>
*> \param[in] LDB
*> \verbatim
*>          LDB is INTEGER
*>          The leading dimension of the array B.  LDB >= max(1,N).
*> \endverbatim
*>
*> \param[out] WORK
*> \verbatim
*>          WORK is COMPLEX array, dimension (MAX(1,LWORK))
*>          On exit, if INFO = 0, WORK(1) returns the optimal LWORK.
*> \endverbatim
*>
*> \param[in] LWORK
*> \verbatim
*>          LWORK is INTEGER
*>          The length of WORK.  LWORK >= 1, and for best performance
*>          LWORK >= max(1,N*NB), where NB is the optimal blocksize for
*>          CHETRF_ROOK.
*>          for LWORK < N, TRS will be done with Level BLAS 2
*>          for LWORK >= N, TRS will be done with Level BLAS 3
*>
*>          If LWORK = -1, then a workspace query is assumed; the routine
*>          only calculates the optimal size of the WORK array, returns
*>          this value as the first entry of the WORK array, and no error
*>          message related to LWORK is issued by XERBLA.
*> \endverbatim
*>
*> \param[out] INFO
*> \verbatim
*>          INFO is INTEGER
*>          = 0: successful exit
*>          < 0: if INFO = -i, the i-th argument had an illegal value
*>          > 0: if INFO = i, D(i,i) is exactly zero.  The factorization
*>               has been completed, but the block diagonal matrix D is
*>               exactly singular, so the solution could not be computed.
*> \endverbatim
*
*  Authors:
*  ========
*
*> \author Univ. of Tennessee
*> \author Univ. of California Berkeley
*> \author Univ. of Colorado Denver
*> \author NAG Ltd.
*
*> \ingroup complexHEsolve
*>
*> \verbatim
*>
*>  November 2013,  Igor Kozachenko,
*>                  Computer Science Division,
*>                  University of California, Berkeley
*>
*>  September 2007, Sven Hammarling, Nicholas J. Higham, Craig Lucas,
*>                  School of Mathematics,
*>                  University of Manchester
*>
*> \endverbatim
*
*
*  =====================================================================
      SUBROUTINE CHESV_ROOK( UPLO, N, NRHS, A, LDA, IPIV, B, LDB, WORK,
     $                       LWORK, INFO )
*
*  -- LAPACK driver routine --
*  -- LAPACK is a software package provided by Univ. of Tennessee,    --
*  -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..--
*
*     .. Scalar Arguments ..
      CHARACTER          UPLO
      INTEGER            INFO, LDA, LDB, LWORK, N, NRHS
*     ..
*     .. Array Arguments ..
      INTEGER            IPIV( * )
      COMPLEX            A( LDA, * ), B( LDB, * ), WORK( * )
*     ..
*
*  =====================================================================
*
*     .. Local Scalars ..
      LOGICAL            LQUERY
      INTEGER            LWKOPT, NB
*     ..
*     .. External Functions ..
      LOGICAL            LSAME
      INTEGER            ILAENV
      EXTERNAL           LSAME, ILAENV
*     ..
*     .. External Subroutines ..
      EXTERNAL           XERBLA, CHETRF_ROOK, CHETRS_ROOK
*     ..
*     .. Intrinsic Functions ..
      INTRINSIC          MAX
*     ..
*     .. Executable Statements ..
*
*     Test the input parameters.
*
      INFO = 0
      LQUERY = ( LWORK.EQ.-1 )
      IF( .NOT.LSAME( UPLO, 'U' ) .AND. .NOT.LSAME( UPLO, 'L' ) ) THEN
         INFO = -1
      ELSE IF( N.LT.0 ) THEN
         INFO = -2
      ELSE IF( NRHS.LT.0 ) THEN
         INFO = -3
      ELSE IF( LDA.LT.MAX( 1, N ) ) THEN
         INFO = -5
      ELSE IF( LDB.LT.MAX( 1, N ) ) THEN
         INFO = -8
      ELSE IF( LWORK.LT.1 .AND. .NOT.LQUERY ) THEN
         INFO = -10
      END IF
*
      IF( INFO.EQ.0 ) THEN
         IF( N.EQ.0 ) THEN
            LWKOPT = 1
         ELSE
            NB = ILAENV( 1, 'CHETRF_ROOK', UPLO, N, -1, -1, -1 )
            LWKOPT = N*NB
         END IF
         WORK( 1 ) = LWKOPT
      END IF
*
      IF( INFO.NE.0 ) THEN
         CALL XERBLA( 'CHESV_ROOK ', -INFO )
         RETURN
      ELSE IF( LQUERY ) THEN
         RETURN
      END IF
*
*     Compute the factorization A = U*D*U**H or A = L*D*L**H.
*
      CALL CHETRF_ROOK( UPLO, N, A, LDA, IPIV, WORK, LWORK, INFO )
      IF( INFO.EQ.0 ) THEN
*
*        Solve the system A*X = B, overwriting B with X.
*
*        Solve with TRS ( Use Level BLAS 2)
*
         CALL CHETRS_ROOK( UPLO, N, NRHS, A, LDA, IPIV, B, LDB, INFO )
*
      END IF
*
      WORK( 1 ) = LWKOPT
*
      RETURN
*
*     End of CHESV_ROOK
*
      END


text:
@interface BCLTriggerTableViewCell : UITableViewCell
@property (weak, nonatomic) IBOutlet UILabel *label;
@property (weak, nonatomic) IBOutlet UIImageView *checkmark;

@end