answer
stringlengths
15
1.25M
#include "mega/file.h" #include "mega/transfer.h" #include "mega/transferslot.h" #include "mega/megaclient.h" #include "mega/sync.h" #include "mega/command.h" #include "mega/logging.h" #include "mega/heartbeats.h" namespace mega { File::File() { transfer = NULL; chatauth = NULL; hprivate = true; hforeig...
#!/usr/bin/env python from setuptools import setup, find_packages # Always prefer setuptools over distutils from codecs import open # To use a consistent encoding from os import path here = path.abspath(path.dirname(__file__)) # Get the long description from the relevant file readme = path.join(here, 'README.md') try: ...
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE TS> <TS version="2.0" language="az_AZ"> </TS>
package org.jvnet.hyperjaxb3.ejb.strategy.model; import java.util.Collection; import com.sun.tools.xjc.model.CPropertyInfo; public interface <API key> extends ClassInfoProcessor<Collection<CPropertyInfo>, ProcessModel>, <API key><Collection<CPropertyInfo>, ProcessModel> { }
<?php require_once("guiconfig.inc"); require_once("interfaces.inc"); $a_vip = &config_read_array('virtualip', 'vip'); $act = null; if ($_SERVER['REQUEST_METHOD'] === 'POST') { if (!empty($_POST['<API key>'])) { $act = "maintenance"; if (isset($config["<API key>"])) { unset($config["<API ...
FILE(REMOVE_RECURSE "CMakeFiles/<API key>.dir/src/<API key>.cpp.o" "devel/lib/laser_scanner_eric/<API key>.pdb" "devel/lib/laser_scanner_eric/<API key>" ) # Per-language clean rules from dependency scanning. FOREACH(lang CXX) INCLUDE(CMakeFiles/<API key>.dir/cmake_clean_${lang}.cmake OPTIONAL) ENDFOREACH(lang)
// Programmer: Craig Stuart Sapp <craig@ccrma.stanford.edu> // Last Modified: Thu Jul 16 19:05:13 PDT 2020 // Filename: tool-tie.cpp // Syntax: C++11; humlib // vim: ts=3 noexpandtab // Description: Interface for splitting or merging tied notes. // Todo: Currently does not handle cho...
import json class Cache(object): def __init__(self, backend): self.backend = backend def set(self, key, data): if type(data) is not str: data = ('json', json.dumps(data)) self.backend.store(key, data) def get(self, key): data = self.backend.retrieve(key) i...
#include "conf.h" #include <stdlib.h> #include <algorithm> #include <memory> using namespace std; namespace handy { static string makeKey(string section, string name) { string key = section + "." + name; // Convert to lower case to make section/name lookups case-insensitive std::transform(key.begin(), key.e...
package bloom import ( "bytes" "encoding/binary" "encoding/gob" "encoding/json" "fmt" "runtime" "sync" "testing" ) func TestConcurrent(t *testing.T) { gmp := runtime.GOMAXPROCS(2) defer runtime.GOMAXPROCS(gmp) f := New(1000, 4) n1 := []byte("Bess") n2 := []byte("Jane"...
const util = require("util"); const assert = module.exports = ok; class AssertionError extends Error { constructor(options) { if (typeof options == "string") { options = { message: options }; } options.message = options.message || "Default message"; ...
// // FFV-C : Frontflow / violet Cartesian // /* * @file IP_Sphere.C * @brief IP_Sphere class * @author aics */ #include "IP_Sphere.h" using namespace Vec3class; // REAL_TYPE IP_Sphere::cut_line(const Vec3r p, const int dir, const REAL_TYPE r) { REAL_TYPE x, y, z, s; REAL_TYPE c; x = p.x; y = p.y; z = ...
#include <Core/Core.h> using namespace Upp; CONSOLE_APP_MAIN { Cout() << GetSysTime() << "\n"; Cout() << GetUtcTime() << "\n"; }
goog.provide('ol.TransformFunction'); /** * A transform function accepts an array of input coordinate values, an optional * output array, and an optional dimension (default should be 2). The function * transforms the input coordinate values, populates the output array, and * returns the output array. * * @typede...
import os import shutil import time from xlog import getLogger xlog = getLogger("gae_proxy") from .config import config class Scan_ip_log(): <API key> = 3000 def __init__(self): self.log_path = os.path.join(config.DATA_PATH, "scan_ip.log") self.open_log() def get_log_content(self): i...
#define MODULE MAIN #include <emmc.h> #include <framebuffer.h> #include <gpio.h> #include <led.h> #include <log.h> #include <timer.h> #include <util.h> /* * entry point to our operating system */ slice_main() { int i, ret; /* prepare LED pin */ <API key>(16, 1); /* initialize framebuffer */ ret = ...
<?php class <API key> extends <API key> { public function <API key>() { $error = new Twig_Error( 'foo' ); $error->setTemplateFile( new SplFileInfo( __FILE__ ) ); $this->assertContains( 'test'.DIRECTORY_SEPARATOR.'Twig'.DIRECTORY_SEPARATOR.'Tests'.DIRECTORY_SEPARATOR.'ErrorTest.php', ...
/*! * \example httpd_simple/httpd_simple.c * * Simple Webserver * */ #include <dev/board.h> #include <dev/urom.h> #include <sys/version.h> #include <sys/timer.h> #include <sys/confnet.h> #include <sys/socket.h> #include <arpa/inet.h> #include <pro/dhcp.h> #include <pro/httpd.h> #include <io.h> #include <errno.h> /...
from __future__ import absolute_import from .notedown import * from .main import convert, markdown_template, __version__ # avoid having to require the notebook to install notedown try: from .contentsmanager import <API key> except ImportError: <API key> = 'You need to install the jupyter notebook.'
<!DOCTYPE HTML PUBLIC "- <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (version 1.7.0_02) on Tue Apr 29 11:29:43 CEST 2014 --> <meta http-equiv="Content-Type" content="text/html" charset="utf-8"> <title>org.gradle.api.tasks (Gradle API 1.12)</title> <meta name="date" content="2014-04-29"> <link rel...
# If you did not, you can find one at the following link. from core.plugins import ProtocolPlugin from ConfigParser import RawConfigParser as ConfigParser from core.decorators import * class FetchPlugin(ProtocolPlugin): commands = { "fetch": "commandFetch", "bring": "commandFetch", "invite":...
/*lint -save -e525 -e539 */ #define NODEF_NOTICE \ "NB: This log record is masked by default.\n\n" SLTM(Debug, SLT_F_BINARY, "Debug messages", "Debug messages can normally be ignored, but are sometimes" " helpful during trouble-shooting. Most debug messages must" " be explicitly enabled with parameters...
#ifndef CDK_COMPLETER_H_ #define CDK_COMPLETER_H_ 1 #include <cdk/cdkdocumenthelper.h> G_BEGIN_DECLS #define CDK_TYPE_COMPLETER (<API key> ()) #define CDK_COMPLETER(obj) (<API key> ((obj), CDK_TYPE_COMPLETER, CdkCompleter)) #define CDK_COMPLETER_CLASS(klass) (<API key> ((klass), CDK_TYPE_COMPLE...
#include "gtest/gtest.h" #include "coredd/variant.hh" using namespace coredd; TEST(variant, unary_visitor) { struct foo { foo(int) {} }; struct visitor { unsigned int operator()(const double) const { return 0; } unsigned int operator()(const char) const { ...
<?php namespace hzphp\SQLite; /** * Adds some generic features to the base SQLite3 class. Used as a base * class for other database objects in this module. */ class Client extends \SQLite3 { public $filename; //stores the database file name /** * Constructs a new Client instance *...
#include <stdio.h> #include <stdlib.h> #include <err.h> #include <mpi.h> int main(int argc, char **argv) { int ierr = 0; /* Error status */ int rank = 0; /* MPI rank */ int nprocs = 0; /* MPI number of processors */ ...
import simuvex from itertools import count <API key> = count() class receive(simuvex.SimProcedure): #pylint:disable=arguments-differ,<API key>,<API key> IS_SYSCALL = True def run(self, fd, buf, count, rx_bytes): if simuvex.options.CGC_ENFORCE_FD in self.state.options: fd = 0 if s...
{-# LANGUAGE CPP, FlexibleContexts, <API key>, InstanceSigs, RankNTypes, ScopedTypeVariables, TypeFamilies, <API key> module Text.Grampa.ContextFree.Memoizing {-# DEPRECATED "Use Text.Grampa.ContextFree.SortedMemoizing instead" #-} (ResultList(..), Parser(..), BinTree(..), reparseTail...
<?php $root = dirname(dirname(__FILE__)); ini_set("include_path", "{$root}/www:{$root}/www/include"); set_time_limit(0); include("include/init.php"); loadlib("dbtickets_flickr"); $rsp = <API key>(); dumper($rsp); ?>
<!DOCTYPE html> <html> <head> <title>index.js</title> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <link rel="stylesheet" media="all" href="public/stylesheets/normalize.css" /> <link rel="stylesheet" media="all" href="docco.css" /> </head> <body> <div class="container"> <div class="...
#ifndef MP_FADER_HPP #define MP_FADER_HPP #include <stdint.h> #include <atomic> struct PlayerObject; class Fader { private: std::atomic<uint16_t> cur; std::atomic<uint16_t> limit; std::atomic<int8_t> inc; // -1 or 1 or 0 public: Fader(); // If samplerate differs, it resets. void change(int8_t in...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace bv.model.Model.Core { public class SearchPanelMetaItem { public string Name { get; protected set; } public EditorType EditorType { get; protected set; } public bool IsRange { get; protected se...
/* mpi_pi.reducer.c (2014-01-10) */ /** \file mpi_pi.reducer.c \brief Example for KMRRUN. It is a reducer for PI calculation implemented using MPI. How to run. 1. create input files in a directory. work/ 000 001 002 Each file have one line which repre...
/* { dg-do run } */ struct tag { int m1; char *m2[5]; } s1, *p1; int i; main() { s1.m1 = -1; p1 = &s1; if ( func1( &p1->m1 ) == -1 ) foo ("ok"); else abort (); i = 3; s1.m2[3]= "123"; if ( strlen( (p1->m2[i])++ ) == 3 ) foo ("ok"); else abort (); exit (0); } func1(int *p) { return(...
<!DOCTYPE html> <html> <head> <title>Conway's game of life</title> <link href="life.css" rel="stylesheet" type="text/css"> </head> <body> <div id="content"> <canvas id="life" width="480" height="480"> If you had a browser that supported HTML5, you'd see Conway's Game of Life here...
namespace Humidifier.AppSync { using System.Collections.Generic; public class GraphQLSchema : Humidifier.Resource { public override string AWSTypeName { get { return @"AWS::AppSync::GraphQLSchema"; } } <summary> Defi...
# NativeDemo for iOS Fully native (Objective-C and C) app that connects to [http: ## Installation The app uses the `OpenWebRTC` and `OpenWebRTC-SDK` CocoaPods from [https: If you haven't installed CocoaPods yet, do so first: sudo gem install cocoapods pod setup Then run: pod install open NativeDemo.xcwo...
const timespanSelection = (function (d3) { const module = {}; const fromDaysAgo = function (days) { return function () { const today = new Date(), daysAgo = new Date( today.getFullYear(), today.getMonth(), today.getD...
//import org.junit.Test; //import java.util.Arrays; //import java.util.Collection; //import java.util.Collections; //import java.util.stream.Stream; ** // * <API key>: BSD-2-Clause //public class ProcTest { // @Test // public void foo() { // Stream<Integer> stream = Stream.of( 1, 2, 3, 4, 5, 6, 7, 8, 9 ); ...
goog.provide('ol.proj.transforms'); goog.require('ol'); goog.require('ol.obj'); /** * @private * @type {Object.<string, Object.<string, ol.TransformFunction>>} */ ol.proj.transforms.cache_ = {}; /** * Clear the transform cache. */ ol.proj.transforms.clear = function() { ol.proj.transforms.cache_ = {}; }; /** * ...
#!/bin/bash # extactSamFromSam.sh # extract SAM reads corresponding to a SAM header file from another SAM reference file and writes to # SAM output file # Chiu Laboratory # University of California, San Francisco # 3/15/2014 scriptname=${0 if [ $# -lt 3 ]; then echo "Usage: $scriptname <SAM hea...
#ifndef OutputFormat_h #define OutputFormat_h #include <string> #include <vector> using std::string; using std::vector; using std::ifstream; using std::ofstream; namespace GlassBR_program { void write_output(string filename, bool is_safe1, bool is_safe2, double P_b); } #endif
<?php declare(strict_types=1); namespace Instagram\SDK\Response\Responses\Friendships; use Instagram\SDK\Response\DTO\General\FriendshipStatus; use Instagram\SDK\Response\Responses\ResponseEnvelope; /** * Class FollowResponse * * @package Instagram\SDK\Response\Responses\Friendships */ final class FollowResponse ex...
// <API key>.h // Definition of the <API key> class. // and Contributors. // obtaining a copy of the software and accompanying documentation covered by // execute, and transmit the Software, and to prepare derivative works of the // Software, and to permit third-parties to whom the Software is furnished to // do so, al...
package gov.hhs.fha.nhinc.dsa; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlType; @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "<API key>", propOrder = { "status" }) public ...
<?php defined('SYSPATH') or die('No direct script access.'); class Security extends Kohana_Security { public static $htmlpurifier = NULL; public static function purify($dirty_html) { if (self::$htmlpurifier === NULL) { $config = HTMLPurifier_Config::createDefault(); $...
<?php use yii\helpers\Html; /** * @var yii\web\View $this * @var common\models\Event $model */ $this->title = Yii::t('gip', 'Create {modelClass}', [ 'modelClass' => 'Event', ]); $this->params['breadcrumbs'][] = ['label' => Yii::t('gip', 'Events'), 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->titl...
{-# LANGUAGE <API key> #-} module ApiTypes where import Control.Applicative (Applicative) import Control.Concurrent.STM (TVar) import Control.Monad.Reader (MonadReader, ReaderT (..)) import Control.Monad.Trans (MonadIO) import Data.HashMap.Strict (HashMap) import Data.Set (Set) import Type.Comment (Comment) import Type...
# Makefile for Sphinx documentation # You can set these variables from the command line. PYENV := . ../env/bin/activate; PYTHON := $(PYENV) python SPHINXOPTS = SPHINXBUILD = $(PYTHON) $(shell which sphinx-build) PAPER = BUILDDIR = _build # User-friendly check for sphinx-build #ifeq ($(shell which $(SP...
#include "chrome/browser/chromeos/login/shutdown_button.h" #include "base/<API key>.h" #include "chrome/browser/chromeos/cros/cros_library.h" #include "chrome/browser/chromeos/cros/power_library.h" #include "chrome/browser/chromeos/login/<API key>.h" #include "chrome/browser/chromeos/view_ids.h" #include "grit/generate...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title><API key></title> <meta http-equiv="Content-Type" Content="text/html; charset=Windows-1251"> <link rel="stylesheet" type="text/css" href="../../styles/styles.css"> </head> <body> <h1><API key></h1> <div class=navbar> <a href="../index.h...
from __future__ import division import sys import pytest from gmpy_cffi import mpz, MAX_UI PY3 = sys.version.startswith('3') if PY3: long = int invalids = [(), [], set(), dict(), lambda x: x**2] class TestInit(object): small_ints = [-1, 0, 1, 123, -9876, sys.maxsize, -sys.maxsize - 1] big_ints = [sys.maxsiz...
package org.locationtech.geogig.remote; import static org.locationtech.geogig.storage.datastream.FormatCommonV1.readObjectId; import java.io.DataInput; import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.util.H...
<?php use yii\helpers\Html; use yii\widgets\DetailView; /* @var $this yii\web\View */ /* @var $model common\models\News */ $this->title = $model->title; $this->params['breadcrumbs'][] = ['label' => 'News', 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; ?> <div class="news-view"> <h1><?= Html::e...
<?php namespace backend\controllers; class TestController extends \yii\web\Controller { public function actionIndex() { echo 'test'; } }
using System; using System.Threading.Tasks; using Microsoft.AspNetCore.Html; using OrchardCore.ContentManagement; using OrchardCore.ContentManagement.Display.ContentDisplay; using OrchardCore.ContentManagement.Metadata.Settings; using OrchardCore.DisplayManagement; using OrchardCore.DisplayManagement.Handlers; using Or...
// WARNING // This file has been generated automatically by Xamarin Studio from the outlets and // actions declared in your storyboard file. // Manual changes to this file will not be maintained. using Foundation; using System; using System.CodeDom.Compiler; using UIKit; namespace <API key> { [Register ("<API key>"...
#include "base/rand_util.h" #include "chrome/browser/profiles/profile.h" #include "chrome/browser/sync/test/integration/bookmarks_helper.h" #include "chrome/browser/sync/test/integration/passwords_helper.h" #include "chrome/browser/sync/test/integration/<API key>.h" #include "chrome/browser/sync/test/integration/<API k...
#endregion using System; using System.Collections.Generic; using ClearCanvas.Common.Utilities; namespace SearchComponent { public interface ICodeSequenceItem { string CodeValue { get; } string CodeMeaning { get; } string <API key> { get; } } [Cloneable] public class AnatomicE...
#!/usr/bin/perl -w # bin2png.pl # includes use File::Basename; # main if ( @ARGV == 0 ) { print STDERR "usage: bin2png <file.bin>+\n"; } else { while ( @ARGV ) { my $file = shift @ARGV; process_file($file); } } # process_file sub process_file { my $file = shift; my $dest = $f...
<?php // autoload_real.php @generated by Composer class <API key> { private static $loader; public static function loadClassLoader($class) { if ('Composer\Autoload\ClassLoader' === $class) { require __DIR__ . '/ClassLoader.php'; } } public static function getLoader() ...
<?php include_once 'genericdumper.php'; /** * mssql dumper * **/ class MSSQLDumper extends GenericDumper { /** * Override the construction method of parent **/ function __construct($objDB, $strDBName) { parent::__construct($objDB, $strDBName); $this->AddEscapeTables(array('dtpro...
--TEST Test parse and dump of use declarations --FILE <?php require __DIR__ . '/../util.php'; $code = <<<'PHP' <?php use Foo\Bar as Baz; use function foo\bar as baz; use Foo\{Bar, function bar}; use function foo\{bar, baz}; PHP; echo ast_dump(ast\parse_code($code)); ?> --EXPECT AST_STMT_LIST 0: AST_USE flag...
<?php use yii\helpers\Html; use yii\grid\GridView; use app\models\Estilo; use app\models\<API key>; /* @var $this yii\web\View */ /* @var $searchModel app\models\ObjetoEstiloSearch */ /* @var $dataProvider yii\data\ActiveDataProvider */ $this->title = 'Relações entre objetos e estilos'; ?> <div class="objeto-estilo-ind...
#ifndef <API key> #define <API key> #include "chrome/browser/ui/webui/chromeos/login/base_screen_handler.h" #include "chromeos/dbus/os_install/os_install_client.h" #include "third_party/abseil-cpp/absl/types/optional.h" namespace ash { class OsInstallScreen; } namespace login { class <API key>; } // namespace login na...
<HTML> <BODY> <A HREF="index.html"> <IMG SRC="gebop.bmp"> </A> <BR> <H2> Reversi Information </H2> Reversi was invented in England in 1888. In 1975 the game was reïntroduced under the name Othello, with a minor change of the rules. <H3> <A HREF="rules_reversi.html"> Reversi Rules </A> </H3> ...
# - Config file for the Armadillo package # It defines the following variables # <API key> - include directories for Armadillo # <API key> - library directories for Armadillo (normally not used!) # ARMADILLO_LIBRARIES - libraries to link against # Tell the user project where to find our headers and libraries set(...
/* $Id: minissdp.c,v 1.48 2013/02/07 12:22:25 nanard Exp $ */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <sys/socket.h> #include <sys/un.h> #include <netinet/in.h> #include <arpa/inet.h> #include <errno.h> #include <syslog.h> #include "config.h" #include "upnpdescstrings.h" ...
import numpy as np import pytest from pandas._libs import join as _join from pandas import Categorical, DataFrame, Index, merge import pandas._testing as tm class TestIndexer: @pytest.mark.parametrize( "dtype", ["int32", "int64", "float32", "float64", "object"] ) def <API key>(self, dtype): ...
package com.iclojure.jline.console.history; import java.io.IOException; /** * Persistent {@link History}. * * @author <a href="mailto:jason@planet57.com">Jason Dillon</a> * @since 2.3 */ public interface PersistentHistory extends History { /** * Flush all items to persistent storage. * * @th...
using System; using System.Collections; using System.Collections.Generic; namespace zuoraTools.DataEnumerators { interface IDataEnumerator { //An inteface used to facilitate looping through records in a foreach int LoopIterations{get;} //A counter used primarily for reporting how many records we...
package org.openrdf.store.blob.disk; import java.io.BufferedReader; import java.io.File; import java.io.<API key>; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java....
#!/usr/bin/python #|R|a|s|p|b|e|r|r|y|P|i|.|c|o|m|.|t|w| # Author : sosorry # Date : 11/14/2017 # Cahgne the parameters of camera import picamera with picamera.PiCamera() as camera: camera.resolution = (640, 480) camera.iso = 200 camera.exposure_mode = 'off' g = camera.awb_gains camera.awb_mode = ...
// modification, are permitted provided that the following conditions are met: // and/or other materials provided with the distribution. // * Neither the name of whawty.pond nor the names of its // contributors may be used to endorse or promote products derived from // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDI...
<?php namespace User\Form; use Zend\InputFilter\InputFilter; use Zend\InputFilter\<API key>; use Zend\InputFilter\<API key>; use Zend\Db\Adapter\Adapter; use User\Model\Gender; use User\Model\MaritalStatus; use User\Model\BodyType; use User\Model\Users; class UsersEditFilter implements <API key> { protected $inputF...
'use strict'; var errorCodes = require('../postgresql/error-codes').codeToCondition; var jobStatus = require('./job-status'); var Profiler = require('step-profiler'); var _ = require('underscore'); var REDIS_LIMITS = { DB: global.settings.batch_db || 5, PREFIX: 'limits:batch:' // + username }; function JobRunne...
package wycs.io; import java.io.*; import java.util.List; import wycs.syntax.WyalFile; public class WyalFileReader { private final String filename; private final InputStream input; public WyalFileReader(String filename, InputStream input) { this.filename = filename; this.input = input; }...
<?php namespace Usuario\Controller; use Estrutura\Controller\<API key>; use Estrutura\Helpers\Cript; use Estrutura\Helpers\Data; use Zend\Filter\File\Encrypt; use Zend\View\Model\ViewModel; use Estrutura\Service\HtmlHelper; class UsuarioController extends <API key> { /** * @var \Usuario\Service\Usuario */...
# Native client if( APPLE ) add_definitions( -DNACL_WINDOWS=0 -DNACL_LINUX=0 -DNACL_ANDROID=0 -DNACL_OSX=1 ) elseif( LINUX ) add_definitions( -DNACL_WINDOWS=0 -DNACL_LINUX=1 -DNACL_ANDROID=0 -DNACL_OSX=0 ) elseif( WIN32 ) add_definitions( -DNACL_WINDOWS=1 -DNACL_LINUX=0 -DNACL_ANDROID=0 -DNACL_OSX=0 ) endif() if(...
title: Imposter Syndrome ## Imposter Syndrome Imposter Syndrome is a feeling of _being a fraud_ or _not being good enough_ to get the job done. Common among software engineers, developers and designers working in tech companies, especially those not coming from a traditional tech background. People suffering from impos...
#!/usr/bin/env python # -*- coding: utf-8 -*- from hashsync.connection import connect from hashsync.transfer import upload_directory import logging log = logging.getLogger(__name__) def main(): import argparse import sys import gzip parser = argparse.ArgumentParser() # TODO: These aren't required if...
angular.module('os.administrative.setting.list', ['os.administrative.models']) .controller('SettingsListCtrl', function( $rootScope, $scope, $state, $stateParams, $sce, $filter, Setting, SettingUtil, Alerts) { function init() { $scope.isEdit = false; $scope.fileCtx = { ctrl: {}, up...
<?php namespace app\models; use Yii; use yii\behaviors\TimestampBehavior; use yii\db\ActiveRecord; use yii\db\Expression; use app\rbac\models\AuthAssignment; use app\rbac\models\AuthItem; class CashierForm extends \yii\db\ActiveRecord { public static function tableName() { return 'user'; } publi...
CC=/usr/bin/gcc CPP=/usr/bin/g++ DEBUG=-g CFLAGS=-c LFLAGS=-lpthread -lm LD=ld INCLUDE_MAIN=-DINCLUDEMAIN INCLUDES=-I ../../testcasesupport MAIN=main_linux.cpp MAIN_OBJECT=$(MAIN:.cpp=.o) C_SUPPORT_PATH=../../testcasesupport/ C_SUPPORT_FILES=$(C_SUPPORT_PATH)io.c $(C_SUPPORT_PATH)std_thread.c C_SUPPORT_OBJECTS=io.o std...
<?php namespace Model; use Nette, Nette\Mail\Message, Nette\Utils\Strings; /** * Priest Manager. */ class PriestManager { /** * @var Model\PriestRepository */ public $priestRepository; public function __construct(PriestRepository $repository) { $this->priestRepository = $reposi...
var spawn = require('child_process').spawn; var settings = require('../../settings'); var omkServerPath = settings.omkServerPath; var omkFormsDir = omkServerPath + '/data/forms'; var xls2xformSh = __dirname + '/../../scripts/xls2xform.sh'; var xls2xformPy = omkServerPath + '/api/odk/pyxform/pyxform/xls2xform.py'; modul...
// iVisDesigner - scripts/editor/actionmanager.js // are permitted provided that the following conditions are met: // and/or other materials provided with the distribution. // may be used to endorse or promote products derived from this software without // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIM...
<?php namespace Phalcon\Cache\Frontend; use \Phalcon\Cache\FrontendInterface; use \Phalcon\Cache\Exception; class Output implements FrontendInterface { /** * Buffering * * @var boolean * @access protected */ protected $_buffering = false; /** * Frontend Options * * @va...
task("basic", "test exec/pipe/print", function() { shell(".") .exec("ls") .print() .dir("folder1") .exec("ls") .print() .exec("echo Hi there!") .pipe("cat") .print(); }); task("exec-fn", "test exec with function", function () { shell() .exec("ls -al") .exec(function (result) ...
''' A password is considered strong if below conditions are all met: 1. It has at least 6 characters and at most 20 characters. 2. It must contain at least one lowercase letter, at least one uppercase letter, and at least one digit. 3. It must NOT contain three repeating characters in a row ("...aaa..." is weak, but "....
#include "storage/browser/database/database_util.h" #include <stddef.h> #include "base/strings/<API key>.h" #include "storage/browser/database/database_tracker.h" #include "storage/browser/database/vfs_backend.h" #include "storage/common/database/database_identifier.h" namespace storage { namespace { bool IsSafeSuffix(...
#include "src/server/rtp_recv.h" #include <assert.h> #include <signal.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "src/global_context.h" #include "src/log.h" void rtp_recv_init() { ortp_init(); ortp_scheduler_init(); <API key>(ORTP_DEBUG | ORTP_MESSAGE | ORTP_WARNING |...
<head> <link href="pantheios.css" rel="stylesheet" type="text/css"> <! <title>Pantheios - The C++ Diagnostic Logging Sweetspot</title> </head> <table width = "100%"> <tr> <td align = "left" valign = "middle"> <a href = "http: </td> <td align = "right" valign = "middle"> <a href = "http://stlsoft.org"><im...
#ifndef AVERAGING_H #define AVERAGING_H // INCLUDES #include "averaging_global.h" #include <anShared/Plugins/abstractplugin.h> #include <rtprocessing/helpers/filterkernel.h> // QT INCLUDES #include <QtWidgets> #include <QtCore/QtPlugin> // FORWARD DECLARATIONS namespace ANSHAREDLIB { class FiffRawViewModel; cla...
/* -- MAGMA (version 2.1.0) -- Univ. of Tennessee, Knoxville Univ. of California, Berkeley Univ. of Colorado, Denver @date August 2016 @generated from testing/testing_zgebrd.cpp, normal z -> d, Tue Aug 30 09:39:15 2016 */ // includes, system #include <stdlib.h> #include <stdio.h> ...
import unittest from mock import patch from exporters.exporter_config import ExporterConfig from exporters.persistence.base_persistence import BasePersistence from exporters.persistence.pickle_persistence import PicklePersistence from exporters.utils import remove_if_exists from .utils import <API key>, meta class Base...
# This code is so you can run the samples without installing the package import sys import os sys.path.insert(0, os.path.join(os.path.dirname(__file__), '..')) testinfo = "s, t 1.1, s, q" tags = "CallFunc, visible" import cocos from cocos.director import director from cocos.actions import CallFunc, Delay from cocos.spr...
/* $NetBSD: bus.h,v 1.8.2.1 2000/06/30 16:27:16 simonb Exp $ */ /* NetBSD: bus.h,v 1.27 2000/03/15 16:44:50 drochner Exp */ /* $OpenBSD: bus.h,v 1.15 1999/08/11 23:15:21 niklas Exp $ */ #ifndef _ARC_BUS_H_ #define _ARC_BUS_H_ #ifdef _KERNEL #include <mips/locore.h> #ifdef BUS_SPACE_DEBUG #include <sy...
#ifndef <API key> #define <API key> #include <vector> #include "base/callback.h" #include "base/macros.h" #include "base/memory/scoped_ptr.h" #include "base/memory/weak_ptr.h" #include "base/strings/string16.h" #include "url/gurl.h" namespace base { class FilePath; } namespace net { class <API key>; } class FileDownloa...
package main import ( "errors" "fmt" "github.com/FactomProject/go-flags" "os" "strconv" "strings" ) type EditorOptions struct { Input flags.Filename `short:"i" long:"input" description:"Input file" default:"-"` Output flags.Filename `short:"o" long:"output" description:"Output file" def...