answer stringlengths 15 1.25M |
|---|
'use strict';
const util = require('util');
const colors = require('colors/safe');
Object.entries({
info: colors.blue,
warn: colors.yellow,
error: colors.red
}).map(([method, color]) => {
const _ = global.console[method];
global.console[method] = (...args) => {
if (args.length) {
... |
<!DOCTYPE html>
<html lang="english">
<head>
<link href='//fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,700,400italic' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" href="../theme/stylesheet/style.min.css">
<link rel="stylesheet" type="text/css" href="../theme/pygments/gith... |
require.ensure([], function(require) {
require("./73.async.js");
require("./147.async.js");
require("./294.async.js");
require("./588.async.js");
});
module.exports = 589; |
<html>
<head>
<meta charset="utf-8">
<title>Resources - git init</title>
<link
href='https://fonts.googleapis.com/css?family=Open+Sans'
rel='stylesheet'
type='text/css'
>
<link rel="stylesheet" href="octicons/octicons.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<div id="heade... |
<rtl code>
var m = function (){
function T(){
this.a = [];
}
var r = new T();
var a = RTL$.makeArray(3, 0);
var dynamicInt = [];
var dynamicString = [];
var dynamicChar = [];
var dynamicByte = [];
var dynamicRecord = [];
var <API key> = [];
var i = 0;
var s = '';
var byte = 0;
function <API key>(){
var static$ ... |
# npmup [![NPM version][npm-image]][npm-url]
> Cli tool to overview dependencies in package.json
This is scope reduction result of my `update-my-deps` project. At the end I found out, that I wrote small part of [`david`](https://github.com/alanshaw/david) functionality. Oops.
.expect;
var assert = require('chai').assert;
var sinon = require('sinon');
var Config = require('../lib/config');
describe('config', function() {
describe('#constructor', function() {
it('creates a new object with the config defaults', function() {
sinon.spy(Config.prototype, 's... |
def burrows_wheeler(text):
"""Calculates the burrows wheeler transform of <text>.
returns the burrows wheeler string and the suffix array indices
The text is assumed to not contain the character $"""
text += "$"
all_permutations = []
for i in range(len(text)):
all_permutations.append((te... |
local M = {}
function M:init()
print("test contract transfer caller")
local <API key> = import_contract '<API key>'
local res = <API key>:start()
pprint("transfer demo start response is ", res)
end
function M:start()
end
return M |
using System.ComponentModel.Composition;
using System.IO;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Azure;
using Microsoft.Azure.Management.Resources;
using Microsoft.Azure.Management.Resources.Models;
using Microsoft.Deployment.Common.ActionModel;
using Microsoft.Deployme... |
package com.example.dao;
import com.example.model.Publisher;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import java.util.List;
@Mapper
public interface PublisherMapper {
@Select("SELECT *, PHONE as phoneNumber from PUBLISHERS") //SQL
List<Publisher> findAll();
// CRE... |
<?php while (have_posts()) : the_post(); ?>
<article <?php post_class(); ?>>
<div class="entry-content <API key>">
<header class="menu-med-prep text-center">
<ul class="list-inline">
<?php $loop = new WP_Query( array( 'post_type' => 'aps', 'order' => 'ASC', 'category_name'=> 'link'));?>
<?php while ... |
<!DOCTYPE html>
<html lang="en-us">
{% include head.html %}
<body class="theme-base-08 layout-reverse sidebar-overlay">
<!-- Enable Google Analytics -->
{% include googleanalytics.html %}
{% include sidebar.html %}
<!-- Wrap is the content to shift when toggling the sidebar. We wrap the
con... |
package wikimediaparser
import (
"fmt"
"github.com/golang/glog"
"strings"
)
// Node as it is emitted by the parser
// - contains a NodeType for clear identification
// - a string val Val
// - a list of named parameters which are actually Node Lists
// -a list of anonymous parameters, a Node list again... |
# domBareMetal
Xen 4.6. bare metal domain for Odroid XU-3
Tested on Odroid XU3, for toggling GPA2.4 GPIO. Toggling is done directly by changing the register in memory.
On this link you can find XU3 expansion header: http://odroid.com/dokuwiki/doku.php?id=en:xu3_hardware_gpio
Xen devel thread on enabling emergency conso... |
import Vue from 'vue';
import VueForm from 'vue-form';
Vue.use(VueForm, {
validators: {
'step': function(value, stepValue) {
return stepValue === `any` || Number(value) % Number(stepValue) === 0;
},
'<API key>': function(value, exclusiveMinimum) {
return Number(value) > Number(exclusiveMinimum... |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Post extends Application {
public function index()
{
$this->data['pagetitle'] = 'News title - Zerotype Website Template';
$this->data['pagebody'] = 'post';
$this->render();
}
}
/* End of file welcome.php... |
layout: post
title: How To Order Bitcoin Debit Card With SpectroCoin?
description: How To Order Bitcoin Debit Card With SpectroCoin?
author: Melvin Draupnir
authorurl: /melvin-draupnir/
published: true
<p><a href="/spectrocoin/">SpectroCoin</a> now offers Bitcoin prepaid cards which could be a virtual one or a plastic ... |
var resources = require('jest'),
util = require('util'),
models = require('../../models'),
async = require('async'),
common = require('./../common'),
calc_thresh = require('../../tools/calc_thresh.js'),
<API key> = require('./<API key>.js'),
ActionSuggestion = require('./<API key>.js'),
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.UI;
namespace CameraModifications
{
public class LookButton : MonoBehaviour
{
public bool isHead;
public H_Scene h_scene;
public H_Ed... |
/**
* This Control enables to render a Scene with a Screen Space Ambient Occlusion (SSAO) effect.
*
* @namespace GIScene
* @class Control.SSAO
* @constructor
* @extends GIScene.Control
*/
GIScene.Control.SSAO = function() {
//inherit
GIScene.Control.call(this);
var scenePass;
var ssaoEffect;
... |
div.CodeMirror-wrapping {
float:left;
width:275px;
height:303px;
border-width:2px;
border-style:solid;
background:#fff;
}
#canvas {
width:470px;
height:303px;
} |
package com.cnpc.framework.utils;
import com.cnpc.framework.base.pojo.GenerateSetting;
import freemarker.template.Configuration;
import freemarker.template.<API key>;
import freemarker.template.Template;
import freemarker.template.TemplateException;
import org.springframework.core.io.Resource;
import org.springframewor... |
<?php
/* @SRVDVServer/Registration/checkEmail.html.twig */
class <API key> extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
// line 1
$this->parent = $this->loadTemplate("FOSUserBundle::layout.html.twig", "@SRVDVServer/Registration/c... |
import * as b from "bobril";
import { <API key> } from "../../../../common/routing";
import { Anchor } from "../../../../common/Anchor";
import { Example } from "../../../../common/Example";
import { Col, Form, margin, Row } from "../../../../../index";
import { Code } from "../../../../common/Code";
import { Lead } fr... |
package easyauth
import (
"context"
"crypto/rand"
"encoding/base64"
"fmt"
"html/template"
"log"
"net/http"
"strings"
"time"
"github.com/gorilla/mux"
)
//Specific roles will be defined by the host application.
//It is intended to be a bitmask.
type Role uint32
type User struct {
... |
import { h } from 'omi';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(h("path", {
d: "M20 15H4c-.55 0-1 .45-1 1s.45 1 1 1h16c.55 0 1-.45 1-1s-.45-1-1-1zm0-5H4c-.55 0-1 .45-1 1v1c0 .55.45 1 1 1h16c.55 0 1-.45 1-1v-1c0-.55-.45-1-1-1zm0-6H4c-.55 0-1 .45-1 1v2c0 .55.45 1 1 1h16c.55 0 1-... |
FROM python:3
WORKDIR /root
# install any Python packages this app depends on
COPY requirements.txt /root/requirements.txt
RUN pip install -r requirements.txt
ENV FLASK_APP /root/main.py
# copy sources
COPY main.py /root/main.py
COPY templates /root/templates
CMD ["flask", "run", "--host=0.0.0.0", "--port=80"] |
package test.unit.hu.interconnect.hr.module.personaldata.vacations;
import static com.google.common.collect.Lists.newArrayList;
import static hu.interconnect.hr.backend.api.enumeration.KivetelnapTipus.MUNKANAP;
import static hu.interconnect.hr.backend.api.enumeration.KivetelnapTipus.PIHENONAP;
import static java.util.A... |
<!DOCTYPE html PUBLIC "-
<html xmlns="http:
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>JsDoc Reference - Index</title>
<meta name="generator" content="JsDoc Toolkit" />
<link href="css/default.css" type="text/css" rel="stylesheet" media="all" ... |
using ENode.EQueue;
using ENode.Eventing;
namespace ENode.Tests
{
public class EventTopicProvider : <API key><IDomainEvent>
{
public override string GetTopic(IDomainEvent source)
{
return "EventTopic";
}
}
} |
public class Grid {
public Tile array[][] = new Tile[10][8];
public Grid() {
for(int y = 0; y < getHeight(); y++) {
for(int x = 0; x < getWidth(); x++) {
array[x][y] = new Tile();
}
}
}
public int getWidth() { return 9; }
public int getHeight() { return 7; }
public Tile getTile(i... |
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { FootComponent } from './foot.component';
describe('FootComponent', () => {
let component: FootComponent;
let fixture: ComponentFixture<FootComponent>;
beforeEach(async(() => {
TestBed.<API key>({
declarations: [ FootCompo... |
# path
Create a 2d path using SVG syntax.
* `d` is the path descriptor
{% craftml %}
<!-- rectangle -->
<path d="M10 10 h 10 v 10 h -10 z"/>
<!-- triangle -->
<path d="M30 10 l 10 10 l 10 -10 z"/>
{% endcraftml %}
Typically, you would use another drawing program to draw a path and export
it as an SVG tag to use in Craf... |
import {normalize, resolve} from "path";
import {existsSync, readFileSync} from "fs";
import {sys, ScriptSnapshot, resolveModuleName, <API key>} from "typescript";
export function createServiceHost(options, filenames, cwd) {
const normalizePath = (path) => resolve(normalize(path));
const <API key> = <API key>()... |
package main
import (
"fmt"
"log"
)
type ListCommand struct {
All bool `short:"a" long:"available" description:"also prints all available version for installation"`
}
type InitCommand struct{}
type InstallCommand struct {
Use bool `short:"u" long:"use" description:"force use of this new version after in... |
package org.apache.oro.text.regex;
import java.util.Stack;
/**
* The Perl5Matcher class is used to match regular expressions (conforming to
* the Perl5 regular expression syntax) generated by Perl5Compiler.
* <p>
* Perl5Compiler and Perl5Matcher are designed with the intent that you use a
* separate instance of ea... |
layout: post
title: "Sourdough Cinnamon Rolls"
date: 2014-07-21 07:30:37 -0600
comments: true
categories:
- buddy
image: http://anthonyrotio.com/rotiofood/2014-07-21/rolls_1.jpg
alt-image: http%3A%2F%2Fanthonyrotio.com%2Frotiofood%2F2014-07-21%2Frolls_1.jpg
author: rotio
keywords: sourdough, cinnamon rolls, buns, cinna... |
import path from 'path';
import {runScheduler} from './scheduler';
import logger from '../util/logger';
import dotenv from 'dotenv';
import {loadConfig} from '../../config';
import {initQueue} from './pipeline.queue';
logger.info(" _____ _ _ _ _ _ _ _ _ ");
logger.info("| | |_|___| | | |_| |_|_|");
logger.inf... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>org.robolectric.util.reflector Class Hierarchy</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<link ... |
<!DOCTYPE html>
<html xmlns:msxsl="urn:<API key>:xslt">
<head>
<meta content="en-us" http-equiv="Content-Language" />
<meta content="text/html; charset=utf-16" http-equiv="Content-Type" />
<title _locid="<API key>">.NET Portability Report</title>
<style>
/* Body style, for the entire document */... |
<?php
/*
Unsafe sample
input : get the field userData from the variable $_GET via an object
Uses a <API key> via filter_var function
construction : use of sprintf via a %s with simple quote
*/
class Input{
private $input;
public function getInput(){
return $this->input;
}
public function __construct(){
... |
describe VagrantHyperV do
it 'should have a version number' do
VagrantHyperV::VERSION.should_not be_nil
end
it 'should do something useful' do
false.should be_true
end
end |
import primes as py
def lcm(a, b):
return a * b / gcd(a, b)
def gcd(a, b):
while b != 0:
(a, b) = (b, a % b)
return a
# Returns two integers x, y such that gcd(a, b) = ax + by
def egcd(a, b):
if a == 0:
return (0, 1)
else:
y, x = egcd(b % a, a)
return (x - (b // a... |
package com.aokyu.service;
import android.app.Application;
import android.test.ApplicationTestCase;
public class ApplicationTest extends ApplicationTestCase<Application> {
public ApplicationTest() {
super(Application.class);
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.IO;
using System.Data.SqlTypes;
using Microsoft.SqlServer.Server;
using PowerLib.System;
using PowerLib.System.Collections;
using PowerLib.System.IO;
using PowerLib.System.IO.Streamed.Typed;
using PowerLib.System.Numerics;
using PowerLib.Sy... |
require 'spec_helper'
describe Pagerage::IncidentsParser do
before(:each) do
Pagerage::Incident.delete
end
let(:incidents_json) { File.read(File.dirname(__FILE__) + '/incidents_sample.json') }
let(:incidents_data) { JSON.parse(incidents_json) }
let(:parser) { Pagerage::IncidentsParser.new(incidents_json) ... |
a = a # e 4
a = 1 # 0 int
l = [a] # 0 [int]
d = {a:l} # 0 {int:[int]}
s = "abc"
c = ord(s[2].lower()[0]) # 0 int # 4 (str) -> int
l2 = [range(i) for i in d] # 0 [[int]]
y = [(a,b) for a,b in {1:'2'}.iteritems()] # 0 [(int,str)]
b = 1 # 0 int
if 0:
b = '' # 4 str
else:
b = str(b) # 4 str # 12 int
r =... |
<?php //var_dump($games) ?>
<?php $this->load->view('includes/tables-head') ?>
<body class="fixed-header" ng-app="app" ng-controller="gameCtrl">
<?php $this->load->view('admin/admin-nav') ?>
<div class="page-container">
<?php $this->load->view('admin/admin-header') ?>
<div class="<API key> ">
... |
define(['js/util'], function (util) {
"use strict";
var sf2 = {};
sf2.<API key> = function(ab) {
var that = {
riffHeader: null,
sfbk: {}
};
var ar = util.ArrayReader(ab);
var sfGenerator = [
"startAddrsOffset",
"endAddrsOffset",... |
=begin
<recording pid=""
cookie=""
stamp=""
agent="">
<record id=""
stamp=""
status=""
method=""
url=""
request-time="">
<header name="" value=""/>
<body><![CDATA[HTML OR WHATEVER HERE]]></body>
<par... |
import static org.junit.Assert.*;
import java.util.List;
import org.junit.Test;
public class IdParserTest {
@Test
public void testListParser() {
String testMedList = "{1;3;9}";
List<Integer> ids = IdParser.parse(testMedList);
assertEquals(3, ids.size());
assertEquals(new Integer(... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>User agent detail - Mozilla/5.0 (Linux; U; Android 1.1.20; En-au; A101C Build/ECLAIR) AppleWebKit/530.17 (KHTML, Like Gecko) Version/4.0 Mobile Safari/530.17</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/ma... |
javascript
/**
* @param {string} s
* @return {boolean}
*
* Maximum length is 50000
* s is not empty
* s only contains a-z
*/
var validPalindrome = function(s) {
return validHelper(s, 0, s.length - 1, 0);
};
var validHelper = function(s, startIndex, endIndex, deleteCount) {
let left = startIndex,
right = ... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
// @ignoreDep @angular/compiler-cli
const ts = require("typescript");
const path = require("path");
const fs = require("fs");
const { <API key>, VERSION } = require('@angular/compiler-cli');
const resource_loader_1 = require("./resource_loader... |
package org.softlang.service.company;
import java.io.Serializable;
import java.util.LinkedList;
import java.util.List;
/**
* A department has a name, a manager, employees, and subdepartments.
*/
public class Department implements Serializable {
private static final long serialVersionUID = -<API key>;
private ... |
/**
* Contains methods for extracting/selecting final multiword candidates.
* @author Valeria Quochi @author Francesca Frontini @author Francesco Rubino
* Istituto di linguistica Computazionale "A. Zampolli" - CNR Pisa - Italy
*
*/
package multiword; |
layout: post
title: "IO"
category: Linux
tags: [net]
  IOselectepollLinux IOIOread
IO
1.
2.
* **IO**
  readIOreadIOIO
* **IO**
  readreadreadreadIOreadIOIOIO
* **IO**
  IOIOIOIOIOIO
* **IO**
  IO
>   IOIOIOIOIO
* **selectepoll*... |
_<sup><sup>[www.codever.land/bookmarks/t/ngrx](https:
_<sup>https:
This month at the St. Lewis Angular Lunch, Kyle spoke about managing state in Angular 2 applications. The crying baby thumbnail accurately reflects how many developers have come to experience state ma...
* :calendar: **published on**: 2016-10-20
* **tag... |
#include "<API key>.h"
enum {
kMaxNodes = 50000,
kNodesIncrease = 250,
TEST_COUNT = 7,
};
enum {
kTagInfoLayer = 1,
kTagMainLayer = 2,
kTagMenuLayer = (kMaxNodes + 1000),
};
static int s_nSpriteCurCase = 0;
// SubTest
SubTest::~SubTest()
{
if (batchNode)
{
batchNode->release();
... |
class SparseVector {
unordered_map<int, int> repr;
int size = 0;
public:
SparseVector(vector<int> &nums) {
size = nums.size();
for (int i=0; i<nums.size(); i++) {
if (nums[i] == 0) { continue; }
repr[i] = nums[i];
}
}
// Return the dotProduct of two sp... |
# 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,
# permit persons to whom the Software is furnished to do so, subject to
# the following conditions:
# included in ... |
<?php
namespace Algolia\SearchBundle;
use Algolia\SearchBundle\TestApp\Entity\Comment;
use Algolia\SearchBundle\TestApp\Entity\Image;
use Algolia\SearchBundle\TestApp\Entity\Post;
use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
use Symfony\Component\Console\Input\ArrayInput;
use Symfony\Component\Console\Output... |
module PrintSquare
class CommandRunner
class << self
def run(args)
validate_args(args)
print_square(args[0].to_i)
end
def print_square(number)
size = Math.sqrt(number).to_i
n = number
x = PrintSquare::Vector.new size.even? ? 1 : -1, size, size.even? ? 1 : ... |
package com.ripplargames.meshio.meshformats.ply;
import com.ripplargames.meshio.vertices.VertexType;
public class PlyVertexDataType {
private final VertexType vertexType;
private final PlyDataType plyDataType;
public PlyVertexDataType(VertexType vertexType, PlyDataType plyDataType) {
this.vertexType... |
<!DOCTYPE html>
<html lang="en"><head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1"><!-- Begin Jekyll SEO tag v2.5.0 -->
<title>Jalil Butrón | Shanghai-based cinematographer</title>
<meta name="generator" content="... |
require 'multi_xml'
require 'ostruct'
require 'roxml'
module WxHelper
module XmlHelper
class Message
def initialize(xml)
hash = parse_xml xml
@source = OpenStruct.new(hash['xml'])
end
def method_missing(method, *args, &block)
@source.send(method.to_s.classify, *args, &blo... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>qarith: Not compatible </title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" r... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>mathcomp-finmap: Not compatible </title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.m... |
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using P03_FootballBetting.Data.Models;
using System;
using System.Collections.Generic;
using System.Text;
namespace P03_FootballBetting.Data.<API key>
{
public class PositionConfig : <API key><Position>
{
public ... |
#ifndef <API key>
#define <API key>
#include <string>
#include <vector>
namespace CoreLib {
class Compression;
}
class CoreLib::Compression
{
public:
typedef std::vector<char> Buffer;
public:
enum class Algorithm : unsigned char {
Zlib,
Gzip,
Bzip2
};
public:
static void Compress... |
# v0.6.10
* Original: [Release atom-shell v0.6.10 - electron/electron](https://github.com/electron/electron/releases/tag/v0.6.10)
Changelog:
* Build binary for Mac on OS X 10.8.5.
* OS X 10.8.5 Mac
* Mountain Lion
* Fix a possible dead lock when quitting.
*
*
* Enable setting window icons when creating window.
... |
import asyncio
import email.utils
import json
import sys
from cgi import parse_header
from collections import namedtuple
from http.cookies import SimpleCookie
from urllib.parse import parse_qs, unquote, urlunparse
from httptools import parse_url
from sanic.exceptions import InvalidUsage
from sanic.log import error_logg... |
require 'stringio'
require 'highline/import'
module RailsZen
class ChosenAttr
attr_accessor :name, :type, :validator, :<API key>, :scope_attr
def initialize(name, type)
@name = name
@type = type
@scope_attr = []
end
def get_user_inputs
get_presence_req
<API key>
end
... |
# <API key>: true
RSpec::Matchers.define :<API key> do
expected_error =
{ 'error' => 'User is not authorized to access this resource.' }
match do |actual|
expect(actual).to have_http_status(403)
expect(JSON.parse(actual.body)).to eq(expected_error)
end
failure_message do |actual|
"expected to re... |
from .tile import Split, Stack, TileStack
class Tile(Split):
class left(Stack):
weight = 3
priority = 0
limit = 1
class right(TileStack):
pass
class Max(Split):
class main(Stack):
tile = False
class InstantMsg(Split):
class left(TileStack): # or maybe not tiled ?
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace BookReviews.UI.Saga
{
public class <API key> :
SagaStateMachine<<API key>>, ISaga
{
static <API key>()
{
Define(Saga);
}
private static void Saga()
{
... |
ActiveRecord::Schema.define(:version => 1) do
create_table :notes, :force => true do |t|
t.string :title
t.text :body
end
end |
var coords;
var directionsDisplay;
var map;
var travelMode;
var travelModeElement = $('#mode_travel');
// Order of operations for the trip planner (each function will have detailed notes):
// 1) Calculate a user's route, with directions.
// 2) Run a query using the route's max and min bounds to narrow potential results... |
define(['backbone', 'marionette', 'mustache', 'jquery', 'text!templates/ctrldialog.html'],
function(Backbone, Marionette, Mustache, $, template) {
return Marionette.ItemView.extend({
initialize: function(options) {
if (!options.icon_name) {
options.icon_name =... |
export * from './alert.service';
export * from './authentication.service';
export * from './user.service';
export * from './serviceRequest.service'; |
title: play on playa (part deux)
date: 2007-01-14 00:00:00 Z
permalink: "/2007/01/14/<API key>/"
categories:
- Baby E
- Uncategorized
author: Jennifer
layout: post
Yes, we had a fun filled [play date](http:
<img id="image115" alt="pod_011207.jpg" src="http://static.squarespace.com/static/<API key>/<API key>/<API key>/1... |
import { <API key> } from '../errors/<API key>';
import { NotImplementedError } from '../errors/NotImplementedError';
import mustache from 'mustache';
import '../utils/Function';
// The base class for a control
export class Control {
// The constructor of a control
// id: The id of the control
// template: ... |
<html><img border=0 src=70786-65-1.txt alt=70786-65-1.txt></img><body>
"x"
"1" "KAZIUS, J, MCGUIRE, R AND BURSI, R. DERIVATION AND VALIDATION OF TOXICOPHORES FOR MUTAGENICITY PREDICTION. J. MED. CHEM. 48: 312-320, 2005"
</body></html> |
// MultibandBank.c
// FxDSP
#include "MultibandBank.h"
#include "LinkwitzRileyFilter.h"
#include "RBJFilter.h"
#include "FilterTypes.h"
#include <stdlib.h>
// Sqrt(2)/2
#define FILT_Q (0.70710681186548)
/*******************************************************************************
MultibandFilter */
struct Multiba... |
using System.Collections.Generic;
using System.Diagnostics;
using System.Runtime.Serialization;
namespace AutoHelp.domain.Models
{
[DebuggerDisplay("{Fullname}")]
[DataContract]
public class Method : CodeCommentBase
{
[DataMember]
public string ReturnType { get; set; }
[DataMembe... |
'use strict';
/* jasmine specs for filters go here */
describe('filter', function() {
}); |
<div id="contenido">
<div class="bloque">
<h2 class="titulo"><strong>Contacto</strong></h2>
<p>Rellene el siguiente formulario si desea ponerse en contacto.</p>
<?php
if(!empty($estado)){
echo $estado;
}
?>
... |
!function(n){}(jQuery);
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIm5iYWRyYWZ0LnNjcmlwdC5qcyJdLCJuYW1lcyI6WyIkIiwialF1ZXJ5Il0sIm1hcHBpbmdzIjoiQ0FJQSxTQUFBQSxLQUVBQyIsImZpbGUiOiJuYmFkcmFmdC5zY3JpcHQuanMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEBmaWxlXG4gKiBDdXN0b20gc2NyaXB0cyBmb3IgdG... |
#include <graphene/chain/account_object.hpp>
#include <graphene/chain/asset_object.hpp>
#include <graphene/chain/market_object.hpp>
#include <graphene/chain/market_evaluator.hpp>
#include <graphene/chain/database.hpp>
#include <graphene/chain/exceptions.hpp>
#include <graphene/chain/hardfork.hpp>
#include <graphene/cha... |
require "fog"
module <API key>
module AttachmentPatch
def self.included(base) # :nodoc:
base.extend(ClassMethods)
base.send(:include, InstanceMethods)
base.class_eval do
unloadable
cattr_accessor :context_obj, :<API key>, :<API key>
after_validation :<API key>
bef... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reactive.Linq;
using System.Threading.Tasks;
using Chromamboo.Contracts;
using Newtonsoft.Json.Linq;
namespace Chromamboo.Providers.Notification
{
public class <API key> : <API key><string>
{
private readonly IBitbucketApi b... |
namespace SupermarketsChainDB.Data.Migrations
{
using System;
using System.Collections.Generic;
using System.Linq;
using Oracle.DataAccess.Client;
using SupermarketsChainDB.Data;
using SupermarketsChainDB.Models;
public static class OracleToSqlDb
{
private static string Connectio... |
# ts3
TeamSpeak 3 ServerQuery API implementation for Node.js |
^^^^^^^^^^^^^CS171 2015 Homework Assignments
Homework assignments for Harvard's [CS171](http:
git pull homework master
For details on how to submit your work, take a look at [Section 1](https://github.com/CS171/2015-cs171-homework/tree/master/section1).
**Name**:Yi Mao
**Email**:yim833@mail.harvard.edu |
class <API key> < ActionController::Base
<API key> with: :exception
helper_method :current_user
def current_user
@current_user ||= User.find(session[:user_id]) if session[:user_id]
end
def require_login
render_404 unless current_user
end
private
def render_404
raise ActionController::Routing... |
import { Injectable } from '@angular/core';
import { SyncResult } from 'app/model/syncResult'
import { Log } from 'app/model/log'
import { LogItem } from 'app/model/logItem'
@Injectable()
export class SyncResultService
{
syncResultService : any;
constructor()
{
this.syncResultService = (window as an... |
import * as React from 'react';
import { StandardProps } from '..';
export interface TableProps extends StandardProps<TableBaseProps, TableClassKey> {
component?: React.ReactType<TableBaseProps>;
}
export type TableBaseProps = React.TableHTMLAttributes<HTMLTableElement>;
export type TableClassKey = 'root';
declare co... |
import React from 'react';
import ReactDOM from 'react-dom';
import EventStack from './EventStack';
import PropTypes from 'prop-types';
const ESCAPE = 27;
/**
* Get the keycode from an event
* @param {Event} event The browser event from which we want the keycode from
* @returns {Number} The number of the keycode
*/... |
#include "pch.h"
#include "ActalogicApp.h"
TCHAR ActalogicApp::m_szWindowClass[] = _T("Actalogic");
TCHAR ActalogicApp::m_szTitle[] = _T("Actalogic");
ActalogicApp::ActalogicApp():
m_hWnd(NULL),
m_hInstance(NULL),
m_d2d1Manager(),
m_entityFPS(),
<API key>(),
<API key>(this),
m_inputHelper()
{
<API key>.SetApp(this)... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.