text stringlengths 3 1.05M |
|---|
import sys
import matplotlib.pyplot as plt
import modules.tools.common.proto_utils as proto_utils
from modules.tools.planning.plot_trajectory import mkz_polygon
from modules.planning.proto.planning_pb2 import ADCTrajectory
from modules.localization.proto.localization_pb2 import LocalizationEstimate
def plot_traject... |
.. _autopts-linux:
AutoPTS on Linux
################
Overview
========
This tutorial shows how to setup AutoPTS client on Linux with AutoPTS server running on Windows 10
virtual machine. Tested with Ubuntu 20.4 and Linux Mint 20.4.
You must have a Zephyr development environment set up. See
:ref:`getting_started` fo... |
/*
* File: app/js/module/a/services/version.js
*
* */
(function () {
'use strict';
var UserModel = function () {
var _self = this;
_self.key_url = null;
_self.username = null;
_self.email = null;
_self.token = null;
_self.role = '';
};
UserModel.prototy... |
## Chapter 7: IDT and interrupts
An interrupt is a signal to the processor emitted by hardware or software indicating an event that needs immediate attention.
There are 3 types of interrupts:
- **Hardware interrupts:** are sent to the processor from an external device (keyboard, mouse, hard disk, ...). Hardware inte... |
#import "MDCChipView.h"
@interface MDCChipView (Private)
- (void)startTouchBeganAnimationAtPoint:(CGPoint)point;
- (void)startTouchEndedAnimationAtPoint:(CGPoint)point;
- (BOOL)willChangeSizeWithSelectedValue:(BOOL)selected;
@end
|
FROM reefrt/ubuntu12.04-jdk7
MAINTAINER Apache REEF <dev@reef.apache.org>
# Apache Hadoop 2.7.2
RUN \
cd /usr/local && wget -q http://www.us.apache.org/dist/hadoop/common/hadoop-2.7.2/hadoop-2.7.2.tar.gz && \
tar -xzf hadoop-2.7.2.tar.gz && \
ln -s ./hadoop-2.7.2 hadoop && \
rm hadoop-2.7.2.tar.gz
ENV HADOOP_... |
You can manage analytics settings.
## Dashboards
Here you are able to manage the dashboards you want to display.
You can manage finely the dashboards to display on APIs, applications or on the platform.
You can add, delete, edit/reorder or enabled/disable dashboards and configure the widgets you want to display on ... |
# Request - Simplified HTTP client
[](https://nodei.co/npm/request/)
[](https://travis-ci.org/request/request)
[ {
/**
* @for DOM
* @module dom
*/
var documentElement = Y.config.doc.documentElement,
Y_DOM = Y.DOM,
TAG_NAME = 'tagName',
OWNER_DOCUMENT = 'ownerDocument',
EMPTY_STRING = '',
addFeature = Y.Features.add,
testFeature = Y.Features.test;
Y.mix(Y_DOM, {
... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/**
* Postgre Forge Class
*
* @package CodeIgniter
* @subpackage Drivers
* @category Database
* @author EllisLab Dev Team
* @link http://codeigniter.com/user_guide/database/
*/
class CI_DB_postgre_forge extends CI_DB_forge {... |
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Defining IPC Messages
//
// Your IPC messages will be defined by macros inside of an XXX_messages.h
// header file. Most of the time, the system c... |
package com.intellij.refactoring.util.classRefs;
import com.intellij.openapi.diagnostic.Logger;
import com.intellij.psi.*;
import com.intellij.psi.search.GlobalSearchScope;
import com.intellij.psi.search.searches.ReferencesSearch;
import com.intellij.psi.util.PsiTreeUtil;
import com.intellij.refactoring.util.Refactor... |
<?xml version="1.0" encoding="UTF-8"?>
<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="keywor... |
<?xml version="1.0" encoding="utf-8"?>
<container xmlns="http://symfony.com/schema/dic/services" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
<parameters>
<parameter key="kernel.root_dir">... |
.. _int: https://docs.python.org/2/library/stdtypes.html
.. _str: https://docs.python.org/2/library/stdtypes.html
.. _datetime: https://docs.python.org/2/library/stdtypes.html
.. _vSphere API 4.1: ../../../vim/version.rst#vimversionversion6
.. _vmodl.DynamicData: ../../../vmodl/DynamicData.rst
vim.net.IpConfigInf... |
require 'pathname'
# The containing module for Rouge
module Rouge
class << self
def reload!
Object.send :remove_const, :Rouge
load __FILE__
end
# Highlight some text with a given lexer and formatter.
#
# @example
# Rouge.highlight('@foo = 1', 'ruby', 'html')
# Rouge.highl... |
#include "ppp_opts.h"
#if PPP_SUPPORT /* don't build if not configured for use in ppp_opts.h */
#ifndef PPP_H
#define PPP_H
#ifdef __cplusplus
extern "C" {
#endif
/* Disable non-working or rarely used PPP feature, so rarely that we don't want to bloat ppp_opts.h with them */
#ifndef PPP_OPTIONS
#define PPP_OPTIONS... |
<?xml version="1.0" encoding="utf-8"?>
<merge xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
<FrameLayout
android:id="@+id/field_view_drag_mask"
android:layout_width="match_parent"
android:layout_h... |
Ext.define('Ozone.components.focusable.CircularFocus', {
//convience function that calls preventDefault
//and focuses another el
focusAndPrevent: function(evt, el) {
evt.preventDefault();
el.focus();
},
//resets focus to the firstEl when it goes beyond last el, and
//vice-versa... |
<?php namespace Modules\Admin\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class TagRequest extends FormRequest
{
/**
* Get the validation rules that apply to the request.
*
* @return array
*/
public function rules()
{
$rules['name'] = 'required';
... |
import maya.cmds as cmds
import maya.mel
import maya.OpenMaya
import IECore
import IECoreMaya
## Base class for objects which are able to create an Attribute Editor widget for a single IECore.Parameter
# held on an IECoreMaya.ParameterisedHolder node.
# \todo Separate control drawing from labelling and layout, so the... |
NSString * const AFNetworkingReachabilityDidChangeNotification = @"com.alamofire.networking.reachability.change";
NSString * const AFNetworkingReachabilityNotificationStatusItem = @"AFNetworkingReachabilityNotificationStatusItem";
typedef void (^AFNetworkReachabilityStatusBlock)(AFNetworkReachabilityStatus status);
t... |
require 'capybara/rails'
require 'capybara/dsl'
RSpec.configure do |c|
c.include Capybara::DSL, :example_group => { :file_path => /\bspec\/integration\// }
end
|
///<reference path='jquery-2.1.0.d.ts'/>
///<reference path='trello-client.d.ts'/>
///<reference path='chrome.d.ts'/>
///<reference path='mutation-observer.d.ts'/>
///<reference path='sigtrello-dom-card-window.ts'/>
///<reference path='sigtrello-service-links.ts'/>
interface JQueryXHR extends JQueryPromise {} // Som... |
import pytest
import salt.modules.status as status
from salt.exceptions import CommandExecutionError
from tests.support.mock import Mock, patch
@pytest.fixture
def configure_loader_modules():
return {status: {}}
def test_boot_time_aix():
mock = Mock()
mock.return_value = {"stdout": "7-20:46:46", "retc... |
package io.quarkus.smallrye.health.test;
import java.util.Collections;
import java.util.Map;
import java.util.Optional;
import javax.enterprise.context.Dependent;
import org.eclipse.microprofile.health.HealthCheck;
import org.eclipse.microprofile.health.HealthCheckResponse;
import org.eclipse.microprofile.health.Liv... |
<!--
@license
Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http:/... |
Modernizr.addTest('cssvmaxunit', function(){
var bool;
Modernizr.testStyles("#modernizr { width: 50vmax; }", function(elem, rule) {
var one_vw = window.innerWidth/100,
one_vh = window.innerHeight/100,
compWidth = parseInt((window.getComputedStyle ?
... |
package org.foxbpm.web.db.interfaces;
import java.util.List;
import org.foxbpm.web.model.TDemo;
/**
* 对表demotable 数据操作Dao
* @author yangguangftlp
* @date 2014年6月10日
*/
public interface IDemoDao {
/**
* 查询demoTable 数据
*
* @param sqpParams
* sql 查询条件
* @return 返回查询结果
*/
public List<TDem... |
#ifndef __HTTPD_H__
#define __HTTPD_H__
#include "psock.h"
#include "httpd-fs.h"
struct httpd_state {
unsigned char timer;
struct psock sin, sout;
struct pt outputpt, scriptpt;
char inputbuf[50];
char filename[20];
char state;
struct httpd_fs_file file;
int len;
char *scriptptr;
int scriptlen;
... |
#define IN_LIBXSLT
#include "libxslt.h"
#include <string.h>
#include <libxml/xmlmemory.h>
#include <libxml/tree.h>
#include <libxml/valid.h>
#include <libxml/hash.h>
#include <libxml/xmlerror.h>
#include <libxml/xpath.h>
#include <libxml/xpathInternals.h>
#include <libxml/parserInternals.h>
#include <libxml/dict.h>... |
ES5Harness.registerTest( {
id: "15.2.3.7-0-2",
path: "TestCases/chapter15/15.2/15.2.3/15.2.3.7/15.2.3.7-0-2.js",
description: "Object.defineProperties must exist as a function taking 2 parameters",
test: function testcase() {
if (Object.defineProperties.length === 2) {
return true;
}
},
precondition: funct... |
package signature
import (
"github.com/containers/image/types"
"github.com/sirupsen/logrus"
)
func (pr *prSignedBaseLayer) isSignatureAuthorAccepted(image types.UnparsedImage, sig []byte) (signatureAcceptanceResult, *Signature, error) {
return sarUnknown, nil, nil
}
func (pr *prSignedBaseLayer) isRunningImageAllo... |
(function (global, factory) {
if (typeof define === "function" && define.amd) {
define('shopify-buy', ['module'], factory);
} else if (typeof exports !== "undefined") {
factory(module);
} else {
var mod = {
exports: {}
};
factory(mod);
global.ShopifyBuy = mod.exports;
}
})(this, f... |
glob-parent [](https://travis-ci.org/es128/glob-parent) [](https://coveralls.io/r/es128/glob-parent?branch=master)
======
Javascript module to extract the non-magic parent path from a gl... |
namespace extensions {
namespace {
// Key for the base::Bound routed function.
const char* kHandlerFunction = "handler_function";
} // namespace
ObjectBackedNativeHandler::ObjectBackedNativeHandler(ScriptContext* context)
: router_data_(context->isolate()),
context_(context),
object_template_(context... |
@-webkit-keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@-moz-keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@-o-keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@-ms-keyframes fadeIn {
from {
opacity: 0;
}
to {
opacit... |
@implementation NSObject (JKEasyCopy)
- (BOOL)jk_easyShallowCopy:(NSObject *)instance
{
Class currentClass = [self class];
Class instanceClass = [instance class];
if (self == instance) {
//相同实例
return NO;
}
if (![instance isMemberOfClass:currentClass] ) {
//不是当前类的实... |
#ifndef VMSDIR_H
#define VMSDIR_H
#include <rms.h>
#define MAXNAMLEN 255
#ifndef __DECC
#if !defined (__GNUC__) && !defined (__ALPHA)
typedef unsigned long u_long;
typedef unsigned short u_short;
#endif
#endif
struct direct
{
off_t d_off;
u_long d_fileno;
u_short d_reclen;
u_short d_namlen;
char d_name[... |
/**
* ModelMapper is an intelligent object mapping library.
*
* <p>
* The principal public APIs in this package are:
*
* <dl>
* <dt>{@link org.modelmapper.ModelMapper}
* <dd>The class you instantiate to perform object mapping, load mapping definitions and register mappers.
*
* <dt>{@link org.mo... |
package org.apache.camel.itest.karaf;
import org.apache.camel.model.DataFormatDefinition;
import org.apache.camel.model.dataformat.BeanioDataFormat;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.ops4j.pax.exam.Configuration;
import org.ops4j.pax.exam.Option;
import org.ops4j.pax.exam.junit.PaxExa... |
import * as AllRules from '../validation/validation-rules';
import * as AllCollections from '../validation/validation-rules-collection'
import {ValidationProperty} from '../validation/validation-property';
import {ValidationConfig} from '../validation/validation-config';
export class ValidationGroupBuilder {
constru... |
var snc = require('snc');
var tools = require('./tools/tools');
var type = require('./tools/type');
var array = require('./tools/array');
var object = require('./tools/object');
var string = require('./tools/string');
var number = require('./tools/number');
var boolean = require('./tools/boolean');
var generic = requir... |
This project is no longer maintained.
The contents of this repository are still available in the Git source code
management system. To see the contents of this repository before it reached
its end of life, please check out the previous commit with
"git checkout HEAD^1".
|
module.exports = function(app, passport) {
// Login
app.get('/auth/pnut',
passport.authenticate('pnut')
);
// Callback
app.get('/auth/pnut/callback',
passport.authenticate('pnut', { failureRedirect: '/' }),
function(req, res) {
res.redirect('/');
}
);
// Logout
app.get('/logout',... |
package com.ab.network.toolbox;
import java.util.concurrent.BlockingQueue;
import android.os.Process;
/**
* Provides a thread for performing cache triage on a queue of requests.
*
* Requests added to the specified cache queue are resolved from cache.
* Any deliverable response is posted back to the caller via ... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_75) on Sun Apr 26 23:21:40 IST 2015 -->
<title>Result</title>
<meta name="date" content="2015-04-26">
<link rel="stylesheet" type="text... |
import os
from django.conf import settings
from django.core.management.base import NoArgsCommand
from desktop.lib.paths import get_desktop_root
class Command(NoArgsCommand):
def handle_noargs(self, **options):
cdh_path = os.path.join(get_desktop_root(), '..', 'cloudera', 'cdh_version.properties')
if os.p... |
var jwt = require('../index');
var fs = require('fs');
var path = require('path');
var expect = require('chai').expect;
var assert = require('chai').assert;
var ms = require('ms');
function loadKey(filename) {
return fs.readFileSync(path.join(__dirname, filename));
}
var algorithms = {
RS256: {
pub_key: load... |
set -ex
# Install closure compiler and linter.
cd ..
git clone --depth 1 https://github.com/google/closure-compiler.git
git clone --depth 1 https://github.com/google/closure-linter.git
cd closure-compiler
ant jar
cd ../closure-linter
python ./setup.py install --user
cd ../closure-library
# Installs node "devDependenc... |
package org.keycloak.testsuite.model.parameters;
import com.google.common.collect.ImmutableSet;
import java.util.Set;
import org.jboss.logging.Logger;
import org.keycloak.authorization.store.StoreFactorySpi;
import org.keycloak.events.EventStoreSpi;
import org.keycloak.models.DeploymentStateSpi;
import org.keycloak.m... |
using System;
using System.Collections.Generic;
using System.Linq;
using Duality.Drawing;
namespace Duality.Backend
{
public interface IDualityBackend
{
string Id { get; }
string Name { get; }
int Priority { get; }
bool CheckAvailable();
void Init();
void Shutdown();
}
}
|
"""Tests for the profiler classes."""
import unittest
from plaso.engine import profiler
class CPUTimeProfilerTest(unittest.TestCase):
"""Tests for the parser profiler."""
def testInitialization(self):
"""Tests the initialization."""
test_profiler = profiler.CPUTimeProfiler(u'test')
self.assertNotEq... |
package org.cocos2dx.lib;
import android.app.AlertDialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.res.AssetFileDescriptor;
import android.content.res.Resources;
import android.media.AudioManager;
import android.media.MediaPlayer;
import android.media.MediaPlayer.... |
package org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.security;
import java.io.DataInput;
import java.io.DataOutput;
import java.io.IOException;
import org.apache.hadoop.io.Text;
import org.apache.hadoop.security.UserGroupInformation;
import org.apache.hadoop.security.token.TokenIdentifier;
... |
define([
'./defaultValue',
'./defined',
'./DeveloperError',
'./freezeObject'
], function(
defaultValue,
defined,
DeveloperError,
freezeObject) {
'use strict';
/**
* A vertex format defines what attributes make up a vertex. A VertexFormat... |
<?php
namespace PhpSpec\Event;
use PhpSpec\Loader\Suite;
use Symfony\Component\EventDispatcher\Event;
/**
* Class SuiteEvent holds information about the suite event
*/
class SuiteEvent extends Event implements EventInterface
{
/**
* @var Suite
*/
private $suite;
/**
* @var float
... |
require "generators/generators_test_helper"
require "rails/generators/rails/app/app_generator"
require "generators/shared_generator_tests"
DEFAULT_APP_FILES = %w(
.gitignore
README.md
Gemfile
Rakefile
config.ru
app/assets/javascripts
app/assets/stylesheets
app/assets/images
app/controllers
app/cont... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="UriTemplateAttribute.cs" company="Mark Rendle and Ian Battersby.">
// Copyright (C) Mark Rendle and Ian Battersby 2014 - All Rights Reserved.
// </copyright>
// <summary>
/... |
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>Project GetEPTest</TITLE>
</HEAD>
<BODY>
<p><font size="+2"><b>PortmapGetPortTest.java</b></font>
<p><hr>
<p>Demonstrates and tests the ONC/RPC portmap client object
(class <a href="../../../../org/acplt/oncrpc/OncRpcPortma... |
package memdb
import (
"math/rand"
"sync"
"github.com/syndtr/goleveldb/leveldb/comparer"
"github.com/syndtr/goleveldb/leveldb/errors"
"github.com/syndtr/goleveldb/leveldb/iterator"
"github.com/syndtr/goleveldb/leveldb/util"
)
var (
ErrNotFound = errors.ErrNotFound
ErrIterReleased = errors.New("leveldb/me... |
#include <cmn/agent_cmn.h>
#include <cmn/event_notifier.h>
//Event registeration handle
EventNotifyHandle::EventNotifyHandle(KeyPtr key, Callback cb) :
key_(key), cb_(cb) {
}
EventNotifyHandle::~EventNotifyHandle() {
}
//Event notify manager
EventNotifier::EventNotifier(Agent *agent) : map_(),
work_queue_(ag... |
require File.expand_path('../../../spec_helper', __FILE__)
require File.expand_path('../../fixtures/classes', __FILE__)
describe "Regexps with interpolation" do
it "allow interpolation of strings" do
str = "foo|bar"
/#{str}/.should == /foo|bar/
end
it "allows interpolation of literal regexps" do
re... |
package apiserver
import (
"encoding/json"
"net/http"
"net/http/httptest"
"net/url"
"reflect"
"testing"
"code.google.com/p/go.net/websocket"
"github.com/GoogleCloudPlatform/kubernetes/pkg/api"
"github.com/GoogleCloudPlatform/kubernetes/pkg/runtime"
"github.com/GoogleCloudPlatform/kubernetes/pkg/watch"
)
... |
import { connect } from 'react-redux'
import { bindActionCreators } from 'redux'
import { reduxForm } from 'redux-form'
import { createTeamAction } from 'modules'
import { TeamCreate as TeamCreateView } from './team-create.view'
import { teamCreateValidate } from './team-create.validate'
const mapStateToProps = (sta... |
// -*- mode: java; c-basic-offset: 2; -*-
// Copyright 2009-2011 Google, All Rights reserved
// Copyright 2011-2012 MIT, All rights reserved
// Released under the MIT License https://raw.github.com/mit-cml/app-inventor/master/mitlicense.txt
package com.google.appinventor.components.runtime;
import com.google.appinven... |
package org.elasticsearch.search.aggregations.bucket.significant;
import com.google.common.collect.Maps;
import org.elasticsearch.common.io.stream.Streamable;
import org.elasticsearch.common.xcontent.ToXContent;
import org.elasticsearch.search.aggregations.Aggregations;
import org.elasticsearch.search.aggregations.I... |
from __future__ import print_function
import subprocess
import traceback
from rospkg.os_detect import OsDetect
from .core import rd_debug, RosdepInternalError, InstallFailed, print_bold, InvalidData
# kwc: InstallerContext is basically just a bunch of dictionaries with
# defined lookup methods. It really encompass... |
'use strict';
var apis = require('./api'),
// All page actions here.
// A page action will prepare all required store for a page
// and update the page title.
pages = {
product: function () {
return this.executeAction(apis.getProductById, this.getStore('page').getRoutingParam().id).then(function () {
... |
<!doctype html>
<header>
<title>FunW@p - server</title>
<link href="http://funwap.sfcoding.com/style.css" rel="stylesheet" type="text/css">
</header>
<body>
<div>
<img src="http://funwap.sfcoding.com/fun_logo.jpg"
style="margin: 10pt auto;display: block;">
</img>
<!-- DEBUG
<form action="/" ... |
package com.android.dx.util;
/**
* Utilities for parsing hexadecimal text.
*/
public final class HexParser {
/**
* This class is uninstantiable.
*/
private HexParser() {
// This space intentionally left blank.
}
/**
* Parses the given text as hex, returning a {@code byte[]}
... |
package io.leopard.web.nobug.xss;
public class JsonViewXssUtil {
// public static void checkXss(Object data) {
//
// }
}
|
<plexus>
<components>
<component>
<role>com.dianping.cat.analysis.MessageAnalyzer</role>
<role-hint>mock1</role-hint>
<implementation>com.dianping.cat.analysis.Configurator$MockAnalyzer1</implementation>
<instantiation-strategy>per-lookup</instantiation-strategy>
</component>
<component>
<role>com... |
/*
* 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... |
<?php
namespace Test\Pager\Subscriber;
use Knp\Component\Pager\ArgumentAccess\ArgumentAccessInterface;
use Knp\Component\Pager\Event\BeforeEvent;
use Knp\Component\Pager\Event\Subscriber\Filtration\FiltrationSubscriber;
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
use Test\Tool\BaseTestCase;
final... |
<?xml version="1.0" encoding="utf-8"?>
<!--
-->
<bitmap xmlns:android="http://schemas.android.com/apk/res/android"
android:src="@drawable/ic_ab_back_holo_light_am"
android:autoMirrored="true">
</bitmap>
|
angular.module('demo.camera.ctrl', [])
.controller('CameraCtrl', function ($scope, $cordovaCamera, $ionicModal) {
$scope.takePicture = function () {
var options = {
quality: 50,
destinationType: Camera.DestinationType.DATA_URL,
sourceType: Camera.PictureSourceType.CAMERA
};
... |
CREATE TABLE phpdebugbar (
id TEXT PRIMARY KEY,
data TEXT,
meta_utime TEXT,
meta_datetime TEXT,
meta_uri TEXT,
meta_ip TEXT,
meta_method TEXT
);
CREATE INDEX idx_debugbar_id ON phpdebugbar (id);
CREATE INDEX idx_debugbar_meta_utime ON phpdebugbar (meta_utime);
CREATE INDEX idx_debugbar_meta... |
#include <stdint.h>
#include <stdbool.h>
#include <stdlib.h>
#include <string.h>
#include "bacdef.h"
#include "bacdcode.h"
#include "bacstr.h"
#include "nvmdata.h"
#include "device.h"
#include "bname.h"
/*************************************************************************
* DESCRIPTION: Test the BACnet Character... |
import Joi = require('joi');
// --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
var x: any = null;
var value: any = null;
var num: number = 0;
var str: string = '';
var bool: boolean = false;
var exp: RegExp = null;
var obj: Object = null;
var date: Date = null;
var... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_26) on Sun Jan 22 14:18:54 CET 2012 -->
<TITLE>
soot.baf.toolkits.base (Soot API)
</TITLE>
<META NAME="date" CONTENT="2012-01-22">
<LINK REL ="styl... |
@implementation AppDelegate
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
// Override point for customization after application launch.
self.viewController = [[Vie... |
/*
* example.c
*
* This file illustrates how to use the IJG code as a subroutine library
* to read or write JPEG image files. You should look at this code in
* conjunction with the documentation file libjpeg.txt.
*
* This code will not do anything useful as-is, but it may be helpful as a
* skeleton for... |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Function template load</title>
<link rel="stylesheet" href="../../doc/src/boostbook.css" type="text/css">
<meta name="generat... |
var LocationActions = require('../actions/LocationActions');
var History = require('../History');
var _listeners = [];
var _isListening = false;
function notifyChange(type) {
var change = {
path: HistoryLocation.getCurrentPath(),
type: type
};
_listeners.forEach(function (listener) {
listener.call(... |
using UltimateTeam.Toolkit.Constants;
namespace UltimateTeam.Toolkit.Models
{
public class PileSize
{
public Pile Key { get; set; }
public int Value { get; set; }
}
}
|
<html>
<head>
<script>
var secondWindowLog = "Logging from second window:<br>";
function log(a)
{
secondWindowLog += a + "<br>";
}
function runTest()
{
if (!window.sessionStorage) {
log("window.sessionStorage DOES NOT exist");
return;
}
log("Value for FOO is " + window.sessionSto... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null |
#include "OgreEXRCodec.h"
namespace Ogre {
#ifndef OGRE_STATIC_LIB
Codec *mEXRCodec;
//-----------------------------------------------------------------------
extern "C" void dllStartPlugin(void)
{
mEXRCodec = new EXRCodec;
Codec::registerCodec( mEXRCodec );
}
extern "C" v... |
local st = require "util.stanza";
local jid_bare = require "util.jid".bare;
local adhoc_new = module:require "adhoc".new;
local xmlns_carbons_v2 = "urn:xmpp:carbons:2";
local xmlns_carbons_v1 = "urn:xmpp:carbons:1";
local xmlns_carbons_v0 = "urn:xmpp:carbons:0";
local bare_sessions = bare_sessions;
local function adh... |
=====
Armor
=====
Python data validation and sanitization library.
**Coming Soon.**
|
require 'rack/protection'
module Rack
module Protection
##
# Prevented attack:: Session Hijacking
# Supported browsers:: all
# More infos:: http://en.wikipedia.org/wiki/Session_hijacking
#
# Tracks request properties like the user agent in the session and empties
# the session i... |
"""
PlayLisp main module.
"""
from configparser import ConfigParser
import spotipy
import spotipy.util as util
from playlisp.data.playlist import SpotifyPlaylist
class PlayLisp(object):
"""
Main application class. It handles and, in the future, abstracts over all the
PlayLisp functionality
"""
... |
<?php
require 'consumer.inc';
require 'OAuth.php';
$host = "https://www.readability.com/api/rest/v1/bookmarks";
parse_str(base64_decode(getenv('POPCLIP_OPTION_AUTHSECRET')));
$url = getenv('POPCLIP_TEXT');
// generate signed request
parse_str(base64_decode(POPCLIP_READABILITY_CONSUMER_INFO));
$consumer = new OAuthCon... |
<?php
namespace Doctrine\ORM\Query\Filter;
use Doctrine\ORM\EntityManager,
Doctrine\ORM\Mapping\ClassMetaData,
Doctrine\ORM\Query\ParameterTypeInferer;
/**
* The base class that user defined filters should extend.
*
* Handles the setting and escaping of parameters.
*
* @author Alexander <iam.asm89@gmai... |
<!DOCTYPE html>
<p>The text "Column 1" should be seen in the first column, and "Column 2"
should be seen in the second column.</p>
<div style="columns:2; column-fill:auto; column-rule:1px dotted; width:20em; height:130px; column-fill:auto; line-height:50px;">
<div style="height:50px;"></div>
<div style="pos... |
/**
* For some RxStorage implementations,
* we need to use our custom crafted indexes
* so we can easily iterate over them. And sort plain arrays of document data.
*/
import type { JsonSchema, RxDocumentData, RxJsonSchema } from './types';
/**
* Crafts an indexable string that can be used
* to check if a document... |
<?xml version="1.0"?>
<doc>
<assembly>
<name>TestLibraryWithConfiguration</name>
</assembly>
<members>
<member name="M:TestLibrary.Helper.GetMessage">
<summary>
Gets the message from the helper. This comment is here to help test XML documentation file generation, plea... |
#include "test.h"
enum {
PTW32TEST_THREAD_INIT_PRIO = 0,
PTW32TEST_MAXPRIORITIES = 512
};
int minPrio;
int maxPrio;
int validPriorities[PTW32TEST_MAXPRIORITIES];
pthread_barrier_t startBarrier, endBarrier;
void * func(void * arg)
{
int policy;
int result;
struct sched_param param;
result = pthread_bar... |
<?php
/*!
* HybridAuth
* http://hybridauth.sourceforge.net | http://github.com/hybridauth/hybridauth
* (c) 2009-2012, HybridAuth authors | http://hybridauth.sourceforge.net/licenses.html
*/
/**
* Hybrid_Providers_px500 (500px.com)
*/
class Hybrid_Providers_px500 extends Hybrid_Provider_Model_OAuth1
{
/**
* IDp w... |