text stringlengths 3 1.05M |
|---|
"""Tools for handling LaTeX.
Authors:
* Brian Granger
"""
#-----------------------------------------------------------------------------
# Copyright (C) 2010 IPython Development Team.
#
# Distributed under the terms of the Modified BSD License.
#
# The full license is in the file COPYING.txt, distributed with this so... |
<?php
namespace Illuminate\Console\Scheduling;
use Illuminate\Support\Carbon;
trait ManagesFrequencies
{
/**
* The Cron expression representing the event's frequency.
*
* @param string $expression
* @return $this
*/
public function cron($expression)
{
$this->expression ... |
package features;
import java.util.ArrayList;
import java.util.List;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import tutorial.Tutorial;
import Utilities.Utils;
import edu.stanford.nlp.ling.CoreAnnotations.LemmaAnnotation;
import edu.stanford.nlp.ling.CoreAnnotations.TokensAnnotation;
import edu... |
@interface FavoriteSpotsViewController : ListViewController <UITableViewDelegate, UITableViewDataSource, SearchFinished> {
NSArray *favorites;
}
- (IBAction) btnClickClose:(id)sender;
@property (nonatomic, retain) NSArray *favorites;
@end
|
<!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 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Tuples.T1 (stonehorse.candy - simpler java 0.2-SNAPSHOT API)</title>
<l... |
/**
* This transform will update the `policies` content type `slug` value.
*
* @param {object} siteData The Webhook data for a site
* @param {Function} callback The function to call with the updated data
*/
module.exports = function policiesSlug ( siteData, callback ) {
}
|
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.fbsks.certservices</grou... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="pt">
<head>
<!-- Generated by javadoc (version 1.7.0_79) on Mon Jun 22 15:50:37 BRT 2015 -->
<title>Uses of Class org.sdnplatform.sync.internal.rpc.TVersionedValueIterable</title>
<meta na... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>presburger: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css... |
class Resource < ActiveRecord::Base
has_many :bookings
validates :name, presence: true
def filtered_bookings(from, to, status = nil)
bs = bookings.between(from, to)
bs = bs.where(status: status) if status
bs
end
def available?(from, to)
filtered_bookings(from, to, 'approved').empty?
end
e... |
package pgm;
public interface Function {
}
|
"""Command for creating URL maps."""
from googlecloudsdk.compute.lib import base_classes
class Create(base_classes.BaseAsyncCreator):
"""Create a URL map."""
@staticmethod
def Args(parser):
parser.add_argument(
'--default-service',
required=True,
help=('A backend service that will ... |
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... |
@interface TableViewController ()
@property (strong, nonatomic) DKAudioPlayer *audioPlayer;
@property (strong, nonatomic) NSArray *tableData;
@end
@implementation TableViewController
- (id)initWithStyle:(UITableViewStyle)style
{
self = [super initWithStyle:style];
if (self) {
self.tabBarI... |
// Copyright 2010 Google Inc. All Rights Reserved.
package com.crawljax.core;
import java.util.concurrent.TimeUnit;
import org.apache.commons.configuration.ConfigurationException;
import org.junit.Before;
import org.junit.ClassRule;
import org.junit.experimental.categories.Category;
import com.crawljax.core.configu... |
package de.uni_hildesheim.sse.monitoring.runtime.boot;
import de.uni_hildesheim.sse.codeEraser.annotations.Operation;
import de.uni_hildesheim.sse.codeEraser.annotations.Variability;
import de.uni_hildesheim.sse.monitoring.runtime.AnnotationConstants;
import de.uni_hildesheim.sse.monitoring.runtime.annotations.Ti... |
layout: page
title: "Julia Van Domelen"
comments: true
description: "blanks"
keywords: "Julia Van Domelen,CU,Boulder"
---
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<script src="https://dl.dropboxusercontent.com/s/pc42nxpaw1ea4o9/highcharts.js?dl=0"></script>
<!-- <... |
import _plotly_utils.basevalidators
class YanchorValidator(_plotly_utils.basevalidators.EnumeratedValidator):
def __init__(
self, plotly_name="yanchor", parent_name="histogram.marker.colorbar", **kwargs
):
super(YanchorValidator, self).__init__(
plotly_name=plotly_name,
... |
<!DOCTYPE html>
<html ng-app="myTriangle" lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="assets/triangle.css" type="text/css">
<script type="text/javascript" src="assets/angular.min.js"></script>
<script type... |
package com.uppidy.android.sdk.api;
import java.util.Date;
import java.util.List;
import org.springframework.social.ApiException;
import org.springframework.social.MissingAuthorizationException;
/**
* Interface defining operations that can be performed on Uppidy feeds.
*
* @author arudnev@uppidy.com
*/
public i... |
CCC 2013
[Full Contest Questions](http://cemc.uwaterloo.ca/contests/computing/2013/index.html) |
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/rr.iml" filepath="$PROJECT_DIR$/.idea/rr.iml" />
</modules>
</component>
</project>
|
static const CGFloat kJJChunkedProgressBarHeight = 22.0f;
static UIColor *jj_chunkedProgressViewDefaultBorderColor = nil;
static UIColor *jj_chunkedProgressViewDefaultProgressColor = nil;
static UIColor *jj_chunkedProgressViewDefaultBackgroundColor = nil;
@interface JJChunkedProgressView ()
@property (nonatomic, assi... |
define(function(require, exports, module) {
require.loadCSS({content : "html,body,ul,ol{margin:0;padding:0}body{font:100% Helvetica,sans-serif;color:#333}nav ul{margin:0;padding:0;list-style:none}nav li{display:inline-block}nav a{display:block;padding:6px 12px;text-decoration:none}"});
module.exports = {
... |
import webpack from 'webpack';
import fs from 'fs';
import path from 'path';
import _ from 'lodash';
import MiniCssExtractPlugin from 'mini-css-extract-plugin';
import HtmlWebpackPlugin from 'html-webpack-plugin';
import CleanWebpackPlugin from 'clean-webpack-plugin';
// import CopyWebpackPlugin from 'copy-webpack-plug... |
package com.venky.core.util.pkg;
import java.io.File;
import java.util.ArrayList;
import java.util.Enumeration;
import java.util.List;
import java.util.function.Predicate;
import java.util.jar.JarEntry;
import java.util.jar.JarFile;
public class JarIntrospector extends PackageIntrospector{
private final File pkgFi... |
using Application.Data.Migrations;
using Application.Models;
using Application.Models.Articles;
using Application.Models.Pages;
using Microsoft.AspNet.Identity.EntityFramework;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
... |
from __future__ import print_function, absolute_import, unicode_literals, division
import sys as _coconut_sys, os.path as _coconut_os_path
_coconut_file_path = _coconut_os_path.dirname(_coconut_os_path.abspath(__file__))
_coconut_sys.path.insert(0, _coconut_file_path)
from __coconut__ import _coconut, _coconut_MatchEr... |
import os
import argparse
import subprocess
import shutil
import time
import sys
# from fiberfileIO import *
from makeDataset import make_fiber_feature
from runStore import run_store
from runClassification import run_classification
start = time.time()
BLUE_BOLD = "\033[1;34m"
YELLOW = "\033[0;33m"
RED = "\033[0;31m"
NC... |
package org.apache.portals.pluto.demo.applicant.mvcbean.cdi.thymeleaf.controller;
import java.util.Enumeration;
import java.util.ResourceBundle;
import java.util.Set;
import javax.inject.Inject;
import javax.mvc.Controller;
import javax.mvc.Models;
import javax.mvc.View;
import javax.mvc.binding.BindingResult;
impor... |
use super::Graph;
use super::Operation;
use super::Shape;
use super::Status;
use super::Tensor;
use super::TensorType;
use std::cmp::Eq;
use std::collections::HashMap;
use std::convert::From;
use std::fmt::Debug;
use std::fmt::Display;
use std::fmt::Error;
use std::fmt::Formatter;
use std::hash::Hash;
use std::hash::Ha... |
import asyncio
import logging
import sys
from asyncio import Future
from contextlib import suppress
from threading import Thread
from typing import Type, Union, Coroutine
from singletonify import singleton
from .behaviour import CyclicBehaviour
from .message import Message
logger = logging.getLogger("SPADE")
# chec... |
gmock-examples-first-try
========================
First try at using gmock for test driven development
Working through examples from: http://www.amazon.com/Modern-Programming-Test-Driven-Development-Better/dp/1937785483
:
def setUp(self):
self.database = Database('test-db', log_statements=True)
if self.database.server_version < (20, 1, 2, 4):
raise unittest.SkipTest('ClickHouse version too old')
def tearDown(s... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>extructures: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min... |
from msrest.serialization import Model
from msrest.exceptions import HttpOperationError
class FabricError(Model):
"""The REST API operations for Service Fabric return standard HTTP status
codes. This type defines the additional information returned from the
Service Fabric API operations that are not succe... |
package eu.liveandgov.wp1.server.db_helper.inserter;
import eu.liveandgov.wp1.data.impl.Motion;
import eu.liveandgov.wp1.server.db_helper.PostgresqlDatabase;
import java.sql.PreparedStatement;
import java.sql.SQLException;
/**
* Created with IntelliJ IDEA.
* User: hartmann
* Date: 12/3/13
* Time: 11:39 PM
* To ... |
import React, { useState } from "react";
import Button from "../../../../src/components/button";
import Textbox from "../../../../src/components/textbox";
import NumberInput from "../../../../src/components/number";
import Decimal from "../../../../src/components/decimal";
import { Select, Option } from "../../../../sr... |
<?php
class LocationGuruUpdateController extends CI_Controller{
// json response array
public function __construct()
{
parent::__construct();
$this->load->model('guru/LocationGuruUpdateModel');
}
public function updateLocation(){
// json response array
... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package engine;
import gui.BackGround;
import gui.MainFrame;
import gui.panel.GamePanel;
import gui.sprites.CharacterSprite;
import gui.sprites.EnemySprite;
import gui.sprites.FireSprite;
import gui.sprites.OtherSprite... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Validation Language Lines
|--------------------------------------------------------------------------
|
| The following language lines contain the default error messages used by
| the validator c... |
package www.liujijiji.cn.rabittmq.topic;
import com.rabbitmq.client.*;
import www.liujijiji.cn.rabittmq.util.ConnectionUtils;
import java.io.IOException;
import java.util.concurrent.TimeoutException;
/**
* @author liuji
* @date 2018 - 10 - 04 16:48
*/
public class Recv1 {
public static final String QUEUE_N... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>StaticWeb - Admin</title>
<meta name="viewport" content="width=device-width" />
<meta name="generator" content="StaticWeb" />
<link rel="apple-touch-icon" sizes="180x180" href="favicons/apple-touch-icon.png">
<li... |
namespace Infestation.Tests.Supplements.WeaponTests
{
using NUnit.Framework;
[TestFixture]
public class Weapon_Should
{
[Test]
public void HaveNoAggressionEffect_WhenInitialyCreated()
{
var weapon = new Weapon();
Assert.AreEqual(0, weapon.Aggression... |
<html>
<head>
<title>Examples using phpmailer</title>
</head>
<body>
<h2>Examples using PHPMailer</h2>
<h3>1. Advanced Example</h3>
<p>
This demonstrates sending multiple email messages with binary attachments
from a MySQL database using multipart/alternative messages.<p>
<pre>
require 'PHPMailerAutoload.php';
$m... |
/**
* @global iit
* @global ddescribe
* @global describe
* @global it
* @global expect
*
* @description:
* Tests that there are no focus tests
*/
'use strict';
(function (root) {
describe('something', function () {
it('should do stuff', function () {
});
});
}(this));
|
namespace TestStack.ConventionTests.Tests.TestConventions
{
using NUnit.Framework;
using TestStack.ConventionTests.ConventionData;
[TestFixture]
public class TypeExtensionsTests
{
#region IsStatic
[Test]
public void IsStatic_StaticClass_True()
{
// Ar... |
module Paperclip
# Defines the geometry of an image.
class Geometry
attr_accessor :height, :width, :modifier
# Gives a Geometry representing the given height and width
def initialize width = nil, height = nil, modifier = nil
@height = height.to_f
@width = width.to_f
@modifier = modi... |
using System;
using DvachBrowser3.Links;
using DvachBrowser3.Posts;
namespace DvachBrowser3.ViewModels
{
/// <summary>
/// Модель представления медиа-файла.
/// </summary>
public abstract class PostMediaFileViewModelBase<T> : PostPartViewModelBase, IPostMediaFileViewModel where T : PostMediaBase
{... |
domino-puzzle
=============
|
package azkaban.jobtype;
import java.io.File;
import java.io.IOException;
import java.net.MalformedURLException;
import java.net.URL;
import java.net.URLClassLoader;
import java.util.ArrayList;
import java.util.List;
import org.apache.log4j.Logger;
import azkaban.jobExecutor.JavaProcessJob;
import azkaban.jobExecu... |
#ifndef __itkMultiphaseFiniteDifferenceImageFilter_h
#define __itkMultiphaseFiniteDifferenceImageFilter_h
#include "itkInPlaceImageFilter.h"
#include "itkFiniteDifferenceFunction.h"
#include "vnl/vnl_vector.h"
#include "itkImageRegionIterator.h"
#include "itkListSample.h"
#include "itkKdTreeGenerator.h"
namespace i... |
"""POSIX specific tests. These are implicitly run by test_psutil.py."""
import datetime
import os
import subprocess
import sys
import time
import psutil
from psutil._compat import PY3
from test_psutil import LINUX, SUNOS, OSX, BSD, PYTHON
from test_psutil import (get_test_subprocess, skip_on_access_denied,
... |
/*
NAME
occiControl.h - header file for OCCI control classes
DESCRIPTION
Class definitions for MetaData,SQLException,Environment,
Connection,Statement, ConnectionPool, StatelessConnectionPool
RELATED DOCUMENTS
<note any documents related to this facility>
EXPORT FUNCTION(S)
... |
The `Prompt` component is typically a child of the `Input` component and serves two purposes.
First, it serves as a visual indicator of input entry for end users. Secondly, it allows us to display relevant information about the state of a cell to the end user.
```jsx static
import { Prompt } from "@nteract/presentatio... |
<?xml version="1.0" encoding="utf-8"?>
<!--
-->
<set xmlns:android="http://schemas.android.com/apk/res/android">
<translate android:fromYDelta="50%p" android:toYDelta="0"
android:duration="300"/>
</set>
|
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null |
package lebah.portal.action;
import javax.servlet.http.HttpServletRequest;
/**
* @author Shamsul Bahrin Abd Mutalib
* @version 1
*/
public class RequestUtil {
public static String getParam(HttpServletRequest request, String param) {
return request.getParameter(param) != null ? request.getParameter(param) : "... |
### Category
RealSense(TM) SDK
### Author
Intel(R) Corporation
### Hardware Requirements
zr300
### Libraries
### Compiler Flags
-std=c++11
### Libraries Flags
-lrealsense_projection -lrealsense_image -lrealsense -lopencv_imgproc -lopencv_core
### Date
22/08/... |
using System.Reflection;
using System.Runtime.InteropServices;
// Allgemeine Informationen über eine Assembly werden über die folgenden
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
// die mit einer Assembly verknüpft sind.
[assembly: AssemblyTitle("DualityLauncher")]
[assemb... |
class Query
include Immedialist::ItemTypeConversion
def initialize(query_params)
@external_id = query_params[:external_id]
@name = query_params[:name]
end
def call
if no_external_id_provided
query_by_name
else
query_by_external_id
end
end
private
attr_reader :external_i... |
import React from 'react'
import {Link} from 'react-router'
import {last, assign} from 'lodash'
import {SourceCover, Cover, CoverOverlay} from'../cover'
import {toDateString} from '../helpers'
import {SourceStatus, Status, emptySource, Source} from '../model/source'
import {Chapter} from '../model/chapter'
import {Co... |
require File.dirname(__FILE__) + '/../import_rmilk.rb'
module ConsoleRtm
class RtmListRepository
def initialize(context)
@context = context
end
def get_list_name_by_id(id)
if n = @context.get_list_name(id) then
n
else
list = all_lists.find {|list| list.list_id == id}
... |
/**
* AdminLTE Demo Menu
* ------------------
* You should not use this file in production.
* This file is for demo purposes only.
*/
(function ($, AdminLTE) {
"use strict";
/**
* List of all the available skins
*
* @type Array
*/
var my_skins = [
"skin-blue",
"skin-black",
"skin-re... |
(function(MM) {
/**
* The MarkerLayer doesn't do any tile stuff, so it doesn't need to
* inherit from MM.Layer. The constructor takes only an optional parent
* element.
*
* Usage:
*
* // create the map with some constructor parameters
* var map = new MM.Map(...);
* // c... |
import numpy as np
from pySDC.core.Errors import ParameterError, ProblemError
from pySDC.core.Problem import ptype
from pySDC.implementations.datatype_classes.mesh import mesh, imex_mesh
# noinspection PyUnusedLocal
class allencahn2d_imex(ptype):
"""
Example implementing Allen-Cahn equation in 2D using FFTs ... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null |
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (14) on Tue Dec 14 17:15:19 EST 2021 -->
<title>Uses of Class com.brettonw.bedrock.bag.expr.Or (Bag 1.6.8 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="dc.created" content="2021-12-14">
<met... |
/*global define*/
define(['marionette','templates'], function (Marionette,templates) {
"use strict";
return Marionette.ItemView.extend({
template : templates.home,
});
});
|
@interface NativeWidgetMacFramelessNSWindow : NativeWidgetMacNSWindow
@end
#endif // CHROME_BROWSER_UI_VIEWS_FRAME_NATIVE_WIDGET_MAC_FRAMELESS_NSWINDOW_H_
|
var url = require('url')
var util = require('util')
var zlib = require('zlib')
var http = require('http')
var https = require('https')
var Netrc = require('netrc')
var write = require('write-to')
var status = require('statuses')
var rawBody = require('raw-body')
var proxyAgent = require('proxy-agent')
var debug = requi... |
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.iotivity.test.ic.app"
android:versionCode="1"
android:versionName="1.0" >
<uses-feature android:name="android.hardware.nfc" />
<uses-permission android:name="android.permission.R... |
import array
import random
import struct
import sys
from opensimplex import OpenSimplex
class Game(object):
def __init__(self):
self.gen = OpenSimplex(random.randint(0, sys.maxint))
def noise(self, nx, ny):
return self.gen.noise2d(nx, ny) / 2.0 + 0.5
def create_height_map(self, width, he... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null |
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
#include "AITestSuitePrivatePCH.h"
#include "GameplayTasksComponent.h"
#include "MockGameplayTasks.h"
//#include "MockAI_BT.h"
//#include "BehaviorTree/TestBTDecorator_CantExecute.h"
//#include "Actions/TestPawnAction_CallFunction.h"
#define LOCTEXT_NAMESPA... |
`sfmt` is a module that provides an updated and improved version of util.format for string formatting.
## Installation
`npm install sfmt`
## Usage
`sfmt` takes a format string, plus values to substitute, just like util.format does. There are three different substitutions you can include in a format string.
### Pos... |
Debug = debug.Debug
// Simple constructor.
function Point(x,y) {}
// Create mirror for the constructor.
var ctor = debug.MakeMirror(Point);
// Initially no instances.
assertEquals(0, ctor.constructedBy().length);
assertEquals(0, ctor.constructedBy(0).length);
assertEquals(0, ctor.constructedBy(1).length);
assertEqua... |
package org.elasticsearch.indices.store;
import com.google.common.collect.Lists;
import org.elasticsearch.ElasticsearchException;
import org.elasticsearch.action.ActionListener;
import org.elasticsearch.action.FailedNodeException;
import org.elasticsearch.action.support.ActionFilters;
import org.elasticsearch.action... |
<?xml version="1.0" encoding="UTF-8"?>
<T3locallangExt>
<data type="array">
<languageKey index="de" type="array">
<label index="constants"/>
<label index="setup"/>
<label index="all"/>
<label index="plainSubstitution"/>
<label index="substitutedGreen"/>
<label index="unsubstitu... |
(function () {
'use strict';
angular
.module('socialprofileApp')
.config(stateConfig);
stateConfig.$inject = ['$stateProvider'];
function stateConfig ($stateProvider) {
$stateProvider.state('admin', {
abstract: true,
parent: 'app'
});
}
})()... |
use flate2;
use super::CommonState;
use crate::common::OwnedProperty;
use crate::reader::error::{Error, ErrorKind, Result};
use crate::reader::FbxEvent;
use log::warn;
use std::io::Read;
/// A parser for Binary FBX.
#[derive(Debug, Clone)]
pub struct BinaryParser {
version: u32,
end_offset_stack: Vec<u64>,
}
... |
import { Injectable } from '@angular/core';
import { Headers, Http } from '@angular/http';
import 'rxjs/add/operator/toPromise';
import { Employee } from './employee.model';
@Injectable()
export class EmployeeService {
private employeesUrl = 'http://demo1555654.mockable.io/getemployees'; // URL to web api
... |
<!doctype html>
<!--[if lt IE 7]><html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
<!--[if (IE 7)&!(IEMobile)]><html class="no-js lt-ie9 lt-ie8" lang="en"><![endif]-->
<!--[if (IE 8)&!(IEMobile)]><html class="no-js lt-ie9" lang="en"><![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"><!--<!... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" media="all" href="css/grid.css">
<link rel="stylesheet" media="all" href="css/fonts.css"... |
title: aoj31
type: products
image: /img/Screen Shot 2017-05-09 at 11.56.54 AM.png
heading: j31
description: lksadjf lkasdjf lksajdf lksdaj flksadj flksa fdj
main:
heading: Foo Bar BAz
description: |-
***This is i a thing***kjh hjk kj
# Blah Blah
## Blah
### Baah
image1:
... |
package com.coolweather.smtq;
import android.content.Context;
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager;
import android.content.pm.PackageManager.NameNotFoundException;
import android.os.Build;
import android.os.Looper;
import android.widget.Toast;
import com.coolweather.smtq.ut... |
ACCEPTED
#### According to
World Register of Marine Species
#### Published in
null
#### Original name
null
### Remarks
null |
from __future__ import division
from __future__ import print_function
import tensorflow as tf
import numpy as np
from config import FLAGS
# from data import fill_feed_dict as fill_feed_dict
from utils import fill_feed_dict as fill_feed_dict
from sklearn.metrics import precision_score, confusion_matrix, classificatio... |
require "panko/base"
class Panko::Crud < Panko::Base
pattr_initialize :controller, :persisted_record
def build
super
add_index
add_show
add_new_or_edit
end
private
def record_class
# E.g. "EmployeesBreadcrumbs" -> Employee.
self.class.name.sub(/Breadcrumbs$/, "")
.singularize... |
import gc
import os
import sys
import unittest
import weakref
import pympler.asizeof as asizeof
from inspect import stack
if hasattr(sys, 'getsizeof'):
class AsizeofTest(unittest.TestCase):
def _failf(self, fmt, *args):
self.fail(fmt % args)
def test_flatsize_vs_getsizeof(self):
'''Test ... |
<!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 -->
<title>DoNotInstrument</title>
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<script type="text/javascri... |
from south.utils import datetime_utils as datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Adding model 'NavigationPreferences'
db.create_table(u'magiccontentnavigation_navigationprefere... |
/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef __STM32H7xx_HAL_USART_H
#define __STM3H7xx_HAL_USART_H
#ifdef __cplusplus
extern "C" {
#endif
/* Includes ------------------------------------------------------------------*/
#include "stm32h7xx_hal_def.h"
/** @addtogroup STM... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>src/collision/Broadphase.js - p2.js</title>
<link rel="stylesheet" href="http://yui.yahooapis.com/3.9.1/build/cssgrids/cssgrids-min.css">
<link rel="stylesheet" href="../assets/vendor/prettify/prettify-min.css">
<link rel="stylesh... |
var fs = require("fs");
var path = require("path");
function rootBuildGradleExists() {
var target = path.join("platforms", "android", "build.gradle");
return fs.existsSync(target);
}
/*
* Helper function to read the build.gradle that sits at the root of the project
*/
function readRootBuildGradle() {
var targ... |
using System;
using System.Collections.Generic;
using System.Linq;
using DevExpress.Spreadsheet;
using AM;
using AM.Text;
using AM.Text.Ranges;
using ManagedIrbis;
using ManagedIrbis.Fields;
using ManagedIrbis.Magazines;
// ReSharper disable StringLiteralTypo
// ReSharper disable LocalizableElement
namespace Comp... |
<?xml version="1.0"?>
<!-- valid test for Production 57-->
<!DOCTYPE root
[
<!ELEMENT root (#PCDATA|a|b)*>
<!ELEMENT a ANY>
<!ELEMENT b ANY>
<!NOTATION a SYSTEM "a">
<!NOTATION b SYSTEM "b">
<!ATTLIST a att (a|b) #IMPLIED>
<!ATTLIST b att NOTATION (a|b) #IMPLIED>
]>
<root>
This test case tests the kinds of ... |
require 'sys'
require 'cunn'
require 'cudnn'
require 'nnx'
require 'BatchBRNNReLU'
require 'Dataset'
local pl = require('pl.import_into')()
cudnn.fastest = true
cudnn.benchmark = false -- set this false due to the varying input shape
cudnn.verbose = false
local function printMemory()
local freeMemory, totalMemo... |
package com.phloc.commons.collections.iterate;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
import java.util.NoSuchElementException;
import org.ju... |
set -e
# Fail on unset variable
set -u
# ============================================
# Configuration variables
# ============================================
# INPUT_FILE="~/Data/enwiki-20130204-pages-articles.xml.bz2"
INPUT_FILE="/Volumes/LocalScratchHD/LocalHome/Data/random.xml"
OUTPUT_DIR="out"
BYBLO_PATH=... |