id stringlengths 64 64 | content stringlengths 500 100k | language stringclasses 29
values | path stringlengths 4 333 | repo stringlengths 5 116 | license stringclasses 15
values | size int64 500 100k | lines int64 26 8.06k | source stringclasses 1
value |
|---|---|---|---|---|---|---|---|---|
2701d716c74f79cdd2ffe5cae072df78a9d16b237eb993b66713bd7331b1195e | <?php
/**
* QContacts Contact manager component for Joomla! 1.5
*
* @version 1.0.3
* @package qcontacts
* @author Massimo Giagnoni
* @copyright Copyright (C) 2008 Massimo Giagnoni. All rights reserved.
* @copyright Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.
* @license http://ww... | PHP | components/com_qcontacts/router.php | lycoben/veneflights | gpl-2.0 | 7,433 | 248 | codeparrot/github-code |
d13e10ea5fe411c443036a575ab2e25ec683e8f2fe1f91d336e903e2568187ef | package codejam2016_1st;
import java.io.BufferedInputStream;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.Scanner;
import java.util.Stack;
class Pair {
int _node;
int _dist;
Pair(int node, int dist) {
_... | Java | src/codejam2016_1st/Problem_4.java | apostlez/algorithm-Exams | gpl-2.0 | 4,964 | 190 | codeparrot/github-code |
c697997638f4b6979ed9eba07ce16b6b320bb3d45333b4666468f158b4de78e1 | // gmm/mle-full-gmm.h
// Copyright 2009-2011 Jan Silovsky; Saarland University;
// Microsoft Corporation;
// Univ. Erlangen Nuremberg, Korbinian Riedhammer
// See ../../COPYING for clarification regarding multiple authors
//
// Licensed under the Apache License, Version 2.... | C | kaldi/src/gmm/mle-full-gmm.h | michellemorales/OpenMM | gpl-2.0 | 6,182 | 161 | codeparrot/github-code |
c0106867e21eb280f31ef18b7ec56e345d6b7907b339c07ae175f260ed016cac | /*******************************************************************************
Copyright (C) 2016 OLogN Technologies AG
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.
Th... | C++ | src/main.cpp | O-Log-N/Hare-IDL | gpl-2.0 | 3,604 | 123 | codeparrot/github-code |
77d266560a64c918934a469ca12f8ab13b3b68ecff74dcf4c905b58d5e2e85d0 | /* Owl PDF viewer
*
* Copyright (c) 2009, 2010 Zoltan Kovacs, Peter Szilagyi
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of version 2 of the GNU General Public License
* as published by the Free Software Foundation.
*
* This program is distributed in the hope th... | C | src/engine/render.c | tomszilagyi/owl | gpl-2.0 | 6,550 | 286 | codeparrot/github-code |
d3cece6e3a2eaea136e45537abcba368e2f031f7a2be02b69b733bf00dcac819 | package com.usp.icmc.labes.fsm;
public class FsmTransition extends FsmElement{
private FsmState from;
private String input;
private String output;
private FsmState to;
public FsmTransition(){
super();
}
public FsmTransition(FsmState f, String in, String out, FsmState t) {
this();
from = f;
to = ... | Java | fsmTestCompleteness/src/com/usp/icmc/labes/fsm/FsmTransition.java | sidgleyandrade/fsmTestCompleteness | gpl-2.0 | 2,070 | 107 | codeparrot/github-code |
367be3addade91f0b8bbc3c135c9905e4221e400065bb1391e3d523454402d68 | #ifndef Podd_THaTRACKOUT_h_
#define Podd_THaTRACKOUT_h_
///////////////////////////////////////////////////////////////////////////
//
// Class to put the four-vector for tracks from a THaTrackingModule
//
///////////////////////////////////////////////////////////////////////////
#include "THaPhysicsModule.h"
#incl... | C | src/THaTrackOut.h | sly2j/analyzer | gpl-2.0 | 1,255 | 42 | codeparrot/github-code |
26d57068a3a69cb56434046c9f559580b150e95541dc136bf7379a6225c32b7a | /*
* Magix - A Web Application Framework for Humans
* Copyright 2010 - 2011 - Ra-Software, Inc. - thomas.hansen@winergyinc.com
* Magix is licensed as GPLv3, or Commercially for Proprietary Projects through Ra-Software.
*/
using System;
using System.Web.UI;
using Magix.UX.Widgets;
using Magix.UX.Effects;
... | C# | Magix-Brix/Magix.Brix.Components/ActiveModules/Magix.Brix.Components.ActiveModules.Publishing/EditSpecificTemplate.ascx.cs | xingh/magix | gpl-2.0 | 28,340 | 733 | codeparrot/github-code |
df7636f907bc668579e4f3cd549096b6aff1d56d79ce2dea8e2f5802522e9806 | <html>
<head>
<title>Hard Process Selection</title>
<link rel="stylesheet" type="text/css" href="pythia.css"/>
<link rel="shortcut icon" href="pythia32.gif"/>
</head>
<body>
<h2>Hard Process Selection</h2>
<ol id="toc">
<li><a href="#section0"><aloc href="QCDProcesses">QCD Processes</aloc></a></li>
<li><a href="... | HTML | share/Pythia8/htmldoc/ProcessSelection.html | alisw/pythia8 | gpl-2.0 | 8,013 | 188 | codeparrot/github-code |
1958a25aeff2e3a608bff895f7508710f7b88bdba11aefe9abff68396a9015a9 | var events = new Hash();
function showEvent( eid, fid, width, height )
{
var url = '?view=event&eid='+eid+'&fid='+fid;
url += filterQuery;
createPopup( url, 'zmEvent', 'event', width, height );
}
function createEventHtml( event, frame )
{
var eventHtml = new Element( 'div' );
if ( event.Archived ... | JavaScript | web/skins/classic/views/js/timeline.js | eyezm/ZoneMinder | gpl-2.0 | 4,238 | 138 | codeparrot/github-code |
698fa3c48e9e51dc3dcc6c29f150a15d7c9221b8a3f2fdbbcc4d3a561f62afd7 | /* ----------------------------- MNI Header -----------------------------------
@NAME : ms_roi.h
@DESCRIPTION: constants, typedefs and external vars for
roi list structure
@CREATED : Wed Jul 7 20:50:20 EST 1993 Louis Collins
@MODIFIED :
-------------------------------------------------------... | C | ms_roi.h | BIC-MNI/xdisp | gpl-2.0 | 890 | 36 | codeparrot/github-code |
690d2c31f0dda2988e7e5b5bcc8cb0cf7cc8ac2ff2b595abf8a4a9ad86852ef3 | /// \file
// Range v3 library
//
// Copyright Eric Niebler 2013-present
// Copyright Tomislav Ivek 2015-2016
//
// Use, modification and distribution is subject to the
// Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
// Projec... | C++ | external/range-v3/0.10.0/include/range/v3/view/set_algorithm.hpp | bredelings/BAli-Phy | gpl-2.0 | 33,745 | 873 | codeparrot/github-code |
438570bc33de8abdd768dcd36b342805a4a09ef99318a579c18deea83095f2b7 | <?php
/*
Copyright (C) <2011> Vasyl Martyniuk <martyniuk.vasyl@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 3 of the License, or
(at your option) any later ve... | PHP | wp-content/plugins/advanced-access-manager/model/manager/metabox.php | augustocorrea/sbmarmoles_website | gpl-2.0 | 7,111 | 187 | codeparrot/github-code |
70780c7e87ced490dcac9614cb66a0341e82b786294ff8f8c7fe2134e48225d5 | <!DOCTYPE html>
<!-- /ht Paul Irish - http://front.ie/j5OMXi -->
<!--[if lt IE 7 ]> <html class="no-js ie6" lang="en"> <![endif]-->
<!--[if IE 7 ]> <html class="no-js ie7" lang="en"> <![endif]-->
<!--[if IE 8 ]> <html class="no-js ie8" lang="en"> <![endif]-->
<!--[if (gte IE 9)|!(IE)]><!--> <html class="no-j... | HTML | Minecraft/index.html | nledford/WebDesignPortfolio | gpl-2.0 | 4,782 | 113 | codeparrot/github-code |
c17fd7ec26237afd2194f8add808941e400fbde9762b98e7fd54df09232d24dc | // glassgui.h
//
// glassgui(1) Audio Encoder front end
//
// (C) Copyright 2015-2022 Fred Gleason <fredg@paravelsystems.com>
//
// 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 Foundati... | C | src/glassgui/glassgui.h | ElvishArtisan/GlassCoder | gpl-2.0 | 3,444 | 119 | codeparrot/github-code |
dbd75418283e863867fbcf5931672de085d87c7ccc1399f3276e80d7fe680e48 | <?php
// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
die;
}
spl_autoload_register( 'carawebs_class_autoloader' );
function carawebs_class_autoloader( $classname ) {
$class = str_replace( '\\', DIRECTORY_SEPARATOR, str_replace( '_', '-', strtolower( $classname ) ) );
// create the ... | PHP | autoloader.php | DavidCWebs/member | gpl-2.0 | 735 | 32 | codeparrot/github-code |
0f6083d8d540e2a3883f96434c6f9cd9d6536c7c89664c4e24915ae4ff1790ec | <!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" />
<title>
MetaData / Sche... | HTML | SQLAlchemy-1.0.4/doc/faq/metadata_schema.html | malkoto1/just_cook | gpl-2.0 | 17,230 | 271 | codeparrot/github-code |
907f489bc4ff1c8cad049a858a16f3126566e7cdb714183882fa63b1b3a699f9 | ;(function($){
$(document).ready( function(){
$('.fa_slider_simple').FeaturedArticles({
slide_selector : '.fa_slide',
nav_prev : '.go-back',
nav_next : '.go-forward',
nav_elem : '.main-nav .fa-nav',
effect : false,
// events
load : load,
before : before,
after : after,
... | JavaScript | wp-content/plugins/featured-articles-lite/themes/simple/starter.dev.js | vrxm/htdocs | gpl-2.0 | 4,040 | 173 | codeparrot/github-code |
910db43d4ae197020cc90a7505d0c417269c1fab2fe28b462942ce24f5285202 | /*-
* See the file LICENSE for redistribution information.
*
* Copyright (c) 2000,2007 Oracle. All rights reserved.
*
* $Id: TestTruncate.cpp,v 12.5 2007/05/17 15:15:57 bostic Exp $
*/
/*
* Do some regression tests for constructors.
* Run normally (without arguments) it is a simple regression test.
* Run wit... | C++ | client/trunk/shared/db/db-4.6.21/test/scr015/TestTruncate.cpp | nologic/nabs | gpl-2.0 | 2,315 | 84 | codeparrot/github-code |
9706f0ef03f59af58f709041d90b3cf286e031a9ad16d59b82e6edf5b9613a9e | <HTML>
<HEAD>
<TITLE>class ISDNQ931State</TITLE>
<META NAME="Generator" CONTENT="KDOC ">
</HEAD>
<BODY bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#000099" alink= "#ffffff">
<TABLE WIDTH="100%" BORDER="0">
<TR>
<TD>
<TABLE BORDER="0">
<TR><TD valign="top" align="left" cellspacing="10">
<h1>class ISDNQ9... | HTML | docs/api/TelEngine__ISDNQ931State.html | cvsuser-chromium/yate | gpl-2.0 | 7,148 | 140 | codeparrot/github-code |
eff68938ad39af61d8599cd3bf7b246f7203982eb74a31a1130b5af285926532 | var rcp_validating_discount = false;
var rcp_validating_gateway = false;
var rcp_validating_level = false;
var rcp_processing = false;
jQuery(document).ready(function($) {
// Initial validation of subscription level and gateway options
rcp_validate_form( true );
// Trigger gateway change event when ga... | JavaScript | includes/js/register.js | CGCookie/Restrict-Content-Pro | gpl-2.0 | 7,721 | 337 | codeparrot/github-code |
cf3a14fca4359412b8340a0f8a98c3a435c3b3d354e4afab3681c74d409434a7 | #include <stdio.h>
#include <string.h>
FILE *pctop;
FILE *html_out;
char line[80];
char pos[80];
char user[80];
char bytes[80];
char changes[80];
char ReleaseDate[80];
char feedtopic[80];
char *p;
char html_buffer[1024];
int i;
void Html_Header(char *topic)
{
sprintf(html_buffer,
"<html>\n"
"<head... | C | html/asc2html.c | SnakeManPMC/linux-pctop | gpl-2.0 | 12,814 | 687 | codeparrot/github-code |
bfb9e0ef0432b4aa5c0dec37578952f4b463425be5deb1fcd23eb9223f17ef82 | # -*- coding: utf-8 -*-
#
# This file is part of EventGhost.
# Copyright © 2005-2016 EventGhost Project <http://www.eventghost.net/>
#
# EventGhost 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 versio... | Python | eg/Utils.py | WoLpH/EventGhost | gpl-2.0 | 17,929 | 576 | codeparrot/github-code |
7f12644b59df114dc941a951e938b81c9972f8635c7696126b80d5b7f9150038 | /*
* 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 Transform;
import Objects.TagList;
import java.util.ArrayList;
import java.util.Collections;
/**
*
* @author... | Java | src/Transform/QuantileTransform.java | epigenome/iTagPlot | gpl-2.0 | 1,436 | 54 | codeparrot/github-code |
984dafc8aa213a229078f0d482b997611838b74769a2ac41f24b5e99710c095e | <?php
defined('TYPO3_MODE') or die();
if (TYPO3_MODE === 'BE') {
$GLOBALS['TBE_MODULES_EXT']['xMOD_alt_clickmenu']['extendCMclasses'][] = array(
'name' => \TYPO3\CMS\Impexp\Clickmenu::class
);
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['taskcenter']['impexp'][\TYPO3\CMS\Impexp\Task\ImportExportTask:... | PHP | typo3/sysext/impexp/ext_tables.php | michaelklapper/TYPO3.CMS | gpl-2.0 | 1,975 | 56 | codeparrot/github-code |
c86191ee4f65ce76bda62ebd8709e8c297539aa4a2c634f680b5f099d0ff4bdc | /*
* (C) Copyright 2010 Juergen Beisert - Pengutronix
*
* 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... | C | arch/arm/boards/chumby_falconwing/falconwing.c | jkent/mini210s-barebox | gpl-2.0 | 12,228 | 462 | codeparrot/github-code |
1a8d212f94a4b6ee68b1011b9a39342eed89ca72c219498855aa2d1113283e28 | /* Copyright (c) 2012-2015, 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... | C | drivers/media/platform/msm/vidc/msm_vidc_common.c | Fechinator/FechdaKernelReloaded6.0 | gpl-2.0 | 99,617 | 3,603 | codeparrot/github-code |
fabc973e24e70e85a38165caa9f0aa2da5e89de3af42c45c68ce2515f3a8e99b | <?php
/* Generated on 6/26/15 3:23 AM by globalsync
* $Id: $
* $Log: $
*/
require_once 'EbatNs_ComplexType.php';
require_once 'PaymentInformationType.php';
require_once 'RefundInformationType.php';
/**
* This type defines the <strong>MonetaryDetails</strong> container, which consists of detailed information abou... | PHP | wp-content/plugins/wp-lister-for-ebay/includes/EbatNs/PaymentsInformationType.php | booklein/wpbookle | gpl-2.0 | 2,188 | 99 | codeparrot/github-code |
a92fd31b570e5207c20dd712589df11a6005010c44358cdf1bf83a2e53303ab4 | /*
* Copyright (C) 2011-2017 Redis Labs Ltd.
*
* This file is part of memtier_benchmark.
*
* memtier_benchmark 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.
*
* memtier_benchmark is distr... | C++ | run_stats_types.cpp | RedisLabs/memtier_benchmark | gpl-2.0 | 7,429 | 284 | codeparrot/github-code |
aca7f5e9620872ab28a85a530d1db751fe53703f2438a32c3bf35d98ea89495d | /*
* Copyright 2011 David Jurgens
*
* This file is part of the S-Space package and is covered under the terms and
* conditions therein.
*
* The S-Space package 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 Soft... | Java | src/main/java/edu/ucla/sspace/graph/LabeledGraph.java | fozziethebeat/S-Space | gpl-2.0 | 4,550 | 128 | codeparrot/github-code |
53e61c663e422b2c55746271d02d5df5499d4d1d27b3c5cb16815047d7ef8e91 | #!/bin/bash
# Copyright 2016 Johns Hopkins University (Author: Daniel Povey);
# 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
#
# THIS COD... | Shell | kaldi/egs/wsj/s5/utils/lang/make_unk_lm.sh | michellemorales/OpenMM | gpl-2.0 | 14,629 | 316 | codeparrot/github-code |
cfab00419c2b0eebaf5a06751156d18f25b35b2bf70838d7070c3d5a591c0676 | /*
* 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 program is distributed in the hope that it will be use... | Java | fullsync-ui/src/main/java/net/sourceforge/fullsync/ui/SystemStatusPage.java | cobexer/fullsync | gpl-2.0 | 5,577 | 185 | codeparrot/github-code |
5521fe81e5c6921b4dd3e8f89187a46edc2995f66ae65349adb46132e56780b6 | // Copyright (C) 1999-2000 Id Software, Inc.
//
// cg_info.c -- display information while data is being loading
#include "cg_local.h"
#define MAX_LOADING_PLAYER_ICONS 16
#define MAX_LOADING_ITEM_ICONS 26
//static int loadingPlayerIconCount;
//static qhandle_t loadingPlayerIcons[MAX_LOADING_PLAYER_ICONS];
void CG... | C | codemp/cgame/cg_info.c | videoP/jaPRO | gpl-2.0 | 13,007 | 377 | codeparrot/github-code |
8453f82f7a77a3b78058d82601ff246c6966d39175e8a282c7e73b4723b21710 | /*
* Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* 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 ... | Java | nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/Lower.java | shelan/jdk9-mirror | gpl-2.0 | 32,007 | 772 | codeparrot/github-code |
3c4290b9f990757b79f8f9e196acdec3a1dd5559636c447120b2e3343613e189 | /***************************************************************************
* Copyright (C) 2011 by levin *
* levin108@gmail.com *
* *
* This pr... | C | src/groupadd.c | levin108/hybrid | gpl-2.0 | 8,106 | 250 | codeparrot/github-code |
cfa139a69f324962939b94d4f8d31d2efe446aae35c41571e7305d89be8204b0 | <?php
N2Loader::import('libraries.parse.font');
N2Loader::import('libraries.parse.style');
abstract class N2SmartSliderCSSAbstract
{
/**
* @var N2SmartSliderAbstract
*/
protected $slider;
public $sizes = array();
public function __construct($slider) {
$this->slider = $slider;
... | PHP | wp-content/plugins/smart-slider-3/library/smartslider/libraries/slider/css.php | acs6610987/summergxy | gpl-2.0 | 2,775 | 79 | codeparrot/github-code |
ada9a902dfca078badc930cc0dd18cafec9ade1b658a62410aa8d8906c875123 | /*
* This file is part of Dune Legacy.
*
* Dune Legacy 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.
*
* Dune Legacy is... | C++ | src/FileClasses/FileManager.cpp | katlogic/dunelegacy | gpl-2.0 | 7,123 | 220 | codeparrot/github-code |
40196764b9233ca10a60443c2391b3028cf2674a458772343209763b0cbfd91c | /*
* (C) 2001 Clemson University and The University of Chicago
*
* See COPYING in top-level directory.
*/
#ifndef __UPCALL_H
#define __UPCALL_H
/*
* Sanitized this header file to fix
* 32-64 bit interaction issues between
* client-core and device
*/
struct pvfs2_io_request_t {
int32_t async_vfs_io;
int32_t ... | C | fs/orangefs/upcall.h | hubcapsc/orangefs_kmod | gpl-2.0 | 6,210 | 252 | codeparrot/github-code |
7031dc6cb08e88bd3d29b0beb3b9756bf724f6f0b33e5b94550edab83528996c | /* FluidSynth - A Software Synthesizer
*
* Copyright (C) 2003 Peter Hanappe and others.
*
* 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 the Free Software Foundation; either version 2 of
* the License, or (a... | C | libs/fluidsynth/src/fluid_rvoice_mixer.h | mojofunk/ardour | gpl-2.0 | 2,904 | 75 | codeparrot/github-code |
93053b22020e0f204d1ead7bd4f45bea2afe676a88d7137bb3382828a47b349e | """Template filters and tags for helping with dates and datetimes"""
# pylint: disable=W0702,C0103
from django import template
from nav.django.settings import DATETIME_FORMAT, SHORT_TIME_FORMAT
from django.template.defaultfilters import date, time
from datetime import timedelta
register = template.Library()
@registe... | Python | python/nav/django/templatetags/date_and_time.py | sigmunau/nav | gpl-2.0 | 1,012 | 41 | codeparrot/github-code |
780bd7fe7763c2296d29fcf1382d702bebe714973ab3169c2958fb5397324359 | package com.kellydavid.dfs.config;
import java.io.*;
import java.util.HashMap;
/**
* Created by david on 31/01/2016.
*/
public class Configurator {
private String filename;
private HashMap<String, String> configuration;
public Configurator(String filename){
this.filename = filename;
co... | Java | dfs-config/src/main/java/com/kellydavid/dfs/config/Configurator.java | kellydavid/DistributedFileSystem | gpl-2.0 | 1,740 | 62 | codeparrot/github-code |
7b616276590ae2ecfc1d17bbb1f2079b1aa54cbffe1858a8d3ac87f534593afc | // 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.
#ifndef CHROME_BROWSER_NET_PRECONNECT_H_
#define CHROME_BROWSER_NET_PRECONNECT_H_
#include "chrome/browser/net/url_info.h"
class GURL;
namespace n... | C | external/chromium_org/chrome/browser/net/preconnect.h | qtekfun/htcDesire820Kernel | gpl-2.0 | 959 | 34 | codeparrot/github-code |
1cc1358c12ac7340ffbf00aae07ef90e77224bfe7157b6ea4b3fc0455df7c449 | ; stdio_outcommon
; 05.2008 aralbrec
PUBLIC stdio_outcommon
PUBLIC LIBDISP_STDIO_OUTCOMMON_SIGNED
EXTERN stdio_outsign, stdio_outbuff, stdio_outpad
; common code that performs padding and justification for numbers
;
; enter : b = num chars written to buffer
; d = width
; e = flags [-+ O#PLN]
; ... | Assembly | dg/z88dk/libsrc/stdio_new/file/stream-out/stdio_outcommon.asm | bitfixer/bitfixer | gpl-2.0 | 2,069 | 103 | codeparrot/github-code |
65af8228834fe91b0f3709ea3377f040fd2416c666d74c336190b23c16269728 | //--------------------------------------------------------------------------
// Copyright (C) 2014-2016 Cisco and/or its affiliates. All rights reserved.
// Copyright (C) 2002-2013 Sourcefire, Inc.
//
// This program is free software; you can redistribute it and/or modify it
// under the terms of the GNU General Public... | C++ | src/network_inspectors/perf_monitor/perf_monitor.cc | Ghorbani-Roozbahan-Gholipoor-Dashti/Snort | gpl-2.0 | 9,345 | 365 | codeparrot/github-code |
bf6c9a33eaf03d286ee689ad1b8cb68b6edebbf35ad5dc1cd8637f2d4c97ffa9 | /* Some code common to C++ and ObjC++ front ends.
Copyright (C) 2004-2013 Free Software Foundation, Inc.
Contributed by Ziemowit Laski <zlaski@apple.com>
This file is part of GCC.
GCC is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by th... | C | gcc/cp/cp-objcp-common.c | Mustaavalkosta/toolchain_gcc-4.9 | gpl-2.0 | 9,110 | 328 | codeparrot/github-code |
7b1d1b5a5d16e97d73bda2bc2d0bb442e07b8e4dd89b2fc05fb62dc36509ee29 | /***************************************************************************
* $Id$
*
* Copyright 2004 Gagarine Yaikhom
* gyaikhom@gmail.com
****************************************************************************/
/*
* This program is free software; you can redistribute it and/or modify
* it under th... | C | examples/common/pi_mpi.c | gyaikhom/libdsys | gpl-2.0 | 2,153 | 73 | codeparrot/github-code |
cb9c4628175a0a176e7848204929a262ed2e830f691df4b6873a6ed4fd92d2b4 | <?php
/**
* Holds a fee state obtained from the API
*/
class FeeStateApi extends CRUDApiClient {
const NO_FEE_SELECTED = 0;
protected $name;
protected $isDefaultFee;
protected $isAccompanyingPersonFee;
protected $feeAmounts_id;
public static function getListWithCriteria(array $properties, $printErrorMessage ... | PHP | iishconference_basemodule/api/domain/FeeStateApi.class.php | IISH/drupal-module-conference | gpl-2.0 | 2,522 | 89 | codeparrot/github-code |
3060b6e7828cd978f5170d53d8cd46a89437d06734dab19c94646840c1f2525d | <?php get_header(); ?>
<div id="container">
<div id="left-div">
<div id="left-inside">
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<div class="post-wrapper">
<?php if (get_option('whoswho_show_share') == 'on') get_template_part('includes/share'); ?>
<div style="clear: both;"><... | PHP | wp-content/themes/WhosWho/single.php | bishupokharel/nepalisthebest_wp | gpl-2.0 | 2,848 | 70 | codeparrot/github-code |
092b9aef981bea77652f4f75d2c6dd650b4a8524498a0f8cf4d3c74e7fbac902 | /*
* MessengerProtocol.java
*
* Herald, An Instant Messenging Application
*
* Copyright © 2000 Chad Gibbons
*
* 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 ... | Java | src/net/sourceforge/herald/MessengerProtocol.java | dcgibbons/herald | gpl-2.0 | 5,265 | 117 | codeparrot/github-code |
62939b822297ffbaa221296fe016bd51b998e01694abb7b4d2e9187cf3e4d008 | <?php
class UsersEmailSender{
var $emailSender = null;
var $subActionManager = null;
public function __construct($emailSender, $subActionManager){
$this->emailSender = $emailSender;
$this->subActionManager = $subActionManager;
}
public function sendWelcomeUserEmail($user, $password, $employee = NULL){
... | PHP | admin/users/api/UsersEmailSender.php | jpbalderas17/hris | gpl-2.0 | 1,160 | 46 | codeparrot/github-code |
63d1b44911fe852819422bca1ff27609780c8b13535e0dbe315a7316f1fa8edf | /****************************************************************************************
* Copyright (c) 2007 Ian Monroe <ian@monroe.nu> *
* Copyright (c) 2008 Soren Harward <stharward@gmail.com> *
* Copyright (c) 2009 Téo Mrnjavac <teo@kde.org> ... | C++ | src/playlist/navigators/TrackNavigator.cpp | kkszysiu/amarok | gpl-2.0 | 4,380 | 133 | codeparrot/github-code |
aed8f6bd2253fa97372035af87ac384b1dc85482d426b69468aebc4ec4a96ac3 | /*
* PROJECT: DiskPart
* LICENSE: GPL - See COPYING in the top level directory
* FILE: base/system/diskpart/interpreter.c
* PURPOSE: Reads the user input and then envokes the selected
* command by the user.
* PROGRAMMERS: Lee Schroeder
*/
#include "diskpar... | C | third-party/reactos/base/system/diskpart/interpreter.c | GreenteaOS/Kernel | gpl-2.0 | 6,906 | 185 | codeparrot/github-code |
d64e86852ba37d05018a83af395bb56a43f15ba5ebca414b9f6a73c187d28caf | #ifndef __BUSQUEDA__
#define __BUSQUEDA__
#include <stdio.h>
#include "Evalua.h"
int evalua_variante(Tablero tab,Variante var);
int exp_j_cj(Tablero tab,Variantes var,Jugador jug);
int maxima(Variantes variantes);
int movimiento_variantes(Tablero tab,Variantes variantes,Jugador jugador)
/*
En entrada:E... | C | Busqueda.h | rcolomina/ChessEngine | gpl-2.0 | 5,871 | 209 | codeparrot/github-code |
e498afacc6105a7b0cb168af309c39e8911fbf29d6dcbbb3a82b8f7ea44394a5 | <?php
/**
***********************************************************************************************
* Script creates html output for guestbook comments
*
* @copyright 2004-2016 The Admidio Team
* @see https://www.admidio.org/
* @license https://www.gnu.org/licenses/gpl-2.0.html GNU General Public License v2... | PHP | adm_program/modules/guestbook/get_comments.php | wilddom/admidio | gpl-2.0 | 6,472 | 124 | codeparrot/github-code |
8c479e4e46ac576ee8d422bdba54a9390d5081320181fa47d9e6900e87af3d44 | <?php
/**
* @package eMundus
* @subpackage Components
* components/com_emundus/emundus.php
* @link http://www.decisionpublique.fr
* @license GNU/GPL
* @author Benjamin Rivalland
*/
// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );
jimport( 'joomla.application... | PHP | components/com_emundus/views/incomplete/view.html.php | emundus/v5 | gpl-2.0 | 6,069 | 176 | codeparrot/github-code |
2f165474cff8edd1d2fd4876f29a7db3d19ca6f53df1884c6288bc61719d3e69 | <?php
$db = new Conexion_laravel_mysql();
$fecha_buscada = !empty($_GET["fecha"])?$_GET["fecha"]:"";
if ($fecha_buscada) {
$meses = array ('January','February','March','April','May','June','July','August','September','October','November','December');
$meses_es = array ('Enero','Febrero','Marzo','Abril','Mayo','... | PHP | html/blade/highchart_bar.php | geralsantos/sisPersonal | gpl-2.0 | 6,122 | 140 | codeparrot/github-code |
f627e6443ec208f18a5451666ced4a8fbbbb0c5a88c3890dde57dfcfe23d7091 | <?php
defined('ZOTOP') or die('No direct access allowed.');
/**
* 控制器基类
*
* @copyright (c)2009 zotop team
* @package core
* @author zotop team
* @license http://zotop.com/license.html
*/
class controller
{
/**
*
* @var object 模板实例对象
*/
protected $template = null;
/**
*... | PHP | zotop/libraries/classes/controller.php | zotopteam/zotop | gpl-2.0 | 5,378 | 270 | codeparrot/github-code |
046c5a1223f9a4eb32d3fc21b352b8ab37f4d13267588ca2d2a20655c4211c15 | <?php
/**
* View to edit a connection.
*
* @package Joomla.Administrator
* @subpackage Fabrik
* @copyright Copyright (C) 2005-2013 fabrikar.com - All rights reserved.
* @license GNU/GPL http://www.gnu.org/copyleft/gpl.html
* @since 3.0
*/
// No direct access
defined('_JEXEC') or die('Restricte... | PHP | administrator/components/com_fabrik/views/connection/view.html.php | raimov/broneering | gpl-2.0 | 3,679 | 144 | codeparrot/github-code |
c555ebc4300e640efeaf4a74dd949445bc036e9034a909652f568a53ade2e066 | /******************************************************************************
* drivers/xen/tpmback/common.h
*/
#ifndef __TPM__BACKEND__COMMON_H__
#define __TPM__BACKEND__COMMON_H__
#include <linux/version.h>
#include <linux/module.h>
#include <linux/interrupt.h>
#include <linux/slab.h>
#include <xen/evtchn.h>
#i... | C | linux-2.6.18-xen.hg/drivers/xen/tpmback/common.h | zhoupeng/spice4xen | gpl-2.0 | 2,227 | 86 | codeparrot/github-code |
340e05d951033aac4cccd83de03d00455f5351799303ef549327590f660ca71f | package com.meadowhawk.cah.dao;
import java.util.List;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import org.springframework.transaction.annotation.Transactional;
public abstract class AbstractJpaDAO<T> {
public enum DBSortOrder{
DESC, ASC
}
protected Class<T> clazz;... | Java | src/main/java/com/meadowhawk/cah/dao/AbstractJpaDAO.java | leeclarke/CAHServer | gpl-2.0 | 1,157 | 57 | codeparrot/github-code |
4de925da2bb2430ad43119d595570dfdc9196784f48bfacdbcab17b44aeaea4d | package io.github.phantamanta44.pwarfare.gui;
import io.github.phantamanta44.pwarfare.Game;
import io.github.phantamanta44.pwarfare.data.GameMap;
import io.github.phantamanta44.pwarfare.data.GameMap.GameMode;
import io.github.phantamanta44.pwarfare.data.GamePlayer;
import io.github.phantamanta44.pwarfare.data.GamePlay... | Java | src/main/java/io/github/phantamanta44/pwarfare/gui/RespawnGui.java | phantamanta44/PWarfare | gpl-2.0 | 6,436 | 159 | codeparrot/github-code |
19fe4eeb931a0516c21d9eb1bf473583d9fd1b5a1d1bb86e701aabd5565f51e5 | /*
* linux/fs/nfs/file.c
*
* Copyright (C) 1992 Rick Sladkey
*
* Changes Copyright (C) 1994 by Florian La Roche
* - Do not copy data too often around in the kernel.
* - In nfs_file_read the return value of kmalloc wasn't checked.
* - Put in a better version of read look-ahead buffering. Original idea
... | C | fs/nfs/file.c | mostafa-z/Gabriel_MM | gpl-2.0 | 25,871 | 974 | codeparrot/github-code |
38dd0fe4612f036c462d866fade5b7b0bd888fa442c1113ba47048a089708dde | /*****************************************************************************
* ts_psip.c : TS demux ATSC A65 PSIP handling
*****************************************************************************
* Copyright (C) 2016 - VideoLAN Authors
*
* This program is free software; you can redistribute it and/or modify... | C | vlc/modules/demux/mpeg/ts_psip.c | pddthinh/android-vlc | gpl-2.0 | 31,798 | 861 | codeparrot/github-code |
f97552d0326d3e7aa206f019d421deaf575450a3b51a59209fcc9ca8ecaea87a | // This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2015 Benoit Steiner <benoit.steiner.goog@gmail.com>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0. If a copy of the MPL was not distributed
// with this file, You ca... | C | external/libs/RLovelett/unsupported/Eigen/CXX11/src/Tensor/TensorMeta.h | mastoo/pcollection | gpl-2.0 | 3,712 | 149 | codeparrot/github-code |
3ca30e195ac87949147ab3c00fff3ea53c3af1e7aa40bbfd47c7c10438fe755c | #include "kvm/virtio-console.h"
#include "kvm/virtio-pci-dev.h"
#include "kvm/disk-image.h"
#include "kvm/virtio.h"
#include "kvm/ioport.h"
#include "kvm/util.h"
#include "kvm/term.h"
#include "kvm/mutex.h"
#include "kvm/kvm.h"
#include "kvm/pci.h"
#include "kvm/threadpool.h"
#include "kvm/irq.h"
#include "kvm/guest_co... | C | virtio/console.c | rminnich/vmtool | gpl-2.0 | 5,071 | 227 | codeparrot/github-code |
909451d843e4753cabd8221d793bc4d59d61fa5b5290d23f1d3bb01c0b133431 | (function($) {
Drupal.wysiwyg.editor.init.ckeditor = function(settings) {
window.CKEDITOR_BASEPATH = settings.global.editorBasePath + '/';
CKEDITOR.basePath = window.CKEDITOR_BASEPATH;
// Drupal.wysiwyg.editor['initialized']['ckeditor'] = true;
// Plugins must only be loaded once. Only the settings from the f... | JavaScript | sites/default/files/js/js_kJRR2EPkdTyr2CIdeTvE1Z1h-ltSkNI_HTuwHAsTNDE.js | ghigata/prowood | gpl-2.0 | 95,145 | 2,934 | codeparrot/github-code |
f8f3c85de71379d1b7a933fe017db4f2aee1e35dd314fae743b5a24dc19148ad | <?php
require_once OPS_APPLICATION_PATH
. '/services/Optimization/Analyzer/Abstract/Base.php';
class Ops_Service_Optimization_Analyzer_KeywordInPattern
extends Ops_Service_Optimization_Analyzer_Abstract_Base
{
public function __invoke($pattern, $keyword=NULL, $contentType='html')
{
$content = $... | PHP | wp-content/plugins/wp-onpage-seo/application/services/Optimization/Analyzer/KeywordInPattern.php | tranvanhoa533/ecommerce_assignment2 | gpl-2.0 | 789 | 30 | codeparrot/github-code |
e720ac922e9fa609d2d2a7127b145e69159f2908bc7a41ab780ce64e8fbecf26 | /*
* dbgp.c -- EHCI Debug Port device gadget
*
* Copyright (C) 2010 Stephane Duverger
*
* Released under the GPLv2.
*
*/
/* verbose messages */
#include <linux/kernel.h>
#include <linux/device.h>
#include <linux/usb/ch9.h>
#include <linux/usb/gadget.h>
/* See comments in "zero.c" */
#include "epautoconf.c"
#i... | C | drivers/usb/gadget/dbgp.c | kernelzilla/android-kernel | gpl-2.0 | 8,490 | 434 | codeparrot/github-code |
cd2851ce80d0fc43fc894efcfaa18e809fbc1fc70758c9ad9bad543b99f3c5f7 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- BEGIN TEMPLATE: WHOPOSTED -->
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en">
<!-- Mirrored from www.hobartwelders.com/weldtalk/misc.php?do=whoposted&t=117865 by HTTrack Websi... | HTML | boerweld/weldtalk/misc1c4a.html | budiperkasa/tukangbagus | gpl-2.0 | 8,527 | 202 | codeparrot/github-code |
00897905ae054d4e2836f276e0fe118aadc0d48f882f52f10d45be20ee554f62 | /*
* linux/fs/buffer.c
*
* Copyright (C) 1991, 1992, 2002 Linus Torvalds
*/
/*
* Start bdflush() with kernel_thread not syscall - Paul Gortmaker, 12/95
*
* Removed a lot of unnecessary code and simplified things now that
* the buffer cache isn't our primary cache - Andrew Tridgell 12/96
*
* Speed up hash,... | C | fs/buffer.c | andi34/kernel_samsung_espresso-cm | gpl-2.0 | 90,490 | 3,368 | codeparrot/github-code |
f7fb872a56415ef39d566398b95a6ce50c30b95bd3ca8eaa0112a26786973b6f | /*
* Copyright 2000-2015 Rochus Keller <mailto:rkeller@nmr.ch>
*
* This file is part of the CARA (Computer Aided Resonance Assignment,
* see <http://cara.nmr.ch/>) NMR Application Framework (NAF) library.
*
* The following is the license that applies to this copy of the
* library. For a license to use the librar... | C++ | Star/StarLexer.cpp | rochus-keller/NAF | gpl-2.0 | 12,894 | 505 | codeparrot/github-code |
c937d127828fc4f5883b998625111b7fb1ca56b5641bc7dae0bf0524850ebb10 | <?php
/**
* Categorize
*
* Flow controller for category management interfaces
*
* @version 1.0
* @package ecart
* @subpackage categories
**/
class Categorize extends AdminController {
/**
* Categorize constructor
*
* @return void
**/
function __construct () {
parent::__construct();
if (!empty... | PHP | wp-content/plugins/express_store_installer/core/flow/Categorize.php | robbiespire/paQui | gpl-2.0 | 14,969 | 510 | codeparrot/github-code |
fd2cd107fbb3fd6bcf0158e7d0319a0791680d8200776ca07451447fa728d685 | package de.metas.edi.esb.pojo.invoice.cctop;
/*
* #%L
* de.metas.edi.esb
* %%
* Copyright (C) 2015 metas GmbH
* %%
* 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 th... | Java | de.metas.edi.esb.camel/src/main/java/de/metas/edi/esb/pojo/invoice/cctop/Cctop111V.java | klst-com/metasfresh | gpl-2.0 | 4,293 | 211 | codeparrot/github-code |
0cb25010b14243edbd3e1b37a3f5354d6dcf0cae477054b1d3548b90732a02fa | /*
* Copyright (c) 2006 Franck Bui-Huu
* Copyright (c) 2006 Rene Scharfe
*/
#include "cache.h"
#include "builtin.h"
#include "archive.h"
#include "pkt-line.h"
#include "sideband.h"
static int run_remote_archiver(const char *remote, int argc,
const char **argv)
{
char *url, buf[LARGE_PACKET_MAX];
int fd[... | C | builtin-archive.c | vmiklos/gsoc2008 | gpl-2.0 | 2,755 | 122 | codeparrot/github-code |
32d0fffd8b6658363a20f9e9991e4275815ec76bf439132454c2ffdaf88c3dce | /*
* USB device quirk handling logic and table
*
* Copyright (c) 2007 Oliver Neukum
* Copyright (c) 2007 Greg Kroah-Hartman <gregkh@suse.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 Foundat... | C | src/drivers/usb/core/quirks.c | wurikiji/ttFS | gpl-2.0 | 7,532 | 248 | codeparrot/github-code |
99cec3fcdf17b6aca86eee3ffe5f0ff7653b319914257fed57d7a6050747476a | <?php declare(strict_types=1);
namespace DrupalCodeGenerator;
use Symfony\Component\String\ByteString;
use Symfony\Component\String\Inflector\EnglishInflector;
/**
* Helper methods for code generators.
*/
class Utils {
/**
* Transforms a machine name to human name.
*/
public static function machine2huma... | PHP | src/Utils.php | Chi-teck/drupal-code-generator | gpl-2.0 | 4,288 | 156 | codeparrot/github-code |
b8520100386a2f476d3838743b0889c60096fd70c2c4b2480e0a2247195771ca | <?php
/**
* @package Joomla.Site
* @subpackage Templates.Growwweb
*
* @copyright Copyright (C) 2005 - 2014 Web Studio Growwweb. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
// No direct access.
defined('_JEXEC') or die;
?>
<!DOCTYPE html>
<html xml... | PHP | templates/objectiv/index.php | jan-itor/obyektiv | gpl-2.0 | 3,901 | 108 | codeparrot/github-code |
c3fd25d659fc5bd30cd6c4f89ce6b2b75383621029dbc5c081f883f0b87b4a55 | import os
import os.path
from amuse.units import units
from amuse.datamodel import Particle
from amuse.ext.star_to_sph import pickle_stellar_model
from amuse.community.mesa.interface import MESA as stellar_evolution_code
from xiTau_parameters import triple_parameters
def evolve_giant(giant, stop_radius):
stell... | Python | articles/A_evolve_outer_star_to_giant.py | hilaglanz/TCE | gpl-2.0 | 1,405 | 43 | codeparrot/github-code |
f24d226642429813c3308bb2d9cee67882c1bd1a4d32b60f20b2d52d4b1fffe7 | /*
* Copyright (C) 1996-2015 The Squid Software Foundation and contributors
*
* Squid software is distributed under GPLv2+ license and includes
* contributions from numerous individuals and organizations.
* Please see the COPYING and CONTRIBUTORS files for details.
*/
#ifndef __ASYNC_IO_H__
#define __ASYNC_IO_H_... | C | src/DiskIO/AIO/async_io.h | krichter722/squid | gpl-2.0 | 1,686 | 78 | codeparrot/github-code |
fcea34ce4fcf3296df7fb1baa0ef94115c257fee4cfebf3f1f938ded832a0c73 | #ifdef HAVE_CONFIG_H
#include "config.h"
/* If autoconfed, only include malloc.h when it's presen */
#ifdef HAVE_MALLOC_H
#include <malloc.h>
#endif
#else /* undef HAVE_CONFIG_H */
#include <malloc.h>
#endif /* HAVE_CONFIG_H */
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>
#include "gr... | C | src/gribscan.c | cjg/grads | gpl-2.0 | 31,622 | 1,284 | codeparrot/github-code |
e772670881a8c5397e24852d01471efea3f2c12666ba01c8e5d9e0828eb4491c | <?php
/* SensioDistributionBundle:Configurator:check.html.twig */
class __TwigTemplate_b715c729363426b088b795ac92dc5fcde03ea399e55a86f4c370b333d1e7f13e extends eZ\Bundle\EzPublishDebugBundle\Twig\DebugTemplate
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$t... | PHP | ezpublish/cache/dev/twig/b7/15/c729363426b088b795ac92dc5fcde03ea399e55a86f4c370b333d1e7f13e.php | ataxel/tp | gpl-2.0 | 5,309 | 137 | codeparrot/github-code |
432d7a51fd193f796aea119b315c165a581c9aa314e727d84e9f4c065e64bd7b |
#include "libertas_tf.h"
#include "linux/etherdevice.h"
#define DRIVER_RELEASE_VERSION "004.p0"
#define LBTF_FW_VER_MIN 0x05840300
#define LBTF_FW_VER_MAX 0x0584ffff
#define QOS_CONTROL_LEN 2
static const char lbtf_driver_version[] = "THINFIRM-USB8388-" DRIVER_RELEASE_VERSION;
struct workqueue_struct *lbtf_wq;
... | C | drivers/net/wireless/libertas_tf/main.c | leemgs/OptimusOneKernel-KandroidCommunity | gpl-2.0 | 15,357 | 635 | codeparrot/github-code |
2d68f7bed5f1ed87b08c0338f66612442d05b9126ac3aaaa35abc4665fff07c8 | from gi.repository import Gtk
import gourmet.gtk_extras.dialog_extras as de
from gourmet.plugin import RecDisplayModule, UIPlugin, MainPlugin, ToolPlugin
from .recipe_emailer import RecipeEmailer
from gettext import gettext as _
class EmailRecipePlugin (MainPlugin, UIPlugin):
ui_string = '''
<menubar name="Rec... | Python | gourmet/plugins/email_plugin/emailer_plugin.py | thinkle/gourmet | gpl-2.0 | 1,934 | 56 | codeparrot/github-code |
6cecde2a19f186a2ef492c516664c9b5689c627603dde9536d732053c2ea6ea6 | <?php
/**
* Implements Special:Undelete
*
* 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 program is di... | PHP | includes/specials/SpecialUndelete.php | tychay/mediawiki-core | gpl-2.0 | 46,697 | 1,547 | codeparrot/github-code |
30ca2fe4eaa7e8648dd33008bf17b641b85a1bfad6e634e955e56d266a963cd3 | {% extends "podcast/base.html" %}
{% load i18n %}
{% block allcontent %}
<div id="return-wrap">
<div id="return">
<p>{% trans "A list of episodes of one show" %}</p>
</div>
</div>
<div id="content-wrap">
<div id="content">
{% block content %}
<p class="back"><a href="{% url "podcast_shows" %}">{% t... | HTML | autoradio/programs/templates/podcast/episode_list.html | pat1/autoradio | gpl-2.0 | 2,995 | 66 | codeparrot/github-code |
083e2f43d8e5fe8aeb4838785b4a13f0334021f1e5fb81128c9b8d5911cd564d | package com.myselia.stem.communication.seekers;
import java.io.IOException;
import java.net.DatagramPacket;
import java.net.DatagramSocket;
import java.net.InetAddress;
import com.myselia.stem.communication.CommunicationDock;
public class LocalHostSeek implements Seek {
private volatile static LocalHostSeek unique... | Java | src/main/java/com/myselia/stem/communication/seekers/LocalHostSeek.java | Myselia/MyseliaStem | gpl-2.0 | 1,391 | 54 | codeparrot/github-code |
8a4556c28da021372b66c031fa727779b05ef7088ce856e1fa3ce55dfdc32d1d | package kata;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Iterator;
import java.util.List;
public class MyCollections {
public static String join(Collection collection) {
return join(collection, "");
}
public static String join(Collection collection, String separator... | Java | src/test/java/kata/MyCollections.java | graeme-lockley/string-calculator-java6-pbt | gpl-2.0 | 1,712 | 58 | codeparrot/github-code |
b2ee8e385ceee68fb4173c59548460af36744fbabfa13635c34ed7833b2658b4 | /******************************************************************************
CRYSTALPALACE - Episode specific code
*******************************************************************************/
#include "g_local.h"
#include "voice_punk.h"
#include "voice_bitch.h"
void ProcessKingpin (edict_t *self, edict_t ... | C | Catch the Chicken for Kingpin v1.1/ctc_source_v1-1_kingpin/ep_crystalpalace.c | amokmen/q2ctc | gpl-2.0 | 3,949 | 210 | codeparrot/github-code |
b6ff65898deff61201a5f52a077a6c1263fec1ee4038064c812a2515469691c4 | # encoding: utf-8
# module PIL._imaging
# from /usr/lib/python2.7/dist-packages/PIL/_imaging.so
# by generator 1.135
# no doc
# no imports
# Variables with simple values
DEFAULT_STRATEGY = 0
FILTERED = 1
FIXED = 4
HUFFMAN_ONLY = 2
jpeglib_version = '8.0'
PILLOW_VERSION = '2.5.1'
RLE = 3
zlib_version = '1.2.8'
... | Python | .PyCharm30/system/python_stubs/-1247972723/PIL/_imaging.py | ProfessorX/Config | gpl-2.0 | 3,425 | 163 | codeparrot/github-code |
1844fe3ef558813aac1003b5772d80aba44889318d6fffcbd7f19c89e5c83a26 | /*
* Mesh.hpp
*
* RTfact - Real-Time Ray Tracing Library
*
* Copyright (C) 2010 Saarland University
*
* 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... | C++ | rtpie/src/Scene/Mesh.hpp | BALL-Contrib/contrib_rtfact_4f1d028 | gpl-2.0 | 2,200 | 99 | codeparrot/github-code |
e8f134cbc775fd717248f05eba0563911516a617fa1fe787e610f3d9dec006f0 | // Copyright © 2004, 2011, 2013, Oracle and/or its affiliates. All rights reserved.
//
// MySQL Connector/NET is licensed under the terms of the GPLv2
// <http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>, like most
// MySQL Connectors. There are special exceptions to the terms and
// conditions of the GPLv2 as ... | C# | Source/MySql.Data/MysqlDefs.cs | old-kasthack-s-projects/connectornet | gpl-2.0 | 16,986 | 571 | codeparrot/github-code |
dfa9ce172ae9ec4fb65499b3c131ab17e3feb47ffeb28a1c58c6729ffa802fa5 | <?php
global $base_path;
$about_company_path = $base_path . "about/company";
$about_team_path = $base_path . "about/team";
$theme_path = $base_path . drupal_get_path('theme', 'changshanews');
$about_memberdetail_path = $base_path . "about/memberdetail";
$theme_path = $base_path . drupal_get_path('theme', 'changshanews'... | PHP | sites/all/themes/changshanews/templates/about/team.tpl.php | Tomtang2013/changsha2 | gpl-2.0 | 4,422 | 123 | codeparrot/github-code |
10f8e0f17c488afdbb2f6d37cdb5db26e70452de06ebdf777a3a1a0feff59b8c | /*
* Unix SMB/CIFS implementation.
* RPC Pipe client / server routines
*
* Copyright (C) Marcin Krzysztof Porwit 2005.
*
* Largely Rewritten (Again) by:
* Copyright (C) Gerald (Jerry) Carter 2005.
* Copyright (C) Guenther Deschner 2008,2009.
*
* This program is fre... | C | git_home/samba.git/source3/rpc_server/svcctl/srv_svcctl_nt.c | SVoxel/R7800 | gpl-2.0 | 33,062 | 1,204 | codeparrot/github-code |
32b1129aea47e04a2d11fe03c9f453cabcb2ae41f0dfc0ff2d844d7fdabbd857 | /*
* cexcel - A library to read data from Excel spread sheets
*
* Copyright (C) 2007 RIKEN Japan, 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 ... | C | cexcel/file.c | neuroinformatics/excel2xoonips | gpl-2.0 | 4,256 | 160 | codeparrot/github-code |
23302a48df875484bfef18087989682434af07b9528166b5af9040dafb39572d | /*
* Copyright (C) 2008 The Android Open Source Project
*
* Licensed under the Eclipse Public License, Version 1.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.eclipse.org/org/documents/epl-v10.php
*
* Unless r... | Java | sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newxmlfile/NewXmlFileCreationPage.java | rex-xxx/mt6572_x201 | gpl-2.0 | 49,017 | 1,162 | codeparrot/github-code |
213edf9184c267472eeb55248a6722d964ef6fa0b4ee4b93b8bed58e826092fa | /****************************************************************************
KHotKeys
Copyright (C) 1999-2001 Lubos Lunak <l.lunak@kde.org>
Distributed under the terms of the GNU General Public License version 2.
****************************************************************************/
#define _CONDITIONS_... | C++ | khotkeys/kcontrol/condition_list_widget.cpp | serghei/kde3-kdebase | gpl-2.0 | 13,256 | 369 | codeparrot/github-code |
7de5b55802cfc3cdc1c04bece696d815f23fd145835a87d349ae63289cde92c4 | <?php
/**
* Database creation and update statements for the Paypal plugin.
* Based on the gl-paypal Plugin for Geeklog CMS by Vincent Furia.
*
* @author Lee Garner <lee@leegarner.com>
* @author Vincent Furia <vinny01@users.sourceforge.net
* @copyright Copyright (c) 2009-2018 Lee Garner <lee@leegarner... | PHP | sql/mysql_install.php | leegarner-glfusion/paypal | gpl-2.0 | 52,240 | 946 | codeparrot/github-code |
cd79da771e22ecc957df9011c898ba5e42e9e7cd59bb7e905531ac8a805e6da2 | <?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 2-9-2010 14:43
*/
if (!defined('NV_IS_FILE_ADMIN')) {
die('Stop!!!');
}
$page_title = $lang_module['addtotopi... | PHP | modules/news/admin/addtotopics.php | NukeVietCMS/nukeviet | gpl-2.0 | 2,686 | 87 | codeparrot/github-code |
1162774691a7810bb4ee553edd6fdda7e43e63b88d0c39e55b35441d8d3f4db0 | # Copyright (C) 2017 SUSE LLC
#
# 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 program is distributed in the h... | Perl | osutils.pm | sysrich/os-autoinst | gpl-2.0 | 2,533 | 78 | codeparrot/github-code |
b146e73baabd025e0ccdd18b7b65c1b4685bed5a0726917553f97420b38db307 | {% extends "admin/base_site.html" %}
{% load i18n admin_urls admin_static admin_list %}
{% load i18n admin_static %}{% load cycle from future %}
{% for item in result_hidden_fields %}{{ item }}{% endfor %}
{% block extrastyle %}
{{ block.super }}
<link rel="stylesheet" type="text/css" href="{% static "admin... | HTML | useradmin/templates/admin/content/screen_list.html | vquinones/admindemo | gpl-2.0 | 3,180 | 87 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.