answer
stringlengths
15
1.25M
namespace Microsoft.DocAsCode.DataContracts.Common { using System; using Newtonsoft.Json; using YamlDotNet.Serialization; using Microsoft.DocAsCode.Utility; [Serializable] public class SourceDetail { [YamlMember(Alias = "remote")] [JsonProperty("remote")] public GitDe...
export function JavapParser(input: any): this; export class JavapParser { constructor(input: any); _interp: any; ruleNames: string[]; literalNames: (string | null)[]; symbolicNames: (string | null)[]; constructor: typeof JavapParser; get atn(): any; compilationUnit(): <API key>; stat...
using System; using System.Collections.Generic; using NUnit.Framework; using sharpHDF.Library.Enums; using sharpHDF.Library.Exceptions; using sharpHDF.Library.Objects; namespace sharpHDF.Library.Tests.Objects { [TestFixture] public class Hdf5AttributeTests : BaseTest { [OneTimeSetUp] public ...
# Integration tests for rust_fuse The purpose of this crate is to provide a set of tests that will verify filesystems written with rust_fuse in action. To run it, you need to be capable of mounting arbitrary weird FUSE filesystems under temp directories.
SHELL = /bin/sh # V=0 quiet, V=1 verbose. other values don't work. V = 0 Q1 = $(V:1=) Q = $(Q1:0=@) ECHO1 = $(V:1=@ :) ECHO = $(ECHO1:0=@ echo) NULLCMD = : srcdir = . topdir = /usr/local/include/ruby-2.6.0 hdrdir = $(topdir) arch_hdrdir = /usr/local/include/ruby-2.6.0/x86_64-linux-musl PATH_SEPARATOR = : VPATH = $(src...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>najaxjs Tutorial: relaylinker | Ajax simple library</title> <!--[if lt IE 9]> <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> <![endif] <link type="text/css" rel="stylesheet" href="styles/sunlight.default...
using System.Security.Claims; using System.Threading.Tasks; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.EntityFramework; using Microsoft.AspNet.Identity.Owin; namespace UniversityStudents.Models { public class ApplicationUser : IdentityUser { public async Task<ClaimsIdentity> <API k...
const express = require('express'); const app = express(); const path = require('path'); const userCtrl = require('./userCtrl.js'); //extra middleware const bodyParser = require('body-parser'); app.use(bodyParser.urlencoded({extended: true}), bodyParser.json()); app.use(express.static(path.join(__dirname, '../../node_m...
package com.wjiec.learn.reordering; public class <API key> { private int number = 0; private boolean flag = false; public synchronized void write() { number = 1; flag = true; } public synchronized int read() { if (flag) { return number * number; } ...
layout: base <div class="body-container"> <!--[if lt IE 8]> <p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p> <![endif] <nav class="navbar navbar-light bg-faded"> <di...
<?php namespace Torchbox\Thankq\Api; class doContactInsert { /** * @var <API key> $<API key> */ protected $<API key> = null; /** * @param <API key> $<API key> */ public function __construct($<API key>) { $this-><API key> = $<API key>; } /** * @return <API key> ...
package eu.hgross.blaubot.android.views; import android.content.Context; import android.graphics.drawable.Drawable; import android.os.Handler; import android.os.Looper; import android.util.AttributeSet; import android.view.View; import android.widget.ImageView; import android.widget.LinearLayout; import android.widget....
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Td</title> <link href='http://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,700,300italic,400italic,700italic|Source+Code+Pro:300,400,700' rel='stylesheet' type='text/css'> <link rel="stylesheet" href="../assets/css/bootstrap.css"...
#!/usr/bin/env python # -*- coding: utf-8 -*- import zmq from zmq.eventloop import ioloop as ioloop_mod import zmqdecorators import time SERVICE_NAME = "urpobot.motor" SERVICE_PORT = 7575 SIGNALS_PORT = 7576 # How long to wait for new commands before stopping automatically COMMAND_GRACE_TIME = 0.250 class motorserver(z...
from rest_framework import serializers from . import models class Invoice(serializers.ModelSerializer): class Meta: model = models.Invoice fields = ( 'id', 'name', 'additional_infos', 'owner', 'creation_date', 'update_date', )
<footer class="site-footer"> <div class="wrapper"> <h2 class="footer-heading small-site-title">{{ site.title }}</h2> <div class="footer-col-wrapper"> <div class="footer-col footer-col-1"> <ul class="contact-list footer-content"> <li>Powered By <a href="http://github.com/hemangsk/Gravit...
using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics; namespace Izzo.Collections.Immutable { [DebuggerDisplay( "Count = {Count}" )] public sealed partial class ImmutableList<T> : IImmutableList<T> { public static readonly ImmutableList<T> Empty = new Imm...
#!/usr/bin/env bash CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" SESSION_NAME="$1" source "$CURRENT_DIR/helpers.sh" <API key>() { tmux send-keys C-c } <API key>() { [ -z "$SESSION_NAME" ] } main() { if <API key>; then <API key> exit 0 fi if session_exists; then ...
<?php return array ( 'version' => '6546', 'numberSymbols' => array ( 'alias' => '', 'decimal' => '.', 'group' => ',', 'list' => ';', 'percentSign' => '%', 'plusSign' => '+', 'minusSign' => '-', 'exponential' => 'E', 'perMille' => '‰', 'infinity' => '∞', 'nan' => 'NaN', ...
class Users::SessionsController < Devise::SessionsController layout :layout def presign end def layout if params[:no_layout].present? return false else return 'user' end end end
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>fcsl-pcm: Not compatible </title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css"...
exports.find = function(options) { options || (options = {}); options.param || (options.param = 'query'); options.parse || (options.parse = JSON.parse); return function(req, res, next) { var query = req.query[options.param]; var conditions = query ? options.parse(query) : {}; req...
// of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // copies of the Software, and to permit persons to whom the Software is // furnished to do so, subject to the following conditions: // copies or substantial p...
.typeahead-container { width: 240px; position: relative; margin-top: 10px; margin-left: 10px; } .typeahead-container.show .dropdown-menu { display: block; } .dropdown-menu { display: none; }
Simple implementation of Pi calculation Calculates Pi by the infinite series: 4 * Pi = 1 - 1/3 + 1/5 - 1/7 + ... For simplicity of implementation, I have converted this to the equivalent formulation: Pi = 4 - 4/3 + 4/5 - 4/7 + ... The code algorithm is implemented in iterative style. While it is possible to implem...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>coqoban: Not compatible </title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" ...
package fi.helsinki.cs.okkopa.main.stage; import fi.helsinki.cs.okkopa.mail.read.EmailRead; import fi.helsinki.cs.okkopa.main.ExceptionLogger; import java.io.IOException; import java.io.InputStream; import java.util.List; import javax.mail.Message; import javax.mail.MessagingException; import org.apache.commons.io.IOUt...
<!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 */...
import codecs unicode_string = "Hello Python 3 String" bytes_object = b"Hello Python 3 Bytes" print(unicode_string, type(unicode_string)) print(bytes_object, type(bytes_object)) #decode to unicode_string ux = str(object=bytes_object, encoding="utf-8", errors="strict") print(ux, type(ux)) ux = bytes_object.decode(encodi...
package simple.practice; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; import simple.practice.service.GreetingService; @Component public class Greeting { @Autowired private GreetingService greetingService; public String printGreeting(String n...
# Source Generated with Decompyle++ # File: session_recording.pyc (Python 2.5) from __future__ import absolute_import from pushbase.<API key> import <API key> class <API key>(<API key>): def __init__(self, *a, **k): super(<API key>, self).__init__(*a, **a) self.<API key>(not (self._record_button.is_...
# Generated by Django 2.1 on 2018-08-26 00:54 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('<API key>', '0001_initial'), ] operations = [ migrations.AlterField( model_name='book', name='cover', field=mod...
\begin{figure}[H] \centering \includegraphics[width=6in]{figs/run_29/<API key>} \caption{Scatter plot of turbulent kinetic energy vs radius at $z/c$=7.75, $V_{free}$=31.26, station3} \label{fig:<API key>} \end{figure}
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Microsoft.Extensions.FilePro...
require 'active_service/model/attributes/nested_attributes' require 'active_service/model/attributes/attribute_map' require 'active_service/model/attributes/serializer' module ActiveService module Model # This module handles attribute methods not provided by ActiveAttr module Attributes extend ActiveSup...
require 'corelib/numeric' require 'corelib/rational/base' class ::Rational < ::Numeric def self.reduce(num, den) num = num.to_i den = den.to_i if den == 0 ::Kernel.raise ::ZeroDivisionError, 'divided by 0' elsif den < 0 num = -num den = -den elsif den == 1 return new(num, d...
using System; using System.Collections.Generic; using System.Text; using System.Diagnostics; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Input; using Anarian.Interfaces; using Anarian.Events; namespace Anarian.DataStructures.Input { public class Controller : IUpdatable { PlayerIndex m_p...
package api2go import ( "context" "time" ) // <API key> to allow custom context implementations type <API key> func(*API) APIContexter // APIContexter embedding context.Context and requesting two helper functions type APIContexter interface { context.Context Set(key string, value interface{}) Get(ke...
body { background-color: #151515; color: #999; } a { text-decoration: none; color: #4db8ff; } #wrapper { max-width: 940px; margin: 0 auto; padding: 0 5%; } img { max-width: 100%; } h3{ margin: 0 0 1em 0; } header { font-family: 'Courgette', cursive; background: #009688; float: left; margin: 0 ...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>fcsl-pcm: Not compatible </title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css"...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>relation-algebra: 4 m 10 s</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css...
<!-- HTML header for doxygen 1.8.6--> <!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.12"/> <title>OpenCV: Member List</title> <link href="../../opencv....
@import url(http://fonts.googleapis.com/css?family=Fira+Sans:300,400,500,700|Rochester|Roboto:400,300,700); html, body { height: 100%; width: 100%; margin: 0; padding: 0; } body { font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; font-weight: 300; line-height: 1.6; ...
// <API key>.h // <API key> #import <Foundation/Foundation.h> #import "<API key>.h" @interface <API key> : NSObject @property (nonatomic, assign, readonly) ISURLResponseStatus status; @property (nonatomic, copy, readonly) NSString *contentString; @property (nonatomic, readonly) id content; @property (nonatomic, assig...
// This file auto generated by plugin for ida pro. Generated code only for x64. Please, dont change manually #pragma once #include <common/common.h> START_ATF_NAMESPACE typedef int (WINAPIV *<API key>)(_SYMBOL_INFO *, unsigned int, void *); END_ATF_NAMESPACE
package uk.co.sftrabbit.stackanswers.fragment; import android.app.Fragment; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import uk.co.sftrabbit.stackanswers.R; public class AuthInfoFragment extends Fragment { public AuthInfoFragment() { ...
# Entity Framwork Guidelines Entity Framework (EF) is the recommended ORM to use these days. There are other options, but most documentation (read: stackoverflow posts) use EF. In EF, you make C# objects to represent your table, use special attributes or naming conventions to tell the EF database generator what tables ...
<!DOCTYPE html> <!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]--> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>bartpy.node &mdash; BartPy 0.0.1 documentation</titl...
<?php namespace moonland\phpexcel; use yii\helpers\ArrayHelper; use yii\base\<API key>; use yii\base\<API key>; use yii\i18n\Formatter; use PhpOffice\PhpSpreadsheet\Spreadsheet; class Excel extends \yii\base\Widget { // Border style const BORDER_NONE = 'none'; const BORDER_DASHDOT = 'dashDot'; const BOR...
module Text class Sorter def self.sort(text_components) components = text_components.clone components = components.shuffle nil_priorities, components = components.partition {|c| c.priority.nil? } components = components.sort_by(&:priority_index) components = components.reverse ...
<?php require_once('../../global_functions.php'); require_once('../../connections/parameters.php'); try { if (!isset($_SESSION)) { session_start(); } $s2_response = array(); $db = new dbWrapper_v3($hostname_gds_site, $username_gds_site, $password_gds_site, $database_gds_site, true); if (empt...
module Prawn module Charts class Bar < Base attr_accessor :ratio def initialize pdf, opts = {} super pdf, opts @ratio = opts[:ratio] || 0.75 end def plot_values return if series.nil? series.each_with_index do |bar,index| point_x = first_x_point ind...
<!DOCTYPE html> <html lang="zh-cn"> <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 name="twitter:card" content="summary" /> <meta name="twitter:creator" content="@"/...
<!DOCTYPE html> <!--[if lt IE 9]><html class="no-js lt-ie9" lang="en" dir="ltr"><![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang="en" dir="ltr"> <!--<![endif]--> <!-- Usage: /eic/site/ccc-rec.nsf/tpl-eng/template-1col.html?Open&id=3 (optional: ?Open&page=filename.html&id=x) --> <!-- Created: ; Product Code...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>paco: 3 m 36 s </title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" rel="styl...
package com.swfarm.biz.product.dao.impl; import com.swfarm.biz.product.bo.SkuSaleMapping; import com.swfarm.biz.product.dao.SkuSaleMappingDao; import com.swfarm.pub.framework.dao.<API key>; public class <API key> extends <API key><SkuSaleMapping, Long> implements SkuSaleMappingDao { public <API key>(Class<SkuSaleMa...
<?php namespace AppBundle\Form; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\<API key>; class ProfileFormType extends AbstractType { public function buildForm(<API key> $builder, array $options) { $builder->add('name'); } public function getParent() { return 'F...
using Nethereum.Generators.Model; using Nethereum.Generators.Net; namespace Nethereum.Generator.Console.Models { public class ContractDefinition { public string ContractName { get; set; } public ContractABI Abi { get; set; } public string Bytecode { get; set; } public ContractDef...
'use strict'; module.exports = require('./toPairsIn'); //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2NsaWVudC9saWIvbG9kYXNoL2VudHJpZXNJbi5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLE9BQU8sT0FBUCxHQUFpQixRQUFRLGFBQVIsQ0FBakIiLCJmaWxlIjoiZW50cmllc0luLmpzIiwic291cmNlc0N...
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN # THE SOFTW...
package com.manniwood.cl4pg.v1.test.types; import com.manniwood.cl4pg.v1.datasourceadapters.DataSourceAdapter; import com.manniwood.cl4pg.v1.PgSession; import com.manniwood.cl4pg.v1.datasourceadapters.<API key>; import com.manniwood.cl4pg.v1.commands.DDL; import com.manniwood.cl4pg.v1.commands.Insert; import com.manniw...
package com.fqc.jdk8; import java.util.ArrayList; import java.util.Arrays; import java.util.Map; import java.util.Set; import java.util.stream.Collectors; public class test06 { public static void main(String[] args) { int[] arr = {1, 2, 3, 4, 5}; ArrayList<Integer> list = Arrays.stream(arr).collect(...
# gofmt package An [Atom](http://atom.io) package for running `gofmt` on your buffer. Hit Ctrl-Alt-G to run it on the current file, or use command `gofmt:gofmt`, or remap to whatever keybinding you like. TODO: * Error highlighting * Flexible configuration Copyright 2014 Christopher Swenson. Licensed under the MIT Licen...
USE [ANTERO] GO DROP VIEW IF EXISTS [dw].[<API key>] GO SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE VIEW [dw].[<API key>] AS SELECT -- AIKAMUUTTUJAT [Tilastovuosi] ,[Tilastokuukausi] = d14.kuukausi_fi ,[pv_kk] = DAY(EOMONTH(d14.paivays)) ,opiskelijat_netto = opiskelijat ,[Sukupuoli] ...
var chalk = require('chalk'); var safeStringify = require('fast-safe-stringify') function handleErrorObject(key, value) { if (value instanceof Error) { return Object.getOwnPropertyNames(value).reduce(function(error, key) { error[key] = value[key] return error }, {}) } return value } function s...
#pragma once #include "toolscollector.h" #include "widgetsettings.h" #include "toolbase.h" namespace Engine { namespace Tools { struct GuiEditor : public Tool<GuiEditor> { SERIALIZABLEUNIT(GuiEditor); GuiEditor(ImRoot &root); virtual Threading::Task<bool> init() override; virtual voi...
<?php if (isset($consumers) && is_array($consumers)){ ?> <?php $this->load->helper('security'); ?> <tbody> <?php foreach($consumers as $consumer){ ?> <tr> <td> <a data-toggle="modal" data-target="#dynamicModal" href="<?php echo site_url("consumers/edit/$consumer->id");?>"><span c...
package rholang.parsing.delimc.Absyn; // Java Package generated by the BNF Converter. public class TType2 extends TType { public final Type type_1, type_2; public TType2(Type p1, Type p2) { type_1 = p1; type_2 = p2; } public <R,A> R accept(rholang.parsing.delimc.Absyn.TType.Visitor<R,A> v, A arg) { return v.visit...
require 'rubygems' require 'test/unit' require 'shoulda' $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) $LOAD_PATH.unshift(File.dirname(__FILE__)) require 'sinatra' require 'sinatra/path' class Test::Unit::TestCase end
"use strict" const <API key> = require(`./<API key>`) const colorDepth = require(`./colorDepth`) module.exports = ({palette, images}) => { const converter = <API key>({ tileWidth: 7, tileHeight: 9, columns: 19, tileCount: 95, raw32bitData: colorDepth.convert8to32({palette, raw8bitData: images}), ...
import * as EventLogger from './' const log = new EventLogger() log.info('Basic information') log.information('Basic information') log.warning('Watch out!') log.warn('Watch out!') log.error('Something went wrong.') log.auditFailure('Audit Failure') log.auditSuccess('Audit Success') // Configurations new EventLogger('Fo...
# cactuscon2015 Badge design for CactusCon 2015
<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http: <html xmlns="http: <head> <title>Class: HTML::Sanitizer</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <meta http-equiv="Content-Script-Type" content="tex...
# -*- coding: utf-8 -*- """urls.py: messages extends""" from django.conf.urls import url from messages_extends.views import <API key>, message_mark_read urlpatterns = [ url(r'^mark_read/(?P<message_id>\d+)/$', message_mark_read, name='message_mark_read'), url(r'^mark_read/all/$', <API key>, name='<API key>'), ]
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ $(document).ready(function(){ var oldAction = $('#comment-form').attr("action"); hljs.<API key>(); $('#coolness div').hover(function(){ $('#coolness .second').fadeOut(500); }, function(){ ...
#include "Sound.h" #include <Windows.h> #include "DigitalGraffiti.h" Sound::Sound(void) { // Find music and sound files std::string exeDir = DigitalGraffiti::getExeDirectory(); DigitalGraffiti::getFileList(exeDir + "\\sound\\instructions\\*", <API key>); DigitalGraffiti::getFileList(exeDir + "\\sound\\c...
using System.Collections.ObjectModel; using AppStudio.Common; using AppStudio.Common.Navigation; using Windows.UI.Xaml; namespace WindowsAppStudio.Navigation { public abstract class NavigationNode : ObservableBase { private bool _isSelected; public string Title { get; set; } public strin...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>canon-bdds: Not compatible </title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.cs...
# AndSpecification(*T*) Constructor Additional header content Initializes a new instance of the <a href="<API key>">AndSpecification(T)</a> class **Namespace:**&nbsp;<a href="<API key>">iTin.Export.ComponentModel.Patterns</a><br />**Assembly:**&nbsp;iTin.Export.Core (in iTin.Export.Core.dll) Version: 2.0.0.0 (2.0.0.0) ...
// 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 <CRecallRequest.hpp> START_ATF_NAMESPACE namespace Info { using <API key> = void (WINAPIV*)(struct CRecallRequest*, uint16_t); using <API ...
class <API key> < <API key> before_action :<API key>, only: [:show, :edit, :update, :destroy] # GET /<API key> # GET /<API key>.json def index @<API key> = <API key>.all end # GET /<API key>/1 # GET /<API key>/1.json def show end # GET /<API key>/new def new @<API key> = <API key>.new en...
using System.Net.Sockets; namespace VidereLib.EventArgs { <summary> EventArgs for the OnClientConnected event. </summary> public class <API key> : System.EventArgs { <summary> The connected client. </summary> public TcpClient Client { private set; get; } <summ...
require 'rubygems' require 'net/dns' module Reedland module Command class Host def self.run(address) regular = Net::DNS::Resolver.start address.join(" ") mx = Net::DNS::Resolver.new.search(address.join(" "), Net::DNS::MX) return "#{regular}\n#{mx}"...
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8"> <title>onSupportNavigateUp</title> </head><body><link href="../../../images/logo-icon.svg" rel="icon" type="image/svg"><script>var pathToRoot = "../../../";</script> <script type="text/javascript" src="../.....
# Set up gems listed in the Gemfile. ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__) require 'bundler/setup' if File.exists?(ENV['BUNDLE_GEMFILE']) # Require gems we care about require 'rubygems' require 'uri' require 'pathname' require 'pg' require 'active_record' require 'logger' require 'sinatr...
#!/bin/bash STEP=$1 TEST=$2 case "$STEP" in install) echo "Installing..." if [ -d vendor ]; then chmod 777 -R vendor rm -r vendor fi COMPOSER=dev.json composer install ;; script) echo "Run tests..."; if [ ! -d vendor ]; then ...
(function(Object) { Object.Model.Background = Object.Model.PresentationObject.extend({ "initialize" : function() { Object.Model.PresentationObject.prototype.initialize.call(this); } },{ "type" : "Background", "attributes" : _.defaults({ "skybox" : { ...
<div class="mini-graph clearfix"> <div class="nav"><nav><a class="breadcrumb" href="/">Offices</a> > <span>{{office}}</span></nav></div> <h3>NYC Campaign Contributions: {{office}}</h3> <hr> <ul> <li ng-click="byTotal($event)" class="chart-option active-option">Total Funds</li> <li ng-cli...
<?php namespace HsBundle; use HsBundle\DependencyInjection\Compiler\ReportsCompilerPass; use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\HttpKernel\Bundle\Bundle; class HsBundle extends Bundle { public function build(ContainerBuilder $container) { parent::build($contain...
<!DOCTYPE html> <head> <meta charset="utf-8"> <link href="../style/campfire.css" rel="stylesheet"> <link href="../style/bootstrap/css/bootstrap.min.css" rel="stylesheet"> </head> <body> <div class="chart" id="wall"></div> </body> <script src="../script/campfire-wall.js" charset="utf-8"></script> </html>
import './Modal.scss' import pugTpl from './Modal.pug' import mixin from '../../mixin' import alert from '@vue2do/component/module/Modal/alert' import confirm from '@vue2do/component/module/Modal/confirm' export default { name: 'PageCompModal', template: pugTpl(), mixins: [mixin], data() { return { te...
package com.igonics.transformers.simple; import java.io.PrintStream; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.Statement; import org.apache.commons.cli.CommandLine; import org.apache.commons.cli.DefaultParser; import org.apache.commons.cli.HelpFormatter; impor...
package org.jdivisitor.debugger.launcher; import java.net.InetSocketAddress; import java.util.List; import java.util.Map; import org.apache.commons.lang3.Validate; import com.sun.jdi.Bootstrap; import com.sun.jdi.VirtualMachine; import com.sun.jdi.connect.AttachingConnector; import com.sun.jdi.connect.Connector; /** *...
# of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # copies of the Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: # all copies or substantial po...
<div> <h1 class="page-header"></h1> <form class="form-horizontal" name="project" role="form"> <div class="form-group"> <label for="projectName" class="col-sm-2 control-label"></label> <div class="col-sm-5"> <select class="form-control" ng-model="projectName" name="projectName" id="projectNam...
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace cShART { public class ARTFlystick : ARTObject { private bool visible; private int numberOfButtons; private int numberOfControllers; ...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <title>PruneCluster - Realworld 50k</title> <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, target-densitydpi=device-dpi" /> <link rel="stylesheet" href="https://cdnjs...
using System; using System.Text.RegularExpressions; namespace _07_Hideout { class Hideout { static void Main() { string input = Console.ReadLine(); while (true) { string[] parameters = Console.ReadLine().Split(); string key = Re...
using System.ComponentModel.DataAnnotations; namespace JezekT.AspNetCore.IdentityServer4.WebApp.Models.<API key> { public class <API key> { [Display(Name = "Email", ResourceType = typeof(Resources.Models.<API key>.<API key>))] public string Email { get; set; } } }
require "rails_helper" describe "announcements/<API key>" do it "renders nothing when announcements are not visible" do allow(view).to receive(:<API key>?).and_return(false) render expect(rendered).to eq "" end it "renders the announcement when announcements are visible" do announcement = create :...