answer stringlengths 15 1.25M |
|---|
.stm-autocomplete.ui-front {
z-index: 999999;
}
.<API key> {
vertical-align: middle !important;
max-height: 60px;
}
.<API key> {
vertical-align: middle !important;
}
.<API key> .button-primary {
vertical-align: middle !important;
}
.<API key> {
margin-left: 20px !important;
}
.stm_importer {
margi... |
/* ft_isspace.c :+: :+: :+: */
/* By: hmartzol <hmartzol@student.42.fr> +#+ +:+ +#+ */
/* Created: 2016/02/08 18:44:36 by hmartzol #+# #+# */
#include <libft.h>
int ft_isspace(int c)
{
return (c == ' ' || (c > 8 ... |
package edu.eur.absa.algorithm.ontology;
import java.io.File;
import edu.eur.absa.Framework;
import edu.eur.absa.algorithm.AbstractAlgorithm;
import edu.eur.absa.algorithm.Experiment;
import edu.eur.absa.data.DatasetJSONReader;
import edu.eur.absa.data.DatasetJSONWriter;
import edu.eur.absa.data.<API key>;
import edu.e... |
/**
* @requires OpenLayers/Format/XML.js
*/
/**
* Class: OpenLayers.Format.WMTSCapabilities
* Read WMTS Capabilities.
*
* Inherits from:
* - <OpenLayers.Format.XML>
*/
OpenLayers.Format.WMTSCapabilities = OpenLayers.Class(OpenLayers.Format.XML, {
/**
* APIProperty: defaultVersion
* {String} Versi... |
#ifndef <API key>
#define <API key>
#include "gst/gst.h"
#include <gio/gio.h>
GVariant *<API key>(GDBusProxy *pipeline_proxy,
const gchar *element,
const gchar *name,
const gchar *value);
gchar *<API key>(GDBusProxy *pipeline_proxy,
const gchar *element,
const gchar *name);
GVariant *<API key>(GDBus... |
Copyright (c) 2012 Ecma International. All rights reserved.
Ecma International makes this code available under the terms and conditions set
forth on http:
"Use Terms"). Any redistribution of this code must retain the above
copyright and this notice and otherwise comply with the Use Terms.
/**
* @path ch15/15.4/15.4... |
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
#include "send-packet-state.h"
SendPacketState::SendPacketState(int i) : ValueStringState(i){
composite_id = i;
my_name = std::string("SendPacketState");
my_type = std::string("SendPacketState");
state_value = OK;
};
SendPacketS... |
package ngsep.transcriptome.io;
import java.io.BufferedReader;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.List;
import ngsep.sequences.DNAMaskedSequence;
import ngsep.sequences.QualifiedSequence;
import ngsep.sequences.<API ... |
#include "pb_container1.h"
PbContainer1::PbContainer1(const Machine &m)
: edges(EDGES_SIZE), edge_count(0),
f_size(0),
clean_q(Q_SIZE), dirty_q(Q_SIZE), q_size(0)
{
proc_count = m.proc_count();
max_state_count = 0;
for(int i = 0; i < proc_count; i++){
max_state_count = std::max(max_state_count,int(m.autom... |
Joomla 3.7.1 = <API key> |
<?
# Contents/Description: Placeholder file. Not currently used on 2012-06-05 vaskoiii
# todo relative score
# todo full score |
package com.tutorials.patterns.design;
public class <API key> {
public static void main(String[] args) {
//The constructor SingleObject() is not visible
//SingleObject singleObject = new SingleObject();
SingleObject singleObject = SingleObject.getInstance();
System.out.println(single... |
package de.thecodex.logparser;
import de.thecodex.logparser.parser.RawLogParser;
import org.junit.Test;
import java.io.<API key>;
import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.List;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertN... |
# -*- coding: utf-8 -*-
# Action Launcher Bot: This is a bot how can execute differents actions depends commands
# For a good use of the bot please read the README file
import telebot
from telebot import types
import time
import random
import datetime
import token
import user
import os
import subprocess
import commands... |
#include <iostream>
#include <cmath>
using namespace std;
int main(){ // Programa Principal
// Declaracion de tipos de variables
double esperanza ;
double desviacion ;
double abscisa ;
cout << " Valor de µ : " ;
cin >> esperanza ;
cout << " Valor de o : " ;
cin >> desviaci... |
#include <config.h>
#include "lib/global.h"
#include "lib/util.h"
#include "lib/event.h"
#include "internal.h"
static void
<API key> (gpointer data)
{
GPtrArray *callbacks;
callbacks = (GPtrArray *) data;
g_ptr_array_foreach (callbacks, (GFunc) g_free, NULL);
g_ptr_array_free (callbacks, TRUE);
}
gboole... |
package org.halvors.nuclearphysics.common.type;
import net.minecraft.client.particle.Particle;
import net.minecraft.world.World;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;
import org.halvors.nuclearphysics.client.render.particle.ParticleRadioactive;
import org.halv... |
#!/usr/bin/env python
"This module contains an object that represents an action."
class Action(object):
"""This object represents an action.
Use :class:`Action` methods to get instances of this class.
Attributes:
name (int):
target (str):
text (str):
markup (str):
pa... |
{% extends <API key> %}
{% load url from future %}
{% load i18n %}
{% load nav_helpers %}
{% block main %}
{% list_nav '' '' %}
{% if not user.is_superuser or not user.is_list_owner %}
<div class="mm_subHeader" >
<h1>{% trans "No Preferences Available" %}</h1>
</div>
<p>{% trans 'You are not the ... |
// Round
Math.round(2.4);
// X power of Y
Math.pow(5, 2);
// Round up
Math.ceil(2.4);
// Round down
Math.floor(2.4);
// Random number
Math.random(); |
#!/bin/bash
#usage
#rm_file [id_filename]
SCRIPTNAME=$(basename $0 .sh) |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Links</TITLE>
<META http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</HEAD>
<BODY>
<H3 ALIGN="center">Matches for Zohaib <API key> shabir saeedi (832) MTS-34-A.cpp & Ayesha_Sarwar_name.cpp</H3>
<H1 align="center">14.... |
<!DOCTYPE HTML PUBLIC "-
<!--NewPage
<HTML>
<HEAD>
<TITLE>
Uses of Class org.apache.poi.hwmf.record.HwmfDraw (POI API Documentation)
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
if (location.href.inde... |
<?php
if($error == 0)
echo '<p>Tema instalado correctamente</p>';
?> |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="de">
<head>
<!-- Generated by javadoc (version 1.7.0_05-icedtea) on Mon Jun 25 09:34:23 CEST 2012 -->
<title>CustomerInfosFrame.ExtensionFilter</title>
<meta name="date" content="2012-06-25">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" titl... |
# <API key>: true
FactoryGirl.define do
factory :user do
sequence(:email) { |n| "stuff#{n}@example.com" }
password 'something1212'
end
end |
/**
* Contains classes for the Tabs.
*
* @author Veminal
* @version 1.0
*/
package net.veminal.pdf.ui.tab; |
package de.firebirdberlin.preference;
import android.content.Context;
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager.<API key>;
import android.util.AttributeSet;
import androidx.preference.Preference;
public class VersionPreference extends Preference {
public VersionPreference(Conte... |
package spssoftware.opencare.repository;
import org.jooq.DSLContext;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import spssoftware.generated.tables.records.OrganisationRecord;
import spssoftware.opencare.domain.Organisation;
import static spssoftware.... |
// Global default vars
var sampleEntity = "cos(x) * cos(y)";
var sampleEntityType = "entity-bw";
var mvMatrix = mat4.create();
var pMatrix = mat4.create();
var shaderProgram;
var <API key>;
var <API key>;
var gl;
// Init functions
function initWebGL(canvas, entity) {
var canvas = document.getElementById(canvas);
... |
package eu.geopaparazzi.map.layers;
import android.content.SharedPreferences;
import android.os.Build;
import android.preference.PreferenceManager;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import org.oscim.layers.Layer;
import org.oscim.layers.tile.buildings.BuildingLayer;
i... |
# <API key>
Given a C header file.
Find all the C struct, the size of each struct and the size of padding. All sizes need to be in bytes.
Input:
1)some_header_file.h
2)memory alignment option (2,4,8 bytes)
Output:
a CSV file with name of struct , size of struct, size of padding bytes.
Please write a python module which... |
from brian2 import *
set_device('cpp_standalone')
prefs.codegen.cpp.extra_compile_args = ['-w', '-O3', '-ffast-math', '-march=native']
# Parameters
cells = 1
defaultclock.dt = 0.01*ms
area = 20000*umetre**2
Cm = (1*ufarad*cmetre**-2) * area
gl = (5e-5*siemens*cmetre**-2) * area
El = -60*mV
EK = -90*mV
ENa = 50*mV
g_na ... |
#include <iostream>
#include <numeric>
#include <iterator>
#include <string>
#include <vector>
#include <algorithm>
#include <sstream>
#include <utility>
#include <set>
using namespace std;
#define all(t) begin(t), end(t)
#define sp << " " <<
typedef vector<int>::iterator vit;
typedef pair<int,pair<int,int>> line;
type... |
(function($){
$.fn.extend({
sliderAccess: function(options){
options = options || {};
options.touchonly = options.touchonly !== undefined? options.touchonly : true; // by default only show it if touch device
if(options.touchonly === true && !("ontouchend" in document)){
... |
'''
available factories:
<API key>
'''
import numpy
from mlpdata import MLPData
class zero_matrix(object):
def __init__(self, rows, cols):
self.__rows = rows
self.__cols = cols
def rows(self):
return self.__rows
def cols(self):
return self.__cols
def __repr__(... |
<?php
if (!defined('MODULE_FILE')) {
die('You can\'t access this file directly...');
}
$popup = 1;
if ($popup != "1"){
$module_name = basename(dirname(__FILE__));
require("modules/".$module_name."/nukebb.php");
}
else
{
$phpbb_root_path = NUKE_FORUMS_DIR;
}
define('IN_PHPBB', true);
include($phpbb_root_... |
var express = require('express');
var app = express();
var server = require('http').Server(app);
var io = require('socket.io')(server);
var getport = require('getport');
var spawn = require('child_process').spawn;
var parseTorrent = require('parse-torrent');
var processes = {}; // Peerflix processes
var users = 0;
serv... |
-- the Not_indexed Table
CREATE TABLE notindexed(
queueID INTEGER PRIMARY KEY,
fedorahandle VARCHAR(100)
); |
ALTER TABLE [dbo].[risk_factor] WITH CHECK ADD CONSTRAINT [FKDAD694BFA1C0C699] FOREIGN KEY([medical_history_id])
REFERENCES [dbo].[medical_history] ([id])
GO
ALTER TABLE [dbo].[risk_factor] CHECK CONSTRAINT [FKDAD694BFA1C0C699]
GO
ALTER TABLE [dbo].[risk_factor] WITH CHECK ADD CONSTRAINT [FKDAD694BFF76277CA] FOREIG... |
/**
* @module server
*
* Start up the Trails Application.
*/
'use strict'
const app = require('./')
const TrailsApp = require('trails')
const server = new TrailsApp(app)
server.start().catch(err => server.stop(err))
process.on('uncaughtException', function (err) {
console.log('Caught exception: ' + err);
consol... |
package com.pixelutilities;
import java.util.ArrayList;
import java.util.HashMap;
import net.minecraft.block.Block;
import net.minecraft.item.Item;
import net.minecraft.item.Item.ToolMaterial;
import net.minecraft.item.ItemArmor.ArmorMaterial;
import net.minecraft.item.ItemStack;
import net.minecraft.launchwrapper.LogW... |
package de.bpmnaftool.model.aristaflow.fileio;
import java.io.File;
import java.io.IOException;
import de.bpmnaftool.model.aristaflow.AristaFlowModel;
public interface AristaFlowXmlWriter {
/**
* Sets a new file and checks its existence
*
* @param file
* where to write the XML
* ... |
// XrefFileScope.h: interface for the CXrefFileScope class.
#if !defined(<API key>)
#define <API key>
#include "SortedStringMap.h" // Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CXref;
class CXrefFind;
class CXrefFileScope : public CObList
{
friend class CXrefItem;
public:
... |
#ifndef DATASTORE_H
#define DATASTORE_H
#include "logOutput.h"
class dataStore
{
public:
dataStore();
void setupLogOutput(logOutput *log);
void print(FILE *stream=stderr);
QByteArray toByteArray();
dataStore fromByteArray(QByteArray data);
float roll, pitch, heading; // Prim... |
'use strict';
var moment = require('moment');
var Info = require('./models/Info');
var WebNotification = require('./models/WebNotification');
var async = require('async');
module.exports = {
deleteOldInfo() {
var now = moment().utc().format();
var self = this;
... |
(function() {
var QuizeeConfig;
angular.module("quizee", ['ui.router', 'quizee.srv', 'quizee.drt']);
angular.module("quizee.srv", []);
angular.module("quizee.drt", []);
QuizeeConfig = function($stateProvider, $urlRouterProvider) {
$stateProvider.state('home', {
url: '/home',
templateUrl: 'home... |
#ifndef <API key>
#define <API key>
#include <QObject>
#include <QVariantMap>
#include "typedefs.h"
#include "databasecommand.h"
#include "dllmacro.h"
class DLLEXPORT <API key> : public DatabaseCommand
{
Q_OBJECT
public:
enum SortOrder {
None = 0,
ModificationTime = 1
};
enum SortAscDesc... |
<?php defined('BASEPATH') OR exit('No direct script access allowed.');
$config['useragent'] = 'PHPMailer'; // Mail engine switcher: 'CodeIgniter' or 'PHPMailer'
$config['protocol'] = 'smtp'; // 'mail', 'sendmail', or 'smtp'
$config['mailpath'] = '/usr/sbin/sendmail'... |
import java.sql.Timestamp;
import java.util.ArrayList;
import java.io.IOException;
import java.nio.charset.Charset;
import java.util.Arrays;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.List;
public class Reader
{
public static class Data
{
Timestam... |
# -*- coding: utf-8 -*-
# Brandeis - A tool to convert plaintext court cases (from the lochner
# This program is free software: you can redistribute it and/or modify
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PUR... |
#ifndef VX_DEFINES_H
#define VX_DEFINES_H
/* aliases for commonly used values, characters, etc */
#define VX_TRUE 1
#define VX_FALSE 0
/* aliases for various short strings */
#define VX_STR_VX "VX"
#define VX_STR_DELTA "Delta"
#define VX_STR_EPSILON "Epsilon"
#define VX_STR_YALGETH ... |
layout: post
title: "Component Communication"
image: <API key>.jpg
date: 2018-05-15 09:32:11 -0400
categories: Angular
If you're familiar with AngularJS, then you know all about `$scope`. Every controller has a `$scope` object and you can use these guys to broadcast and emit changes from one controller to another. Well... |
'''Proxy support for HTTP requests.'''
import asyncio
import base64
import io
import logging
import wpull.string
from wpull.errors import NetworkError
from wpull.network.pool import ConnectionPool
from wpull.protocol.http.request import RawRequest
from wpull.protocol.http.stream import Stream
_logger = logging.getLogge... |
package dsq.ersatz.db.plant;
import android.widget.SimpleCursorAdapter;
public interface PlantViewBinder extends SimpleCursorAdapter.ViewBinder {
} |
module.exports = function (Napchart) {
// import styles
require('./styles')(Napchart)
Napchart.draw = {
fullDraw: fullDraw,
drawFrame: draw,
benchmark: benchmark
}
var clear = require('./clear')
var tasks = [
// // - face
function(chart){
if(typeof Napchart.draw.ocanvas != 'undefin... |
#!/usr/bin/env bash
# used in travis to:
# - build libsodium
git clone https://github.com/jedisct1/libsodium.git
cd libsodium
git checkout tags/1.0.8
./autogen.sh
./configure --prefix=$HOME/installed_libsodium && \
make -j$(nproc) && \
make install
cd .. |
#include "<API key>.h"
<API key>::<API key>(int iterations, double timeout, const QString &shortDescription, const QString &longDescription, const QString &iconFileName, QObject *parent)
: AMLoopActionInfo3(iterations, shortDescription, longDescription, iconFileName, parent)
{
timeoutTime_ = timeout;
}
<API key... |
<!DOCTYPE html>
<html lang="en" class="no-js">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Unity - Scripting API: DeviceType.Desktop</title>
<meta name="description"... |
<?php require_once("../resources/config.php"); ?>
<?php include(TEMPLATE_FRONT.DS."header.php"); ?>
<!-- Page Content -->
<div class="container">
<div class="row">
<!-- Categories here -->
<?php include(TEMPLATE_FRONT.DS."side_nav.php"); ?>
<div class="col-md-9">
<div class="row"... |
\file maker.cpp
\brief Implementation of Maker area in Decoding board
\author Janie
\version 1.0.0.0
\note
Version When Who Remarks
===========================================================================================================================
0.0.0.1 14Sep2017 Janie... |
<?php
// autoload_classmap.php @generated by Composer
$vendorDir = dirname(dirname(__FILE__));
$baseDir = dirname($vendorDir);
return array(
'PHPUnit\\Exception' => $vendorDir . '/phpunit/phpunit/src/Exception.php',
'PHPUnit\\Framework\\Assert' => $vendorDir . '/phpunit/phpunit/src/Framework/Assert.php',
'P... |
package com.confusionists.mjdjApi.morph;
import java.util.List;
import com.confusionists.mjdjApi.midi.MessageWrapper;
import com.confusionists.mjdjApi.util.MidiTimerTask;
import com.confusionists.mjdjApi.util.MjdjService;
public interface Morph {
public final static String OTHER_MORPHS = "Other Morphs";
/**
... |
"""Triton Daemon - Communication server for Oxford Triton system
The Triton fridge already has communication capacity to directly control and read both the temperatures and other elements
of the fridge (pressure sensors, valves, compressor, ...). However, the Triton logging uses binary format files that can
only be op... |
require 'rails_helper'
RSpec.describe "Assessments", type: :request do
end |
<?php
/*! Class which allows to assign|fire events.
*/
class EventMaster{
private $events;//!< hash of event handlers
private $master;
private static $eventsStatic=array();
/*! constructor
*/
function __construct(){
$this->events=array();
$this->master = false;
}
/*! Meth... |
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
inline Foam::<API key>::<API key>
(
const speciesTable& species,
const objectRegistry& ob,
const dictionary& dict
)
:
<API key>(species, dict),
aName_(dict.lookup("a")),
aField_
(
ob.lookupObject<volScala... |
ESDK=${EPIPHANY_HOME}
ELDF=${ESDK}/bsps/current/fast.ldf
ELDF=../ebsp_fast.ldf
# ARCH will be either x86_64, x86, or armv7l (parallella)
ARCH=$(shell uname -m)
ifeq ($(ARCH),x86_64)
PLATFORM_PREFIX=arm-linux-gnueabihf-
else
PLATFORM_PREFIX=
endif
CFLAGS=-std=c99 -O3 -ffast-math -Wall
INCLUDES = \
-I../includ... |
package com.fastaccess.helper;
public class GithubConfigHelper {
private static final String REDIRECT_URL = "fasthub://login";
public static String getRedirectUrl() {
return REDIRECT_URL;
}
public static String getClientId() {
return "<API key>";
}
public static String getSecret(... |
package com.ouser.ui.helper;
import android.view.Gravity;
import android.widget.Toast;
import com.ouser.logic.OperErrorCode;
import com.ouser.util.Const;
public class Alert {
public static void Toast(String message) {
Alert.Toast(message, true, true);
}
public static void Toast(String message, boole... |
# -*- coding: utf-8 -*-
import os
import lxml.etree
import io
from . import pipeline_item
import core.docvert_exception
class <API key>(pipeline_item.pipeline_stage):
def stage(self, pipeline_value):
return pipeline_value |
// This file is part of OVITO (Open Visualization Tool).
// OVITO is free software; you can redistribute it and/or modify
// (at your option) any later version.
// OVITO is distributed in the hope that it will be useful,
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
#ifndef <API key>
#define <AP... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<style>
table.head, table.foot { width: 100%; }
td.head-rtitle, td.foot-os { text-align: right; }
td.head-vol { text-align: center; }
table.foot td { width: 50%; }
table.head td { width: 33%; }
div.spacer { margin: 1em 0; }
</style>
<title>
TERMIOS(3)</title>
</head... |
<div style="width:90px;min-height:62px;" class="cmd
<center>
<span style="font-weight: bold;font-size : 12px;" class='cmdName'>#name_display#</span>
<span style="font-size: 3em;font-weight: bold;margin-top: 5px;" class="iconCmd#uid#"></span>
</center>
<script>
if ('#state#' == '1' ||... |
# Makefile.in generated by automake 1.10 from Makefile.am.
# gsoap/samples/Makefile. Generated from Makefile.in by configure.
# 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# with or without modifications, as long as this notice is preserved.
... |
Leviathan Level 6
[Leviathan6](http://overthewire.org/wargames/leviathan/leviathan6.html)
**Username**: *leviathan6*
**Password**: *UgaoFee4li*
Solution
bash
for i in {0000..9999}; do ./leviathan6 $i; done
cat /etc/leviathan_pass/leviathan7
# Credentials for Level 7
**Username**: *leviathan7*
**Password**: *ahy7MaeBo9* |
CREATE TABLE "fire_stations" (
"name" text,
"address" text,
"city" text,
"state" text,
"zip" text,
"engine" text,
"location" text
); |
#! /usr/bin/python
class A1(object):
def method(*argv): return argv
a = A1()
print 'Call a.method() ->', a.method()
print 'Call a.method(1,2,3) ->', a.method(1,2,3)
print '''
!! Note that the \'a\' instance is passed (implicitely) as the first
!! function parameter (something like <__main__.A1 obje... |
package net.KabOOm356.Util;
import org.bukkit.ChatColor;
import org.junit.Test;
import static org.junit.Assert.*;
public class UtilTest {
public static final ChatColor indexColor = ChatColor.RED;
public static final ChatColor separatorColor = ChatColor.WHITE;
@Test
public void <API key>() {
fina... |
--Begin Tools.lua :)
local SUDO = 280455102
local function index_function(user_id)
for k,v in pairs(_config.admins) do
if user_id == v[1] then
print(k)
return k
end
end
-- If not found
return false
end
local function getindex(t,id)
for i,v in pairs(t) do
if v == id then
return i
end
end
re... |
\documentclass[]{article}
\usepackage{pgfplots}
\usepackage[margin=1cm]{geometry}
\begin{document}
\input{variables.tex}
\title{OptionsPlot}
\author{Option Plots For: \ticker}
\date{Prepared: \today}
\maketitle
\pgfplotsset{width=17cm, compat=1.3}
\section{General Information}
\begin{table}[!th]
\begin{tabular}{| l | r... |
from electrum_doge.util import print_error
import httplib, urllib
import socket
import threading
import hashlib
import json
from urlparse import urlparse, parse_qs
try:
import PyQt4
except Exception:
sys.exit("Error: Could not import PyQt4 on Linux systems, you may try 'sudo apt-get install python-qt4'")
from P... |
# To change this template file, choose Tools | Templates
# and open the template in the editor.
import unittest
from context import src
class NewTestCase(unittest.TestCase):
def <API key>(self):
assert src.rna2d.<API key>("....(((..[[...))).]]") == {0: None, 1: None, 2: None, 3: None, 4: 16, 5: 15, 6: 14, ... |
local <API key> =
request('!.frontend.text.<API key>')
return
function(self, s)
<API key>(s)
end |
#ifndef Func_quit_H
#define Func_quit_H
#include "Procedure.h"
namespace RevLanguage {
class Func_quit : public Procedure {
public:
Func_quit( void );
// Basic utility functions
Func_quit* clone(void) const; //... |
#ifndef <API key>
#define <API key>
#include "screen.hpp"
#define SCREEN_WIDTH 80
#define SCREEN_HEIGHT 25
#define VIDEO_MEMORY 0xB8000
class HeadlessScreen : public Screen
{
private:
uint32_t id;
uint8_t *outputCurrent;
uint32_t offset;
uint32_t activeProcessId;
uint8_t lock = 0;
void ... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package fr.enib.ihm.bookshop.view;
import com.toedter.calendar.JDateChooser;
import fr.enib.ihm.bookshop.domain.customer.Customer;
import java.awt.Color;
import java.text.SimpleDateFormat;
import java.util.Date;
import j... |
# PropForth6
A concurrent processor vesrion of Forth, specifically for the Prop |
<?php
namespace Espo\Classes\TemplateHelpers;
use Espo\Core\Htmlizer\Helper;
use Espo\Core\Htmlizer\Helper\Data;
use Espo\Core\Htmlizer\Helper\Result;
class TdTag implements Helper
{
public function render(Data $data): Result
{
$align = strtolower($data->getOption('align') ?? 'left');
if (!in_ar... |
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2016.08.11 at 04:29:49 PM MSK
package org.w3.ns.ttml_parameter;
import javax.xml.bind.annotat... |
package com.ocpsoft.socialpm.gwt.client.local.view.component;
import javax.enterprise.context.Dependent;
import javax.inject.Inject;
import org.jboss.errai.ui.shared.api.annotations.DataField;
import org.jboss.errai.ui.shared.api.annotations.Templated;
import com.google.gwt.user.client.ui.Composite;
import com.ocpsoft.... |
namespace Nintenlord.<API key>
{
partial class TileView
{
<summary>
Required designer variable.
</summary>
private System.ComponentModel.IContainer components = null;
<summary>
Clean up any resources being used.
</summary>
<param name="disposing">t... |
package com.roripantsu.common;
import net.minecraft.client.resources.I18n;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;
/**
*For Mod localization.
*@author ShenTeng Tu(RoriPantsu)
*/
@SideOnly(Side.CLIENT)
public class ModI18n {
/**
* For GUI localization... |
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS><TS version="2.0" language="pl_PL" sourcelanguage="">
<context>
<name>AboutDialog</name>
<message>
<location filename="../ffmulticonverter/about_dlg.py" line="40"/>
<source>&Close</source>
<translation>&Zamknij</translation>
... |
using DFM.Email;
namespace DFM.MVC.Models
{
public class OpsCodeModel : BaseSiteModel
{
public Error.Status EmailSent { get; set; }
}
} |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="robots" content="noindex">
<title>File system/http/IMessage.php</title>
<link rel="stylesheet" href="resources/style.css?331665766">
</head>
<body>
<div id="left">
<div id="menu">
<a href="index.html" title="Overview"><span>Ove... |
<?PHP
require_once("website.php");
$adminModuleUtils->checkAdminModule(MODULE_ELEARNING);
$mlText = $languageUtils->getMlText(__FILE__);
$panelUtils->setHeader($mlText[0], "$gElearningUrl/exercise/admin.php");
$strCommand = "<a href='$gElearningUrl/category/edit.php' $gJSNoStatus>"
. "<img border='0' src='$gCommonImage... |
package org.jd.gui.api.feature;
public interface PageChangeable {
void <API key>(PageChangeListener listener);
} |
<?php
namespace PhpPracticalTest\WebBundle\Tests\Controller;
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
class <API key> extends WebTestCase
{
public function testIndex()
{
$client = static::createClient();
$crawler = $client->request('GET', '/hello/Fabien');
$this->assertTrue($... |
!=================================================================================================================================
! Copyright (c) 2010-2016 Prof. Claus-Dieter Munz
! This file is part of FLEXI, a high-order accurate framework for numerically solving PDEs with discontinuous Galerkin methods.
! For more... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.