answer
stringlengths
15
1.25M
<?xml version="1.0" ?><!DOCTYPE TS><TS language="bs" version="2.1"> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About SpamSlayer</source> <translation type="unfinished"/> </message> <message> <location lin...
#pragma once #include <QWidget> #include <QSize> // Forward declarations. class QVBoxLayout; class QAbstractButton; // Multi purpose view container to help with maximization, focus management, and titlebar support. class rgViewContainer : public QWidget { Q_OBJECT public: rgViewContainer(QWidget* pParent = null...
<meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="generator" content="Bludit"> <!-- Generate <title>...</title> --> <?php echo HTML::metaTagTitle(); ?> <!-- Generate <meta name="description" content="..."> --> <?php echo HTML::metaTagDescription(); ?> <!-- Generate ...
import math from service.fake_api_results import ALL_TITLES, <API key>, <API key> <API key> = 20 def get_title(title_number): return <API key>.get(title_number) def _get_titles(page_number): nof_results = len(ALL_TITLES) number_pages = math.ceil(nof_results / <API key>) start_index = page_number * <API ...
#//%2005//////////////////////////////////////////////////////////////////////// #// Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems. #// IBM Corp.; EMC Corporation, The Open Group. #// IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group. #// EMC Corporation; VERITAS Software Corporation; ...
using System; namespace Firestorm.Stems.Analysis { <summary> Exception that is thrown when <see cref="StemAttribute"/>s have been setup incorrectly. </summary> public class <API key> : Exception // TODO StemException from Fuel? { public <API key>(string message) : base(message) ...
package pl.java.scalatech.basic; import static org.assertj.core.api.Assertions.assertThat; import static org.junit.runners.MethodSorters.NAME_ASCENDING; import java.util.List; import java.util.Map; import org.junit.FixMethodOrder; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans....
package jp.ac.nii.prl.mape.controller.service; import jp.ac.nii.prl.mape.controller.model.MAPEKComponent; public interface <API key> { void put(MAPEKComponent kb, String bx, String view, String param); String get(MAPEKComponent kb, String bx, String param); }
var boletesPinya = $.merge($.merge($.merge($("#cDB").find("path"), $("#cB4").find("path")), $("#cB3").find("path")), $("#cB2").find("path")); var boletesTronc = $.merge($.merge($("#cB4").find("path"), $("#cB3").find("path")), $("#cB2").find("path")); var usedTweets = {}; $(document).ready(function () { $.each(bolet...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after*...
# <API key>: true # Grammar for a simple subset of English language # It is called nano-English because it has a more elaborate # grammar than pico-English but remains still tiny compared to "real" English require 'rley' # Load the gem # Define a grammar for a nano English-like language # based on chapter 12 from Juraf...
package org.nnsoft.shs.core.http.parse; import org.nnsoft.shs.core.http.MutableRequest; import org.nnsoft.shs.core.http.<API key>; /** * ParserTrigger instances are invoked depending on the {@link ParserStatus}. */ interface ParserTrigger { /** * Performs an parse action on the input token, adding data to th...
// recognized in your jurisdiction. #pragma once #ifndef <API key> #define <API key> #include <stddef.h> #include <string> //typedef String #include <stdint.h> //typedef int64_t, uint64_t If defined, indicates that json library is embedded in CppTL library. //# define JSON_IN_CPPTL 1 If defined, indicates that json may...
<?php namespace prgTW\ErrorHandlerBundle\Command; use prgTW\ErrorHandler\Error\ErrorException; use prgTW\ErrorHandlerBundle\ErrorHandler; use prgTW\ErrorHandler\Metadata\Metadata; use Symfony\Bundle\FrameworkBundle\Command\<API key>; use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input...
<?php class Addsemester_model extends CI_Model { function validateSem($semesterid) { $this->db->select('semester_id'); $this->db->where('semester_id', $semesterid); $query = $this->db->get('semester'); if ($query->result_array()) { return TRUE; } else { ...
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>W29155_text</title> <link rel="stylesheet" type="text/css" href="style.css" /> </head> <body> <div style="margin-left: auto; margin-right: auto; width: 800px; overflow: hidden;"> ...
<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>...
var sc1 = { //funhouse mirror setup:function(){ // videoSetup(); tree = new TREE(); tree.generate({ joints: [5,3,1,10], divs: [1], start: [0,0,2,0], angles: [0,Math.PI/2,1], length: [20,15,4,1], ...
<!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.css...
ALTER PROCEDURE [dw].[<API key>] AS TRUNCATE TABLE dw.[f_amk_julkaisut_f_i]; INSERT INTO dw.[f_amk_julkaisut_f_i] ( [d_amk_id] ,[d_koulutusala_id] ,[d_ohjauksenala_id] ,d_julkaisutyyppi_id ,<API key> ,d_tieteenala_id ,[vuosi] ,[julkaisujen_maara] ,[loadtime] ,[source] ,[usern...
'use strict'; function simplifyDecombs(decombs) { return decombs.map(decomb => { let torsoUp = Object.keys(decomb).map(part => decomb[part]).some(comb => { if (comb == null) return false; return comb.skills[''] ? true : false; }); let names = []; Object.keys(d...
# <API key> An NSBlockOperation subclass which can tolerate asynchronous calls from within its block. ## The Problem Calling asynchronous methods from within the block of an `NSBlockOperation` will lead to problems when being used with an operation queue which is concurrency limited (i.e. `NSOperationQueue.<API key> = ...
"use strict"; let datafire = require('datafire'); let openapi = require('./openapi.json'); module.exports = datafire.Integration.fromOpenAPI(openapi, "billbee");
# UVaProblems Python code for UVa problems (https://uva.onlinejudge.org)
$redis = Redis.new #Redis instance for cron jobs $redis_cron = Redis.new
pem Create private keys and certificates with node.js [![Build Status](https: [![npm version](https: ## Installation Install with npm npm install pem ## Examples Here are some examples for creating an SSL key/cert on the fly, and running an HTTPS server on port 443. 443 is the standard HTTPS port, but requires roo...
// Generated by CoffeeScript 1.6.3 var _this = this; if (typeof define !== 'function' || !define.amd) { this.require = function(dep) { return (function() { switch (dep) { case 'jquery': return _this.jQuery; default: return null; } })() || (function() { thr...
import * as C from "../../actions/ActionCreators"; import * as Routing from "react-router-redux"; import { Effect } from "redux-saga/effects"; import { takeLatest } from "redux-saga"; /** * Saga handler to load the strings */ function* updateBodyClass(action: Routing.RouterAction): IterableIterator<Effect | any> { ...
# Concatenate Two Arrays # I worked on this challenge by myself. # Your Solution Below def array_concat(array_1, array_2) new_array = [] n = 0 array_1.each do |x| new_array[n] = x n = n + 1 end array_2.each do |x| new_array[n] = x n = n + 1 end return new_array end #method 2 (easiest, bu...
import datetime import re import sys from collections import deque from decimal import Decimal from enum import Enum from ipaddress import IPv4Address, IPv4Interface, IPv4Network, IPv6Address, IPv6Interface, IPv6Network from pathlib import Path from types import GeneratorType from typing import Any, Callable, Dict, Typ...
import ROOT from math import pi, sqrt, pow, exp import scipy.integrate import numpy from array import array alpha = 7.2973e-3 m_e = 0.51099892 Z_Xe = 54 Q = 2.4578 def F(Z, KE): E = KE + m_e W = E/m_e Z0 = Z + 2 if W <= 1: W = 1 + 1e-4 if W > 2.2: a = -8.46e-2 + 2.48e-2*Z0 + 2.37e-4*...
![](FlexEngine/screenshots/<API key>.png) [![linux](https: [![MIT licensed](https: [![forthebadge](https: Flex Engine is a personal game engine I began work on in February 2017. I use it as a playground for learning about real-time techniques. I try to keep [master](https: # Notable Features - Vulkan backend - Conditio...
'use strict' module.exports = function (config) { if (!process.env.COOKING_PATH) { return } const rootPath = process.env.COOKING_PATH.split(',') config.resolve = config.resolve || {} config.resolveLoader = config.resolveLoader || {} config.resolve.modules = (config.resolve.root || []).concat(rootPath) ...
#pragma once #include <pebble.h> #include "global.h" #include "pbl_64_hex_colours.h" #ifdef INCLUDE_WEATHER typedef struct { char glyph; uint32_t colour; } GLYPH; typedef struct { int num_glyphs; GLYPH *glyphs; } WEATHER_ICON; static const GLYPH g_mist = { 'I', PBL_IF_COLOR_ELSE( LightGray, White ) }; static co...
import { Component, OnInit, Inject } from '@angular/core'; import { MatDialog, MatDialogRef, MAT_DIALOG_DATA } from '@angular/material'; import { Materiaal, Reservering } from '../../models/index'; import { Subscription } from 'rxjs/Subscription'; import { MaterialenService, ReserveringService } from '../../services/in...
#!/bin/bash _root() { tty=${1:-$(tmux display -p '#{pane_tty}')} username=$(_username "$tty" false) if [ x"$username" = x"root" ]; then tmux show -gqv '@root' else echo "" fi } _root
var xhrGet = function (url, callback) { var xhr = new XMLHttpRequest(); xhr.open('GET', url, true); xhr.onload = callback; xhr.send(); };
/*jslint browser: true*/ /*global Tangram, gui */ map = (function () { 'use strict'; var locations = { 'Yangon': [16.8313077,96.2187007,7] }; var map_start_location = locations['Yangon']; /*** Map ***/ var map = L.map('map', {"keyboardZoomOffset" : .05, maxZoom: 20 } ); v...
## shhigt [... when you accidentally git commit secrets!](https://shhgit.darkport.co.uk/)
<?php return array ( 'id' => '<API key>', 'fallback' => 'nokia_n8_00_ver1', 'capabilities' => array ( 'image_inlining' => 'true', ), );
<?php defined( '_JEXEC' ) or die; abstract class <API key> extends <API key> { /** * @param mixed $params An array of updates, or a property name * @param mixed $value A value with which to update the resource * * @return null */ public function update($params, $value = null) {...
package helper; import bean.CorpDetat; import java.util.List; import javax.swing.JTable; /** * * @author kamal */ public class CorpDetatHelper extends AbstractViewHelper<CorpDetat>{ public CorpDetatHelper(JTable jTable, List<CorpDetat> corpDetats) { super(new String[]{ "Corp Detat"}); this.jTable = ...
#!/usr/bin/perl use strict 'vars'; use warnings; use diagnostics; # Name: tag_pgn_file.pl # Purpose: take a PGN file containing one or more games as input. # Write one material balance sheet per game as output. Use a new # field called "Key = " to connect the PGN file to the material # balance sheet file. # Next: # wri...
<?php abstract class InvoiceOcean { /** * @var bool */ private $_debug = false; /** * @var string */ private $_api_url_sample = 'https://[USERNAME].invoiceocean.com/'; /** * @var mixed */ private $_api_url; /** * @var */ private $_api_token; /*...
package soap import ( "bytes" "crypto/tls" "fmt" "io/ioutil" "net/http" "encoding/xml" "strings" "encoding/json" ) //BasicAuthGet adds basic auth and perform a request to path func BasicAuthGet(path, username, password string) ([]byte, int, error) { request, err := BasicAuthRequest(p...
#pragma once #include "GameFramework/PlayerController.h" #include "<API key>.generated.h" class <API key>; UCLASS() class BATTLETANK_API <API key> : public APlayerController { GENERATED_BODY() protected: UFUNCTION(<API key>, Category = "Setup") void <API key>(<API key> *aimingCompRef); UFUNCTION() v...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <meta name="description" content="Code. Daten. Journ...
require 'spec_helper' RSpec.describe JwtMe do it 'has a version number' do expect(JwtMe::VERSION).not_to be nil end end
var height = window.innerHeight; // console.log(height); var main = document.getElementById('main'); var btn = document.getElementById("btn"); main.style.height = height + 'px'; btn.style.top = (height-90) + 'px'; document.getElementById('usr_name').onkeydown = function(e) { e = e || event; if(e.keyCode === 13)...
require 'formula' class Acpica < Formula homepage 'https: url 'https://acpica.org/sites/acpica/files/<API key>.tar.gz' sha256 '<SHA256-like>' head 'https://github.com/acpica/acpica.git' def install ENV.deparallelize system "make", "HOST=_APPLE", "PREFIX=#{prefix}" system "make", "install", "HOST=_...
/* * default/mouse-push-button.js */ "use strict"; var Q = require('q'), Button = require('./../../button'); var MousePushButton = function (options) { Button.prototype.constructor.call(this, options); this.delay = options.delay > 0 ? options.delay : 0; this.g = null; if(typeof options.g === 'func...
const industry = [ { "name": "", "children": [ { "name": "" }, { "name": "" }, { "name": "" }, { "name": "/" }, { "name": "" } ] }, { "name": "", "children": [ { "name": "/" }, { "name": "/" }, { "name": "" }, ...
{{{ "title" : "Post Two", "author" : "John Doe", "description" : "This is the second post.", "categories" : [ "bar", "baz" ], "tags" : [ "alpha", "bravo" ], "date" : "2016-01-02" }}} This is post two.
<!DOCTYPE HTML PUBLIC "- <!--NewPage <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_65) on Fri Dec 06 02:55:14 GMT 2013 --> <TITLE> Uses of Class node.data.StaticDataLoader </TITLE> <META NAME="date" CONTENT="2013-12-06"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"> <SCRIP...
# encoding: ascii-8bit module Bitcoin::Gui class TxView < TreeView def initialize gui, replace = nil super(gui, :tx_view, [ [GObject::TYPE_STRING, "Type"], [GObject::TYPE_STRING, "Hash"], [GObject::TYPE_STRING, "Value", :format_value_col], [GObject::TYPE_INT, "Confirm...
onst bcrypt = require('bcrypt-nodejs'); const crypto = require('crypto'); console.log('start'); bcrypt.genSalt(10, (err, salt) => { bcrypt.hash('passwd', salt, null, (err, hash) => { console.log(hash); }); });
# 203. Remove Linked List Elements Difficulty: Easy https://leetcode.com/problems/<API key>/ Remove all elements from a linked list of integers that have value val. **Example:** Input: 1->2->6->3->4->5->6, val = 6 Output: 1->2->3->4->5
<! # remark A simple, in-browser, markdown-driven slideshow tool targeted at people who know their way around HTML and CSS https://github.com/gnab/remark <!DOCTYPE html> <html> <head> <title>Initiation a drupal</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <style type="text/...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> ...
import { privatize as P } from '@ember/-internals/container'; import { getOwner } from '@ember/-internals/owner'; import { guidFor } from '@ember/-internals/utils'; import { addChildView, OwnedTemplateMeta, setElementView, setViewElement, } from '@ember/-internals/views'; import { assert, debugFreeze } from '@e...
class <API key>(object): def __init__(self, enable=None, text=None, html=None, substitution_tag=None): self._enable = None self._text = None self._html = None self._substitution_tag = None if enable is not None: self.enable = enable if text is not None: ...
<?php namespace TCG\Voyager\Models; use Illuminate\Database\Eloquent\Model; use TCG\Voyager\Facades\Voyager; class Languages extends Model { protected $table = 'admin_language'; public function posts() { return $this->hasMany(Voyager::modelClass('Post'))->published(); } }
# City Defense As a powerful, invulnerable ship, defend your city from the aliens invading from space. If three aliens pass your defenses and get into the city, it's game over! [Game Design Doc](GameDesignDoc.md) ## Usage shell # Compile qmake -project qmake make # Doxygen doxygen -g config.txt doxygen config.txt # Run...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Auction extends CI_Controller { public $id_auction; public $tabNav; public function __construct(){ parent::__construct(); if(!$this->session->userdata('admin')){ redirect(site_url()); } $t...
/*! * \file * \brief Class module::Decoder_turbo. */ #ifndef DECODER_TURBO_HPP_ #define DECODER_TURBO_HPP_ #include <vector> #include <memory> #include <mipp.h> #include "Tools/Code/Turbo/<API key>/<API key>.hpp" #include "Module/Interleaver/Interleaver.hpp" #include "Module/Decoder/Decoder_SIHO.hpp" #include "Modul...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="it" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About MyBroCoin</source> <translation>Info su MyBroCoin</translation> ...
# HumanName [![Gem Version](https: [![Build Status](https: Never write `def full_name` again! ## Installation Add this line to your application's Gemfile: gem 'human_name' And then execute: $ bundle Or install it yourself as: $ gem install human_name ## Usage ruby require "rubygems" require "human_name" cla...
<?php namespace Brasa\RecursoHumanoBundle\Entity; use Doctrine\ORM\Mapping as ORM; /** * @ORM\Table(name="rhu_proyeccion") * @ORM\Entity(repositoryClass="Brasa\RecursoHumanoBundle\Repository\<API key>") */ class RhuProyeccion { /** * @ORM\Id * @ORM\Column(name="<API key>", type="integer") * @ORM\G...
<?php if(!App\Requests\Request::$ajax) { require ROOT . '/app/Layouts/Admin/Header.php'; require ROOT . '/app/Layouts/Admin/Menu.php'; } ?> <div class="content-wrapper" data-locales="admin_articles"> <div class="content-header"> <div class="header-mainline"> <h2 class="mainline-heading" ...
package coinbase import ( "os" "testing" ) func createBuysClient(t *testing.T) (c *Client) { c = &Client{ APIKey: os.Getenv("COINBASE_API_KEY"), } if c.APIKey == "" { t.Skip("Coinbase api key is missing (should be in the COINBASE_<TwitterConsumerkey> variable)") } return c } ...
using SSPES.BD; using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Web; namespace SSPES.Models { public class VariableModel { private Conexion con = new Conexion(); protected string nombre { get; set; } protected string tipoDato { get; set; } ...
'use strict' const { spawn } = require('@malept/cross-spawn-promise') const which = require('which') function <API key> (err, hasLogger) { if (hasLogger && err.code === 'ENOENT' && err.syscall === 'spawn mono') { let installer let pkg if (process.platform === 'darwin') { installer = 'brew' pkg...
<div class="container heading"> <div> <h4> CONGRATULATIONS, YOU’RE A WINNER OF THE 2015-2016 </h4> <br/> <h1> PRESIDENT'S CLUB </h1> </div> <div class="lead">MARCH 1-5, 2016 <div class="seal" /> HONOLULU, HAWAII </div> </div> <div c...
ETL::Engine.process(File.dirname(__FILE__) + '/store_dimension.ctl')
import Ember from 'ember'; export default Ember.Object.extend({ animate($element, effect, duration) { }, finish($elements) { } });
import novaclient from novaclient.exceptions import NotFound import novaclient.client from keystoneauth1 import loading from keystoneauth1 import session import neutronclient.v2_0.client import cinderclient.v2.client from osc_lib.utils import wait_for_delete import taskflow.engines from taskflow.patterns import linear_...
<div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true"><li class="fa fa-remove"></li></button> <h5 class="modal-title"></h5> </div> <div class="modal-body"> <form id="whisper_nodes_form" name="whisper_nodes_form" class="form-horizontal"> <input type="h...
<?php # MantisBT - A PHP based bugtracking system # MantisBT is free software: you can redistribute it and/or modify # (at your option) any later version. # MantisBT is distributed in the hope that it will be useful, # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the require_once( 'core.php' ); require_api...
package flip type FactoryBody struct { // AWS access key. AwsAccessKey string `json:"aws_access_key,omitempty"` // AWS secret key. AwsSecretKey string `json:"aws_secret_key,omitempty"` // A region where the factory is located. FactoryRegion string `json:"factory_region,omitempty"` // A patte...
#!/usr/bin/env python3 import unittest import <API key> as gcd class <API key>(unittest.TestCase): def setUp(self): # use tuple of tuples instead of list of tuples because data won't change # a, b, expected self.test_data = ((12, 8, 4), (9, 12, 3), ...
-- Collect examples for each grounded topic of the taxonmy to train a text -- classification model -- define tables: taxonomy_articles, <API key> DROP TABLE IF EXISTS taxonomy_articles; CREATE TABLE taxonomy_articles ( id varchar(300), grounded_topic varchar(300) ); -- insert articles that are directly categori...
// validate and import user arguments (function(args){ for (_i = 0; _i < args.length; _i += 1) { // import arguments if defined, else defaults _settings[args[_i]] = options && options[args[_i]] ? options[args[_i]] : defaults[args[_i]]; // validate data types if(typeof _settings[args[...
//{{NO_DEPENDENCIES}} // Microsoft Visual C++ generated include file. // Used by AzDailyWorkspace.rc #define IDS_APP_TITLE 103 #define IDR_MAINFRAME 128 #define <API key> 102 #define IDD_ABOUTBOX 103 #define IDM_ABOUT 104 #define IDM_EXIT 105 #define <AP...
layout: post title: "Front-end" date: 2016-04-28 15:43:00 categories: bookmark tags: js regexp pattern css * content {:toc} * [JS ](http: * [CSS](https://developer.mozilla.org/zh-CN/docs/Web/Guide/CSS/Getting_started/How_CSS_works)
#!/bin/sh # Generate HTML output from test result. THISDIR=$(dirname $(readlink -f "$0")) LOGDIR=$THISDIR/logs HTMLDIR=$THISDIR/html GREEN="#2ecc71" GREY="#bdc3c7" RED="#e74c3c" TESTING_LOGS="https://raw.githubusercontent.com/tswcos/<API key>/master" deby_machines="''" deby_tiny_machines="''" ${HTMLDIR}index.htm...
import MailPreview from '../components/MailPreview.vue'; import icons from "trumbowyg/dist/ui/icons.svg"; import "trumbowyg/dist/ui/trumbowyg.css"; import "trumbowyg/dist/trumbowyg.js"; import "./<API key>.js"; $.trumbowyg.svgPath = icons; window.remplib = typeof(remplib) === 'undefined' ? {} : window.remplib; let beau...
var baseSortedIndex = require('./_baseSortedIndex'); /** * This method is like `_.sortedIndex` except that it returns the highest * index at which `value` should be inserted into `array` in order to * maintain its sort order. * * @static * @memberOf _ * @category Array * @param {Array} array The sorted array to...
myApp.factory('HomeWatchFactory', function ($http, $q, $rootScope, $log) { return { getFhemJsonList: function (name, type) { var url = ''; if ($rootScope.config.connection.isDebug) { url = 'json/homewatch/data/' + name + '.json'; } else { u...
using System; using System.Collections.Generic; using System.Text; using System.Diagnostics; using System.Runtime.Serialization; namespace HTLib2 { [Serializable] public partial class MatrixByColRow : Matrix { // member variables double[][] arr; // Matrix public override in...
package ua.com.fielden.platform.sample.domain; import ua.com.fielden.platform.entity.AbstractEntity; import ua.com.fielden.platform.entity.DynamicEntityKey; import ua.com.fielden.platform.entity.annotation.CompanionObject; import ua.com.fielden.platform.entity.annotation.CompositeKeyMember; import ua.com.fielden.platfo...
module.exports = function(grunt) { 'use strict'; // Project configuration. grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), bowercopy: { options: { clean: false }, glob: { files: { 'static/libs/js': [
package util import ( "net/http" "github.com/dgrijalva/jwt-go" "github.com/mb-dev/godo/config" ) func JWTMiddleware(rw http.ResponseWriter, req *http.Request, next http.HandlerFunc) { token, err := jwt.ParseFromRequest(req, func(token *jwt.Token) ([]byte, error) { return []byte(config.<API key>.KeySecret), ...
<div class="commune_descr limited"> <p> Le&nbsp;Port-Marly est une ville localisée dans le département des Yvelines en Île-de-France. Elle totalisait 4&nbsp;608 habitants en 2008.</p> <p>Le&nbsp;Port-Marly est localisé à seulement 6 km de Nanterre, les élèves qui souhaiteront se loger à pas cher pourront envisa...
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title><API key> - neotoma Database</title> <!-- Tell the browser to be responsive to screen width --> <meta content="width=device-width, initial-scale=1, maximum-scale=...
package net.blay09.mods.bmc.chat; import com.google.common.collect.Maps; import net.minecraft.util.text.TextFormatting; import java.util.Map; import java.util.Random; public class RandomNameColors { private static final Random random = new Random(); private static final TextFormatting[] VALID_COLORS = new TextF...
/* *= require mdec_cms/admin/global *= require mdec_cms/admin/bootstrap.min *= require mdec_cms/admin/bootstrap-select.min */
#define _POSIX_SOURCE #define _POSIX_C_SOURCE 200112L #include <stdio.h> #include <unistd.h> #include <string.h> #include <errno.h> #include <stdlib.h> int main(int argc, char**argv){ if ((argc != 2) || (0 == strcmp(argv[1], "-h"))){ printf("usage: %s path\n", argv[0]); return 1; } int retval = 0; /* pa...
<?php namespace Pinq\Analysis; use Pinq\Expressions as O; /** * Interface of a type. * * @author Elliot Levin <elliotlevin@hotmail.com> */ interface IType { /** * Whether the type has a parent type. * * @return boolean */ public function hasParentType(); /** * Gets the parent ty...
<!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 `<API key>` fn in crate `rustc_typeck`."> <meta name="keywo...
public class Heap { public static <E extends Comparable<E>> void sort(E[] array) { constructHeap(array); sortHeap(array); String debug = ""; } private static <E extends Comparable<E>> void sortHeap(E[] array) { for (int i = array.length - 1; i >= 1; i swap(array, ...