answer
stringlengths
15
1.25M
//Draw at the console a filled square of size n like in the example: namespace <API key> { using System; class DrawAFilledSquare { static void Main() { int n = int.Parse(Console.ReadLine()); PrintHeaderRow(n); for (int i = 0; i < n-2; i++) { ...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="sk" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About StreamCoin</source> <translation>O StreamCoin</translation> </me...
using System; using Newtonsoft.Json; using VkNet.Enums; using VkNet.Enums.Filters; using VkNet.Enums.SafetyEnums; using VkNet.Utils.JsonConverter; namespace VkNet.Model.RequestParams { <summary> Параметры метода users.search </summary> [Serializable] public class UserSearchParams { <summ...
package smash.data.tweets.pojo; import java.io.Serializable; import java.math.BigDecimal; import java.util.ArrayList; import java.util.List; /** * @author Yikai Gong */ public class TweetCoordinates implements Serializable { private String type; // Order in lon-lat. Follow the GeoJSON/WKT standard which JTS is ho...
<!DOCTYPE HTML PUBLIC "- <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (1.8.0_31) on Wed Dec 17 20:47:30 PST 2014 --> <title>URLDecoder (Java Platform SE 8 )</title> <meta name="date" content="2014-12-17"> <meta name="keywords" content="java.net.URLDecoder class"> <meta name="keywords" content="dec...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace DockSample { public partial class SplashScreen : Form { public SplashScreen() { Initialize...
# coding=utf-8 # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is regenerated. from ._test_base import TestBase __all__ = ['TestBase']
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Poseidon.Energy.Core.DL { using Poseidon.Base.Framework; using Poseidon.Base.Utility; <summary> </summary> public class Measure :...
// this software and associated documentation files (the "Software"), to deal in the // Software without restriction, including without limitation the rights to use, copy, // and to permit persons to whom the Software is furnished to do so, subject to the // following conditions: // copies or substantial porti...
Application Performance Monitoring with Airbrake makes it easy to: - **Understand high-level performance:** Quickly see a broad performance overview for your whole application. - **Monitor user satisfaction:** Measure user satisfaction with your app performance using Apdex. - **Catch problem routes:** Identify rout...
import {Manager} from './manager' export {Filterer} from './filter'; export {Logger} from './logger'; export {Manager}; var logging = new Manager(); export default logging;
# Ant # copy of this software and associated documentation files (the "Software"), # to deal in the Software without restriction, including without limitation # and/or sell copies of the Software, and to permit persons to whom the # Software is furnished to do so, subject to the following conditions: # all copies or su...
Function Get-HostsFile { < .SYNOPSIS Split out the windows HOST file and converts it into a custom object .DESCRIPTION Split out the windows HOST file and converts it into a custom object .PARAMETER InputFile Use an alternative file instead of the default .EXAMPLE Get-Hos...
<!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 v0.10.1: v8::String::<API key> Class Reference</title> ...
import os from ConfigParser import ConfigParser from amlib import argp tmp_conf = ConfigParser() tmp_path = os.path.dirname(os.path.abspath(__file__)) # /base/lib/here tmp_path = tmp_path.split('/') conf_path = '/'.join(tmp_path[0:-1]) # /base/lib tmp_conf.read(conf_path+'/ampush.conf') c = {} c.update(tmp_conf.item...
import React from 'react'; import Todo from './Todo'; const TodoList = ({todos, onTodoClick}) => { return ( <ul> { todos.map ( todo => <Todo key={todo.id} {...todo}...
#include "Object.h" // #include <SFML/Audio.hpp> // for playing sounds namespace { using namespace ogl; // taken from http://www.ecse.rpi.edu/Homepages/wrf/Research/Short_Notes/pnpoly.html#The C Code // Argument Meaning // nvert Number of vertices in the polygon.Whether to repeat the firs...
# encoding: UTF-8 # This file is auto-generated from the current state of the database. Instead # of editing this file, please use the migrations feature of Active Record to # incrementally modify your database, and then regenerate this schema definition. # Note that this schema.rb definition is the authoritative sourc...
<div class="commune_descr limited"> <p> Saint-Privat est une ville géographiquement positionnée dans le département de l'Ardêche en Rhône-Alpes. On dénombrait 1&nbsp;540 habitants en 2008.</p> <p>À proximité de Saint-Privat sont situées les villes de <a href="{{VLROOT}}/immobilier/<API key>/"><API key></a> à 2&...
package com.bellini.recipecatalog.exception.recipe; public class <API key> extends RuntimeException { private static final long serialVersionUID = <API key>; private Long id; public <API key>(Long id) { super(); if (id == null) { throw new <API key>("Null object used as initializ...
requirejs.config({ // baseUrl: '/', paths: { lodash: '//cdnjs.cloudflare.com/ajax/libs/lodash.js/2.4.1/lodash', jquery: '//code.jquery.com/jquery-1.11.0.min', react: '//cdnjs.cloudflare.com/ajax/libs/react/0.13.3/react-with-addons' }, shim: { lodash: {exports: '_'}, ...
package biz.golek.whattodofordinner.view.activities; import android.support.annotation.NonNull; import android.support.v7.app.ActionBar; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.ContextMenu; import android.view.MenuInflater; import android.view.MenuItem; import andr...
Gem.find_files('slackbot_frd*.rb').each do |path| require path.gsub(/\.rb$/, '') unless path =~ /bot.*cli/ end
# encoding: utf-8 from __future__ import unicode_literals import operator import pytest from marrow.mongo import Filter from marrow.schema.compat import odict, py3 @pytest.fixture def empty_ops(request): return Filter() @pytest.fixture def single_ops(request): return Filter({'roll': 27}) def test_ops_iteration(...
export const bubble = {"viewBox":"0 0 16 16","children":[{"name":"path","attribs":{"fill":"#000000","d":"M8 1c4.418 0 8 2.91 8 6.5s-3.582 6.5-8 6.5c-0.424 0-0.841-0.027-1.247-0.079-1.718 1.718-3.77 2.027-5.753 2.072v-0.421c1.071-0.525 2-1.48 2-2.572 0-0.152-0.012-0.302-0.034-0.448-1.809-1.192-2.966-3.012-2.966-5.052 0-...
<?php namespace SVG\Nodes\Filters; use SVG\Nodes\SVGNodeContainer; use SVG\Rasterization\SVGRasterizer; /** * Represents the SVG tag 'feComponentTransfer'. */ class <API key> extends SVGNodeContainer { const TAG_NAME = 'feComponentTransfer'; public function __construct() { parent::__construct(); ...
export { default } from 'ember-fhir/serializers/timing-repeat';
import { Route } from '@angular/router'; import { LoginComponent } from './index'; export const LoginRoutes: Route[] = [ { path: 'login', component: LoginComponent } ];
// <auto-generated /> using ArragroCMS.BusinessLayer.Data.EFCore; using ArragroCMS.Core.Enums; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storag...
require File.expand_path(File.join(File.dirname(__FILE__), "test_helper")) require 'onelogin/ruby-saml/slo_logoutresponse' class <API key> < Minitest::Test describe "SloLogoutresponse" do let(:settings) { OneLogin::RubySaml::Settings.new } let(:logout_request) { OneLogin::RubySaml::SloLogoutrequest.new(<API k...
<?php //<API key> $ranges=Array( "2382430208" => array("2382495743","CA"), "2382495744" => array("2382561279","CA"), "2382561280" => array("2382626815","CA"), "2382626816" => array("2382692351","CA"), "2382692352" => array("2382757887","CA"), "2382757888" => array("2382823423","CA"), "2382823424" => array("2382888959",...
package twg2.template.codeTemplate; import java.util.ArrayList; import java.util.List; import java.util.Map; /** * @param <T> the {@link ClassInfo} to build * * @author TeamworkGuy2 * @since 2015-1-24 */ public final class <API key><T extends ClassInfo> { private T tmpl; public <API key>(T tmpl) { ...
<?php get_header(); $sidebar = ot_get_option( 'search_page_sidebar', 'yes' ); $content_class = 'sixteen'; if ( $sidebar == 'yes' ) $content_class = 'eleven'; $cat_title = single_cat_title( '', false ); $cat_id = get_query_var( 'cat' ); $count = 0; global $paged; ?> <div class="pa...
$(document).ready(function() { //Note: default min/max ranges are defined outside of this JS file //include "js/<API key>.js" before running this script //generate Bouldering rating selection upon click //Find which boulder grading system is selected and update the difficulty range
<HTML><HEAD> <TITLE>Review for Mercury Rising (1998)</TITLE> <LINK REL="STYLESHEET" TYPE="text/css" HREF="/ramr.css"> </HEAD> <BODY BGCOLOR="#FFFFFF" TEXT="#000000"> <H1 ALIGN="CENTER" CLASS="title"><A HREF="/Title?0120749">Mercury Rising (1998)</A></H1><H3 ALIGN=CENTER>reviewed by<BR><A HREF="/ReviewsBy?Nathaniel+R.+A...
<?php declare(strict_types=1); namespace App\Persistence\Query\Constraint; class Lt extends FieldValue { const OP = '<'; }
# YADB Personal Development Blog / Journal <ul> {% for post in site.posts %} <li> <a href="{{ post.url }}">{{ post.title }}</a> {{ post.excerpt }} </li> {% endfor %} </ul>
'use strict'; jQuery(document).ready(function ($) { var lastId, topMenu = $("#top-navigation"), topMenuHeight = topMenu.outerHeight(), // All list items menuItems = topMenu.find("a"), // Anchors corresponding to menu items scrollItems = menuItems.map(function () { ...
require 'simplecov' require 'coveralls' Coveralls.wear! SimpleCov.start 'rails' do SimpleCov.formatters = [ SimpleCov::Formatter::HTMLFormatter, Coveralls::SimpleCov::Formatter ] add_filter '/spec/' end require 'lita-wit' require 'lita/rspec' require 'lita_config' # A compatibility mode is provided for ol...
import {Issue} from "../issue"; import {IObject} from "../objects/_iobject"; import {IRule, IRuleMetadata, RuleTag} from "./_irule"; import {BasicRuleConfig} from "./_basic_rule_config"; import {IRegistry} from "../_iregistry"; export class <API key> extends BasicRuleConfig { } export class AllowedObjectNaming implemen...
layout: post title: MA Parish Using Social Media/Website Effectively author: Jeff Geerling nid: 288 comments: true redirect_from: /blog/oscatholic/<API key>/ created: 1277481145 <p>After reading <a href="http://www.catholicnews.com/data/stories/cns/1002362.htm">this article from the CNS</a> about a Massachusetts parish...
# coding=utf-8 # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is regenerated. from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union import warnings from azure.core.async_paging import AsyncItemPaged, Async...
<?php abstract class BaseGgSettingsPeer { const DATABASE_NAME = 'propel'; const TABLE_NAME = 'gg_settings'; const CLASS_DEFAULT = 'lib.model.GgSettings'; const NUM_COLUMNS = 3; const <API key> = 0; const ID = 'gg_settings.ID'; const PARAM = 'gg_settings.PARAM'; const VALUE = 'gg_settings...
/* eslint-env jasmine, jest */ import React from 'react'; import View from '../'; import StyleSheet from '../../StyleSheet'; import { act } from 'react-dom/test-utils'; import { createEventTarget } from '<API key>'; import { render } from '@testing-library/react'; describe('components/View', () => { test('default', (...
<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>...
/* * Globalcode - "The Developers Company" * * Academia do Java * */ public abstract class Agencia { private String numero; private Banco banco; /** * @param num * Numero da agencia * @param bc * banco ao qual a agencia pertence */ public Agencia(Strin...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _02.Rabbits { class Program { static void Main(string[] args) { string input = Console.ReadLine(); var rabbitAnswers = input.Split(' ').Select(int...
(function( window, undefined ) { var Globalize; if ( typeof require !== "undefined" && typeof exports !== "undefined" && typeof module !== "undefined" ) { // Assume CommonJS Globalize = require( "globalize" ); } else { // Global variable Globalize = window.Globalize; } Globalize.addCultureInfo( ...
package com.ccsi.commons.dto.tenant; /** * @author mbmartinez */ public class BaseCcsiInfo { protected Long id; protected String name; protected String description; public String getName() { return name; } public void setName(String name) { this.name = name; } public St...
// TriAppSkeleton.cpp #ifdef _WIN32 # define <API key> # define NOMINMAX # include <windows.h> #endif #include <GL/glew.h> #include "AppSkeleton.h" #include "GL/GLUtils.h" #include "GL/ShaderFunctions.h" #include "MatrixMath.h" #include "utils/Logger.h" #include "paramgl.h" #include "TriAppSkeleton.h" TriAppSkeleton...
#include "sync/test/fake_server/bookmark_entity.h" #include <string> #include "base/basictypes.h" #include "base/guid.h" #include "sync/internal_api/public/base/model_type.h" #include "sync/protocol/sync.pb.h" #include "sync/test/fake_server/fake_server_entity.h" using std::string; namespace fake_server { namespace { /...
(function () { 'use strict'; angular.module('customers') .controller('OneCustomerCtrl', function ($scope, customers, $stateParams) { var cid = $stateParams.cid; $scope.customer=_.find(customers, function (customer) { return customer.profile.userName===cid; ...
<i rel="tooltip" title="<span class=&quot;tooltip_message&quot;>{{ message }}</span>"><img src="{{ icon_url }}" alt="tooltip"></i> <script type="text/javascript"> jQuery(function(){ $("[rel=tooltip]").tooltip({ html: 'true', trigger: 'click hover'}); }); </script>
var exptemplate = require('../prepublic/javascripts/exptemplate'); module.exports = exptemplate;
PriceCharts.jl is licensed under the MIT License: > Copyright (c) 2013: Algorithm Alpha, LLC and other contributors. > > 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, in...
using System.Collections.Generic; using BEPUphysics.Constraints.SolverGroups; using BEPUphysics.Constraints.TwoEntity.Motors; using BEPUphysics.Entities.Prefabs; using BEPUutilities; using BEPUphysics.Entities; using BEPUphysics.<API key>; using Microsoft.Xna.Framework.Input; using System; using BEPUphysics.BroadPhaseE...
<!DOCTYPE html> <html> <head> <meta charset="utf-8"/> <title>Doge Social Network - Friends</title> </head> <body style="background:skyblue"> <h1>Doge Social Network</h1> <nav> <ul> <li> <a href="home.html"> Home </a> </l...
var <API key> = 'ctrl+shift+k'; var LOCAL_STORAGE_KEY = 'optionsStore' var defaultOptions = { shortcuts: [ {key: "", value:""} ], cssSelectors: [{value:""}], shortcutKey: <API key>, includeIFrames: true }; var optionsApp = angular.module('optionsApp', []); optionsApp.factory('OptionsData', f...
package flow; /** * This interface is used to define the name of variables that are * declared in the call flow. All variables are defined as * <code>public static final String</code>, which allows user-defined * code to reference variable names by the Java variable name. * Last generated by Orchestration Designe...
<?php /* To jest proba*/ namespace Mcc\Bundle\ASMemberBundle\Controller; use Symfony\Bundle\FrameworkBundle\Controller\Controller; class DefaultController extends Controller { public function indexAction($name) { return $this->render('MccASMemberBundle:Default:index.html.twig', array('name' => $name)); ...
#include <rose/Rose.hpp> #include <rose/Utility.hpp> #include <rose/Skin.hpp> #include <rose/ctl/PageControl.hpp> #include <rose/ctl/Controls.hpp> using namespace rose; using namespace rose::ctl; <API key>(PageControl) { m_iPages = 0; m_iCurrentPage = 0; SetUseFinishButton(true); for(int i = 0; i < MaxP...
"""Contains tests for oweb.views.updates.item_update""" # Python imports from unittest import skip # Django imports from django.core.urlresolvers import reverse from django.test.utils import override_settings from django.contrib.auth.models import User # app imports from oweb.tests import OWebViewTests from oweb.models...
import { BecauseError } from "../../errors"; import { Response } from "../../response"; import { parse_response } from "../../parse"; import { JWT, LazyJWT } from "./jwt"; class TokenParseError extends BecauseError { } // /src/main/java/com/boundlessgeo/bcs/data/ApiKeyResponse.java class ApiKeyData { key: string; ...
package piskvork; /** * Root interface for a Piskvork command. A command must provide a string to * send to the AI, and a method to validate the response. */ public interface PiskvorkCommand { /** * Get the string for this command to send to the AI. * @return String identifier of the command, e.g. TURN...
package gov.nasa.worldwind.render; import gov.nasa.worldwind.geom.*; import gov.nasa.worldwind.render.airspaces.*; import javax.media.opengl.*; /** * @author brownrigg * @version $Id: SurfaceCircle2.java 9230 2009-03-06 05:36:26Z dcollins $ */ public class SurfaceCircle2 extends CappedCylinder { public SurfaceCi...
# DU-Better Learn Somethings ## 2017/1/3 chmod $ chmod [options] mode[,mode] file1 [file2 ...] r 4 w 2 x 1 \- 0 <a href="https://zh.wikipedia.org/wiki/Chmod">link</a> ## 2017/1/4 php install ubuntu document: http://php.net/manual/zh/ <a href="http: extension_dir: /usr/lib/php5/20121212 websit root: /var/www/html ini...
.PHONY: all all: sphinx # doctrees used for searching SPHINXOPTS=-n -W -d _build/doctrees . .PHONY: sphinx sphinx: PYTHON=$(which python3) sphinx-build -b html $(SPHINXOPTS) _build/html
// of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // copies of the Software, and to permit persons to whom the Software is // furnished to do so, subject to the following conditions: // copies or substantial p...
import { fromJS, OrderedMap } from 'immutable'; const vaccines = fromJS([ { name: 'AVA (BioThrax)', id: '<API key>', diseases: ['Anthrax'], }, { name: 'VAR (Varivax)', id: '<API key>', diseases: ['Varicella (Chickenpox)'], }, { name: 'MMRV (ProQuad)', id: '<API key>', disea...
#include "irc.h" #include "db.h" #include "net.h" #include "init.h" #include "strlcpy.h" #include "addrman.h" #include "ui_interface.h" #ifdef WIN32 #include <string.h> #endif #ifdef USE_UPNP #include <miniupnpc/miniwget.h> #include <miniupnpc/miniupnpc.h> #include <miniupnpc/upnpcommands.h> #include <miniupnpc/upnperr...
export class Entry { title: string; photo: string; description: string; comments: any[]; }
#include<stdio.h> #include<string.h> int main(){ char izr[1000], ts='a', tb='A'; int i, br=0; fgets(izr, 1000, stdin); for(;ts<='z' && tb<='Z';ts++, tb++){ br=0; for(i=0; i<strlen(izr); i++){ if(izr[i] == ts || izr[i] == tb){ br++; } } ...
# This code was generated by # | (_)\/(_)(_|\/| |(/_ v1.0.0 module Twilio module REST class Chat < Domain # Initialize the Chat Domain def initialize(twilio) super @base_url = 'https://chat.twilio.com' @host = 'chat.twilio.com' @port = 443 # Versions @...
#!/usr/bin/env python import os import sys if __name__ == '__main__': os.environ.setdefault('<API key>', 'settings.prod') from django.core.management import <API key> <API key>(sys.argv)
using System; using System.Collections.Generic; using System.Threading.Tasks; using Orleans.Runtime.Configuration; using Orleans.MultiCluster; using Orleans.Versions.Compatibility; using Orleans.Versions.Selector; namespace Orleans.Runtime { <summary> Interface for system management functions of silos, expo...
import os import sys import pygame import signal import time import ConfigParser from twython import TwythonStreamer # Import custom modules # Add pyscope module to path path = os.path.join(os.path.dirname(__file__), 'py_apps/pyscope') sys.path.append(path) # Add twit_feed module to path path = os.path.join(os.path.dir...
package com.martin.lolli; import android.app.ActionBar; import android.app.Activity; import android.app.Fragment; import android.content.SharedPreferences; import android.content.res.Configuration; import android.os.Bundle; import android.preference.PreferenceManager; import android.support.v4.app.<API key>; import and...
<?php $id = $_GET['id']; $link = mysqli_connect("localhost", "root", "lict@2", "crud"); $query = "select * from ict_skills WHERE id = $id"; $result = mysqli_query($link, $query); $row = mysqli_fetch_assoc($result); ?> <form action="update.php" method="post"> <input type="hidden" name="id" value="<?php e...
(function (r) { "use strict"; var events = r('events'); var eventEmitter = new events.EventEmitter(); var playerManager = r('../PlayerSetup/player-manager').playerManager; var helper = r('../helpers'); var world = { valston: r('../../World/valston/prison') }; var time = function ...
require_relative '../spec_helper' describe Expense do describe "#new" do subject {Expense.new(name: "water bill", amount: 100, recurrance: "annually", description: "lets me shower")} its(:name) { should == "water bill"} its(:amount) { should == 100} its(:recurrance) { should == "annually"} its(:descri...
<?php namespace Distill\Tests\Method\Command; use Distill\Method; use Distill\Format; use Distill\Tests\Method\AbstractMethodTest; class UnrarTest extends AbstractMethodTest { public function setUp() { $this->method = new Method\Command\Unrar(); if (false === $this->method->isSupported()) { ...
<?php class <API key> extends CI_Model{ public function <API key>($URT_SRC_source){ $URT_SRC_errorarray =array(); $USRC_arr_loginid =array(); $USRC_arr_uldid =array(); $<API key>=false; $<API key>=array(); $this->db->select(); $this->db->from('USER_LOGIN_DETA...
using MomWorld.DataContexts; using MomWorld.Entities; using MomWorld.Models; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace MomWorld.Controllers { public class ChatController : Controller { private IdentityDb identityDb = new Identity...
# Concepts for scale-generator A note about the exercise: as one with a graduate degree in Music Theory and Composition, this one drove me nuts. The way it approached steps and tonality was at a minimum, not standard. Specifically, I think the explanation and solution could be simplified if it addressed the issue of en...
namespace MyApp.Core.Commands { using AutoMapper; using MyApp.Core.Commands.Contracts; using MyApp.Core.ViewModels; using MyApp.Data; using System.Linq; public class <API key> : ICommand { private readonly MyAppContext context; private readonly Mapper mapper; public <...
'use strict'; var path = require('path'); var fs = require('fs'); var extend = require('extend'); var mid = require('made-id'); var file = require('./file'); var config = require('./config'); var page_list = {}; var comm_option = config.get('comm'); var server = comm_option.server; var base_path = comm_...
package org.bouncycastle.asn1.cms; import org.bouncycastle.asn1.ASN1EncodableVector; import org.bouncycastle.asn1.ASN1Integer; import org.bouncycastle.asn1.ASN1Object; import org.bouncycastle.asn1.ASN1Primitive; import org.bouncycastle.asn1.ASN1Sequence; import org.bouncycastle.asn1.ASN1Set; import org.bouncycastle.asn...
#!/usr/bin/env zsh # Colors # Set color variables for colorful output # If we have tput, let's set colors if [[ ! -z $(which tput 2> /dev/null) ]]; then reset=$(tput sgr0) bold=$(tput bold) red=$(tput setaf 1) green=$(tput setaf 2) yellow=$(tput setaf 3) blue=$(tput setaf 4) magenta=$(tput setaf 5) cyan...
<?php if (DEBUG_MODE) ini_set("display_errors", 1);ini_set("<API key>",1);error_reporting(-1); session_start(); require_once("Config.php"); require_once("autoload.php"); require_once('forum/SSI.php'); $uri = $_SERVER['REQUEST_URI']; $controller = explode('/', $uri); $controller = array_slice($controller, 1); // Delete ...
require_dependency "taiwan_districts/<API key>" module TaiwanDistricts class DataController < <API key> def show data = TaiwanDistricts.list(params[:lang], params[:id]) render json: data, layout: nil end def index end end end
<!DOCTYPE html> <html lang="en"> <head> <title>Search results</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="icon" href="img/favicon.ico" type="image/x-icon"> <link rel="shortcut icon" href="img/favicon.ico" type="image/x-icon" /> ...
using System; using System.Collections; using System.Collections.Generic; using Bender; using Bender.Collections; using Bender.Extensions; using Bender.Reflection; using NUnit.Framework; using Should; using Tests.Collections.Implementations; namespace Tests.Serializer.Json { [TestFixture] public class ArrayTest...
<?php namespace Opera\Component\Http; use ArrayIterator; use IteratorAggregate; use Traversable; class Cookies implements IteratorAggregate { protected $cookies = []; public function add(Cookie $cookie) { $this->cookies[] = $cookie; } public function getIterator() { return new Ar...
export { default } from 'ember-flexberry-gis/components/<API key>';
<!DOCTYPE html> <html> <head> <meta charset="UTF-8" /> <title>Untitled Document</title> <metaname="viewport" content="width=device-width,user-scalable=no"/> <link rel="stylesheet" href="cssreset.css"/> <style type="text/css"> #content { width: 90%;...
<!doctype html> <html class="no-js" lang="en-US"> <head> <meta charset="utf-8"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Hannah Jones | Web Developer</title> <meta name="description" content="Coderjones.com is a portfolio...
# <API key>: true # Encoding: utf-8 require 'rubygems' require 'yaml' module Jekyll module LanguagePlugin module Loaders class BuiltinDataLoader < BaseLoader attr_reader :data def initialize(site) super @data = Hash.new end def loaded?(language) ...
#include <SFML/Graphics.hpp> #include <SFML/Audio.hpp> #include <iostream> int main() { sf::RenderWindow window(sf::VideoMode(200, 200), "Donguili"); sf::Music sound; if (!sound.openFromFile("C:/Users/Alpha/Documents/Donguili/bin/Debug/test.ogg")) return -1; // erreur sound.play(); while (window...
<!DOCTYPE HTML> <html lang="en" > <!-- Start book WDI Darth Vader --> <head> <!-- head:start --> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <title>Backbone.js | WDI Darth Vader</title> <meta content="text/html; charset=utf-8" http-equiv...
import java.io.*; import java.net.ServerSocket; import java.net.Socket; public class Main { public static void main(String[] args){ final int DEFAULT_PORT = 8080; // For security reasons, only root can use ports < 1024. int portNumber = args.length > 1 ? Integer.parseInt(args[0]) : DEFAULT_PORT; ...