text
stringlengths
3
1.05M
@interface HLYShadownViewController () @end @implementation HLYShadownViewController - (void)viewDidLoad { [super viewDidLoad]; self.view.backgroundColor = [UIColor whiteColor]; UIView *test1View = [[UIView alloc] initWithFrame:CGRectMake(100, 100, 50, 50)]; [self.view addSubview:test1View]...
import math from mathlib import cumdist, sqL2, clustercenter class WKM: """ Warped K-Means: an algorithm to cluster sequentially-distributed data. Luis A. Leiva and Enrique Vidal. Information Sciences, 2013. See http://dx.doi.org/10.1016/j.ins.2013.02.042 Implemented by Luis A. Leiva. Dual licensed under t...
// // JAPanoView.m // PanoTest // // Created by Javier Alonso Gutiérrez on 16/02/12. // Copyright (c) 2012 NG Servicios. All rights reserved. // #import "JAPanoView.h" #import <tgmath.h> #import <QuartzCore/QuartzCore.h> #import <objc/runtime.h> @interface UIView (JAPanoViewHotspotPrivate) @property (nonatomic, ...
testdir = File.expand_path('..', __FILE__) $LOAD_PATH.unshift(testdir) unless $LOAD_PATH.include?(testdir) require 'test_helper' require 'rets4r/client' module RETS4R class Client public :process_content_type end end class TestClientMetadataRequest < Minitest::Test RETS_PORT = '9080' RETS_URL = ...
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE TS> <TS version="2.1" language="fr"> <context> <name>CoverPage</name> <message> <location filename="../qml/cover/CoverPage.qml" line="39"/> <source>is UP!</source> <translation type="unfinished"></translation> </message> <message> ...
'use strict'; var async = require('async'); var _ = require('lodash'); var db = require('../database'); var posts = require('../posts'); var topics = require('../topics'); var groups = require('../groups'); var plugins = require('../plugins'); var batch = require('../batch'); module.exports = function (User) { User...
ACCEPTED #### According to Index Fungorum #### Published in Bot. Gaz. 65: 472 (1918) #### Original name Puccinia unicolor Arthur ### Remarks null
/* JavaScript content from worklight/plugins/org.apache.cordova.file/www/resolveLocalFileSystemURI.js in JS Resources */ /* JavaScript content from worklight/plugins/org.apache.cordova.file/www/resolveLocalFileSystemURI.js in JS Resources */ cordova.define("org.apache.cordova.file.resolveLocalFileSystemURI", function(...
void Widget::onClickButton(int buttonId) { // ----------------------------------------------------------------- Main ----------------------------------------------------------------- if(screensaverEnd()) { // Set oldScene if(scene != sceneMap["mainQExit"] && scene != sceneMa...
<!DOCTYPE html> <!--[if IE]><![endif]--> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <title>Class Bin </title> <meta name="viewport" content="width=device-width"> <meta name="title" content="Class Bin "> <meta name="generator" c...
layout: dash title: Examples - bailey.js --- {% include examples.html %}
title: What Is a Front End Developer? date: 2016-01-05 01:58:00 -06:00 layout: post custom_type: link link_url: http://learntocodewith.me/web-dev/front-end-developer-skills/ --- Laurence Bradford: > At this point, after looking through multiple job descriptions, I am totally confused. My goodness. There were so many...
package com.facebook.buck.jvm.kotlin; import static com.facebook.buck.jvm.common.ResourceValidator.validateResources; import com.facebook.buck.jvm.java.CalculateAbi; import com.facebook.buck.jvm.java.JavaLibrary; import com.facebook.buck.jvm.java.JavaLibraryDescription; import com.facebook.buck.jvm.java.JavaLibrary...
#include <cstring> #include <algorithm> #include "ChatRoom.hpp" ChatRoom::ChatRoom() : server(NULL), new_chatroom(NULL), nickname("You") { members.push_back(nickname); } ChatRoom::ChatRoom(Connection* in_server) : new_chatroom(NULL), nickname("You") { members.push_back(nickname); server = in_server; histo...
<?php /** * Created by PhpStorm. * User: michael * Date: 14-11-18 * Time: 20:33 */ namespace Jna\MainBundle\Admin; use Sonata\AdminBundle\Admin\Admin; use Sonata\AdminBundle\Datagrid\ListMapper; use Sonata\AdminBundle\Datagrid\DatagridMapper; use Sonata\AdminBundle\Form\FormMapper; class WorkTypeAdmin extends A...
FROM balenalib/fincm3-alpine:3.13-build ENV GO_VERSION 1.16.14 # set up nsswitch.conf for Go's "netgo" implementation # - https://github.com/golang/go/blob/go1.9.1/src/net/conf.go#L194-L275 # - docker run --rm debian:stretch grep '^hosts:' /etc/nsswitch.conf RUN [ ! -e /etc/nsswitch.conf ] && echo 'hosts: files dns' ...
module Charger class LineItem::OnOff < LineItem attribute :enabled, Boolean # @return [Float] def total if enabled component.total_for(1) else 0 end end # @return [Boolean] def allocated? enabled end end end
require 'spec_helper' describe "Apache server" do describe service("httpd") do it { should be_enabled } it { should be_running } end describe port("80") do it { should be_listening } end describe "SSL redirect" do describe port("443") do it { should be_...
| | | | -------- | ---------- | | title | Winery | | status | 10 | | section | DevOps | | keywords | DevOps | Eclipse Winery is a > ``web-based environment to graphically model > [Topology and Orchestration Specification for Cloud Applications] > TOSCA topologies and p...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="lv_LV" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About KroneCoin</source> <translation>Par KroneCoin</translation> <...
require 'mispec' describe('The net module (client)', function(it) -- pre-tests ok(_G['net'] ~= nil, 'module not loaded') ok(wifi.getmode() ~= 0, 'not in station mode') ok(wifi.sta.getip() ~= nil, 'not connected to router') it:should('create connection', function() net.createConnection(net...
SPEC_BEGIN(DemoSpec) describe(@"A simple test", ^{ LRMockery *mockery = [LRMockery mockeryForTestCase:self]; afterEach(^{ [mockery assertSatisfied]; }); it(@"should work", ^{ [[@"foo" should] equal:@"foo"]; }); it(@"should integrate with Mocky", ^{ id mockObject = [mockery mock:[NSS...
import { DataType } from '../data-type'; const NULL_LENGTH = Buffer.from([0xFF, 0xFF, 0xFF, 0xFF]); const Image: DataType = { id: 0x22, type: 'IMAGE', name: 'Image', hasTableName: true, declaration: function() { return 'image'; }, resolveLength: function(parameter) { if (parameter.value != nul...
'use strict'; const _ = require('lodash'); const rpcEmulatorModel = require('../orwu-dt').rpcEmulatorModel; const unitTestUtils = require('./unitTestUtils'); describe('ORWU DT asynchronous specs', () => { let rpc; let context; beforeAll(() => { const res = unitTestUtils.beforeAllScript(rpcEmulato...
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE locale SYSTEM "../../../../../lib/pkp/dtd/locale.dtd"> <!-- * plugins/importexport/mets/locale/es_ES/locale.xml * * Copyright (c) 2003-2013 John Willinsky * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING. * * Localization strings ...
package org.bigtester.ate.model.data; /** * class implements IOnTheFlyData will be handled by the StepDataLogger * onTheFlyData will dynamically change value during the execution, for example in repeatSteps. * Index of repeatStep and index of same elements on pages are this type of data. * @author Peidong Hu *...
/** * main class for exercise tracker application */ import java.util.Date; import java.util.Scanner; import java.text.*; import java.sql.*; class exerciseTracker { public static void main(String[] args) { if (args.length > 0) { for (String s : args) { if ( s.equals("f")){ System.out.println("Fuck i...
package com.badlogic.gdx.tests; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.graphics.FPSLogger; import com.badlogic.gdx.graphics.GL20; import com.badlogic.gdx.graphics.Texture; import com.badlogic.gdx.graphics.g2d.Animation; import com.badlogic.gdx.graphics.g2d.SpriteBatch; import com.badlogic.gdx.graphics....
cask 'hachidori' do version '3.1.3' sha256 '169764e2e254c557b408b011747a0740bcb26ebd1603ad3d1551a853a20f8506' # github.com/Atelier-Shiori/hachidori was verified as official when first introduced to the cask url "https://github.com/Atelier-Shiori/hachidori/releases/download/#{version}/hachidori-#{version}.dmg" ...
[![Build Status](https://secure.travis-ci.org/mrkamel/bbque.png?branch=master)](http://travis-ci.org/mrkamel/bbque) [![Gem Version](https://badge.fury.io/rb/bbque.svg)](http://badge.fury.io/rb/bbque) BBQue is an opinionated ruby gem to queue and process background jobs. Other gems for this purpose usually don't work w...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" co...
using NServiceBus; using NServiceBus.ObjectBuilder.Ninject; using NServiceBus.ObjectBuilder.StructureMap; using NServiceBus.ObjectBuilder.Unity; using NServiceBus.ObjectBuilder.Spring; using NServiceBus.ObjectBuilder.Autofac; using NServiceBus.ObjectBuilder.Common.Config; public class Containers { public void Sim...
import { Component, OnInit } from '@angular/core'; @Component({ moduleId: module.id, selector: 'permission-denied-view', template: require('./permission-denied.view.html'), styles: [require('./permission-denied.view.css')] }) export class PermissionDeniedView implements OnInit { public permissionDe...
class CP_RAWDATA_API OsvDataItem { public: OsvDataItem(); OsvDataItem(QString hdr, QString val = "", QString lnk = ""); ~OsvDataItem(); OsvDataItem* addSibling(QString header, QString value = "", QString link = ""); OsvDataItem* addChild(QString header, QString value = "", QString link = ""); v...
package com.ack.adventureandconquer.game.creature.npc.men; import com.ack.adventureandconquer.game.creature.npc.IsNpcType; import com.ack.adventureandconquer.game.creature.npc.Npc; import java.util.List; /** * Created by saskyrar on 17/01/15. */ public class BanditType implements IsNpcType { @Override publ...
using content::NavigationEntry; using content::WebContents; HistoryTabHelper::HistoryTabHelper(WebContents* web_contents) : content::WebContentsObserver(web_contents), received_page_title_(false) { registrar_.Add(this, content::NOTIFICATION_WEB_CONTENTS_TITLE_UPDATED, content::Source<WebCo...
/** * */ package views.formdata;
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; namespace Oldmansoft.Html.WebMan.Input { /// <summary> /// Select2 /// </summary> public class Select2 : FormInputCreator.FormInput, ICustomInput { private string Value { get; se...
title: 'UGRC Voter Count Tool for Redrawing Precincts' author: display_name: Erik Neemann email: eneemann@utah.gov date: 2021-11-23 9:30:01 categories: - Featured tags: - voting - tools - political --- Utah's [statewide election districts](https://opendata.gis.utah.gov/search?q=election) have been released...
/* container/numeric-deque - double-ended numeric chunked queue Part of Stardazed (c) 2015-Present by @zenmumbler https://github.com/stardazed/stardazed */ /** * Numeric queue with array-like methods. Use for numeric queues that * will have numbers added to and removed from it on both ends. The queue * is chunked a...
layout: page title: Térkép group: terkep --- <style type="text/css"> img#gomba-map { width: 100%; } div#location-details { position: absolute; display: none; padding: 10px; max-width: 400px; max-height: 160px; min-width: 100px; min-height: 40px; background-color: #111111; ...
#include "askpassphrasedialog.h" #include "ui_askpassphrasedialog.h" #include "guiconstants.h" #include "walletmodel.h" #include <QMessageBox> #include <QPushButton> #include <QKeyEvent> extern bool fWalletUnlockMintOnly; AskPassphraseDialog::AskPassphraseDialog(Mode mode, QWidget *parent) : QDialog(parent), ...
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/sync_preferences/pref_service_syncable_factory.h" #include <memory> #include "base/trace_event/trace_event.h" #include "build/build...
require "unit_helper" require "event_sourcing/command/bus" describe EventSourcing::Command::Bus do let(:aggregate_manager) { instance_double("EventSourcing::Aggregate::Manager::Reference") } let(:command) { double("EventSourcing::Command") } subject { EventSourcing::Command::Bus.new(aggregate_manager) } afte...
<html> <head></head> <body> <h1 id="ariaid-title1"><code>&lt;lcAreaCoords&gt;</code></h1> <p>The <code>&lt;lcAreaCoords&gt;</code> element was deprecated in DITA version 1.3. It was replaced with the <code>&lt;lcAreaCoords2&gt;</code> element. It was originally intended to specify th...
import { SessionCache } from './sessioncache.js'; import { Session } from './session.js'; import fetch from 'jest-fetch-mock'; fetch.enableMocks(); jest.setTimeout(40000); const mockFetchResponse = '{"sessionId":"EEEE7","screenNameOfController":{"value":"chris"}'+ ',"ipOfVM":{"value":"1.2.3.4.5.6.7"},"listOfAttendee...
<?php namespace Hubzero\Database\Exception; class UnsupportedEngineException extends \Hubzero\Error\Exception\RuntimeException { }
package Redis; # ABSTRACT: Perl binding for Redis database # VERSION # AUTHORITY use warnings; use strict; use IO::Socket::INET; use IO::Socket::UNIX; use IO::Socket::Timeout; use IO::Select; use IO::Handle; use Fcntl qw( O_NONBLOCK F_SETFL ); use Errno (); use Data::Dumper; use Carp; use Try::Tiny; use Scalar::Util...
@interface CodeBranchTagButton : UIButton @property (strong, nonatomic) NSString *titleStr; @property (strong, nonatomic) Project *curProject; @property (nonatomic, strong) NSArray *branchList, *tagList; @property (nonatomic, strong, readonly) NSArray *dataList; @property (weak, nonatomic) UIView *showingContainerView;...
<!DOCTYPE html><html><head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=Edge"> <meta name="description"> <meta name="keywords" content="static content generator,static site generator,static site,HTML,web development,.NET,C#,Razor,Markdown,YAML"> <meta n...
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.vokal.database"> <application android:allowBackup="true" /> </manifest>
import {parse as babelParse} from 'babylon'; import {defaults} from 'lodash'; /** * Wrapper around babylon's parse with defaults set * @param {string} code * @param {object} options * @returns {ast} */ export default function parse(code, options) { return babelParse(code, defaults(options, { allowImportEx...
importScripts("/resources/testharness.js"); importScripts("/html/canvas/resources/canvas-tests.js"); var t = async_test("fill() does not affect pixels outside the clip region."); var t_pass = t.done.bind(t); var t_fail = t.step_func(function(reason) { throw reason; }); t.step(function() { var canvas = new Offscre...
ModTweaker allows you to add or remove Extra Utilities 2 Resonator Recipes ## Calling You can call the Resonator package using `mods.extrautils2.Resonator` ## Removing ```zenscript //mods.extrautils2.Resonator.remove(IItemStack outout); mods.extrautils2.Resonator.remove(<minecraft:redstone>); ``` ##...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="fa" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About fifacoin</source> <translation>در مورد fifacoin</translation> </...
echo ";; -*- buffer-read-only: t -*-" echo ";; Generated automatically from genmova.sh" # Loop over modes for the source operand (the index). Only 8-bit and # 16-bit indices are allowed. for s in QI HI; do # Set $src to the operand syntax for this size of index. case $s in QI) src=%X1.b;; HI) src=%T1.w;;...
Wrapper to include a bebras task with lti. The files `www/LTI_*` come from [this zip](http://projects.oscelot.org/gf/download/frsrelease/924/5882/LTI_Tool_Provider-2.5.00.zip) and are under GPL/LGPL.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>EditorSaveFile</title> <meta http-equiv="Content-Type" Content="text/html; charset=Windows-1251"> <link rel="stylesheet" type="text/css" href="../../styles/styles.css"> <script language="javascript" src='../links.js' type="text/javascri...
<!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 `tag_native_libraries_name` constant in crate `rustc_trans`."> ...
package com.akjava.gwt.lib.hangouts.client.av.effects; import com.akjava.gwt.lib.hangouts.client.XYPoint; import com.google.gwt.core.client.JavaScriptObject; public class Overlay extends JavaScriptObject { protected Overlay(){} public final native void dispose() /*-{ this.dispose(); }-*/; public final ...
[![CircleCI](https://circleci.com/gh/Haniyya/noble_names/tree/main.svg?style=svg)](https://circleci.com/gh/Haniyya/noble_names/tree/main) [![Documentation Status](https://readthedocs.org/projects/noble-names/badge/?version=latest)](http://www.rubydoc.info/gems/noble_names) [![Maintainability](https://api.codeclimate.co...
#pragma once #include <string> using namespace std; /** * @brief Class Road * This class contains a unique identifier for each road, its name * and a boolean flag telling if the road is one or two ways; */ class Road { unsigned int id; /** <private member containing the unique identifier> */ str...
@echo off rem Run the Java side of the GUI using a specific version of Java rem Edit the following line to say where to get Java from on your local system set path=C:\Program Files\Java\jdk1.6.0_05\bin;%PATH% java -classpath "prologbeans.jar;RegulusGUI.jar;." -DREGULUS="%REGULUS%" RegulusGUI.RegulusGUI pause
This is the official repository for the Bay Area Chess iPhone App. The Bay Area Chess App is a Swift based iOS App supported by a Node.js API server. Please feel free to post issues and we’ll fix them as soon as we can. Team: Carlos Reyes, Oren Bukspan, Tze Kang Ng, Daniel Zhang Client: Judit Sztaray Last Updated: 1...
ACCEPTED #### According to Index Fungorum #### Published in Rec. Pl. Crypt. Agenais 1: 17 (1828) #### Original name Coniocephalum Brond. ### Remarks null
'use strict'; angular.module('portfolioApp', [ 'ngRoute', 'portfolioControllers', 'portfolioDirectives', 'portfolioFilters', 'portfolioServices', 'portfolioConfig' ]); angular.module('portfolioApp').config(['$routeProvider', function ($routeProvider) { $routeProvider. when('/start', { template...
/* this file has been autogenerated by vtkNodeJsWrap */ /* editing this might proof futile */ #ifndef NATIVE_EXTENSION_VTK_VTKUNDIRECTEDGRAPHWRAP_H #define NATIVE_EXTENSION_VTK_VTKUNDIRECTEDGRAPHWRAP_H #include <nan.h> #include <vtkSmartPointer.h> #include <vtkUndirectedGraph.h> #include "vtkGraphWrap.h" #include "...
<template name="article"> <div class="article"> {{#if equals currentPage "article"}} {{#each posts}} <img src="{{imgPath}}"/> <div> {{markdown content}} </div> {{/each}} {{/if}} {{#if equals currentPage "about"}} <span class="title"> About Us </span> <div> ...
package org.jsmart.zerocode.testhelp.tests.helloworldmore; import org.jsmart.zerocode.core.domain.JsonTestCase; import org.jsmart.zerocode.core.domain.TargetEnv; import org.jsmart.zerocode.core.runner.ZeroCodeUnitRunner; import org.junit.Test; import org.junit.runner.RunWith; @TargetEnv("hello_world_host.properties")...
Color::Color() { red = 1; green = 1; blue = 1; alpha = 1; } Color::Color(short red, short green, short blue, short alpha) { setColor (red, green, blue, alpha); } Color::setColor(short red, short green, short blue, short alpha) { this->red = (float) red / 255; this->green = (float) green / ...
"""The Scalable HeterOgeneous Computing (SHOC) Benchmark Suite https://github.com/vetter/shoc """ import re import shlex from cached_property import cached_property import six from hpcbench.api import Benchmark, Metrics, MetricsExtractor from hpcbench.toolbox.process import find_executable class SHOCExtractor(Me...
<PAMDataset> <PAMRasterBand band="1"> <Histograms> <HistItem> <HistMin>-0.25</HistMin> <HistMax>1.25</HistMax> <BucketCount>2</BucketCount> <IncludeOutOfRange>0</IncludeOutOfRange> <Approximate>1</Approximate> <HistCounts>85974|432559</HistCounts> </Hist...
This directory will be symlinked to `$HOME/.bin`. # [`docker-wipe`](https://github.com/cars10/docker-wipe) Provides functions to delete all docker images, containers, and volumes.
// The second 'event' that stops the timer is Hardware Interrupt INT1 // (alternate function of port D bit 1). By connecting the switches of // the external Switches and Lights box to port D we can use the bit 1 // switch to generate an interrupt on pin INT1. // Timer 'range' Uses 16...
require 'conditionz/condition_base' describe Conditionz::ConditionBase do context "predicate is true" do let(:true_predicate) { true } it "should not raise precondition error" do message = "custom pre condition message" expect { Conditionz::ConditionBase.verify true_predicate, ...
using System; using System.IO; using System.Linq; using System.Security.Claims; using System.Threading; using System.Web; using System.Web.Mvc; using Jewerly.Domain; using Microsoft.AspNet.Identity; namespace Jewerly.Web.Controllers { public class BaseController : Controller { protected readonly DataM...
<div class="container components"> <section> <h3>Tags</h3> <div class="flexContainer half"> <div> <p>Tags are used to highlight an item and set it apart from the rest of the content. They may contain either text or an icon. Also, they may display as an outline or a filled in rectangle. </p> </div> <div> ...
using namespace OpenZWave; //----------------------------------------------------------------------------- // <ValueInt::ValueInt> // Constructor //----------------------------------------------------------------------------- ValueInt::ValueInt ( uint32 const _homeId, uint8 const _nodeId, ValueID::ValueGenre const...
 using NPOI.SS.Formula.Eval; namespace NPOI.SS.Formula.Functions { /** * Implementation for the Excel function SUMIFS<br/> * <p> * Syntax : <br/> * SUMIFS ( <b>sum_range</b>, <b>criteria_range1</b>, <b>criteria1</b>, * [<b>criteria_range2</b>, <b>criteria2</b>], ...) <br/> * <ul...
var webpack = require('atool-build/lib/webpack'); module.exports = function(webpackConfig) { webpackConfig.plugins.some(function(plugin, i){ if(plugin instanceof webpack.optimize.CommonsChunkPlugin) { webpackConfig.plugins.splice(i, 1); return true; } }); return webpackConfig; };
<section class="row" data-ng-controller="AuthenticationController"> <h3 class="col-md-12 text-center">Login</h3> <div class="col-xs-offset-2 col-xs-8 col-md-offset-5 col-md-2"> <form data-ng-submit="signin()" class="signin form-horizontal" autocomplete="off"> <fieldset> <div class="form-group"> <label f...
// Copyright (c) 2014 AlphaSierraPapa for the SharpDevelop Team // // Permission is hereby granted, free of charge, to any person obtaining a copy of this // software and associated documentation files (the "Software"), to deal in the Software // without restriction, including without limitation the rights to use, co...
template <typename IdentifierType, typename ProductCreator, template <class ...> class Map = std::map> class Factory { public: bool registerCreator(IdentifierType key, ProductCreator value) { return map_.emplace(key, value).second; } auto create(IdentifierType key) const { const auto itr = ...
<div class="conductor-detail-title"> <div class="row"> <div class="col-md-8"> <h3><strong>{{ active_stage.description|title }}</strong></h3> <ul class="text-muted list-unstyled"> {% if contract.parent %} {% if contract.parent.expiration_date %} <li class="">Expires on {{ contra...
package org.apache.derbyDemo.vtis.core; import java.io.*; import java.lang.reflect.*; import java.sql.*; import java.util.*; /** * <p> * This is a set of helper methods executing a query against an external database. This * class maintains a cache of connections to external databases. Each connection...
<!DOCTYPE HTML> <html lang="en-US"> <head> <meta charset="UTF-8"> <script type="text/javascript"> var hash = window.location.hash.replace(/#sisku\//,'#seskari=cnano&sisku=') || '#' window.location.href = "/sutysisku/lojban/index.html"+hash+"&bangu=ru";...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>idt: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" re...
use std::{env, path::Path, time::Instant}; use flapigen::{LanguageConfig, PythonConfig}; fn main() { env_logger::init(); let now = Instant::now(); let out_dir = env::var("OUT_DIR").unwrap(); flapigen_expand( Path::new("src/glue.rs.in"), &Path::new(&out_dir).join("glue.rs"), ); ...
'use strict'; // node libs var path = require( 'path' ); var fs = require( 'fs' ); // external libs var assemble = require( 'assemble' ); var debug = require( 'gulp-debug' ); var extend = require( 'extend-shallow' ); //var extname = require( 'gulp-extname' ); var glob = require( 'glob' ); var less = require( 'gulp-le...
package com.example.xyzreader.cp1.dummy; import com.example.xyzreader.cp1.R; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; /** * Helper class for providing sample content for user interfaces created by Android template * wizards. <p> */ public class DummyCont...
<?php /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ATTENTION! * If you see this message in your browser (Internet Explorer, Mozilla Firefox, Google Chrome, etc.) * this means that PHP is not properly installed on your web server. Please refer ...
import sys import re """Baby Names exercise Define the extract_names() function below and change main() to call it. For writing regex, it's nice to include a copy of the target text for inspiration. Here's what the html looks like in the baby.html files: ... <h3 align="center">Popularity in 1990</h3> .... <tr align...
var pageName = { MAIN : 1, CHAMP : 2, MISC : 3, } chartType = 0; var chartValue = { PICKRATE : 0, WINRATE : 1 } var currentPage = pageName.MAIN; var canChangePage = true; var pageLoaded = true; var loadingDef = $.Deferred(); //deferred that resolves/rejects page load var loadingMoreDef = $.Deferred(); //resolves...
/* @flow weak */ import type { Action, State } from './types'; import app from './app/reducer'; import auth from './auth/reducer'; import cards from './cards/reducer'; import { undoableActions } from './cards/actions'; import config from './config/reducer'; import device from './device/reducer'; import intl from './int...
- **HTML** is the _skeleton_ of a webpage; **Javascript** is the _muscle_! Javascript selectors allow us to create references to DOM Objects. Because DOM Objects are accessed you may modify the properties of these HTML elements directly. #### Creating DOM Elements / Manipulating them ### try this on a basic index.htm...
<?xml version="1.0" encoding="ISO-8859-1"?> <!-- ~ Copyright 2005-2011 WSO2, Inc. (http://wso2.com) ~ ~ Licensed under the Apache License, Version 2.0 (the "License"); ~ you may not use this file except in compliance with the License. ~ You may obtain a copy of the License at ~ ~ http://www.apache.org/li...
namespace offline_pages { namespace auto_fetch { namespace { TEST(AutoFetch, MakeClientId) { EXPECT_EQ(ClientId(kAutoAsyncNamespace, "A123"), auto_fetch::MakeClientId(auto_fetch::ClientIdMetadata(123))); } TEST(AutoFetch, ExtractMetadataSuccess) { base::Optional<auto_fetch::ClientIdMetadata> metadata ...
#include "native.h" const char *get_prefix() { return "./data/"; } const char *get_config_path() { return "."; } const char *get_screenshots_path() { return "./screenshots"; } const char *get_replays_path() { return "./replays"; }
package tw.invictus.tventhusiast.view.event; /** * Created by ivan on 11/21/15. */ public class GetPaletteEvent { private int darkColor; private int lightColor; private int backgroundColor; public GetPaletteEvent(int darkColor, int lightColor, int backgroundColor) { this.darkColor = darkColo...
package uva.tomo1; //Uva 111 import java.io.BufferedReader; import java.io.FileReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.Arrays; import java.util.HashMap; import java.util.Locale; import java.util.Stack; import java.util.StringTokenizer; public class HistoryGrading { sta...