answer
stringlengths
15
1.25M
"use strict"; var i = 180; function count(){ if(i <= 0){ document.getElementById("output").innerHTML = "!"; }else{ document.getElementById("output").innerHTML = i + "s"; } i -= 1; } window.onload = function(){ setInterval("count()", 1000); };
class IE @private def ie_config @client = Selenium::WebDriver::Remote::Http::Default.new @client.read_timeout = 120 @caps = Selenium::WebDriver::Remote::Capabilities.ie('ie.ensureCleanSession' => true, :javascript_enabled => true, ...
#include <fstream> #include <iostream> #include <vector> int main(int argc, char **argv) { std::vector<std::string> args(argv, argv + argc); std::ofstream tty; tty.open("/dev/tty"); if (args.size() <= 1 || (args.size() & 2) == 1) { std::cerr << "usage: maplabel [devlocal remote]... remotedir\n"; return ...
package com.catsprogrammer.catsfourthv; public class MatrixCalculator { public static float[] <API key>(float[] o) { float[] xM = new float[9]; float[] yM = new float[9]; float[] zM = new float[9]; float sinX = (float) Math.sin(o[1]); float cosX = (float) Math.cos(o[1]); ...
import { browser, by, element } from 'protractor'; export class Angular2Page { navigateTo() { return browser.get('/'); } getParagraphText() { return element(by.css('app-root h1')).getText(); } }
<!-- START LEFT SIDEBAR NAV--> <?php $role = ""; switch($this->session->userdata('ROLE_ID')){ case 1: $role = "Administrator"; break; case 2: $role = "Adopting Parent"; break; case 3: $role = "Biological Parent/Guardian"; break; } ?> <aside id="left-sideba...
package es.sandbox.ui.messages.argument; import es.sandbox.ui.messages.resolver.MessageResolver; import es.sandbox.ui.messages.resolver.Resolvable; import java.util.ArrayList; import java.util.List; class LinkArgument implements Link, Resolvable { private static final String LINK_FORMAT = "<a href=\"%s\" title=\"%s...
# -*- coding: utf-8 -*- from __future__ import unicode_literals import os, sys import tempfile from winsys._compat import unittest import uuid import win32file from winsys.tests.test_fs import utils from winsys import fs class TestFS (unittest.TestCase): filenames = ["%d" % i for i in range (5)] def setUp (self): ...
module <API key> def bad_html '<html><title>the title<title></head><body><p>blah blah</body></html>' end def good_html html_5_doctype + '<html><title>the title</title></head><body><p>a paragraph</p></body></html>' end def dtd '<!DOCTYPE html PUBLIC "- end def html_5_doctype '<!DOCTYPE html...
using System.Xml.Serialization; namespace ImgLab { [XmlRoot("source")] public sealed class Source { [XmlElement("database")] public string Database { get; set; } } }
package fr.adrienbrault.idea.symfony2plugin.tests; import fr.adrienbrault.idea.symfony2plugin.ServiceMap; import fr.adrienbrault.idea.symfony2plugin.ServiceMapParser; import org.junit.Test; import org.junit.Assert; import java.io.<API key>; import java.util.Map; /** * @author Adrien Brault <adrien.brault@gmail.com> *...
ENV['RAILS_ENV'] ||= 'test' require File.expand_path('../../config/environment', __FILE__) require 'rails/test_help' require 'minitest/reporters' Minitest::Reporters.use! class ActiveSupport::TestCase
#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 main () { int n; while(scanf("%d", &n) && n) { bitset<32> bs,a,b; bs = n; int cont = 0; for(int i = 0; i < 32; i++) { if(bs.test(i)) { if(co...
#ifndef BARBERPOLE_H #define BARBERPOLE_H #include "iLampAnimation.h" #include "Lamp.h" class BarberPole : public iLampAnimation { public: BarberPole(Lamp* lamp); int itterate(); void reset(); protected: int cur_led = 0; int offset = 0; uint8_t hue = 0; uint8_t fps = 60; private: }; #e...
describe Certificate do it { is_expected.to have_property :id } it { is_expected.to have_property :identifier } it { is_expected.to have_property :image_key } it { is_expected.to have_property :certificate_key } it { is_expected.to have_property :created_at } it { is_expected.to belong_to :delivery } it {...
<?php namespace OpenRailData\NetworkRail\Services\Stomp\Topics\Rtppm\Entities\Performance; /** * Class Performance * * @package OpenRailData\NetworkRail\Services\Stomp\Topics\Rtppm\Entities\Performance */ class Performance { /** * @var int */ private $totalCount; /** * @var int */ ...
package gitnotify import ( "errors" "fmt" "html/template" "net/http" "os" "sort" "github.com/gorilla/mux" "github.com/markbates/goth" "github.com/markbates/goth/gothic" "github.com/markbates/goth/providers/github" "github.com/markbates/goth/providers/gitlab" "github.com/s...
import numpy as np import matplotlib.pylab as plt from numba import cuda, uint8, int32, uint32, jit from timeit import default_timer as timer @cuda.jit('void(uint8[:], int32, int32[:], int32[:])') def lbp_kernel(input, neighborhood, powers, h): i = cuda.grid(1) r = 0 if i < input.shape[0] - 2 * neighborhood...
package me.F_o_F_1092.WeatherVote.PluginManager.Spigot; import java.util.ArrayList; import java.util.List; import org.bukkit.command.CommandSender; import org.bukkit.entity.Player; import me.F_o_F_1092.WeatherVote.Options; import me.F_o_F_1092.WeatherVote.PluginManager.Command; import me.F_o_F_1092.WeatherVote.PluginMa...
namespace _05_SlicingFile { using System; using System.Collections.Generic; using System.IO; class StartUp { static void Main() { var sourceFile = @"D:\SoftUni\05-Csharp Advanced\08-EXERCISE STREAMS\Resources\sliceMe.mp4"; var <API key> = @"D:\SoftUni\05-Cshar...
#pragma once #include "SYCL/detail/common.h" namespace cl { namespace sycl { namespace detail { using counter_t = unsigned int; template <class T, counter_t start = 0> class counter { private: static counter_t internal_count; counter_t counter_id; public: counter() : counter_id(internal_count++) {} counter(co...
<!-- INCLUDE ucp_header.html --> <!-- IF not PROMPT --> <!-- INCLUDE <API key>.html --> <!-- ENDIF --> <!-- IF PROMPT --> <h2>{L_EXPORT_AS_CSV}</h2> <form id="viewfolder" method="post" action="{S_PM_ACTION}"> <div class="panel"> <div class="inner"><span class="corners-top"><span></span></span> ...
define(['omega/entity', 'omega/core'], function (e, o) { 'use strict'; var triggerKey = function (action, e) { o.trigger(action, { keyCode: e.keyCode, shiftKey: e.shiftKey, ctrlKey: e.ctrlKey, altKey: e.altKey }); }; window.onkeydown = fu...
package zeonClient.mods; import java.util.Iterator; import org.lwjgl.input.Keyboard; import net.minecraft.client.entity.EntityOtherPlayerMP; import net.minecraft.client.entity.EntityPlayerSP; import net.minecraft.entity.Entity; import net.minecraft.entity.EntityLivingBase; import net.minecraft.entity.player.EntityPlaye...
package com.github.lunatrius.schematica.client.gui; import net.minecraft.client.Minecraft; import net.minecraft.client.gui.GuiSlot; import net.minecraft.client.renderer.Tessellator; import net.minecraft.client.resources.I18n; import net.minecraft.item.ItemStack; class <API key> extends GuiSlot { private final Minec...
package li.cryx.minecraft.death; import java.util.logging.Logger; import li.cryx.minecraft.death.i18n.ITranslator; import li.cryx.minecraft.death.persist.<API key>; import org.bukkit.Location; import org.bukkit.Material; import org.bukkit.entity.Player; public interface ISpiritHealer { void addAltarLocation(Locatio...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /** * A CodeIgniter library that wraps \Firebase\JWT\JWT methods. */ class Jwt { function __construct() { // TODO: Is this the best way to do this? (Issue #4 at psignoret/aad-sso-codeigniter.) require_once(APPPATH . 'librari...
layout: post title: 100 Plus date: 2013-07-13 20:23 author: admin comments: true Hey,  I just noticed that this is my 102nd entry here on Tidy Husband. I've written over 100 articles here - An anniversary of sorts and when you think about it, it only took me about a year. I've written 55,000 words here. That's a novel'...
$(window).on('load', function() {//main const dom = {//define inputs tswitch: $("#wave-switch input"), aSlider: $("input#angle"),//angle slider nSlider: $("input#<API key>"), }; let layout = {//define layout of pot showlegend: false, scene: { ...
// EX.1 - READ A TEXT FILE CHAR BY CHAR #include <stdio.h> #include <stdlib.h> #include <string.h> int main() { FILE *bin; //declare a file pointer variable FILE *numfile; char s[20] = "1234"; int ch; int i; char line[50]; numfile = fopen("numbers.txt","r"); bin = fopen("numbers.txt","...
<html> <head> <title></title> <meta http-equiv="content-type" content="text/html; charset=utf-8"/> <meta http-equiv="imagetoolbar" content="no"/> <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/> <meta name="<API key>" content="yes"/> <meta name="<API key>"...
#include "types.h" #include "defs.h" #include "param.h" #include "memlayout.h" #include "mmu.h" #include "proc.h" #include "arm.h" #include "syscall.h" // User code makes a system call with INT T_SYSCALL. // System call number in %eax. // Arguments on the stack, from the user call to the C // library system call functi...
// Package <API key> implements the Azure ARM <API key> service API version 2019-06-01. // These APIs allow end users to operate on Azure Machine Learning Workspace resources. package <API key> // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the co...
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <base data-ice="baseUrl" href="../../../"> <title data-ice="title">CondaExecutable | API Document</title> <link type="text/css" rel="stylesheet" href="css/style.css"> <link type="text/css" rel="stylesheet" href="css/prettify-tomorrow.css"> <script src="sc...
<?php namespace App\Http\Controllers; use App\Http\Controllers\Controller; use Illuminate\Http\Request; use Illuminate\Foundation\Auth\AuthenticatesUsers; class <API key> extends Controller { use AuthenticatesUsers; /** * Where to redirect users after login / registration. * * @var string */...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>XPEDYTOR</title> <meta name="author" content="lajmahal"/> <meta name="description" content="The Xpedytor App"/> <meta name="keywords" content="xpedytor"/> <link rel="stylesheet" href="../../js/lib/bootstrap/dist/css/bootstrap....
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _ Partial Class LogoutBox Inherits System.Windows.Forms.Form 'Form overrides dispose to clean up the component list. <System.Diagnostics.DebuggerNonUserCode()> _ Protected Overrides Sub Dispose(ByVal disposing As Boolean) Try ...
tags: post title: The utility module antipattern description: Why naming a module or file utils is a bad idea and how to fix that problem. date: 2020-05-20 published: true featuredImage: "./www/posts/utils-antipattern/banner.jpg" featuredImageAlt: Messy toolbox thumbnailImage: "./thumbnail.jpg" thumbnailImageAlt: Mes...
package pixlepix.auracascade.data; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.item.ItemStack; public class Quest { //TODO QUEST public static int nextId; public final ItemStack target; public final ItemStack result; public final int id; public String string; public...
<?php namespace Itkg\Core\Cache\Adapter; use Itkg\Core\Cache\AdapterInterface; use Itkg\Core\CacheableInterface; /** * Class Persistent * * Store cache in specific adapter & keep in memory (with array storage) * * @package Itkg\Core\Cache\Adapter */ class Persistent extends Registry { /** * @var \Itkg\Co...
#include "splashscreen.h" #include "clientversion.h" #include "util.h" #include <QPainter> #undef loop /* ugh, remove this when the #define loop is gone from util.h */ #include <QApplication> SplashScreen::SplashScreen(const QPixmap &pixmap, Qt::WindowFlags f) : QSplashScreen(pixmap, f) { // set reference point...
<?php namespace Oro\Bundle\NoteBundle\Controller; use FOS\RestBundle\Util\Codes; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Symfony\Bundle\FrameworkBundle\Routing\Router; use Symfony\Component\HttpFoundation\Response; use Sensio\Bundle\<API key>\Configuration\Route; use Sensio\Bundle\<API key>\Config...
'use strict'; memoryApp.controller('AuthCtrl', function ($scope, $location, AuthService) { $scope.register = function () { var username = $scope.registerUsername; var password = $scope.registerPassword; if (username && password) { AuthService.register(username, password).then( function () { ...
package mah.ui.util; import mah.ui.key.KeystateManager; import mah.ui.layout.Layout; import mah.ui.pane.input.InputPane; import mah.ui.pane.input.InputPaneProvider; import mah.ui.window.WindowManager; import org.jetbrains.annotations.Nullable; public final class UiUtils { private UiUtils(){} public static void ...
<html> <head> <title> Why we oppose the FTAA </title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <?php include "../../legacy-includes/Script.htmlf" ?> </head> <body bgcolor="#FFFFCC" text="000000" link="990000" vlink="660000" alink="003366" leftmargin="0" topmargin="0"> <table width="744" ...
<html> <head> <title>User agent detail - Mozilla/5.0 (Linux; U; Android 4.2.1; en-us; Q600 Build/JOP40D) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.3/css/materialize.min.css"> <link href...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <title>User agent detail - LG-G922 Obigo/WAP2.0 MIDP-2.0/CLDC-1.1</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.3/css/materialize.min.css"> <link href="https://fonts.googleapis.com/icon?family...
category: travel type: post 40 ![](http://ww1.sinaimg.cn/large/<API key>.jpg) ![](http://ww1.sinaimg.cn/large/<API key>.jpg) ![](http://ww1.sinaimg.cn/large/<API key>.jpg) ![](http://ww1.sinaimg.cn/large/<API key>.jpg) 11.9 10 30 ![](http://ww1.sinaimg.cn/large/<API key>.jpg) ![](http://ww1.sinaimg.cn/large/<API key...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="nb" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About RupayaCoin</source> <translation>Om RupayaCoin</translation> </m...
require File.expand_path('../helper', __FILE__) class BeforeFilterTest < Test::Unit::TestCase it "executes filters in the order defined" do count = 0 mock_app do get('/') { 'Hello World' } before do assert_equal 0, count count = 1 end before do assert_equal 1, c...
// SPFastPush.h // e-mail:83118274@qq.com //If you think this open source library is of great help to you, please open the URL to click the Star,your approbation can encourage me, the author will publish the better open source library for guys again //URL #import <UIKit/UIKit.h> /** Using the macro definition quickl...
<?php namespace IdeaSeven\Core\Services\Menu; use IdeaSeven\Core\Exceptions\<API key>; use IdeaSeven\Core\Helpers\Strings; use IdeaSeven\Core\Services\Lang\Contracts\LanguagesContract; /** * Class PermalinkCreator * @package IdeaSeven\Core\Services\Menu */ class PermalinkCreator { /** * @var array */ ...
<?php /* TwigBundle:Exception:exception_full.html.twig */ class <API key> extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = $this->env->loadTemplate("TwigBundle::layout.html.twig"); $this->blocks = array( '...
<?php namespace CBSi\ProductBundle\Controller; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use CBSi\ProductBundle\Model\Product; use CBSi\ProductBundle\ApiClient; class DefaultController extends Controller { public function indexAction($name) { return $this->render('CBSiProductBundle:Defau...
<!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 v4.1.2: Class Members - Functions</title> <link href="t...
<!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 io.js v1.6.2: Member List</title> <link href="tabs.css" rel="st...
<!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...
export const PlusCircle = ` <svg viewBox="0 0 28 28"> <g fill="none" fill-rule="evenodd"> <path d="M8 14h12" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/> <circle stroke="currentColor" cx="14" cy="14" r="13"/> <path d="M14 8v12" stroke="currentColor" stroke-linecap="round" stroke-...
<?php /* * Description of <API key> * * This is a controller loading the bibliography. It does not support any user input */ namespace PNM\controllers; class <API key> { public function load() { $bibliography = new \PNM\models\bibliography(); $view = new \PNM\views\bibliographyView(); ...
package com.missingeye.pixelpainter.events.network.texture; import com.missingeye.pixelpainter.common.PixelMetadata; import net.minecraft.util.ResourceLocation; public class <API key> extends <API key> { public <API key>(ResourceLocation resourceLocation, PixelMetadata[] pixelMetadata) { super(resourceL...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Routing; namespace QSDStudy { public class RouteConfig { public static void RegisterRoutes(RouteCollection routes) { routes.IgnoreRoute("{resource}.axd/{*pathIn...
<!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...
title: Dimmer <h3 class="<API key>">Default</h3> <div class="docs-example"> <div av-dimmer class="card card-block"> <div class="dimmer-content dimmer-content-dark text-center"> <p> Dimmer Message </p> </div> <h4 class="card-title">Example title</h4> <p class="card-text">Example text</p> </div>...
#ifndef <API key> #define <API key> #include <Luce/Configuration.hh> #include <Luce/Utility/NonComparable.hh> #include <Luce/Utility/NonCopyable.hh> namespace Luce { namespace TypeTrait { template<typename Lhs_, typename Rhs_> struct TypeEqual LUCE_MACRO_FINAL : private Utility::NonC...
#!/usr/bin/env julia using ArgParse s = ArgParseSettings() @add_arg_table s begin "config" help = "a YAML configuration file" default = "config.yaml" end parsed_args = parse_args(ARGS, s) import YAML config = YAML.load(open(parsed_args["config"])) # Make some diagnostic plots to show what the model looks li...
export type TemplateToken = string | TemplatePlaceholder; export interface TemplatePlaceholder { before: string; after: string; name: string; } interface TokenScanner { text: string; pos: number; } const enum TemplateChars { /** `[` character */ Start = 91, /** `]` character */ End =...
<!DOCTYPE HTML PUBLIC "- <!--NewPage <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_24) on Mon Apr 01 21:56:35 EDT 2013 --> <TITLE> Groupable (ATG Java API) </TITLE> <META NAME="date" CONTENT="2013-04-01"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style"> <SCRIPT type="te...
package com.example.aperture.core.contacts; import android.content.Context; import android.content.Intent; import android.database.Cursor; import android.net.Uri; import android.provider.ContactsContract; import java.util.List; import java.util.ArrayList; import com.example.aperture.core.Module; public class EmailFilte...
<?php return array ( 'id' => 'samsung_n300_ver1', 'fallback' => 'uptext_generic', 'capabilities' => array ( 'model_name' => 'SGH-N300', 'brand_name' => 'Samsung', '<API key>' => 'none', ), );
// <auto-generated> // This code was generated by a tool. // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> namespace Pong.WebService { using System.Runtime.Serialization; using System; [System.CodeDom.Compiler.<API key>("Sy...
<table width="90%" border="0"><tr><td><script>function openfile(url) {fullwin = window.open(url, "fulltext", "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes");}</script><div class="flayoutclass"><div class="flayoutclass_first"><table class="tableoutfmt2"><tr><th class="std1"><b>...
#include "kcoingui.h" #include "kcoinunits.h" #include "clientmodel.h" #include "guiconstants.h" #include "guiutil.h" #include "networkstyle.h" #include "notificator.h" #include "openuridialog.h" #include "optionsdialog.h" #include "optionsmodel.h" #include "platformstyle.h" #include "rpcconsole.h" #include "utilitydia...
var xmas = {}; (function() { xmas.present = { box: {} }; }()); (function(global) { global.xmas.present.box.color = 'Red'; }(this));
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace GSAKWrapper.Excel { public class <API key> : PropertyItem { public <API key>() : base("HasUserNote") { } public override object GetValue(Geoca...
Vswiki::Application.configure do # Settings specified here will take precedence over those in config/application.rb. # Code is not reloaded between requests. config.cache_classes = true # Eager load code on boot. This eager loads most of Rails and # your application in memory, allowing both thread web servers...
/** * A decorator for making sure specific function being invoked serializely. * * Usage: * class A { * @serialize * async foo() {} * } * */ export default function serialize(target, key, descriptor) { let prev = null; function serializeFunc(...args) { const next = () => Promise.resolve(descr...
<?php namespace Application\Controller; use Zend\Mvc\Controller\<API key>; use Zend\View\Model\JsonModel; class UserController extends <API key> { protected $collectionOptions = array('GET', 'POST'); protected $resourceOptions = array('GET', 'PUT', 'DELETE'); protected function _getOptions() { /...
<!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="refresh" content="0;URL=../../openssl_sys/enum.stack_st_X509.html"> </head> <body> <p>Redirecting to <a href="../../openssl_sys/enum.stack_st_X509.html">../../openssl_sys/enum.stack_st_X509.html</a>...</p> <script>location.replace("../../openssl_sys/...
<?php /** * This module shows an introduction tour for new users * * @package profiler.modules_core.like * @since 0.5 */ class TourModule extends HWebModule { public $isCoreModule = true; public static function <API key>($event) { if (HSetting::Get('enable', 'tour') == 1 && Yii::app()->user->ge...
package ast import ( "testing" "bitbucket.org/yyuu/xtc/xt" ) func TestPrefixOpNode(t *testing.T) { x := NewPrefixOpNode(loc(0,0), "--", NewVariableNode(loc(0,0), "a")) s := `{ "ClassName": "ast.PrefixOpNode", "Location": "[:0,0]", "Operator": " "Expr": { "ClassName": "ast.VariableNode", "Locatio...
package com.dpanayotov.simpleweather.api.base; public class <API key> { }
// EmailComposer.h #import <Foundation/Foundation.h> #import <MessageUI/<API key>.h> #import <MobileCoreServices/MobileCoreServices.h> #import <Cordova/CDV.h> @interface EmailComposer : CDVPlugin < <API key> > { NSString* _callbackId; } @property(nonatomic, strong) NSString* callbackId; support dependency injectio...
<!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>cfml: Not compatible</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" rel=...
require 'rails_helper' RSpec.describe "Pages", :type => :request do describe "GET /pages" do it "redirects when unauthenticated" do get pages_path expect(response.status).to be(302) end end let(:rory) {User.create!(name: 'Rory', uid: "1")} let(:valid_attributes) { { path: 'path/to/page', bod...
<!doctype html> <html> <head> <meta charset="utf-8"> <title>Huoran Chat</title> <link rel="stylesheet" type="text/css" href="styles/main.css" /> </head> <body> <!-- The window for login and registration --> <div id='loginWindow'> <h1>Huoran Chat</h1> <br> <div id="loginWrappe...
var functions = {} functions.<API key> = function (name) { var splittedName = name.split('-') var type = splittedName[splittedName.length - 1].split('.')[0] return type === 'motion' ? type : type === 'snapshot' ? 'periodic' : 'unknown' } functions.getSnapshotDate = function (name) { var splittedData = name.spli...
package bsw import ( "testing" ) func TestMX(t *testing.T) { _, results, err := MX("stacktitan.com", "8.8.8.8") if err != nil { t.Error("error returned from MX") t.Log(err) } found := false for _, r := range results { if r.Hostname == "mx1.emailsrvr.com" { fou...
package edu.avans.hartigehap.web.util; import java.io.<API key>; import javax.servlet.http.HttpServletRequest; import org.springframework.web.util.UriUtils; import org.springframework.web.util.WebUtils; import lombok.extern.slf4j.Slf4j; @Slf4j public class UrlUtil { private UrlUtil() { } public static Strin...
package com.veggie.src.java.controllers.transaction; import java.util.List; import com.veggie.src.java.controllers.Controller; import com.veggie.src.java.form.Form; import com.veggie.src.java.form.AbstractFormBuilder; import com.veggie.src.java.form.<API key>; import com.veggie.src.java.notification.Notification; impor...
<?php return array ( 'FrameworkBundle:Form:attributes.html.php' => 'C:\\xampp\\htdocs\\linkedxpert\\vendor\\symfony\\symfony\\src\\Symfony\\Bundle\\FrameworkBundle/Resources/views/Form/attributes.html.php', 'FrameworkBundle:Form:button_attributes.html.php' => 'C:\\xampp\\htdocs\\linkedxpert\\vendor\\symfony\\symfon...
# tapjoy Module ## Description TODO: Enter your module description here ## Accessing the tapjoy Module To access this module from JavaScript, you would do the following: var tapjoy = require("ti.tapjoy"); The tapjoy variable is a reference to the Module object. ## Reference TODO: If your module has an API, you shou...
/** * 1. Set default font family to sans-serif. * 2. Prevent iOS and IE text size adjust after device orientation change, * without disabling user zoom. */ html { font-family: sans-serif; -ms-text-size-adjust: 100%; -<API key>: 100%; } /** * Remove default margin. */ body { margin: 0; } /** * Correc...
using Android.App.Job; namespace Plugin.<API key> { public class <API key> : JobService { public override bool OnStartJob(JobParameters @params) { return false; } public override bool OnStopJob(JobParameters @params) { return false; } }...
(function() { 'use strict'; angular .module('rtsApp') .directive('hasAuthority', hasAuthority); hasAuthority.$inject = ['Principal']; function hasAuthority(Principal) { var directive = { restrict: 'A', link: linkFunc }; return directive; ...
require 'rails_helper' RSpec.describe Gallery, type: :model do it "is valid with valid attributes" do gallery = create(:gallery) expect(gallery).to be_valid end describe "associations and validations" do it { should have_many(:collections) } it { should <API key>(:name) } it { should <API key>...
Gitscm::Application.routes.draw do constraints(:host => 'whygitisbetterthanx.com') do root :to => 'site#redirect_wgibtx', as: :whygitisbetterthanx end constraints(:host => 'progit.org') do root :to => 'site#redirect_book', as: :progit get '*path' => 'site#redirect_book' end # constraints(:subdomain...
<html><body> <h4>Windows 10 x64 (18363.900)</h4><br> <h2><API key></h2> <font face="arial"> +0x000 Type : Uint2B<br> +0x002 Reserved : UChar<br> +0x003 Enabled : UChar<br> +0x004 <API key> : Uint4B<br> +0x008 <API key> : Uint4B<br> +0x00c <API key> : UChar<br> +0x00d <AP...
var async = require('async'); function captainHook(schema) { // Pre-Save Setup schema.pre('validate', function (next) { var self = this; this._wasNew = this.isNew; if (this.isNew) { this.runPreMethods(schema.preCreateMethods, self, function(){ next(); }); } else { this.runP...
#pragma once #include <mutex> #include <map> #include "cpprest/json.h" #include "granada/defaults.h" #include "runner.h" #include "jsapi.h" using namespace JS; namespace granada{ namespace runner{ class <API key> : public Runner { public: /** * Constructor. */ <API key>...