answer stringlengths 15 1.25M |
|---|
package http
import (
"bytes"
"fmt"
"net/http"
"strconv"
"strings"
"text/template"
dsconfig "github.com/mneudert/devel.serve/ds/config"
dstpl "github.com/mneudert/devel.serve/ds/templates/reloader"
)
type <API key> struct{}
type <API key> struct {
http.ResponseWriter
de... |
#pragma once
#include <bitset>
#include <map>
#include <stack>
#include "graphics/Camera.h"
#include "graphics/Sprite.h"
const int MAX_ENTITY_NUMBER = 500;
namespace core {
class World {
public:
World();
int createEntity(std::string name = "");
void destroyEntity(int id);
int get... |
<?php
namespace Stripe\Util;
/**
* @internal
* @covers \Stripe\Util\<API key>
*/
final class <API key> extends \Stripe\TestCase
{
use \Stripe\TestHelper;
public function testArrayAccess()
{
$arr = new <API key>(['One' => '1', 'TWO' => '2']);
$arr['thrEE'] = '3';
static::assertSame... |
using System;
using Newtonsoft.Json;
namespace Tweetinvi
{
<summary>
Provide a set of preconfigured solutions that you can use to track the Twitter rate limits.
</summary>
public enum <API key>
{
<summary>
By default Tweetinvi let you handle the RateLimits on your own
</summa... |
<?php
@ini_set("display_errors","1");
@ini_set("<API key>","1");
require_once("include/dbcommon.php");
add_nocache_headers();
require_once("classes/searchclause.php");
require_once("include/<API key>.php");
require_once("classes/searchcontrol.php");
require_once("classes/<API key>.php");
require_once("classes/panelsear... |
import type { AdapterPool } from './types'
const executeSequence = async (
pool: AdapterPool,
statements: string[],
log: any,
convertToKnownError: (error: any) => any
): Promise<any[]> => {
const errors: any[] = []
for (const statement of statements) {
try {
log.debug(`executing query`)
log.... |
using System.Collections.Generic;
namespace MyStaging.Interface.Core
{
<summary>
</summary>
<typeparam name="T"></typeparam>
public interface IInsertBuilder<T> : ISaveChanged where T : class
{
T Add(T model);
<summary>
SaveChange()
</summary>
<param name="ite... |
<?php (defined('BASEPATH')) OR exit('No direct script access allowed');
class MX_Config extends CI_Config
{
public function load($file = '', $use_sections = FALSE, $fail_gracefully = FALSE, $_module = '')
{
if (in_array($file, $this->is_loaded, TRUE)) return $this->item($file);
$_module OR $_mod... |
.login-container {
position: fixed;
overflow: hidden;
top: 0;
left: 0;
right: 0;
bottom: 0;
height: 100%;
padding: 0;
}
.login-container>.col {
color: #ffffff;
height: 100%;
padding: 10% 0;
position: relative;
}
.login-container>.col>div {
position: absolute;
widt... |
var mongoose = require('mongoose'),
Schema = mongoose.Schema;
var PriceRule = new Schema({
listingID: {type: mongoose.Schema.Types.ObjectId, ref: 'listing', required: true},
title: String,
order: Number,
scale: String, //(Fixed Value, Gradual Value, Fixed Percentage, Gradual Percentage)
amount: ... |
using System;
using System.Runtime.InteropServices;
using System.Text;
namespace SDRSharp.HackRF
{
#region HackRF Transfer Structure
[StructLayout(LayoutKind.Sequential)]
public unsafe struct hackrf_transfer
{
public IntPtr device;
public byte* buffer;
public int buffer_length;
... |
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Net.Sockets;
using System.Net.Security;
using System.Net.Test.Common;
using System.Runtime.InteropServices;
using System.Security.Authentication.ExtendedProtection;
using System.Security.Cryptography.X509Certifi... |
(function() {
describe('scalarInput', function() {
describe('#constructor', function() {
it('can handle single unit', function() {
var si;
si = $('<input>').scalarInput({
units: 'meters'
}).scalarInput('instance');
return expect(si.option('units')).toEqual('meters')... |
import os
import sys
import string
import contextlib
from subprocess import Popen, PIPE
check_output = None
def <API key>(command_args, **kwargs):
kwargs['stdout'] = PIPE
return Popen(' '.join(command_args), **kwargs).stdout.read()
try:
from subprocess import check_output
except ImportError:
check_outpu... |
package se.cs.eventsourcing.infrastructure.store.jdbc.sample;
import se.cs.eventsourcing.domain.event.DomainEvent;
public class ChangeLastName implements DomainEvent {
private String name;
private ChangeLastName() {}
public ChangeLastName(String name) {
this.name = name;
}
public String getN... |
@font-face
{
font-family:ciconv1;
src:url(CarIcons.ttf);
}
[class*=gic-]
{
font-family:ciconv1;
}
.gic-newUser:before
{
display:inline-block;
content:'\0021';
}
.gic-info:before
{
display:inline-block;
content:'\0022';
}
.gic-slideright:before
{
display:inline-block;
content:'\0023';... |
Bootstrap tooltip helper
=====================
Helper for Bootstrap 3 tooltip
http://getbootstrap.com/javascript/#tooltips
# Summary
The script applies the `tooltip` to all `.do_tooltip` elements in the page once the DOM is loaded.
It takes care to merge both the default options (`js`) and the custom options (`html5 da... |
import { DomSanitizer, SafeHtml } from '@angular/platform-browser'
import { QuillService } from './quill.service'
import {
Component,
Inject,
Input,
OnChanges,
SimpleChanges,
ViewEncapsulation
} from '@angular/core'
@Component({
encapsulation: ViewEncapsulation.None,
selector: 'quill-view-html',
style... |
#ifndef _WORDEXP_H
#define _WORDEXP_H 1
#include <features.h>
#define __need_size_t
#include <stddef.h>
__BEGIN_DECLS
/* Bits set in the FLAGS argument to `wordexp'. */
enum
{
WRDE_DOOFFS = (1 << 0), /* Insert PWORDEXP->we_offs NULLs. */
WRDE_APPEND = (1 << 1), /* Append to results of a previ... |
package calculator.operations;
import java.util.function.<API key>;
/**
*
* @author Michael Syme
*/
public enum Operations implements <API key> {
PLUS ("+", (o1, o2) -> o1 + o2),
MINUS ("-", (o1, o2) -> o1 - o2),
MULTIPLY("*", (o1, o2) -> o1 * o2),
DIVIDE ("/", (o1, o2) -> o1 / o2),
SQUARE ... |
# RuntimeMeshLoader
RuntimeMeshLoader for UE4
Use this plugin with <API key>, you can load mesh with Blueprint in runtime,support relative and absolute Path.
Supported file formats
3DS
BLEND (Blender)
DAE/Collada
FBX
IFC-STEP
ASE
DXF
HMP
MD2
MD3
MD5
MDC
MDL
NFF
PLY
STL
X
OBJ
OpenGEX
SMD
LWO
LXO
LWS
TER
AC3D
MS3D
COB
Q3... |
# <API key>: true
require "rails_helper"
RSpec.describe GraphqlController, type: :controller do
let!(:app) do
FactoryBot.create(:app)
end
let!(:user) do
app.add_user(email: "test@test.cl")
end
let!(:agent_role) do
app.add_agent({ email: "test2@test.cl" })
end
let(:app_user) do
app.add_user... |
var mongoose = require('mongoose'),
Schema = mongoose.Schema;
var serviceSchema = new Schema({
name: String,
version: String,
status: Boolean,
success: Boolean
});
mongoose.model('Service', serviceSchema); |
/**
* Just initialize the variables
*
* @class init
*/
/**
*
* @class restFactory
*/
window.rest = (function () {
'use strict';
/**
* Array of modules list of the rest factory accepts.
*
* Every Module is a Obect like this:
* <pre>
* {
* {resourceName} : {Object}
* }
* </pre>
* @property modules... |
<?php
namespace Inodata\FloraBundle\Form\Type;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\<API key>;
use Symfony\Component\OptionsResolver\<API key>;
class PaymentContactType extends AbstractType
{
public function buildForm(<API key> $builder, array $options)
{
$builder
... |
<!DOCTYPE html PUBLIC "-
<html xmlns="http:
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta name="generator" content="pandoc" />
<title>Corona Docs: guide > graphics > group</title>
<meta name="revised" content="14-... |
package com.facetime.core.utils;
import java.beans.BeanInfo;
import java.beans.<API key>;
import java.beans.Introspector;
import java.beans.PropertyDescriptor;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintStream;
import java.io.Reader;
import java.io.Writer;... |
package demo.binea.com.pulltorefreshlib;
import demo.binea.com.pulltorefreshlib.indicator.PtrIndicator;
/**
* A single linked list to wrap PtrUIHandler
*/
class PtrUIHandlerHolder implements PtrUIHandler {
private PtrUIHandler mHandler;
private PtrUIHandlerHolder mNext;
private boolean contains(PtrUIHandl... |
(function() {
'use strict';
angular
.module('<%= moduleName %>')
.controller('<%= moduleName %>Ctrl', controller);
controller.$inject = [];
function controller() {
}
})(); |
package android.protype.datashade;
import java.util.ArrayList;
import com.example.datashade.R;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.util.AttributeSet;
import android.view.MotionEvent;
import android.view.View... |
#include "Tools/Math/utils.h"
#include "Tools/Code/Turbo/<API key>/Scaling_factor/<API key>.hpp"
using namespace aff3ct;
using namespace aff3ct::tools;
template <typename B, typename R>
<API key><B,R>
::<API key>(const int n_ite)
: Scaling_factor<B,R>(n_ite)
{
}
template <typename B, typename R>
bool <API key><B,R>
::s... |
#include <Saba/Base/Log.h>
#include <Saba/Viewer/Viewer.h>
#include <Saba/Viewer/ViewerCommand.h>
#include <nlohmann/json.hpp>
#include <sol.hpp>
#include <fstream>
#include <vector>
namespace
{
/*
@brief Load initial setting from "init.json".
*/
void <API key>(
saba::Viewer::InitializeParame... |
package com.controller;
import android.content.Context;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.<API key>;
import com.repofetcher.<API key>;
import com.repofetcher.R;
import ... |
class InitQa < ActiveRecord::Migration
def change
create_table :qavotes do |t|
t.boolean :vote
t.integer :user_id
t.integer :question_id
t.integer :answer_id
t.timestamps
end
create_table :qaquestions do |t|
t.text :title
t.text :content
t.integer :user_id
... |
<?xml version="1.0" ?>
<!DOCTYPE html PUBLIC "-
<html xmlns="http:
<head><link href="http://search.cpan.org/s/style.css" rel="stylesheet" type="text/css">
<title>Planimeter(1)</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rev="made" href="mailto:root@localhost" />
</head>
<body sty... |
package org.seqcode.viz.preferences;
public interface PreferencesListener {
public void preferencesUpdated(PreferencesEvent evt);
public void <API key>(PreferencesEvent evt);
} |
<html>
<head>
<meta charset="utf-8">
<link href="main.css" rel="stylesheet">
<script src="https://cdnjs.cloudflare.com/ajax/libs/ramda/0.26.1/ramda.min.js"></script>
</head>
<body>
<span class="midiSelectContainer">
<select id="midiSelect">
<option value="">No MIDI Inputs</option>
... |
// NOTE This file documents the data structure of v1.
const c = require('./common');
module.exports = {
collections: {
config: [], // Denotes that collection doesn't exist and must be removed.
users: [{
name: 'admin',
email: 'admin@example.com',
hash: c.PASSWORD,
admin: true,
}],
... |
package beans.relation.summary;
public class SemanticQual {
private String lang;
private String qualifier;
private int id;
/**
* see static definitions of categories 1-11.
*/
private int category;
private int deleteFlag = 0;
/**
* opposite of another semantic qualifier (e.g. l... |
require 'sqlite3'
require 'sequel_core/adapters/shared/sqlite'
module Sequel
module SQLite
class Database < Sequel::Database
include ::Sequel::SQLite::DatabaseMethods
set_adapter_scheme :sqlite
def self.uri_to_options(uri) # :nodoc:
{ :database => (uri.host.nil? && uri.path == '/') ? nil... |
var csc = require('../index');
csc({ |
// obtaining a copy of this software and associated documentation
// files (the "Software"), to deal in the Software without
// restriction, including without limitation the rights to use,
// copies of the Software, and to permit persons to whom the
// Software is furnished to do so, subject to the following
// conditi... |
namespace Tresor.Utilities
{
using System.Collections.ObjectModel;
using Tresor.Contracts.Utilities;
<summary>Beschreibt einen Tab der innerhalb der Anwendung angezeigt werden kann.</summary>
public class Tab : <API key>
{
#region Fields
<summary>Mitglied der Eigenschaft <see cref="C... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta http-equiv="pragma" content="no-cache"/>
<meta name="<API key>" content="yes" />
<meta name ="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalab... |
## REPLACED BY [PathNameUtils](..%2FPathNameUtils.md)
This will be removed as soon.
js
// Removes the last component of the path, which is often the file name.
// Leaves the trailing "/" if any.
// UPDATED: 2016/07/08 15:16 PDT
<API key>: function(path) {
var i = path.lastIndexOf("/");
return i < 0 ? "" : path.... |
class <API key> < ActiveRecord::Migration
def change
add_column :contacts, :is_active, :boolean, default: true
end
end |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Windows.AI.MachineLearning.Preview;
using Windows.Graphics.DirectX.Direct3D11;
using Windows.Graphics.Imaging;
using Windows.Media;
using Windows.Storage;
namespace BuildIt.M... |
# PowerShell Governance
## Terms
* [**PowerShell Committee**](#<API key>): A committee of project owners who are responsible for design decisions,
approving [RFCs][RFC-repo], and approving new maintainers/committee members
* [**Repository maintainer**](#<API key>): An individual responsible for merging pull requests ... |
<?php
namespace AppBundle\DependencyInjection;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\DependencyInjection\Extension\ExtensionInterface;
class AppExtension implements ExtensionInterface
{
public function getAlias()
{
return 'app';
}
public function getN... |
Busted
===
[(implicit flash: play.api.mvc.Flash, messages: Messages) |
#include "f2c.h"
#include "blaswrap.h"
/* Table of constant values */
static integer c__1 = 1;
static doublereal c_b23 = 0.;
static integer c__0 = 0;
static doublereal c_b39 = 1.;
/* Subroutine */ int dlatme_(integer *n, char *dist, integer *iseed,
doublereal *d__, integer *mode, doublereal *cond, doublereal *dmax_... |
#include <algorithm>
#include <cassert>
#include <iterator>
#include <ostream>
#include <set>
#include <string>
#include <sstream>
#include <boost/shared_ptr.hpp>
#include <mdds/flat_segment_tree.hpp>
#include <quickcheck/quickcheck.hh>
namespace
{
using quickcheck::Property;
using std::ostream;
using std::pair;
using ... |
if ENV['AIRBRAKE_KEY']
Airbrake.configure do |config|
config.api_key = ENV['AIRBRAKE_KEY']
config.params_filters << "ssh_key"
config.params_filters << "mysql_password"
end
end
module CustomNotifier
def self.notify(exception, parameters=nil)
options = {}
if exception.instance_of?(Hash)
op... |
var test = require('tape');
var fs = require('fs');
var parseKey = require('../index');
var rsa1024 = {
private: fs.readFileSync(__dirname + '/rsa.1024.priv'),
public: fs.readFileSync(__dirname + '/rsa.1024.pub')
};
var rsa2028 = {
private: fs.readFileSync(__dirname + '/rsa.2028.priv'),
public: fs.readFileSync(... |
#!/usr/bin/env bash
set -o nounset
set -o errexit
set -o pipefail
realpath=$(realpath "${BASH_SOURCE[0]}")
scripts_dir=$(dirname "${realpath}")
root_dir=$(dirname "${scripts_dir}")
echo "${root_dir}"
cd "${root_dir}"
target_branch="origin/master"
mapfile -t changed_fies < <(git diff --name-only HEAD.."${target_branch}"... |
<?php
namespace Elastica\Rescore;
use Elastica\Query as BaseQuery;
class Query extends AbstractRescore
{
/**
* Constructor
*
* @param string|\Elastica\Query\AbstractQuery $rescoreQuery
* @param string|\Elastica\Query\AbstractQuery $query
*/
public function __construct($query = null)
... |
<?php
// Carico tutt i file php Richiesti
require('config_freamwork.php');
require('json_call.php');
global $json;
?>
<!DOCTYPE html PUBLIC "-
<html xmlns="http:
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<!-- Includo il Css per in base al broswer !-->
<link href="css/style.css" r... |
# onepage
[]()
[
... |
require 'spec_helper'
module RequestLumberjack
describe Config, ".database" do
it "should return a sqlite3 database connection" do
Config.database(nil).should be_instance_of DataMapper::Adapters::Sqlite3Adapter
end
end
end |
<?php
include_once('../../config/config.inc.php');
include_once('../../init.php');
include_once('homeslider.php');
$context = Context::getContext();
$home_slider = new HomeSlider();
$slides = array();
if (!Tools::isSubmit('secure_key') || Tools::getValue('secure_key') != $home_slider->secure_key || !Tools::getValue('ac... |
__all__ = ['pe']
from .pe import * |
package com.testproject.testclasses;
/**
* Hello world!
*
*/
public class App
{
public static void main( String[] args )
{
DownClass downClass = new DownClass();
Inline inline = new Inline("xyz");
System.out.println( "321" + inline.inlineMethod() );
}
} |
using System;
using System.Windows.Forms;
using myoddweb.viewer.forms;
using Classifier.Interfaces;
using System.IO;
using System.Linq;
using System.Reflection;
using myoddweb.viewer.utils;
namespace myoddweb.viewer
{
internal class CommandLineInfo
{
private readonly string[] _args;
public CommandLineInfo(s... |
using Xunit;
namespace StakHappy.Core.UnitTest.Data.Model.Currency.Currency
{
public class SetCurrencyFixture
{
[Fact]
public void <API key>()
{
var currency = new Core.Data.Model.Currency.Currency(23456);
Assert.Equal(234.56, currency.Value);
}
[F... |
package vcs
import (
"bytes"
"encoding/json"
"fmt"
"io"
"log"
"os/exec"
"path/filepath"
"regexp"
"strings"
)
const defaultRef = "master"
var headBranchRegexp = regexp.MustCompile(`HEAD branch: (?P<branch>.+)`)
func init() {
Register(newGit, "git")
}
type GitDriver struct {
De... |
# <API key>: true
require "cases/helper"
require "models/author"
require "models/post"
class SQLite3ExplainTest < ActiveRecord::SQLite3TestCase
fixtures :authors
def <API key>
explain = Author.where(id: 1).explain
assert_match %r(EXPLAIN for: SELECT "authors"\.\* FROM "authors" WHERE "authors"\."id" = (?:\?... |
<template name="newPalettes">
<div class="row">
<div class="col-lg-8">
{{> paletteList options}}
</div>
<div class="col-lg-4">
<p>This is the side bar</p>
</div>
</div>
</template>
<template name="bestPalettes">
<div class="row">
<div class="co... |
<footer class="bs-docs-footer" role="contentinfo">
<div class="container">
<p>© 2016 Bushidian</p>
</div>
</footer> |
# Acknowledgements
This application makes use of the following third party libraries:
## SwiftyJSON
The MIT License (MIT)
Copyright (c) 2014 Ruoyu Fu
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... |
<?php
// autoload_real.php @generated by Composer
class <API key>
{
private static $loader;
public static function loadClassLoader($class)
{
if ('Composer\Autoload\ClassLoader' === $class) {
require __DIR__ . '/ClassLoader.php';
}
}
public static function getLoader()
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Http;
namespace LucyManager.MVC
{
public static class WebApiConfig
{
public static void Register(HttpConfiguration config)
{
// Web API configuration and services
// Web API routes
... |
<?php if (! defined('BASEPATH')) {
exit('No direct script access allowed');
}
class Test_Controller extends MY_Controller
{
public function __construct()
{
parent::__construct();
}
public function index()
{
print "<p>Hello World</p>";
}
public function userError()
{
... |
import { expect } from "chai";
import processor from "../../../src/core/monoProcessor";
describe("core/monoProcessor", () => {
it("multiplies mono color by value", () => {
const c = color({ mono: 40 });
processor.mul(c, 3);
expect(c).to.eql(color({ mono: 120 }));
});
it("adds a value... |
require 'listen/compat/wrapper'
module Listen
module Compat
module Test
class Fake < Listen::Compat::Wrapper::Common
def self.fire_events(thread, *args)
processed = _processed(thread)
processed.pop until processed.empty?
_events(thread) << args
processed.pop
... |
class Entry < ActiveRecord::Base
audited
belongs_to :stuff
validates :stuff_id, :amount, presence: true
after_save :update_stuff_amount
scope :ordered, -> { order created_at: :desc }
def update_stuff_amount
stuff.update(amount: (stuff.amount + amount))
end
end |
layout: post
category: notes
title: "Logic and the flow of Control"
author: elliott
* Community engagement - Get started now!
* Open Source contributions - now Extra Credit
# TurtleHacks
<!
Nice use of Goto:
<iframe src="https://trinket.io/embed/python/0304bd2b21" width="100%" height="356" frameborder="0" marginwidth="... |
import Discord from 'discord.js'
import generateHelp from './util/generateHelp'
import runHooks from './util/runHooks'
import runPlugins from './util/runPlugins'
import getChannel from './util/getChannel'
import getCommands from './util/getCommands'
import messageHandler from './util/messageHandler'
import filterTags f... |
<img class="left w40" src="w3school/great-wall.jpg" ng-show="page.currentSlide.index < 1" />
<ul class="left m4">
<li>Angular js == FRAMEWORK</li>
<li>Router<div code="js;route.js" ng-show="page.currentSlide.index == 1"></div></li>
<li>Resolve</li>
<li>Promise</li>
<li>Dependency injection</li>
... |
package com.gvalidate.utils;
import java.util.Properties;
import java.util.logging.Level;
import java.util.logging.Logger;
public class PropertyUtils {
static Properties instance = getInstance();
private static final Logger logger = Logger.getLogger(PropertyUtils.class
.getName());
private stati... |
layout: default
<article class="posts">
<h1>{{ page.title }}</h1>
<div clsss="meta">
<span class="date">
{{ page.date | date: "%Y-%m-%d" }}
</span>
<ul class="tag">
{% for tag in page.tags %}
<li>
<a href="{{ site.url }}{{ site.baseurl }}/tags#{{ tag }}">
{{ tag }}
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Runtime.Serialization;
using ASF.Entities;
namespace ASF.Services.Contracts.Responses
{
[DataContract]
public class AllRatingResponse
{
[DataMember]
public List<Ra... |
import gpdraw.*;
import java.awt.*;
import java.util.Random;
public class DrawHouse{
DrawingTool pen;
SketchPad paper;
Color randomColor;
Color moonShine;
int roofInc = 7;
int bodyLength = 325;
public DrawHouse(){
paper = new SketchPad(700, 700);
pen = new DrawingTool(paper);... |
#!/usr/bin/env ruby
# fri: access RI documentation through DRb
require 'fastri/util'
require 'fastri/full_text_index'
default_local_mode = File.basename($0)[/^qri/] ? true : false
# we bind to 127.0.0.1 by default, because otherwise Ruby will try with
# 0.0.0.0, which results in a DNS request, adding way too much laten... |
"use strict";
var <API key> = require("@babel/runtime/helpers/<API key>");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _createSvgIcon = <API key>(require("./utils/createSvgIcon"));
var _jsxRuntime = require("react/jsx-runtime");
var _default = (0, _createSvgIcon.defaul... |
# You Don't Know JS: ES6 & Beyond
# Chapter 6: API Additions
From conversions of values to mathematic calculations, ES6 adds many static properties and methods to various built-in natives and objects to help with common tasks. In addition, instances of some of the natives have new capabilities via various new prototype... |
<!DOCTYPE html>
<!--[if IEMobile 7 ]> <html class="no-js iem7"> <![endif]-->
<!--[if (gt IEMobile 7)|!(IEMobile)]><!--> <html class="no-js"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<title>Paint Code</title>
<meta name="description" content="">
<meta name="HandheldFriendly" ... |
A = [[0, 1, 0, 0, 0, 0],
[0, 0, 1, 0, 0, 0],
[0, 0, 0, 0, 1, 0],
[0, 0, 1, 0, 1, 0],
[1, 0, 0, 0, 0, 0],
[0, 1, 0, 0, 0, 0]]
def Distancias(n, origem):
d = [-1] * n
d[origem] = 0
f = []
f.append(origem)
while len(f) > 0:
x = f[0]
del f[0]
for y in range(n):
if A[x][y... |
layout: post
title: "Final Project"
subtitle: "Music Tastes Analysis"
date: 2017-03-22 12:00:00
author: "Cindy Lai"
header-img: "img/music.jpg"
## Can you extract cultural trends from the top music hits?
I worked with Colin Santos and Kavi Tan to analyze the top musical trends from 1958 to 2015 usi... |
package org.openapitools.model;
import java.util.Objects;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import j... |
package com.nucc.hackwinds.listeners;
public interface <API key> {
void forecastDataUpdated();
void <API key>();
} |
<?php
namespace Saft\Sparql\Query;
interface Query
{
/**
* @return string
*/
public function getQuery();
/**
* @return array
*/
public function getQueryParts();
/**
* Is instance of AskQuery?
*
* @return bool
*/
public function isAskQuery();
/**
*... |
# Chat-Project
## Installation and Setup
To install make sure a postgres db is running at localhost.
Port and db name must be specified in .bashrc or added to the compile.sh
Enviroment variables names need to be `$PGPORT` and `$DB_NAME`
Create and populate it the database run create_db.sh in `project/sql/scripts/`
Make... |
MIT License
Copyright (c) 2017 Tim Beaudet
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distrib... |
from .base import FunctionalTest
class ItemValidationTest(FunctionalTest):
def get_error_element(self):
return self.browser.<API key>('.has-error')
def <API key>(self):
# Edith goes to the home page and accidentally tries to submit
# an empty list item. She hits Enter on the empty input ... |
75.3 ServletFilterListener
`Servlet``Filter``<API key>`Servletlistener
- [75.3.1 Spring beanServletFilterListener](https://docs.spring.io/spring-boot/docs/2.0.0.RELEASE/reference/htmlsingle/#<API key>)
- [75.3.2 ServletFilterListener](https://docs.spring.io/spring-boot/docs/2.0.0.RELEASE/reference/htmlsingle/#<API key>... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Arebis.Types
{
<summary>
A delegate to translate a given object into a string.
</summary>
public delegate string ToStringDelegate(object obj);
<summary>
Wraps an object and provides it with a custom mechanism to
tra... |
#ifndef PMQT_H
#define PMQT_H
#include <stdint.h>
#include <math.h>
// Basic configuration of the library, these can be changed to support
// different floating point types.
typedef double pmqt_float_t;
#define PMQT_POS_INFINITY (INFINITY)
#define PMQT_NEG_INFINITY (-INFINITY)
#define PMQT_EPS (1e-9)
#define pmqt_fmin(... |
<html><body>
<h4>Windows 10 x64 (18363.778)</h4><br>
<h2><API key></h2>
<font face="arial"> <API key> = 0n1<br>
<API key> = 0n2<br>
<API key> = 0n3<br>
<API key> = 0n4<br>
<API key> = 0n5<br>
<API key> = 0n6<br>
FileEaInformation = 0n7<br>
<API key> = 0n8<br>
FileNameInformation = 0n9<br>
<... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.