answer stringlengths 15 1.25M |
|---|
#include "FCodeTable.h"
CodeTable::CodeTable() : from_to_code( 0 )
{
set_code_tbl( from_to_code );
}
CodeTable::CodeTable( int From_to_code ) : from_to_code( 0 )
{
set_code_tbl( From_to_code );
}
char CodeTable::trans_ch( char ch )
{
unsigned char uch = ch;
return tbl[ uch ];
}
char * CodeTable::trans_s... |
#include <linux/delay.h>
#include <linux/i2c.h>
#include <linux/iio/iio.h>
#include <linux/iio/sysfs.h>
#include <linux/module.h>
#define BH1750_POWER_DOWN 0x00
#define <API key> 0x20 /* auto-mode for BH1721 */
#define <API key> 0x40
#define <API key> 0x60
enum
{
BH1710,
BH1721,
BH1750,
};
s... |
#!/bin/bash
# preexec.bash -- Bash support for ZSH-like 'preexec' and 'precmd' functions.
# The 'preexec' function is executed before each interactive command is
# executed, with the interactive command as its argument. The 'precmd'
# function is executed before each prompt is displayed.
# To use, in order:
# 1. sour... |
var <API key> =
[
[ "ProProjects", "<API key>.html", "<API key>" ]
]; |
#ifndef <API key>
#define <API key>
#include "sshconnection.h"
#include "sshremoteprocess.h"
namespace QSsh {
namespace Internal {
class <API key>;
} // namespace Internal
class QSSH_EXPORT <API key> : public QObject
{
Q_OBJECT
public:
<API key>(QObject *parent = 0);
~<API key>();
void run(const QByteAr... |
#include "qmrofscompositor.h"
#include "qmrofswaveform.h"
#include "qmrofswindow.h"
#include "qmrofsbackingstore.h"
#include "qmrofsscreen.h"
#include <qpa/<API key>.h>
#if !defined(QT_NO_EVDEV) && (!defined(Q_OS_ANDROID) || defined(Q_OS_ANDROID_NO_SDK))
#include <QtPlatformSupport/private/qdevicediscovery_p.h>
#endif
... |
<?
<?
require_once('../include/errorhandler.php');
require_once('../include/sessioninfo.php');
require_once('../include/common.php');
require_once('../include/config.php');
require_once('../include/db_functions.php');
require_once('../include/theme.php');
require_once('../cek.php');
$varbaris=10;
if (isset($_REQUEST['v... |
// C++ includes
#include <iostream>
#include <fstream>
#include <stdio.h>
#include <dirent.h>
// ROOT includes
#include <TROOT.h>
#include <TFile.h>
#include <TTree.h>
#include <TChain.h>
#include "Stop0LOptimization.hh"
using namespace std;
Main function that runs the analysis algorithm on the
specified input files
in... |
'use strict';
angular.module('obiba.mica.fileBrowser')
.controller('<API key>', [
'$rootScope',
'$scope',
'$log',
'$filter',
'StringUtils',
'FileBrowserService',
'<API key>',
'AlertService',
'ServerErrorUtils',
'<API key>',
'<API key>',
'<API key>',
'<API key>',
... |
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
namespace Machete.Web.Resources {
using System;
<summary>
A strongly-typed resource class, for looking up localized ... |
// $Id: JoinTable.java,v 1.2 2015/05/12 21:01:41 ataides Exp $
package javax.persistence;
import java.lang.annotation.Target;
import java.lang.annotation.Retention;
import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.RetentionPo... |
#pragma region Copyright (c) 2014-2017 OpenRCT2 Developers
#pragma endregion
#include <openrct2/common.h>
#include <SDL.h>
#include <openrct2/core/Console.hpp>
#include <openrct2/core/File.h>
#include <openrct2/core/FileStream.hpp>
#include <openrct2/core/Path.hpp>
#include <openrct2/core/String.hpp>
#include <openrct2... |
<html>
<body>
<h3> O seu login foi feito com sucesso. O seu id é: <?php echo $this->dx_auth->get_user_id();?> e o seu username é <?php echo $this->dx_auth->get_username();?></h3>
<h4> Para fazer logout click <a href="logout"> aqui </a>. </h4>
</body>
</html> |
#!/bin/bash
# Script to make back-up copies of files in current directory
TIME=`date +"%F"`
CURDIR=`pwd`
ORIGFILES=`ls`
UNWANTED="bak"
BACKUPFILE="backup-$TIME.tar.bz2"
DESDIR="/home/victoria/bakk" # The directory path you enter here should already exist
echo "Getting ready to back up $CURDIR"
for f in $ORIGFILES
do
... |
package is.idega.idegaweb.golf.tournament.presentation;
import is.idega.idegaweb.golf.entity.Tournament;
import is.idega.idegaweb.golf.presentation.GolfBlock;
import is.idega.idegaweb.golf.tournament.business.TournamentSession;
import java.io.IOException;
import java.math.BigDecimal;
import com.idega.business.IBOLookup... |
#ifndef __MPFR_H
#define __MPFR_H
/* Define MPFR version number */
#define MPFR_VERSION_MAJOR 3
#define MPFR_VERSION_MINOR 1
#define <API key> 0
#define MPFR_VERSION_STRING "3.1.0-p4"
/* Macros dealing with MPFR VERSION */
#define MPFR_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
#define MPFR_VERSION \
MPFR_VER... |
<tr>
<td>
<?php echo $item->position; ?>
</td>
<td width="100">
<?php
echo DateTime::createFromFormat($inDateFormat, $item->numDate)->format($outDateFormat);
?>
<br>
Seite <?php echo $item->pageNumber; ?><br>
</td>
<td>
<b>Transskript-Auszu... |
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[2];
atomic_int atom_0_r1_0;
atomic_int atom_0_r2_0;
atomic_int atom_1_r1_0;
atomic_int atom_1_r2_2;
atomic_int atom_0_r2_2;
atomic_int atom_0_r1_1;
void *t0(void *arg){
label_1:;
int v2_r1 = <API key>(&vars[0], <API ke... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reactive.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Unigram.Controls;
using Unigram.Views;
using Unigram.ViewModels.Settings;
using Windows.ApplicationModel.DataTransfer;
using Windows.Foundation;
usin... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace useAIble.GameLibrary.LogisticSimulation
{
public class Order
{
public Order(string name, int amount)
{
// for Alvin's approval
this.Name = name;
... |
<?php
namespace Piwik\Plugins\API\Renderer;
use Piwik\API\ApiRenderer;
use Piwik\Common;
class Rss extends ApiRenderer
{
/**
* @param $message
* @param \Exception|\Throwable $exception
* @return string
*/
public function renderException($message, $exception)
{
self::sendHeader('p... |
#include <config.h>
#include <sys/types.h>
#ifdef HAVE_SYS_POLL_H
#include <sys/poll.h>
#endif
#include <stdlib.h>
#ifdef WIN32
//#include <psdk_inc/_wsa_errnos.h>
#else
#include <netdb.h>
#endif
#include <errno.h>
#include <string.h>
#include <time.h>
#include <unistd.h>
#include <fcntl.h>
#include <ctype.h>
#include ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ECCentral.BizEntity.Invoice
{
public class <API key> : ICompany, ILanguage
{
public int? StItemSysNo { get; set; }
<summary>
</summary>
public DateTime? OutTime { get; set; }
p... |
from django.http import Http404
from django.shortcuts import get_object_or_404
from django.utils.translation import gettext_lazy as _
from zds.api.validators import Validator
from zds.member.models import Profile
class <API key>(Validator):
can_be_empty = False
def <API key>(self, value):
msg = None
... |
/* see the COPYING file in the top-level directory.*/
#ifndef UT_VECTOR_H
#define UT_VECTOR_H
extern double ut_vector_norm (double *);
extern double ut_vector_int_norm (int *);
extern double ut_vector_scalprod (double *, double *);
extern void ut_vector_vectprod (double *, double *, double *);
extern double ut_vector... |
package com.ep.ggs.networking.packets.minecraft;
import java.io.DataInputStream;
import java.io.IOException;
import java.nio.ByteBuffer;
import com.ep.ggs.iomodel.SMPPlayer;
import com.ep.ggs.networking.packets.PacketManager;
import com.ep.ggs.server.Server;
public class EntityVelocity extends SMPPacket {
public En... |
<?php
include_once(PHPREPORT_ROOT . '/model/vo/ProjectVO.php');
include_once(PHPREPORT_ROOT . '/model/dao/ProjectDAO/<API key>.php');
include_once(PHPREPORT_ROOT . '/model/vo/CustomerVO.php');
include_once(PHPREPORT_ROOT . '/model/dao/CustomerDAO/<API key>.php');
include_once(PHPREPORT_ROOT . '/model/vo/AreaVO.php');
i... |
#include "\socomd_core\predefined.hpp"
class CfgPatches {
class socomd_compat_h60 {
version = 1.1.0;
versionStr = "1.1.0";
versionAr[] = { 1,1,0 };
requiredVersion = 0.1;
requiredAddons[] = {
//SOCOMD Requirments
"socomd_core",
"socomd_comp... |
import { AbstractControl, ValidatorFn } from "@angular/forms";
/**
* Container for custom Angular Validator functions.
*/
export const <API key>: { isNumber: ValidatorFn } = {
/**
* Angular Validator to verify value is a valid number.
*/
isNumber: (control: AbstractControl) => {
const val = Number(contr... |
This is the stub README.txt for the "hash-bang-lang" project. |
package id.web.widat.<API key>;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.<API key>;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.io.OutputStreamWriter;
import java.io.StringReader;
import java.net.H... |
#ifndef <API key>
#define <API key> 1
/*
* 140 strings in ao_strs_strtable string table
*/
#define ARG_BREAK_STR (ao_strs_strtable+261)
#define ARG_BREAK_STR_LEN 5
#define ARG_BY_NUM_FMT (ao_strs_strtable+267)
#define ARG_BY_NUM_FMT_LEN 9
#define BOOL_ATR_FMT (ao_strs_strtable+880)
#def... |
$.extend(wot, { ratingwindow: {
sliderwidth: 194,
/* rating state */
state: {},
updatestate: function(target, data)
{
/* initialize on target change */
if (this.state.target != target) {
this.finishstate();
this.state = { target: target, down: -1 };
}
... |
package org.mycore.lookup.common;
import java.lang.reflect.Constructor;
import java.lang.reflect.<API key>;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Properties;
import java.util.Set;
import org.apache.logging.log4j.Lo... |
using Newtonsoft.Json;
using ShareX.UploadersLib.Properties;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Windows.Forms;
namespace ShareX.UploadersLib.FileUploaders
{
public class <API key> : FileUploaderService
{
public override FileDestination EnumValue { get; ... |
#ifndef __FTGMAC100_H
#define __FTGMAC100_H
#define <API key> 0x00
#define <API key> 0x04
#define <API key> 0x08
#define <API key> 0x0c
#define <API key> 0x10
#define <API key> 0x14
#define <API key> 0x18
#define <API key> 0x1c
#define <API key> 0x20
#define <API key> ... |
<?php
// Heading
$_['heading_title'] = 'Cadastre sua conta';
// Text
$_['text_account'] = 'Programa de afiliados';
$_['text_register'] = 'Cadastre-se';
$_['<API key>'] = 'Se você já tem uma conta de afiliado em nossa loja, acesse sua conta <a href="%s">clicando aqui</a>.';
$_['... |
#ifndef <API key>
#define <API key>
#include <projectexplorer/kitinformation.h>
#include <projectexplorer/kitconfigwidget.h>
QT_BEGIN_NAMESPACE
class QLabel;
class QPushButton;
QT_END_NAMESPACE
namespace Android {
namespace Internal {
class <API key> : public ProjectExplorer::KitConfigWidget
{
Q_OBJECT
public:
... |
package net.sf.jasperreports.engine.fill;
import java.awt.font.TextLayout;
/**
* @author Lucian Chirita (lucianc@users.sourceforge.net)
*/
public class TextLayoutLine implements TextLine
{
private final TextLayout textLayout;
public TextLayoutLine(TextLayout textLayout)
{
this.textLayout = textLay... |
package io.github.endreman0.calculator.expression.type;
import static io.github.endreman0.calculator.expression.type.MixedNumber.valueOf;
import static org.junit.Assert.*;
import org.junit.Test;
public class MixedNumberTest{
private final MixedNumber instance = valueOf(3, 2, 3),
integer = valueOf(5),
... |
# irs: The Ironic Repositioning System
[, dbapps2@gmail.com
*
*/
#include <browser/browser.h>
Browser::Browser(string path) {
t... |
#ifndef <API key>
#define <API key>
#include "dllmacro.h"
#include <QStyledItemDelegate>
#define PADDING 4
class QPainter;
class Q_DECL_EXPORT ConfigDelegateBase : public QStyledItemDelegate
{
Q_OBJECT
public:
ConfigDelegateBase( QObject* parent = 0 );
virtual QSize sizeHint ( const <API key>& option, const QMo... |
<!DOCTYPE HTML PUBLIC "-
<!--NewPage
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.4.2_12) on Fri Jul 24 13:33:31 MDT 2009 -->
<TITLE>
Uses of Package javax.servlet (Servlet API Documentation)
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
... |
#!/usr/bin/env python
#coding:utf-8
# @file argv-test.py
# @brief
# @author unlessbamboo
# @version 1.0
# @date 2016-03-03
import sys
def testSys():
"""testSys"""
for arg in sys.argv[1:]:
print (arg)
if __name__ == '__main__':
testSys() |
package com.berka.multiplanner.Models.Trips;
import org.json.JSONException;
import org.json.JSONObject;
import com.berka.multiplanner.Models.Abstraction.AbstractStop;
public class Location extends AbstractStop{
public JSONObject getTheJSONBluePrint()
{
return theAllmightyJSON;
}
p... |
/*
* struct omap_hsmmc_dev_attr.flags possibilities
*
* <API key>: Some HSMMC controller instances can
* operate with either 1.8Vdc or 3.0Vdc card voltages; this flag
* should be set if this is the case. See for example Section 22.5.3
* "MMC/SD/SDIO1 Bus Voltage Selection" of the OMAP34xx Multimedia
* ... |
import React from 'react';
import { Switch } from 'react-router-dom';
import { Route } from '../../../components/Route/index';
import <API key> from './people';
import <API key> from './profile';
const <API key> = () => (
<Switch>
<Route path="/dashboard/people" exact component={<API key>} />
<Route... |
#include <<API key>.h>
#include <array_variable.h>
#include <expression.h>
#include <sstream>
#include "assert.h"
#include "execution_context.h"
#include <<API key>.h>
#include <constant_expression.h>
#include <array_type.h>
#include <record_type.h>
ArrayVariable::ArrayVariable(const_shared_ptr<Variable> base_variable,... |
<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"DTD/xhtml1-transitional.dtd">
<html xmlns="http:
<head>
<title>gwn.blocks.utilblocks.schedulers</title>
<link rel="stylesheet" href="epydoc.css" type="text/css" />
<script type="text/javascript" src="e... |
#include <iostream>
#include <algorithm>
struct Leftist {
Leftist *left, *right;
// dis is the distance to the right-bottom side of the tree
int dis, value, size;
Leftist(int val = 0) {
left = NULL, right = NULL;
dis = 0, value = val, size = 1;
}
~Leftist() {
delete left;
delete right;
}
}... |
#include "<API key>/counterexamples/Counterexample.h"
namespace storm {
namespace counterexamples {
std::ostream& operator<<(std::ostream& out, Counterexample const& counterexample) {
counterexample.writeToStream(out);
return out;
}
} // namespace counterexamples
} // namespace storm |
<!DOCTYPE html PUBLIC "-
<html xmlns="http:
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>SUMO - Simulation of Urban MObility: <API key>.cpp Source File</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<link href="../../doxygen.css" rel="stylesheet" type="text/... |
#if !defined __DIALOGGLOBVAR__
#define __DIALOGGLOBVAR__
#include "PropertySheetBase.h"
#include "DialogGenGlobVar.h"
#include "DialogType.h"
class CDialogGlobVar :
public CPropertySheetBase,
public CDialogGenGlobVar
{
public:
CDialogGlobVar(DIALOGTYPE DialogType);
virtual ~CDialogGlobVar();
CREATE_... |
<?php
/** @see <API key> */
require_once 'Zend/Barcode/Exception.php';
class <API key> extends <API key>
{
} |
package com.mec.duke;
import static org.junit.Assert.*;
import org.junit.Test;
public class ParserTest {
@Test
public void testParseSQLScript() {
/*
* Test case for parsing SQL Script:
* purpose: Re-organize the SQL script
*
* INPUT:
* select * from
... |
#ifndef <API key>
#define <API key>
#include <corecrypto/ccdigest.h>
#include <corecrypto/ccasn1.h>
void <API key>(const struct ccdigest_info *di,
ccdigest_ctx_t ctx, void *digest);
void ccdigest_final_64be(const struct ccdigest_info *di, ccdigest_ctx_t,
unsigned char... |
// depth-first search
// using adjancy list graph representation
// Written by
// INSOP SONG
// Systems Design
// University of Waterloo, Canada
// August 2001
#ifndef _DFS_H_
#define _DFS_H_
#undef RECURSIVE
#include <stdio.h>
#include "../graph/graph.h"
#include "../graph/stack.h"
#inclu... |
title: "देना बैंक ने मनाया अंतर्राष्ट्रीय महिला दिवस"
layout: item
category: ["business"]
date: 2017-03-09T10:50:19.852Z
image: 1489056619851dena.jpg
<p>देना बैंक ने 8 मार्च 2017 को अंतर्राष्ट्रीय महिला दिवस मनाया. इस अवसर पर बैंक के अध्यक्ष एवं प्रबंध निदेशक श्री अश्वनी कुमार और कार्यकारी निदेशक श्रीमती तृष्णा गुहा और... |
package cn.hugeterry.coderfun.fragment;
import android.os.Bundle;
import android.support.design.widget.Snackbar;
import android.support.v4.app.Fragment;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
impo... |
import { SortType, SortDirection, SortPropDir } from '../types';
import { getterForProp } from './column-prop-getters';
/**
* Gets the next sort direction
*/
export function nextSortDir(sortType: SortType, current: SortDirection): SortDirection | undefined {
if (sortType === SortType.single) {
if(current === So... |
angular.module("datetime", []);
angular.module("datetime").factory("datetime", ["$locale", function($locale){
// Fetch date and time formats from $locale service
var formats = $locale.DATETIME_FORMATS;
// Valid format tokens. 1=sss, 2=''
var tokenRE = /yyyy|yy|y|M{1,4}|dd?|EEEE?|HH?|hh?|mm?|ss?|([.,])ss... |
<?
session_start();
//Funktionen
$includeName="../../../_00_basic_func.inc.php";
if (file_exists($includeName))
{
require($includeName);
}
else
{
echo '<br><br><div class="meldung_fehler"><img src="../../../BL_BILDER/Meldungen_Warning.png"> <br>FU_ALL_LOAD_01</div><br><br>';
exit();
}
//Datenbank Verbindung... |
.options { border: 1px solid #aaa; border-radius: 5px; background-color: #eee; padding: 0 3px; }
#grid { height: 300px; font-size: 8pt; }
#grid-info { font-size: 9pt; }
#grid .slick-row { font-size: 8pt; }
#grid .slick-row:hover { font-weight: normal }
.template { display: none; }
.conditions { border: 1px solid #aaa; ... |
package net.havox.times.model.factory;
import static org.hamcrest.Matchers.instanceOf;
import static org.hamcrest.Matchers.is;
import static org.hamcrest.Matchers.notNullValue;
import static org.junit.Assert.assertThat;
import org.junit.BeforeClass;
import org.junit.Test;
import net.havox.times.model.api.booking.Accoun... |
<?php
// src/res/core/Admin/Administration.php
namespace Admin;
class Administration
{
public static function printStatus($status)
{
$bgColor = '';
$msg = '';
if(isset($status['success']))
{
$bgColor = 'green';
$msg = $status['success'];
}
... |
//Exports the repo from the database
const REPO=require("./create.js");
function generate(out,conf,cb) {
const tmp="/tmp/osl_image_server.repo."+uuid();
const outtmp=pth.join(out,"tmp");
const self=this;
newLogger("repo",self);
const repo=new REPO(tmp,outtmp,conf);
self.repo=repo;
var sys=[];
self.info(... |
module.exports = {
isEmpty,
nonEmpty
}
/**
* @param {string | null | undefined} string
* @return {boolean}
*/
function isEmpty(string) {
return string === undefined || string === null || string === ''
}
/**
* @param {string | null | undefined} string
* @return {boolean}
*/
function nonEmpty(string) {
retu... |
using System.Reflection;
using System.Runtime.CompilerServices;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle ("Shell.Common.Shares")]
[assembly: AssemblyDescription ("")]
[assembly: <API key> ("")]
[assembly: A... |
#ifndef MAINPROCESS_H
#define MAINPROCESS_H
#include "rf_process.h"
#include <rf_background.h>
#include <rf_declares.h>
#include <rf_primitive.h>
#include <rf_soundmanager.h>
#include <SDL2/SDL_ttf.h>
#include "execontrol.h"
class mainProcess : public RF_Process
{
public:
mainProcess():RF_Process("mainProce... |
<?php
/*
*This should read json objects stored in
*/
$start = microtime(true);
$working_dir = 'working/json-xml-cdr';
$hosts = ['alison.athnex.com:9200'];
$esIndex = 'call_records.stage';
$esType = 'cdr';
$verbose = 1;
$esTotalCnt = 0;
$esTotalFail = 0;
require 'vendor/autoload.php';
require 'esHandler.php';
$statHd... |
#!/usr/bin/env python3
"""Geometric Object Class"""
class GeometricObject:
def __init__(self, color="green", filled=True):
self.__color = color
self.__filled = filled
def get_color(self):
return self.__color
def set_color(self, color):
self.__color = color
def is_filled(s... |
// Marie invented a Time Machine and wants to test it by time-traveling to visit Russia on the Day of the Programmer (the 256th day of the year) during a year in the inclusive range from 1700 to 2700.
// From 1700 to 1917, Russia's official calendar was the Julian calendar; since 1919 they used the Gregorian calendar s... |
{
(c) 2008-2009 Markus Dittrich
This program is free software; you can redistribute it
and/or modify it under the terms of the GNU General Public
License Version 3 as published by the Free Software Foundation.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without ... |
using System.IO;
using System.Runtime.Serialization;
using WolvenKit.CR2W.Reflection;
using FastMember;
using static WolvenKit.CR2W.Types.Enums;
namespace WolvenKit.CR2W.Types
{
[DataContract(Namespace = "")]
[REDMeta]
public partial class CFXTrackItem : CFXBase
{
[Ordinal(1)] [RED("timeBegin")]... |
#include "uart.h"
#include "ring_buffer.h"
#include <stdint.h>
#include <stddef.h>
#include <msp430.h>
#include <msp430g2553.h>
#define DE BIT3 // Pin P1.3
#define RE BIT4 // Pin P1.4
#define RECEIVER() (P1OUT &= ~(RE | DE))
#define TRANSMITTER() (P1OUT |= (RE | DE))
struct baud_value
{
... |
<?php
class Race_CategoryModel extends Model_Abstract
{
public function getCategories()
{
$query = "SELECT * FROM race_category";
$stmt = Database::prepare($query);
$stmt->execute();
$data = $stmt->fetchAll();
if(count($data) > 0){
foreach($data as $i => $item... |
/**
* Config file mimicking DiddiZ's Config class file in LB. Tailored for this
* plugin.
*
* @author Mitsugaru
*/
package com.mitsugaru.KarmicShare.config;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.EnumMap;
import java.util.List;
import org.bukkit.configuration.... |
// -*- mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; -*-
// This program is free software; you can redistribute it and/or modify
// the Free Software Foundation version 2.
// This program is distributed in the hope that it will be useful,
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
#include ... |
<header>
<nav id="header" class="navbar fixed-top navbar-dark header-bg row">
<div class="col">
<a class="navbar-brand header-navbar-brand" href="/"><img src="/assets/img/logo.png" height="42px" title="Ingelectus S.L."/></a>
</div>
<div class="col-8 d-none d-md-block">
<ul class="nav <API key>... |
# biNixieClock
Arduino code for a clock that uses only two Nixie tubes.
To build a biNixie clock you need:
- an Arduino board (I used Nano)
- two Nixie tubes with their sockets
- two 74141 or K155DI or similar BCD-to-decimal converter and driver
- current limiting resistor on each tube's anode
- an RTC module (like DS1... |
/*
DeadRSX SAMPLE || Font
Author DarkhackerPS3
*/
#include <stdio.h>
#include <malloc.h>
#include <string.h>
#include <assert.h>
#include <unistd.h>
#include <math.h>
#include <rsx/commands.h>
#include <rsx/nv40.h>
#include <rsx/reality.h>
#include <io/pad.h>
#include <sysmodule/sysmodule.h>
#include <sysutil/eve... |
#include "stdbool.h"
#include "stdint.h"
#include "platform.h"
#include "build/debug.h"
#include "common/filter.h"
#include "common/maths.h"
#include "common/utils.h"
#include "config/feature.h"
#include "pg/pg.h"
#include "pg/pg_ids.h"
#include "drivers/adc.h"
#include "fc/runtime_config.h"
#include "fc/config.h"
#inc... |
/**
* Gazetteer combo used to search in the glorious dataset of OSM.
*
* @class BasiGX.view.form.field.GazetteerCombo
*
*/
Ext.define('BasiGX.view.form.field.GazetteerCombo', {
extend: 'Ext.form.field.ComboBox',
xtype: '<API key>',
requires: [
'BasiGX.util.Map'
],
store: [],
/**
... |
<?php
$L['accounts_title'] = 'Comptes';
$L['group_label'] = 'Groupes';
$L['user_label'] = 'Utilisateurs';
$L['pseudonym_label'] = 'Adresses email';
$L['ibay_label'] = 'Dossiers partagés';
$L['machine_label'] = 'Ordinateurs';
$L['ftp_label'] = 'Comptes FTP';
$L['vpn_label'] = 'Comptes VPN'; |
(function (doc, win) {
var docEl = doc.documentElement,
resizeEvt = 'orientationchange' in window ? 'orientationchange' : 'resize',
recalc = function () {
var clientWidth = docEl.clientWidth;
if (!clientWidth) return;
if(clientWidth>=640){
docEl.st... |
package com.forstudy.pc.communicator.NTRU.polynomial;
import java.util.Arrays;
import com.forstudy.pc.communicator.NTRU.exception.NtruException;
/**
* A polynomial class that combines two coefficients into one <code>long</code> value for
* faster multiplication in 64 bit environments.<br/>
* Coefficients can be betw... |
<div class="row">
<div class="container">
<ul class="breadcrumb">
<li><span style="color: orangered;">Master</span></li>
<li class="active">Jadwal Dokter</li>
</ul>
</div>
</div>
<div class="row">
<div class="container">
<center>
<uib-alert type="{... |
#!/bin/sh
BOARD_DIR="$(dirname $0)"
BOARD_NAME="$(basename ${BOARD_DIR})"
GENIMAGE_CFG="${BOARD_DIR}/genimage-${BOARD_NAME}.cfg"
GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp"
case "${2}" in
--<API key>)
if ! grep -qE '^dtoverlay=' "${BINARIES_DIR}/rpi-firmware/config.txt"; then
echo "Adding 'dtoverlay=pi3-mi... |
#ifndef ARG_H_
#define ARG_H_
#include <argp.h>
#include <stdlib.h>
#include <error.h>
#include <stdio.h>
#include <string.h>
#define ARG_SIZE 1024
/* Used by main to communicate with parse_opt. */
struct arguments
{
char *arg1; /* arg1 */
char **strings; /* [string...] */
char pri... |
<?php
require_once 'ListObject.php';
/**
* SubtopicsList class
*
*/
class SubtopicsList extends ListObject
{
private static $s_orderFields = array(
'default',
'bynumber',
'byname',
);
/**
* Creates the list of objects. Sets the parameter $p_hasNextElements to
* true if t... |
import {
utilityPrimary,
<API key>,
defaultHoverStyle,
respond
} from "theme/styles/mixins";
export default `
.<API key> {
--focus-color: var(--<API key>);
--hover-color: var(--<API key>);
position: relative;
display: flex;
width: 100%;
height: 52vw;
min-height: 350px;
max-heig... |
<!DOCTYPE html>
<html lang="en">
<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, maximum-scale=1.0">
<meta name="description" content=""> <meta name="generator" content="Hugo 0.26" />
... |
<!DOCTYPE html PUBLIC "-
<html><head><title></title>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta name="generator" content="Doxygen 1.8.10"/>
<link rel="stylesheet" type="text/css" href="search.css"/>
<script type="text/javascript" src="variables_c.js"></script>
<script type="text/javascri... |
<!DOCTYPE html>
<!--* Generated from PreTeXt source *-->
<!--* on 2021-03-10T19:24:12-08:00 *-->
<!--* A recent stable commit (2020-08-09): *-->
<!--* <SHA1-like> *-->
<html lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title></title>
<meta name="Ke... |
<?php
class API_Controller_Apps
extends <API key>
implements
<API key>,
<API key>
{
const APP_INTERFACE = '<API key>';
public function __construct() {
if(!PAuthorisation::has('org.bambuscms.login'))
{
throw new Exception_HTTP(403);
}
}
protecte... |
#ifndef _GETCH_H_
#define _GETCH_H_
#define <API key> (0x01)
#define <API key> (0x02)
#define EXIT_KEY_KEYSYM (27) // ESC key
bool <API key>();
#endif |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.