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 |
|---|---|---|---|---|---|---|---|---|
bbf3b7688376ec733b9beed93545301991749b4ce358f2cc4f8e50f2a636c529 | <?php
function edd_rp_settings( $settings ) {
$suggested_download_settings = array(
array(
'id' => 'edd_rp_header',
'name' => '<strong>' . __('Recommended Products', 'edd-rp-txt') . '</strong>',
'desc' => '',
'type' => 'header',
'size' => 'regular'
),
array(
'id' => 'edd_rp_display_single... | PHP | wp-content/plugins/edd-recommended-products/includes/settings.php | SelaInc/eassignment | gpl-2.0 | 2,572 | 83 | codeparrot/github-code |
87f7d232423f0652c2f027967b18e14de553c59da8684d69d6f3bb518f691c98 | /**
* OWASP Benchmark Project v1.1
*
* This file is part of the Open Web Application Security Project (OWASP)
* Benchmark Project. For details, please see
* <a href="https://www.owasp.org/index.php/Benchmark">https://www.owasp.org/index.php/Benchmark</a>.
*
* The Benchmark is free software: you can redistribute it and/... | Java | src/main/java/org/owasp/benchmark/testcode/BenchmarkTest06598.java | iammyr/Benchmark | gpl-2.0 | 2,819 | 72 | codeparrot/github-code |
8aa839d574913b2610e2d09cbf2000eb423d76616305cfb8783de1a6081165ea | /**
* Copyright (c) 2008-2012 Indivica Inc.
*
* This software is made available under the terms of the
* GNU General Public License, Version 2, 1991 (GPLv2).
* License details are available via "indivica.ca/gplv2"
* and "gnu.org/licenses/gpl-2.0.html".
*/
package org.oscarehr.document.web;
import java.io.File;
... | Java | src/main/java/org/oscarehr/document/web/SplitDocumentAction.java | hexbinary/landing | gpl-2.0 | 8,755 | 248 | codeparrot/github-code |
1ba87cf2f7f1e21fd6287db2c9e906175ec7640ac98eb1ed69e46f652ea24b19 | <?php
if (!defined('TFUSE'))
exit('Direct access forbidden.');
/**
* Class UPDATER. Check for new versions of the theme, framework, or modules. Installs if found.
*/
class TF_UPDATER extends TF_TFUSE {
public $_the_class_name = 'UPDATER';
public $themefuse_update = false;
public $check_... | PHP | wp-content/themes/interakt-parent/framework/core/UPDATER.php | reginas/callan-consulting | gpl-2.0 | 8,320 | 201 | codeparrot/github-code |
915bc102e0b9d69d5aab3d283a99d2647c396936fa6b8d9ed5a87a60b321190a | <?php
session_start();
$_SESSION["Status"]=0;
include("dbconn.php");
require ('../xajax.inc.php');
include("../dbinfo.inc.php");
$memid=$_SESSION['userId'];
$_SESSION["userid"]=$memid;
function viewuseralbums($userid,$jumpto)
{//list all the albums owned by the user
$objResponse = new xajaxRespon... | PHP | Image_edit/SelectAlbum.php | avinash/nuzimazz | gpl-2.0 | 11,067 | 409 | codeparrot/github-code |
c0ca3a8a4171df42bc05a7fb8ab950ffb0c41dee2ca27c3b89f5a646cb783227 | package edu.ucsd.ncmir.WIB.client.core.components;
import com.google.gwt.user.client.ui.Widget;
import edu.ucsd.ncmir.WIB.client.core.message.Message;
import edu.ucsd.ncmir.WIB.client.core.message.MessageListener;
import edu.ucsd.ncmir.WIB.client.core.message.MessageManager;
import edu.ucsd.ncmir.WIB.client.core.messa... | Java | WIB/src/java/edu/ucsd/ncmir/WIB/client/core/components/HorizontalSlider.java | imclab/WebImageBrowser | gpl-2.0 | 3,160 | 162 | codeparrot/github-code |
6c064c43b66b6ee81889ba8df176bb199d50011a53c2ef19556441b06186f011 | /* linux/drivers/mmc/host/sdhci-s3c.c
*
* Copyright 2008 Openmoko Inc.
* Copyright 2008 Simtec Electronics
* Ben Dooks <ben@simtec.co.uk>
* http://armlinux.simtec.co.uk/
*
* SDHCI (HSMMC) support for Samsung SoC
*
* This program is free software; you can redistribute it and/or modify
* it under the ... | C | drivers/mmc/host/sdhci-s3c-ori.c | Android-Dongyf/itop-kernel | gpl-2.0 | 23,555 | 875 | codeparrot/github-code |
437470a3e0b75d8708833df6846baa9d9b27ae99bcc51ec66120fafb5dd65bfd | /* Copyright (c) 2009-2011, Code Aurora Forum. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the ho... | C | drivers/video/msm/mdp4_overlay_mddi.c | hiikezoe/android_kernel_fujitsu_f12nad | gpl-2.0 | 16,555 | 644 | codeparrot/github-code |
8edb6d7d9037c3845e87c10bd909dbb0fa7cb1c67efa6d0b26e4181b16cf0a1c | <?php
/**
* Template Name: Two Column, Right-Sidebar
*
* This is the most generic template file in a WordPress theme
* and one of the two required files for a theme (the other being style.css).
* It is used to display a page when nothing more specific matches a query.
* E.g., it puts together the home page when n... | PHP | page-templates/template-right-col.php | joseph-jalbert/joe_neat | gpl-2.0 | 1,499 | 59 | codeparrot/github-code |
134aa81b0a33d12dc514a975361ff84cb6fe514145753cf3e2463114fdf40e64 | package org.nla.tarotdroid.lib.helpers;
import static com.google.common.base.Preconditions.checkArgument;
import android.content.Context;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
/**
* Network and internet connexion helper class.
*/
public class ConnexionHelper {
/**
* Chec... | Java | tarotDroidUiLib/src/main/java/org/nla/tarotdroid/lib/helpers/ConnexionHelper.java | daffycricket/tarotdroid | gpl-2.0 | 1,094 | 35 | codeparrot/github-code |
70e03db6a5dbebf38cce978b689ce13382b3716f122fee569bff1552051a5b77 | <?php
class SatellitePlugin
{
var $plugin_name;
var $plugin_base;
var $pre = 'Satellite';
var $debugging = false;
var $menus = array();
var $latestorbit = 'jquery.orbit-1.3.1.js';
//var $latestorbit = 'orbit-min.js';
var $cssfile = 'orbit-css.php';
var $cssadmin = 'admin-styles.cs... | PHP | wp-content/plugins/slideshow-satellite/slideshow-satellite-plugin.php | diegorojas/encontros.maracatu.org.br | gpl-2.0 | 26,130 | 696 | codeparrot/github-code |
6f06eeceda3bf6d738873f498fa642555247e3426df9bb3ea97022d247d9d14f | # -*- coding: UTF-8 -*-
#/*
# * Copyright (C) 2011 Ivo Brhel
# *
# *
# * This Program is free software; you can redistribute it and/or modify
# * it under the terms of the GNU General Public License as published by
# * the Free Software Foundation; either version 2, or (at your option)
# * any later version.
#... | Python | resources/lib/hejbejse.py | kodi-czsk/plugin.video.hejbejse.tv | gpl-2.0 | 2,611 | 81 | codeparrot/github-code |
62a7a3ffd0f89e90b0d691d2d995971d01a1f6397301b1306aab360cbb993a96 | #
# bzr support for dpkg-source
#
# Copyright © 2007 Colin Watson <cjwatson@debian.org>.
# Based on Dpkg::Source::Package::V3_0::git, which is:
# Copyright © 2007 Joey Hess <joeyh@debian.org>.
# Copyright © 2008 Frank Lichtenheld <djpig@debian.org>
#
# This program is free software; you can redistribute it and/or modif... | Perl | scripts/Dpkg/Source/Package/V3/Bzr.pm | CharizTeam/dpkg | gpl-2.0 | 6,487 | 216 | codeparrot/github-code |
f29584cbb7b7eb8447522278175619e4446dfe33eca6235fc3980f462f774e53 | /****************************************************************************
*
* $Id: vpHinkley.cpp 4056 2013-01-05 13:04:42Z fspindle $
*
* This file is part of the ViSP software.
* Copyright (C) 2005 - 2013 by INRIA. All rights reserved.
*
* This software is free software; you can redistribute it and/or
* m... | C++ | src/math/misc/vpHinkley.cpp | thomas-moulard/visp-deb | gpl-2.0 | 9,567 | 457 | codeparrot/github-code |
ece6942b9fc0950c0923010b6750eb12628448d4ac7ef69fe64d8788737494d3 | //: containers/MapDataTest.java
package course.containers; /* Added by Eclipse.py */
import java.util.*;
import net.mindview.util.*;
import static net.mindview.util.Print.*;
class Letters implements Generator<Pair<Integer,String>>,
Iterable<Integer> {
private int size = 9;
private int number = 1;
priv... | Java | src/main/java/course/containers/MapDataTest.java | fengzhongdege/TIJ4 | gpl-2.0 | 1,677 | 50 | codeparrot/github-code |
4057ac502310c3edfa5e9345b1b7b5e21b5cc769c446a01055502a0bb80f6885 | import os
import sys
import shutil
import binascii
import traceback
import subprocess
from win32com.client import Dispatch
LAUNCHER_PATH = "C:\\Program Files\\Augur"
DATA_PATH = os.path.join(os.path.expanduser('~'), 'AppData', 'Roaming', "Augur")
PASSFILE = os.path.join(DATA_PATH, "password.txt")
if getattr(sys, 'fro... | Python | Augur Installer.py | AugurProject/augur-launcher | gpl-2.0 | 2,932 | 93 | codeparrot/github-code |
f7a0c96652019992a3cac567ce60cee4554517fbb4fab7194b5bdf6d2460c516 | var express = require('express'),
formidable = require('formidable'),
imgur = require('imgur'),
fs = require('fs'),
url = require('url'),
bodyParser = require('body-parser'),
router = express.Router(),
uuid = require('node-uuid'),
db = require('../lib/database'),
tools = require('../... | JavaScript | routes/api.js | luigiplr/imgSnap-backend | gpl-2.0 | 2,487 | 93 | codeparrot/github-code |
eab2aab2228df0ea8bfc7b90e7c8e0c89434246310280eaf08a2955773f1df88 | var UniteNivoPro = new function() {
var t = this;
var containerID = "slider_container";
var container, arrow_left, arrow_right, bullets_container;
var caption_back, caption_text;
var bulletsRelativeY = "";
/**
* show slider view error, hide all the elements
*/
t.showSliderViewErr... | JavaScript | administrator/components/com_nivosliderpro/assets/nivopro.js | VS-Studio3/build | gpl-2.0 | 22,978 | 824 | codeparrot/github-code |
678442dbf8402c38ae06f218f8f20f8e45d1250f27765c37d3f483b01fb5b9c3 | /*
* Copyright (C) 2013-2019 52°North Initiative for Geospatial Open Source
* Software GmbH
*
* 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.
*
* If the program is linked with ... | Java | spi/src/main/java/org/n52/series/spi/geo/TransformationService.java | ridoo/series-rest-api | gpl-2.0 | 3,636 | 94 | codeparrot/github-code |
2459441decb3ecf5fa1052de75b520bb9704b845c87a51f5b8bec35d1710784e | // This file is part of fityk program. Copyright 2001-2013 Marcin Wojdyr
// Licence: GNU General Public License ver. 2+
/// wrapper around MPFIT (cmpfit) library,
/// http://www.physics.wisc.edu/~craigm/idl/cmpfit.html
/// which is Levenberg-Marquardt implementation based on MINPACK-1
#ifndef FITYK_MPFIT_H_
#define F... | C | fityk/CMPfit.h | wojdyr/fityk | gpl-2.0 | 1,270 | 44 | codeparrot/github-code |
aa6298a12ee61d4944a0658795a1e5312f1eb9b7fa7b43dbacfdd3e9cfa3c0f9 | #include <stdio.h>
#include <string.h>
#include <stdlib.h>
// prototypes declarations
char** split(char *str, char *delimitators);
int main(void)
{
char** result;
char str[] = "1-0:0.0.1(132412515)\n1-0:0.2.3.4(654236517)\n";
result = split(str, "()\n");
for(size_t index = 0; *(result + index); index++)
{
p... | C | string/split.c | marcelodavid/c_utilities | gpl-2.0 | 1,269 | 67 | codeparrot/github-code |
65e698d57cd0e27a14726c03b53c6149165375d1bb2d55a98b5ea0f50b804bf8 | <?php
/**
* ECSHOP 控制台首頁
* ============================================================================
* 版權所有 2005-2010 上海商派網絡科技有限公司,並保留所有權利。
* 網站地址: http://www.ecshop.com;
* ----------------------------------------------------------------------------
* 這不是一個自由軟件!您只能在不用於商業目的的前提下對程序代碼進行修改和
* 使用;不允許對程序代碼以... | PHP | shop/admin/index.php | Shallmay14/Qiandynasty | gpl-2.0 | 46,666 | 1,296 | codeparrot/github-code |
aaa79fdc608ac9929129c39448db61c3cf6e657ce473d54435fb326f770e959d | /* Copyright (C) 2022, Specify Collections Consortium
*
* Specify Collections Consortium, Biodiversity Institute, University of Kansas,
* 1345 Jayhawk Boulevard, Lawrence, Kansas, 66045, USA, support@specifysoftware.org
*
* This program is free software; you can redistribute it and/or
* modify it under the term... | Java | src/edu/ku/brc/af/ui/forms/persist/ViewLoader.java | specify/specify6 | gpl-2.0 | 72,771 | 1,633 | codeparrot/github-code |
e2693226ce271865aa6b2b55329a1b2b183342355b6555183623d62de3d2917f | /*
Copyright: © 2011 Thomas Stein, CodeLounge.de
<mailto:info@codelounge.de> <http://www.codelounge.de/>
Released under the terms of the GNU General Public License.
You should have received a copy of the GNU General Public License,
along with this software. In the main directory, see: licence.txt
If not, see: <http://... | JavaScript | js/exposure.js | codelounge/codelounge-exposure-theme | gpl-2.0 | 3,407 | 116 | codeparrot/github-code |
063c4b314870753528391481fa0b526035413476ea5e2a6c4d8fe23fbae2cda2 | #include "tacticattacker.h"
TacticAttacker::TacticAttacker(WorldModel *worldmodel, QObject *parent) :
Tactic("TacticAttacker", worldmodel, parent)
{
everyOneInTheirPos = false;
maxDistance = sqrt(pow(Field::MaxX*2,2)+pow(Field::MaxY*2,2));
}
RobotCommand TacticAttacker::getCommand()
{
Rob... | C++ | src/ai/tactic/tacticattacker.cpp | mohsen-raoufi/Guidance | gpl-2.0 | 13,212 | 470 | codeparrot/github-code |
17a51fac955a26ed2cd7b0809b2797e0d3e7a32d4457f449de404937dc89dd03 | /******************************************************************************\
CAMotics is an Open-Source simulation and CAM software.
Copyright (C) 2011-2019 Joseph Coffland <joseph@cauldrondevelopment.com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU G... | C | src/camotics/qt/DonateDialog.h | CauldronDevelopmentLLC/OpenSCAM | gpl-2.0 | 1,362 | 52 | codeparrot/github-code |
dd4686243ce199b0623d223626d92a61fb4909af03ac97f62b194dedc39de453 | /**
* OWASP Benchmark Project v1.1
*
* This file is part of the Open Web Application Security Project (OWASP)
* Benchmark Project. For details, please see
* <a href="https://www.owasp.org/index.php/Benchmark">https://www.owasp.org/index.php/Benchmark</a>.
*
* The Benchmark is free software: you can redistribute it and/... | Java | src/main/java/org/owasp/benchmark/testcode/BenchmarkTest04982.java | iammyr/Benchmark | gpl-2.0 | 2,239 | 73 | codeparrot/github-code |
9826846169d9e419e2e71e7c83c27ecba4da9d59b64faec1e61fb09a6f2ed4c8 | <?php
/*
Copyright (c) 2007 BeVolunteer
This file is part of BW Rox.
BW Rox 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.
BW Rox is dis... | PHP | templates/apps/rox/teaser.php | BeWelcome/rox.prototypes | gpl-2.0 | 4,007 | 110 | codeparrot/github-code |
e374ec00dd4bfb5f2bc85464db8cd20f39582d09a919fb1a152d5ac8b2b68fff | /*
Copyright (C) 2015 Panagiotis Roubatsis
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This progra... | C | Procedural City/GlslShader.h | proubatsis/Procedural-City | gpl-2.0 | 1,342 | 46 | codeparrot/github-code |
7e77676019a6ab774df2fb6877e4383a3e5a46e32c44d2f109882caef714cf7c | /**************************************************************************************
* Copyright (C) 2008 EsperTech, Inc. All rights reserved. *
* http://esper.codehaus.org *
* http://www.espertech.com ... | Java | esper/src/main/java/com/espertech/esper/epl/join/pollindex/PollResultIndexingStrategyIndex.java | intelie/esper | gpl-2.0 | 2,448 | 57 | codeparrot/github-code |
ea3cacea6eedbf57f3e010bfbdce7b4f8f3b16f498b07fa492083eaa815dca1f | /*
* ALSA SoC Voice Codec Interface for TI DAVINCI processor
*
* Copyright (C) 2010 Texas Instruments.
*
* Author: Miguel Aguilar <miguel.aguilar@ridgerun.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 F... | C | sound/soc/davinci/davinci-vcif.c | bticino/linux | gpl-2.0 | 7,528 | 276 | codeparrot/github-code |
d7fc619d66de31e622301edc16b9c2cb71c1315eb65e2627052512660d0a52ec | import os
import unittest
import tempfile
from git import Repo
from oeqa.utils.commands import get_bb_var
from oe.buildhistory_analysis import blob_to_dict, compare_dict_blobs
class TestBlobParsing(unittest.TestCase):
def setUp(self):
import time
self.repo_path = tempfile.mkdtemp(prefix='selftest-... | Python | opennfr-openembedded-core/meta/lib/oeqa/selftest/oelib/buildhistory.py | schleichdi2/OPENNFR-6.1-CORE | gpl-2.0 | 3,191 | 89 | codeparrot/github-code |
8775dcc2784b633cdccd60dea8122d010a05f278597138bd07360f84ff7c78b2 | /*
* Copyright (c) 2001-2002 by David Brownell
*
* 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 progra... | C | drivers/usb/core/hcd.h | blakearnold/MPR | gpl-2.0 | 15,632 | 485 | codeparrot/github-code |
d6b20ed3a31c1da17e0231bd9a5aef7a7f21cf46bac43be7143eeb30f2c345c8 | # -*- coding: utf-8 -*-
#
# Picard, the next-generation MusicBrainz tagger
# Copyright (C) 2006 Lukáš Lalinský
#
# 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... | Python | picard/ui/options/__init__.py | samj1912/picard | gpl-2.0 | 3,279 | 107 | codeparrot/github-code |
1d6939d6e1f2cf32939258e93246adda864eb73563f0600900a246fb2f05e9e5 | /* MI Command Set - disassemble commands.
Copyright (C) 2000, 2001, 2002, 2007, 2008 Free Software Foundation, Inc.
Contributed by Cygnus Solutions (a Red Hat company).
This file is part of GDB.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General P... | C | gdb/mi/mi-cmd-disas.c | sergiodj/gdb-sergio | gpl-2.0 | 4,527 | 160 | codeparrot/github-code |
4eaed597367e89154dfc750f2751857d5450babd366d7333b6af230f07956c1b | /**
******************************************************************************
* @file TIM/TIM_TimeBase/Src/main.c
* @author MCD Application Team
* @version V1.2.3
* @date 09-October-2015
* @brief This sample code shows how to use STM32F4xx TIM HAL API to generate
* a time ba... | C | STM/Projects/STM324xG_EVAL/Examples/TIM/TIM_TimeBase/Src/main.c | kamfor/STMF4 | gpl-2.0 | 9,525 | 259 | codeparrot/github-code |
fcdbfd4f6b32d004e8e03e2024f9b60dfc6dd2f1c620d1f6d80252db1edeafcf | <?php
/*
* DynamicHub
*
* Copyright (C) 2015-2016 LegendsOfMCPE
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later... | PHP | DynamicHub/src/DynamicHub/Module/Match/MatchBaseConfig.php | LegendOfMCPE/DynamicHub | gpl-2.0 | 1,090 | 48 | codeparrot/github-code |
e8a5bd6004bd1ddfed09ba19e076153e4759429029f122ef0965bed3f76eef7f | <?php
/*
* Copyright 2010 Google Inc.
*
* 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 applicable law or agreed t... | PHP | wp-content/plugins/google-apps-login/core/Google/Service/Pagespeedonline.php | mrengy/flip2014 | gpl-2.0 | 17,220 | 763 | codeparrot/github-code |
2ad8e0bece1ad29e9bfb0df455bdea8330bb700d0bbc19b28976befee9812dfc | /* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
Copyright 2010 Lennart Poettering
systemd is free software; you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 2.1 of the Li... | C | src/core/swap.c | neheb/systemd | gpl-2.0 | 46,326 | 1,545 | codeparrot/github-code |
c5ad932cde2c9d41f2ce0093c1395537f3541bf679de2726d57f86cc73b976bf | <<<<<<< HEAD
<p>The <strong>view type</strong> describes how this view is stored; Views is capable of having Views entirely in code that are not in the database. This allows modules to easily ship with Views built in, and it allows you to create a module to store your views for easy deployment between development and p... | HTML | modules/views/help/view-type.html | AbeerKhakwani/friday_asses_book_store | gpl-2.0 | 3,724 | 46 | codeparrot/github-code |
19f5e39ee36212429b6c71ba8a638a880598ce93333a4cef1fb3da4c2f1c063d | /*
* File: prg.c
* Implements: parsing javascript program aggregate
*
* Copyright: Jens Låås, 2015
* Copyright license: According to GPL, see file COPYING in this directory.
*
*/
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <sys/mman.h>
#include "duktape.h"
#incl... | C | prg.c | jelaas/sys | gpl-2.0 | 7,573 | 344 | codeparrot/github-code |
e9324871ec8ecee4c7703ae743478cc090c7f40dada862efbc51b7d99d8f00c2 | /*
* Intel XScale PXA Programmable Interrupt Controller.
*
* Copyright (c) 2006 Openedhand Ltd.
* Copyright (c) 2006 Thorsten Zitterell
* Written by Andrzej Zaborowski <balrog@zabor.org>
*
* This code is licenced under the GPL.
*/
#include "hw.h"
#include "pxa.h"
#define ICIP 0x00 /* Interrupt Controller IRQ ... | C | hw/pxa2xx_pic.c | XVilka/qemu | gpl-2.0 | 9,607 | 315 | codeparrot/github-code |
65b68069eff44c8c17620ed7a1099f0c3aabe68118049a6be9f3ad3aa36b6301 |
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/pci.h>
#include <linux/init.h>
#include <linux/delay.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/jiffies.h>
#include <asm/system.h>
#include <asm/io.h>
#include <asm/setup.h>
#include <asm... | C | drivers/net/apne.c | leemgs/OptimusOneKernel-KandroidCommunity | gpl-2.0 | 12,904 | 566 | codeparrot/github-code |
8092e0a7d96246c8f53c0905696a661ef848c7c161c3e416d2c3b7e1f7da8a00 | <?php
class departamento extends controller {
public function __construct() {
parent::__construct();
include 'controllers/loginController.php';
$valida = new login();
$valida->sessao_valida();
}
public function index_action($pagina = 1) {
//list all re... | PHP | controllers/departamentoController.php | suspecie/controle-eventos-php-thepowerpuffgirls | gpl-2.0 | 3,524 | 116 | codeparrot/github-code |
cb5709ca5dfe5c8ce082cecf49bb0f697f23812c2e028038e83c3e6716b7741f | <?php // $Id: oci8po.class.php 68 2009-07-31 18:23:01Z dlandau $
///////////////////////////////////////////////////////////////////////////
// //
// NOTICE OF COPYRIGHT //
// ... | PHP | lib/xmldb/classes/generators/oci8po/oci8po.class.php | bobpuffer/1.9.12-LAE1.3 | gpl-2.0 | 29,382 | 644 | codeparrot/github-code |
2b009e689a37b88592e8f5bda6b901197a141266eff27524e9c47c17dfc49dec | <!DOCTYPE html>
<html>
<head>
<title>SceneJS / cannon.js example</title>
<meta charset="utf-8">
<style>
* {margin:0;padding:0}
</style>
</head>
<body>
<script src="../libs/scenejs.js"></script>
<script src="../build/cannon.js"></script>
<canvas id="theCanvas" width="600" height... | HTML | bower_components/cannon.js/examples/scenejs.html | oportocala/novie | gpl-2.0 | 6,655 | 180 | codeparrot/github-code |
d6a8e52eaf60251caef6460a4720ea2ea0f850ef63b6cd2c948c6177e88f89ef | <?php
class BWGViewGalleries_bwg {
////////////////////////////////////////////////////////////////////////////////////////
// Events //
////////////////////////////////////////////////////////////////////////////////////////
////////... | PHP | wp-content/plugins/photo-gallery/admin/views/BWGViewGalleries_bwg.php | duynguyenhai/wordpress | gpl-2.0 | 57,951 | 827 | codeparrot/github-code |
db879b31b6a1ca4cf18d4c393f712e1e93644fd142d2a3a42bfaf2db7b797bfd | /*
* aTunes
* Copyright (C) Alex Aranda, Sylvain Gaudard and contributors
*
* See http://www.atunes.org/wiki/index.php?title=Contributing for information about contributors
*
* http://www.atunes.org
* http://sourceforge.net/projects/atunes
*
* This program is free software; you can redistribute it and/or
* mo... | Java | aTunes/src/main/java/net/sourceforge/atunes/kernel/modules/navigator/NavigatorActionsStateController.java | PDavid/aTunes | gpl-2.0 | 4,445 | 159 | codeparrot/github-code |
44bdf5beabee9d8b922b01c5334794368d9c5665c56c0a91395908880131117c | /*
* 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 edu.mum.ea.mb;
import edu.mum.ea.ejb.ProjectEJB;
import edu.mum.ea.ejb.ReleaseBacklogEJB;
import edu.mum.ea.ejb.Spr... | Java | ProjectManagement-war/src/java/edu/mum/ea/mb/SprintMB.java | ruzdi/ProjectManagement | gpl-2.0 | 5,482 | 197 | codeparrot/github-code |
910490237bd59acd66bbff62d4853114317748f4f0c273c37ed19cdb39b5ea35 | /* $Id$ */
/*
* Copyright (C) 2013 Teluu Inc. (http://www.teluu.com)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later vers... | C++ | pjsip/src/pjsua2/account.cpp | ismangil/pjproject | gpl-2.0 | 39,647 | 1,137 | codeparrot/github-code |
5c362bff75c6164065f571a5c4e4fc35309f931d45b643732121f334af4f3321 | /**
* Copyright (C) ARM Limited 2012-2015. 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 as
* published by the Free Software Foundation.
*
*/
#define NEWLINE_CANARY \
/* Unix */ \
"1\n" \
/* Windo... | C | drivers/gator/gator_marshaling.c | javilonas/Lonas_KL-SM-G901F | gpl-2.0 | 12,460 | 380 | codeparrot/github-code |
2e82a6ec0fd304728228e1f7697814b46f8592cd7b0a59638a2fe8b1aa62011e | /**
* card_view = new BaristaCardView({el: $("target_selector",
url:"",
title:"",
subtitle:"",
fg_color: "#1b9e77",
image:"",
span_class: "col-lg-12"});
*
* A Backbone View that displays a card of information wrapped in link
* The view is meant to be a top level... | JavaScript | source/views/BaristaCardView.js | cmap/barista | gpl-2.0 | 2,907 | 83 | codeparrot/github-code |
e906c9bdcfde892d847556bacf3e4b0a0708e8e77ac05c2d619a3117189406cb | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Ludum2D.Tiles;
using Ludum2D.World;
using Microsoft.Xna.Framework;
namespace Ludum2D.Core {
public class LudumCore {
private static LudumCore instance;
public static LudumCore Instance {
... | C# | Ludum2D/Core/LudumCore.cs | oxysoft/Ludum2D | gpl-2.0 | 941 | 45 | codeparrot/github-code |
9586d5b0d155ac7ad4a5a05ec6848fe633a783a86947f248543b15111ebb6e35 | <?php
/* core/themes/classy/templates/navigation/menu-local-task.html.twig */
class __TwigTemplate_0969a23526138fcc37f60cc805db1d447beeec2f58012651e0e2200d57c77ec5 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
... | PHP | sites/default/files/php/twig/075870e6_menu-local-task.html.twig_09bb732346e5d24c980d871bac93beeabc98bdcdafc22eac5ff5f4c40f13cf6a/6ea817bad80d90d325204bb326b2453055a5d09f565dc9938936aba350e2c955.php | padmanabhan-developer/EstarProd | gpl-2.0 | 2,927 | 84 | codeparrot/github-code |
cf97acdb911d9fffdf2b31d698b49d14a3f65196dc3277bbcf83e6e0f64238cf | #!/usr/bin/python
# -*- encoding: utf-8; py-indent-offset: 4 -*-
# +------------------------------------------------------------------+
# | ____ _ _ __ __ _ __ |
# | / ___| |__ ___ ___| | __ | \/ | |/ / |
# | | | | '_ \ / _ \/ __| |/ /... | Python | web/htdocs/default_permissions.py | xorpaul/check_mk | gpl-2.0 | 7,863 | 172 | codeparrot/github-code |
66be584d164b67601d07d3b9b7d2bf19ea418d946569c777312d5ac7166d7c18 | package mrdev023.opengl;
import static org.lwjgl.glfw.GLFW.*;
import static org.lwjgl.opengl.GL11.*;
import static org.lwjgl.system.MemoryUtil.*;
import java.awt.*;
import java.nio.*;
import org.lwjgl.*;
import org.lwjgl.glfw.*;
import org.lwjgl.opengl.*;
import mrdev023.exception.*;
public class Di... | Java | src/mrdev023/opengl/Display.java | mrdev023/Modern-Game-Engine | gpl-2.0 | 4,476 | 159 | codeparrot/github-code |
457826bfdaeff3c023a528540039092efdf0925f76c58dca5cf760ad93d6bbe1 | /*
#Date of creation : 9 Jan 2016.
#Aim of program : To print power set of a set of characters.
#Coded by : Rishikesh Agrawani.
*/
package main
import "fmt"
func main() {
var n, r, i, j uint
fmt.Print("Enter the number of binary variables(for which you want the binary combinations): ")
fmt.Scanf... | GO | sources/hck-ds-examples/power_set_for_set_of_characters.go | hygull/go | gpl-2.0 | 1,645 | 101 | codeparrot/github-code |
85a54e09b14523db2f3138e336ef3627d9c20ef5e5b92e02c9263d507bca4b81 | /*
** Copyright (C) 1991, 1997 Free Software Foundation, Inc.
**
** This file is part of TACK.
**
** TACK is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by
** the Free Software Foundation; either version 2, or (at your option)
** any later ... | C | ncurses/tack/menu.c | nslu2/glibc | gpl-2.0 | 8,641 | 422 | codeparrot/github-code |
b0e70909664cdecbab4f0a521b74fcbe130148ba6c55050b354f9ac8a774a138 | /*
* UriMapFeature.hpp
*
* Copyright (c) 2010 Paul Giblock <pgib/at/users.sourceforge.net>
*
* This file is part of Unison - http://unison.sourceforge.net
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public
* License as published by the Free S... | C++ | extensions/lv2/UriMapFeature.hpp | pgiblock/unison | gpl-2.0 | 1,593 | 61 | codeparrot/github-code |
d4e5b4af41ef98063943c34fed245cdbf2a1bb552e386ac7d00d84b48a98d8c7 | import tkinter
FRAME_BORDER = 5
class PageView(object):
__root = None
bd = None
def __init__(self, root=None, main_frame=None):
param = self.params()
if root is None:
# standalone
self.__root = tkinter.Tk()
self.__root.title(param['title'])
... | Python | src/listparse/ui/common.py | sora7/listparse | gpl-2.0 | 2,865 | 106 | codeparrot/github-code |
d3c9b7f2fd44d16008cc5470dbb1dd17b5dc832dafc8d6aacf024847276881b5 | // Copyright (C) 2012 Markus Fischer
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; version 2 of the License.
//
// This program is distributed in the hope that it will be useful,
/... | Java | source/ch/dbs/actions/bestellung/EZBXML.java | gbv/doctor-doc | gpl-2.0 | 11,803 | 282 | codeparrot/github-code |
37bdd82c237cd88915f9a177c3dc58ce2b0417efdca679c8f01edbe1edcb599d | /*
* linux/fs/namei.c
*
* Copyright (C) 1991, 1992 Linus Torvalds
*/
/*
* Some corrections by tytso.
*/
/* [Feb 1997 T. Schoebel-Theuer] Complete rewrite of the pathname
* lookup logic.
*/
/* [Feb-Apr 2000, AV] Rewrite to the new namespace architecture.
*/
#include <linux/init.h>
#include <linux/export.h... | C | fs/namei.c | Pulshen/XKernel | gpl-2.0 | 87,242 | 3,531 | codeparrot/github-code |
017da7c8cf70db925ae4b84649ef7640dc4e8943f3440502c5b4ea62c8ea134b | #ifndef Podd_THaVDCPoint_h_
#define Podd_THaVDCPoint_h_
///////////////////////////////////////////////////////////////////////////////
// //
// THaVDCPoint //
// ... | C | src/THaVDCPoint.h | sly2j/analyzer | gpl-2.0 | 3,527 | 98 | codeparrot/github-code |
c59966c86d4c2f169691ccfff0017037c726bb3cf17435b2275a72560c639044 | import os, socket, sys, urllib
from wx.lib.embeddedimage import PyEmbeddedImage
ldc_name = "Live Debian Creator"
ldc_cli_version = "1.4.0"
ldc_gui_version = "1.11.0"
if (sys.platform == "win32"):
slash = "\\"
if os.path.isfile(sys.path[0]): #fix for compiled binaries
homepath = os.path.dirname(sys.pa... | Python | prefs.py | godaigroup/livedebiancreator | gpl-2.0 | 2,733 | 52 | codeparrot/github-code |
69ff207214649ed7bc332e1d4e3b417d07d96736e2cfbc5767aefcff1b73cb03 | <?php
namespace Connections_Directory\Content_Blocks\Entry\Related;
use Connections_Directory\Content_Blocks\Entry\Related;
/**
* Class Last_Name
*
* @package Connections_Directory\Content_Blocks\Entry
*/
class Last_Name extends Related {
/**
* @since 9.8
* @var string
*/
const ID = 'entry-related-last_... | PHP | includes/Content_Blocks/Entry/Related/Last_Name.php | Connections-Business-Directory/Connections | gpl-2.0 | 1,642 | 79 | codeparrot/github-code |
cda4253cf27ef15e638bb73669c071d237c553abac7f6f70d6f68954108173d4 | /* This file is part of the KDevelop PHP Documentation Plugin
Copyright 2012 Milian Wolff <mail@milianw.de>
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
published by the Free Software Foundation; either version 2 of
t... | C++ | docs/phpdocsconfig.cpp | pprkut/kdev-php | gpl-2.0 | 2,217 | 72 | codeparrot/github-code |
b7b377a6ca94a29b120d3204e93f823bf6b52d19d6be5bce10340cd7683477b7 | <?php $st_buttons_p = ot_get_option('st_buttons_p'); ?>
<?php $sidebar_checkbox = get_post_meta($post->ID, 'sidebar_checkbox', true);?>
<?php $full_width = get_post_meta($post->ID, 'portfolio_options_full', true);?>
<?php $details = get_post_meta($post->ID, 'portfolio_options_repeatable', true); if($details){$details ... | PHP | wp-content/themes/dokan.me/single-portfolio.php | ronykader06/Badsha | gpl-2.0 | 2,901 | 67 | codeparrot/github-code |
a6271955f75b095018e3fd58889433362ae2f3755cb13947517ffe9a3e28ee13 | /* Table of relaxations for Xtensa assembly.
Copyright 2003, 2004 Free Software Foundation, Inc.
This file is part of GAS, the GNU Assembler.
GAS is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; ei... | C | gas/config/xtensa-relax.h | guoqingzhang/binutils-coffee | gpl-2.0 | 5,051 | 183 | codeparrot/github-code |
4cd61997209aa8e0aba5df4186435a2b0add2429871d0b675a02352e847239eb | /*
* Copyright (C) 2005-2014 MaNGOS <http://getmangos.com/>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 3 of the License, or (at your
* option) any later version.
*... | C++ | src/serveur/jeu/Server/WorldSocket.cpp | MistyWorld/MistyWorld_6xx | gpl-2.0 | 34,533 | 1,184 | codeparrot/github-code |
452de75dabfc4bf739d7586cfcd0c55cfcb2c52a1f830674d18740822c9e889c | <?php
/**
* The admin-specific functionality of the plugin.
*
* @link kjhuer.com
* @since 1.0.0
*
* @package Za_Collect
* @subpackage Za_Collect/admin
*/
/**
* The admin-specific functionality of the plugin.
*
* Defines the plugin name, version, and two examples hooks for how to
* enqueue th... | PHP | admin/class-za-collect-admin.php | kjameshuer/za-collect | gpl-2.0 | 5,664 | 159 | codeparrot/github-code |
8f1a3b978dd84bf448b369e5c733009e3bd20dd57e9e86a1e324598e4b7e36e4 | /*
* Copyright (C) ST-Ericsson SA 2010,2011
*
* Author: Chris Blair <chris.blair@stericsson.com> for ST-Ericsson
*
* License terms: GNU General Public License (GPL) version 2
*
* U9500 <-> M6718 IPC protocol implementation using SPI.
* state machine definition and functionality.
*/
#include <linux/modem/m671... | C | drivers/modem/m6718_spi/statemachine.c | janrinze/snowballkernel | gpl-2.0 | 40,413 | 1,407 | codeparrot/github-code |
9741a853a1f46572abbb012bc64531aadffc6acae5058540e0b5c6b98fe477b6 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<script src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/js.cookie.js"></script>
<title>BenchmarkTest00250<... | HTML | src/main/webapp/BenchmarkTest00250.html | thc202/Benchmark | gpl-2.0 | 1,881 | 51 | codeparrot/github-code |
1a110587b6dc12deb1ab039c1615142fb7ef90fbf37081a23dedb24db13a63e9 | #!/usr/bin/python
#CHANGE ONLY, IF YOU KNOW, WHAT YOU DO!
#OPKMANAGER WILL CRASH IF YOUR OUTPUT IS INVALID!
import subprocess
import argparse
import time
import calendar
import string
import sys
class RegisterAction(argparse.Action):
def __call__(self, parser, namespace, values, option_string=None):
print "Official... | Python | repositories/official.py | theZiz/OPKManager | gpl-2.0 | 3,617 | 94 | codeparrot/github-code |
26c37983fa5a5528690b16b337eae2634d55a5f7a733e80c57127cff9b9f2d28 | <?php // $Id: report.php,v 1.29 2008/11/30 21:33:58 skodak Exp $
if (!defined('MOODLE_INTERNAL')) {
die('Direct access to this script is forbidden.'); /// It must be included from a Moodle page
}
$courses = get_courses('all','c.shortname','c.id,c.shortname,c.fullname');
$courseoptions = ar... | PHP | course/report/stats/report.php | nicolasconnault/moodle2.0 | gpl-2.0 | 11,351 | 228 | codeparrot/github-code |
746302105573ae26a1bba379b4eed7f18e755793b82231a235a3086bbee968e0 | 'use strict';
app.controller('orderController', ['$scope', '$rootScope', 'toastrService', 'orderService',
function ($scope, $rootScope, toastrService, orderService) {
$scope.paging = 1;
$scope.disabledMore = false;
$scope.data = [];
$scope.getOrders = function () {
order... | JavaScript | elcubo9.admin/app/controllers/orderController.js | ozalvarez/elcubo9 | gpl-2.0 | 1,101 | 34 | codeparrot/github-code |
5da81d946d1ca97a0fcf2ad4aca2392e8f62bb2ea47464341954c4a0956f17fc | <!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>" />
<title><?php
/*
* Print the <title> tag based on what is being viewed.
*/
global $page, $paged;
wp_title( '|', true, 'right' );
// Add the blog name.
bloginfo( 'name' );
// Add the blog descript... | PHP | wp-content/themes/jzconsultoria/header-home.php | fearzendron/jzconsultoria | gpl-2.0 | 2,963 | 82 | codeparrot/github-code |
a7a8e7a0f4038be2c5ad6772070c058919eb180ed075dfdf078811119c56872e | // **********************************************************************
//
// 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/include/Ice/InterfaceByValue.h | ljx0305/ice | gpl-2.0 | 911 | 47 | codeparrot/github-code |
6246d9ef4baee67e3eae589557882ef19ddbc5d14eb158586f48ca3f2abec45b | <?php
/**
* @Project NUKEVIET 4.x
* @Author VINADES.,JSC (contact@vinades.vn)
* @Copyright (C) 2014 VINADES.,JSC. All rights reserved
* @License GNU/GPL version 2 or any later version
* @Createdate 9/9/2010, 6:38
*/
if (! defined('NV_IS_FILE_WEBTOOLS')) {
die('Stop!!!');
}
$contents = 'Error Access!!!';
$... | PHP | admin/webtools/deleteupdate.php | nukeplus/nuke | gpl-2.0 | 2,041 | 65 | codeparrot/github-code |
c96a7b96bf624280631029f08a16ef0d9c722a15f5ed90f9a4940262d954f043 | /*
Theme Name: Hughes Benefits Site
Theme URI: http://coverwaco.com
Description: A custom WordPress theme for Hughes Benefits.
Author: Heath Hughes
Author URI: http://heathwhughes.com
Version: 1.0
Tags: responsive, insurance, simple
License: GNU General Public License v2.0
License URI: http://www.gnu.org/licenses/gpl-... | CSS | wp-content/themes/hbenefits/style.css | heathwhughes/benafix-site | gpl-2.0 | 11,552 | 434 | codeparrot/github-code |
05a5f19d9d131f400c692ce44caae3328a9eb18948b41afe5505271dba7549f7 | #ifndef FILEZILLA_INTERFACE_CLEARPRIVATEDATA_HEADER
#define FILEZILLA_INTERFACE_CLEARPRIVATEDATA_HEADER
#include "dialogex.h"
#include <wx/timer.h>
class CMainFrame;
class CClearPrivateDataDialog final : public wxDialogEx
{
public:
static CClearPrivateDataDialog* Create(CMainFrame* pMainFrame) { return new CClearP... | C | src/interface/clearprivatedata.h | madnight/filezilla | gpl-2.0 | 684 | 35 | codeparrot/github-code |
7ec92fd98396d1153957725b7dc577d75b4cb9533bb89b910556859448edb037 | # encoding: utf-8
#
# Copyright 2017 University of Oslo, Norway
#
# This file is part of Cerebrum.
#
# Cerebrum is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your op... | Python | Cerebrum/modules/event_publisher/event.py | unioslo/cerebrum | gpl-2.0 | 11,579 | 355 | codeparrot/github-code |
18b71ee68d3abef581bfcff44ebf0949fab3ee973506204f61c867478b2d2ee3 | # -*- coding: utf-8 -*-
from utils import *
commands = [
'^remindme',
'^reminder',
'^remind$',
'^r '
]
parameters = (
('delay', True),
('message', True),
)
description = 'Set a reminder for yourself. First argument is delay until you wish to be reminded.\nExample: `' + config['... | Python | plugins/reminders.py | shahabsaf1/Python | gpl-2.0 | 2,643 | 85 | codeparrot/github-code |
62432b0830d79069e6087a48f010a0546db9ab8ecfd601a0675d4e7f3f39df7b | /*
* Flocking Debugging Unit Generators
* http://github.com/colinbdclark/flocking
*
* Copyright 2011-2014, Colin Clark
* Dual licensed under the MIT and GPL Version 2 licenses.
*/
/*global require*/
/*jshint white: false, newcap: true, regexp: true, browser: true,
forin: false, nomen: true, bitwise: false, m... | JavaScript | src/ugens/debugging.js | mcanthony/Flocking | gpl-2.0 | 2,806 | 92 | codeparrot/github-code |
87d338cd86c738c5ed152a55ed248f7b04d678e588b53f5706d31f07d962008f | -- Copyright (c) 2012 Roland Yonaba
--[[
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applications... | Lua | libs/lcs/tests.lua | ZenityRTS/Zenity | gpl-2.0 | 5,915 | 273 | codeparrot/github-code |
7a1bb506d2d8fafe4e0c655a9b6b843fababda3b9db238f3ed357465f8941e72 | /*
This file is part of the KDE project
* Copyright (C) 2009 Pierre Stirnweiss <pstirnweiss@googlemail.com>
* Copyright (C) 2011 Boudewijn Rempt <boud@kde.org>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by... | C++ | libs/kotext/commands/TextPasteCommand.cpp | yxl/emscripten-calligra-mobile | gpl-2.0 | 4,258 | 132 | codeparrot/github-code |
bc64f645c0b983db3ca20052783470a2d6234f9d9f432b90cf5659c99d977dc6 | /*
* Virtual Raw MIDI client on Sequencer
*
* Copyright (c) 2000 by Takashi Iwai <tiwai@suse.de>,
* Jaroslav Kysela <perex@perex.cz>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
... | C | sound/core/seq/seq_virmidi.c | Jackeagle/android_kernel_sony_c2305 | gpl-2.0 | 14,463 | 544 | codeparrot/github-code |
d847532b7c8a8bc33286410a567f6bf5a698e5aec3a9b2bc2da1d74c3e4656f4 |
// External imports
import java.awt.BorderLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;
import java.io.FileInputStream;
import java.io.BufferedInputStream;
import javax.imageio.ImageIO;
import java... | Java | aviatrix3d/examples/texture/NormalMapDemo.java | Norkart/NK-VirtualGlobe | gpl-2.0 | 3,599 | 132 | codeparrot/github-code |
3d99a5c2384671c02b7f0687161e3046d3270f5b007934bc3afb108f7ec4144c | /*
* The TiLib: wavelet based lossy image compression library
* Copyright (C) 1998-2004 Alexander Simakov
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License,... | C | include/tilib.h | Upliner/tilib | gpl-2.0 | 1,872 | 69 | codeparrot/github-code |
a30e29ce3126bf312bc1b614d3c4c9c42cab7f5bc7d3cefc28575289f0387148 | using BlueBit.CarsEvidence.Commons.Templates;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Diagnostics.Contracts;
namespace BlueBit.CarsEvidence.BL.Entities
{
public class Person :
EntityBase,
IObjectWithGetCode,
IObjectWithGetInfo
{
... | C# | BlueBit.CarsEvidence.BL/Entities/Person.cs | tomasz-orynski/BlueBit.CarsEvidence | gpl-2.0 | 1,977 | 60 | codeparrot/github-code |
e48e6e4eba8e87397b378ed6770c7132bfabe0ae1b150c74974276d6de1607f0 | /*
* Created by Rolando Abarca 2012.
* Copyright (c) 2012 Rolando Abarca. All rights reserved.
* Copyright (c) 2013 Zynga Inc. All rights reserved.
* Copyright (c) 2013-2014 Chukong Technologies Inc.
*
* Heavy based on: https://github.com/funkaster/FakeWebGL/blob/master/FakeWebGL/WebGL/XMLHTTPRequest.h
*
* Perm... | C | frameworks/js-bindings/bindings/manual/network/XMLHTTPRequest.h | csyeung/Othello | gpl-2.0 | 4,575 | 113 | codeparrot/github-code |
9775b03b06c20369c3a7cb75e01d5c8538a28b0e0344fa4a781fd1b859581a2c | <?php
/**
* Created by PhpStorm.
* User: udit
* Date: 12/9/14
* Time: 10:43 AM
*/
// Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
if ( ! class_exists( 'WM_Revision' ) ) {
/**
* Class WM_Revision
*
* Handles all the functionality to track custom fields
*
* @since 0.4
*/
class ... | PHP | revision/class-wm-revision.php | desaiuditd/watchman | gpl-2.0 | 8,344 | 277 | codeparrot/github-code |
a6de5a597e5fe444d274d5d0c0ffb56d4a56a186d4e4aaa5f3c1c89c16df21e7 | <?php
/**
* The main template file.
*
* This is the most generic template file in a WordPress theme
* and one of the two required files for a theme (the other being style.css).
* It is used to display a page when nothing more specific matches a query.
* E.g., it puts together the home page when no home.php file e... | PHP | wp-content/themes/morrisseys_catering/index.php | nickdtaylor1993/morrisseys_catering | gpl-2.0 | 2,289 | 75 | codeparrot/github-code |
0aede2d880e84a28163cfd32ac725f4ebf7d24a3c0a1a4b04e820f537b2f2559 | <?php
/* Icinga Web 2 | (c) 2013-2015 Icinga Development Team | GPLv2+ */
use Icinga\Web\Controller;
use Icinga\Web\Url;
use Icinga\Web\Widget\Tabextension\DashboardAction;
use Icinga\Web\Widget\Tabextension\OutputFormat;
use Icinga\Application\Config;
use Icinga\Application\Logger;
use Icinga\Data\ConfigObject;
use I... | PHP | application/controllers/ListController.php | hsanjuan/icingaweb2 | gpl-2.0 | 1,817 | 60 | codeparrot/github-code |
494a164f7ba8b758421c06f4b61265a3e61318dc9d68bdf098345945d3f1edfa | /*
neutrino bouquet editor - channel selection
Copyright (C) 2001 Steffen Hehn 'McClean'
Copyright (C) 2017 Sven Hoefer
License: GPL
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public
License as published by the Free Software Foundation; either
v... | C++ | src/gui/bedit/bouqueteditor_chanselect.cpp | TangoCash/neutrino-mp-cst-next | gpl-2.0 | 9,692 | 364 | codeparrot/github-code |
aa519a57ad67b10294f36626c32bbab8d4a0780b73d522cc8230eab08723261f | /*
* Copyright (C) 2014 Fraunhofer ITWM
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY ... | C | net/mac802154/llsec.c | nsat/zynq-linux | gpl-2.0 | 24,885 | 1,033 | codeparrot/github-code |
9f3927c60d445531d319918a7833576bc17792bb1ec0dca63073cff35b36ea7d | package org.janelia.alignment.match;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
/**
* List of {@link CanvasMatches} with associated tileIds mapped for fast lookup.
*
* @author Eric Trautman
*/
public class TileIdsWithMatches {
private final Set<String> ... | Java | render-app/src/main/java/org/janelia/alignment/match/TileIdsWithMatches.java | saalfeldlab/render | gpl-2.0 | 1,543 | 50 | codeparrot/github-code |
14d4aa8c4624910c29374825bfc351a6d18e8795ab50eeb9ebf25fc7ddcdcd4b | import { createSelector } from '@automattic/state-utils';
import { filter, orderBy } from 'lodash';
import 'calypso/state/comments/init';
function filterCommentsByStatus( comments, status ) {
return 'all' === status
? filter(
comments,
( comment ) => 'approved' === comment.status || 'unapproved' === commen... | JavaScript | client/state/comments/selectors/get-site-comments.js | Automattic/wp-calypso | gpl-2.0 | 1,304 | 37 | codeparrot/github-code |
4c0626cb3846bf510aaa3b7ab545505561ff05cffe86194e64f8154311e57478 | (function(customer_id) {
tinymce.create('tinymce.plugins.ItStream_AttachToPost', {
customer_id: customer_id,
init : function(editor, plugin_url) {
editor.addButton('player_scheduling', {
title : 'Embed ItStream Player',
cmd : 'itm_scheduling',
... | JavaScript | admin/assets/js/editor.js | wp-plugins/itstream | gpl-2.0 | 3,621 | 89 | codeparrot/github-code |
16803b063a4a6f56241e7e224137243969b027a4802047104ad21acc17e32005 | <?php
/**
* ExtendedEditBar extension for BlueSpice
*
* Provides additional buttons to the wiki edit field.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the Licen... | PHP | extensions/BlueSpiceExtensions/ExtendedEditBar/ExtendedEditBar.class.php | scolladogsp/wiki | gpl-2.0 | 11,037 | 328 | codeparrot/github-code |
acbc64fa7d568174cc5cc242bd4808e2f0184834a66c2e94d55794c7bcc12151 | package org.wordpress.android.ui.notifications;
import com.android.volley.VolleyError;
import org.wordpress.android.models.Note;
import java.util.List;
public class NotificationEvents {
public static class NotificationsChanged {
final public boolean hasUnseenNotes;
public NotificationsChanged() ... | Java | WordPress/src/main/java/org/wordpress/android/ui/notifications/NotificationEvents.java | mzorz/WordPress-Android | gpl-2.0 | 2,258 | 73 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.