text stringlengths 3 1.05M |
|---|
.class public Lcom/android/internal/os/storage/ExternalStorageFormatter;
.super Landroid/app/Service;
.source "ExternalStorageFormatter.java"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/android/internal/os/storage/ExternalStorageFormatter$InternalStorageFormatterStrin... |
//
// VODValenbisiBike.h
// VBValenciaOpenData
//
// Created by Víctor Berga on 21/02/14.
// Copyright (c) 2014 VictorBerga.com. All rights reserved.
//
#import "VODParking.h"
/**
VODValenbisiBike
Concrete entity to represent Valenbisi's bikes data.
*/
@interface VODValenbisiBike : VODParking
@end
|
Async PHP with all the magic
|
<?php
namespace AppBundle\Form;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolver;
use Symfony\Component\Form\Extension\Core\Type\SubmitType;
class FeedbackType extends AbstractType
{
/**
* {@inheritdoc}
*/
... |
import { useSystemContext } from "v2/Artsy/SystemContext"
import { useEffect } from "react"
/**
* We need to listen to login / signup events from the inquiry form on the
* artwork page. If we detect a login event, attach a listener that then
* listens for a modal close event, and reload the page to sync user
* log... |
package com.android.multidexlegacytestapp.annotation;
@TestAnnotation(AnnotationValue.V1)
public class Annotated {
public void m() {
}
}
|
ProducerConsumerBounderBuffer
=============================
ProducerConsumerBounderBuffer, C implementation of Producer Consumer with Bounded queue.
This for Fun to understand pthread based mutext and condition based implemenation.
Feel Free add more complex use-cases.
/*********************************************... |
/*!
* Start Bootstrap - Grayscale Bootstrap Theme (http://startbootstrap.com)
* Code licensed under the Apache License v2.0.
* For details, see http://www.apache.org/licenses/LICENSE-2.0.
*/
// jQuery to collapse the navbar on scroll
function collapseNavbar() {
if ($(".navbar").offset().top > 50) {
$("... |
use std::convert::From;
use secp::{self};
use secp::key::SecretKey;
use checker;
use core::core::{Transaction, build};
use extkey::ExtendedKey;
use types::*;
use api;
/// Issue a new transaction to the provided sender by spending some of our
/// wallet
/// UTXOs. The destination can be "stdout" (for command line) or... |
<HTML><HEAD>
<TITLE>Review for Switchback (1997)</TITLE>
<LINK REL="STYLESHEET" TYPE="text/css" HREF="/ramr.css">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1 ALIGN="CENTER" CLASS="title"><A HREF="/Title?0119210">Switchback (1997)</A></H1><H3 ALIGN=CENTER>reviewed by<BR><A HREF="/ReviewsBy?Berge+Garabedian"... |
package dagger.internal.codegen;
import static com.google.common.base.CaseFormat.LOWER_CAMEL;
import static com.google.common.base.CaseFormat.UPPER_CAMEL;
import static com.google.common.base.Preconditions.checkState;
import static com.google.common.base.Verify.verify;
import static com.google.common.collect.Iterabl... |
// Parent class and utilities for tfprof_graph and tfprof_scope.
#ifndef THIRD_PARTY_TENSORFLOW_TOOLS_TFPROF_INTERNAL_TFPROF_SHOW_H_
#define THIRD_PARTY_TENSORFLOW_TOOLS_TFPROF_INTERNAL_TFPROF_SHOW_H_
#include <algorithm>
#include <string>
#include <vector>
#include "tensorflow/c/checkpoint_reader.h"
#include "ten... |
package com.yl.merchat.module.map;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import com.yl.merchat.R;
public class MapShowActivity extends AppCompatActivity {
private MapShowFragment mapShowFragment;
Bundle save... |
FILE(REMOVE_RECURSE
"CMakeFiles/inviwo-module-vectorfieldvisualization_pch"
"cotire/inviwo-module-vectorfieldvisualization_CXX_prefix.hxx.gch"
"cotire/inviwo-module-vectorfieldvisualization_CXX_prefix.hxx"
"cotire/inviwo-module-vectorfieldvisualization_CXX_prefix.cxx"
)
# Per-language clean rules from dependen... |
FROM balenalib/generic-ubuntu:disco-build
ENV NODE_VERSION 14.16.1
ENV YARN_VERSION 1.22.4
RUN for key in \
6A010C5166006599AA17F08146C2130DFD2497F5 \
; do \
gpg --keyserver pgp.mit.edu --recv-keys "$key" || \
gpg --keyserver keyserver.pgp.com --recv-keys "$key" || \
gpg --keyserver ha.pool.sks-keyservers.net... |
using System;
using NetRuntimeSystem = System;
using System.ComponentModel;
using NetOffice.Attributes;
namespace NetOffice.ExcelApi
{
/// <summary>
/// DispatchInterface Interior
/// SupportByVersion Excel, 9,10,11,12,14,15,16
/// </summary>
/// <remarks> Docs: <see href="https://docs.microsoft.com/en-us/offic... |
"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Refl... |
<?php
namespace DCarbone\PHPFHIRGenerated\DSTU2\FHIRElement;
use DCarbone\PHPFHIRGenerated\DSTU2\FHIRElement;
use DCarbone\PHPFHIRGenerated\DSTU2\PHPFHIRConstants;
use DCarbone\PHPFHIRGenerated\DSTU2\PHPFHIRTypeInterface;
/**
* A digital signature along with supporting context. The signature may be
* electronic/... |
angular.module('myApp.services')
.service('api', ['$http','storage','redirection','$location',
function($http,storage,redirection,$location) {
'use strict';
this.url = null;
this.getApiUrl = function () {
if (this.url !== null) {
return this.url;
}
var host = $location.host();
this.ur... |
#ifndef OLSONTZ_H
#define OLSONTZ_H
#include "unicode/utypes.h"
#if !UCONFIG_NO_FORMATTING
#include "unicode/basictz.h"
struct UResourceBundle;
U_NAMESPACE_BEGIN
class SimpleTimeZone;
/**
* A time zone based on the Olson database. Olson time zones change
* behavior over time. The raw offset, rules, presence... |
package master.jakhar.colorplus.logic;
/**
* Type of Symbol assigned to a GridBox.
* @author Pankaj Jakhar
*
*/
public enum SymbolType {
CROSS, CIRCLE, NONE;
}
|
"use strict";
var _ = require('underscore'),
$ = require('jquery'),
Backbone = require('../../shim/backbone'),
Marionette = require('../../shim/backbone.marionette'),
App = require('../app'),
drawViews = require('../draw/views'),
models = require('./models'),
geocoderTmpl = require('./templ... |
Making a simple python to sms app for pranking friends
|
var inherits = require('inherits')
var EventEmitter = require('events').EventEmitter
var now = require('right-now')
var raf = require('raf')
module.exports = Engine
function Engine(fn) {
if (!(this instanceof Engine))
return new Engine(fn)
this.running = false
this.last = now()
this._frame = 0... |
<?php
namespace BingAds\CampaignManagement;
/**
* Defines the base object of a criterion.
* @link http://msdn.microsoft.com/en-us/library/jj738613(v=msads.90).aspx Criterion Data Object
*/
class Criterion
{
/**
* The type of criterion. For more information, see Remarks.
* @var string
*/
publ... |
{% load staticfiles %}
<div class="promo">
<div class="top">
<div class="left">
Professional traders never put all their capital in just one timeframe, pair or strategy.
<br><br>
A collection of strategies lets you avoid risks while increasing your potential profits.
<br><br>
With our complete portfo... |
@extends('admin')
@section('content')
<div class="columns">
<div class="column is-three-quarters">
<div class="block">
<a href="{{ URL::to('/server/applicants/archived') }}" class="button is-danger">Archived Applicants</a>
</div>
</div>
</div>
<h1>List of Applicants</h1>
<table class="table">
<... |
package org.woehlke.btw17.kandidaten.oodm.service;
import lombok.extern.slf4j.Slf4j;
import org.junit.Assert;
import org.junit.FixMethodOrder;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.MethodSorters;
import org.springframework.beans.factory.annotation.Autowired;
import org.spring... |
package com.streamreduce.core;
import com.google.code.morphia.Datastore;
import com.streamreduce.connections.ConnectionProviderFactory;
import com.streamreduce.core.model.SystemInfo;
import com.streamreduce.core.service.ConnectionService;
import com.streamreduce.core.service.EmailService;
import com.streamreduce.cor... |
/**
* Created by kohlmannj on 3/30/15.
*/
/* jshint browser:true */
/* global define */
'use strict';
define(function(require) {
var UptimeApplication = require('UptimeApplication');
var instance = new UptimeApplication();
instance.start();
});
|
package com.helger.ubl21.codelist;
import com.helger.commons.annotation.CodingStyleguideUnaware;
import com.helger.commons.annotation.Nonempty;
import com.helger.commons.id.IHasID;
import com.helger.commons.lang.EnumHelper;
import com.helger.commons.name.IHasDisplayName;
import javax.annotation.Nonnull;
import javax.... |
var util = require('util');
var restUtils = require('./rest_utils.js');
var utils = require('./utils.js');
var sessionTable = require('./session_table.js');
var mountTable = require('./mount_table.js');
var syndicate = require('syndicate-storage');
function sessions_list(session_table, callback) {
utils.log_deb... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace Agiil.Domain.Tickets
{
public class AddRelationshipRequestToTicketRelationshipConverter
: IConvertsAddRelationshipRequestsToTicketRelationships
{
readonly ICreatesTicketRelationship relationshipFactory;
public IReadOnlyColle... |
using System;
using System.CodeDom.Compiler;
namespace ExportImportPromotion.StoreMarketingWebService
{
[GeneratedCode("System.Web.Services", "4.0.30319.1")]
public delegate void GetMostRecentListOperationCompletedEventHandler(object sender, GetMostRecentListOperationCompletedEventArgs e);
}
|
<?php
namespace Epsoftware\Auth;
use Epsoftware\Auth\Exceptions\AuthenticationException;
use Illuminate\Support\Facades\Config;
use Lcobucci\JWT\Signer\Hmac\Sha256;
use Lcobucci\JWT\ValidationData;
use Lcobucci\JWT\Builder;
use Lcobucci\JWT\Parser;
use DateInterval;
use DateTime;
class JWT
{
protected $ISS;
... |
layout: page
title: Brady 40th Anniversary
date: 2016-05-24
author: Nathan Curry
tags: weekly links, java
status: published
summary: Duis vestibulum scelerisque neque, suscipit laoreet nulla dignissim.
banner: images/banner/people.jpg
booking:
startDate: 02/26/2018
endDate: 03/02/2018
ctyhocn: SVRTNHX
groupCode... |
package daemon
import (
"reflect"
"sort"
"time"
"github.com/golang/glog"
"k8s.io/kubernetes/pkg/api"
"k8s.io/kubernetes/pkg/apis/extensions"
"k8s.io/kubernetes/pkg/client/cache"
"k8s.io/kubernetes/pkg/client/record"
client "k8s.io/kubernetes/pkg/client/unversioned"
"k8s.io/kubernetes/pkg/controller"
"k8s... |
# happiness-scss

[](https://github.com/dutchenkoOleg/gulp-happiness/blob/master/LICENSE)
[](http... |
{{<govuk_template}}
{{$head}}
{{>includes/elements_head}}
{{/head}}
{{$propositionHeader}}
{{>includes/propositional_navigation_alpha}}
{{/propositionHeader}}
{{$headerClass}}with-proposition{{/headerClass}}
{{$content}}
<header class="page-header">
<script>
function shownext() {
form2.style.displ... |
import Ember from 'ember';
export default Ember.Controller.extend({
isShowingModal: false,
isShowingLoading: false,
actions: {
goBack() {
this.send('hideModal');
this.transitionToRoute('friends.list');
},
hideModal() {
this.set('isShowingModal', ... |
<!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_25) on Fri Jun 05 10:51:18 EDT 2015 -->
<title>ICache (apache-cassandra API)</title>
<meta name="date" content="2015-06-05">
<link rel="stylesh... |
import sys
import os
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
#sys.path.insert(0, os.path.abspath('.'))
# -- General conf... |
'use strict';
module.exports = require('./lib'); |
<?php
class NomDegrees {
private $id;
private $shortName;
private $name;
private $description;
private $isActive;
function __construct() {}
public function getId(){
return $this->id;
}
public function setId($id){
$this->id = $id;
}
public function getShortName(){
return $this->... |
<!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" dir="ltr" lang="en-US">
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="googleb... |
package jk.cloud.app.model.domain;
import com.google.gson.annotations.SerializedName;
import java.io.Serializable;
/**
* Created by liuyongfeng on 2017/7/19.
*/
public class SystemMsg implements Serializable {
@SerializedName("id")
private long groupId;
private int levle;
private String name;
... |
from pyqtgraph.Qt import QtCore, QtGui
#from PyQt4 import QtCore, QtGui
#from PySide import QtCore, QtGui
#import Node as NodeMod
from Node import *
#import functions
from collections import OrderedDict
from pyqtgraph.widgets.TreeWidget import *
#from .. DataTreeWidget import *
import FlowchartTemplate
import Flowchart... |
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<link rel="SHORTCUT ICON" href="../../../../../img/clover.ico" />
<link rel="stylesheet" href="../../../../../aui/css/aui.min.css" media... |
<?php
class BV_View_Helper_ListHyperlink extends Zend_View_Helper_Abstract
{
public function listHyperlink($listId)
{
if($listId) {
$listModel = new Core_Model_Newsletter_List;
$listModel->setListId($listId);
$listRecord = $listModel->fetch();
$link = $t... |
package com.beanframework;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class TemplateApplication {
public static void main(String[] args) {
SpringApplication.run(TemplateApplication.class, args);
}
}
|
package com.b2international.snowowl.snomed.core.domain;
import static com.google.common.base.Strings.nullToEmpty;
import com.b2international.commons.exceptions.BadRequestException;
/**
* Enumerates organization types responsible for developing and maintaining RF2 release file content.
*
* @see <a href="https://... |
Tools In Action - D3js par l'exemple - BreizhCamp 2015
|
package codeine.db.mysql.connectors;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.atomic.AtomicInteger;
import javax.inject.Inject;
import org.apache.log4j.Logger;
import codeine.db.IAlertsDatabaseConnector;
import codeine.db.mysql.DbUtil... |
#ifndef SQLPP_INTEGRAL_EXPRESSION_OPERATORS_H
#define SQLPP_INTEGRAL_EXPRESSION_OPERATORS_H
#include <sqlpp11/expression_return_types.h>
#include <sqlpp11/operand_check.h>
#include <sqlpp11/expression_operators.h>
#include <sqlpp11/basic_expression_operators.h>
#include <sqlpp11/value_type.h>
#include <sqlpp11/type_... |
package com.percero.agents.sync.vo;
import org.codehaus.jackson.annotate.JsonTypeInfo;
@JsonTypeInfo(use=JsonTypeInfo.Id.CLASS, include=JsonTypeInfo.As.PROPERTY, property="cn")
public class SyncDataError {
private String code;
private String name;
private String message;
public String getCode() {
return code... |
#pragma once
#include <aws/marketplacecommerceanalytics/MarketplaceCommerceAnalytics_EXPORTS.h>
#include <aws/marketplacecommerceanalytics/MarketplaceCommerceAnalyticsErrors.h>
#include <aws/core/client/AWSError.h>
#include <aws/core/client/ClientConfiguration.h>
#include <aws/core/client/AWSClient.h>
#include <aws/... |
namespace Microsoft.Azure.Management.Compute.Models
{
using Microsoft.Rest;
using Microsoft.Rest.Serialization;
using Newtonsoft.Json;
using System.Linq;
/// <summary>
/// Describes a virtual machines scale set IP Configuration's
/// PublicIPAddress configuration
/// </summary>
[Res... |
from django.conf import settings
from .utils import import_model
def update_comment_count(sender, **kwargs):
comment = kwargs['comment']
entry_page = comment.content_object
comment_class = import_model(settings.PUPUT_COMMENTS_PROVIDER)(entry_page.blog_page, entry_page)
num_comments = comment_class.ge... |
<?php
/**
* @package WPSEO\Admin
*/
/**
* Adds the UI to change the primary term for a post
*/
class WPSEO_Primary_Term_Admin {
/**
* Constructor.
*/
public function __construct() {
add_action( 'admin_footer', array( $this, 'wp_footer' ), 10 );
add_action( 'admin_enqueue_scripts', array( $this, 'enqueu... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<title>PMD 5.2.2 Reference Package net.sourceforge.pmd.lang.dfa.report</title>
... |
require 'rubygems'
require 'bundler/setup'
require 'dotenv'
Dotenv.load
require 'fastenv'
require_relative '../../everything'
require_relative '../collection'
require_relative '../piece'
require_relative './to_html/output'
require_relative './to_html/template'
class Everything
class Collection
class ToHtml
... |
package org.oscm.app.v1_0.data;
import java.io.Serializable;
/**
* Provides information on an application instance. An instance is the set of
* items that an application provisions for a subscription.
*
*/
public class InstanceDescription extends InstanceStatus implements Serializable {
private static fin... |
module Visualization
class Boxplot < Base
attr_accessor :rows, :buckets, :category, :values, :filters, :type
attr_writer :dataset, :schema
def initialize(dataset=nil, attributes={})
@buckets = attributes[:bins].to_i
@category = attributes[:x_axis]
@values = attributes[:y_axis]
@fi... |
package org.elasticsearch.persistent;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.elasticsearch.action.ActionListener;
import org.elasticsearch.action.ActionRequest;
import org.elasticsearch.action.ActionType;
import org.elasticsearch.action.admin.cluster.node.tasks.... |
import org.shipkit.demo.UserService;
public class UserServiceImpl implements UserService {
@Override
public void persist(String username) {
System.out.println("persisted = " + username);
}
@Override
public String findByName(String name) {
return name;
}
}
|
namespace Lucene
{
/// This is the Porter stemming algorithm, coded up as thread-safe ANSI C by the author.
///
/// It may be be regarded as canonical, in that it follows the algorithm presented in Porter, 1980, An algorithm
/// for suffix stripping, Program, Vol. 14, no. 3, pp 130-137, only differing from it at t... |
#pragma once
#include <aws/compute-optimizer/ComputeOptimizer_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/compute-optimizer/model/ProjectedMetric.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;... |
ACCEPTED
#### According to
Interim Register of Marine and Nonmarine Genera
#### Published in
null
#### Original name
null
### Remarks
null |
Date: Wed, 15 Jan 1997 01:58:18 GMT
Server: NCSA/1.4.2
Content-type: text/html
Last-modified: Thu, 31 Oct 1996 02:11:25 GMT
Content-length: 721
<title>Research </title>
My research interests are
<ul>
<li> Fine-grained parallelism </li>
<li> Compiling for Multi-processor Systems </li>
<li> Distributed Systems </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_45) on Tue Apr 14 10:14:43 CEST 2015 -->
<TITLE>
R.string
</TITLE>
<META NAME="date" CONTENT="2015-04-14">
<LINK REL ="stylesheet" TYPE="text/css" ... |
package org.mutabilitydetector;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import static org.mutabilitydetector.MutabilityReason.ABSTRACT_TYPE_INHERENTLY_MUTABLE;
import static org.mutabilitydetector.MutabilityReason.ESCAPED_THIS_REFERENCE;
import static org.mutabilityde... |
<mat-toolbar class="app-navbar" color="primary">
<button mat-button mat-ripple routerLink="/">
<img alt="Angular-Spring-Starter" class="app-angular-logo" src="assets/image/angular-white-transparent.svg">
<span>Angular-Spring-Starter</span>
</button>
<div class="right">
<div fxFlex="1 1 auto" fxLayou... |
import { Alias } from '../../types';
import Client from '../client';
type Response = {
aliases: Alias[];
};
export default async function getAliases(
client: Client,
deploymentId?: string,
next?: number
) {
let aliasUrl = `/v3/now/aliases?limit=20`;
if (next) {
aliasUrl += `&until=${next}`;
}
cons... |
import random
import requests
import string
import base64
def encodeRequest(command, encoding):
if encoding == "base64":
command = base64.b64encode(command)
else:
print "Only Base64 is currently supported"
return command
def decodeResponse(response, encoding):
if encoding == "base64"... |
import type { ForegroundColor } from 'chalk';
declare type Color = typeof ForegroundColor;
export declare const getDisplayNameColor: (seed?: string | undefined) => Color;
export {};
|
package org.springframework.cloud.sleuth.event;
import java.util.ArrayList;
import lombok.Value;
import org.springframework.cloud.sleuth.Span;
import org.springframework.context.ApplicationListener;
/**
* @author Spencer Gibb
*/
@Value
public class ArrayListSpanAccumulator implements ApplicationListener<SpanRel... |
ANSIBLE_METADATA = {'metadata_version': '1.1',
'status': ['preview'],
'supported_by': 'community'}
DOCUMENTATION = '''
---
module: ce_bgp_af
version_added: "2.4"
short_description: Manages BGP Address-family configuration on HUAWEI CloudEngine switches.
description:
- Manage... |
<?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>
... |
package org.basex.io.random;
import java.io.*;
import java.util.*;
import org.basex.data.*;
import org.basex.io.*;
/**
* This abstract class defines the methods for accessing the
* database table representation.
*
* @author BaseX Team 2005-22, BSD License
* @author Christian Gruen
*/
public abstract class Tabl... |
package command
//go:generate go run $GOPATH/src/v2ray.com/core/common/errors/errorgen/main.go -pkg command -path App,Log,Command
import (
"context"
grpc "google.golang.org/grpc"
"v2ray.com/core"
"v2ray.com/core/app/log"
"v2ray.com/core/common"
)
type LoggerServer struct {
V *core.Instance
}
// RestartLogge... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
<link rel="stylesheet" href="css/style.css">
<title>PoleStar test</title>
</head>
<body>
<div class="container">
<div class="row -centered">
<section class="data-... |
package io.mats3.serial.json;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.lang.reflect.Constructor;
import java.lang.reflect.InvocationTargetException;
import java.nio.charset.StandardCharsets;
import java.util.concurrent.atomic.AtomicReference;
import java.util.zip.DataFormatExceptio... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="es">
<head>
<!-- Generated by javadoc (version 1.7.0_03) on Wed Jan 23 11:58:17 CET 2013 -->
<title>Overview List</title>
<meta name="date" content="2013-01-23">
<link rel="styleshe... |
from hashlib import md5
from app import db
ROLE_USER = 0
ROLE_ADMIN = 1
followers = db.Table('followers',
db.Column('follower_id', db.Integer, db.ForeignKey('user.id')),
db.Column('followed_id', db.Integer, db.ForeignKey('user.id'))
)
class User(db.Model):
id = db.Column(db.Integer, primary_key=True)
... |
<?xml version="1.0" encoding="UTF-8"?>
<!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" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title... |
package jp.co.bizreach
import java.util.concurrent.{Future => JFuture}
import scala.concurrent.{Future, Promise}
import com.amazonaws.AmazonWebServiceRequest
import com.amazonaws.handlers.AsyncHandler
package object ses {
/**
* Convert result to scala.concurrent.Future from java.util.concurrent.Future.
*... |
@extends('templates/layout', ['styles' => '/css/faq.css'])
@section('script')
@parent
<script type="text/javascript" src="{{ mix('/js/common.js') }}"></script>
<script type="text/javascript" src="{{ mix('/js/faq.js') }}"></script>
@stop
@section('navbar')
<ul class="nav navbar-nav navbar-nav-left">
... |
require 'aws-sdk-core'
require 'aws-sigv4'
require_relative 'aws-sdk-cloudwatch/types'
require_relative 'aws-sdk-cloudwatch/client_api'
require_relative 'aws-sdk-cloudwatch/client'
require_relative 'aws-sdk-cloudwatch/errors'
require_relative 'aws-sdk-cloudwatch/waiters'
require_relative 'aws-sdk-cloudwatch/resource'
... |
<!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_301) on Mon Mar 07 09:41:28 GMT 2022 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>com.github.rvesse.airline.t... |
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Net.Http.Headers;
using System.Web.Http.Description;
using InvestmentApi.Web.Areas.HelpPage.ModelDescriptions;
namespace InvestmentApi.Web.Areas.HelpPage.Models
{
/// <summary>
/// The model that represents an API displayed on... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null |
/* Extend: base */
if (!String.prototype.trim) {
String.prototype.trim = function () {
return this.replace(/^\s+|\s+$/g, '');
};
}
if (!String.prototype.startsWith) {
String.prototype.startsWith = function (string) {
return this.substr(0, string.length) === string;
};
}
if (!String.p... |
const qs = require('querystring')
const loaderUtils = require('loader-utils')
const { compileTemplate } = require('@vue/component-compiler-utils')
// Loader that compiles raw template into JavaScript functions.
// This is injected by the global pitcher (../pitch) for template
// selection requests initiated from vue f... |
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/common_checkbox1_checked" android:state_checked="true"/>
<item android:drawable="@drawable/common_checkbox1_unchecked" android:state_checked="false"/>
<item androi... |
<!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_27) on Wed Nov 21 16:03:52 EST 2012 -->
<TITLE>
org.pentaho.di.ui.trans.steps.elasticsearchbulk Class Hierarchy
</TITLE>
<META NAME="date" CONTENT="... |
process.chdir(__dirname)
require('dotenv').config({path: './tweets.env'})
const Twit = require('twit')
const Channel = require('async-csp').Channel
const pg = require('pg')
const twitter = new Twit({
consumer_key: process.env.TWITTER_API_KEY,
consumer_secret: process.env.TWITTER_API_SECRET,
access_token: process.... |
<?php namespace Excodus\TranslateExtended\Components;
use Cms\Classes\ComponentBase;
use RainLab\Translate\Components\LocalePicker;
use RainLab\Translate\Models\Locale as LocaleModel;
use RainLab\Translate\Classes\Translator;
class ExtendedLocalePicker extends LocalePicker
{
public function componentDetails()
... |
package autoApi.java.xserver.autoapi.dto;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.util.Map;
import java.util.Set;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import autoApi.java.xserver.autoapi.constant.CachedConstant;
import... |
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include <tvm/runtime/container/array.h>
#include <tvm/runtime/container/string.h>
#include <tvm/runtime/module.h>
#include <tvm/tir/usmp/utils.h>
using ::testing::HasSubstr;
namespace tvm {
namespace codegen {
runtime::Module InterfaceCCreate(std::string module_na... |
package sgw
//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
//distribut... |