code stringlengths 4 1.01M | language stringclasses 2
values |
|---|---|
using Microsoft.Xna.Framework;
using System;
namespace Gem.Gui.Animations
{
public static class Time
{
public static Animation<double> Elapsed
{
get { return Animation.Create(context => context.TotalMilliseconds); }
}
public static Animation<TTime> Constant<TTime>(... | Java |
version https://git-lfs.github.com/spec/v1
oid sha256:355954a2b585f8b34c53b8bea9346fabde06b161ec86b87e9b829bea4acb87e9
size 108190
| Java |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Coq bench</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="stylesheet... | Java |
using Robust.Shared.GameObjects;
namespace Content.Server.MachineLinking.Components
{
[RegisterComponent]
public sealed class TriggerOnSignalReceivedComponent : Component
{
}
}
| Java |
//#include <stdio.h>
//#include <stdlib.h>
//#include <stdint.h>
//#include <stdbool.h>
//#include <string.h>
//#include <stddef.h>
#include "esp_common.h"
#include "coap.h"
#include "shell.h"
//#include <rtthread.h>
//#define shell_printf rt_kshell_printf
extern void endpoint_setup(void);
extern const... | Java |
module Softlayer
module Container
module Dns
autoload :Domain, 'softlayer/container/dns/domain'
end
end
end
| Java |
<aside class="main-sidebar">
<section class="sidebar">
<div class="user-panel">
<div class="pull-left image">
<img src="<?php echo base_url() ?>assets/img/user2-160x160.jpg" class="img-circle" alt="User Image">
</div>
<div class="pull-left info">
... | Java |
<!DOCTYPE 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">
<meta name="description" content="">
<meta name="keywords" content=" ">
<title>Prerequisites | LivePerson Technical Documentation</title>
<link rel... | Java |
package com.agileEAP.workflow.definition;
/**
活动类型
*/
public enum ActivityType
{
/**
开始活动
*/
//C# TO JAVA CONVERTER TODO TASK: Java annotations will not correspond to .NET attributes:
//[Remark("开始活动")]
StartActivity(1),
/**
人工活动
*/
//C# TO JAVA CONVERTER TODO TASK: Java annotations will not co... | Java |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="uk" version="2.0">
<defaumlcodec>UTF-8</defaumlcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About Menlocoin</source>
<translation>Про Menlocoin</translation>
</me... | Java |
package com.asayama.rps.simulator;
public enum Hand {
ROCK, PAPER, SCISSORS;
}
| Java |
package foodtruck.linxup;
import java.util.List;
import com.google.common.base.MoreObjects;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.Lists;
import org.joda.time.DateTime;
import foodtruck.model.Location;
/**
* @author aviolette
* @since 11/1/16
*/
public class Trip {
pr... | Java |
<!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_77) on Sun Aug 13 19:07:39 PKT 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class com.hikmat30ce... | Java |
/**
* Copyright (c) 2015, Alexander Orzechowski.
*
* 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, ... | Java |
<!DOCTYPE HTML>
<!--
Solid State by HTML5 UP
html5up.net | @ajlkn
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
-->
<html>
<head>
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-72755780-1"></script>
<script>
window.dataLayer = window.dataLayer || [... | Java |
#include "Extensions.hpp"
#include "Extensions.inl"
#include <Math/Rect.hpp>
#include <Math/Vector.hpp>
#include <Script/ScriptExtensions.hpp>
#include <SFML/Graphics/CircleShape.hpp>
#include <angelscript.h>
#include <cassert>
namespace
{
void create_CircleShape(void* memory)
{
new(memory)sf::Circl... | Java |
'use strict';
module.exports = function(sequelize, DataTypes) {
var Student = sequelize.define('Student', {
name: DataTypes.STRING,
timeReq: DataTypes.INTEGER,
}, {
classMethods: {
associate: function() {
}
}
});
return Student;
};
| Java |
module Culqi
VERSION = '1.2.8'
end
| Java |
<!DOCTYPE html>
<html lang="">
<head>
<title><%= webpackConfig.metadata.title %></title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="<%= webpackConfig.metadata.title %>">
... | Java |
#include <CImageLibI.h>
#include <CImageColorDefP.h>
#include <cstring>
bool
CImageColorDef::
getRGB(const std::string &name, double *r, double *g, double *b)
{
int ri, gi, bi;
if (! getRGBI(name, &ri, &gi, &bi))
return false;
double rgb_scale = 1.0/255.0;
*r = ri*rgb_scale;
*g = gi*rgb_scale;
*b =... | Java |
const {xObjectForm} = require('./xObjectForm');
exports._getPathOptions = function _getPathOptions(options = {}, originX, originY) {
this.current = this.current || {};
const colorspace = options.colorspace || this.options.colorspace;
const colorName = options.colorName;
const pathOptions = {
o... | Java |
SUBROUTINE WFN1_AD_DSYGST( ITYPE, UPLO, N, A, LDA, B, LDB, INFO )
USE WFN1_AD1
IMPLICIT NONE
#include "blas/double/intf_wfn1_ad_dsymm.fh"
#include "blas/double/intf_wfn1_ad_dsyr2.fh"
#include "blas/double/intf_wfn1_ad_dsyr2k.fh"
#include "blas/double/intf_wfn1_ad_dtrmm.fh"
#include "blas/double/intf_w... | Java |
#define BOOST_TEST_MODULE test_dsu
#define BOOST_TEST_DYN_LINK
#include "test.hpp"
#include "dsu.hpp"
using bdata::make;
using bdata::xrange;
BOOST_AUTO_TEST_CASE(one) {
auto dsu = DisjointSetUnion<int>();
dsu.push_back(1);
BOOST_TEST(dsu.xs[1] == 1);
BOOST_TEST(dsu.ws[1] == 1);
}
BOOST_AUTO_TEST... | Java |
<?php namespace WebEd\Base\ThemesManagement\Actions;
use WebEd\Base\Actions\AbstractAction;
class EnableThemeAction extends AbstractAction
{
/**
* @param $alias
* @return array
*/
public function run($alias)
{
do_action(WEBED_THEME_BEFORE_ENABLE, $alias);
$theme = get_theme... | Java |
//
// NFAnalogClockView+Extension.h
// NFAnalogClock
//
// Created by Neil Francis Hipona on 12/1/16.
// Copyright © 2016 Neil Francis Hipona. All rights reserved.
//
#import "NFAnalogClockView.h"
@interface NFAnalogClockView (Extension)
- (void)startTime;
- (void)stopTime;
- (NFTime *)updateClock;
@end
| Java |
___
<strong>Javascript</strong>
<h3>Arrays</h3>
---
##Summary
We can access an array's items using **indices**. Arrays have a variety of methods to utilize.
##Discussion
```javascript
var myArray = ["Alex", "Andrew", "James"];
myArray[0]; // this will return "Alex"
// let's assign a new value to "James"
myArray[... | Java |
---
layout: default
---
<div class="posts">
{% for post in site.posts %}
<article class="post">
{% if post.icon %}
<div style="float: left; padding-right: 20px; margin-top: 10px">
<img style="" src="{{post.icon}}" width="50" height="50"/>
</div>
{% endif %}
<a class="post-... | Java |
// Copyright 2014 The Gogs Authors. All rights reserved.
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
package models
import (
"bufio"
"bytes"
"fmt"
"html"
"html/template"
"io"
"io/ioutil"
"os"
"os/exec"
"strings"
"github.com/Unknwon/com"
"github.... | Java |
---
layout: post
date: 2017-09-30
title: "Jorge Manuel THE PEI Sleeveless Sweep/Brush Train Aline/Princess"
category: Jorge Manuel
tags: [Jorge Manuel ,Jorge Manuel,Aline/Princess ,Jewel,Sweep/Brush Train,Sleeveless]
---
### Jorge Manuel THE PEI
Just **$379.99**
### Sleeveless Sweep/Brush Train Aline/Princess
<tab... | Java |
require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper')
describe Admin::PreferencesController do
dataset :users
it "should allow you to view your preferences" do
user = login_as(:non_admin)
get :edit
response.should be_success
assigned_user = assigns(:user)
assigned_user.shou... | Java |
---
title: 不是你难行的
date: 17/11/2021
---
〈申命记〉第30章一开篇,主就告诉以色列百姓,如果他们悔改,转离恶行,就会发生什么事。上帝所赐予的是多么美好的应许啊!
`阅读申30:1–10。尽管经文是在说如果他们不顺服会发生什么事,但上帝依然给了他们怎样的应许?这事对我们了解上帝的恩典有何启示?`
听到这般应许,当然倍感安慰。但这话的重点并非是说,即使他们违背了上帝的吩咐也没关系。上帝给人的绝不是廉价的恩典。祂所显明的是给人的爱,因此,人也当敬爱祂来作为回应,透过顺从祂的吩咐来表现出对祂的爱。
`阅读申30:11–14。上帝对他们说了什么?经文中有哪些基本的应许?你能想到新约中还有哪些经... | Java |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator 0.14.0.0
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
... | Java |
using System;
using Pulse.FS;
namespace Pulse.UI
{
public sealed class UiWpdLeafsAccessor : IUiLeafsAccessor
{
private readonly WpdArchiveListing _listing;
private readonly WpdEntry[] _leafs;
private readonly bool? _conversion;
public UiNodeType Type
{
get ... | Java |
import * as React from 'react';
import { DocumentCard } from './DocumentCard';
import { DocumentCardTitle } from './DocumentCardTitle';
import { DocumentCardPreview } from './DocumentCardPreview';
import { DocumentCardLocation } from './DocumentCardLocation';
import { DocumentCardActivity } from './DocumentCardActivity... | Java |
//
// Created by paysonl on 16-10-20.
//
#include <vector>
using std::vector;
#include <iostream>
#include <cassert>
int min3(int a, int b, int c);
int minSubSum(const vector<int>& a);
int minSubRec(const vector<int>& a, int left, int right);
int main() {
vector<int> v{-2, -1, -2, 3, -4};
assert(minSubSum(... | Java |
<?php
/**
* Created by PhpStorm.
* User: Jan
* Date: 17.03.2015
* Time: 17:03
*/
namespace AppBundle\Repository;
use Doctrine\ORM\EntityRepository;
class ThreadRepository extends EntityRepository
{
public function findAllOrderedByLastModifiedDate($category_id)
{
$repository = $this->getEntityMana... | Java |
---
layout: post
title: yesterday
date: 2011-10-24 07:54
comments: false
categories: [poems]
---
i remember yesterday
as if it were yesterday.
and the day before that
as if it were the day before yesterday.
but the moment i remember any day
before the day before yesterday
as if it were yesterday,
i forget the... | Java |
# User info wrapper object
import logging
class User(object):
"""
Wrapper object around an entry in users.json. Behaves like a read-only dictionary if
asked, but adds some useful logic to decouple the front end from the JSON structure.
"""
_NAME_KEYS = ["display_name", "real_name"]
_DEFAULT_IM... | Java |
<?php
declare(strict_types = 1);
/**
* /src/DTO/RestDtoInterface.php
*
* @author TLe, Tarmo Leppänen <tarmo.leppanen@pinja.com>
*/
namespace App\DTO;
use App\Entity\Interfaces\EntityInterface;
use Throwable;
/**
* Interface RestDtoInterface
*
* @package App\DTO
* @author TLe, Tarmo Leppänen <tarmo.leppanen@p... | Java |
package net.lightstone.net.codec;
import java.io.IOException;
import net.lightstone.msg.Message;
import org.jboss.netty.buffer.ChannelBuffer;
public abstract class MessageCodec<T extends Message> {
private final Class<T> clazz;
private final int opcode;
public MessageCodec(Class<T> clazz, int opcode) {
this.... | Java |
/* IE 8 FIXES
MAIN BLUE: #99CCFF
LINK BLUE: #0066FF
NEW BLUE: #3366FF
ORANGE: #FFCC66
GREEN: #66CC00
TBL GREEN: #A7C942
RED: #CC0000
BORDER: #CCC
GREY: #999
DARK GRY: #555
*/
#rent_go{vertical-align:-3px;}
div.land-do h2{
filter: progid:DXImageTransform.Microsoft.Shadow(Strength=3, Direction=45... | Java |
/*
== malihu jquery custom scrollbar plugin ==
Plugin URI: http://manos.malihu.gr/jquery-custom-content-scroller
*/
/*
CONTENTS:
1. BASIC STYLE - Plugin's basic/essential CSS properties (normally, should not be edited).
2. VERTICAL SCROLLBAR - Positioning and dimensions of vertical scrollbar.
3. HORIZONTAL SCR... | Java |
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
* vim: set ts=8 sts=4 et sw=4 tw=99:
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
... | Java |
#define _IRR_STATIC_LIB_
#include <irrlicht.h>
#include <stdio.h>
#include <string>
#include <sstream>
#include <iostream>
#include "dc-config.h"
#include "manager_gui.h"
#include "manager_filesystem.h"
#include "manager_core.h"
#include "irrlicht_event_handler.h"
#include "context_application.h"
using namespace irr;... | Java |
test('has a constructor for initialization', () => {
// Create an Animal class
// Add a constructor that takes one param, the name.
// Set this.name to the name passed in
const animal = new Animal()
const dog = new Animal('Dog')
expect(animal.name).toBeUndefined()
expect(dog.name).toBe('Dog')
})
test('... | Java |
using Caliburn.Micro;
using FollowMe.Messages;
using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;
using System.Threading.Tasks;
namespace FollowMe.WebService
{
/// <summary>
/// RemoteControl to control the Ar.Drone indirectly.
/// You can star... | Java |
package tests_dominio;
import org.junit.Assert;
import org.junit.Test;
import dominio.Asesino;
import dominio.Hechicero;
import dominio.Humano;
public class TestAsesino {
@Test
public void testRobar(){ }
@Test
public void testCritico(){
Humano h = new Humano("Nicolas",new Asesino(),1);
Humano h2 = new Hum... | Java |
<!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... | Java |
#include <iostream>
#include <seqan/graph_types.h>
#include <seqan/graph_algorithms.h>
#include <seqan/find_motif.h>
using namespace seqan;
int main ()
{
typedef unsigned int TCargo;
typedef Graph<Undirected<TCargo> > TGraph;
typedef VertexDescriptor<TGraph>::Type TVertexDescriptor;
TGraph g;
... | Java |
var report_test_url = "reports\\BSV_GC_n_08_du_22_octobre_2013.pdf";
var report_dir = "files/";
var report_extension = ".pdf";
/***************************************************************************************************************************/
/* report_panel */
function report_panel(panel, report_panel){/... | Java |
---
香港手語詞語相似打法系列:
* [快、容易、近、細少]({{ site.baseurl }}/香港手語-快-容易-近-細少/)
* [普通、剛剛、一筆勾消、不在]({{ site.baseurl }}/香港手語-普通-剛剛-一筆勾消-不在/)
* [升職、進步]({{ site.baseurl }}/香港手語相似系列-升職-進步/)
* [老師、老闆、準備]({{ site.baseurl }}/香港手語相似系列:老師、老闆、準備/)
* [熙來掠往、集合、跟隨、相遇]({{ site.baseurl }}/香港手語相似系列:熙來掠往、集合、跟隨、相遇/)
* [真、一倍、木材]({{ site.baseurl }}/香港手... | Java |
// LICENSE
package com.forgedui.editor.edit;
import java.beans.PropertyChangeEvent;
import java.util.ArrayList;
import java.util.List;
import org.eclipse.draw2d.geometry.Rectangle;
import org.eclipse.gef.commands.Command;
import org.eclipse.gef.requests.CreateRequest;
import com.forgedui.editor.GUIEditorPlugin;
impo... | Java |
/*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'about', 'pt-br', {
copy: 'Copyright © $1. Todos os direitos reservados.',
dlgTitle: 'Sobre o CKEditor 4',
moreInfo... | Java |
package com.daviancorp.android.data.database;
import android.database.Cursor;
import android.database.CursorWrapper;
import com.daviancorp.android.data.classes.Location;
/**
* A convenience class to wrap a cursor that returns rows from the "locations"
* table. The {@link getLocation()} method will give you a Locat... | Java |
<div class="col-md-2">
</div>
<div class="col-md-8" style="margin-top: 2%;">
<?php if(isset($editar)){ echo form_open('Pacientes/savePaciente'); }else{ echo form_open('Pacientes/addPaciente'); } ?>
<div class="panel panel-info">
<div class="panel-heading">
<center>
<li clas... | Java |
var bind = require('bind');
var debug = require('debug')('uj:app');
var Entity = require('./entity');
var inherit = require('inherit');
/**
* Initialize a new `App` with `options`.
*
* @param {Object} options
*/
function App (options) {
this.defaults = {}
this.debug = debug;
Entity.call(this, options);
}
... | Java |
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
<meta chars... | Java |
//================================================================
// RS_ChangeWindowTextColorSafely.js
// ---------------------------------------------------------------
// The MIT License
// Copyright (c) 2017 biud436
// ---------------------------------------------------------------
// Free for commercial and non co... | Java |
// -----------------------------------------------------------
//
// This file was generated, please do not modify.
//
// -----------------------------------------------------------
namespace EmptyKeys.UserInterface.Generated {
using System;
using System.CodeDom.Compiler;
using System.Collections.Objec... | Java |
/*
__ _____ _____ _____
__| | __| | | | JSON for Modern C++ (fuzz test support)
| | |__ | | | | | | version 2.1.0
|_____|_____|_____|_|___| https://github.com/nlohmann/json
This file implements a parser test suitable for fuzz testing. Given a byte
array data, it performs the following steps:
- ... | Java |
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
/* File created by MIDL compiler version 8.00.0601 */
/* @@MIDL_FILE_HEADING( ) */
#pragma warning( disable: 4049 ) /* more than 64k source lines */
/* verify that the <rpcndr.h> version is high enough to compile this file*/
#ifndef ... | Java |
# WhatSong
Official repo of the WhatSong app by Tiwiz
| Java |
'use strict';
var defaultEnvConfig = require('./default');
module.exports = {
db: {
uri: process.env.MONGOHQ_URL || process.env.MONGODB_URI || 'mongodb://' + (process.env.DB_1_PORT_27017_TCP_ADDR || 'localhost') + '/flipflop-test',
options: {
user: '',
pass: ''
},
// Enable mongoose debu... | Java |
package bp.details;
import javax.swing.JLabel;
import javax.swing.JSpinner;
import javax.swing.SpinnerModel;
import javax.swing.SpinnerNumberModel;
import javax.swing.event.ChangeEvent;
import javax.swing.event.ChangeListener;
import bp.model.data.Gateway;
import bp.model.util.BPKeyWords;
import bp.model.u... | Java |
<?php
/**
* @file
* Template para o tipo de conteúdo relato dos profissionais do DAB relato_de_experi_ncia_dab_curado
*/
$relato_link = url(drupal_get_path_alias('node/' . $node->nid), array('absolute' => TRUE));
?>
<div id="node-<?php print $node->nid; ?>" class="<?php print $classes; ?> clearfix"<?php print $at... | Java |
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes;
using osu.Framework.Graphics.... | Java |
#!/hpf/largeprojects/ccmbio/naumenko/tools/bcbio/anaconda/bin/python
"""
Looks for a specific sample
"""
import re
import sys
import os
import os.path
sample = sys.argv[1]
family,sample_only = sample.split("_")
match = re.match('\d*',family)
if match:
prefix=str(int(match.group(0))/100)
report_path = pref... | Java |
#include <stdio.h>
#include <stdlib.h> /* exit, free */
#include <string.h> /* for manipulating filename */
#include "defines.h" /* type definitions and macros for flags and MAX limits */
#include "structs.h" /* structures used (needs defines.h) */
Category* cats[ MAX_TOT_CATS... | Java |
# -*- coding: utf-8 -*-
"""
Date: 2/2/2017
Team: Satoshi Nakamoto
@Authors: Alex Levering and Hector Muro
Non-standard dependencies:
* Twython
* NLTK
* Folium
* Geocoder
* psycopg2
TO DO BEFOREHAND:
The following steps are non-automatable and have to be performed manually.
* Have the NLTK vader lexicon locally (nltk... | Java |
require 'swing_support/extensions'
module SwingSupport
# Class that implements ActionListener interface around a given block
class ActionListener
java_implements java.awt.event.ActionListener
def initialize &block
@listener_block = block
end
java_signature 'public void actionPerformed(Actio... | Java |
import { Component, OnInit, Input } from '@angular/core';
import { LoadingController, NavController } from 'ionic-angular';
import { Geolocation } from 'ionic-native';
import { Observable } from 'rxjs/Observable';
import { OriginLocationComponent } from '../origin-location/origin-location';
// import { AvailableProvide... | Java |
using System.Collections.Generic;
using System.Linq;
namespace NeuralNetwork
{
struct ForwardPropagationResult
{
public List<List<double>> Sums { get; }
public List<List<double>> Activations { get; }
public int Prediction { get; }
public ForwardPropagationResult(List<List<do... | 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 |
'use strict';
const { messages, ruleName } = require('..');
testRule({
ruleName,
config: [
{
border: 2,
'/^margin/': 1,
},
],
accept: [
{
code: 'a { margin: 0; }',
},
{
code: 'a { margin: 1px; }',
},
{
code: 'a { margin: var(--foo); }',
description: 'deals with CSS variables',
... | Java |
<?php
/*
Copyright 2015 Lcf.vs
-
Released under the MIT license
-
https://github.com/Lcfvs/DOMArch
*/
namespace DOMArch\Url;
use DOMArch\Config;
use DOMArch\Constants;
use DOMArch\Crypto;
use DOMArch\Url;
class Encrypted extends Url
{
public static function parse($str)
{
$url = parent::parse($str);... | Java |
# coffee-module
[](https://david-dm.org/TKHuang/coffee-module)
[](https://david-dm.org/TKHuang/coffee-module#info=devDependencies)
[![Build ... | Java |
<?php
namespace Rebase\BigvBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
use Rebase\BigvBundle\Entity\Game;
/**
* Rebase\BigvBundle\Entity\Slot
*
* @ORM\Table()
* @ORM\Entity
*/
class Slot
{
/**
* @var integer $id
*
* @ORM\Column(name="id", type="integer")
* @ORM\Id
... | Java |
<!DOCTYPE html>
<html ng-app="todo">
<head>
<title>Angular Jet Todo e2e Test</title>
<!-- Angular -->
<script src="../../../bower_components/angular/angular.min.js"></script>
<!-- Firebase -->
<script src="../../../bower_components/jet/deploy/jet.js"></script>
<!-- AngularFire -->
<scri... | Java |
{% extends 'base.html' %}
{% block navigation %}
<nav class="navbar navbar-default">
<div class="container-fluid">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-ex... | Java |
---
title: "Pulse"
description: "Memory and lifetime analysis."
---
Memory and lifetime analysis.
Activate with `--pulse`.
Supported languages:
- C/C++/ObjC: Yes
- C#/.Net: No
- Erlang: Yes
- Java: Yes
### What is Infer:Pulse?
Pulse is an interprocedural memory safety analysis. Pulse can detect, for instance, [Null... | Java |
---
layout: post
date: 2009-05-14 10:35:00
title: St Louis Sunrise
tags: [archived-posts]
categories: archives
permalink: /:categories/:year/:month/:day/:title/
---
It's going to be raining the next few days, but this morning I was able to go for my walk, but the sun scudded through the clouds....
<a href="http://s5... | Java |
// Regular expression that matches all symbols in the `Kaithi` script as per Unicode v6.0.0:
/\uD804[\uDC80-\uDCC1]/; | Java |
using School.Domain.Models;
namespace School.Domain.Contracts.Repositories
{
public interface IUserRepository : IRepository<User>
{
User GetByIdWithProperties(int id);
User Authenticate(string username, string password);
User GetByRefreshTokenId(string refreshTokenId);
}
}
| Java |
package com.cmput402w2016.t1.webapi.handler;
import com.cmput402w2016.t1.data.Segment;
import com.cmput402w2016.t1.webapi.Helper;
import com.cmput402w2016.t1.webapi.WebApi;
import com.sun.net.httpserver.HttpExchange;
import com.sun.net.httpserver.HttpHandler;
import java.util.Map;
/**
* Handler for the /segment web... | Java |
<div class="row">
<div class="col-lg-12">
<form method="post" action="<?php echo site_url('admin/pages/save'); ?>">
<input type="hidden" name="id" value="<?php echo !empty($page) ? $page->id : ''; ?>"/>
<section class="panel">
<header class="panel-heading"><span
... | Java |
package com.swfarm.biz.chain.bo;
import java.io.Serializable;
import java.sql.Timestamp;
import java.util.Random;
import com.swfarm.pub.framework.FormNumberCache;
public class JobExecutionState implements Serializable {
private Long id;
private String jobName;
private String jobInstanceName;
... | Java |
# Changelog
## 5.1.0 - 2021-12-22
### Bug fixes
* Fix the undefined method error for non rails project due to use of many? - method from ActiveSupport. ([#1459])
[#1459]: https://github.com/thoughtbot/shoulda-matchers/pull/1459
### Features
* Add array option support for have db column matcher. ([#1465])
* Add e... | Java |
import React from 'react';
import HomeLayout from '../layouts/HomeLayout';
import BookEditor from '../components/BookEditor';
import { get } from '../utils/request';
class BookEdit extends React.Component {
constructor(props) {
super(props);
this.state = {
book: null
};
}
... | Java |
Symfony Standard Edition
========================
Welcome to the Symfony Standard Edition - a fully-functional Symfony2
application that you can use as the skeleton for your new app. If you want
to learn more about the features included, see the "What's Inside?" section.
This document contains information on how to ... | Java |
<!doctype html>
<html>
<head>
<meta charset="utf-8"/>
<meta name="viewport"
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-touch-fullscreen" content="yes">
<title>KI... | Java |
package jasm
const header = `
function jasm(stdlib, foreign, heap) {
"use asm";
var pc = 0; // pseudo program counter
var sp = 0; // stack pointer
var ret = 0; // return address, for jal
var r0 = 0, r1 = 0, r2 = 0, r3 = 0; // general purpose 32-bit registers
var f0 = 0.0, f1 = 0.0, ... | Java |
package controllers
import com.thetestpeople.trt.json.JsonSerializers._
import com.thetestpeople.trt.model.Configuration
import com.thetestpeople.trt.service.Service
import com.thetestpeople.trt.utils.HasLogger
import play.api.libs.json.Json
import play.api.mvc.Action
import play.api.mvc.Controller
import play.api.Rou... | Java |
// Copyright (c) 2011-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Gamblr developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "overviewpage.h"
#include "ui_overviewpage.h"
#include "bitcoinunit... | Java |
#!/usr/bin/python
#coding: utf-8
from __future__ import unicode_literals
import os
import unittest
import xlrd
import msp.schedule_parser as schedule_parser
__author__ = "Andrey Konovalov"
__copyright__ = "Copyright (C) 2014 Andrey Konovalov"
__license__ = "MIT"
__version__ = "0.1"
this_dir, this_filename = os.pat... | Java |
var Peer = require('../lib/Peer');
var Connection = require('../lib/Connection');
var dns = require('dns');
// get a peer from dns seed
dns.resolve('dnsseed.bluematt.me', function(err, seeds) {
// use the first peer
var peer = new Peer(seeds[0], 8608);
//Custom peer:
//var peer = new Peer('180.15... | Java |
require 'raven'
# This file gets copied to shared/configs and linked from
# config/initializers/raven.rb at deployment by capistrano.
Raven.configure do |config|
# Replace this URL with the one provided by getsentry.
config.dsn = 'https://9ee5c448b2dc42be81448b502b164820:59004b5ea4b545f5af58d310a3802ea8@app.getse... | Java |
import gzip
import glob
import numpy as np
import pandas as pd
from scipy.stats import pearsonr
from scipy.stats import spearmanr
def get_num_lines_gz(filename):
num_lines = 0
with gzip.open(filename, "r") as fp:
for line in fp:
num_lines += 1
return num_lines
def main():
... | Java |
interface IEmploymentSkill {
name: string;
}
export default IEmploymentSkill;
| Java |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.avs.implementation;
import com.azure.core.http.rest.PagedIterable;
import com.azure.core.http.rest.Response;
import com.azure.co... | Java |
const WSP = require('../dist/ws')
import axios from 'axios'
import * as WS from 'ws'
const turnOn = async (port: number = 8095) => {
await axios.get('http://127.0.0.1:8085/on/' + port)
return true
}
const shutDown = async (port: number = 8095) => {
await axios.get('http://127.0.0.1:8085/off/' + port)
return ... | Java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.