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 |
|---|---|---|---|---|---|---|---|---|
952940987afcdcb7c0aa56d2b59edba359f01943bc3e5098cc62250720736500 | package org.vidogram.messenger.g.a;
import java.io.ByteArrayOutputStream;
public class j extends ByteArrayOutputStream
{
private final b a;
public j(b paramb, int paramInt)
{
this.a = paramb;
this.buf = this.a.a(Math.max(paramInt, 256));
}
private void a(int paramInt)
{
if (this.count + para... | Java | TMessagesProj/src/main/java/org/vidogram/messenger/g/a/j.java | Robert0Trebor/robert | gpl-2.0 | 1,439 | 77 | codeparrot/github-code |
5f9f30adcde81211eaf7fc2cd6b9aa9b31aa8d3bc3ced88693bfc491741f1710 | using UnityEngine;
using System.Collections;
/*
* Item to handle movements of rigibodies
*/
public class RigibodyMoveItem : MoveItem {
public enum Type {
ENEMY_SHIP_TYPE_1,
LASER_RED,
LASER_BLUE
};
public static RigibodyMoveItem create(Type type)
{
switch (type)
{
case Type.ENE... | C# | Assets/Scripts/Level/Non Playable/Movement/Rigibody/RigibodyMoveItem.cs | adriwankenobi/space | gpl-2.0 | 618 | 32 | codeparrot/github-code |
67fa9e346bfad53e0e0501577e5235cf6ded36e41323d6255f915800e9d237c1 | /**
* @file mqueue.h
*
* This file contains the definitions related to POSIX Message Queues.
*/
/*
* COPYRIGHT (c) 1989-2011.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www... | C | cpukit/posix/include/mqueue.h | yangxi/omap4m3 | gpl-2.0 | 3,161 | 173 | codeparrot/github-code |
dc4820a8600ab02b4dd7a1c8041e2c8c79cb80ecbf35d18a6c2d96c9ad9ae328 |
<!DOCTYPE html>
<html lang="en-US">
<!-- Mirrored from www.w3schools.com/tags/tryit.asp?filename=tryhtml_img_border_css by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 23 Jan 2015 08:23:38 GMT -->
<head>
<title>Tryit Editor v2.3</title>
<meta id="viewport" name='viewport'>
<script>
(function() {
if ( navigator.user... | HTML | Coding/W3School/W3Schools_Offline_2015/www.w3schools.com/tags/tryit0da5.html | platinhom/ManualHom | gpl-2.0 | 5,065 | 141 | codeparrot/github-code |
81e2d678bf3051548bf1111fa4d36cc46fc6f69f1b2a5c86427c8d77052fad1f | <?php
/**
* Multisite upgrade administration panel.
*
* @package WordPress
* @subpackage Multisite
* @since 3.0.0
*/
/** Load WordPress Administration Bootstrap */
require_once(dirname(__FILE__) . '/admin.php');
if (!is_multisite())
wp_die(__('Multisite support is not enabled.'));
require_once(ABSPATH . WP... | PHP | wp-admin/network/upgrade.php | JeremyCarlsten/WordpressWork | gpl-2.0 | 4,987 | 123 | codeparrot/github-code |
a199db411076344f5bbb2237715a6ee18b8472b08a8b783f3a750cbe66583b8e | // © 2016 and later: Unicode, Inc. and others.
// License & terms of use: http://www.unicode.org/copyright.html
//
// file: rbbirb.cpp
//
// Copyright (C) 2002-2011, International Business Machines Corporation and others.
// All Rights Reserved.
//
// This file contains the RBBIRuleBuilder class implementation. T... | C++ | modules/web/src/main/native/Source/ThirdParty/icu/source/common/rbbirb.cpp | teamfx/openjfx-8u-dev-rt | gpl-2.0 | 9,975 | 322 | codeparrot/github-code |
f365cd8aed1047149a5117f5a89889d63145268e231cacd37539c1a8a4f58ed5 | /* Discovery of auto-inc and auto-dec instructions.
Copyright (C) 2006-2015 Free Software Foundation, Inc.
Contributed by Kenneth Zadeck <zadeck@naturalbridge.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 publis... | C | gcc/auto-inc-dec.c | kito-cheng/gcc | gpl-2.0 | 44,162 | 1,556 | codeparrot/github-code |
d5435802fdfb6ffa55b7485219009231ff20d17b935c1d79c58dc95d398c4b08 | /*
Copyright (c) 2004, 2005, 2006, 2007, 2008, 2009 Mark Aylett <mark.aylett@gmail.com>
This file is part of Aug written by Mark Aylett.
Aug is released under the GPL with the additional exemption that compiling,
linking, and/or using OpenSSL is allowed.
Aug is free software; you can redistribute it and/or... | C | src/c/augutil/pwd.h | marayl/aug | gpl-2.0 | 1,396 | 46 | codeparrot/github-code |
bef26af9424e4f4efe2cfc0ebfd711144c5d22c67a1f1b3844819f4555fe4da4 | <!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Monroe puts in 24, Knicks defeat the Pistons 121 to 115</title>
<link rel="stylesheet" type="text/css" href="../css/style.css">
</head>
<body>
<h1>Monroe puts in 24, Knicks defeat the Pistons 121 to 115</h1>
</br>
<h2 style="color:gr... | HTML | web/2014_season/2015022708.html | jacobbustamante/NBANLPRecap | gpl-2.0 | 1,900 | 47 | codeparrot/github-code |
da3608c5213201cc3ab7fd77335794bd35377623f7c9db1e76d51cdcb71a556e | /*
* Copyright (C) 2003-2011 The Music Player Daemon Project
* http://www.musicpd.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 of the License, or
* (at your opti... | C | src/pcm_volume.c | andrewrk/mpd | gpl-2.0 | 4,334 | 193 | codeparrot/github-code |
70a6be640fc39c7165a31fd36a9734bef12369272f03f780994a88058ee6b3c6 | <!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=UTF-8">
<script src="/benchmark/js/jquery.min.js"></script>
<script type="text/javascript" src="/benchmark/js/js.cookie.js"></script>
<title>Be... | HTML | src/main/webapp/sqli-02/BenchmarkTest01209.html | h3xstream/Benchmark | gpl-2.0 | 2,428 | 68 | codeparrot/github-code |
bd2d992c8377af06dc8274154445883de1a454ac7a7676def971e03931f20f56 | /*
* Copyright (C) 2008 by NXP Semiconductors
* All rights reserved.
*
* @Author: Kevin Wells
* @Descr: LPC3250 SLC NAND controller interface support functions
*
* See file CREDITS for list of people who contributed to this
* project.
*
* This program is free software; you can redistribute it and/or
* modify... | C | drivers/mtd/nand/lpc32xx_nand.c | diverger/uboot-lpc32xx | gpl-2.0 | 11,991 | 403 | codeparrot/github-code |
bdd07069e5e6cd23007fb7ce811af27c20533c362e2e2f37b44e5f155a2dbfb9 | <?php
/*
*
* Copyright 2001-2012 Thomas Belliard, Laurent Delineau, Edouard Hue, Eric Lebrun
*
* This file is part of GEPI.
*
* GEPI 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 vers... | PHP | saisie/commentaires_types.php | prunkdump/gepi | gpl-2.0 | 38,643 | 943 | codeparrot/github-code |
e5021a5398ce220125ad6e8b105d772713f72bb2bf7b7b123c35696e95eb4e4c | <?php
/**
* @package SP Page Builder
* @author JoomShaper http://www.joomshaper.com
* @copyright Copyright (c) 2010 - 2016 JoomShaper
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or later
*/
//no direct accees
defined ('_JEXEC') or die ('restricted access');
class SppagebuilderAddonTab extends Spp... | PHP | components/com_sppagebuilder/addons/tab/site.php | hoangyen201201/TrienLamOnline | gpl-2.0 | 3,318 | 72 | codeparrot/github-code |
f91940bdee0c14ee3311f5387dce8885b3897b1291f08614e330c2a4db9373b3 | /*
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 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 th... | C | game/g_trigger.c | lambda/wxQuake2 | gpl-2.0 | 17,071 | 715 | codeparrot/github-code |
e8d1ee4db498f3a9038444ff8ec9acc1bd484b60838379eb4a90873d577e16bb | #include "capwap.h"
#include "capwap_element.h"
/********************************************************************
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| ... | C | src/common/capwap_element_80211_updatestationqos.c | alagoutte/smartcapwap | gpl-2.0 | 3,276 | 92 | codeparrot/github-code |
fe0fb4d4a29f3437fc65b65820bf368651eb46b958e6464727e4c27c46c73473 | var ajaxManager = (function() {
$jq = jQuery.noConflict();
var requests = [];
return {
addReq: function(opt) {
requests.push(opt);
},
removeReq: function(opt) {
if($jq.inArray(opt, requests) > -1) {
requests.splice($jq.inArray(opt, requests), 1);
}
},
run: function... | JavaScript | js/cart66-library.js | rbredow/allyzabbacart | gpl-2.0 | 10,664 | 299 | codeparrot/github-code |
9eb3e5e27178663545d1ca2add735ddd221c07c513144823e2039e3c7dfa893b | #include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <errno.h>
#include <iostream>
#include "ftfilemapper.h"
//#define DEBUG_FILEMAPPER
ftFileMapper::ftFileMapper(uint64_t file_size,uint32_t chunk_size)
: _file_size(file_size),_chunk_size(chunk_size)
{
int nb_chunks = (int)(file_size / (uint64_t)chu... | C++ | libretroshare/src/ft/ftfilemapper.cc | RedCraig/retroshare | gpl-2.0 | 9,367 | 302 | codeparrot/github-code |
1c7691f925cf7b191be0c150cffdfdf8a8dd7bd4ebb19ea9db166660c2302636 | # Endpoints for user to control the home.
from datetime import datetime
from flask import Blueprint, jsonify, request
from services import elements_services, home_services
home_api = Blueprint('/home_api', __name__)
elements_services = elements_services.ElementsServices()
home_services = home_services.HomeServices()... | Python | CHPackage/src/centralhub/server/home_endpoints.py | igrlas/CentralHub | gpl-2.0 | 1,856 | 63 | codeparrot/github-code |
0c08e37066ac791d9beb5ab642160f9fdb00cc97b555746ed64750dbb264e1ca | #include "stdafx.h"
#include "Utilities/Log.h"
#include "Utilities/File.h"
#include "git-version.h"
#include "rpcs3/Ini.h"
#include "Emu/Memory/Memory.h"
#include "Emu/System.h"
#include "Emu/GameInfo.h"
#include "Emu/SysCalls/ModuleManager.h"
#include "Emu/Cell/PPUThread.h"
#include "Emu/Cell/SPUThread.h"
#include "E... | C++ | rpcs3/Emu/System.cpp | thatguyehler/rpcs3 | gpl-2.0 | 11,861 | 534 | codeparrot/github-code |
de7b019aeef4ff6ad85316696467d2fc7d4b18f388cf4db2f0f3b545c859fb72 | <?php
/**
* @version 3.2.11 September 8, 2011
* @author RocketTheme http://www.rockettheme.com
* @copyright Copyright (C) 2007 - 2011 RocketTheme, LLC
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
*/
defined('GANTRY_VERSION') or die;
gantry_import('core.config.gantryformgroup');
gantr... | PHP | libraries/gantry/admin/forms/groups/enabledgroup.php | epireve/joomla | gpl-2.0 | 2,633 | 90 | codeparrot/github-code |
c358912b3396790b7f3a3a6a1227acdc5b0803fb05e182d05a29fb960414f57e | # -*- coding: utf-8 -*-
import time
import EafIO
import warnings
class Eaf:
"""Read and write Elan's Eaf files.
.. note:: All times are in milliseconds and can't have decimals.
:var dict annotation_document: Annotation document TAG entries.
:var dict licences: Licences included in the file.
:va... | Python | nixtla/core/tools/pympi/Elan.py | acuriel/Nixtla | gpl-2.0 | 33,328 | 765 | codeparrot/github-code |
2668da15ed3963a4613a56ff70766896601916a840f366efd064648de66026d7 | /* -*- c++ -*-
Kvalobs - Free Quality Control Software for Meteorological Observations
$Id: decodermgr.h,v 1.1.2.2 2007/09/27 09:02:27 paule Exp $
Copyright (C) 2007 met.no
Contact information:
Norwegian Meteorological Institute
Box 43 Blindern
0313 OSLO
NORWAY
email: kvalobs-dev@met.no
This file is part ... | C | src/lib/decoder/decoderbase/decodermgr.h | metno/kvalobs | gpl-2.0 | 4,157 | 154 | codeparrot/github-code |
52c3ed6b568f79bcc460b69e715f214e8001115ca7dcee1ca5b7264eeac06f2b | // <copyright file="Collision.cs" company="LeagueSharp">
// Copyright (c) 2015 LeagueSharp.
//
// 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, o... | C# | Core/Math/Collision.cs | CjShuMoon/TwLS.SDK | gpl-2.0 | 7,681 | 211 | codeparrot/github-code |
1dcb16ebc153e5b4b8465b3c0fcbef5fbd22fbc322bf89742ad8a6f8e8c84735 | /*
* Copyright (c) 1990,1993 Regents of The University of Michigan.
* All Rights Reserved. See COPYRIGHT.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif /* HAVE_CONFIG_H */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <signal.h>
#include <sys/param.h>
#include <sys/uio.h>
#include <sys/... | C | etc/afpd/main.c | igorbernstein/netatalk-debian | gpl-2.0 | 16,185 | 505 | codeparrot/github-code |
d76389dbcf06b578d6d6e3558ef18c82eb10e0dd70779d4288e692a465b2084a | var express = require('express');
var path = require('path');
var tilestrata = require('tilestrata');
var disk = require('tilestrata-disk');
var mapnik = require('tilestrata-mapnik');
var dependency = require('tilestrata-dependency');
var strata = tilestrata();
var app = express();
// define layers
strata.layer('hill... | JavaScript | app.js | nronnei/srtm-server | gpl-2.0 | 1,877 | 71 | codeparrot/github-code |
79d920dfbb3d773d1fbd9cfe14b9231a2364fbdd9ebdfd35de19cc99c0e0d12e | /*
* synergy -- mouse and keyboard sharing utility
* Copyright (C) 2016 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* found in the file LICENSE that should have accompanied this file.
*
* This package is distribut... | C++ | src/lib/platform/OSXUchrKeyResource.cpp | hunterua/synergy | gpl-2.0 | 7,325 | 297 | codeparrot/github-code |
924c3b1a23c968a3478de95f03eb52e720842e36f6abd29cf3f606887e423b70 | <?php
include_once "srcPHP/View/View.php";
include_once "srcPHP/Model/ResearchModel.php";
class Mosaic implements View{
var $model = NULL;
var $array = NULL;
function Mosaic(){
$this->model = new ResearchModel("dbserver", "xjouveno", "xjouveno", "pdp");
$this->array = $this->model->getAllVideo();
}
functio... | PHP | Trunk/srcPHP/View/Section/GuestSection/Mosaic.php | s4e-tom/navideo | gpl-2.0 | 1,462 | 53 | codeparrot/github-code |
7ceb5ec398212924c5e45fb080c947602d6aad2fb7faab808091c82ad3739585 | <?php
/**
* Description of Resume
*
* @author greg
* @package
*/
class Wpjb_Form_Abstract_Resume extends Daq_Form_ObjectAbstract
{
protected $_custom = "wpjb_form_resume";
protected $_key = "resume";
protected $_model = "Wpjb_Model_Resume";
public function _exclude()
{
if($... | PHP | wp-content/plugins/wpjobboard/application/libraries/Form/Abstract/Resume.php | Sparxoo/chime | gpl-2.0 | 7,924 | 211 | codeparrot/github-code |
3279a6332319a918d44e9407941b2fe677bac706154be6b18df89b150dee9303 | /*
* This file is part of PowerDNS or dnsdist.
* Copyright -- PowerDNS.COM B.V. and its contributors
*
* 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.
*
* In addition, for t... | C++ | pdns/packetcache.cc | grahamhayes/pdns | gpl-2.0 | 12,146 | 462 | codeparrot/github-code |
4640f4643f3244717c1a44a37a4e59432d5a57df63b55de8b27d61b386d56fdb | // TransformPatternDlg.cpp : implementation file
#include <psycle/host/detail/project.private.hpp>
#include "TransformPatternDlg.hpp"
#include "Song.hpp"
#include "ChildView.hpp"
#include "MainFrm.hpp"
namespace psycle { namespace host {
static const char notes[12][3]={"C-","C#","D-","D#","E-","F-","F#","G-","G#","A... | C++ | psycle/src/psycle/host/TransformPatternDlg.cpp | eriser/psycle | gpl-2.0 | 9,403 | 255 | codeparrot/github-code |
9798084327861db450be1a5aeaa866679c0e719b7008a2b02b35c2c5174c5f44 | /* ========================================================================
* Bootstrap: alert.js v3.0.3
* http://getbootstrap.com/javascript/#alerts
* ========================================================================
* Copyright 2013 Twitter, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "L... | JavaScript | js/bootstrap.js | nick144/Tournaments | gpl-2.0 | 36,381 | 1,181 | codeparrot/github-code |
ec59f039b5176ccd77ab03b4b0199cd66c3dbefafee4d1d8c14f995046b06e20 | {- hpodder component
Copyright (C) 2006 John Goerzen <jgoerzen@complete.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 of the License, or
(at your option) any later version.
T... | Haskell | FeedParser.hs | jgoerzen/hpodder | gpl-2.0 | 6,088 | 174 | codeparrot/github-code |
e8e1489421c650041b1f26edc531071849354ab50d5940af68df8b7dc0284677 | <?php
/* Icinga Web 2 | (c) 2013-2015 Icinga Development Team | GPLv2+ */
namespace Icinga\Module\Monitoring\DataView;
class Contactgroup extends DataView
{
/**
* {@inheritdoc}
*/
public function isValidFilterTarget($column)
{
if ($column[0] === '_' && preg_match('/^_(?:host|service)_/',... | PHP | modules/monitoring/library/Monitoring/DataView/Contactgroup.php | yodaaut/icingaweb2 | gpl-2.0 | 2,396 | 90 | codeparrot/github-code |
1eb4c14542fe2481e582ab2d5f898c4b928d8e2059bd44b6de938ed4d13e6849 | /////////////////////////////////////////////////////////////////////////////
// Name: imagpnm.h
// Purpose: wxImage PNM handler
// Author: Sylvain Bougnoux
// RCS-ID: $Id: imagpnm.h,v 1.1 1999/12/15 22:37:51 VS Exp $
// Copyright: (c) Sylvain Bougnoux
// Licence: wxWindows licence
// Modifie... | C | examples/Edison_Mean_Shift/GUI/BgImagPNM.h | gr4viton/vutbr_mpov_terrain | gpl-2.0 | 1,299 | 45 | codeparrot/github-code |
161c0ebfefb48e6f2f5e0fa808b031bfbc749a253c782ac734a24f72a71e4716 | <h2><?php print $node->title; ?></h2>
<h3><?php print content_format('field_subtitle', $field_subtitle[0]); ?></h3>
<? print l('Back', 'node/'.$node->field_case_project[0]['nid'], array('html'=>TRUE, 'attributes'=>array('class'=>'back-link'))); ?>
<? print content_format('field_case_intro_title', $field_case_intro_ti... | PHP | 2012/themes/garland/node-case_study.tpl.php | iTTemple/html | gpl-2.0 | 2,796 | 66 | codeparrot/github-code |
be2fc36ce28d382dc88499986a897fc69bdafa1a468f90c17f248e1bed7663b5 | package ms.aurora.browser.wrapper;
import org.apache.log4j.Logger;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import org.w3c.tidy.Tidy;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.transf... | Java | src/main/java/ms/aurora/browser/wrapper/HTML.java | rvbiljouw/aurorabot | gpl-2.0 | 3,499 | 99 | codeparrot/github-code |
7bd0033b819520103c552850e5312ba130c394a806bcf4721874efa6c6b2e1a9 | <html>
<head>
<title>Transverse Ray Aberration Diagram</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="generator" content="HelpNDoc Personal Edition 4.3.1.364">
<link type="text/css" rel="stylesheet" media="all" href="css/reset.css" />
<link type="text/css" rel="styl... | HTML | 7.Documentation_Package/Programming_and_Algorithms_Reference/Build html documentation/TransverseRayAberrationDiagram.html | IAPJena/ProjectOne | gpl-2.0 | 2,987 | 78 | codeparrot/github-code |
9fec5a9b35114e6313fec06e50289104bdb5665a8bc9f467cd9317db172dba84 | <?php
class grid_assignments_progress{
private $db = false;
private $user;
private $edit_color = '#FFFFFF';
public function __construct(){
$this->db = Connection::getDB();
$this->user = new administrator();
if($this->user->role=='pupil' || $this->user->role=='parent'){
... | PHP | connectors/grid_assignments_progress.php | ya6adu6adu/schoolmule | gpl-2.0 | 30,338 | 508 | codeparrot/github-code |
ececa705616090f8cf7c0eb7057ce7e5db3e8cd959fb8c4c0b1e70238d1ae781 | /*
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
* s_misc.c: Yet another miscellaneous functions file.
*
* Copyright (C) 2002 by the past and present ircd coders, and others.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Publi... | C | src/s_misc.c | codemstr/eircd-hybrid | gpl-2.0 | 3,996 | 171 | codeparrot/github-code |
80a33db2887344756582438be64d47f9d9d8df87de508d3d3f7ffdf927eb74a8 | /*
sort.c
Ruby/GSL: Ruby extension library for GSL (GNU Scientific Library)
(C) Copyright 2001-2006 by Yoshiki Tsunesada
Ruby/GSL is free software: you can redistribute it and/or modify it
under the terms of the GNU General Public License.
This library is distributed in the hope that it will be useful, b... | C | ext/gsl/sort.c | iliya-gr/rb-gsl | gpl-2.0 | 7,112 | 209 | codeparrot/github-code |
3629f0f69117cb693c73a21d2548ef61c6bf74e0bae4ff0a175958407f6b93bc | /*
* This file is part of Soprano Project.
*
* Copyright (C) 2007-2010 Sebastian Trueg <trueg@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 the Free Software Foundation; either
* version 2 of the... | C++ | server/servercore.cpp | KDE/soprano | gpl-2.0 | 7,513 | 288 | codeparrot/github-code |
b8a4a45291395fbafe84487f79cedccf2536ea9ce55d602271c511d07655197e | package com.greenpineyu.fel.function.operator;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.greenpineyu.fel.Ex... | Java | expr-fel-import/src/main/java/com/greenpineyu/fel/function/operator/Dot.java | zbutfly/albacore | gpl-2.0 | 7,181 | 228 | codeparrot/github-code |
c6a82c83859791091e7e8936ee80d881d20684403d22be90f12ed3b3d624efe8 | --リトマスの死儀式
function c8955148.initial_effect(c)
aux.AddRitualProcGreaterCode(c,72566043)
--to deck
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_TODECK+CATEGORY_DRAW)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_GRAVE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCountLimit(1,8955148)
e1:Set... | Lua | c8955148.lua | destdev/ygopro-scripts | gpl-2.0 | 1,444 | 39 | codeparrot/github-code |
b47af967ccb85554e0c95df1673848eec44610b7dad33fc1aa8f0b471b6b9b4c | /* *****************************************************************************
* The method lives() is based on Xitari's code, from Google Inc.
*
* 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 Soft... | C++ | src/games/supported/ChopperCommand.cpp | mgbellemare/Arcade-Learning-Environment | gpl-2.0 | 5,077 | 159 | codeparrot/github-code |
787bd869cfe77cdc0135a851490511fa7a200258a4740f51d6ab918610fff760 | package gui;
import java.awt.Color;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.List;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JTable;
import javax.swing.ListSelectionModel;
import... | Java | Game/src/main/java/gui/ListPlayers.java | Arquisoft/Trivial_i1b | gpl-2.0 | 4,299 | 158 | codeparrot/github-code |
a025d0263e2ded36a1be9bd1ee3295d9a12c9fab83dad3ab47ca01ec7c979d5a | <?php
/**
* @package JFBConnect
* @copyright (c) 2009-2015 by SourceCoast - All Rights Reserved
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
* @version Release v7.1.1
* @build-date 2016/11/18
*/
defined('JPATH_PLATFORM') or die;
jimport('joomla.form.helper');
class... | PHP | administrator/components/com_jfbconnect/models/fields/providerloginbutton.php | Creativetech-Solutions/joomla-easysocial-network | gpl-2.0 | 3,688 | 103 | codeparrot/github-code |
83e67d9a27f379d844b45fbc4b38defa5cb1d4edade8029615ace41e39e2ba95 | package org.oguz.servlet;
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.ServletContext;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebInitParam;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpS... | Java | src/org/oguz/servlet/XMLServlet.java | ogz00/Servlet-SimpleServletProject | gpl-2.0 | 2,759 | 90 | codeparrot/github-code |
6f802a9866188681ce71eb4b04d9d35b520e56da1971625e85ba0eef65f4d14b | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en">
<head>
<meta name="description" content="Dubstep indie music">
<meta name="keywords" content="dubstep, superman, indie, hollywood, maryland, soundtrack, a boy named su, ... | HTML | soundcloud/heart/index.html | sudocoda/boynamedsumusic.com | gpl-2.0 | 9,570 | 266 | codeparrot/github-code |
93da6aff96aec95dfe5afa23653e60e86a66cfb0d498ea24ea512aed1307844d | // **********************************************************************
//
// 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.
//
// ***************************************************... | C | cpp/src/IceGrid/AdminSessionI.h | ljx0305/ice | gpl-2.0 | 5,095 | 153 | codeparrot/github-code |
02fc91776f71e39b182f456d6739fe6849e2fdc6da10a014f01d492ffda69380 | package fr.npellegrin.xebia.mower.parser.model;
/**
* Parsed position.
*/
public class PositionDefinition {
private int x;
private int y;
private OrientationDefinition orientation;
public int getX() {
return x;
}
public void setX(final int x) {
this.x = x;
}
public int getY() {
return y;
}
public... | Java | src/main/java/fr/npellegrin/xebia/mower/parser/model/PositionDefinition.java | npellegrin/MowItNow | gpl-2.0 | 550 | 36 | codeparrot/github-code |
1cc01d66acadc7273c7538abff384502790b0c7bc9302c65409e217fb94a2eb6 | /****************************************************************************
**
** This file is part of the Qtopia Opensource Edition Package.
**
** Copyright (C) 2008 Trolltech ASA.
**
** Contact: Qt Extended Information (info@qtextended.org)
**
** This file may be used under the terms of the GNU General Public Licen... | C++ | src/libraries/qtopia/qmimetypedata.cpp | muromec/qtopia-ezx | gpl-2.0 | 8,816 | 319 | codeparrot/github-code |
162b29a2bea3515f452046875cb8fc633ce7a649998cdb1a308aaaf953e31927 | /* frame_data.c
* Routines for packet disassembly
*
* $Id$
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <gerald@wireshark.org>
* Copyright 1998 Gerald Combs
*
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as pu... | C | epan/frame_data.c | sstjohn/wireshark | gpl-2.0 | 9,594 | 335 | codeparrot/github-code |
06db356409804354c47e18862a75e96ff61b2eb1fc8bec34f2d301ba22195539 | package org.iproduct.iptpi.domain.movement;
import static java.lang.Math.PI;
import static java.lang.Math.abs;
import static java.lang.Math.atan;
import static java.lang.Math.cbrt;
import static java.lang.Math.cos;
import static java.lang.Math.hypot;
import static java.lang.Math.min;
import static java.lang.M... | Java | iptpi-demo/src/main/java/org/iproduct/iptpi/domain/movement/MovementCommandSubscriber.java | iproduct/course-social-robotics | gpl-2.0 | 25,456 | 595 | codeparrot/github-code |
fe77a0a81f40b78e6c32cffb55cd948783389363ceb766a1cdc0a56eefe6f030 | package cn.ac.iscas.cloudeploy.v2.puppet.transform.ast;
import java.util.List;
public class ASTCollExpr extends ASTBase{
private Object test1;
private Object test2;
private String oper;
private List<Object> children;
private String form;
private String type;
public Object getTest1() {
return test1;
}
publi... | Java | script-service/src/main/java/cn/ac/iscas/cloudeploy/v2/puppet/transform/ast/ASTCollExpr.java | xpxstar/Cloudeploy | gpl-2.0 | 941 | 49 | codeparrot/github-code |
62e985e303f54d010a579a393f5c8e81bba12847f14ab1a054f6a46a0b222eea | /*
* Copyright (C) 2011 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | Java | packages/apps/Launcher2/src/com/android/launcher2/Cling.java | rex-xxx/mt6572_x201 | gpl-2.0 | 11,008 | 272 | codeparrot/github-code |
d30a05109db4dab80ffdae02e4108d54f4f6251de1b65cab5537d6c2dcf8af27 | <?xml version="1.0" encoding="iso-8859-1"?>
<!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>
<!-- template designed by Marco Von Ballmoos -->
<title>Docs for page default.php</title>
... | HTML | Joomla-Site/com_content/_components---com_content---views---featured---tmpl---default.php.html | asika32764/Joomla-CMS-API-Document | gpl-2.0 | 3,794 | 115 | codeparrot/github-code |
7d9e0b6f828e9c7d4a7c77e553ceab3720f13643a8440bc02eb877dd66be7919 | package rb;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Random;
import java.util.Timer;
import java.util.TimerTask;
import javax.persistence.TypedQuery;
import rb.helpers.ClassificationResult;
import rb.helpers.DBHandler;
import rb.helpers.StemmerHelper;
import ... | Java | src/rb/Poster.java | elggem/redditbot | gpl-2.0 | 11,681 | 389 | codeparrot/github-code |
fdb9529ba98361061440a81ed62c568f031bcbf879b078b7a00bc187fdfe78fc | using System;
using Server.Misc;
using Server.Network;
using System.Collections;
using Server.Items;
using Server.Targeting;
namespace Server.Mobiles
{
public class KhaldunZealot : BaseCreature
{
public override bool ClickTitle{ get{ return false; } }
public override bool ShowFameTitle{ get{ return false; } }
... | C# | scripts/legacy/Mobiles/Monsters/Humanoid/Melee/KhaldunZealot.cs | brodock/sunuo | gpl-2.0 | 3,472 | 153 | codeparrot/github-code |
fdcb6b3038c9e01dcc9b8f8aa87121481cd81a19712a12e67ea820975c599c61 | <?php
/**
* WordPress CRON API
*
* @package WordPress
*/
/**
* Schedules a hook to run only once.
*
* Schedules a hook which will be executed once by the Wordpress actions core at
* a time which you specify. The action will fire off when someone visits your
* WordPress site, if the schedule time h... | PHP | wp-includes/cron.php | pravinhirmukhe/flow1 | gpl-2.0 | 11,000 | 372 | codeparrot/github-code |
c6d2c8136500199ace3ed6d03b84af790d8f679ab01781a8ddcbeacdeeb071b2 | #!/usr/bin/env python
## tumblrserv.py implements a Tumblr (http://www.tumblr.com) markup parsing
## engine and compatible webserver.
##
## Version: 0.2 final
##
## Copyright (C) 2009 Jeremy Herbert
## Contact mailto:jeremy@jeremyherbert.net
##
## This program is free software; you can redistribute i... | Python | tumblrserv.py | jeremyherbert/TumblrServ | gpl-2.0 | 3,373 | 93 | codeparrot/github-code |
befb8194fe407fda0f9782b4c9e2905f1ea8f341da5fae189616dc0cebf64b39 | package pf::Switch::Motorola;
=head1 NAME
pf::Switch::Motorola
=head1 SYNOPSIS
The pf::Switch::Motorola module implements an object oriented interface to
manage Motorola RF Switches (Wireless Controllers)
=head1 STATUS
Developed and tested on RFS7000 running OS release 4.3.0.0-059R,
and RFS6000 running OS 5.2.0.0... | Perl | lib/pf/Switch/Motorola.pm | jrouzierinverse/packetfence | gpl-2.0 | 6,574 | 268 | codeparrot/github-code |
87889041d02508b9a379136128450f330ca4d29855c838f03856de924387c6f2 | /*
* Copyright 2006-2016 The MZmine 3 Development Team
*
* This file is part of MZmine 3.
*
* MZmine 3 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 opti... | Java | src/main/java/io/github/mzmine/util/FileNameUtil.java | DrewG/mzmine3 | gpl-2.0 | 2,482 | 79 | codeparrot/github-code |
c2e82cfc1f5a2988936c9a2f81eda956de623656d6a9ec266c82de2dfd8884e2 | /*
PHYML : a program that computes maximum likelihood phylogenies from
DNA or AA homologous sequences
Copyright (C) Stephane Guindon. Oct 2003 onward
All parts of the source except where indicated are distributed under
the GNU public licence. See http://www.opensource.org for details.
*/
#include <config.h>
... | C | src/io.h | hedjour/phyml | gpl-2.0 | 4,313 | 98 | codeparrot/github-code |
6f3e2e889ce35498e3c247e7a87435d353aa595463e6ffce826072c5f50f47b2 | /*
* computeOnsetFeatures.c
*
* Code generation for function 'computeOnsetFeatures'
*
* C source code generated on: Fri Apr 25 23:35:45 2014
*
*/
/* Include files */
#include "rt_nonfinite.h"
#include "computeOnsetFeatures_export.h"
/* Type Definitions */
#ifndef struct_emxArray__common
#define struct_emxArray... | C | birdID/Source/Export/computeOnsetFeatures_export.c | aneeshvartakavi/birdID | gpl-2.0 | 74,844 | 2,964 | codeparrot/github-code |
c292b15dac6b1ba6f4e02a375c46b09c690f1b52cf7413a6611d8f1262ed1044 | /*
* Copyright (C) 2016, 2017 by Rafael Santiago
*
* This is a free software. You can redistribute it and/or modify under
* the terms of the GNU General Public License version 2.
*
*/
#include <cpu/itp/itp0.h>
#include <ctx/ctx.h>
#include <vid/vid.h>
unsigned short itp0_gate(const unsi... | C | src/cpu/itp/itp0.c | rafael-santiago/CP-8 | gpl-2.0 | 777 | 34 | codeparrot/github-code |
f65478fa6156a8edb781f497f8d09491236b4014707c77167b7f8ae979e232e8 | package nl.pelagic.musicTree.flac2mp3.cli;
import java.io.BufferedReader;
import java.io.File;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintStream;
import java.nio.file.Files;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.concurrent.atomic.... | Java | nl.pelagic.musicTree.flac2mp3.cli/src/nl/pelagic/musicTree/flac2mp3/cli/Main.java | fhuberts/musicTreePrograms | gpl-2.0 | 15,761 | 519 | codeparrot/github-code |
525403bb1eca33dd92b2efed8f7075308174d9639c1adc9e18a407aa80c18cec | --真竜皇リトスアジムD
function c30539496.initial_effect(c)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(30539496,0))
e1:SetCategory(CATEGORY_DESTROY+CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_HAND)
e1:SetCountLimit(1,30539496)
e1:SetTarget(c30539496.... | Lua | c30539496.lua | Fluorohydride/ygopro-scripts | gpl-2.0 | 4,088 | 105 | codeparrot/github-code |
7987038ade561d878be4dd997dc6acd65187b314921f89325c7168d2eb2f7814 | /**
* \file ApplyMaskImageFilterParallel.h
* \brief Definition of the thelib::ApplyMaskImageFilterParallel class.
*/
#ifndef THELIB_APPLYMASKIMAGEFILTERPARALLEL_H
#define THELIB_APPLYMASKIMAGEFILTERPARALLEL_H
// ITK
#include <itkImageToImageFilter.h>
// namespace
namespace thelib
{
/**
* \brief Mask ... | C | TheLib/include/ApplyMaskImageFilterParallel.h | ivmartel/semex | gpl-2.0 | 2,279 | 83 | codeparrot/github-code |
98557cadaee02faba00ecaca413c1073544d97c996a24c463510c35ffb3903f4 | package ch.dritz.remedy2redmine;
import java.io.File;
import java.io.IOException;
import ch.dritz.common.Config;
import ch.dritz.remedy2redmine.modules.SyncModule;
/**
* Main class for Remedy2Redmine
* @author D.Ritz
*/
public class Main
{
private static void usage(String msg)
{
if (msg != null)
System.ou... | Java | java/src/main/java/ch/dritz/remedy2redmine/Main.java | dr-itz/redmine_remedy_view | gpl-2.0 | 1,560 | 67 | codeparrot/github-code |
a3834e05735db033e92aa256514568bc47be45ac7fdba92ad48472f0a1284207 | <?php
/*------------------------------------------------------------------------
# com_universal_ajaxlivesearch - Universal AJAX Live Search
# ------------------------------------------------------------------------
# author Janos Biro
# copyright Copyright (C) 2011 Offlajn.com. All Rights Reserved.
# @license - h... | PHP | components/com_universal_ajax_live_search/helpers/caching.php | knigherrant/decopatio | gpl-2.0 | 2,863 | 89 | codeparrot/github-code |
19fa84a61bb6eb743628b42c195e6799aed967796a866bbfa2be7e7531da5553 | <?php
/*
+---------------------------------------------------------------------------+
| OpenX v2.8 |
| ========== |
| ... | PHP | www/api/v2/common/BasePublisherService.php | soeffing/openx_test | gpl-2.0 | 2,377 | 60 | codeparrot/github-code |
99726a613c3375576492ce9d88ff70a69b023e6f92a33a128e6e2ff7961d998d | /***************************************************************************
qgsgeometryduplicatenodescheck.cpp
---------------------
begin : September 2015
copyright : (C) 2014 by Sandro Mani / Sourcepole AG
email : smani at sourcepole dot ch
**************... | C++ | src/plugins/geometry_checker/checks/qgsgeometryduplicatenodescheck.cpp | GeoCat/QGIS | gpl-2.0 | 4,484 | 123 | codeparrot/github-code |
805929592fcabb30c79275f355541e9193588afb39a425f28109eb3278a0b767 | 'use strict';
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.definePrope... | JavaScript | lib/index.js | uraway/markov-chain-mecab | gpl-2.0 | 3,361 | 122 | codeparrot/github-code |
87a2c263d61f6c664e4d174d60f5b895ea7251637527cf60de973be29ec4a62d | /*
* Read flash partition table from command line
*
* Copyright © 2002 SYSGO Real-Time Solutions GmbH
* Copyright © 2002-2010 David Woodhouse <dwmw2@infradead.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
... | C | drivers/mtd/cmdlinepart.c | de-wolff/android_kernel_motorola_xt320 | gpl-2.0 | 10,216 | 396 | codeparrot/github-code |
c3e95938482fa40e3c4ae6b2f231fd5bed47706a70e59d54d8eda44d1e79e5c9 |
#ifndef SC_BOOST_MPL_BOOL_HPP_INCLUDED
#define SC_BOOST_MPL_BOOL_HPP_INCLUDED
// Copyright Aleksey Gurtovoy 2000-2004
//
// Distributed under 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)
//
// See http://www.boost.org/libs/mpl... | C++ | systemc-2.3.0_modified/src/sysc/packages/boost/mpl/bool.hpp | channgo2203/MAG | gpl-2.0 | 1,115 | 40 | codeparrot/github-code |
af5d2c5422681beba14160ea6f4672781993f471cc64e7c9c3dbb726352d594b | #ifndef TPPROTO_COMMANDPARAMETER_H
#define TPPROTO_COMMANDPARAMETER_H
/* CommandParameter Classes
*
* Copyright (C) 2008 Aaron Mavrinac and the Thousand Parsec 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... | C | tpproto/commandparameter.h | thousandparsec/libtpproto-cpp | gpl-2.0 | 3,144 | 112 | codeparrot/github-code |
6c305427c48210829358fff25d0a63de0045a38fc9cc5ea7d533e62512107e9e | /*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A P... | C | testcases/open_posix_testsuite/conformance/interfaces/shm_open/14-2.c | anthony-kolesov/arc_ltp | gpl-2.0 | 2,192 | 81 | codeparrot/github-code |
ab7e6c6fc53cb94fab29fb0fa734080becc60bfa7d7c4be21119e446fd18c7a9 | /***************************************************************************
* Copyright (C) 2012 by David Edmundson <kde@davidedmundson.co.uk> *
* *
* This program is free software; you can redistribute it and/or modify *
* it unde... | C++ | logviewer/message-view.cpp | Ziemin/ktp-text-ui | gpl-2.0 | 9,205 | 244 | codeparrot/github-code |
09e9ff5c03fbe90ce4088dd09ec2620cab5085da2c1120ea6c965b59ccd68212 | <?php
include("config_mynonprofit.php");
include("connect.php");
//Start session
session_start();
//Array to store validation errors
$errmsg_arr = array();
//Validation error flag
$errflag = false;
//Sanitize the POST values
$fname = htmlentities($_POST['fname']);
$lname = htmlentities($_POST['lname']);
$email = h... | PHP | register-exec.php | Enjabain/My-NP | gpl-2.0 | 3,724 | 116 | codeparrot/github-code |
8bf9a211909d007f29a8df2714b5bcbf38f9d56043c10c12597cc6dec1b3522e | /* OS134, Copyright (C) 2005, Benjamin Stein, Jaap Weel, Ting Liao --
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 prog... | C | loader.c | jaapweel/os134 | gpl-2.0 | 3,002 | 92 | codeparrot/github-code |
e28c751a6d79472c1c326daea957b960b1ba90175d1042e24b5b9248452b768d | /**************************************************
* Funkcje związane z geolokalizacją GPS
**************************************************/
WMB.Comment = {
/**
* Funkcja dodająca nowy komentarz do zgłoszenia
*
* @method onAddSubmit
*/
onAddSubmit: function(marker_id) {
if (WMB.User.isLoggedIn()) {
if ($(... | JavaScript | web/lib/js/wmb.comment.js | airwaves-pl/WroclawskaMapaBarier | gpl-2.0 | 5,940 | 192 | codeparrot/github-code |
193c7dadf921c3a1d6ce626213f1529005d87d1715b8dc3ed47fe943b0f4f209 | /***********************************************
* Author: Alexander Oro Acebo
* Date: 01/22/2015
* Description: Change current dir
* ********************************************/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <sys/shm.h>
#include "../include/Root... | C | package/cd/cd.c | pappacurds/csi385-FAT12-OS | gpl-2.0 | 7,028 | 299 | codeparrot/github-code |
3f290bf1831529b473ac9ce82c5402ad27132f1b0d399a83bcf82275c80e7e51 | # -*- coding: utf-8 -*-
from scrapy.spider import Spider
from scrapy.selector import Selector
from kgrants.items import KgrantsItem
from scrapy.http import Request
import time
class GrantsSpider(Spider):
name = "grants"
allowed_domains = ["www.knightfoundation.org"]
pages = 1
base_url = 'http://www.k... | Python | kgrants/spiders/grants.py | poderomedia/kfdata | gpl-2.0 | 3,682 | 88 | codeparrot/github-code |
8ab2b1d7e98ecaf9655a99d9a5173aa5d155538826d7dd1d2f62661c85448696 | /**
*
*/
package co.innovate.rentavoz.services.almacen.impl;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import co.innovate.rentavoz.model.Tercero;
import co.innovate.rentav... | Java | src/main/java/co/innovate/rentavoz/services/almacen/impl/CuotaServiceImpl.java | kaisenlean/rentavoz3 | gpl-2.0 | 2,414 | 78 | codeparrot/github-code |
2d8b2af834e5a3cbbe5a0cc557c63a094deb2e38bafefa5fc80c60ca1a0eba89 | ;(function() {
/** Used to access the Firebug Lite panel (set by `run`). */
var fbPanel;
/** Used as a safe reference for `undefined` in pre ES5 environments. */
var undefined;
/** Used as a reference to the global object. */
var root = typeof global == 'object' && global || this;
/** Method and objec... | JavaScript | js/bower_components/lodash/perf/perf.js | Great-Bee/NVWA-Client | gpl-2.0 | 60,255 | 2,104 | codeparrot/github-code |
4f0af29bfe33ae12effcf0584ec3c9c62ece89dcf32b8b4b16be929d76cfccdb | /*
* Copyright (C) 2010 Xavier Claessens <xclaesse@gmail.com>
* Copyright (C) 2010 Collabora Ltd.
*
* 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 (... | C | src/service.c | freedesktop-unofficial-mirror/telepathy__telepathy-ssh-contact | gpl-2.0 | 5,471 | 203 | codeparrot/github-code |
bc76a630e71e6edc07202b736e646cdf4f03f77a9aefa90153d9d33d10788683 | /*
Behaviour v1.1 by Ben Nolan, June 2005. Based largely on the work
of Simon Willison (see comments by Simon below).
Small fixes by J.Dobrowolski for Front Accounting May 2008
Description:
Uses css selectors to apply javascript behaviours to enable
unobtrusive javascript in html documents.
... | JavaScript | js/behaviour.js | w2pc/front_accounting | gpl-2.0 | 8,278 | 260 | codeparrot/github-code |
37ef4a6808bec0064e2e7fd71aac3888667fef2994fd76e4d79571b937b88b0d | /*****************************************************************************
* macroblock.c: macroblock encoding
*****************************************************************************
* Copyright (C) 2003-2017 x264 project
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
* Loren Merritt <lorenm@u.... | C | encoder/macroblock.c | kodabb/x264 | gpl-2.0 | 57,854 | 1,400 | codeparrot/github-code |
e387f180be286e10e7bb5469a92a62fa46cf04953a86bd3725f40c8709919e50 | /*
* SocialLedge.com - Copyright (C) 2013
*
* This file is part of free software framework for embedded processors.
* You can use it and/or distribute it as long as this copyright header
* remains unmodified. The code is free for personal use and requires
* permission to use in a commer... | C | firmware/default/lib/L2_Drivers/src/can.c | kammce/SJSU-DEV-Linux | gpl-2.0 | 36,142 | 946 | codeparrot/github-code |
420b2ec66c411da0dda522b8d63f8d7b19cd7ed09b442809712c81feea4f52b6 | <?php
/*
* acf_get_setting
*
* This function will return a value from the settings array found in the acf object
*
* @type function
* @date 28/09/13
* @since 5.0.0
*
* @param $name (string) the setting name to return
* @return (mixed)
*/
function acf_get_setting( $name, $default = null ) {
// vars
$settin... | PHP | wp-content/plugins/advanced-custom-fields-pro/api/api-helpers.php | thomasbodin/baltazare-test | gpl-2.0 | 54,764 | 3,397 | codeparrot/github-code |
7b977c915df55e8f168ae00efc3af2c0070cec93fb208a62de2e6186cf544fb7 | <?php
/**
* AmanCMS
*
* LICENSE
*
* This source file is subject to the GNU GENERAL PUBLIC LICENSE Version 2
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://www.gnu.org/licenses/gpl-2.0.txt
* If you did not receive ... | PHP | application/modules/news/services/Rss.php | salem/aman | gpl-2.0 | 4,158 | 128 | codeparrot/github-code |
b338ef8e51a47455853d5a29c1ef3b18176276d8e9227c78042b9012868a4745 | /*
* Copyright (c) 2000-2002,2005 Silicon Graphics, Inc.
* Copyright (c) 2008 Dave Chinner
* 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.
*
* This program is d... | C | fs/xfs/xfs_trans_ail.c | Scorpio92/linux_kernel_3.16.1 | gpl-2.0 | 20,742 | 798 | codeparrot/github-code |
3adc5528504704c7b2ef812e55710f9641736095da1ee5742dc0b0948e3ee8b6 | {- |
Module : $EmptyHeader$
Description : <optional short description entry>
Copyright : (c) <Authors or Affiliations>
License : GPLv2 or higher, see LICENSE.txt
Maintainer : <email>
Stability : unstable | experimental | provisional | stable | frozen
Portability : portable | non-portable (<reason>... | Haskell | GMP/versioning/gmp-0.0.1/GMP/Main.hs | nevrenato/Hets_Fork | gpl-2.0 | 3,633 | 95 | codeparrot/github-code |
8ea9e305537ee36b9227d5268e65a8b8a3943311e8a4fd30461544d93b4a22a3 | <?php
/**
* Plugin Installer List Table class.
*
* @package WordPress
* @subpackage List_Table
* @since 3.1.0
* @access private
*/
class WP_Plugin_Install_List_Table extends WP_List_Table {
function ajax_user_can() {
return current_user_can('install_plugins');
}
function prepare_items() {
include( ABSPA... | PHP | wp-admin/includes/class-wp-plugin-install-list-table.php | igum/www.gamer31.ru | gpl-2.0 | 7,865 | 229 | codeparrot/github-code |
03ed92cadf45c776b4e217b994a5a857ab15eb790ca86aa8ce1613f8f653f56e | package com.ues21.ferreteria.login;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import javax.servlet.http.HttpSession;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springf... | Java | src/main/java/com/ues21/ferreteria/login/LoginController.java | srubbiolo/SYSO | gpl-2.0 | 2,293 | 71 | codeparrot/github-code |
152669ba8ee6576612be1f29b90aa151e1713a1781746ba3362767ea0d164ee9 | /* Copyright (C) 2014 InfiniDB, Inc.
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,
but W... | C++ | versioning/BRM/sessionmanagerserver.cpp | mariadb-corporation/mariadb-columnstore-engine | gpl-2.0 | 10,706 | 435 | codeparrot/github-code |
3ef3adc9b13259b20ced230fd732a8e17adbceacb7c52daf04a3c3ffe4c6e3f6 | package org.adempiere.impexp.impl;
/*
* #%L
* de.metas.adempiere.adempiere.base
* %%
* 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 ... | Java | de.metas.business/src/main/java/org/adempiere/impexp/impl/ImportProcessFactory.java | klst-com/metasfresh | gpl-2.0 | 5,016 | 137 | codeparrot/github-code |
21315b6d76571f722ac5377234e88cdf5f63f84de02b9bbae45c98b86db6ed0b | #pragma once
#include <MellowPlayer/Presentation/Notifications/ISystemTrayIcon.hpp>
#include <QMenu>
#include <QSystemTrayIcon>
namespace MellowPlayer::Domain
{
class ILogger;
class IPlayer;
class Setting;
class Settings;
}
class SystemTrayIconStrings : public QObject
{
Q_OBJECT
public:
QStri... | C++ | src/lib/presentation/include/MellowPlayer/Presentation/Notifications/SystemTrayIcon.hpp | ColinDuquesnoy/MellowPlayer | gpl-2.0 | 1,712 | 74 | codeparrot/github-code |
6187e90d4feca19139cb91072ea03d5c558fea479b063b36b162ac4cd4569868 | /*
* ecgen, tool for generating Elliptic curve domain parameters
* Copyright (C) 2017-2018 J08nY
*/
#include "hex.h"
#include "exhaustive/arg.h"
#include "field.h"
#include "util/bits.h"
#include "util/memory.h"
#include "util/str.h"
static char *hex_point(point_t *point) {
GEN fx = field_elementi(gel(point->point... | C | src/gen/hex.c | J08nY/ecgen | gpl-2.0 | 3,044 | 124 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.