answer stringlengths 15 1.25M |
|---|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Dashboard for /Applications/MAMP/www/phpmvc/kmom06/mumin/src/Mumin</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="../../css/bootstrap.min.css" rel="stylesheet">
<link href="../../css/nv.d3.css" r... |
package proxy.test;
import java.rmi.Naming;
import java.rmi.RemoteException;
import java.rmi.server.UnicastRemoteObject;
import util.JavaLog;
public class Server extends UnicastRemoteObject implements RemoteInterface{
private static final long serialVersionUID = 1L;
protected Server() throws RemoteException {
... |
'use strict'; // eslint-disable-line
const { default: ImageminPlugin } = require('<API key>');
const imageminMozjpeg = require('imagemin-mozjpeg');
const UglifyJsPlugin = require('<API key>')
const config = require('./config');
module.exports = {
plugins: [
new ImageminPlugin({
optipng: { optimizationLevel:... |
// 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:
// all copies or substanti... |
var _ = require('lodash'),
fs = require('fs'),
path = require('path'),
through = require('through'),
filesize = require('file-size');
function browserify(file, options) {
var source = [];
function write(data) {
source.push(data);
};
function end(file, options) {
var renderTemplate = func... |
<!DOCTYPE html>
<html>
<head>
<title>{% if page.title %}{{ page.title }} – {% endif %}{{ site.name }} – {{ site.description }}</title>
{% include meta.html %}
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]
<link rel="stylesheet" type="t... |
<?php
namespace Modules\Dynamicfield\Providers;
use Illuminate\Support\ServiceProvider;
class <API key> extends ServiceProvider
{
/**
* Indicates if loading of the provider is deferred.
*
* @var bool
*/
protected $defer = false;
public function boot()
{
}
/**
* Register ... |
"use strict";
var filters = require('./filters'),
uniq = require('uniq');
var doNgram = function doNgram (string, resultData, config) {
var ngramCount = string.length - config.n + 1,
ngram,
previousNgram = null,
ngramData,
i;
for (i = 0; i < ngramCount; i++) {
ngram =... |
<?php namespace Robbo\Presenter\View;
use ArrayAccess;
use IteratorAggregate;
use Robbo\Presenter\<API key>;
use Illuminate\View\Environment as BaseEnvironment;
class Environment extends BaseEnvironment {
/**
* Get a evaluated view contents for the given view.
*
* @param string $view
* @param ... |
#include <string.h>
#include <list>
#include <memory>
#include <queue>
#include <vector>
#include "modules/video_coding/encoded_frame.h"
#include "modules/video_coding/packet.h"
#include "modules/video_coding/receiver.h"
#include "modules/video_coding/test/stream_generator.h"
#include "modules/video_coding/test/test_ut... |
<!doctype html>
<!--[if lt IE 7]><html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
<!--[if (IE 7)&!(IEMobile)]><html class="no-js lt-ie9 lt-ie8" lang="en"><![endif]-->
<!--[if (IE 8)&!(IEMobile)]><html class="no-js lt-ie9" lang="en"><![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="zh"><!--<!... |
var Models = {};
module.exports = Models;
/**
* Creates a new instance of the Model class
* @constructor
*/
Models.Model = function(id, name, status, type, normalValue, wierdValue) {
/** @type {string} */
this._id = id || '';
/** @type {string} */
this.name = name || '';
/** @type {string} */
... |
using Rotorz.Games.EditorExtensions;
using System;
using System.IO;
using UnityEngine;
namespace Rotorz.Games.<API key>
{
<summary>
Project-wide settings for the "@rotorz/unity3d-editor-menu" package.
</summary>
<remarks>
<para>The default <see cref="<API key>"/> implementation type can be
overr... |
<?php
namespace ALttP\Http\Controllers;
use Illuminate\Foundation\Bus\DispatchesJobs;
use Illuminate\Routing\Controller as BaseController;
use Illuminate\Foundation\Validation\ValidatesRequests;
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
class Controller extends BaseController
{
use AuthorizesRequest... |
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
display: block;
}
audio,
canvas,
video {
display: inline-block;
}
audio:not([controls]) {
display: none;
height: 0;
}
[hidden],
template {
display: none;
}
html {
font-family: sans-serif;
-<API key>: 100%;
... |
// ZSLargeCell.h
// ZSPhotoBrowser
#import <UIKit/UIKit.h>
@interface ZSLargeCell : UITableViewCell
-(void)setImageUrl:(NSString*)url;
@end |
# Given an array of strings, group anagrams together.
# For example, given: ["eat", "tea", "tan", "ate", "nat", "bat"], Return:
# ["ate", "eat", "tea"],
# ["nat", "tan"],
# ["bat"]
# Notes:
# + For the return value, each inner list's elements must follow the
# lexicographic order.
# + Al... |
<!doctype html>
<html class="default no-js">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><API key> | <API key> API</title>
<meta name="description" content="Documentation for <API key> API">
<meta name="viewport" content="width=device-width, initial-sca... |
using System;
#pragma warning disable 1591
// ReSharper disable UnusedMember.Global
// ReSharper disable MemberCanBePrivate.Global
// ReSharper disable <API key>.Global
// ReSharper disable <API key>.Global
// ReSharper disable <API key>.Global
// ReSharper disable InconsistentNaming
// ReSharper disable once CheckName... |
package jaci.openrio.toast.core.loader.simulation;
import jaci.openrio.toast.lib.state.RobotState;
import javax.swing.*;
import java.awt.*;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
import java.awt.geom.Rectangle2D;
/**
* A GUI Element for switching the Robot State during Simulation
*
* ... |
require "active_support/core_ext/integer/time"
Rails.application.configure do
# Settings specified here will take precedence over those in config/application.rb.
# In the development environment your application's code is reloaded any time
# it changes. This slows down response time but is perfect for development... |
#include <assert.h>
#include <string.h>
#include "binson_writer.h"
/*
{
"A": "B",
"B": 1,
"C": 3.0,
"D": false,
"E": "0x0102",
"F": {
},
"G": [
false,
"A",
"0x0102",
1,
5.142912663207646E25,
false,
false,
false,
false,
false,
false,
false,
false,
f... |
# Models in TimeAlign
## Annotations

Label System
TimeAlign was orignially built around the concept of tense annotation. This is why the `Tense` model exists, and why every annotation has a foreign-key field that may refer to a tense. At a later stage of development, support was added for a more fl... |
namespace app.home {
/**
* This class represents example model for data sample.
*/
export class DataItem {
/**
* Creates an instance of DataItem.
* @param {number} id - ID property of data item.
* @param {string} name - Name property of data item.
* @constructor
*/
constructor... |
angular.module('Eintrag').service('editarService', ['$http', function ($http) {
this.editarUsuario = function (data) {
return $http.post('http://localhost/Eintrag/www/server.php/editarUsuario', $.param(data));
};
}]); |
// AudioComponent.h
// VideoEditor2
#import <Foundation/Foundation.h>
#import <AVFoundation/AVFoundation.h>
@class VEAudioComposition;
@interface VEAudioComponent : NSObject {
VEAudioComposition *composition;
AVAssetReader *reader;
<API key> *readerOutput;
double presentTime;
double duration;
}
@p... |
appService.factory('Chats', function() {
// Might use a resource here that returns a JSON array
// Some fake testing data
var chats = [{
id: 0,
name: 'Ben Sparrow',
lastText: 'You on your way?',
face: 'app/view/common/img/ben.png'
}, {
id: 1,
name: 'Max Lynx',
lastText: 'Hey, it\'s m... |
#import <UIKit/UIKit.h>
typedef enum{
<API key>,
<API key>,
}HDChatToolbarType;
@protocol <API key>;
@interface HDChatBarMoreView : UIView
@property (nonatomic,assign) id<<API key>> delegate;
@property (nonatomic) UIColor *<API key> <API key>; //moreview,default whiteColor
- (instancetype)initWithFrame:(CGRect... |
package drone_slam.apps.controlcenter.plugins.attitudechart;
import drone_slam.apps.controlcenter.ICCPlugin;
import drone_slam.base.IARDrone;
import drone_slam.base.navdata.AttitudeListener;
import org.jfree.chart.ChartPanel;
import javax.swing.*;
import java.awt.*;
public class AttitudeChartPanel extends JPanel implem... |
package org.osiam.client;
import static org.apache.http.HttpStatus.SC_FORBIDDEN;
import static org.apache.http.HttpStatus.SC_OK;
import static org.apache.http.HttpStatus.SC_UNAUTHORIZED;
import static org.apache.http.HttpStatus.SC_CONFLICT;
import java.io.IOException;
import java.io.InputStream;
import java.net.URI;
im... |
<?php
namespace Ahs\BlogBundle;
use Symfony\Component\HttpKernel\Bundle\Bundle;
class AhsBlogBundle extends Bundle
{
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ControlPanelPlugin
{
public class ButtonItem : PanelItem
{
public Constants.Panel.SwitchId Switch;
public bool State = false;
public ButtonItem(Constants.Panel.SwitchId button, b... |
#! /usr/bin/env sh
sudo -s
export DEBIAN_FRONTEND=noninteractive
# update packages
apt-get update -y --fix-missing
apt-get -o Dpkg::Options::="--force-confnew" -o Dpkg::Options::="--force-confold" --force-yes -fuy upgrade
echo "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) main universe" > /etc/apt/sources.li... |
import { AppRegistry } from "react-native";
import App from "./App";
AppRegistry.registerComponent("KeepTheBallGame", () => App); |
package main
import "fmt"
// returns a function that returns an int
func fibonacci() func() int {
old_fib :=-1
fib := 1
return func() int {
fib, old_fib = fib + old_fib, fib
return fib
}
}
func main() {
f := fibonacci()
for i := 0; i < 10; i++ {
fmt.Println(f())
}
} |
#include "cxxsource.h"
CxxSource::CxxSource()
{
} |
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/><!-- using block title in layout.dt--><!-- using block ddox.defs in ddox.layout.dt--><!-- using block ddox.title in ddox.layout.dt-->
<title>Method Resource.getFile</title>
<link rel="stylesheet" type="text/css" href="../../styles/ddox.css... |
package br.unb.cic.sma.sade.fipa
case class Request(parameters: Map[ACLMessageParameter.ACLMessageParameter, Any]) extends ACLMessage(parameters: Map[ACLMessageParameter.ACLMessageParameter, Any]) {
override def getParameters = (parameters - ACLMessageParameter.PERFORMATIVE) + (ACLMessageParameter.PERFORMATIVE -> Per... |
# coding: utf8
from wsgidav.dav_provider import DAVCollection, DAVNonCollection
from wsgidav.dav_error import DAVError, HTTP_FORBIDDEN
from wsgidav import util
from wsgidav.addons.tracim import role, MyFileStream
from time import mktime
from datetime import datetime
from os.path import normpath, dirname, basename
try:
... |
module Cardjour
module VERSION #:nodoc:
MAJOR = 0
MINOR = 1
TINY = 0
STRING = [MAJOR, MINOR, TINY].join('.')
end
end |
using System;
using System.Runtime.CompilerServices;
namespace MS.Internal
{
// WPF's builds are seeing warnings as a result of using LocalAppContext in mutliple assemblies.
// that have internalsVisibleTo attribute set between them - which results in the warning.
// We don't have a way of suppressing this ... |
#ifndef QSOCKETNOTIFIER_H
#define QSOCKETNOTIFIER_H
#include <QtCore/qobject.h>
QT_BEGIN_NAMESPACE
class <API key>;
class Q_CORE_EXPORT QSocketNotifier : public QObject
{
Q_OBJECT
Q_DECLARE_PRIVATE(QSocketNotifier)
public:
enum Type { Read, Write, Exception };
QSocketNotifier(qintptr socket, Type, QObje... |
import React from 'react';
import PropTypes from 'prop-types';
import { withStyles } from 'material-ui/styles';
import AppBar from 'material-ui/AppBar';
import Tabs, { Tab } from 'material-ui/Tabs';
import PhoneIcon from '@material-ui/icons/Phone';
import FavoriteIcon from '@material-ui/icons/Favorite';
import PersonPi... |
<!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.5"/>
<title>Bombás játék: Member List</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<... |
# CPSC3780-Project
CPSC 3780 Data Communications and Networking project
Chat system with client server setup.
Client will be able to send messages to another client connected to a server.
Message goes from the client to the server, and then goes to the destionation client.
Check [CPSC3780project.pdf](https://github.com... |
/**
* comment
*/
.class {
padding: 10px;
}
/*comment*/
.foo {
color: red;
}
/*
at rule
*/
@media only screen {
/* inner at rule comment */
.foo {
display: none;
}
/*
* another comment
*/
.bar {
color: yellow;
}
} |
using System.Collections.Generic;
namespace Greg.Requests
{
public class <API key> : RequestBody
{
internal <API key>()
{
}
public <API key>(string name, string version, string description,
IEnumerable<string> keywords, string contents, string engine, string engineVer... |
package xsierra.digitguesser.drawer.pipeline;
import java.awt.image.BufferedImage;
public interface DigitPipeline {
/**
* @param image An image that contains a drawed digit
* @return the guessed digit, a number between 0 - 9
*/
byte imageGuessDigit(BufferedImage image);
} |
layout: post
title: Sunday Update No. 2
This was my first full week with the project. While I kept up on my commit-a-day goal, the pace is still pretty slow (see below). Overall I'm happy though, and the streak is still alive.
##The Numbers
* Total commits: 6
* Total issues reported: 2
* Repos contributed to: 3
* Most ... |
package connect.view;
import android.content.Context;
import android.util.AttributeSet;
import connect.view.roundedimageview.RoundedImageView;
public class <API key> extends RoundedImageView {
public <API key>(Context context) {
super(context);
}
public <API key>(Context context, AttributeSet attrs)... |
package com.sind.projectx.domain.food.menu;
import org.hibernate.validator.constraints.NotBlank;
import org.hibernate.validator.constraints.NotEmpty;
import java.util.ArrayList;
import java.util.List;
/**
* @author Dmytro Bekuzarov
*/
public class MenuSection {
@NotBlank
private String name;
@NotEmpty
... |
// package it.at.oiml.bitbucket.lfs;
// import org.junit.Test;
// import org.junit.runner.RunWith;
// import com.atlassian.plugins.osgi.test.<API key>;
// import at.oiml.bitbucket.lfs.MyPluginComponent;
// import com.atlassian.sal.api.<API key>;
// import static org.junit.Assert.assertEquals;
// @RunWith(<API key>.clas... |
/*
Binary Tree Upside Down
Given a binary tree where all the right nodes are either leaf nodes with a sibling (a left node that shares the same parent node) or empty, flip it upside down and turn it into a tree where the original right nodes turned into left leaf nodes. Return the new root.
For example:
Given a binary ... |
import { lighten } from 'polished';
import { css } from '@emotion/react';
import styled from '@emotion/styled';
import { colors } from './colors';
export const outer = css`
position: relative;
padding: 0 5vw;
`;
// Centered content container blocks
export const inner = css`
margin: 0 auto;
max-width: 1040px;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Terraria;
using TAPI;
namespace Avalon.Projectiles.FromPlayer.Explosions
{
<summary>
The Ichor Explosion.
</summary>
public sealed class IchorExplosion : ModProjectile
{
<summary>
... |
package ru.mail.parking.sw2.system;
import com.sonyericsson.extras.liveware.aef.registration.Registration;
import com.sonyericsson.extras.liveware.extension.util.ExtensionUtils;
import com.sonyericsson.extras.liveware.extension.util.registration.<API key>;
import android.content.ContentValues;
import ru.mail.parking.R;... |
import java.util.Scanner;
public class TestDrive
{
public static void main( String[] args ) {
Scanner sc = new Scanner(System.in);
Car car;
boolean mainDone = false;
while (!mainDone) {
System.out.print("Enter fuel efficiency: ");
double fuelEfficiency = sc.ne... |
<header class="content">
<div class="row items-push">
<div class="col-sm-7">
<h1 class="h3 font-w400 push-5-t">Experiencias</h1>
</div>
<div class="col-sm-5 text-right">
<a ng-href="/admin/#/experiences/create" class="btn btn-primary btn-min-width">
<i... |
#!/usr/bin/env ruby
require "pathname"
require_relative "testframework/testhelper"
require_relative "testframework/testenvironment"
require_relative "testframework/testdefinition"
require_relative "testframework/testoperator"
environment = TestEnvironment.new()
definition = TestDefinition.new()
pathname = Pathname.new(... |
// Actions
export const ADD_NOTIFICATION = 'notifications/ADD_NOTIFICATION'
export const <API key> = 'notifications/<API key>'
export const CLEAR_NOTIFICATIONS = 'notifications/CLEAR_NOTIFICATIONS'
// Reducer
export const initialState = []
export default function reducer(state = initialState, action) {
const { payloa... |
var rarities = {
'Common': {
name: 'Common',
level_prop: 'MultiplierQ1'
},
'Rare': {
name: 'Rare',
level_prop: 'MultiplierQ2'
},
'Epic': {
name: 'Epic',
level_prop: 'MultiplierQ3'
},
'Legendary': {
name: 'Legendary',
level_prop: 'MultiplierQ4'
},
'Mythic': {
name: '... |
<?php
// src/VersionControl/GitlabIssueBundle/Entity/User.php
namespace VersionControl\GitlabIssueBundle\Entity;
use VersionControl\GitControlBundle\Entity\Issues\IssueUserInterface;
class User implements IssueUserInterface
{
/**
* @var int
*/
protected $id;
/**
* @var string
*/
prot... |
layout: page
published: true
I am a Weierstrass research group leader heading the Data-driven Optimization and Control research group, [Weierstrass Institute, Berlin](https:
My group focuses on the *mathematical foundations and applications of machine learning and data-driven optimization & control, especially on distr... |
var <API key> = require('<API key>/<API key>/v1.js');
var ToneAnalyzerV3 = require('<API key>/tone-analyzer/v3');
let fs = require('fs');
let path = require('path');
const directoryName = path.dirname(__filename);
const creds = {
tone: {
"username": "redacted",
"password": "redacted"
},
nlu: {
"userna... |
var encodeDecode = function() {
var randomNum = function (min, max) { // helper function for random numbers
return Math.random() * (max - min) + min;
};
var insertBreak = function (counter) { //helper function to break lines @ 100 char
if (counter % 100 === 0) {
$('body').append("<br>");
... |
using System.Data.Common;
using System.Linq;
using System.Reflection;
namespace FluentMethods.UnitTests
{
public class MethodInfoFixture
{
#if NetCore
[Xunit.Fact]
#else
[NUnit.Framework.Test]
#endif
public void IsAsync()
{
var methodOpenAsync= typeof(DbConnection).Ge... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="cmn" version="2.0">
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About Horuscoin Core</source>
<translation type="unfinished"/>
</message>
<message>
<locatio... |
# systemPreferences
> Get system preferences.
Process: [Main](../glossary.md#main-process)
javascript
const {systemPreferences} = require('electron')
console.log(systemPreferences.isDarkMode())
## Events
The `systemPreferences` object emits the following events:
Event: '<API key>' _Windows_
Returns:
* `event` Event
* `... |
<?php
if(isset($_POST['message']) && isset($_POST['name'])){
$handle = fopen('feedback.txt', 'a') or die('Could not open the file');
$from = $_POST['name'];
$time = date('m/d h:i:s');
$message = $_POST['message'];
$toWrite = "Message from: $from on $time:\r\n$message\r\n\r\n";
fwrite($handle, $t... |
namespace Merchello.Web.Models.ContentEditing.Collections
{
using System;
using System.Diagnostics.CodeAnalysis;
using System.Runtime.Serialization;
using System.Security.Cryptography;
using Merchello.Core;
using Merchello.Core.Models;
using Merchello.Core.Models.EntityBase;
using Merche... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace shiwch.util
{
<summary>
</summary>
public sealed class <API key> : IEqualityComparer<byte[]>
{
<summary>
</summary>
<param name="first"></param>
<param name="second"></param>
... |
import React, {
Fragment,
Children,
cloneElement,
useRef,
useEffect
} from 'react';
import { createPortal } from 'react-dom';
import PropTypes from 'prop-types';
import cx from 'classnames';
import idgen from './idgen';
import Button from './Button';
import { safeJSONStringify } from './utils';
const Modal = ... |
class KonamiCodeManager {
constructor() {
this._pattern = "<API key>";
this._keyCodeCache = '';
this._callback = () => {};
this.<API key> = this.<API key>.bind(this);
}
attach(root, callback) {
if (root instanceof Element) {
root.removeEventListener('keydown', this.<API key>);
root... |
<!doctype html>
<html class="no-js" lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Template Foundation - Sign In</title>
<link rel="icon" type="image/png" href="images/favicon.png" />
<link rel="stylesheet" href="//cdnjs.c... |
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http:
<html xmlns="http:
<head>
<title>ActiveModel::SecurePassword</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" href="../../css/reset.css" type="... |
'use strict';
describe('test search controller', function() {
beforeEach(module('mapTweetInfoApp'));
beforeEach(module('<TwitterConsumerkey>'));
beforeEach(module('latLngServices'));
describe('searchCtrl', function(){
var scope, ctrl, $httpBackend, $browser, $location;
beforeEach(inject(function(_$httpB... |
var CSSCompressor = global.CSSCompressor,
rdecimal = /^(\+|\-)?(\d*\.[1-9]*0*)(\%|[a-z]{2})$/i,
rleadzero = /^\-?0/;
CSSCompressor.rule({
name: 'Trailing Zeroes',
type: CSSCompressor.RULE_TYPE_VALUE,
group: 'Numeric',
description: "Removes unecessary trailing zeroes from values",
callback: f... |
<?php <API key>('asia/manila');?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="author" content="John Noah G. Ompad">
<title>AGUS 6/7 - Warehouse Management System</title>
<!-- Bootstrap core CSS --... |
jQuery(function() {
var $ = jQuery,
$list = $('#thelist'),
$btn = $('#ctlBtn'),
state = 'pending',
// retina, retina2
ratio = window.devicePixelRatio || 1,
thumbnailWidth = 100 * ratio,
thumbnailHeight = 100 * ratio,
uploader;
uploader = WebUploade... |
package programmersguide.<API key>.workingwithtext.textformatting.<API key>.java;
import com.aspose.pdf.*;
public class <API key>
{
public static void main(String[] args) throws Exception
{
// The path to the documents directory.
String dataDir = "src/programmersguide/<API key>/workingwithtext(g... |
'use strict';
module.exports = {
client: {
lib: {
// Load <API key> module templates for these modules:
uibModuleTemplates: [
'modal',
'popover',
'progressbar',
'tabs',
'tooltip',
'typeahead'
],
css: [
'public/lib/fontello/css/animati... |
using System;
using System.Collections.Generic;
namespace EventStreams.Projection {
using Core;
using EventHandling;
using Transformation;
public interface IProjector {
<API key> Transformations { get; }
TModel Project<TModel>(IEnumerable<IStreamedEvent> events, Func<TModel, EventHandler... |
<!DOCTYPE html>
<html xmlns:msxsl="urn:<API key>:xslt">
<head>
<meta content="en-us" http-equiv="Content-Language" />
<meta content="text/html; charset=utf-16" http-equiv="Content-Type" />
<title _locid="<API key>">.NET Portability Report</title>
<style>
/* Body style, for the entire document */... |
(function (w) {
var $ = w.$,
d = document,
e = d.documentElement,
g = d.<API key>('body')[0],
my = w.ilm,
contid = 0;
function fixCharts(width, fn) {
$(fn).css("width", width);
$(d).ready(function () {
var inner = $(fn).width();
setTimeout(func... |
<?php
/*
Safe sample
input : get the $_GET['userData'] in an array
sanitize : use of intval
construction : use of sprintf via a %u
*/
$array = array();
$array[] = 'safe' ;
$array[] = $_GET['userData'] ;
$array[] = 'safe' ;
$tainted = $array[1] ;
$tainted = intval($tainted);
$query = sprintf("SELECT * FROM COURSE c WHER... |
import setupStore from 'dummy/tests/helpers/store';
import Ember from 'ember';
import {module, test} from 'qunit';
import DS from 'ember-data';
var env, store;
var attr = DS.attr;
var hasMany = DS.hasMany;
var belongsTo = DS.belongsTo;
var run = Ember.run;
var Post, Tag;
module("unit/many_array - DS.ManyArray", {
bef... |
using System.Threading;
using System.Threading.Tasks;
namespace FluentSpotifyApi.Builder.Me.Following
{
<summary>
The builder for "playlists/{playlistId}/followers" endpoint.
</summary>
public interface <API key>
{
<summary>
Adds the current user as a follower of a playlist.
... |
<?php
// This file is generated by Composer
require_once 'vendor/autoload.php';
// Load .env file
Dotenv::load(__DIR__);
// Function to calculate the percentage
function percent($amount, $total) {
$countA = $amount / $total;
$countB = $countA * 100;
// Round number
$count = number_format($co... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Paper - Material Admin Theme</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
<me... |
package org
import (
"fmt"
"strings"
"unicode"
"unicode/utf8"
)
// OrgWriter export an org document into pretty printed org document.
type OrgWriter struct {
ExtendingWriter Writer
TagsColumn int
strings.Builder
indent string
}
var emphasisOrgBorders = map[string][]string{
"_": ... |
import WordSearch from './word-search';
describe('single line grids', () => {
test('Should accept an initial game grid', () => {
const grid = ['jefblpepre'];
const wordSearch = new WordSearch(grid);
expect(wordSearch instanceof WordSearch).toEqual(true);
});
xtest('can accept a target search word', ()... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>input</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
</head>
<body>
<div class="container">
<form>
<div class="form-group">
<label for="exampleInputEmail1">Ema... |
using System;
using System.Linq;
using System.Collections.Generic;
namespace Abnaki.Windows.Software.Wpf.Ultimate
{
<summary>
Starts Ultimate MainWindow where a Tcontrol occupies all the useful space
</summary>
<typeparam name="Tcontrol">
</typeparam>
public class UltimateStarter<Tcontrol>
... |
'use strict';
/* Controllers */
angular.module('myApp.controllers')
.controller('DatepickerDemoCtrl', ['$scope','$timeout',function($scope, $timeout) {
$scope.today = function() {
$scope.dt = new Date();
};
$scope.today();
$scope.showWeeks = true;
$scope.toggleWee... |
# -*- coding: utf-8 -*-
class Courier::SubscriptionType::Base < ActiveRecord::Base
<API key> = Regexp.new /%\{([a-z|0-9\._]+)\}/
self.table_name = :<API key>
serialize :properties
has_many :log_entities, :foreign_key => :<API key>, :class_name => 'Courier::LogEntity'
before_save do
self.subject = self.des... |
.inline-item {
display: inline-block;
}
/* Photo */
/* main-album */
#main-album {
-moz-transition: -moz-filter 0.5s ease, -webkit-filter 0.5s ease, -ms-filter 0.5s ease, -moz-filter 0.5s ease;
-webkit-transition: -moz-filter 0.5s ease, -webkit-filter 0.5s ease, -ms-filter 0.5s ease, -webkit-filter 0.5s eas... |
<?php
namespace StoreIntegrator\tests\Amazon;
use Sabre\Xml\Writer;
use StoreIntegrator\Amazon\AmazonProduct;
use StoreIntegrator\Amazon\ProductFeed;
use StoreIntegrator\tests\TestCase;
class <API key> extends TestCase
{
public function <API key>()
{
$schema = __DIR__ . '/../xmlStubs/xsd/amzn-envelope.x... |
\begin{figure}[H]
\centering
\includegraphics[width=4.25in]{figs/run_20/run_20_rt_contour}
\caption{Contour plot of $\overline{v_{r}^{\prime} v_{\theta}^{\prime}}$ at $z/c$=6.97, $V_{free}$=33.39, station 2.}
\label{fig:run_20_rt_contour}
\end{figure} |
<body style="background-color: #4CAF50">
<ul class="menu-area">
<li class="menu-part-area"><a class="menu-link-area" href="<?php echo site_url('welcome/index') ?>">Domov</a></li>
</ul>
<form action="<?php echo site_url('reservation/writeplace');?>" method="post">
<div class="dark-form">
Vyberte si čas a... |
import { Injectable } from '@angular/core';
@Injectable()
export class AuthConfiguration {
// The Issuer Identifier for the OpenID Provider (which is typically obtained during Discovery) MUST exactly match the value of the iss (issuer) Claim.
public iss = 'http://robustidentity.tmentorsinc.com'; //identity serv... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.