text:
using System;
using System.Collections.Generic;
using System.Linq;
using LanguageExt;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Formatting;
using ServiceStack.DataAnnotations;
using SJP.Schematic.Core;
using SJP.Schematic.Core.Comments;
using SJP.Schematic.Core.Extensions;
using SJP.Schematic.DataAccess.CodeGeneration;
using SJP.Schematic.DataAccess.Extensions;
using static Microsoft.CodeAnalysis.CSharp.SyntaxFactory;

namespace SJP.Schematic.DataAccess.OrmLite
{
    public class OrmLiteViewGenerator : DatabaseViewGenerator
    {
        public OrmLiteViewGenerator(INameTranslator nameTranslator, string baseNamespace)
            : base(nameTranslator)
        {
            if (baseNamespace.IsNullOrWhiteSpace())
                throw new ArgumentNullException(nameof(baseNamespace));

            Namespace = baseNamespace;
        }

        protected string Namespace { get; }

        public override string Generate(IDatabaseView view, Option<IDatabaseViewComments> comment)
        {
            if (view == null)
                throw new ArgumentNullException(nameof(view));

            var schemaNamespace = NameTranslator.SchemaToNamespace(view.Name);
            var viewNamespace = !schemaNamespace.IsNullOrWhiteSpace()
                ? Namespace + "." + schemaNamespace
                : Namespace;

            var namespaces = new[] { "ServiceStack.DataAnnotations" }
                .Union(
                    view.Columns
                        .Select(c => c.Type.ClrType.Namespace)
                        .Where(ns => ns != viewNamespace)
                )
                .Distinct()
                .OrderNamespaces()
                .ToList();

            var usingStatements = namespaces
                .Select(ns => ParseName(ns))
                .Select(UsingDirective)
                .ToList();
            var namespaceDeclaration = NamespaceDeclaration(ParseName(viewNamespace));
            var classDeclaration = BuildClass(view, comment);

            var document = CompilationUnit()
                .WithUsings(List(usingStatements))
                .WithMembers(
                    SingletonList<MemberDeclarationSyntax>(
                        namespaceDeclaration
                            .WithMembers(
                                SingletonList<MemberDeclarationSyntax>(classDeclaration))));

            using var workspace = new AdhocWorkspace();
            return Formatter.Format(document, workspace).ToFullString();
        }

        private ClassDeclarationSyntax BuildClass(IDatabaseView view, Option<IDatabaseViewComments> comment)
        {
            if (view == null)
                throw new ArgumentNullException(nameof(view));

            var className = NameTranslator.ViewToClassName(view.Name);
            var properties = view.Columns
                .Select(vc => BuildColumn(vc, comment, className))
                .ToList();

            return ClassDeclaration(className)
                .AddAttributeLists(BuildClassAttributes(view, className).ToArray())
                .AddModifiers(Token(SyntaxKind.PublicKeyword))
                .WithLeadingTrivia(BuildViewComment(view.Name, comment))
                .WithMembers(List<MemberDeclarationSyntax>(properties));
        }

        private static IEnumerable<AttributeListSyntax> BuildClassAttributes(IDatabaseView view, string className)
        {
            if (view == null)
                throw new ArgumentNullException(nameof(view));
            if (className.IsNullOrWhiteSpace())
                throw new ArgumentNullException(nameof(className));

            var attributes = new List<AttributeListSyntax>();

            var schemaName = view.Name.Schema;
            if (!schemaName.IsNullOrWhiteSpace())
            {
                var schemaAttribute = AttributeList(
                    SingletonSeparatedList(
                        Attribute(
                            SyntaxUtilities.AttributeName(nameof(SchemaAttribute)),
                            AttributeArgumentList(
                                SingletonSeparatedList(
                                    AttributeArgument(
                                        LiteralExpression(
                                            SyntaxKind.StringLiteralExpression,
                                            Literal(schemaName))))))));
                attributes.Add(schemaAttribute);
            }

            if (className != view.Name.LocalName)
            {
                var aliasAttribute = AttributeList(
                    SingletonSeparatedList(
                        Attribute(
                            SyntaxUtilities.AttributeName(nameof(AliasAttribute)),
                            AttributeArgumentList(
                                SingletonSeparatedList(
                                    AttributeArgument(
                                        LiteralExpression(
                                            SyntaxKind.StringLiteralExpression,
                                            Literal(view.Name.LocalName))))))));
                attributes.Add(aliasAttribute);
            }

            return attributes;
        }

        private PropertyDeclarationSyntax BuildColumn(IDatabaseColumn column, Option<IDatabaseViewComments> comment, string className)
        {
            if (column == null)
                throw new ArgumentNullException(nameof(column));
            if (className.IsNullOrWhiteSpace())
                throw new ArgumentNullException(nameof(className));

            var clrType = column.Type.ClrType;
            var propertyName = NameTranslator.ColumnToPropertyName(className, column.Name.LocalName);

            var columnTypeSyntax = column.IsNullable
                ? NullableType(ParseTypeName(clrType.FullName))
                : ParseTypeName(clrType.FullName);
            if (clrType.Namespace == nameof(System) && SyntaxUtilities.TypeSyntaxMap.ContainsKey(clrType.Name))
            {
                columnTypeSyntax = column.IsNullable
                    ? NullableType(SyntaxUtilities.TypeSyntaxMap[clrType.Name])
                    : SyntaxUtilities.TypeSyntaxMap[clrType.Name];
            }

            var baseProperty = PropertyDeclaration(
                columnTypeSyntax,
                Identifier(propertyName)
            );

            var columnSyntax = baseProperty
                .AddAttributeLists(BuildColumnAttributes(column, propertyName).ToArray())
                .WithModifiers(SyntaxTokenList.Create(Token(SyntaxKind.PublicKeyword)))
                .WithAccessorList(SyntaxUtilities.PropertyGetSetDeclaration)
                .WithLeadingTrivia(BuildColumnComment(column.Name, comment));

            var isNotNullRefType = !column.IsNullable && !column.Type.ClrType.IsValueType;
            if (!isNotNullRefType)
                return columnSyntax;

            return columnSyntax
                .WithInitializer(SyntaxUtilities.NotNullDefault)
                .WithSemicolonToken(Token(SyntaxKind.SemicolonToken));
        }

        private static SyntaxTriviaList BuildViewComment(Identifier viewName, Option<IDatabaseViewComments> comment)
        {
            if (viewName == null)
                throw new ArgumentNullException(nameof(viewName));

            return comment
                .Bind(c => c.Comment)
                .Match(
                    SyntaxUtilities.BuildCommentTrivia,
                    () => SyntaxUtilities.BuildCommentTrivia(new XmlNodeSyntax[]
                    {
                        XmlText("A mapping class to query the "),
                        XmlElement("c", SingletonList<XmlNodeSyntax>(XmlText(viewName.LocalName))),
                        XmlText(" view.")
                    })
                );
        }

        private static SyntaxTriviaList BuildColumnComment(Identifier columnName, Option<IDatabaseViewComments> comment)
        {
            if (columnName == null)
                throw new ArgumentNullException(nameof(columnName));

            return comment
                .Bind(c => c.ColumnComments.TryGetValue(columnName, out var cc) ? cc : Option<string>.None)
                .Match(
                    SyntaxUtilities.BuildCommentTrivia,
                    () => SyntaxUtilities.BuildCommentTrivia(new XmlNodeSyntax[]
                    {
                        XmlText("The "),
                        XmlElement("c", SingletonList<XmlNodeSyntax>(XmlText(columnName.LocalName))),
                        XmlText(" column.")
                    })
                );
        }

        private static IEnumerable<AttributeListSyntax> BuildColumnAttributes(IDatabaseColumn column, string propertyName)
        {
            if (column == null)
                throw new ArgumentNullException(nameof(column));
            if (propertyName.IsNullOrWhiteSpace())
                throw new ArgumentNullException(nameof(propertyName));

            if (propertyName == column.Name.LocalName)
                return Array.Empty<AttributeListSyntax>();

            return new[]
            {
                AttributeList(
                    SingletonSeparatedList(
                        Attribute(
                            SyntaxUtilities.AttributeName(nameof(AliasAttribute)),
                            AttributeArgumentList(
                                SingletonSeparatedList(
                                    AttributeArgument(
                                        LiteralExpression(
                                            SyntaxKind.StringLiteralExpression,
                                            Literal(column.Name.LocalName)))))))
                )
            };
        }
    }
}


text:
#pragma once

#pragma once

// The following macros define the minimum required platform.  The minimum required platform
// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run
// your application.  The macros work by enabling all features available on platform versions up to and
// including the version specified.

// Modify the following defines if you have to target a platform prior to the ones specified below.
// Refer to MSDN for the latest info on corresponding values for different platforms.
#ifndef WINVER                          // Specifies that the minimum required platform is Windows Vista.
#define WINVER 0x0600           // Change this to the appropriate value to target other versions of Windows.
#endif

#ifndef _WIN32_WINNT            // Specifies that the minimum required platform is Windows Vista.
#define _WIN32_WINNT 0x0600     // Change this to the appropriate value to target other versions of Windows.
#endif

#ifndef _WIN32_WINDOWS          // Specifies that the minimum required platform is Windows 98.
#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later.
#endif

#ifndef _WIN32_IE                       // Specifies that the minimum required platform is Internet Explorer 7.0.
#define _WIN32_IE 0x0700        // Change this to the appropriate value to target other versions of IE.
#endif

#define WIN32_LEAN_AND_MEAN             // Exclude rarely-used stuff from Windows headers
// Windows Header Files:
#include <windows.h>
#include <shellapi.h>
// C RunTime Header Files
#include <stdlib.h>
#include <malloc.h>
#include <memory.h>
#include <tchar.h>

// TODO: reference additional headers your program requires here

redpajama_set_name: RedPajamaGithub


text:
#ifndef _ASM_POWERPC_BUGS_H
#define _ASM_POWERPC_BUGS_H

/*
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version
 * 2 of the License, or (at your option) any later version.
 */

/*
 * This file is included by 'init/main.c' to check for
 * architecture-dependent bugs.
 */

static inline void check_bugs(void) { }

#endif	/* _ASM_POWERPC_BUGS_H */


text:
This directory contains an experimental rewrite of the Relay compiler in Rust.
The code is still extremely new and incomplete. The components may work
individually, but are not yet fully integrated and may have bugs.

Goals of this project include:

