answer
stringlengths
15
1.25M
.selection-color{ background-color: #B3B3B3; } .overlay-color{ background-color: #666666; color: white; } .base-color{ background-color: #4D4D4D; color: white; } .line{ height: 1px; background-color: grey; } .toolbox-border-top{ border-top: 1px solid grey; } .<API key>{ border-botton...
package de.javagl.flow.gui; import java.awt.Shape; import java.awt.geom.Line2D; import java.awt.geom.PathIterator; import java.util.ArrayList; import java.util.List; /** * Utility methods related to shapes */ class Shapes { public static List<Line2D> computeLineSegments( Shape shape, double flatness) ...
'use strict'; const signup = require('./signup'); const handler = require('feathers-errors/handler'); const notFound = require('./not-found-handler'); const logger = require('./logger'); module.exports = function() { // Add your custom middleware here. Remember, that // just like Express the order matters, so error...
'use strict'; var form = $('[name="uploadForm"]'); exports.getForm = function() { return form; }; exports.setDetails = function(url, id) { form.element(by.model('inputText')).sendKeys(url); form.element(by.model('snapshotId')).sendKeys(id); }; exports.submit = function() { form.element(by.css('[ng-click...
module.exports = { 'resulting promise should be immediately rejected' : function(test) { var promise = promiseModule.reject('error'); test.ok(promise._status === -1); test.done(); }, 'resulting promise should be rejected with argument if argument is not a promise' : function(test) { ...
using Microsoft.Owin; using Owin; [assembly: OwinStartup(typeof(AuctionHouseService.Startup))] namespace AuctionHouseService { public partial class Startup { public void Configuration(IAppBuilder app) { ConfigureMobileApp(app); } } }
#include "NumberParser.hpp" #include <algorithm> /** * Operator array * Used to confirm that a token is an operator */ QChar NumberParser::m_operators[] = { '(', ')', '*', '+', '-', '/', '^', '_' }; int NumberParser::ToRPN(const QString& expression) { //\todo: Possibly redundant when tokenized if (expres...
// PriceFormatter.h // eBayDemoApp @interface PriceUtil : NSObject Converts given <API key> attributes to a string + (NSString *)<API key>:(NSNumber *)value currency:(NSString *)currencyID; Converts given attributes to a string + (NSString *)stringFromValue:(NSNumber *)value currency:(NSString *)currencyID; @end
require File.expand_path('../../../lib/tinytable/layout', __FILE__) require File.expand_path('../../../lib/tinytable/row', __FILE__) require File.expand_path('../../../lib/tinytable/cell', __FILE__) describe TinyTable::Layout do let(:table) { mock(:table, :has_header? => false, :has_rows? => true, :has_footer? => fal...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta content="Craig McClellan" name="author"> <title>Craig McClellan - T3316858480492544 </title> <link href="...
<?php namespace SumoCoders\<API key>\Form\Interfaces; use Symfony\Component\Form\FormTypeInterface; interface <API key> extends FormTypeInterface { public static function <API key>(): string; }
package net.ausiasmarch.fartman.util; import com.badlogic.gdx.audio.Music; import com.badlogic.gdx.audio.Sound; /** * AudioManager.java * Gestiona la musica y sonidos * @author Luis * */ public class AudioManager { /** Administrador de audio */ public static final AudioManager instance = new AudioManager()...
<!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.9.1"/> <title>V8 API Reference Guide for node.js v0.11.7: v8::Handle&lt; T &gt; Class Template Reference...
<?php namespace StackExchangeBundle\FormFactory; use StackExchangeBundle\Form\AnswerType; use StackExchangeBundle\Form\QuestionType; use StackExchangeBundle\Model\FormFactory; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\<API key>; use Symfony\Component\Form\FormInterface; class AnswerFormFactory...
package com.theseventhsense.datetime import com.theseventhsense.utils.types.SSDateTime import com.theseventhsense.utils.types.SSDateTime.TimeZone abstract class <API key>(timeZone: TimeZone) extends Serializable { def valid: Boolean def offsetSecondsAt(instant: SSDateTime.Instant = SSDateTime.now): Integer } abstra...
start: @docker create -it -p 6006:6006 -v ~/code/<API key>/src:/src -w /src --name <API key> tensorflow/tensorflow:1.10.1-py3 @docker start <API key> run: @docker exec -it <API key> python3 $(file).py $(arg) tensorboard: @docker exec -it <API key> tensorboard --logdir logs tfjs: $(eval dir=`echo "$(...
from typing import Union, Iterator from ...symbols import NOUN, PROPN, PRON from ...errors import Errors from ...tokens import Doc, Span def noun_chunks(doclike: Union[Doc, Span]) -> Iterator[Span]: """ Detect base noun phrases from a dependency parse. Works on both Doc and Span. """ # fmt: off labe...
class Commit < ApplicationRecord has_many :contributions, dependent: :destroy has_many :contributors, through: :contributions belongs_to :release, optional: true scope :<API key>, -> { select('commits.*'). # otherwise we get read-only records left_joins(:contributions). where(contributions: { commit...
<div class="footer"> <img src="{{asset('images/pay.png')}}" class="img-responsive" alt=""/> <ul class="footer_nav"> <li><a href="#">Inicio</a></li> <li><a href="#">Blog</a></li> <li><a href="#">Tienda</a></li> <li><a href="#">Acerca de nosotros</a></li> <li><a href="conta...
package sorting import ( . "gopkg.in/check.v1" ) var _ = Suite(&MySuite{}) func (s *MySuite) <API key>(c *C) { c.Assert(<API key>([]int{1, 5, 2, 1, 4, 0}), Equals, 11) } func (s *MySuite) <API key>(c *C) { for i := 0; i < c.N; i++ { <API key>([]int{1, 5, 2, 1, 4, 0}) } }
class A def test puts 'test' 1 end def test2 puts 'test2' 2 end end class SimpleCache @data = {} def self.cache key, ttl found = @data[key] # found is like [time, value] if found puts "Found in cache: #{key}" insertion_time, value = *found return value if Time.now ...
'use strict'; require('mocha'); const assert = require('assert'); const Generator = require('..'); let base; describe('.task', () => { beforeEach(() => { base = new Generator(); }); it('should register a task', () => { const fn = cb => cb(); base.task('default', fn); assert.equal(typeof base.tasks...
declare function fromRichText<T>(richText: any[], serialize: (type: string, data: any, text: string | null, children: T[] | null) => T, htmlSerializer: (data: any, text: string) => T): T[]; export default fromRichText;
package creationalPattern.builder; public abstract class ColdDrink implements Item { public Packing packing() { return new Bottle(); } public abstract float price(); }
using System; using OpenTK.Graphics; using OpenTK.Graphics.OpenGL4; namespace SMH { public sealed class VAO : IDisposable { private const int InvalidHandle = -1; public int Handle { get; private set; } public int VertexCount { get; private set; } public VAO(int vertexCount) ...
<html> <head> <meta charset="UTF-8"> <title>Test</title> <style> html, body { position: relative; width: 100%; height: 100%; padding: 0; margin: 0; background-color: white; ...
<!-- This Source Code Form is subject to the terms of the Mozilla Public - License, v. 2.0. If a copy of the MPL was not distributed with this - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> <!-- contributed by Atul Varma [atul@mozilla.com] --> <!-- edited by Noelle Murata [fiveinchpixie@gmail.com...
# Ubiquity::Cluster::Adapter TODO: Write a gem description ## Installation Add this line to your application's Gemfile: ruby gem '<API key>' And then execute: $ bundle Or install it yourself as: $ gem install <API key> ## Usage TODO: Write usage instructions here ## Contributing 1. Fork it ( https://github.com/...
// DTAccount.h // <API key> #import <Foundation/Foundation.h> @interface DTAccount : NSObject @property (nonatomic, strong) NSNumber *uid; @property (nonatomic, strong) NSString *token; + (instancetype)sharedAccount; + (BOOL)isLogined; - (BOOL)isLogined; - (void)logout; @end
<?php namespace Icecave\Pasta\AST\Expr; // @<API key> class BitwiseOr extends PolyadicOperator { }
import containers from './containers' import ui from './ui' import App from './App' module.exports = {...containers, ...ui, App}
<?php namespace Concrete\Package\AttributePlainText; use Concrete\Core\Backup\ContentImporter; use Package; class Controller extends Package { protected $pkgHandle = '<API key>'; protected $appVersionRequired = '5.7.4'; protected $pkgVersion = '1.0.1'; public function getPackageName() { retu...
package types // DO NOT EDIT. THIS FILE WAS AUTOMATICALLY GENERATED import ( types "github.com/sudorandom/softlayer-go/slapi/types" ) // <API key> - This is the datatype that needs to // be populated and sent to <API key>::placeOrder. This datatype has everything required // to place a global load balancer order wi...
'use strict'; // Production specific configuration module.exports = { // Server IP ip: process.env.OPENSHIFT_NODEJS_IP || process.env.IP || undefined, // Server port port: process.env.<API key> || process.env.PORT || 8080, // MongoDB connection options...
/* * generated by Xtext */ package co.edu.uniandes.mono.gesco.ui.contentassist.antlr; import java.util.Collection; import java.util.Collections; import org.eclipse.xtext.AbstractRule; import org.eclipse.xtext.ui.codetemplates.ui.partialEditing.<API key>; import org.eclipse.xtext.ui.editor.contentassist.antlr.FollowEl...
#!/usr/bin/env bash function ansible_mac() { local <API key>="https://raw.githubusercontent.com/shrikeh/ansible-virtualenv/${<API key>:-develop}/init.sh"; local <API key>="$(mktemp -d -t 'ansible_virtualenv')"; curl -o "${<API key>}/init.sh" -L "${<API key>}"; source "${<API key>}/init.sh" ${@}; } ansible_mac $...
<?php namespace Symfony\Tests\Component\Translation; use Symfony\Component\Translation\Translator; use Symfony\Component\Translation\MessageSelector; use Symfony\Component\Translation\Loader\ArrayLoader; class TranslatorTest extends \<API key> { public function testSetGetLocale() { $translator = new Tra...
#import <Foundation/Foundation.h> #import "CDVAdMobAds.h" #import <GoogleMobileAds/<API key>.h> #import <GoogleMobileAds/<API key>.h> #import <GoogleMobileAds/GADExtras.h> @class CDVAdMobAds; @interface <API key> : NSObject <<API key>, <API key>> { } @property (nonatomic, retain) CDVAdMobAds *adMobAds; - (instancetype)...
<!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"/> <title>Superprogram: Plik źródłowy ListaBlokow.hh</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="sty...
#!/usr/bin/env node 'use strict'; const fs = require('fs'); const repl = require('repl'); const program = require('commander'); const esper = require('..'); const Engine = esper.Engine; function enterRepl() { function replEval(cmd, context, fn, cb) { engine.evalDetatched(cmd).then(function(result) { ...
using System.IO; using System.Linq; namespace Moonfish.Guerilla.Tags { partial class <API key> : IResourceBlock { public ResourcePointer GetResourcePointer(int index = 0) { return GeometryBlockInfo.BlockOffset; } public int GetResourceLength(int index = 0) { ...
<?php if(isset($user)) {?> <table> <tr> <td><?php echo $user->username;?></td> <td><?php echo $user->password;?></td> <td><?php echo $user->email;?></td> </tr> </table> <?php }?> <?php echo validation_errors('<p class="error">');?>
gdata-diff ======= Online service to watch and report changes to Google Data elements (Google Drive Documents)
package selector; import java.awt.event.AdjustmentEvent; import java.awt.event.AdjustmentListener; import java.util.EventObject; class Barra implements AdjustmentListener { SelectorApplet applet; public Barra(SelectorApplet applet) { this.applet = applet; } public void <API key>(AdjustmentEvent e) { ...
const express = require('express'); const router = express.Router(); const queries = require('../db/queries'); const knex = require('../db/knex.js'); const request = require('request'); router.get('/clear', (req, res, next) => { queries.clearStationsTable((results) => { console.log(results); }); res.redirect(...
// TinyIoC // An easy to use, hassle free, Inversion of Control Container for small projects // and beginners alike. // OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT // LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND // FITNESS FOR A PARTICULAR PURPOSE. #region Preprocessor Directives // Uncommen...
title: Javascript layout: post category : web tags : [Javascript, ] published: true JavascriptPHPC++`class`Javascript`null``undefined` 1. ObjectObjectObjectJavascript {% highlight javascript %} var newObject = new Object(); newObject.firstName = "frank"; //firstName //sayName newObject.sayName = functio...
NAME=pew build: @mkdir -p bin/ go build -o bin/$(NAME) fmt: go fmt ./... test: go test ./...
<?php namespace N98\Magento\Command\LocalConfig; use N98\Magento\Command\<API key>; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Output\OutputInterface; class GenerateCommand extends <API key> { protected function configure() ...
ARG version=4 FROM minidocks/base:3.8 AS v3 FROM minidocks/base AS v4 FROM v$version AS latest LABEL maintainer="Martin Hasoň <martin.hason@gmail.com>" RUN apk --update add ffmpeg ffmpegthumbnailer && clean COPY rootfs / CMD [ "ffmpeg" ]
package org.odlabs.wiquery.ui.resizable; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertNull; import static org.junit.Assert.assertTrue; import org.apache.wicket.markup.html.WebMarkupContainer; i...
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 30 2020 21:18:12). #import <IDEFoundation/IDEContainer.h> #import <IDEKit/<API key>.h> @class DVTDocumentLocation, DVTFileDataType, DVTSymbol, IDEContainerItem, IDEFileReference, NSArray, NSImage, NSNull, NSString, NSURL; @interface IDEContainer (P...
<div *ngIf="notesService.<API key>(evaluationTitle); let evaluation" class='container'> <div class="page-header"> <h5>{{ evaluation.titre }} <i class="right material-icons">{{ evaluation.individuel ? 'person' : 'group' }}</i> </h5> <h6>Note de l'évaluation: <span *ngI...
<?php namespace Origami\Entity\Manager; defined('BASEPATH') OR exit('No direct script access allowed'); class Query { /** * Gestionnaire de configuration * @var \Origami\Entity\Manager\Config */ private $config; /** * Contructeur * @param \Origami\Entity\Manager\Config $config ...
package contests; public class Solution2 { public static void main(String[] args) { } static public String shortestPalindrome(String s) { if (s.length() <= 1) return s; char[] a = s.toCharArray(); StringBuilder sb = new StringBuilder(); int i = 0; int j = a.length - 1...
<?php namespace Meling\Cart; /** * Class Totals * @package Meling\Cart */ class Totals { /** * @var Products */ protected $products; /** * @var Actions */ protected $actionsAfter; /** * @var Cards\Card */ protected $card; /** * @var \PHPixie\ORM\Wrappers...
import DOMUtils from 'tinymce/core/api/dom/DOMUtils'; interface Bookmark { startContainer: Node; startOffset: number; endContainer?: Node; endOffset?: number; } /** * Returns a range bookmark. This will convert indexed bookmarks into temporary span elements with * index 0 so that they can be restored properly...
from random import randint, seed, choice, random from numpy import zeros, uint8, cumsum, floor, ceil from math import sqrt, log from collections import namedtuple from PIL import Image from logging import info, getLogger class Tree: def __init__(self, leaf): self.leaf = leaf self.lchild = None ...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var rx_1 = require("rx"); /* tslint:enable */ function cache(callback) { var cached$ = this.replay(undefined, 1); var subscription = cached$.connect(); callback(function () { return subscription.dispose(); }); return cached$; }...
var chai = require('chai'); var should = chai.should(); var pictogramResponse = require('../../../lib/model/response/pictogramResponse'); describe('pictogramResponse model test', function () { var id = 'id'; var category = 'category'; var url = 'url'; it('should create model', function (done) { var <API key...
#ifndef BITBANDING_H #define BITBANDING_H #define MASK_TO_BIT31(A) (A==0x80000000)? 31 : 0 #define MASK_TO_BIT30(A) (A==0x40000000)? 30 : MASK_TO_BIT31(A) #define MASK_TO_BIT29(A) (A==0x20000000)? 29 : MASK_TO_BIT30(A) #define MASK_TO_BIT28(A) (A==0x10000000)? 28 : MASK_TO_BIT29(A) #define M...
<?php namespace SurveySez; /** * Choice Class stores data info for an individual Choice to an Answer * * In the constructor an instance of the Response class creates multiple * instances of the Choice class tacked to the Answer class to store * response data. * * @see Answer * @see Response * @todo none */ cl...
[![Build Status](https: Tool for calculating statistics for Scouts and Guides of Finland. ## Getting Started These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system. Prerequisi...
import React from "react"; import { useResponse } from "@curi/react-dom"; import NavLinks from "./NavLinks"; export default function App() { let { response } = useResponse(); let { body: Body } = response; return ( <div> <NavLinks /> <Body response={response} /> </div> ); }
<?php namespace ConnectHolland\TulipAPIBundle\Tests\Command; use ConnectHolland\TulipAPIBundle\Command\SynchronizeCommand; use ConnectHolland\TulipAPIBundle\Model\<API key>; use ConnectHolland\TulipAPIBundle\Queue\QueueManager; use Doctrine\Common\Persistence\ManagerRegistry; use Doctrine\ORM\AbstractQuery; use Doctrin...
import { Tween } from '../core'; import { mat4 } from '../math'; export class MatrixTween extends Tween { action() { for (let i = 0; i < this.from.length; i++) { this.object[i] = this.from[i] + this.current_step * (this.to[i] - this.from[i]); } } pre_start() { super.pre_start(); this.from ...
#include "stdafx.h" #include "model.h" #include "node.h" #include "../manager/resourcemanager.h" #include "mesh.h" #include "bonemgr.h" using namespace graphic; struct sMinMax { Vector3 Min; Vector3 Max; sMinMax() : Min(Vector3(0,0,0)), Max(Vector3(0,0,0)) {} }; cModel::cModel() : m_bone(NULL) , m_is...
using TeamReview.Core.Models; using TeamReview.Web.ViewModels; namespace TeamReview.SpecsWithoutBrowser.StepDefinitions.Models { public class ReviewInfo { public ReviewConfiguration ReviewConfiguration; public ReviewCategory CurrentCategory; public string TypeOfReport { get; set; } p...
<?php declare(strict_types=1); namespace Fduch\Netrc\Exception; use \RuntimeException; /** * ParseException * * @author Alex Medvedev */ class ParseException extends RuntimeException { }
import React from 'react'; import MobileTearSheet from './MobileTearSheet'; import List from 'material-ui/lib/lists/list'; import ListItem from 'material-ui/lib/lists/list-item'; import ActionInfo from 'material-ui/lib/svg-icons/action/info'; import Divider from 'material-ui/lib/divider'; import Avatar from 'material-u...
module.exports = function Boot(game) { return { preload: function(){ game.load.image('mars', '/assets/images/mars.png'); }, create: function(){ //This is just like any other Phaser create function console.log('Boot was just loaded'); this.mars = game.add.sprite(0, 0, 'mars'); }...
import unittest import numpy import chainer from chainer.backends import cuda from chainer import functions from chainer import gradient_check from chainer import testing from chainer.testing import attr def _uniform(*shape): return numpy.random.uniform(-1, 1, shape).astype(numpy.float32) @testing.parameterize(*tes...
#include <stdio.h> #include <string.h> #include "py/runtime.h" #include "py/mphal.h" #include "irq.h" #include "pin.h" #include "bufhelper.h" #include "dma.h" #include "i2c.h" #if <API key> && <API key> \moduleref pyb \class I2C - a two-wire serial protocol I2C is a two-wire protocol for communicating between devices. ...
var topics = require('../data').topics; console.log(topics); var result = topics.filter(function (topic) { //filter renvoie les 'true' return topic.user.name === 'Leonard'; //? true : false; }); var result2 = topics.filter(topic=>topic.user.name === 'Leonard'); var titles = topics.map(function (topic) { return ...
using System; using System.Collections.Generic; using System.Text; namespace Imml { public interface IElementFactory { ImmlElement Create(string elementName, IImmlElement parentElement); } }
File.dirname(__FILE__).tap do |supermarket| Dir[File.join(supermarket, 'import', '*.rb')].map do |file| file.split(File::SEPARATOR).last.split('.').first end.each do |name| require "supermarket/import/#{name}" end end require 'supermarket/community_site' module Supermarket module Import def self.deb...
StatsGopher.PresenceMonitor = function PresenceMonitor (opts) { opts = opts || {}; this.statsGopher = opts.statsGopher; this.key = opts.key; this.send = this.executeNextSend; this.paused = false; } StatsGopher.PresenceMonitor.prototype = { ignoreNextSend: function () { }, queueNextSend: function () { ...
#include "problem_28.hpp" #include <iostream> using namespace std; int <API key>(int side) { return 4*side*side - 6*(side - 1); } TEST(problem_28, full) { int sum(1); for (int d = 3; d <= 1001; d+=2) { sum += <API key>(d); } EXPECT_EQ(669171001, sum); }
app.service('operacoes', function() { this.somar = function(valor1, valor2) { return valor1 + valor2; } this.subtrair = function(valor1, valor2) { return valor1 - valor2; } });
<div class="mediaList"> <div *ngFor="let contest of contestList" class="media"> <div class="media-left"> <a> <img *ngFor="let photo of contest.examplePhotos" width="64px" class="media-object" src="{{photo.url}}" alt="beast"> </a> </div> <div class="media-left"> <a> <img *...
<?php namespace Topycs\Discussions\Builder; /** * Defines a fluent builder for threads. * * @author Daniel Ribeiro <drgomesp@gmail.com> * @package Topycs\Discussions\Builder */ interface <API key> { /** * Builds a thread. * * @param string $title * @param string $content * @return \Top...
from modelmapper.declarations import Mapper, Field from modelmapper.qt.fields import QLineEditAccessor class String(QLineEditAccessor): def get_value(self): return str(self.widget.text()) def set_value(self, value): self.widget.setText(str(value)) class Integer(QLineEditAccessor): def get_va...
function paddAppendClear() { jQuery('.append-clear').append('<div class="clear"></div>'); } function paddWrapInner1() { jQuery('.wrap-inner-1').wrapInner('<div class="inner"></div>'); } function paddWrapInner3() { jQuery('.wrap-inner-3').wrapInner('<div class="m"></div>'); jQuery('.wrap-inner-3').prepen...
// PDFKitten.h // PDFKitten #import <PDFKitten/PDFKPageScanner.h> #import <PDFKitten/PDFKSelection.h>
.tdImgThumb .RoomImageList { margin: 10px; padding: 0; } .tdImgThumb .RoomImageList li { display: none; margin: 0; padding: 0; } .tdImgThumb .RoomImageList li:first-child { display: block; } .tdImgThumb .RoomImageList img { display: block; } .tdImgThumb .RoomImageListMore { display: block; text-align:...
<?php namespace FurryBear\Resource\SunlightCongress\Method; use FurryBear\Resource\SunlightCongress\BaseResource; class Votes extends BaseResource { /** * The resource method URL. No slashes at the beginning and end of the * string. */ const ENDPOINT_METHOD = 'votes'; /** * Constructs th...
/* globals $ */ const modals = window.modals; const footer = window.footer; const notifier = window.notifier; const admin = window.admin; ((scope) => { const modalLogin = modals.get("login"); const modalRegister = modals.get("register"); const helperFuncs = { loginUser(userToLogin) { con...
#ifndef LIBC_H #define LIBC_H #include <stdint.h> #include <stddef.h> #include "lib/zt_common.h" #define EPERM 1 /* Operation not permitted */ #define ENOENT 2 /* No such file or directory */ #define ESRCH 3 /* No such process */ #define EINTR 4 /* Interrupted system call */ ...
<!DOCTYPE html> <html ng-app="freeUniTaxiApp"> <head> <title>FreeUni Taxi</title> <link rel="stylesheet" href="styles/main.css"> <link rel="stylesheet" href="bower_components/bootstrap/dist/css/bootstrap.min.css"> <link rel="stylesheet" href="bower_components/bootstrap/dist/css/bootstrap-theme.min.css"> ...
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class <API key> extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('forum_orders', function (Blueprint $table) { $table->...
__author__ = 'bptripp' import numpy as np from scipy.optimize import curve_fit import matplotlib.pyplot as plt from sklearn.cluster import KMeans from sklearn.<API key> import <API key> from keras.models import Sequential from keras.layers.core import Dense, Activation, Flatten from keras.layers.convolutional import Co...
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper') describe <API key> do end
# Links A collection of links that I've found useful in learning web design/development. A not-very-organized work-in-progress. More to come. ## Start here(?) * http://prework.flatironschool.com/ ## Front-end development topics * http://alistapart.com/ * http://css-tricks.com/ * http://thechangelog.com/ * http://pauli...
<!DOCTYPE html> <head> <title>Your page title here</title> <meta charset="UTF-8"> <link rel="stylesheet" type="text/css" href="../stylesheets/blog-stylesheet.css"> </head> <body> <h1>Enumberable Methods Group-by</h1> <h4>3/22/2015</h4> <section> <p> Group by is an enumberable method that can take...
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef pair<int,int> ii; typedef vector<int> vi; typedef vector<ii> vii; int pd[110][110] = {}; int choose(int a, int b) { if(pd[a][b]) return pd[a][b]; if(a==b) return 1; if(a<b) return 0; if(b==0) return 1; return pd[a][b] = choose(a-1,b)+...
// Name : Code.cpp // Author : Yahya Milani // Version : // Description : C++, Ansi-style //#include <stdafx.h> #include <stdio.h> //#include <tchar.h> #include <cmath> #include <iostream> #include <fstream> #include <ctime> using namespace std; //Global Vars const int ele_num = 96; const int node_num =...
{-# LANGUAGE CPP #-} module GHCJS.DOM.DataTransfer ( #if (defined(ghcjs_HOST_OS) && defined(USE_JAVASCRIPTFFI)) || !defined(USE_WEBKIT) module GHCJS.DOM.JSFFI.Generated.DataTransfer #else #endif ) where #if (defined(ghcjs_HOST_OS) && defined(USE_JAVASCRIPTFFI)) || !defined(USE_WEBKIT) import GHCJS.DOM.JSFFI.Generat...
// for more details. // modifications are permitted. using Neo.Cryptography.ECC; namespace Neo.IO.Caching { internal class ECPointCache : FIFOCache<byte[], ECPoint> { public ECPointCache(int max_capacity) : base(max_capacity, <API key>.Default) { } protected override ...
module CloudFormer module CloudFront class <API key> class <API key> < ResourceProperty aws_attribute :logging, type: <API key>::Logging, embed: true aws_attribute :comment, type: String, required: true aws_attribute :price_class, type: String aws_attribute :s3_origin, type: ...
(function () { 'use strict'; angular .module('patients') .controller('<API key>', <API key>); <API key>.$inject = ['PatientsService']; function <API key>(PatientsService) { var vm = this; vm.patients = PatientsService.query(); } })();