answer stringlengths 15 1.25M |
|---|
module('Item');
test('copyTo(project)', function() {
var project = paper.project;
var path = new Path();
var secondDoc = new Project();
var copy = path.copyTo(secondDoc);
equals(function() {
return secondDoc.activeLayer.children.indexOf(copy) != -1;
}, true);
equals(function() {
... |
<?php
return [
'mandrill' => [
'secret' => $_ENV['MANDRILL_SECRET']
]
]; |
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
int main ()
{
// Local Definitions
int rand1;
// Statements
printf ("\nBeginning Random Number generation from the set 1, 4, 7, 10, 13, 16....\n\n");
srand (time(NULL));
rand1 = rand ();
rand1 = ((rand1 % 6) * 3) + 1;
printf ("Rand... |
import React, {Component, PropTypes} from 'react';
import * as actions from './ForumAction';
import ForumPage from './ForumPage';
class ForumContainer extends Component {
constructor(props) {
super(props);
this.state = {
questions: []
};
this.postQuestion = this.postQuest... |
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http:
<html xmlns="http:
<head>
<title>Class: ActiveRecord::ConnectionAdapters::PostgreSQLColumn</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta http-equiv... |
((bbn)=>{let script=document.createElement('script');script.innerHTML=`<div :class="['bbn-iblock', componentClass]">
<input class="bbn-hidden"
ref="element"
:value="modelValue"
:disabled="disabled"
:required="required"
>
<div :style="getStyle()">
<div v-for="(d, idx) in sou... |
#!/usr/bin/env python
from __future__ import print_function
import sys
import re
from utils import CDNEngine
from utils import request
if sys.version_info >= (3, 0):
import subprocess as commands
import urllib.parse as urlparse
else:
import commands
import urlparse
def detect(hostname):
print('[+] E... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_101) on Mon Apr 24 14:47:19 CEST 2017 -->
<title>org.mini2Dx.minibus.messagedata Class Hierarchy (minibus 1.2.1 API)</title>
<meta name="date" content="2017-04-24">
<link rel="stylesheet" type="text/css" href="../../../..... |
{% extends "layout.html" %}
{% block page_title %}
Fit note
{% endblock %}
{% block content %}
<main id="content" role="main">
{% include "../includes/phase_banner_alpha.html" %}
<form action="pensions" method="#" class="form">
<div class="grid-row">
<div class="column-two-thirds">
... |
class BookingsController < <API key>
respond_to :html, :json
before_action :find_booking, except: [:create, :index]
def index
@bookings = Booking.current.order(:starts_at)
respond_with @bookings
end
def new
@booking = Booking.new
end
def create
@booking = Booking.new(booking_params)
if... |
package edacc.parameterspace.domain;
import java.util.LinkedList;
import java.util.List;
import java.util.Random;
@SuppressWarnings("serial")
public class IntegerDomain extends Domain {
protected Integer low, high;
public static final String name = "Integer";
@SuppressWarnings("unused")
private IntegerD... |
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>HasModules - kapsule-core</title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">kapsule-core</a> / <a href="../index.html">net.gouline.kapsule</a> / <a href="./index.html">HasModules</a><br/>
<br/>
<h1>HasModul... |
import {StringUtils} from "../node_modules/igv-utils/src/index.js"
class Locus {
constructor({chr, start, end}) {
this.chr = chr
this.start = start
this.end = end
}
contains(locus) {
return locus.chr === this.chr && locus.start >= this.start && locus.end <= this.end
}
... |
using MonoGame.Extended.BitmapFonts;
using System;
using System.Collections.Generic;
using System.Text;
namespace XmasHell.Extensions
{
public static class StringExtension
{
public static List<String> FormatBoxString(String text, int width, BitmapFont font)
{
var strings = new List<S... |
<?php
$sectionName ="About Us";
$pageTitle = "Who We Are";
$bodyCss = "about page page-simple";
?>
<?php include "_header.php"; ?>
<div class="container">
<!-- <ol class="breadcrumb">
<li><a href="/">Home</a></li>
<li><a href="/about-us/"><?php echo $sectionName; ?></a></li>
<li ... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title><API key>: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css"... |
(function () {
'use strict';
var app = angular.module('app');
// Collect the routes
app.constant('routes', getRoutes());
// Configure the routes and route resolvers
app.config(['$routeProvider', 'routes', routeConfigurator]);
function routeConfigurator($routeProvider, routes) {
route... |
// File: Math.cpp
// All code is my own except where credited to others.
#include "Math.hpp"
#include <math.h>
Vector2d* Math::<API key>(Vector2d* vector)
{
if (vector == 0 || (vector->m_x == 0 && vector->m_y == 0)) {
return new Vector2d(0.0,0.0);
}
float scalar = sqrtf((vector->m_x * vector-... |
import Ember from 'ember';
import layout from './template';
export default Ember.Component.extend({
layout: layout,
classNames: ['kit-canvas-scroller'],
canvasStyle: Ember.computed('parentView.canvasStyle', function() {
return this.get('parentView').get('canvasStyle');
}),
numberOfItems: Emb... |
package main
import (
"fmt"
"net/http"
"log"
"strconv"
"github.com/stvndall/languagetechstats/src/go/services/factors"
"github.com/gorilla/mux"
)
func main(){
router := mux.NewRouter().StrictSlash(true)
router.HandleFunc("/{numbers}", factorise)
log.Fatal(http.ListenAndServe(":2500",... |
function test() {
for(var i=1; i<3; i++) {
console.log("inner i: " + i);
}
console.log("outer i: " + i);
}
function last() {
const PI = 3.1415926;
console.log(PI);
}
// test();
last(); |
'use strict';
module.exports = {
controller: function (args) {
this.config = _.merge({
salvar: _.noop,
publicar: _.noop,
descartar: _.noop,
visualizar: _.noop,
editar: _.noop
}, args);
},
view: function (ctrl) {
var salvarView = '';
if (ctrl.config.salvar !== _.noop) ... |
/*
The parser for parsing US's date format that begin with month's name.
EX.
- January 13
- January 13, 2012
- January 13 - 15, 2012
- Tuesday, January 13, 2012
*/
var moment = require('moment');
require('moment-timezone');
var Parser = require('../parser').Parser;
var ParsedResu... |
#include <iostream>
#include "ringo.hpp"
void ringo () {
std::cout << "and Ringo" << std::endl;
} |
/*
main.c
*/
#define F_CPU 8000000
#include <stdio.h>
#include <string.h>
#include <util/delay.h>
#include <avr/interrupt.h>
#include <avr/io.h>
#include "../lib/ring_buffer.h"
#include "../lib/serial.h"
/*
Basic test of interrupt based serial functionality
*/
int main(void) {
uart_init();
sei();
char buf... |
using System;
using System.Collections.Generic;
namespace TranscendenceChat.ServerClient.Entities.Ws.Requests
{
public class <API key> : BaseRequest
{
public List<Guid> Messages { get; set; }
}
} |
## Scanner
type Scanner
string::AbstractString
tail::AbstractString
pos::Integer
end
Scanner(string::AbstractString) = Scanner("", string, 0)
## Returns `true` if the tail is empty (end of string).
function eos(s::Scanner)
s.tail == ""
end
## Tries to match the given regular expression at the current po... |
<?php
namespace Mage\Adminhtml\Test\Fixture\StoreGroup;
use Magento\Mtf\Fixture\FixtureFactory;
use Magento\Mtf\Fixture\FixtureInterface;
use Mage\Catalog\Test\Fixture\CatalogCategory;
/**
* Prepare CategoryId for Store Group.
*/
class CategoryId implements FixtureInterface
{
/**
* Prepared dataset data.
... |
<!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.8.5 - v0.8.7: Member List</title>
<link href="tabs.c... |
title: "Hacker Tools: Emacs"
date: 2021-10-10 00:00:00
author: Hao Wei
url: /2021/10/hacker-tools-6
summary: Come join us at this workshop to learn how to use Emacs effectively, from the basics.
<!
This workshop has ended; here are links to the materials and recording:
- [Slides](https://github.com/nushackers/hackertoo... |
fib(0, A, _, A).
fib(N, A, B, F) :- N1 is N - 1,
Sum is A + B,
fib(N1, B, Sum, F).
fib(N, F) :- fib(N, 0, 1, F). |
'use strict';
import React, {PureComponent} from 'react';
import {StyleSheet, View, Text} from 'react-native';
import withMaterialTheme from './styles/withMaterialTheme';
import {<API key>} from './util';
import * as typo from './styles/typo';
import shades from './styles/shades';
/**
* Section heading
*/
class Subhe... |
public class TestSea6Task1 {
public static void main(String[] args) {
String text = "Sun is shining. Today is a good day for test. Sun is shining. The students are happy. The birds are blue.";
int indexSent = -1;
int lengthSen = 0;
int counterSen = 0;
int indexLast = 0;
... |
interface Foo extends stdClass
{
/**
* @var string
*/
const FOO = 'theValue';
/**
* @var string
*/
const BAR = 'theOtherValue';
/**
* @var int
*/
/**
* @var bool
*/
/**
* This method is very useful
* @date 2012-03-01
* @return mixed
... |
#ifndef __MSG_IO_H__
#define __MSG_IO_H__
#include "msg.h"
int msg_input(int, struct msg *);
int msg_output(int);
void msg_push(struct msg *);
#endif
// msg_io.h |
#import "NSObject.h"
@class NSString;
@interface <API key> : NSObject
{
id handler;
NSString *identifier;
}
@property(retain, nonatomic) NSString *identifier; // @synthesize identifier;
@property(copy, nonatomic) id handler; // @synthesize handler;
@end |
package controller
import (
"net/http"
"encoding/json"
"rest-commander/store"
"rest-commander/model/dto"
)
type <API key> interface {
HandleLogin(w http.ResponseWriter, r *http.Request)
HandleLogout(w http.ResponseWriter, r *http.Request)
}
func (t *AuthenticationRoute) HandleLogin(w http.Respon... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="nb" version="2.0">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About Podcoin</source>
<translation>Om Podcoin</translation>
</message... |
package hugs.support;
import hugs.*;
public class ScoreParameter extends Parameter {
public Score value;
public ScoreParameter (String name) { this(name,null);}
public ScoreParameter (String name, Score value) {
super(name);
this.value = value;
}
public Object getValue () {return value;}
pu... |
FROM golang:onbuild
MAINTAINER Andy Grunwald <andygrunwald@gmail.com>
EXPOSE 8082
ENTRYPOINT ["app"] |
// KPHRequest.h
// KeePassHttp-ObjC
#import <Foundation/Foundation.h>
#import "JSONModel.h"
static NSString *const <API key> = @"get-logins";
static NSString *const <API key> = @"get-logins-count";
static NSString *const <API key> = @"get-all-logins";
static NSString *const kKPHRequestSetLogin = @"set-login";
static ... |
package com.riteshakya.subs.views.screens.login;
import android.content.Intent;
import android.support.v4.app.FragmentActivity;
import com.google.android.gms.common.api.GoogleApiClient;
import com.riteshakya.subs.mvp.FlowListener;
import com.riteshakya.subs.mvp.IPresenter;
import com.riteshakya.subs.mvp.IView;
import c... |
<?php
namespace LdapTools\Connection;
use LdapTools\Exception\<API key>;
use LdapTools\Exception\<API key>;
use LdapTools\DomainConfiguration;
use LdapTools\Utilities\Dns;
use LdapTools\Utilities\LdapUtilities;
use LdapTools\Utilities\TcpSocket;
/**
* Retrieves an available LDAP server from an array using the provided... |
<?php
namespace Brasa\RecursoHumanoBundle\Form\Type;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\<API key>;
use Symfony\Component\Form\Extension\Core\Type\TextType;
use Symfony\Component\Form\Extension\Core\Type\SubmitType;
class <API key> extends AbstractType
{
/**
* @param <API key> $... |
<?php
namespace Emayk\Ics\Repo\Taxtype;
interface TaxtypeInterface {
/**
* Menampilkan Daftar Resource
*
* @return Response
*/
public function all();
/**
* Menyimpan Resource Baru
*
* @return Response
*/
public function store();
/**
* Menampilkan Form New... |
class CreateQuestionsTags < ActiveRecord::Migration
def change
create_table :questions_tags, id: false do |t|
t.references :question, index: true
t.references :tag, index: true
end
end
end |
{-# htermination minFM :: (Ord a, Ord k) => FiniteMap (Either a k) b -> Maybe (Either a k) #-}
import FiniteMap |
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
?>
<div class="woocommerce-order">
<?php if ( $order ) : ?>
<?php if ( $order->has_status( 'failed' ) ) : ?>
<p class="woocommerce-notice <API key> <API key>"><?php _e( 'Unfortunately your order cannot be processed as the originating bank/merchan... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>addition-chains: 3 m 2 s </title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css"... |
using System;
using System.Collections.Generic;
using Xamarin.Forms;
using Xamarin.Forms.CustomAttributes;
using Xamarin.Forms.Internals;
#if UITEST
using Xamarin.UITest;
using NUnit.Framework;
#endif
namespace Xamarin.Forms.Controls
{
[Preserve (AllMembers = true)]
[Issue (IssueTracker.Bugzilla, 26032, " ListV... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
namespace WarZ
{
public class ParticlesManager : <API key>
{
private WarZGame WZGame;
//PARTICLES
// This sample uses five different particle systems.
ParticleSyst... |
import { onChange, getBits } from '../state'
import { inputWidth, centerInputs } from './inputs'
const $bits = document.getElementById('bits')
const setBitsWidth = width => {
$bits.style.width = inputWidth(width)
centerInputs()
}
const setBitsValue = value => {
setBitsWidth(value.length)
$bits.value = value
}
$... |
OxygenMailer::Client.setup do |config|
# api-key for sms
config.sms_api_key = "replace api key of sms"
config.sms_api_secret = "replace api secret of sms"
# api-key for mail
config.mail_api_key = "reaplce api key of mail"
config.mail_api_secret = "replace api secret of mail"
config.ssh_host = "host"
con... |
var plugin = require("./plugin");
module.exports = function(PluginHost) {
var app = PluginHost.owner;
/**
* used like so:
* --external-aliases privateapi,privateAPI,hiddenAPI
* or
* -ea privateapi,privateAPI
*/
app.options.addDeclaration({ name: 'external-aliases', short: 'ea' });
/**
* used l... |
var gulp = require('gulp'),
plugins = require('gulp-load-plugins')(),
Karma = require('karma').Server;
var paths = {
scripts: {
src: ['src*.js'],
dest: 'dist',
file: 'mention.js'
},
styles: {
src: ['src*.scss'],
dest: 'dist',
file: 'mention.css'
},
example: {
scripts: {
... |
#include "TestBase.h"
const char *testPostExpressions =
"typedef char[] string;\r\n\
\r\n\
int string:find(char a)\r\n\
{\r\n\
int i = 0;\r\n\
while(i < this.size && this[i] != a)\r\n\
i++;\r\n\
if(i == this.size)\r\n\
i = -1;\r\n\
return i;\r\n\
}\r\n\
\r\n\
int a = (\"hello\").size ... |
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.compute.fluent.models;
import com.azure.core.annotation.Fluent;
import com.azure.core.util.logging.ClientLogger;
import com.azure.resourcemanager.compute.models.GalleryIdentifier;
import com.azure.resourcemanager.compute.model... |
import { StyleSheet } from 'react-native'
const s = StyleSheet.create({
flexRowAround: {
flexDirection: 'row',
justifyContent: 'space-around',
},
dot: {
height: 7,
width: 7,
borderRadius: 3.5,
},
green: {
color: '#50d2c2',
},
flexWrap: {
flexWrap: 'wrap',
},
textCenter: {
... |
{% extends 'base_with_sidebar.html' %}
{% load i18n %}
{% block head_title %}{% trans 'Settings' %}{%endblock %}
{% block sidebar %}
<li>
<a class="sidebar-mainlink" href="{% url 'projects:main' %}" id="return">
{% trans 'Home' %}
</a>
</li>
<li>
<a class="sidebar-mainlin... |
# Community Chest
Made primarily for DBC, students or mentors can share tweet-sized advice. All this advice gets added to a chest where users can open and interact with. |
exports.CLI = require(__dirname + '/lib/cli');
exports.Events = require(__dirname + '/lib/events'); |
import {AbstractControl, FormBuilder, FormGroup, Validators} from "@angular/forms";
import {DatePickerOptions} from "ng2-datepicker";
import {<API key>} from "../../matches-data-store";
import {MatchesConstants} from "../../matches.constant.service";
import {IOption} from "ng-select";
import {Component, EventEmitter, O... |
#!/bin/bash
set -euo pipefail
cd `pwd`
stringtie=$HOME/github/stringtie/stringtie
gtf=$1 |
using System;
namespace Ducksoft.SOA.Common.Filters
{
<summary>
Class which is used to store filter changed event arguments.
</summary>
public class <API key> : EventArgs
{
<summary>
Gets a value indicating whether this instance is reset.
</summary>
<value>
<c... |
# Creating a new project
First create a new folder / repository then run:
bash
basenji init |
import json
from chargebee.model import Model
from chargebee import request
from chargebee import APIError
class Plan(Model):
class Tier(Model):
fields = ["starting_unit", "ending_unit", "price", "<API key>", "<API key>", "price_in_decimal"]
pass
class ApplicableAddon(Model):
fields = ["id"]
... |
<?php
namespace denbora\R_T_G_Services\services\REST;
use denbora\R_T_G_Services\<API key>;
class GameService extends RestService
{
/**
* First part in url after /api/
*/
const API_URL = 'games';
/**
* @param $query
* @param null $array
* @param string $endpoint
* @return bool|... |
'use strict';
!function($) {
/**
* OffCanvas module.
* @module foundation.offcanvas
* @requires foundation.util.keyboard
* @requires foundation.util.mediaQuery
* @requires foundation.util.triggers
* @requires foundation.util.motion
*/
class OffCanvas {
/**
* Creates a new instance of an off-canvas wrapper.
... |
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.avs.models;
import com.azure.core.util.<API key>;
import com.fasterxml.jackson.annotation.JsonCreator;
import java.util.Collection;
/** Defines values for <API key>. */
public final class <API key>
extends <API key><<API k... |
#!/bin/bash
source $(which virtualenvwrapper.sh)
workon tesis
python -m unittest tests.recommender_test |
var Dispatcher = require('flux').Dispatcher;
var assign = require('object-assign')
var AppDispatcher = assign(new Dispatcher(), {
handleViewAction: function(action) {
this.dispatch({
actionType: 'VIEW_ACTION',
action: action
});
},
handleServerAction: function(action) {
this.dispatch({
... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>First Steps Into PHP</title>
</head>
<body>
<form>
N: <input type="text" name="num" />
<input type="submit" />
</form>
<!--Write your PHP Script here
</body>
</html>
<?php
if (isset($_GET['num'])) {
$n1 = intval($_GET['num']);
... |
#include "slib/ui/clipboard.h"
#if defined(SLIB_UI_IS_GTK)
#include "slib/ui/platform.h"
namespace slib
{
sl_bool Clipboard::hasText()
{
GtkClipboard* clipboard = gtk_clipboard_get(<API key>);
if (clipboard) {
return <API key>(clipboard) ? sl_true : sl_false;
}
return... |
span.cm-bracket { color: #0076be; }
span.cm-builtin { color: #0076be; }
span.cm-def { color: #0076be; }
span.cm-header { color: #0076be; }
span.cm-meta { color: #0076be; }
span.cm-operator { color: #0076be; }
span.cm-qualifier { color: #0076be; }
span.cm-tag { color: #... |
Prisoner Data for the Americas (North, South, Central) for a set of years and the numbers of the populations for the countries as of 2017. The adjacency matrix is the countries which border with each other. |
#pragma once
#include <string>
namespace pyconv {
namespace language {
namespace types{
namespace line {
using std::string;
class LineType {
public:
typedef int line_t;
static const line_t BLANK = 0;
static const line_t CLOSE_BRACE = 1;
static const line_t ELIF_STATEMENT = 2;
static const line_t ELS... |
<?php
class <API key> extends <API key>
{
protected $_eventPrefix = 'boosting';
protected $_eventObject = 'object';
protected function _construct()
{
$this->_init("boosting/boost");
}
public function <API key>()
{
return Mage::getModel('boosting/<API key>');
}
/**
... |
require 'rails_helper'
describe HeadingService::<API key> do
let(:heading) { create :heading, :non_grouping,
:with_description }
let(:measure_type) { create :measure_type, measure_type_id: '103' }
let(:actual_date) { Date.current }
describe '#serializable_hash' do
describe 'applying... |
//DOM-IGNORE-BEGIN
//DOM-IGNORE-END
#ifndef <API key>
#define <API key>
#include "usart_registers.h"
/* Function : <API key>
Summary:
Implements Default variant of <API key>
Description:
This template implements the Default variant of the <API key> function.
*/
#define <API key> <API key>
PLIB_TEMPLATE boo... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>"Hello World"-style Examples -- Splunk SDK for JavaScript</title>
<meta name="description" content="">
<meta name="author" content="">
<!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
<!--[if lt IE 9]>
<scrip... |
$(document).ready(function(){
//enable the return time input and dropdown
$("#round").change(function() {
if(this.checked) {
console.log("Return data field open!");
$("#rD").removeClass('ui disabled input').addClass('ui input');
$("#rY").removeClass('ui disabled input... |
module ::Refinery
module Admin
module DashboardHelper
def <API key>(record)
if (plugin = ::Refinery::Plugins.active.find_by_model(record.class)) &&
(activity = plugin.activity.first)
# work out which action occured
action = record.updated_at.eql?(record.created_at) ? '... |
(function(){
angular.module('list-products', [])
.directive('productInfo', function() {
return {
restrict: 'E',
templateUrl: 'partials/product-info.html'
}
})
.directive('productForm', function() {
return {
restrict: 'E',
templateUrl: 'partials/product-for... |
export * from './types'
export * from './takeWhile' |
using System.Reflection;
using System.Runtime.CompilerServices;
using Android.App;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle("GifViewer.Droid")]
[assembly: AssemblyDescription("")]
[assembly: <API key>("")]
... |
namespace More.IO
{
using System;
using System.Diagnostics.Contracts;
using System.IO;
using System.Threading.Tasks;
<summary>
Represents a file with information about its contents and ways to manipulate it.
</summary>
[ContractClass( typeof( IFileContract ) )]
public interface IFile... |
use machine::Machine;
use process::Context;
pub trait GetValue {
fn get_value(&self, vm: &Machine, context: &Context) -> i32;
fn get_value_long(&self, vm: &Machine, context: &Context) -> i32 {
self.get_value(vm, context)
}
} |
layout: post
date: 2017-12-21
title: "Jonathan James Couture Micha"
category: Jonathan James Couture
tags: [Jonathan James Couture]
Jonathan James Couture Micha
Just **$319.99**
<table><tr><td>BRANDS</td><td>Jonathan James Couture</td></tr></table>
<a href="https:
<!-- break -->
Buy it: [https: |
# encoding: utf-8
require "phonology"
require File.expand_path("../spanish/orthography", __FILE__)
require File.expand_path("../spanish/phonology", __FILE__)
require File.expand_path("../spanish/syllable", __FILE__)
# This library provides some linguistic and orthographic tools for Spanish
# words.
module Spanish
ext... |
#include "math/lu.hh"
#include <cassert>
#include <cmath>
#include "math/vlist.hh"
LU::lu_t LU::lu(const Matrix& a)
{
assert(a.rows() == a.cols());
std::size_t n = a.rows();
auto l = Matrix::id(n);
auto u = a;
for (std::size_t j = 0; j < n; ++j)
for (std::size_t i = j + 1; i < n; ++i)
{
doub... |
<!DOCTYPE html PUBLIC "-
<html xmlns='http:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta>
<title>3810-80-8.smi.png.html</title>
</head>
<body>ID3810-80-8<br/>
<img border="0" src="3810-80-8.smi.png" alt="3810-80-8.smi.png"></img><br/>
<br/>
<table border="1">
<tr>
<td></td><td>ID</td><td>Fo... |
<?php
namespace RestSpec\Output\ConstraintDescriber;
use Symfony\Component\Validator\Constraint;
class NotBlank
{
public function describe(Constraint $constraint)
{
$output = 'is required';
return $output;
}
} |
use anyhow::{anyhow, Result};
use cnx::text::{Attributes, Text};
use cnx::widgets::{Widget, WidgetStream};
use std::fs::File;
use std::io::BufRead;
use std::io::BufReader;
use std::time::Duration;
use tokio::time;
use tokio_stream::wrappers::IntervalStream;
use tokio_stream::StreamExt;
Represents CPU widget used to sho... |
require "json"
require "spec_helper"
require_relative "../../lib/simpl"
describe Simpl::Url do
let(:url) { "http://example.com/test-page" }
let(:actual_api_key) { "1234567890abcdef" }
before do
Simpl.<TwitterConsumerkey>
Simpl.timeout = 30
end
subject { Simpl::Url.new(url) }
context "when no custom ... |
#pragma once
namespace meson {
// Header to ignore CORS.
extern const char kCORSHeader[];
// Strings describing Chrome security policy for DevTools security panel.
extern const char kSHA1Certificate[];
extern const char <API key>[];
extern const char <API key>[];
extern const char kCertificateError[];
extern const char... |
<?php
namespace Granule\DataBind;
interface <API key> {
function setResolver(DependencyResolver $resolver): void;
} |
FROM php:7.1-fpm-alpine
MAINTAINER Alexey Boyko <ket4yiit@gmail.com>
ENV PHPCENSOR_VERSION=0.25.0
WORKDIR /var/www/html
RUN apk update && \
apk add git nginx openssh postgresql-dev openldap-dev gettext zlib-dev && \
curl -sS https://getcomposer.org/installer | php && \
mv composer.phar /usr/bin/composer
RUN... |
require 'thor/group'
require_relative '../routing/extractor'
require_relative '../templates/js_paths.rb'
require_relative '../templates/<API key>'
module LieutenantGovernor
module Generators
class JsRouteHelpers < Thor::Group
extend Thor::Actions
# Use the extractor to get the hash
# assume func... |
<?php namespace Waynestate\Api;
use Waynestate\Api\ConnectorException;
/**
* Class Connector
* @package Waynestate\Api
*/
class Connector
{
public $apiKey;
public $parser = 'json'; // Use the included XML parser? Default: true.
public $debug = false; // Switch for debug mode
public $sessionid;
pu... |
angular.module('material.animations')
.directive('inkRipple', [
'$materialInkRipple',
InkRippleDirective
])
.factory('$materialInkRipple', [
'$window',
'$$rAF',
'$materialEffects',
'$timeout',
InkRippleService
]);
function InkRippleDirective($materialInkRipple) {
return function(scope, element, attr) {
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.