text stringlengths 3 1.05M |
|---|
module Datacite
class Description < ActiveRecord::Base
belongs_to :resource, class_name: Datacite.resource_class.to_s
validates :description, :resource_id, presence: true
end
end
|
package com.lanjiang.figersland.adapter;
import android.content.Context;
import android.graphics.Bitmap;
import android.util.SparseArray;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;
/**
* Created by Lin ... |
require 'fileutils'
require 'yaml'
class AddZone::Base
attr_reader :addzone_conf
class ConfigureError < StandardError; end
class NamedCheckConfError < StandardError; end
class RNDCError < StandardError; end
def initialize(addzone_conf = nil)
if addzone_conf
@addzone_conf = addzone_conf
else
... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... |
这里记下遇到的一些 **Bugs**
## 弹出输入法后,页面无法自适应大小
在弹出输入法后,页面中的输入框一定会在输入面板的顶部。但这个是通过移动窗体完成的。就是让窗体移动到输入框刚好在虚拟键盘上方的位置。所以诸如 `MenuBar`,`ToolBar` 会移动到界面外。


原生的安卓应用,在弹出虚拟键盘时,界面可以自适应,且工具栏不会被弹走。
![native... |
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("Co... |
/* Layout helpers
----------------------------------*/
.ui-helper-hidden {
display: none;
}
.ui-helper-hidden-accessible {
border: 0;
clip: rect(0 0 0 0);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px;
}
.ui-helper-reset {
margin: 0;
padding: 0;
border: 0;
outlin... |
import { handleActions } from "redux-actions";
import * as actions from "techbikers/rides/actions";
const defaultState = {
registrationState: null
};
export default handleActions({
[actions.chargeUserForRide]: state => ({
...state,
registrationState: "processing"
}),
[actions.registrationFailure]: s... |
package info.hupel.isabelle.cli
import scala.concurrent._
import info.hupel.isabelle.System
object Build extends Command {
override def run(bundle: Bundle, args: List[String])(implicit ec: ExecutionContext): Future[Unit] = {
val built = System.build(bundle.env, bundle.configuration)
if (!built)
sys.... |
<?php defined('APPPATH') or exit('No direct script access allowed');
require_once( APPPATH.'vendor/sfYaml/sfYamlParser.php' );
require_once( APPPATH.'vendor/phpMarkdownExtra/markdown.php' );
class Item {
protected static $paths = array();
protected $content = NULL;
protected $path;
... |
package com.tyrfing.games.id17.houses.reputation;
import java.io.Serializable;
import com.tyrfing.games.id17.Util;
import com.tyrfing.games.id17.houses.House;
public class Reputation implements Serializable {
/**
*
*/
private static final long serialVersionUID = -5755308121382482097L;
public... |
@implementation RSFGeneric
@end
|
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.codeInsight.daemon.impl.quickfix;
import com.intellij.codeInsight.FileModificationService;
import com.intellij.codeInsight.daemon.impl.analysis.JavaHighlight... |
<?xml version="1.0" ?>
<configuration>
<fields>URL,PROJECT_NAME,DATE_REPT,GEN_CRIME,OBJECTID,Lat,Lon</fields>
<titlefield>PROJECT_NAME</titlefield>
<multiimagefield linkprefix="http://gislap134/Assets/Images/" linksuffix=""
nexttooltip="Next" prevtooltip="Prev">URL</multiimagefield>
<links/>
<lay... |
[openFrameworks](http://openframeworks.cc/) | [Documentation table of contents](table_of_contents.md)
Android
=======
The Android distribution of openFrameworks is setup to work with either the Eclipse IDE or experimentally with the newer Android Studio IDE. The projects are currently using a custom toolchain based o... |
/**
* @name MarkerClustererPlus for Google Maps V3
* @version 2.1.2 [May 28, 2014]
* @author Gary Little
* @fileoverview
* The library creates and manages per-zoom-level clusters for large amounts of markers.
* <p>
* This is an enhanced V3 implementation of the
* <a href="http://gmaps-utility-library-dev.google... |
@interface LampSetUpViewController : RootViewController
@property (nonatomic ,copy)NSString *lampId;
@property (nonatomic ,copy)NSString *sceneId;
@end
|
// ------------------------------------------------------------------------------
// Copyright (c) 2016 Goodgame Studios. All Rights Reserved.
//
// NOTICE: You are permitted to use, modify, and distribute this file
// in accordance with the terms of the license agreement accompanying it.
// ------------------------... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>PSErrorCode Constants Reference</title>
<link rel="stylesheet" href="../css/style.css">
<meta name="viewport" content="initial-scale=1, maximum-scale=1.4">
<meta name="generator" content="appledoc 2.2.1 (build 1334)">
</head>
<body class="appledoc">
<h... |
var stockValue = 0;
var updateStock;
var running = true;
var bankrupt = false;
var INTERVAL = 500;
var VALUE_WINDOW = 500;
var currentMarket = 1;
var noCongrats = true;
var initialCash = 250;
var sharesOwned;
var cash;
var netWorth;
var xVal;
var yVal;
var dps = []; // dataPoints
var chart;
function notify(message,... |
/**
* Decorators for general payload / response transformation between services/methods.
* @module transform
* @requires lodash
* @requires jsonschema
* @requires debug
*/
const debug = require('debug')('primavera:transform')
import jsonschema from 'jsonschema'
import _ from 'lodash'
/**
* Apply transforma... |
<?php include 'header.php'; ?>
<?php function updateEmployee(){
include 'dbConnect.php';
$employeeID = $_POST["employeeID"];
$salary = $_POST["salary"];
$endEmploy = $_POST["endEmploy"];
if (!empty($salary)) {
$query = "UPDATE `payroll` SET salary = '$salary' WHERE employee_id = '$employ... |
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/activity_main"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom="@dimen/acti... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using MoreLinq;
using System.Runtime.InteropServices;
namespace Colours
{
public partial class Color... |
module Spree
class Product < ActiveRecord::Base
cattr_accessor :search_scopes do
[]
end
def self.add_search_scope(name, &block)
self.singleton_class.send(:define_method, name.to_sym, &block)
search_scopes << name.to_sym
end
def self.simple_scopes
[
:ascend_by_upda... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace TypetalkSharp
{
public class TopicMessagesRoot
{
[JsonProperty(PropertyName = "team")]
public Team Team { get; set; }
[JsonProperty(Prop... |
import React, { Component, PropTypes } from 'react';
import styles from '../../../build/styles';
import { getCallbacks } from '../../helper/helper';
export default class Select extends Component {
static propTypes = {
children: PropTypes.node,
className: PropTypes.string,
style: PropTypes.object,
def... |
var config = require('config');
var os = require('os');
exports.index = function(req, res) {
res.render('index', {
title : 'Sashimi',
page : 'top'
});
};
exports.about = function(req, res) {
res.render('about', {
title : 'Sashimi - About',
page : 'about'
});
};
exports.framework = function(req, res) {
r... |
<?php
/* WebProfilerBundle:Router:panel.html.twig */
class __TwigTemplate_483052016a7af7656bc1f9b9c0e269371b93315d9469bbfe256e43273ec402cc extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = arr... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using System.Windows.Threading;
namespace WheatAndTurboReactors
{
class Ship
{
pu... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//----------------------------------------... |
from __future__ import print_function
from simcity.util import (Config, expandfilenames, issequence,
expandfilename)
import os
import tempfile
from nose.tools import assert_true, assert_false, assert_equals, assert_raises
def test_config_write_read():
fd, fname = tempfile.mkstemp()
... |
/**
* Automatically generated file. Please do not edit.
* @author Highcharts Config Generator by Karasiq
* @see [[http://api.highcharts.com/highcharts]]
*/
package com.highcharts.config
import scalajs.js, js.`|`
import com.highcharts.CleanJsObject
import com.highcharts.HighchartsUtils._
/**
* @note JavaScri... |
namespace mz
{
struct Room;
using room_pointer = std::shared_ptr<Room>;
struct Room
// it is assumed rooms do not have cyclic references
{
Room(const size_t &id_): id{id_} {}
size_t id; // identify room
room_pointer left {nullptr};
room_pointer up {nullptr};
... |
/*
* DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/tinderbox/Xr-Mozilla1.9-Release/Linux_2.6.18-53.1.13.el5_Depend/mozilla/dom/public/idl/events/nsIDOMMouseEvent.idl
*/
#ifndef __gen_nsIDOMMouseEvent_h__
#define __gen_nsIDOMMouseEvent_h__
#ifndef __gen_nsIDOMUIEvent_h__
#include "nsIDOMUIEvent.h"
#endif
/* Fo... |
layout: page
title: Silicon Holdings Award Ceremony
date: 2016-05-24
author: Eric Mendoza
tags: weekly links, java
status: published
summary: Integer nisi ex, rhoncus vitae commodo et, ultricies elementum metus.
banner: images/banner/leisure-04.jpg
booking:
startDate: 07/28/2017
endDate: 08/02/2017
ctyhocn: HERPA... |
|CLI Extension|Command Groups|
|---------|------------|
|az marketplaceordering|[groups](#CommandGroups)
## GROUPS
### <a name="CommandGroups">Command groups in `az marketplaceordering` extension </a>
|CLI Command Group|Group Swagger name|Commands|
|---------|------------|--------|
|az term|MarketplaceAgreements|[comm... |
using System;
using System.Collections.Generic;
using System.Linq;
class SumAdjacentEqualNumbers
{
static void Main()
{
List<double> inputInteger = Console.ReadLine()
.Split(new char[] { ' ' }, StringSplitOptions.RemoveEmptyEntries)
.Select(Double.Parse)
.ToList();
... |
class AddWeightToImages < ActiveRecord::Migration[5.1]
def change
add_column :images, :weight, :integer, default: 0
end
end
|
exports.viewResults = function(req, res){
res.render('results');
}; |
namespace VGS
{
class Loader
{
public:
bool LoadELF(System * const, char const * const);
};
} |
rdesktop hgate.us.to:1338 -g 1450x1250 -z -r sound:remote -x m -P -p <PASSWORD>
# Update all expired apt keys
for K in $(apt-key list | grep expired | cut -d'/' -f2 | cut -d' ' -f1); do sudo apt-key adv --recv-keys --keyserver keys.gnupg.net $K; done
# Matrix text scrolling effect in the terminal
echo -e "\e[1;... |
<?php namespace Sofa\Eloquence\Metable;
use InvalidArgumentException;
use Illuminate\Database\Eloquent\Collection;
use Sofa\Eloquence\Contracts\AttributeBag as AttributeBagContract;
class AttributeBag extends Collection implements AttributeBagContract
{
/**
* Create new AttributeBag.
*
* @param arr... |
static const DDLogLevel ddLogLevel = DDLogLevelVerbose;
#else
static const DDLogLevel ddLogLevel = DDLogLevelOff;
#endif
#endif
|
package org.apache.nifi.web.api.dto.search;
import io.swagger.annotations.ApiModelProperty;
import javax.xml.bind.annotation.XmlType;
import java.util.List;
/**
* The components that match a search performed on this NiFi.
*/
@XmlType(name = "componentSearchResult")
public class ComponentSearchResultDTO {
pri... |
$(function() {
$("#signup_button").click(function(){
$.ajax({
url: '/newUser/' + $("#signup_username").val() + '/' + $("#signup_password").val() + '/' + $("#signup_displayName").val(),
type: 'PUT',
success: function(result) {
console.log("CLIENT SIDE success! \n");
... |
package org.hibernate.test.criteria;
import javax.persistence.MappedSuperclass;
/**
* @author Strong Liu <stliu@hibernate.org>
*/
@MappedSuperclass
abstract class VersionedRecord implements java.io.Serializable {
Long recordVersion;
Boolean isDeleted;
}
|
.std_symbol_container .actions-top {
height: 70px;
}
.std_symbol_container .actions-top .el-button {
float: right;
background-color: #0287fe;
font-size: 14px;
margin: 15px 0;
}
.std_symbol_container .confirm_btn {
text-align: center;
}
.std_symbol_container .confirm_btn .el-button {
margin-top: 20px;
ma... |
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ChangeListManager">
<list default="true" id="1cafa003-d833-4997-ab65-ac5c62f0a934" name="Default" comment="" />
<ignored path="lynx.iws" />
<ignored path=".idea/workspace.xml" />
<option name="EXCLUDED_CONVERTED_TO_IGNORED" ... |
/* include file for rosserial Encoder example on PSoC4 "RosOnAStick"
*
*/
#ifndef UPDOWNCOUNT_H
#define UPDOWNCOUNT_H
extern "C" {
#include "project.h"
}
namespace UpDownCount {
extern void setup();
extern void loop();
} // namespace UpDownCount
#endif
|
package io.reflectoring.solid.lsp.paymentexample.redesigned.model;
public class PaymentResponse {
String identifier;
public PaymentResponse() {
}
public String getIdentifier() {
return identifier;
}
public void setIdentifier(String identifier) {
this.identifier = identifier;
... |
package Paws::MigrationHub::ImportMigrationTask;
use Moose;
has DryRun => (is => 'ro', isa => 'Bool');
has MigrationTaskName => (is => 'ro', isa => 'Str', required => 1);
has ProgressUpdateStream => (is => 'ro', isa => 'Str', required => 1);
use MooseX::ClassAttribute;
class_has _api_call => (isa => 'Str'... |
<!-- <div [formGroup]="form"> -->
<!-- <label [attr.for]="question.question">{{question.label}}</label> -->
<mat-form-field [formGroup]="form" class="question-full-width">
<textarea matInput placeholder={{question.question}} formControlName={{question.question}} id={{question.question}}></textarea>
</mat-form-field... |
package gl8080.lifegame.web.exception;
import javax.ws.rs.core.Response;
import javax.ws.rs.core.Response.Status;
import javax.ws.rs.ext.ExceptionMapper;
import javax.ws.rs.ext.Provider;
import gl8080.lifegame.logic.exception.NotFoundEntityException;
@Provider
public class NotFoundEntityExceptionMapper imp... |
import semver, { type SemVer } from "semver";
import { logPlugin } from "./debug";
import getOptionSpecificExcludesFor from "./get-option-specific-excludes";
import {
addProposalSyntaxPlugins,
removeUnnecessaryItems,
removeUnsupportedItems,
} from "./filter-items";
import moduleTransformations from "./module-tran... |
package sjcorbett;
import java.net.URL;
import java.util.Arrays;
import java.util.stream.Collectors;
import com.google.common.net.HttpHeaders;
import com.google.common.net.MediaType;
import io.vertx.core.AbstractVerticle;
import io.vertx.core.Vertx;
import io.vertx.core.http.HttpMethod;
import io.vertx.core.http.Htt... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Collections.Specialized;
using Xunit;
using Should;
namespace MicroMapper.UnitTests
{
public class CollectionMapping
{
public CollectionMapping()
{
SetUp();
}
... |
//Problem 2. Quoted text
//Create a string variable with quoted text in it.
//For example: `'How you doin'?', Joey said'.
var singleQuotes = '\'How you doin\'?\', Joey said.';
var doubleQuotes = "'How you doin'?', Joey said.";
var result = singleQuotes + '\n\r' + doubleQuotes;
console.log(result); |
/* The entire page */
#pageContent {
height: 85vh;
padding: 10px;
padding-top: 30px;
}
/* The three chunk columns of the page */
.sidebar, .midbar {
padding-left: 30px;
padding-right: 30px;
}
/* The midbar */
.midbar {
height:100%;
display: flex;
display: -webkit-flex; /* Safari */
flex-direction:column;
}... |
package com.google.cloud.tasks.v2beta3.samples;
// [START cloudtasks_v2beta3_generated_CloudTasks_PauseQueue_String_sync]
import com.google.cloud.tasks.v2beta3.CloudTasksClient;
import com.google.cloud.tasks.v2beta3.Queue;
import com.google.cloud.tasks.v2beta3.QueueName;
public class SyncPauseQueueString {
publi... |
<div class="row">
<div class="col-md-offset-1 col-md-8">
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">
<p>
Datos del usuario
<span class="header-button-group" ng-hide="isCreatingUser()">
<button
id="updateUserBtn"
... |
package by.bsuir.mpp.computershop;
import by.bsuir.mpp.computershop.config.PrimaryConfiguration;
import org.springframework.boot.SpringApplication;
public class ComputerShopMppApplication {
public static void main(String[] args) {
SpringApplication.run(PrimaryConfiguration.class, args);
}
}
|
/********************************************************************************
** Form generated from reading UI file 'sendcoinsdialog.ui'
**
** Created: Wed Mar 5 16:34:46 2014
** by: Qt User Interface Compiler version 4.8.1
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
**... |
using System.Threading;
using bv.common.Configuration;
using bv.common.Core;
using bv.model.Helpers;
namespace eidss.model.Model.Report
{
public abstract class FlexNodeVisitor
{
public abstract void Visit(FlexNodeReport node);
public static string CurrentFontName
{
... |
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<!--Parts from the iGEM Registry of Standard Biological Parts-->
<rsbpml>
<part_list>
<part>
<part_id>9853</part_id>
<part_name>BBa_I732423</part_name>
<part_short_name>I732423</part_short_name>
<part_short_desc>Promoter Family Member (U085O11+D050O22)</part_sho... |
package ashish.triggers.batterylowtrigger;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.util.Log;
/**
* BatteryLowTrigger is fired when the device battery level
* is below the given threshold.
*
* @au... |
module Tests.Types
( Config(..)
, TestM
, TestState(..)
)
where
import Data.Text (Text)
import Control.Monad.State.Lazy
import Control.Concurrent.MVar
import qualified Control.Concurrent.STM.TChan as STM
import Network.Mattermost.Types.Internal
import Network.Mattermost.Types (Session)
import Network.Mattermo... |
package org.wso2.carbon.identity.scim2.provider.resources;
import org.wso2.carbon.identity.scim2.common.impl.IdentitySCIMManager;
import org.wso2.carbon.identity.scim2.provider.util.SCIMProviderConstants;
import org.wso2.carbon.identity.scim2.provider.util.SupportUtils;
import org.wso2.charon3.core.exceptions.Charon... |
<?php
namespace Namecheap\Element\Collection;
use Sabre\XML\Reader;
class Errors extends AbstractCollectionElement
{
static public function deserializeXml(Reader $reader)
{
$element = new self();
$element->seed($reader);
return $element;
}
}
|
package org.geoscript
package workspace
import org.scalatest._, matchers._
import geometry._, geometry.builder._
import feature._, feature.schemaBuilder._
import projection._
class MemorySpec extends FunSuite with ShouldMatchers {
test("be able to create layers") {
1 === 1
// val schema = Schema("cities",
... |
"""
SoftLayer.tests.CLI.modules.tag_tests
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Tests for the user cli command
"""
from unittest import mock as mock
from SoftLayer.exceptions import SoftLayerAPIError
from SoftLayer import testing
class TagCLITests(testing.TestCase):
def test_list(self):
r... |
{% extends 'ignite_resources/pages/base.html' %}
{% block page_title %}WebGL Learning Lab | {% endblock %}
{% block page_id %}webgl{% endblock %}
{% block section_class %}learning-lab{% endblock %}
{% block page_files %}
<link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}resources/css/ignite_ll.css" />
<scri... |
@interface BHBlockTableStaticSectionCellDef : NSObject
@property (retain, nonatomic) NSString *cellName;
@property (assign, nonatomic) NSInteger cellId;
@end
|
FactoryGirl.define do
factory :comment do
body "Evento legal"
user nil
event nil
end
end
|
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>Tab... |
namespace OpenStack.Security.Authentication
{
using System;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using Rackspace.Threading;
/// <summary>
/// This class serves as the base class for <see cref="IAuthenticationService"/> implementations which only
... |
package level;
public class BasicSolidTile extends BasicTile {
public BasicSolidTile(int id, int x, int y, int tileColor, int color) {
super(id, x, y, tileColor, color);
this.solid = true;
}
}
|
#include "variable.h"
using namespace ShmFw;
|
<?php
namespace jdavidbakr\MailTracker\Tests;
use Illuminate\Support\Str;
use Illuminate\Support\Facades\Event;
use jdavidbakr\MailTracker\Model\SentEmail;
use jdavidbakr\MailTracker\RecordBounceJob;
use jdavidbakr\MailTracker\RecordDeliveryJob;
use jdavidbakr\MailTracker\RecordComplaintJob;
use jdavidbakr\MailTracke... |
#ifndef _KERNEL_ARCH_DATA_H
#define _KERNEL_ARCH_DATA_H
struct _kernel_arch { };
#endif /* _KERNEL_ARCH_DATA_H */
|
package org.araqne.logstorage.file;
import java.io.IOException;
import java.nio.ByteBuffer;
/**
* @since 2.2.0
* @author xeraph
*
*/
public interface Compression {
ByteBuffer compress(byte[] b, int offset, int limit) throws IOException;
void uncompress(byte[] output, byte[] b, int offset, int limit) throws I... |
class AddUserFkToWorkoutRecords < ActiveRecord::Migration
def change
add_column :workout_records, :user_id, :integer
end
end
|
var path = require('path')
var webpack = require('webpack')
module.exports = {
entry: './app/main.js',
output: {
path: path.resolve(__dirname, './dist'),
filename: 'build.js'
},
module: {
loaders: [
{
test: /\.vue$/,
loader: 'vue'
},
{
test: /\.js$/,
... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null |

[](https://www.npmjs.com/package/mutant-ng-translate)

NSString *placeholder;
- (void)setText:(NSString *)text;
- (NSString *)text;
@end
|
Dir["#{File.dirname(__FILE__)}/**/*.rb"].sort.each do |path|
require path
end
|
package org.oep.core.ssomgt.action;
public class ApplicationKeys {
public class SearchAttributes extends BaseApplicationAttributes {
}
public class AddEditAttributes extends BaseApplicationAttributes {
public static final String APP_CODE = "addEditAppCode";
public static final String APP_NAME = "addEditAppNa... |
<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>org.sonatype.nexus.plugins</groupId>
<artif... |
package travis
import (
"fmt"
"net/http"
)
type UsersInterface interface {
GetAuthenticated() (*User, *http.Response, error)
Get(uint) (*User, *http.Response, error)
Sync() (*http.Response, error)
}
// UsersService handles communication with the users
// related methods of the Travis CI API.
type UsersService st... |
import com.akivamu.gdx.CryptTextureAtlas;
import com.akivamu.gdx.crypto.Crypto;
import com.akivamu.gdx.crypto.SimpleXorCrypto;
import com.akivamu.gdx.exe.SimpleXorCryptoEncryptor;
import com.badlogic.gdx.ApplicationAdapter;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.backends.lwjgl.LwjglApplication;
import com... |
from __future__ import print_function
import time, sys, signal, atexit
from upm import pyupm_bmx055 as sensorObj
def main():
# Instantiate a BMP250E instance using default i2c bus and address
sensor = sensorObj.BMM150()
# For SPI, bus 0, you would pass -1 as the address, and a valid pin for CS:
# BMM1... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta http-e... |
<?xml version="1.0" encoding="utf-8"?>
<!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" xml:lang="en" lang="en">
<head>
<title>ActiveRecord::Store</title>
<meta http-equiv="Content-Type" conte... |
#ifdef USE_TI_FACEBOOK
#import "FacebookModule.h"
#import "TiBase.h"
#import "TiHost.h"
#import "TiBlob.h"
#import "TiUtils.h"
#import "TiApp.h"
#import "FBConnect/Facebook.h"
#import "TiFacebookRequest.h"
#import "TiFacebookDialogRequest.h"
#import "TiFacebookLoginButtonProxy.h"
/**
* Good reference for access_toke... |
package net.raumzeitfalle.niohttp.header;
public interface RequestHeaderField extends HeaderField {
}
|