answer stringlengths 15 1.25M |
|---|
<?php
namespace Alcys\Core\Db\Facade;
use Alcys\Core\Db\Factory\DbFactoryInterface;
use Alcys\Core\Db\References\ColumnInterface;
use Alcys\Core\Db\References\<API key>;
use Alcys\Core\Db\References\TableInterface;
use Alcys\Core\Db\Statement\<API key>;
use Alcys\Core\Db\Statement\StatementInterface;
use Alcys\Core\Db\... |
'use strict';
import * as assert from 'assert';
import * as platform from 'vs/base/common/platform';
import { FileChangeType, FileChangesEvent } from 'vs/platform/files/common/files';
import uri from 'vs/base/common/uri';
import { IRawFileChange, toFileChangesEvent, normalize } from 'vs/workbench/services/files/node/wa... |
namespace Xsharp.Events
{
using System;
using System.Runtime.InteropServices;
using OpenSystem.Platform;
using OpenSystem.Platform.X11;
// Property change event.
[StructLayout(LayoutKind.Sequential)]
internal struct XPropertyEvent
{
// Structure fields.
XAnyEvent common__;
public XAtom ato... |
<!DOCTYPE html><html><head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<meta name="description">
<meta name="keywords" content="static content generator,static site generator,static site,HTML,web development,.NET,C#,Razor,Markdown,YAML">
<meta na... |
import * as Models from './'
export const ItemRequestPriority = [
'low',
'standard',
'high',
'highest'
] as const
export type <API key> = typeof ItemRequestPriority
export type ItemRequestPriority = <API key>[number]
export const <API key> = ['Svařovna'] as const
export type <API key> = typeof <API key>... |
layout: default
title: Home
<div class="posts">
{% for post in paginator.posts %}
<div class="post">
<h1 class="post-title">
{{ post.title }}
</h1>
<span class="post-date">{{ post.date | date_to_string }}</span>
{{ post.content }}
</div>
{% endfor %}
</div>
<div class="pagination">
{% if... |
package com.orbital.lead.controller.Activity;
import android.app.Activity;
import android.app.AlertDialog;
import android.app.DatePickerDialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7... |
const colors = require('colors/safe');
const <API key> = (...messages) =>
[].some((msgRegex) => messages.some((msg) => msgRegex.test(msg)));
const <API key> = (...messages) =>
[].some((msgRegex) => messages.some((msg) => msgRegex.test(msg)));
const logOrThrow = (log, method, messages) => {
const warning = `consol... |
#include <vcl.h>
#pragma hdrstop
#include "fmStats.h"
#pragma package(smart_init)
#pragma resource "*.dfm"
TfrmStats *frmStats;
__fastcall TfrmStats::TfrmStats(TComponent* Owner)
: TForm(Owner), total_html_tags(CJerdyParser::HtmlTags().CountLeft()), tag_descriptors(CJerdyParser::HtmlTags().Current())
{
}
void __fastc... |
require "chamberevents/version"
require 'chamberevents/read'
require 'chamberevents/ical'
require 'chamberevents/upload'
module Chamberevents
def self.update!
events = Read.current
ical = Ical.new(events).to_s
Upload.write('elginchamber-events.ics', ical)
end
end |
require File.dirname(__FILE__) + '/test_helper'
context "Resque::Scheduler" do
setup do
Resque::Scheduler.dynamic = false
Resque.redis.flushall
Resque::Scheduler.clear_schedule!
end
test 'set custom logger' do
custom_logger = Logger.new('/dev/null')
Resque::Scheduler.logger = custom_logger
... |
<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>... |
package com.jumi.scene.objects;
/**
*
* @author RGreenlees
*/
public class JUMISkinDeformer {
String name;
public JUMISubDeformer[] deformers = new JUMISubDeformer[0];
public JUMISkinDeformer(String inName) {
name = inName;
}
public String toString() {
String result = "Skin Deform... |
<?php
// Load DB
include "ConfigDb.php";
// Load core classes
include "core/Model.php";
include "core/Controller.php";
// Load model classes - they extend Model.php
include "model/AddressesModel.php";
include "model/EmployeesModel.php";
// Load Controller class - it extends Controller.php
include 'controller/FilterInpu... |
package action
import (
"os"
"path/filepath"
"github.com/gopasspw/gopass/internal/tree"
"github.com/gopasspw/gopass/internal/config"
"github.com/gopasspw/gopass/internal/out"
"github.com/gopasspw/gopass/internal/store/leaf"
"github.com/gopasspw/gopass/pkg/ctxutil"
"github.com/gopasspw/go... |
require "<API key>"
CodeClimate::TestReporter.start
# This file was generated by the `rspec --init` command. Conventionally, all
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
# Require this file using `require "spec_helper"` to ensure that it is only
# loaded once.
RSpec.configure do |con... |
namespace SimpleInjector.Diagnostics
{
using System;
using System.Diagnostics;
using SimpleInjector.Advanced;
<summary>
Diagnostic result for a warning about a
component that depends on a service with a lifestyle that is shorter than that of the component.
For more information, see: https://... |
import Helper, { helper as buildHelper } from '@ember/component/helper';
import { inlineSvg } from 'ember-inline-svg/helpers/inline-svg';
import SVGs from '../svgs';
import Ember from 'ember';
let helper;
if (Helper && buildHelper) {
helper = buildHelper(function ([path], options) {
return inlineSvg(SVGs, path, o... |
'use strict';
var path = require('path');
var Stream = require('readable-stream');
var BufferStreams = require('bufferstreams');
var ttf2woff2 = require('ttf2woff2');
var PluginError = require('plugin-error');
var replaceExtension = require('replace-ext');
var PLUGIN_NAME = 'gulp-ttf2woff2';
// File level transform fun... |
<!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.8: v8::RetainedObjectInfo Class Reference</title>
... |
public class Solution {
public int <API key>(String s) {
int[] map = new int[128];
int count = 0, start = 0, end = 0, d = 0;
while (end < s.length()) {
if (map[s.charAt(end++)]++ == 0) count++;
while (count > 2) if(map[s.charAt(start++)]-- == 1) count--;
d... |
<?php
/**
* This class defines the structure of the 'category' table.
*
*
*
* This map class is used by Propel to do runtime db structure discovery.
* For example, the createSelectSql() method checks the type of a given column used in an
* ORDER BY clause to know whether it needs to apply SQL to make the ORDER B... |
#BEGIN_HEADER
# See licence file 'LICENCE' for use and distribution rights.
#END_HEADER
use strict;
use warnings;
# BNDCL-Check Lower Bound.
T['BNDCL REG:r=$BNDr AGEN:r=$agen ', 'MODE=64 ', 'BNDCL_ro ', ''];
T['BNDCL REG:r=$BNDr AGEN:r=$agen ', 'ASZ=32 MODE=NO64', 'BNDCL_ro ', ''];
T['BNDCL REG:r=$BNDr REG:r=... |
#!usr/bin/perl;
use strict;
my $blastFile = $ARGV[0];
open (BFILE,$blastFile);
open (ANIT,">blastANIT");
open (ANIS,">blastANIS");
open (ANIU,">blastANIU");
my $counter=0;
while (my $line=<BFILE>){
#print $line;
if ($line =~ m/(ANIS)/){
print ANIS $line;
}
elsif ($line =~ m/(ANIT)/){
pri... |
require "spec_helper"
describe ZMQP1 do
it "is awesome" do
ZMQP1::Awesome.new.describe.should be_awesome
end
end |
namespace TheDmi.<API key>
{
public interface IShowsSection
{
}
} |
layout: post
title: suruba amadora
titleinfo: pornvd
desc: Watch suruba amadora. Pornhub is the ultimate xxx porn and sex site.
<iframe src="http:
<h2>suruba amadora</h2>
<h3>Watch suruba amadora. Pornhub is the ultimate xxx porn and sex site.</h3> |
<?php
/*
Safe sample
input : get the field userData from the variable $_GET via an object
sanitize : use of floatval
construction : interpretation with simple quote
*/
class Input{
private $input;
public function getInput(){
return $this->input;
}
public function __construct(){
$this->input = $_GET['Use... |
package game.saver.remote.gamemaps;
import game.saver.GameData;
import game.saver.Quarry;
import game.saver.gamemaps.GameDoubleMap;
import game.saver.gamemaps.GameFloatMap;
import game.saver.remote.RemoteClassMap;
import game.saver.remote.Remoteable;
import java.util.LinkedList;
import java.util.Map;
/**
*
* @author ... |
function commentPage() {
// Open popup
$("#comment-popup").dialog({
width : 800,
height : 400,
modal : true,
appendTo: "#mainForm",
open : function(event, ui) {
$('input[id$="comment-comment"]').focus();
},
close : function(event, ui) {
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using TwitterAPI;
using System.Net;
using Core;
using System.Security.Cryptography;
using System.IO;
namespace TwitterAPI
{
[DataContract]
public class <TwitterConsumerkey>
{
<su... |
<API key>
============================
Another website I ran at one time, hand-coded. Some scraps from it's predecessor are also buried in the directory. Looking at the predecessor site, one can easily see it was my learning experience using GIMP to slice and dice a website :) |
document.addEventListener("DOMContentLoaded", function() {
"use_strict";
// Store game in global variable
const CASUDOKU = {};
CASUDOKU.game = (function() {
// Controls the state of the game
// Game UI
let uiStats = document.getElementById("gameStats"),
uiCompl... |
# Asynchronous Example
An example showing how to delay rendering for asynchronous events.
## Commands
sh
$ npm install
$ npm run dev
$ npm run build
## Code
js
// webpack.config.babel.js
new HtmlPlugin((assets, defaultTemplate, compiler) => {
return new Promise((resolve, reject) => {
var templateData = {
as... |
package rest
import (
restful "github.com/emicklei/go-restful"
swagger "github.com/emicklei/<API key>"
)
// ConfigureSwagger configures the swagger documentation for all endpoints in the container
func ConfigureSwagger(apiDocPath string, container *restful.Container) {
if apiDocPath == "" {
return
... |
webpackJsonp([2],{
16:
function(module, exports, __webpack_require__) {
<reference path="../../typings/tsd.d.ts" />
var ListController = __webpack_require__(17);
// webpack will load the html. Nifty, eh?
__webpack_require__(9);
// webpack will load this scss too!
__webpack_require__(18);
mod... |
<?php
namespace App\Models;
use Fwartner\Katching\Cacheable;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
class Comment extends Model
{
use Cacheable, SoftDeletes;
protected $table = 'comments';
protected $fillable = [
'content',
'is_spam',
'u... |
#**Django-AdminLTE-X**
**Django AdminLTE Template**
AdminLTE Bootstrap Theme packaged for Django
**Quick Start**
Install the pip package:
pip install django_adminlte_x
Add `adminlte` to your `INSTALLED_APPS` setting like this:
INSTALLED_APPS = (
'adminlte'
)
It is almost done. You can check if this is working by ad... |
require File.expand_path('../core_response', __FILE__)
module Korwe
module TheCore
class <API key> < CoreResponse
def initialize(session_id, guid, successful)
super(session_id, :<API key>, guid, successful)
end
end
end
end |
djsex.css = {
create: function(stylesheet) {
var head = document.<API key>('head')[0],
style = document.createElement('style'),
rules = document.createTextNode(stylesheet);
style.type = 'text/css';
if(style.styleSheet)
style.styleSheet.cssText = rules.node... |
<?php
namespace Mapbender\<API key>\Element;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\<API key>;
use Symfony\Component\OptionsResolver\<API key>;
class <API key> extends AbstractType
{
/**
* @inheritdoc
*/
public function getName()
{
return 'activityindicator';
... |
title: "New package uniftest with initial version 1.0 "
kind: article
created_at: 2014-12-25 01:13:00 UTC
author: CRANberries
categories:
tags:
layout: post
<strong>Package</strong>: uniftest<br>
<strong>Version</strong>: 1.0<br>
<strong>Date</strong>: 2014-12-24<br>
<strong>Title</strong>: Tests for Uniformity<br>
<st... |
/**
* The Furnace namespace
*
* @module furnace
* @class Furnace
* @static
*/
import Validation from 'furnace/packages/furnace-validation';
import I18n from 'furnace/packages/furnace-i18n';
import Forms from 'furnace/packages/furnace-forms';
export default {
/**
*
* @property Forms
* @type Furn... |
for f in $@
do
echo $f
out=`basename $f | sed 's/.fa$
echo blastp -outfmt '6 qseqid sseqid evalue' -num_threads 16 -query $f -db uniprot/uniprot_all.fasta -out "blast/$out.blast"
done |
import cx from 'clsx'
import PropTypes from 'prop-types'
import React from 'react'
import { customPropTypes, getElementType, getUnhandledProps, useKeyOnly } from '../../lib'
/**
* A placeholder can contain an image.
*/
function PlaceholderImage(props) {
const { className, square, rectangular } = props
const class... |
(function (angular) {
"use strict";
var appFooter = angular.module('myApp.footer', []);
appFooter.controller("footerCtrl", ['$scope', function ($scope) {
}]);
myApp.directive("siteFooter",function(){
return {
restrict: 'A',
templateUrl:'app/components/footer/foote... |
# Makefile for Sphinx documentation
# You can set these variables from the command line.
SPHINXOPTS =
SPHINXBUILD = sphinx-build
PAPER =
BUILDDIR = _build
# Internal variables.
PAPEROPT_a4 = -D latex_paper_size=a4
PAPEROPT_letter = -D latex_paper_size=letter
ALLSPHINXOPTS = -d $(BUILDDIR)/doctre... |
<?php
namespace App\Http\Controllers\API\V2;
use App\Beacon;
use App\Http\Requests\BeaconRequest;
use Illuminate\Http\Request;
class BeaconController extends Controller
{
/**
* Return a list of items.
*
* @param Request $request
*
* @return json
*/
public function index(Request $re... |
#!/bin/sh
usage() {
cat <<EOF
USAGE: \${DOTFILES}/shell/csh/launcher.sh <function> [arg ...]
FUNCTION:
exit <return_code>
EOF
}
# Print usage if not specify the function that need to run.
if [ $# -eq 0 ]; then
usage
exit 1
fi
# The function name is the first argument.
func_name=${1}
# Remove the first arg... |
// $Id: ntsvc.h 80826 2008-03-04 14:51:23Z wotte $
// = LIBRARY
// examples/NT_Service
// = FILENAME
// ntsvc.h
// = DESCRIPTION
// This is the definition of the sample NT Service class. This example
// only runs on Win32 platforms.
// = AUTHOR
// Gonzalo Diethelm and Steve Huston
#ifndef NTSVC_H_
#... |
import {IDetailsService} from '../services/details.service';
class DetailsController implements ng.<API key> {
private detailsService: IDetailsService;
private detailsData: any;
private previousState: any;
constructor($stateParams: any, detailsService: IDetailsService) {
console.log('details con... |
package main
import (
"bufio"
"fmt"
"os"
"os/exec"
"strings"
"sync"
)
func checkError(err error, prefix string) {
if err != nil {
panic(fmt.Sprintf("%s %s", prefix, err.Error()))
}
}
func cleanFeedbackLine(s string) (out string) {
out = s
out = strings.TrimSpace(out)
... |
<html>
<head>
<title>Progmia | Game | Level Selection</title>
<link href="<?php echo base_url(); ?>assets/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>assets/css/levels.css">
<link rel="stylesheet" type="text/css" href="<?php echo bas... |
--[[checkboxData = {
type = "checkbox",
name = "My Checkbox",
tooltip = "Checkbox's tooltip text.",
getFunc = function() return db.var end,
setFunc = function(value) db.var = value doStuff() end,
width = "full", --or "half" (optional)
disabled = function() return db.someBooleanSetting end... |
import base64
try:
from functools import wraps
except ImportError:
from django.utils.functional import wraps # Python 2.3, 2.4 fallback.
from django import http, template
from django.conf import settings
from django.contrib.auth.models import User
from django.contrib.auth import authenticate, login
from django... |
// BEGIN CUT HERE
// END CUT HERE
#include <sstream>
#include <cstdio>
#include <cstdlib>
#include <iostream>
#include <cstring>
#include <algorithm>
#include <cmath>
#include <vector>
#include <map>
#include <string>
#include <set>
#include <algorithm>
using namespace std;
const int V = 64;
const int E = V * V * 2;
co... |
<?php
namespace wcmf\lib\core;
/**
* A session that requires clients to send a token for authentication.
*
* @author ingo herwig <ingo@wemove.com>
*/
interface TokenBasedSession extends Session {
/**
* Get the name of the auth token header.
* @return String
*/
public function getHeaderName();
/**
... |
export default function formatList(xs, { ifEmpty = 'нет', joint = ', ' } = {}) {
return (!xs || xs.length === 0) ? ifEmpty : xs.join(joint)
} |
<?php
namespace Tests\Builders;
class SaveCardBuilder extends <API key>
{
public function __construct()
{
$this->attributeValues = array(
'<API key>' => '12345',
'cardNumber' => '4976000000003436',
'expiryDate' => '12/20',
'cv2' ... |
// $Date$
// $Log$
// Contains the mismatch class for afin
#ifndef MISMATCH_H
#define MISMATCH_H
// Mismatch Class: ////////////////////////////>
// Mismatch object, contains all classes, methods, data, and data references necessary for processing mismatches for contig fusion
// There will be only one Process object ne... |
<?php
/*
* itpl_engine
* templates/default/shop/map.html
* models/shop/map.php
*
*
* debugdebugdebug
* service
*
*
*/
?><?php
/*
* debug
* debug
*/
/* debug */
if (!function_exists("tpl_engine")) {
require("foundation/ftpl_compile.php");
}
if(filemtime("templates/default/shop/map.html") > filemtime(... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>fairisle: Not compatible </title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css"... |
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
"http:
<!
ZeepIt
<html xmlns="http:
<head>
<title>ZeepIt</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<frameset rows="20%, 80%">
<frameset cols="25%,... |
package com.example;
import java.util.Set;
import javax.servlet.<API key>;
import javax.servlet.ServletContext;
import javax.servlet.ServletException;
import javax.servlet.ServletRegistration;
import org.springframework.web.context.support.<API key>;
import org.springframework.web.servlet.DispatcherServlet;
public clas... |
import React from 'react';
const EditHero = props => {
if (props.selectedHero) {
return (
<div>
<div className="editfields">
<div>
<label>id: </label>
{props.addingHero
? <input
type="number"
name="id"
... |
#ifndef SE_SCANNNER_H
#define SE_SCANNNER_H
#include <stdio.h>
#include <stdlib.h>
#include <string>
#include "read.h"
#include "fusion.h"
#include "match.h"
#include <cstdlib>
#include <condition_variable>
#include <mutex>
#include <thread>
#include "fusionmapper.h"
using namespace std;
struct ReadPack {
Read** da... |
/**
* Module dependencies.
*/
var express = require('express')
var MemoryStore = express.session.MemoryStore
var mongoStore = require('connect-mongo')(express)
var path = require('path')
var fs = require('fs')
var _ = require('underscore')
var mongoose = require('mongoose')
var passport = require('passport')
var http... |
#guimporter.py
import sys
from PySide import QtGui, QtCore, QtWebKit
Signal = QtCore.Signal |
'use strict';
var redis = require('redis')
, xtend = require('xtend')
, hyperquest = require('hyperquest')
;
module.exports = FetchAndCache;
function FetchAndCache(opts) {
if (!(this instanceof FetchAndCache)) return new FetchAndCache(opts);
opts = opts || {};
var redisOpts = xtend({ port: 6379, h... |
package org.blendee.jdbc;
/**
* SQL
* @author
*/
public interface ComposedSQL extends <API key> {
/**
* SQL
* @return SQL
*/
String sql();
/**
* {@link <API key>} {@link ComposedSQL}
* @param complementer {@link <API key>}
* @return SQL
*/
default ComposedSQL r... |
# <API key>
basic data strcture in python from THU Data Structure 3rd Edition, including:
* Vector (Chapter 2)
* LinkedList (Chapter 3)
* Stack based on Vector and LinkedList (Chapter 4)
* Queue based on Vector and LinkedList (Chapter 4)
* Deque based on Vector and LinkedList (Chapter 4)
* BinTree based on BinNode (Cha... |
<TS language="es_419" version="2.1">
<context>
<name>AddressBookPage</name>
<message>
<source>Right-click to edit address or label</source>
<translation>Haga clic para editar la dirección o etiqueta</translation>
</message>
<message>
<source>Create a new address</source>
... |
package com.github.sixro.minihabits.core.infrastructure.domain;
import java.util.*;
import com.badlogic.gdx.Preferences;
import com.github.sixro.minihabits.core.domain.*;
public class <API key> implements Repository {
private final Preferences prefs;
public <API key>(Preferences prefs) {
super();
... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
let _ = require('lodash');
let async = require('async');
const <API key> = require("<API key>");
const <API key> = require("<API key>");
class RolesOperationsV1 extends <API key>.FacadeOperations {
constructor() {
super();
... |
local core = require ("core")
local function echo (prefix, channel, suffix)
core:respond (channel, "My life meaning: Marry Ratbot!")
end
core:addCommand ("meaning", echo) |
require_relative '<API key>'
FactoryBot.define do
factory :priority_bills, parent: :answers do
factory :<API key>, traits: [:country, :<API key>]
factory :<API key>, traits: [:country, :<API key>]
factory :<API key>, traits: [:country, :<API key>]
factory :<API key>, traits: [:country, :<API key>]
... |
var config = require('../lib/config')();
var Changeset = require('./Changeset');
var queries = require('./queries');
var helpers = require('../helpers');
require('../validators');
var validate = require('validate.js');
var errors = require('../errors');
var pgPromise = helpers.pgPromise;
var promisifyQuery = helpers.pr... |
# Nancy.Rest.Client
Dynamic proxy client generation for [Nancy](http:
## Prerequisites
A server using [Nancy](http:
It is recommended you read the [Nancy.Rest.Module](https://github.com/maxpiva/Nancy.Rest.Module) documentation to understand how the server mount the services before continuing reading.
## Installation
*... |
Setlocal <API key>
@rem BUILD SOLUTIONS
C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild META\make.msbuild /t:All /m /nodeReuse:false || exit /b !ERRORLEVEL!
C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild tonka\make.msbuild /t:All /m /nodeReuse:false || exit /b !ERRORLEVEL!
@rem RUN TONKA TESTS
del tonka\te... |
using System;
using System.Windows.Automation.Peers;
using System.Windows.Media;
using System.Windows.Threading;
using MS.Internal.KnownBoxes;
namespace System.Windows.Controls.Primitives
{
<summary>
StatusBar is a visual indicator of the operational status of an application and/or
its components running in... |
// John Meyer
// CSE 271 F
// Dr. Angel Bravo
import java.util.Scanner;
import java.io.*;
/**
* Copies a file with line numbers prefixed to every line
*/
public class Lab2InputOutput {
public static void main(String[] args) throws Exception {
// Define variables
Scanner keyboardReader = new Scanne... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_91) on Mon Jun 20 22:26:50 PDT 2016 -->
<title>Rational</title>
<meta name="date" content="2016-06-20">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script type="text/javascript" src="scrip... |
<!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 Adapter.renderContext</title>
<link rel="stylesheet" type="text/css" href="../../../styles/... |
// Use of this source code is governed by a MIT-style
package dmt
const VersionNo = "20131207"
type PictureCategory struct {
Created string `json:"created"`
Modified string `json:"modified"`
ParentId int `json:"parent_id"`
PictureCategoryId int `json:"picture_ca... |
'use strict';
const assert = require('assert');
const HttpResponse = require('./http-response');
describe('HttpResponse', () => {
const mockResponse = {
version: '1.0',
status: '200 OK'
};
it('should create an instance', () => {
const httpResponse = new HttpResponse(mockResponse);
assert.ok(httpRe... |
"use strict";
let datafire = require('datafire');
let openapi = require('./openapi.json');
module.exports = datafire.Integration.fromOpenAPI(openapi, "<API key>"); |
<!DOCTYPE html>
<head>
<title>Terrible Treats - Cookie Recipe</title>
<link rel="stylesheet" type="text/css" href="styling.css">
</head>
<body>
<div id="header">
<p id="title">Terrible Treats</p>
<p id="subTitle">Desserts For Your Worst Enemies</p>
</div>
<div id="navCon" class="... |
package generated.zcsclient.mail;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "messagePartHitInfo", propOrder = {
"e",
... |
#!/bin/bash -ex
cd "$(dirname "$0")"
docker run --rm \
-v "$PWD/.:/work" \
-w "/work" \
ruby:2.5 bash -ec "
gem install -N parse_a_changelog
parse ./CHANGELOG.md
" |
<!DOCTYPE html>
<html>
<head>
<title></title>
<meta name="description" content="" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
<script type="text/javascript" src="../../../core/uni... |
<template name="loading">
<div class="ui active inline loader"></div>
</template> |
require File.expand_path('../boot', __FILE__)
# Pick the frameworks you want:
require "active_model/railtie"
require "active_record/railtie"
require "action_controller/railtie"
require "action_mailer/railtie"
require "action_view/railtie"
require "sprockets/railtie"
# require "rails/test_unit/railtie"
# Require the gem... |
/*jslint vars: true, plusplus: true, devel: true, node: true, nomen: true,
indent: 4, maxerr: 50 */
/*global expect, describe, it, beforeEach, afterEach */
"use strict";
var ExtensionsDomain = require("../<API key>"),
fs = require("fs-extra"),
async = require("async"),
path ... |
'
' <auto-generated>
' This code was generated by a tool.
' Runtime Version:2.0.50727.1433
'
' Changes to this file may cause incorrect behavior and will be lost if
' the code is regenerated.
' </auto-generated>
'
Option Strict On
Option Explicit On
Namespace My
<Global.System.Runtime.CompilerServic... |
#include "stdafx.h"
#include "Renderer.h"
#include "<API key>.h"
<API key>::<API key>(class Renderer *r) {
ASSERT(r, "Null pointer: r");
renderer = r;
useCG = true;
}
bool <API key>::isSupported() const {
return areShadersAvailable();
}
void <API key>::setupShader(CGcontext &cg,
CGprofile &_cgVertexPr... |
#ifndef <API key>
#define <API key>
#include <vector>
#include <map>
#include <string>
#include "sqlite3.h"
std::vector<std::string> read_text_file(std::string path);
std::vector<std::string> split_str(std::string src, char c);
std::string join_str(std::vector<std::string> strings, std::string connector);
template<type... |
class <API key> < ActiveRecord::Migration
def change
add_column :videos, :<API key>, :string, :limit => 40
end
end |
function SendMessage(a_Player, a_Message)
a_Player:SendMessageInfo(a_Message)
end
function SendMessageSuccess(a_Player, a_Message)
a_Player:SendMessageSuccess(a_Message)
end
function SendMessageFailure(a_Player, a_Message)
a_Player:SendMessageFailure(a_Message)
end
Kicks a player by name, with the specified... |
import ReactIdSwiper from './ReactIdSwiper';
// Types
export {
ReactIdSwiperProps,
<API key>,
SelectableElement,
SwiperInstance,
WrappedElementType,
<API key>,
SwiperModuleName,
SwiperRefNode
} from './types';
// React-id-swiper
export default ReactIdSwiper; |
# -*- coding: utf-8 -*-
# @Last Modified time: 2016-12-11 12:55:27
from models.portfolio import Portfolio
from models.company import Company
from models.position import Position
import tenjin
from tenjin.helpers import *
import wikipedia
import matplotlib.pyplot as plt
from data_helpers import *
from stock_data import ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.