answer stringlengths 15 1.25M |
|---|
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Resume</title>
</head>
<body>
<div class="container">
<h1 class="header" data-bind="text:i18n().russ_full"></h1>
<div class="contact">
<h1><span data-bind="{text: i18n().contact_info}"></span></h1>
<ul id="contactList" data-... |
using AlgorithmsLibrary;
using Xunit;
namespace Tests
{
public class QuickFindTests
{
[Fact]
public void <API key>()
{
var algorithm = new QuickFind(2);
Assert.Equal(0, algorithm.Result[0]);
Assert.Equal(1, algorithm.Result[1]);
Assert.Fals... |
function Tw2VectorSequencer()
{
this.name = '';
this.start = 0;
this.value = vec3.create();
this.operator = 0;
this.functions = [];
this._tempValue = vec3.create();
}
Tw2VectorSequencer.prototype.GetLength = function () {
var length = 0;
for (var i = 0; i < this.functions.length; ++i) {
... |
# Weather Forecast Data Generator
Weather forecast data generator is a programe for periodically reading a list of locations and temperature limits in a streaming manner, connects to external on demand data service, gets raw weather data according to the locations, compares temperature limit and creates an alert status... |
using commercetools.Common;
namespace commercetools.Zones
{
<summary>
Extensions
</summary>
public static class Extensions
{
<summary>
Creates an instance of the ZoneManager.
</summary>
<returns>ZoneManager</returns>
public static ZoneManager Zones(this IClien... |
#javascript_koans
This is an automated copy of the work I did on a private repo, originally a project from the [Hack Reactor](http:
(Original branchname: `mrbri`) |
#ifndef <API key>
#define <API key>
#include <memory>
#include <string>
#include "base/macros.h"
#include "content/public/browser/<API key>.h"
#include "content/public/browser/web_ui_controller.h"
#include "ipc/ipc_message.h"
namespace content {
class BrowserContext;
struct StreamInfo;
} // namespace content
namespace... |
Simple Flask Visualization
========
## Who Am I?
I am a flask application that wants to grow up and become a kick-ass visualizatioin app. For now, I am still trying to figure out how to use d3 to render my data stored in Postgres.
## What can you do?
Take a sneak peak at the issues links, if you have any pointers plea... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>dblib: Not compatible </title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" re... |
@mixin centerer {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.parent {
position: relative;
}
.child {
@include centerer;
}
.searchBar {
background:#fee;
padding:5px;
margin:5px... |
<!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.4"/>
<title>Member List</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="t... |
.MainMenuRoot
{
width: 100%;
height: 95%;
vertical-align: bottom;
flow-children: down;
opacity: 0.0;
}
.MainMenuFX
{
width: 1000px;
height: 360px;
vertical-align: top;
horizontal-align: center;
}
.MainMenuLogo
{
horizontal-align: center;
}
.<API key>
{
width: 100%;
}
.<API ke... |
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>NgRx Docs</title>
<base href="/">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="assets/images/favicons/favicon.ico">
<link rel="icon" type="image/png" href="assets/images/favicons/fa... |
<!-- steps -->
<el-row>
<el-col :lg="{ span: 20, push: 2 }">
<el-steps :active="active" process-status="process" finish-status="success">
<el-step title="" description=""></el-step>
<el-step title="" description=""></el-step>
<el-step title="" description="OK"></el-step>
</el-steps>
</el-c... |
package com.dasa.approval.service;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.mybatis.spring.support.<API key>;
import org.springframework.beans.factory.annotation.Autowired;
import com.dasa.approval.dao.ApprovalDao;
import... |
var myTimeout = 12000;
Storage.prototype.setObject = function(key, value) {
this.setItem(key, JSON.stringify(value));
};
Storage.prototype.getObject = function(key) {
var value = this.getItem(key);
return value && JSON.parse(value);
};
var xmlVersions = new Array(
"Msxml2.XMLHTTP.6.0",
"MSXML2.XMLHT... |
<!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 http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<title>EcoTroca - Mude o Mundo e ganhe de... |
#// agreements. Refer to the OpenPegasusNOTICE.txt file distributed with
#// copy of this software and associated documentation files (the "Software"),
#// to deal in the Software without restriction, including without limitation
#// and/or sell copies of the Software, and to permit persons to whom the
#// Software is... |
#!/usr/bin/env bash
python run.py --test &
sleep 1
py.test -v -s --driver PhantomJS tests/selenium
exit_code=$?
pkill -9 -f run.py && exit ${exit_code} |
module.exports = function(o, allDone) {
'use strict';
var fs = require('fs');
var path = require('path');
var temp = require('temp');
var async = require('async');
var glob = require('glob');
var exec = require('exec');
var chalk = require('chalk');
var _ = require('lodash');
var... |
#include <iostream>
#include <vector>
using namespace std;
struct TreeNode {
int val;
TreeNode *left;
TreeNode *right;
TreeNode(int x) : val(x), left(NULL), right(NULL) {}
};
class Solution {
public:
TreeNode* mergeTrees(TreeNode* t1, TreeNode* t2) {
if (t1 == NULL) return t2;
if (t2... |
#ifndef IO_LED_BUTTON_H_
#define IO_LED_BUTTON_H_
#include <avr/io.h>
#include <stdbool.h>
#define <API key> 5
#define IO_GREEN_BUTTON 0x01
#define IO_RED_BUTTON 0x02
#define IO_YELLOW_BUTTON 0x04
typedef enum {IO_TEST, IO_SCAN} MOD_IO_STATE;
void mod_io_init();
void mod_io_service();
uint8_t mod_io... |
<?php
namespace Czenker\Wichtlr\ConsoleHelper;
use Czenker\Wichtlr\Graph\Graph;
use Czenker\Wichtlr\Graph\Node;
use Symfony\Component\Console\Helper\Helper;
use Symfony\Component\Console\Output\OutputInterface;
class Reindeer extends Helper {
/**
* @var array lines of text making up an ASCII art reindeer
... |
<?php
/**
* MarkaCategory form base class.
*
* @method MarkaCategory getObject() Returns the current form's model object
*
* @package sf_sandbox
* @subpackage form
* @author Your name here
* @version SVN: $Id: <API key>.php 29553 2010-05-20 14:33:00Z Kris.Wallsmith $
*/
abstract class <API key> exten... |
require 'csv'
@file_name = ARGV[0]
file = File.new('inputs/' + @file_name, 'r')
n_lines = 0
@headers = nil
@contents = {}
@dates = []
def parse_headers(fields)
@headers = fields.slice(1..(fields.length-1))
@headers = @headers.map(&:chomp)
@headers.each do |name|
@contents[name] = []
end
end
def ... |
#!/bin/bash
function logfun(){
local MEX=$@
echo $MEX
logger -s -i -t "randomly" -p user.info "The number is "${MEX}
}
logfun "Got a new random: "$RANDOM
logfun "Got a new random: "$RANDOM
logfun "Got a new random: "$RANDOM |
package cmd
import (
"testing"
gomock "github.com/golang/mock/gomock"
"github.com/jamesnetherton/homehub-cli/service"
)
func TestSambaIPCommand(t *testing.T) {
ctrl := gomock.NewController(t)
defer ctrl.Finish()
hub := NewMockHub(ctrl)
service.SetHub(hub)
service.<API key>()
hub.EXPE... |
using System.Linq;
using Moq;
using NUnit.Framework;
using Pustota.Maven.Models;
using Pustota.Maven.Validation;
namespace Pustota.Maven.Base.Tests.Validations
{
[TestFixture]
public class <API key>
{
private RepositoryValidator _validator;
private Mock<<API key>> _factory;
private M... |
The MIT License (MIT)
Copyright (c) 2013 Peter Ahlers
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, publi... |
layout: post
title: "Faut-il Sauver Michel Sardou ?"
date: 2015-05-09 10:00:00
authors:
- Dirty Henry
tags:
- laurent chalumeau
- livres
- michel sardou
cover: http://s3-eu-west-1.amazonaws.com/org.deadrooster.blog/sardou-chalumeau.jpg
description: >
Quelles conclusions tirer de la lecture de Kif, de Laure... |
package com.github.programmerr47.chords.representation.adapter.item;
/**
* Simple expansion of interface {@link AdapterItem} for organization of
* "selection mode".
*
* @author Michael Spitsin
* @since 2014-10-08
*/
public abstract class <API key> implements AdapterItem {
protected boolean isSelected;
/**... |
package cloudstack
import (
"fmt"
"net/http"
"net/http/httptest"
"net/url"
"testing"
)
func <API key>(t *testing.T) {
server := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
responses := map[string]string{
"associateIpAddress": `
{... |
package br.com.trustsystems.demo.provider;
import br.com.trustsystems.persistence.Persistent;
import br.com.trustsystems.persistence.dao.IUnitOfWork;
import br.com.trustsystems.persistence.provider.jpa.<API key>;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagatio... |
module Puppet.Master.Interpreter ( InterpreterWorker
, <API key>
, ask
, eval
, typeOf
) where
import Exception
import Control.Monad
import GHC
import GHC.... |
// <author id="shkyrockett">Shkyrockett</author>
// <date></date>
// <summary></summary>
// <remarks></remarks>
using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Runtime.CompilerServices;
using System.Runtime.Serializatio... |
/**
* @file KeyboardButtonTest.h
* @brief Contains KeyboardButtonTest fixture
* @author Khalin Yevhen
* @version 0.0.1
* @date 28.09.17
*/
#pragma once
#include <gtest\gtest.h>
#include "..\khalin04\KeyboardButton.h"
#include "..\khalin04\KeyboardButton.cpp"
/**
* @brief Test fixture for using the same data
* @author K... |
/*virtual sticky*/
#siteTable {
display: -webkit-flex;
display: flex;
-<API key>: column;
flex-direction: column;
}
.stickied {
-webkit-order: -2;
order: -2;
}
.id-t3_3wr79q {
-webkit-order: -1;
order: -1;
}
.id-t3_3wr79q>.rank {
visibility: hidden;
}
... |
<?php
namespace ApiPlatform\Core\Tests\Doctrine\Util;
use ApiPlatform\Core\Bridge\Doctrine\Orm\Util\QueryJoinParser;
use Doctrine\Common\Persistence\ManagerRegistry;
use Doctrine\Common\Persistence\ObjectManager;
use Doctrine\ORM\Mapping\ClassMetadata;
use Doctrine\ORM\Query\Expr\Join;
use Doctrine\ORM\Query\Expr\Order... |
class Model < ActiveRecord::Base
# Relationships to other Entities
has_many :products
<API key> :name
validates_length_of :name, :within => 2..32
<API key> :name
end |
'use strict';
var fs = require('fs'),
path = require('path');
// path.basename('/foo/bar/baz/asdf/quux.html', '.html') = quux
// path.dirname('/foo/bar/baz/asdf/quux.html') = /foo/bar/baz/asdf/
// path.parse('/home/user/dir/file.txt')
// returns
// root : "/",
// dir : "/home/user/dir... |
#* This LIBRARY is free software; you can distribute it and/or modify
#* Models to simulate a power plant.
#* $Id: power_plant.mso 195 2007-03-07 20:30:12Z arge $
# Declaracao de tipos
type CorrenteVap
CorrenteVap()=begin
PP=outers.PP
new(
CorrenteZ(),
DanaPlugin(Dict{Symbol,... |
var NULL = null;
function NOP() {}
function NOT_IMPLEMENTED() { throw new Error("not implemented."); }
function int(x) {
return x|0;
}
function pointer(src, offset, length) {
offset = src.byteOffset + offset * src.BYTES_PER_ELEMENT;
if (typeof length === "number") {
return new src.constructor(src.buffer, offs... |
var _ = require('../../util')
var handlers = {
text: require('./text'),
radio: require('./radio'),
select: require('./select'),
checkbox: require('./checkbox')
}
module.exports = {
priority: 800,
twoWay: true,
handlers: handlers,
/**
* Possible elements:
* <select>
* <textarea>
* <inpu... |
var classes = [
{
"name": "Hal\\Report\\Html\\Reporter",
"interface": false,
"methods": [
{
"name": "__construct",
"role": null,
"public": true,
"private": false,
"_type": "Hal\\Metric\\FunctionMetric... |
(function() {
'use strict';
var jhiAlert = {
template: '<div class="alerts" ng-cloak="">' +
'<div ng-repeat="alert in $ctrl.alerts" ng-class="[alert.position, {\'toast\': alert.toast}]">' +
'<uib-alert ng-cloak="" type="{{alert.type}}" close="alert.clo... |
#ifndef INCBIN_HDR
#define INCBIN_HDR
#include <limits.h>
#if defined(__AVX512BW__) || \
defined(__AVX512CD__) || \
defined(__AVX512DQ__) || \
defined(__AVX512ER__) || \
defined(__AVX512PF__) || \
defined(__AVX512VL__) || \
defined(__AVX512F__)
# define <API key> 6
#elif defined(__... |
<header class="main-header">
<!-- Logo -->
<a href="" class="logo">
<!-- mini logo for sidebar mini 50x50 pixels -->
<span class="logo-mini"><b>G'</b>GO</span>
<!-- logo for regular state and mobile devices -->
<span class="logo-lg"><b>Gaspi'</b>GO</span>
</a>
<!-- Header Navbar:... |
/*
* Pallot
*/
.sphere {text-align:center; border:1px solid rgba(0,0,0,0.2); _box-shadow:inset 0 0 10px #fff; border-radius:9999px; _outline:1px solid #f00;}
.sphere p {padding:10px; width:90%; color:#777; _outline:1px solid #000; }
.sphere-top {top:10px;}
.sphere-bottom {bottom:10px;}
.like-icon {width:80px; height:... |
<h2>Listing <span class='muted'>Names</span></h2>
<br>
<?php if ($names): ?>
<table class="table table-striped">
<thead>
<tr>
<th>Name</th>
<th> </th>
</tr>
</thead>
<tbody>
<?php foreach ($names as $item): ?> <tr>
<td><?php echo $item->name; ?... |
// Generated by class-dump 3.5 (64 bit).
#import "UIButton.h"
@interface <API key> : UIButton
{
UIButton *_vibrantButton;
UIButton *_overlayButton;
}
- (id)<API key>:(id)arg1 selected:(_Bool)arg2;
- (id)_buttonFont;
- (void)_buttonStateChanged:(id)arg1;
- (void)_buttonPushed:(id)arg1;
- (id)<API key>:(id)ar... |
using System;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using System.Data.Common;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Configuration;
using System.Xml;
using System.Xml.Serialization;
using SubSonic;
using SubSonic.Utilities;
name... |
<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="layoutclass_pic"><div class="<API key>"><table class="ztable"><tr><th class="ztd1"><b> </b></... |
<span class="wiki-builder">This page was generated with Wiki Builder. Do not change the format!</span>
## Ultra Centurion
Info
* **enemyId:** <API key>
* **enemyName:** Ultra Centurion
* **cardId:** 205150
* **enemyTier:** Ultra
* **raceName:** Cabal
* **raceClass:** CabalCenturion
* **enemyWeapon:** ProjectionRifle
* ... |
// Description:
package angulate2.platformBrowser.animations
import scala.scalajs.js
import scala.scalajs.js.annotation.JSImport
@js.native
@JSImport("@angular/platform-browser/animations","<API key>")
class <API key> extends js.Object |
-- Commands for the cpp module.
module('_m.cpp.commands', package.seeall)
-- C++-specific key commands.
local keys = _G.keys
if type(keys) == 'table' then
local m_editing = _m.textadept.editing
keys.cpp = {
al = { textadept.io.open, _HOME..'/modules/cpp/init.lua' },
['s\n'] = { function()
buffer:line_... |
const test = require('tape')
const Queue = require('./Queue')
test('peek on empty queue', assert => {
const queue = new Queue()
assert.strictEqual(queue.peek(), null)
assert.end()
})
test('enqueue items to the queue', assert => {
const queue = new Queue()
queue.enqueue('foo')
queue.enqueue('bar')
assert.e... |
main.pdf: main.tex
xelatex $<
clean:
$(RM) main.aux main.log main.nav main.out main.pdf main.snm main.toc main.vrb |
# 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::Cosmosdb::Mgmt::V2015_04_08
module Models
# An Azure Cosmos DB MongoDB database.
class MongoDBDatabase < Resource
include MsRes... |
<!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 v7.3.0 - v7.4.0: Member List</title>
<link href="tabs.cs... |
<?php
namespace r7r\ste;
/**
* Class Calc contains static methods needed by <ste:calc />
*/
class Calc
{
private function __construct()
{
}
private static function shunting_yard(string $infix_math): array
{
$operators = [
"+" => ["l", 2],
"-" => ["l", 2],
... |
var EVENTS, ProxyClient, _r, <API key>, getSystemAddresses, io, <API key>;
_r = require('kefir');
io = require('socket.io-client');
EVENTS = require('./events');
ProxyClient = function(server, hosts) {
server.on('listening', function() {
return <API key>(server, hosts);
});
return this;
};
<API key> = functio... |
#!/bin/bash
#This colour
cyan='\e[0;36m'
green='\e[0;32m'
lightgreen='\e[1;32m'
white='\e[1;37m'
red='\e[1;31m'
yellow='\e[1;33m'
blue='\e[1;34m'
resetCollor='\e[m'
fancyEcho()
{
collors=(
'\e[0;36m'
'\e[0;32m'
'\e[1;32m'
'\e[1;31m'
'\e[1;37m'
'\e[1;33m'
'\e[1;34m'
'\e[1;35m'
)
string=$1... |
var Router = require('restify-router').Router;
var db = require("../../../../db");
var <API key> = require("dl-module").managers.sales.<API key>;
var resultFormatter = require("../../../../result-formatter");
var passport = require('../../../../passports/jwt-passport');
const apiVersion = '1.0.0';
function getRouter() ... |
/* Some parameters for the placement of the runtime stack in the buffer lab */
#define STACK_SIZE 0x100000
#ifdef STACK
#define START_ADDR (void *) STACK
#else
#define START_ADDR (void *) 0x55586000
#endif |
<?php
namespace Audith\Providers\Nexway\Data\Response\OrderApi;
/**
* @author Shahriyar Imanov <shehi@imanov.me>
*/
class getCrossUpSell extends \Audith\Providers\Nexway\Data\Response\OrderApi
{
public static $<API key> = array(
100 => "<API key>",
110 => "<API key>",
111 => "<API key>"... |
<!DOCTYPE HTML PUBLIC "-
<!--NewPage
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_15) on Thu Mar 10 09:38:24 BRT 2011 -->
<TITLE>
Uses of Class service.<API key>
</TITLE>
<META NAME="date" CONTENT="2011-03-10">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style">
<SCRIPT type="text... |
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
namespace SuperCereal.Properties {
[global::System.Runtime.CompilerServices.<API key>()]
[global::System.CodeDom.Compile... |
package pl.edu.mimuw.cloudatlas.agent.modules.network;
import java.net.InetAddress;
import pl.edu.mimuw.cloudatlas.agent.modules.framework.SimpleMessage;
public final class SendDatagramMessage extends SimpleMessage<byte[]> {
private InetAddress target;
private int port;
public SendDatagramMessage(byte[] con... |
module Translation
using Random
const filename = joinpath(tempdir(), "translation-$(randstring()).jld")
module Writing
using JLD
import ..Translation: filename
mutable struct MyType
a::Int
end
jldopen(filename, "w") do file
<API key>(file, Writing)
write(file, "x", MyType(3))
end
end # Writing
module Readin... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>{% block title %} {% endblock %} | ShopSoko </title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">
<link rel="shortcut icon" href=... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace <API key>.Models {
public class Report {
public string id { get; set; }
public string name { get; set; }
public string webUrl { get; set; }
public string embedUrl { get; set; }
public ... |
<?php
class <API key>
extends <API key>
{
//
//
} |
require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
describe MailSafe do
<API key> = /The original recipients were:/
<API key> = /<p>\s+The original recipients were:\s+<\/p>/
def deliver_message(message_name, *args)
TestMailer.send(message_name, *args).deliver
end
RSpec::Matchers.define :hav... |
var Icon = require('../icon');
var element = require('<API key>');
var clone = require('../clone');
exports.render = function render(component) {
var props = clone(component.props);
delete props.children;
return element(
Icon,
props,
element('path', { d: 'M3 21h2v-2H3v2zM5 7H3v2h2V7zM3 17h2v-2H3v2zm4 ... |
## Machine Learning at AstroHackWeek 2017
Adrian Price-Whelan & David W. Hogg
This repository contains some Jupyter notebooks to accompany the Machine
Learning tutorial session at
[AstroHackWeek 2017](http://astrohackweek.org/2017/).
* [Download data (4.15
GB)](http:
wget http:
* [AstroHackWeek Github
repo](htt... |
package com.nasmlanguage;
import com.intellij.lang.Commenter;
import org.jetbrains.annotations.Nullable;
public class NASMCommenter implements Commenter {
@Nullable
@Override
public String <API key>() {
return ";";
}
@Nullable
@Override
public String <API key>() {
return null... |
// <author>Pedro Lamas</author>
// <email>pedrolamas@gmail.com</email>
// <date>05-01-2012</date>
// <project>Cimbalino.Phone.Toolkit.Background</project>
using System;
using System.Collections.Generic;
using System.Linq;
namespace Cimbalino.Phone.Toolkit.Extensions
{
<summary>
Provides a set of static (Shared ... |
## ortho-poly Change Log
All notable changes to this project will be documented in this file.
[Unreleased][unreleased]
- ...
[v1.0.0] - 2016-01-01
- ...
[unreleased]: https://github.com/andylbrummer/ortho-poly/compare/v1.0.0...HEAD
[v0.0.1]: https://github.com/andylbrummer/ortho-poly/compare/v0.0.0...v1.0.0 |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
class <API key> extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('people', function(Blueprint $table)
{
$table->... |
#pragma once
#include <QAbstractItemModel>
#include <memory>
class ProfFile;
class ProfTreeItem;
class ProfTreeModel : public QAbstractItemModel {
public:
ProfTreeModel(const std::shared_ptr<ProfFile>& ctx);
virtual ~ProfTreeModel();
QVariant data(const QModelIndex& index, int role) const override;
Qt::... |
body {
padding-top: 40px;
padding-bottom: 40px;
background-color: #eee;
}
.loading{
top: 0;
bottom: 0;
position: fixed;
z-index: 99000;
background: #000000;
width: 100%;
height:100%;
opacity: 0.4;
}
.loading img{
background: #000000;
margin: 300px auto 0 auto;
display: ... |
package icarus
import (
"encoding/json"
"fmt"
"time"
)
type NoSuchPagesError struct {
msg string
Slugs []string
}
func (e *NoSuchPagesError) Error() string {
return e.msg
}
// Retrieve a list of slugs from Redis.
func PagesFromRedis(slugs []string) ([]*Page, error) {
pages := make([]*Page,... |
<?php
namespace Nfq\NomNomBundle\Form\Type;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\<API key>;
class AddUsersToEventType extends AbstractType
{
/**
* Returns the name of this type.
*
* @return string The name of this type
*/
public function getName()
{
... |
<?php
// Get the PHP helper library from twilio.com/docs/php/install
require_once('/path/to/twilio-php/Services/Twilio.php'); // Loads the library
// Your Account Sid and Auth Token from twilio.com/user/account
$sid = "<API key>";
$token = "your_auth_token";
$client = new Services_Twilio($sid, $token);
// Get an object... |
#!/usr/bin/env bash
# -e: exit when a command fails
# -o pipefail: set exit status of shell script to last nonzero exit code, if any were nonzero.
set -o pipefail
echo ""
echo "Running Tests in Docker Container"
echo "================================="
docker build -t swiftybeaver .
docker run -e SBPLATFORM_APP_ID=$SBP... |
-*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: t -*-
\file subject.cpp
\author Martin Reddy
\brief The subject of an observer relationship.
Copyright (c) 2010, Martin Reddy. All rights reserved.
Distributed under the X11/MIT License. See LICENSE.txt.
See http://APIBook.com/ for the latest version.
#include "... |
#include <muduo/net/EventLoop.h>
#include <muduo/net/EventLoopThread.h>
#include <stdio.h>
using namespace muduo;
using namespace muduo::net;
void runInThread()
{
printf("runInThread(): pid = %d, tid = %d\n",
getpid(), CurrentThread::tid());
}
int main()
{
printf("main(): pid = %d, tid = %d\n",
ge... |
.width-1{width: 1%;}.width-2{width: 2%;}.width-3{width: 3%;}.width-4{width: 4%;}.width-5{width: 5%;}.width-6{width: 6%;}
.width-7{width: 7%;}.width-8{width: 8%;}.width-9{width: 9%;}.width-10{width: 10%;}.width-11{width: 11%;}.width-12{width: 12%;}
.width-13{width: 13%;}.width-14{width: 14%;}.width-15{width: 15%;}.width... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace KDCLLC.Web.Models.Data
{
public class SalesOrder : IObjectWithState
{
public SalesOrder()
{
SalesOrderItems = new List<SalesOrderItem>();
}
pu... |
//Multiple definition prevention
#ifndef <API key>
#define <API key>
//Includes
//Pre-defined structures
struct list;
struct listnode;
//Define these structures
struct listnode
{
wchar_t key[96];
void * value;
listnode *next;
listnode *prev;
listnode *hash_next; // if more nodes share the same hash ... |
<?php
$page->title('ND People Directory')
->navbar_image('title-people')
->breadcrumbs('People Directory')
->breadcrumb_home();
$page->content_begin();
?>
<div class="nonfocal">
<form method="get" action="">
<fieldset class="inputcombo emphasized">
<input class="fo... |
insert into student
values(10001, 'Ranga', 'xyz', 'user1');
insert into student
values(10002, 'George', '123456', 'user2'); |
CSSSVG
## BACKGROUND-CLIP
`background-clip`
`font-smoothing` `text-fill-color: transparent`
css
@import "compass/css3";
html, body {
height: 100%;
background-color: #f1503f;
}
h1 {
position: relative;
top: 50%;
-webkit-transform: translateY(-50%);
-ms-transform: translateY(-50%);
transform: translateY(... |
/* eslint-disable global-require */
// polyfills and vendors
if (!window._babelPolyfill) {
require('babel-polyfill')
} |
package org.blockartistry.mod.ThermalRecycling.support.recipe.accessor;
import java.util.List;
import forestry.api.recipes.IFabricatorRecipe;
import net.minecraft.item.ItemStack;
public class <API key> extends RecipeAccessorBase {
@Override
public ItemStack getInput(final Object recipe) {
final IFabrica... |
import json
import logging
from foxglove import glove
from httpx import Response
from .settings import Settings
logger = logging.getLogger('ext')
def lenient_json(v):
if isinstance(v, (str, bytes)):
try:
return json.loads(v)
except (ValueError, TypeError):
pass
return v
c... |
#include "asserts.hpp"
#include "css_parser.hpp"
#include "css_properties.hpp"
#include "unit_test.hpp"
namespace css
{
namespace
{
// rules
class AtRule : public Token
{
public:
AtRule(const std::string& name) : Token(TokenId::AT_RULE_TOKEN), name_(name) {}
... |
package com.highmaps.config
import scalajs.js, js.`|`
import com.highcharts.CleanJsObject
import com.highcharts.HighchartsUtils._
/**
* @note JavaScript name: <code><API key></code>
*/
@js.annotation.ScalaJSDefined
class <API key> extends com.highcharts.<API key> {
val duration: js.UndefOr[Double] = js.undefined
... |
package org.udger.parser;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.fail;
import java.io.IOException;
import java.net.URL;
import java.net.<API key>;
import java.sql.SQLException;
import java.util.concurrent.<API key>;
import java.util.concurrent.CyclicBarrier;
import org.junit.After;
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.