answer stringlengths 15 1.25M |
|---|
<?php
namespace Yadakhov;
use mikehaertl\shellcommand\Command;
/**
* A simple wrapper class for Tor
* @package Yadakhov
*/
class Tor
{
public function __construct()
{
if (!$this->isRunning()) {
$this->command('start');
}
}
/**
* Execute tor command
*
* @para... |
module.exports = function(knex) {
describe('Transactions', function() {
it('should be able to commit transactions', function(ok) {
var id = null;
return knex.transaction(function(t) {
knex('accounts')
.transacting(t)
.returning('id')
.insert({
first_na... |
<?php
namespace PhpParser\Node\Scalar;
use PhpParser\Node\Scalar;
/**
* @property array $parts Encaps list
*/
class Encapsed extends Scalar {
/**
* Constructs an encapsed string node.
*
* @param array $parts Encaps list
* @param array $attributes Additional attributes
*/
public f... |
// Source file for alignment utility functions
// Include files
#include "R3Shapes.h"
// Namespace
namespace gaps {
R3Box
R3BoundingBox(const RNArray<R3Point *>& points)
{
// Compute bounding box
R3Box bbox = R3null_box;
for (int i = 0; i < points.NEntries(); i++) {
bbox.Union(*points[i]);
}
// Return bou... |
#include <policy/feerate.h>
#include <tinyformat.h>
const std::string CURRENCY_UNIT = "UFO";
CFeeRate::CFeeRate(const CAmount& nFeePaid, size_t nBytes_)
{
assert(nBytes_ <= uint64_t(std::numeric_limits<int64_t>::max()));
int64_t nSize = int64_t(nBytes_);
if (nSize > 0)
nSatoshisPerK = nFeePaid * 100... |
var util = require("util");
var choreography = require("temboo/core/choreography");
/*
CreateDeployment
Create a RightScale Deployment.
*/
var CreateDeployment = function(session) {
/*
Create a new instance of the CreateDeployment Choreo. A TembooSession object, containing a valid
set of Tem... |
package org.graylog2.plugin.httpmonitor;
import org.graylog2.plugin.PluginConfigBean;
import org.graylog2.plugin.PluginModule;
import java.util.Collections;
import java.util.Set;
/**
* Extend the PluginModule abstract class here to add you plugin to the system.
*/
public class <API key> extends PluginModule {
/**... |
var path = require('path');
var webpack = require('webpack');
var _ = require('lodash');
var baseConfig = require('./base');
// Add needed plugins here
var BowerWebpackPlugin = require('<API key>');
var config = _.merge({
entry: [
'webpack-dev-server/client?http://127.0.0.1:8000',
'webpack/hot/only-dev-server... |
/*eslint-env mocha*/
'use strict';
var assert = require('assert');
var fs = require('fs');
var run = require('./fixture/run');
var sandbox = require('./fixture/sandbox');
describe('node', function () {
it('passes', function (done) {
run('passes', ['--node', '-R', 'tap'], function (code, stdout) {
assert.equ... |
#include "omnicoinamountfield.h"
#include "omnicoinunits.h"
#include "guiconstants.h"
#include "qvaluecombobox.h"
#include <QApplication>
#include <QAbstractSpinBox>
#include <QHBoxLayout>
#include <QKeyEvent>
#include <QLineEdit>
/** QSpinBox that uses fixed-point numbers internally and uses our own
* formatting/pars... |
var http = require('http')
var https = require('https')
var corsify = require('corsify')
var collect = require('stream-collector')
var pump = require('pump')
var iterate = require('random-iterate')
var limiter = require('size-limit-stream')
var eos = require('end-of-stream')
var flushHeaders = function (res) {
if (re... |
<?php
include("../partials/header.php");
include("../inc/database.php");
include("controller.php");
if (strlen($_SERVER["QUERY_STRING"])>0){
$result_response = process_request($_GET["length"],$_GET["width"],$_GET["rent_type"]);
//make this a hash so you can access the values with a string
... |
# calendar.py
> A small (and personal) script for managing a Markdown calendar via terminal and Chrome.
You might be wondering "why this, what's this crap?"
Since I use my laptop a **lot** and my phone is just for calls and texting I
developed this very basic script for my needs.
## Requirements
Sorry if it's too restr... |
body {
padding-top:50px;
padding-bottom: 40px;
margin-left:200px;
-webkit-transition: margin 500ms ease;
-moz-transition: margin 500ms ease;
-ms-transition: margin 500ms ease;
-o-transition: margin 500ms ease;
transition: margin 500ms ease;
font-family: "Helvetica Neue",Helvetica,Ari... |
'use strict';
module.exports = function(app) {
var users = require('../../app/controllers/users');
var centers = require('../../app/controllers/centers');
// Centers Routes
app.route('/centers')
.get(centers.list)
app.route('/centers')
.get(centers.create)
app.route('/cen... |
# encoding: utf-8
require "mongoid/criterion/complex"
require "mongoid/criterion/exclusion"
require "mongoid/criterion/inclusion"
require "mongoid/criterion/optional"
module Mongoid #:nodoc:
# The +Criteria+ class is the core object needed in Mongoid to retrieve
# objects from the database. It is a DSL that essenti... |
// TorqueLab ->
$<API key> = false;
$<API key> = false;
$<API key> = false;
/*
virtual void GuiInspector::addInspect ( (id object,(bool autoSync=true)) ) [virtual]
Add the object to the list of objects being inspected.
virtual void GuiInspector::apply ( ) [virtual]
apply() - Force appl... |
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http:
<html xmlns="http:
<head>
<title>ActionController::Instrumentation::ClassMethods</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" href="../../.... |
FROM tutum/nginx
RUN rm /etc/nginx/sites-enabled/default
RUN mkdir /etc/nginx/ssl
ADD sites-enabled/ /etc/nginx/sites-enabled |
<p>
comp-2615 works!
</p> |
// Generated by class-dump 3.5 (64 bit).
#import "CDStructures.h"
#import <IDEFoundation/IDEArchivedContent.h>
@class DVTFilePath;
@interface <API key> : IDEArchivedContent
{
}
+ (id)<API key>;
+ (id)<API key>;
+ (id)<API key>;
+ (BOOL)fillInfoDictionary:(id)arg1 forContentAtPath:(id)arg2 <API key>:(id)arg3;
+ (id)... |
html
{
height:100%;
}
body
{
margin: 0;
padding: 0;
font-family: Helvetica, sans-serif;
color: #555555;
}
#main
{
border: none;
}
h1,
h2
{
color: #97316e;
font-weight: normal;
}
h1
{
font-size: 40px;
}
h2
{
font-size: 20px;
}
a
{
text-decoration: none;
color: #97316e;
}
#content ul li
{
paddin... |
(function(){$(document).ready(function(){$(".joindin").each(function(){var e=$(this);var t=e.attr("href");var n=parseInt(t.substr(t.lastIndexOf("/")+1));$.getJSON("https://api.joind.in/v2.1/talks/"+n+"?callback=?",function(t){var n=t.talks[0].average_rating;if(n>0){e.after(' <img src="/images/ji-ratings/rating-'+n+'.gi... |
{% extends base.html %}
{% block content%}
<p id="error">oops, you got 404'ed</p>
{% endblock %} |
class ImageUploader < CarrierWave::Uploader::Base
include CarrierWave::RMagick
def store_dir
"vanzeiro/uploads/#{model.class.to_s.underscore}/#{mounted_as}/#{model.id}"
end
version :thumb do
process resize_to_fill: [69, 69]
end
version :thumb2x do
process resize_to_fill: [312, 312]
end
def e... |
#include "./include/calc.h"
#include "./include/my_functs.h"
int next_token_index = 0;
int term_helper(int factor_1, char **tokens,
int factor_2, char *next_token)
{
int term;
term = factor_1;
while (next_token != NULL && (*next_token == '*'
|| *next_token == '/' || *next_to... |
package io.picopalette.apps.event_me.Utils;
import android.annotation.SuppressLint;
import android.content.Context;
import android.support.design.widget.CoordinatorLayout;
import android.support.v7.widget.Toolbar;
import android.util.AttributeSet;
import android.view.View;
import com.facebook.drawee.view.SimpleDraweeVi... |
require "rubygems"
require "bundler/setup"
require "mini_magick"
require "sample_file/version"
require "sample_file/base"
require "sample_file/image"
require "sample_file/video"
module SampleFile
class << self
def image(type='png', opts={})
Image.new(type, opts).file
end
def image_path(type='png', o... |
<?php
namespace JoshP\MainBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
use FOS\UserBundle\Model\User as BaseUser;
/**
* User
*
* @ORM\Table()
* @ORM\Entity(repositoryClass="JoshP\MainBundle\Entity\UserRepository")
*/
class User extends BaseUser
{
/**
* @var integer
*
* @ORM\Column(name="id", ... |
key: PANM16
slug: SST-CSharp-dataset
type: conference
title: "A Dataset of Simplified Syntax Trees for C
authors:
- proksch
- amann
- nadi
- mezini
published_in: "Proceedings of the 13th International Conference on Mining Software Repositories"
series: "MSR 2016"
year: 2016
doi: 10.1145/2901739.2903507
abstract... |
.hidden {display: none;}
.<API key>, .<API key>, .<API key> {
border: 1px dotted #666;
padding: 0 3px; padding-right: 20px;
background-image: url(../images/pencil.png);
background-position: top right;
background-repeat: no-repeat;
}
.inplaceeditor-form input, .inplaceeditor-form textarea,
table.new-... |
const path = require('path')
const merge = require('webpack-merge')
const webpack = require('webpack')
const baseWebpackConfig = require('./webpack.base.config')
const ExtractTextPlugin = require("<API key>")
const OptimizeCSSPlugin = require('<API key>')
function resolve (dir) {
return path.join(__dirname, '..', dir... |
#include "db.hpp"
#include <sstream>
#include <utility>
#include <cassert>
#include <boost/foreach.hpp>
// Use shortcut from example
#define foreach BOOST_FOREACH
// Deprecated features not wanted
#define <API key>
#include <boost/filesystem.hpp>
// Use a shortcut
namespace fs = boost::filesystem;
DB::DB(Print* print)... |
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE OverloadedStrings #-}
-- | The GhostLang.Node.Flow module is implementing the Flows -
-- business logic - for the Node.
module GhostLang.Node.Flow
( getHttpConfig
, setHttpConfig
, listPrograms
, <API key>
, runNamedPattern
, runRandomPattern
,... |
use strict;
use Data::Dumper;
use Carp;
# This is a SAS Component
=head1 NAME
<API key>
=head1 SYNOPSIS
<API key> [-c N] [-a] [--fields field-list] < ids > table.with.fields.added
=head1 DESCRIPTION
This relationship connects a subsystem spreadsheet cell to the features
that occur in it. A feature may occur in many mac... |
<!-- Page Content -->
<div id="<API key>">
<div class="container-fluid">
<div class="row">
<div style="margin:0px auto; width:70%; line-height:26px; overflow:hidden;">
<div class="col-md-12">
<div class="page-header">
<h1 class="text-danger">
... |
#pragma once
#ifdef SWIGJAVA
class IsrCallback
{
public:
virtual ~IsrCallback()
{
}
virtual void run()
{ /* empty, overloaded in Java*/
}
private:
};
static void <API key> (void* data)
{
IsrCallback* callback = (IsrCallback*) data;
callback->run();
}
#endif |
# #552 Freeform Popsicle Airways
aka Aircraft Navigation Lights!
Demonstrating a simple aircraft navigation beacon sequence implemented with a couple of 555 timers.

Here's a quick demo..
[ ? $search['username'] : ''?>" name="username" class="input-txt w100" style="">
<input type="text" value="<?=!empty($search['realname']) ? $search['realname'] : '... |
require 'spec_helper'
module Donaghy
module Middleware
describe Stats do
let(:manager) { man = mock(:manager, name: "test_mock_manager"); man.stub_chain(:async, :<API key>).and_return(true); man }
let(:event_handler) { EventHandler.new(manager) }
let(:event) do
Event.from_hash({
... |
export default {
html: `
<p>42</p>
<p>42</p>
`,
async test({ assert, component, target }) {
await component.updateStore(undefined);
assert.htmlEqual(target.innerHTML, '<p>undefined</p><p>42</p>');
await component.updateStore(33);
assert.htmlEqual(target.innerH... |
// extglyde
// Glyde Glue Plugin
var ExtGlyde = {
GLUE_STOP_ACTION: -200,
plane: null, // Canvas
resources: null,
styles: null,
buttons: null,
keys: null,
button_sequence: [],
timers: null,
timer_manager: null,
action: "",
action_params: "",
resume_label: "... |
#!/usr/bin/perl
use warnings;
use strict;
use Data::Dumper;
use GD::Graph::lines;
my $request_fields = ["id", "us", "sy", "wa"];
my $fields = {
r => 0,
b => 1,
swpd => 2,
free => 3,
buff => 4,
cache => 5,
si => 6,
so => 7,
bi => 8,
bo =>... |
package com.blinkboxbooks.android.authentication;
import android.accounts.<API key>;
import android.accounts.Account;
import android.accounts.Account<API key>;
import android.accounts.AccountManager;
import android.accounts.<API key>;
import android.content.Context;
import android.content.Intent;
import android.os.Bund... |
using Heisenslaught.Infrastructure.MongoDb;
using System.Collections.Generic;
namespace Heisenslaught.Draft
{
public interface IDraftStore : ICrudMongoStore<string, DraftModel>
{
DraftModel FindByDraftToken(string draftToken);
List<DraftModel> FindByUserId(string userId);
}
} |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>hammer-tactics: Not compatible </title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.mi... |
import React from 'react';
import { <API key>, Router, Route } from 'dva/router';
import { useScroll } from 'react-router-scroll';
import App from '@/app/App';
function RouterConfig({ history }) {
return (
<Router history={history} render={<API key>(useScroll())}>
<Route path="/" component={App}></Route>
... |
import React, { Component, PropTypes } from 'react';
import { Image } from 'react-bootstrap';
require('./styles.scss');
class SocialBar extends Component {
constructor(props) {
super(props);
}
render() {
const { icon, url } = this.props;
return (
<a href={url} target="_blank">
<Ima... |
package org.spongycastle.pqc.jcajce.provider.test;
import java.security.KeyPairGenerator;
import java.security.spec.<API key>;
import javax.crypto.Cipher;
import org.spongycastle.pqc.jcajce.spec.<API key>;
public class <API key>
extends <API key>
{
protected void setUp()
{
super.setUp();
try... |
<!doctype html>
<html>
<head>
<title></title>
<meta charset="utf-8">
<meta name="keywords" content=",,,O2O,,,020,O2O," />
<meta name="description" content="-" />
<link rel="icon" href="favicon.ico" type="image/x-icon" />
<link rel="bookmark" href="favicon.ico" type="i... |
from django import forms
from django.core.validators import validate_email
from django.db.models import Q
from django.utils.translation import ugettext_lazy as _
from .utils import get_user_model
class <API key>(forms.Form):
username_or_email = forms.CharField()
error_messages = {
'not_found': _("Sorry,... |
'use strict';
describe('heroList', function(){
//Load module that contains the heroList component
beforeEach(module('heroList'));
describe('HeroListController', function(){
it('should create a `heroes` model with 6 heroes', inject(function($componentController){
var ctrl = $componentControll... |
// to be used if new modules are added to MSF.
Mamoru.Sync.allModules = function(){
var moduleFixtures = {
exploit: 'module.exploits',
post: 'module.post',
auxiliary: 'module.auxiliary',
payload: 'module.payloads',
encoder: 'module.encoders',
nop: 'module.nops',
}... |
<?php
namespace Ds\Component\System\Query;
/**
* Class TenantParameters
*
* @package Ds\Component\System
*/
class TenantParameters implements Parameters
{
use Base;
} |
require 'childprocess'
require 'tempfile'
require 'shellwords'
require 'aruba/errors'
require 'aruba/processes/basic_process'
require 'aruba/platform'
# Aruba
module Aruba
# Platforms
module Processes
# Spawn a process for command
# `SpawnProcess` is not meant for direct use - `SpawnProcess.new` - by
# ... |
<!DOCTYPE html>
<html>
<head>
<style>
#textbox {
margin: 50px;
}
#range {
margin: 50px;
}
#youtubeScroller {
width: 500px;
height: 500px;
overflow: auto;
border: 1px solid black;
}
.divScroller {
width: 200px;
... |
package com.github.scaronthesky.eternalwinterwars.view.entities;
public interface IMeasureableEntity {
public float getWidth();
public float getHeight();
} |
<?php
/* @var $this DemoController */
/* @var $model Demo */
$this->breadcrumbs=array(
'Demos'=>array('index'),
$model->title=>array('view','id'=>$model->id),
'Update',
);
$this->menu=array(
array('label'=>'List Demo', 'url'=>array('index')),
array('label'=>'Create Demo', 'url'=>array('create')),
... |
<?php namespace Philsquare\LaraManager\Http\Controllers;
use Illuminate\Http\Request;
use Philsquare\LaraManager\Http\Requests\<API key>;
use Philsquare\LaraManager\Http\Requests\<API key>;
use Philsquare\LaraManager\Models\Redirect;
class RedirectsController extends Controller {
protected $redirect;
public fun... |
#!/bin/bash
# check if zsh is installed
if [ -f /bin/zsh -o -f /usr/bin/zsh ]; then
# check if oh-my-zsh is installed
if [[ ! -d $HOME/.oh-my-zsh/ ]]; then
ZSH=~/.oh-my-zsh
print_info "downloading oh-my-zsh"
git clone https://github.com/robbyrussell/oh-my-zsh.git $ZSH
export ZSH=... |
When(/^I fill in the email details$/) do
fill_in "Subject", :with => "Petition email subject"
fill_in "Body", :with => "Petition email body"
end
Then(/^the petition should not have any emails$/) do
@petition.reload
expect(@petition.emails).to be_empty
end
Then(/^the petition should have the email details I prov... |
module PageObjectModel
require 'calabash-android/abase'
require_relative '../../../features/pages/actions/common_actions'
class Page < Calabash::ABase
include PageOperations
include UtilityObjects
include PageObjectModel::PageActions
def initialize(world, transition_duration = 0.5)
logger.de... |
using FluentNHibernate.Mapping;
using NHibernateCocoon.Tests.Entities;
namespace NHibernateCocoon.Tests.Maps
{
public class PlaylistTrackMap : ClassMap<PlaylistTrack>
{
public PlaylistTrackMap()
{
Table("PlaylistTrack");
Id(x => x.PlaylistId);
Map(x => x.Track... |
package com.sun.source.util;
import com.sun.source.tree.CompilationUnitTree;
import javax.lang.model.element.TypeElement;
import javax.tools.JavaFileObject;
/**
* Provides details about work that has been done by the Sun Java Compiler, javac.
*
* @author Jonathan Gibbons
* @since 1.6
*/
public final class TaskEven... |
document.getElementById('input_search').onfocus = function () {
document.getElementById('search').classList.add('activeSearch');
};
document.getElementById('input_search').onblur = function () {
document.getElementById('search').classList.remove('activeSearch');
};
try {
window.$ = window.jQuery = require('... |
// resourceBase.cc
#include "Pre.h"
#include "resourceBase.h"
namespace Oryol {
namespace _priv {
void
shaderBase::Clear() {
this->Setup = ShaderSetup();
}
void
textureBase::Clear() {
this->Setup = TextureSetup();
this->textureAttrs = TextureAttrs();
}
void
meshBase::Clear() {
this->Setup = MeshSetup()... |
<!DOCTYPE HTML PUBLIC "-
<!--NewPage
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_33) on Wed Aug 27 10:24:28 CEST 2014 -->
<TITLE>
Uses of Class com.gsma.android.oneapi.discovery.<API key>
</TITLE>
<META NAME="date" CONTENT="2014-08-27">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../stylesheet... |
<div id="content">
<div id="extra"></div>
<div id="main">
<form action="/posts" id="live_form" method="post" class="pagina">
<div>
<label for="post_title">Title</label>
<input id="post_title" name="post[title]" type="text" value="">
</div>
<div>
<input id="post_submit" ... |
namespace Jot
{
public enum <API key>
{
NotBeforeFailed,
TokenExpired,
<API key>,
SignatureNotValid,
<API key>,
OnJtiValidateFailed,
CustomCheckFailed,
<API key>,
Passed
}
} |
# Matt Szabo's portfolio
This is my portfolio, which is written using **react** components. It's hosted on an Amazon EC2 server using node.js: http://ec2-54-206-69-241.ap-southeast-2.compute.amazonaws.com:3300/
The webpage is a single page app written with a mobile first approach. It is also my first attempt at a full ... |
use nom::branch::alt;
use nom::bytes::complete::{is_a, is_not, tag, take};
use nom::character::complete::{anychar, digit1, one_of};
use nom::combinator::{map, map_res, opt, value};
use nom::multi::{count, many0, separated_list0};
use nom::sequence::{delimited, preceded, separated_pair, terminated, tuple};
use nom::*;
u... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http:
<html xmlns="http:
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Using IPython for interactive work — IPython v0.10.1 documentation</title>
<link rel="stylesheet" href="../_static/default.cs... |
.profile_edit_form{
margin-left: 50px;
}
.profile_edit_form .<API key>,
.profile_edit_form .<API key>{
float: left;
width: 50%;
padding-bottom: 5px;
}
.profile_edit_form .label_text{
float: left;
font-weight: bold;
width: 120px;
}
.<API key>,
.<API key>,
.<API key>{
overflow: hidden;
... |
# AixLog
Header-only C++ logging library
[
var (
port = flag.Int("port", 8083, "port of the http server")
mountPoint = flag.String("mo... |
<!DOCTYPE html PUBLIC "-
<html lang='en' xml:lang='en' xmlns='http:
<style type='text/css'>body { background-color: rgb(240, 240, 245); }</style>
<style type='text/css'>span.cross-ref-title {
font-size: 140%;
}
span.cross-ref a {
text-decoration: none;
}
span.cross-ref {
background-color:#f3f7fa;
border: 1p... |
/// <reference path="lib/jquery-2.0.3.js" />
define(["httpRequester"], function (httpRequester) {
function getStudents() {
var url = this.url + "api/students/";
return httpRequester.getJSON(url);
}
function getMarksByStudentId(studentId) {
var url = this.url + "api/students/" + stude... |
package apns
import (
"errors"
"github.com/cosminrentea/gobbler/server/connector"
"github.com/jpillora/backoff"
"github.com/sideshow/apns2"
"net"
"time"
)
const (
// deviceIDKey is the key name set on the route params to identify the application
deviceIDKey = "device_token"
userIDKey... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace <API key>
{
class Program
{
static void Main(string[] args)
{
int hour = int.Parse(Console.ReadLine());
int min = int.Parse(Console.ReadLine());
... |
#include "<API key>.h"
#include "DataStructures/BigInt.h"
#include "Common/NumberUtilitiesBase.h"
#include "Common/NumberUtilities.h"
namespace Js
{
BigInt & BigInt::operator= (BigInt &bi)
{
AssertMsg(false, "can't assign BigInts");
return *this;
}
#if DBG
void BigInt::AssertValid(bool f... |
package com.raoulvdberge.refinedstorage.block.enums;
import net.minecraft.util.IStringSerializable;
public enum ControllerType implements IStringSerializable {
NORMAL(0, "normal"),
CREATIVE(1, "creative");
private int id;
private String name;
ControllerType(int id, String name) {
this.id = i... |
require 'spec_helper'
describe Fulcrum::Client do
let(:client) { Fulcrum::Client.new }
it 'has a default url' do
expect(client.url).to eq(Fulcrum::Client::DEFAULT_URL)
end
it 'can query' do
url = "#{client.url}/query"
response = 'audio,system,,,,,'
stub_request(:post, url)
.with(body: '{"q... |
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>CodePen - A Pen by jcutrell</title>
<link rel="stylesheet" href="css/reset.css">
<link rel="stylesheet" href="css/style.css" media="screen" type="text/css" />
</head>
<body>
<div class="row">
<div class="col col-1-3 blue"></div>
<div class=... |
/**
* WhatsApp service provider
*/
module.exports = {
popupUrl: 'whatsapp://send?text={title}%0A{url}',
popupWidth: 600,
popupHeight: 450
}; |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="rustdoc">
<meta name="description" content="API documentation for the Rust `vec` mod in crate `std`.">
<meta name="keywords" content="... |
<div class='panel panel-default olx-panel'>
<div class='panel-heading'>
<h3 class='panel-title glyphicon glyphicon-fire'> </h3>
</div>
<div class='panel-body'>
<ul class='list-group'>
#foreach($doc in $!{data.view_count})<li class='list-group-item'>
<span cl... |
--[[ hybrid_scene.lua
A combination of two scenes with two different rendering
techniques and a font renderer to label each type of object.
All rendering code is owned by the respective scene types and
is simply invoked from this module.
]]
hybrid_scene = {}
local sts = require("scene.shadertoy_scene2")... |
#ifndef <API key>
#define <API key>
#if (defined _MSC_VER) && (_MSC_VER >= 1200)
# pragma once
#endif
#include <lslboost/interprocess/detail/config_begin.hpp>
#include <lslboost/container/flat_set.hpp>
#include <lslboost/interprocess/containers/containers_fwd.hpp>
namespace lslboost {
namespace interprocess {
using ls... |
table {
overflow: auto;
border: 1px solid #313131;
width: 100%; }
@media only screen and (min-width: 1441px) {
table {
max-width: 1100px; } }
@media only screen and (min-width: 1701px) {
table {
max-width: 1150px; } }
@media only screen and (min-width: 1921px) {
table {
max-wid... |
package openomr.omr_engine;
import java.awt.image.BufferedImage;
/**
* The <code> XProjection </code> class will calculate the X-Projection of an image. The constructor
* is given a <code> BufferedImage </code> and then the <code> calcXProjection </method> is invoked
* to calculate the X-Projection of the <code> Buf... |
package com.microsoft.azure.management.eventgrid.v2020_04_01_preview;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeName;
/**
* <API key> Advanced Filter.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include ... |
#pragma warning disable 1591
// <auto-generated>
// :4.0.30319.42000
// </auto-generated>
namespace X.Data
{
using System.Data.Linq;
using System.Data.Linq.Mapping;
using System.Data;
using System.Collections.Generic;
using System.Reflection;
using System.Linq;
using System.Linq.Expressi... |
package derpstream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.util.PriorityQueue;
import java.util.TimerTask;
import java.util.concurrent.LinkedBlockingDeque;
import java.util.logging.Level;
import java.util.logging.Logger;
/**
*
* @author Mads
*/
public final class ChunkInfo extends T... |
using System;
using System.ComponentModel.DataAnnotations;
namespace Piranha.Models
{
<summary>
String parameter.
</summary>
[Serializable]
public class Param
{
<summary>
Gets/sets the unique id.
</summary>
public Guid Id { get; set; }
<summary>
Ge... |
var path = require('path'),
HtmlReporter = require('<API key>');
exports.config = {
chromeDriver: 'node_modules/chromedriver/bin/chromedriver',
// Boolean. If true, Protractor will connect directly to the browser Drivers
// at the locations specified by chromeDriver and firefoxPath. Only Chrome
// a... |
#ifndef CPU_H
#define CPU_H
#include "Type.h"
#include "memory.h"
#include "stages.h"
class cpu_core
{
public:
cpu_core();
~cpu_core();
void run();
word PC = 0;
memory mem;
word reg[32];
IFS ifs;
IDS ids;
EXS exs;
MYS mys;
WBS wbs;
};
#endif /* CPU_H */ |
#!/bin/bash
# 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 su... |
import express = require("express");
import passport = require('passport');
import jwt = require('express-jwt');
import AuthController = require("../../controllers/AuthController");
import IUser = require('../../app/model/interfaces/IUser');
import User = require('../../app/model/User');
var router = express.Router();
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.