answer stringlengths 15 1.25M |
|---|
(function() {
define("kopi/tests/utils", function(require, exports, module) {
var q, utils;
q = require("qunit");
utils = require("kopi/utils");
q.module("kopi/utils");
q.test("guid", function() {
q.equal(utils.guid(), "kopi-0");
return q.equal(utils.guid("prefix"), "prefix-1");
})... |
layout: post
date: 2017-10-20
title: "Jovani Cap Sleeve Cocktail Dress 20303 Sleeveless Short/Mini Sheath/Column"
category: Jovani
tags: [Jovani ,Jovani,Sheath/Column,Bateau,Short/Mini,Sleeveless]
Jovani Cap Sleeve Cocktail Dress 20303
Just **$419.98**
Sleeveless Short/Mini Sheath/Column
<table><tr><td>BRANDS</td><td>J... |
package main
import (
//"fmt"
"github.com/rwcarlsen/goexif/exif"
"github.com/zepouet/exif-extractor/api"
"log"
"os"
"path/filepath"
"runtime"
"strings"
"sync"
"time"
)
// TODO
func avian_carrier(res chan api.ExifInfo, wg *sync.WaitGroup) {
defer wg.Done()
defer log.Printl... |
# <API key>: true
module Renalware
module ClinicalHelper
def <API key>(patient)
breadcrumb_for("Clinical Profile", <API key>(patient))
end
end
end |
#!/usr/bin/env python
from setuptools import setup
setup(name='RQ-Cron',
version='1.0.2',
description='RQ Cron',
author='Andrii Kostenko',
author_email='andrey@kostenko.name',
packages=['rq_cron', 'rq_cron.scripts'],
install_requires=['rq>=0.3.5', 'croniter'],
entry_points='''\... |
local keys = require 'posts.repository.keys'
local cache
local cached
do
local config = require 'config'
cache = config.cache
cached = require 'caching.cached'
cached = cached.new {cache = cache, time = 3600}
end
-- region: posts repository
local function search_posts(self, q, page)
return self.inne... |
"use strict";var l={"FLK":["FLK","Falklandeilanden"],"CHL":["CHL","Chili"],"TTO":["TTO","Trinidad en Tobago"],"GUF":["GUF","Frans-Guyana"],"BRA":["BRA","Brazili\u00EB"],"ARG":["ARG","Argentini\u00EB"]};(this?this:window)['DvtBaseMapManager']['_UNPROCESSED_MAPS'][2].push(["southAmerica","countries",l]); |
.app-header {
background-image: -webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,#8fc33a),color-stop(100%,#739b2e));
background-image: -<API key>(top,#8fc33a,#739b2e);
background-image: -moz-linear-gradient(top,#8fc33a,#739b2e);
background-image: -o-linear-gradient(top,#8fc33a,#739b2e);
background-image: linear-gra... |
package seedu.task.storage;
import static junit.framework.TestCase.assertNotNull;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import java.io.IOException;
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.TemporaryFolder;
import seed... |
# telerobot
Telepresence robot server prototype written in Go and running on Revel. To be used in conjunction with a differential wheeled robot powered by a Particle Photon (or Core) microcontroller.
## Configuration
Copy `telerobot_conf.json.sample` to `~/.telerobot_conf.json` and update with the device id and access ... |
import * as Scrivito from 'scrivito'
Scrivito.<API key>('FactCounterWidget', {
title: 'Fact Counter',
attributes: {
key: {
title: 'Key'
},
value: {
title: 'Value'
},
postfix: {
title: 'Postfix'
},
speed: {
title: 'Speed',
values: [
{ value: '150', ti... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Web;
using System.Web.Mvc;
using TankStudios.Interfaces;
using TankStudios.Models;
namespace TankStudios.Controllers
{
public class HomeController : Controller
{
private IContactService _contact... |
The MIT License (MIT)
Copyright (c) 2014 codemix ltd.
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, publi... |
from nltk.tokenize import word_tokenize
from nltk.stem.snowball import EnglishStemmer
from nltk.corpus import stopwords
from collections import defaultdict
from search_backend.search_index import searchIndex
import operator
#from iRnWsLeo.search_backend.search_index import searchIndex
#from search_backend.create_index ... |
module Logchange
# Store configuration for this gem.
class Configuration
attr_accessor :changelog_directory
attr_accessor :root_path
def initialize
@changelog_directory = 'changelog'
@root_path = Dir.pwd
end
def <API key>
File.join(@root_path, @changelog_directory)
end
en... |
public class _69Sqrt_x {
public int mySqrt(int x) {
if (x <= 0 ) return 0;
int start =1;
int end = x;
while (true){
int mid = start + (end - start)/2;
if (x/mid < mid){
end = mid - 1;
}else{
if (x /(mid + 1) < mid +... |
var path = require('path')
, assert = require('assert')
, Mincer = require('mincer');
describe('Mincer', function() {
var templateProjectPath = path.resolve(__dirname, '../templates/project');
var mincer = {};
before(function(done) {
mincer.environment = new Mincer.Environment();
mincer.assets_prefix ... |
<?php
namespace Idealspoon\FrontendBundle;
use Symfony\Component\HttpKernel\Bundle\Bundle;
class <API key> extends Bundle
{
} |
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { <API key> } from './groups-edit-page.component';
describe('<API key>', () => {
let component: <API key>;
let fixture: ComponentFixture<<API key>>;
beforeEach(async(() => {
TestBed.<API key>({
declarations: [ <API key> ]
... |
import { FieldConfig, Field } from 'formik';
import * as React from 'react';
import InlineErrorView from 'shared/view/elements/Errors/InlineErrorView/InlineErrorView';
import MuiTextInput from 'shared/view/elements/MuiTextInput/MuiTextInput';
type AllProps = FieldConfig &
Omit<
React.ComponentProps<typeof MuiText... |
local lib = require"log4l"
assert(lib.tostring{1, 2, 3, 4, 5, 6, 7, 8, 9} == "{1, 2, 3, 4, 5, 6, 7, 8, 9}", "test is incorrect")
assert(lib.tostring{1, 2, 3, 4, 5, 6, 7, 8, 9, 10} == "{1, 2, 3, 4, 5, 6, 7, 8, 9, 10}", "numbers were reordered")
assert(lib.tostring{[45] = 1, 5} == "{5, [45] = 1}", "out-of-order numbers d... |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class templateWA extends MX_Controller {
public function __construct(){
parent::__construct();
}
public function getmenucategorias(){
$this->load->model('getmenucategorias');
$u = $this->getmenucategorias->get... |
require 'rack/utils'
module Rack
# Middleware that enables conditional GET using If-None-Match and
# If-Modified-Since. The application should set either or both of the
# Last-Modified or Etag response headers according to RFC 2616. When
# either of the conditions is met, the response body is set to be zero
#... |
using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Collections;
using System.Collections.Generic;
/**
* Auto-generated code below aims at helping you parse
* the standard input according to the problem statement.
**/
class Solution
{
static void Main(string[] args)
{
in... |
import { <API key> } from '../creative/creative_linear';
import { <API key> } from '../closed_caption_file';
import { createIcon } from '../icon';
import { <API key> } from '../<API key>';
import { createMediaFile } from '../media_file';
import { createMezzanine } from '../mezzanine';
import { parserUtils } from './par... |
<!DOCTYPE html>
<html>
<head>
<link rel = "stylesheet" type = "text/css" href = "style.css">
<title>favourite app</title>
</head>
<body>
<h1 class = "title">My app</h1>
<div class="app">
<div class="image"><img src = "images/app.png" alt="app image"></div>
<div class="description">Curabitur aliquet quam... |
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
<meta chars... |
import { Battle, Game, Suit, Card, PlayersBid, Player, TrumpAnnouncement, CardPattern } from '../game.interfaces';
import { getNextTurn, getPlayerById, <API key> } from './players.helpers';
import * as _ from 'lodash';
import { getHighestBid } from './bid.helpers';
import { getPointsByCard, <API key>, areCardsEqual, ge... |
# -*- coding: utf-8 -*-
# Generated by Django 1.11.6 on 2018-01-25 18:50
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('transcript', '<API key>'),
]
operations = [
migrations.AddField(
mod... |
using System;
namespace csCommon.Types.DataServer.PoI
{
// TODO Add the code to parse CSV files.
// TODO Check whether we already have a DS that represents a CSV
// TODO See csDataServerPlugin.DataServerPlugin.InitShapeLayers to instantiate the Csv
// TODO Watch the folders for new shape files or CSVs
... |
package com.winterwell.web.fields;
import com.winterwell.utils.web.WebUtils;
/**
* A field with a fixed value.
*
* @author Daniel
*/
public class UnmodifiableField<X> extends AField<X> {
private static final long serialVersionUID = 1L;
private String displayValue;
private X value;
/**
*
* ... |
/* eslint no-undef: "off" */
import delay from 'api/__mocks__/delay';
import breadcrumbs from 'api/__fakeData__/breadcrumbs';
class BreadcrumbsApi {
static getForumBreadcrumbs(forumId) {
let result;
if (!forumId) {
result = [];
}
else if(parseInt(forumId)<10){
result = [
breadcrumb... |
class Thor
module Actions
# Creates an empty directory.
# destination<String>:: the relative path to the destination root.
# config<Hash>:: give :verbose => false to not log the status.
# empty_directory "doc"
def empty_directory(destination, config={})
action EmptyDirectory.new(self, dest... |
import resource from '<API key>';
import readError from '../lib/read-error';
import Block from '../models/block';
import { knownPublicKeys, knownAddresses } from '../lib/knowns';
const addressRegex = /^[0-9]{15,21}[L]$/;
export default () => resource({
id : 'block',
/** GET / - List all entities */
index({ ... |
using CK.Glouton.Model.Server.Handlers.Implementation;
using CK.Glouton.Model.Server.Sender;
using MailKit.Net.Smtp;
using MailKit.Security;
using MimeKit;
using System;
using System.Collections.Generic;
using System.Text;
namespace CK.Glouton.AlertSender.Sender
{
public class MailSender : IAlertSender
{
... |
<!DOCTYPE html>
<html>
<head>
<meta charset="Shift_JIS" />
</head>
<body>
<form action="api/sample" method="POST" enctype="multipart/form-data">
<input type="file" name="myFile" />
<input type="text" name="text" />
<input type="submit" value="Upload" />
</form>
<a href="api/sampl... |
'use strict';
/*
* Defining the Package
*/
var Module = require('meanio').Module;
var Core = new Module('core');
/*
* All MEAN packages require registration
* Dependency injection is used to define required modules
*/
Core.register(function(app, auth, database) {
//We enable routing. By default the Package Obj... |
module BFLib.BrainfuchFollow where
import Control.Monad.State
import Control.Monad.Writer
import System.IO
import BFLib.Brainfuch (Code
, Stack
, bfTail
, emptyStack
, incPtr
, decPtr
, incCell
, decCell
, bfGetLoop
, bfDropLoop)
{-
- Syntax
... |
var path = require("path");
var webpack = require("webpack");
var rootSourcePath = __dirname;
var rootAssetsPath = __dirname;
module.exports = {
context: rootSourcePath,
resolve: {
root: [path.join(__dirname, "bower_components")]
},
entry: {
index: [
rootSourcePath + '/js/app.jsx'
]
},
out... |
/**
Import general dependencies here so webpack will kindly bundle them for us
*/
import '../styles/common.scss'; |
angular.module('ui.bootstrap.demo', ['ngAnimate', 'ui.bootstrap']);
angular.module('ui.bootstrap.demo').controller('TypeaheadCtrl', function($scope, $http) {
$scope.selected = undefined;
// Any function returning a promise object can be used to load values asynchronously
$scope.getLocation = function(val) {... |
<html>
<head>
<title>User agent detail - Mozilla/5.0 (Linux; Android 4.2.2; Lenovo S6000L-F Build/JDQ39) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.94 Safari/537.36</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.3/css/materialize.min.css">
<link hre... |
The MIT License (MIT)
Copyright (c) 2016 - Allysson dos Santos
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, mer... |
// Assembly : NRTyler.CodeLibrary
// Author : Nicholas Tyler
// Created : 10-01-2017
using System;
namespace NRTyler.CodeLibrary.Attributes
{
<summary>
An <see cref="Attribute"/> that allows a member to be referenced by or assigned a label that's held as a <see cref="string"/> value.
... |
package form
import (
"regexp"
"github.com/ewhal/nyaa/util/log"
)
const EMAIL_REGEX = `(\w[-._\w]*\w@\w[-._\w]*\w\.\w{2,3})`
const USERNAME_REGEX = `(\W)`
func EmailValidation(email string, err map[string][]string) (bool, map[string][]string) {
exp, errorRegex := regexp.Compile(EMAIL_REGEX)
if regexpCom... |
# Changelog
# Changed the variables to include the header file directory
# Added global var for the XTENSA tool root
# This make file still needs some work.
# Output directors to store intermediate compiled files
# relative to the project directory
BUILD_BASE = build
FW_BASE = firmware
ESPTOOL = tools/esptool.py
# n... |
#ifndef COINCONTROLDIALOG_H
#define COINCONTROLDIALOG_H
#include <QAbstractButton>
#include <QAction>
#include <QDialog>
#include <QList>
#include <QMenu>
#include <QPoint>
#include <QString>
#include <QTreeWidgetItem>
namespace Ui {
class CoinControlDialog;
}
class WalletModel;
class CCoinControl;
class CoinContro... |
<?php
/* @WebProfiler/Profiler/base_js.html.twig */
class <API key> extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = array(
);
}
protected function doDisplay(array $context, arra... |
<!DOCTYPE HTML PUBLIC "-
<!--NewPage
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.5.0_13) on Fri Mar 28 18:34:14 EDT 2008 -->
<TITLE>
Uses of Package org.jbox2d.collision
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTit... |
class <API key> < ActiveRecord::Migration[5.0]
def change
create_table :<API key> do |t|
t.belongs_to :api_client, foreign_key: true, index: true
t.integer :calls_count, null: false
t.datetime :at, null: false
t.timestamps
end
end
end |
"""Run commands in a new terminal window."""
from __future__ import annotations
import logging
import os
import shlex
import shutil
import subprocess
import sys
import tempfile
from pathlib import Path
from tkinter import messagebox
from porcupine import get_main_window, utils
log = logging.getLogger(__name__)
_this_di... |
// <API key>.h
// Offline Surveys
#import <MessageUI/MessageUI.h>
#import <UIKit/UIKit.h>
@interface <API key> : UIViewController <<API key>, UIAlertViewDelegate>
- (IBAction)crossButtonTouched:(id)sender;
- (IBAction)emailButtonTouched:(id)sender;
- (IBAction)clearButtonTouched:(id)sender;
@end |
.rpd-patch {
font-family: 'PT Mono', 'Andale Mono', 'Fira mono', 'Menlo', sans-serif;
font-size: 9px;
}
.rpd-background {
fill: transparent;
}
.rpd-link {
stroke: black;
}
.rpd-link.rpd-disabled {
stroke: rgba(250,250,250,0.8);
stroke-width: 1;
}
.rpd-link:hover {
cursor: crosshair;
}
.rpd-l... |
#ifndef _SNF_CRT_H_
#define _SNF_CRT_H_
#include <string>
#include <vector>
#include "file.h"
#include "sslfcn.h"
namespace snf {
namespace ssl {
/*
* Encapsulates OpenSSL X509 Certificate (X509).
* - The certificate can be in der or pem format.
* - A type operator is provided to get the raw certificate.
*/
class x... |
<!DOCTYPE html PUBLIC "-
<html xmlns="http:
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>raytracer: raytracer/source/common/Ray.cpp File Reference</title>
<link href="tabs.css" rel=... |
module Rules
class AllowedKeywordsRule
def initialize(<API key>)
@allowed_keywords = <API key>.to_s.split(/[.,;]\s*/)
end
def match?(torrent_attributes)
@allowed_keywords.any? { |w| torrent_attributes[:title].to_s =~ Regexp.new(w, :case_sensitive => false) }
end
end
end |
<?php
//Start session
session_start();
//Reward
if (isset($_GET['amt'])) {
$reward = $_GET['amt'];
$totReward = $_GET['total'];
}
//Init Config
$GLOBALS['cfg'] = array();
# Things you may want to change in a hurry
$GLOBALS['cfg']['site_url'] = 'http://my.website.com]'... |
import React, { Component } from 'react'
import Header from '../components/Header'
import Footer from '../components/Footer'
class App extends Component {
render() {
return [
<Header key="header" />,
<div className="main-box" key="main">{this.props.children}</div>,
<Footer key="footer" />
]
... |
<md-content ng-controller="MemoryController as vm" layout="row">
<button ng-click="vm.getChartData()">
click here to load data
</button>
<button ng-click="vm.add()">
Increment
</button>
<span>
count: {{vm.count}}
</span>
<div ng-repeat="data in vm.chartData.data">
<li> {{data.SEX}}</li>
... |
// CoreAutoFunctions
// Basic Autonomous functions used by higher level functions
*******************************************************************************
// Global Configuration Items
// These setting enable special behaviors for debugging, prototyping, and test purposes
// Guards used as they could be override... |
<?php
// start all the functions
add_action('after_setup_theme','reverie_startup');
function reverie_startup() {
// launching operation cleanup
add_action('init', '<API key>');
// remove WP version from RSS
add_filter('the_generator', 'reverie_rss_version');
// remove pesky injected css for recent c... |
package edu.cshl.schatz.jnomics.manager.client.compute;
import edu.cshl.schatz.jnomics.manager.api.JnomicsThriftJobID;
import edu.cshl.schatz.jnomics.manager.api.<API key>;
import edu.cshl.schatz.jnomics.manager.client.Utility;
import edu.cshl.schatz.jnomics.manager.client.ann.Flag;
import edu.cshl.schatz.jnomics.manag... |
import { Component, OnInit } from '@angular/core';
import { PredictionParams } from './prediction';
import { PredictionService } from './prediction.service';
@Component({
selector: 'predictions',
templateUrl: './predictions.component.html'
})
export class <API key> implements OnInit {
predictionsList: PredictionP... |
--TEST
Test for timecop_idate
--SKIPIF
<?php
$required_func = array("timecop_freeze", "timecop_idate");
include(__DIR__."/tests-skipcheck.inc.php");
--INI
date.timezone=America/Los_Angeles
timecop.func_override=0
--FILE
<?php
timecop_freeze(strtotime("2012-02-29 01:23:45"));
var_dump(timecop_idate("Y").timecop_idate("m... |
cop.gaia
===
My repository for learning game development. |
var seneca = require('seneca')();
var config = require('./seneca.config.js');
seneca
.use('<API key>')
.add('role:test,cmd:echo',
function (args, done) {
var serverMessage = "Echo from server: " + args.clientMessage;
var serverTimestamp = Date.now();
console.log('Processing messageId: %j', arg... |
<?php
namespace React\Tests\Http;
use Clue\React\Block;
use Psr\Http\Message\RequestInterface;
use Psr\Http\Message\<API key>;
use React\EventLoop\Loop;
use React\Http\HttpServer;
use React\Http\Message\Response;
use React\Http\Middleware\<API key>;
use React\Http\Middleware\<API key>;
use React\Http\Middleware\<API ke... |
# CHANGELOG
This file is a manually maintained list of changes for each release. Feel free
to add your changes here when sending pull requests. Also send corrections if
you spot any mistakes.
## 0.2.0 (2014-07-21)
* BC break: Rename namespace to `Clue\React\Icmp` and use PSR-4 layout
([
## 0.1.0 (2014-03-18)
* First ... |
<?php
namespace BardisCMS\ContentBlockBundle\DependencyInjection;
use Symfony\Component\Config\Definition\Builder\TreeBuilder;
use Symfony\Component\Config\Definition\<API key>;
class Configuration implements <API key> {
/**
* {@inheritDoc}
*/
public function <API key>() {
$treeBuilder = new T... |
#include <ui_client/tag/tag_handler_widget.h>
#include <functional>
#include <QDebug>
#include <QEvent>
#include <QKeyEvent>
#include <core/utils/string_utils.h>
#include <core/debug/Debug.h>
#include <ui_client/tag/<API key>.h>
#include <ui_client/utils/<API key>.h>
#include "<API key>.h"
void
TagHandlerWidget::remove... |
#ifndef <API key>
#define <API key>
/*
* These are changed sproadically to test that the
* values assigned here propogate through the project.
* Setting the pressure to zero effectively turns off
* atmospheric refraction.
*
* The canonical values are:
* DEFAULT_PRESSURE = 1010.;
* DEFAULT_TEMPERATURE = 10.;
... |
package com.alorma.github.bean;
import com.alorma.github.sdk.bean.dto.response.Notification;
public class ClearNotification {
private Notification notification;
private boolean allRepository;
public ClearNotification(Notification notification, boolean allRepository) {
this.notification = notificatio... |
// Ionic Starter App
// angular.module is a global place for creating, registering and retrieving Angular modules
// 'starter' is the name of this angular module example (also set in a <body> attribute in index.html)
// the 2nd parameter is an array of 'requires'
// 'starter.services' is found in services.js
// 'starte... |
var app = require('app');
var BrowserWindow = require('browser-window');
require('crash-reporter').start();
var win;
app.on('window-all-closed', function () {
console.log('window-all-closed!');
if (process.platform != 'darwin') {
app.quit();
}
});
app.on('ready', function () {
win = new BrowserW... |
<?php
declare(strict_types=1);
namespace Funivan\PhpTokenizer\Strategy;
use Funivan\PhpTokenizer\Token;
class StrategyResult
{
/**
* @var Token
*/
private $token = null;
/**
* @var int|null
*/
private $nexTokenIndex = null;
/**
* @var bool
*/
private $valid = false;... |
The MIT License
Copyright (c) 2008 Christian Bryan
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,... |
var facebookComments = angular.module('facebookComments', []);
facebookComments.directive('dynFbCommentBox', function () {
function createHTML(href, numposts, progwidth) {
return '<div class="fb-comments" ' +
'data-href="' + href + '" ' +
'data-numposts="' + num... |
window.semantic = {
handler: {}
};
semantic.ready = function () {
var menu = {};
menu = {
mouseenter: function () {
$(this).stop().animate({
width: '155px'
}, 300, function () {
$(this).find('.text').show();
});
},
m... |
import React from 'react';
import { Col, Icon, Row } from '<API key>';
import styles from './styles.module.scss';
export default class IconsExample extends React.Component {
constructor(props) {
super(props);
this.state = {
data: [],
};
}
componentDidMount() {
// Get the icons from the asset... |
package pl.edu.bogdan.training.di.annotation;
public class CsvReportFormatter implements IReportFormatter {
public void format() {
System.out.println("CSV FORMATTER");
}
} |
// This file is used by Code Analysis to maintain SuppressMessage
// attributes that are applied to this project.
// Project-level suppressions either have no target or are given
// a specific target and scoped to a namespace, type, member, etc.
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Globalization"... |
<div>
{/* <!-- title -->*/}
<h1 className={css.title}>
Excel Merge Tool
</h1>
{/* <!-- dropZone -->*/}
<Dropzone className={css.dropzone} onDrop={this.onDrop}>
{ files.map((file, index) => <img key={index} src={file.preview} width={200} />)}
{/* <!--... |
class Array
def quicksort(list = self)
return list if list.nil? or list.size <= 1
less, more = list[1..-1].partition { |i| i < list[0] }
quicksort(less) + [list[0]] + quicksort(more)
end
def bubblesort(list = self)
slist = list.clone
for i in 0..(slist.length - 1)
for j in 0..(slist.l... |
<?php
class <API key> extends <API key>
{
public function start()
{
if (<API key>::SQUARE == $this->_config->getSor()) {
return false;
}
if (false === $this->_config->getEnableImages() || false === $this->_config->isCatalogEnabled()) {
return false;
}
... |
import React, {Component} from 'react';
import {
Dimensions,
Responder,
View
} from 'react-native';
import Svg,{
Defs,
G,
LinearGradient,
Path,
Stop,
Text
} from 'react-native-svg';
import {Spring,EasingFunctions} from '../timing-functions';
import {polarToCartesian, computeChartSum, Tween... |
namespace JustinCredible.TheWeek.Directives {
export class OnLoadDirective implements ng.IDirective {
//#region Injection
public static ID = "onLoad";
public static get $inject(): string[] {
return ["$parse"];
}
constructor(
private $parse: ng.IParseSe... |
table {
table-layout: fixed;
}
td p {
overflow-wrap: break-word;
}
.header {
position: relative;
box-sizing: border-box;
margin-bottom: 20px;
border-radius: 4px;
border: 1px solid transparent;
border-color: #e7e7e7;
min-height: 50px;
background-image: linear-gradient(to bottom,#fff 0,#f8f8f8 100%);
... |
/* lexer_save_lchevr.c :+: :+: :+: */
/* By: gmange <gmange@student.42.fr> +#+ +:+ +#+ */
/* Created: 2014/03/05 15:14:34 by gmange #+# #+# */
#include "tokens.h"
#include "ft_exit.h"
#include "debug.h"
#include "lexer.h... |
#ifndef <API key>
#define <API key>
#define <API key> SYSCLK_SRC_RC2MHZ
#define <API key> SYSCLK_PSADIV_1
#define <API key> SYSCLK_PSBCDIV_1_1
#endif /* <API key> */ |
# <API key>: true
require 'spec_helper'
describe <API key> do
let!(:badge) { build(:badge, link_url: 'http:
subject { validator.validate(badge) }
include_examples 'url validator examples', described_class::DEFAULT_OPTIONS[:schemes]
describe 'validations' do
include_context 'invalid urls'
let(:validator)... |
Era::Application.configure do
# Settings specified here will take precedence over those in config/application.rb.
# The test environment is used exclusively to run your application's
# test suite. You never need to work with it otherwise. Remember that
# your test database is "scratch space" for the test suite ... |
import Toolbar from './toolbar';
export { Toolbar as Toolbar };
export default Toolbar; |
const {resultSet, println, target} = require("rec");
const format = java.lang.String.format;
const handle = net.kimleo.dblite.DB.connect("jdbc:postgresql://localhost/test", "postgres", "").handle();
resultSet(handle.query("select * from simple_sql_test"))
.to(target(function ({id, name}) {
println(format("%... |
var glob = require('glob');
var path = require('path');
var fs = require('fs');
var resolve = require('resolve').sync;
var findRoot = require('./find-root');
var extractImports = require('./extract-imports');
module.exports = function (filePath, callback) {
var root = findRoot(filePath);
if (!root) {
callback([... |
#include "pidMotion.h"
#include <stdbool.h>
#include "../../common/eeprom/eeprom.h"
#include "../../common/error/error.h"
#include "../../robot/kinematics/robotKinematics.h"
#include "../../robot/kinematics/<API key>.h"
#include "pidTimer.h"
#include "parameters/<API key>.h"
#include "<API key>.h"
#include "../../motio... |
This is a Ruby implementation of Redis for machines without Redis or development/test environments. In short, it emulates a fully functional Redis server, so you don't need to install a truly Redis. It's like a SQLite equivalent for Redis.
## Why use this instead a real Redis?
Try to answer this question: why some deve... |
""" Utilities """
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
# Logging
import logging
import os, os.path
from colorlog import ColoredFormatter
ch = logging.StreamHandler()
ch.setLevel(logging.DEBUG)
formatter = ColoredFormatter(
"%(log_color)s[%(asct... |
#ifndef _DIFONT_FONT_H_
#define _DIFONT_FONT_H_
#include <difont/difont.h>
/**
* Font is the public interface for the FTGL library.
*
* Specific font classes are derived from this class. It uses the helper
* classes Face and difont::Size to access the Freetype library. This class
* is abstract and deriving classes... |
<?php
abstract class <API key> extends <API key>
{
public function setup()
{
$this->setWidgets(array(
'cliente' => new <API key>(array('with_empty' => false)),
'situacion' => new <API key>(array('with_empty' => false)),
'observacion' => new <API key>(array('with_empty' => false)),
... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Better Files</title>
<script language="JavaScript">
function doRedirect() {
window.location.replace("latest/api/better/files/File.html");
}
doRedirect();
</script>
</head>
<body>
<a href="latest/api... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.