text stringlengths 3 1.05M |
|---|
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>JavaF... |
class CMidifile_playerDlg : public CDialog
{
// Konstruktion
public:
CMidifile_playerDlg(CWnd* pParent = NULL); // Standard-Konstruktor
// Dialogfelddaten
//{{AFX_DATA(CMidifile_playerDlg)
enum { IDD = IDD_MIDIFILE_PLAYER_DIALOG };
CButton m_exit;
CButton m_load;
CButton m_stop;
CButton m_play;
CButton m_go_on... |
<!DOCTYPE html>
<html lang="en">
<head>
<title>three.js webgl - io - CTM loader</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<style>
body {
font-family: Monospace;
background-color: #000;
color: #fff;
... |
<!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="author" content="Avinash Nayak" />
<meta name="description" content="Personal blog/website">
<lin... |
package org.zu.ardulink.mail.server;
import static org.zu.ardulink.mail.server.ArdulinkMailConstants.MAIL_CONTENT_PASSWORD_KEY;
import static org.zu.ardulink.mail.server.ArdulinkMailConstants.MAIL_FROM_ADDRESSES_KEY;
import static org.zu.ardulink.mail.server.ArdulinkMailConstants.MAIL_VALIDATE_CONTENT_PASSWORD_K... |
package validation
import (
"archive/zip"
"io"
"os"
"path/filepath"
"runtime"
"strings"
"testing"
"github.com/google/go-cmp/cmp"
"github.com/google/go-cmp/cmp/cmpopts"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/types"
"k8s.io/apimachinery/pkg/util/validation/field"
"k8s.io/k... |
{% extends "school/base.html" %}
{% load i18n school_extras %}
{% block title %}{% trans "School" %} - {% trans "Homepage" %}{% endblock %}
{% block header %}
{% endblock %}
{% block content %}
<div class="page-header">
<h1>Assignments</h1>
</div>
<div class="assignments-info">
<!--following text should contain in... |
package login;
import org.apache.http.util.Asserts;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.selenium.support.ui.Select;
import org.testng.Assert;
import org.testng.annotations.Test;
/**
* Created by tomazini on 8/26/15.
... |
package org.cchao.sample.fragment;
import android.os.Bundle;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Toast;
import androidx.annotation.Nullable;
import androidx.fragment.app.Fragment;
import org.cchao.carousel.Carouse... |
lucid.html.Selector=function(pattern){
this.class = null;
this.tag = null;
this.attributeName = null;
this.attributeValue = null;
if (typeof(pattern) == 'string') {
pattern = pattern.split('.');
if (pattern.length > 1) {
this.class = pattern.pop();
}
... |
[](https://travis-ci.org/akashthakkar09/NICInAppPurchase)
[](http://cocoapods.org/pods/NICInAppPurchase)
[:
yaml_loader = yamllib.CSafeLoader
else:... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BrowserLog.TinyServer
{
public class HttpRequest
{
private readonly string _uri;
private readonly string _method;
private readonly IDictionary<string, string> _... |
package org.jitsi.meet.sdk;
import android.content.Context;
import android.media.AudioManager;
import android.os.Build;
import android.telecom.CallAudioState;
import androidx.annotation.RequiresApi;
import java.util.HashSet;
import java.util.Set;
import org.jitsi.meet.sdk.log.JitsiMeetLogger;
/**
* {@link Audio... |
package com.java110.oa.bmo.oaWorkflowData.impl;
import com.java110.core.annotation.Java110Transactional;
import com.java110.intf.oa.IOaWorkflowDataInnerServiceSMO;
import com.java110.oa.bmo.oaWorkflowData.IUpdateOaWorkflowDataBMO;
import com.java110.po.oaWorkflowData.OaWorkflowDataPo;
import com.java110.vo.ResultVo;
i... |
package com.canking.paydemo;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import com.canking.minipay.Config;
import com.canking.minipay.MiniPayUtils;
public class MainActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedIn... |
module Stations
using Utils
import Utils.GeoLoc
using Calendar
import Calendar.CalendarTime
import Base.show
abstract AbstractStation
type Observation
# station of origin
station::AbstractStation
# observation time
tm::CalendarTime
# observed value
value::Float64
# name of the var... |
package main
import (
"fmt"
"log"
"time"
awsShootr "github.com/shootrnetwork/ci-github-aws/aws"
)
func uploadArtifactsToS3(params Params) {
branchCheck := BranchCheck{params.Config.CurrentConfig}
if branchCheck.shouldExecuteUploadToS3() {
start := time.Now()
log.Println("Upload to s3 start...")
commit... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _photos = require('./photos');
var _photos2 = _interopRequireDefault(_photos);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
exports.default = _photos2.default; |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head><meta http-equiv="Content-Type" content="text/html;charset=utf-8" /><title>
AggregateFunction
</title><link rel="stylesheet" type="text/... |
<!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.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no" />
<meta name="title" content="Jonathan Kaplan | Software E... |
<?php
/*
Safe sample
input : execute a ls command using the function system, and put the last result in $tainted
sanitize : cast into int
construction : concatenation with simple quote
*/
/*Copyright 2015 Bertrand STIVALET
Permission is hereby granted, without written agreement or royalty fee, to
use, copy, modi... |
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Norman Wiese - Page 1 - The Tapglue Blog</title>
<meta name="description" content="CEO at Tapglue">
<meta name="HandheldFriendly" content="True">
<meta name="viewport" content="width=device-width, initia... |
/*global $:true*/
import { showChart } from '../../charts/chartUtilities'
import { chartTypes, getChartID } from '../../utilities/chartIDs'
const hideSectorPanels = () => {
const visibleElements = $.find('.sector-visible')
visibleElements.forEach((value) => {
$(value).slideUp()
$(value).removeClass('secto... |
* Gutter section improved
* Small tweaks on editor colors
* New gray scale
* New screenshot
## 0.1.0 - First Release
* First release
|
package com.mediacodec.demo.simple;
import java.io.IOException;
import java.nio.ByteBuffer;
import android.media.MediaCodec;
import android.media.MediaFormat;
import android.media.MediaCodec.BufferInfo;
import android.util.Log;
import android.view.Surface;
import com.google.android.exoplayer.FFExtractor;
class Vide... |
package org.thingsboard.rule.engine.telemetry;
import org.thingsboard.rule.engine.api.TbContext;
import org.thingsboard.server.common.data.kv.AttributeKvEntry;
import org.thingsboard.server.common.msg.TbMsg;
import javax.annotation.Nullable;
import java.util.List;
public class AttributesUpdateNodeCallback extends T... |
ACCEPTED
#### According to
Index Fungorum
#### Published in
null
#### Original name
Tuberculina pamparum Speg.
### Remarks
null |
<?php
namespace Chamilo\Core\Repository\Component;
use Chamilo\Core\Repository\Common\Export\ContentObjectExport;
use Chamilo\Core\Repository\Common\Export\ContentObjectExportController;
use Chamilo\Core\Repository\Common\Export\ContentObjectExportImplementation;
use Chamilo\Core\Repository\Common\Export\ExportParamet... |
<!DOCTYPE html>
<html lang="" class="loading">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>Tag: GCD - JingyuJung's Blog</title>
... |
//
// Menu.m
// IDMPhotoBrowser
//
// Created by Michael Waterfall on 21/10/2010.
// Copyright 2010 d3i. All rights reserved.
//
#import "Menu.h"
@implementation UIAlertView (UIAlertViewWithTitle)
+ (void)showAlertViewWithTitle:(NSString*)title {
[[[UIAlertView alloc] initWithTitle:title message:nil delegate... |
package all
import _ "github.com/influxdata/telegraf/plugins/processors/ifname" // register plugin
|
<?php
namespace Craft;
use Guzzle\Http\Client;
class DirectoryService extends BaseApplicationComponent
{
public function getPlugins()
{
return $this->_request('get', 'all');
}
public function getPopularPlugins()
{
return $this->_request('get', 'popular');
}
public fun... |
using System;
using System.IO;
namespace Org.BouncyCastle.Crypto.IO
{
public class MacStream
: Stream
{
protected readonly Stream stream;
protected readonly IMac inMac;
protected readonly IMac outMac;
public MacStream(
Stream stream,
IMac readMac,
IMac writeMac)
{
this.stream = stream;
th... |
function kakunin(){
location.href = index.html;
} |
'use strict';
// Utilities:
import _ from 'lodash';
import Promise from 'bluebird';
import path from 'path';
// Dependencies:
import changecase from 'change-case';
import esquery from 'esquery';
import fileStructure from '../../file-structure';
export default {
transformIdentifiers,
transformMetadata,
tr... |
package org.auraframework.impl.http.resource;
import java.io.IOException;
import java.io.PrintWriter;
import java.math.BigInteger;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servl... |
<?php
namespace Thuata\IntercessionBundle\Tests\Intercession;
use Symfony\Component\Validator\Mapping\Factory\MetadataFactoryInterface;
use Thuata\IntercessionBundle\Exception\AuthorNoDataException;
use Thuata\IntercessionBundle\Exception\AuthorWrongTypeException;
use Thuata\IntercessionBundle\Intercession\Int... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>pocklington: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min... |
local builder = ll.class(ll.ComputeNodeBuilder)
builder.name = 'lluvia/opticalflow/flowfilter/FlowPredictPayloadX'
builder.doc = [[
Computes one step predition of the optical flow and payloads along the X axis.
Parameters
----------
dt : float. Defaults to 1.0
The time step used for the prediction.
Inputs
------... |
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title> Arun | Gregor von Laszewski</title>
<link>/author/arun/</link>
<atom:link href="/author/arun/index.xml" rel="self" type="application/rss+xml" />
<description> Arun<... |
USE `modo-import`;
CREATE OR REPLACE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `modo-import`.`Center` AS
SELECT
center.id AS id,
center.name AS name,
center.code AS code,
"ef80ab638b" AS mailchimpListId,
"accueil@modo-shopping.fr" AS contactEmail
FROM `crm-import`.`Center` AS center... |
layout: default
---
<!-- Content -->
<section class="content post-single pt-70 pt-mdm-60">
<div class="container relative">
<div class="row">
<!-- post content -->
<div class="col-md-9 post-content mb-50">
<!-- large post -->
<article ... |
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE ldml SYSTEM "../../common/dtd/ldml.dtd">
<!-- Copyright © 1991-2013 Unicode, Inc.
CLDR data files are interpreted according to the LDML specification (http://unicode.org/reports/tr35/)
For terms of use, see http://www.unicode.org/copyright.html
-->
<ldml>
<identity>
... |
import lvLV from '../../date-picker/locale/lv_LV';
export default lvLV;
|
<?php
namespace SteamCondenser\Community\AlienSwarm;
use SteamCondenser\Community\GameWeapon;
/**
* This class holds statistical information about weapons used by a player
* in Alien Swarm
*
* @author Sebastian Staudt
* @package steam-condenser
* @subpackage community
*/
class AlienSwarmWeapon extends... |
<h2 class="headline-bold grey-secondary float-center"> FLÄCHE 120 </h2>
<h2 class="headline-light grey-secondary float-center">ERDGESCHOSS</h2>
<img src="assets/img/eg.jpg" alt="" width="100%" class="gap-top-60">
<div class="gap-top-60 grey-secondary text" id="ugheader" style="font-size: 12px">
<p></p>
<... |
package com.microsoft.azure.management.resourcehealth.v2015_01_01.implementation;
import com.microsoft.azure.management.resourcehealth.v2015_01_01.OperationListResult;
import com.microsoft.azure.arm.model.implementation.WrapperImpl;
import java.util.List;
class OperationListResultImpl extends WrapperImpl<OperationL... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>cfgv: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" r... |
<!DOCTYPE html><html><head><meta charset="utf-8" />
<meta http-equiv="refresh" content="0;url=/place/kosovo/map/" />
</head></html> |
namespace MassTransit
{
using Configurators;
public interface IBusFactory :
Configurator
{
/// <summary>
/// Create the bus, returning the bus control interface
/// </summary>
/// <returns></returns>
IBusControl CreateBus();
}
} |
namespace Lexer{
enum Token_value{
NAME, NUMBER, END,
PLUS='+', MINUS='-', NUL='*', DIV='/',
PRINT=';', ASSIGN='=', LP='(', RP=')'
};
extern Token_value curr_tok;
extern double number_value;
extern std::string string_value;
Token_value get_token();
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using Windows.Foundation.Collections;
namespace WhatsMyRun.Common
{
/// <summary>
/// Implementation of IObservableMap that supports reentrancy for use as a default view
/// model.
/// </summary>
public class ObservableDictionary :... |
/* Contributed by Nicola Pero - Tue Mar 6 23:05:53 CET 2001 */
#include <objc/objc.h>
#include <objc/objc-api.h>
#include "next_mapping.h"
/* Tests creating a root class and a subclass with an ivar and
accessor methods and a subclass overriding the superclass'
implementation */
@interface RootClass
{
Class ... |
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:foreground="?attr/selectableItemBackground"
android:grav... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace api.domain.entity
{
/// <summary>
///
/// </summary>
[Table("Topics")]
public class Topic
{
/// <summary>
/// Gets or sets ... |
#ifndef TENSORFLOW_FRAMEWORK_FUNCTION_H_
#define TENSORFLOW_FRAMEWORK_FUNCTION_H_
#include <vector>
#include "tensorflow/core/framework/attr_value.pb.h"
#include "tensorflow/core/framework/attr_value_util.h"
#include "tensorflow/core/framework/function.pb.h"
#include "tensorflow/core/framework/node_def_util.h"
#incl... |
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end
|
@interface AppDelegate ()
@end
@implementation AppDelegate
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
// Override point for customization after application launch.
return YES;
}
- (void)applicationWillResignActive:(UIApplication *)applica... |
package org.terasology.persistence.typeHandling;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.terasology.reflection.metadata.ClassMetadata;
import org.terasology.reflection.metadata.FieldMetadata;
import org.terasology.persistence.serializers.DeserializeFieldCheck;
import java.util.Map;
/**
... |
layout: default
---
<article class="post" itemscope itemtype="http://schema.org/BlogPosting">
<header class="post-header">
<div class="container">
<div class="row">
<div class="col-12">
<h1 class="post-title" itemprop="name headline">{{ page.title }}</h1>
<p clas... |
<?php
/**
* Usage: php json_splitter.php "/path/to/json/file.json" TestDataElements 50
* User: Veit Osiander
* Date: 12/17/14
* Time: 10:06 AM
*/
if (empty($argv[1])) {
throw new \Exception("Please provide a valid path to a json file");
}
if (!is_file($argv[1])) {
throw new \Exception("Please provide a val... |
/* Created on: Nov 17, 2015
* Author: T.Delame (tdelame@gmail.com)
*/
# ifndef PROJECT_MESH_H_
# define PROJECT_MESH_H_
# include <project.h>
# include <OpenMesh/Core/Mesh/TriMesh_ArrayKernelT.hh>
BEGIN_PROJECT_NAMESPACE
namespace detail {
struct triangular_mesh_traits:
public OpenMesh::DefaultTra... |
layout: page
title: We're home!
excerpt: "Get a recent location of George, Garrett, and Vikram"
locations: UC Berkeley
search_omit: true
---
|
from django import forms
from .models import Evangelista
class EvangelistaForm(forms.ModelForm):
class Meta:
model = Evangelista
fields = [
"igreja",
"projeto",
"funcao",
"nome",
"data_nascimento",
"data_entrada_evg",
"foto_perfil",
"data_batismo_no_espirito_santo",
"foto_perfil",
... |
'use strict';
var is = require('./lib/is');
module.exports = toBeNumber;
function toBeNumber(actual) {
return !isNaN(parseFloat(actual)) &&
!is(actual, 'String');
}
|
A demonstration of rendering a Salesforce.com chatter feed using backbone.js, Requirejs, jQuery Mobile with Jasmine and CasperJS testing. Displays a feed for the logged in user, renders comments. Supports like and unlike, posting to users feed. Source available on github, dev version on my local machine and prod ver... |
<?php
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
namespace hitss\helpers\utilities{
class persona{
public function __construct() {
echo "new persona";
}
}
... |
<!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 (version 1.7.0_55) on Wed Sep 24 06:07:58 EDT 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="utf-8">
<title>org.apache.solr.com... |
<?xml version="1.0" encoding="utf-8" ?>
<AssetDeclaration xmlns="uri:ea.com:eala:asset" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Tags></Tags>
<Includes></Includes>
<AIStrategicStateDefinition
id="SP_AlienAttackImminent"
UnitUpgradeMultiplier="0.0"
UnitBuilderSimpleUnitCap="30">
<Heur... |
Range Simulation
================
Simulation of ranges of alpha, tritons, electrons and photons.
## Geometry
The geometry is a box representing a 'semi infinite' homogeneous medium. The default geometry is constructed in DetectorConstruction class, but all of the above parameters can be changed interactively via the... |
package tetris;
import java.io.BufferedOutputStream;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStream;
import java.util.List;
import java.util.Map;
import java.util.logging.Logger;
import tetris.control.ControllerInput;
import tetris.factories.ColorFactory;... |
module.exports = function accumulateFlex (flex, grade) {
return flex + grade.flex
} |
'use strict';
var Parameters = require('../../lib/runtime/parameters');
var Union = require('../../lib/runtime/union');
var Range = require('../../lib/runtime/range');
require('../../lib/runtime/types');
//
// Parameters Tests
//
console.log("\nparameters.js\n");
var params = new Parameters([{foo: Int, $: 1}, {bar:... |
package azure
import (
"os"
"reflect"
"testing"
)
func TestUnmarshalMetadata(t *testing.T) {
data, err := os.ReadFile("testdata/metadata.json")
if err != nil {
t.Fatalf("unexpected error: %s", err)
}
actual, err := unmarshalInstanceMetadata(data)
if err != nil {
t.Fatalf("unexpected error: %s", err)
}
... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>TableID1a84217f2f24</title>
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<style type="text/css">
body {
color: #444444;
fo... |
package gameObjectModel;
import java.util.List;
public class CustomRange extends AbstractRange{
private List<List<Integer>> myDeltas;
public CustomRange(List<List<Integer>> deltas, boolean b, String name){
super(name, b);
myDeltas = deltas;
}
@Override
public List<List<Integer>> g... |
package com.example.observer_ref;
import arez.Observer;
import arez.annotations.ArezComponent;
import arez.annotations.Observe;
import arez.annotations.ObserverRef;
@ArezComponent
abstract class BasicObserverRefModel
{
@Observe
void doStuff()
{
}
@ObserverRef
abstract Observer getDoStuffObserver();
}
|
class SmartLockMetricsRecorder {
public:
SmartLockMetricsRecorder();
~SmartLockMetricsRecorder();
// This enum is tied directly to a UMA enum defined in
// //tools/metrics/histograms/enums.xml, and should always reflect it (do not
// change one without changing the other). Entries should be never modified
... |
local common = {} -- exported table
function common.extract_datasets_from_matrix(data)
collectgarbage("collect")
local current_fb_len = data:dim(2) - 4
FB_LEN = FB_LEN or current_fb_len
assert(current_fb_len == FB_LEN) -- sanity check
local spec_pat_size = { 1, current_fb_len }
local bin_cls_pat_size = { 1... |
@class CLLocation, MKPlacemark, NSString;
@interface TNDRLocation : _TNDRLocation <TNDRParsable>
{
}
+ (id)createLocationFromLocation:(id)arg1 placemark:(id)arg2 inContext:(id)arg3;
+ (id)locationWithPlacemark:(id)arg1;
@property(readonly, nonatomic) CDStruct_2c43369c coordinate;
@property(readonly, nonatomic) CLLoca... |
using System;
using System.Linq;
using System.Threading.Tasks;
using HockeyApp.Repositories.Contracts;
using HockeyApp.Repositories.Contracts.Base;
using AutoMapper;
using HockeyApp.Common.Enums;
using HockeyApp.Contracts.Dto.Feedbacks;
using HockeyApp.Contracts.Requests;
using HockeyApp.Contracts.Requests.Feedbacks;
... |
<?php
namespace WC_Toolkit;
class UI_Reset
{
/**
* @param array $params
*/
public function __construct()
{
add_action('wp_enqueue_scripts', [ $this, 'scripts' ]);
add_filter('woocommerce_enqueue_styles', '__return_empty_array');
}
public function scripts()
{
... |
package env
import (
"fmt"
"net"
"os"
"strconv"
"strings"
"github.com/hashicorp/nomad/helper"
hargs "github.com/hashicorp/nomad/helper/args"
"github.com/hashicorp/nomad/nomad/structs"
)
// A set of environment variables that are exported by each driver.
const (
// AllocDir is the environment variable with t... |
/**
*
*/
package com.yan.utilscollection.util.utils;
import android.app.Activity;
import android.view.Gravity;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.TextView;
import com.yan.utilscollection.util.utils.dailog.BaseLinearPoupWindows;
/**
* @author 黄艳武;View操作的简化
... |
/*
* GlobalThresholdFilter.cpp
*
* Created on: 23.07.2014
* Author: Gerd Lindner
*/
#include "GlobalThresholdFilter.h"
#include "../graph/GraphBuilder.h"
namespace NetworKit {
GlobalThresholdFilter::GlobalThresholdFilter(const Graph& graph, const std::vector<double>& attribute, const double threshold, boo... |
using Oberon0.Test.Support;
using Xunit;
namespace Oberon0.Compiler.Tests
{
public class SimpleTests
{
[Fact]
public void EmptyApplication()
{
var m = Oberon0Compiler.CompileString("MODULE Test; END Test.");
Assert.Equal("Test", m.Name);
Assert.Equal(... |
var demand = require('must'),
NumberType = require('../NumberType');
exports.initList = function(List) {
List.add({
number: { type: NumberType },
nested: {
number: { type: NumberType }
}
});
};
exports.testFieldType = function(List) {
var testItem = new List.model();
it('should validate numeric input',... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using EmptyKeys.UserInterface;
using EmptyKeys.UserInterface.Controls;
using EmptyKeys.UserInterface.Media;
using EmptyKeys.UserInterface.Data;
using EmptyKeys.UserInterface.Renderers;
using EmptyKeys.Us... |
import sqlite3
import os
from pacha.util import get_db_file, get_db_dir
REPOS_TABLE = """CREATE TABLE IF NOT EXISTS repos(
id integer primary key,
path TEXT,
permissions TEXT,
type TEXT,
timestamp TEXT
)"""
METADATA_TABLE = """CREATE TAB... |
package com.thejavageek;
import javax.xml.ws.Endpoint;
public class HelloWorldServerPublisher {
public static void main(String[] args) {
System.out.println("Beginning to publish HelloWorldService now");
Endpoint.publish("http://127.0.0.1:9876/hw", new HelloWorldServerImpl());
System.out.println("Done publishing... |
package puzzles;
public class PartitionLinkedList {
public static class ListNode {
public int value;
public ListNode next;
public ListNode(int value, ListNode next) {
this.value = value;
this.next = next;
}
}
public static ListNode partition(ListNode head, int partitionValue) {
... |
#ifndef _Stroika_Foundation_Configuration_Private_Defaults_Configuration_Common_h_
#define _Stroika_Foundation_Configuration_Private_Defaults_Configuration_Common_h_ 1
/*
* This file is a private Stroika implementation detail, and shouldn't be included directly.
* Its used by StroikaConfig.h - optionally included t... |
class AddOverrideIdToMagicItems < ActiveRecord::Migration
def change
add_column :magic_items, :override_id, :integer
add_index :magic_items, :override_id
end
end
|
configure do
end
|
var util = require('./util');
var bodyParser = require('body-parser');
var WebSocketServer = require('ws').Server;
var url = require('url');
var cors = require('cors');
var app = exports = module.exports = {};
/** Initialize WebSocket server. */
app._initializeWSS = function(server) {
var self = this;
if (this.m... |
/**
*
*/
#ifndef CONTAINER_H
#define CONTAINER_H
#include "object.hpp"
#include <iostream>
using namespace std;
class Container: public Object{
protected:
int compareTo(Object const&) const;
public:
Container();
bool isNull() const;
int compare(Object const&) const;
void print(ostream& = cout) const;
};... |
"""
WAL-E Windows Azure Blob Service workers
These are functions that are amenable to be called from other modules,
with the intention that they are used in gevent greenlets.
"""
import gevent
import re
from wal_e import log_help
from wal_e import storage
from wal_e.blobstore import wabs
from wal_e.pipeline import g... |
#include <assert.h>
#include <string.h>
#include <stdio.h>
#include <caml/memory.h>
#include <caml/mlvalues.h>
#include <caml/alloc.h>
#include <caml/callback.h>
#include <caml/bigarray.h>
#include <caml/fail.h>
#include <caml/custom.h>
#include <caml/socketaddr.h>
#include <caml/unixsupport.h>
#include "utp.h"
#d... |