code stringlengths 4 1.01M | language stringclasses 2
values |
|---|---|
package org.zezutom.schematic.model.json;
import org.zezutom.schematic.service.generator.json.StringGenerator;
public class StringNodeTest extends NodeTestCase<String, StringGenerator, StringNode> {
@Override
StringNode newInstance(String name, StringGenerator generator) {
return new StringNode(name,... | Java |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>SassApp</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
{{content-for "head"}}
<link integrity="" rel="style... | Java |
<div id="page-wrapper">
<div class="row">
<div class="col-lg-12">
<h1 class="page-header">Reservation's</h1>
</div>
<!-- /.col-lg-12 -->
</div>
<div class="row">
<div class="col-lg-12">
<?php if($this->s... | Java |
module.exports = require('eden-class').extend(function() {
/* Require
-------------------------------*/
/* Constants
-------------------------------*/
/* Public.Properties
-------------------------------*/
/* Protected Properties
-------------------------------*/
this._table = null;
this._where = [];
/* ... | Java |
# A short history
## < v0.2
- node was event based
| Java |
<HTML><HEAD>
<TITLE>Review for Ed Wood (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?0109707">Ed Wood (1994)</A></H1><H3 ALIGN=CENTER>reviewed by<BR><A HREF="/ReviewsBy?Eric+Grossman">Eric Gro... | Java |
<?php
/*
* This file is part of PHPExifTool.
*
* (c) 2012 Romain Neutron <imprec@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPExiftool\Driver\Tag\Olympus;
use JMS\Serializer\Annotation\ExclusionPolicy;... | Java |
@ECHO OFF
pushd %~dp0
REM Command file for Sphinx documentation
if "%SPHINXBUILD%" == "" (
set SPHINXBUILD=python -msphinx
)
set SOURCEDIR=.
set BUILDDIR=_build
set SPHINXPROJ=Bot-Chucky
if "%1" == "" goto help
%SPHINXBUILD% >NUL 2>NUL
if errorlevel 9009 (
echo.
echo.The Sphinx module was not ... | Java |
const path = require('path');
const { expect } = require('chai');
const delay = require('../../../../lib/utils/delay');
describe('Compiler service', () => {
it('Should execute a basic test', async () => {
await runTests('testcafe-fixtures/basic-test.js', 'Basic test');
});
it('Should ha... | Java |
package rd2wgs84
import (
"testing"
)
var parseTests = []struct {
in RD
out *WGS84
}{
{RD{163835.370083, 446830.763585}, &WGS84{52.00977421758342, 5.515894213047998}},
}
func TestConvert(t *testing.T) {
for i, tt := range parseTests {
wgs := Convert(tt.in.X, tt.in.Y)
if wgs.Latitude != tt.out.Latitude || w... | Java |
body,html,p{
padding:0px;
margin:0px;
overflow:hidden;
}
a{
color:white;
}
.infoBox{
position:absolute;
top: 10px;
left: 10px;
}
.play,.stop{
margin:5px;
color:black;
width:100px;
height:50px;
background-color:white;
}
.title{
font-family:arial;
color:white;
}
.debug{
font-family:arial;
color:white;
}
.... | Java |
FRTMProDesigner
===============
3D Surveillance Designer
========================
- 3D rendering developed with modern OpenGL including vertex & fragment shaders
- Makes use of projective texture mapping
- Developed software using OOP principles and design patterns
- Doxygen documentation: http://jaybird19.github.io/... | 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 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>lemma-overloading: 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>ltac2: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel... | Java |
<?php
return array (
'id' => 'mot_v3i_ver1_sub080305r',
'fallback' => 'mot_v3i_ver1',
'capabilities' =>
array (
),
);
| Java |
---
layout: page
title: Orr Dart Tech Conference
date: 2016-05-24
author: Jack Blankenship
tags: weekly links, java
status: published
summary: Sed molestie molestie dignissim. Pellentesque hendrerit ac.
banner: images/banner/meeting-01.jpg
booking:
startDate: 09/07/2016
endDate: 09/09/2016
ctyhocn: ONTNPHX
grou... | Java |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="uk" version="2.0">
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About GoobyCoin</source>
<translation>Про GoobyCoin</translation>
</message>
<message>
<locat... | Java |
package bimg
import (
"io/ioutil"
"os"
"path"
"testing"
)
func TestSize(t *testing.T) {
files := []struct {
name string
width int
height int
}{
{"test.jpg", 1680, 1050},
{"test.png", 400, 300},
{"test.webp", 550, 368},
}
for _, file := range files {
size, err := Size(readFile(file.name))
if... | Java |
// ===========================================================================
//
// PUBLIC DOMAIN NOTICE
// Agricultural Research Service
// United States Department of Agriculture
//
// This software/database is a "United States Government Work" unde... | Java |
using System;
using Xamarin.Forms;
namespace TextSpeaker.Views
{
public partial class MainPage : ContentPage
{
public MainPage()
{
InitializeComponent();
}
private async void Button_OnClicked(object sender, EventArgs e)
{
var result = await Disp... | Java |
var fans=require('../../modules/blog/fans');
var User=require('../../modules/resume/user');
var async = require('asyncawait/async');
var await = require('asyncawait/await');
module.exports=(async(function(method,req,res){
var result;
if(method==='get'){
}
else if(method==='post'){
var userId=req.session.uid;
v... | Java |
<?php
namespace Guardian\User\Caller;
use Assert\Assertion;
use Guardian\Caller\HasLoginToken;
use Guardian\User\Caller;
/**
* Simple user caller
*
* @author Márk Sági-Kazár <mark.sagikazar@gmail.com>
*/
class User implements Caller, HasLoginToken, \ArrayAccess
{
/**
* @var string|integer
*/
pr... | Java |
module HashRollup
extend self
def rollup data, into
raise ArgumentError, "arguments must be Hashes" unless data.is_a?(Hash) && into.is_a?(Hash)
into.merge(data) do |key, current_val, new_val|
if current_val.class.name != new_val.class.name
raise "Mismatch in types detected! Key = #{key}, cur... | Java |
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.4
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ------------------------------... | Java |
"""
.. module:: mlpy.auxiliary.datastructs
:platform: Unix, Windows
:synopsis: Provides data structure implementations.
.. moduleauthor:: Astrid Jackson <ajackson@eecs.ucf.edu>
"""
from __future__ import division, print_function, absolute_import
import heapq
import numpy as np
from abc import ABCMeta, abstract... | Java |
import unittest
import numpy as np
from bayesnet.image.util import img2patch, patch2img
class TestImg2Patch(unittest.TestCase):
def test_img2patch(self):
img = np.arange(16).reshape(1, 4, 4, 1)
patch = img2patch(img, size=3, step=1)
expected = np.asarray([
[img[0, 0:3, 0:3, 0]... | Java |
<?php
/**
* Created by PhpStorm.
* User: gseidel
* Date: 16.10.18
* Time: 23:45
*/
namespace Enhavo\Bundle\FormBundle\Form\Type;
use Enhavo\Bundle\FormBundle\Form\Helper\EntityTreeChoiceBuilder;
use Symfony\Bridge\Doctrine\Form\Type\EntityType;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\... | Java |
/****************************************************************/
/* 1. IMPORTED STYLESHEETS */
/****************************************************************/
/* Import the basic setup styles */
@import url(imports/base.css);
/* Import the colour scheme */
@import url(imports/Radium_cs.css);
/**********... | Java |
// @flow
import React, { Component } from 'react'
import { Helmet } from 'react-helmet'
import AlternativeMedia from './AlternativeMedia'
import ImageViewer from './ImageViewer'
import { Code, CodeBlock, Title } from '../components'
const propFn = k => {
const style = { display: 'inline-block', marginBottom: 4, ma... | Java |
JAMAccurateSlider
===========
A UISlider subclass that enables much more accurate value selection.

JAMAccurateSlider is a drop-in replacement for UISlider. It behaves exactly the same as... | Java |
'''
logger_setup.py customizes the app's logging module. Each time an event is
logged the logger checks the level of the event (eg. debug, warning, info...).
If the event is above the approved threshold then it goes through. The handlers
do the same thing; they output to a file/shell if the event level is above their
t... | Java |
import { TurbolinksTestCase } from "./helpers/turbolinks_test_case"
import { get } from "http"
export class VisitTests extends TurbolinksTestCase {
async setup() {
this.goToLocation("/fixtures/visit.html")
}
async "test programmatically visiting a same-origin location"() {
const urlBeforeVisit = await t... | Java |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.Linq;
namespace LibGit2Sharp.Core
{
/// <summary>
/// Ensure input parameters
/// </summary>
[DebuggerStepThrough]
internal static class Ensure
{
/// <summary>
///... | 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.Game.Graphics;
using osu.Game.Rulesets.Scoring;
namespace osu.Game.Rulesets.Mods
{
public abstract class ModPerfect : ModSuddenDeath
{
public o... | Java |
var gulp = require('gulp');
var browserify = require('browserify');
//transform jsx to js
var reactify = require('reactify');
//convert to stream
var source = require('vinyl-source-stream');
var nodemon = require('gulp-nodemon');
gulp.task('browserify', function() {
//source
browserify('./src/js/main.js')
... | Java |
<?php
namespace TodoListBundle\Repository;
use TodoListBundle\Entity\Todo;
use TodoListBundle\Google\Client;
use Google_Service_Tasks;
use Google_Service_Tasks_Task;
class GTaskApiTodoRepository implements ITodoRepository
{
/**
* @var Google_Service_Tasks
*/
private $taskService;
private $todoRepository;
p... | Java |
<html dir="LTR">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252" />
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5" />
<title>ExceptionEvaluator.IsTriggeringEvent Method</title>
<xml>
</xml>
<link rel="stylesheet" type="text... | Java |
/*!
* Diaphanous
* https://github.com/Jonic/Diaphanous
* @author Jonic Linley <jonic@100yen.co.uk>
* @version 0.0.1
* Copyright 2013 Jonic Linley MIT licensed.
*/
address:before,
article:before,
aside:before,
blockquote:before,
body:before,
div:before,
dl:before,
fieldset:before,
figcaption:before,
figure:before... | Java |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... | Java |
---
layout: post
status: publish
published: true
title: "$100 to spend on WF"
author:
display_name: Tomas Restrepo
login: tomasr
email: tomas@winterdom.com
url: http://winterdom.com/
author_login: tomasr
author_email: tomas@winterdom.com
author_url: http://winterdom.com/
wordpress_id: 137
wordpress_url: http://... | Java |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<!-- Tell the browser to be responsive to screen width -->
<title>SI Administrasi Desa</ti... | Java |
/* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* aapt tool from the resource data it found. It
* should not be modified by hand.
*/
package com.google.android.gms;
public final class R {
public static final class attr {
public static final int adSize = 0x7f01006a;
... | Java |
#!/usr/bin/env bash
PATH=/opt/usao/moodle3/bin:/usr/local/bin:/usr/bin:/bin:/sbin:$PATH
## Require arguments
if [ -z "$1" ] || [ -z "$2" ] || [ -z "$3" ] ; then
cat <<USAGE
moodle3_migrate.sh migrates a site between hosts.
Usage: moodle3_migrate.sh \$dest_moodledir \$src_moodlehost \$src_cfgdir
\$dest_moodledir ... | Java |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Resources;
using System.Security;
// Allgemeine Informationen über eine Assembly werden über die folgenden
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
// die... | Java |
---
layout: post
title: Home Lab 2016 (2015)
category: homework
tag: imported
author: adricnet
---
*draft post, no images, end notes, links yet*
Revamped and reconfigured post-SEC511 and SOC Augusta 2015, with some input from GSE studies Google group, plus some good stuff for file analysis that I'm currently neglectin... | Java |
module.exports = function(config) {
config.set({
basePath: '../../',
frameworks: ['jasmine', 'requirejs'],
files: [
{pattern: 'test/unit/require.conf.js', included: true},
{pattern: 'test/unit/tests/global.js', included: true},
{pattern: 'src/client/**/... | Java |
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "CDStructures.h"
#import "IDEProvisioningSigningIdentity-Protocol.h"
@class NSDate, NSString;
@interface IDEProvisioningSigningIdentityPrototype : NSObject <IDEProvisioni... | Java |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>FSharpDeclarationListItem - F# Compiler Services</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="Microsoft Corporation, Dave Thomas... | 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 |
ROLES = {
-- WORRIER: Close-combat specialist
worrier = {
name = "Worrier",
description = "A powerful fighter who might be\na bit too kind for their own good.",
level_cap = 20,
hp = 24,
hp_growth = 0.52,
mp = 11,
mp_growth = 0.... | Java |
/**
* @namespace http
*
* The C<http> namespace groups functions and classes used while making
* HTTP Requests.
*
*/
ECMAScript.Extend('http', function (ecma) {
// Intentionally private
var _documentLocation = null
function _getDocumentLocation () {
if (!_documentLocation) _documentLocation = new ecm... | Java |
#//////////////////////////////////////////////////////////////////////////////
# -- clMAGMA (version 1.0.0) --
# Univ. of Tennessee, Knoxville
# Univ. of California, Berkeley
# Univ. of Colorado, Denver
# April 2012
#//////////////////////////////////////////////////////////////////////////////
... | Java |
<?php
namespace Anax\Questions;
/**
* A controller for question-related pages
*
*/
class QuestionsController implements \Anax\DI\IInjectionAware
{
use \Anax\DI\TInjectable;
public function initialize()
{
$this->questions = new \Anax\Questions\Question();
$this->questions->setDI($this->di);
... | Java |
# Uncomment this if you reference any of your controllers in activate
# require_dependency 'application'
class ReservationExtension < Radiant::Extension
version "0.1"
description "Small Reservation System"
url "http://github.com/simerom/radiant-reservation-extension"
define_routes do |map|
map.namespace... | Java |
//
// DZTextFieldStyle.h
// DZStyle
//
// Created by baidu on 15/7/23.
// Copyright (c) 2015年 dzpqzb. All rights reserved.
//
#import "DZViewStyle.h"
#import "DZTextStyle.h"
#define DZTextFiledStyleMake(initCode) DZStyleMake(initCode, DZTextFieldStyle)
#define IMP_SHARE_TEXTFIELD_STYLE(name , initCode) IMP_SHARE... | Java |
<?php
/**
* Routes - all standard routes are defined here.
*/
/** Create alias for Router. */
use Core\Router;
use Helpers\Hooks;
/* Force user to login unless running cron */
if(!isset($_SESSION['user']) && $_SERVER['REDIRECT_URL'] != "/reminders/run") {
$c = new Controllers\Users();
$c->login();
exit();
}
/**... | Java |
// Copyright Johannes Falk
// example for directed percolation
// one can choose the probability in the main
// critical-value = 0.68
#include <stdlib.h>
#include <stdio.h>
#include <time.h>
#include <algorithm>
#include <cstdlib>
#include <vector>
#include "../xcbwin.h"
double get_rand() {
return static_cast<dou... | Java |
package ee.shy.cli;
import ee.shy.Builder;
import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
/**
* Class for building help text with preset format
*/
public class HelptextBuilder implements Builder<String> {
/**
* Data structure that contains command... | Java |
package org.asciicerebrum.neocortexengine.domain.events;
/**
*
* @author species8472
*/
public enum EventType {
/**
* Event thrown directly after the initialization of a new combat round.
*/
COMBATROUND_POSTINIT,
/**
* Event thrown before the initialization of a new combat round.
*/... | Java |
---
title: Bible now available for Mobile Phones
author: TQuizzle
layout: post
permalink: /archive/bible-now-available-for-mobile-phones/
bitly_url:
- http://bit.ly/11zS2uE
bitly_hash:
- 11zS2uE
bitly_long_url:
- http://www.tquizzle.com/archive/bible-now-available-for-mobile-phones/
categories:
- Asides
---
Hop... | Java |
package shadows;
import java.util.List;
import java.util.Map;
import org.lwjgl.opengl.GL11;
import org.lwjgl.util.vector.Matrix4f;
import org.lwjgl.util.vector.Vector2f;
import org.lwjgl.util.vector.Vector3f;
import entities.Camera;
import entities.Entity;
import entities.Light;
import entities.Player;
... | Java |
<div ng-controller="lessonCtrl as vm">
<div class="row" style="margin-bottom: 10px">
<div class="col-xs-12">
<progress-bar lessons="vm.lessonSvc.lessons" lesson="vm.lesson"></progress-bar>
</div>
</div>
<div class="row">
<div class="col-sm-4">
<div class... | Java |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta content="Craig McClellan" name="author">
<title>Craig McClellan - T398514607721316352 </title>
<lin... | Java |
import debounce from 'debounce';
import $ from 'jquery';
const groupElementsByTop = (groups, element) => {
const top = $(element).offset().top;
groups[top] = groups[top] || [];
groups[top].push(element);
return groups;
};
const groupElementsByZero = (groups, element) => {
groups[0] = groups[0] || [];
grou... | Java |
toalien-site
============
| Java |
/// <reference path="typings/tsd.d.ts" />
var plugins = {
beautylog: require("beautylog")("os"),
gulp: require("gulp"),
jade: require("gulp-jade"),
util: require("gulp-util"),
vinylFile: require("vinyl-file"),
jsonjade: require("./index.js"),
gulpInspect: require("gulp-inspect")
};
var ja... | Java |
#include "mesh_adapt.h"
#include "mesh_adj.h"
#include "mesh_mod.h"
#include "cavity_op.h"
static void find_best_edge_split(mesh* m, split* s, ment e, ment v[2])
{
double mq;
double q;
unsigned ne;
unsigned i;
ment v_[2];
ne = simplex_ndown[e.t][EDGE];
mq = -1;
for (i = 0; i < ne; ++i) {
mesh_down(... | Java |
# Ancient Projects
While "Ancient" would be an interesting name for a project, it's used literally: This is old code I wrote way back; some from 2009, some from later, possibly some from even earlier.
I'm currently going through my files and cleaning up; as part of this I'm putting it in this Git repo, mostly to arch... | Java |
// Structure to represent a proof
class ProofTree {
constructor({equation, rule, newScope=false }) {
this.equation = equation;
this.rule = rule;
this.newScope = newScope;
this.parent = null;
this.children = [];
this.isSound = !newScope;
}
isAssumption() {
return this.newScope;
}
... | Java |
package me.puras.common.controller;
import me.puras.common.domain.DomainModel;
import me.puras.common.error.BaseErrCode;
import me.puras.common.json.Response;
import me.puras.common.json.ResponseHelper;
import me.puras.common.service.CrudService;
import me.puras.common.util.ClientListSlice;
import me.puras.common.util... | Java |
# Recapping IPFS in Q4 2019 🎉
We’ve put together a very special issue looking back on all that you, the InterPlanetary File System (IPFS) community, accomplished so far, in 2019. From milestones like releases, projects like ProtoSchool, to the many new (and awesome) contributors who have joined us, and what’s to come ... | Java |
version https://git-lfs.github.com/spec/v1
oid sha256:20e35c5c96301564881e3f892b8c5e38c98b131ea58889ed9889b15874e39cbe
size 8394
| Java |
The MIT License (MIT)
Copyright (c) 2016 Adrian Tsumanu Woźniak
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, m... | Java |
<head>
<meta charset="utf-8">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
{% assign page_title = '' %}
{% if page.title == "Home" %}
{% capture page_title %}
... | Java |
using System;
using System.Diagnostics.CodeAnalysis;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using AgileSqlClub.MergeUi.DacServices;
using AgileSqlClub.MergeUi.Merge;
using AgileSqlClub.MergeUi.Metadata;
using AgileSqlClub.MergeUi.PackageP... | Java |
<?php
namespace Neutral\BlockBundle\DependencyInjection;
use Symfony\Component\Config\Definition\Builder\TreeBuilder;
use Symfony\Component\Config\Definition\ConfigurationInterface;
/**
* This is the class that validates and merges configuration from your app/config files
*
* To learn more see {@link http://symfo... | Java |
<!DOCTYPE HTML>
<!--
Strata by HTML5 UP
html5up.net | @n33co
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
-->
<html>
<head>
<title>Leticia Wright · Kevin Li</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<... | Java |
<?php
namespace Aquicore\API\PHP\Common;
class BatteryLevelModule
{
/* Battery range: 6000 ... 3600 */
const BATTERY_LEVEL_0 = 5500;/*full*/
const BATTERY_LEVEL_1 = 5000;/*high*/
const BATTERY_LEVEL_2 = 4500;/*medium*/
const BATTERY_LEVEL_3 = 4000;/*low*/
/* below 4000: very low */
}
| Java |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
usi... | Java |
---
layout: post
date: 2016-03-19
title: "Anne Barge Promenade 2016 Spring Sleeveless Floor-Length Aline/Princess"
category: Anne Barge
tags: [Anne Barge,Aline/Princess ,Illusion,Floor-Length,Sleeveless,2016,Spring]
---
### Anne Barge Promenade
Just **$299.99**
### 2016 Spring Sleeveless Floor-Length Aline/Princess
<... | Java |
namespace Miruken.Callback
{
using System;
[AttributeUsage(AttributeTargets.Parameter)]
public class KeyAttribute : Attribute
{
public KeyAttribute(object key)
{
Key = key;
}
public KeyAttribute(string key, StringComparison comparison)
{
... | Java |
module Cubic
module Generator
# Config stores data needed throughout the generation process.
class Config
@settings = {}
class << self
def all
@settings
end
def [](key)
all[key] || defaults(key)
end
def root_path(path)
@set... | Java |
namespace OpenProtocolInterpreter.IOInterface
{
/// <summary>
/// IO interface message category. Every IO interface mid must implement <see cref="IIOInterface"/>.
/// </summary>
public interface IIOInterface
{
}
}
| Java |
import { HMR_PATH } from '../config/constants';
function webpackMiddleware(): object[] {
const middleware: object[] = [];
if (BalmJS.webpackCompiler) {
middleware.push(
require('webpack-dev-middleware')(
BalmJS.webpackCompiler,
Object.assign({}, BalmJS.config.server.devOptions, {
... | Java |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>18 --> 19</title>
<link href="./../../assets/style.css" rel="stylesheet">
</head>
<body>
<h2>You have to be fast</h2>
<a href="./dab721f0a9fe4d47eb683c33bbdbce2f653fbfb8bc93a607e7a7ad30636c7061.html">Teleport</a>
<hr>
... | Java |
require 'RMagick'
class MemesController < ApplicationController
before_action :check_meme_destroy_permission, only: [:destroy]
before_action :check_meme_group_permissions, only: [:show]
# GET /memes
# GET /memes.json
def index
@memes = Meme.where(:group_id => nil).order("created_at DESC")
@group = n... | Java |
<html>
<head>
<title>Docs For Class PHPExcel_Writer_Excel2007_ContentTypes</title>
<link rel="stylesheet" type="text/css" href="../media/style.css">
</head>
<body>
<table border="0" cellspacing="0" cellpadding="0" height="48" width="100%">
<tr>
<td class="header_top">PHPExcel_Writer_Excel2007</td>
</tr>
<tr>... | Java |
/**
* Javascript file for Category Show.
* It requires jQuery.
*/
function wpcs_gen_tag() {
// Category Show searches for term_id since 0.4.1 and not term slug.
// There is a need to add the id%% tag to be compatible with other versions
$("#wpcs_gen_tag").val("%%wpcs-"+$("#wpcs_term_dropdown").val()+"%%"+$("#wpc... | Java |
# funkin-gonuts
http://youtu.be/BpJ26Q21y3g?t=1m50s
An attempt at a Go IRC Bot.
| Java |
//
// TextViewController.h
// Galary
//
// Created by joshuali on 16/6/24.
// Copyright © 2016年 joshuali. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface TextViewController : UIViewController
@end
| Java |
# YNRefreshController
RefreshController in swift
| Java |
function mathGame(){
var game = new Phaser.Game(window.innerWidth, window.innerHeight, Phaser.auto, 'math', {
preload: onPreload,
create: onCreate,
// resize:onResize
});
WebFontConfig = {
active: function() { game.time.events.add(Phaser.Timer.SECOND, createText, this); },
google: {
fami... | Java |
package com.javarush.test.level14.lesson08.bonus03;
/**
* Created by Алексей on 12.04.2014.
*/
public class Singleton
{
private static Singleton instance;
private Singleton()
{
}
public static Singleton getInstance()
{
if ( instance == null )
{
instance = new Sin... | Java |
// Copyright (c) Rotorz Limited. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root.
namespace Rotorz.Games.Collections
{
/// <summary>
/// Can be implemented along with <see cref="IReorderableListAdaptor"/> when drop
/// insertion or ordering is desired.
/// <... | Java |
# Rspec Thinking Sphinx matchers
[](https://travis-ci.org/Govinda-Fichtner/rspec-thinking-sphinx-matchers)
Test your Thinking Sphinx 3 index defintions with the custom rspec matchers of this gem.
If you are still u... | Java |
'use strict';exports.__esModule = true;var _stringify = require('babel-runtime/core-js/json/stringify');var _stringify2 = _interopRequireDefault(_stringify);var _classCallCheck2 = require('babel-runtime/helpers/classCallCheck');var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);var _possibleConstructorRetu... | Java |
# Die Class 2: Arbitrary Symbols
# I worked on this challenge [by myself, with: ].
# I spent [#] hours on this challenge.
# Pseudocode
# Input: array of strings
# Output: random selection from the array
# Steps: initialize the die with a non-empty array
# define a method that finds the number of sides (strings in t... | Java |
// +build !windows
package native
import "github.com/itchio/butler/endpoints/launch"
func handleUE4Prereqs(params launch.LauncherParams) error {
// nothing to worry about on non-windows platforms
return nil
}
| Java |
package com.ntlx.exception;
public class BoardNotFoundException extends KanbanException {
private static final long serialVersionUID = 1L;
private int boardId;
public BoardNotFoundException (int boardId) {
this.boardId = boardId;
}
public String getMessage() {
return "Board not found. (ID: " + boardId + ")";... | Java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.