answer stringlengths 15 1.25M |
|---|
<?php
namespace BoomCMS\Settings;
use BoomCMS\Support\Facades\Settings;
use Illuminate\Support\Facades\Config;
use Illuminate\Support\Facades\Lang;
abstract class Manager
{
public static function options()
{
$options = [];
foreach (Config::get('boomcms.<API key>') as $name => $type) {
... |
package endpoints.algebra.circe
import io.circe.{Decoder => CirceDecoder, Encoder => CirceEncoder}
trait CirceCodec[A] {
def encoder: CirceEncoder[A]
def decoder: CirceDecoder[A]
}
object CirceCodec {
@inline def apply[A](implicit codec: CirceCodec[A]): CirceCodec[A] = codec
implicit def <API key>[A](implicit e... |
# go-miner #
Data Mining Algorithms in GoLang.
## Installation
$ go get github.com/ozzie80/go-miner
## Algorithms
k-means
Description From [Wikipedia](https://en.wikipedia.org/wiki/K-means_clustering):
> k-means clustering aims to partition n observations into k clusters in which each observation belongs to the cluster... |
namespace UCloudSDK.Models
{
<summary>
<para>
http://docs.ucloud.cn/api/ucdn/get_ucdn_traffic.html
</para>
</summary>
public partial class <API key>
{
<summary>
Action
</summary>
private string _action = "GetUcdnTraffic";
<summary>
API
... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Progress extends CI_Controller {
function __construct() {
parent::__construct();
<API key>("Asia/Jakarta");
$this->load->model('M_progress');
if (empty($this->session->userdata('session'))) {
redi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Andersc.CodeLib.Tester.Helpers
{
public class Book
{
public string Title { get; set; }
public string Publisher { get; set; }
public int Year { get; set; }
}
} |
import test from 'ava';
import { spawn } from 'child_process';
test.cb('app should boot without exiting', (t) => {
const cli = spawn('node', [ './cli' ]);
cli.stderr.on('data', (param) => {
console.log(param.toString());
});
cli.on('close', (code) => {
t.fail(`app failed to boot ${code}`);
});
setTi... |
require "spec_helper"
module Smsru
describe API do
shared_context "shared configuration", need_values: 'configuration' do
before :each do
Smsru.configure do |conf|
conf.api_id = 'your-api-id'
conf.from = 'sender-name'
conf.test = test
conf.format = format
... |
import { expect } from 'chai';
import buildUriTemplate from '../src/uri-template';
describe('URI Template Handler', () => {
context('when there are path object parameters', () => {
context('when the path object parameters are not query parameters', () => {
const basePath = '/api';
const href = '/pet/f... |
let Demo1 = require('./components/demo1.js');
document.body.appendChild(Demo1()); |
<!
Author: Ray-Eldath
refer to:
- http://docs.mathjax.org/en/latest/options/index.html
{% if site.mathjax %}
<script type="text/javascript" async src="https://cdnjs.loli.net/ajax/libs/mathjax/2.7.2/MathJax.js?config=TeX-MML-AM_CHTML"></script>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
... |
Copyright (c) 2016 Dropbox, Inc. All rights reserved.
Auto-generated by Stone, do not modify.
#import <Foundation/Foundation.h>
#import "<API key>.h"
@class <API key>;
<API key>
#pragma mark - API Object
The `FileRevertDetails` struct.
Reverted files to a previous version.
This class implements the `DBSerializable` pro... |
# safe_projects
Project management with git
## Configuration
Create a file named `~/.projects` with the path where you'd like your
repositories to be stored. This should ideally be a location that is backed up
regularly.
bash
vim ~/.projects
An example file looks like this:
bash
export REPOSITORY_ROOT=/net/eichler/vol4... |
<div id="container" class="container-fluid" ng-controller="cloudAppController">
<div class="table">
<div class="col-lg-2">
<label for="teamDD">Team:</label>
<select id="teamDD" class="form-control headerSelectWidth" ng-model="filteredTeam"
ng-change="onTeamChange(... |
package doit.study.droid.fragments;
import android.app.Activity;
import android.app.Dialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.DialogFragment;
import android.support.v4.app.Fragment;
import android.support.v7.app.AlertDialog;
im... |
<?php
namespace Zycon42\Security\Application;
use Nette;
use Nette\Application\Request;
use Nette\Reflection\ClassType;
use Nette\Reflection\Method;
use Symfony\Component\ExpressionLanguage\Expression;
class <API key> extends Nette\Object {
/**
* @var ExpressionEvaluator
*/
private $expressionEvaluato... |
<?php
namespace App\Http\Middleware;
use Input, Closure, Response, User;
class CheckClientKey {
public function handle($request, Closure $next)
{
$input = Input::all();
$output = array();
if(!isset($input['key'])){
$output['error'] = 'API key required';
return Res... |
#import <Foundation/Foundation.h>
@interface NSURL (YSKit)
/** Cover query string into NSDictionary
*/
- (NSDictionary *)ys_queryDictionary;
+ (NSURL *)<API key>:(NSString *)identifier;
+ (NSURL *)<API key>:(NSString *)identifier;
@end |
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
namespace CultureInfoEditor.Properties
{
<summary>
A strongly-typed resource class, for looking up localized strings, et... |
#region References
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics.CodeAnalysis;
using Speedy;
#endregion
namespace Scribe.Data.Entities
{
public class Page : ModifiableEntity
{
#region Constructors
[SuppressMessage("ReSharper", "<API key>")]
... |
#pragma config(Sensor, in1, linefollower, sensorLineFollower)
#pragma config(Sensor, dgtl5, OutputBeltSonar, sensorSONAR_mm)
#pragma config(Motor, port6, WhipCreamMotor, tmotorVex393, openLoop)
#pragma config(Motor, port7, InputBeltMotor, <API key>, openLoop)
#pragma config(Motor, port8, ... |
<?php
use League\Flysystem\Adapter\Local;
use League\Flysystem\Filesystem;
use Spatie\Backup\FileHelpers\FileSelector;
class FileSelectorTest extends Orchestra\Testbench\TestCase
{
protected $path;
protected $disk;
protected $root;
protected $testFilesPath;
protected $fileSelector;
public functi... |
var Handler, MiniEventEmitter;
Handler = require("./handler");
MiniEventEmitter = (function() {
function MiniEventEmitter(obj) {
var handler;
handler = new Handler(this, obj);
this.on = handler.on;
this.off = handler.off;
this.emit = handler.emit;
this.emitIf = handler.emitIf;
this.trigger... |
#!/usr/bin/bash
# Hard variables
# Directory containing Snakemake and cluster.json files
snakefile_dir='/nas/longleaf/home/sfrenk/pipelines/snakemake'
usage="\nCreate directory with Snakemake files required for pipeline \n\n setup_dir -p <pipeline> -d <directory> \n\n pipelines: bowtie_srna, hisat2_rna, srna_telo\n\n"
... |
import React from 'react';
import {connect} from 'react-redux';
import StringList from './StringList/StringList'
import TwitterSelector from './DomainSelector/TwitterSelector'
import TweetFilter from './TweetFilter/TweetFilter'
class Search extends React.Component {
constructor(props) {
super(props);
this.sta... |
// YZAlertView.h
// AlertViewDemo
#import <UIKit/UIKit.h>
typedef void(^<API key>)(UIAlertAction *action);
<API key>(8_0) @interface YYZAlertView : NSObject
+ (void)<API key>:(NSString *)title
message:(NSString *)message
cancelActionTitle:(NSString *)cancelActionTitle;
+ (void)<API... |
{% extends "layout_unbranded.html" %}
{% block page_title %}
GOV.UK prototype kit
{% endblock %}
{% block content %}
<main id="content" role="main">
<div class="grid-row">
<div class="column-full">
<div id="global-breadcrumb" class="breadcrumb">
<a class="link-back" href="results_confirm2?search=Q... |
<div id="maxoptions_example"></div> |
Given(/^I have an Auton that has two steps, first step scheduling the next step$/) do
class <API key> < Nestene::Auton
def first
context.schedule_step(:second)
end
def second
'ok'
end
attr_accessor :context
attribute foo: Fixnum
end
@auton_type="<API key>"
@auton_id = Cellulo... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>ergo: Not compatible </title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>finger-tree: Not compatible </title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.c... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>paramcoq: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" ... |
using MineLib.Core;
using MineLib.Core.Data;
using MineLib.Core.IO;
using ProtocolClassic.Data;
namespace ProtocolClassic.Packets.Server
{
public struct LevelFinalizePacket : IPacketWithSize
{
public Position Coordinates;
public byte ID { get { return 0x04; } }
public short Size { get { ... |
#ifndef <API key>
#define <API key>
#include "../strategy/IFly.hpp"
/**
\interface IDuck
Interface for duck. It can fly, quack and rotate right.
*/
class IDuck
{
public:
virtual Course getCourse() const = 0;
virtual int getDistance(Course course) const = 0;
virtual void fly() = 0;
virtual void qua... |
require 'cred_hubble/resources/credential'
module CredHubble
module Resources
class UserValue
include Virtus.model
attribute :username, String
attribute :password, String
attribute :password_hash, String
def to_json(options = {})
attributes.to_json(options)
end
de... |
# encoding: utf-8
require 'spec_helper'
describe Optimizer::Algebra::Projection::ExtensionOperand, '#optimizable?' do
subject { object.optimizable? }
let(:header) { Relation::Header.coerce([[:id, Integer], [:name, String], [:age, Integer]]) }
let(:base) { Relation.new(header, LazyEnumerable.new([[1, 'Dan Ku... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc.Rendering;
namespace ASP.NET_Core_Email.Models.ManageViewModels
{
public class <API key>
{
public string SelectedProvider { get; set; }
public ICollection<SelectListIte... |
#include <stdio.h>
#include "list.h"
#define N 10
link reverse(link);
int main(void) {
int i;
link head, x;
// Population
head = new_link(0);
x = head;
for (i = 1; i < N; ++i) {
x = insert_after(x, new_link(i));
}
// Reversal
head = reverse(head);
// Traversal
x = hea... |
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
namespace DataBindingHomeWork.Account {
public partial class <API key> {
<summary>
email control.
</... |
-- service script, define some stuuf for use with main build config
self=loader.extra[1]
profile=loader.extra[2]
prefix=loader.extra[3]
config=loader.extra[4]
prefix_addon=string.format('--prefix="%s"', prefix) |
import { get } from "ember-metal/property_get";
import { set } from "ember-metal/property_set";
import Ember from "ember-metal/core"; // Ember.assert
import EmberError from "ember-metal/error";
import {
Descriptor,
defineProperty
} from "ember-metal/properties";
import { ComputedProperty } from "ember-metal/compute... |
# Alt Three Storage
A cached secure storage provider for Laravel 5.
## Installation
This version requires [PHP](https://php.net) 7.1 or 7.2, and supports Laravel 5.5 - 5.7 only.
To get the latest version, simply require the project using [Composer](https://getcomposer.org):
bash
$ composer require alt-three/storage
Onc... |
<!DOCTYPE HTML PUBLIC "-
<!--NewPage
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_65) on Sat Dec 27 23:31:06 CST 2014 -->
<TITLE>
Uses of Class pages.MarkovTable
</TITLE>
<META NAME="date" CONTENT="2014-12-27">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style">
<SCRIPT type="text... |
#!/usr/bin/env bash
GEM_BIN=$1/ruby/bin/gem
export GEM_HOME=/usr/local/kidsruby/ruby/lib/ruby/gems/1.9.1
install_gems() {
echo $<API key>
${GEM_BIN} install htmlentities-4.3.0.gem --no-ri --no-rdoc 2>&1
${GEM_BIN} install rubywarrior-i18n-0.0.3.gem --no-ri --no-rdoc 2>&1
${GEM_BIN} install serialport-1.1.1-un... |
require File.join(File.dirname(__FILE__), 'test_helper')
require 'activesupport'
class SplamTest < Test::Unit::TestCase
class FixedRule < Splam::Rule
def run
add_score 25, "The force is strong with this one"
end
end
# It should not be in the default set
Splam::Rule.default_rules.delete SplamTest::... |
<?php
namespace Symfony\Component\Serializer;
use Symfony\Component\Serializer\SerializerInterface;
/**
* Defines the interface of encoders
*
* @author Jordi Boggiano <j.boggiano@seld.be>
*/
interface <API key> {
/**
* Sets the owning Serializer object
*
* @param SerializerInterface $serializer
... |
#include <windows.h>
#include <tchar.h>
#include <string.h>
LRESULT CALLBACK WindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
int WINAPI _tWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdLine, int nShowCmd) {
HWND hWnd;
MSG msg;
WNDCLASS wc;
wc.lpszClassName = _T("SetBkC... |
Ext.define('Siccad.view.authentication.CapsWarningTooltip', {
extend : 'Ext.tip.QuickTip',
alias : 'widget.capswarningtooltip',
target : '<API key>,
id : 'toolcaps',
anchor : 'left',
anchorOffset : 60,
width : 305,
dismissDelay : 0,
autoHide : false,
dis... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Rotate : MonoBehaviour {
public Vector3 m_rotate;
public float m_speed;
void Start()
{
transform.rotation = Random.rotation;
}
// Update is called once per frame
void Update () {
trans... |
package slacknotifications.teamcity.payload;
import jetbrains.buildServer.messages.Status;
import jetbrains.buildServer.responsibility.ResponsibilityEntry;
import jetbrains.buildServer.responsibility.<API key>;
import jetbrains.buildServer.serverSide.*;
import jetbrains.buildServer.tests.TestName;
import slacknotificat... |
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [sip.js](./sip.js.md) > [RegistererOptions](./sip.js.registereroptions.md) > [instanceId](./sip.js.registereroptions.instanceid.md)
## RegistererOptions.instanceId property
UUID to provide with "+sip.instance"... |
<?php
/* SRVDVServerBundle:Registration:email.txt.twig */
class <API key> extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = array(
'subject' => array($this, 'block_subject'),
... |
using Portal.CMS.Entities.Enumerators;
using Portal.CMS.Services.Generic;
using Portal.CMS.Services.PageBuilder;
using Portal.CMS.Web.Architecture.ActionFilters;
using Portal.CMS.Web.Architecture.Extensions;
using Portal.CMS.Web.Areas.PageBuilder.ViewModels.Component;
using Portal.CMS.Web.ViewModels.Shared;
using Syste... |
// ActionOnDispose.cs
// Implemention of IDisposable that runs a delegate on Dispose.
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Diagnostics.Contracts;
namespace System.Threading.Tasks.Dataflow.Internal
{
<summary>Provider of disposables that run actions.</summary>
internal se... |
using System;
using System.Collections.Generic;
using Esb.Transport;
namespace Esb.Message
{
public interface IMessageQueue
{
void Add(Envelope message);
IEnumerable<Envelope> Messages { get; }
Envelope GetNextMessage();
void SuspendMessages(Type messageType);
void Resume... |
// This file auto generated by plugin for ida pro. Generated code only for x64. Please, dont change manually
#pragma once
#include <common/common.h>
#include <<API key>.hpp>
#include <common/ATFCore.hpp>
START_ATF_NAMESPACE
namespace Register
{
class <API key> : public IRegister
{
pu... |
title:
date: 2016-06-05 22:58:54
tags:
* [](http://www.huishenghuiying.com.cn/xiazai.html#selctbuy)
* [](https://hostr.co/file/FDp8MOYlRuHv/AppNee.com.Corel.X5-X9.All.Products.Universal.Keygen.7z?warning=on)
* [](https:
# 1 `.exe` `.rar`360
# 2 `setup.xml`
* `SHOWSERIALDIALOG` `value` `true`
* `SERIALNUMBER` `value... |
// generates an interface file given an eni file
// you can generate an eni file using the aws-cli
// example:
// aws ec2 <API key> --<API key> eni-2492676c > eni-7290653a.json
var ENI_FILE = "json/eni-651e2c2c.json";
// the interface you want to configure
var INTERFACE = "eth1";
// port you want squid proxy to star... |
# nodejs-boilerplate
## About
A boilerplate for a developer environment pre-built for a nodejs project using expressjs for the backend and angularjs for the front end. This boilerplate also comes with a built in logger for requests as well as a Gruntfile with my favorite addons for developing nodejs projects. :godmode... |
namespace Hyperar.HattrickUltimate.UserInterface
{
using System;
using System.Windows.Forms;
using Interface;
<summary>
ILocalizableForm base implementation.
</summary>
public partial class LocalizableFormBase : Form, ILocalizableForm
{
#region Public Methods
<summary>
... |
var width = window.innerWidth,
height = window.innerHeight,
boids = [],
destination,
canvas,
context;
const MAX_NUMBER = 100;
const MAX_SPEED = 1;
const radius = 5;
init();
animation();
function init(){
canvas = document.getElementById('canvas'),
context = canvas.getContext( "2d" );
canvas.wid... |
package com.facetime.spring.support;
import java.util.ArrayList;
import java.util.List;
import com.facetime.core.conf.ConfigUtils;
import com.facetime.core.utils.StringUtils;
/**
*
*
* @author yufei
* @param <T>
*/
public class Page<T> {
private static int BEGIN_PAGE_SIZE = 20;
private static int ADD_PAGE_... |
layout: post
title: Mancester 6/26
Screened today, imaged 6/22 growth exp. & screened larvae; cleaned broodstock, yada yada yada...
# Imaged 6/22 SN growth experiment larvae
Grace imaged the well plate, taking photos of first the well

# Sc... |
SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0;
SET @<API key>=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0;
SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='TRADITIONAL';
-- TABLES
-- Table `gene`
CREATE TABLE IF NOT EXISTS `gene`
(
`id` int(10) unsigned NOT NULL AUTO_IN... |
#ifndef ABSTRACTTRANSFORM_H
#define ABSTRACTTRANSFORM_H
#include <new>
#include <mfapi.h>
#include <mftransform.h>
#include <mfidl.h>
#include <mferror.h>
#include <strsafe.h>
#include <assert.h>
// Note: The Direct2D helper library is included for its 2D matrix operations.
#include <D2d1helper.h>
#include <wrl\impleme... |
package com.cnpc.framework.base.service.impl;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import org.springframework.stereotype.Service;
import com.alibaba.fastjson.JSON;
import com.cnpc.framework.base.entity.Dict;
import com.cnpc.framework.base.pojo.TreeNode;
import com.cnpc.framework.... |
#!/bin/bash
DATESTR=$(date +"%Y%m%d%H%M%S")
LOCAL_BACKUP_DIR=/home/rails/db_backups/dsi
function fetch_ntriples() {
FILE_NAME="$LOCAL_BACKUP_DIR/$1"
GRAPH_URI=$2
SOURCE_URI=http://46.4.78.148/dsi/data?graph=$GRAPH_URI
curl -s -H "Accept:text/plain" -f -o $FILE_NAME $SOURCE_URI
CURL_STATUS=$?
if ... |
// IOService.cpp
// Firedrake
// documentation files (the "Software"), to deal in the Software without restriction, including without limitation
// and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
// INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILIT... |
namespace Microsoft.Research.Wwt.Sdk.Core
{
<summary>
Interface for DEM plate file generator.
</summary>
public interface <API key>
{
<summary>
Gets the number of processed tiles for the level in context.
</summary>
long TilesProcessed { get; }
<summary>
... |
namespace PlacesToEat.Data.Common
{
using System;
using System.Data.Entity;
using System.Linq;
using Contracts;
using Models;
public class DbUserRepository<T> : IDbUserRepository<T>
where T : class, IAuditInfo, IDeletableEntity
{
public DbUserRepository(DbContext context)
... |
describe("Dragable Row Directive ", function () {
var scope, container, element, html, compiled, compile;
beforeEach(module("app", function ($provide) { $provide.value("authService", {}) }));
beforeEach(inject(function ($compile, $rootScope) {
html = '<div id="element-id" data-draggable-row=""'
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Ninject.Modules;
using Ninject.Extensions.Conventions;
namespace SongManager.Web.NinjectSupport
{
<summary>
Automatically loads all Boot Modules and puts them into the Ninject Dependency Resolver
</summary>
public... |
# Amaretti.js
[ when available, or SJCL library when not.
## Getting started
Installation
This library can be installed wi... |
package com.kromracing.runningroute.client;
import com.google.gwt.dom.client.Element;
import com.google.gwt.user.client.DOM;
import com.google.gwt.user.client.ui.CheckBox;
import com.google.gwt.user.client.ui.Widget;
final public class Utils {
private Utils() {
}
/**
* Sets the HTML id for a widget.
... |
package org.paylogic.jenkins.advancedscm;
import hudson.EnvVars;
import hudson.FilePath;
import hudson.Launcher;
import hudson.model.Action;
import hudson.model.FreeStyleBuild;
import hudson.model.FreeStyleProject;
import hudson.model.TaskListener;
import hudson.plugins.mercurial.HgExe;
import hudson.plugins.mercurial.... |
function simulated_annealing(tuning_run::Run,
channel::RemoteChannel;
temperature::Function = log_temperature)
iteration = 1
function iterate(tuning_run::Run)
p = temperature(iteration)
iteration += 1
return <API key>(tun... |
/* Close all */
.monaco-workbench .explorer-viewlet .<API key> {
background: url("close-all-light.svg") center center no-repeat;
}
.vs-dark .monaco-workbench .explorer-viewlet .<API key> {
background: url("close-all-dark.svg") center center no-repeat;
}
.hc-black .monaco-workbench .explorer-viewlet .<API key> {... |
package zhou.adapter;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;
import java.util.List;
public class NormalAdapter extends RecyclerView.Adapter<NormalAdapter.... |
<ng-container *ngIf="preview.user && !authHelper.isSelf(preview.user)">
<user-info [user]="preview.user">
</user-info>
</ng-container>
<!-- description + image -->
<label-value [label]="i18n.voucher.voucher">
{{ preview.type.voucherTitle }}
</label-value>
<ng-container *ngIf="buyVoucher.count === 1; else multiple... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="zh_TW" version="2.0">
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About GulfCoin</source>
<translation></translation>
</message>
<message>
<location line="+... |
package UserInterface.Animation;
/**
* Makes shit get big, makes shit get small.
*/
public class SizeAnimation extends Animation {
protected int iW, iH, fW, fH, cW, cH;
public SizeAnimation(long period, int paceType, boolean loop, int iW, int iH, int fW, int fH) {
super(period, paceType, loop);
... |
import * as path from "path";
import * as tl from "vsts-task-lib/task";
import {IExecOptions, IExecSyncResult} from "vsts-task-lib/toolrunner";
import * as auth from "packaging-common/nuget/Authentication";
import * as commandHelper from "packaging-common/nuget/CommandHelper";
import {NuGetConfigHelper2} from "packagin... |
import _ from 'lodash';
import { createSelector } from 'reselect';
const srcFilesSelector = state => state.srcFiles;
const featuresSelector = state => state.features;
const featureByIdSelector = state => state.featureById;
const keywordSelector = (state, keyword) => keyword;
function getMarks(feature, ele) {
const ma... |
<?php
class Receiving_lib
{
var $CI;
function __construct()
{
$this->CI =& get_instance();
}
function get_cart()
{
if(!$this->CI->session->userdata('cartRecv'))
$this->set_cart(array());
return $this->CI->session->userdata('cartRecv');
}
function set... |
package com.mauriciotogneri.apply.compiler.syntactic.nodes.arithmetic;
import com.mauriciotogneri.apply.compiler.lexical.Token;
import com.mauriciotogneri.apply.compiler.syntactic.TreeNode;
import com.mauriciotogneri.apply.compiler.syntactic.nodes.<API key>;
public class <API key> extends <API key>
{
public <API ke... |
#LocalFolderPathStr=${PWD}
#LocalFilePathStr=$LocalFolderPathStr'/.pypirc'
#HomeFilePathStr=$HOME'/.pypirc'
#echo $LocalFilePathStr
#echo $HomeFilePathStr
#cp $LocalFilePathStr $HomeFilePathStr
python setup.py register
sudo python setup.py sdist upload |
import { Component, OnInit } from '@angular/core';
import { Router } from '@angular/router';
@Component({
selector: 'app-user',
template: '<router-outlet></router-outlet>'
})
export class UserComponent implements OnInit {
constructor(public router: Router) { }
ngOnInit() {
if (this.router.url ==... |
# coding: utf-8
from sqlalchemy.testing import eq_, assert_raises, <API key>, \
config, is_
import re
from sqlalchemy.testing.util import picklers
from sqlalchemy.interfaces import ConnectionProxy
from sqlalchemy import MetaData, Integer, String, INT, VARCHAR, func, \
bindparam, select, event, TypeDecorator, cr... |
#pragma once
#include <core/patterns/Derivable.h>
#include <core/collection/containers/Set.h>
#include <core/Comparator.h>
namespace nspace {
/**
* \brief Node.
*/
template<typename Derived>
class Node : public Derivable<Derived>, public <API key><Derived*>, public <API key><Derived*>::Observer {
private:
... |
exports.login = function* (ctx) {
const result = yield ctx.service.mine.login(ctx.request.body);
if (!result) {
ctx.status = 400;
ctx.body = {
status: 400,
msg: `please check your username and password`,
}
return;
}
ctx.body = {
access_token: result.access_token,
msg: 'login ... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
</head>
<body>
<script>
const importObject = Object.freeze({
env: {
__memory_bas... |
using System;
using System.Collections;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Text;
using System.Web;
namespace Umbraco.Core
{
<summary>
Extension methods for dictionary & <API key>
</summary>
internal... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Phenotype Demo</title>
<meta name="description" content="Phenotype Demo">
<link rel="stylesheet" href="style.css">
<script src="phenotype.js" type="application/javascript"></script>
</head>
<body>
<a ... |
import * as yargs from "yargs";
import { getEnvironment, getSlimConfig } from "../cli-helpers";
export const devCommand: yargs.CommandModule = {
command: "dev",
describe: "Start a development server.",
builder: {
open: {
alias: "o",
type: "boolean",
description: "... |
export const browserVersions = () => {
let u = navigator.userAgent
return {
trident: u.indexOf('Trident') > -1,
presto: u.indexOf('Presto') > -1, // opera
webKit: u.indexOf('AppleWebKit') > -1,
gecko: u.indexOf('Gecko') > -1 && u.indexOf('KHTML') === -1,
mobile: !!u.match(/AppleWebKit.*Mobile.*/... |
module YandexMusic
class Client
include YandexMusic::Auth
include YandexMusic::Endpoints::Search
include YandexMusic::Endpoints::ArtistAlbums
include YandexMusic::Endpoints::AlbumsTracks
def initialize(client_id, client_secret)
@client_id, @client_secret = client_id, client_secret
end
... |
<div class="container">
<div class="col-md-12 col-sm-12 col-xs-12 no-padding">
<div ng-controller="GroupMenu" ng-model="currentMenu" ng-init="currentMenu = 'new'" ng-include="'group/menu'" class="row"></div>
<div class="row">
<div class="col-md-12 no-padding">
<div class=... |
<?php
$hostname = "localhost";
$user = "root";
$password = "admin";
$database = "employees";
mysql_connect($hostname, $user, $password);
mysql_set_charset('utf8');
@mysql_select_db($database) or die( "Unable to select database");
mysql_query("SET NAMES 'utf8'");
$mysqli = new mysqli($hostname, $user, $password, $databa... |
title: The Little Eye Blog
# View.
# 1 = List
# 2 = Compact
# 3 = Card
view: 3
aliases: ["/the-little-eye/"]
# Optional header image (relative to `static/img/` folder).
header:
caption: ""
image: ""
A Point of View on Microscopy Research, the History of the Microscope and a hint of Interdisciplinary Academia
... |
.root {
display: inline-block;
position: relative;
z-index: 1;
cursor: var(--cursor-pointer);
height: var(--navbar-height);
line-height: var(--navbar-height);
border: none;
padding: var(--<API key>);
font-size: var(--font-size-large);
}
.root:not(:last-child) {
margin-right: var(... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.