code stringlengths 4 1.01M | language stringclasses 2
values |
|---|---|
#ifndef UI_UNDOVIEW_H
#define UI_UNDOVIEW_H
#include <QtWidgets/QUndoView>
namespace ui {
class UndoView : public QUndoView
{
Q_OBJECT
public:
explicit UndoView(QWidget *parent = 0);
signals:
public slots:
};
} // namespace ui
#endif // UI_UNDOVIEW_H
| Java |
<?php
global $post;
if( tie_get_option( 'archives_socail' ) ):?>
<div class="mini-share-post">
<ul>
<li><a href="https://twitter.com/share" class="twitter-share-button" data-url="<?php the_permalink(); ?>" data-text="<?php the_title(); ?>" data-via="<?php echo tie_get_option( 'share_twitter_username' ) ?>" d... | Java |
/*
* Driver for the SGS-Thomson M48T35 Timekeeper RAM chip
*
* Real Time Clock interface for Linux
*
* TODO: Implement periodic interrupts.
*
* Copyright (C) 2000 Silicon Graphics, Inc.
* Written by Ulf Carlsson (ulfc@engr.sgi.com)
*
* Based on code written by Paul Gortmaker.
*
* This driver allows use of t... | Java |
<!DOCTYPE html>
<html>
<head>
<title>Asterisk Project : Asterisk Standard Channel Variables</title>
<link rel="stylesheet" href="styles/site.css" type="text/css" />
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body class="theme-default aui-theme-defau... | Java |
<?php
class Miscinfo_b extends Lxaclass
{
static $__desc_realname = array("", "", "real_name");
static $__desc_paddress = array("", "", "personal_address");
static $__desc_padd_city = array("", "", "city");
static $__desc_padd_country = array( "", "", "Country", "Country of the Client");
static $__desc_ptelephon... | Java |
<?php
/**
* @version SEBLOD 3.x Core
* @package SEBLOD (App Builder & CCK) // SEBLOD nano (Form Builder)
* @url https://www.seblod.com
* @editor Octopoos - www.octopoos.com
* @copyright Copyright (C) 2009 - 2018 SEBLOD. All Rights Reserved.
* @license GNU General Public License version 2 or later; ... | Java |
/*
* File: ShardExceptions.cpp
* Author: dagothar
*
* Created on October 22, 2015, 8:00 PM
*/
#include "ShardExceptions.hpp"
using namespace gripperz::shards;
| Java |
äòR<?php exit; ?>a:6:{s:10:"last_error";s:0:"";s:10:"last_query";s:104:"SELECT ID FROM jj_posts WHERE post_parent = 6 AND post_type = 'page' AND post_status = 'publish' LIMIT 1";s:11:"last_result";a:0:{}s:8:"col_info";a:1:{i:0;O:8:"stdClass":13:{s:4:"name";s:2:"ID";s:5:"table";s:8:"jj_posts";s:3:"def";s:0:"";s:10:"max... | Java |
/* sane - Scanner Access Now Easy.
Copyright (C) 2002 Frank Zago (sane at zago dot net)
This file is part of the SANE package.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
published by the Free Software Foundation; either ... | Java |
/*
* AlwaysLowestAdaptationLogic.cpp
*****************************************************************************
* Copyright (C) 2014 - VideoLAN authors
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published
* by the ... | Java |
package com.oa.bean;
public class FeedBackInfo {
private Long id;
private String feedbackinfo;
private String userid;
private String date;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getFeedbackinfo() {
return feedbackinfo;
}
public void setFeedb... | Java |
<?php
include('../../../operaciones.php');
conectar();
apruebadeintrusos();
if($_SESSION['cargo_user']!="Bodeguero"){
header('Location: ../../../login.php');
}
?>
<html lang="en">
<head>
<title>PNKS Inventario - Estadística de Productos</title>
<!-- BEGIN META -->
<meta charset="utf-8">
<meta name="viewport"... | Java |
<?php
/**
* Vanillicon plugin.
*
* @author Todd Burry <todd@vanillaforums.com>
* @copyright 2009-2017 Vanilla Forums Inc.
* @license http://www.opensource.org/licenses/gpl-2.0.php GNU GPL v2
* @package vanillicon
*/
/**
* Class VanilliconPlugin
*/
class VanilliconPlugin extends Gdn_Plugin {
/**
* Se... | Java |
/**
* OWASP Benchmark Project v1.1
*
* This file is part of the Open Web Application Security Project (OWASP)
* Benchmark Project. For details, please see
* <a href="https://www.owasp.org/index.php/Benchmark">https://www.owasp.org/index.php/Benchmark</a>.
*
* The Benchmark is free software: you can redistribute it and/... | Java |
package Classes::Sentry4;
our @ISA = qw(Classes::Device);
sub init {
my $self = shift;
if ($self->mode =~ /device::hardware::health/) {
$self->analyze_and_check_environmental_subsystem('Classes::Sentry4::Components::EnvironmentalSubsystem');
} elsif ($self->mode =~ /device::power::health/) {
$self->analy... | Java |
using System.Windows.Controls;
namespace HomeControl
{
/// <summary>
/// Interaction logic for UserControl1.xaml
/// </summary>
public partial class HomeCtrl : UserControl
{
public HomeCtrl()
{
InitializeComponent();
// doug's change...
}
}
}
| Java |
package adamros.mods.transducers.item;
import java.util.List;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import adamros.mods.transducers.Transducers;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemBlock;
import net.minecraft.item.ItemStack;
import net... | Java |
cmd_sound/soc/s6000/built-in.o := rm -f sound/soc/s6000/built-in.o; ../prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/arm-eabi-ar rcs sound/soc/s6000/built-in.o
| Java |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<title>Sunible</title>
<link rel="shortcut icon" href="images/favicon.ico"/>
<!-- CSS -->
<link rel="stylesheet" type="text/css" href="css/bootstrap.css"/>
<link rel="stylesheet" type="text/css" href="css/flat-ui.css"/>
<link rel="stylesheet... | Java |
<?php
/**
* @file
* Opigno Learning Record Store stats - Course content - Course contexts statistics template file
*
* @param array $course_contexts_statistics
*/
?>
<div class="lrs-stats-widget" id="lrs-stats-widget-course-content-course-contexts-statistics">
<h2><?php print t('Course context statistics'); ?></... | Java |
/* ScummVM - Graphic Adventure Engine
*
* ScummVM is the legal property of its developers, whose names
* are too numerous to list here. Please refer to the COPYRIGHT
* file distributed with this source distribution.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of ... | Java |
showWord(["v. ","vin jòn.<br>"]) | Java |
##
## Copyright 2007, Red Hat, Inc
## see AUTHORS
##
## This software may be freely redistributed under the terms of the GNU
## general public license.
##
## You should have received a copy of the GNU General Public License
## along with this program; if not, write to the Free Software
## Foundation, Inc., 675 Mass Ave... | Java |
package lambda;
import java.awt.BorderLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JButton;
import javax.swing.JFrame;
public class Esempio extends JFrame {
public Esempio()
{
init();
}
private void init() {
BorderLayout b=new BorderLayout();
thi... | Java |
/*
DC++ Widget Toolkit
Copyright (c) 2007-2013, Jacek Sieka
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,
... | Java |
<?php
require "tableinitiateclass.php";
require "../queryinitiateclass.php";
$tbl = new AddTable;
?>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Table index</title>
</head>
<style>
table
{
width:100%;
}
</style>
<body>
<?php
// just the headers
$array... | Java |
/*
You may freely copy, distribute, modify and use this class as long
as the original author attribution remains intact. See message
below.
Copyright (C) 1998-2006 Christian Pesch. All Rights Reserved.
*/
package slash.carcosts;
import slash.gui.model.AbstractModel;
/**
* An CurrencyModel holds a Currency... | Java |
/* c) The receipt screen */
.point-of-sale .pos-receipt-container {
font-size: 10pt;
}
.point-of-sale .pos-sale-ticket {
text-align: left;
/* width: 76mm; */
width: 255px;
/* background-color: white; */
margin: 0mm,0mm,0mm,0mm;
/* padding: 1px; */
/* padding-bottom:1px; */
display: i... | Java |
/**
* Ядро булевой логики
*/
/**
* @author Алексей Кляузер <drum@pisem.net>
* Ядро булевой логики
*/
package org.deneblingvo.booleans.core; | Java |
#ifndef __LINUX_USB_H
#define __LINUX_USB_H
#include <linux/mod_devicetable.h>
#include <linux/usb/ch9.h>
#define USB_MAJOR 180
#define USB_DEVICE_MAJOR 189
#ifdef __KERNEL__
#include <linux/errno.h> /* for -ENODEV */
#include <linux/delay.h> /* for mdelay() */
#include <linux/interrupt.h> /* for in_inte... | Java |
/**
@copyright
Copyright (c) 2008 - 2010, AuthenTec Oy. All rights reserved.
wince_wan_interface.h
This file contains the type definitions and function declarations
for Windows CE WAN Interfaces (i.e. dial-up interfaces).
*/
#ifndef SSH_WINCE_WAN_INTERFACE_H
#define SSH_WINCE_WAN_INTER... | Java |
package de.superioz.moo.network.client;
import de.superioz.moo.network.server.NetworkServer;
import lombok.Getter;
import de.superioz.moo.api.collection.UnmodifiableList;
import java.net.InetSocketAddress;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.u... | Java |
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
int f1(int limite);
int f2(int limite)
{
int i;
for (i = 1; i < limite; i ++)
f1(i);
}
int f1(int limite)
{
int i;
for (i = 1; i < limite; i ++)
f2(i);
}
int main(void)
{
f1(25);
}
| Java |
package models.planners
import java.awt.Color
import java.awt.image.BufferedImage
import utils._
import models.{Yarn, Needle}
import models.units.Stitches
object Helper {
/** First/last needle for the knitting with the given width when center alignment. */
def center(width: Stitches): (Needle, Needle) = {
(Ne... | Java |
/* dnsmasq is Copyright (c) 2000-2015 Simon Kelley
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; version 2 dated June, 1991, or
(at your option) version 3 dated 29 June, 2007.
This ... | Java |
import math as mth
import numpy as np
#----------------------
# J Matthews, 21/02
# This is a file containing useful constants for python coding
#
# Units in CGS unless stated
#
#----------------------
#H=6.62606957E-27
HEV=4.13620e-15
#C=29979245800.0
#BOLTZMANN=1.3806488E-16
VERY_BIG=1e50
H=6.6262e-27
HC=1.98587e-... | Java |
using System;
using System.ComponentModel;
using System.Drawing;
using System.Drawing.Drawing2D;
namespace WeifenLuo.WinFormsUI.Docking
{
#region DockPanelSkin classes
/// <summary>
/// The skin to use when displaying the DockPanel.
/// The skin allows custom gradient color schemes to be used when dra... | Java |
/*
* General control styling
*/
.control-table .table-container {
border: 1px solid #e0e0e0;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
overflow: hidden;
margin-bottom: 15px;
}
.control-table .table-container:last-child {
margin-bottom: 0;
}
.control-table.active .table-con... | Java |
def format_path( str ):
while( str.find( '//' ) != -1 ):
str = str.replace( '//', '/' )
return str
| Java |
/* page layout styles */
*{
margin:0;
padding:0;
}
body {
background-color:#eee;
color:#fff;
font:14px/1.3 Arial,sans-serif;
}
header {
background-color:#212121;
box-shadow: 0 -1px 2px #111111;
display:block;
height:70px;
position:relative;
width:100%;
z-index:100;
}
head... | Java |
#!/usr/bin/env bash
# Usage example:
# PLot the chirp signal and its frequency domain presentation:
# (while true; do echo line; sleep 0.01; done)| \
# awk 'BEGIN{PI=atan2(0,-1);t=0;f0=1;f1=32;T=256;k=(f1-f0)/T;}{print sin(2*PI*(t*f0+k/2*t*t));t+=0.1;fflush()}'| \
# tee >(bin/dsp/fft.sh 64 "w1;0.5;0.5"|bin/dsp/fftab... | Java |
document.addEventListener("DOMContentLoaded", function (event) {
'use strict';
var paragraph, url, proxy;
paragraph = document.querySelectorAll('p.error_text');
chrome.tabs.query({ currentWindow: true, active: true }, function (tabs) {
url = tabs[0].url;
if (url.indexOf('chrome://') == 0) {
paragraph[0].inne... | Java |
using Deployer.Services.Config;
using Deployer.Services.Config.Interfaces;
using Moq;
using NUnit.Framework;
using System.Collections;
namespace Deployer.Tests.Config
{
[TestFixture]
public class ConfigBuildParamTests
{
private Mock<IJsonPersistence> _jsonPersist;
private Mock<ISlugCreator> _slugCreator;
pri... | Java |
package ch.hgdev.toposuite.utils;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
/**
* Useful static method for manipulating String.
*
* @author HGdev
*/
public class StringUtils {
public static final String UTF8_BOM = "\uFEFF";
/**
* This method assumes that the String contains a n... | Java |
package org.currconv.services.impl;
import java.util.List;
import org.currconv.dao.UserDao;
import org.currconv.entities.user.User;
import org.currconv.services.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transact... | Java |
package com.debugtoday.htmldecoder.output;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStreamWriter;
import java.io.PrintWriter;
import java.io.UnsupportedEncodingException;
import java.util.List;
import java.util.regex.Ma... | Java |
void dflu_pack_fin(DFluPack *p) {
UC(dmap_fin(NFRAGS, /**/ &p->map));
UC(comm_bags_fin(PINNED, NONE, /**/ &p->hpp, &p->dpp));
if (p->opt.ids) UC(comm_bags_fin(PINNED, NONE, /**/ &p->hii, &p->dii));
if (p->opt.colors) UC(comm_bags_fin(PINNED, NONE, /**/ &p->hcc, &p->dcc));
EFREE(p);
}
void dflu... | Java |
/*
MobileRobots Advanced Robotics Interface for Applications (ARIA)
Copyright (C) 2004, 2005 ActivMedia Robotics LLC
Copyright (C) 2006, 2007, 2008, 2009 MobileRobots Inc.
Copyright (C) 2010, 2011 Adept Technology, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms o... | Java |
package com.networkprofiles.widget;
/** Service to refresh the widget **/
import android.app.Service;
import android.appwidget.AppWidgetManager;
import android.content.Intent;
import android.graphics.Color;
import android.os.IBinder;
import android.provider.Settings;
import android.widget.RemoteViews;
import com.netwo... | Java |
#!/usr/bin/env python3
# Copyright (c) 2008-9 Qtrac Ltd. All rights reserved.
# This program or module is free software: you can redistribute it and/or
# modify it under the terms of the GNU General Public License as published
# by the Free Software Foundation, either version 2 of the License, or
# version 3 of the Lic... | Java |
<?php
/**
* The template for displaying all posts having layout like: sidebar/content/sidebar.
*
* @package Sage Theme
*/
?>
<?php
get_sidebar('second');
?>
<div id="primary" class="content-area">
<main id="main" class="site-main" role="main">
<?php while ( have_posts() ) : the_post(); ?>
... | Java |
/* GNU ddrescue - Data recovery tool
Copyright (C) 2004-2019 Antonio Diaz Diaz.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your optio... | Java |
/* Copyright (c) 2008 The Board of Trustees of The Leland Stanford
* Junior University
*
* We are making the OpenFlow specification and associated documentation
* (Software) available for public use and benefit with the expectation
* that others will use, modify and enhance the Software and contribute
* those enh... | Java |
#!/usr/bin/env python
# -*- coding:utf-8 -*-
"""
@author: Will
"""
from django import forms
from app01 import models
class ImportFrom(forms.Form):
HOST_TYPE=((1,"001"),(2,"002")) #替換爲文件
host_type = forms.IntegerField(
widget=forms.Select(choices=HOST_TYPE)
)
hostname = f... | Java |
package net.minecartrapidtransit.path.launcher;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.IOException;
public class FileStoreUtils {
private String version;
public FileStoreUtils(String versionFile) throws IOException{
BufferedReader br = new BufferedReader(... | Java |
/******************************************************************************
* Icinga 2 *
* Copyright (C) 2012-2016 Icinga Development Team (https://www.icinga.org/) *
* *
... | Java |
<?php
/**
* @file
* Banana class.
*/
namespace Drupal\oop_example_12\BusinessLogic\Fruit;
/**
* Banana class.
*/
class Banana extends Fruit {
/**
* Returns color of the object.
*/
public function getColor() {
return t('yellow');
}
}
| Java |
/*
* Copyright (c) 2011 Picochip Ltd., Jamie Iles
*
* This file contains the hardware definitions of the picoXcell SoC devices.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; ei... | Java |
<?php
/**
* The template for displaying the footer.
*
* @package WordPress
*/
?>
</div>
</div>
<!-- Begin footer -->
<div id="footer">
<?php
$pp_footer_display_sidebar = get_option('pp_footer_display_sidebar');
if(!empty($pp_footer_display_sidebar))
{
$pp_footer_style = get_op... | Java |
#include "logging.hpp"
#include <fstream>
#include <boost/log/sinks/text_file_backend.hpp>
#include <boost/log/utility/setup/file.hpp>
#include <boost/log/utility/setup/common_attributes.hpp>
#include <boost/log/sinks.hpp>
namespace p2l { namespace common {
//=====================================================... | Java |
/*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.hibernate.dialect.unique;
import org.hibernate.boot.Metadata;
import o... | Java |
/*
* Copyright 2002-2005, Instant802 Networks, Inc.
* Copyright 2005-2006, Devicescape Software, Inc.
* Copyright 2007 Johannes Berg <johannes@sipsolutions.net>
* Copyright 2008 Luis R. Rodriguez <lrodriguz@atheros.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms... | Java |
/* Copyright (C) 2004 - 2009 Versant Inc. http://www.db4o.com */
using Db4objects.Db4o.Query;
using Db4objects.Db4o.Tests.Common.Soda.Util;
using Sharpen;
namespace Db4objects.Db4o.Tests.Common.Soda.Arrays.Typed
{
public class STArrIntegerTNTestCase : SodaBaseTestCase
{
public int[][][] intArr;
pub... | Java |
showWord(["","Wayòm ki te nan pati Sidwès peyi Ispayola. Se Boyekyo ki te chèf endyen nan wayòm sa a. Kapital wayòm sa a te Lagwana, kounye a yo rele l Leogàn."
]) | Java |
#include "steadystatetest.hh"
#include <models/REmodel.hh>
#include <models/LNAmodel.hh>
#include <models/IOSmodel.hh>
#include <models/sseinterpreter.hh>
#include <models/steadystateanalysis.hh>
#include <eval/jit/engine.hh>
#include <parser/sbml/sbml.hh>
using namespace iNA;
SteadyStateTest::~SteadyStateTest() {
... | Java |
-- 17/03/2011 9h3min12s BRT
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,Help,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,1120054,0,'lbr_TaxStatusPIS',TO_TIMESTAMP('2011-03-17 0... | Java |
/*
* pcm audio input device
*
* Copyright (C) 2008 Google, Inc.
* Copyright (C) 2008 HTC Corporation
* Copyright (c) 2009-2010, Code Aurora Forum. All rights reserved.
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
... | Java |
table, th, td {border: 1px solid black; border-collapse: collapse}
.right {text-align: right}
tr.even {background-color: #FFEEEE}
td.right {text-align: right}
a {color: #880000; text-decoration: none}
a:hover {background-color:#FFCCCC}
tr.click:hover {background-color:#FFCCCC}
img.right {float: right}
div.bar {backgrou... | Java |
/**!
* The MIT License
*
* Copyright (c) 2010-2012 Google, Inc. http://angularjs.org
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitati... | Java |
<?php die("Access Denied"); ?>#x#s:4516:" 1448241693
<!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="zh-tw" lang="zh-tw">
<head>
<script type="text/javascript">
var siteurl='/';
... | Java |
<?php foreach ($content as $key => $value): ?>
<div class="product-item-viewed product-node-id-<?php print $key; ?>">
<?php print l($value['title'], $value['path']); ?>
<?php if (isset($value['image'])): ?>
<div class='image-viewed'><img src='<?php print $value['image']; ?>' /></div>
<?php... | Java |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Le... | Java |
package kieranvs.avatar.bending.earth;
import java.util.Arrays;
import java.util.concurrent.ConcurrentHashMap;
import net.minecraft.block.Block;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.init.Blocks;
import kieranvs.avatar.Protection;
import kieranvs.avatar.bending.Ability;
import... | Java |
#include <iostream>
#include <stdint.h>
#include <map>
#include <set>
#include "macros.h"
#include <assert.h>
using namespace std;
#include <fstream>
struct defsetcmp {
bool operator() (const pair<uint64_t, uint64_t> &l, const pair<uint64_t, uint64_t> &r) {
return (l.first < r.first || l.second < r.second);
... | Java |
/*****************************************************************
Copyright (c) 1996-2000 the kicker authors. See file AUTHORS.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restrictio... | Java |
/* linux/arch/arm/mach-s3c2410/mach-bast.c
*
* Copyright 2003-2008 Simtec Electronics
* Ben Dooks <ben@simtec.co.uk>
*
* http://www.simtec.co.uk/products/EB2410ITX/
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* p... | Java |
# Portions Copyright (c) Facebook, Inc. and its affiliates.
#
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2.
# match.py - filename matching
#
# Copyright 2008, 2009 Matt Mackall <mpm@selenic.com> and others
#
# This software may be used and distribute... | Java |
import numpy as np
from OpenGL.GL import *
from OpenGL.GLU import *
import time
import freenect
import calibkinect
import pykinectwindow as wxwindow
# I probably need more help with these!
try:
TEXTURE_TARGET = GL_TEXTURE_RECTANGLE
except:
TEXTURE_TARGET = GL_TEXTURE_RECTANGLE_ARB
if not 'win' in globals():
... | Java |
/*#discipline{
margin-right: 8px;
}
.list li p{
font-size: 14px;
}
.list li h3{
font-size: 16px;
margin-bottom: -4px;
margin-top: 8px;
}
.pagination, .pag-nav{
width: 100%;
position: relative;
left: -25px;
list-style: none;
}
.pag-nav{
margin-bottom:-29.5px;
}
.pag-nav li{
position: relative;
... | Java |
using GitHubWin8Phone.Resources;
namespace GitHubWin8Phone
{
/// <summary>
/// Provides access to string resources.
/// </summary>
public class LocalizedStrings
{
private static AppResources _localizedResources = new AppResources();
public AppResources LocalizedResources { get { r... | Java |
showWord(["np. ","Avoka, politisyen. Madanm prezidan Jean Bertrand Aristide."
]) | Java |
/*
* Copyright (c) 2011-2012, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in ... | Java |
package org.erc.qmm.mq;
import java.util.EventListener;
/**
* The listener interface for receiving messageReaded events.
* The class that is interested in processing a messageReaded
* event implements this interface, and the object created
* with that class is registered with a component using the
* component's ... | Java |
import re
p = re.compile(r'(\w+) (\w+)(?P<sign>.*)', re.DOTALL)
print re.DOTALL
print "p.pattern:", p.pattern
print "p.flags:", p.flags
print "p.groups:", p.groups
print "p.groupindex:", p.groupindex
| Java |
/* Copyright (c) 2012-2014, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the... | Java |
/*
* PROJECT: ReactOS i8042 (ps/2 keyboard-mouse controller) driver
* LICENSE: GPL - See COPYING in the top level directory
* FILE: drivers/input/i8042prt/pnp.c
* PURPOSE: IRP_MJ_PNP operations
* PROGRAMMERS: Copyright 2006-2007 Hervé Poussineau (hpoussin@reactos.org)
* Copyright 2... | Java |
<?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license an... | Java |
#!/usr/bin/perl
#
# Controller - is4web.com.br
# 2007 - 2011
package Controller;
require 5.008;
require Exporter;
#use strict;
use vars qw(@ISA $VERSION $INSTANCE %SWITCH);
#CONTROLLER
use Controller::DBConnector;
use Controller::SQL;
use Controller::LOG;
use Controller::Date;
use Controlle... | Java |
core:import( "CoreMissionScriptElement" )
ElementPlayerSpawner = ElementPlayerSpawner or class( CoreMissionScriptElement.MissionScriptElement )
function ElementPlayerSpawner:init( ... )
ElementPlayerSpawner.super.init( self, ... )
managers.player:preload()
end
-- Returns a value
function ElementPlayerSpawner:val... | Java |
#ifndef __CODEC_COM_ETSI_OP_H__
#define __CODEC_COM_ETSI_OP_H__
/*****************************************************************************
1 ÆäËûÍ·Îļþ°üº¬
*****************************************************************************/
#ifndef _MED_C89_
#include "codec_op_etsi_hifi.h"
#endif
#ifdef __cplusplu... | Java |
/*
* Copyright (C) 2016 The Android Open Source Project
*
* 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 app... | Java |
/*
* Compiler error handler
* Copyright
* (C) 1992 Joseph H. Allen
*
* This file is part of JOE (Joe's Own Editor)
*/
#include "types.h"
/* Error database */
typedef struct error ERROR;
struct error {
LINK(ERROR) link; /* Linked list of errors */
long line; /* Target line number */
long org; /* Original ... | Java |
<HTML>
<HEAD>
<META HTTP-EQUIV="content-type" CONTENT="text/html;charset=iso-8859-1">
<TITLE>Using mission packs by dragging them onto the Quake II application icon</TITLE>
<META NAME="copyright" CONTENT="Copyright 2002 Fruitz Of Dojo. All Rights Reserved.">
<META NAME="description" ... | Java |
# PryGitHub
Proyecto para usa desde Github
| Java |
<?php
/**
* @package Windwalker.Framework
* @subpackage class
*
* @copyright Copyright (C) 2012 Asikart. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
* @author Generated by AKHelper - http://asikart.com
*/
// no direct access
defined('_JEXEC') or... | Java |
<?php
class Metabox
{
public static $boxes = array();
/**
* @static
* @param $type
* @param $options
* @return Metabox
*/
public static function factory($type, $options = null) {
$parts = explode('_', $type);
array_walk(
$parts,
function(&$item){
$item = ucfirst($item);
}
);
$class =... | Java |
/*
* tseries.h
*
* specific parts for B&R T-Series Motherboard
*
* Copyright (C) 2013 Hannes Schmelzer <oe5hpm@oevsv.at> -
* Bernecker & Rainer Industrieelektronik GmbH - http://www.br-automation.com
*
* SPDX-License-Identifier: GPL-2.0+
*/
#ifndef __CONFIG_TSERIES_H__
#define __CONFIG_TSERIES_H__
#in... | Java |
<!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 (1.8.0_25) on Sun Oct 26 12:20:02 GMT+02:00 2014 -->
<title>Item</title>
<meta name="date" content="2014-10-26">
<link rel="stylesheet" type="text/css... | Java |
<!DOCTYPE html>
<html>
<head>
<title>Asterisk Project : Asterisk 12 ManagerEvent_ConfbridgeEnd</title>
<link rel="stylesheet" href="styles/site.css" type="text/css" />
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body class="theme-default aui-theme-de... | Java |
<?php
/**
* General API for generating and formatting diffs - the differences between
* two sequences of strings.
*
* The original PHP version of this code was written by Geoffrey T. Dairiki
* <dairiki@dairiki.org>, and is used/adapted with his permission.
*
* Copyright 2004 Geoffrey T. Dairiki <dairiki@dairiki... | Java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.