text
stringlengths
3
1.05M
## Usage Example > Unit testing example ```javascript import React from 'react'; import {RadioGroupTestkit} from 'wix-style-react/dist/testkit'; import {RadioGroupTestkit as EnzymeRadioGroupTestkit} from 'wix-style-react/dist/testkit/enzyme'; /*************** enzyme example ***************/ const dat...
Simple HTTP server implemented in C.
function file_name = createFileName(header,special,ext) %CREATEFILENAME Creates a file name from DICOM information. % % NAME = createFileName(HEADER,S) creates a formatted file name (NAME) % from information stored in a DICOM header (HEADER). An additional % string, S, can be supplied, which will be used in the ...
namespace IPC { class MessageFilter; class SyncChannel; class SyncMessageFilter; } // namespace IPC namespace mojo { class OutgoingInvitation; namespace core { class ScopedIPCSupport; } // namespace core } // namespace mojo namespace tracing { class BackgroundTracingAgentProviderImpl; } // namespace tracing name...
package hoecoga.scheduler import org.quartz.{Job, JobExecutionContext} import play.api.libs.json.Json /** * A job to send a simple message to slack. */ trait SlackJob extends Job { protected def tell(job: JobData): Unit override def execute(context: JobExecutionContext): Unit = { val data = Json.parse(cont...
Experiments using OpenCV for preprocessing (camera) images.
<!DOCTYPE html> <!--[if IEMobile 7]><html class="iem7 no-js" lang="en" dir="ltr"><![endif]--> <!--[if lt IE 7]><html class="lt-ie9 lt-ie8 lt-ie7 no-js" lang="en" dir="ltr"><![endif]--> <!--[if (IE 7)&(!IEMobile)]><html class="lt-ie9 lt-ie8 no-js" lang="en" dir="ltr"><![endif]--> <!--[if IE 8]><html class="lt-ie9 no...
@implementation GRDemoViewController - (IBAction)goBack:(id)sender { [self dismissViewController:self]; } @end
ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in Some Florida Lichens (New York) 40 (1990) #### Original name Bactrospora macrospora R. C. Harris ### Remarks null
import java.util.Map.Entry; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.conf.Configured; import org.apache.hadoop.util.Tool; import org.apache.hadoop.util.ToolRunner; public class ConfigurationPrinter extends Configured implements Tool { // static { // Configuration.addDefaultResource("/etc...
static CGFloat AL_NAVIGATION_TEXT_SIZE = 20; static CGFloat AL_LAST_SEEN_LABEL_SIZE = 10; static CGFloat AL_TYPING_LABEL_SIZE = 12.5; @interface ALBaseViewController : UIViewController <UITextViewDelegate> @property (nonatomic, strong) NSString *placeHolderTxt; @property (nonatomic, retain) UIColor *placeHolderColor;...
function [Lambda, Phi, Bhat, W, Uhat, Utilde1, Utilde2, Stilde, Vtilde, zeroInd] = func_DMDc(X1, X2, Upsilon, r, rtilde, B) % Algorithm as described in "DMD with control" to compute DMDc % Copyright 2017, All Rights Reserved % Code by Zhe Bai % For Paper: "Dynamic mode decomposition for compressive system identificati...
The name **QTRB** means "Qt Raspbian", it's a preconfigured **Raspbian OS** with a recent **Qt**. This project is inspired by [QtRpi](https://github.com/neuronalmotion/qtrpi) but targets different achivements: * providing a **ready-to-use package** (QTRB system image, developper tools, ...) * support only one recent...
#pragma once class Loader { public: static Node* loadScene(const SString& fileName); static bool loadXMLFile(tinyxml2::XMLDocument* document, const SString& fileName); static bool loadJSONFile(rapidjson::Document* document, const SString& fileName); private: static void handleXMLError(tinyxml2::XMLError xmlEr...
/** */ package guizmo.structure.impl; import guizmo.structure.StructurePackage; import guizmo.structure.Text; import guizmo.structure.TextBox; import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.common.notify.NotificationChain; import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore....
<?php namespace SilverStripe\Security; use Config; use Member; use SS_HTTPResponse_Exception; /** * Class SecurityEncryption * * @package SilverStripe\Security */ class SecurityEncryption { /** * Encrypt a password according to the current password encryption settings. * If the settings are so that passwo...
template<class T> class allocator { public: // ... T* allocate(int n); // allocate space for n objects of type T void deallocate(T* p, int n); // deallocate n objects of type T starting at p void construct(T* p, const T& v); // construct a T with the value v in p void destroy(T* p); ...
<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> <parent> <groupId>org.ovirt.engine.core</groupId> <artifactId>manag...
package main import ( "encoding/json" "fmt" "io" "os" "os/exec" "strings" "github.com/google/go-jsonnet/formatter" ) func pageln(i ...interface{}) error { return fPageln(strings.NewReader(fmt.Sprint(i...))) } // fPageln invokes the systems pager with the supplied data. // If the PAGER environment variable i...
using UnityEngine; public class Foo { [RuntimeInitializeOnLoadMethod] public void On{caret}Load() { } }
void CloudServer::initialize(const std::string& cloud_dir, const std::string& color_dir, const std::string& transforms_dir, int size_window, int store_max) { if (initialized) return; cloud_path = cloud_dir; color_path = color_dir; transforms_path = transforms_dir; window_size = size_window;...
{-# LANGUAGE CPP #-} ----------------------------------------------------------------------------- -- | -- License : BSD-3-Clause -- Maintainer : Oleg Grenrus <oleg.grenrus@iki.fi> -- -- The repo commits API as described on -- <http://developer.github.com/v3/repos/comments/>. module GitHub.Endpoints.Repos.Commen...
layout: post categories: projects default-image: /a/i/bks-1-450.jpg medium-image: /a/i/bks-1-970.jpg --- <div class="row"> <div class="small-12 columns"> <h1 class="project-title text-center">{{ page.title }}</h1> </div> <div class="small-12 medium-6 columns"> <p class="lead"><i>Miller Publishing Company<...
#pragma once #include <vxLib/Graphics/TextureFormat.h> #include <vxlib/Graphics/Surface.h> namespace vx { namespace graphics { enum class TextureType : u8 { Flat, Cubemap, Volume }; namespace detail { extern u32 getRowPitchBlock(u32 width, u32 blockSize); extern u32 getRowPitchNormal(u32 width, u32 c...
RSpec.describe SolidusSubscriptions::Dispatcher::FailureDispatcher do describe '#dispatch' do it 'marks the installment as failed' do installment = instance_spy(SolidusSubscriptions::Installment) order = create(:order_with_line_items) dispatcher = described_class.new(installment, order) d...
using System; using Nethereum.Hex.HexConvertors.Extensions; using Nethereum.JsonRpc.Client; using Nethereum.JsonRpc.Client.Streaming; namespace Nethereum.Parity.RPC.PubSub { public class ParityUnsubscribeRequestBuilder : RpcRequestBuilder, IUnsubscribeSubscriptionRpcRequestBuilder { public ParityUnsubs...
package manager import ( "context" "go-common/app/admin/main/videoup/model/oversea" "go-common/library/log" ) // UpPolicyRelation update or into archive_relation. func (d *Dao) UpPolicyRelation(c context.Context, aid, gid int64) (relation *oversea.ArchiveRelation, err error) { var assign = map[string]interface{}...
package com.poet.reptile.api.service; import com.poet.reptile.api.model.ICategory; import com.poet.reptile.api.model.ISite; /** * Created by Love0 on 2016/1/9 0009. */ public interface CategoryService extends GeneralService<ICategory> { /** * 根据分类名称和站点编号确定分类是否存在 * @param category * @return ...
SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in Enum. pl. Transsilv. 791. 1866 #### Original name null ### Remarks null
""" Defining a pipeline task that dependency-parses a sentence. """ # EXT import luigi from nltk.parse.stanford import StanfordDependencyParser # PROJECT from bwg.decorators import time_function from bwg.mixins import ArticleProcessingMixin from bwg.serializing import serialize_dependency_parse_tree from bwg.tasks.re...
package org.apache.bcel.generic; /** * FSUB - Substract floats * <PRE>Stack: ..., value1, value2 -&gt; result</PRE> * */ public class FSUB extends ArithmeticInstruction { /** Substract floats */ public FSUB() { super(org.apache.bcel.Const.FSUB); } /** * Call corresponding visi...
using testing::Mock; using testing::_; namespace bookmarks { class ManagedBookmarksTrackerTest : public testing::Test { public: ManagedBookmarksTrackerTest() : managed_node_(nullptr) {} ~ManagedBookmarksTrackerTest() override {} void SetUp() override { RegisterManagedBookmarksPrefs(prefs_.registry()); ...
module Fog module OpenStack class Baremetal class Real def list_drivers(options = {}) request( :expects => [200, 204], :method => 'GET', :path => 'drivers', :query => options ) end end class Mock d...
{-- - Problem 11 (*) Modified run-length encoding. Modify the result of problem 10 in such a way that if an element has no duplicates it is simply copied into the result list. Only elements with duplicates are transferred as (N E) lists. Example: * (encode‐modified '(a a a a b c c a a d ...
{% extends "browse/base.html" %} {% comment %} # Copyright (c) 2012 University of Oxford # # 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...
using GalaSoft.MvvmLight; using GalaSoft.MvvmLight.CommandWpf; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Input; namespace GSPDocumentSpliter { public class GradeSpli...
package org.apache.wicket.util.io; import java.io.IOException; import java.io.NotSerializableException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.io.ObjectStreamClass; import java.io.Serializable; import java.lang.reflect.Array; import java.lang.reflect.Constructor; import java....
package decisiontrees import ( "math" "math/rand" "testing" ) var dataset = labelledPredictions([]labelledPrediction{ labelledPrediction{false, 0.0}, labelledPrediction{true, 0.0}, }) func randomDataset(size int, average float64) labelledPredictions { predictions := labelledPredictions(make([]labelledPredictio...
[ (#REM) Head standard de toutes les pages ; les elements specifiques (title, description) figurent dans le squelette article.html ][ (#REM) Preciser le charset ]<meta http-equiv="Content-Type" content="text/html; charset=#CHARSET" /> [ (#REM) Fierement fabrique avec SPIP ]<meta name="generator" content="SPIP[ (#SPIP...
package no.ntnu.stud.ubilearn.models; public class CasePatientStatus { int highScore = 0; boolean isComplete; String objectId; public CasePatientStatus(int highScore, boolean isComplete) { this.highScore = highScore; this.isComplete = isComplete; objectId = null; } public CasePatientStatus(int highSco...
/** * @file * * This file provides helper functions for EDR adapter. */ #include "caedrutils.h" #include <bluetooth.h> #include "logger.h" #include "uarraylist.h" /** * Pending devices list for data transfer. */ static u_arraylist_t *g_deviceStateList = NULL; bool CAEDRIsServiceSupported(const char **servi...
from os.path import dirname, join from setuptools import setup, find_packages with open(join(dirname(__file__), 'scrapy/VERSION'), 'rb') as f: version = f.read().decode('ascii').strip() setup( name='Scrapy', version=version, url='http://scrapy.org', description='A high-level Web Crawling and Web...
<?php namespace app\models; trait AnimalTrait { public static function tableName() { return 'animal'; } public function rules() { return [ ['name', 'string'] ]; } }
@extends('layouts.app') @section('title') Success @endsection @section('content') <div class="container checkout"> <div class="row"> <div class="col-md-12"> <h2>Success</h2> <p>Thank you for your order.</p> </div> </div> </div> @endsection
NAMESPACE_BEGIN(CryptoPP) ThreadLocalStorage::Err::Err(const std::string& operation, int error) : OS_Error(OTHER_ERROR, "ThreadLocalStorage: " + operation + " operation failed with error 0x" + IntToString(error, 16), operation, error) { } ThreadLocalStorage::ThreadLocalStorage() { #ifdef HAS_WINTHREADS m_index = Tl...
<?xml version="1.0" ?> <container xmlns="http://symfony.com/schema/dic/services" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd"> <parameters> <parameter key="integrated_image...
using System.Collections.Generic; using System.Threading.Tasks; using CSC.CSClassroom.Model.Projects; using CSC.CSClassroom.Model.Projects.ServiceResults; namespace CSC.CSClassroom.Service.Projects { /// <summary> /// Performs project operations. /// </summary> public interface IProjectService { /// <summary> ...
/*-*- Mode: C++ -*-*/ #ifndef AIPPOLYLINE_H #define AIPPOLYLINE_H #include "aipPolygon.h" class Polyline : public Polygon { public: Polyline(spGframe_t gf, int x, int y); // Init degenerate polygon Polyline(spGframe_t gf, spCoordVector_t dpts, bool pixflag=false); // Init to points on data int findDupl...
from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [("request_profiler", "0002_profilingrecord_http_referer")] operations = [ migrations.AddField( model_name="profilingrecord", name="query_st...
<?xml version="1.0" encoding="utf-8"?> <manifest package="com.fsck.k9" xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="23050" android:versionName="5.105"> <uses-feature android:name="android.hardware.touchscreen" android:required="false"/> <suppo...
// Package validating delegates admission checks to dynamically configured // validating webhooks. package validating import ( "context" "fmt" "io" "sync" "time" "github.com/golang/glog" admissionv1beta1 "k8s.io/api/admission/v1beta1" "k8s.io/api/admissionregistration/v1beta1" apierrors "k8s.io/apimachine...
> see https://aka.ms/autorest This is the AutoRest configuration file for confidentialledger. ## Getting Started To build the SDKs for My API, simply install AutoRest via `npm` (`npm install -g autorest`) and then run: > `autorest readme.md` To see additional help and options, run: > `autorest --help` For other ...
// // HPWTextUtilities.h // HPWText <https://github.com/ibireme/HPWText> // // Created by ibireme on 15/4/6. // Copyright (c) 2015 ibireme. // // This source code is licensed under the MIT-style license found in the // LICENSE file in the root directory of this source tree. // #import <UIKit/UIKit.h> #import <Qu...
from subprocess import call import web USERNAME = 'test' PASSWORD = 'test' urls = ( '/pull/','Form', '/pull','Form' ) class Form: def GET(self): #generate html page return ''' <html> <head> <title>orkestra.co pull</title> </head> <body> <form method="post" action"/pull/"> <label for="usern...
function edges = sladjlist2edgeset(targets, sch) %SLADJLIST2EDGESET Converts the adjacency list to edge set % % $ Syntax $ % - edges = sladjlist2edgeset(targets, sch) % % $ Arguments $ % - targets: The targets in adj list (length-n cell array) % - sch: The scheme of conversion % - ...
 CKEDITOR.plugins.setLang( 'image2', 'sv', { alt: 'Alternativ text', btnUpload: 'Skicka till server', captioned: 'Rubricerad bild', infoTab: 'Bildinformation', lockRatio: 'Lås höjd/bredd förhållanden', menu: 'Bildegenskaper', pathName: 'bild', pathNameCaption: 'rubrik', resetSize: 'Återställ storlek...
srilm_opts="-subset -prune-lowprobs -unk -tolower" # end configuration sections . utils/parse_options.sh if [ $# -ne 4 ] && [ $# -ne 3 ]; then echo "Usage: $0 [options] <lang-dir> <arpa-LM> [<lexicon>] <out-dir>" echo "The <lexicon> argument is no longer needed but is supported for back compatibility" echo "E....
from __future__ import print_function import math from time import sleep from rplidar import RPLidar import numpy as np import traceback import socket import io import struct port = 7553 def create_server(): server_socket = socket.socket() server_socket.bind(('', port)) server_socket.listen(1) return...
.swTabbedPanesWidget { border: 2px solid #ccc; border-bottom: none; } .swTabbedPanesWidgetTabPane { overflow: hidden; transition: height 1s ease; } .swTabbedPanesWidget .swTabbedPanesWidgetTabPane:not(:first-child) { border-bottom: 2px solid #ccc; } .swTabbedPanesWidgetTabPaneActive { border-...
<!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_101) on Sat Aug 20 05:41:48 EDT 2016 --> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Uses of Class org.apache.so...
module Mosquitto::Logging LOG_LEVELS = { Mosquitto::LOG_ERR => Logger::FATAL, Mosquitto::LOG_ERR => Logger::ERROR, Mosquitto::LOG_WARNING => Logger::WARN, Mosquitto::LOG_INFO => Logger::INFO, Mosquitto::LOG_DEBUG => Logger::DEBUG } attr_reader :logger # Pipes libmosquitto log messages to a...
namespace Kostassoid.Anodyne.Abstractions.Dependency.Registration.Internal { using System; using System.Collections.Generic; internal class MultipleBindingSyntax : IMultipleBindingSyntax { private readonly MultipleBinding _binding; IBinding IBindingSyntax.Binding { get { retur...
<?php namespace Majora\Framework\Repository\Graph; use Majora\Framework\Repository\RepositoryInterface; /** * Abstract class for graph repositories */ abstract class AbstractGraphRepository implements RepositoryInterface { }
layout: model title: English BertForSequenceClassification Cased model (from foundkim) author: John Snow Labs name: bert_classifier_topic date: 2022-09-19 tags: [bert, sequence_classification, classification, open_source, en] task: Text Classification language: en edition: Spark NLP 4.1.0 spark_version: 3.0 supported: ...
<?xml version="1.0" encoding="UTF-8"?> <!-- ~ 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 Apach...
class Workout < ActiveRecord::Base belongs_to :user end
'use strict'; var InspectionError = require('./inspectionError'); module.exports = function(Inspect, sinon) { /** * Inspects that a spy or stub was called * * @method wasCalled * @version v1.3.0 * * @chainable * @return {object} Returns this value */ Inspect.prototype.wasCalled = func...
<?php namespace controllers; use \core\view as View; class Clients extends \core\controller{ private $_clients; public function __construct(){ parent::__construct(); $this->_clients = new \models\clients(); } public function index(){ $data['title'] = 'Clients'; ...
 /********************************************************** * USING NAMESPACES **********************************************************/ using System; using System.Collections.Generic; using Newtonsoft.Json; using QuantConnect.Logging; namespace QuantConnect { /// <summary> /// Single Parent Chart Object...
'use strict'; function Roll(){ this._remainingPins = 10; this._knockedDownPins = 0; this._rollNumber = 1; this._isSpare = false; this._isStrike = false; } Roll.prototype.pinNumber = function(){ return this._remainingPins; }; Roll.prototype.rollNumber = function(){ return this._rollNumber; }; Roll.prot...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>amm11262: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.cs...
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; namespace NFugue.Samples { /// <summary> /// /// </summary> public class SampleRunner { public void Run() { Console.Title = "NFugue Samples"; Console.WriteLine(Console.Title); Console.WriteLine(""); Co...
id: downloads title: "Downloads" --- For every attachment downloaded by the page, [`event: Page.download`] event is emitted. All these attachments are downloaded into a temporary folder. You can obtain the download url, file system path and payload stream using the [Download] object from the event. You can specify ...
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta charset="utf-8" /> <title>statsmodels.tsa.vector_ar.var_model.VARProcess.is_stable &#8212; statsmodels v0.10.0 documentation</title> <link rel="stylesheet" href="../_static/nature.css" type="text/css" /> <link rel="stylesheet" h...
from typing import Any, Dict, List, Optional, Tuple, TypeVar, Union from globus_sdk import utils # workaround for absence of Self type # for the workaround and some background, see: # https://github.com/python/mypy/issues/11871 SearchQueryT = TypeVar("SearchQueryT", bound="SearchQueryBase") # an internal class fo...
<TEMPLATE ID="p-evolution" FORMAT="LAYOUT"> <!-- ******* --> <ELEMENT ID="CRNFWLQ" V="2" CREATED="00000000" FORMAT="LAYOUT" TYPE="CONFIG" EXPORT="0" TITLE="Evolution Product Layout"><SUMMARY><![CDATA[This product layout is designed to work in conjunction with Web 2.0/Ajax themes. If you do not have an Web 2.0 enable...
#pragma once #include <ft2build.h> #include FT_GLYPH_H #include FT_TRUETYPE_TABLES_H class FreetypeHelper { FT_Library library; public: FreetypeHelper(); ~FreetypeHelper(); FT_Library getLib() const; };
define(['backbone', 'Workspaces', 'Node', 'Login', 'Workspace', 'SearchElements'], function(Backbone, Workspaces, Node, Login, Workspace, SearchElements){ return Backbone.Model.extend({ idAttribute: "_id", url: function() { return '/mys'; }, defaults: { name: "DefaultSession", ...
<img align="right" src="https://cdn.rawgit.com/material-foundation/material-remixer-js/develop/docs/assets/app_screenshot.png" width="339px"> [![Build Status](https://travis-ci.org/material-foundation/material-remixer-js.svg?branch=develop)](https://travis-ci.org/material-foundation/material-remixer-js) [![codecov](ht...
<?php namespace Propel\Generator\Behavior\Versionable; use Propel\Generator\Model\Column; /** * Behavior to add versionable columns and abilities * * @author François Zaninotto */ class VersionableBehaviorObjectBuilderModifier { protected $behavior; protected $table; protected $builder; protect...
module.exports = function (sequelize, DataTypes) { return sequelize.define('Ad', { id: { type: DataTypes.STRING(100), primaryKey: true, unique: true }, name: { type: DataTypes.STRING(100), allowNull: true, comment: '图片名称' }, url: { type: DataTypes.STRING(100), allowNull: true, comment: '跳转链接' }, prior...
<?php class Event extends ModelEx { const TYPE_BAD = 0; const TYPE_REGISTER = 1; const TYPE_START = 2; const TYPE_SUBMIT = 3; const TYPE_END = 4; const TYPE_EDIT = 5; static private function isSelected($value, $selectValue) { return $value == $selectValue ? " selected " : ""; } static fu...
<?xml version="1.0" encoding="UTF-8"?> <npc name="Maris" script="MarisFenrock.lua" walkinterval="2000"> <health now="100" max="100" /> <look type="151" head="78" body="70" legs="66" feet="126" addons="0" /> <parameters> <parameter key="message_greet" value="Oh, you're still alive. Hello, |PLAYERNAME|." /> ...
Ti=Exceptions sec={_Confidential_Information} does not include information that (x) is or becomes a part of the public domain through no act or omission of {_Consultant}, (y) is disclosed to {_Consultant} by a third party without restrictions on disclosure, or (z) was in {_Consultant}'s lawful possession prior to the ...
<?php namespace Zff\Base\Form\View\Helper; /** * FormRadioItem * Similar to FormMultiCheckboxItem, more renders radio instead of checkboxes. * * @package ZffBase * @subpackage ZffBase_Form_Helper */ class FormRadioItem extends FormMultiCheckboxItem { /** * Return input type * * @return str...
#include <inttypes.h> namespace EventQueue_stub { extern int int_value; extern unsigned unsigned_value; }
package io.quarkus.amazon.lambda.deployment; import io.quarkus.builder.item.SimpleBuildItem; public final class LambdaObjectMapperInitializedBuildItem extends SimpleBuildItem { }
A theme for nerds, makes fish even more powerful. It's equipped with a hell of a lot of nice functions and key bindings to speed up your workflow. The philosophy behind budspencer theme: * Delimit the prompt lines clearly to the output. * Produce output only if it contains relevant information. * Show useful...
class AddColumnOrdemToCategoria < ActiveRecord::Migration def change add_column :categoria, :ordem, :integer end end
package sun.awt; import java.awt.Rectangle; import java.awt.GraphicsConfiguration; import java.awt.image.ColorModel; import sun.java2d.SurfaceData; import java.awt.Graphics; public interface X11ComponentPeer { long getWindow(); long getContentWindow(); SurfaceData getSurfaceData(); GraphicsConfigura...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_65) on Tue Sep 16 12:56:58 CEST 2014 --> <TITLE> Place </TITLE> <META NAME="date" CONTENT="2014-09-16"> <LINK REL ="stylesheet" TYPE="text/css" HRE...
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" lang="en"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width,initial-scale=1"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <meta name="lang:clipboard.copy" content="Copy to clipboard"> <meta name="lang...
import gulp from 'gulp'; import path from 'path'; import config from 'config'; import util from 'gulp-util'; import jade from 'gulp-jade'; import rimraf from 'gulp-rimraf'; import minify from 'gulp-minify-html'; gulp.task('clean-markup', () => gulp.src([ path.join(config.paths.build, config....
/* * TextableSample.java * * Created on 25. srpen 2007, 15:48 * * To change this template, choose Tools | Template Manager * and open the template in the editor. */ package samples.textable; /** * @author Pavel Ponec */ public class TextableSample { /** Creates a new instance of TextableSa...
package in.beacandid.app.beacandid.ui.userpost; import in.beacandid.app.beacandid.di.PerActivity; import in.beacandid.app.beacandid.ui.base.MvpPresenter; @PerActivity public interface ReportAbuseMvpPresenter <V extends ReportAbuseMvpView> extends MvpPresenter<V> { void reportAbuse(String id_user_name, String sen...
// cJSON // JSON parser in C. #include <string.h> #include <stdio.h> #include <math.h> #include <stdlib.h> #include <float.h> #include <limits.h> #include <ctype.h> #include "cJSON.h" static int cJSON_strcasecmp(const char *s1,const char *s2) { if (!s1) return (s1==s2)?0:1;if (!s2) return 1; for(; tolower(*s1) ==...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <errno.h> #include <unistd.h> #include <sys/msg.h> /// Message structure /** * struct yourMsgName * { * log int msgType; * datatype feild1, feild2, ...; * } * Usage: * youMsgName obj; * obj.msgType = 1; * and fill your dat in...
var fs = require('fs'); var assert = require('assert'); var StorageApi = require('asposestoragecloud'); var EmailApi = require('asposeemailcloud'); var configProps = require('../Config/config.json'); var data_path = '../../../Data/'; var AppSID = configProps.app_sid; var AppKey = configProps.api_key; var config = {'ap...
#import "KGOTwitterService.h" //#import "SFHFKeychainUtils.h" #import "KGOAppDelegate+ModuleAdditions.h" #import "Foundation+KGOAdditions.h" #import "KGOSocialMediaController.h" #import "TwitterViewController.h" NSString * const TwitterUsernameKey = @"TwitterUsername"; static NSString * const TwitterServiceName = @"Tw...
FROM alpine:3.5 MAINTAINER Charlie Lewis <clewis@iqt.org> RUN apk add --update \ docker \ libmagic \ python \ py2-pip \ && rm -rf /var/cache/apk/* RUN pip install rq ADD requirements.txt requirements.txt RUN pip install -r requirements.txt ADD *.py / LABEL vent="" \ vent.name="rq-worker" \ ...