answer stringlengths 15 1.25M |
|---|
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class CI_DB_mssql_result extends CI_DB_result {
/**
* Number of rows in the result set
*
* @return int
*/
public function num_rows()
{
return is_int($this->num_rows)
? $this->num_rows
... |
package org.droidplanner.core.MAVLink;
import com.MAVLink.Messages.MAVLinkMessage;
import com.MAVLink.common.msg_mission_ack;
import com.MAVLink.common.msg_mission_count;
import com.MAVLink.common.msg_mission_current;
import com.MAVLink.common.msg_mission_item;
import com.MAVLink.common.<API key>;
import com.MAVLink.co... |
from .game import Board
for i in range(10):
Board.all()
print(i) |
ionic-webpack
==========
Ionic Webpack Starter
## Quick Start
Clone the repository
bash
$ git clone https://github.com/cmackay/ionic-webpack.git
Install the dependencies
bash
$ npm install
Watch Mode (this will run the webpack dev server)
bash
$ gulp watch
Adding Cordova Plugins
bash
$ cordova plugins add <API key> <AP... |
#include <iostream>
using namespace std;
int main()
{
int n;
cin >> n;
if(n<6)
cout << n/2+1 <<endl;
else
cout << (10-n)/2+1 <<endl;
return 0;
} |
<HTML><HEAD>
<TITLE>Review for Quills (2000)</TITLE>
<LINK REL="STYLESHEET" TYPE="text/css" HREF="/ramr.css">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1 ALIGN="CENTER" CLASS="title"><A HREF="/Title?0180073">Quills (2000)</A></H1><H3 ALIGN=CENTER>reviewed by<BR><A HREF="/ReviewsBy?Harvey+S.+Karten">Harvey S. Ka... |
# coding: utf-8
# ##Test out UGRID-0.9 compliant unstructured grid model datasets with PYUGRID
# In[1]:
name_list=['<API key>',
'<API key>',
'sea_surface_height','water level',
'<API key>',
'<API key>',
'<API key>']
models = dict(ADCIRC=('http://comt.sura.org/thred... |
#2016315
##nodejs
http
js
//http
var http = require('http');
//httpcreateServerweb
var server = http.createServer();
server.on('error', function(err){
console.log(err);
});
server.on('listening', function() {
console.log('listening...');
})
server.on('request', function(req, res) {
console.log('');
//co... |
void menu_top(void);
void menu_Mchar2(void); // motor
void menu_Mchar3(void); // motor
void menu_Schar2(void); // sensor |
package org.jsense.serialize;
import com.google.common.collect.ImmutableList;
import org.joda.time.Instant;
import org.joda.time.ReadableInstant;
import org.jsense.AccelerometerEvent;
import org.jsense.ModelFactory;
import org.junit.Before;
import org.junit.Test;
import java.io.<API key>;
import java.io.<API key>;
impo... |
const jwt = require("jwt-simple");
const co = require('co');
const config = require('../config');
const dbX = require('../db');
const coForEach = require('co-foreach');
module.exports = (io) => {
const <API key> = io.of('/collectionVersions');
<API key>.use((socket, next) => {
let token = socket.handshake.query... |
import { sh } from '../sh'
export const getLogLines = (previousVersion: string) =>
sh(
'git',
'log',
`...${previousVersion}`,
'--merges',
'--grep="Merge pull request"',
'--format=format:%s',
'-z',
'
).then(x => (x.length === 0 ? [] : x.split('\0'))) |
<?php
namespace Vardius\Bundle\ListBundle\Filter\Types\Type;
use Doctrine\ORM\QueryBuilder;
use Symfony\Component\OptionsResolver\OptionsResolver;
use Vardius\Bundle\ListBundle\Event\FilterEvent;
use Vardius\Bundle\ListBundle\Filter\Types\AbstractType;
class DateType extends AbstractType
{
/**
* @inheritDoc
... |
var gulp = require('gulp');
var setup = require('<API key>');
var DEPS_FOLDER = setup.depsFolder;
// Build tools
var _ = require(DEPS_FOLDER + 'lodash');
var insert = require(DEPS_FOLDER + 'gulp-insert');
var del = require(DEPS_FOLDER + 'del');
var plugins = {};
plugins.sass = require(DEPS_FOLD... |
dfdsa
# rss
Docker,daocloud. Readis
RSSnodejs koajs
[http:
IP
- 2015.04.26 ()
1. `phantomjs` cookie ()
2. openidID ()
- 2015.10.20 ()
- 2015.08.11
- 2015.06.28 cookie `phantomjs`
- 2015.05.22 ()
- `io.js` `Node.js 0.11` ES6
- `redis-server` `6379`
, `npm install` `node --harmony app.js`
-
 as HTMLCanvasElement;
var gl = canvas.getContext('webgl');
if (!gl) {
throw new Error('Could not create WebGL Context!');
}
// Create NDC Space Quad (attribute vec2 position)
let ndcQuad = [ 1.0, -1.0, -1.0, -1.0, 1.0, 1.0, -1.0, 1.0 ];
let indices = ... |
INSERT INTO `payment_type` VALUES
(1,'Card','CARD',1,1,0,1,'2016-12-20 11:02:12.000000',1,'2016-12-20 11:02:12.000000',1),
(2,'Direct Debit','DIRECT-DEBIT',1,2,0,1,'2016-12-20 11:02:12.000000',1,'2016-12-20 11:02:12.000000',1),
(3,'Cash','CASH',0,3,0,1,'2016-12-20 11:02:12.000000',1,'2016-12-20 11:02:12.000000',1),
(4,... |
angular.module('africaXpress')
.controller('ShopController', function($scope, Item){
$scope.allItems;
$scope.getAll = function () {
Item.getAll().success(function(data){
$scope.allItems = data
});
};
$scope.getAll();
}); |
var REGEX = require('REGEX'),
<API key> = 30,
create = require('DIV/create');
var parseString = function(parentTagName, htmlStr) {
var parent = create(parentTagName);
parent.innerHTML = htmlStr;
return parent;
};
var parseSingleTag = function(htmlStr) {
if (htmlStr.length > <API key>) { return n... |
<<<< HEAD
====
<header class="hide-on-large-only">
<img src="{{"assets/img/logo-mds-big.png"}}" alt="" style="width: 100%;">
</header>
>>>> <SHA1-like> |
// <API key> - This is a specific watch for a resource use
// policy trigger.
package <API key>
// DO NOT EDIT. THIS FILE WAS AUTOMATICALLY GENERATED |
package seedu.jobs.logic.commands;
import java.io.IOException;
import com.google.common.eventbus.Subscribe;
import seedu.jobs.commons.core.EventsCenter;
import seedu.jobs.commons.events.storage.<API key>;
/* Change save path
*/
//@@author A0130979U
public class PathCommand extends Command {
public static final Str... |
import { module, test } from "qunit";
import argvInjector from "inject-loader?nwjs/App!nwjs/argv";
module( "nwjs/argv" );
test( "Default values", assert => {
const argv = argvInjector({
"nwjs/App": {
argv: []
}
});
assert.propEqual(
argv.argv,
{
"_": [... |
// AppController.h
// Spotify Menubar
// This software is distributed under licence. Use of this software
// implies agreement with all terms and conditions of the accompanying
// software licence.
#import <Cocoa/Cocoa.h>
#import <ShortcutRecorder/ShortcutRecorder.h>
#import <SDGlobalShortcuts/SDGlobalShortc... |
<section data-ng-controller="Page1Controller">
<md-grid-list
md-cols-sm="1" md-cols-md="2" md-cols-gt-md="6"
md-row-height-gt-md="1:1" md-row-height="2:2"
md-gutter="12px" md-gutter-gt-sm="8px" >
<md-grid-tile class="red" md-rowspan="1" md-colspan="2">
<md-grid-tile-footer>
... |
package mobi.qubits.tradingapp.query;
import java.util.Date;
import org.springframework.data.annotation.Id;
public class QuoteEntity {
@Id
private String id;
private String symbol;
private String name;
private float open;
private float prevClose;
private float currentQuote;
private float... |
#!/usr/bin/python
""" fanhaorename.py
"""
import os
import os.path
import logging
import fileorganizer
from fileorganizer import _helper
from fileorganizer.replacename import _replacename
__author__ = "Jack Chang <wei0831@gmail.com>"
def _tagHelper(tag):
""" TODO
"""
result = ""
for c in tag:
if... |
<?php namespace Mitch\EventDispatcher;
class Dispatcher
{
private $listeners = [];
public function dispatch($event)
{
if (is_array($event)) {
$this->fireEvents($event);
return;
}
$this->fireEvent($event);
}
public function addListener($name, Listener $... |
using System;
using System.Runtime.InteropServices;
namespace UnityMathReference
{
[StructLayout(LayoutKind.Sequential)]
public struct Point3
{
#region Properties
public int x, y, z;
public static readonly Point3 one = new Point3(1);
public static readonly Point3 minusOne = n... |
<!DOCTYPE HTML PUBLIC "-
<!--NewPage
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.5.0_13) on Sun Jan 24 12:52:50 EST 2010 -->
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<TITLE>
Uses of Class edu.uci.ics.jung.io.graphml.GraphMLReader2 (jung2 2.0.1 API)
</TITLE>
<LINK REL ="stylesheet" T... |
<?php
namespace AppBundle\Form;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\<API key>;
use Symfony\Component\OptionsResolver\<API key>;
class OrganizationType extends AbstractType
{
/**
* @param <API key> $builder
* @param array $options
*/
public function buildForm(<API k... |
using System;
namespace Frog.Orm
{
[AttributeUsage(AttributeTargets.Property)]
public sealed class PrimaryKeyAttribute : Attribute
{
public string Name { get; set; }
}
} |
import * as React from './dfvReact'
import { dfvFront } from "./dfvFront";
export interface PopWindowPara {
notCover?: boolean;
isErr?: boolean;
closeTime?: number;
}
export class dfvWindow {
private dialog: HTMLDivElement | undefined;
//cover
private divCover: HTMLDivElement | undefined;
pr... |
namespace Teleimot.Web.Api.Mapping
{
using AutoMapper;
public interface IHaveCustomMappings
{
void CreateMappings(IConfiguration configuration);
}
} |
module.exports.default = undefined; |
var tpl = [
'<div id="{uuid}" class="datepicker ui-d-n">',
' <div class="datepicker__mask"></div>',
' <div class="datepicker__main">',
' <div class="datepicker__header">',
' <div class="<API key>"></div>',
' <div class="<API key>">',
' <div c... |
<?php
namespace Nf;
class Db
{
const FETCH_ASSOC = 2;
const FETCH_NUM = 3;
const FETCH_OBJ = 5;
const FETCH_COLUMN = 7;
private static $_connections = array();
public static $<API key> = null;
public static function factory($config)
{
if (! is_array($config)) {
// con... |
var Task = require('../models/task') ;
//add task
exports.addTask = function(req,res){
var title = req.body.title,
content = req.body.content,
date = req.body.date,
duration = req.body.duration,
done = req.body.done,
frequency = req.body.frequency ;
Task.addTask(title,con... |
<?php namespace App\Models\Soundcloud;
use App\Models\SocialModel;
class User extends SocialModel {
protected $table = '<API key>';
} |
(function () {
'use strict';
angular
.module('password', [
'ngMaterial',
/*@@DIST-TEMPLATE-CACHE*/
'ngRoute',
'password.analytics',
'password.title',
'password.nav',
'password.welcome',
'password.forgot',
'password.r... |
<!DOCTYPE html>
<html>
<head>
<meta content="text/html;charset=utf-8" http-equiv="Content-Type">
<meta content="utf-8" http-equiv="encoding">
<meta http-equiv="refresh" content="5; url={{.SiteName}}/">
<title>Creating Site - Renfish</title>
{{template "Header" .}}
</head>... |
<?php
namespace LaravelBox\Commands\Files;
use GuzzleHttp\Client;
use GuzzleHttp\Exception\ClientException;
use GuzzleHttp\Exception\ServerException;
use GuzzleHttp\Exception\RequestException;
use GuzzleHttp\Exception\TransferException;
use LaravelBox\Factories\ApiResponseFactory;
class DownloadFileCommand extends Abst... |
/*
* Testcase: Check whether prime import/export works on the same device
*
* ... but with different fds, i.e. the wayland usecase.
*/
#define _GNU_SOURCE
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <fcntl.h>
#include <inttypes.h>
#include <errno.h>
#include <sys/stat.h>
... |
<section>
<div class="<API key>">
<h1>Selecciona el animal que quieres actualizar:
<select ng-model="updAnimal.animalSelected" ng-change="updAnimal.editAnimal(updAnimal.animalSelected)">
<option ng-repeat="item in updAnimal.allAnimals" ng-value="{{item.id}}">{{item.name}}</option>
... |
pyrdiff
====
Python rdiff/rsync implementation (for experimental/learning purposes only) |
<?php
declare(strict_types = 1);
namespace KoolKode\BPMN\Runtime\Behavior;
use KoolKode\BPMN\Engine\<API key>;
use KoolKode\BPMN\Engine\VirtualExecution;
use KoolKode\BPMN\Runtime\Command\<API key>;
use KoolKode\Process\Node;
class <API key> extends <API key>
{
protected $message;
public function __construct(st... |
const greetings = {
morning: ['God morgon!', 'Kaffe?', 'Ha en bra dag!', 'Hoppas du får en bra dag!', 'Sovit gott?'],
afternoon: ['Ganska fin du!', 'Trevlig eftermiddag!', 'Eftermiddags kaffe?', 'Glömde väl inte att fika?'],
evening: ['Trevlig kväll!', 'Ser bra ut!', 'Myskväll?!'],
};
module.exports = {
getMess... |
/**
* \file test_hs_cell.c
* \brief Test hidden service cell functionality.
*/
#define <API key>
#define HS_SERVICE_PRIVATE
#include "test.h"
#include "test_helpers.h"
#include "log_test_helpers.h"
#include "crypto_ed25519.h"
#include "hs_cell.h"
#include "hs_intropoint.h"
#include "hs_service.h"
/* Trunnel. */
#inc... |
# class DesignComponent
class Mucomo::Model::DesignComponent
# @todo participant, meta, description
# this include adds the attributes id, name, title to this class.
include Mucomo::Model::HasIdentifiers
attr_accessor :media_type # media_type's range is a restricted vocabulary, see XML schema file
attr_access... |
.component {
padding-top: 20px;
}
.currenttotal {
text-align: center;
} |
module I18n
module Backend
class Simple
protected
def pluralize(locale, entry, count)
return entry unless entry.is_a?(Hash) and count
key = :zero if count == 0 && entry.has_key?(:zero)
locale_pluralize = lookup(locale, :pluralize)
if locale_pluralize && locale_pluralize... |
package io.variability.jhipster.security;
import io.variability.jhipster.config.Constants;
import org.springframework.data.domain.AuditorAware;
import org.springframework.stereotype.Component;
/**
* Implementation of AuditorAware based on Spring Security.
*/
@Component
public class <API key> implements AuditorAware<S... |
import auth from '../auth';
import clone from 'clone';
import storage from './storage';
async function addBlockOrItem(dbConn, token, codeObj, props, type) {
let user = await auth.getUser(token);
console.log(`Adding new ${type} for user ${user.login}`);
let add;
let newType = {
code: codeObj,
name: props... |
<?php
use Stecman\Passnote\Object\<API key>;
use Stecman\Passnote\Object\<API key>;
class ObjectController extends ControllerBase
{
public static function getObjectUrl(StoredObject $object)
{
return 'object/' . $object->getUuid();
}
public function indexAction($uuid)
{
$object = $thi... |
import { globalShortcut } from 'electron'
import playbackControls from '../actions/playbackControls'
function initGlobalShortcuts () {
globalShortcut.register('MediaNextTrack', playbackControls.clickNextSong)
globalShortcut.register('MediaPreviousTrack', playbackControls.clickPreviousSong)
globalShortcut.register... |
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.automation.models;
import com.azure.core.annotation.Fluent;
import com.azure.core.util.logging.ClientLogger;
import com.azure.resourcemanager.automation.fluent.models.ConnectionInner;
import com.fasterxml.jackson.annotation.Js... |
# 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 p... |
<?php
function icom_edit_permalink($link) {
if (<API key>()) {
return ICOM_ABSPATH . icom_current_lang() . "/" . str_replace(ICOM_ABSPATH, "", $link);
} else {
return ICOM_ABSPATH . str_replace(ICOM_ABSPATH, "", $link) . "&lang=" . icom_current_lang();
}
}
function icom_current_lang() {
gl... |
E.widget.fontawesome = class extends E.factory.node {
constructor( icon ) {
super( 'i' );
this.attr( 'class', `fa fa-${icon.toString().toLowerCase()}` );
}
static css() {
return 'https:/' + '/maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css';
}
size( size )... |
import unittest
from app.commands.file_command import FileCommand
class TestFileCommand(unittest.TestCase):
def setUp(self):
self.window = WindowSpy()
self.settings = PluginSettingsStub()
self.sublime = SublimeSpy()
self.os_path = OsPathSpy()
# SUT
self.command = File... |
# keyclic_sdk_api.model.<API key>
## Load the model package
dart
import 'package:keyclic_sdk_api/api.dart';
## Properties
Name | Type | Description | Notes
**mapping** | [**<API key>**](<API key>.md) | | [optional] [default to null]
[[Back to Model list]](../README.md#<API key>) [[Back to API list]](../README.md#<API ... |
<?php
use app\models\ModelEvents;
class ModelEventsTest extends <API key>
{
} |
#include <cstdio>
#include <iostream>
#include <stack>
using namespace std;
struct inf
{
int p, v;
};
int nums, totes, mint, stval;
int nlist[1000005], tol[1000005], tor[1000005], seen[1000005];
inf lastnp[1000005];
int main()
{
scanf("%d", &nums);
for(int i=1; i<=nums; i++)
scanf("%d", &nlist[i]);
... |
package co.edu.uniandes.ecos.tarea4.util;
/**
* Clase utilitaria de constantes
* @author Daniel
*/
public class Constantes {
public static final String LOC_METHOD_DATA = "LOC/Method Data";
public static final String PGS_CHAPTER = "Pgs/Chapter";
public static final String CLASS_NAME = "Class Name";
pu... |
<?php
if (!class_exists('Paymentwall_Config'))
include(getcwd() . '/components/gateways/lib/paymentwall-php/lib/paymentwall.php');
class Brick extends NonmerchantGateway
{
/**
* @var string The version of this Gateway
*/
private static $version = "1.0.0";
/**
* @var string The authors of ... |
package org.butioy.framework.security;
import org.apache.commons.lang3.StringEscapeUtils;
import org.apache.commons.lang3.StringUtils;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.<API key>;
/**
* Created with IntelliJ IDEA.
* Author butioy
* Date 2015-09-18 22:33
*/
public class <API key... |
#include <Esp.h>
#include "FS.h"
#ifdef ESP32
#include <SPIFFS.h>
#endif
#include "iotsaFilesUpload.h"
#ifdef IOTSA_WITH_WEB
void IotsaFilesUploadMod::setup() {
}
static File _uploadFile;
static bool _uploadOK;
void
IotsaFilesUploadMod::uploadHandler() {
if (needsAuthentication("uploadfiles")) return;
HTTPUpload& u... |
<?php
declare(strict_types=1);
return [
'meta' => [
'title' => 'Static method call statement of a class imported with a use statement in a namespace',
// Default values. If not specified will be the one used
'prefix' => 'Humbug',
'whitelist' => [],
'exclude-namespaces' => [],... |
<?php
class Auth_Model extends CoreApp\DataModel {
public function __construct() {
parent::__construct();
$this->PDO = $this->database->PDOConnection(CoreApp\AppConfig::getData("database=>autchenticationDB"));
$this->database->PDOClose();
}
public function getLo... |
package lua
type lValueArraySorter struct {
L *LState
Fn *LFunction
Values []LValue
}
func (lv lValueArraySorter) Len() int {
return len(lv.Values)
}
func (lv lValueArraySorter) Swap(i, j int) {
lv.Values[i], lv.Values[j] = lv.Values[j], lv.Values[i]
}
func (lv lValueArraySorter) Less(i, j ... |
require("kaoscript/register");
var Type = require("@kaoscript/runtime").Type;
module.exports = function() {
var Shape = require("../export/export.class.default.ks")().Shape;
function foobar() {
if(arguments.length === 1 && Type.isString(arguments[0])) {
let __ks_i = -1;
let x = a... |
/**
* Node class
* @param {object} value
* @constructor
*/
class Node {
constructor(value) {
this._data = value;
}
value() {
return this._data;
}
}
export default Node; |
There is no magic for Rails' `enum` in fixtures. If you want to use the string value (which is the entire point of using the enum), you need to ERB it up. Something like
{% highlight yaml %}
michael:
name: Michael Bluth
occupation: <%= Person.occupations[:actor] %> # because 'actor' won't do it
{% endhighlight %} |
<!DOCTYPE html>
<html lang="en">
<head>
@include('includes.head')
</head>
<body>
<div id="wrapper">
<header>
@include('includes.navbar')
</header>
<div class="container">
<div class="row">
<!-- main content -->
<div id="content" class="col-md-9">
@... |
package com.felhr.<API key>.bulkonlytests;
import android.hardware.usb.UsbConstants;
import android.hardware.usb.UsbDevice;
import android.hardware.usb.UsbDeviceConnection;
import android.hardware.usb.UsbInterface;
import com.felhr.<API key>.bulkonly.UsbFacade;
import com.felhr.<API key>.bulkonly.UsbFacadeInterface;
im... |
<?php declare(strict_types=1);
namespace Monolog\Handler;
use MongoDB\Driver\Manager;
use Monolog\Test\TestCase;
use Monolog\Formatter\NormalizerFormatter;
class MongoDBHandlerTest extends TestCase
{
public function <API key>()
{
$this->expectException(\<API key>::class);
new MongoDBHandler(new ... |
import URL from 'url';
import * as packageCache from '../../util/cache/package';
import { GitlabHttp } from '../../util/http/gitlab';
import type { GetReleasesConfig, ReleaseResult } from '../types';
import type { GitlabTag } from './types';
const gitlabApi = new GitlabHttp();
export const id = 'gitlab-tags';
export co... |
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
// all copies or substanti... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="nl" version="2.1">
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About IadixCoin</source>
<translation>Over IadixCoin</translation>
</message>
<message>
<loca... |
package org.mdo.storyline.character.config;
import com.codahale.metrics.MetricRegistry;
import com.codahale.metrics.servlet.InstrumentedFilter;
import com.codahale.metrics.servlets.MetricsServlet;
import org.mdo.storyline.character.web.filter.<API key>;
import org.mdo.storyline.character.web.filter.<API key>;
import or... |
;(function(){
'use strict';
angular.module('TTT')
.config(function($routeProvider){
$routeProvider
.when('/emu',{
templateUrl: 'views/emu.html',
controller: 'emuController',
controllerAs: 'emu'
});
});
})(); |
/**google fonts **/
@import url(https://fonts.googleapis.com/css?family=Montserrat:400,700);
@import url(https://fonts.googleapis.com/css?family=Josefin+Sans:400,700);
@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600);
/**variables for one page template**/
html, body {
hei... |
<!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.1.4: Member List</title>
<link href="tabs.css" rel="... |
// <API key>.h
// WangYiNEWS
#import <UIKit/UIKit.h>
@interface <API key> : <API key>
@end |
<?php
namespace EloquentJs\ScriptGenerator\Model;
class Metadata
{
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $endpoint;
/**
* @var array
*/
public $dates;
/**
* @var array
*/
public $scopes;
/**
* @var array
*/
... |
body {
background: #f9f6f1;
font: 13px/1.7em 'Open Sans';
}
p {
font: 13px/1.7em 'Open Sans';
}
input,
button,
select,
textarea {
font-family: 'Open Sans';
}
h5 {
padding-left:10px;
padding-top:10px;
}
.dropdown .dropdown-menu {
-<API key>: 6px;
-moz-border-radius: 6px;
border-radius: ... |
title: "Line-Following Robot"
Here's goes my first "projects" post. Last semester I took a class called "Intro To Electromechanical Systems" (shout out to my professor Greg Lewin), a fun class about combining software and hardware to make some cool things. As you've probably guessed, one of the projects we had was to ... |
#ifndef <API key>
#define <API key>
#include "hkbmodifier.h"
class <API key> final: public hkbModifier
{
friend class <API key>;
public:
<API key>(HkxFile *parent, long ref = 0);
<API key>& operator=(const <API key>&) = delete;
<API key>(const <API key> &) = delete;
~<API key>();
public:
QString... |
@extends('admin.layout')
@section('title')
Payment
@endsection
@section('content')
<a href="/admin/ff/payment/create/{{$pledge->id}}" class="ui teal button right floated">New Payment</a>
<h1 class="ui header">Payments</h1>
<div class="ui horizontal divider">{{$pledge->name}}'s <br> Summary </div>
<table class="ui unsta... |
(function (window) {
'use strict';
var <API key> = 'mean';
var service = {
<API key>: <API key>,
<API key>: ['ngResource', 'ngAnimate', 'ngMessages', 'ui.router', 'angularFileUpload', 'ngMaterial'],
registerModule: registerModule
};
window.<API key> = service;
// Add a new vertical module
func... |
struct stat;
struct rtcdate;
// system calls
int fork(void);
int exit(void) __attribute__((noreturn));
int wait(void);
int pipe(int*);
int write(int, void*, int);
int read(int, void*, int);
int close(int);
int kill(int);
int exec(char*, char**);
int open(char*, int);
int mknod(char*, short, short);
int unlink(char*);
i... |
/*
* 5-high FONT FOR RENDERING TO THE LED SCREEN.
* Includes kerning support
* Gaurav Manek, 2011
*/
#ifndef __FONT5X4_H
#define __FONT5X4_H
#include <avr/pgmspace.h>
#define FONT_5X4_HEIGHT 5
#define FONT_5X4_STEP_GLYPH 10
// Number of bytes per glyph
const char FONT_5X4 [] PROGMEM = {
0b0000, 0b0000, 0b0000, 0... |
layout: default
<section id="content-region-3" class="padding-40 page-tree-bg">
<div class="container">
<h3 class="page-tree-text">
Becoming a Sponsor
</h3>
</div>
</section>
<div class="space-70"></div>
<div class="container">
<div class="row">
<div class="col-md-12">
... |
<?php
namespace Symfony\Bundle\FrameworkBundle\Tests\Functional;
use Symfony\Bundle\FrameworkBundle\Command\<API key>;
use Symfony\Bundle\FrameworkBundle\Console\Application;
use Symfony\Component\Console\Tester\CommandTester;
/**
* @group functional
*/
class <API key> extends AbstractWebTestCase
{
protected func... |
module ActiveSurvey
class Visitor
def visit_items(items)
res = items.map { |item| item.accept(self) }
after_visit_items(items, res)
end
def after_visit_items(items, result)
result
end
def visit_question(item)
end
def visit_section(item)
self.visit_items item.items
... |
(function (require) {
var test = require('test'),
asyncTest = require('asyncTest'),
start = require('start'),
module = require('module'),
ok = require('ok'),
expect = require('expect'),
$ = require('$'),
document = require('document'),
raises = require... |
/*
The main entry point for the client side of the app
*/
// Create the main app object
this.App = {};
// Create the needed collections on the client side
this.Surprises = new Meteor.Collection("surprises");
// Subscribe to the publishes in server/collections
Meteor.subscribe('surprises');
// Start the app
Meteor.... |
// -*- coding: utf-8 -*-
// de l'Epita (LRDE).
// This file is part of Spot, a model checking library.
// Spot is free software; you can redistribute it and/or modify it
// (at your option) any later version.
// Spot is distributed in the hope that it will be useful, but WITHOUT
// or FITNESS FOR A PARTICULAR PURPOSE. ... |
namespace Meeko
{
partial class Form1
{
<summary>
Required designer variable.
</summary>
private System.ComponentModel.IContainer components = null;
<summary>
Clean up any resources being used.
</summary>
<param name="disposing">true if managed res... |
title: Hey Boss, Event Sourcing Can Fix That!
author:
name: Emily Stamey
twitter: elstamey
url: http://elstamey.com
theme: elstamey/<API key>
style: basic-style.css
output: hey_boss.html
controls: true
# Event Sourcing Can Fix That!


# Basics of Event Sourcing
- pull fro... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.