text
stringlengths
3
1.05M
""" .. _ex-limo-data: ============================================================= Single trial linear regression analysis with the LIMO dataset ============================================================= Here we explore the structure of the data contained in the `LIMO dataset`_. This example replicates and extend...
/* Version numbers for protocol & mysqld */ #ifndef _mysql_version_h #define _mysql_version_h #ifdef _CUSTOMCONFIG_ #include <custom_conf.h> #else #define PROTOCOL_VERSION 10 #define MYSQL_SERVER_VERSION "5.0.51a" #define MYSQL_BASE_VERSION "mysqld-5.0" #define MYSQL_SERVER_SUFFIX_DEF "-community-nt" #define FRM...
(function () { 'use strict'; angular .module('articles.admin.routes') .config(routeConfig); routeConfig.$inject = ['$stateProvider']; function routeConfig($stateProvider) { $stateProvider .state('admin.articles', { abstract: true, url: '/articles', template: '<ui-vi...
package sample.atmosphere; import java.util.Collections; import javax.servlet.ServletContext; import javax.servlet.ServletException; import org.atmosphere.cpr.AtmosphereInitializer; import org.atmosphere.cpr.AtmosphereServlet; import org.springframework.boot.SpringApplication; import org.springframework.boot.Spri...
open TakeOrToss.xcworkspace
project_path: /web/_project.yaml book_path: /web/tools/_book.yaml description: Periksa dan hapus cookie dari panel Application. {# wf_updated_on: 2016-07-28 #} {# wf_published_on: 2015-04-13 #} # Memeriksa dan Menghapus Cookie {: .page-title } {% include "web/_shared/contributors/kaycebasques.html" %} Periksa dan h...
package org.apache.ignite.internal.processors.platform; import org.apache.ignite.internal.util.typedef.internal.S; import org.apache.ignite.platform.PlatformJavaObjectFactory; /** * Singleton factory. */ public class PlatformJavaObjectSingletonFactory<T> implements PlatformJavaObjectFactory<T> { /** Instance....
""" Created on Wed May 20 08:17:49 2015 @author: Julia """ # Read in all the app config settings stored in .env # Do this before anything else! import os if os.path.exists('.env'): print('Importing environment from .env...') for line in open('.env'): var = line.strip().split('=') if len(var) ==...
<?xml version="1.0" encoding="utf-8"?> <resources> <string name="Hello">Hello World, Click Me!</string> <string name="ApplicationName">HeritageProperties.Droid</string> </resources>
/* * Custom Type Definitions * When including 3rd party modules you also need to include the type definition for the module * if they don't provide one within the module. You can try to install it with @types npm install @types/node npm install @types/lodash * If you can't find the type definition in the registry...
package org.multibit.hd.ui.views.layouts; import com.google.common.collect.Lists; import javax.swing.*; import java.awt.*; import java.awt.event.HierarchyEvent; import java.awt.event.HierarchyListener; import java.util.List; /** * <p>Card layout to provide the following to Wizard API:</p> * <ul> * <li>Set focus o...
class MessagesController < ApplicationController skip_before_filter :verify_authenticity_token def reply message_body = params["Body"] from_number = params["From"] boot_twilio sms = @client.messages.create( from: Rails.application.secrets.twilio_number, to: from_number, body: "Hello t...
package com.intellij.conversion.impl; import com.intellij.conversion.CannotConvertException; import com.intellij.conversion.ComponentManagerSettings; import com.intellij.conversion.ModuleSettings; import com.intellij.facet.FacetManagerImpl; import com.intellij.ide.highlighter.ModuleFileType; import com.intellij.open...
<?php // To run in console type: php sami.phar update samiconf.php return new Sami\Sami('src', array( 'build_dir' => __DIR__.'/api', 'cache_dir' => __DIR__.'/sami-cache' ));
import Particles from './Particles'; export default Particles;
<?php namespace Codeception\Command; use Codeception\Lib\Generator\GherkinSnippets as SnippetsGenerator; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputOption; use Symfony\Com...
<?php include_once dirname(__FILE__) . '/config/variables.php'; include_once dirname(__FILE__) . '/config/authpostmaster.php'; include_once dirname(__FILE__) . '/config/functions.php'; include_once dirname(__FILE__) . '/config/httpheaders.php'; check_mail_address( $_POST['localpart'],$_SESSION['domain_id...
"""Support for XS1 sensors.""" from __future__ import annotations from xs1_api_client.api_constants import ActuatorType from homeassistant.components.sensor import SensorEntity from homeassistant.core import HomeAssistant from homeassistant.helpers.entity_platform import AddEntitiesCallback from homeassistant.helpers...
package transport import ( "net/http" "testing" ) func TestTLSConfigKey(t *testing.T) { // Make sure config fields that don't affect the tls config don't affect the cache key identicalConfigurations := map[string]*Config{ "empty": {}, "basic": {Username: "bob", Password: "password"}, "be...
<?php abstract class Twig_Node_Expression_Unary extends Twig_Node_Expression { public function __construct(Twig_Node $node, $lineno) { parent::__construct(array('node' => $node), array(), $lineno); } public function compile(Twig_Compiler $compiler) { $compiler->raw(' '); $...
/// Copyright (c) 2012 Ecma International. All rights reserved. /** * @path ch11/11.13/11.13.2/11.13.2-36-s.js * @description Strict Mode - TypeError is thrown if The LeftHandSide of a Compound Assignment operator(%=) is a reference to an accessor property with the attribute value {[[Set]]:undefined} * @onlyStrict...
using namespace std; using namespace OpenZWave; using namespace Platform; using namespace BridgeRT; using namespace Windows::Foundation; namespace AdapterLib { ZWaveAdapterProperty::ZWaveAdapterProperty(const OpenZWave::ValueID & value) : m_valueId(value) , m_InterfaceHint(ref new String(L"")) ...
.class Lo/一$ˋ; .super Ljava/lang/Object; .source "" # interfaces .implements Lo/一$ˊ; # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Lo/一; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x8 name = "\u02cb" .end annotation # direct methods .m...
package kubelet import ( "sync" kubecontainer "k8s.io/kubernetes/pkg/kubelet/container" "k8s.io/kubernetes/pkg/types" ) // volumeManager manages the volumes for the pods running on the kubelet. // Currently it only does book keeping, but it can be expanded to // take care of the volumePlugins. type volumeManage...
class HRSCImageMetadata { public: HRSCImageMetadata(std::string const& filename); virtual ~HRSCImageMetadata() {} /// Read the line times from an HRSC metadata file void read_line_times(std::string const& filename); /// Read the *.sup file void read_ephemeris_supplement(std::string const& filename); ...
/* * ModeShape (http://www.modeshape.org) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law o...
SpreePayuIntegration ==================== Spree integration with OpenPayU payment service. Installation ------------ Add spree_payu_integration to your Gemfile: ```ruby gem 'spree_payu_integration', github: 'netguru/spree_payu_integration' ``` Bundle your dependencies and run the installation generator: ```shell ...
<?php namespace Illuminate\Queue\Jobs; use Illuminate\Support\Arr; use Illuminate\Queue\IronQueue; use Illuminate\Container\Container; use Illuminate\Contracts\Queue\Job as JobContract; class IronJob extends Job implements JobContract { /** * The Iron queue instance. * * @var \Illuminate\Queue\Iro...
import { TestComponentRenderer } from '@angular/compiler/testing'; /** * A DOM based implementation of the TestComponentRenderer. */ export declare class DOMTestComponentRenderer extends TestComponentRenderer { private _doc; constructor(_doc: any); insertRootElement(rootElId: string): void; }
define("ace/ext/statusbar",["require","exports","module","ace/lib/dom","ace/lib/lang"], function(require, exports, module) { "use strict"; var dom = require("ace/lib/dom"); var lang = require("ace/lib/lang"); var StatusBar = function(editor, parentNode) { this.element = dom.createElement("div"); this.element.c...
```js var empty = require('empty-object'); var bar = Object.create(null); bar.b = 2; bar.c = 3; empty(bar); var foo = Object.create({ name: 'smith' }); empty(foo); ``` ### License MIT
<?php namespace Symfony\Component\Lock\Store; use Doctrine\DBAL\Connection; use Doctrine\DBAL\DriverManager; use Doctrine\DBAL\Exception as DBALException; use Doctrine\DBAL\Exception\TableNotFoundException; use Doctrine\DBAL\ParameterType; use Doctrine\DBAL\Schema\Schema; use Symfony\Component\Lock\Exception\Invali...
package org.ovirt.engine.api.resource; import javax.ws.rs.Consumes; import javax.ws.rs.DELETE; import javax.ws.rs.GET; import javax.ws.rs.POST; import javax.ws.rs.Path; import javax.ws.rs.PathParam; import javax.ws.rs.Produces; import javax.ws.rs.core.Response; import org.ovirt.engine.api.model.Action; import org.o...
namespace boost { namespace mpl { template< typename T0, typename T1, typename T2, typename T3, typename T4 , typename T5, typename T6, typename T7, typename T8, typename T9 , typename T10, typename T11, typename T12, typename T13, typename T14 , typename T15, typename T16, typename T17, typename T18...
import urllib2 import re import logging from compile_extensions import CompileExtensions from subprocess import Popen from subprocess import PIPE class Downloader(object): def __init__(self, config): self._ctx = config self._log = logging.getLogger('downloads') self._init_proxy() def...
/* * CPUOdroid.cpp * * Created on: 29 Jan, 2015 * Author: yeokm1 */ #include <cstdlib> #include <stack> #include "CPUOdroid.h" #include "IOStuff.h" #define FILE_CPU_AVAILABLE_FREQS "/sys/devices/system/cpu/cpufreq/iks-cpufreq/freq_table" #define LOWEST_FREQ_POSITION 7 //0.6 GHz #define HIGHEST_FREQ_POSITIO...
<?php namespace Zend\Filter; use Traversable; use Zend\Stdlib\ArrayUtils; class Boolean extends AbstractFilter { const TYPE_BOOLEAN = 1; const TYPE_INTEGER = 2; const TYPE_FLOAT = 4; const TYPE_STRING = 8; const TYPE_ZERO_STRING = 16; const TYPE_EMPTY_ARRAY ...
using System; using System.Collections.Generic; using FluentNHibernate.Mapping; namespace UICore.Mappings { public class PropertyMap : ClassMap<Property> { public PropertyMap() { Id(x => x.Name) .GeneratedBy.Assigned(); Map(x => x.Value); Table("Properties"); } } public class SnapshotMap : Cl...
// Copyright (C) 2010 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
package memorytopo import ( "fmt" "path" "github.com/golang/protobuf/proto" "golang.org/x/net/context" "github.com/youtube/vitess/go/vt/topo" vschemapb "github.com/youtube/vitess/go/vt/proto/vschema" ) /* This file contains the vschema management code for etcdtopo.Server */ // SaveVSchema saves the JSON v...
""" An implementation of a key manager that reads its key from the project's configuration options. This key manager implementation provides limited security, assuming that the key remains secret. Using the volume encryption feature as an example, encryption provides protection against a lost or stolen disk, assuming ...
using System; using System.Text; using System.IO; using BizHawk.Emulation.Common; namespace BizHawk.Emulation.Cores.Atari.Lynx { [Core("Handy", "K. Wilkins, Mednafen Team", true, true, "mednafen 0-9-34-1", "http://mednafen.sourceforge.net/")] [ServiceNotApplicable(typeof(ISettable<,>), typeof(IDriveLight), typeof(...
 /** * @fileOverview The "show border" plugin. The command display visible outline * border line around all table elements if table doesn't have a none-zero 'border' attribute specified. */ (function() { var showBorderClassName = 'cke_show_border', cssStyleText, cssTemplate = // TODO: For IE6, we don't hav...
<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Example - example-example21-production</title> <script src="//ajax.googleapis.com/ajax/libs/angularjs/1.3.17/angular.min.js"></script> <script src="script.js"></script> </head> <body ng-app="docsIsoFnBindExample"> <div ng-control...
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Test Simple Grid ColumnReorder</title> <meta name="viewport" content="width=570"> <style> @import "../../../dojo/resources/dojo.css"; @import "../../../dojo/resources/dnd.css"; @import "../../css/skins/claro.css"; .heading { ...
.oo-ui-icon-map { background-image: url("themes/mediawiki/images/icons/map-ltr.png"); background-image: -webkit-linear-gradient(transparent, transparent), /* @embed */ url("themes/mediawiki/images/icons/map-ltr.svg"); background-image: linear-gradient(transparent, transparent), /* @embed */ url("themes/medi...
<p align="center"> <img src ="https://raw.githubusercontent.com/Mozharovsky/XMLParser/master/Assets/%3E.png" /> </p> Overview ========== * [Description](https://github.com/Mozharovsky/XMLParser#description) * [Requirements](https://github.com/Mozharovsky/XMLParser#requirements) * [Installation](https://github.com/Mo...
<?xml version="1.0" encoding="utf-8"?> <!-- See https://www.facebook.com/groups/303159406399348/permalink/410968105618477/ --> <!-- @generated SignedSource<<aa4254e927c253ee2b71c437d33cfead>> --> <!-- @nolint --> <!-- @mobile export_name="fbandroid 2015-07-14 at 10:02:32 GMT" locale="pl_PL" lib_name="java-com-facebook-...
package com.cloudera.fraud.example.service; import java.io.IOException; import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; import java.util.Map.Entry; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentMap; import com.cloudera.fraud.example.model.ItemSal...
<!DOCTYPE html> <html> <head> <title>Popup with NaCl embed App test</title> <script src="popup.js"></script> </head> <body> <embed id="nacl_module" src="ppapi_tests_extensions_popup.nmf" type="application/x-nacl" /> </body> </html>
/* @ 0xCCCCCCCC */ #include <cstdio> #include <thread> #include <errno.h> #include <unistd.h> #include <sys/prctl.h> #include <sys/syscall.h> pid_t GetCurrentThreadID() { return syscall(__NR_gettid); } void SetThreadName(const char* name) { if (GetCurrentThreadID() == getpid()) { return; } ...
class AddCountToLitem < ActiveRecord::Migration def change add_column :litems, :count, :integer end end
<html> Test passes if it does not crash. <script> if (window.testRunner) testRunner.dumpAsText(); </script> <style> .test { -webkit-columns: 1px; } </style> <div class="test"> <textarea></textarea> <object data="x" align="left"> <textarea rows="100000000"></textarea> sometextsometextsometextsometextsometext...
class AttachmentsController < ApplicationController before_filter :login_required, only: [:show, :edit, :update] # GET /attachments # GET /attachments.json def index @attachments = Attachment.all respond_to do |format| format.html { render :index } format.json { render jso...
// Copyright 2005, Google Inc. // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistributions of source code must retain the above copyright // notice, this list of conditions ...
namespace media { namespace cast { namespace { // January 1970, in NTP seconds. // Network Time Protocol (NTP), which is in seconds relative to 0h UTC on // 1 January 1900. const int64_t kUnixEpochInNtpSeconds = INT64_C(2208988800); // Magic fractional unit. Used to convert time (in microseconds) to/from // fraction...
import copy import mock from nose.tools import * # flake8: noqa from website.models import ApiOAuth2Application, User from website.util import api_v2_url from website.util import sanitize from tests.base import ApiTestCase from tests.factories import ApiOAuth2ApplicationFactory, AuthUserFactory def _get_applicati...
/* Define to prevent recursive inclusion -------------------------------------*/ #ifndef __STM32F4xx_IT_H #define __STM32F4xx_IT_H /* Includes ------------------------------------------------------------------*/ #include "stm32f4xx.h" /* Exported types ------------------------------------------------------...
CONTRIB= ${.CURDIR}/../../../../contrib/bsnmp .PATH: ${CONTRIB}/snmp_target MOD= target SRCS= target_snmp.c XSYM= snmpTargetMIB snmpNotificationMIB snmpUDPDomain MAN= snmp_target.3 CFLAGS+= -I${CONTRIB}/lib -I${CONTRIB}/snmpd -DSNMPTREE_TYPES CFLAGS+= -DHAVE_ERR_H -DHAVE_GETADDRINFO -DHAVE_STRLCPY -DHAVE_SYS_TREE_H ...
// Copyright © 2011 - Present RealDimensions Software, LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless ...
/* @flow */ import {VirtualText} from './VirtualText' import {isVirtual} from './is' import type {VirtualElement} from './types' function wrap (obj: any): VirtualElement { if (isVirtual(obj)) { return obj } return VirtualText.create(obj.toString()) } export function wrapText (arr: Array<any>): Array<Virt...
;(function ($, window, document, undefined) { 'use strict'; Foundation.libs.dropdown = { name : 'dropdown', version : '5.5.3', settings : { active_class : 'open', disabled_class : 'disabled', mega_class : 'mega', align : 'bottom', is_hover : false, hover_timeout : ...
<?php namespace Buzz\Test\Util; use Buzz\Util\Url; class UrlTest extends \PHPUnit_Framework_TestCase { /** * @dataProvider provideUrlAndHost */ public function testGetHost($urlStr, $host, $resource) { $url = new Url($urlStr); $this->assertEquals($host, $url->getHost()); ...
{% for file in site.static_files %} - {{ file.path }} last edited at {{ file.modified_time | date:"%H:%m" }} with extname {{ file.extname }}{% endfor %}
package container import ( "strings" "github.com/docker/docker/client" "github.com/gotestyourself/gotestyourself/poll" "golang.org/x/net/context" ) // IsStopped verifies the container is in stopped state. func IsStopped(ctx context.Context, client client.APIClient, containerID string) func(log poll.LogT) poll.Re...
package net.kr9ly.trout; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; /* package */ class CallbackHolder { private final Object subscriber; private final Method method; public CallbackHolder(Object subscriber, Method method) { this.subscriber = subscribe...
package queue import ( "testing" "time" "k8s.io/apimachinery/pkg/types" "k8s.io/apimachinery/pkg/util/sets" "k8s.io/client-go/util/clock" ) func newTestBasicWorkQueue() (*basicWorkQueue, *clock.FakeClock) { fakeClock := clock.NewFakeClock(time.Now()) wq := &basicWorkQueue{ clock: fakeClock, queue: make(...
package org.elasticsearch.index.snapshots; import org.elasticsearch.index.shard.IndexShardException; import org.elasticsearch.index.shard.ShardId; /** * Generic shard snapshot exception */ public class IndexShardSnapshotException extends IndexShardException { public IndexShardSnapshotException(ShardId shardId...
package org.apache.camel.component.atmos.integration.producer; import org.apache.camel.Exchange; import org.apache.camel.component.atmos.AtmosConfiguration; import org.apache.camel.component.atmos.AtmosEndpoint; import org.apache.camel.component.atmos.core.AtmosAPIFacade; import org.apache.camel.component.atmos.dto.A...
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> <html> <head> <script src="../../resources/js-test.js"></script> </head> <body> <script src="script-tests/mark-element.js"></script> </body> </html>
namespace boost { namespace mpl { template< typename Tag > struct pop_back_impl; template< typename Sequence > struct pop_back; }} #endif // BOOST_MPL_POP_BACK_FWD_HPP_INCLUDED
FILES= lomac-policy.contexts NO_OBJ= FILESDIR= ${BINDIR}/security .include "${.CURDIR}/../Makefile.inc" .include <bsd.prog.mk>
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
Want to hack on Kubernetes? Yay! ## Developer Guide We have a [Developer's Guide](docs/devel/README.md) that outlines everything you need to know from setting up your dev environment to how to get faster Pull Request reviews. If you find something undocumented or incorrect along the way, please feel free to send a Pu...
package com.intellij.openapi.vcs.changes.patch; import com.intellij.openapi.diff.impl.patch.BinaryFilePatch; import com.intellij.openapi.project.Project; import com.intellij.openapi.vcs.FilePath; import com.intellij.openapi.vcs.VcsBundle; import com.intellij.openapi.vcs.VcsException; import com.intellij.openapi.vcs.c...
namespace leveldb { namespace port { // Define MemoryBarrier() if available // Windows on x86 #if defined(OS_WIN) && defined(COMPILER_MSVC) && defined(ARCH_CPU_X86_FAMILY) // windows.h already provides a MemoryBarrier(void) macro // http://msdn.microsoft.com/en-us/library/ms684208(v=vs.85).aspx #define LEVELDB_HAVE_ME...
#pragma once #include <string> #include <signalzeug/Signal.h> #include <reflectionzeug/variant/Variant.h> #include <scriptzeug/scriptzeug_api.h> namespace reflectionzeug { class PropertyGroup; } namespace scriptzeug { class AbstractScriptContext; /** \brief The entry point to managing scripting in your...
ALab_3PlayerController::ALab_3PlayerController() { bShowMouseCursor = true; DefaultMouseCursor = EMouseCursor::Crosshairs; } void ALab_3PlayerController::PlayerTick(float DeltaTime) { Super::PlayerTick(DeltaTime); // keep updating the destination every tick while desired if (bMoveToMouseCursor) { MoveToMouseC...
<?php namespace Fuel\Core; class Database_Query_Builder_Select extends \Database_Query_Builder_Where { /** * @var array $_select columns to select */ protected $_select = array(); /** * @var bool $_distinct whether to select distinct values */ protected $_distinct = false; /** * @var array $_fr...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections.ObjectModel; using System.ComponentModel.Composition; using Microsoft.CodeAn...
"""Component to configure Home Assistant via an API.""" import asyncio import importlib import os import voluptuous as vol from homeassistant.components.http import HomeAssistantView from homeassistant.const import ( CONF_ID, EVENT_COMPONENT_LOADED, HTTP_BAD_REQUEST, HTTP_NOT_FOUND, ) from homeassista...
var Node = require("./node"), Ruleset = require("./ruleset"); var Directive = function (name, value, rules, index, currentFileInfo, debugInfo, isReferenced) { this.name = name; this.value = value; if (rules) { this.rules = rules; this.rules.allowImports = true; } this.index = i...
<?php namespace Monolog\Formatter; use Monolog\Logger; /** * Serializes a log message according to Wildfire's header requirements * * @author Eric Clemmons (@ericclemmons) <eric@uxdriven.com> * @author Christophe Coevoet <stof@notk.org> * @author Kirill chEbba Chebunin <iam@chebba.org> */ class WildfireForma...
#ifndef __QM_INTERRUPT_ROUTER_H__ #define __QM_INTERRUPT_ROUTER_H__ /** * Quark SE SoC Interrupt Router registers. * * @defgroup groupQUARKSEINTERRUPTROUTER SoC Interrupt Router (SE) * @{ */ void _qm_ir_mask_int(uint32_t irq, uint32_t register_offset); void _qm_ir_unmask_int(uint32_t irq, uint32_t register_off...
package org.apache.guacamole.form; /** * Represents a text field which will contain the uniquely-identifying name of * a user. */ public class UsernameField extends Field { /** * Creates a new UsernameField with the given name. * * @param name * The unique name to associate with this ...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Pagination Class : CodeIgniter User Guide</ti...
<?php if (isset($structure_install) && $structure_install == true){ $structure = "CREATE TABLE IF NOT EXISTS `content_templates` ( `id` int(11) NOT NULL, `date` int(11) DEFAULT NULL, `title` varchar(255) DEFAULT NULL, `label` varchar(255) NOT NULL, `label_before` varchar(255) NOT NULL, `label_after` varc...
package system // import "github.com/docker/docker/pkg/system" import "syscall" // fromStatT converts a syscall.Stat_t type to a system.Stat_t type func fromStatT(s *syscall.Stat_t) (*StatT, error) { return &StatT{size: s.Size, mode: uint32(s.Mode), uid: s.Uid, gid: s.Gid, rdev: uint64(s.Rdev), mtim: s.M...
import unittest from flask import json import rfk.exc import rfk.database from rfk.database.base import User from rfk.database.base import ApiKey from rfk.site import app class PyRfKAPITest(unittest.TestCase): def setUp(self): rfk.init() rfk.database.init_db("sqlite://") app.template_f...
const template = `<div id="wrapper"> <div test="test" class="tmp">Lorem ipsum</div> dolor sit amet <img class="-amp-class-name" src="https://random-source.com/img.jpeg"> <amp-analytics> <script type="application/json"> {"key": "value"} </script> </amp-analytics> </div> `; import {getHtml} fro...
package org.apache.camel.karaf.commands; import org.apache.camel.commands.RouteListCommand; import org.apache.camel.karaf.commands.completers.CamelContextCompleter; import org.apache.camel.karaf.commands.internal.CamelControllerImpl; import org.apache.karaf.shell.api.action.Action; import org.apache.karaf.shell.api.a...
[![npm status badge](https://nodei.co/npm/newrelic.png?stars=true&downloads=true)](https://nodei.co/npm/newrelic/) # New Relic for Node.js This package instruments your application for performance monitoring with [New Relic](http://newrelic.com). Make sure you have a [New Relic account](http://newrelic.com) before s...
/* LibTomCrypt, modular cryptographic library -- Tom St Denis * * LibTomCrypt is a library that provides various cryptographic * algorithms in a highly modular and flexible manner. * * The library is free for all purposes without any express * guarantee it works. * * Tom St Denis, tomstdenis@gmail.com, http:/...
typedef void(^DidFinishTakeMediaCompledBlock)(UIImage *image, NSDictionary *editingInfo); @interface XHPhotographyHelper : NSObject - (void)showOnPickerViewControllerSourceType:(UIImagePickerControllerSourceType)sourceType onViewController:(UIViewController *)viewController compled:(DidFinishTakeMediaCompledBlock)com...
package net.coding.program.common.widget; import android.content.Context; import android.util.AttributeSet; import android.view.LayoutInflater; import android.view.View; import android.widget.TextView; import net.coding.program.R; import net.coding.program.common.model.TopicLabelObject; import org.apmem.tools.layout...
from __future__ import with_statement import os.path, sys sys.path += [ os.path.dirname(__file__), os.path.join(os.path.dirname(__file__), 'third_party.zip'), ] import wingapi import shared flip_pairs = ( ('True', 'False'), ('true', 'false'), ('enable', 'disable'), ('add', 'remove'), ('...
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: eccredit.php 20206 2009-09-22 02:37:49Z monkey $ */ define('NOROBOT', TRUE); define('CURSCRIPT', 'eccredit'); require_once './include/common.inc.php'; require_once DISCUZ_ROOT.'./include/ec_credit.func.php'; ...
/* * Contributed to the OpenSSL Project by the American Registry for * Internet Numbers ("ARIN"). */ /* ==================================================================== * Copyright (c) 2006 The OpenSSL Project. All rights reserved. * * Redistribution and use in source and binary forms, with or without * mod...
package oci import ( "errors" "github.com/opencontainers/runc/libcontainer/configs" specs "github.com/opencontainers/runtime-spec/specs-go" ) // Device transforms a libcontainer configs.Device to a specs.Device object. // Not implemented func Device(d *configs.Device) specs.LinuxDevice { return specs.LinuxDevice{...
package com.home.rxtwitch.data.twitch.pojo; import java.util.ArrayList; /** * Created by xmax on 4/14/16. */ public class TwitchEmoticons extends TwitchBase{ private ArrayList<TwitchEmoticon> emoticons; public ArrayList<TwitchEmoticon> getEmoticons() { return emoticons; } public void setEm...