text stringlengths 3 1.05M |
|---|
package com.cool.weather.swiperefresh.internal;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Matrix;
import android.graphics.drawable.Drawable;
import android.view.animation.Animation;
import android.view.animation.RotateAnimation;
import com.cool.weather.R;
import c... |
#pragma once
#include <aws/databrew/GlueDataBrew_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSMap.h>
#include <aws/databrew/model/Threshold.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/databrew/model/ColumnSelector.h>
#include <utility>
name... |
#ifndef Filter_h
#define Filter_h
#include "platform/PlatformExport.h"
#include "platform/geometry/FloatPoint3D.h"
#include "platform/geometry/FloatRect.h"
#include "platform/geometry/IntRect.h"
#include "platform/heap/Handle.h"
#include "wtf/RefCounted.h"
namespace blink {
class SourceGraphic;
class FilterEffect;... |
An sandbox app to discover Angular 2 |
import autobot
from .xmpp import XMPPService
import regex
# import hypchat
class HipChatService(XMPPService):
def __init__(self, config=None):
super().__init__(config)
self.mention_regexp = regex.compile('@\w+')
def _mention_parse(self, message):
mentions = []
if self._config[... |
/**
* @module ol/format/GPX
*/
import {inherits} from '../index.js';
import Feature from '../Feature.js';
import {includes} from '../array.js';
import {transformWithOptions} from '../format/Feature.js';
import XMLFeature from '../format/XMLFeature.js';
import {readString, readDecimal, readNonNegativeInteger, readDate... |
<?php
namespace Neonus\Microblog;
use Exception;
class Microblog
{
private $dataDirectory = '';
/**
* Constructor.
*
* @param string $dataDirectory Path to directory with post files.
* @return Null
*/
public function __construct($dataDirectory)
{
if (empty($dataDirectory))... |
package net.sf.mmm.util.lang.api.concern;
/**
* This interface is used to document the concern <em>security</em> and track special support that we offer for this
* purpose. In order not to reinvent the wheel, we do NOT create yet another security framework. Instead we suggest to
* use <a href="http://projects.spri... |
package io.core9.plugin.admin;
import io.core9.core.executor.Executor;
import io.core9.core.plugin.Core9Plugin;
public interface AdminDispatcher extends Core9Plugin, Executor {
}
|
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end
|
<?php
namespace Ck\Hackex\Command;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Ck\Hackex\Service\RandomUserService;
use Ck\Hackex\Service\HackexService;
class TestCommand extends Command
{
protected ... |
// XMLReaderAdapter.java - adapt an SAX2 XMLReader to a SAX1 Parser
// http://www.saxproject.org
// Written by David Megginson
// NO WARRANTY! This class is in the public domain.
// $Id: XMLReaderAdapter.java,v 1.2 2006/12/10 20:25:41 gnu_andrew Exp $
package org.xml.sax.helpers;
import java.io.IOException;
import j... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null |
@class NSString;
@class NSParagraphStyle;
@interface NSPasteboard (OAExtensions)
- (NSData *)dataForType:(NSString *)dataType stripTrailingNull:(BOOL)stripNull;
- (NSParagraphStyle *)paragraphStyleForType:(NSString *)type;
- (BOOL)setParagraphStyle:(NSParagraphStyle *)paragraphStyle forType:(NSString *)type;
@end
|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>equations: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.c... |
from tgbot import plugintest
from webtest import TestApp
from webtest.app import AppError
class WebserverTest(plugintest.PluginTestCase):
def setUp(self):
from sample_plugin import TestPlugin
from tgbot.webserver import wsgi_app
self.bot = self.fake_bot('123', plugins=[TestPlugin()])
... |
package com.github.ojdcheck.jazzy;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import com.github.ojdcheck.test.IClassDocTester;
import com.github.ojdcheck.test.ITestReport;
import com.github.ojdcheck.test.TestReport;
impo... |
using content::WebContents;
namespace prerender {
// Helper class to compute pixel-based stats on the paint progress
// between when a prerendered page is swapped in and when the onload event
// fires.
class PrerenderTabHelper::PixelStats {
public:
explicit PixelStats(PrerenderTabHelper* tab_helper) :
weak_f... |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>seq_packet_socket_service::get_option</title>
<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="../../../index.html" ti... |
Files:
`eia_getter`: Constructs time series of electricity load for each electric utility.
`elec_temp_join`: Joins utility service areas with temperature forcings based on location of major urban areas.
`get_util_eia_code`: Queries NREL api to determine EIA code for each utility service area.
`line_to_sub`: Matches... |
salt.beacons.aix_account
========================
.. automodule:: salt.beacons.aix_account
:members:
|
require File.expand_path '../helper.rb', __FILE__
class baseTest < MiniTest::Unit::TestCase
def setup
@base = Toggl::Base.new('abc','123')
end
def test_authorization_header
assert_match /Basic/,@base.get("/api/v8/me")[:request_headers]["Authorization"]
end
def test_get_method
@base.stub :reque... |
package com.mathprog.sgrauerg.mathprog;
import android.support.v17.leanback.widget.AbstractDetailsDescriptionPresenter;
public class DetailsDescriptionPresenter extends AbstractDetailsDescriptionPresenter {
@Override
protected void onBindDescription(ViewHolder viewHolder, Object item) {
Movie movie... |
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using Redis.Models;
using Steeltoe.CloudFoundry.Connector.Redis;
namespace Redis
{
public class Startup
{
... |
#include "lua.h"
#include "lauxlib.h"
int hslua_call_hs(lua_State *L);
int hslua_userdata_gc(lua_State *L);
int hslua_compare(lua_State *L, int index1, int index2, int op);
int hslua_concat(lua_State *L, int n);
int hslua_getglobal(lua_State *L, const char *name, size_t len);
int hslua_gettable(lua_State *L, int ... |
Copyright (C) 2016 Ivar Abrahamsen, http://flurdy.com
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, publ... |
You can Inject a Teleport package from any valid stream source into a MODX site using the following command:
php teleport.phar --action=Inject --profile=profile/mysite.profile.json --source=workspace/mysite_develop-120315.1106.30-2.2.1-dev.transport.zip
_NOTE: If the source is not within the workspace/ directory ... |
declare namespace JSData {
interface DSProvider {
defaults:DSConfiguration;
}
interface DS {
bindAll<T>(resourceName:string, params:DSFilterParams, scope:ng.IScope, expr:string, cb?:(err:DSError, items:Array<T & DSInstanceShorthands<T>>)=>void):Function;
bindOne<T>(resourceName:str... |
int rl_flock(FILE *fp, int type)
{
int fd = fileno(fp);
int locktype;
if (type == RLITE_FLOCK_SH) {
locktype = LOCK_SH;
} else if (type == RLITE_FLOCK_EX) {
locktype = LOCK_EX;
} else if (type == RLITE_FLOCK_UN) {
locktype = LOCK_UN;
} else {
return RL_UNEXPECTED;
}
// all documented error codes for flo... |
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_m... |
require 'helper'
class TestRegressionHeaderImage07 < Test::Unit::TestCase
def setup
setup_dir_var
end
def teardown
File.delete(@xlsx) if File.exist?(@xlsx)
end
def test_header_image07
@xlsx = 'header_image07.xlsx'
workbook = WriteXLSX.new(@xlsx)
worksheet = workbook.add_worksheet
... |
ACCEPTED
#### According to
Index Fungorum
#### Published in
null
#### Original name
Monilia tonge Mattlet
### Remarks
null |
import six
from heat.common import exception
from heat.common.i18n import _
from heat.engine import constraints
from heat.engine import function
from heat.engine import properties
from heat.engine import resource
class LaunchConfiguration(resource.Resource):
PROPERTIES = (
IMAGE_ID, INSTANCE_TYPE, KEY_N... |
package org.bds.lang;
import org.antlr.v4.runtime.tree.ParseTree;
import org.bds.run.BdsThread;
import org.bds.run.RunState;
import org.bds.util.Timer;
/**
* An "error" statement (quit the program immediately)
*
* @author pcingola
*/
public class Error extends Print {
public Error(BdsNode parent, ParseTree tree... |
package android.bluetooth.le;
import android.annotation.Nullable;
import android.bluetooth.BluetoothAdapter;
import android.bluetooth.BluetoothDevice;
import android.os.Parcel;
import android.os.ParcelUuid;
import android.os.Parcelable;
import java.util.Arrays;
import java.util.List;
import java.util.Objects;
impor... |
<resources>
<string name="app_name">TV</string>
<string name="browse_title"><![CDATA[Videos by Your Company]]></string>
<string name="related_movies">Related Videos</string>
<string name="vertical_grid_title"><![CDATA[Vertical Video Grid]]></string>
<string name="error">Error</string>
<string na... |
<!DOCTYPE html>
<!--
| Generated by Apache Maven Doxia Site Renderer 1.9.2 from org.apache.maven.plugins:maven-project-info-reports-plugin:3.0.0:distribution-management at 2020-04-14
| Rendered using Apache Maven Default Skin
-->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta ... |
from __future__ import absolute_import, print_function
import unittest
import logging
import bokeh.document as document
from bokeh.application import Application
from bokeh.application.spellings import FunctionHandler
from bokeh.client import pull_session, push_session, ClientSession
from bokeh.server.server import S... |
<?xml version="1.0" encoding="utf-8"?>
<Store xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="AtmelPackComponentManagement">
<ProjectComponents>
<ProjectComponent z:Id="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/">
<CApiVersion></CApiVersion>
<CBundle></CBundle>
<CClass>Devi... |
System.register(["@angular/router", "./login.component"], function (exports_1, context_1) {
"use strict";
var __moduleName = context_1 && context_1.id;
var router_1, login_component_1, routes, routing;
return {
setters: [
function (router_1_1) {
router_1 = router_1_1;... |
Release Process
====================
* * *
###update (commit) version in sources
bitcoin-qt.pro
contrib/verifysfbinaries/verify.sh
doc/README*
share/setup.nsi
src/clientversion.h (change CLIENT_VERSION_IS_RELEASE to true)
###tag version in git
git tag -s v0.8.7
###write release notes. git shortlog helps a ... |
package com.beatsportable.beats;
import java.util.Iterator;
import java.util.LinkedList;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.graphics.Rect;
import com.beatsportable.beats.GUIScore.*;
public class GUIHandlerOsu extends GUIHandler {
//private int noteAppearance;
private bo... |
<!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_74) on Tue Aug 01 07:19:26 CST 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>us.codecraft.webmagic.model ... |
.oo-ui-tool {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.oo-ui-tool > .oo-ui-tool-link > .oo-ui-tool-checkIcon {
display: none;
}
.oo-ui-tool .oo-ui-tool-link {
position: relative;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: bord... |
module AwsSqsMoniter
class TypedMessage
def initialize(message)
@message = message
end
def id
headers['id']
end
def type
headers['type']
end
def version
headers['version']
end
def body
hash['body']
end
def to_h
hash
end
priv... |
#ifndef GRPC_C_INTERNAL_UNARY_ASYNC_CALL_H
#define GRPC_C_INTERNAL_UNARY_ASYNC_CALL_H
#include <grpc_c/grpc_c.h>
#include "src/c/call_ops.h"
#include "src/c/client_context.h"
#include "src/c/server_context.h"
struct GRPC_client_async_response_reader {
GRPC_call_op_set init_buf;
GRPC_call_op_set meta_buf;
GRPC... |
import zwave.lobby
zwave.lobby.Lobby()
|
using System;
using System.Collections.Generic;
using System.Linq;
namespace TestConsole.OutputFormatting.Internal
{
/// <summary>
/// A union of the types that can be format values. Most types will be strings by the time they are placed in this class,
/// but more specialised types may also be specified ... |
FROM balenalib/kitra520-alpine:3.13-build
# remove several traces of python
RUN apk del python*
# http://bugs.python.org/issue19846
# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
ENV LANG C.UTF-8
# key 63C7CC90: public key "Simon McVittie <smcv@pseudorandom.... |
<?php
/**
* This makes our life easier when dealing with paths. Everything is relative
* to the application root now.
*/
chdir(dirname(__DIR__));
// Declines static file requests back to the PHP built-in webserver
if (php_sapi_name() === 'cli-server') {
$path = realpath(__DIR__ . parse_url($_SERVER['REQUEST_URI... |
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".CommentsActivity">
<include
android:id="@+id/toolbar"
layout="@layout/vi... |
package controllers
import db.{Authorization, RecommendationsDao, TokensDao, StaticUserProvider}
import io.flow.dependency.v0.models.RecommendationType
import io.flow.dependency.v0.models.json._
import io.flow.play.controllers.{AuthorizationImpl, FlowControllerComponents}
import io.flow.play.util.Config
import play.ap... |
<!--
@license
Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http:/... |
<?php
namespace yii\db\mysql;
use yii\db\Exception;
use yii\base\InvalidParamException;
/**
* QueryBuilder is the query builder for MySQL databases.
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @since 2.0
*/
class QueryBuilder extends \yii\db\QueryBuilder
{
/**
* @var array mapping from abstract column typ... |
<!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 Fri Nov 04 13:24:41 EDT 2016 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class org.wildfly... |
#import "SCGeometry.h"
#import <UIKit/UIKit.h>
@interface SCLineString : SCGeometry
@property(nonatomic) NSArray *points;
@end
|
#pragma once
#include <aws/connect/Connect_EXPORTS.h>
#include <aws/connect/ConnectRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/connect/model/PhoneNumberType.h>
#include <aws/connect/model/PhoneNumberCountryCode.h>
#include <utility>
name... |
Internet of Things solution for gathering data from different sensors
# License
[Apache Licence 2.0](http://www.apache.org/licenses/LICENSE-2.0)
Copyright 2015 Dmytro Khmelenko
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may ob... |
local common = require('test_scripts/WidgetSupport/common')
--[[ Local Variables ]]
local val = {
NEW = 1,
CURRENT = 2,
MISSING = 3,
MISSING_COLOR = 4,
INVALID_TYPE = 5,
EMPTY_VALUE = 6
}
local initial = { template = val.NEW, day = val.NEW, night = val.NEW, status = "SUCCESS" }
local testCases = {
[001]... |
package org.apache.druid.segment.incremental;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.google.common.collect.Lists;
import org.apache.druid.data.input.MapBasedInputRow;
import org.apache.druid.query.aggregation.CountAggregatorFactory;
import org.apache.druid.segment.CloserRule;
import or... |
<?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/maven-v4_0_0.xsd">
<!--
-->
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>or... |
package mx.itesm.logistics.crew_tracking.fragment;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.MenuItem;
import android.v... |
package com.leohacker.leetcode.Archived.ReverseInteger;
import org.junit.Test;
public class SolutionTest {
@Test
public void testReverse() throws Exception {
Solution solution = new Solution();
System.out.println(solution.reverse(123));
System.out.println(solution.reverse(120));
... |
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!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/html; charset=UTF-8" />
<title>Openi... |
var vapix = require('..');
var fs = require('fs');
var camera = vapix.createCamera({
address: '10.1.78.11',
port: '80',
username: 'FRC',
password: 'FRC'
});
camera.getImageResolution(function(err, data) {
if (err) throw err;
console.log(data);
}); |
PluginJob.configure do |config|
end
|
/*!
* Start Bootstrap - Creative Bootstrap Theme (http://startbootstrap.com)
* Code licensed under the Apache License v2.0.
* For details, see http://www.apache.org/licenses/LICENSE-2.0.
*/
html,
body {
width: 100%;
height: 100%;
}
body {
font-family: Merriweather,'Helvetica Neue',Arial,sans-serif;
}
... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null |
using System.Drawing;
using Facebook.Yoga;
using NUnit.Framework;
using System;
#if __IOS__
using NativeView = UIKit.UIView;
using CoreGraphics;
#endif
namespace Facebook.YogaKit
{
[TestFixture]
public class YogaKitTest
{
[Test]
public void TestUsesYoga()
{
var view = new NativeView();
Assert.False(vie... |
// <auto-generated />
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using Torshia.Data;
namespace... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>libhyps: 13 s 🏆</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="sty... |
package ru.stqa.pft.mantis.appmanager;
import org.eclipse.jetty.websocket.api.Session;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.selenium.firefox.FirefoxOptions;
import org.openqa.selenium.ie.InternetExplore... |
using System.IO.IsolatedStorage;
using System.Linq;
using NUnit.Framework;
using Westwind.Utilities.Configuration;
namespace Sonneville.Configuration.Test
{
[TestFixture]
public class ConfigStoreTests
{
private IsolatedStorageFile _isolatedStorageFile;
private ConfigStore _configStore;
... |
<HTML><HEAD>
<TITLE>Review for Clear and Present Danger (1994)</TITLE>
<LINK REL="STYLESHEET" TYPE="text/css" HREF="/ramr.css">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1 ALIGN="CENTER" CLASS="title"><A HREF="/Title?0109444">Clear and Present Danger (1994)</A></H1><H3 ALIGN=CENTER>reviewed by<BR><A HREF="... |
'''This is the urlconf for manipulation objects.'''
from django.conf.urls import *
from hypotheses import views
urlpatterns = patterns('',
url(r'^new/$', views.ManipulationCreate.as_view(), name="manipulation-new"),
url(r'^(?P<slug>[\w-]+)/$', views.ManipulationDetail.as_view(), name="manipulation-detail"),
ur... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Sign in</title>
<link rel="stylesheet" href="libs/bootstrap/css/bootstrap.min.css" />
<link rel="stylesheet" href="libs/bootstrap/css/bootstrap-theme.min.css" />
<... |
Inesc::Application.configure do
# Settings specified here will take precedence over those in config/application.rb.
# In the development environment your application's code is reloaded on
# every request. This slows down response time but is perfect for development
# since you don't have to restart the web ser... |
<!DOCTYPE html>
<html>
<head>
<title>computeLayout.js</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, target-densitydpi=160dpi, initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
<link rel="stylesheet" media="all" href="docco.... |
<!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... |
export const HELP_REQUESTED = 'HELP_REQUESTED'; |
package com.cookingfox.android.app_lifecycle.impl;
import com.cookingfox.android.app_lifecycle.api.manager.AppLifecycleManager;
import com.cookingfox.android.app_lifecycle.fixture.FirstApp;
import com.cookingfox.android.app_lifecycle.impl.manager.CrossActivityAppLifecycleManager;
import org.junit.Before;
import org.j... |
require 'json'
require 'rest-client'
module Nels
module Oauth2
class Client
def initialize(client_id, client_secret, redirect_uri, state)
@client_id = client_id
@client_secret = client_secret
@redirect_uri = redirect_uri
@state = state
end
def authorize_url
... |
QMainWindow{
background-color: white;
}
QLabel{
min-width: 110px;
}
QLineEdit{
min-width: 200px;
border: 1px solid #CCC;
height: 30px;
padding-left: 10px;
}
QPushButton{
background: #3498db;
color: #ffffff;
padding: 10px 20px 10px 20px;
border-radius: 6px;
}
QPushButton:hover {
background: #3cb0fd;
... |
using Speedioc.CodeGeneration;
using Speedioc.CodeGeneration.TemplateCodeGen;
using Speedioc.Core;
using Speedioc.Registration;
namespace Speedioc
{
/// <summary>
/// Convenience class that is used to obtain an instance of the default container builder.
/// </summary>
public static class DefaultContaine... |
package org.ehcache.sizeof.impl;
import org.ehcache.sizeof.SizeOf;
import org.ehcache.sizeof.filters.SizeOfFilter;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.lang.reflect.Array;
import java.lang.reflect.Field;
import java.lang.reflect.Modifier;
import java.util.Stack;
import static org.eh... |
!-------------------------------------------------------------------------------
! Copyright (c) 2019 FrontISTR Commons
! This software is released under the MIT License, see LICENSE.txt
!-------------------------------------------------------------------------------
!> \brief I/O and Utility
module hecmw_msg
! ... |
<?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>
<parent>
<groupId>io.su... |
from typing import Any, AsyncIterable, Callable, Dict, Optional, TypeVar
from urllib.parse import parse_qs, urljoin, urlparse
from azure.core.async_paging import AsyncItemPaged, AsyncList
from azure.core.exceptions import (
ClientAuthenticationError,
HttpResponseError,
ResourceExistsError,
ResourceNotF... |
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="build/css/all.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script>
</head>
<body ng-app="angular-application">
<div ui-view>
<... |
package com.datatorrent.stram;
import java.lang.annotation.Annotation;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.security.KerberosInfo;
import org.apache.hadoop.security.SecurityInfo;
import org.apache.hadoop.security.token.TokenIdentifier;
import org.apache.hadoop.security.token.TokenInf... |
package com.wbillingsley.handy.appbase;
trait PasswordLoginT {
val pwhash: Option[String]
val username: Option[String]
val email: Option[String]
}
case class PasswordLogin (
pwhash: Option[String] = None,
username: Option[String] = None,
email:Option[String] = None
) extends PasswordLoginT
|
namespace AngleSharp.Dom.Css
{
using AngleSharp.Dom.Events;
using System;
sealed class CssMediaQueryList : EventTarget, IMediaQueryList
{
readonly IMediaList _media;
Boolean _matched;
public event DomEventHandler Changed;
public CssMediaQueryList(IWindow window, IMedi... |
<?php
if(!defined("__IN_SYMPHONY__")) die("<h2>Error</h2><p>You cannot directly access this file</p>");
/*
License: MIT
*/
require_once (TOOLKIT . '/class.extensionmanager.php');
/**
*
* Symphony CMS leaverages the Decorator pattern with their <code>Extension</code> class.
* This class is a Facade that ... |
package org.springframework.cglib.proxy;
import java.lang.ref.WeakReference;
import java.lang.reflect.Constructor;
import java.lang.reflect.Field;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.security.ProtectionDomain;
import java.util.ArrayList;
import java.util.Ar... |
Rails.application.routes.draw do
resources :phase1s do
collection { post :import }
end
resources :phase1_results
resources :phase2s do
collection { post :import }
end
resources :phase2_results
root to: "phase1s#new"
devise_for :users
get '/users/index' => 'user#index'
end
|
package com.gemstone.gemfire.internal.cache.vmotion;
import java.util.Set;
import com.gemstone.gemfire.internal.cache.LocalRegion;
/**
* This interface is used by testing/debugging code to be notified of different
* events.
*/
public interface VMotionObserver {
/**
* This callback is called just before C... |
package abi44_0_0.expo.modules.av.video;
import android.annotation.SuppressLint;
import android.content.Context;
import android.graphics.Matrix;
import android.graphics.SurfaceTexture;
import android.util.Pair;
import android.view.Surface;
import android.view.TextureView;
import android.view.View;
import com.yqritc.s... |
package br.com.objectos.jabuticava.cnab;
import static java.util.Objects.requireNonNull;
import java.util.Objects;
import java.util.function.Supplier;
import br.com.objectos.core.lang.Preconditions;
import br.com.objectos.jabuticava.cnab.io.ColumnConversionException;
import br.com.objectos.jabuticava.cnab.io.FixedL... |
package com.amazonaws.services.cloudtrail.model;
import javax.annotation.Generated;
/**
* <p>
* This exception is thrown when the maximum number of trails is reached.
* </p>
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public class MaximumNumberOfTrailsExceededException extends com.amazonaws.servic... |
from __future__ import absolute_import
from textwrap import dedent
from importmagic.importer import Imports, get_update, update_imports
from importmagic.symbols import Scope
def test_get_update(index):
src = dedent("""
# header comment
import sys
print(os.unknown('/'))
""").... |