code stringlengths 4 1.01M | language stringclasses 2
values |
|---|---|
package db;
import db.*;
public class test {
public static void main(String[] args) {
// TODO Auto-generated method stub
Database.getInstance().register("111", "22");
// Database.getInstance().login("111", "22");
}
}
| Java |
# XHCustom
XHCustom
| Java |
:- module(
jwt_enc,
[
jwt_enc/4 % +Header, +Payload, ?Key, -Token
]
).
/** <module> JSON Web Tokens (JWT): Encoding
@author Wouter Beek
@version 2015/06
*/
:- use_module(library(apply)).
:- use_module(library(base64)).
:- use_module(library(sha)).
:- use_module(library(jwt/jwt_util)).
%! jwt_enc(+Hea... | Java |
# jsCommon
common javascript functionality.
| Java |
import java.security.Security;
import java.util.Base64;
import org.bouncycastle.crypto.BlockCipher;
import org.bouncycastle.crypto.BufferedBlockCipher;
import org.bouncycastle.crypto.engines.RijndaelEngine;
import org.bouncycastle.crypto.modes.CBCBlockCipher;
import org.bouncycastle.crypto.paddings.PKCS7Padding;
impor... | Java |
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("03... | Java |
#pragma once
#include "cinder/app/App.h"
namespace reza { namespace paths {
bool createDirectory( const ci::fs::path& path );
bool createDirectories( const ci::fs::path& path );
void createAssetDirectories();
ci::fs::path getWorkingPath();
ci::fs::path getPath( std::string path = "" );
ci::fs::path getPresetsPat... | Java |
function lessThan (a, b) {
return a < b
}
function main () {
for (var i = 0; i < 10000; i++) {
lessThan(1, 0x7fffffff)
}
for (var i = 0; i < 10000; i++) {
lessThan(1, Infinity)
}
for (var i = 0; i < 10000; i++) {
lessThan(1, 0x7fffffff)
}
}
main()
| Java |
Netcat-like command agent for MCollective
=========================================
Why?
----
Do you need to send commands to a daemon in plaintext over TCP? I do :-)
That is the only purpose after this agent plugin, to be able to send
commands in plaintext to some daemons.
How does it work?
-----------------
Simpl... | Java |
<div class="dash-footer container">
<div class="row">
<div class="col-lg-12">
<hr>
<p class="text-muted credit text-right">Powered by <a href="https://github.com/Runbook" target="_blank">Runbook</a>. All Rights Reserved.</p>
</div>
</div>
</div>
<!-- Bootstrap core JavaScript
=======... | Java |
/*!
* hybridify-all <https://github.com/hybridables/hybridify-all>
*
* Copyright (c) 2015 Charlike Mike Reagent, contributors.
* Released under the MIT license.
*/
'use strict'
var reduce = require('object.reduce')
var hybridify = require('hybridify')
/**
* > Hybridifies all the selected functions in an object... | Java |
/*! p5.dom.js v0.3.3 May 10, 2017 */
/**
* <p>The web is much more than just canvas and p5.dom makes it easy to interact
* with other HTML5 objects, including text, hyperlink, image, input, video,
* audio, and webcam.</p>
* <p>There is a set of creation methods, DOM manipulation methods, and
* an extended p5.Eleme... | Java |
<?php
namespace Nur\Database;
use Illuminate\Database\Eloquent\Model as EloquentModel;
/**
* @mixin \Illuminate\Database\Query\Builder
*/
class Model extends EloquentModel
{
/**
* Create Eloquent Model.
*
* @param array $attributes
*
* @return void
*/
function __construct(arra... | Java |
module Miro
class DominantColors
attr_accessor :src_image_path
def initialize(src_image_path, image_type = nil)
@src_image_path = src_image_path
@image_type = image_type
end
def to_hex
return histogram.map{ |item| item[1].html } if Miro.histogram?
sorted_pixels.collect { |pix... | Java |
<?php
include_once('Msidcalendar_LifeCycle.php');
class Msidcalendar_Plugin extends Msidcalendar_LifeCycle {
/**
* See: http://plugin.michael-simpson.com/?page_id=31
* @return array of option meta data.
*/
public function getOptionMetaData() {
// http://plugin.michael-simpson.com/?pa... | Java |
---
layout: blog_by_tag
tag: rc
permalink: /search/label/rc.html
---
| Java |
<div class="container-fluid">
<div class="page-content">
<div class="portlet-body form">
<!-- BEGIN FORM-->
<form action="<?php echo base_url(); ?>User/user_dashboard/editorginfo" method="POST" role="form" class="horizontal-form">
<div class="form-body">
... | Java |
import {Server, Config} from "./server";
import * as path from "path";
/**
* Load configuration file given as command line parameter
*/
let config: Config;
if (process.argv.length > 2) {
const configPath = path.join(__dirname, process.argv[2]);
console.info("loading configuration file: " + configPath);
config... | Java |
import { createStore } from '@utils/store.utils';
import placeholderImage from '../images/placeholder.jpeg';
import { getPhotoUrl, getPrefetchedPhotoForDisplay } from './api';
import { getLocalPhotoPath, getRandomLocalPhoto } from './photos.local';
import Settings from './settings';
export const getStateObject = (forc... | Java |
<!DOCTYPE html>
<!--[if lt IE 9]><html class="no-js lt-ie9" lang="en" dir="ltr"><![endif]-->
<!--[if gt IE 8]><!-->
<html class="no-js" lang="en" dir="ltr">
<!--<![endif]-->
<!-- Usage: /eic/site/ccc-rec.nsf/tpl-eng/template-1col.html?Open... | Java |
using System;
using System.ComponentModel;
using System.Reactive.Linq;
using System.Reactive.Subjects;
namespace Moen.KanColle.Dentan.ViewModel
{
public abstract class ViewModel<T> : ModelBase, IDisposable
where T : ModelBase
{
public T Model { get; private set; }
public IConnectableO... | Java |
import {Component} from 'react';
import {reduxForm} from 'redux-form';
import './CreateTodoForm.styl';
class CreateTodoForm extends Component {
render() {
return (
<form className="create-todo-form" onSubmit={this.props.handleSubmit} autoComplete="off">
<input type="text" placeholder="Todo text...... | Java |
require 'spec_helper'
describe SK::GameObjectManager do
it "can create a game_object with a name" do
expect(SK::GameObjectManager.new).to respond_to(:create).with(1).argument
end
it "can not create a game_object without a name" do
expect(SK::GameObjectManager.new).to_not respond_to(:create).with(0).arguments
... | Java |
### 2018-11-14
#### python
* [s0md3v/XSStrike](https://github.com/s0md3v/XSStrike): Most advanced XSS detection suite.
* [google/uis-rnn](https://github.com/google/uis-rnn): This is the library for the Unbounded Interleaved-State Recurrent Neural Network (UIS-RNN) algorithm, corresponding to the paper Fully Supervised... | Java |
CREATE OR REPLACE FUNCTION ts.updatechroncontrolnotes(_chroncontrolid integer, _notes character varying DEFAULT NULL::character varying)
RETURNS void
LANGUAGE sql
AS $function$
UPDATE ndb.chroncontrols
SET notes = _notes
WHERE chroncontrolid = _chroncontrolid
$function$
| Java |
---
layout: post
date: 2017-01-17
title: "Sherri Hill Prom Dresses Style 50075 Sleeveless Floor-Length Ballgown"
category: Sherri Hill
tags: [Sherri Hill ,Sherri Hill,Ballgown,Halter,Floor-Length,Sleeveless]
---
### Sherri Hill Prom Dresses Style 50075
Just **$609.99**
### Sleeveless Floor-Length Ballgown
<table><t... | Java |
---
layout: page
title: Snow Lotus Chemical Award Ceremony
date: 2016-05-24
author: Lisa Hunter
tags: weekly links, java
status: published
summary: Mauris dapibus interdum quam, in hendrerit mi consectetur non.
banner: images/banner/meeting-01.jpg
booking:
startDate: 08/10/2018
endDate: 08/14/2018
ctyhocn: MERCTH... | Java |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>User agent detail - Lenovo-A269i/S001 Linux/3.4.5 Android/2.3.6 Release/06.02.2013 Browser/AppleWebKit533.1 Profile/MIDP-2.0 Configuration/CLDC-1.1 Mobile Safari/533.1 Mozilla/5.0 (Linux; U; Android 2.3.6; )</title>
... | Java |
module DataMapper
# :include:/QUICKLINKS
#
# = Types
# Provides means of writing custom types for properties. Each type is based
# on a ruby primitive and handles its own serialization and materialization,
# and therefore is responsible for providing those methods.
#
# To see complete list of supported... | Java |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>unimath-ktheory: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap... | Java |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>color: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" ... | Java |
Framework 4.6
properties {
$rootNow = Resolve-Path .
$nugetexe = "$rootNow/buildTools/nuget.exe"
$mahuaDownloadTempDir = "$( $env:TEMP )\Newbe\Newbe.Mahua\Mahua2.Asset"
$mahuaFilesJson = "mahua.files.json"
}
function Get-PlartformName
{
if ((Test-Path "$rootNow/CQA.exe") -or (Test-Path "$rootNow/C... | Java |
package com.jgrillo.wordcount.api;
import com.fasterxml.jackson.core.JsonFactory;
import com.fasterxml.jackson.core.JsonGenerator;
import com.fasterxml.jackson.core.JsonParser;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.ObjectReader;
import com.fasterxml.jackson.databind.... | Java |
namespace Archient.Razor.TagHelpers
{
using Microsoft.AspNet.Razor.Runtime.TagHelpers;
using Microsoft.AspNet.Razor.TagHelpers;
[TagName("asp-if-authenticated")]
[ContentBehavior(ContentBehavior.Modify)]
public class AuthenticatedUserTagHelper : ConditionalDisplayTagHelperBase
{
protec... | Java |
[mol_plot_fill] {
stroke: none;
stroke-width: 0;
opacity: .1;
fill: currentColor;
pointer-events: none;
}
[mol_plot_fill_sample] {
opacity: .1;
background: currentColor;
position: absolute;
bottom: 0;
top: .75em;
left: 0;
right: 0;
}
| Java |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>monae: 5 m 47 s</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="styl... | Java |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>string_kind</title>
<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../index.html" title="Chapter 1.... | Java |
---
layout: post
title: "Post election update: Will the German parliament have a gigantic size?"
cover:
date: 2021-09-27 10:20:00
categories: r
tags: [R, RTutor, shiny]
---
This is just a short update to [my previous post](http://skranz.github.io/r/2021/09/24/bundestag2021.html). Bundestag elections are over and acc... | Java |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>graph-theory: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.mi... | Java |
/**
* 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... | Java |
#
# Node.js v0.11.x Dockerfile
# https://github.com/hden/nodejs-v0.11
#
FROM dockerfile/python
MAINTAINER Haokang Den <haokang.den@gmail.com>
ENV PATH $HOME/.nodebrew/current/bin:$PATH
RUN cd /data && \
curl -L git.io/nodebrew | perl - setup && \
nodebrew install-binary v0.11.13 && \
nodebrew use v0.11.1... | Java |
<?php
/**
Telerivet_ScheduledMessage
Represents a scheduled message within Telerivet.
Fields:
- id (string, max 34 characters)
* ID of the scheduled message
* Read-only
- content
* Text content of the scheduled message
* Read-only
... | Java |
import React, { useState, useRef } from 'react';
import { computeOutOffsetByIndex, computeInOffsetByIndex } from './lib/Util';
// import { SVGComponent } from './lib-hooks/svgComp-hooks';
import Spline from './lib/Spline';
import DragNode from './lib/Node';
const index = ({
data,
onNodeDeselect,
onNodeMove... | Java |
### ANFIS model
## Prerequisites
* OS: Ubuntu 18.04 or 16.04
* Software: conda (lastest version)
## Preparing environments
1. Go to project directory and onstalling conda environments
```
conda env create --name anfis-module -f=environments.yml
```
2. Activate environments and use after this:
```
source activate anfi... | Java |
var t = require('chai').assert;
var P = require('bluebird');
var Renderer = require('../').Renderer;
var view = {
"name": {
"first": "Michael",
"last": "Jackson"
},
"age": "RIP",
calc: function () {
return 2 + 4;
},
delayed: function () {
return new P(function (resolve) {
setTimeout(r... | Java |
<!DOCTYPE html><html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
<meta charset="utf-8">
<title>phpDocumentor » \ep_BDL_Wskaznik_Wariacja</title>
<meta name="author" conte... | Java |
<div ng-if="!identity.isAuthenticated()">
<div class="col-md-5 col-md-offset-1">
<div class="well bs-component">
<form name="loginForm" class="form-horizontal">
<fieldset>
<legend>Login</legend>
<div class="form-group">
... | Java |
# Sprockets: Rack-based asset packaging
Sprockets is a Ruby library for compiling and serving web assets.
It features declarative dependency management for JavaScript and CSS
assets, as well as a powerful preprocessor pipeline that allows you to
write assets in languages like CoffeeScript, Sass and SCSS.
## Installa... | Java |
import { Component ,OnInit} from '@angular/core';
import {GlobalService} from '../_globals/global.service';
import {PermissionService} from './permission.service';
import {ContentTypeService} from '../content_types/content_type.service';
import {Permission} from './permission';
@Component({
selector: 'permission-in... | Java |
/*
* Copyright (c) 2006-2012 Rogério Liesenfeld
* This file is subject to the terms of the MIT license (see LICENSE.txt).
*/
package mockit.integration.junit4;
import org.junit.runner.*;
import org.junit.runners.*;
@RunWith(Suite.class)
@Suite.SuiteClasses({MockDependencyTest.class, UseDependencyTest.cla... | Java |
<!DOCTYPE html>
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Deploying QATrack+ with Linux Apache & P... | Java |
## Rust Guideline lints ##
This repository will contain some lints that try to enforce some of the guidelines documented at http://aturon.github.io/.
These lints aren't super useful, they are more interesting as learning projects instead of providing useful information.
Right now the only lint provided is a lint that... | Java |
using Treefrog.Extensibility;
using Treefrog.Framework.Model;
using Treefrog.Plugins.Tiles.Layers;
using Treefrog.Presentation;
using Treefrog.Presentation.Layers;
using Treefrog.Render.Layers;
namespace Treefrog.Plugins.Tiles
{
public static class Registration
{
// Layer Presenter Creation
[... | Java |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>mathcomp-character: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootst... | Java |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>corn: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" r... | Java |
import collections
import re
import urlparse
class DSN(collections.MutableMapping):
''' Hold the results of a parsed dsn.
This is very similar to urlparse.ParseResult tuple.
http://docs.python.org/2/library/urlparse.html#results-of-urlparse-and-urlsplit
It exposes the following attributes:
... | Java |
<script>
var visibilityChanged = function() {
steroids.logger.log("FROM PRELOADED VIEW window.location: " + window.location.href + ", document.visibilityState == " + document.visibilityState + " && document.hidden ==" + document.hidden);
alert("FROM PRELOADED VIEW window.location: " + window.location.href + "... | Java |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>mathcomp-finmap: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap... | Java |
/**
* Pre Tests
* Check to make sure jQuery and Zest are loaded
*/
module("Setup");
test("jQuery is loaded", function() {
expect(3);
ok( jQuery,
"jQuery is defined." );
ok( $,
"$ is defined.");
equal( typeof jQuery, "function",
"jQuery is a function." );
});
test("Zest i... | Java |
package org.ebaloo.itkeeps.core.domain.vertex;
import java.util.ArrayList;
import java.util.List;
import java.util.stream.Collectors;
import org.ebaloo.itkeeps.api.enumeration.enAclAdmin;
import org.ebaloo.itkeeps.api.enumeration.enAclData;
import org.ebaloo.itkeeps.api.model.jAclGroup;
import org.ebaloo... | Java |
import { expect } from 'chai';
import 'mocha';
import { Integer, TestContext } from '../../..';
import { makeInteger } from './make-integer';
describe('make-integer', () => {
it('should handle single digits', () => {
const ctx = new TestContext("test");
const delayedValue = makeInteger("5");
const value ... | Java |
<!DOCTYPE html>
<html xmlns:msxsl="urn:schemas-microsoft-com:xslt">
<head>
<meta content="en-us" http-equiv="Content-Language" />
<meta content="text/html; charset=utf-16" http-equiv="Content-Type" />
<title _locid="PortabilityAnalysis0">.NET Portability Report</title>
<style>
... | Java |
<html><body>
<h4>Windows 10 x64 (18363.476)</h4><br>
<h2>_PO_POWER_PLANE_PROFILE</h2>
<font face="arial"> +0x000 ExclusivePowerMw : Uint4B<br>
+0x004 PeakPowerMw : Uint4B<br>
</font></body></html> | Java |
<?php
/**
* This file is part of GSSimpleOcr.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @copyright Copyright (c) 2014 Gordon Schmidt
* @license MIT
*/
namespace GSSimpleOcr\Service;
use GSImage\Entity\Image;
use GSOcr\S... | Java |
package com.vexus2.jenkins.chatwork.jenkinschatworkplugin.api;
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.codehaus.jackson.annotate.JsonIgnoreProperties;
import org.codehaus.jackson.annotate.JsonProperty;
@JsonIgnoreProperties(ignoreUnknown... | Java |
<!DOCTYPE html>
<!--[if lt IE 9]><html class="no-js lt-ie9" lang="en" dir="ltr"><![endif]-->
<!--[if gt IE 8]><!-->
<html class="no-js" lang="en" dir="ltr">
<!--<![endif]-->
<!-- Usage: /eic/site/ccc-rec.nsf/tpl-eng/template-1col.html?Open... | Java |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>mathcomp-multinomials: 1 m 9 s</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min... | Java |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>pi-agm: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css"... | Java |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>fundamental-arithmetics: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../b... | Java |
package com.goodworkalan.mix.builder;
import org.testng.annotations.Test;
// TODO Document.
public class BasicJavaProjectTest {
// TODO Document.
@Test
public void build() {
}
}
| Java |
'use strict';
/**
* Module dependencies.
*/
var mongoose = require('mongoose'),
errorHandler = require('./errors.server.controller'),
Task = mongoose.model('Task'),
Project = mongoose.model('Project'),
Person = mongoose.model('Person'),
_ = require('lodash');
/**
* Create a Task
*/
var person, project;... | Java |
import { useCallback, useState, useEffect } from 'react';
import { KeyStore } from './keystore';
import type { Accounts, Hooks as HooksType } from './../types';
export const Hooks = {
useKeyStore: () => {
const [accounts, setAccounts] = useState<Accounts>();
const [error, setError] = useState<string>();
... | Java |
// MusicXML Class Library
// Copyright (c) by Matthew James Briggs
// Distributed under the MIT License
#pragma once
#include "mxtest/control/CompileControl.h"
#ifdef MX_COMPILE_CORE_TESTS
#include "mxtest/core/HelperFunctions.h"
#include "mx/core/Elements.h"
namespace mxtest
{
mx::core::FullNoteGroupPtr tgenFul... | Java |
# Blog based on symfony
### Requirement
- php
## Installation
```bash
$ git clone git@github.com:athlonUA/symfony-simple-blog.git
```
## Running
```bash
$ composer install
$ php app/console do:dat:cr
$ php app/console doctrine:schema:create
$ php app/console doctrine:fixtures:load
$ php app/console ass:in --symli... | Java |
package net.ihiroky.reservoir.coder;
import java.io.IOException;
import java.io.OutputStream;
import java.nio.ByteBuffer;
/**
* Created on 12/10/04, 19:26
*
* @author Hiroki Itoh
*/
public class ByteBufferOutputStream extends OutputStream {
ByteBuffer byteBuffer;
ByteBufferOutputStream(int initialCapaci... | Java |
// angular.module is a global place for creating, registering and retrieving Angular modules
// 'directory' is the name of this angular module example (also set in a <body> attribute in index.html)
// the 2nd parameter is an array of 'requires'
// 'directory.services' is found in services.js
// 'directory.controllers' ... | Java |
import Route from '@ember/routing/route';
import { inject as service } from '@ember/service';
import { get } from '@ember/object';
export default Route.extend({
ajax: service(),
model() {
return get(this, 'ajax').request(
'https://api.github.com/repos/ember-cli/ember-ajax/commits',
{
heade... | Java |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>User agent detail - SonyEricssonW850iv/R1ED Browser/NetFront/3.3 Profile/MIDP-2.0 Configuration/CLDC-1.1</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.3/css/materiali... | Java |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>exceptions: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css... | Java |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>stalmarck: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.c... | Java |
const fs = require('fs');
class Loader {
static extend (name, loader) {
return { name, loader };
}
static get (name, options) {
const item = options.loaders.find((loader) => name === loader.name);
if (!item) {
throw new Error(`Missing loader for ${name}`);
}
return item.loader;
}
... | Java |
//
// MSProfileViewController.h
// Minsta
//
// Created by maocl023 on 16/5/12.
// Copyright © 2016年 jjj2mdd. All rights reserved.
//
#import <AsyncDisplayKit/AsyncDisplayKit.h>
@interface MSProfileViewController : ASViewController
@end
| Java |
package org.ayo.ui.sample.material;
import android.animation.Animator;
import android.animation.AnimatorListenerAdapter;
import android.content.Context;
import android.support.design.widget.CoordinatorLayout;
import android.support.v4.view.ViewCompat;
import android.util.AttributeSet;
import android.view.View;
import... | Java |
/**
* @license angular-sortable-column
* (c) 2013 Knight Rider Consulting, Inc. http://www.knightrider.com
* License: MIT
*/
/**
*
* @author Dale "Ducky" Lotts
* @since 7/21/13
*/
basePath = '..';
files = [
JASMINE,
JASMINE_ADAPTER,
'bower_components/jquery/dist/jquery.js',
'bower_... | Java |
<!doctype html>
<html class="default no-js">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>CMsgGCCStrike15V2ClientToGCRequestTicket | demofile</title>
<meta name="description" content="Documentation for demofile">
<meta name="viewport" content="width=device-width, initi... | Java |
/*
* The MIT License
*
* Copyright 2019 Intuit Inc.
*
* 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, modi... | Java |
const storage = require("./storage");
const recognition = require("./recognition");
async function labelPictures(bucketName) {
const bucket = await storage.getOrCreateBucket(bucketName);
const fileNames = await storage.ls(bucket);
for (const file of fileNames) {
console.log(`Retrieve labels for fi... | Java |
//
// GKCartServiceMock.h
// GKCommerce
//
// Created by 小悟空 on 1/31/15.
// Copyright (c) 2015 GKCommerce. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface GKCartServiceMock : NSObject
- (RACSignal *)fetchCartWithUser:(GKUser *)user;
- (RACSignal *)addItem:(CartItem *)item;
- (RACSignal *)add... | Java |
require "magnitude"
describe Magnitude::Registry do
context "#register" do
it "registers a unit and returns an instance" do
result = subject.register(:length, name: "meter", abbr: :m)
expect(result).to be_kind_of(Magnitude::Unit)
expect(result.name).to eq("meter")
end
end
context "#fet... | Java |
'use strict';
describe('TestComponent', function () {
var componentController;
beforeEach(module('APPLICATION'));
beforeEach(inject(function ($componentController) {
componentController = $componentController('testComponent', null, {
test: {
data: 'data'
}
... | Java |
/*******************************************************************************
Copyright © 2016, STMicroelectronics International N.V.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redis... | Java |
/**
* The MIT License (MIT)
*
*
* Copyright (C) 2013 Yu Jing (yujing5b5d@gmail.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 li... | Java |
//Generated by the Argon Build System
/*
Copyright (C) 2006, 2007 Sony Computer Entertainment Inc.
All rights reserved.
Redistribution and use in source and binary forms,
with or without modification, are permitted provided that the
following conditions are met:
* Redistributions of source code mus... | Java |
<html>
<head>
<title>User agent detail - MQQBrowser/Mini2.2 (SAMSUNG-C3050/XXKB1)</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.3/css/materialize.min.css">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
</head>
... | Java |
import Ember from 'ember';
export default Ember.Controller.extend({
resume: Ember.inject.controller(),
actions: {
scrollToElem: function(selector) {
this.get('resume').send('scrollToElem', selector);
},
selectTemplate: function(template) {
this.get('resume').send('selectTemplate', template)... | Java |
<?php
/*
* This file is part of the PHPExifTool package.
*
* (c) Alchemy <support@alchemy.fr>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPExiftool\Driver\Tag\XMPPlus;
use JMS\Serializer\Annotation\ExclusionPolic... | Java |
# alfirahadian.github.io
Building Hybrid Web Application with Ionic from start to end
| Java |
#include "../common/gba.h"
#include "../common/fixed.c"
typedef struct{
union{
struct{
fixed x;
fixed y;
};
fixed vec[2];
};
} Vec2;
fixed DotProduct(Vec2 a, Vec2 b){
return fixMult(a.x, b.x) + fixMult(a.y, b.y);
}
Vec2 VecSub(Vec2 a, Vec2 b){
Vec2 retVal = {a.x - b.x, a.y - b.y};
return retVal;
}
... | Java |
#!/usr/bin/env python2
# -*- coding: utf-8 -*-
"""
Created on Fri Feb 24 12:49:36 2017
@author: drsmith
"""
import os
from .globals import FdpError
def canonicalMachineName(machine=''):
aliases = {'nstxu': ['nstx', 'nstxu', 'nstx-u'],
'diiid': ['diiid', 'diii-d', 'd3d'],
'cmod': ['... | Java |
process.env.NODE_ENV = 'test';
const chai = require('chai');
const chaiHttp = require('chai-http');
const should = chai.should();
const CostCalculator = require("../libs/costcalculator");
describe('Calculate Cost', () => {
describe("Book Meeting Room", () => {
it("it should calcuate cost for meetin... | Java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.