- Fast compilation that scales to massive projects like
  [the new facebook.com](https://developers.facebook.com/videos/2019/building-the-new-facebookcom-with-react-graphql-and-relay/).
- Improved developer experience by offering better error reporting and watch
  mode.
- TypeScript support built in (works for extraction, but we'd like to also
  bundle type generation).
- Pre-built binaries for all platforms (Windows, Linux, macOS) distributed via
  npm, so no Rust compilation should be needed for the typical workflow.


text:
using System;
using Foundation;
using UIKit;

namespace EmpresaBensAtivosPassivos
{
    public partial class ViewController : UIViewController
    {
        public ViewController(IntPtr handle) : base(handle)
        {
        }

        public override void ViewDidLoad()
        {
            base.ViewDidLoad();
            // Perform any additional setup after loading the view, typically from a nib.
        }

        public override void DidReceiveMemoryWarning()
        {
            base.DidReceiveMemoryWarning();
            // Release any cached data, images, etc that aren't in use.
        }

        public override void PrepareForSegue(UIStoryboardSegue segue, NSObject sender)
        {
            if (segue.Identifier.Equals("PatrimonioSegueId"))
            {
                var patrimonio = segue.DestinationViewController as PatrimonioViewController;

                if (patrimonio != null)
                {
                    patrimonio.Patrimonio = CalculaPatrimonio();
                }
            }

            base.PrepareForSegue(segue, sender);
        }

        private double CalculaPatrimonio()
        {
            var banco = !string.IsNullOrEmpty(bancoTextField.Text) ? bancoTextField.Text : "0";
            var caixa = !string.IsNullOrEmpty(caixaTextField.Text) ? caixaTextField.Text : "0";
            var receber = !string.IsNullOrEmpty(receberTextField.Text) ? receberTextField.Text : "0";
            var pagar = !string.IsNullOrEmpty(pagarTextField.Text) ? pagarTextField.Text : "0";
            var fornecedor = !string.IsNullOrEmpty(fornecedorTextField.Text) ? fornecedorTextField.Text : "0";
            var emprestimo = !string.IsNullOrEmpty(emprestimoTextField.Text) ? emprestimoTextField.Text : "0";

            var ativos = Convert.ToDouble(banco) + Convert.ToDouble(caixa) + Convert.ToDouble(receber);
            var passivos = Convert.ToDouble(pagar) + Convert.ToDouble(fornecedor) + Convert.ToDouble(emprestimo);

            return ativos - passivos;
        }

    }
}


text:
body {
    font-family: Arial,"Helvetica Neue",Helvetica,sans-serif;
    font-size: 14px;
    line-height: 20px;
    color: rgb(51, 51, 51);
}

#titlegraphic h1 { line-height: 33px; margin-top: 0; }

.container { margin: 0; width: 300px; padding: 10px; border: 1px solid #bbb; }

.desc { text-align: left; font: 12px Arial; margin-top: 10px; color: #666; }*/

#statsCon { float: left; margin-right: 5px; margin-top: 5px; padding-right: 10px; width: 100%; }
#statsCon .emptySlot { height: 25px; border: 1px dashed #CCC; margin-top: 2px; }
#statsCon .emptySlot p { font: 10px Arial; color: #CCC; text-align: center; margin-top: 7px; }
#statsCon .emptySlot-highlight { border: 1px dashed #000; }
#statsCon #statsAll { margin-top: 10px; }
#statsCon .statsCheck { float: left; position: relative; top: 4px; left: 3px; margin-right: 7px; }
#statsCon .statsPlaceHolder { height: 25px; border: 1px solid #DDD; margin-top: 2px }
.statsHead { font-family: 'Open Sans Condensed', sans-serif; color: #000; font-size: 14px; margin: 0 0 5px 0; font-weight: bold; }
#statsCon .instruct { font: italic 12px Arial; margin-bottom: 10px}
#statsCon .imp { font: 11px Arial; color: #333;  margin-top: 6px; margin-left: 5px }
#shorts { margin: 5px 0 24px 0; }
#shorts a { font: 14px Arial; color: #7ebee4; text-decoration: none; }
#shorts p { margin: 0 10px 24px 10px; float: left;}

#statsCon .dragger {
	height: 46px; border: 1px solid #DDD; margin-top: 2px;
	background-image: linear-gradient(bottom, rgb(236,236,236) 72%, rgb(226,226,226) 51%);
	background-image: -o-linear-gradient(bottom, rgb(236,236,236) 72%, rgb(226,226,226) 51%);
	background-image: -moz-linear-gradient(bottom, rgb(236,236,236) 72%, rgb(226,226,226) 51%);
	background-image: -webkit-linear-gradient(bottom, rgb(236,236,236) 72%, rgb(226,226,226) 51%);
	background-image: -ms-linear-gradient(bottom, rgb(236,236,236) 72%, rgb(226,226,226) 51%);

	background-image: -webkit-gradient(
		linear,
		left bottom,
		left top,
		color-stop(0.72, rgb(236,236,236)),
		color-stop(0.51, rgb(226,226,226))
	);

}
#statsCon .dragger:hover { cursor: move; }
#statsCon #a0,#a1,#a2,#a3,#a4,#a5,#a6,#a7,#a8,#a9 { position: relative;}

.dragger p { font-family: 'Open Sans Condensed', sans-serif; color: #000; font-size: 12px; text-transform: uppercase; font-weight: bold; margin-top: 4px; margin-left: 4px; text-shadow: 0.1em 0.1em #CCC }
.dragger img { float: left; margin: 10px 5px 0 10px }

.urank { font: 11px Arial; font-weight: bold; color: rgb(143, 50, 83);  margin: 3px 4px 3px 1px; float: right; text-transform: none; }
.voteperc { font: 11px Arial; font-weight: bold; color: rgb(36, 58, 172); margin: 3px 4px 7px 4px; text-transform: none; }

.dd { width: 100%; margin-top: 3px; height: 40px; text-align: center; font-size: 18px; font-weight: bold}
#drops { margin-top: 10px; text-align: center; }
#drops .imp { font: 10px Arial; color: #CCC; margin-top: 4px;  }
#gobtn { margin-left:auto; margin-right:auto; display: inline-block; }

.module .main { text-align: left; margin-top: 20px; }
.module .main .teamModule { min-height: 275px; }
.module .main .teamModule .teamInfo img { float: left; }
.module .main .teamModule .teamInfoText { padding-left: 55px; }
.module .main .teamModule .teamInfoText .cityName { font: 9px Arial; text-transform: uppercase; color: #666; }
.module .main .teamModule .teamInfoText .teamName { font-family: 'Open Sans Condensed', sans-serif; color: #000; font-size: 18px; text-transform: uppercase; font-weight: bold; }
.module .main .teamModule .teamInfoText .teamData { margin-top: 1px; font: 11px Arial; color: #666; }

.module .main .teamModule .teamStatsCon { margin-top: 10px; }
.module .main .teamModule .teamStatsCon .teamStat { font: 11px Arial; color: #666; padding: 3px; background-color: #f1f1f1; border-radius: 3px }
.module .main .teamModule .teamStatsCon .alt { background-color: #FFF; }
.main .teamModule .teamStatsCon .teamStatNum { font-weight: bold; }
.main .teamModule .teamStatsCon .teamStatTxt { float: left; width: 75%;}

.main .teamModule .calcCon { margin-top: 20px; }
.main .teamModule .calcCon .numBox { width: 72px; height: 40px; border-radius: 5px; background-color: #333; color: #FFF; font: bold 30px Arial; text-align: center; padding-top: 5px; float: left; margin-right: 5px;}
.main .teamModule .calcCon .numBoxLabel { font: 10px Arial; color: #999; padding-top: 15px;}
#teamModules { border-top: 1px solid #CCC }

#sharematch { margin-top: 40px }
#sharematch p { margin: 0px; background: url('../img/twitter-bird.png') no-repeat left center; padding-left: 30px; text-align: left; line-height: 1.2em; font-size: 12px;}

.section { border-top: 1px dotted #CCC; margin-top: 15px; padding-top: 10px }

#leaderboard ul { list-style-type: none; margin: 0px; padding: 0px; font: 12px Arial; color: #333; min-height: 120px; }

#sourceCreds {
	font: italic 11px Arial;
	color: #999;
	margin: 10px 0 10px 0px;
	border-top: 1px solid #e2e2e2;
	padding: 5px 0 0 0;
}

#embedwell { margin-top: 10px; }
#closebtn {
	width: 20px;
	height: 20px;
	float: right;
	background: url('../img/glyphicons-halflings.png');
	background-position: -310px 0px;
	opacity: 0.2;
  	filter: alpha(opacity=20);
 }
 #closebtn:hover { opacity: 1; filter: alpha(opacity=100); cursor: pointer; }

@media (max-width: 500px) {
	.module .main .teamModule {  margin-bottom: 50px; border-top: 1px solid #CCC; padding-top: 10px; }
	#teamModules { border-top: none }
}


text:
 ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, body, html, div.paragraph, blockquote, fieldset, input { margin: 0; padding: 0; }
 ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, body, html, p, blockquote, fieldset, input { margin: 0; padding: 0; }
 a img { border: 0; }
 a { text-decoration: none; }
 html { height: 100%; }
 body { font-family: 'Raleway', sans-serif; font-size: 15px; font-weight: 500; color: #2e2e2e; min-height: 100%; background: #f9f9f9; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
 .splash-page { background-color: #ffffff; }
 .bg-wrapper { background-color: #ffffff; }
h1 {
    position:relative;
    left:-13px;
    font-family: 'Lora', sans-serif; font-size: 1.7em; font-weight: normal; color: #111111; margin: 0 auto .3em;
}
 h2 { font-family: 'Lora', sans-serif; font-size: 1.7em; font-weight: normal; color: #111111; margin: 0 auto .3em; }
 div.paragraph, div.paragraph { line-height: 1.5; margin: 0 auto 1em; }
 p, div.paragraph { line-height: 1.5; margin: 0 auto 1em; }
 hr.styled-hr { background-color: #d0d0d0; }
 #wrapper blockquote { border-left: 5px solid #d0d0d0; margin-left: 20px; padding-left: 20px; margin-bottom: 1em; }
 #header { text-align: center; padding-top: 52px; padding-bottom: 25px; padding-left: 6.5%;}
 .wsite-logo a { color: #484848; font-family: 'Roboto Slab', serif; font-weight: 500; font-size: 36px; }
 .wsite-logo a:hover { color: #484848; }
 a { color: #5199a8; -webkit-transition: all 0.2s ease-in-out; -moz-transition: all 0.2s ease-in-out; -o-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out; }
 a:hover { color: #8dc7d3; }
 #content-wrapper { width: 960px; margin: auto; }
 #content, #footer-content{ padding: 4em 1.6em; margin: 0 auto; box-sizing: border-box; }
 .wsite-form-container { margin-top: 0 !important; }
 .paragraph ul, .paragraph ol { padding-left: 3em !important; }
 #footer { font-family: 'Raleway', sans-serif; font-size: 14px; background: #f9f9f9; }
 #footer-content { width: 960px; margin: auto; }
 #footer h2 { font-family: 'Raleway', sans-serif; font-size: 18px; text-transform: uppercase; }
 #navigation { padding-bottom: 40px; width: 960px; margin: auto; text-align: center; text-transform: uppercase; overflow: hidden; font-family: 'Raleway', sans-serif; font-size: 13px; }
 #navigation a{ display:inline-block; padding:10px 14px; }
 #navigation ul:before, #navigation ul:after { background-color: #d0d0d0; content: ""; display: inline-block; height: 1px; bottom: .1em; position: relative; vertical-align: middle; width: 50%; }
 #navigation ul:before { right: 29px; margin-left: -50%; }
 #navigation ul:after { left: 29px; margin-right: -50%; }
 #navigation li { display: inline-block; }
 #navigation li:hover, #navigation li#active { background-color: #f6f6f6; color: #484848; }
 #navigation a { color: inherit; }
 .wsite-menu{ list-style-type:none; margin-left:25px; }
 #wsite-menus .wsite-menu li a { background-color: #f6f6f6; border: none; color: #484848; }
 #wsite-menus .wsite-menu li a:hover { background-color: #e8e8e8; color: #484848; }
 .wsite-menu-arrow { font-size: 0; margin-left: 10px; }
 .wsite-menu-arrow:before { display: inline-block; content: '\203A'; vertical-align: bottom; font-size: 20px; }
 .wsite-button, .wsite-button .wsite-button-inner { color: white; background-image: none !important; background-color: #5199a8; }
 .wsite-button { padding: 8px 20px !important; }
 .wsite-button-large { padding: 10px 25px !important; }
 .wsite-button .wsite-button-inner { background-color: inherit; height: auto !important; line-height: 1.25 !important; padding: 0 !important; }
 .wsite-button-highlight { background-color: #012b4a; }
 .wsite-button-highlight:hover { background-color: #023d69; }
 .wsite-button-highlight:active { background-color: #023d69; }
 .wsite-button-normal { background-color: #484848; }
 .wsite-button-normal:hover { background-color: #616161; }
 .wsite-button-normal:active { background-color: #303030; }
 .galleryCaptionHover .galleryCaptionHolder { height: 100%; opacity: 0; -webkit-transition: opacity 0.2s ease-in-out; -moz-transition: opacity 0.2s ease-in-out; -o-transition: opacity 0.2s ease-in-out; transition: opacity 0.2s ease-in-out; -webkit-backface-visibility: hidden; }
 .partialImageGalleryCaption.galleryCaptionHolder { height: auto; }
 .galleryCaptionHover.galleryImageHolder:hover .galleryCaptionHolder { opacity: 1; }
 .galleryCaptionHolderInner { display: table; height: 100%; }
 .galleryCaptionInnerTextHolder { display: table-cell; vertical-align: middle; }
 #content-wrapper #content .galleryImageBorder { border-color: #d0d0d0; }
 #content-wrapper #content .wsite-image-border-hairline a img, #content-wrapper #content .wsite-image-border-thin a img, #content-wrapper #content .wsite-image-border-medium a img, #content-wrapper #content .wsite-image-border-thick a img { border-color: #d0d0d0; }
 .banner-wrap { position: relative; text-align: center; background-repeat: no-repeat; background-size: cover; background-position: center center; width: 100%; }
 .wsite-background { background-image: linear-gradient(to bottom, #001c33, black); background-position: center center; }
 #banner { position: relative; width: 600px; height: 100%; margin: auto; display: table; z-index: 2; }
 #banner-container { display: table-cell; vertical-align: middle; padding: 2em 1.6em; }
 .banner-wrap a { color: #8dc7d3; }
 .banner-wrap a:hover { text-decoration: underline; }
 .banner-wrap .wsite-button-inner { font-family: 'Raleway', sans-serif; font-size: 15px; }
 #banner h2 { font-size: 50px; color: white; padding: 0; margin: 0; }
 #banner div.paragraph { font-size: 1.33em; margin: 0 auto; color: white; }
 #banner p { font-size: 1.33em; margin: 0 auto; color: white; }
 #banner div.paragraph > span:before { content: ''; display: block; padding-top: 30px; }
 #banner p > span:before { content: ''; display: block; padding-top: 30px; }
 #banner .button-wrap { padding: 0; }
 .banner-wrap .button-wrap div { text-align: center !important; }
 .banner-wrap .button-wrap > div:before { content: ''; display: block; padding-top: 40px; }
 .landing-page #banner { height: 460px; }
 .wsite-background:before { content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, .1); z-index: 1; }
 .splash-page, .splash-page .body-wrap { height: 100%; }
 .splash-page .spacer { height: 16%; }
 .splash-page #banner { height: 100%; }
 .splash-page #wrapper { height: 100%; width: 100%; border-spacing: 0; }
 .splash-page #wrapper td { padding: 0; }
 .splash-page #header, .splash-page #footer { padding-top: 25px; background: #ffffff; }
 .splash-page #navigation, .splash-page #footer { padding-bottom: 25px; }
 .splash-page #footer-content { display: none; }
 .tall-header #banner { height: 380px; }
 .short-header .banner-wrap { height: 300px; }
 .wsite-product { border: 1px solid #d0d0d0; border-radius: 2px; background: inherit; box-shadow: none; }
 .wsite-product .wsite-product-title { font-family: 'Lora', sans-serif; font-size: 26px; }
 .wsite-product-image { border: 1px solid #d0d0d0; border-radius: 0; }
 .wsite-input, .wsite-form-input, select { border: solid 1px #d0d0d0; border-radius: 0; margin: 8px 0; outline: none; background-image: none; min-height: 35px !important; padding: 8px !important; font-size: 13px; box-sizing: border-box; }
 .wsite-input:focus, .wsite-form-input:focus, select:focus { border-color: #5199a8; }
 .wsite-form-phone-separator { margin: 8px 0; }
 .wsite-form-label { font-weight: normal; }
 select { font-family: 'Raleway', sans-serif; -webkit-appearance: none; -moz-appearance: none; appearance: none; text-indent: .01px; text-overflow: ''; padding-left: 8px; padding-top: 2px; padding-bottom: 2px; background: url(theme/images/downarrow.png?1443751684) no-repeat 97% 13px; background-color: white; }
 select::-ms-expand { display: none; }
 #wsite-com-checkout-payment-info select { background: none; }
 .wsite-form-field input[type='checkbox']:checked, .wsite-form-field input[type='checkbox']:not(:checked), .wsite-form-field input[type='radio']:checked, .wsite-form-field input[type='radio']:not(:checked), .wsite-com-product-option input[type='radio']:checked, .wsite-com-product-option input[type='radio']:not(:checked) { display: none; }
 .wsite-form-field input[type='checkbox']:checked + label:before, .wsite-form-field input[type='checkbox']:not(:checked) + label:before, .wsite-form-field input[type='radio']:checked + label:before, .wsite-form-field input[type='radio']:not(:checked) + label:before, .wsite-com-product-option-label input[type='radio']:checked + span:before, .wsite-com-product-option-label input[type='radio']:not(:checked) + span:before { content: ''; display: inline-block; height: 22px; width: 22px; vertical-align: middle; margin-right: 8px; }
 .wsite-form-field input[type='checkbox']:not(:checked) + label:before { background: url(theme/images/default_icons.png?1443751684) -714px -35px; }
 .wsite-form-field input[type='checkbox']:checked + label:before { background: url(theme/images/teal_icons.png?1443751684) -722px -32px; }
 .wsite-form-field input[type='radio']:not(:checked) + label:before, .wsite-com-product-option-label input[type='radio']:not(:checked) + span:before { background: url(theme/images/default_icons.png?1443751684) -663px -35px; }
 .wsite-form-field input[type='radio']:checked + label:before, .wsite-com-product-option-label input[type='radio']:checked + span:before { background: url(theme/images/teal_icons.png?1443751684) -671px -32px; }
 .blog-sidebar { padding-left: 60px; }
 .column-blog { width: 100%; }
 .blog-sidebar-separator { padding: 0; }
 .blogCommentText div.paragraph, #secondlist .blogCommentText div.paragraph { font: inherit !important; color: #8e8e8e !important; }
 .blogCommentText p, #secondlist .blogCommentText p { font: inherit !important; color: #8e8e8e !important; }
 .blogCommentHeading .blogCommentHeadingInner, .blogCommentWrap, .blogCommentHeading, .blogCommentHeading .blogCommentAuthor { background:none !important; }
 .blogCommentHeading .blogCommentAuthor span.name, .blogCommentHeading .blogCommentAuthor a.name, .blogCommentHeading .blogCommentDate { color: #8e8e8e !important; font: inherit !important; text-shadow: none !important; }
 .blogCommentReplyWrapper iframe { height: 460px !important; }
 #wsite-com-product-gen { padding: 0 !important; }
 .wsite-com-content-with-sidebar .wsite-com-category-subcategory-group { display: none; }
 #wsite-com-heirarchy { font-size: 15px; font-family:'Raleway', sans-serif; }
 #wsite-com-hierarchy .wsite-link-unselected { color: inherit; }
 #wsite-com-hierarchy .wsite-selected, #wsite-com-hierarchy .wsite-com-link:hover { color: #5199a8; }
 #wsite-com-store #wsite-com-hierarchy ul li { line-height: 1; text-transform: uppercase; font-size: 15px; font-family:'Raleway', sans-serif; }
 #wsite-com-store #wsite-com-hierarchy ul .wsite-com-link-text { margin-bottom: 1em; }
 .wsite-com-category-product-group .wsite-com-category-product-wrap, .wsite-com-category-product-featured-group .wsite-com-category-product-wrap, .wsite-com-category-product-featured-group .wsite-com-category-product-featured-wrap, .wsite-com-category-subcategory-group .wsite-com-category-subcategory-wrap { margin: 0 10px 20px; }
 .wsite-com-category-subcategory-name { top: 0; }
 .wsite-com-category-subcategory-name-text { position: relative; display: table; width: 100%; height: 100%; padding: 0; }
 .wsite-com-category-subcategory-name-text span { display: table-cell; vertical-align: middle; }
 .wsite-com-category-subcategory-name-bg { -webkit-transition: opacity 0.3s ease-in-out !important; -moz-transition: opacity 0.3s ease-in-out !important; -o-transition: opacity 0.3s ease-in-out !important; -ms-transition: opacity 0.3s ease-in-out !important; transition: opacity 0.3s ease-in-out !important; }
 .wsite-com-category-subcategory-link:hover .wsite-com-category-subcategory-name-bg { opacity: .3; }
 .wsite-social { white-space: normal; }
 .wsite-social-item { font-size: 1.35em; display: inline-block; margin: 0 8px 10px; color: #b9b9b9; }
 .wsite-social-item:hover { color: #5199a8; }
 #header{ background:#ffffff; }
 #navigation ul { list-style-type:none; }
 #navigation ul li { display:inline-block; }
 .nav-trigger { display:none; text-align:center; padding:15px; }
 .nav-trigger span.mobile { display:block; background-color:#484848; cursor:pointer; height:2px; width:24px; position:relative; margin:0 auto 5px; }
 .nav-trigger span.mobile:last-child{ margin-bottom:0; }
 .nav-trigger a{ display:inline-block; padding:15px; }
 .navmobile-wrapper{ display: none; }
 .navmobile-wrapper .nav-trigger{ padding: 0; }
 .navmobile-wrapper label{ padding: 10px; }
 @media (max-width:1024px){
 #navigation, #banner, #content-wrapper, #footer-content{ width:auto; }
 #wrapper{ box-sizing:border-box; }
 #wrapper { position:relative; left:0%; -webkit-transition: left 0.3s ease-in-out !important; -moz-transition: left 0.3s ease-in-out !important; -o-transition: left 0.3s ease-in-out !important; -ms-transition: left 0.3s ease-in-out !important; transition: left 0.3s ease-in-out !important; }
 #wsite-com-product-images a div{ padding-right:10px; }
 #footer{ background:#f9f9f9; }
 #wsite-search-submit{ border-radius:0; margin-top:2px; }
 .blog-sidebar{ padding-left:40px; }
 #wsite-mini-cart .wsite-product-image{ padding:10px; }
 }
 @media (max-width:992px){
 h2, #wsite-search-header h2{ font-size:1.4em; margin-bottom:7px; padding-top:0; display:block; }
 #content .paragraph font { font-size: inherit; }
 .wsite-com-content{ padding:0; }
 .short-header .banner-wrap{ margin-bottom:1.5em; }
 .wsite-button-inner{ font-size:0.8em; }
 .paragraph{ font-size:1em!important; line-height:1.5em!important; }
 .navmobile-wrapper { position: fixed; display: block; opacity: 0; width: 275px; height: 100%; padding: 80px 0 20px 0; top: 0; left: 0; box-sizing: border-box; overflow-y: auto; background: #ffffff; -webkit-transition: opacity 0s 1s linear; -moz-transition:opacity 0s 1s linear; -o-transition: opacity 0s 1s linear; transition: opacity 0s 1s linear; }
 .navmobile-wrapper .nav-trigger{ margin:9px 0px; }
 #navmobile{ margin: 0 15px; font-size:0.9em; text-transform:uppercase; letter-spacing:0.01em; font-family:'Raleway', sans-serif; }
 #navmobile ul{ list-style-type:none; width:60%!important; }
 .nav-trigger, nav#nav-mobile { display:block; margin:10px; padding: 0 15px 0 15px; }
 #navigation, .wsite-menu-arrow, #wsite-menus { display:none; }
 .nav-trigger{ display: table-cell; vertical-align: middle; width: 24px; }
 #navigation{ display: none; }
 .wsite-nav-cart.wsite-nav-3 { position: absolute; top: -52px; right: 0; }
 .postload { height: 100%; }
 .postload .body-wrap { position: relative; width: 100%; min-height: 100%; overflow-x: hidden; }
 #wrapper { box-sizing:border-box; z-index:10; background: #f9f9f9; position: relative; width:100%; min-height:100%; padding-top:64px; -webkit-box-shadow:0px -0px 5px rgba(87, 87, 87, 0.2); -moz-box-shadow:0px -0px 5px rgba(87, 87, 87, 0.2); -o-box-shadow:0px -0px 5px rgba(87, 87, 87, 0.2); box-shadow:0px -0px 5px rgba(87, 87, 87, 0.2); }
 input.nav-trigger, input.nav-trigger-close { display:none; }
 .nav-trigger:checked ~ #wrapper { left:275px; }
 .nav-trigger:checked ~ .navmobile-wrapper { opacity: 1; -webkit-transition: opacity 0s 0s linear; -moz-transition:opacity 0s 0s linear; -o-transition: opacity 0s 0s linear; transition: opacity 0s 0s linear; }
 .close-btn { display:inline-block; padding:4px 0; margin:1px; }
 .open-btn { float:left; }
 .wsite-menu-default a, .wsite-menu a{ color:inherit; padding:10px; display:block; }
 .wsite-menu-default a:hover, .wsite-menu a:hover{ background:#f6f6f6; color:#484848; }
 .wsite-menu-back-item a, .wsite-menu-default a, .wsite-menu a{ cursor:pointer; }
 .wsite-menu-back-item a{ color:inherit; }
 .wsite-menu-mobile-arrow{ display:inline-block!important; font-size:inherit!important; padding:0 5px; }
 .wsite-menu-mobile-arrow:before{ display:inline-block; content:'\203A'; vertical-align:bottom; }
 .wsite-menu-back-item .wsite-menu-mobile-arrow:before{ content:'\2039'; }
 .wsite-menu-slide li{ margin:0 0 10px; }
 .wsite-menu-slide li#active a{ background:#f6f6f6; color:#484848; }
 .wsite-menu{ margin-left:0; }
 #footer{ padding: 0; }
 .footer-full{ padding-bottom:5em!important; }
 #header{ padding: 0 10px; border-bottom:solid 1px #d0d0d0; height:65px; box-sizing:border-box; display:table; width:100%; position:fixed; top:0; left: 0; background:#ffffff; z-index:11; }
 .splash-page #header { padding-top: 0; }
 #sitename{ margin:0 60px; vertical-align:middle; display:table-cell; }
 .wsite-logo a { font-size:1.5em; }
 .wsite-logo #wsite-title { font-size: 1em !important; }
 .wsite-logo{ margin:3px 54px 0 0; }
 .landing-page .banner-wrap{ height:auto; }
 .wsite-logo a img{ margin:0!important; max-height: 45px; max-width: 170px; }
 .short-header .banner-wrap { height:200px; }
 .tall-header #banner{ height:300px; }
 .landing-page #banner { height:400px; }
 #banner h2 { font-size: 3em!important; line-height: 1; }
 #banner h2 span, #banner h2 span font{ font-size: inherit !important; }
 #banner div.paragraph{ font-size:1em; }
 #banner p{ font-size:1em; }
 .banner-wrap .wsite-button-inner{ font-size:0.8em; }
 #banner div.paragraph > span:before { padding-top: 25px; }
 #banner p > span:before { padding-top: 25px; }
 .banner-wrap .button-wrap > div:before { padding-top: 35px; }
 .splash-page .spacer { height: 0; }
 .blog-content span{ float:none!important; }
 .column-blog{ width:100%; }
 .blog-sidebar-separator{ padding:0; }
 #commentPostDiv .field input[type=text]{ height:40px; line-height:20px; padding:0 10px; box-sizing:border-box; }
 .mousetrap{ width:auto!important; }
 #wrapper iframe#content img{ max-width:100%; }
 #wsite-com-product-sku{ font-size:1em; float:none; padding-bottom:5px; }
 #wsite-mini-cart{ width:auto; margin:10px; z-index:11; }
 #wsite-com-checkout-list th, #wsite-com-checkout-summary-list th, #wsite-com-checkout-list .wsite-com-checkout-item-heading a, #wsite-com-checkout-summary-list .wsite-com-checkout-item-heading a, #wsite-com-checkout-list th, #wsite-com-checkout-summary-list th, #wsite-com-checkout-list td, #wsite-com-checkout-summary-list td, #wsite-com-checkout-cart-footer, .wsite-checkout-button .wsite-button-inner{ font-size:0.8em; }
 .wsite-com-checkout-item-image{ max-width:90%; height:auto; }
 #wsite-com-checkout-list .wsite-remove-button, #wsite-com-checkout-summary-list .wsite-remove-button{ left:0; margin-left:0; top:10px; }
 #wsite-com-checkout-list .wsite-com-checkout-item-image{ width:40px; height:40px; }
 #wsite-mini-cart{ bottom:0; top:auto!important; opacity:1!important; position:fixed!important; margin:0; border-radius:0; -webkit-transition: all 0.3s ease-in-out; -moz-transition: all 0.3s ease-in-out; -o-transition: all 0.3s ease-in-out; transition: all 0.3s ease-in-out; }
 #wsite-mini-cart.full{ display:block!important; }
 .wsite-product-list li{ display:none!important; }
 #wsite-mini-cart.arrow-top-left:after, #wsite-mini-cart.arrow-top-left:before{ border:none; }
 h2.wsite-checkout-header{ padding-bottom:5px; }
 #wsite-mini-cart .wsite-product-image{ padding:10px; }
 .nav-trigger:checked ~ #wsite-mini-cart{ bottom:-70px; -webkit-transition: all 0.3s ease-in-out; -moz-transition: all 0.3s ease-in-out; -o-transition: all 0.3s ease-in-out; transition: all 0.3s ease-in-out; }
 .wsite-product-list{ display:none!important; }
 #wsite-search-form-container{ float:none; }
 #wsite-search-query{ font-size:1.25em; }
 #wsite-search-sidebar{ display:none; }
 #wsite-search-results, #wsite-search-product-results .wsite-search-product-result{ width:100%; }
 .wsite-input{ height:40px; padding:2px 10px; }
 .wsite-com-column-group.wsite-com-category-product-featured-group .wsite-com-column, #wsite-com-store .wsite-com-category-product-group .wsite-com-column { width:50%!important; }
 }
 @media (min-width: 768px) {
 #wsite-com-store #close { display: none !important; }
 }
 @media (max-width:767px){
 #navmobile ul{ width:100%!important; }
 .wsite-logo a { font-size: 1.25em; }
 .wsite-multicol-col { max-width: 100% !important; display: block; width: auto !important; margin: 0 auto 1em !important; }
 .short-header .banner-wrap { height:120px; }
 .tall-header #banner{ height:230px; }
 .landing-page #banner { height:300px; }
 #banner h2 { font-size: 2em!important; }
 .banner-wrap .button-wrap > div:before { padding-top: 30px; }
 #wsite-com-category-product-group.wsite-com-category-product-group .wsite-com-column{ width:100%!important; height:auto!important; }
 #wsite-com-product-info { margin:0; }
 #blogTable > tbody > tr > td { display: block !important; width: 100% !important; margin: 0 auto; padding: 0 !important; }
 .blog-body { float: none !important; }
 .blog-header { text-align: left; }
 .blog-sidebar .column-blog { width: 100%; float: none; padding-top: 3em; border-top: 1px solid $btnHLnormal; }
 .galleryCaptionHolder{ top:0; }
 .imageGallery .galleryCaptionInnerText div.paragraph, .imageGallery .galleryCaptionInnerText{ font-size:1.2em; line-height:19px; font-weight:200; }
 .imageGallery .galleryCaptionInnerText p, .imageGallery .galleryCaptionInnerText{ font-size:1.2em; line-height:19px; font-weight:200; }
 .galleryCaptionHolder{ display:none; }
 .fullwidth-mobile .galleryCaptionHolder{ display:block; }
 .fullwidth-mobile{ width:100%!important; }
 .fullwidth-mobile > div{ margin:5px 0!important; }
 .fancybox-overlay{ background:#f9f9f9!important; }
 .fancybox-opened .fancybox-skin{ box-shadow:none; height:100%!important; padding: 0 0 10%!important; background:transparent; }
 div.fancybox-wrap.fancybox-mobile.fancybox-type-image.fancybox-opened{ height:100%!important; padding-top:50px; }
 a.fancybox-item.fancybox-close{ display:none; }
 .fancybox-overlay:after, .fancybox-overlay:before, .fancybox-overlay-fixed.fancybox-overlay:after, .fancybox-overlay-fixed.fancybox-overlay:before, .fancybox-overlay:before, .fancybox-overlay:after{ content: ''; width: 25px; height: 3px; position: fixed; top: 21px; right: 10px; background: #415161; z-index: 11; -webkit-transform: rotate(45deg); -moz-transform: rotate(45deg); -ms-transform: rotate(45deg); transform: rotate(45deg); }
 .fancybox-overlay-fixed.fancybox-overlay:before, .fancybox-overlay:before{ -webkit-transform: rotate(-45deg); -moz-transform: rotate(-45deg); -ms-transform: rotate(-45deg); transform: rotate(-45deg); }
 .fancybox-wrap{ top: 0 !important; position: fixed !important; display: table !important; }
 .fancybox-wrap > div{ display: table-cell !important; vertical-align: middle !important; padding-top:60px!important; text-align: center; border-radius:0; }
 .fancybox-inner{ margin: 0 auto; width: 100% !important; height: auto !important; }
 .fancybox-nav, .fancybox-nav:active, .fancybox-nav:focus{ right: 0px !important; display: none !important; }
 .fancybox-close{ top:10px; right:10px; }
 .fancybox-opened ~ #wsite-mini-cart{ display:none; }
 #fancybox-thumbs.bottom{ bottom:0; background:#f9f9f9; padding:10px 0; }
 .wsite-name-field .wsite-form-input-first-name, .wsite-name-field .wsite-form-input-last-name{ width:100%; }
 #wsite-com-product-images{ width:100%; padding-bottom:15px; }
 #wsite-com-product-info { margin-left: 0; }
 #wsite-com-product-images a div{ padding-right:0px; }
 #wsite-com-store .wsite-com-category-subcategory-group .wsite-com-column, #wsite-com-store .wsite-com-category-product-featured-group .wsite-com-column, #wsite-com-store .wsite-com-category-product-group .wsite-com-column { width: 50% !important; }
 .wsite-com-content{ width:100%; margin-left:0; }
 .wsite-com-category-subcategory-name-text{ font-size:0.85em; }
 .wsite-com-category-subcategory-name{ top:0; }
 #wsite-com-product-list{ padding-top:20px; }
 #wsite-com-store .wsite-com-sidebar{ width: 100%; float: none !important; padding: 0 !important; text-align: center; position: relative; z-index: 10; margin: 0 auto 15px; cursor: pointer; min-height: 40px; }
 #wsite-com-store .wsite-com-sidebar { width: 100%; float: none !important; padding: 0 !important; text-align: center; position: relative; z-index: 10; margin: 0 auto 15px; cursor: pointer; min-height: 40px; }
 #wsite-com-store .wsite-com-sidebar::after { position: absolute; top: 0; content: 'VIEW ALL CATEGORIES \25be'; padding: 0; text-align: center; font-weight: 900 !important; text-transform: uppercase; color: white; background:#5199a8; clear: both; width:100%; padding:10px 18px; display:block; z-index: 11; -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box; -webkit-transition: all 120ms cubic-bezier(0.55, 0.085, 0.68, 0.53); -moz-transition: all 120ms cubic-bezier(0.55, 0.085, 0.68, 0.53); -o-transition: all 120ms cubic-bezier(0.55, 0.085, 0.68, 0.53); -ms-transition: all 120ms cubic-bezier(0.55, 0.085, 0.68, 0.53); transition: all 120ms cubic-bezier(0.55, 0.085, 0.68, 0.53); }
 #wsite-com-store .sidebar-expanded::after { display: none; }
 #wsite-com-store .sidebar-expanded { cursor: default !important; }
 #wsite-com-store .wsite-com-content-with-sidebar { margin-left: 0 !important; padding: 0 !important; }
 #wsite-com-store .wsite-com-sidebar #wsite-com-hierarchy > ul { top: 0; left: 0; width: 100%; padding: 3.5em 0 1.75em!important; background: #5199a8; }
 #wsite-com-store .wsite-com-sidebar #wsite-com-hierarchy { position: absolute; width: 100%; max-height: 0px; overflow: hidden; margin: 0 auto; display: block; top:0; z-index: 12; -webkit-transition: max-height 350ms linear; -moz-transition: max-height 350ms linear; -o-transition: max-height 350ms linear; -ms-transition: max-height 350ms linear; transition: max-height 350ms linear; }
 .postload #wsite-com-store .wsite-com-sidebar:hover #wsite-com-hierarchy { max-height: 0px; border-color: #5199a8; }
 #wsite-com-store .sidebar-expanded #wsite-com-hierarchy { max-height: 800px !important; margin: 0 auto .25em; }
 #wsite-com-store #close { position: absolute; z-index: 20; width: 100%; top: 0px; text-align: center; font-weight: 900 !important; text-transform: uppercase; color: white; display: block; padding:10px 0; }
 #wsite-com-store .wsite-com-sidebar #wsite-com-hierarchy a, #wsite-com-store .wsite-com-sidebar #wsite-com-hierarchy { color: white; }
 #wsite-com-hierarchy .wsite-selected { font-weight: bold; color: #fff; }
 .wsite-com-checkout-payment-column, .wsite-com-checkout-summary-column { display: block !important; width: auto !important; max-width: 100% !important; margin: 0 auto 1em !important; }
 #wsite-com-checkout-list .wsite-coupon-input, #wsite-com-checkout-summary-list .wsite-coupon-input { width: 120px; margin: 0; }
 #wsite-com-checkout-cart-footer { text-align: center; }
 .wsite-com-continue-shopping { display: block; margin: 0 auto 5px; }
 #wsite-com-checkout-cart-footer form { float: none !important; }
 .wsite-com-continue-shopping .caret { vertical-align: middle; }
 #wsite-com-checkout-payment-order { margin-left: 0; }
 }

div.paragraph ul, div.paragraph ol { padding-left: 3em !important; margin: 5px 0 !important; overflow:hidden; }
div.paragraph li { padding-left: 5px !important; margin: 3px 0 0 !important; }
div.paragraph ul, div.paragraph ul li { list-style: disc outside !important; }
div.paragraph ol, div.paragraph ol li { list-style: decimal outside !important; }


text:
DELIMITER /
ALTER TABLE COI_DISCLOSURE_HISTORY
ADD CONSTRAINT FK_COI_DISCLOSURE_HISTORY
FOREIGN KEY (COI_DISCLOSURE_ID)
REFERENCES COI_DISCLOSURE (COI_DISCLOSURE_ID)
/
DELIMITER ;


text:
import { BaseHandler, METHODS } from '@r/platform/router';
import * as platformActions from '@r/platform/actions';

import UserActivityHandler from 'app/router/handlers/UserActivity';

export default class UserActivityRerouteHandler extends BaseHandler {
  async [METHODS.GET](dispatch, getState) {
    const { platform: { currentPage }} = getState();
    const { urlParams, queryParams } = currentPage;
    const { userName } = urlParams;
    const url = UserActivityHandler.activityUrl(userName, queryParams.activity);

    dispatch(platformActions.redirect(url));
  }
}


text:
( function( root, factory ) {
    // Set up appropriately for the environment.
    // Start with AMD.
    if ( typeof define === 'function' && define.amd ) {
        define(
            [
                'handlebars',
                'exports'
            ],
            function( Handlebars, exports ) {
                root.Bullhorn = root.Bullhorn || {};
                root.Bullhorn.contains = factory( root, exports, Handlebars.default );
            }
        );
    // Next for Node.js or CommonJS.
    } else if ( typeof exports !== 'undefined' ) {
        module.exports = function( Handlebars ) {
            return factory( root, {}, Handlebars );
        };
    // Finally, as a browser global.
    } else {
        root.Bullhorn = root.Bullhorn || {};
        root.Bullhorn.contains = factory( root, {}, root.Handlebars );
    }
}( this, function( root, contains, Handlebars ) {
    contains = function( value, compare, options ) {
        var noop = function() {},
            fn = options.fn || noop,
            inverse = options.inverse || noop;

        if ( value.indexOf( compare ) !== -1 ) {
            return fn( value );
        } else {
            return inverse( value );
        }
    };
    Handlebars.registerHelper( 'contains', contains );
    return contains;
} ));


text:
@interface ViewController ()

@property (weak, nonatomic) IBOutlet UIImageView *iconImageView;

@end

@implementation ViewController {

    /// 数据源数组
    NSArray *_appsList;
}

- (void)viewDidLoad {
    [super viewDidLoad];

    [self loadJsonData];
}

// 测试框架是否有效
- (void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event
{
    // 获取随机数
    int random = arc4random_uniform((u_int32_t)_appsList.count);
    // 随机取出模型
    AppsModel *app = _appsList[random];

    // 分类接管图片的下载和展示
    [self.iconImageView SB_setimageWithURLString:app.icon];
}

// 这个 `loadJsonData`方法执行完了之后,我们再去点击屏幕
// loadJsonData是辅助我们开发框架!是测试框架的数据来源!
/// 下载json数据
- (void)loadJsonData
{
    // 1. 创建网络请求管理者
    AFHTTPSessionManager *manager = [AFHTTPSessionManager manager];

    // json数据的地址
    NSString *URLString = @"https://raw.githubusercontent.com/zhangxiaochuZXC/ServerFile20/master/apps.json";

    // 2. 网络请求管理者发送GET请求,获取json数据;
    // 默认是异步执行的,回调默认是主线程
    [manager GET:URLString parameters:nil progress:nil success:^(NSURLSessionDataTask * _Nonnull task, NSArray *responseObject) {

        NSLog(@"%@",responseObject);

        // 定义临时的可变的数组
        NSMutableArray *tmpM = [NSMutableArray arrayWithCapacity:responseObject.count];

        // 下一步 : 拿着字典数组responseObject,实现字典转模型
        [responseObject enumerateObjectsUsingBlock:^(id  _Nonnull obj, NSUInteger idx, BOOL * _Nonnull stop) {

            // obj : 就是数组里的元素(字典)
            AppsModel *app = [AppsModel appWithDict:obj];

            // 把模型对象添加到可变数组
            [tmpM addObject:app];
        }];

        // 给数据源数组赋值
        _appsList = tmpM.copy;

    } failure:^(NSURLSessionDataTask * _Nullable task, NSError * _Nonnull error) {

    }];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end


text:
using static System.Console;

public class Program {
	public static void Main() {
        var objects = new [] {
            new {Id = 2, Nome = "Wallace"},
            new {Id = 4, Nome = "Cigano"}
        };
		WriteLine(objects.GetType());
		foreach (var user in objects) {
			WriteLine($"Meu id é {user.Id}");
			WriteLine($"Meu nome é {user.Nome}");
		}
	}
}

//https://pt.stackoverflow.com/q/134992/101


text:
import { onLogs } from "../log_handlers";
import { Log } from "farmbot/dist/resources/api_resources";

describe("onLogs()", () => {
  it("inits log", () => {
    const msg = { message: "test log", type: undefined, channels: [] };
    const log = onLogs(jest.fn(), jest.fn())(msg as unknown as Log);
    expect(log).toEqual(expect.objectContaining({
      body: expect.objectContaining({ type: "info" })
    }));
  });
});


text:
require "uri"
begin
  require "datadog/statsd"
rescue LoadError
  raise 'Gem dogstatsd-ruby is required for logging metrics. Please add the gem "dogstatsd-ruby" to your Gemfile.'
end

# Example:
#   Sapience.add_appender(:datadog, {url: "udp://localhost:2222"})
#
module Sapience
  class Metrics
    class Datadog < Sapience::Metrics
      VALIDATION_MESSAGE = "Statsd only supports udp. Example: '#{Sapience::DEFAULT_STATSD_URL}'"

      # Create Appender
      #
      # Parameters:
      #   level: :trace
      #   url: [String]
      #     Valid URL to postdogstatsd-ruby to.
      #     Example:
      #       udp://localhost:8125
      #     Example, send all metrics to a particular namespace:
      #       udp://localhost:8125/namespace
      #     Default: udp://localhost:8125
      #   tags: [String]
      #     Example:
      #       tag1:true

      def initialize(opts = {})
        options = opts.dup
        fail("Options should be a Hash") unless options.is_a?(Hash)
        url   = options.delete(:url) || Sapience::DEFAULT_STATSD_URL
        @tags = options.delete(:tags)
        @uri  = URI.parse(url)
      end

      def provider
        @provider ||= ::Datadog::Statsd.new(@uri.host, @uri.port, dog_options)
      end

      def valid?
        @uri.scheme == "udp"
      end

      def timing(metric, duration = 0, options = {})
        if block_given?
          start = Time.now
          yield
          return false unless valid?
          provider.timing(metric, ((Time.now - start) * 1000).floor, options)
        else
          return false unless valid?
          provider.timing(metric, duration, options)
        end
      end

      def increment(metric, options = {})
        return false unless valid?
        provider.increment(metric, options)
      end

      def decrement(metric, options = {})
        return false unless valid?
        provider.decrement(metric, options)
      end

      def histogram(metric, amount, options = {})
        return false unless valid?
        provider.histogram(metric, amount, options)
      end

      def gauge(metric, amount, options = {})
        return false unless valid?
        provider.gauge(metric, amount, options)
      end

      def count(metric, amount, options = {})
        return false unless valid?
        provider.count(metric, amount, options)
      end

      def time(metric, options = {}, &block)
        return false unless valid?
        provider.time(metric, options, &block)
      end

      def batch(&block)
        provider.batch(&block)
      end

      # Create Event
      #
      # @param [String] title the title of the event
      # @param [String] text  the description
      # @param [Hash] opts event options
      # @option opts [Array] :namespaced_keys the keys we want to be namespaced. Valid: :title or :aggregation_key
      # @option opts [String] :namespace_prefix custom namespace
      #   (to override default from Sapience `app_name.environment`)
      # @option opts [String] :aggregation_key custom aggregation_key
      #   (to override default based on `title`, only applies when :aggregation_key includes in namespaced_keys option)
      #
      # @example Create an Event
      #   Sapience.metrics.event('article-published', "article #123")
      #
      # @example Create a namespaced Event with default namespacing
      #   Sapience.metrics.event('article-published', "article #123", {namespaced_keys: [:title, :aggregation_key]})
      #
      # @example Create a namespaced Event with custom namespacing
      #   Sapience.metrics.event(
      #     'article-published',
      #     "article #123",
      #     {namespace_prefix: 'custom_namespace',  namespaced_keys: [:title, :aggregation_key]}
      #   )
      #
      # @example Create an Event with a custom aggregation_key
      #   Sapience.metrics.event('article-published', "article #123", {aggregation_key: 'custom_aggregation_key')

      # rubocop:disable CyclomaticComplexity, PerceivedComplexity
      def event(title, text = "", opts = {})
        return false unless valid?
        fail ArgumentError "Title must be provided" unless title
        opts ||= {}

        namespaced_keys = opts.delete(:namespaced_keys) || []
        namespace_prefix = opts.delete(:namespace_prefix) || namespace

        if namespaced_keys.include?(:aggregation_key)
          aggregation_key = opts[:aggregation_key] || title
          opts[:aggregation_key] = "#{namespace_prefix}.#{aggregation_key}"
        end

        title = "#{namespace_prefix}.#{title}" if namespaced_keys.include?(:title)
        provider.event(title, text, opts)
      end
      # rubocop:enable CyclomaticComplexity, PerceivedComplexity

      def success(module_name, action, opts = {})
        increment("success", add_tags(module_name, action, opts))
      end

      def error(module_name, action, opts = {})
        increment("error", add_tags(module_name, action, opts))
      end

      def exception(module_name, action, opts = {})
        increment("exception", add_tags(module_name, action, opts))
      end

      def namespace
        ns = Sapience.namify(Sapience.app_name)
        ns += ".#{Sapience.namify(Sapience.environment)}" if Sapience.environment
        ns
      end

      def dog_options
        {
          namespace: namespace,
          tags: @tags,
        }
      end

      private

      def add_tags(module_name, action, opts)
        tags = opts.fetch(:tags, [])
        clean_up_tags(tags, :module, module_name)
        clean_up_tags(tags, :action, action)
        tags << "module:#{module_name}" << "action:#{action}"
        opts[:tags] = tags
        opts
      end

      def clean_up_tags(tags, key, value)
        old_tags = tags.dup
        tags.delete_if { |a| a =~ /^#{key}:/ }
        ::Sapience.logger.warn("WARNING: tag '#{key}' already exist, overwritten with #{value}") if tags != old_tags
      end
    end
  end
end


text:
<?xml version="1.0" ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<link rel="stylesheet" type="text/css" href="../../../../../scineplex.css">
<title></title>
<link rel="stylesheet" href="../../../../../Active.css" type="text/css" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rev="made" href="mailto:" />

NAME

AFFILIATION

DESCRIPTION

CONFIGURATION

AUTHOR

COPYRIGHT

NAME

Perl::Critic::Policy::Variables::ProhibitMatchVars - Avoid $`, $&, $' and their English equivalents.

AFFILIATION

This Policy is part of the core Perl::Critic distribution.

DESCRIPTION

Using the "match variables" $`, $&, and/or $' can significantly degrade the performance of a program. This policy forbids using them or their English equivalents. See perldoc English or PBP page 82 for more information.

It used to forbid plain use English;
 because it ends up causing the performance side-effects of the match variables. However, the message emitted for that situation was not at all clear and there is now Perl::Critic::Policy::Modules::RequireNoMatchVarsWithUseEnglish, which addresses this situation directly.

CONFIGURATION

This Policy is not configurable except for the standard options.

AUTHOR

Chris Dolan <cdolan@cpan.org>

COPYRIGHT

Copyright (c) 2006-2011 Chris Dolan.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The full text of this license can be found in the LICENSE file included with this module.


text:
namespace ash {

class NotificationOverflowViewTest : public views::ViewsTestBase {
 public:
  NotificationOverflowViewTest() {}

  NotificationOverflowViewTest(const NotificationOverflowViewTest&) = delete;
  NotificationOverflowViewTest& operator=(const NotificationOverflowViewTest&) =
      delete;

  ~NotificationOverflowViewTest() override = default;

  // views::ViewsTestBase:
  void SetUp() override {
    views::ViewsTestBase::SetUp();
    notification_overflow_view_ = std::make_unique<NotificationOverflowView>();
  }

  // Adds a notification and returns the string identifier.
  std::string AddNotification() {
    message_center::ProportionalImageView image_view(gfx::Size(16, 16));
    std::string notification_id =
        base::NumberToString(notification_identifier_++);
    notification_overflow_view_->AddIcon(image_view, notification_id);
    return notification_id;
  }

  // Checks whether |expected_notification_icons| notification icons are being
  // shown in the overflow. Does not include the overflow icon.
  void CheckNumberOfNotificationIcons(int expected_notification_icons) {
    int actual_notification_icons = 0;
    for (auto* v : notification_overflow_view_->GetChildrenInZOrder()) {
      if (!v->GetVisible() || v->GetID() != kNotificationOverflowIconId)
        continue;

      actual_notification_icons++;
    }
    DCHECK_EQ(expected_notification_icons, actual_notification_icons);
  }

  // Returns whether the overflow icon is being shown.
  bool HasOverflowIcon() {
    for (auto* v : notification_overflow_view_->GetChildrenInZOrder()) {
      if (v->GetID() != kOverflowIconId)
        continue;

      return v->GetVisible();
    }
    return false;
  }

  NotificationOverflowView* notification_overflow_view() {
    return notification_overflow_view_.get();
  }

 private:
  int notification_identifier_ = 0;
  std::unique_ptr<NotificationOverflowView> notification_overflow_view_;
};

// Tests that icons get added and removed when notifications come and go.
TEST_F(NotificationOverflowViewTest, Basic) {
  // Initially no notification icons should be shown.
  CheckNumberOfNotificationIcons(0);
  EXPECT_FALSE(HasOverflowIcon());

  // Add a notification, an icon should be created.
  std::string id = AddNotification();
  CheckNumberOfNotificationIcons(1);
  EXPECT_FALSE(HasOverflowIcon());

  // Try to remove a notification that doesn't exist. Nothing should change.
  notification_overflow_view()->RemoveIcon("non-existent-notification-id");
  CheckNumberOfNotificationIcons(1);
  EXPECT_FALSE(HasOverflowIcon());

  // Remove the notification that was added earlier, the icon should be removed.
  notification_overflow_view()->RemoveIcon(id);
  CheckNumberOfNotificationIcons(0);
  EXPECT_FALSE(HasOverflowIcon());
}

// Tests that the overflow icon gets added when more than |kMaxOverflowIcons|
// icons are added.
TEST_F(NotificationOverflowViewTest, OverflowIcon) {
  // Add notifications until just before overflow.
  for (int i = 0; i < kMaxOverflowIcons; ++i) {
    AddNotification();
    CheckNumberOfNotificationIcons(i + 1);
    EXPECT_FALSE(HasOverflowIcon());
  }

  // Add one more notification, the overflow icon should appear instead of that
  // new notification.
  AddNotification();

  CheckNumberOfNotificationIcons(kMaxOverflowIcons);
  EXPECT_TRUE(HasOverflowIcon());

  // Remove any notification that was added. The overflow icon should dissapear.
  notification_overflow_view()->RemoveIcon(base::NumberToString(0));
  CheckNumberOfNotificationIcons(kMaxOverflowIcons);
  EXPECT_FALSE(HasOverflowIcon());

  // Add a few more (over |kMaxOverflowIcons|) notifications to show the
  // overflow icon.
  AddNotification();
  AddNotification();
  AddNotification();

  CheckNumberOfNotificationIcons(kMaxOverflowIcons);
  EXPECT_TRUE(HasOverflowIcon());
}

}  // namespace ash


text:
layout: default
---
{% include JB/setup %}
{% include themes/home_page.html %}


text:
.class Lcom/android/systemui/statusbar/phone/taskbar/desk/DeskPanelViewNotification$3;
.super Ljava/lang/Object;
.source "DeskPanelViewNotification.java"

# interfaces
.implements Landroid/view/ViewGroup$OnHierarchyChangeListener;

# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/android/systemui/statusbar/phone/taskbar/desk/DeskPanelViewNotification;->initViewHierarchyChangeListener()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation

# instance fields
.field final synthetic this$0:Lcom/android/systemui/statusbar/phone/taskbar/desk/DeskPanelViewNotification;

# direct methods
.method constructor <init>(Lcom/android/systemui/statusbar/phone/taskbar/desk/DeskPanelViewNotification;)V
    .locals 0

    iput-object p1, p0, Lcom/android/systemui/statusbar/phone/taskbar/desk/DeskPanelViewNotification$3;->this$0:Lcom/android/systemui/statusbar/phone/taskbar/desk/DeskPanelViewNotification;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

# virtual methods
.method public onChildViewAdded(Landroid/view/View;Landroid/view/View;)V
    .locals 4

    move-object v0, p2

    check-cast v0, Lcom/android/systemui/statusbar/ExpandableNotificationRow;

    const-string/jumbo v1, "DeskPanelViewNotification"

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v3, "DPVNP.onChildViewAdded-"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v0}, Lcom/android/systemui/statusbar/ExpandableNotificationRow;->getStatusBarNotification()Landroid/service/notification/StatusBarNotification;

    move-result-object v3

    invoke-virtual {v3}, Landroid/service/notification/StatusBarNotification;->getKey()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v1, v2}, Lcom/android/systemui/statusbar/DebugLogUtils;->LogEng(Ljava/lang/String;Ljava/lang/String;)V

    iget-object v1, p0, Lcom/android/systemui/statusbar/phone/taskbar/desk/DeskPanelViewNotification$3;->this$0:Lcom/android/systemui/statusbar/phone/taskbar/desk/DeskPanelViewNotification;

    invoke-virtual {v1}, Lcom/android/systemui/statusbar/phone/taskbar/desk/DeskPanelViewNotification;->isNextNoneState()Z

    move-result v1

    if-eqz v1, :cond_1

    iget-object v1, p0, Lcom/android/systemui/statusbar/phone/taskbar/desk/DeskPanelViewNotification$3;->this$0:Lcom/android/systemui/statusbar/phone/taskbar/desk/DeskPanelViewNotification;

    invoke-static {v1}, Lcom/android/systemui/statusbar/phone/taskbar/desk/DeskPanelViewNotification;->-wrap1(Lcom/android/systemui/statusbar/phone/taskbar/desk/DeskPanelViewNotification;)V

    :cond_0
    :goto_0
    return-void

    :cond_1
    iget-object v1, p0, Lcom/android/systemui/statusbar/phone/taskbar/desk/DeskPanelViewNotification$3;->this$0:Lcom/android/systemui/statusbar/phone/taskbar/desk/DeskPanelViewNotification;

    invoke-virtual {v1}, Lcom/android/systemui/statusbar/phone/taskbar/desk/DeskPanelViewNotification;->isNextPreviewState()Z

    move-result v1

    if-eqz v1, :cond_0

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lcom/android/systemui/statusbar/ExpandableNotificationRow;->setUserExpanded(Z)V

    iget-object v1, p0, Lcom/android/systemui/statusbar/phone/taskbar/desk/DeskPanelViewNotification$3;->this$0:Lcom/android/systemui/statusbar/phone/taskbar/desk/DeskPanelViewNotification;

    invoke-static {v1}, Lcom/android/systemui/statusbar/phone/taskbar/desk/DeskPanelViewNotification;->-get4(Lcom/android/systemui/statusbar/phone/taskbar/desk/DeskPanelViewNotification;)Lcom/android/systemui/statusbar/phone/taskbar/desk/DeskPanelViewNotificationPreview;

    move-result-object v1

    iget-object v2, p0, Lcom/android/systemui/statusbar/phone/taskbar/desk/DeskPanelViewNotification$3;->this$0:Lcom/android/systemui/statusbar/phone/taskbar/desk/DeskPanelViewNotification;

    invoke-static {v2}, Lcom/android/systemui/statusbar/phone/taskbar/desk/DeskPanelViewNotification;->-get0(Lcom/android/systemui/statusbar/phone/taskbar/desk/DeskPanelViewNotification;)Z

    move-result v2

    invoke-virtual {v1, v2}, Lcom/android/systemui/statusbar/phone/taskbar/desk/DeskPanelViewNotificationPreview;->expand(Z)V

    goto :goto_0
.end method

.method public onChildViewRemoved(Landroid/view/View;Landroid/view/View;)V
    .locals 4

    move-object v0, p2

    check-cast v0, Lcom/android/systemui/statusbar/ExpandableNotificationRow;

    invoke-virtual {v0}, Lcom/android/systemui/statusbar/ExpandableNotificationRow;->isDismissed()Z

    move-result v1

    if-nez v1, :cond_0

    invoke-virtual {v0}, Lcom/android/systemui/statusbar/ExpandableNotificationRow;->isRemoved()Z

    move-result v1

    if-nez v1, :cond_0

    iget-object v1, p0, Lcom/android/systemui/statusbar/phone/taskbar/desk/DeskPanelViewNotification$3;->this$0:Lcom/android/systemui/statusbar/phone/taskbar/desk/DeskPanelViewNotification;

    invoke-static {v1}, Lcom/android/systemui/statusbar/phone/taskbar/desk/DeskPanelViewNotification;->-get5(Lcom/android/systemui/statusbar/phone/taskbar/desk/DeskPanelViewNotification;)Lcom/android/systemui/statusbar/phone/NotificationGroupManager;

    move-result-object v1

    invoke-virtual {v0}, Lcom/android/systemui/statusbar/ExpandableNotificationRow;->getStatusBarNotification()Landroid/service/notification/StatusBarNotification;

    move-result-object v2

    invoke-virtual {v1, v2}, Lcom/android/systemui/statusbar/phone/NotificationGroupManager;->isChildInGroupWithSummary(Landroid/service/notification/StatusBarNotification;)Z

    move-result v1

    if-eqz v1, :cond_1

    :cond_0
    return-void

    :cond_1
    const-string/jumbo v1, "DeskPanelViewNotification"

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v3, "DPVNP.onChildViewRemoved-"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v0}, Lcom/android/systemui/statusbar/ExpandableNotificationRow;->getStatusBarNotification()Landroid/service/notification/StatusBarNotification;

    move-result-object v3

    invoke-virtual {v3}, Landroid/service/notification/StatusBarNotification;->getKey()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v1, v2}, Lcom/android/systemui/statusbar/DebugLogUtils;->LogEng(Ljava/lang/String;Ljava/lang/String;)V

    iget-object v1, p0, Lcom/android/systemui/statusbar/phone/taskbar/desk/DeskPanelViewNotification$3;->this$0:Lcom/android/systemui/statusbar/phone/taskbar/desk/DeskPanelViewNotification;

    invoke-static {v1}, Lcom/android/systemui/statusbar/phone/taskbar/desk/DeskPanelViewNotification;->-get7(Lcom/android/systemui/statusbar/phone/taskbar/desk/DeskPanelViewNotification;)Lcom/android/systemui/statusbar/phone/StatusBar;

    move-result-object v1

    if-eqz v1, :cond_2

    iget-object v1, p0, Lcom/android/systemui/statusbar/phone/taskbar/desk/DeskPanelViewNotification$3;->this$0:Lcom/android/systemui/statusbar/phone/taskbar/desk/DeskPanelViewNotification;

    invoke-static {v1}, Lcom/android/systemui/statusbar/phone/taskbar/desk/DeskPanelViewNotification;->-get7(Lcom/android/systemui/statusbar/phone/taskbar/desk/DeskPanelViewNotification;)Lcom/android/systemui/statusbar/phone/StatusBar;

    move-result-object v1

    invoke-virtual {v1}, Lcom/android/systemui/statusbar/phone/StatusBar;->requestNotificationUpdate()V

    :cond_2
    return-void
.end method


text:
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
    xmlns:android="http://schemas.android.com/apk/res/android"
    id="io.hpd.cordova.gimbal2"
    version="1.0.0">

    <name>Gimbal2</name>
    <description>Cordova Gimbal v2 Plugin</description>
    <author>Denny Tsai</author>
    <license>Apache 2.0</license>
    <keywords>cordova,gimbal,ibeacon</keywords>
    <repo>https://github.com/happydenn/cordova-plugin-gimbal2.git</repo>
    <issue>https://github.com/happydenn/cordova-plugin-gimbal2/issues</issue>

    <engines>
        <engine name="cordova" version=">=3.0" />
    </engines>

    <js-module src="www/Gimbal2.js" name="Gimbal2">
        <clobbers target="Gimbal2" />
    </js-module>

    <platform name="android">
        <config-file target="res/xml/config.xml" parent="/*">
            <feature name="Gimbal2">
                <param name="android-package" value="io.hpd.cordova.gimbal2.Gimbal2" />
            </feature>
        </config-file>

        <config-file target="AndroidManifest.xml" parent="/manifest/application">
          <service android:name="io.hpd.cordova.gimbal2.GimbalService" />
        </config-file>

        <config-file target="AndroidManifest.xml" parent="/manifest">
            <uses-permission android:name="android.permission.INTERNET" />
            <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
            <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
            <uses-permission android:name="android.permission.WAKE_LOCK" />
            <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
            <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
            <uses-permission android:name="android.permission.BLUETOOTH" />
            <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
        </config-file>

        <framework src="com.android.support:support-v4:+" />

        <source-file src="src/android/Gimbal2.java" target-dir="src/io/hpd/cordova/gimbal2" />
        <source-file src="src/android/GimbalService.java" target-dir="src/io/hpd/cordova/gimbal2"/>
        <source-file src="src/android/GimbalDAO.java" target-dir="src/io/hpd/cordova/gimbal2"/>
        <source-file src="src/android/GimbalEventListAdapter.java" target-dir="src/io/hpd/cordova/gimbal2"/>
    </platform>

</plugin>


text:
require 'sinatra'
require 'json'
require 'sinatra/json'
require_relative 'affordances/get_homepage'
require_relative 'affordances/get_product'
require_relative 'affordances/get_categories'
require_relative 'affordances/get_vendors'
require_relative 'affordances/get_products'
require_relative 'affordances/get_product'
require_relative 'affordances/get_products'
require_relative 'affordances/get_reviews'
require_relative 'affordances/get_review'
require_relative 'affordances/post_review'
require_relative 'affordances/put_review'
require_relative 'affordances/post_cart'
require_relative 'affordances/delete_cart'
require_relative 'affordances/post_invoice'
require_relative 'affordances/get_vendor'
require_relative 'affordances/get_vendor'
require_relative 'affordances/get_products'
require_relative 'affordances/get_root'

get '/homepage' do
  json(GetHomepage.new(params).response)
end

get '/products/:product_id' do
  json(GetProduct.new(params).response)
end

get '/categories' do
  json(GetCategories.new(params).response)
end

get '/vendors' do
  json(GetVendors.new(params).response)
end

get '/categories/:category_id' do
  json(GetProducts.new(params).response)
end

get '/products/:product_id' do
  json(GetProduct.new(params).response)
end

get '/products' do
  json(GetProducts.new(params).response)
end

get '/products/:product_id/reviews' do
  json(GetReviews.new(params).response)
end

get '/reviews/:review_id' do
  json(GetReview.new(params).response)
end

post '/review' do
  json(PostReview.new(params).response)
end

put '/review' do
  json(PutReview.new(params).response)
end

post '/cart' do
  json(PostCart.new(params).response)
end

delete '/cart/:cart_id/:product_id' do
  json(DeleteCart.new(params).response)
end

post '/invoice' do
  json(PostInvoice.new(params).response)
end

get '/product/:vendor_id' do
  json(GetVendor.new(params).response)
end

get '/vendors/:vendor_id' do
  json(GetVendor.new(params).response)
end

get '/products' do
  json(GetProducts.new(params).response)
end

get '/' do
  json(GetRoot.new(params).response)
end


text:
namespace GameLogic.Interfaces
{
    using GameLogic.Map;

    public interface IMovable
    {
        Field Field { get; }

        void MoveTo(Field target);
    }
}


text:
'use strict'

import * as util from './util'

export default function Frequency (frequency) {
  const noteNumber = util.frequencyToNoteNumber(frequency)

  let note,
    octave,
    offset

  return {
    get frequency () {
      return frequency
    },

    get noteNumber () {
      return noteNumber
    },

    get note () {
      if (typeof note === 'undefined') {
        note = util.noteNumberToNote(noteNumber)
      }

      return note
    },

    get octave () {
      if (typeof octave === 'undefined') {
        octave = util.noteNumberToOctave(noteNumber)
      }

      return octave
    },

    get offset () {
      if (typeof offset === 'undefined') {
        offset = util.centsOffsetFromFrequency(frequency, noteNumber)
      }

      return offset
    }
  }
}


text:
/**
 *
 */
package com.jitworks.shareinfo.service.impl;

import java.util.ArrayList;
import java.util.List;

import org.apache.commons.mail.DefaultAuthenticator;
import org.apache.commons.mail.EmailException;
import org.apache.commons.mail.HtmlEmail;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service;

import com.jitworks.shareinfo.dao.EmailDAO;
import com.jitworks.shareinfo.dao.UserDAO;
import com.jitworks.shareinfo.data.Blog;
import com.jitworks.shareinfo.data.MailParam;
import com.jitworks.shareinfo.data.MailTemplate;
import com.jitworks.shareinfo.data.User;
import com.jitworks.shareinfo.data.UserCustom;
import com.jitworks.shareinfo.service.EmailService;

/**
 * @author j.paidimarla
 *
 */
@Service
public class EmailServiceImpl implements EmailService {

//	private static final String EMAIL_REPLY_TO = "j.paidimarla@sta.samsung.com";
//	private static final String EMAIL_FROM_NAME = "shareinfo Notifications";

//	private static final String EMAIL_FROM = "seceas044@smail0702.net";
//	private static final String EMAIL_PASSWORD = "Exchange$10";
//	private static final String EMAIL_USERID = "seceas044";
//	private static final String HOST_NAME = "smail0702.net";
//	private static final int EMAIL_PORT = 25;

	private static final String EMAIL_REPLY_TO = "iamjaji@gmail.com";
	private static final String EMAIL_FROM_NAME = "shareinfo Notifications";

	private static final String EMAIL_FROM = "jaji2015@gmail.com";
	private static final String EMAIL_PASSWORD = "jajikanth88";
	private static final String EMAIL_USERID = "jaji2015";
	private static final String HOST_NAME = "smtp.googlemail.com";
	private static final int EMAIL_PORT = 465;

	private Logger logger = LoggerFactory.getLogger(EmailServiceImpl.class);

	@Autowired
	private EmailDAO emailDAO;

	@Autowired
	private UserDAO userDAO;

	public void sentEmail(MailParam mailParam) {
		try {
			HtmlEmail email = new HtmlEmail();
			// TODO: Refactor all strings as constants
			email.setHostName(HOST_NAME);
			email.setSmtpPort(EMAIL_PORT);
			email.setAuthenticator(new DefaultAuthenticator(EMAIL_USERID, EMAIL_PASSWORD));
			email.setFrom(EMAIL_FROM, EMAIL_FROM_NAME);
			//for gmail
			email.setSSLOnConnect(true);
			email.setDebug(true);

			email.setSubject(mailParam.getSubject());
			email.setHtmlMsg(mailParam.getMessageBody());
			email.setTextMsg("Your email client does not support HTML messages");
			// TODO : Chage to the Blog user ID.
			email.addReplyTo(EMAIL_REPLY_TO);
			if (mailParam.getToEmailId() != null)
				email.addTo(mailParam.getToEmailId());
			if (mailParam.getCcEmailId() != null)
				email.addCc(mailParam.getCcEmailId());
			try {
				if (mailParam.getToEmailIds() != null && !mailParam.getToEmailIds().isEmpty())
					email.addBcc(mailParam.getToEmailIds().toArray(new String[mailParam.getToEmailIds().size()])); // Convert to array send the email
			} catch (Exception e) {

				logger.error("Error in adding to email IDs : " + e);
			}
			logger.info("HostName : " + email.getHostName() + " ; Port : " + email.getSmtpPort() + "");
			email.send();
			logger.info(">>>>>>>>>>>>>>>>>>>>Email Sent. . .");

		} catch (EmailException e) {
			logger.error(">>>>>>>>>>>>>>>>>>>Email Exception . . . ." + e);
		}
	}

	public MailTemplate getEmailTemplate(int emailTemplateId) {
		logger.debug("Get Email template for id" + emailTemplateId);
		return emailDAO.getEmailTemplate(emailTemplateId);
	}

	@Async
	public void sendNewBlogMails(Blog blog) {
		// Template id is used for new blog emails
		MailTemplate mailTemplate = emailDAO.getEmailTemplate(1);
		MailParam mailParam = new MailParam();
		List<User> users = userDAO.getUsers();
		List<String> userEmailIds = new ArrayList<String>();
		for (User user : users) {
			try {
				// remove auth user form this list
				if (!user.getEmail().isEmpty() && !user.getEmail().equals(blog.getUser().getEmail())) {
					userEmailIds.add(user.getEmail());
				}
			} catch (NullPointerException e) {
				logger.error("No Email ID found for user :  " + user.getFirstName());
			} catch (Exception e) {
				logger.error("Add user Email ID exception . . . ." + e);
			}
		}

		if (mailTemplate != null) {
			String updateTemplate = mailTemplate.getTemplate();
			if (mailTemplate.getTemplate().contains("$blogtitle$"))
				updateTemplate = updateTemplate.replace("$blogtitle$", blog.getTitle());
			if (mailTemplate.getTemplate().contains("$blogcontent$"))
				updateTemplate = updateTemplate.replace("$blogcontent$", blog.getContent());

			mailParam.setSubject(blog.getUser().getFirstName().concat(" Created/Updated a blog in shareinfo"));
			// mailParam.setToEmailId(EMAIL_REPLY_TO);
			mailParam.setCcEmailId(blog.getUser().getEmail());
			mailParam.setToEmailIds(userEmailIds);// send as bcc
			mailParam.setMessageBody(updateTemplate);
			sentEmail(mailParam);
			/*
			 * //check for async task try {
			 * logger.info("sleeping thread>>>>>>>>>>>>>>>");
			 * Thread.sleep(25000); logger.info("After delay>>>>>>>>>>>>>>>"); }
			 * catch (InterruptedException e) {
			 * block e.printStackTrace(); logger.error("sleeping thread"); }
			 */

		}

	}

	@Async
	public void emailPassword(UserCustom userCustom) {
		// TODO Create new template if required
		MailTemplate mailTemplate = emailDAO.getEmailTemplate(1);
		MailParam mailParam = new MailParam();

		// List<String> userEmailIds = new ArrayList<String>();
		if (mailTemplate != null) {
			String updateTemplate = mailTemplate.getTemplate();
			if (mailTemplate.getTemplate().contains("$blogtitle$"))
				updateTemplate = updateTemplate.replace("$blogtitle$", "Your Password is : ".concat(userCustom.getPasswordUnEncrypted()));
			if (mailTemplate.getTemplate().contains("$blogcontent$"))
				updateTemplate = updateTemplate.replace("$blogcontent$", "If you have not requested for your password, Please inform administrator. ");
			mailParam.setSubject(userCustom.getFirstName().concat(",  Please find your password for shareinfo."));
			mailParam.setToEmailId(userCustom.getEmail());
			mailParam.setMessageBody(updateTemplate);
			sentEmail(mailParam);

		}

	}

}


text:
package in.flipbrain.dto;

/**
 *
 * @author auser
 */
public class SubmissionResponseDto extends BaseDto {
    public long responseId;
    public long submissionId;
    public long assessQuestId;
    public long answerOptId;
    public String response;
}


text:
<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/securitycenter/v1p1beta1/securitycenter_service.proto

namespace Google\Cloud\SecurityCenter\V1p1beta1;

use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;

/**
 * Request message for getting a notification config.
 *
 * Generated from protobuf message google.cloud.securitycenter.v1p1beta1.GetNotificationConfigRequest
 */
class GetNotificationConfigRequest extends \Google\Protobuf\Internal\Message
{
    /**
     * Required. Name of the notification config to get. Its format is
     * "organizations/[organization_id]/notificationConfigs/[config_id]".
     *
     * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
     */
    private $name = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $name
     *           Required. Name of the notification config to get. Its format is
     *           "organizations/[organization_id]/notificationConfigs/[config_id]".
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Securitycenter\V1P1Beta1\SecuritycenterService::initOnce();
        parent::__construct($data);
    }

    /**
     * Required. Name of the notification config to get. Its format is
     * "organizations/[organization_id]/notificationConfigs/[config_id]".
     *
     * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
     * @return string
     */
    public function getName()
    {
        return $this->name;
    }

    /**
     * Required. Name of the notification config to get. Its format is
     * "organizations/[organization_id]/notificationConfigs/[config_id]".
     *
     * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
     * @param string $var
     * @return $this
     */
    public function setName($var)
    {
        GPBUtil::checkString($var, True);
        $this->name = $var;

        return $this;
    }

}


text:
<!doctype html>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="resources/helpers.js"></script>

<script>
promise_test(async t => {
  const result = navigation.navigate("#1");
  await assertBothFulfill(t, result, navigation.currentEntry);
  assert_equals((new URL(navigation.currentEntry.url)).hash, "#1");
}, "navigate() promises");
</script>


text:
#!/usr/bin/js

// Our test
var filename = (1<system.args.length) ? system.args[1] : "test.xml";

var parser = XML.domParser();
parser.setValidate();
parser.setSubstituteEntities(); // We just want the text to be resolved/unescaped automatically
parser.parseFile(filename);
if(!parser.isParsed()) {
	system.stderr.writeln("Parsing failed.");
	system.exit(1);
}

var doc = parser.getDocument();
var str = doc.writeToString();
system.stdout.write(str);

/* EOF */