answer
stringlengths
15
1.25M
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>unicoq: 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.0"> <meta name="generator" content="rustdoc"> <meta name="description" content="API documentation for the Rust `FromUtf8Error` struct in crate `collections`."> <meta name...
* { margin: 0; padding: 0; } body { margin: 0; padding: 0; font: 12px Arial, Helvetica, sans-serif; color: #333; background: #fff url(images/bg_body.jpg) repeat-x; } img { border: none; } p { margin: 0; padding: 8px 0; } a, object, a:focus { outline: none; } h1, h2, h3, h4 { ...
<html><body> <h4>Windows 10 x64 (19041.388)</h4><br> <h2>_IO_APIC_REGISTERS</h2> <font face="arial"> +0x000 RegisterIndex : Uint4B<br> +0x004 Reserved1 : [3] Uint4B<br> +0x010 RegisterValue : Uint4B<br> +0x014 Reserved2 : [11] Uint4B<br> +0x040 EndOfInterrupt : Uint4B<br> </font></bo...
import os import logging from django.core.management.base import BaseCommand from django.core.mail import send_mail from django.template.loader import get_template from workshops.models import Badge, Person, Role logger = logging.getLogger() class Command(BaseCommand): help = 'Report instructors activity.' def ...
<?php namespace Eloquent\Phuri\Generic; use Eloquent\Pathogen\Factory\<API key>; use Eloquent\Phuri\Generic\Parser\<API key>; use Eloquent\Phuri\Normalization\<API key>; use Eloquent\Phuri\Parameters\Factory\<API key>; use Eloquent\Phuri\Path\Factory\UriPathFactory; use Eloquent\Phuri\UriInterface; use Eloquent\Phuri\V...
# react-all Use ReactJS to do cross platform StartKit
package org.spongepowered.common.data.manipulator.block; import static org.spongepowered.api.data.DataQuery.of; import org.spongepowered.api.data.DataContainer; import org.spongepowered.api.data.DataQuery; import org.spongepowered.api.data.MemoryDataContainer; import org.spongepowered.api.data.manipulator.block.Signale...
# coding=utf-8 # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is regenerated. import functools from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar import warnings from azure.core.exceptions import <API key>, HttpRes...
class CreateDocuments < ActiveRecord::Migration[5.0] def change create_table :documents do |t| t.integer :product_id, null: false t.string :type, null: false t.string :url, null: false t.timestamps end end end
@font-face { font-family: 'icomoon'; src: url('../fonts/icomoon.eot'); src: url('../fonts/icomoon.eot?#iefix') format('embedded-opentype'), url('../fonts/icomoon.woff') format('woff'), url('../fonts/icomoon.ttf') format('truetype'), url('../fonts/icomoon.svg#icomoon') format('svg'); ...
# -*- coding: utf-8 -*- import sys import os import numpy as np import pandas as pd import datetime as dt # To redirect output to file class Logger(object): def __init__(self, filename="Default.log"): self.terminal = sys.stdout self.log = open(filename, "a") def write(self, message): sel...
# lecture-02 2018-01-29 * add buttons for handouts * add additional content related to Open GIS * add speakerdeck integration # lecture-02 2018-01-28 * add initial site with youtube video for lecture prep replication embedded # lecture-02 2018-01-02 * add `NEWS_SITE.md` for tracking updates to the course site, *but sit...
<?php namespace PSR2R\Sniffs\Commenting; use PHP_CodeSniffer\Files\File; use PHP_CodeSniffer\Util\Tokens; use PSR2R\Tools\AbstractSniff; use PSR2R\Tools\Traits\CommentingTrait; use PSR2R\Tools\Traits\SignatureTrait; /** * Methods always need doc blocks. * Constructor and destructor may not have one if they do not hav...
(function() { 'use strict'; process.env.debug_sql = true; var Class = require('ee-class') , log = require('ee-log') , assert = require('assert') , fs = require('fs') , QueryContext = require('<API key>') , ORM = require...
#!/usr/bin/env ruby require 'tasklist' during '2010 September' do on '2010-09-03' do task 'Take out garbage' task 'Wash car' end on '2010-09-02' do task 'Create tasklist DSL', '09:15:56', '', 'admin', 'done' task 'Push tasklist to github', '09:34:00', '09:38:04', 'github' end end
var passport = require('passport'); var WebIDStrategy = require('passport-webid').Strategy; var tokens = require('../../util/tokens'); var ids = require('../../util/id'); var console = require('../../log'); var createError = require('http-errors'); var dateUtils = require('../../util/date'); var url = require('url'); f...
module AwsHelpers module <API key> class CreateTag def initialize(<API key>, load_balancer_name, tag_key, tag_value) @<API key> = <API key> @load_balancer_name = load_balancer_name @tag_key = tag_key @tag_value = tag_value end def execute resp = @<API key>...
export declare class Console { private static quiet; private static debug; private static verbose; static Log(text: any): void; private static readonly Timestamp; static Debug(text: any): void; static Verbose(text: any): void; static Error(text: any): void; static Exit(reason: any): ...
<?php declare(strict_types=1); namespace Sylius\Bundle\CoreBundle\Command; use Sylius\Component\Core\Model\AdminUserInterface; use Sylius\Component\User\Repository\<API key>; use Symfony\Component\Console\Helper\QuestionHelper; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\Out...
import { Nibble, UInt4 } from '../types' /** * Returns a Nibble (0-15) which equals the given bits. * * @example * byte.write([1,0,1,0]) => 10 * * @param {Array} nibble 4-bit unsigned integer * @return {Number} */ export default (nibble: Nibble): UInt4 => { if (!Array.isArray(nibble) || nibble.length !== 4)...
import { Injectable } from '@angular/core'; import { DataService } from '../../../_service/dataconnect'; import { Router } from '@angular/router'; @Injectable() export class <API key> { constructor(private _dataserver: DataService, private _router: Router) { } <API key>(req: any) { return this._dataserv...
{% extends "base.html" %} {% load static %} {% load template_extras %} {% block title %}Analyse{% endblock %} {% block active_class %}analyse{% endblock %} {% block extra_css %} <link href="{% static 'css/select2.min.css' %}" rel="stylesheet"> <link href="{% static 'css/jquery.nouislider.css' %}" rel="stylesheet"> <lin...
using System; using Newtonsoft.Json; namespace MultiSafepay.Model { public class Transaction { [JsonProperty("transaction_id")] public string TransactionId { get; set; } [JsonProperty("payment_type")] public string PaymentType { get; set; } [JsonProperty("order_id")] ...
require 'spec_helper' describe MWS::Report do describe ".method_missing" do describe ".get_report_list" do let(:valid_args){ { key: "ThisIsSigningKey", endpoint: "mws.amazonservices.com", params: { "AWSAccessKeyId" => "AccessKeyIdString", "Seller...
require 'resolv' module Geocoder class IpAddress < String def loopback? valid? and !!(self == "0.0.0.0" or self.match(/\A127\./) or self == "::1") end def valid? !!((self =~ Resolv::IPv4::Regex) || (self =~ Resolv::IPv6::Regex)) end end end
const chai = require('chai'); const expect = chai.expect; const ComplexArray = require('../complex-array/complex-array'); function assertArrayEquals(first, second) { const message = `${first} != ${second}`; first.forEach((item, i) => { expect(item).to.equal(second[i], message); }); } describe('Complex Array',...
#include <v8.h> #include <node.h> #include <sys/time.h> #include <sys/resource.h> int globalWho = RUSAGE_SELF; static v8::Handle<v8::Value> get_r_usage(const v8::Arguments& args){ v8::HandleScope scope; int localWho = globalWho; if(args.Length() != 0){ bool isError = false; if(args[0]->IsNum...
package config; import interfaces.*; import java.sql.*; import java.util.logging.*; import javax.swing.*; /** * * @author Luis G */ public class Connector { public Connector() { } protected boolean getData(String query, Callback callback) { ResultSet rs = null; Connection conn = null; ...
<?php namespace fab2s\NodalFlow\Nodes; use fab2s\NodalFlow\Flows\FlowInterface; use fab2s\NodalFlow\NodalFlowException; /** * Class BranchNode */ class BranchNode extends PayloadNodeAbstract implements BranchNodeInterface { /** * This Node is a Branch * * @var bool */ protected $isAFlow = ...
# This file is auto-generated from the current state of the database. Instead # of editing this file, please use the migrations feature of Active Record to # incrementally modify your database, and then regenerate this schema definition. # Note that this schema.rb definition is the authoritative source for your # datab...
<!--Navigation bar <nav class="navbar navbar-default navbar-fixed-top"> <div class="container"> <div class="navbar-header"> <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#myNavbar"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span ...
#import "NSObject.h" @class NSMutableDictionary, NSString; // Not exported @interface GQZArchive : NSObject { NSMutableDictionary *mEntries; id <<API key>> mInput; _Bool mIsEncrypted; NSString *mFilename; } - (id)filename; - (_Bool)isEncrypted; - (id)entryNames; - (id)entryWithName:(id)arg1; - (void)dea...
/* * mysplit.c - Another handy routine for testing your tiny shell * * usage: mysplit <n> * Fork a child that spins for <n> seconds in 1-second chunks. */ #include <stdio.h> #include <unistd.h> #include <stdlib.h> #include <sys/types.h> #include <sys/wait.h> #include <signal.h> int main(int argc, char **argv) { ...
#ifndef _UFS_FFS_FS_H_ #define _UFS_FFS_FS_H_ /* * Each disk drive contains some number of filesystems. * A filesystem consists of a number of cylinder groups. * Each cylinder group has inodes and data. * * A filesystem is described by its super-block, which in turn * describes the cylinder groups. The super-blo...
\hypertarget{<API key>}{}\section{C\+:/\+Users/\+Tim-\/\+Mobil/\+Documents/\+Arduino/libraries/\+N\+B\+H\+X711/src Directory Reference} \label{<API key>}\index{C\+:/\+Users/\+Tim-\/\+Mobil/\+Documents/\+Arduino/libraries/\+N\+B\+H\+X711/src Directory Reference@{C\+:/\+Users/\+Tim-\/\+Mobil/\+Documents/\+Arduino/librari...
<?PHP /** * password view. * * includes form for username and email to send password to user. * */ ?> <div id="content_area"> <div class="row" id="login"> <!--login box <div class="col-xs-24" > <?php //begins th...
using System; using System.Threading; using MonoTouch.Foundation; using MonoTouch.UIKit; namespace vplan { public class PrefManager { NSUserDefaults locstore = new NSUserDefaults(); bool notified = false; public PrefManager () { refresh (); } protected...
#include "StdAfx.h" #include "XmlResultParser.UnitTests.h" #include "Common.h" #include "xmlresultparser.h" #include <stdlib.h> #include <vector> using namespace WEX::TestExecution; using namespace WEX::Logging; using namespace std; namespace UnitTests { void <API key>::Test_ParseResults() { Profile pro...
/** @jsx h */ import h from '../../helpers/h' export const schema = { blocks: { paragraph: { marks: [{ type: 'bold' }, { type: 'underline' }], }, }, } export const input = ( <value> <document> <paragraph> one <i>two</i> three </paragraph> </document> </value> ) export c...
(function($) { // Use this variable to set up the common and page specific functions. If you // rename this variable, you will also need to rename the namespace below. var Sage = { // All pages 'common': { init: function() { // JavaScript to be fired on all pages }, finalize: fun...
#pragma once #include "interface/types.h" inline uintptr_t get_return_address() { uintptr_t ret; asm volatile("movq 8(%%rbp), %0" : "=r"(ret) : : "memory"); return ret; }
import {bootstrap} from '@angular/<API key>'; import {ROUTER_PROVIDERS} from '@angular/router-deprecated'; import {HTTP_PROVIDERS} from '@angular/http'; import {AppComponent} from './app.component'; import {LoggerService} from './blocks/logger.service'; bootstrap(AppComponent, [ LoggerService, ROUTER_PROVIDERS, HTT...
package org.apache.shiro.grails.annotations; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; import org.apache.shiro.authz.Permission; @Target({ElementType.FIELD, ElementType.METHOD}) @Retention(RetentionPol...
local r = require('restructure') local ArrayT = r.Array describe('Array', function() describe('decode', function() it( 'should decode fixed length', function() local stream = r.DecodeStream.new(string.char(1, 2, 3, 4, 5)) local array = ArrayT.new(r.uint8, 4) assert.are.same({1, 2, 3, 4}, array:d...
using Academy.Core.Contracts; using Academy.Commands.Adding; using Moq; using NUnit.Framework; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Academy.Tests.Commands.Mocks; namespace Academy.Tests.Commands.AddingTests.<API key> { [TestFixture...
module.exports = { before: [function () { console.log('global beforeAll1'); }, 'alias1'], 'alias1': 'alias2', 'alias2': function () { console.log('global beforeAll2'); }, 'One': function () { this.sum = 1; }, 'plus one': function () { this.sum += 1; }, 'equals two': function () { ...
<!DOCTYPE HTML PUBLIC "- <html> <head> <title>Submission 121</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body topmargin="0" leftmargin="0" marginheight="0" marginwidth="0"> <img src="gallery/submissions/121.jpg" height="400"> </body> </html>
puppet-roundcube ============= ## Overview Install and configure roundcube with optional apache/mysql configuration. * `roundcube` : Main define for the roundcube. ## Examples Typical user with apache and mysql configuration : roundcube { 'webmail.example.com': docroot => '/var/www/webmail.example.com...
# MilkshakeAndMouse An online store for organic/cruelty free merchandise.
<!DOCTYPE html PUBLIC "- <html xmlns="http: <link href="/stylesheets/front_page.css" media="screen" rel="stylesheet" type="text/css"> <title>notefeeder: whoops!</title> </head> <body> <h1> <a href="http://notefeeder.heroku.com/">note feeder</a> <div id="underline"></div> </h1> <div class="content_area"> ...
from attributes import * from constants import * class UnitManager (Attributes) : """ UnitManager class -- manages a pool """ def __init__ (self, url=None, scheduler='default', session=None) : Attributes.__init__ (self) def add_pilot (self, pid) : """ add (Compute or Data)-P...
'use strict'; angular.module('terminaaliApp') .factory('Auth', function Auth($location, $rootScope, $http, User, $cookieStore, $q) { var currentUser = {}; if($cookieStore.get('token')) { currentUser = User.get(); } return { /** * Authenticate user and save token * * @p...
$(document).ready(function(){ var toggleMuffEditor = function(stat=false){ $("#muff-opt").remove(); // bind event if(stat){ $(".muff").mouseover(function() { $("#muff-opt").remove(); muffShowOptions($(this)); $(window).scroll(functi...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports["default"] = undefined; var _classCallCheck2 = require('babel-runtime/helpers/classCallCheck'); var _classCallCheck3 = <API key>(_classCallCheck2); var <API key> = require('babel-runtime/helpers/<API key>'); var <API key> = <API ke...
package jp.opap.material.model import java.util.UUID import jp.opap.data.yaml.Node import jp.opap.material.data.Collections.{EitherSeq, Seqs} import jp.opap.material.facade.<API key>.<API key> import jp.opap.material.model.RepositoryConfig.RepositoryInfo import jp.opap.material.model.Warning.GlobalWarning import scala....
const _cache = Dict{AbstractString,Array}() function fetch_word_list(filename::AbstractString) haskey(_cache, filename) && return _cache[filename] try io = open(filename, "r") words = map(x -> chomp(x), readlines(io)) close(io) ret = convert(Array{UTF8String,1}, words) _cache[filename] = ret ...
<!DOCTYPE HTML PUBLIC "- <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (1.8.0_11) on Sun Aug 31 14:44:00 IST 2014 --> <title>Uses of Class org.symboltable.Edge</title> <meta name="date" content="2014-08-31"> <link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style"> <scrip...
# Parser.Many&lt;T&gt; method Always succeeds. The value is a collection of as many items as can be successfully parsed. csharp public static IParser<IReadOnlyList<T>> Many<T>(this IParser<T> parser) ## See Also * interface [IParser&lt;T&gt;](../IParser-1.md) * class [Parser](../Parser.md) * namespace [Faithlife.Parsin...
using System.ComponentModel; namespace NSysmon.Collector.HAProxy { <summary> Current server statuses </summary> public enum ProxyServerStatus { [Description("Status Unknown!")] None = 0, //Won't be populated for backends [Description("Server is up, status normal.")] A...
import datetime from django.contrib.contenttypes.models import ContentType from django.utils import timezone from .models import Action def create_action(user, verb, target=None): now = timezone.now() last_minute = now - datetime.timedelta(seconds=60) similar_actions = Action.objects.filter(user_id=user.id,...
package engine; import java.awt.Color; import java.awt.Graphics2D; import java.awt.Point; public class CircleShape extends Shape { double radius; //radius of shape public CircleShape(double rad, Vector2D v, double r, double d, Color c) { super(v, r, d, c); radius = rad; } @Override p...
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M19.99 9.79c.51-.4.51-1.18 0-1.58l-6.76-5.26c-.72-.56-1.73-.56-2.46 0L9.41 4.02l7.88 7.88 2.7-2.11zm0 3.49l-.01-.01a.991.991 0 00-1.22 0l-.05.04 1.4 1.4c.37-.41.34-1.07-.12-1.43zm1.45 5.6L4.12 1.56a.99...
Deprecated. See: - [TRex Collection](https://github.com/Raphhh/trex-collection): PHP helpers for collections. - [TRex Reflection](https://github.com/Raphhh/trex-reflection): PHP tool to reflect callables an types. - [TRex parser](https://github.com/Raphhh/trex-parser): PHP tool to parse code and extract statements. ...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="ms_MY" version="2.1"> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About DarkSwift</source> <translation type="unfinished"/> </message> <message> <location l...
# Worker Glass [Unmaintained] **Note**: This library is no longer in use in the Karafka ecosystem. It was developed for Karafka versions prior to `1.0`. If you're using this library and want to take it over, please ping us. [![Build Status](https: [![Gem Version](https: [![Join the chat at https: WorkerGlass provides...
# -*- coding: utf-8 -*- # sphinx-quickstart on Wed Apr 19 13:22:45 2017. # This file is execfile()d with the current directory set to its # containing dir. # Note that not all possible configuration values are present in this # autogenerated file. # All configuration values have a default; values that are commented out...
import { assign, forEach, isArray } from 'min-dash'; var abs= Math.abs, round = Math.round; var TOLERANCE = 10; export default function BendpointSnapping(eventBus) { function snapTo(values, value) { if (isArray(values)) { var i = values.length; while (i--) if (abs(values[i] - value) <= TOLER...
var changeSpan; var i = 0; var hobbies = [ 'Music', 'HTML5', 'Learning', 'Exploring', 'Art', 'Teaching', 'Virtual Reality', 'The Cosmos', 'Unity3D', 'Tilemaps', 'Reading', 'Butterscotch', 'Drawing', 'Taking Photos', 'Smiles', 'The Poetics of Space...
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>CodePen - A Pen by Justin Kams</title> </head> <body> <html> <head> <title>The Basics of The Web and HTML</title> </head> <body> <h2>The Basics of The Web and HTML</h2> <p><em></em></p> <p><em><h3>The Basics of the World Wide Web</h3></em> The world wide ...
<?php namespace App\Http\ViewComposers; use App\Models\Character; use App\Models\Message; use Illuminate\Database\Eloquent\Builder; use Illuminate\Support\Arr; use Illuminate\Support\Facades\Auth; use Illuminate\View\View; class <API key> { /** * Bind data to the view. * * @param View $view * @...
layout: default archive: true <script src="https://apis.google.com/js/platform.js" async defer></script> <article class="post"> <header> <h1>{{ page.title }}</h1> <h2 class="headline">{{ page.date | date:"%B %-d, %Y" }}</h2> </header> <section id="post-body"> {{content}} {% assig...
from src.tools.dictionaries import PostLoadedDict # Utility class class <API key>(PostLoadedDict): def __missing__(self, key): try: return super().__missing__(key) except KeyError: return NotImplemented class Server(): def __init__(self, shortname, loader): # Not ...
import { <API key>, GraphQLID, GraphQLList, GraphQLBoolean, } from 'graphql'; import RecipientTypeEnum from './RecipientTypeEnum'; import MessageTypeEnum from './MessageTypeEnum'; import NoteInputType from './NoteInputType'; import <API key> from './<API key>'; import <API key> from './<API key>'; const Message...
require "rubygems" require 'active_support' require "ruby-debug" gem 'test-unit' require "test/unit" require 'active_support' require 'active_support/test_case' require 'shoulda' require 'rr' require File.dirname(__FILE__) + '/../lib/ubiquitously' Ubiquitously.configure("test/config/secrets.yml") Passport.configure("te...
{% macro scenario_tabs(selected,num,path, id) %} <div class="section-tabs js-tabs clearfix mb20"> <ul> {% set navs = [ {url:"timeline-review",label:"Timeline"}, {url:"details-fme",label:"Details"}, {url:"evidence-portal",label:"Evidence"}, {url:"appointment",label:"Appointmen...
#include <boost/lexical_cast.hpp> #include <disccord/models/user.hpp> namespace disccord { namespace models { user::user() : username(""), avatar(), email(), discriminator(0), bot(false), mfa_enabled(), verified() { } user::~user() { } void user::d...
package com.full360.voltdbscala import org.voltdb.client.ClientResponse /** * Exception thrown when the status of a client response if not success * @param message the detail message of this exception */ case class <API key>(message: String) extends Exception(message) object <API key> { def apply(clientResponse: C...
// UIView+WebCacheOperation.h // SKWebImage #import <UIKit/UIKit.h> #import "SKWebImageCompat.h" #import "SKWebImageManager.h" <API key> @interface UIView (WebCacheOperation) /** Set the image load operation (storage in a view based dictionary) @param operation <#operation description#> */ - (void)<API key>:(nulla...
#CSCI 211 - Lab 1 ##Introduction to Linux and the g++ Compiler ##Goals: * Overview: Linux organization * Introduce several basic Linux commands * Provide an example of creating, compiling, and running a c++ program * Set up all the directories for the course assignments * Provide practice creating, compiling, and runni...
// agreement provided at the time of installation or download, or which // otherwise accompanies this software in either electronic or hard copy form. // truetypetext.h - General-purpose TrueType functions // DESCRIPTION: // This header file contains declarations of general-purpose truetype text // functions prov...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using ASPPatterns.Chap7.Library.Services.Views; namespace ASPPatterns.Chap7.Library.Services.Messages { public class FindMembersResponse : ResponseBase { public IEnumerable<MemberView> MembersFound { get; set; } } ...
let _ = require('underscore'), React = require('react'); class Icon extends React.Component { render() { let className = "icon " + this.props.icon; let other = _.omit(this.props.icon, "icon"); return ( <span className={className} role="img" {...other}></span> ); }...
using System.IO; namespace Mandro.Utils.Setup { public class DirectoryHelper { public DirectoryHelper() { } public static void CopyDirectory(string sourceDirName, string destDirName, bool copySubDirs) { // Get the subdirectories for the specified directory. ...
import { NotificationType } from '<API key>' export enum Status { ok = 1, warn = 2, error = 3 } export interface StatusParams { state: Status } export const type = new NotificationType<StatusParams>('standard/status')
import React from 'react'; import IconBase from './../components/IconBase/IconBase'; export default class ChevronDown extends React.Component { render() { if(this.props.bare) { return <g> <path d="M256,298.3L256,298.3L256,298.3l174.2-167.2c4.3-4.2,11.4-4.1,15.8,0.2l30.6,29.9c4.4,4.3,4.5,11.3,0.2,15.5L26...
const <API key> = require('<API key>'); const HtmlWebpackPlugin = require('html-webpack-plugin'); const <API key> = require('react-dev-utils/<API key>'); const webpack = require('webpack'); const paths = require('./tools/paths'); const env = { 'process.env.NODE_ENV': JSON.stringify('development') }; module.exports ...
// This file is automatically generated. package adila.db; /* * Alcatel POP 2 (5) * * DEVICE: alto5 * MODEL: 7043K */ final class alto5_7043k { public static final String DATA = "Alcatel|POP 2 (5)|"; }
<?php namespace BackOfficeBundle\Entity; use Doctrine\ORM\EntityRepository; /** * <API key> * * This class was generated by the Doctrine ORM. Add your own custom * repository methods below. */ class <API key> extends EntityRepository { }
#ifndef DATABASE_H #define DATABASE_H #include <QtSql> #include <QDebug> class Database { public: Database(); ~Database(); QSqlQuery query(QString query_string); void close(); bool opened(); private: QSqlDatabase db; }; #endif // DATABASE_H
// snd_app // modification, are permitted provided that the following conditions are met: // documentation and/or other materials provided with the distribution. // * Neither the name of Knut Reinert or the FU Berlin nor the names of // its contributors may be used to en...
<?php /** * @file * Contains \Drupal\shortcut\<API key>. */ namespace Drupal\shortcut; use Drupal\Core\Entity\<API key>; use Drupal\shortcut\<API key>; /** * Defines a common interface for shortcut entity controller classes. */ interface <API key> extends <API key> { /** * Assigns a user to a particular short...
using System; using System.Collections.Generic; using System.Reactive.Linq; using System.Reactive.Threading.Tasks; using MS.Core; namespace System.Runtime.Remoting.Contexts { public static class __ContextAttribute { public static IObservable<System.Boolean> IsNewContextOK( this IObservable<S...
# -*- coding: utf-8 -*- # you should have received as part of this distribution. """Python library for serializing any arbitrary object graph into JSON. jsonpickle can take almost any Python object and turn the object into JSON. Additionally, it can reconstitute the object back into Python. The object must be accessibl...
require 'spec_helper' describe "beings/show" do before(:each) do @being = FactoryGirl.create(:being) @being.randomize! end end
import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.Set; class ProteinTranslator { private static final Integer CODON_LENGTH = 3; private static final Map<String, String> CODON_TO_PROTEIN = Map.ofEntries( Map.entry("AUG", "Methionine"), Map.entry("UUU"...
# -*- coding: utf-8 -*- import time, datetime from socket import gethostname, gethostbyname import os import numpy as np def main(): my_path = os.path.join('C:',os.sep,'Share','sync_clocks') os.chdir(my_path) # Initial timestamps t1 = time.clock() t2 = time.time() t3 = datetime.datetime.now() ...
# osx.cmake # Fips cmake settings file for OSX target platform. set(FIPS_PLATFORM OSX) set(FIPS_PLATFORM_NAME "osx") set(FIPS_MACOS 1) set(FIPS_OSX 1) set(FIPS_POSIX 1) set(<API key> 1) # define configuration types set(<API key> Debug Release) if (FIPS_OSX_UNIVERSAL) set(<API key> "arm64;x86_64") endif() # FI...
# maton Watch a machine's load and display it beautifully Even if this project is originally a technical test for an interview, I used it to try some tools that either I never had the chance to experiment with, or I wanted to know better. ## Tools NodeJS and express I never used them in a big project, only in small p...
using System; using System.Collections.Generic; using System.Linq; using Microsoft.Xna.Framework; namespace TrueSync.Physics2D { internal struct ShapeData { public Body Body; public FP Max; public FP Min; // absolute angles } <summary> This is a comprarer used for detecti...