code
stringlengths
4
1.01M
language
stringclasses
2 values
package tim.prune.threedee; import java.awt.event.InputEvent; /* * Copyright (c) 2007 Sun Microsystems, 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: * * - Redistribution of source...
Java
/* mkvtoolnix - A set of programs for manipulating Matroska files Distributed under the GPL see the file COPYING for details or visit http://www.gnu.org/copyleft/gpl.html Cross platform compatibility definitions Written by Moritz Bunkus <moritz@bunkus.org>. */ #ifndef MTX_COMMON_OS_H #define MTX_C...
Java
/* * A framebuffer driver for VBE 2.0+ compliant video cards * * (c) 2007 Michal Januszewski <spock@gentoo.org> * Loosely based upon the vesafb driver. * */ #include <linux/init.h> #include <linux/module.h> #include <linux/moduleparam.h> #include <linux/skbuff.h> #include <linux/timer.h> #include <linux/compl...
Java
/** * 对公众平台发送给公众账号的消息加解密示例代码. * * @copyright Copyright (c) 1998-2014 Tencent Inc. */ // ------------------------------------------------------------------------ package com.weixin.sdk.encrypt; import java.security.MessageDigest; import java.util.Arrays; /** * SHA1 class * * 计算公众平台的消息签名接口. ...
Java
/* Copyright (C) 2015 Panagiotis Roubatsis 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 version. This p...
Java
set term ^; CREATE OR ALTER PROCEDURE RELDRE( PDTA1 DATE , PDTA2 DATE, PCC INTEGER ) -- ATS Soluções 11/03/2009 RETURNS ( CONTA VARCHAR( 30 ) , DESC_CONTA VARCHAR( 80 ) ...
Java
package com.rockey.emonitor.jms.controller; import java.util.Enumeration; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.commons.logging.Log; import org.apache.commons.log...
Java
#!/usr/bin/perl use strict; use lib "$ENV{'LJHOME'}/cgi-bin"; use LJ; my $dbh = LJ::get_dbh("master"); my $sth; $sth = $dbh->prepare("SELECT spid FROM support WHERE timelasthelp IS NULL"); $sth->execute; while (my ($spid) = $sth->fetchrow_array) { print "Fixing $spid...\n"; my $st2 = $dbh->prepare("SELECT MA...
Java
//------------------------------------------------------------------------------ // <自动生成> // 此代码由工具生成。 // // 对此文件的更改可能会导致不正确的行为,并且如果 // 重新生成代码,这些更改将会丢失。 // </自动生成> //------------------------------------------------------------------------------ namespace FormsAuthWeb { public partial class...
Java
<?php if ( ! defined( 'ABSPATH' ) ) { exit; // disable direct access } if ( ! class_exists( 'Mega_Menu_Nav_Menus' ) ) : /** * Handles all admin related functionality. */ class Mega_Menu_Nav_Menus { /** * Return the default settings for each menu item * * @since 1.5 */ public static ...
Java
using System; namespace Player.Model { /// <remarks> /// A button can only be rectangular, if there should be other forms, you have to use more buttons which reference each other. /// </remarks> public interface ButtonPosition { int X { get; } int Y { get; } ...
Java
/* * Copyright (C) 2011-2021 Project SkyFire <https://www.projectskyfire.org/> * Copyright (C) 2008-2021 TrinityCore <http://www.trinitycore.org/> * Copyright (C) 2005-2021 MaNGOS <https://www.getmangos.eu/> * Copyright (C) 2006-2014 ScriptDev2 <https://github.com/scriptdev2/scriptdev2/> * * This program is free ...
Java
<?php /** * Template Name: Sidebar Left Template * * @package WordPress * @subpackage Invictus * @since Invictus 1.0 */ get_header(); ?> <div id="single-page" class="clearfix left-sidebar"> <div id="primary"> <div id="content" role="main"> <?php the_post(); ?> <?php get_template_part( 'content'...
Java
// // CRTDispatchConnection.cpp // dyncRTConnector // // Created by hp on 12/8/15. // Copyright (c) 2015 hp. All rights reserved. // #include "CRTDispatchConnection.h" #include "CRTConnManager.h" #include "CRTConnection.h" #include "CRTConnectionTcp.h" #include "rtklog.h" void CRTDispatchConnection::DispatchMsg(...
Java
'use strict'; /*@ngInject*/ function repoItemClassifierFilter() { return function(node) { if (node.type) { return 'uib-repository__item--movable'; } else { return 'uib-repository__group'; } }; } module.exports = repoItemClassifierFilter;
Java
class ActorEffectActorPen < ActorEffect title 'Actor Pen' description 'Uses chosen actor as a brush tip, rendering it multiple times per frame to smoothly follow a chosen X,Y point.' hint 'This effect is primarily intended for use with the Canvas actor.' categories :canvas setting 'actor', :actor setting '...
Java
// // XRLoginView.h // XyralityTest // // Created by lava on 12/19/15. // // #import <UIKit/UIKit.h> @interface XRLoginView : UIView @property (weak, nonatomic) IBOutlet UIView *credentialsView; @property (weak, nonatomic) IBOutlet UILabel *loginLabel; @property (weak, nonato...
Java
<?php // (C) Copyright Bobbing Wide 2012, 2017 /** * Determine the reference_type from PHP tokens * * Attempt to determine what sort of API this is using token_get_all() * * @param string $string - the "api" name * @return string - the reference type determined from token_name() * */ function oikai_determi...
Java
;; ******************************************************************* ;; $Id: test.asm,v 1.1 2006-06-05 02:12:19 arniml Exp $ ;; ;; Checks interrupt on a sequence of "transfer of control" ;; instructions. ;; ;; the cpu type is defined on asl's command line include "int_macros.inc" org 0x00 clra int_flag...
Java
<?php /** * Custom Article Page Type * * @package tub */ /* * Register an article post type. */ add_action( 'init', 'tub_articles_init' ); function tub_articles_init() { $labels = array( 'name' => _x( 'Articles', 'post type general name', 'tub' ), 'singular_name' => _x( 'Article', 'post ...
Java
/* Copyright Statement: * * This software/firmware and related documentation ("MediaTek Software") are * protected under relevant copyright laws. The information contained herein * is confidential and proprietary to MediaTek Inc. and/or its licensors. * Without the prior written permission of MediaTek inc. and/or ...
Java
/* VARS -------------------------------------------------------------- */ /* COLORS */ /* DARK GREY */ /* RED */ /* MIX-INS -------------------------------------------------------------- */ .inline_block, #block-system-main-menu li span, #block-system-main-menu li a { display: inline-block; zoom: 1; *display...
Java
/* $Id$ */ /** @file * IPRT - User & Kernel Memory, Ring-0 Driver, Solaris. */ /* * Copyright (C) 2009 Oracle Corporation * * This file is part of VirtualBox Open Source Edition (OSE), as * available from http://www.virtualbox.org. This file is free software; * you can redistribute it and/or modify it under the...
Java
/** * @file g_func.c * @brief func_* edicts */ /* All original material Copyright (C) 2002-2011 UFO: Alien Invasion. Original file from Quake 2 v3.21: quake2-2.31/game/g_spawn.c Copyright (C) 1997-2001 Id Software, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the...
Java
<?php include_once "../libs/myLib.php"; if (!isset($_SESSION['login'])) { session_start(); } $nombre = $_POST['nombre']; $fechaInicio= $_POST['fechaInicio']; $horaInicio = $_POST['horaInicio']; $fechaFin = $_POST['fechaInicio']; $horaFin = $_POST['horaFin']; $precio = $_POST['precio']; $plazas = $_POST['plazas']...
Java
/* * This file is part of the OregonCore Project. See AUTHORS file for Copyright information * * 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 ...
Java
.block-ebog_banner .content { position: relative; } .block-ebog_banner .bottom-bar { background-clip: padding-box; -webkit-background-clip: padding-box; -moz-background-clip: padding; background-color: #1b75bc; border-radius: 0 0 4px 4px; -moz-border-radius: 0 0 4px 4px; -webkit-border-radius: 0 0 4px ...
Java
<!DOCTYPE html> <html class="no-js" lang="en"> <head> <meta charset="utf-8"> <title>Titanium Rings Forever style guide</title> <meta name="description" content=""> <meta name="generator" content="kss-node"> <meta name="viewport" content="width=device-width"> <link rel="stylesheet" href="kss-assets/kss.css...
Java
/* * Copyright (c) 2006 - 2012 LinogistiX GmbH * * www.linogistix.com * * Project myWMS-LOS */ package de.linogistix.los.reference.customization.common; import javax.ejb.Stateless; import de.linogistix.los.customization.LOSEventConsumerBean; import de.linogistix.los.util.event.LOSEventConsumer; /** * @au...
Java
/* ---------------------------------------------------------------------- LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator https://lammps.sandia.gov/, Sandia National Laboratories Steve Plimpton, sjplimp@sandia.gov Copyright (2003) Sandia Corporation. Under the terms of Contract DE-AC...
Java
<?php /** * @file * Zen theme's implementation for comments. * * Available variables: * - $author: Comment author. Can be link or plain text. * - $content: An array of comment items. Use render($content) to print them all, or * print a subset such as render($content['field_example']). Use * hide($content['f...
Java
<?php namespace Drupal\commerce_order; use Drupal\commerce_price\Price; /** * Represents an adjustment. */ final class Adjustment { /** * The adjustment type. * * @var string */ protected $type; /** * The adjustment label. * * @var string */ protected $label; /** * The adjus...
Java
package xyz.zyzhu.model; import org.junit.*; import org.junit.Assert.*; public class TestHelloWorld { @Test public void tesySayHello() { Assert.assertEquals("hello world",new HelloWorld().sayHello()); } }
Java
/* * blockio.cc * * */ #define _LARGEFILE_SOURCE #define _FILE_OFFSET_BITS 64 #include "version.h" #include "blockio.h" #include "osutils.h" #include <stdio.h> #include <string.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <unistd.h> #include <stdint.h> __ID("@(#) $Id: blockio.cc 20...
Java
/* * Copyright (C) 2003 Robert Kooima * * NEVERBALL 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 version. * * This program is d...
Java
/* * PS3 Media Server, for streaming any medias to your PS3. * Copyright (C) 2012 Ph.Waeber * * 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 only. * * This ...
Java
/* * This file is part of ePipe * Copyright (C) 2019, Logical Clocks AB. 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 * as published by the Free Software Foundation; either version 2 * of the License, or (at yo...
Java
#!/bin/sh # Copyright (C) 1999-2005 ImageMagick Studio LLC # # This program is covered by multiple licenses, which are described in # LICENSE. You should have received a copy of LICENSE with this # package; otherwise see http://www.imagemagick.org/script/license.php. . ${srcdir}/tests/common.shi ${RUNENV} ${MEMCHECK} ...
Java
package cmd import ( "github.com/spf13/cobra" ) // rotateCmd represents the shuffletips command var rotateCmd = &cobra.Command{ Use: "rotate", Short: "Rotates children of internal nodes", Long: `Rotates children of internal nodes by different means. Either randomly with "rand" subcommand, either sorting by num...
Java
/* * Copyright 2015 AASHTO/ITE/NEMA. * American Association of State Highway and Transportation Officials, * Institute of Transportation Engineers and * National Electrical Manufacturers Association. * * This file is part of the Advanced Transportation Controller (ATC) * Application Programming Interface Validat...
Java
<div class="header"><h1 class="slidetitle">Make the most of the web</h1></div> <div class="main"> <div class="text"> <div> <p>Ubuntu MATE includes Firefox, the web browser used by millions of people around the world. And web applications you use frequently (like Facebook or Gmail, for example) can be pinned to your ...
Java
<?php include_once('sites/all/themes/artonair/custom_functions/custom_variable.php'); /* mp3 folder path */ ?> <?php include_once('sites/all/themes/artonair/custom_functions/default_image.php'); /* function for displaying default images */ ?> <?php $listen_url = "/drupal/play/" . $node->nid . "/" . $node->path; ?> ...
Java
/* * (C) Copyright 2008-2013 STMicroelectronics. * * Sean McGoogan <Sean.McGoogan@st.com> * * See file CREDITS for list of people who contributed to this * project. * * 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
<?php get_header(); ?> <div id="content" class="clearfix"> <div id="main" class="col620 clearfix" role="main"> <article id="post-0" class="post error404 not-found"> <header class="entry-header"> <h1 class="entry-title"><?php _e( 'Error 404 - Page Not Found', 'newschannel' ); ?></h1> ...
Java
package scatterbox.utils; import java.io.BufferedReader; import java.io.DataInputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.InputStreamReader; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; import java.sql....
Java
<?php /* * @version $Id: preference.php 20129 2013-02-04 16:53:59Z moyo $ ------------------------------------------------------------------------- GLPI - Gestionnaire Libre de Parc Informatique Copyright (C) 2003-2013 by the INDEPNET Development Team. http://indepnet.net/ http://glpi-project.org -------------...
Java
<?php /** * @package Joomla.Administrator * @subpackage com_templates * * @copyright Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; // Include the component HTML helpers. J...
Java
<!-- This HTML file has been created by texi2html 1.27 from emacs.texi on 3 March 1994 --> <TITLE>GNU Emacs Manual - Commands for Human Languages</TITLE> <P>Go to the <A HREF="emacs_24.html">previous</A>, <A HREF="emacs_26.html">next</A> section.<P> <A NAME="IDX723"></A> <A NAME="IDX724"></A> <H1><A NAME="SEC155"...
Java
SELECT id_registrazione, dat_registrazione, des_registrazione FROM contabilita.registrazione WHERE id_cliente = %id_cliente% AND num_fattura = '%num_fattura%' AND dat_registrazione = '%dat_registrazione%' AND extract(year from dat_registrazione) = extract(year from current_date)
Java
/* * MATRIX COMPUTATION FOR RESERVATION BASED SYSTEMS * * Copyright (C) 2013, University of Trento * Authors: Luigi Palopoli <palopoli@disi.unitn.it> * * 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 Fr...
Java
from __future__ import print_function """ Deprecated. Use ``update-tld-names`` command instead. """ __title__ = 'tld.update' __author__ = 'Artur Barseghyan' __copyright__ = '2013-2015 Artur Barseghyan' __license__ = 'GPL 2.0/LGPL 2.1' from tld.utils import update_tld_names _ = lambda x: x if __name__ == '__main__'...
Java
<?php /** * PESCMS for PHP 5.6+ * * Copyright (c) 2015 PESCMS (http://www.pescms.com) * * For the full copyright and license information, please view * the file LICENSE.md that was distributed with this source code. */ namespace App\Team\GET; class Project extends Content{ /** * 项目数据分析 */ pu...
Java
<?php /** * --------------------------------------------------------------------- * GLPI - Gestionnaire Libre de Parc Informatique * Copyright (C) 2015-2017 Teclib' and contributors. * * http://glpi-project.org * * based on GLPI - Gestionnaire Libre de Parc Informatique * Copyright (C) 2003-2014 by the INDEPNET...
Java
/* $Id: mpnotification-r0drv-solaris.c $ */ /** @file * IPRT - Multiprocessor Event Notifications, Ring-0 Driver, Solaris. */ /* * Copyright (C) 2008-2015 Oracle Corporation * * This file is part of VirtualBox Open Source Edition (OSE), as * available from http://www.virtualbox.org. This file is free software; ...
Java
<ul class="tw"> <?php foreach ($rows as $id => $row) { ?> <li><?php print $row; ?></li> <?php } ?> </ul>
Java
(function($) { function ACFTableField() { var t = this; t.version = '1.3.4'; t.param = {}; // DIFFERENT IN ACF VERSION 4 and 5 { t.param.classes = { btn_small: 'acf-icon small', // "acf-icon-plus" becomes "-plus" since ACF Pro Version 5.3.2 btn_add_row: 'acf-icon-plus -plus', btn_add...
Java
FROM kucing/node:latest MAINTAINER Ivan <ivan@marsud.id> RUN npm install -g bower gulp phantomjs eslint node-gyp WORKDIR /app
Java
/* * minimum data types for MIPS and the Ultra64 RCP * * No copyright is intended on this file. :) * * To work with features of the RCP hardware, we need at the very least: * 1. a 64-bit type or a type which can encompass 64-bit operations * 2. signed and unsigned 32-or-more-bit types (s32, u32) * ...
Java
/* * Rasengan - Manga and Comic Downloader * Copyright (C) 2013 Sauriel * * 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 ...
Java
% To rebuild the .pdf from this source, use something like the following % latex quickref.tex % dvips -t letter -f -Pcmz < quickref.dvi >| quickref.ps % ps2pdf -sPAPERSIZE=letter quickref.ps \documentclass[12pt]{article} \usepackage[utf-8]{inputenc} \usepackage{lscape} \usepackage{setspace} \usepackage{graphicx} \usepa...
Java
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */ /* NetworkManager Connection editor -- Connection editor for NetworkManager * * 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 ...
Java
/** * App Control * * Central controller attached to the top level <html> * element */ "use strict"; ( function ( angular, app ) { // get user profile data app.controller( "AppCtrl", [ '$rootScope', '$scope', '$state', 'UserService', function ( $rootScope, $scope, $state, UserService ) { // // bodyCl...
Java
package org.openzal.zal.ldap; import javax.annotation.Nonnull; public class LdapServerType { @Nonnull private final com.zimbra.cs.ldap.LdapServerType mLdapServerType; public final static LdapServerType MASTER = new LdapServerType(com.zimbra.cs.ldap.LdapServerType.MASTER); public final static LdapServerType R...
Java
package Opsview::Schema::Useragents; use strict; use warnings; use base 'Opsview::DBIx::Class'; __PACKAGE__->load_components(qw/InflateColumn::DateTime Core/); __PACKAGE__->table( __PACKAGE__->opsviewdb . ".useragents" ); __PACKAGE__->add_columns( "id", { data_type => "VARCHAR", default_v...
Java
'use strict'; /** * @ngdoc function * @name quickNewsApp.controller:CbcCtrl * @description * # CbcCtrl * Controller of the quickNewsApp */ angular.module('quickNewsApp') .controller('CbcCtrl', function ($scope, $http) { this.awesomeThings = [ 'HTML5 Boilerplate', 'AngularJS', 'Karma' ...
Java
package org.hectordam.proyectohector; import java.util.ArrayList; import org.hectordam.proyectohector.R; import org.hectordam.proyectohector.base.Bar; import com.google.android.gms.common.ConnectionResult; import com.google.android.gms.common.GooglePlayServicesNotAvailableException; import com.google.android.gms.com...
Java
/* * mms_ts.c - Touchscreen driver for Melfas MMS-series touch controllers * * Copyright (C) 2011 Google Inc. * Author: Dima Zavin <dima@android.com> * Simon Wilson <simonwilson@google.com> * * ISP reflashing code based on original code from Melfas. * * This program is free software; you can redistribu...
Java
<html lang="en"> <head> <title>Expressions - Using as</title> <meta http-equiv="Content-Type" content="text/html"> <meta name="description" content="Using as"> <meta name="generator" content="makeinfo 4.8"> <link title="Top" rel="start" href="index.html#Top"> <link rel="prev" href="Symbols.html#Symbols" title="Symbols"...
Java
#userIcon.hear { -fx-image: url(../img/eye.png); } #userIcon.me { -fx-image: url(../img/eye.png); -fx-opacity: 0.1; } #userIcon.me:hover { -fx-image: url(../img/eye.png); -fx-opacity: 0.3; } #userIcon.master { -fx-image: url(../img/crown.png); } #userItem { -fx-background-color: #E4F6F9; -fx-background-radi...
Java
#!/bin/sh # Copyright (C) 2012 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, # modify, copy, or redistribute it subject to the terms and conditions # of the GNU General Public License v.2. # # You should have received a copy of the GNU General Public Licens...
Java
/* $Id$ */ /* Copyright (C) 2003 - 2013 by David White <dave@whitevine.net> Part of the Battle for Wesnoth Project http://www.wesnoth.org/ 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 Foundatio...
Java
/* * Fast Userspace Mutexes (which I call "Futexes!"). * (C) Rusty Russell, IBM 2002 * * Generalized futexes, futex requeueing, misc fixes by Ingo Molnar * (C) Copyright 2003 Red Hat Inc, All Rights Reserved * * Removed page pinning, fix privately mapped COW pages and other cleanups * (C) Copyright 2003, ...
Java
/* Automatically generated from ../src/remote/remote_protocol.x by gendispatch.pl. * Do not edit this file. Any changes you make will be lost. */ static int remoteDispatchAuthList( virNetServerPtr server, virNetServerClientPtr client, virNetMessagePtr msg, virNetMessageErrorPtr rerr, remote_auth_...
Java
<?php namespace Bookly\Backend; use Bookly\Backend\Modules; use Bookly\Frontend; use Bookly\Lib; /** * Class Backend * @package Bookly\Backend */ class Backend { public function __construct() { // Backend controllers. $this->apearanceController = Modules\Appearance\Controller::getInstan...
Java
## See "d_bankfull" in update_flow_depth() ######## (2/21/13) ## See "(5/13/10)" for a temporary fix. #------------------------------------------------------------------------ # Copyright (c) 2001-2014, Scott D. Peckham # # Sep 2014. Wrote new update_diversions(). # New standard names and BMI updates ...
Java
#include <QDebug> #include <net/if.h> #include <sys/types.h> #include <sys/socket.h> #include <sys/ioctl.h> #include "monitor.h" Monitor::Monitor() { running = 0; } void Monitor::start() { int rc; int s; fd_set rdfs; int nbytes; struct sockaddr_can addr; struct canfd_frame frame; struct iovec iov; char ctr...
Java
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.34209 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generate...
Java
/* Copyright (c) 2009-2013, 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
using System; using Server; using Server.Gumps; using Server.Network; namespace Server.Items { public class PowerScroll : Item { private SkillName m_Skill; private double m_Value; private static SkillName[] m_Skills = new SkillName[] { SkillName.Blacksmith, SkillName.Tailoring, ...
Java
/* Copyright (c) 2010-2011, Code Aurora Forum. 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
from django.db import models from django.contrib.auth.models import User class OrganisationType(models.Model): type_desc = models.CharField(max_length=200) def __unicode__(self): return self.type_desc class Address(models.Model): street_address = models.CharField(max_length=100) city = model...
Java
/**************************************************************************************** * Copyright (c) 2010 Maximilian Kossick <maximilian.kossick@googlemail.com> * * * * This program is free software; you can redistribute ...
Java
/* UOL Messenger * Copyright (c) 2005 Universo Online S/A * * Direitos Autorais Reservados * All rights reserved * * Este programa é software livre; você pode redistribuí-lo e/ou modificá-lo * sob os termos da Licença Pública Geral GNU conforme publicada pela Free * Software Foundation; tanto a versão 2 da Lice...
Java
--- title: "Postmortem: Sheepstacker" description: "A discussion about the development of the iOS game Sheepstacker from Tiny Tim Games." categories: Postmortems tags: [Tiny Tim Games, Unity, indie, iOS, postmortem, game development] published: 3-21-2009 --- *NOTE: The following postmortem was originally presented on ...
Java
/* * Copyright (C) 2008-2015 TrinityCore <http://www.trinitycore.org/> * Copyright (C) 2005-2009 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 ver...
Java
# time-of-flight
Java
#pragma once /* * Copyright (C) 2012 Team XBMC * http://www.xbmc.org * * 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, or (at your option) * any later ver...
Java
/* * Copyright (C) 2008-2011 TrinityCore <http://www.trinitycore.org/> * Copyright (C) 2005-2009 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 ver...
Java
CREATE TABLE `wp_term_taxonomy` ( `term_taxonomy_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `term_id` bigint(20) unsigned NOT NULL DEFAULT '0', `taxonomy` varchar(32) NOT NULL DEFAULT '', `description` longtext NOT NULL, `parent` bigint(20) unsigned NOT NULL DEFAULT '0', `count` bigint(20) NOT NULL DE...
Java
/*! jQuery UI - v1.8.20 - 2012-04-30 * https://github.com/jquery/jquery-ui * Includes: jquery.effects.transfer.js * Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */(function(a,b){a.effects.transfer=function(b){return this.queue(function(){var c=a(this),d=a(b.options.to),e=d.offset(),f={top:e.top,left:e.left,height:...
Java
/* ** Zabbix ** Copyright (C) 2001-2018 Zabbix SIA ** ** 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 version. ** ** This pro...
Java
package com.orange.documentare.core.comp.clustering.tasksservice; /* * Copyright (c) 2016 Orange * * Authors: Christophe Maldivi & Joel Gardes * * 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 Softw...
Java
.head_title { text-align: center; font-size: 20px; color:#002529; font-weight: 400; position:relative; } .head_title:after{content: ''; position: absolute;left: 0;top:30px; background:#cacaca; width: 100%;height: 1px; -webkit-transform: scaleY(0.5);transform: scaleY(0.5);-webkit-trans...
Java
#!/bin/bash if [ -z $1 ] then exit 0 fi ip=$1 rules=$2 trunk=$3 access=$4 general_rules='/etc/isida/isida.conf' get_uplink=`grep 'uplink' $general_rules | cut -d= -f2 | sed -e s/%ip/$ip/` ism_vlanid=`grep 'ism_vlanid' $general_rules | cut -d= -f2` port_count=`echo $5 | sed -e s/://` args='' count=0 enum_pars=`cat $...
Java
/* Colorbox Core Style: The following CSS is consistent between example themes and should not be altered. */ #colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;} #cboxWrapper {max-width:none;} #cboxOverlay{position:fixed; width:100%; height:100%;} #cboxMiddleLe...
Java
<?php /** * @file * Contains \Drupal\Tests\Core\Form\FormBuilderTest. */ namespace Drupal\Tests\Core\Form; use Drupal\Component\Utility\NestedArray; use Drupal\Core\Access\AccessResult; use Drupal\Core\Access\AccessResultForbidden; use Drupal\Core\DependencyInjection\ContainerInjectionInterface; use Drupal\Core\F...
Java
<?php /** * DmUserGroupTable * * This class has been auto-generated by the Doctrine ORM Framework */ class DmUserGroupTable extends PluginDmUserGroupTable { /** * Returns an instance of this class. * * @return DmUserGroupTable The table object */ public static function getInstance() ...
Java
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package database.parse.util; import almonds.Parse; import almonds.ParseObject; import database.parse.tables.ParsePhenomena; import da...
Java
/* * f_mass_storage.c -- Mass Storage USB Composite Function * * Copyright (C) 2003-2008 Alan Stern * Copyright (C) 2009 Samsung Electronics * Author: Michal Nazarewicz <mina86@mina86.com> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modific...
Java
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * * 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 dis...
Java