text stringlengths 3 1.05M |
|---|
<!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="Hey Kowalski, you out there?">
<meta property="og:image" content="http://vncp... |
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android"
android:duration="300">
<translate android:fromXDelta="-100%p" android:toXDelta="0" />
</set> |
package com.palantir.atlasdb.schema.stream.generated;
import java.util.Arrays;
import java.util.Collection;
import java.util.EnumSet;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Objects;
import java.util.Optional;
import... |
// Copyright (c) 2012-2014 The Bitcoin developers
// Copyright (c) 2013-2017 The Anoncoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "bloom.h"
#include "hash.h"
#include "script.h"
#include "transa... |
Simple HTML & PHP implementation of Basic Caesar Cypher (aka character shift)
Theme created with JQuery Mobile's Theme Roller ( https://themeroller.jquerymobile.com/ ) |
import { renderHook } from '@testing-library/react';
import { act } from 'react-dom/test-utils';
import { useThemeMode } from './useThemeMode';
describe('useThemeMode', () => {
it('should return object with attribute "isDarkMode" equals to false', () => {
const { result } = renderHook(() => useThemeMode());
... |
'use strict';
var CheckBox = require("./lib/CheckBox.js");
var Radio = require("./lib/Radio.js");
var RadioGroup = require("./lib/RadioGroup.js");
var CheckBoxGroup = require("./lib/CheckBoxGroup.js");
var DropDown = require("./lib/DropDown.js");
var Menu = require("./lib/Menu.js").Menu;
var MenuGroup = require("./lib... |
<!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_60-ea) on Tue Sep 06 12:41:45 EDT 2016 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Interface org.wil... |
<?php
namespace ShootProof\Cli\Test;
use \PHPUnit_Framework_TestCase;
use ShootProof\Cli\Utility\ResultPager;
class ResultPagerTest extends PHPUnit_Framework_TestCase
{
protected $datasource = [];
protected $expect = [];
public function setUp()
{
$pages = 4;
$pageSize = 5;
$letters = range('A', 'Z');
$... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="zh">
<head>
<!-- Generated by javadoc (version 1.7.0_55) on Tue Sep 22 15:36:39 GMT+08:00 2015 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>程序包 com.aliyu... |
package io.sundr.model;
import java.lang.Boolean;
import java.lang.Deprecated;
import java.lang.Integer;
import java.lang.Object;
import java.lang.String;
import java.lang.SuppressWarnings;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Iterator;
import java.util.List;
import java.util.funct... |
<?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>com.j... |
from src.base.solution import Solution
from src.tests.part2.q082_test_rm_duplicates_sorted_list_ii import RmDuplicatesSortedListIITestCases
from src.structures.listnode import ListNode
class RmDuplicatesSortedListII(Solution):
def run_test(self, input):
return self.deleteDuplicates(input)
def verify_o... |
import os
import csv
import cv2
import numpy as np
import matplotlib.pyplot as plt
import matplotlib.image as mpimg
import sklearn
# helper functions
def cropImage(image):
cropped_image = image[65:140, 0:320]
# NOTE: its img[y: y + h, x: x + w] and *not* img[x: x + w, y: y + h]
#np.reshape(img, (height, wi... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null |
<?php declare(strict_types = 1);
namespace DrdPlus\Tests\Tables\Theurgist\Spells\SpellParameters;
use DrdPlus\Codes\Units\DistanceUnitCode;
use DrdPlus\Tables\Measurements\Distance\Distance;
use DrdPlus\Tables\Measurements\Distance\DistanceBonus;
use DrdPlus\Tables\Tables;
use DrdPlus\Tests\Tables\Theurgist\Spells\Sp... |
using DragonSpark.Model.Selection;
using System;
namespace DragonSpark.Runtime.Invocation;
public class Invocation1<T1, T2, TOut> : ISelect<T2, TOut>
{
readonly Func<T1, T2, TOut> _delegate;
readonly T1 _parameter;
public Invocation1(Func<T1, T2, TOut> @delegate, T1 parameter)
{
_delegate = @... |
<?php
use yii\helpers\Html;
use yii\widgets\ListView;
use yii\widgets\Pjax;
/* @var $this yii\web\View */
/* @var $searchModel frontend\models\searchs\ArticleSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title = Yii::t('frontend', 'Bds Articles');
$this->params['breadcrumbs'][] = $this->title;... |
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical">
<ExpandableListView
android:id="@+id/expandableListView1"
android:layout... |
import Utils from './Utils';
import TestIDs from '../playground/src/testIDs';
const { elementById } = Utils;
describe.e2e('Lazy Registration', () => {
beforeEach(async () => {
await device.relaunchApp();
await elementById(TestIDs.STACK_BTN).tap();
});
it('push and pop lazily registered screen', async (... |
package goutil
import (
"encoding/base64"
"encoding/hex"
)
// HexToBase64 converts a slice of hexadecimal bytes to the equivalent base64 slice of bytes.
func HexToBase64(hexbytes []byte) ([]byte, error) {
bytes := make([]byte, hex.DecodedLen(len(hexbytes)))
_, err := hex.Decode(bytes, hexbytes)
if err != nil {
... |
var express = require('express');
var path = require('path');
var favicon = require('serve-favicon');
var logger = require('morgan');
var cookieParser = require('cookie-parser');
var bodyParser = require('body-parser');
var routes = require('./routes/index');
var users = require('./routes/users');
var cryptoRouter = r... |
extern crate consistency;
use std::fmt;
use std::cmp::Ordering;
use consistency::{Node, Ring};
// Create your node that will be hashed. You'll want to provide a way to uniquely identify
// the node. In this case we'll do it with an id property.
#[derive(Clone, Eq, Ord)]
struct TestNode {
id: String,
ip: &'static s... |
import { _Math } from './Math';
/**
* Ref: https://en.wikipedia.org/wiki/Spherical_coordinate_system
*
* The poles (phi) are at the positive and negative y axis.
* The equator starts at positive z.
*/
function Spherical(radius, phi, theta) {
this.radius = (radius !== undefined) ? radius : 1.0;
this.phi = (p... |
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android" >
<item android:state_pressed="true" android:drawable="@drawable/msg_collapse_press"></item>
<item android:drawable="@drawable/msg_collapse"></item>
</selector>
|
_This is Kaku v1.6.1's feature, please see releases:[Kaku Releases](https://github.com/EragonJ/Kaku/releases)_
Open your Kaku music plaer and checkout `Settings`:

and you will see `Update Player` this botton, and click it.
Kaku will automatically update to new version... |
return function (Data)
local TableString, ErrMsg = Split(tostring(Data), "|")
if not TableString then
return nil, ErrMsg
end
return TableString
end |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>How to handle and display errors for user input?</title>
<link rel="stylesheet" href="core.css">
</head>
<body>
<main>
<h1>How to handle and display errors for user input?</h1>
<p>Warning: this document contains unfi... |
@interface LatestFlickrPhotosTVC ()
@end
@implementation LatestFlickrPhotosTVC
- (void)viewDidLoad
{
[super viewDidLoad];
[self loadLatestPhotosFromFlickr];
[self.refreshControl addTarget:self
action:@selector(loadLatestPhotosFromFlickr)
forControlEvents:UICo... |
FROM alpine:edge
MAINTAINER Nicolas Le Manchet <nicolas@lemanchet.fr>
RUN set -x \
&& addgroup -S sauna \
&& adduser -u 4343 -D -S -h /app -G sauna sauna \
&& apk update \
&& apk add python3 py3-psutil py3-yaml py3-docopt py3-requests \
&& pip3 install redis pymdstat jsonpath-rw
WORKDIR /app
COP... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null |
package elasticthought
import (
"encoding/json"
"github.com/bitly/go-nsq"
"github.com/couchbaselabs/logg"
)
type NsqJobScheduler struct {
Configuration Configuration
}
func NewNsqJobScheduler(c Configuration) *NsqJobScheduler {
return &NsqJobScheduler{
Configuration: c,
}
}
func (j NsqJobScheduler) Schedul... |
import urllib, cStringIO
from PIL import Image
s = "http://www.pythonchallenge.com/pc/def/oxygen.png" ## url of image
u = urllib.urlopen(s)
content = u.read()
u.close()
filelike = cStringIO.StringIO(content)
im = Image.open(filelike)
print im.size, im.mode
w, h = im.size
l = list(im.getdata())
## start "reading" lef... |
\subsubsection{Sliding Window Simulation}
\begin{frame}{Sliding Window Simulation}
\begin{itemize}
\item Fakes a real time sliding window application
\item Is highly configurable
\item Are comparable by a performance measure
\end{itemize}
\end{frame}
\begin{frame}{Sli... |
/* You can add global styles to this file, and also import other style files */
body {
font-family: "Open Sans","Helvetica Neue",Helvetica,Arial,sans-serif;
background: url('http://imgur.com/mp4RjNl.png') no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
bac... |
ACCEPTED
#### According to
Index Fungorum
#### Published in
Mycologia 5(2): 75 (1913)
#### Original name
Amanita velatipes G.F. Atk.
### Remarks
null |
<?php
class User_model extends CI_Model
{
const TABLE = 'users';
const TOKEN_VALIDITY_DURATION = 60 * 5; // 5 minutes
public function __construct()
{
parent::__construct();
}
public function findAll()
{
return $this->db->get(self::TABLE)->result_object();
}
public... |
//
// CCHierarchiesSpriteShader.h
// CCHierarchiesSprite
//
// Created by bman <zx123xz321hm3@hotmail.com>.
// Copyright (c) 2013. All rights reserved.
//
#ifndef __SZSG__CCHierarchiesSpriteShader__
#define __SZSG__CCHierarchiesSpriteShader__
#include "cocos2d.h"
#include "ExtensionMacros.h"
#include "CCHierarchi... |
package generalprogramming.PreferInterfacesToReflection;
/**
* Author: Brian Dang
* Date: 3/6/2016
* Time: 8:18 PM
*/
import java.lang.reflect.Array;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Set;
/**
* Item 53: Prefer interfaces to reflection
*
* java.la... |
package gocsi
import (
"strconv"
"time"
log "github.com/sirupsen/logrus"
"golang.org/x/net/context"
"google.golang.org/grpc"
csictx "github.com/rexray/gocsi/context"
"github.com/rexray/gocsi/middleware/logging"
"github.com/rexray/gocsi/middleware/requestid"
"github.com/rexray/gocsi/middleware/serialvolume"
... |
package com.cloudera.sa.fileingestor.action;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.fs.FileSystem;
import org.apache.hadoop.fs.Path;
import org.apache.log4j.Logger;
import com.cloudera.sa.fileingestor.action.common.PrivsCommon;
import com.cloudera.sa.fileingestor.model.IngestionPlanPoj... |
<?php
declare(strict_types=1);
namespace Geocoder\Provider\GoogleMaps\Model;
use Geocoder\Model\Address;
use Geocoder\Model\AdminLevel;
use Geocoder\Model\AdminLevelCollection;
/**
* @author Tobias Nyholm <tobias.nyholm@gmail.com>
*/
final class GoogleAddress extends Address
{
/**
* @var string|null
... |
// 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.
#include <string>
#include "base/basictypes.h"
#include "base/guid.h"
#include "base/memory/scoped_ptr.h"
#include "base/message_loop.h"
#include "ba... |
"""
The general purpose tools to manipulate the pipeline with the mlab interface.
"""
# Author: Prabhu Ramachandran <prabhu_r@users.sf.net>,
# Gael Varoquaux <gael dot varoquaux at normalesup dot org>
# Copyright (c) 2007-2015 Enthought, Inc.
# License: BSD Style.
# Standard library imports.
import numpy... |
#ifdef BWL_PACKED_SECTION
#undef BWL_PACKED_SECTION
#else
#error "BWL_PACKED_SECTION is NOT defined!"
#endif
#undef BWL_PRE_PACKED_STRUCT
#undef BWL_POST_PACKED_STRUCT
|
import { browserHistory } from 'react-router'
export default browserHistory |
<!--
An example of binding an event using jQuery.
Mark Veltzer <mark.veltzer@gmail.com>
-->
<html>
<head>
<script src='/jquery.js'></script>
<script>
var counter=0;
$(document).ready(function() {
$('#id_bind').click(function() {
$('#id_real').bind('click',function() {
counter=counter+1;
... |
import React from 'react';
import { connect } from 'react-redux';
import { withRouter } from 'react-router';
import DocumentTitle from 'react-document-title';
import { loadService } from '../../actions';
import Loading from '../../components/Loading';
import EditService from '../../components/service/EditService';
impo... |
set -e
echo "Installing chronograf"
apt-get update
apt-get -qq -y install --no-install-recommends wget
rm -rf /var/lib/apt/lists/* ~/.bashrc
VERSION=$(cat /version.txt)
wget --no-check-certificate -q -O - https://dl.influxdata.com/chronograf/releases/chronograf-${VERSION}_linux_amd64.tar.gz | tar -xzf - -C /opt
mv ... |
"""Beam implementations of experimental tf.Transform canonical analyzers."""
import apache_beam as beam
class PTransformAnalyzer(beam.PTransform):
"""A PTransform analyzer's base class which provides a temp dir if needed."""
def __init__(self):
self._base_temp_dir = None
@property
def base_temp_dir(self... |
package com.compomics.mascotdatfile.util.mascot;
import com.compomics.util.junit.TestCaseLM;
import junit.framework.Assert;
import junit.framework.TestCase;
import org.apache.log4j.Logger;
/**
* Created by IntelliJ IDEA.
* User: kenny
* Date: 17-jan-2007
* Time: 17:03:42
*/
/**
* TestClass description: -------... |
<?xml version="1.0" encoding="utf-8"?>
<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping http://doctrine-project.org/schemas/orm/doctrine-mapping.xsd">
<e... |
import "core-js/stable";
import "regenerator-runtime/runtime";
|
ACCEPTED
#### According to
NUB Generator [autonym]
#### Published in
null
#### Original name
null
### Remarks
null |
//
// WWNewsDetailContentScrollView.m
// News
//
// Created by 文伟 on 16/6/13.
// Copyright © 2016年 Wayne. All rights reserved.
//
#import "WWNewsDetailContentScrollView.h"
#import "WWNewsDetailItem.h"
#import "WWLabel.h"
#import "WWNewsDealDetailItem.h"
#import "UIImageView+WebCache.h"
#import "WWNewsDetailFrame.h... |
import * as ts from 'typescript'
import { Diagnostic, DiagnosticSeverity, Range } from 'vscode-languageserver'
/**
* Converts a TypeScript Diagnostic to an LSP Diagnostic
*/
export function convertTsDiagnostic(diagnostic: ts.Diagnostic): Diagnostic {
const text = ts.flattenDiagnosticMessageText(diagnostic.messag... |
title: MomIntegration
category: feature
authors: aglitke, ekohl, sven
wiki_category: Feature
wiki_title: Features/MomIntegration
wiki_revision_count: 4
wiki_last_updated: 2013-11-08
---
# Mom Integration
As discussed at the oVirt Workshop and elsewhere, integrating mom with vdsm will benefit oVirt by providing a mech... |
<!DOCTYPE html>
<!-- Ryan Fung's HTML Template v5.2-->
<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="Ryan Fung"/>
<title>5.2 Hydrazone · ... |
from oocsi import OOCSI
import time
# start responder OOCSI client
responder = OOCSI('variable1', 'localhost')
# create variable 'color' for first client
v1 = responder.variable('colorChannel', 'color')
# start caller OOCSI client
caller = OOCSI('variable2', 'localhost')
# create variable 'color' for second client
v... |
class NinjaBinaryTargetWriter::SourceFileTypeSet {
public:
SourceFileTypeSet() {
memset(flags_, 0, sizeof(bool) * static_cast<int>(SOURCE_NUMTYPES));
}
void Set(SourceFileType type) {
flags_[static_cast<int>(type)] = true;
}
bool Get(SourceFileType type) const {
return flags_[static_cast<int>(ty... |
package com.atlassian.pageobjects.browser;
import javax.annotation.Nonnull;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Marks elements that should only be called if the current test browser matc... |
ACCEPTED
#### According to
Index Fungorum
#### Published in
Revis. gen. pl. (Leipzig) 3: 464 (1898)
#### Original name
Agaricus lachnocephalus Berk.
### Remarks
null |
using System;
using System.Collections.Generic;
using System.Text;
namespace Vk.Api.Schema.Common.User
{
/// <summary>
/// Класс для десериализации <see cref="ICropPhoto"/>
/// </summary>
class CropPhoto
{
#pragma warning disable 1591
[JsonProperty("photo")]
[JsonC... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>geocoq: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css"... |
<idea-plugin>
<extensions defaultExtensionNs="com.intellij">
<fileType.fileViewProviderFactory filetype="kotlin_builtins" implementationClass="com.intellij.psi.ClassFileViewProviderFactory"/>
<filetype.stubBuilder filetype="kotlin_builtins" implementationClass="com.intellij.psi.impl.compiled.ClassFileStubBuil... |
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("02... |
ACCEPTED
#### According to
Index Fungorum
#### Published in
Verh. zool. -bot. Ges. Wien 72: 102 (1923)
#### Original name
Cephalotrichum septatum Demelius
### Remarks
null |
<div class="modal" ng-controller="CreateNewDecisionTableCtrl">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header"><h2>{{'DECISION-TABLE.POPUP.CREATE-TITLE' | translate}}</h2></div>
<div class="modal-body">
<p>{{'DECISION-TABLE.POPUP.CREAT... |
var args = arguments[0] || {};
//var Module = require('de.kbueschel.tiextendedwebview');
// DEBUG
//Ti.API.debug('index::Module =', Module);
//Ti.API.debug('index::Module =', Object.keys(Module));
//Ti.API.debug('index::Module =', Module.createExample());
function _reload(event) {
event.source.touchEnabled = fals... |
<?php
use Symfony\Component\HttpKernel\Kernel;
use Symfony\Component\Config\Loader\LoaderInterface;
class AppKernel extends Kernel
{
public function registerBundles()
{
$bundles = array(
new Symfony\Bundle\FrameworkBundle\FrameworkBundle(),
new Symfony\Bundle\SecurityBundle\Sec... |
<?php
namespace Scrutinizer\Model;
class Comment
{
private $id;
private $message;
private $params;
private $tool;
public function __construct($tool, $id, $message, array $params = array())
{
$this->tool = $tool;
$this->id = $id;
$this->message = $message;
$this... |
var App = require('app');
var date = require('utils/date');
var numberUtils = require('utils/number_utils');
App.MainDashboardServiceYARNView = App.MainDashboardServiceView.extend({
templateName: require('templates/main/dashboard/service/yarn'),
serviceName: 'YARN',
nodeHeap: function () {
var memUsed = t... |
<!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... |
A very simple Eclipse Plug-In, that allows configuring which Maven extensions (AbstractMavenLifecycleParticipant) shall be called an m2e build.
The participants need to be whitelisted because they can have a negative impact on the m2e build.
|
import "core-js/fn/object/assign"
/**
* baseLine 样式
*/
const defaultConfig = {
"line-height": 0,
"background-color": "#eee",
padding: "",
margin: "8px 0px 0px 10px",
border: "",
left: 10,
height: 1,
top: 0,
position: "",
display: "block",
}
function configCreate (winWidth: number, customStyles: a... |
class BlockedActionBubbleDelegate : public ToolbarActionsBarBubbleDelegate {
public:
BlockedActionBubbleDelegate(const base::Callback<void(CloseAction)>& callback,
const std::string& extension_id);
~BlockedActionBubbleDelegate() override;
private:
// ToolbarActionsBarBubbleDelegat... |
package search
import (
"bytes"
"encoding/json"
"net/http"
"time"
"github.com/mholt/caddy/caddyhttp/httpserver"
"github.com/pedronasser/caddy-search/indexer"
)
// Search represents this middleware structure
type Search struct {
Next httpserver.Handler
*Config
Indexer indexer.Handler
*Pipeline
}
// ServerH... |
/* © Utrecht University and DialogueTrainer */
/* exported PlumbGenerator */
let PlumbGenerator;
(function()
{
"use strict";
// eslint-disable-next-line no-global-assign
PlumbGenerator =
{
genJsPlumbInstance: genJsPlumbInstance,
defaultPaintStyle: { stroke: ColorPicker.defaultColor, s... |
bifrost-tls
===========
This role generates TLS certificates for Bifrost and copies the private key to
a predefined location.
Requirements
------------
This role requires:
- Ansible 2.9
Role Variables
--------------
generate_tls: Whether the generate new certificates or use existing ones.
If the lat... |
#include <stdint.h>
#include "syscfg/syscfg.h"
#include "os/os_trace_api.h"
#if MYNEWT_VAL(BLE_PHY_SYSVIEW)
static os_trace_module_t g_ble_phy_trace_mod;
uint32_t ble_phy_trace_off;
static void
ble_phy_trace_module_send_desc(void)
{
os_trace_module_desc(&g_ble_phy_trace_mod, "0 phy_set_tx cputime=%u usecs=%u")... |
Redis bit extented
=====
[](https://travis-ci.org/wotek/redis)
[](https://coveralls.io/r/wotek/redis?branch=master)
Redis data types layer over great Predis library.
|
import { inject } from '@cardstack/di';
import * as Sentry from '@sentry/node';
import { isBefore, subDays } from 'date-fns';
import { nowUtc } from '../utils/dates';
interface TaskResult {
status: 'success' | 'failure';
message: string;
}
export default class ScheduledPaymentOnChainCancelationWaiter {
prismaMa... |
using System;
using System.Net;
using Amazon.StorageGateway.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
namespace Amazon.StorageGateway.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response ... |
package com.cloud.vm;
import static org.junit.Assert.assertNull;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import javax.inject.Inject;
import javax.naming.ConfigurationException;
import org.apache.cloudstack.affinity.dao.AffinityGroupDomainMapDao;
import org.junit.Before;
import... |
<?php
class __BootstrapController extends __ActionController {
private $_minimum_environment_files = array('.htaccess', 'index.php', 'var');
public function defaultAction()
{
if( $this->prepareAndValidateBootstrapEnvironment(APP_DIR) &&
$this->doBootstrap(APP_DIR) ) {
echo "Cong... |
const { join } = require('path');
const getBaseKarmaConfig = require('../../../karma.conf');
module.exports = function (config) {
const baseConfig = getBaseKarmaConfig();
config.set({
...baseConfig,
coverageReporter: {
...baseConfig.coverageReporter,
dir: join(__dirname, '../../../coverage/libs... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null |
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [("orgs", "0024_populate_org_backend")]
operations = [
migrations.AlterField(
model_name="orgbackend",
name="api_token",
field=models.CharField(default="", help_text="Th... |
<bill session="110" type="h" number="259" updated="2009-01-08T17:16:18-05:00">
<status><introduced date="1167973200" datetime="2007-01-05"/></status>
<introduced date="1167973200" datetime="2007-01-05"/>
<titles>
<title type="short" as="introduced">Baby Abandonment Prevention Act of 2007</title>
<title type="of... |
// Vsevolod Ivanov
#include <stdlib.h>
#include <cstring>
#include <iostream>
#include <unistd.h>
#include <arpa/inet.h>
#include <sys/socket.h>
#include <gnutls/gnutls.h>
#include <gnutls/x509.h>
#include <assert.h>
#define CHECK(x) assert((x)>=0)
#define LOOP_CHECK(rval, cmd) \
do { \
rval = cmd; \
... |
package com.sun.tools.javac.processing;
import java.io.Closeable;
import java.io.File;
import java.io.PrintWriter;
import java.io.StringWriter;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.*;
import java.util.regex.*;
import javax.annotation.processing.*;
import javax.lang.model.Sour... |
require 'spec_helper'
describe "user_stories/index" do
before(:each) do
@user_story = FactoryGirl.create(:user_story, status: "inactive")
@another_user_story = FactoryGirl.create(:user_story, status: "active")
@project = FactoryGirl.create(:project)
view.stub!(current_project: @project)
... |
/*global use */
"ODSA strict";
// Search slideshow
$(document).ready(function () {
var av_name = "BSTsearchCON";
var config = ODSA.UTILS.loadConfig({"av_name": av_name}),
interpret = config.interpreter, // get the interpreter
code = config.code; // get the code object
var av = ... |
#import <XCTest/XCTest.h>
#import <XCTestBootstrap/XCTestBootstrap.h>
@interface FBTestConfigurationTests : XCTestCase
@end
@implementation FBTestConfigurationTests
- (void)testSimpleConstructor
{
NSUUID *sessionIdentifier = [[NSUUID alloc] initWithUUIDString:@"E621E1F8-C36C-495A-93FC-0C247A3E6E5F"];
FBTestC... |
import { createAction } from 'redux-actions';
import { createThunkAction } from 'utils/redux';
import isEmpty from 'lodash/isEmpty';
const getRegionsInit = createAction('getRegionsInit');
const getRegionsReady = createAction('getRegionsReady');
const getRegions = createThunkAction(
'getRegions',
includeGHGSources... |
{% extends "base.html" %}
{% import "bootstrap/wtf.html" as wtf %}
{% block title %}Profil{% endblock %}
{% block content %}
<div class="container">
<div class="row">
<div class="col-lg-offset-2 col-md-offset-1 col-md-10 col-lg-8 blanc corps_page">
<div id="profil_alerts">
<div class="alert alert-s... |
class CreateArticles < ActiveRecord::Migration
def change
create_table :articles do |t|
t.string :title
t.text :content
t.integer :author_id
t.boolean :published
t.timestamps
end
end
end
|
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta charset="UTF-8">
<title>CompositeSample - sap.ui.core</title>
<script id="sap-ui-bootstrap" data-sap-ui-libs="sap.m" data-sap-ui-theme="sap_belize" data-sap-ui-bindingSyntax="complex"
src="../../../../../../../../../res... |
layout: kanji
v4: 1079
v6: 1160
kanji: 扇
keyword: fan
elements: fan, door, one, ceiling, flag, feathers, wings
strokes: 10
image: E68987
on-yomi: セン
kun-yomi: おうぎ
permalink: /rtk/扇/
prev: 房
next: 炉
---
1) [<a href="http://kanji.koohii.com/profile/Stormchild">Stormchild</a>] 19-7-2006(227): It's insanely hot today... |
/**
** These files test the use of new instance expressions' enclosing
** instance pointers -- both with and without explicit enclosing
** instance pointers.
**/
class Top {
// no explicit enclosing instance ptr...
Top foo(int x) {
return new Top(); // normal 1.0 case
}
int TopLevel; //... |