code
stringlengths
4
1.01M
using System; using System.Collections.Generic; using Roguelike.Core.Elements.Inventory; using Roguelike.Entities; using RLNET; namespace Roguelike.Systems { public class InventorySystem { private Player player; public InventorySystem() { player = Game.Player; } void...
<?php class TeamsTest extends Raideer\TwitchApi\TestCase { public function __construct() { $this->setResource('Raideer\TwitchApi\Resources\Teams'); } public function test_getName_returnsTeams() { $this->assertSame('teams', $this->resource->getName()); } public function tes...
# frozen_string_literal: true require "dry/core/equalizer" require "rom/initializer" require "rom/relation/loaded" require "rom/relation/composite" require "rom/relation/materializable" require "rom/pipeline" require "rom/support/memoizable" module ROM class Relation # Abstract relation graph class # ...
<?php namespace AppBundle\Tests\Entity; use AppBundle\Entity\Auth; use PHPUnit\Framework\TestCase; class AuthTest extends TestCase { public function testAdd() { $obj = new Auth(); $result = $obj->setToken('sdfsdf465456'); $this->assertEquals('sdfsdf465456', $obj->getToken()); } }...
# GKDProgress A progress use CoreAnimation
#ifndef ZOMBIE_HUMANPLAYER_H #define ZOMBIE_HUMANPLAYER_H #include "device.h" #include "physics/moving/unit.h" #include "player.h" #include "physics/moving/unit.h" #include <glm/gtx/rotate_vector.hpp> namespace zombie { class HumanPlayer : public Player { public: HumanPlayer(DevicePtr device, std::unique_ptr<Un...
// Copyright (c) 2014 The Okcash Developers // Distributed under the MIT/X11 software license, see the accompanying // file license.txt or http://www.opensource.org/licenses/mit-license.php. #ifndef COIN_STATE_H #define COIN_STATE_H #include <string> #include <limits> #include "sync.h" enum eNodeType { NT_FULL =...
version https://git-lfs.github.com/spec/v1 oid sha256:b51623fcae1419d2bb29084e11d56fc9aafae7b0e35bd2a7fd30633a133bef40 size 24229
module Librr::Displayer class << self attr_accessor :save_output, :output def clear_output @output = [] end def save(text) @output ||= [] @output << text end end def show text if Librr::Displayer.save_output Librr::Displayer.save(text) return end ...
var gif_bgs = []; var gif_center = []; var length_bgs = 0; var length_center = 0; var timer; var duration = 4000; var loaded = 0; var next_bg; var next_center; var audio = document.getElementById("sound"); var muted = false; function next(e){ clearInterval(timer); timer = setInterval(next, duration); $("#ba...
{% extends 'login_base.html' %} {% block body %} <div class="form-container"> <form action="" method="post" enctype="multipart/form-data"> {% csrf_token %} {% for field in form %} {{ field }} {{ field.errors }} {% endfor %} <input id="submit" type="submit" value="Create new account" /> </form> </d...
<?php class ProfilesTest extends PHPUnit_Framework_TestCase { public function setUp() { $di = Xhgui_ServiceContainer::instance(); $this->profiles = $di['profiles']; $this->_loadFixture('tests/fixtures/results.json'); } protected function _loadFixture($file) { $conten...
package com.tbp.safemaps; import the.safemaps.R; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.view.Menu; import android.view.MenuItem; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; public class MarkUnsafe ext...
#include "protagonist.h" #include "SerializeResult.h" #include "v8_wrapper.h" #include "snowcrash.h" using namespace v8; using namespace protagonist; Result::Result() { } Result::~Result() { } Nan::Persistent<Function> Result::constructor; void Result::Init(Handle<Object> exports) { Nan::HandleScope scope; ...
<select ng-model="city" ng-options="city.name for city in cities"> <option value="">Choose City</option> </select> Best City:{{city.name}} <label>Select Two Fish</label> <input type="checkbox" ng-model="isTwoFish"> <br/> <select> <option>One Fish</option> <option ng-selected="isTwoFish">Two Fish</option> </sel...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (version 1.7.0_71) on Sun Jan 11 17:03:54 EET 2015 --> <meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> <title>com.github.tilastok...
<?php /** * Craft by Pixel & Tonic * * @package Craft * @author Pixel & Tonic, Inc. * @copyright Copyright (c) 2014, Pixel & Tonic, Inc. * @license http://buildwithcraft.com/license Craft License Agreement * @link http://buildwithcraft.com */ // Define path constants defined('CRAFT_BASE_PATH') ...
require "importu/backends" class DummyBackend def self.supported_by_definition?(definition) false end def initialize(finder_fields:, **) @finder_fields = finder_fields @objects = [] @max_id = 0 end def find(record) @finder_fields.detect do |field_group| if field_group.respond_to?(...
#!/usr/bin/env python3 """ My radio server application For my eyes only """ #CREATE TABLE Radio(id integer primary key autoincrement, radio text, genre text, url text); uuid='56ty66ba-6kld-9opb-ak29-0t7f5d294686' # Import CherryPy global namespace import os import sys import time import socket import cherrypy imp...
{% load staticfiles i18n %}<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <title>{% block title %}netmon{% endblock title %}</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="description"...
require 'spec_helper' describe 'Git LFS File Locking API' do include WorkhorseHelpers let(:project) { create(:project) } let(:maintainer) { create(:user) } let(:developer) { create(:user) } let(:guest) { create(:user) } let(:path) { 'README.md' } let(:headers) do { 'Authorization' =...
--- layout: default title: Yogi Tea Sayings - Archive --- {% for post in site.posts %} <article class="saying">{{ post.title }}</article> {% endfor %}
// ------------------------------------------------------------- // WARNING: this file is used by both the client and the server. // Do not use any browser or node-specific API! // ------------------------------------------------------------- /* eslint hammerhead/proto-methods: 2 */ import reEscape from '../utils/rege...
import announcements from './announcements' import delegates from './delegates' import fees from './fees' import ledger from './ledger' import market from './market' import peer from './peer' import wallets from './wallets' export { announcements, delegates, fees, ledger, market, peer, wallets }
/** * @flow * @module ProductPropertyInput * @extends React.PureComponent * * @author Oleg Nosov <olegnosov1@gmail.com> * @license MIT * * @description * React form for product property(options select only). * */ import React, { PureComponent } from "react"; import { isObject } from "../../../helpers"; imp...
<!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...
let BASE_DIR = '/masn01-archive/'; const TAG_OPTIONS = ['meteor', 'cloud', 'bug', 'misc']; let CURR_DIR = null; let CURR_FILES = null; let INIT_CMAP = null; let CURR_IDX = 0; let PREV_IDX = null; $(async function() { let cameras = JSON.parse(await $.get('cameras.php')); cameras.forEach((camera) => { ...
import React, { Component, PropTypes } from 'react' import { Search, Grid } from 'semantic-ui-react' import { browserHistory } from 'react-router' import Tag from './Tag' import { search, setQuery, clearSearch } from '../actions/entities' import { MIN_CHARACTERS, DONE_TYPING_INTERVAL } from '../constants/search' cons...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Po...
<!-- HTML header for doxygen 1.8.10--> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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" cont...
require 'test_helper' class HostRedirectorTest < ActionController::TestCase tests MyController setup do @old_host = get_config_host set_config_host "localhost" end teardown do set_config_host @old_host end test "should get index" do request.host = "localhost" get :index ...
/*********************************************************************** * Copyright (c) 2015 Pieter Wuille * * Distributed under the MIT software license, see the accompanying * * file COPYING or https://www.opensource.org/licenses/mit-license.php.* ***************************...
# .NET CoreのプロジェクトをCIする方法 サンプル : https://ci.appveyor.com/project/KazuhitoMiura/dotnetcoresample/history MSの.NET系のCI…といえばAppVeyorなのですが、.NET Coreのやつは「今まだ対応されてない」ので、 `appveyor.yml` という設定ファイルを書きます。 UIと両方できるのですが、設定ファイルに書きます。 https://github.com/Remote-Pairpro/DotNetCoreSample/blob/master/appveyor.yml ランナーはxunitをつかってるので...
--- title: 'off-canvas' items: 1: url: / title: Front Page icon: home 2: url: /tools title: Tools icon: wrench 3: url: /forms title: Forms icon: files-o 4: url: /alerts title: Alerts icon: bell-o ---
PowerdnsOnRails::Application.configure do # Settings specified here will take precedence over those in config/environment.rb # The production environment is meant for finished, "live" apps. # Code is not reloaded between requests config.cache_classes = true # Full error reports are disabled and caching is t...
%"Èíòåëëåêòóàëüíûå" êðåñòèêè-íîëèêè íà Java Internet Prolog %êîìïüþòåð óìååò èãðàòü è çà êðåñòèêè, è çà 0 % (Ñ) À.À. Òþãàøåâ 2014 %Êëåòêè ïîëÿ çàäàþòñÿ êîîðäèíàòàìè, íàïèìåð, [3,1] - ïðàâûé âåðõíèé óãîë %ñíà÷àëà íîìåð âåðòèêàëè! % 1 2 3 %1 | | %--------------------- %2 | | %----...
''' Test cases for pyclbr.py Nick Mathewson ''' from test.test_support import run_unittest, import_module import sys from types import ClassType, FunctionType, MethodType, BuiltinFunctionType import pyclbr from unittest import TestCase StaticMethodType = type(staticmethod(lambda: None)) ClassMethodTyp...
<<<<<<< HEAD var xmlDoc; var xmlloaded = false; var _finalUrl; /* * input: none * output: none * gets zipcode from the zipcode text field */ function createURL() { var zip = document.getElementById("zipcode").value; var format = "&format=xml" var _clientId = "&client_id=API KEY"; var _url = "https:...
<div class="col-md-12 remove_padding"> <div class="col-md-4 right_padding ttt_pack" id="rmpd_calculate"> <div class="row col-md-12 header_new_style"> <h2 class="tt text_caplock">Location</h2> <span class="liner_landing"></span> ...
The MIT License (MIT) Copyright (c) 2015 copyright Juan Quemada 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, copy, modify,...
import { createElement } from 'react' import omit from 'lodash/omit' import { useSpring, animated } from '@react-spring/web' import { useTheme, useMotionConfig } from '@nivo/core' import { NoteSvg } from './types' export const AnnotationNote = <Datum,>({ datum, x, y, note, }: { datum: Datum x: ...
package pl.mmorpg.prototype.client.exceptions; public class UnknownSpellException extends GameException { public UnknownSpellException(String identifier) { super(identifier); } public UnknownSpellException(Class<?> type) { super(type.getName()); } }
FROM node WORKDIR /usr/src/app COPY package*.json client.js index.html rest-server.js UserModel.js ./ RUN npm ci EXPOSE 3000 CMD ["npm", "start"]
// This file was generated based on 'C:\ProgramData\Uno\Packages\Uno.Collections\0.13.2\Extensions\$.uno'. // WARNING: Changes might be lost if you edit this file directly. #ifndef __APP_UNO_COLLECTIONS_UNION_ENUMERATOR__OUTRACKS_SIMULATOR_BYTECODE_STATEMENT_H__ #define __APP_UNO_COLLECTIONS_UNION_ENUMERATOR__OUTRACKS...
--- layout: automation title: Automation of Paving, Surfacing, and Tamping Equipment Operators subtitle: Will robots and artificial intelligence take the job of Paving, Surfacing, and Tamping Equipment Operators? Get the facts. soc: code: 47-2071 title: Paving, Surfacing, and Tamping Equipment Operators definitio...
import { ILogger, getLogger } from './loggers'; import { CancellationToken, ICancellationToken } from '../util/CancellationToken'; import { Step } from './Step'; import { ModuleLoader } from './ModuleLoader'; import * as _ from 'underscore'; import { Guid } from '../util/Guid'; import { InjectorLookup, Module, ModuleRe...
<div class="usermanager_profile_edit"> <ion:usermanager request="form" attr="has_errors" form_name="profile_save"> <div class="greentab"><div class="greentab_head"><div><div><div><ion:translation term="module_usermanager_text_error" /></div></div></div></div><div class="greentab_content"><div><div> <div class="us...
# YUMMY License > **YoU make Money, I make MoneY.** If you don't make money using it, you are allowed to use the Software for free. 1. Permission is hereby granted to any person obtaining (A) a copy of this software and (B) a license code issued on [backpackforlaravel.com](https://backpackforlaravel.com) (the "Softwa...
from django.db import models from django.core.urlresolvers import reverse class Software(models.Model): name = models.CharField(max_length=200) def __unicode__(self): return self.name def get_absolute_url(self): return reverse('software_edit', kwargs={'pk': self.pk})
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>Децентрализированное Хранилище Данных</title> <link rel="stylesheet" href="/bootstrap-3.3.7/css/bootstrap.min.cs...
#!/usr/bin/python3 """ This bot uploads text from djvu files onto pages in the "Page" namespace. It is intended to be used for Wikisource. The following parameters are supported: -index:... name of the index page (without the Index: prefix) -djvu:... path to the djvu file, it shall be: ...
// Copyright 2015 LastLeaf, LICENSE: github.lastleaf.me/MIT 'use strict'; var fs = require('fs'); var fse = require('fs-extra'); var async = require('async'); var User = fw.module('/db_model').User; var exports = module.exports = function(conn, res, args){ User.checkPermission(conn, 'admin', function(perm){ if(!p...
# opencfp-vote
{{ _("test1") }} {{ _('test2') }} {{ _ 'test3' }} {{ _ "test3.1" _ 'test4' _ "test5" }} <%=_("test6")%> <%= _("test7") %>
/* * Copyright 2015 The Android Open Source Project * * 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/licenses/LICENSE-2.0 * * Unless required by applicab...
package edu.brown.cs.pianoHeroFiles; import java.io.BufferedOutputStream; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.ByteArrayInputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.FileRea...
$( document ).ready( function () { $( "#form" ).validate( { rules: { company: { required: true }, truckType: { required: true }, materialType: { required: true }, fromSite: { required: true }, toSite: { required: true }, hourIn: { required: true }, hourOut: { required: true...
# QCWeChatPay - 微信 APP 支付 Demo - 开发环境:Xcode 8.2,WeChatSDK-1.7.5,AFNetworking-3.1.0 - 微信 APP 支付集成说明见 [QianChia 的博客](http://www.cnblogs.com/QianChia/p/6206153.html)。
var axios = require("axios"); var expect = require("chai").expect; var MockAdapter = require("../src"); describe("MockAdapter asymmetric matchers", function () { var instance; var mock; beforeEach(function () { instance = axios.create(); mock = new MockAdapter(instance); }); it("mocks a post reque...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class UpdatePagesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table( 'pages...
'use strict'; var intlNameInitials = function () { }; var pattern = '{0}{1}'; function _firstLetter(text) { return text.charAt(0); } function _upperCase(letter) { if (letter === 'ı'){ return 'I'; } return letter.toUpperCase(); } function _isHangul(l){ if ((l > 44032) && (l < 55203)) {...
export default [ { radius: 6, sizeReduction: .85, branchProbability: 0.12, rotation: new THREE.Vector3(0, 1, 0), color: 'blue' },{ radius: 6, sizeReduction: .85, branchProbability: 0.21, rotation: new THREE.Vector3(0, 1, 0), color: 'blue' },{ radius: 3, sizeReduction: .87...
<?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 Hirocoin</source> <translation>Par Hirocoin</translation> </m...
VERSION := 1.1a ROOT := $(shell pwd) PATH := $(ROOT)/.luvit:$(PATH) all: module test: module checkit tests/* module: build/slnunicode/unicode.luvit build/slnunicode/unicode.luvit: build/slnunicode/slnunico.c $(CC) $(shell luvit-config --cflags | sed 's/ -Werror / /') -DluaI_openlib=luaL_openlib -shared -o ...
setTimeout(() => { import(/* webpackPreload: true */ "./lazy-chunk-2.js").then((mod) => mod.test() ); }, 750);
/* @font-face { font-family: 'Gotham-Book'; src: url(Gotham-Book.otf); src: local('Gotham-Book'), local('Gotham-Book'), url(Gotham-Book.otf) format('opentype'); } @font-face { font-family: 'Muli'; font-style: normal; font-weight: 400; src: local('Muli'), url('http://themes.googleusercontent.com/s...
<?php declare(strict_types=1); namespace Tests\Tsufeki\HmContainer\Definition; use PHPUnit\Framework\TestCase; use Psr\Container\ContainerInterface; use Tsufeki\HmContainer\Definition\Reference; /** * @covers \Tsufeki\HmContainer\Definition\Reference */ class ReferenceTest extends TestCase { public function te...
using NSubstitute; using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using Xunit; using Xunit.Abstractions; namespace PoshGit2.TabCompletion { public class TabCompletionTests { private readonly ITestOutputHelper _log; ...
package org.fayalite.sjs import org.fayalite.sjs.canvas.CanvasBootstrap import org.scalajs.dom import org.scalajs.dom.Node import org.scalajs.dom.raw.CanvasRenderingContext2D import org.scalajs.dom.raw.HTMLCanvasElement import rx.core.{Rx, Var} /** * Created by aa on 3/17/2016. */ object Schema extends SJSHelp {...
var Purest = require('purest'); function Facebook(opts) { this._opts = opts || {}; this._opts.provider = 'facebook'; this._purest = new Purest(this._opts); this._group = 'LIB:SOCIAL:FACEBOOK'; return this; } Facebook.prototype.user = function (cb) { var self = this; this._purest.query() ...
<!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" /> <title>Note Detail</title> <script src="http://code.jquery.com/jquery-2.2.4.min.js" integrity="sha256-BbhdlvQf/xTY9gja0Dq3HiwQF8LaCRTXxZKRutelT44=" cr...
<?php namespace Lollipop; defined('LOLLIPOP_BASE') or die('Lollipop wasn\'t loaded correctly.'); /** * Benchmark Class * * @author John Aldrich Bernardo * @email 4ldrich@protonmail.com * @package Lollipop * @description Class for recording benchmarks */ class Benchmark { /*...
#include <windows.h> #include "NativeCore.hpp" bool RC_CallConv IsProcessValid(RC_Pointer handle) { if (handle == nullptr) { return false; } const auto retn = WaitForSingleObject(handle, 0); if (retn == WAIT_FAILED) { return false; } return retn == WAIT_TIMEOUT; }
#!/usr/bin/env bash # build datatheme resources # usage: $ bash ./publi.sh # build & deploys datatheme resources to host s3 bucket # usage: $ bash ./publi.sh put dev.afgo.pgyi # dependencies: # aws cli : http://aws.amazon.com/cli/ # nodejs : https://nodejs.org/ # bawlk : https://github.com/tesera/bawlk datatheme_ro...
#ifndef SKULL_SERVICE_TYPES_H #define SKULL_SERVICE_TYPES_H #include "api/sk_txn.h" #include "api/sk_service.h" struct _skull_service_t { sk_service_t* service; const sk_txn_t* txn; sk_txn_taskdata_t* task; // If freezed == 1, user cannot use set/get apis to touch data. Instead // user s...
# read only In leveldb you may only open an instance in one process... but you could have other processes open the database in read only mode easily enough. You could also have each instance create it's own memtable, (and tail other's memtables... as long as there weren't too many) then you could have eventual consis...
#ifndef BITCOINGUI_H #define BITCOINGUI_H #include <QMainWindow> #include <QSystemTrayIcon> #include <QLabel> #include <QMap> #include "util.h" class TransactionTableModel; class WalletView; class ClientModel; class WalletModel; class WalletStack; class TransactionView; class OverviewPage; class AddressBookPage; cl...
package dev.jee6demo.jspes; import java.io.IOException; import java.io.PrintWriter; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.Date; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http....
<?php /** * This file is part of the PrestaCMSThemeBasicBundle * * (c) PrestaConcept <www.prestaconcept.net> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Presta\CMSThemeBasicBundle\DependencyInjection; use Symfony\Com...
using System; using Android.App; using Android.Content.PM; using Android.Runtime; using Android.Views; using Android.Widget; using Android.OS; namespace XF_ManySwitches.Droid { [Activity(Label = "XF_ManySwitches", Icon = "@drawable/icon", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | Con...
describe('controllers/home', function () { var di, Core, Home, Type, contentModel = { findOne: function() { } }, widgetHooks = [], widgetHook = { load: function (a, b, c) { widgetHooks.push({ ...
<!DOCTYPE html> <html xmlns:msxsl="urn:schemas-microsoft-com:xslt"> <head> <meta content="en-us" http-equiv="Content-Language" /> <meta content="text/html; charset=utf-16" http-equiv="Content-Type" /> <title _locid="PortabilityAnalysis0">.NET Portability Report</title> <style> ...
#ifndef APPSETTINGSSTORAGE_H #define APPSETTINGSSTORAGE_H #include <QDebug> #include <QCoreApplication> #include <QString> #include <QMap> #include <QSettings> #include <QDir> class AppSettingsStorage { public: enum Settings { ACCOUNT_LOGIN = 0, ACCOUNT_PASS, APP_RUN_ON_BOOT, APP_S...
<?php return array( /** @brief Table de liaison avec les mots clés */ 'table_liaison' => 'jayps_search_word_occurence', /** @brief Préfixe de la table de liaison avec les mots clés */ 'table_liaison_prefixe' => 'mooc_', /** @brief mots clés interdits */ 'forbidden_words' => array( // ...
/* vim: set syntax=javascript ts=8 sts=8 sw=8 noet: */ /* * Copyright 2016, Joyent, Inc. */ var BINDING = require('./lockfd_binding'); function check_arg(pos, name, value, type) { if (typeof (value) !== type) { throw (new Error('argument #' + pos + ' (' + name + ') must be of type ' + type)); } } functi...
'use strict'; angular.module('depthyApp') .controller('DrawCtrl', function ($scope, $element, depthy, $window, $timeout) { var drawer = depthy.drawMode, viewer = depthy.getViewer(), lastPointerPos = null, oldViewerOpts = angular.extend({}, depthy.viewer); drawer.setOptions(depthy.drawOpti...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="el_GR" version="2.1"> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About BigBang</source> <translation type="unfinished"/> </message> <message> <location lin...
<?php function event_stat_alexa_calculated($ranks){ } function event_stat_similarweb_calculated($ranks){ }
#include <stdio.h> int main() { int current_char, previous_char; printf("Input text below, multiple spaces will be escaped:\n"); previous_char = -1; while((current_char = getchar()) != EOF) { if (!(current_char == ' ' && previous_char == ' ')) { putchar(current_char); } previous_char = cu...
<!DOCTYPE html> <html dir="rtl" lan="en"> <head> <meta charset="utf-8"> <title>2018-AR-07-arrows</title> <script> window.stringsLanguage = 'ar'; </script> <script class="remove" type="text/javascript" src="../../../_common/modules/pemFioi/importModules-1.1_M.js" id="i...
<ion-header> <ion-navbar> <ion-title>会议查询</ion-title> <!-- <ion-buttons end (click)="presentPopover($event)"> <button ion-button icon-only> <ion-icon name="search"></ion-icon> </button> </ion-buttons> --> </ion-navbar> <div> <tab-slide (...
--- layout: tag_index tag: libraries ---
// *********************************************************************** // <copyright file="AssemblyInfo.cs" company="Holotrek"> // Copyright © Holotrek 2016 // </copyright> // *********************************************************************** using System.Reflection; using System.Runtime.CompilerServices...
<td> {{item.name}} </td> <td> {{item.age}} </td> <td> {{item.sex}} </td>
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); class My_PHPMailer { public function My_PHPMailer() { require_once('class.phpmailer.php'); } } ?>
<?php return array( 'service_manager' => array( 'factories' => array( 'Twilio\Options\ModuleOptions' => 'Twilio\Options\Factory\ModuleOptionsFactory', 'Twilio\Service\TwilioService' => 'Twilio\Service\Factory\TwilioServiceFactory' ) ) );
<?php $lang['date_year'] = 'Ano'; $lang['date_years'] = 'Anos'; $lang['date_month'] = 'Mês'; $lang['date_months'] = 'Meses'; $lang['date_week'] = 'Semana'; $lang['date_weeks'] = 'Semanas'; $lang['date_day'] = 'Dia'; $lang['date_days'] = 'Dias'; $lang['date_hour'] = 'Hora'; $lang['date_hours'] = 'Horas'; $lang['date_min...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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" con...
// Package time extends the time package in the stdlib. package time
/* eslint-disable node/no-deprecated-api */ module.exports.pathBasename = pathBasename module.exports.hasSuffix = hasSuffix module.exports.serialize = serialize module.exports.translate = translate module.exports.stringToStream = stringToStream module.exports.debrack = debrack module.exports.stripLineEndings = stripLi...