text stringlengths 3 1.05M |
|---|
package com.gs.reladomo.jms;
import javax.jms.JMSException;
import javax.jms.XAConnection;
import javax.jms.XAConnectionFactory;
public class InMemoryXaConnectionFactory implements XAConnectionFactory
{
private InMemoryTopicConfig inMemoryTopicConfig;
public InMemoryXaConnectionFactory(InMemory... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null |
package org.apache.cassandra.db.rows;
import java.nio.ByteBuffer;
import org.apache.cassandra.db.*;
import org.apache.cassandra.utils.ObjectSizes;
import org.apache.cassandra.utils.memory.AbstractAllocator;
/**
* Row data stored inside a memtable.
*
* This has methods like dataSize and unsharedHeapSizeExcludingD... |
package io.crate.expression.tablefunctions;
import static org.hamcrest.CoreMatchers.is;
import static org.junit.Assert.assertThat;
import java.util.stream.StreamSupport;
import org.junit.Test;
import io.crate.data.Row;
public class EmptyRowTableFunctionTest extends AbstractTableFunctionsTest {
@Test
pu... |
/**
* @constructor
* @param {!WebInspector.BackingStorage} backingStorage
*/
WebInspector.TracingModel = function(backingStorage)
{
this._backingStorage = backingStorage;
// Avoid extra reset of the storage as it's expensive.
this._firstWritePending = true;
this.reset();
}
/**
* @enum {string}
*... |
require 'spec_helper'
require 'securerandom'
describe CachedRecord::Store::Block do
describe "values" do
let(:values) { [1,2,3,4,5,6] }
let(:block_data) { build_block_data(values, order: :asc) }
subject { described_class.new(*block_data) }
context "when asc" do
it "should return array in asc o... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>metacoq: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css... |
// Copyright (c) 2011-2013 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_QT_GUIUTIL_H
#define BITCOIN_QT_GUIUTIL_H
#include "amount.h"
#include <QEvent>
#include <QHeaderView>
#incl... |
/**
* Created by fandongyang on 2016/12/9.
*/
/**
* Created by fandongyang on 2016/12/4.
*/
import React, { Component } from 'react';
import {
AppRegistry,
StyleSheet,
Text,
View,
Dimensions,
ListView,
Alert,
TouchableHighlight,
ActivityIndicator,
InteractionManager,
Ref... |
import { createEnum } from '../lib/Enum';
export default createEnum(
['logCallLogFailed', 'logFailed', 'fieldRequired'],
'callLogMessages',
);
|
<?php
namespace Ngem\EngineBundle\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://symfony... |
require 'time_crisis/tzinfo/timezone_definition'
module TimeCrisis::TZInfo
module Definitions
module America
module Indianapolis
include TimezoneDefinition
linked_timezone 'America/Indianapolis', 'America/Indiana/Indianapolis'
end
end
end
end
|
//
// Copyright (c) 2016 Patryk Strach
//
// This file is part of OldFileRemover.
//
// 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 ... |
/* global jest:false, expect:false */
jest.disableAutomock()
jest.mock('redux-saga')
import { combineReducers, createStore } from 'redux'
import Wpapi from 'wpapi'
import postJson from '../__fixtures__/wp-api-responses/post'
import initialState from '../__mocks__/states/initial'
import kasia from '../../src'
impor... |
layout: post
date: 2017-12-30
title: "Blush Prom Style 11064 Sleeveless Sweep/Brush Train Sheath/Column"
category: Blush
tags: [Blush,Sheath/Column,Bateau,Sweep/Brush Train,Sleeveless]
---
### Blush Prom Style 11064
Just **$639.99**
### Sleeveless Sweep/Brush Train Sheath/Column
<table><tr><td>BRANDS</td><td>Blush</... |
import gtk
import wnck
from .geometry import Geometry
class AzulejoScreen(object):
"""
Class to hold details of the current screen
This is to encapsulate the gtk that actually communicates with the system.
This will allow us to change libraries if needed and also allows the
creation of a mock sc... |
package com.precog.client.rest;
/**
* The HTTP method used in a REST {@link Request}.
*
* @author Gabriel Claramunt <gabriel@precog.com>
* @author Tom Switzer <switzer@precog.com>
*/
public enum Method {
GET("GET"),
POST("POST"),
DELETE("DELETE"),
PUT("PUT");
private String value;
... |
<?php
namespace Sabre\VObject\Recur\EventIterator;
use PHPUnit\Framework\TestCase;
use Sabre\VObject\Reader;
use Sabre\VObject\Recur;
class FifthTuesdayProblemTest extends TestCase
{
/**
* A pretty slow test. Had to be marked as 'medium' for phpunit to not die
* after 1 second. Would be good to optimiz... |
This sample renders a rotating cube on a black floor with the reflection of the
cube shown on the floor. The reflection cube is confined within the floor by
using stencil buffer. The stencil buffer is multisampled at the default
multisample count and automatically resolved with a depth/stencil resolve in a
VkRenderPass... |
@class Observation;
@class Event;
@interface NotificationRequester : NSObject
+ (void) observationPulled: (Observation *) observation;
+ (void) sendBulkNotificationCount: (NSUInteger) count inEvent: (Event *) event;
@end
|
package io.spine.server.storage.jdbc.delivery;
import com.google.protobuf.Descriptors;
import com.querydsl.core.types.OrderSpecifier;
import com.querydsl.sql.AbstractSQLQuery;
import io.spine.server.delivery.InboxMessage;
import static com.querydsl.core.types.Order.DESC;
import static io.spine.server.delivery.Inbox... |
#include "irccommand.h"
#include "irccommand_p.h"
#include "ircconnection.h"
#include "ircmessage.h"
#include "irccore_p.h"
#include <QTextCodec>
#include <QMetaEnum>
#include <QDebug>
IRC_BEGIN_NAMESPACE
/*!
\file irccommand.h
\brief \#include <IrcCommand>
*/
/*!
\class IrcCommand irccommand.h ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Fusion.Engine.Common;
using System.IO;
namespace Fusion.Core.Content {
[ContentLoader(typeof(byte[]))]
public class BytesLoader : ContentLoader {
public override object Load ( ContentManag... |
<!--
Developed on 07-Jan-2015 by
© 2015 Lucas Machado
https://machadolucas.me
-->
<!DOCTYPE html>
<html>
<head>
<title>Line Scroller</title>
<meta charset="UTF-8">
<link href='http://fonts.googleapis.com/css?family=VT323' rel='stylesheet' type='text/css'>
<link href='style.css' rel='stylesheet' type='text/css'... |
package ButtonsEvents_3.ButtonsEvents_3_1;
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;
/**
* Created by akshayrajgollahalli on 14/08/15.
*/
public class main extends Application {
public static void main... |
package org.apache.jackrabbit.vault.sync.impl;
import java.io.File;
import java.io.IOException;
import java.util.HashSet;
import java.util.LinkedList;
import java.util.List;
import java.util.Set;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.locks.Condition;
import java.util.concurrent.locks.Lock;... |
#pragma once
#include <aws/location/LocationService_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/location/model/DevicePosition.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace U... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SFML.Graphics;
using SFML.System;
using SFML.Window;
namespace LudumDare33ByKaev
{
class EnemyProjectile : GameObject
{
float m_Velocity;
int numberOfTicks;
public ... |
require "cwru_directory/version"
require 'cwru_directory/config'
require 'cwru_directory/authentication'
require 'mechanize' # Can't just open-uri because the URL does a redirect
module CWRUDirectory
URL = 'https://webapps.case.edu/directory/lookup'
@agent ||= Mechanize.new
class << self
# Perform a simple... |
package com.endava.io;
import com.sun.deploy.util.StringUtils;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.RandomAccessFile;
/**
* Created by tvasile on 7/19/2016.
*/
public class Ex1 {
public static int getCharacterOccurences(String filename, int position, St... |
This project welcomes pull requests! We also love issues and generally knowing that this project is (or at least could be) useful! Reach out to us in comments, issues or [on Twitter](https://twitter.com/intent/user?screen_name=jsoxford).
### Local testing
You can use `netcat` to simulate the server and send messages:
... |
/*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be u... |
/**
* Benchmark `nonsingleton-dimensions`.
*/
#include "stdlib/ndarray/base/nonsingleton_dimensions.h"
#include <stdlib.h>
#include <stdio.h>
#include <stdint.h>
#include <math.h>
#include <time.h>
#include <sys/time.h>
#define NAME "nonsingleton-dimensions"
#define ITERATIONS 1000000
#define REPEATS 3
/**
* Prints... |
@interface PlayerKitControlProgressTipsView () {
struct {
unsigned int showing:1;
} _flags;
}
@property (nonatomic, strong) UIImageView *processingIconImageView;
@property (nonatomic, strong) UILabel *processingTimeLabel;
@end
@implementation PlayerKitControlProgressTipsView
- (void)setup {
self... |
package it.backbox.gui.model;
import java.text.Collator;
import java.util.Comparator;
import javax.swing.table.TableModel;
import javax.swing.table.TableRowSorter;
import it.backbox.gui.bean.Filename;
import it.backbox.gui.bean.Size;
public class FileBrowserTableRowSorter extends TableRowSorter<TableMode... |
using namespace std;
namespace GLnexus{
// pImpl idiom
struct Service::body {
service_config cfg_;
BCFData& data_;
std::unique_ptr<MetadataCache> metadata_;
// thread pool for executing discover_alleles and genotype_sites operations
ctpl::thread_pool threadpool_;
// "meta" thread pool for dr... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<title>HBase 0.98.6-hadoop2 Reference Package org.apache.hadoop.hbase.mapreduce.hadoopbackport</title>
<link re... |
import 'vs/css!./media/notebookKernelActionViewItem';
import { ActionViewItem } from 'vs/base/browser/ui/actionbar/actionViewItems';
import { Action, IAction } from 'vs/base/common/actions';
import { localize } from 'vs/nls';
import { registerThemingParticipant, ThemeIcon } from 'vs/platform/theme/common/themeService... |
using System;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace NNNA
{
[Serializable]
public class StaticSprite : Sprite
{
private bool _selected;
public bool Selected
{
get { return _selected; }
set { _selected = value; }
}
public string Type { ge... |
.product-image-container {
position: relative;
margin-bottom: 15px;
border: solid 5px #d3d3d3;
}
.product-image-container.main {
border: solid 5px deepskyblue;
}
.product-image-container > img {
width: 100%;
}
.product-image-container > .btn-group {
display: none;
position: absolute;
top... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
in Warburg, Monsunia 1: 161 (1899)
#### Original name
Nectria nymaniana Henn., 1900
### Remarks
null |
#pragma once
#include <aws/ec2/EC2_EXPORTS.h>
#include <aws/ec2/EC2Request.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <utility>
namespace Aws
{
namespace EC2
{
namespace Model
{
/**
* <p>Contains the parameters for AssignPrivateIpAddresses.</p... |
from customary.urls import urlpatterns
def get_urls():
return urlpatterns, 'api', 'api'
|
package org.apache.spark.util.collection
import scala.reflect._
import com.google.common.hash.Hashing
import org.apache.spark.annotation.Private
/**
* A simple, fast hash set optimized for non-null insertion-only use case, where keys are never
* removed.
*
* The underlying implementation uses Scala compiler's... |
namespace KitchenPC.Recipes
{
using System;
public class RecipeResult
{
public bool RecipeCreated { get; set; }
public Guid? NewRecipeId { get; set; }
}
} |
package intro_java_homework_solutions;
import java.util.Scanner;
public class _06_SumTwoNumbers {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a = 0, b = 0;
System.out.print("Please enter the first number: ");
String input = sc.nextLine();
try {
a = Integer.parseInt... |
/*! \file ioctl.h
Gloom IO control
*/
#if !defined(_IOCTL_H_)
#define _IOCTL_H_
void ioctl_set_msg(int file_desc, char* msg);
void ioctl_get_msg(int file_desc);
void ioctl_get_nth_byte(int file_desc);
#endif /* _IOCTL_H_ */
|
package com.utama.madtodo.tasks;
import java.io.IOException;
import com.utama.madtodo.LoginActivity;
import com.utama.madtodo.R;
import com.utama.madtodo.TodoListActivity;
import com.utama.madtodo.models.LocalRemoteTodo;
import com.utama.madtodo.models.RemoteUser;
import android.app.Activity;
import android.content.... |
'use strict';
angular.module('trackit.statistics')
.controller('TreeMapController', ['$scope', 'EstimationModel', '$cookies', '$filter', 'BillModel', '$uibModal', 'TreemapMockFactory', 'apiBaseUrl', '$http',
function($scope, EstimationModel, $cookies, $filter, BillModel, $uibModal, TreemapMockFactory, apiB... |
require 'socket'
require 'singleton'
module PacketGen
# Config class to provide +config+ object to pgconsole
# @author Sylvain Daubert
# @author Kent 'picat' Gruber
# @since 1.4.1
# @since 2.1.3 Config is singleton
class Config
include Singleton
# Default network interface
# @return [String]
... |
/**
* @license Highcharts JS v8.0.2 (2020-03-03)
*
* Annotations module
*
* (c) 2009-2019 Torstein Honsi
*
* License: www.highcharts.com/license
*/
'use strict';
(function (factory) {
if (typeof module === 'object' && module.exports) {
factory['default'] = factory;
module.exports = factory;
... |
=head1 LICENSE
Copyright (c) 1999-2011 The European Bioinformatics Institute and
Genome Research Limited. All rights reserved.
This software is distributed under a modified Apache license.
For license details, please see
http://www.ensembl.org/info/about/code_licence.html
=head1 CONTACT
Please email... |
<!DOCTYPE html>
<html>
<head>
<title>shopey | Mobile HTML/CSS eCommerce Template</title>
<!-- meta tags start -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="Keywords" content="shopey, premium, mobile, template, HTML, CSS" />
<meta name="Description" content="Premium mobile ... |
namespace Mordor {
class Fiber;
class Scheduler;
/// Scheduler based Mutex for Fibers
/// Type that will lock the mutex on construction, and unlock on
/// destruction
template<class Mutex> struct ScopedLockImpl
{
public:
ScopedLockImpl(Mutex &mutex)
: m_mutex(mutex)
{
m_mutex.lock();
... |
// Copyright (c) 2011-2016 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_QT_GUIUTIL_H
#define BITCOIN_QT_GUIUTIL_H
#include "amount.h"
#include <QEvent>
#include <QHeaderView>
#inc... |
class HTTPWorker {
public:
HTTPWorker(PCAP::TCPPackage package);
void new_package(PCAP::TCPPackage package);
void finish();
PCAP::IpAddress get_src_ip() const;
private:
std::vector<std::string> m_payloads;
std::vector<std::string> m_websites;
PCAP::IpAddress m_src_ip;
std::conditi... |
package io.spine.server;
import com.google.common.collect.ImmutableSet;
import com.google.errorprone.annotations.CanIgnoreReturnValue;
import io.spine.logging.Logging;
import java.util.HashSet;
import java.util.Set;
/**
* Abstract for builder of service classes.
*
* @param <T>
* the type of service to ... |
[Passport](http://passportjs.org/) strategy for authenticating with [FamilySearch](http://familysearch.org)
using the OAuth 2.0 API. The legacy strategy using the OAuth 1.0a API is
available for use, to support older applications.
This module lets you authenticate using FamilySearch in your Node.js
applications. By p... |
The WebGLContexAttributes allow you to configure WebGLRenderingContext creation options when passed as an additional context attributes parameter to the UnityContext. An object can be used as the WebGLContextAttributes and if the properties below are specified on it, they will be used instead of the default values. Onl... |
function BlockAttacks(special, six, five, four, three){
this.special = special;
this.six = six;
this.five = five;
this.four = four;
this.three = three;
}; |
export class Container {
selector: string;
top: number;
right: number;
bottom: number;
left: number;
width: number;
height: number;
constructor(selector: string, top?: number, right?: number, bottom?: number, left?: number, width?: number, height?: number) {
this.selector = selector;
this.to... |
using SignalGoTest2Services.Interfaces;
using SignalGoTest2Services.ServerServices;
using System.Threading;
using System.Threading.Tasks;
using Xunit;
namespace SignalGoTest.SecurityPermissions
{
public class SecurityPermissionCheck
{
/// <summary>
// admin user test
/// </summary>
... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta http... |
#include <cstdio>
#include <sys/socket.h>
#include <cstring>
#include <sys/socket.h>
#include <netdb.h>
#include <arpa/inet.h>
#include <unistd.h>
#include <errno.h>
#include <fcntl.h>
#include "log.h"
#include "EthernetClient.h"
#include "EthernetServer.h"
EthernetServer::EthernetServer(uint16_t port, uint16_t max_... |
void
cblas_dgemm (const enum CBLAS_ORDER Order, const enum CBLAS_TRANSPOSE TransA,
const enum CBLAS_TRANSPOSE TransB, const int M, const int N,
const int K, const double alpha, const double *A, const int lda,
const double *B, const int ldb, const double beta, double *C,
const int ldc)
{
#define ... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
using Windows.ApplicationModel;
using Windows.Storage;
using Windows.Storage.Streams;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls... |
package ceylon.paris.f2f.ext;
import com.redhat.ceylon.compiler.java.metadata.Import;
import com.redhat.ceylon.compiler.java.metadata.Module;
/**
* @author <a href="mailto:ales.justin@jboss.org">Ales Justin</a>
*/
@Module(name = "ceylon.paris.f2f.ext", version = "1.0.0.Final",
dependencies = {
@Import... |
class PeekingIterator(object):
def __init__(self, iterator):
"""
Initialize your data structure here.
:type iterator: Iterator
"""
self.iterator = iterator
self.peeknum = None
def peek(self):
"""
Returns the next element in the iteration without a... |
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may... |
define([
'preact',
'htm',
'jquery',
'd3',
'kb_lib/jsonRpc/genericClient',
'lib/domUtils',
'ResizeObserver',
// For effect
'd3_sankey',
'css!./SankeyGraph.css'
], (
preact,
htm,
$,
d3,
GenericClient,
{objectInfoToObject},
ResizeObserver
) => {
cons... |
namespace ray {
namespace rpc {
shared_ptr<ray::RayletClientInterface> NodeManagerClientPool::GetOrConnectByAddress(
const rpc::Address &address) {
RAY_CHECK(address.raylet_id() != "");
absl::MutexLock lock(&mu_);
auto raylet_id = NodeID::FromBinary(address.raylet_id());
auto it = client_map_.find(raylet_i... |
<?php
namespace Locastic\Schenker;
class PriceAndTimeTableV2Response
{
/**
* @var PriceAndTimeTableResult $PriceAndTimeTableV2Result
* @access public
*/
public $PriceAndTimeTableV2Result = null;
/**
* @param PriceAndTimeTableResult $PriceAndTimeTableV2Result
* @access public
... |
class Cms::Api::V1::ProjectsController < Cms::ApplicationController
def index
projects = Project::Search.eager_load(:tags).latest
render json: projects, each_serializer: Cms::ProjectsSerializer
end
def new
project = Project.new
render json: Cms::ProjectSerializer.new(project)
end
def create
... |
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Drawing.Imaging;
using System.IO;
namespace Tfs2015SetPicture
{
/// <summary>
/// Class for image loading.
/// </summary>
internal static class ImageLoader
{
private const int TargetWidth = 144;
private const in... |
package uk.gov.hmrc.ct.accounts.frs102.boxes
import uk.gov.hmrc.ct.accounts.frs102.retriever.Frs102AccountsBoxRetriever
import uk.gov.hmrc.ct.box._
case class AC129A(value: Option[Int]) extends CtBoxIdentifier(name = "Tangible assets - Fixtures and fittings - depreciation - charge for year")
with CtOptionalIntege... |
<!DOCTYPE html>
<html>
<head>
<title>Probability</title>
<meta charset="utf-8">
<meta name="description" content="Probability">
<meta name="author" content="Brian Caffo, Jeff Leek, Roger Peng">
<meta name="generator" content="slidify" />
<meta name="apple-mobile-web-app-capable" content="yes">
<m... |
//
// SKNode+HLGestureTarget.h
// HLSpriteKit
//
// Created by Karl Voskuil on 2/4/14.
// Copyright (c) 2014 Hilo Games. All rights reserved.
//
#import <SpriteKit/SpriteKit.h>
#import "HLGestureTarget.h"
@interface SKNode (HLGestureTarget)
/// @name Getting and Setting the Gesture Target
/**
Returns the gest... |
for i in group_pool group host_pool host image_pool image template_pool template user_pool user vm_pool vm vnet_pool vnet
do
xmllint --noout --schema $i.xsd samples/$i/*
done |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef __cplusplus
# error This header can only be compiled as C++.
#endif
#ifnd... |
@interface ViewController ()
@end
@implementation ViewController
- (void)viewDidLoad {
[super viewDidLoad];
// Do any additional setup after loading the view, typically from a nib.
NSLog(@"asdfghj");
}
- (void)didReceiveMemoryWarning {
[super didReceiveMemoryWarning];
// Dispose of any resources... |
*Nov 13, 2015*
*Docs, Basics*
LitePub has a built-in server so you can see how a generated blog looks like in
a browser. `cd` to the blog's directory and start the server:
```
$ litepub serve
Running on http://localhost:2703
Ctrl+C to quit
```
Now open [http://localhost:2703](http://localhost:2703) in your browser ... |
package org.apache.jasper.compiler;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Hashtable;
import java.util.Iterator;
import java.util.List;
import java.util.Locale;
import java.util.Map;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
impor... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>higman-s: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.cs... |
echo -e "\n[1/18] Checking if Geshdo API is alive"
if [[ $(curl -I -s http://localhost:3000/ | grep HTTP | cut -d" " -f2) != 200 ]]; then
echo -e "\nGeshdo API does not seem to be running:"
curl -I 'http://localhost:3000/'
else
echo -e "\nGeshdo API seems to be running:"
curl -I -s 'http://localhost:3000/' | grep H... |
CKEDITOR.plugins.setLang( 'find', 'nl', {
find: 'Zoeken',
findOptions: 'Zoekopties',
findWhat: 'Zoeken naar:',
matchCase: 'Hoofdlettergevoelig',
matchCyclic: 'Doorlopend zoeken',
matchWord: 'Hele woord moet voorkomen',
notFoundMsg: 'De opgegeven tekst is niet gevonden.',
replace: 'Vervangen',
repla... |
force CLI
```
force
```
### Options
```
-a, --account username account username to use
-V, --apiversion string API version to use
-h, --help help for force
```
### SEE ALSO
* [force active](force_active.md) - Show or set the active force.com account
* [force apex](force_apex.md) - Execu... |
package cz.none.sisuan.ui.loader;
import javafx.stage.Stage;
public interface Loader {
Stage getWindow(Stage parent, Object controller, String file);
Stage getMainWindow(Stage mainStage, Object controller, String file);
}
|
<?php
namespace Immortal\Routing;
use Immortal\Support\ServiceProvider;
use Zend\Diactoros\Response as PsrResponse;
use Symfony\Bridge\PsrHttpMessage\Factory\DiactorosFactory;
class RoutingServiceProvider extends ServiceProvider
{
/**
* Register the service provider.
*
* @return void
*/
p... |
import time
import serial
import bluetooth
class LCDDisplay:
def __init__(self):
self.ser = None
self.getSerialConnection()
def isConnected(self):
return self.ser is not None
def disconnect(self):
if (self.ser is not None):
self.ser.close()
self.ser = ... |
package com.camunda.fox.rest;
import javax.ws.rs.PUT;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;
import com.camunda.fox.model.dto.Order;
@Path("orders")
public interface OrderResource {
@PUT
@Path("/")
@Produces(MediaType.APPLICATION_JSON)
public Order createOrder(O... |
# Use this hook to configure devise mailer, warden hooks and so forth. The first
# four configuration values can also be set straight in your models.
Devise.setup do |config|
# ==> Mailer Configuration
# Configure the e-mail address which will be shown in DeviseMailer.
config.mailer_sender = "signup@fitgem-client... |
///////////////////////////////////////////////////////////////////////////////////
// Copyright 2017 shushen,ye
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/lice... |
.class Landroid/bluetooth/BluetoothMap$1;
.super Landroid/bluetooth/IBluetoothStateChangeCallback$Stub;
.source "BluetoothMap.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroid/bluetooth/BluetoothMap;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
ac... |
package org.ibase4j.core.listener;
import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
public class ServerListener implements ServletContextListener {
protected final Logger logger = LogMa... |
module Apiman {
export var ConfigForms = {
BASICAuthenticationPolicy: 'basic-auth.include',
IgnoredResourcesPolicy: 'ignored-resources.include',
IPBlacklistPolicy: 'ip-list.include',
IPWhitelistPolicy: 'ip-list.include',
RateLimitingPolicy: 'rate-limiting.include',
Q... |
define(function (require) {
'use strict';
// Get module dependencies.
var EditorManager = brackets.getModule('editor/EditorManager');
// Get extension modules.
var Processor = require('modules/Processor');
/**
* Process current selection.
*/
function process () {
var editor = EditorManager.ge... |
$(function(){
var legend = $('legend');
$('.toggle-on').hide();
$('.sub-toggle-on').hide();
legend.on("click", ".toggle-off", function(){
$(this).parents().children('.panel-body').slideUp();
$(this).hide();
$(this).siblings('.toggle-on').show();
});
legend.on("click", ".toggle-on", function(){
$(this).pa... |
<?php
require_once 'PHPUnit/Framework.php';
require_once 'PHPUnit/Extensions/TestDecorator.php';
require_once 'PHPUnit/Util/Filter.php';
PHPUnit_Util_Filter::addFileToFilter(__FILE__, 'PHPUNIT');
/**
* A Decorator that runs a test repeatedly.
*
* @category Testing
* @package PHPUnit
* @author Sebastia... |
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="search_hint">Αναζήτηση…</string>
<string name="no_result_found">Κανένα αποτέλεσμα</string>
<string name="select_country">Επιλογή χώρας</string>
</resources> |
__author__ = 'wdolowicz'
from model.contact import Contact
from model.group import Group
import random
def test_remove_from_group(app, orm, check_ui):
groups = [i for i in orm.get_group_list() if i.name != ""]
if len(orm.get_group_list()) == 0:
app.group.create(Group(name="test"))
groups = or... |