answer
stringlengths
15
1.25M
#!/bin/bash #: Set up OpenSSH client and server for Ubuntu. #: Intended for Ubuntu 18.04 sudo apt update && sudo apt -y install openssh-client openssh-server ## Harden sshd - disallow root login and password auth sshdConfig="/etc/ssh/sshd_config" sudo cp "$sshdConfig" "${sshdConfig}_BACKUP.txt" # create backup sudo sed...
<!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>GNU Radio 7f75d35b C++ API: gr_block_executor.h Source File</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxy...
package org.dragonet.proxy.network.translator.java.window; import com.github.steveice10.mc.protocol.packet.ingame.server.window.<API key>; import lombok.extern.log4j.Log4j2; import org.dragonet.proxy.network.session.ProxySession; import org.dragonet.proxy.network.session.cache.object.CachedWindow; import org.dragonet.p...
// Function: processfiles // Parameters: source stream, code streams, comment stream // Result: codes and comments in 2 different files #include <string.h> // add String Library #include "cdplfunc.h" // add CodePeel's function library #define MAXRAWCHAR 1000 // Maximum characters for a raw line #define MAXCODCHAR 100...
#include "mbed.h" #include "PeriodicSensor.h" PeriodicSensor::PeriodicSensor() : __dataReady(false), __interrupt(), __sample_period(0), <API key>(false), __min_sample_period(0.05) { __interrupt.detach(); } PeriodicSensor::PeriodicSensor...
var grunt = require('grunt'); var config = grunt.config.get('custom'); module.exports = { options: { removeFiles: true }, default: { src: config.srcPath + '/index.html', blocks: { customScripts: { src: [ config.javascriptPath + '*.js' ...
#include "dmanager.h" #include "dialogwidget.h" class DManagerPrivate { public: DialogWidget *widget; }; DManager::DManager() : SDialogMethod() { p = new DManagerPrivate; p->widget = new DialogWidget( static_cast<QWidget*>(parent()) ); } void DManager::insert( SDialog * ) { } void DManager::remove( ...
package megan.classification.commandtemplates; import jloda.swing.commands.CommandBase; import jloda.swing.commands.ICommand; import jloda.util.Basic; import jloda.util.ProgramProperties; import jloda.util.parse.NexusStreamParser; import megan.classification.<API key>; import megan.classification.IdMapper; import megan...
package org.halvors.nuclearphysics.common.item.block.reactor; import net.minecraft.block.Block; import net.minecraft.block.state.IBlockState; import net.minecraft.client.util.ITooltipFlag; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.item.ItemStack; import net.minecraft.nbt.NBTTagCompound; impo...
package answers import ( "errors" "html/template" "strconv" "time" "appengine/data" "appengine/srv" ) const ( TYPE_TESTSINGLE = iota + 1 TYPE_TESTMULTIPLE = iota + 1 ERR_ANSWERNOTFOUND = "Respuesta no encontrada" <API key> = "Respuesta renderizada erroneamente" <API key>...
#ifndef <API key> #define <API key> #include <string> namespace org::modcpp::bluckbuild { class BluckEnvironment { public: BluckEnvironment(); public: void readConfigFile(); void readConfigFile(const std::string& fileName); std::string translatePath(std::string path) const; std::string getBl...
// Custom Border Forms // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // This library is distributed in the hope that it will be useful, // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // You should have received a copy...
## Welcome to GitHub Pages You can use the [editor on GitHub](https://github.com/fabianHS/LND2017/edit/master/README.md) to maintain and preview the content for your website in Markdown files. Whenever you commit to this repository, GitHub Pages will run [Jekyll](https://jekyllrb.com/) to rebuild the pages in your site...
/** * Low level pin manipulation routines - used by all the drivers. * * These are based on the LPC1768 pinMode, digitalRead & digitalWrite routines. * * Couldn't just call exact copies because the overhead killed the LCD update speed * With an intermediate level the softspi was running in the 10-20kHz range whic...
<!DOCTYPE html PUBLIC "- <html xmlns="http: <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <title>CAPIRSolver: Class Members - Functions</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="search/search.css" rel="stylesheet" type="text/css"/> <script type="text/java...
<html> <head> <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link rel="stylesheet" href="report.css" type="text/css"/> <title></title> <script type="text/javascript" src="report.js"></script> <script type="text/javascript" src="link_popup.js"></script> <script type="text/ja...
<!DOCTYPE HTML PUBLIC "- <html> <head> <title>MPC-HC WebServer - Player</title> <meta http-equiv="content-type" content="text/html; charset=utf-8"> <link rel="stylesheet" type="text/css" href="default.css"> <script type="text/javascript" src="javascript.js"></script> <link re...
<?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 defined('MOODLE_INTERNAL') || die(); $string['allowguests'] = 'يسمح للمستخدمين الضي...
f = open("Sorted_Files.csv") j = open("File_Percentages.csv",'w') lines = f.readlines() lineCount = 0 percentages = [] print("How many months were there?") total = input() print(int(total)) for line in lines: if lineCount == 0: lineCount +=1 continue num = line.split(",")[1] fi = line.split(...
FROM bengosney/py-docker-gen MAINTAINER Ben Gosney <bengosney@googlemail.com> COPY nginx.tpl /opt/app/ CMD python /opt/app/py-docker-gen.py \ --filter hostname \ --notify nginx-proxy \ /opt/app/nginx.tpl \ /etc/nginx/conf.d/proxy.conf
**Razuna Chrome Extension** With the Razuna Chrome Extension you have a simple way to allow your users to browse the files in Razuna, download them and even upload new files within the extension. **Installation** All Chrome Extensions are hosted in the Google Chrome WebStore. Visit the [Razuna Chrome Extensions page](h...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"> <!--NewPage <HTML> <HEAD> <!-- Generated by javadoc on Thu Nov 22 16:43:24 EST 2007 --> <TITLE> Xalan-Java 2.7.1: Uses of Class org.apache.xml.serializer.OutputPropertyUtils </TITLE> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Sty...
(function(){// Collections Blockchain = new Mongo.Collection('blockchain', {connection: null}); Nodes = new Mongo.Collection('nodes', {connection: null}); Map = new Mongo.Collection('map', {connection: null}); /* Controllers */ var MAX_BINS = 40; // Main Stats init Blockchain.insert({ _id: 'meta', frontierHash:...
package org.openurp.edu.eams.util.stat import scala.collection.mutable.HashSet import scala.collection.mutable.Buffer import scala.collection.mutable.ListBuffer import org.beangle.commons.collection.Collections object StatUtils { def setValueToMap(key: String, tempValue: AnyRef, tempType: String, m: colle...
#ifndef QSCXMLEVENT_P_H #define QSCXMLEVENT_P_H // W A R N I N G // This file is not part of the Qt API. It exists purely as an // implementation detail. This header file may change from version to // version without notice, or even be removed. // We mean it. #include <QtScxml/qscxmlevent.h> #include <QtScxml/privat...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Logging { <summary> Attribute used to disable logging a given item </summary> [AttributeUsage(AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Constructor, AllowMultiple = false, Inherit...
/** @file * A simple TGA image dumper. */ #include <cstdio> #include <memory> #include "src/common/error.h" #include "src/common/ustring.h" #include "src/common/writefile.h" #include "src/images/decoder.h" namespace Images { static void writePixel(Common::WriteStream &file, const byte *&data, PixelFormat format) { ...
<!DOCTYPE HTML PUBLIC "- <!--NewPage <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_51) on Fri Jul 19 02:58:57 EDT 2013 --> <META http-equiv="Content-Type" content="text/html; charset=utf-8"> <TITLE> Uses of Class org.apache.solr.cloud.Assign (Solr 4.4.0 API) </TITLE> <META NAME="date" CONTENT="2013-07-19"> <LINK...
module.exports = function (app) { app.get('/api/accounts', function (req, res) { var results = []; req.ledger.accounts().on('data', function(account) { results.push(account); }) .once('end', function () { res.json(results); }); }); };
package com.ocarballo.ocmanager.repository; import java.util.List; import static org.junit.Assert.*; import org.junit.Before; import org.junit.Test; import org.springframework.context.ApplicationContext; import org.springframework.context.support.<API key>; import com.ocarballo.ocmanager.domain.Recipe; import com.ocarb...
# <API key>.sh # We need to verify before entering this stage of CURRENT_STATUS="postinstall:ended" # and <API key>="" if [ "$<API key>" = "N" ]; then Error "As the variable <API key> is set to \"N\" we cannot proceed stage $stage" fi # clear <API key> to be sure <API key>= if [ "$CURRENT_STATUS" = "postinstall:end...
<!DOCTYPE HTML PUBLIC "- <!-- NewPage --> <html lang="pt"> <head> <!-- Generated by javadoc (1.8.0_65) on Fri Aug 26 13:56:37 GMT-03:00 2016 --> <title>GuestDao</title> <meta name="date" content="2016-08-26"> <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> <script type="text/java...
#!/usr/bin/env python import fileinput import sys import re t0first=len(sys.argv) < 2 or sys.argv[1] != "1" t0firstLayers=sys.argv[2:] if len(t0firstLayers) == 0: t0firstLayers=map(str,range(0,1000)) # t0firstLayers=["0"] numeric="([-+]?(?:(?: \d* \. \d+ )|(?: \d+ \.? )))" rX=re.compile("X"+numeric,re.VERBOSE) r...
# LUWRAIN Extensions LUWRAIN is a platform for the creation of apps for the blind and partially-sighted. It provides a Java API for constructing <API key> apps with the user interface adjusted to the perception of blind people. Please visit [luwrain.org](http://luwrain.org/?lang=en) for further information.
#include "llib_types.h" #include "llib_err.h" #include "llib_mem.h" #include "llib_env.h" #include "llib_str.h" #include "llib_file.h" #include "llib_list.h" #include "llib_print.h" #include "llib_snb.h" #include "llib_i18n.h" #include "llib_utf8.h" #include "llib_global.h" #include "llib_charmap.h" LLIB_EXPORT char* l...
using System.Globalization; using System.Windows.Controls; namespace NETworkManager.Validators { public class PortValidator : ValidationRule { public override ValidationResult Validate(object value, CultureInfo cultureInfo) { if (!int.TryParse(value as string, out var portNumber)) ...
<!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>GNU Radio 3.6.1 C++ API: gr_pll_freqdet_cf.h File Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxy...
// client/command/remote/get.go // This file is part of sss. // sss is free software: you can redistribute it and/or modify // (at your option) any later version. // sss is distributed in the hope that it will be useful, // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the package remote import ( "conte...
package org.graylog2.messagehandlers.gelf; /** * <API key>.java: Sep 30, 2010 1:01:37 PM * <p/> * [description] * * @author Lennart Koopmann <lennart@socketfeed.com> */ class <API key> extends GELFException { }
package soot.jimple.parser.node; import soot.jimple.parser.analysis.*; @SuppressWarnings("nls") public final class ALocalVariable extends PVariable { private PLocalName _localName_; public ALocalVariable() { // Constructor } public ALocalVariable( @SuppressWarnings("hiding") PLocalNa...
<?php namespace Claroline\ChatBundle\Form; use Claroline\CoreBundle\Library\Configuration\<API key>; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\<API key>; use Symfony\Component\OptionsResolver\<API key>; class <API key> extends AbstractType { private $configHandler; public function __co...
package game; final class C_100059_df extends C_100325_id { static String field_101594_F; int field_101602_O; static int field_101592_D; static String field_101616_z; static C_100026_hb field_101599_L; static byte[] field_101603_H; int field_101607_Q; int field_101605_J; static Strin...
using System.Collections.Generic; namespace LeafStyle { public class <API key> : BasicStyleProperty<TextOverflowState> { public string String { get; set; } public <API key>() : base( defaultState: default(TextOverflowState), inherited: false, ...
package com.l2jglobal.gameserver.network.clientpackets; import com.l2jglobal.commons.network.PacketReader; import com.l2jglobal.gameserver.model.L2World; import com.l2jglobal.gameserver.model.TradeItem; import com.l2jglobal.gameserver.model.TradeList; import com.l2jglobal.gameserver.model.actor.instance.L2PcInstance; i...
<?php function is_ext($name, $err='ERROR') { if (extension_loaded($name)) { echo 'OK'; } else { echo $err; } } ?> <html> <head> <title>Ready for install Framzod</title> <style> * { margin: 0; padding:...
<?php /** * Koken cache warmup script. * * @author Sylvain Deloux <github@eax.fr> * @author Georg Peters <georg90@github> */ if ('cli' !== php_sapi_name()) { exit; } /** * Custom configuration goes here */ // Root dir of your Koken installation (contains i.php) $rootDir = dirname('html'); // List of Koken in...
package com.shumz.think.ex004; public class ExFour19 { public void stringImporter(String... args) { for (int i = 0; i < args.length; i++) { System.out.println(i + "). " + args[i]); } } public static void main(String[] args) { ExFour19 object = new ExFour19(); obje...
package org.cloudsimplus.hostfaultinjection; import java.util.*; import org.apache.commons.math3.stat.descriptive.SummaryStatistics; import org.cloudsimplus.testbeds.ExperimentRunner; import javax.swing.text.html.HTMLDocument; /** * * Runs the {@link <API key>} the number of * times defines by {@link #getSimulationRu...
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- @file AP_Mission.cpp @brief Handles the MAVLINK command mission stack. Reads and writes mission to storage. #include "AP_Mission.h" #include <AP_Terrain/AP_Terrain.h> const AP_Param::GroupInfo AP_Mission::var_info[] PROGMEM = { // @P...
<?php /** * @package WPSEO\XML_Sitemaps */ /** * Class WPSEO_Sitemaps * * @todo: [JRF => whomever] If at all possible, move the adding of rewrite rules, actions and filters * elsewhere and only load this file when an actual sitemap is being requested. */ class WPSEO_Sitemaps { /** * Content of the sitem...
#pragma once #include <dazzle.h> G_BEGIN_DECLS #define <API key> (<API key>()) <API key> (GbpMessagesPanel, gbp_messages_panel, GBP, MESSAGES_PANEL, DzlDockWidget) G_END_DECLS
package org.thoughtcrime.ssl.pinning; import java.io.IOException; import java.net.InetAddress; import java.net.InetSocketAddress; import java.net.Socket; import java.security.<API key>; import java.security.KeyStoreException; import java.security.<API key>; import java.security.<API key>; import javax.net.ssl.SSLContex...
import sys from math import sqrt def opr(f): def op(registers, args): registers[args[2]] = f(registers[args[0]], registers[args[1]]) return op def opi(f): def op(registers, args): registers[args[2]] = f(registers[args[0]], args[1]) return op def opir(f): def op(registers, args): ...
#! /bin/bash # Usage: $0 # Create VDM specification files from source file. function writevdm { # $1: File name # $2: Module name # Remove VDM++ comments: SLFILE=`perl -p -e 's/^-- VDM\+\+:.*\n//g' $1.src` # Create VDMSL flat file: cat <<EOF>$1flat.vdm $SLFILE EOF # Create VDMSL module file: cat <<EOF>$1.vdm module $2 ...
#include "agent_interface.h" #include "../common.h" CAgentInterface::CAgentInterface() { this->agent_interface.id = get_unique_id(); this->agent_interface.body_type = <API key>; } CAgentInterface::CAgentInterface( struct sAgentInterface agent_interface, class CAgentGroup *agent_gro...
#ifndef <API key> #define <API key> #include "vector.h" namespace yamcr { Vector <API key>(const Point2 &uv, float *pdf) { float phi = 2.f * M_PI * uv[0]; float cosTheta = std::sqrt(uv[1]), sinTheta = std::sqrt(1.f - uv[1]); Vector dir(std::cos(phi) * sinTheta, std::sin(phi) * sinTheta, ...
package incboard.api; /** * * @author RobertoPinho */ public interface DataItemInterface { public String getURI(); public int getCol(); public int getRow(); void setCol(int x); void setRow(int y); public Double getDistance(DataItemInterface other); }
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http: <html xmlns="http: <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>localflavor.za.forms &mdash; django-localflavor 1.2 documentation</title> <link rel="stylesheet" href="../../../_static/classic.css...
using VariantAnnotation.AnnotatedPositions.Transcript; using Xunit; namespace UnitTests.VariantAnnotation.AnnotatedPositions.Transcript { public sealed class <API key> { [Theory] [InlineData(null,null,0)] [InlineData("abc",null,0)] [InlineData("abc", "abgg", 2)] [InlineDa...
#!/usr/bin/python # provided that the following conditions are met: # * Ciaran Farrell, the buttermill project and its contributors may not be used to endorse or # WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A # ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMP...
# <API key> The Other Maps style for Architectural Styles of buildings
/* This file is part of the program and library */ /* fuer Informationstechnik Berlin */ /* along with SCIP; see the file COPYING. If not email to scip@zib.de. */ /**@file branch_leastinf.c * @brief least infeasible LP branching rule * @a...
#include "bitfieldwidget.h" #include "ui_bitfieldwidget.h" #include "math.h" using namespace adiscope; BitfieldWidget::BitfieldWidget(QWidget *parent, QDomElement *bitfield) : QWidget(parent), ui(new Ui::BitfieldWidget()), bitfield(bitfield) { ui->setupUi(this); /*get bitfield information from the e...
#include <stdlib.h> #include <time.h> #include <errno.h> #include <string.h> #include "cw/capwap.h" #include "cw/conn.h" #include "cw/radioinfo.h" #include "cw/log.h" #include "cw/dtls.h" #include "cw/sock.h" #include "cw/cw_util.h" #include "cw/capwap_items.h" #include "wtp_conf.h" #include "cw/timer.h" #include "cw/c...
using System; using System.Collections.Generic; using SwinGame; namespace Khet { public class RotateWidget: Widget { private bool _rotateClockwise; public RotateWidget(Dictionary<string, Bitmap> allImages, GamePiece piece, int zIndex, bool rotateClockwise): base(allImages, zIndex) ...
from flask_sqlalchemy import SQLAlchemy from sqlalchemy.orm import relationship from sqlalchemy.sql import func db = SQLAlchemy() class BaseTable(db.Model): __abstract__ = True updated = db.Column(db.DateTime, default=func.now(), onupdate=func.current_timestamp()) created = db.Column(db.DateTime, default=func.now...
from django.conf.urls import include, url from django.contrib import admin # from rest_framework import routers from <API key> import routers from stackoverflow import views router = routers.SimpleRouter() router.register(r'questions', views.QuestionViewSet) router.register(r'users', views.UserViewSet) questions_router...
#include "<API key>.h" #include "gcal-utils.h" void <API key> (GtkWidget *widget, GtkSnapshot *snapshot, GtkOrientation orientation, const GdkRGBA *line_color, ...
import DS from 'ember-data'; import Ember from 'ember'; import { <API key> } from '<API key>'; export default <API key>.extend(DS.<API key>, { attrs: { conditions: { embedded: 'always' }, symptoms: { embedded: 'always' }, treatments: { embedded: 'always' } }, serialize() { var json = this._super(....
// NScD Oak Ridge National Laboratory, European Spallation Source // & Institut Laue - Langevin #ifndef <API key> #define <API key> #include "MantidAPI/Algorithm.h" #include "MantidAPI/Run.h" #include "MantidAPI/SpectrumInfo.h" #include "MantidAPI/WorkspaceGroup_fwd.h" #include "MantidAPI/Workspace_fwd.h" #incl...
package ar.gov.rosario.siat.bal.buss.dao; import java.math.BigDecimal; import java.util.ArrayList; import java.util.Date; import java.util.List; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.hibernate.Hibernate; import org.hibernate.Query; import org.hibernate.classic.S...
using BreadPlayer.Core.Models; using System.Collections.Generic; using System.IO; using System.Threading.Tasks; using Windows.Storage; namespace BreadPlayer.PlaylistBus { internal interface IPlaylist { Task<IEnumerable<Mediafile>> LoadPlaylist(StorageFile file); Task<bool> SavePlaylist(IEnumerab...
<?php namespace App\Policies; use App\User; use App\Matter; use Illuminate\Auth\Access\<API key>; class MatterPolicy { use <API key>; /** * Determine whether the user can view any matters. * * @param \App\User $user * @return mixed */ public function viewAny(User $user) { r...
import { Spawner } from '../../../../base/Spawner'; const npcIds = [ 'Thanksgiving Turkey Target' ]; export class <API key> extends Spawner { constructor(room, opts) { super(room, opts, { respawnRate: 0, initialSpawn: 0, maxCreatures: 20, spawnRadius: 0, randomWalkRadius: 0, ...
$(document).on("click", '.report_summary', function(event) { var addressValue = $(this).attr("href"); var a = reverse('view_report', function(url) { var request_url = url + "/?" + addressValue; $.ajax({ url: request_url, success: function(data){ ...
using System.Collections.Generic; using System.Windows.Forms; namespace DataCommander.Providers.OleDb { internal sealed class ProcedureNode : ITreeNode { private readonly string name; public ProcedureNode(string name) { this.name = name; } public string Name ...
package org.opensourcephysics.cabrillo.tracker; import java.util.*; import java.util.logging.Level; import java.awt.*; import java.awt.event.*; import java.io.File; import java.io.FilenameFilter; import java.io.IOException; import java.net.URL; import javax.swing.*; import javax.swing.border.*; import javax.swing.event...
#!/bin/bash # set -x # replace an image with a new one function Finish() { local rc=${1:-$?} local pid=$$ trap - INT QUIT TERM EXIT if [[ $rc -ne 0 ]]; then echo date echo " pid $pid exited with rc=$rc" fi rm $lockfile exit $rc } function ImagesInRunShuffled() { (set +f; cd ~tinderbox/run; l...
package packinglib import ( "fmt" "sort" "strings" ) // Property is used to describe an attribute of a context that should be // user understandable. Users will choose which properties apply to a given // context. type Property string // PropertySet is a map holding a list of Properties. A value of true /...
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <meta name="author" content="cTn"/> <link type="text/css" rel="stylesheet" href="./css/main.css" media="all"/> <link type="text/css" rel="stylesheet" href="./js/libraries/jquery.nouislider.min.css"/> <...
import re import time import isodate import requests from cloudbot import hook from cloudbot.util import timeformat from cloudbot.util.formatting import pluralize from cloudbot.util.colors import parse youtube_re = re.compile(r'(?:youtube.*?(?:v=|/v/)|youtu\.be/|yooouuutuuube.*?id=)([-_a-zA-Z0-9]+)', re.I) base_url = '...
#undef <API key> #ifdef <API key> #include "../matrix.h" #include <vector> #include "../optimization/<API key>.h" namespace dlib { class <API key> { /*! WHAT THIS OBJECT REPRESENTS This object defines the interface a feature extractor must implement if it is t...
#ifndef <API key> #define <API key> #include <x/mcguffinmapfwd.H> namespace LIBCXX_NAMESPACE { #if 0 }; #endif template<typename K, typename ref_type, typename C, typename Allocator> class <API key>; //! Weak mcguffin multi-map container. //! A \ref mcguffinmap "weak mcguffin map container" that uses //!...
#include <sstream> #include "mex.h" #include "matrix.h" #include "icp/icp_base.h" using namespace icp::math; double* getFieldSafe(const mxArray* arr, const int index, const char* field_name) { mxArray* internal_array = mxGetField(arr, index, field_name); if (internal_array == NULL) { std::stringstream ss; s...
#include "../basecode/header.h" #include "../randnum/randnum.h" #include "RandSpike.h" // MsgSrc definitions static SrcFinfo1< double > *spikeOut() { static SrcFinfo1< double > spikeOut( "spikeOut", "Sends out a trigger for an event."); return &spikeOut; } const Cinfo* R...
using System; using System.Collections; namespace Server.Spells.First { public class ReactiveArmorSpell : MagerySpell { private static readonly SpellInfo m_Info = new SpellInfo( "Reactive Armor", "Flam Sanct", 236, 9011, Reagent.Garlic, Reagent...
-- Variable TextID Description text -- General Texts <API key> = 6381; -- You cannot obtain the item <item>. Come back again after sorting your inventory. <API key> = 6385; -- You cannot obtain the #. Try trading again after sorting your inventory. ITEM_OBTAINED = 6387; -- Obtained: <item>. ...
package smf; import com.alee.laf.WebLookAndFeel; import com.alee.extended.filechooser.WebDirectoryChooser; import com.alee.utils.swing.DialogOptions; import java.awt.EventQueue; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.KeyEvent; import java.io.BufferedReader; import...
\input{res/chapter/design/progettazione} \newpage \input{res/chapter/design/accessibilita} \newpage \input{res/chapter/design/usabilita} \newpage \input{res/chapter/design/perl} \newpage \input{res/chapter/design/javascript} \newpage \input{res/chapter/design/html} \newpage \input{res/chapter/design/css} \newpage \inpu...
#! /usr/bin/env python # python script to generate a valid stepfile for WRF cycling import sys import pandas import calendar filename = 'stepfile' # default filename lleap = True # allow leap days (not used in some GCM calendars) lecho = False lperiod = False dateargs = [] # list of date arguments passed to date_range ...
<?php declare(strict_types=1); namespace AOE\Crawler\Tests\Acceptance\Support\Helper; use AcceptanceTester; use Facebook\WebDriver\Remote\RemoteWebElement; use Facebook\WebDriver\WebDriverBy; /** * Helper class to interact with the page tree */ abstract class AbstractPageTree { // Selectors public static $<AP...
<?php namespace Modules\Linkus\Controllers\Admin; use Ilch\Validation; class Settings extends \Ilch\Controller\Admin { public function init() { $items = [ [ 'name' => 'manage', 'active' => false, 'icon' => 'fa fa-th-list', 'url'...
{-# LANGUAGE RankNTypes #-} {-# LANGUAGE BangPatterns #-} {-# LANGUAGE LambdaCase #-} module Wiretap.Analysis.Lock ( locksetSimulation , lockset , lockMap , nonreentrant , lockOf , LockMap , sharedLocks ) where import Wiretap.Data.Event import Wiretap.Data.History -- import ...
class <API key> < ActiveRecord::Migration def change create_table :canonical_vehicles do |t| t.string :make t.string :model t.integer :year t.timestamps null: false end end end
package com.mucommander.ui.list; import com.mucommander.commons.collections.AlteredVector; import com.mucommander.text.Translator; import com.mucommander.ui.button.ArrowButton; import javax.swing.*; import java.awt.*; /** * SortableListPanel is a JPanel which contains a scrollable {@link DynamicList} in the center and...
# This file is part of PySCAP. # PySCAP is free software: you can redistribute it and/or modify # (at your option) any later version. # PySCAP is distributed in the hope that it will be useful, # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the from scap.Model import Model import logging logger = logging.g...
#!/usr/bin/python # aes.py: implements AES - Advanced Encryption Standard import math import os def <API key>(s): """return s padded to a multiple of 16-bytes by PKCS7 padding""" numpads = 16 - (len(s) % 16) return s + numpads * chr(numpads) def strip_PKCS7_padding(s): """return s stripped of PKCS7 padd...
#include <QLabel> #include <QGridLayout> #include <QPushButton> #include <QDir> #include <QDebug> #include <QMessageBox> #include <QApplication> #include "include_h/sys_defs.h" #include "logonui.h" #include "climesgobsev.h" LogonUi::LogonUi():QDialog(0, Qt::Window), hight(300), width(430),cfgPath(QDir::homePath()+"...
using System; using System.Collections.Generic; using System.Windows.Forms; using System.Linq; using System.Text; namespace AutoMainTreeMaker { class <API key> { List<CRichTextbox> richs; public <API key>() { richs = new List<CRichTextbox>(); foreach (CRichTextbox...
/* Finite impulse response (FIR) resampler with adjustable FIR size */ /* C Conversion by Eke-Eke for use in Genesis Plus GX (2009). */ #include "Fir_Resampler.h" #include "shared.h" #include <string.h> #include <stdlib.h> #include <stdio.h> #include <math.h> /* sound buffer */ static sample_t *buffer = NULL; static in...