text stringlengths 3 1.05M |
|---|
package util
import (
"path/filepath"
libcontainercgroups "github.com/opencontainers/runc/libcontainer/cgroups"
libcontainerutils "github.com/opencontainers/runc/libcontainer/utils"
)
// Forked from opencontainers/runc/libcontainer/cgroup/fs.Manager.GetPids()
func GetPids(cgroupPath string) ([]int, error) {
di... |
FOUNDATION_EXPORT double AASegueVersionNumber;
FOUNDATION_EXPORT const unsigned char AASegueVersionString[];
|
package com.example;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.condition.DisabledIfEnvironmentVariable;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.autoconfigure.json.AutoConfigureJsonTesters;
import... |
package com.palantir.atlasdb.schema;
import com.google.common.base.Function;
import com.google.common.base.Functions;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.Multimap;
import com.palantir.atlasdb.schema.generated.UpgTaskMetadataTable.UpgTaskMetadataNamedColumnValue;
import com... |
import os
import subprocess
import logging as log
from shutil import copy2
from contextlib import contextmanager
@contextmanager
def pushd(newDir):
previousDir = os.getcwd()
os.chdir(newDir)
yield
os.chdir(previousDir)
def static_vars(**kwargs):
def decorate(func):
for k in kwargs:
... |
#afModalMask {
position:absolute;
top:0px;
left:0px;
width:100%;
height:100%;
background:transparent;
display:none;
z-index:9999;
}
#afSelectBoxContainer {
position:absolute;
display:block;
width:90%;
max-width:280px;
margin-right:auto;
min-height:100px;
background:#303030;
color:whi... |
require 'travis/support'
require 'travis/support/metrics'
require 'sinatra/base'
require 'rack/parser'
require 'multi_json'
require 'travis/guest-api/app/middleware/rewrite'
require 'travis/guest-api/app/middleware/logging'
require 'travis/guest-api/app/endpoint/steps'
require 'travis/guest-api/app/endpoint/logs'
requ... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>qcert: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" ... |
{-------------------------------------------------------------------------------
Copyright: The Hatchet Team (see file Contributors)
Module: DataConsAssump
Description: Computes the type assumptions of data
constructors i... |
extern crate def_colliding_external as dep1;
#[no_mangle]
pub static _rust_extern_with_linkage_collision: i32 = 0;
mod dep2 {
#[no_mangle]
pub static collision: usize = 0;
}
fn main() {
unsafe {
println!("{:p}", &dep1::collision);
}
}
|
<?xml version="1.0" encoding="utf-8" ?>
<TaoTest xmlns="http://microsoft.com/schemas/VSLanguages/TAO">
<InitTest>
<StartTarget />
<InteractiveWindow />
<Wait Seconds="5"/>
</InitTest>
<ScenarioList>
<Scenario Name="REPL - Type Class" Description="Type Class">
<StartMeasure ScenarioGroup="... |
(function(){
'use strict';
/**
* @ngdoc overview
* @name ui.grid.directive:uiGridOneBind
* @summary A group of directives that provide a one time bind to a dom element.
* @description A group of directives that provide a one time bind to a dom element.
* As one time bindings are not supported in Angu... |
var pv = require("bio-pv");
var viewer = pv.Viewer(document.getElementById('gl'),
{ quality : 'high', width: 'auto', height : 'auto',
antialias : true, outline : true});
var structure;
function lines() {
viewer.clear();
viewer.lines('structure', structure);
}
function cartoon() {
viewer.clear();
... |
from django.contrib import admin
import AC
admin.site.register(AC.models.AcControl)
|
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Text;
namespace Microsoft.CodeAnalysis.Editor
{
internal interface IB... |
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd"
defaul... |
package internal
import (
"math/rand"
"time"
)
type customEvents struct {
events *analyticsEvents
}
func newCustomEvents(max int) *customEvents {
return &customEvents{
events: newAnalyticsEvents(max),
}
}
func (cs *customEvents) Add(e *CustomEvent) {
stamp := eventStamp(rand.Float32())
cs.events.addEvent(a... |
export var canUseDOM = !!(typeof window !== 'undefined' && window.document && window.document.createElement);
export var addEventListener = function addEventListener(node, event, listener) {
return node.addEventListener ? node.addEventListener(event, listener, false) : node.attachEvent('on' + event, listener);
};
e... |
YUI.add('loader-base', function(Y) {
/**
* The YUI loader core
* @module loader
* @submodule loader-base
*/
if (!YUI.Env[Y.version]) {
(function() {
var VERSION = Y.version,
BUILD = '/build/',
ROOT = VERSION + BUILD,
CDN_BASE = Y.Env.base,
GALLERY_VERSI... |
/*! @file slu_zdefs.h
* \brief Header file for real operations
*
* <pre>
* -- SuperLU routine (version 4.1) --
* Univ. of California Berkeley, Xerox Palo Alto Research Center,
* and Lawrence Berkeley National Lab.
* November, 2010
*
* Global data structures used in LU factorization -
*
* nsuper: #sup... |
"use strict";
var error = require("./../../error");
var Util = require("./../../util");
var gitdata = module.exports = {
gitdata: {}
};
(function() {
/** section: github
* gitdata#getBlob(msg, callback) -> null
* - msg (Object): Object that contains the parameters and their values to be sen... |
using Microsoft.EntityFrameworkCore;
namespace Fortune_Teller_Service.Models
{
public class FortuneContext : DbContext
{
public FortuneContext(DbContextOptions<FortuneContext> options) :
base(options)
{
}
public DbSet<FortuneEntity> Fortunes { get; set; }
}
}
|
<?php
// Compatible with sf_escaping_strategy: true
$editable = isset($editable) ? $sf_data->getRaw('editable') : null;
$feed = isset($feed) ? $sf_data->getRaw('feed') : null;
$invalid = isset($invalid) ? $sf_data->getRaw('invalid') : null;
$name = isset($name) ? $sf_data->getRaw('name') : null;
$pageid = i... |
/*
* File stdnmtst.c
*
* Modification History:
*
* Date Name Description
* 08/05/2000 Yves Creation
******************************************************************************
*/
#include "unicode/ucnv.h"
#include "unicode/ustring.h"
#include "cstring.h"
#include "cintltst.h"
#define... |
#include "assets/image/imageload.h"
#include <stdint.h>
#include <string.h>
#include <stdlib.h>
enum tga_data_type
{
TGA_DATA_TYPE_NULL = 0, /* No image data included */
TGA_DATA_TYPE_CMAP = 1, /* Uncompressed, color-mapped images */
TGA_DATA_TYPE_RGB = 2, /* Uncompressed, true-color ima... |
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distri... |
/*eslint no-unused-vars: "off"*/
/*eslint no-redeclare: "off"*/
/*eslint no-empty: "off"*/
/*eslint strict: "off"*/
/*eslint no-mixed-operators: "off"*/
(function(_top) {
"use strict";
var _protected_code_ = function(_) {
var __oldtoString = (typeof _.prototype !== "undefined") ? (_.prototype.toString) : (func... |
import alphaBravo = require('alpha-bravo');
alphaBravo.returnAsString('abc');
alphaBravo.returnAsHTML('def');
|
namespace views {
class ScopedTestWidget {
public:
explicit ScopedTestWidget(internal::NativeWidgetPrivate* native_widget)
: native_widget_(native_widget) {
}
~ScopedTestWidget() {
// |CloseNow| deletes both |native_widget_| and its associated
// |Widget|.
native_widget_->GetWidget()->CloseNow... |
using System.Linq;
using LightBDD.Framework.Messaging;
using LightBDD.Framework.UnitTests.Messaging.Helpers;
using NUnit.Framework;
namespace LightBDD.Framework.UnitTests.Messaging
{
[TestFixture]
[FixtureLifeCycle(LifeCycle.InstancePerTestCase)]
public class MessageListener_GetMessages_tests
{
... |
class Client {
public:
Client(const std::string& server, const std::string& port);
~Client();
Client(const Client&) = delete;
Client& operator=(const Client&) = delete;
// Create a TCP socket and attempt to connect to server:port.
// The Connect()-Disconnect() sequence can be called repeatedly.
bool Co... |
#import "SecurityTokenServiceCredentials.h"
#import "SecurityTokenServiceAssumedRoleUser.h"
#import "SecurityTokenServiceResponse.h"
#import "SecurityTokenServicePackedPolicyTooLargeException.h"
#import "SecurityTokenServiceMalformedPolicyDocumentException.h"
/**
* Assume Role Result
*/
@interface SecurityToke... |
package controllers
import (
"net/http"
log "github.com/Sirupsen/logrus"
"github.com/gin-gonic/gin"
"github.com/soprasteria/intools-engine/connectors"
)
func ControllerGetConnectors(c *gin.Context) {
group := c.Param("group")
connectors := connectors.GetConnectors(group)
c.JSON(http.StatusOK, connectors)
}
f... |
module("utilities", { teardown: moduleTeardown });
function testAttr( doc ) {
expect( 9 );
var el;
if ( doc ) {
// XML
el = doc.createElement( "input" );
el.setAttribute( "type", "checkbox" );
} else {
// Set checked on creation by creating with a fragment
// See http://jsfiddle.net/8sVgA/1/show/light i... |
//
// APCParametersCoreDataCell.m
// APCAppCore
//
// Copyright (c) 2015, Apple Inc. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification,
// are permitted provided that the following conditions are met:
//
// 1. Redistributions of source code must retain ... |
<?php
Class Run extends CI_Model
{
function getTotalRuns(){
$this -> db -> from('run');
$query = $this -> db -> get();
return $query->num_rows();
}
function getAllRuns(){
$this -> db -> from('run');
$query = $this -> db -> get();
return $query->result_array();
}
function getAllRunsByOrder(){
$t... |
use std::collections::VecDeque;
use std::io::Read;
use std::io::Write;
use base::warn;
use base::AsRawDescriptor;
use base::RawDescriptor;
use data_model::DataInit;
use linux_input_sys::input_event;
use linux_input_sys::virtio_input_event;
use linux_input_sys::InputEventDecoder;
use super::constants::*;
use super::ev... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateLaralumEventUser extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('laralum_eve... |
package libcontainer
import (
"encoding/json"
"fmt"
"io/ioutil"
"os"
"os/exec"
"path/filepath"
"regexp"
"strconv"
"syscall"
"github.com/docker/docker/pkg/mount"
"github.com/opencontainers/runc/libcontainer/cgroups"
"github.com/opencontainers/runc/libcontainer/cgroups/fs"
"github.com/opencontainers/runc/l... |
package it.angelic.soulissclient.model.typicals;
import android.content.Context;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.LinearLayout;
import java.util.ArrayList;
import it.angelic.soulissclient.Constants;
import it.angelic.soulissclient.R;
import it.angelic.soulissc... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_31) on Mon Mar 23 00:08:23 UTC 2015 -->
<title>AbstractTransportTest (grpc-integration-testing 0.1.0-SNAPSHOT API)</title>
<meta name="date" co... |
<?php
class AnotherNewApplicationComponent extends CApplicationComponent {
private $_text='new';
public function getText()
{
return $this->_text;
}
public function setText($value)
{
return $this->_text=$value;
}
} |
package org.apache.camel.cdi.test;
import javax.enterprise.inject.Any;
import javax.enterprise.inject.Instance;
import javax.inject.Inject;
import org.apache.camel.CamelContext;
import org.apache.camel.cdi.CdiCamelExtension;
import org.jboss.arquillian.container.test.api.Deployment;
import org.jboss.arquil... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("07.... |
namespace JustOrderIt.Web.Areas.Administration.ViewModels.Roles
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using AutoMapper;
using Data.Models;
using Data.... |
(function(root, factory) {
if (typeof define === 'function' && define.amd) {
define(["angular","smooth-scrollbar"], factory);
} else if (typeof exports === 'object') {
module.exports = factory(require('angular'), require('smooth-scrollbar'));
} else {
root.undefined = factory(root.angular, root.Scrol... |
/* NOTE: This is an internal header file, included by other STL headers.
* You should not attempt to use it directly.
*/
#ifndef _STLP_INTERNAL_LIST_IMPL_H
#define _STLP_INTERNAL_LIST_IMPL_H
#ifndef _STLP_INTERNAL_ALGOBASE_H
# include <stl/_algobase.h>
#endif
#ifndef _STLP_INTERNAL_ALLOC_H
# include <stl/_al... |
package hudson.model;
import hudson.model.ItemGroupMixIn;
import hudson.model.View;
import hudson.model.ViewGroup;
import org.kohsuke.stapler.export.Exported;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.Iterator;
import java.util... |
/*jshint browser:true, jquery:true, unused:false, expr: true */
/*global console:false, alert:false */
!(function($) {
"use strict";
$.extend({
/*jshint supernew:true */
tablesorter: new function() {
var ts = this;
ts.version = "2.7.1";
ts.parsers = [];
ts.widgets = [];
ts.defaults = {
// ... |
package demo.handlers.server;
import javax.xml.ws.Endpoint;
public class Server {
protected Server() throws Exception {
System.out.println("Starting AddNumbers Server");
Object implementor = new AddNumbersImpl();
String address = "http://localhost:9000/handlers/AddNumbersService/AddNu... |
package com.bernard.beaconportal.activities;
public class schedule_edit {
private String band;
private String classes;
public schedule_edit(String band, String classes) {
super();
this.band = band;
this.classes = classes;
}
public String Band() {
return band;
}
public String Classes() {
return c... |
'use strict';
var grunt = require('grunt');
/*
======== A Handy Little Nodeunit Reference ========
https://github.com/caolan/nodeunit
Test methods:
test.expect(numAssertions)
test.done()
Test assertions:
test.ok(value, [message])
test.equal(actual, expected, [message])
test.notEqual(actua... |
<?php
/**
* @file
* Default simple view template to display a single comment.
*
* Rather than doing anything with this particular template, it is more
* efficient to use a variant of the comment.tpl.php based upon the view,
* which will be named comment-view-VIEWNAME.tpl.php. This isn't actually
* a views templ... |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Formatting.Rules;
using Microsoft.CodeAnalysis.Shared.Collections;
using Microsoft.CodeAnalysis.Te... |
struct kernel_symbol {
unsigned long value;
};
unsigned long loops_per_jiffy = (1<<12);
static const char __kstrtab_loops_per_jiffy[]
__attribute__((section("__ksymtab_strings"))) = "loops_per_jiffy";
static const struct kernel_symbol __ksymtab_loops_per_jiffy
__attribute__((__used__)) __attribute__((sect... |
namespace content {
OverscrollWindowDelegate::OverscrollWindowDelegate(
OverscrollControllerDelegate* delegate,
const gfx::Image& image)
: delegate_(delegate),
overscroll_mode_(OVERSCROLL_NONE),
delta_x_(0.f),
complete_threshold_ratio_(content::GetOverscrollConfig(
content::OVER... |
<?xml version="1.0"?>
<!--
Copyright (C) 2013-2014 TU Dortmund
This file is part of LearnLib, http://www.learnlib.de/.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/lice... |
const v_e = 2550 # rocket exhaust velocity [m/s]
const M = 250000 # rocket dry mass [kg]
function rocket_fuel(v)
m_fuel = 0
# Your code goes here!
return m_fuel
end
|
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Multiply-included message file, no traditonal include guard.
#include <string>
#include <vector>
#include "base/basictypes.h"
#include "base/strin... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>concurrency-system: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>iLAB - Sistema de Gerenciamento de Laboratórios</title>
<link rel="stylesheet" href="bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="bootstrap/css/bootstrap-responsive.min.css">
<link ... |
require "formula_installer"
require "development_tools"
module Homebrew
def reinstall
FormulaInstaller.prevent_build_flags unless DevelopmentTools.installed?
ARGV.resolved_formulae.each { |f| reinstall_formula(f) }
end
def reinstall_formula(f)
options = BuildOptions.new(Options.create(ARGV.flags_on... |
'use strict';
if (process.env.NODE_ENV !== "production") {
(function() {
'use strict';
// eslint-disable-next-line react-internal/prod-error-codes
throw new Error('This entry point is not yet supported outside of experimental channels');
})();
}
|
<?php defined('SYSPATH') or die('No direct script access.');
class Kodoc_Method_Param extends Kohana_Kodoc_Method_Param {}
|
struct yv12_buffer_config;
#ifdef __cplusplus
extern "C" {
#endif
void vp8_yv12_copy_frame_c(const struct yv12_buffer_config *src_ybc, struct yv12_buffer_config *dst_ybc);
#define vp8_yv12_copy_frame vp8_yv12_copy_frame_c
void vp8_yv12_extend_frame_borders_c(struct yv12_buffer_config *ybf);
#define vp8_yv12_extend_f... |
class Awwyeah < Linkbot::Plugin
def initialize
register :regex => /a+w+ y+e+a+h+/i
end
def on_message(message, matches)
"http://i.imgur.com/Y3Q0Z.png"
end
end
|
<application>
<component name="XDebuggerSettings">
<data-views />
<general />
<debuggers>
<debugger id="javascript">
<configuration>
<custom-object-presentation />
</configuration>
</debugger>
</debuggers>
</component>
</application> |
<html>
FAIL: This page shouldn't load via HTTP redirect to file:
</html>
|
test( "creditcard", function() {
var method = methodTest( "creditcard" );
ok( method( "4111-1111-1111-1111" ), "Valid creditcard number" );
ok( method( "4111 1111 1111 1111" ), "Valid creditcard number" );
ok( !method( "41111" ), "Invalid creditcard number" );
ok( !method( "asdf" ), "Invalid creditcard number" );
... |
/**
* Ajax Autocomplete for jQuery, version %version%
* (c) 2017 Tomas Kirda
*
* Ajax Autocomplete for jQuery is freely distributable under the terms of an MIT-style license.
* For details, see the web site: https://github.com/devbridge/jQuery-Autocomplete
*/
/*jslint browser: true, white: true, single: true, thi... |
CKEDITOR.plugins.setLang( 'templates', 'lv', {
button: 'Sagataves',
emptyListMsg: '(Nav norādītas sagataves)',
insertOption: 'Aizvietot pašreizējo saturu',
options: 'Sagataves uzstādījumi',
selectPromptMsg: 'Lūdzu, norādiet sagatavi, ko atvērt editorā<br>(patreizējie dati tiks zaudēti):',
title: 'Satura sagatav... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (9-Debian) on Thu Sep 28 23:12:20 GMT 2017 -->
<title>Deprecated List (Dollar 0.4.5195 API)</title>
<meta http-equiv="Content-Type" content="text/html... |
require 'date'
require File.expand_path('../../../spec_helper', __FILE__)
describe "Date#jd" do
it "should be able to construct a Date object based on the Julian day" do
Date.jd(2454482).should == Date.civil(2008, 1, 16)
end
it "should be able to determine the Julian day for a Date object" do
Date.civ... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" con... |
<div class="relise-page">
<?php if (Session::instance()->get_once('add_relise') == '1'): ?>
<div class="alert alert-success">
Релизы обновлены
</div>
<?php elseif (Session::instance()->get_once('add_relise') == '0'): ?>
<div class="alert alert-error">
Ошибка добав... |
<?xml version="1.0" encoding="UTF-8"?>
<sbml xmlns="http://www.sbml.org/sbml/level2/version4" level="2" version="4">
<model>
<listOfInitialAssignments>
<initialAssignment symbol="x"/>
</listOfInitialAssignments>
</model>
</sbml>
|
<!DOCTYPE html>
<!--
Copyright (c) 2014 Intel Corporation.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Redistributions of works must retain the original copyright notice, this lis
of conditions and the following dis... |
class ValueStore;
namespace extensions {
class StorageFrontend;
// Utilities for extension settings API tests.
namespace settings_test_util {
// Creates a kilobyte of data.
scoped_ptr<base::Value> CreateKilobyte();
// Creates a megabyte of data.
scoped_ptr<base::Value> CreateMegabyte();
// Synchronously gets the s... |
<?php
namespace Azera\Entity\Entity;
use Azera\Entity\Annotation;
trait Annotations {
protected $annotations = array();
protected function readAnnotations() {
$this->annotations = Annotation::readClass( $this );
}
protected function getAnnotation( $annot ) {
return $this... |
import _plotly_utils.basevalidators
class SizeValidator(_plotly_utils.basevalidators.NumberValidator):
def __init__(
self, plotly_name="size", parent_name="scatterpolargl.textfont", **kwargs
):
super(SizeValidator, self).__init__(
plotly_name=plotly_name,
parent_name=pa... |
.syntaxhighlighter{background-color:white !important;}
.syntaxhighlighter .line.alt1{background-color:white !important;}
.syntaxhighlighter .line.alt2{background-color:white !important;}
.syntaxhighlighter .line.highlighted.alt1,.syntaxhighlighter .line.highlighted.alt2{background-color:#e0e0e0 !important;}
.syntaxhigh... |
#include <aws/iot1click-projects/model/PlacementSummary.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
namespace Aws
{
namespace IoT1ClickProjects
{
namespace Model
{
PlacementSummary::PlacementSummary() :
m_projectNameHasB... |
package com.oracle.pts.opp.wsclient.generated;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for TextType complex type.
*
* <p>The fol... |
require "formula"
class ShrewsoftVpnClient < Formula
desc "Linux/BSD version of Shrew Soft VPN client"
homepage "https://www.shrew.net"
url "https://www.shrew.net/download/ike/ike-2.2.1-release.tbz2"
sha1 "a52a49248fa663dfbd9e208eaa3e706a17bb9c8c"
head "svn://svn.shrew.net/ike/head"
revision 1
bottle do... |
// in filedlg.cpp functions
void fd_ini( HWND hwnd );
BOOL fd_load( int mode );
BOOL fd_save( void );
char *fd_getfname( void );
|
FN="BSgenome.Mmusculus.UCSC.mm9.masked_1.3.99.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.10/data/annotation/src/contrib/BSgenome.Mmusculus.UCSC.mm9.masked_1.3.99.tar.gz"
"https://bioarchive.galaxyproject.org/BSgenome.Mmusculus.UCSC.mm9.masked_1.3.99.tar.gz"
"https://depot.galaxyproject.org/software/bioco... |
' Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
Imports System
Imports System.Collections.Generic
Imports System.Linq
Imports System.Runtime.CompilerServices
Imports System.Text
Imports Microsoft.CodeAnalys... |
<?php
return array(
// This should be an array of module namespaces used in the application.
'modules' => array(
'Application',
),
// These are various options for the listeners attached to the ModuleManager
'module_listener_options' => array(
// This should be an array of paths in ... |
<?php
class Phoenix_Moneybookers_Model_So2 extends Phoenix_Moneybookers_Model_Abstract
{
/**
* unique internal payment method identifier
*/
protected $_code = 'moneybookers_so2';
protected $_paymentMethod = 'SO2';
}
|
<?php
namespace Predis\Command;
/**
* @link http://redis.io/commands/incrby
* @author Daniele Alessandri <suppakilla@gmail.com>
*/
class StringIncrementBy extends PrefixableCommand
{
/**
* {@inheritdoc}
*/
public function getId()
{
return 'INCRBY';
}
}
|
using System.Diagnostics;
using System.Globalization;
using System.Text;
using System.Threading;
using System.Web.Services.Protocols;
using System.Xml.Serialization;
namespace System.Web.Services.Diagnostics
{
internal static class Tracing
{
private static bool s_tracingEnabled = true;
private ... |
require 'spec_helper'
describe Puppet::Parser::Functions.function(:validate_re) do
let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
# The subject of these examplres is the method itself.
subject do
# This makes sure the function is loaded within each test
function_name = Puppet::Parser::Functions.f... |
<rom>
<romid>
<xmlid>88840013</xmlid>
<internalidaddress>f52</internalidaddress>
<internalidhex>88840013</internalidhex>
<make>Mitsubishi</make>
<market>EDM</market>
<model>Lancer</model>
<submodel>EVO 7 GSR</submodel>
<transmission>Manual</transmission>
<year>2006</year>
<flashmethod>mitsukernel</... |
@interface ViewController ()
@end
@implementation ViewController
- (void)viewDidLoad {
[super viewDidLoad];
// Do any additional setup after loading the view, typically from a nib.
self.view.backgroundColor = [UIColor colorWithRed:245.0 / 255.0 green:245.0 / 255.0 blue:245.0 / 255.0 alpha:1.0];
... |
// Copyright 2015 Interactive Computing project (https://github.com/interactivecomputing).
// All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
// except in compliance with the License. You may obtain a copy of the License at
// http://www.apache.org/li... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_29) on Sun Dec 11 02:02:01 EET 2011 -->
<TITLE>
Uses of Class edu.cmu.cs.stage3.alice.core.question.RandomBoolean
</TITLE>
<META NAME="date" CONTENT... |
=========================
Wagtail 0.8 release notes
=========================
.. contents::
:local:
:depth: 1
What's new
==========
Minor features
~~~~~~~~~~~~~~
* Page operations (creation, publishing, copying etc) are now logged via Python's ``logging`` framework; to configure this, add a logger entry... |
function xc {
xcode_proj=`ls | grep "\.xc" | sort -r | head -1`
if [[ `echo -n $xcode_proj | wc -m` == 0 ]]
then
echo "No xcworkspace/xcodeproj file found in the current directory."
else
echo "Found $xcode_proj"
open "$xcode_proj"
fi
}
function xcsel {
sudo xcode-select --switch "$*"
}
alias... |
/*
* Study Guide Answers for 2D Arrays
*
* Solution Provided by: Lakshmidhar (Ched) Chigurupati
*
* Licensed under the MIT License
*/
#include <stdio.h>
#include <string.h>
// Number 2
int main(void)
{
// Declare two char arrays of size 20 each and then store the strings "Hello" and " World"
// int... |
using System;
using System.Collections.Generic;
using Microsoft.VisualStudio;
using Microsoft.VisualStudio.Shell.Interop;
namespace TestUtilities.Mocks {
public class MockVsShell : IVsShell {
public readonly Dictionary<int, object> Properties = new Dictionary<int, object>();
public rea... |