answer stringlengths 15 1.25M |
|---|
using System;
class Program
{
static void Main()
{
// \uNNNN = unicode numbers
//int intNum = int.Parse(Console.ReadLine());
int intNum = 72;
char intToChar = (char)intNum;
//'\u0048';
//string stringUnicode = unicode.ToString();
Console.WriteLine("sym... |
<!DOCTYPE HTML PUBLIC "-
<!--NewPage
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_03) on Thu Aug 11 12:59:23 EDT 2011 -->
<TITLE>
H-Index
</TITLE>
<META NAME="date" CONTENT="2011-08-11">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function wind... |
namespace <API key>
{
partial class Training
{
<summary>
Required designer variable.
</summary>
private System.ComponentModel.IContainer components = null;
<summary>
Clean up any resources being used.
</summary>
<param name="disposing">true if mana... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class dashboard_m extends CI_Model{
// count all data
public function count_data($table,$cond){
$this->db->select('*');
$this->db->from($table);
$this->db->where($cond);
return $this->db->count_all_results();
... |
/** @constructor */
ScalaJS.c.<API key>$Chained = (function() {
ScalaJS.c.java_lang_Object.call(this);
this.h$1 = null
});
ScalaJS.c.<API key>$Chained.prototype = new ScalaJS.inheritable.java_lang_Object();
ScalaJS.c.<API key>$Chained.prototype.constructor = ScalaJS.c.<API key>$Chained;
ScalaJS.c.<API key>$Chained.... |
var foo = {
"firstName": "John",
"lastName": "Smith",
"isAlive": true,
"age": 25,
"height_cm": 167.64,
"address": {
"streetAddress": "21 2nd Street",
"city": "New York",
"state": "NY",
},
"phoneNumbers": [
{ "type": "home", "number": "212 555-1234" },
{ "typ... |
#include <easylogging.h>
#include "core/overlay.h"
#include <cstdio>
#include <cmath>
static bool has_space(const glm::vec2& point,
const std::vector<glm::vec2>& points,
float min_dt) {
for (auto p : points) {
if (glm::length(point - p) < min_dt) {
ret... |
#!/bin/bash -ev
# Installation Script
# Written by: Tommy Lincoln <pajamapants3000@gmail.com>
# Dependencies
# Begin Required
#liblxqt-0.9.0
#lxqt_common-0.9.1
# End Required
# Begin Recommended
# End Recommended
# Begin Optional
# End Optional
# Begin Kernel
# End Kernel
# Installation
# Check for previous installatio... |
#!/usr/bin/env python2
import sys
import json
import struct
import subprocess
import shlex
def getMessage():
rawLength = sys.stdin.read(4)
if len(rawLength) == 0:
sys.exit(0)
messageLength = struct.unpack('@I', rawLength)[0]
message = sys.stdin.read(messageLength)
return json.loads(message)
... |
#include <stdio.h>
#include <iostream>
#include "d3d11imports.hpp"
#include "d3d10state.hpp"
namespace d3dstate {
static void
dumpShaders(JSONWriter &json, ID3D11DeviceContext *pDeviceContext)
{
json.beginMember("shaders");
json.beginObject();
ID3D11VertexShader *pVertexShader = NULL;
pDeviceContext->VS... |
require 'test_helper'
class <API key> < ActionController::TestCase
setup do
@detalle_arriendo = detalle_arriendos(:one)
end
test "should get index" do
get :index
assert_response :success
assert_not_nil assigns(:detalle_arriendos)
end
test "should get new" do
get :new
assert_response :s... |
// File: D3D10Misc.h
// Content: D3D10 Device Creation APIs
#ifndef __D3D10MISC_H__
#define __D3D10MISC_H__
#include "d3d10.h"
// ID3D10Blob:
// The buffer object is used by D3D10 to return arbitrary size data.
// GetBufferPointer -
// Returns a pointer to the beginning of the buffer.
// GetBufferSize -
/... |
package uk.co.cogitolearning.cogpar.functions;
import uk.co.cogitolearning.cogpar.Complex;
/**
*
* @author kaloch
*/
public class SecFunction extends <API key> {
public SecFunction() {
super();
}
@Override
public Complex evaluate(Complex argument) {
return argument.sec();
}
} |
# 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,
# Software, and to permit persons to whom the Software is
# furnished to do so, subject to the ... |
<!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.3.4 - v0.3.5: v8::HeapProfiler Class Reference</titl... |
using Uheer.Core;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;
namespace Uheer.ViewModels
{
<summary>
The view model used to create Channel entrie... |
import React from 'react';
import ReactDOM from 'react-dom';
import {BasePane, Pane} from '../../../src/react/panes';
describe('BasePane', () => {
const renderComponent = props => ReactDOM.render(<BasePane {...props}>Pane content here</BasePane>, root);
it('renders a pane and container', () => {
renderComponent... |
<!DOCTYPE HTML PUBLIC "-
<!--NewPage
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.4.2_05) on Fri Dec 23 12:54:19 EST 2005 -->
<TITLE>
FormHashtable (ATG Java API)
</TITLE>
<META NAME="keywords" CONTENT="atg.droplet.FormHashtable class">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Styl... |
package io.fundrequest.core.request.fund.dto;
import io.fundrequest.core.token.dto.TokenValueDto;
import lombok.Builder;
import lombok.Data;
import java.time.LocalDateTime;
@Data
@Builder
public class FundWithUserDto {
private String funder;
private TokenValueDto fndFunds;
private TokenValueDto otherFunds;
... |
<!DOCTYPE HTML>
<html>
<head>
<title>232</title>
</head>
<body>
<h2>232</h2>
<p>(ENCHANTER) As you casually pluck a few grapes from a bunch offered by one of Balhazar's slaves, you murmur the runes
of the Summon Faltyn spell. The Faltyn imposes its voice tunefully over the music of the harps and flutes, but onl... |
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
# copies or substantial portio... |
#include "checkpoints.h"
#include "db.h"
#include "net.h"
#include "init.h"
#include "ui_interface.h"
#include "kernel.h"
#include <boost/algorithm/string/replace.hpp>
#include <boost/filesystem.hpp>
#include <boost/filesystem/fstream.hpp>
using namespace std;
using namespace boost;
// Global state
CCriticalSection <AP... |
/*jshint -W079 */
'use strict';
import { Path as PathUtils } from './Path';
/**
* A class that can be used to associate any item with a path.
* Items and paths are kept in flat arrays for easy iteration
* and a memo is used to provide constant time lookup.
*
* @class
*
*/
class PathStore {
constructor() {
... |
# BulgePinchFilter
PixiJS filter to apply a bulge or a pinch effect.
## Installation
bash
npm install @pixi/filter-bulge-pinch
## Usage
js
import {BulgePinchFilter} from '@pixi/filter-bulge-pinch';
import {Container} from 'pixi.js';
const container = new Container();
container.filters = [new BulgePinchFilter()];
## Doc... |
class UploadsController < <API key>
helper S3AwsUploader::ViewHelpers
def new
@upload = 'test'
end
end |
'use strict';
angular.module('controllers.client', [])
.controller('ClientsListCtrl', ['$scope', '$modal', '$stateParams', 'Client',
function ($scope, $modal, $stateParams, Client) {
$scope.totalPages = 0;
$scope.clientsCount = 0;
$scope.headers = [
{
title: 'ClientID',
... |
import json
import os
import ntpath
import datetime as dt
import pprint
import boto3
def get_config():
'''
Load the configuration from ./config.json
'''
with open('config.json', 'r') as config_file:
return json.load(config_file)
def get_new_files(config, max_age_in_hours=24):
'''
Get arr... |
<?php namespace Socketty;
use React\EventLoop\LoopInterface;
class TerminalFactory{
/** @var LoopInterface */
protected $loop;
/** @var SpawnerInterface */
protected $spawner;
public function __construct(LoopInterface $loop, SpawnerInterface $spawner){
$this->loop = $loop;
$this->s... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>kildall: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" r... |
using System;
using System.Collections.Generic;
using System.Linq;
using JimBobBennett.JimLib.Events;
using JimBobBennett.JimLib.Xamarin.Purchases;
using Foundation;
using StoreKit;
namespace JimBobBennett.JimLib.Xamarin.ios.Purchases
{
public class InAppPurchase : IInAppPurchase
{
private Dictionary<st... |
# Let's encrypt Express
[ctime:1453306073000]
Since [_Let's Encrypt_][1] will be coming out [soon][2], I thought I'd try it on my Site. _Let's Encrypts_ infrastructure is actually fully operational already. They still label it as being in beta, because the client has some ([around 400][3]) bugs. My Site runs on Node.js... |
layout: post
title: "Leith Hill Place - Short Film"
subtitle: "Family picnic and art exhibition launch event"
date: 2016-08-13 23:30:00
author: "Voice for Leith Hill"
header-img: "img/leith-hill-place.png"
<div id="avplayer"></div>
<script>
// Load the IFrame Player API code asynchronously.
var... |
<div class='centered'>
<br>
<div>
<div class='logo'>jackal</div>
</div>
<br>
<div>
<image src='jackal.64.ico'></image>
</div>
<br/>
<table class='panel'>
<tr>
<td>channel</td>
<td>
<button type='button' id='genRandomChannelK... |
<?php
namespace PHPExiftool\Driver\Tag\Nikon;
use JMS\Serializer\Annotation\ExclusionPolicy;
use PHPExiftool\Driver\AbstractTag;
/**
* @ExclusionPolicy("all")
*/
class Face2Position extends AbstractTag
{
protected $Id = 8;
protected $Name = 'Face2Position';
protected $FullName = 'Nikon::FaceDetect';
p... |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import (division,absolute_import)
from .K2onSilicon import K2onSilicon |
from rest_framework import routers
class NestedRouter(routers.DefaultRouter):
"""
Custom router which hides nested URLs as they cannot be reversed.
"""
def get_api_root_view(self):
"""
Return a view to use as the API root.
Ignores any URLs which do not reverse correctly.
... |
@charset "utf-8";
/* CSS Document */
body{
padding:0px;
margin:0px;
background: #788191;
font-size:16px;
font-family:Arial, Helvetica, sans-serif;
}
a{text-decoration:none;}
.loginimg{
position:absolute;
bottom:0px;
left:0px;
width:445px;
height:523px;
background:url(../image... |
'use strict';
var Lib = require('../../lib');
var id2name = require('./axis_ids').id2name;
var scaleZoom = require('./scale_zoom');
var makePadFn = require('./autorange').makePadFn;
var concatExtremes = require('./autorange').concatExtremes;
var ALMOST_EQUAL = require('../../constants/numerical').ALMOST_EQUAL;
var FROM... |
using UnityEngine;
using System.Collections;
public enum ResourceItemType {
COIN,
PLAYER_HOLDER,
CAMERA_HOLDER,
SHORT_TRACK,
MEDIUM_TRACK,
LONG_TRACK,
OBSTACLE,
LANE_HOLDER,
SEGMENT_HOLDER,
CRACKED_FLOOR,
FALL_SUBJECT,
MILESTONE_SUBJECT,
HOLE,
NONE
} |
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::Network::Mgmt::V2019_11_01
module Models
# Describes the settings for producing output into a log analytics
# workspace.
class <A... |
[Skip to main content](#content)
[Bootstrap](/)
* [Bootstrap](/)
* [Documentation](/getting-started/introduction/)
* [Examples](/examples/)
* [Themes](https://themes.getbootstrap.com)
* [Expo](https://expo.getbootstrap.com)
* [Blog](https://blog.getbootstrap.com) |
#ifndef DBDIMVAR_H
#define DBDIMVAR_H
// agreement provided at the time of installation or download, or which
// otherwise accompanies this software in either electronic or hard copy form.
// DESCRIPTION:
// The api for dimensioning variables shared by
// AcDbDatabase,
// <API key>, and
// AcDbDimension
virtua... |
# coding=utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
from typing import TYPE_CHECKING
import warnings
from azure.core.exceptions import <API key>, HttpResponseError, ResourceExistsError, <API key>, map_error
from az... |
paper_ln = [];
paper_ln["modify_it"] = "Modifica card";
paper_ln["delete_it"] = "Elimina card";
paper_ln["open_it"] = "Apri anteprima";
paper_ln["modify_en"] = "Modify card";
paper_ln["delete_en"] = "Delete card";
paper_ln["open_en"] = "Open preview";
paper_ln["modify_fr"] = "Modifier";
paper_ln["delete_fr"] = "Sup... |
<?php return array (
'az' => 'الأذربيجانية',
'az_AZ' => 'الأذربيجانية (أذربيجان)',
'az_Cyrl_AZ' => 'الأذربيجانية (السيريلية, أذربيجان)',
'az_Cyrl' => 'الأذربيجانية (السيريلية)',
'az_Latn_AZ' => 'الأذربيجانية (اللاتينية, أذربيجان)',
'az_Latn' => 'الأذربيجانية (اللاتينية)',
'ur' => 'الأردية',
'ur_IN' => '... |
layout: blank
description: Head of Software Development based out of Manchester, UK.
<script src="https://f.convertkit.com/ckjs/ck.5.js"></script>
<div class="container">
<div class="row">
<div class="mt-3 col-12 col-md-8 offset-md-2">
<div class="text-center mx-auto">
<img class... |
package ch.heigvd.quaris.api.dto;
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;
/**
* ErrorDTO
*/
@javax.annotation.Generated(value = "class io... |
namespace NUnit.Engine.Internal.FileSystemAccess
{
<summary>
Abstraction of a file-system.
</summary>
// TODO: Temporarily public
public interface IFileSystem
{
<summary>
Checks whether a directory exists or not.
</summary>
<param name="directory">Directory to che... |
#pragma once
#ifdef WRQ_REACTOR_MOUDLE
#define DLLIMPEXP __declspec(dllexport)
#else
#define DLLIMPEXP
#endif
#include "acdocman.h"
class /*DLLIMPEXP*/ CBaseDocReactor : public <API key> {
public:
<API key>(CBaseDocReactor) ;
protected:
bool <API key> ;
public:
CBaseDocReactor (const bool autoInitAndRelease... |
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/ads/googleads/v2/enums/<API key>.proto
package enums
import (
fmt "fmt"
math "math"
proto "github.com/golang/protobuf/proto"
_ "google.golang.org/genproto/googleapis/api/annotations"
)
// Reference imports to suppress errors if they are ... |
@font-face {
font-family: 'FontAwesome';
src: url('../fonts/fontawesome-webfont.eot?v=4.6.3');
src: url('../fonts/fontawesome-webfont.eot?#iefix&v=4.6.3') format('embedded-opentype'), url('../fonts/fontawesome-webfont.woff2?v=4.6.3') format('woff2'), url('../fonts/fontawesome-webfont.woff?v=4.6.3') format('woff')... |
# -*- coding: utf-8 -*-
import unittest
from sqlalchemy.schema import Table
from carepoint.tests.db.db import DatabaseTest
from carepoint.models.cph.fdb_gcn_seq import FdbGcnSeq
class <API key>(DatabaseTest):
def <API key>(self, ):
self.assertIsInstance(FdbGcnSeq.__table__, Table)
if __name__ == '__main__':... |
/*
* Page Styles
*/
.kw-index h2 {
text-align: left;
} |
# -*- coding: utf-8 -*-
import sys
def getC1(srcdata):
c1 = {}
for transaction in srcdata:
for item in transaction:
key = frozenset(set([item]))
if key in c1:
c1[key] = c1[key] + 1
else:
c1[key] = 1
return c1
def getL(c, supct):
... |
package ke.co.greid.entities;
// Generated Apr 1, 2015 12:52:51 PM by Hibernate Tools 3.4.0.CR1
import java.util.HashSet;
import java.util.Set;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.Id;
import javax.persistence.OneToMany;
import ja... |
layout: post
title: "Arkapong"
date: 2014-04-07 07:35:33
categories: arkapong, game, libgdx
<img src="http://pello.io/images/arkapong0.png" title="" alt="" />
<p>
This a classic pong-like game that takes some ideas from Arkanoid. Basically
two paddles try to hit the ball until one of them fails but, from time to time
t... |
// This is an open source non-commercial project. Dear PVS-Studio, please check it.
// PVS-Studio Static Code Analyzer for C, C++ and C
#region Using directives
using System;
using System.Collections.Generic;
using System.IO;
using System.Windows.Forms;
using AM.Data;
using AM.Xml;
using CodeJam;
using JetBrains.Annota... |
# Glory to Rome
A .NET implementation of Glory to Rome, a card game unique for its self-modifying ruleset and multifunction cards |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="sq" version="2.1">
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About SperoCoin</source>
<translation type="unfinished"/>
</message>
<message>
<location line... |
<?php
// <API key>:front:blog.html.twig
return array (
); |
package fr.cneftali.integrations.dropwizard.spring.example.resources;
import com.codahale.metrics.annotation.Timed;
import javax.ws.rs.*;
import javax.ws.rs.core.Response;
import static javax.ws.rs.core.MediaType.APPLICATION_JSON;
@Path("/hello-world")
@Produces(APPLICATION_JSON)
@Consumes(APPLICATION_JSON)
public inte... |
import { CanActivate, <API key>, Component } from "../core";
@Component({
template: require("./<API key>.component.html"),
styles: [require("./<API key>.component.css")],
selector: "<API key>",
inputs: ['entities','edit','remove'],
changeDetection: <API key>.OnPush
})
export class <API key> {
co... |
/**
* EpicEditor
*
* @param {Element} textarea
* @return {EpicEditor}
*/
function createEpicEditor (textarea) {
var $node = $(textarea);
var id = $node.attr('id');
var h = $node.height();
var l = $node.parents('.reply2_form').find('#editor_'+id).length;
if (l == 0) {
$node.before('<div id="editor_' ... |
# @redux-requests/fetch
[ {
var GenderApi = function (element, config) {
var TYPE_NAME = 'name';
var TYPE_EMAIL = 'email';
var $this = $(element);
var block = false; //only 1 request at a time
var time... |
import Sqlite3Adapter from '../../Sqlite3Adapter';
import Mysql2Adapter from '../../Mysql2Adapter';
function createTable(td) {
td.primaryKey('id');
td.string('name', { default: 'Untitled' });
td.string('email');
td.integer('age', { default: 0 });
td.text('bio');
td.boolean('active', { default: true });
td... |
var should = require('chai').should();
describe('Grasshopper core - content', function(){
'use strict';
var async = require('async'),
path = require('path'),
_ = require('lodash'),
grasshopper = require('../../lib/grasshopper').init(require('../fixtures/config')),
tokens = {},
... |
package rye
import (
"context"
"encoding/json"
"errors"
"net/http"
"reflect"
"runtime"
"strconv"
"strings"
"time"
//log "github.com/Sirupsen/logrus"
"github.com/cactus/go-statsd-client/statsd"
)
//go:generate counterfeiter -o fakes/statsdfakes/fake_statter.go $GOPATH/src/gith... |
import React from 'react'
import { Tweet } from '<API key>'
import ContentLoader from './Preloader'
import './styles/tweets.css'
export default ({tweets, fetching}) => {
if (tweets.length > 0) {
const embededTweets = tweets.map((tweet) => {
let id = tweet.id
return (
<div key={id}>
<... |
// Ecma International makes this code available under the terms and conditions set
function testcase() {
var accessed = false;
var objDate = new Date();
function callbackfn(prevVal, curVal, idx, obj) {
accessed = true;
return prevVal === objDate;
}
var obj... |
body {
font-family:sans;
margin-right: 10%;
margin-left: 10%;
font-size: 18px;
background: #EFEFEF;
}
h2, section {
border-bottom: 1px solid black;
border-right: 1px solid black;
border-left: 1px solid white;
border-top: 1px solid white;
border-radius: 10px;
width: 100%;
}
se... |
#ifndef _LTaskClass_h
#define _LTaskClass_h
#include "vmsys.h"
#include "vmthread.h"
#include "message.h"
class _LTaskClass
{
private:
<API key> m_mutex;
msg_struct m_msg;
VM_THREAD_HANDLE m_handle;
VM_SIGNAL_ID m_signal;
void sendMsg(VMUINT32 msg_id, void* user_data);
public:
_LTaskClass();
... |
# DarkCoder
def sum_of_series(first_term, common_diff, num_of_terms):
"""
Find the sum of n terms in an arithmetic progression.
sum_of_series(1, 1, 10)
55.0
sum_of_series(1, 10, 100)
49600.0
"""
sum = (num_of_terms / 2) * (2 * first_term + (num_of_terms - 1) * common_diff)
# formula ... |
#include <System/Utilities/Units.h>
// Sizes
template<> static float Units::Convert(float value, SizeUnit from, SizeUnit to)
{
return value * Size::Values[from] / Size::Values[to];
}
template<> static s32 Units::Convert(s32 value, SizeUnit from, SizeUnit to)
{
return value * Size::Values[from] / Size::Values[to... |
require 'zip/filesystem'
require 'fileutils'
require 'tmpdir'
module Powerpoint
class Presentation
include Powerpoint::Util
attr_reader :slides
def initialize
@slides = []
end
def add_intro(title, subtitile = nil)
<API key> = @slides.select {|s| s.class == Powerpoint::Slide::Intro}[0]
... |
d3.<API key>
======================================
an example of calculating center and angles of elliptic arc and draw points using d3.js
## Demo
http://hnakamur.github.io/d3.<API key>
## References
- [F.6 Elliptical arc implementation notes - SVG 1.1 (Second Edition)]( http://www.w3.org/TR/SVG/implnote.html#<API key... |
*{
border: 0;
padding: 0;
margin: 0;
font-family: 'Calibri';
}
body
{
background: #FFF;
}
#fundo
{
margin: 0 auto;
}
#perguntas ul
{
text-decoration: none;
font-size: medium;
font-family: inherit;
text-al... |
package opencraft.lib.entity;
import opencraft.lib.event.IEventHandler;
public interface IEntity extends IEventHandler {
IEntity copy();
void addSubEntity(IEntity entity);
IEntity getSubEntity(Class<? extends IEntity> clazz);
} |
<!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.11"/>
<title>V8 API Reference Guide for node.js v9.8.0: Class Members</title>
<link href="tabs.css" rel=... |
using System.Net.Http.Formatting;
using System.Web.Http;
using System.Web.Http.Controllers;
using Microsoft.Owin;
using Microsoft.Owin.Cors;
using Owin;
using TSW_B2B.Web.App_Start;
using TSW_B2B.Web.Filter;
using Unity.WebApi;
[assembly: OwinStartup(typeof(TSW_B2B.Web.Startup))]
namespace TSW_B2B.Web {
public part... |
//Language: GNU C++
#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int (i) = 0; (i) < (n); (i) ++)
#define rep1(i, n) for (int (i) = 1; (i) <= (n); (i) ++)
#define For(i, a, b) for (int (i) = (a); (i) <= (b); (i) ++)
#define db(x) cout << #x << " = " << (x) << endl;
#define dba(a, x, y){cout << #a... |
import {resolve, reject} from '<API key>';
import {push} from 'react-router-redux'
import cookie from 'react-cookie';
const LOGIN = 'auth/LOGIN';
const LOGOUT = 'auth/LOGOUT';
const SIGNUP = 'auth/SIGNUP';
const LOAD_USER = 'auth/LOAD_USER';
export default function reducer(state = {}, action = {}) {
switch (action.ty... |
package com.github.sarweshkumar47.<API key>.Models;
import com.google.gson.annotations.SerializedName;
import java.util.ArrayList;
public class AllPlacesDetails {
@SerializedName("place_id")
private String placeId;
@SerializedName("licence")
private String license;
@SerializedName("osm_type")
pr... |
<reference path="..\..\Typings\google.maps.d.ts" />
<reference path="Interfaces.d.ts" />
define(["require", "exports", "Scripts/NE/Model"], function(require, exports, VM) {
var G = google.maps;
function bindDom(me, el, event, method) {
G.event.addDomListener(el, event, function (ev) {
return... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web;
using System.Web.Http;
using <API key>.Models;
namespace <API key>.Controllers
{
public class ValuesController : ApiController
{
// GET api/values/GetAllBooks
<summary>
... |
namespace Octopost.Model.ApiResponse.HTTP403
{
using Octopost.Model.Validation;
public interface IForbiddenApiResult : IApiResult
{
long UserId { get; set; }
OctopostEntityName AccessedEntityType { get; set; }
long AccessedEntityId { get; set; }
}
} |
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
('backend', '<API key>'),
]
operations = [
migrations.AlterField(
model_name='meeting',
name='organization'... |
// Name: wx/msw/dc.h
// Purpose: wxDC class
// Created: 01/02/97
// Licence: wxWindows licence
#ifndef _WX_MSW_DC_H_
# define _WX_MSW_DC_H_
# include "wx/defs.h"
# include "wx/dc.h"
// macros
# if wxUSE_DC_CACHEING
/*
* Cached blitting, maintaining a cache
* of bitmaps required for transparent... |
<?php
if (class_exists('<API key>', true) === false) {
throw new <API key>('Class <API key> not found');
}
class <API key> extends <API key>
{
/**
* Return a list of external sniffs to include with this standard.
*
* @return array
*/
public function getIncludedSniffs() {
return a... |
import Crafty from 'craftyjs';
Crafty.c('Control', {
started: false,
init: function () {
this.requires('Mouse');
this.enableCapture();
},
enableCapture: function () {
Crafty.addEvent(this, Crafty.stage.elem, 'mousedown', this.attachMoveHandler);
Crafty.addEvent(this, Craf... |
<?php
use Core\Language;
?>
<div class="page-header">
<h1><?php echo $data['title'] ?></h1><form action="" method="POST">
<input type="text" name="test" value="<API key>">
<input type="submit" value="123">
</form>
</div>
<p><?php echo $data['welcome_message'] ?></p>
<a class="btn btn-md btn-success" href="<?php ech... |
# Lab
A place for various WebGL sketches, particularly with three.js.
Todo
* Transition to using modules with three.js.
* Re-create a number of old projects I made with modern three.js. |
<?php
namespace AppBundle\Controller;
use Sensio\Bundle\<API key>\Configuration\Route;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use AppBundle\Entity\Series;
/**
* Series1 controller.
*
* @Route("/series1")
*/
class Series1Controller extends Controller
{
/**
* @Route("/")
*/
public f... |
<?php
namespace Deplink\Resolvers;
use DI\Container;
class ResolverFactory
{
/**
* @var Container
*/
private $di;
/**
* ResolverFactory constructor.
*
* @param Container $di
*/
public function __construct(Container $di)
{
$this->di = $di;
}
/**
* @r... |
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>The source code</title>
<link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="../resources/prettify/prettify.js"></script>
<style type="t... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>additions: Not compatible </title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css... |
module.exports = function (acetate) {
acetate.helper('helper', function (context, text) {
return context.title + '\n' + text + '\nhelper';
});
acetate.block('content', function (context, text) {
return context.title + '\n' + text + '\nblock';
});
acetate.filter('filter', function (value) {
return ... |
using System.Collections.Generic;
using UnityEngine;
namespace KSPCommEngr.Extensions
{
public static class PartExtensions
{
public static bool IsPrimary(this Part thisPart, List<Part> partsList, int moduleClassId)
{
foreach (Part part in partsList)
{
if (... |
MySQL Workbench Deployment Utilities
=================================
Command line deployment tools for MySQL Workbench |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.