text stringlengths 3 1.05M |
|---|
<?php
namespace cebe\markdown;
/**
* Markdown parser for the [initial markdown spec](http://daringfireball.net/projects/markdown/syntax).
*
* @author Carsten Brandt <mail@cebe.cc>
*/
class Markdown extends Parser
{
// include block element parsing using traits
use block\CodeTrait;
use block\HeadlineTrait;
us... |
namespace extensions {
// static
Feature::Platform Feature::GetCurrentPlatform() {
#if defined(OS_CHROMEOS)
return CHROMEOS_PLATFORM;
#elif defined(OS_LINUX)
return LINUX_PLATFORM;
#elif defined(OS_MACOSX)
return MACOSX_PLATFORM;
#elif defined(OS_WIN)
return WIN_PLATFORM;
#else
return UNSPECIFIED_PLATFORM;
#... |
#include "tensorflow/core/distributed_runtime/eager/eager_service_impl.h"
#include "absl/container/fixed_array.h"
#include "absl/memory/memory.h"
#include "absl/types/optional.h"
#include "tensorflow/c/c_api_internal.h"
#include "tensorflow/c/tf_status_helper.h"
#include "tensorflow/core/common_runtime/device_mgr.h"... |
class CharacterCorporationHistoryImporter < CharacterBaseImporter
def import!
esi.entries.each do |entry|
history = character.character_corporation_histories
.find_or_initialize_by(record_id: entry.record_id)
history.update!(entry.as_json)
end
end
def esi
@esi ||= EveOnline::ESI:... |
class BountyClaimEvent::BackerDisputed < BountyClaimEvent
end
|
define(function(require) {
var $ = require('jquery');
var toastr = require('./libs/toastr.min');
var colapsed;
var pinRight;
// Events and keypress handlers in the FabMo-Dashboard
/********** Layout Resize Functions **********/
var openDROPush = function() {
$('#right-menu').css(... |
#ifndef TENSORFLOW_COMPILER_AOT_CODEGEN_H_
#define TENSORFLOW_COMPILER_AOT_CODEGEN_H_
#include <string>
#include <vector>
#include "tensorflow/compiler/aot/compile.h"
namespace tensorflow {
namespace tfcompile {
// HeaderOpts specifies options for header-file generation.
struct HeaderOpts {
// The name of the g... |
/**
* oclazyload - Load modules on demand (lazy load) with angularJS
* @version v1.0.7
* @link https://github.com/ocombe/ocLazyLoad
* @license MIT
* @author Olivier Combe <olivier.combe@gmail.com>
*/
(function (angular, window) {
'use strict';
var regModules = ['ng', 'oc.lazyLoad'],
regInvokes = ... |
package net.francesbagual.github.eip.pattern.channel.invalidmessage.mdb;
import java.util.logging.Logger;
import javax.ejb.ActivationConfigProperty;
import javax.ejb.MessageDriven;
import javax.jms.JMSException;
import javax.jms.Message;
import javax.jms.MessageListener;
import javax.jms.ObjectMessage;
import net.fr... |
// Type definitions for oc.LazyLoad
// Project: https://github.com/ocombe/ocLazyLoad
// Definitions by: Roland Zwaga <https://github.com/rolandzwaga>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference path="../angularjs/angular.d.ts" />
declare namespace oc {
interface ILazyLoad {
... |
sampleTag`\xg` |
package com.gs.collections.codegenerator.maven;
import java.net.URL;
import java.net.URLClassLoader;
import java.util.Arrays;
import java.util.List;
import com.gs.collections.codegenerator.GsCollectionsCodeGenerator;
import org.apache.maven.plugin.AbstractMojo;
import org.apache.maven.plugin.MojoExecutionException;... |
package com.siyeh.ig.style;
import com.intellij.codeInspection.ProblemDescriptor;
import com.intellij.openapi.project.Project;
import com.intellij.psi.*;
import com.intellij.psi.util.PsiTreeUtil;
import com.intellij.psi.util.PsiUtil;
import com.intellij.util.IncorrectOperationException;
import com.siyeh.InspectionGad... |
'use strict';
/**
* @ngdoc directive
* @name ngCsp
*
* @element html
* @description
* Enables [CSP (Content Security Policy)](https://developer.mozilla.org/en/Security/CSP) support.
*
* This is necessary when developing things like Google Chrome Extensions or Universal Windows Apps.
*
* CSP forbids apps to u... |
import { moduleForComponent, test } from 'ember-qunit';
import hbs from 'htmlbars-inline-precompile';
moduleForComponent('ui-navbar', 'Integration | Component | bs navbar', {
integration: true
});
test('it renders', function(assert) {
// Set any properties with this.set('myProperty', 'value');
// Handle any act... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlServerCe;
using System.Threading;
using NUnit.Framework;
using Umbraco.Core;
using Umbraco.Core.Models.Rdbms;
using Umbraco.Core.Persistence;
using Umbraco.Tests.Services;
using Umbraco.Tests.TestHelpers;
using Ignore = NUnit.Frame... |
"""Basic message consumer example"""
import functools
import logging
import pika
from pika.exchange_type import ExchangeType
LOG_FORMAT = ('%(levelname) -10s %(asctime)s %(name) -30s %(funcName) '
'-35s %(lineno) -5d: %(message)s')
LOGGER = logging.getLogger(__name__)
logging.basicConfig(level=logging.I... |
@class SUHost;
@protocol SUUnarchiverDelegate;
@interface SUUnarchiver : NSObject
@property (copy, readonly) NSString *archivePath;
@property (copy, readonly) NSString *updateHostBundlePath;
@property (weak) id<SUUnarchiverDelegate> delegate;
+ (SUUnarchiver *)unarchiverForPath:(NSString *)path updatingHostBundlePat... |
package org.apache.camel.processor.onexception;
import org.apache.camel.ContextTestSupport;
import org.apache.camel.builder.RouteBuilder;
import org.junit.jupiter.api.Test;
public class OnExceptionCallSubRouteNoErrorHandlerTest extends ContextTestSupport {
@Test
public void testOnExceptionCallSubRouteNoErro... |
void * mavl_get_ptr(mavl_t tree, void * search)
{
void * result;
result = mavl_get(tree,&search);
if (result)
return *(void**)result;
return NULL;
}
|
/**
* Prints ComprehensionBlock, prints left and right.
*/
"use strict";
exports.__esModule = true;
exports.ComprehensionBlock = ComprehensionBlock;
exports.ComprehensionExpression = ComprehensionExpression;
function ComprehensionBlock(node, print) {
this.keyword("for");
this.push("(");
print.plain(node.left... |
/*****************************************************************************
* SkeletonRagdoll added by Mitch Thompson
* Full irrevocable rights and permissions granted to Esoteric Software
*****************************************************************************/
using UnityEngine;
using System.Collect... |
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ChangeListManager">
<list default="true" id="e486f3df-165d-4a0a-b2af-9b958b6c8af0" name="Default" comment="">
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml"... |
require 'test_helper'
class Adm::GaleriaTest < ActiveSupport::TestCase
# test "the truth" do
# assert true
# end
end
|
package dynamodbattribute
|
'use strict';
/**
* @file Embedded JavaScript templating engine.
* @author Matthew Eernisse <mde@fleegix.org>
* @author Tiancheng "Timothy" Gu <timothygu99@gmail.com>
* @project EJS
* @license {@link http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0}
*/
/**
* EJS internal functions.
*
... |
from jsonrpc import ServiceProxy
import sys
import string
# ===== BEGIN USER SETTINGS =====
# if you do not set these you will be prompted for a password for every command
rpcuser = ""
rpcpass = ""
# ====== END USER SETTINGS ======
if rpcpass == "":
access = ServiceProxy("http://127.0.0.1:5888")
else:
access = Ser... |
package com.intellij.codeInsight.template.macro;
import com.intellij.codeInsight.template.Expression;
import com.intellij.codeInsight.template.ExpressionContext;
import com.intellij.util.SystemProperties;
/**
* @author yole
*/
public class CurrentUserMacro extends SimpleMacro {
protected CurrentUserMacro() {
... |
module Sass
module Logger
module LogLevel
def self.included(base)
base.extend(ClassMethods)
end
module ClassMethods
def inherited(subclass)
subclass.log_levels = subclass.superclass.log_levels.dup
end
attr_writer :log_levels
def log_levels
... |
SELECT a FROM t1 WHERE r > -128 ORDER BY a |
FROM debian:jessie
MAINTAINER Walter Meyer <wgmeyer@gmail.com>
# PF_RING Version
ENV pf_ring_version 6.2.0-stable
# Setup environment
RUN apt-get -y update && apt-get -y \
install gcc-4.9 bc wget jq git make dpkg-dev module-init-tools && \
mkdir -p /usr/src/kernels && \
mkdir -p /opt/pfring && \
apt-get ... |
'use strict';
var packageInfo = require('../package.json');
var EventEmitter = require('events').EventEmitter;
var utillib = require('util');
var net = require('net');
var tls = require('tls');
var os = require('os');
var crypto = require('crypto');
var DataStream = require('./data-stream');
module.exports = SMTPConn... |
<!DOCTYPE html>
<html>
{% include head.html %}
<body id="page-top" class="index">
{% include header.html %}
{% include services.html %}
{% include portfolio_grid.html %}
{% include about.html %}
{% include team.html %}
{% include clients.html %}
{% include contact.html %}
{% in... |
lua_src_filename = ::File.basename(node['nginx']['lua']['url'])
lua_src_filepath = "#{Chef::Config['file_cache_path']}/#{lua_src_filename}"
lua_extract_path = "#{Chef::Config['file_cache_path']}/nginx-lua-#{node['nginx']['lua']['version']}"
remote_file lua_src_filepath do
source node['nginx']['lua']['url']
check... |
require 'test_helper'
class RemoteDataCashTest < Test::Unit::TestCase
def setup
# gateway to connect to Datacash
@gateway = DataCashGateway.new(fixtures(:data_cash))
@mastercard = CreditCard.new(
:number => '5473000000000007',
:month => 3,
:year => Date.today.year + 2,
... |
module Homebrew
def command
abort "This command requires a command argument" if ARGV.empty?
cmd = ARGV.first
cmd = HOMEBREW_INTERNAL_COMMAND_ALIASES.fetch(cmd, cmd)
if (path = internal_command_path cmd)
puts path
elsif (path = which("brew-#{cmd}") || which("brew-#{cmd}.rb"))
puts path... |
import { Component, OnInit, Output, EventEmitter } from '@angular/core';
import { ProductModel } from '../model/product-model';
import { ProductDatabaseService } from '../service/product-database.service';
@Component({
selector: 'app-product-list',
templateUrl: './product-list.component.html',
styleUrls: ['./pr... |
/**
* @file templates/chconf.h
* @brief Configuration file template.
* @details A copy of this file must be placed in each project directory, it
* contains the application specific kernel settings.
*
* @addtogroup config
* @details Kernel related settings and hooks.
* @{
*/
#ifndef _CHCONF_H_
... |
# Author: Jev Kuznetsov <jev.kuznetsov@gmail.com>
# License: BSD
"""
Toolset working with yahoo finance data
Module includes functions for easy access to YahooFinance data
"""
from datetime import datetime, date
import urllib.request
from pandas import DataFrame, Index, HDFStore, Panel
import numpy... |
DEBUG = True
TEMPLATE_DEBUG = DEBUG
ADMINS = (
# ('Your Name', 'your_email@example.com'),
)
MANAGERS = ADMINS
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
'NAME': '', # Or path to da... |
<?php
defined('C5_EXECUTE') or die("Access Denied.");
$tp = new TaskPermission();
if (!$tp->canAccessUserSearch()) {
die(t("You have no access to users."));
}
$cnt = Loader::controller('/dashboard/users/search');
$userList = $cnt->getRequestedSearchResults();
$users = $userList->getPage();
$pagination = $userList-... |
using System.Collections.Generic;
namespace System.ComponentModel.DataAnnotations
{
/// <summary>
/// Used to mark an Entity member as an association
/// </summary>
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = false,
Inherited = true)]
[Obsolete("This ... |
package kms
import (
"fmt"
"time"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/awsutil"
"github.com/aws/aws-sdk-go/aws/request"
"github.com/aws/aws-sdk-go/private/protocol"
"github.com/aws/aws-sdk-go/private/protocol/jsonrpc"
)
const opCancelKeyDeletion = "CancelKeyDeletion"
// CancelKeyDel... |
.trip-block {
display: none;
padding: 8px;
position: absolute;
text-align: center;
min-width: 100px;
border-radius: 3px; }
.trip-block:before {
border: solid transparent;
content: " ";
height: 0;
width: 0;
position: absolute; }
.trip-block.n:before, .trip-block.s:before {
border-... |
package org.apache.geode.test.junit.rules.serializable;
import static java.util.concurrent.TimeUnit.MILLISECONDS;
import static org.apache.geode.test.junit.rules.serializable.FieldSerializationUtils.readField;
import static org.apache.geode.test.junit.rules.serializable.FieldsOfTimeout.FIELD_LOOK_FOR_STUCK_THREAD;
im... |
"""
Copyright 2015 SmartBear Software
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... |
namespace boost {
namespace asio {
namespace detail {
#if defined(BOOST_ASIO_WINDOWS) || defined(__CYGWIN__)
typedef win_fd_set_adapter fd_set_adapter;
#else
typedef posix_fd_set_adapter fd_set_adapter;
#endif
} // namespace detail
} // namespace asio
} // namespace boost
#endif // !defined(BOOST_ASIO_WINDOWS_RUNTIM... |
require "formula"
class Libcanberra < Formula
homepage "http://0pointer.de/lennart/projects/libcanberra/"
head "git://git.0pointer.de/libcanberra"
url "http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.30.tar.xz"
sha1 "fd4c16e341ffc456d688ed3462930d17ca6f6c20"
depends_on "pkg-config" => :build
... |
import java.io.*;
interface A {
void close() throws Exception;
}
interface B {
void close() throws IOException;
}
interface C<T extends Exception> {
void close() throws T;
}
interface AB extends A, C, B {
<caret>
}
|
using System;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Reflection;
using System.Windows.Controls;
using System.Windows.Input;
namespace Gearset.Components.InspectorWPF {
public abstract class MethodCaller : INotifyPropertyChanged {
protected MethodInfo MethodInfo;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace M2SA.AppGenome.Data
{
/// <summary>
///
/// </summary>
/// <typeparam name="T"></typeparam>
/// <typeparam name="TId"></typeparam>
public interface IRepository<T, TId> where T : IEntity<TId>
{
... |
require 'selenium/webdriver/common/platform'
require 'socket'
module Selenium
module WebDriver
class SocketPoller
def initialize(host, port, timeout = 0, interval = 0.25)
@host = host
@port = Integer(port)
@timeout = Float(timeout)
@interval = interval
end
... |
<section xmlns="http://docbook.org/ns/docbook" version="5.0"
xml:id="pbds.test" xreflabel="Test">
<info><title>Testing</title></info>
<?dbhtml filename="policy_based_data_structures_test.html"?>
<!-- S01 regression -->
<section xml:id="pbds.test.regression">
<info><title>Regression</title></info>
<p... |
define(
"dojox/form/nls/hu/CheckedMultiSelect", ({
invalidMessage: "Legalább egy tételt ki kell választani.",
multiSelectLabelText: "{num} elem van kiválasztva"
})
);
|
package org.jetbrains.plugins.groovy.configSlurper;
import com.intellij.psi.CommonClassNames;
import com.intellij.psi.PsiElement;
import com.intellij.psi.PsiType;
import org.jetbrains.annotations.Nullable;
import org.jetbrains.plugins.groovy.extensions.GroovyMapContentProvider;
import org.jetbrains.plugins.groovy.lan... |
package org.apache.james.domainlist.api;
/**
* This interface should be implemented by services which offer domains for
* which email will accepted.
*/
public interface DomainList {
/**
* Return array of domains which should be used as localdomains. Return null
* if no domain is found.
*
... |
<!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_151) on Wed Dec 04 18:43:10 MST 2019 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class org.wildfly.s... |
<head>
<script type="application/json">{}</script>
</head>
|
"use strict";
(function(){
function init() {
}
function updateFromJson(obj) {
if (typeof obj === 'string') {
obj = JSON.parse(obj);
}
confirmApply(obj, function() {
Object.keys(obj).forEach(function(key) {
Espruino.Config.set(key, obj[key]);
});
});
}
function co... |
/*
* 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 distributed under t... |
package org.keycloak.subsystem.saml.as7;
import org.jboss.as.controller.AbstractBoottimeAddStepHandler;
import org.jboss.as.controller.OperationContext;
import org.jboss.as.controller.OperationFailedException;
import org.jboss.as.controller.ServiceVerificationHandler;
import org.jboss.as.server.AbstractDeploymentChai... |
/*
Copyright (c) 2008-2016 Pivotal Labs
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
di... |
class Problem
include Mongoid::Document
include Mongoid::Timestamps
CACHED_NOTICE_ATTRIBUTES = {
messages: :message,
hosts: :host,
user_agents: :user_agent_string
}.freeze
field :last_notice_at, type: ActiveSupport::TimeWithZone, default: proc { Time.zone.now }
field :first_notice_at,... |
package org.pentaho.di.trans.steps.excelinput;
import org.junit.Before;
import org.junit.ClassRule;
import org.junit.Test;
import org.pentaho.di.core.injection.BaseMetadataInjectionTest;
import org.pentaho.di.core.row.value.ValueMetaBase;
import org.pentaho.di.junit.rules.RestorePDIEngineEnvironment;
public class E... |
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { PostComponent } from './post.component';
describe('PostComponent', () => {
let component: PostComponent;
let fixture: ComponentFixture<PostComponent>;
beforeEach(async(() => {
TestBed.configureTestingModule({
declarati... |
<?php
/**
* @see Zend_Db_Adapter_Abstract
*/
require_once 'Zend/Db/Adapter/Abstract.php';
/**
* @see Zend_Db_Profiler
*/
require_once 'Zend/Db/Profiler.php';
/**
* @see Zend_Db_Select
*/
require_once 'Zend/Db/Select.php';
/**
* @see Zend_Db_Statement_Mysqli
*/
require_once 'Zend/Db/Statement/Mysqli.php';
... |
{-# LANGUAGE OverloadedStrings, DeriveGeneric #-}
module LogMan.LogEntry
( LogEntry(..)
, LogData
) where
import Data.Char (toLower)
import qualified Data.HashMap.Strict as HM
import GHC.Generics
import Data.Aeson
import Data.Aeson.TH
import qualified Data.ByteString.Lazy as LBS
import qualified Data... |
'use strict';
// MODULES //
var tape = require( 'tape' );
var aliases = require( '@stdlib/namespace/aliases' );
var DATA = require( './../data/data.json' );
var alias2standalone = require( './../lib' );
// TESTS //
tape( 'main export is a function', function test( t ) {
t.ok( true, __filename );
t.strictEqual(... |
NationBuilder
=============
`NationBuilder supports OAuth2`_ as their authentication mechanism. Follow these
steps in order to use it:
- Register a new application at your `Nation Admin panel`_ (define the `Callback
URL` to ``http://example.com/complete/nationbuilder/`` where ``example.com``
is your domain).
- F... |
from __future__ import with_statement
import threading
import sys
import signal
import time
import logging
from codebench.events import ThreadsafeEvent
from codebench import opencv
import scipy
logger = logging.getLogger(__name__)
def cvCreateImageAs(img):
return cv.cvCreateImage(cv.cvSize(img.width, img.height... |
import { Component, OnInit, OnChanges } from '@angular/core';
import { ActivatedRoute } from '@angular/router';
import { CatalogService } from './../../../services/catalog.service';
import { CatalogItem } from './../../../core/models/catalog-item.model';
import { SearchUtils } from './../../../utilities/search.utils'... |
describe('Angular url transformer', () => {
it('should', () => {});
});
|
/*
* ngDialog - easy modals and popup windows
* http://github.com/likeastore/ngDialog
* (c) 2013-2015 MIT License, https://likeastore.com
*/
(function (root, factory) {
if (typeof module !== 'undefined' && module.exports) {
// CommonJS
module.exports = factory(require('angular'));
} else if... |
<?hh // strict
namespace Facebook\HackCodegen;
interface ICodeBuilderRenderer {
/**
* Appends the code of this class to the builder
*/
public function appendToBuilder(HackBuilder $builder): HackBuilder;
public function render(?HackBuilder $builder = null): string;
}
|
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Linq;
using System.Linq.Expressions;
using Xunit;
namespace Tests.ExpressionCompiler.Lambda
{
public static unsafe class LambdaModuloTe... |
<!DOCTYPE html>
<html>
<head>
<title>CSS Parser - auto-close for unexpected EOF</title>
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<style>
div {}
div {}
</style>
</head>
<body>
<div id="qs"><i class="x"></... |
#include "../object.h"
#include "../lists.h"
#include "../modules.h"
#include "../rules.h"
#include "../variable.h"
#include "../native.h"
#include "../compile.h"
#include "../mem.h"
#include "../constants.h"
#include "string.h"
struct ps_map_entry
{
struct ps_map_entry * next;
LIST * key;
OBJECT * value... |
module OpenShip
class Sscc
@company_prefix
@extension_digit = "0"
def self.company_prefix
@company_prefix
end
def self.company_prefix=(prefix)
@company_prefix=prefix
end
def self.extension_digit
@extension_digit
end
def self.extension_digit=(digit)
@ex... |
"""Synchronize replicas for training."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from tensorflow.core.framework import types_pb2
from tensorflow.python.framework import ops
from tensorflow.python.ops import array_ops
from tensorflow.python.ops import... |
package scramblesuit
import (
"bytes"
"encoding/base32"
"encoding/json"
"errors"
"fmt"
"hash"
"io/ioutil"
"net"
"os"
"path"
"strconv"
"sync"
"time"
"git.torproject.org/pluggable-transports/obfs4.git/common/csrand"
)
const (
ticketFile = "scramblesuit_tickets.json"
ticketKeyLength = 32
ticketLengt... |
usage() {
cat <<EOF
Usage:
$(basename "$0") "/path/to/InstallESD.dmg" [/path/to/output/directory]
$(basename "$0") "/path/to/Install OS X [Mountain] Lion.app" [/path/to/output/directory]
Description:
Converts a 10.7/10.8 installer image to a new image that contains components
used to perform an automated installation... |
import createCache from '@emotion/cache';
// prepend: true moves MUI styles to the top of the <head> so they're loaded first.
// It allows developers to easily override MUI styles with other styling solutions, like CSS modules.
export default function getEmotionCache() {
return createCache({ key: 'css', prepend: tru... |
sed -i "s/-Dalluxio.master.journal.folder=.*//g" /alluxio/conf/alluxio-env.sh
echo 'alluxio.master.journal.folder=${alluxio.underfs.address}/alluxio/journal/' >> /alluxio/conf/alluxio-site.properties
|
/*!
* Qoopido.js library v3.6.4, 2015-4-29
* https://github.com/dlueth/qoopido.js
* (c) 2015 Dirk Lueth
* Dual licensed under MIT and GPL
*/
!function(t){window.qoopido.register("support/css/transform/3d",t,["../../../support","../transform"])}(function(t,s,r,o,e,n){"use strict";var p=t.support;return p.addTest("/css/t... |
@interface ViewController ()
@property (nonatomic) CAPSPageMenu *pageMenu;
@end
@implementation ViewController
- (void)viewDidLoad {
[super viewDidLoad];
self.title = @"PAGE MENU";
self.navigationController.navigationBar.barTintColor = [UIColor colorWithRed:30.0/255.0 green:30.0/255.0 blue:30.0/255.0... |
<!--[metadata]>
+++
title = "version"
description = "The version command description and usage"
keywords = ["version, architecture, api"]
[menu.main]
parent = "smn_cli"
weight=1
+++
<![end-metadata]-->
# version
Usage: docker version
Show the Docker version information.
-f, --format="" Format the o... |
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="pull_to_refresh_pull_label">画面を引っ張って…</string>
<string name="pull_to_refresh_release_label">指を離して更新…</string>
<string name="pull_to_refresh_refreshing_label">読み込み中…</string>
</resources>
|
namespace Apache.Ignite.Core.Impl.Common
{
/// <summary>
/// Fowler–Noll–Vo hash function.
/// </summary>
internal static class Fnv1Hash
{
/** Basis. */
public const int Basis = unchecked((int) 0x811C9DC5);
/** Prime. */
public const int Prime = 0x01000193;
... |
Mutant year Zero chracter sheet... http://www.modiphius.com/mutant.html
|
package fst
import (
"fmt"
"github.com/balzaczyy/golucene/core/util"
)
/*
Builds a minimal FST (maps an []int term to an arbitrary output) from
pre-sorted terms with outputs. The FST becomes an FSA if you use
NoOutputs. The FST is written on-the-fly into a compact serialized
format byte array, which can be saved to... |
using System;
namespace HaloOnline.Research.Core.Imports.Types
{
[Flags]
public enum ProcessCreationFlags : uint
{
ZeroFlag = 0x00000000,
CreateBreakawayFromJob = 0x01000000,
CreateDefaultErrorMode = 0x04000000,
CreateNewConsole = 0x00000010,
CreateNewProcessGroup =... |
package gallery.templates.contentful.lib;
import gallery.templates.contentful.App;
public class Intents {
private Intents() {
throw new AssertionError();
}
private static final String PACKAGE_NAME = App.get().getPackageName();
public static final String ACTION_RELOAD = PACKAGE_NAME + ".ACTION_RELOAD";
... |
A brief summary on `fetch` API.
https://codekult.github.io/fetch-api/
## Index
- Why a new API?
- Basic usage
- Response types, metadata and headers
- Streams
- Tasks, `.cancel` and `.finally`
- Further reading
|
<?php
include_once 'include/Webservices/QueryRelated.php';
function vtws_retrieve_related($id, $relatedType, $relatedLabel, $user) {
$query = 'SELECT * FROM ' . $relatedType;
return vtws_query_related($query, $id, $relatedLabel, $user);
}
|
package com.microsoft.azure.management.batchai.v2018_05_01;
import com.microsoft.azure.arm.collection.SupportsCreating;
import rx.Completable;
import rx.Observable;
import com.microsoft.azure.management.batchai.v2018_05_01.implementation.ClustersInner;
import com.microsoft.azure.arm.model.HasInner;
/**
* Type repr... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
require("angular");
var errorProcessor_1 = require("../utils/errorProcessor");
var validationCore_1 = require("../core/validationCore");
/**
* base service class for validation purposes.
*/
var ValidationService = /** @class */ (function () ... |
/*!
* Qoopido.js library v3.2.7, 2014-5-19
* https://github.com/dlueth/qoopido.js
* (c) 2014 Dirk Lueth
* Dual licensed under MIT and GPL
*/
!function(e){window.qoopido.register("support/element/video",e,["../../support"])}(function(e,o,t,i,n,r){"use strict";var p=e.support;return p.addTest("/element/video",function(e... |
package com.github.karamelsoft.testing.data.driven.testing.core;
import com.github.karamelsoft.testing.data.driven.testing.api.ActiveTester;
import com.github.karamelsoft.testing.data.driven.testing.api.InactiveTester;
import com.github.karamelsoft.testing.data.driven.testing.api.operations.Scenario;
import com.github... |
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="./testcase.xsl"?>
<test_definition>
<suite category="W3C/HTML5 APIs" name="tct-colors-css3-tests">
<set name="Colors" type="js">
<testcase component="W3C_HTML5 APIs/DOM, Forms and Styles/CSS Color Module Level 3" execution_type="a... |
begin;
select
r.year,
t.div_id as div,
o.div_id as div,
sum(case when r.team_score>r.opponent_score then 1 else 0 end) as won,
sum(case when r.team_score<r.opponent_score then 1 else 0 end) as lost,
sum(case when r.team_score=r.opponent_score then 1 else 0 end) as tied,
count(*)
from euroleague.results r
left join eur... |