answer
stringlengths
15
1.25M
namespace Maticsoft.Web.Controls { using System; using System.Web.UI; using System.Web.UI.WebControls; public class <API key> : UserControl { protected HiddenField hfSelectedNode; public bool IsNull; protected void Page_Load(object sender, EventArgs e) { } ...
import { module, test } from 'qunit'; import { setupTest } from 'ember-qunit'; module('Unit | Service | slider', function(hooks) { setupTest(hooks); // Replace this with your real tests. test('it exists', function(assert) { let service = this.owner.lookup('service:slider'); assert.ok(service); }); });
package com.DragonFire.recipe; import com.DragonFire.item.DFItems; import net.minecraft.init.Items; import net.minecraft.inventory.InventoryCrafting; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.minecraft.item.crafting.IRecipe; import net.minecraft.potion.PotionUtils; import net.minec...
#!/usr/bin/env python # Version 0.1 # NDVI automated acquisition and calculation by Vladyslav Popov # Uses Amazon Web Services Public Dataset (Lansat 8) # Script should be run every day from os.path import join, abspath, dirname, exists import os import errno import shutil from tempfile import mkdtemp import subprocess...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <! The Propriet&agrave; associativa della congiuzione parameters will be replaced with the document title extracted from the <h1> element or file name, if there is no <h1> heading <title>Propriet&agrave; associativa della co...
<?php namespace console\models; class test extends \fw\base\Object { public function test() { return "test".$this->par; } }
package org.apache.jsp; import javax.servlet.*; import javax.servlet.http.*; import javax.servlet.jsp.*; public final class index_jsp extends org.apache.jasper.runtime.HttpJspBase implements org.apache.jasper.runtime.JspSourceDependent { private static final javax.servlet.jsp.JspFactory _jspxFactory = j...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Identity; namespace Blm.Models { // Add profile data for application users by adding properties to the ApplicationUser class public class ApplicationUser : IdentityUser { } }
#ifndef SAVETHREAD_H_ #define SAVETHREAD_H_ #define WITH_QT #include <ppl7.h> #include <ppl7-grafix.h> #include <queue> namespace PictureFormat { enum Format { png=0, bmp=1, jpeg=2 }; }; class SaveJob { public: ppl7::grafix::Image img; ppl7::String Filename; int format; ...
# -*- coding: utf-8 -*- from selenium import webdriver from selenium.webdriver.common.by import By from selenium.common.exceptions import <API key> from selenium.common.exceptions import <API key> import unittest, time, re class <API key>(unittest.TestCase): def setUp(self): self.driver = webdriver.Firefox(...
require '<API key>' describe 'Scenario: install foreman' do apache_service_name = ['debian', 'ubuntu'].include?(os[:family]) ? 'apache2' : 'httpd' before(:context) do case fact('osfamily') when 'RedHat' on default, 'yum -y remove foreman* tfm-* mod_passenger && rm -rf /etc/yum.repos.d/foreman*.repo' ...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Drawing.Printing; using System.Text; using System.Windows.Forms; using OpenDental.UI; using OpenDentBusiness; namespace OpenDental { public partial class FormEquipment:Form { pr...
module.exports = function(el, state, container) { var ul = el.<API key>('ul')[0] var lastFlags = [] var controlsTouch = -1 var containerTouch = {"id":-1, "x":-1, "y":-1} el.addEventListener('touchstart', startTouchControls) el.addEventListener('touchmove', handleTouchControls) el.addEventListener('touchen...
#!/bin/bash Script to upgrade Atlassian Stash. It shows the diffs of the common configuration files and asks to copy files from the old instance ## Usage: ## ./upgrade-stash.sh <old-dir> <new-dir> ## Example: ## ./upgrade-stash.sh stash stash-5.2-standalone ## Suggestions: ## stash - should be a symlink to the current ...
#include "Bubble Sort.h" void WSL::Algorithmic::BubbleSort::BubbleSortAlgorithm( WSL::Containers::PointableVector< WSL::Containers::RenderType > *toBeSorted ) { WSL::Containers::RenderType transfer; const unsigned int SIZE = toBeSorted->vector.size(); for( unsigned int i = 0; i < SIZE; ++i ) { f...
<!DOCTYPE html PUBLIC "- <html xmlns="http: <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.11"/> <title>libwallaby: General</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <scrip...
# File : ARCComputingElement.py # Author : A.T. """ ARC Computing Element """ __RCSID__ = "58c42fc (2013-07-07 22:54:57 +0200) Andrei Tsaregorodtsev <atsareg@in2p3.fr>" import os import stat import tempfile from types import StringTypes from DIRAC import S_OK, S_ERROR fro...
#!/bin/sh if [ $# -lt 1 ]; then cat <<EOF Usage: <API key>.sh PREFIX EOF exit 1; fi PREFIX="$1" shift 1 . `dirname $0`/subunit.sh if [ ! -d $PREFIX/<API key> ]; then $PYTHON $SRCDIR/source4/setup/provision --host-name=bar --domain=FOO --realm=foo.example.com --targetdir="$PREFIX/<API key>" --server-role="dc" fi tes...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include "struct.h" #include "access.h" #include "util.h" #include "search.h" void aux_comptage(node* nd, int* counter){ if( prefix_has_epsilon(nd)){ //on augmente le compteur (*counter)++; } int i; if(has_childs(nd)){ /* parse all the child...
/** \file */ #include "<API key>.h" #include "<API key>.h" #include "face_solver_dg.h" #include "face_solver_dpg.h" #include "face_solver_opg.h" #include "<API key>.h" #include "volume_solver_dg.h" #include "volume_solver_dpg.h" #include "volume_solver_opg.h" #include "element.h" #include "element_geometry.h" #include...
<meta content='width=device-width, initial-scale=1' name='viewport'> <link href='https://fonts.googleapis.com/css?family=Roboto:100,200,300,400italic,400,500,500italic,700,700italic,900%7CMaterial+Icons' rel='stylesheet' type='text/css'/> <style> body { background-color:white; margin:0; padding:0 30px; color:#2...
#!/usr/bin/env python3 import re a = [[0 for x in range(25)] for y in range(13)] f=open("../distrib/spiral.txt","r") s=f.readline().strip() dx, dy = [0, 1, 0, -1], [1, 0, -1, 0] x, y, c = 0, -1, 1 l=0 for i in range(13+13-1): if i%2==0: for j in range((25+25-i) x += dx[i % 4] y += dy...
#include "includes.h"
<!DOCTYPE html PUBLIC "- <html xmlns="http: <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <title>Class Members</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <scri...
<?php require_once('../common/config.php'); require_once('./config.php'); if (!(defined('ACCOUNT_SERVER') && defined('ACCOUNT_LIST') && defined('RESPONSE_HEADER'))) //Fatal Error { exit(0); } $out=RESPONSE_HEADER; $buffer=file_get_contents("php://input"); if (substr($buffer,0,QUERY_HEADER_LEN)!=QUERY_HEADER) $out.=...
#include <algorithm> #include <cmath> #include <chrono> #include <map> #include <set> #include <string> #include "Settings.h" #include "SolverConfig.h" #include "Shared/Utils.h" #include "Shared/Exceptions.h" #include "ILPModel/SolverInterface.h" #include "ILPSolver/<API key>.h" using namespace std; using namespace std...
#ifndef <API key> #define <API key> #include "global.h" #include "graph_structure.h" #include <boost/graph/graphviz.hpp> /** * Export object for ControlFlogGraphs * Graphviz file is created, but the vertex and edge preferences are currently not written. */ class GraphVizExport { public: GraphVizExport(st...
# NScD Oak Ridge National Laboratory, European Spallation Source # & Institut Laue - Langevin # This file is part of the mantidqt package from __future__ import (absolute_import, division, print_function, unicode_literals) from os import path from mantid import logger class WorkspaceLoader(object): @static...
// This file is part of PapyrusDotNet. // PapyrusDotNet is free software: you can redistribute it and/or modify // (at your option) any later version. // PapyrusDotNet is distributed in the hope that it will be useful, // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #region using Sy...
layout: page title: "FAQ" permalink: /faq/ - I'd like to see an analysis of the data from a paper on your site, can you do it for me? - We're happy to add analyses to the site. Please let us know what data/paper you'd like to see included according to the instructions provided on our [contact](http://pachterlab.githu...
// This file is part of PapyrusDotNet. // PapyrusDotNet is free software: you can redistribute it and/or modify // (at your option) any later version. // PapyrusDotNet is distributed in the hope that it will be useful, // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #region using Sy...
#ifndef _S1AP_BearerType_H_ #define _S1AP_BearerType_H_ #include <asn_application.h> /* Including external dependencies */ #include <NativeEnumerated.h> #ifdef __cplusplus extern "C" { #endif /* Dependencies */ typedef enum S1AP_BearerType { <API key> = 0 /* * Enumeration is extensible */ } e...
# <API key>: true # Use this hook to configure devise mailer, warden hooks and so forth. # Many of these configuration options can be set straight in your model. Devise.setup do |config| # The secret key used by Devise. Devise uses this key to generate # random tokens. Changing this key will render invalid all exis...
package cm.aptoide.pt.util; import android.content.Context; public class <API key> { private String marketName; public <API key>(String marketName) { this.marketName = marketName; } public String formatString(Context context, int id, String... optParamaters) { return context.getString(id); } }
<?php // Moodle is free software: you can redistribute it and/or modify // (at your option) any later version. // Moodle is distributed in the hope that it will be useful, // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the require_once($CFG->dirroot . '/mod/groupformation/classes/questionnaire/radio_quest...
// You can redistribute it and/or modify it under the terms of the GNU // $URL$ // <API key>: GPL-3.0+ // Author(s) : Hans Tangelder (<hanst@cs.uu.nl>) #ifndef <API key> #define <API key> #include <CGAL/license/Spatial_searching.h> #include <CGAL/Dimension.h> namespace CGAL { template <class K> class Search_tra...
define("view/mission", ["jquery", "laces.tie", "lodash", "view", "tmpl/joboutput", "tmpl/mission"], function($, Laces, _, View, tmpl) { "use strict"; return View.extend({ initialize: function(options) { this.mission = options.mission; this.mission.jobs.on("add", thi...
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title>Frame Three</title> <style> body { text-align: center; background-color: #eee; font-family: -apple-system, BlinkMacSystemFont, sans-serif; } </style> <link rel="shortcut icon" href="https://placeholdit.imgix.net/~text?w=16...
#include "NPC.h" #include "Application.h" #include "ModuleEntityManager.h" #include "Player.h" #include "ModuleCamera.h" #include "ModuleAudio.h" #include <random> NPC::NPC(Entity::Types entityType, iPoint iniPos, short int hp, Direction facing) : Creature(entityType, iniPos, hp, facing) { facing = LEFT; } NPC:...
package com.koushikdutta.async.http.server; import android.annotation.TargetApi; import android.content.Context; import android.content.res.AssetManager; import android.os.Build; import android.text.TextUtils; import com.koushikdutta.async.AsyncSSLSocket; import com.koushikdutta.async.<API key>; import com.koushikdutta...
function GCList(field, multipleSelection, uploadFile, refreshParent = false) { this.field = field; this.multipleSelection = multipleSelection; this.uploadFile = uploadFile; this.refreshParent = refreshParent; this.dialogId = 'list_dialog'; this.options = {}; this.urls = { 'ajax/dataL...
// Created: Thu Feb 13 23:43:13 2014 (+0100) // Last-Updated: // Update // Change Log: // Line Chart Data Sample var ChartLineData = { labels: [], datasets: [{ fillColor: "rgba(151,187,205,0.5)", strokeColor: "grey", pointColor: "rgba(151,187,205,1)", poin...
#include "vector_plot_2d.h" #include "../graph/vector_graph_2d.h" namespace Gnuplot { Vector_plot_2d::Vector_plot_2d() // Default constructor : Plot_2d {Representation::TwoDVector} { // Add default graph: this->graphs.push_back(std::make_shared<Vector_graph_2d>()); } Vector_plot_2d::Vector_plot_2d(const...
package com.authpro.imageauthentication; import android.app.Fragment; import android.content.res.Resources; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.os.Bundle; import android.support.annotation.Nullable; import android.util.Base64; import android.util.Pair; import android.vi...
// This file is part of ezgliding. // ezgliding is free software: you can redistribute it and/or modify // (at your option) any later version. // ezgliding is distributed in the hope that it will be useful, // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the package util import ( "reflect" "testing...
//{{NO_DEPENDENCIES}} // Microsoft Developer Studio generated include file. // Used by svchost.rc #define IDR_SYS 102 // Next default values for new objects #ifdef APSTUDIO_INVOKED #ifndef <API key> #define <API key> 107 #define <API key> 40001 #define <API key> 1000 #defi...
webmin-history =========== Historic System Statistics module for Webmin
#!python """Script for plotting distributions of epitopes per site for two sets of sites. Uses matplotlib. Designed to analyze output of <API key>.py. Written by Jesse Bloom.""" import os import sys import random import epitopefinder.io import epitopefinder.plot def main(): """Main body of script.""" random.see...
package org.septa.android.app.services.apiinterfaces; import android.content.Context; import android.content.SharedPreferences; import android.util.Log; import com.google.gson.Gson; import com.google.gson.JsonSyntaxException; import com.google.gson.reflect.TypeToken; import org.septa.android.app.favorites.FavoriteState...
#include <string.h> #include <sys/socket.h> #include <unistd.h> #include <errno.h> #include <cstdlib> #include <queue> #include <iostream> #include <sstream> #include "BullBenchThread.h" #include "BullBench.h" #define REQUEST_SIZE 2048 void BullBenchThread::run() { int succ = 0; for (;;) { pthread_mutex...
#include <debug/trace.h> #include <types.h> #include <retval.h> #include <cpu.h> // FIXME: we implement this backtrace for IA32-convention, // but we need a generic trace frameworks. retval pcall_backtrace(frame_info_t fi ,u32_t dep_count) { /* u32_t *frame=(u32_t*)get_frame_head(); u8_t frame_head=0,return_ip=1,...
/** * Problem 10.1 CTCI Sorted Merge * * You are given two sorted arrays, a and b, where a has a large enough buffer at the end to hold * b. Write a method to merge b into a in sorted order. * * Examples: * * a: 2, 7, 22, 44, 56, 88, 456, 5589 * b: 1, 4, 9, 23, 99, 1200 * * Result: * * result: 1, ...
package it.cmcc.ophidiaweb.utils.deserialization; import javax.annotation.Generated; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.apache.commons.lang.builder.EqualsBuilder; import org.apac...
#include "param.h" #include "systm.h" #include "mount.h" #include "proc.h" #include "file.h" #include "buf.h" #include "vnode.h" #include "kernel.h" #include "malloc.h" /* Compiler ugly */ #define __IN_UFS_INODE_H__ #include "../ufs/quota.h" #include "../ufs/inode.h" #include "../ufs/fs.h" #include "../ufs/ufsmount.h" ...
;(function ($) { var methods = { init: function (options) { var params; if (!this.length) { return this; } $.fastConfirm = { defaults: { position: 'bottom', offset: {top: 0, left: 0}, ...
mcinif='mcini_gen2' runname='gen_test2111b' mcpick='gen_test2b.pickle' pathdir='/beegfs/work/ka_oj4748/echoRD' wdir='/beegfs/work/ka_oj4748/gen_tests' update_prec=0.04 update_mf=False update_part=500 import sys sys.path.append(pathdir) import run_echoRD as rE rE.echoRD_job(mcinif=mcinif,mcpick=mcpick,runname=runname,wd...
package net.fisty.packgame.client.graphics.particle; import java.awt.Graphics; import java.awt.image.ImageObserver; public abstract class Particle { public int index = 0; public abstract void render(Graphics g, ImageObserver obs); public abstract void update(); public abstract void server(); public ...
# -*- coding: utf-8 -*- from datetime import date import numpy as np from Patterns.GrowthTheoryCell import make_theory_cell from Patterns.<API key> import <API key> from Patterns.<API key> import <API key> from gdsCAD_py3.core import Cell, Boundary, CellArray, Layout, Path from gdsCAD_py3.shapes import Box, Rectangle, ...
<?php /** * Posts shortcode item template * * Simple post item template * Consist of: * image, * title * * @package WebMan Amplifier * @subpackage Shortcodes * * @since 1.0 * @version 1.9.1 * * @uses array $helper Contains shortcode $atts array plus additional helper varia...
#ifndef <API key> #define <API key> #include <deque> #include <condition_variable> #include <mutex> #include <utilities/include/atend.hpp> #include <utilities/include/singleton.hpp> #include <utilities/include/debug.hpp> #include <utilities/include/strings.hpp> namespace utilities { /** * Classe generale che implement...
package com.db4o.db4ounit.common.soda.ordered; import com.db4o.*; import com.db4o.query.*; import db4ounit.*; import db4ounit.extensions.*; /** * COR-1062 */ public class <API key> extends <API key>{ public static class Item{ public Item(int int_, boolean boolean_) { _int = int_; _...
package be.bernardi.mvforandroid.data; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; im...
<?php namespace krFrame\Src\initTemplate; use \krFrame\Src\Error\Error; class SetCustomTaxonomies { private $taxonomies; private $taxonomy; private $name; public function __construct($array) { if (!is_array($array)) { return false; } $this->taxonomies = $array; ...
from rest_framework import serializers from .models import CustomerWallet class <API key>(serializers.<API key>): class Meta: model = CustomerWallet fields = ("wallet_id", "msisdn", "balance", "type", "status")
#ifndef INCLUDE_DBCREADER_H #define INCLUDE_DBCREADER_H #include "dbcmodel.h" #ifdef __cplusplus extern "C" { #endif dbc_t *dbc_read_file(char *filename); #ifdef __cplusplus } #endif #endif
package omr.gui; import java.awt.Color; import java.awt.Font; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.KeyEvent; import javax.swing.JMenu; import javax.swing.JMenuBar; import javax.swing.JMenuItem; import javax.swing.KeyStroke; /** * Menu bar of the main window. *...
#!/usr/bin/env python2 import urllib2 import urllib from BeautifulSoup import BeautifulSoup import smtplib import ConfigParser # Retreive user information config = ConfigParser.ConfigParser() config.read('config.cfg') user = config.get('data','user') password = config.get('data','password') fromaddr = config.get('data'...
package com.neblina.balero.util; import org.owasp.html.Sanitizers; public class AntiXSS { /** * Sanitize common elements b, p, etc. img and a. * @author Anibal Gomez * @param input Unsafe Input * @return Safe Output */ public String blind(String input) { org.owasp.html.PolicyFac...
OJ.extendClass( 'NwEvent', [OjEvent], { '_get_props_' : { 'data' : null }, '_constructor' : function(type/*, bubbles = false, cancelable = false, data = null*/){ var ln = arguments.length; this._super(OjEvent, '_constructor', ln > 3 ? [].slice.call(arg...
// This file is part of the go-krypton library. // The go-krypton library is free software: you can redistribute it and/or modify // (at your option) any later version. // The go-krypton library is distributed in the hope that it will be useful, // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the package di...
#include <stdio.h> #include <string.h> #include <stdlib.h> void clearpri() { system("busybox clear"); } void init(int num) { FILE* fp; int n=0; char s[2000]; fp=fopen("data/ec.db","w"); while(n<num) { s[n++]='0'; } for(n=0;n<num;n++) fprintf(fp,"%c",s[n]); fclose(...
include $(MAGPIE_ROOT)/build/make_opt/Makefile.h # Sub-system source main path # !!Customize!! #export LAYERNAME = rom export SSNAME = wdt # Sub-system source main path export SSMPATH = $(PRJ_ROOT)/$(TARGET)/cmnos/$(SSNAME) # Sub-system object search path for GNU tool chain # !!Customize!! export SSOBJPATH = $(PRJ_ROOT...
<?php /** * Main Catcha class * * @package catcha */ class Catcha { /** * Background color for the challenge image * * @access protected */ protected $<API key>; /** * Foreground color for the challenge image * * @access protected */ protected $<API key>; ...
<?php namespace tests\Espo\Core\Utils; use Espo\Core\Utils\Preload; class PreloadTest extends \PHPUnit\Framework\TestCase { public function testPreload() { $preload = new Preload(); $preload->process(); $this->assertTrue($preload->getCount() > 0); } }
package com.link184.respiration; import com.squareup.javapoet.AnnotationSpec; import com.squareup.javapoet.ClassName; import com.squareup.javapoet.JavaFile; import com.squareup.javapoet.MethodSpec; import com.squareup.javapoet.<API key>; import com.squareup.javapoet.TypeName; import com.squareup.javapoet.TypeSpec; impo...
import os import json import collections import datetime from flask import Flask, request, current_app, make_response, session, escape, Response, jsonify from flask_jwt_extended import JWTManager, jwt_required, create_access_token, get_jwt_identity from flask_socketio import SocketIO from neo4j.v1 import GraphDatabase,...
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE TS> <TS version="2.1" language="sl_SI"> <context> <name>AboutPage</name> <message> <source>Sources</source> <translation>Viri</translation> </message> <message> <source>If you want to create a theme compatible with UI Themer, pleas...
#ifndef <API key> #define <API key> /* djmw 20040422 Initial version djmw 20110307 Latest modification */ #ifndef _Discriminant_h_ #include "Discriminant.h" #endif #ifndef _Pattern_h_ #include "Pattern.h" #endif #ifndef _Categories_h_ #include "Categories.h" #endif Discriminant <API key> (Pattern me, Cate...
#!/usr/bin/python import sys sys.path.append('/var/www/html/valumodel.com/scripts/dcf') from calc_dcf import calc_dcf def create_dcf(req, tax_rate, <API key>, sga_of_sales, da_of_sales, capex_of_sales, nwc_of_sales, levered_beta, current_yield, exit_multiple, ticker): assumptions = {} try: assumptions['...
/** @file sys_startup.c * @brief Startup Source File * @date 29.May.2013 * @version 03.05.02 * * This file contains: * - Include Files * - Type Definitions * - External Functions * - VIM RAM Setup * - Startup Routine * . * which are relevant for the Startup. */ /* USER CODE BEGIN (0) */ /* USER CO...
#ifndef <API key> #define <API key> #include "../message.h" namespace mavlink { namespace msg { const uint8_t gps2_rtk_id = 128; const uint8_t gps2_rtk_length = 35; const uint8_t gps2_rtk_crc = 226; class gps2_rtk : public mavlink::message { public: gps2_rtk(uint8_t system_id, uint...
using System; using System.Collections; using Server.Network; using Server.Items; using Server.Targeting; using Server.Mobiles; using Server.Engines.BuffIcons; namespace Server.Spells.Necromancy { public class PainSpikeSpell : NecromancerSpell { private static SpellInfo m_Info = new SpellInfo( ...
body { color: #777; } /* Add transition to containers so they can push in and out. */ #layout, #menu, .menu-link { -webkit-transition: all 0.2s ease-out; -moz-transition: all 0.2s ease-out; -ms-transition: all 0.2s ease-out; -o-transition: all 0.2s ease-out; transition: all 0.2s ease-out; } /* T...
package fr.guiguilechat.jcelechat.model.sde.attributes; import fr.guiguilechat.jcelechat.model.sde.IntAttribute; public class <API key> extends IntAttribute { public static final <API key> INSTANCE = new <API key>(); @Override public int getId() { return 2458; } @Override public int...
'use strict'; angular.module('MainConsole') .factory('WebSocketService', ['$rootScope', '$q', '$filter', '$location', function ($rootScope, $q, $filter, $location) { var service = {}; service.wsConnect = function() { // Websocket is at wss://hostname:port/ws var host = $l...
#include "OptionsMenuData.hpp" #include "ResourceLoader.hpp" namespace OpMon { namespace Model { OptionsMenuData::OptionsMenuData(UiData *data) : uidata(data) { ResourceLoader::load(background, "backgrounds/options.png"); ResourceLoader::load(selectBar, "sprites/misc/select...
import os import re import gettext import locale import threading # <API key> starts thread <API key> import operator import gtk import gobject import pango import ui import misc import formatting import mpdhelper as mpdh from consts import consts import breadcrumbs def library_set_data(album=None, artist=None, genre=N...
<?php require_once "includes/framework/config.class.php"; $config = new Config(); $req = " SELECT dateUpload FROM historiqueImage WHERE idHistoriqueImage = ".<API key>($_GET["id"]); $res =$config->connexionBdd->requete($req); $image=mysql_fetch_object($res); $path="images/grand/".$image->dateUp...
// micro-C example 8 -- loop 20 million times // PASSES void main() { int i; i = 20000000; while (i) { i = i - 1; } print 999999; } void start() { main(); }
var webpack = require('webpack'); var path = require('path'); const ExtractTextPlugin = require("<API key>"); const extractLess = new ExtractTextPlugin({ filename: "[name].[contenthash].css", disable: process.env.NODE_ENV === "development" }); module.exports = { context: path.join(__dirname, "src"), dev...
#include "lsm303c.h" #include <string.h> /* * * * Acceleration Registers * * **/ #define <API key> 0x0F /* device identification register */ #define <API key> 0x1E #define <API key> 0x1F #define <API key> 0x20 /* Control register 1 acceleration */ #define <API ...
from django.shortcuts import render def about(request): return render(request, "about.html", {}) def location(request): return render(request, "location.html", {}) def failure(request): return render(request, "failure.html", {})
<!doctype html> <html lang=""> <head> <meta charset="utf-8"/> <title>precision - huisaddison/blog</title> <meta name="author" content="Addison"> <link rel="top" href=" <link rel="stylesheet" href="http://huisaddison.com/blog/theme/css/main.css" type="text/css" /> <meta name="viewport" content="w...
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><title>Python: module feedio.UI.addTopic_ui</title> </head><body bgcolor="#f0f0f8"> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> <tr bgcolor="#7799ee"> <td valign=bottom>&nbsp;<br> <font color="#ffffff" face="helve...
<?php // If this file is called directly, abort. if ( ! defined( 'WPINC' ) ) { die; } // ensure EXT is defined if ( ! defined('EXT')) { define('EXT', '.php'); } require 'core/bootstrap'.EXT; $config = include 'plugin-config'.EXT; // set textdomain <API key>( 'comments-ratings', false, basename( dirname( __FILE_...
package org.baeldung; import static org.junit.Assert.assertEquals; import java.util.Collections; import java.util.OptionalInt; import java.util.Set; import javax.validation.ConstraintViolation; import javax.validation.Validation; import javax.validation.Validator; import javax.validation.ValidatorFactory; import org.ba...
package com.zanghongtu.blog.util; public class SummaryParser { private static final int SUMMARY_LENGTH = 256; /** * infocontent html * 256 * @param sourceStr * @return */ public static String getSummary(String sourceStr) { if(StringUtils.isBlank(sourceStr)){ ret...
// Example 4-8: Using continue in a loop. #include <cmath> #include <iostream> #include <istream> #include <limits> #include <ostream> using namespace std; int main(int argc, char *argv[]){ while(true) { cout << "Enter a number: "; double x; cin >> x; if (cin.eof() || cin.bad()) // Input error: ...
// Make screen : lists different control activities and allows to select which to use var MakeScreen = Screen.extend({ enter: function(){ // Display this screen this.display('make_screen'); // Setup button clicks this.html.find(".btn-play").off().click(function(){ fabrica.navigation....
package org.baeldung.persistence.model; import io.katharsis.resource.annotations.JsonApiId; import io.katharsis.resource.annotations.JsonApiRelation; import io.katharsis.resource.annotations.JsonApiResource; import io.katharsis.resource.annotations.SerializeType; import java.util.Set; import javax.persistence.Entity; i...