code
stringlengths
4
1.01M
language
stringclasses
2 values
<?php /* core/themes/classy/templates/navigation/menu-local-task.html.twig */ class __TwigTemplate_0969a23526138fcc37f60cc805db1d447beeec2f58012651e0e2200d57c77ec5 extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = false; ...
Java
#!/usr/bin/python # -*- encoding: utf-8; py-indent-offset: 4 -*- # +------------------------------------------------------------------+ # | ____ _ _ __ __ _ __ | # | / ___| |__ ___ ___| | __ | \/ | |/ / | # | | | | '_ \ / _ \/ __| |/ /...
Java
/* * Copyright (c) 2017, 2020, Oracle and/or its affiliates. * * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are * permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice,...
Java
#! /bin/sh modprobe ib_core modprobe ib_uverbs modprobe ib_addr modprobe ib_umad modprobe ib_cm modprobe ib_mad # modprobe ib_ipoib modprobe ib_sa modprobe iw_cm modprobe ib_ucm modprobe rdma_ucm modprobe rdma_cm
Java
package mrdev023.opengl; import static org.lwjgl.glfw.GLFW.*; import static org.lwjgl.opengl.GL11.*; import static org.lwjgl.system.MemoryUtil.*; import java.awt.*; import java.nio.*; import org.lwjgl.*; import org.lwjgl.glfw.*; import org.lwjgl.opengl.*; import mrdev023.exception.*; public class Di...
Java
/* #Date of creation : 9 Jan 2016. #Aim of program : To print power set of a set of characters. #Coded by : Rishikesh Agrawani. */ package main import "fmt" func main() { var n, r, i, j uint fmt.Print("Enter the number of binary variables(for which you want the binary combinations): ") fmt.Scanf...
Java
/* ** Copyright (C) 1991, 1997 Free Software Foundation, Inc. ** ** This file is part of TACK. ** ** TACK 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, or (at your option) ** any later ...
Java
/* * UriMapFeature.hpp * * Copyright (c) 2010 Paul Giblock <pgib/at/users.sourceforge.net> * * This file is part of Unison - http://unison.sourceforge.net * * 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 S...
Java
<div class="wide form"> <?php $form=$this->beginWidget('CActiveForm', array( 'action'=>Yii::app()->createUrl($this->route), 'method'=>'get', )); ?> <div class="row"> <?php echo $form->label($model,'id'); ?> <?php echo $form->textField($model,'id',array('size'=>20,'maxlength'=>20)); ?> </div> <div class="row...
Java
import tkinter FRAME_BORDER = 5 class PageView(object): __root = None bd = None def __init__(self, root=None, main_frame=None): param = self.params() if root is None: # standalone self.__root = tkinter.Tk() self.__root.title(param['title']) ...
Java
// Copyright (C) 2012 Markus Fischer // // 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 of the License. // // This program is distributed in the hope that it will be useful, /...
Java
/* * linux/fs/namei.c * * Copyright (C) 1991, 1992 Linus Torvalds */ /* * Some corrections by tytso. */ /* [Feb 1997 T. Schoebel-Theuer] Complete rewrite of the pathname * lookup logic. */ /* [Feb-Apr 2000, AV] Rewrite to the new namespace architecture. */ #include <linux/init.h> #include <linux/export.h...
Java
# Puluc language: C. Game: Puluc I don't know if it is working well but if you have time, you can modify it.
Java
#ifndef Podd_THaVDCPoint_h_ #define Podd_THaVDCPoint_h_ /////////////////////////////////////////////////////////////////////////////// // // // THaVDCPoint // // ...
Java
import os, socket, sys, urllib from wx.lib.embeddedimage import PyEmbeddedImage ldc_name = "Live Debian Creator" ldc_cli_version = "1.4.0" ldc_gui_version = "1.11.0" if (sys.platform == "win32"): slash = "\\" if os.path.isfile(sys.path[0]): #fix for compiled binaries homepath = os.path.dirname(sys.pa...
Java
<?php namespace Connections_Directory\Content_Blocks\Entry\Related; use Connections_Directory\Content_Blocks\Entry\Related; /** * Class Last_Name * * @package Connections_Directory\Content_Blocks\Entry */ class Last_Name extends Related { /** * @since 9.8 * @var string */ const ID = 'entry-related-last_...
Java
<?xml version="1.0" encoding="ascii"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>schrodinger.application.desmond.enhsamp.Series</title> <link rel="stylesheet" href="epydoc....
Java
/* This file is part of the KDevelop PHP Documentation Plugin Copyright 2012 Milian Wolff <mail@milianw.de> 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 t...
Java
<?php $st_buttons_p = ot_get_option('st_buttons_p'); ?> <?php $sidebar_checkbox = get_post_meta($post->ID, 'sidebar_checkbox', true);?> <?php $full_width = get_post_meta($post->ID, 'portfolio_options_full', true);?> <?php $details = get_post_meta($post->ID, 'portfolio_options_repeatable', true); if($details){$details ...
Java
/* Table of relaxations for Xtensa assembly. Copyright 2003, 2004 Free Software Foundation, Inc. This file is part of GAS, the GNU Assembler. GAS 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 /** * template_lite upper modifier plugin * * Type: modifier * Name: upper * Purpose: Wrapper for the PHP 'strtoupper' function */ function tpl_modifier_upper($string) { return strtoupper($string); } ?>
Java
.redux-container-switch { /*disable text selection*/ } .redux-container-switch .switch-options { min-height: 30px; margin-right: 10px; } .redux-container-switch .switch-options label { cursor: pointer; } .redux-container-switch .switch-options input { display: none; } .redux-container-switch .cb-enable span, ...
Java
# encoding: utf-8 # module PyKDE4.kdeui # from /usr/lib/python3/dist-packages/PyKDE4/kdeui.cpython-34m-x86_64-linux-gnu.so # by generator 1.135 # no doc # imports import PyKDE4.kdecore as __PyKDE4_kdecore import PyQt4.QtCore as __PyQt4_QtCore import PyQt4.QtGui as __PyQt4_QtGui import PyQt4.QtSvg as __PyQt4_QtSvg cl...
Java
/* * This is free software, licensed under the GNU General Public License v2. * See /LICENSE for more information. * * Copyright (C) 2015 Álvaro Fernández Rojas <noltari@gmail.com> */ #ifndef _NAND_H #define _NAND_H #define NAND_PAGE_DEF 2048 #define NAND_OOB_DEF 64 #define NAND_CHECK_ENTRIES 1 #define DEBUG_DEF ...
Java
/* * Copyright (C) 2005-2014 MaNGOS <http://getmangos.com/> * * 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 3 of the License, or (at your * option) any later version. *...
Java
<HTML> <HEAD> <TITLE>Jan Kerouac Biography</TITLE> </HEAD> <BODY BACKGROUND="" BGCOLOR="#e7e7ff" TEXT="#000000" LINK="#004fcf" ALINK="#ffff00" VLINK="#006faf"> <H3><IMG ALIGN=MIDDLE SRC="images/jan.jpg">About Jan Kerouac </H3> Jan Kerouac, daughter of Beat Generation novelist Jack Kerouac, was born in 1952 in Albany...
Java
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated from a template. // // Manual changes to this file may cause unexpected behavior in your application. // Manual changes to this file will be overwritten if the code is regenerated....
Java
<?php /** * The admin-specific functionality of the plugin. * * @link kjhuer.com * @since 1.0.0 * * @package Za_Collect * @subpackage Za_Collect/admin */ /** * The admin-specific functionality of the plugin. * * Defines the plugin name, version, and two examples hooks for how to * enqueue th...
Java
/* a10 513 * Copyright (c) 2001-2012 Nicolas Léveillé <knos.free.fr> * * You should have received this file ('src/lib/cokus.c') with a license * agreement. ('LICENSE' file) * * Copying, using, modifying and distributing this file are rights * covered under this licensing agreement and are conditioned by its * f...
Java
/* * Copyright (C) ST-Ericsson SA 2010,2011 * * Author: Chris Blair <chris.blair@stericsson.com> for ST-Ericsson * * License terms: GNU General Public License (GPL) version 2 * * U9500 <-> M6718 IPC protocol implementation using SPI. * state machine definition and functionality. */ #include <linux/modem/m671...
Java
/* ** tr2latex - troff to LaTeX converter ** $Id: setups.h,v 1.1.1.1 1992/04/27 15:20:56 teuben Exp $ ** COPYRIGHT (C) 1987 Kamal Al-Yahya, 1991,1992 Christian Engel ** ** Module: setups.h ** ** setup file */ #ifdef __TURBOC__ # ifndef __COMPACT__ # error "The COMPACT model is needed" # endif #endif #include <st...
Java
<!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=ISO-8859-1"> <script src="js/jquery.min.js"></script> <script type="text/javascript" src="js/js.cookie.js"></script> <title>BenchmarkTest00250<...
Java
#!/usr/bin/python #CHANGE ONLY, IF YOU KNOW, WHAT YOU DO! #OPKMANAGER WILL CRASH IF YOUR OUTPUT IS INVALID! import subprocess import argparse import time import calendar import string import sys class RegisterAction(argparse.Action): def __call__(self, parser, namespace, values, option_string=None): print "Official...
Java
/* * The Apache Software License, Version 1.1 * * Copyright (c) 2001 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source c...
Java
<?php // $Id: report.php,v 1.29 2008/11/30 21:33:58 skodak Exp $ if (!defined('MOODLE_INTERNAL')) { die('Direct access to this script is forbidden.'); /// It must be included from a Moodle page } $courses = get_courses('all','c.shortname','c.id,c.shortname,c.fullname'); $courseoptions = ar...
Java
module Actions module Pulp3 module Repository class CreatePublication < Pulp3::AbstractAsyncTask middleware.use Actions::Middleware::ExecuteIfContentsChanged def plan(repository, smart_proxy, options) sequence do action = plan_self(:repository_id => repository.id, :smar...
Java
'use strict'; app.controller('orderController', ['$scope', '$rootScope', 'toastrService', 'orderService', function ($scope, $rootScope, toastrService, orderService) { $scope.paging = 1; $scope.disabledMore = false; $scope.data = []; $scope.getOrders = function () { order...
Java
obj-$(CONFIG_ICDTCP3_ITD) += itddrv.o obj-$(CONFIG_ICDTCP3_LCD) += hd44780drv.o obj-$(CONFIG_ICDTCP3) += icdcommon.o
Java
#!/usr/bin/env python #################################### # # --- TEXTPATGEN TEMPLATE --- # # Users can change the output by editing # this file directly. # #################################### import sys sys.stdout.write('####################################\n') sys.stdout.write('#\n') sys.stdout.write('# -- TEXTP...
Java
<!DOCTYPE html> <html <?php language_attributes(); ?>> <head> <meta charset="<?php bloginfo( 'charset' ); ?>" /> <title><?php /* * Print the <title> tag based on what is being viewed. */ global $page, $paged; wp_title( '|', true, 'right' ); // Add the blog name. bloginfo( 'name' ); // Add the blog descript...
Java
from .. import config from .. import fixtures from ..assertions import eq_ from ..assertions import in_ from ..schema import Column from ..schema import Table from ... import bindparam from ... import case from ... import Computed from ... import exists from ... import false from ... import func from ... import Integer...
Java
// ********************************************************************** // // Copyright (c) 2003-2017 ZeroC, Inc. All rights reserved. // // This copy of Ice is licensed to you under the terms described in the // ICE_LICENSE file included in this distribution. // // ***************************************************...
Java
<?lsmb FILTER latex -?> \documentclass{scrartcl} \usepackage{xltxtra} \setmainfont{Verdana} \usepackage{tabularx} \usepackage[letterpaper,top=2cm,bottom=1.5cm,left=1.1cm,right=1.5cm]{geometry} \usepackage{graphicx} \setlength{\parindent}{0pt} \begin{document} \pagestyle{myheadings} \thispagestyle{empty} <?lsmb INC...
Java
<?php /** * @Project NUKEVIET 4.x * @Author VINADES.,JSC (contact@vinades.vn) * @Copyright (C) 2014 VINADES.,JSC. All rights reserved * @License GNU/GPL version 2 or any later version * @Createdate 9/9/2010, 6:38 */ if (! defined('NV_IS_FILE_WEBTOOLS')) { die('Stop!!!'); } $contents = 'Error Access!!!'; $...
Java
/* Theme Name: Hughes Benefits Site Theme URI: http://coverwaco.com Description: A custom WordPress theme for Hughes Benefits. Author: Heath Hughes Author URI: http://heathwhughes.com Version: 1.0 Tags: responsive, insurance, simple License: GNU General Public License v2.0 License URI: http://www.gnu.org/licenses/gpl-...
Java
<?php /** * Project: Securimage: A PHP class for creating and managing form CAPTCHA images<br /> * File: securimage_show_example2.php<br /> * * Copyright (c) 2011, Drew Phillips * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitte...
Java
#ifndef FILEZILLA_INTERFACE_CLEARPRIVATEDATA_HEADER #define FILEZILLA_INTERFACE_CLEARPRIVATEDATA_HEADER #include "dialogex.h" #include <wx/timer.h> class CMainFrame; class CClearPrivateDataDialog final : public wxDialogEx { public: static CClearPrivateDataDialog* Create(CMainFrame* pMainFrame) { return new CClearP...
Java
# encoding: utf-8 # # Copyright 2017 University of Oslo, Norway # # This file is part of Cerebrum. # # Cerebrum 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 op...
Java
# -*- coding: utf-8 -*- from utils import * commands = [ '^remindme', '^reminder', '^remind$', '^r ' ] parameters = ( ('delay', True), ('message', True), ) description = 'Set a reminder for yourself. First argument is delay until you wish to be reminded.\nExample: `' + config['...
Java
<!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.4.2_05) on Fri Aug 13 10:55:24 CDT 2004 --> <TITLE> Uses of Class javazoom.jl.decoder.OutputChannels </TITLE> <LINK REL ="stylesheet" TYPE="text/css" H...
Java
/* * Flocking Debugging Unit Generators * http://github.com/colinbdclark/flocking * * Copyright 2011-2014, Colin Clark * Dual licensed under the MIT and GPL Version 2 licenses. */ /*global require*/ /*jshint white: false, newcap: true, regexp: true, browser: true, forin: false, nomen: true, bitwise: false, m...
Java
-- Copyright (c) 2012 Roland Yonaba --[[ This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including commercial applications...
Java
/* This file is part of the KDE project * Copyright (C) 2009 Pierre Stirnweiss <pstirnweiss@googlemail.com> * Copyright (C) 2011 Boudewijn Rempt <boud@kde.org> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by...
Java
# CMAKE generated file: DO NOT EDIT! # Generated by "Unix Makefiles" Generator, CMake Version 2.4 # Default target executed when no arguments are given to make. default_target: all #============================================================================= # Special targets provided by cmake. # Disable implicit r...
Java
/* * Virtual Raw MIDI client on Sequencer * * Copyright (c) 2000 by Takashi Iwai <tiwai@suse.de>, * Jaroslav Kysela <perex@perex.cz> * * 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 ...
Java
@echo off taskkill /f /im paraengineclient.exe taskkill /f /im cmd.exe
Java
// External imports import java.awt.BorderLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.image.BufferedImage; import java.io.File; import java.io.IOException; import java.io.FileInputStream; import java.io.BufferedInputStream; import javax.imageio.ImageIO; import java...
Java
# tps23861 Linux driver for TPS23861 IEEE 802.3at Quad Port Power-over-Ethernet PSE Controller. Tested with kernel version 3.19.0 Bindings example: tps23861: tps23861@20 { compatible = "ti,tps23861"; reg = <0x20>; irq-gpio = <84>; port0@0 { enable = <1>; ...
Java
<?php get_header() ?> archive <!--/nav--> <?php $banner_image = get_field('banner_image'); $bannerUrl = wp_get_attachment_image_src($banner_image, 'large'); $bannerImg = aq_resize($bannerUrl[0], 974, 312, true); if ($bannerImg == '') { $bannerImg = get_template_directory_uri() . '/images/the-authors-banner.jpg'; ...
Java
/* * The TiLib: wavelet based lossy image compression library * Copyright (C) 1998-2004 Alexander Simakov * * 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,...
Java
<?php /** * Created by PhpStorm. * User: Anh Tuan * Date: 4/22/14 * Time: 12:26 AM */ ////////////////////////////////////////////////////////////////// // Dropcap shortcode ////////////////////////////////////////////////////////////////// add_shortcode( 'dropcap', 'shortcode_dropcap' ); function shortcode_dropc...
Java
/* * $RCSfile: OrCRIF.java,v $ * * Copyright (c) 2005 Sun Microsystems, Inc. All rights reserved. * * Use is subject to license terms. * * $Revision: 1.1 $ * $Date: 2005/02/11 04:56:38 $ * $State: Exp $ */ package com.sun.media.jai.opimage; import java.awt.RenderingHints; import java.awt.geom.Rec...
Java
using BlueBit.CarsEvidence.Commons.Templates; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Diagnostics.Contracts; namespace BlueBit.CarsEvidence.BL.Entities { public class Person : EntityBase, IObjectWithGetCode, IObjectWithGetInfo { ...
Java
/* * Created by Rolando Abarca 2012. * Copyright (c) 2012 Rolando Abarca. All rights reserved. * Copyright (c) 2013 Zynga Inc. All rights reserved. * Copyright (c) 2013-2014 Chukong Technologies Inc. * * Heavy based on: https://github.com/funkaster/FakeWebGL/blob/master/FakeWebGL/WebGL/XMLHTTPRequest.h * * Perm...
Java
<?php /** Admin Page Framework v3.5.6 by Michael Uno Generated by PHP Class Files Script Generator <https://github.com/michaeluno/PHP-Class-Files-Script-Generator> <http://en.michaeluno.jp/admin-page-framework> Copyright (c) 2013-2015, Michael Uno; Licensed under MIT <http://opensource.org/licenses/MIT> */ ...
Java
<?php /** * Created by PhpStorm. * User: udit * Date: 12/9/14 * Time: 10:43 AM */ // Exit if accessed directly if ( ! defined( 'ABSPATH' ) ) { exit; } if ( ! class_exists( 'WM_Revision' ) ) { /** * Class WM_Revision * * Handles all the functionality to track custom fields * * @since 0.4 */ class ...
Java
<?php /** * The main template file. * * This is the most generic template file in a WordPress theme * and one of the two required files for a theme (the other being style.css). * It is used to display a page when nothing more specific matches a query. * E.g., it puts together the home page when no home.php file e...
Java
<?php /* -------------------------------------------------------------- $Id: customer_memo.php 10395 2016-11-07 13:18:38Z GTB $ modified eCommerce Shopsoftware http://www.modified-shop.org Copyright (c) 2009 - 2013 [www.modified-shop.org] -------------------------------------------------------------- ...
Java
<?php /* Icinga Web 2 | (c) 2013-2015 Icinga Development Team | GPLv2+ */ use Icinga\Web\Controller; use Icinga\Web\Url; use Icinga\Web\Widget\Tabextension\DashboardAction; use Icinga\Web\Widget\Tabextension\OutputFormat; use Icinga\Application\Config; use Icinga\Application\Logger; use Icinga\Data\ConfigObject; use I...
Java
SHELL = /bin/sh # V=0 quiet, V=1 verbose. other values don't work. V = 0 Q1 = $(V:1=) Q = $(Q1:0=@) ECHO1 = $(V:1=@ :) ECHO = $(ECHO1:0=@ echo) NULLCMD = : #### Start of system configuration section. #### srcdir = . topdir = /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX...
Java
/* neutrino bouquet editor - channel selection Copyright (C) 2001 Steffen Hehn 'McClean' Copyright (C) 2017 Sven Hoefer License: GPL 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 v...
Java
/* * Copyright (C) 2014 Fraunhofer ITWM * * 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 published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY ...
Java
vti_encoding:SR|utf8-nl vti_timelastmodified:TR|08 Nov 2012 23:29:31 -0000 vti_extenderversion:SR|5.0.2.6790 vti_lineageid:SR|{44761BDF-1053-4E8B-8B42-2966A30F18D2} vti_cacheddtm:TX|08 Nov 2012 23:29:31 -0000 vti_filesize:IR|2149 vti_backlinkinfo:VX|
Java
# gonads A Go-style CSP channel implementation for Haskell Monads. Get it?
Java
package org.janelia.alignment.match; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Set; /** * List of {@link CanvasMatches} with associated tileIds mapped for fast lookup. * * @author Eric Trautman */ public class TileIdsWithMatches { private final Set<String> ...
Java
/* Pin Tool for * calculation of the Stack Reuse Distance Histogram * * (C) 2015, Josef Weidendorfer / LRR-TUM * GPLv2+ (see COPYING) */ #include "pin.H" #include <stdio.h> #include <cassert> #include <cstring> #include <cmath> #include <unistd.h> #include "dist.cpp" // Consistency checks? #define DEBUG 0 // ...
Java
import { createSelector } from '@automattic/state-utils'; import { filter, orderBy } from 'lodash'; import 'calypso/state/comments/init'; function filterCommentsByStatus( comments, status ) { return 'all' === status ? filter( comments, ( comment ) => 'approved' === comment.status || 'unapproved' === commen...
Java
(function(customer_id) { tinymce.create('tinymce.plugins.ItStream_AttachToPost', { customer_id: customer_id, init : function(editor, plugin_url) { editor.addButton('player_scheduling', { title : 'Embed ItStream Player', cmd : 'itm_scheduling', ...
Java
<?php /** * ExtendedEditBar extension for BlueSpice * * Provides additional buttons to the wiki edit field. * * 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 Licen...
Java
package org.wordpress.android.ui.notifications; import com.android.volley.VolleyError; import org.wordpress.android.models.Note; import java.util.List; public class NotificationEvents { public static class NotificationsChanged { final public boolean hasUnseenNotes; public NotificationsChanged() ...
Java
<?php /** * @ignore */ function mysql_table_exists($database, $tableName) { global $tc_db; $tables = array(); $tablesResults = $tc_db->GetAll("SHOW TABLES FROM `$database`;"); foreach ($tablesResults AS $row) $tables[] = $row[0]; return(in_array($tableName, $tables)); } function pgsql_table_exists($da...
Java
<?php /** * @file * Teamwork15 sub theme template functions * */ /** * Implements hook_preprocess_maintenance_page(). */ function teamwork_15_subtheme_preprocess_maintenance_page(&$variables) { backdrop_add_css(backdrop_get_path('theme', 'bartik') . '/css/maintenance-page.css'); } /** * Implements hook_prepr...
Java
/*************************************************************************** * _ _ ____ _ * Project ___| | | | _ \| | * / __| | | | |_) | | * | (__| |_| | _ <| |___ * \___|\...
Java
/* * Copyright (c) 2017 Red Hat, Inc. and/or its affiliates. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. * * This code is distributed in the hope that it will be useful...
Java
typedef struct effect_uuid_s { uint32_t timeLow; uint16_t timeMid; uint16_t timeHiAndVersion; uint16_t clockSeq; uint8_t node[6]; } effect_uuid_t; // Maximum length of character strings in structures defines by this API. #define EFFECT_STRING_LEN_MAX 64 // NULL UUID definition (matches SL_IID_NULL...
Java
jQuery(function($) { /////////////////////////////////////////////////////////////////// ///// META BOXES JS /////////////////////////////////////////////////////////////////// jQuery('.repeatable-add').live('click', function() { var field = jQuery(this).closest('td').find('.custom_repeatable li:last').clone(t...
Java
/* nip2-cli.c ... run the nip2 executable, connecting stdin and stdout to the * console * * 11/12/09 * - use SetHandleInformation() to stop the child inheriting the read * handle (thanks Leo) */ /* Copyright (C) 2008 Imperial College, London This program is free software; you can redistribute it an...
Java
/* # -- BEGIN LICENSE BLOCK -------------------------------------------------- # This file is part of Dotclear 2. # Copyright (c) 2003-2013 Olivier Meunier & Association Dotclear # Licensed under the GPL version 2.0 license. # See LICENSE file or http://www.gnu.org/licenses/old-licenses/gpl-2.0.html # -- END LICENSE BL...
Java
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Poisson Distribution &mdash; SciPy v0.16.1 Reference Guide</title> <link rel="stylesheet" type="text/css" href="../../static_/css/spc-bootstrap.css"> <link rel="stylesheet" type="text/css" href="../../static_/css/spc-extend.css"> ...
Java
# # Walldo - A wallpaper downloader # Copyright (C) 2012 Fernando Castillo # # 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 option) any later v...
Java
<?php /** * @version $Id: mod_communitysurvey.php 01 2011-11-08 11:37:09Z maverick $ * @package CoreJoomla.Surveys * @subpackage Modules.site * @copyright Copyright (C) 2009 - 2012 corejoomla.com, Inc. All rights reserved. * @author Maverick * @link http://www.corejoomla.com/ * @license License GNU ...
Java
#!/usr/bin/perl -w # This script was originally based on the script of the same name from # the KDE SDK (by dfaure@kde.org) # # This version is # Copyright (C) 2007, 2008 Adam D. Barratt # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as ...
Java
#!/bin/sh if [ $# -gt 0 ]; then echo $1 > .version fi buildid=$(( $1 + 1 )) zipfile="Chroma.Kernel-r$buildid.zip" . ./env_setup.sh ${1} || exit 1; if [ -e .config ]; then rm .config fi cp arch/arm/configs/aosp_defconfig .config >> /dev/null make aosp_defconfig >> /dev/null make -j$NUMBEROFCPUS CONFIG_NO_ERROR_...
Java
""" SALTS XBMC Addon Copyright (C) 2015 tknorris 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 3 of the License, or (at your option) any later version. T...
Java
using System; using System.Collections.Generic; using UnityEngine; using YinYang.CodeProject.Projects.SimplePathfinding.PathFinders.AStar; namespace YinYang.CodeProject.Projects.SimplePathfinding.PathFinders { public abstract class BaseGraphSearchMap<TNode, TValue> where TNode : BaseGraphSearchNode<TNode, TValue>...
Java
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | \\ / A nd | Copyright held by original author \\/ M anipulation | ------------------...
Java
/* -*- mode: c++; c-basic-offset: 4; indent-tabs-mode: nil -*- this file is part of rcssserver3D Fri May 9 2003 Copyright (C) 2002,2003 Koblenz University Copyright (C) 2003 RoboCup Soccer Server 3D Maintenance Group $Id$ This program is free software; you can redistribute it and/or modify it und...
Java
# -*- coding: utf-8 -*- # # HnTool rules - php # Copyright (C) 2009-2010 Candido Vieira <cvieira.br@gmail.com> # # 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 Lic...
Java
#ifndef _UMLINTERRUPTIBLEACTIVITYREGION_H #define _UMLINTERRUPTIBLEACTIVITYREGION_H #include "UmlBaseInterruptibleActivityRegion.h" #include <qcstring.h> class UmlInterruptibleActivityRegion : public UmlBaseInterruptibleActivityRegion { public: // the constructor, do not call it yourself !!!!!!!!!! UmlIn...
Java
/* JavaScript User Interface Library -- Common datatypes for user elements * Copyright 2010 Jaakko-Heikki Heusala <jhh@jhh.me> * $Id: common.js 415 2010-10-15 05:00:51Z jheusala $ */ /** Simple message box constructor * @params type The message type: error, notice, info or success * @params msg Message */ functi...
Java