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 |
|---|---|---|---|---|---|---|---|---|
cb674eba0917e8804355d9fd4229e754515bf21815248b31b3884c5a76a9c565 | '''
Copyright (c) <2012> Tarek Galal <tare2.galal@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy of this
software and associated documentation files (the "Software"), to deal in the Software
without restriction, including without limitation the rights to use, copy, modify,
m... | Python | src/Examples/CmdClient.py | morfeokmg/maurrepo | gpl-2.0 | 4,875 | 123 | codeparrot/github-code |
2b33003b61e2492a4f8e7a14fee2db44ddef44aafc271b9d4bfe64711324804f | package edu.cmu.cs.stage3.alice.authoringtool.datatransfer;
import edu.cmu.cs.stage3.alice.authoringtool.util.ElementPrototype;
import java.awt.datatransfer.DataFlavor;
import java.awt.datatransfer.Transferable;
import java.awt.datatransfer.UnsupportedFlavorException;
import java.io.IOException;
public class ElementP... | Java | 2.4.3/edu/cmu/cs/stage3/alice/authoringtool/datatransfer/ElementPrototypeReferenceTransferable.java | TSenter/Alice | gpl-2.0 | 1,751 | 47 | codeparrot/github-code |
0b5413ced309a72f2173b59b11213c8a05e0c142f09bf5fd86e856f3f878c333 | /*
This file is part of the KDE games lskat program
Copyright (c) 2006 Martin Heni <kde@heni-online.de>
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 t... | C++ | lskat/src/namedialogwidget.cpp | jsj2008/kdegames | gpl-2.0 | 1,568 | 66 | codeparrot/github-code |
d94c892ef46e18d44b4331622bf2770ae0bb821bd7b77fecd7f92794a4da8cfa | !******************************************************************************
!****m* /esample
! NAME
! module esample
!
!PURPOSE
! This module contains 2 files to read in the file with flux data for a given
! neutrino exeriment and for the sampling of neutrino energies from that flux
!
!***********************... | FORTRAN | code/init/neutrino/expNeutrinofluxes.f90 | janusw/GiBUU_1.6 | gpl-2.0 | 47,574 | 1,700 | codeparrot/github-code |
860f3ffff8175a7556970ebea2c3bbbed676808ed2c2fab8f6e91fefbd7daef2 | from __future__ import absolute_import
from scrapy.spiders import Spider
from scrapy.selector import Selector
from scrapy import Request
import sys
from Schoogle.items import O_Item
from sys import getsizeof
from datetime import datetime
import time
import re
mport string
def reduce(text):
return "".join([c for c in... | Python | Schoogle/Schoogle/spiders/O_Spider.py | dwt2c/Schoogle | gpl-2.0 | 3,037 | 85 | codeparrot/github-code |
79659de6b072d7c4f09035bfd7a94870f0e6719b6d2eea92ae58def4f5ad4c05 | <?php if(! defined('WSS_PLUGIN_PREFIX')) return;
/**
* Common function to add custom time intervals to wp cron.
* This function should not be called directly.
*
* Usage: add_filter( 'cron_schedules', 'wsdplugin_addCronIntervals' );
*
* @param $schedules
* @return mixed
*/
function wsdplugin_addCronI... | PHP | wp-content/plugins/wp-security-scan/res/inc/wss-functions.php | abessifi/DevCampUTM | gpl-2.0 | 1,090 | 37 | codeparrot/github-code |
04a74f85bf16fd6ca696ee8a94ed5c3d6d6f1852c499b4e297139449d3c2b5fa | /* main_welcome.c
*
* 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 published by the Free Software Foundation; either... | C | ui/gtk/main_welcome.c | zonque/wireshark | gpl-2.0 | 51,609 | 1,453 | codeparrot/github-code |
a8d8da00a0a31b13afae8935a0c7c82cd6b108fae5069f8fd09d4f18c8e6810f | <?php
namespace Icinga\Module\Director\Web\Table;
use Icinga\Data\DataArray\ArrayDatasource;
use Icinga\Module\Director\Data\Json;
use Icinga\Module\Director\Db;
use Icinga\Module\Director\Db\Branch\Branch;
use Icinga\Module\Director\Db\Branch\BranchModificationStore;
use Icinga\Module\Director\Objects\IcingaCommand;... | PHP | library/Director/Web/Table/IcingaCommandArgumentTable.php | Icinga/icingaweb2-module-director | gpl-2.0 | 2,845 | 90 | codeparrot/github-code |
92dd198d749e015d1e7099363958d82cc5db8d882023eb7f7414159206ef7d78 | /*
* Copyright (C) 2007 Platform Computing Inc
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of version 2 of the GNU General Public License as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WI... | C | lsf/daemons/sbatchd/file.c | georgemarselis/openlava-macosx | gpl-2.0 | 57,319 | 2,361 | codeparrot/github-code |
e5612fbab3400ed5c98d24bf971dca5b20ba61b755ea0851773c53df38f9d235 | <!doctype html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" <?php language_attributes(); ?>> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" <?php language_attributes(); ?>> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9" <?php language_attributes(); ?>> <![endif]-->
<!--[if g... | PHP | wp-content/themes/catorce/header.php | AliciaRamirez/catorce | gpl-2.0 | 2,117 | 59 | codeparrot/github-code |
7fd5da852c46667c239f7a6c9e20bbbc3dacb6e800e9d14e705bc56d3a9c9fd2 | /*
* f_rndis.c -- RNDIS link function driver
*
* Copyright (C) 2003-2005,2008 David Brownell
* Copyright (C) 2003-2004 Robert Schwebel, Benedikt Spranger
* Copyright (C) 2008 Nokia Corporation
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public... | C | go12/linux-2.6.28.10/drivers/usb/gadget/f_rndis.c | kzlin129/tt-gpl | gpl-2.0 | 24,800 | 842 | codeparrot/github-code |
beacd086e8d1074aa38aadcaf93871517d6d4861295ee106b0e01fcbe157290f | /*
(c) Copyright 2001-2008 The world wide DirectFB Open Source Community (directfb.org)
(c) Copyright 2000-2004 Convergence (integrated media) GmbH
All rights reserved.
Written by Denis Oliver Kropp <dok@directfb.org>,
Andreas Hundt <andi@fischlustig.de>,
Sven Neumann <neo@di... | C | lib/DirectFB/DirectFB-1.2.7/systems/x11/xwindow.h | scs/uclinux | gpl-2.0 | 2,543 | 78 | codeparrot/github-code |
c5ad0f3ecacf28cd150340e197cdea0205cf256f4821ce70ae2cf45c4f387777 | <?php namespace Slushie\Middleware;
use Illuminate\Support\ServiceProvider;
class MiddlewareServiceProvider extends ServiceProvider {
/**
* Indicates if loading of the provider is deferred.
*
* @var bool
*/
protected $defer = false;
/**
* @inheritdoc
*/
public function boot() {
parent::boot(... | PHP | src/Slushie/Middleware/MiddlewareServiceProvider.php | slushie/middleware | gpl-2.0 | 714 | 45 | codeparrot/github-code |
b38f8b5f1fd1395fead7bfbc427c579320e8093870392b96f47ac2112322dc52 | package dk.whisky_nyderne.whisky.Adapter;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.ImageView;
import android.widget.TextView;
import java.util.ArrayList;
import dk.whisky_nyderne.countries.TCountry;
import dk... | Java | app/src/main/java/dk/whisky_nyderne/whisky/Adapter/Adapter_Country_list.java | HBBStar95/Whisky | gpl-2.0 | 1,591 | 66 | codeparrot/github-code |
8d3ba19a7d44b0834bdd0358901860db71491ad85de86c6d815192aa6442adfe | <?php
/*
+--------------------------------------------------------------------+
| CiviCRM version 4.6 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2014 |
+---------------------... | PHP | sites/all/modules/civicrm/CRM/Utils/Rule.php | bdanza/bdanza.com | gpl-2.0 | 18,912 | 806 | codeparrot/github-code |
bc30e85d62225e972b9d1eda98ed8e9c5e5775b4f93ee6d79757b54d8a2c1055 | #include<iostream>
#include<cstdio>
#include<cstring>
#include<vector>
#include<algorithm>
#define U_DEBUG
#define L_JUDGE
#ifdef L_JUDGE
#pragma warning(disable:4996)
#endif
using namespace std;
const int MAXN=1005;
class Stones {
public:
typedef long long int LL;
int ans[2];
LL sum[11... | C++ | 1_Algorithm/SphereOnlineJudge/20170629_stones/3.cpp | fangtanchen/Learning | gpl-2.0 | 2,112 | 91 | codeparrot/github-code |
223b281431b95bd75f822df367dbf22920cfc696c9647c85f5948a9ce089e074 | <?php
class orderController extends controller {
/**
* Add or update order from checkout page
*/
public function addFromCheckout() {
$url = '';
$post = req::get('post');
$res = $this->validateStep1($post);
//if registration from checkout is enabled and unregistered users don'... | PHP | wp-content/plugins/ready-ecommerce/modules/order/controller.php | matthiasbock/WordPress-Shop | gpl-2.0 | 8,535 | 187 | codeparrot/github-code |
ed5dcb1240ebe6c9f4679121bed34eb62b54a634aa77d4d9eac676fd9bf264d0 | 'use strict';
import React, { Component} from 'react';
import {
StyleSheet,
View,
Text,
Navigator,
WebView,
Image,
Dimensions,
TouchableOpacity,
TextInput,
} from 'react-native';
let Width = Dimensions.get('window').width;
let Height = Dimensions.get('window').height;
export default c... | JavaScript | src/inter/zixun/jiegu.js | DangrMiao/House | gpl-2.0 | 2,855 | 107 | codeparrot/github-code |
0d1d17df56f3541c6cac7b2eb63622e501899a7a333f563d307a7636792144c8 | package com.ieeesbumh.expoaltabix2014;
import android.app.Activity;
import android.app.Fragment;
import android.app.FragmentManager;
import android.content.res.TypedArray;
import android.os.Bundle;
import android.support.v4.app.ActionBarDrawerToggle;
import android.support.v4.widget.DrawerLayout;
import android.util.L... | Java | app/src/main/java/com/ieeesbumh/expoaltabix2014/Main.java | IEEEsbUMH/Android-ExpoAltabix2014 | gpl-2.0 | 6,899 | 169 | codeparrot/github-code |
6ddd1e985276748df87d50c3b0807fb4f13072588a7b7221ff612c9a7f4b3e8d | /* ----------------------------------------------------------------------
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
http://lammps.sandia.gov, Sandia National Laboratories
Steve Plimpton, sjplimp@sandia.gov
Copyright (2003) Sandia Corporation. Under the terms of Contract
DE-AC04... | C++ | src/USER-MISC/fix_wall_reflect_stochastic.cpp | pdebuyl/lammps | gpl-2.0 | 8,994 | 282 | codeparrot/github-code |
3b8aa10b2a1cf3dabb511b5b75362d5812cc35f22e5f0564a7252a6da36ef1ed | /**
* External dependencies
*/
var assert = require( 'better-assert' );
/**
* Internal dependencies
*/
var postUtils = require( '../utils' );
describe( 'PostUtils', function() {
describe( '#getVisibility', function() {
it( 'should return undefined when no post is supplied', function() {
assert( postUtils.getV... | JavaScript | client/lib/posts/test/utils.js | ironmanLee/my_calypso | gpl-2.0 | 3,513 | 111 | codeparrot/github-code |
e25192fe34020c48210ea342f945564ec6ef98582065886c1aa3cb760074a48d | /*
* This file is part of the libpayload project.
*
* Copyright (C) 2008 Advanced Micro Devices, Inc.
* Copyright (C) 2017 Patrick Rudolph <siro@das-labor.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
... | C | payloads/libpayload/drivers/i8042/keyboard.c | wolflee/coreboot | gpl-2.0 | 10,978 | 362 | codeparrot/github-code |
455e244afabf6000bf280863399da64a6895673f87802b1eacd93b51164aec95 | /*
* Copyright (c) 2006, 2007, 2008, 2009, 2010 QLogic Corporation.
* All rights reserved.
* Copyright (c) 2005, 2006 PathScale, Inc. All rights reserved.
*
* This software is available to you under a choice of one of two
* licenses. You may choose to be licensed under the terms of the GNU
* General Public Lice... | C | drivers/infiniband/hw/qib/qib_qp.c | Core2idiot/Kernel-Samsung-3.0...- | gpl-2.0 | 32,911 | 1,305 | codeparrot/github-code |
5aea35c56df5ebb933a3c0aea17e1608e48978fe8ce59bd6991b3abbc4125c94 | <?php
pb_backupbuddy::$ui->title( 'Backup Site' . ' ' . pb_backupbuddy::video( '9ZHWGjBr84s', __('Backups page tutorial', 'it-l10n-backupbuddy' ), false ) );
/*
wp_enqueue_style('dashboard');
wp_print_styles('dashboard');
wp_enqueue_script('dashboard');
wp_print_scripts('dashboard');
*/
wp_enqueue_script( 'thickbox'... | PHP | wp-content/plugins/backupbuddy/views/_backup-home.php | lucasandcribb/scmusicguide | gpl-2.0 | 12,788 | 461 | codeparrot/github-code |
b2ff2d09a39ec33b57f301d5c54d6cb5a049f0cd8b44c051922bce3e74b5c62c | /*
* Copyright (C) 2010,Imagis Technology Co. Ltd. All Rights Reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any la... | C | drivers/input/touchscreen/baffine_lite_ve_ist3038/ist30xx_sec.c | hash07/Apollo_X | gpl-2.0 | 28,330 | 1,025 | codeparrot/github-code |
7bdc236991173449f011bc2e959a84371d6f3122048cefe94eb497c860ce9faa | namespace OpenDental{
partial class FormEhrSetup {
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should b... | C# | OpenDental/Forms/FormEhrSetup.designer.cs | mnisl/OD | gpl-2.0 | 19,020 | 413 | codeparrot/github-code |
36e29b9b4a3e2cdba1f9aafb2e9ad8a43f971560ea355500bd5f0a7085cb640c | #include "partition.h"
//Partitions a river system by first partitioning the leaves.
//Link** sys: The river system.
//int N: The number of links in the river system.
//Link** leaves: The list of leaves to the system.
//int numleaves: Number of leaves in the system.
//int** my_sys (set by this method): An array that w... | C | partition.c | ssmall41/asynch | gpl-2.0 | 29,455 | 984 | codeparrot/github-code |
e314a196405b09aff990aa1496179ef0aee4d46a6d918548d3ee409f7e2aa260 | /******************************************************************************
*
*
*
*
* Copyright (C) 1997-2015 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
* granted. No represen... | C++ | src/tagreader.cpp | ktd2004/doxygen | gpl-2.0 | 48,360 | 1,566 | codeparrot/github-code |
e44517b9b5477486db2042cece43cdf0c1ab055387b506199c53e2601342795b | /*
* pam_private.h
*
* This is the Linux-PAM Library Private Header. It contains things
* internal to the Linux-PAM library. Things not needed by either an
* application or module.
*
* Please see end of file for copyright.
*
* Creator: Marc Ewing.
* Maintained: CVS
*/
#ifndef _PAM_PRIVATE_H
#define _PAM_PRI... | C | pam_private.h | rlbossman/ebury | gpl-2.0 | 11,571 | 361 | codeparrot/github-code |
0726007958f125cce1d60c06f2d4257fbf839ed144afcd209657750482141375 | /* 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 | arch/arm/mach-msm/rmt_storage_client-8x60.c | gunine/htc-rider-aosp-kernel | gpl-2.0 | 49,015 | 1,802 | codeparrot/github-code |
67a487804d3899162bd2c6f4a6a43e3f65831d3de1679156a7c873f91aa77b3b | /*
$License:
Copyright (C) 2010 InvenSense Corporation, All Rights Reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) ... | C | include/linux/mpu.h | CM7lu3000/meteor | gpl-2.0 | 13,870 | 459 | codeparrot/github-code |
7d60050e27ec53f3677be9e934b0613cf3f933b7e78bab87be935433d3c3e20a | /*!
* tipso - A Lightweight Responsive jQuery Tooltip Plugin v1.0.8
* Copyright (c) 2014-2015 Bojan Petkovski
* http://tipso.object505.com
* Licensed under the MIT license
* http://object505.mit-license.org/
*/
// CommonJS, AMD or browser globals
(function (factory) {
if (typeof define === 'function' && defi... | JavaScript | admin/js/tipso.js | yikesinc/wp-rest-api-controller | gpl-2.0 | 34,485 | 1,012 | codeparrot/github-code |
0a5e15b1762befa47e1f0f7737e10d9a41817ea0941cd2ca72a220c4dcbdb9c3 | /*
* linux/fs/ext4/page-io.c
*
* This contains the new page_io functions for ext4
*
* Written by Theodore Ts'o, 2010.
*/
#include <linux/fs.h>
#include <linux/time.h>
#include <linux/jbd2.h>
#include <linux/highuid.h>
#include <linux/pagemap.h>
#include <linux/quotaops.h>
#include <linux/string.h>
#include <linu... | C | fs/ext4/page-io.c | extremegf/debian | gpl-2.0 | 16,821 | 623 | codeparrot/github-code |
02e365dc7076197d943ee53e4d3d3e99e85b05b265b41d8d3cfb8975a54656b2 | /* ptrace.c */
/* By Ross Biro 1/23/92 */
/* edited by Linus Torvalds */
/* edited for ARM by Russell King */
#include <linux/head.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/mm.h>
#include <linux/errno.h>
#include <linux/ptrace.h>
#include <linux/user.h>
#include <asm/segment.h>
#include <a... | C | linux-2.0.x/arch/armnommu/kernel/ptrace.c | carlobar/uclinux_leon3_UD | gpl-2.0 | 13,939 | 584 | codeparrot/github-code |
f8e93f3748da61d05b85600a7405eb76faa745e421cd4ff4621e82ab75eb947d | /* This file is part of the KDE project
Copyright (C) 2005-2006 Jarosław Staniek <staniek@kde.org>
This program 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 Licen... | C++ | Predicate/DbProperties.cpp | KDE/predicate | gpl-2.0 | 5,851 | 163 | codeparrot/github-code |
82c30ca18b75d1fffc482bb08671512a3f8fbb94b70397a1ac1326107a8f650f | <?php
/**
* @package FOF
* @copyright Copyright (c)2010-2021 Nicholas K. Dionysopoulos / Akeeba Ltd
* @license GNU General Public License version 2, or later
*/
namespace FOF40\Inflector;
defined('_JEXEC') || die;
/**
* An Inflector to pluralize and singularize English nouns.
*/
class Inflector
{
/**
* ... | PHP | libraries/fof40/Inflector/Inflector.php | emundus/v6 | gpl-2.0 | 13,163 | 421 | codeparrot/github-code |
04e0e007c6eeb4a051478e85a9633fafbb7c879acd8c139870d428a0fc5d5428 | #ifndef _LINUX_FS_H
#define _LINUX_FS_H
#include <linux/linkage.h>
#include <linux/wait.h>
#include <linux/kdev_t.h>
#include <linux/dcache.h>
#include <linux/path.h>
#include <linux/stat.h>
#include <linux/cache.h>
#include <linux/list.h>
#include <linux/list_lru.h>
#include <linux/llist.h>
#include <linux/radix-tre... | C | include/linux/fs.h | cyclops8456/vyos-kernel | gpl-2.0 | 95,295 | 2,829 | codeparrot/github-code |
63db99e0475e30c3612868503d0cd2cd22214e249c3ff9c1bb7754064b0660f5 | /*
* Copyright (c) 1993 by David I. Bell
* Permission is granted to use, distribute, or modify this source,
* provided that this copyright notice remains intact.
*
* The "ls" built-in command.
*/
#include "sash.h"
#ifdef CMD_LS
#include <dirent.h>
#include <pwd.h>
#include <grp.h>
#include <time.h>
... | C++ | SASH/CMD_LS.C | marioaugustorama/uzix-apps | gpl-2.0 | 8,071 | 348 | codeparrot/github-code |
64ffa4e0bc26834c5a3f3914a7bbe18531dad0848d646a8da43a5493364fd487 | /*
* Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Softwa... | Java | graal/com.oracle.graal.truffle/src/com/oracle/graal/truffle/DefaultInliningPolicy.java | lewurm/graal | gpl-2.0 | 2,505 | 61 | codeparrot/github-code |
3880736c5ecba21d02d2e738a8831da0e4c0195fba8189ec59449860c665081d | local function save_value(msg, name, value)
if (not name or not value) then
return "Usage: !set var_name value"
end
local hash = nil
if msg.to.type == 'chat' then
hash = 'chat:'..msg.to.id..':variables'
end
if hash then
redis:hset(hash, name, value)
return "Saved "..name
end
end
local func... | Lua | plugins/set.lua | mafi-hamyarbott/hamyargroup | gpl-2.0 | 863 | 37 | codeparrot/github-code |
d2cd9b626f9afcceeacd969b381a7ea81d062b3b87db39f1254eeaf46f569213 |
#include <linux/ssb/ssb.h>
#include <linux/ssb/ssb_regs.h>
#include <linux/ssb/ssb_driver_chipcommon.h>
#include <linux/delay.h>
#include "ssb_private.h"
static u32 ssb_chipco_pll_read(struct ssb_chipcommon *cc, u32 offset)
{
chipco_write32(cc, SSB_CHIPCO_PLLCTL_ADDR, offset);
return chipco_read32(cc, SSB_CHIPCO_... | C | drivers/ssb/driver_chipcommon_pmu.c | leemgs/OptimusOneKernel-KandroidCommunity | gpl-2.0 | 17,523 | 591 | codeparrot/github-code |
755681df9ad9a5d79f81ad4d318be62d6fb52ffe7992a1766fef4871340a71dd | <?php
/**
* @package eMundus
* @version 6.6.5
* @author eMundus.fr
* @copyright (C) 2019 eMundus SOFTWARE. All rights reserved.
* @license GNU/GPLv2 http://www.gnu.org/licenses/gpl-2.0.html
*/
defined('_JEXEC') or die('Restricted access');
class plgEmundusExcelia_aurion_export extends JPlugin {
var $db;
... | PHP | plugins/emundus/excelia_aurion_export/excelia_aurion_export.php | emundus/v6 | gpl-2.0 | 47,234 | 878 | codeparrot/github-code |
3e5952755e2b2b5b51a70829f919dfd0827c0491cfa5e6f752d0943381162936 | #!/bin/sh
## Script to create strain-specific mouse trancriptome and genome fastas
## Tweak variables below as required
ENSEMBLVERSION=70
SANGERFTP=ftp-mouse.sanger.ac.uk
SANGERDIR=REL-1303-SNPs_Indels-GRCm38
SANGERVERSION=v3
SNPFILE=mgp.$SANGERVERSION.snps.rsIDdbSNPv137.vcf.gz
INDELFILE=mgp.$SANGERVERSION.indels.rsI... | Shell | bin/mouse_strain_transcriptome.sh | hjanime/mmseq | gpl-2.0 | 8,314 | 208 | codeparrot/github-code |
e58b2d4ee4eb9686fdd38627761daa01958a39411d8d2428fccb52ad7cae1f70 | /**********************************************************************
UI_TURBOLIFT.C
User interface trigger from within game
**********************************************************************/
#include "ui_local.h"
typedef struct
{
int deckNum;
char deckDesc[MAX_QPATH];
} deckData_t;
// Data for Closing C... | C | code/ui/ui_turbolift.c | UberGames/rpgxEF | gpl-2.0 | 16,239 | 607 | codeparrot/github-code |
af288128fd7f42ecb664c02d0ae801b2c28bf6d6df3ef7144b2dd6ac80e9a36b | package org.tiralab.particles.storages;
import org.tiralab.particles.models.Model;
import org.tiralab.particles.particles.Particle;
import org.tiralab.particles.particles.ParticleSet;
import org.tiralab.particles.gui.Rectangle;
/**
* The spatial acceleration structure that stores
* the particles in Quadtrees.
*/
p... | Java | Particles_maven/src/org/tiralab/particles/storages/TreeStorage.java | Salmela/particles | gpl-2.0 | 10,575 | 462 | codeparrot/github-code |
e725388ba59cae9da6d8c89fb7558cb8e4afbaf6437149d8d57277f9f96c2872 | <?php
class mysqlidb
{
/**
* Static instance of self
*
* @var mysqlidb
*/
protected static $_instance;
/**
* MySQLi instance
*
* @var mysqli
*/
protected $_mysqli;
/**
* The SQL query to be prepared and executed
*
* @var string
*/
prote... | PHP | src/mysqlidb.class.php | dominicporteous/php-mysqlidb | gpl-2.0 | 14,994 | 510 | codeparrot/github-code |
620b9dea8fcc05a12cc6aac0f95b1f7aff642f0af702bf9dbcb5dd74b8593173 | <?php
$has_image = !empty($image);
$has_icon = !empty($icon);
$has_button = !empty($button_link);
$className[] = 'services clearfix';
$className[] = $fullimage == 'true' ? 'fullimage' : 'smallimage';
$className[] = $has_image ? 'has-image' : 'no-image';
$className[] = $has_icon ? 'h... | PHP | wp-content/themes/fitness-wellness/templates/shortcodes/services.php | forcitcample/heytixforcit | gpl-2.0 | 2,718 | 81 | codeparrot/github-code |
cb67accdee259d2cdd1d51482bc38ab9c44ff1a70786b5f616735d345028a3e7 | 'use strict';
/* global GaiaGrid */
(function(exports) {
/**
* The placeholder represents an empty place on the grid.
* This is generally used to detect distance from an empty spot on the grid.
*/
function Placeholder() {
this.detail = {
type: 'placeholder',
index: 0
};
}
Placeho... | JavaScript | www/css/gaia/shared/elements/gaia_grid/js/items/placeholder.js | o-schneider/firedav | gpl-2.0 | 1,594 | 74 | codeparrot/github-code |
2787a6d9966bf9e232dbe5bbf3db51d7562e9c391ac040be1285ac40a98d01f1 | <?php
/**
* @package Joomla.Libraries
* @subpackage Form
*
* @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE
*/
defined('JPATH_PLATFORM') or die;
/**
* Form Field class for the Jooml... | PHP | plugins/system/jat3v3/includes/depend/jamedia.php | andergmartins/t3v3 | gpl-2.0 | 8,402 | 252 | codeparrot/github-code |
ec7f291303f1986da46ae5f1a9a408bac73d93ce54e5c76475bb5330f8d150e8 | /*
* Copyright (C) 2011 Atlantiss <http://www.atlantiss.pl>
*
* 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.
*
... | C++ | src/server/scripts/Kalimdor/TheVortexPinnacle/boss_altairus.cpp | sourceleaker/gaycore | gpl-2.0 | 4,757 | 180 | codeparrot/github-code |
93ac7b40bc084ac43234cbbb4186583e4b8b1de1d1352600a7a592222d1e1bff | /*
*
* V 4 L 2 D R I V E R H E L P E R A P I
*
* Moved from videodev2.h
*
* Some commonly needed functions for drivers (v4l2-common.o module)
*/
#ifndef _V4L2_IOCTL_H
#define _V4L2_IOCTL_H
#include <linux/poll.h>
#include <linux/fs.h>
#include <linux/mutex.h>
#include <linux/compiler.h> /* need __user */
... | C | drivers/media/qeasycap/qv4l2-core/qmedia/qv4l2-ioctl.h | vetzki/kernel_tegra | gpl-2.0 | 12,724 | 323 | codeparrot/github-code |
93808285a44faed5b1c58bf3159bbd81b815fc183c595ef5bd1456fd102d7508 | /*
* Copyright (C) 2010 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... | C++ | frameworks/av/media/mtp/MtpServer.cpp | rex-xxx/mt6572_x201 | gpl-2.0 | 66,871 | 1,781 | codeparrot/github-code |
bc579e08dc4389e4f2051f48d2d688128e2ddd7f8662c61a67d5670ebe1a7c2f | #ifndef PRODUCTION_CLASS
#define PRODUCTION_CLASS
// START A3HEADER
//
// This source file is part of the Atlantis PBM game program.
// Copyright (C) 1995-1999 Geoff Dunbar
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published ... | C | production.h | nedbrek/Atlantis | gpl-2.0 | 1,814 | 71 | codeparrot/github-code |
5c478cdfd3556571caf564c3620bbb5e4afe03c4c594b1d8d4d3b18137b58ac5 | <?php
declare(strict_types=1);
namespace Goat\Driver;
use Goat\Converter\ConverterInterface;
use Goat\Hydrator\HydratorMap;
use Goat\Query\DeleteQuery;
use Goat\Query\InsertQueryQuery;
use Goat\Query\InsertValuesQuery;
use Goat\Query\SelectQuery;
use Goat\Query\UpdateQuery;
use Goat\Query\Writer\EscaperInterface;
us... | PHP | src/Driver/AbstractDriverProxy.php | pounard/goat | gpl-2.0 | 5,574 | 243 | codeparrot/github-code |
5d6685af61dcc888620b99db0d3d4226f7ac8806c949b43f1f024ce3c3789207 | /*****************************************************************************
* Copyright (C) 2005, 2006 Imre Kelényi, Bertalan Forstner
*-------------------------------------------------------------------
* This file is part of Symella
*
* Symella is free software; you can redistribute it and/or modify
* it und... | C | inc/engine/SocketBase.h | imrekel/Symella | gpl-2.0 | 4,191 | 200 | codeparrot/github-code |
f17f626b532fc88aceb195b6024404db8667d73ff0a2f771166405a9ebe4d102 | /****************************************************************************
**
** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the examples of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Comm... | C++ | qtopiacore/qt/examples/script/qstetrix/tetrixboard.cpp | librelab/qtmoko-test | gpl-2.0 | 4,456 | 140 | codeparrot/github-code |
82966e83ce340f05ba010383ace72e198ba03684c4807201762f894ab6f5aaf4 | package edu.stanford.nlp.ie.demo;
import edu.stanford.nlp.ie.AbstractSequenceClassifier;
import edu.stanford.nlp.ie.crf.*;
import edu.stanford.nlp.io.IOUtils;
import edu.stanford.nlp.ling.CoreLabel;
import edu.stanford.nlp.ling.CoreAnnotations.AnswerAnnotation;
import java.util.List;
import java.io.IOExcepti... | Java | src/main/java/edu/stanford/nlp/ie/demo/NERDemo.java | PeterisP/LVTagger | gpl-2.0 | 3,359 | 87 | codeparrot/github-code |
5ff343180d3fc900506b9c8d55bd114c1baf8c6a4eb95a309a470962cc8e4ee1 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></... | HTML | report/files/app_components_content_entities_parser_js/index.html | localnerve/wpspa-report | gpl-2.0 | 8,385 | 231 | codeparrot/github-code |
c4ce4af959f6fa0fd044068b34c7bf80c8fd9a3fc47cb6ab7ba52615d0e696aa | /* Copyright (C) 2006 - 2013 ScriptDev2 <http://www.scriptdev2.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 version.... | C++ | scripts/eastern_kingdoms/blackrock_mountain/molten_core/boss_majordomo_executus.cpp | ike3/scriptdev2 | gpl-2.0 | 17,442 | 479 | codeparrot/github-code |
99e8ee24c4dc2e560f50f7ca78fca236769dd0da595aa4b1df080b3d1e16038e | /***************************************************************************
* Copyright (C) 2004 by yunfan *
* yunfan_zg@163.com *
* *
* This pr... | C | src/libeva/evaimreceive.h | treejames/eva | gpl-2.0 | 16,645 | 472 | codeparrot/github-code |
bec97eaa228a5f3a9e42c702b6792b06b154eb961065cd7a280e6a6350e87c27 | #ifndef PEAKDETECTIONDIALOG_H
#define PEAKDETECTIONDIALOG_H
#include "ui_peakdetectiondialog.h"
#include "stable.h"
class MainWindow;
class TableDockWidget;
class BackgroundOpsThread;
class PeakDetectionSettings;
class PeakDetectionDialog : public QDialog, public Ui_PeakDetectionDialog
{
Q_OBJECT
public:
e... | C | src/gui/mzroll/peakdetectiondialog.h | ElucidataInc/ElMaven | gpl-2.0 | 3,899 | 107 | codeparrot/github-code |
2ac20cd85f43f8f22d6cb3d9e97697f77f1865ffd57622d03f8c4287f12105e1 | package com.example.swimdroid;
import java.util.Scanner;
import android.animation.ObjectAnimator;
import android.app.Dialog;
import android.content.Context;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;
import com.android.datetimepicker.Utils;
import com.example.model.Tempo;... | Java | src/com/example/swimdroid/TimePickerPad.java | Beriol/IUM_Project_SwimDroid | gpl-2.0 | 13,524 | 341 | codeparrot/github-code |
e14a05de79b00a6c36961afb0e0516b3ffd1ac6b49905a7babd9f3cb832caf3a |
#ifndef BOARD_H
#define BOARD_H
#include "piece.h"
#include "rook.h"
#include "pawn.h"
#include <iostream>
using namespace std;
class Piece;
class Board{
/*
friend class Piece;
friend class Rook;
friend class Pawn;
*/
public:
Board(); // constructor for a new game
~Board();
int getScore();
void pri... | C | board.h | h397wang/Chess-Game | gpl-2.0 | 680 | 40 | codeparrot/github-code |
390437264ffe0044ec039598e89c6bde82f7915fb9739eef0a2a59e7d1979a66 | <?php
/* MESSAGE BOXES
================*/
add_shortcode( 'box', 'wellthemes_msgbox_shortcode' );
function run_box_shortcode( $content ) {
global $shortcode_tags;
$orig_shortcode_tags = $shortcode_tags;
remove_all_shortcodes();
add_shortcode( 'box', 'wellthemes_msgbox_shortcode' );
$cont... | PHP | wp-content/themes/wt_eris/framework/shortcodes/shortcodes.php | xkun147/qcvn | gpl-2.0 | 12,663 | 415 | codeparrot/github-code |
b136814c24b54bf85f2b5c1da7be48dd7f34519b27a26784dbce59ff7f36b571 | /*
* Copyright (c) 2013 Dmitry Kazakov <dimula73@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.... | C++ | krita/plugins/tools/tool_transform2/strokes/transform_stroke_strategy.cpp | donniexyz/calligra | gpl-2.0 | 10,703 | 306 | codeparrot/github-code |
1c295168611e0fda739b6a4c28a3529e65bac0a322ea80a977fc3ed7d9aebc40 | /*
* BankKonto.java
*
* Created on 15. Oktober 2007, 18:16
*
* To change this template, choose Tools | Template Manager
* and open the template in the editor.
*/
package de.timomeinen.master.visitor.hierarchy;
import de.timomeinen.master.visitor.methods.Visitable;
import de.timomeinen.master.visitor.methods.Vi... | Java | Master Examples/src/de/timomeinen/master/visitor/hierarchy/BankKonto.java | timomeinen/friendship-framework | gpl-2.0 | 768 | 41 | codeparrot/github-code |
1476ddf5f59a6eaaad170ba1d1cbefc72be791d96aa62d16ddee08193a755f1c | /*
* Copyright (c) 2008, 2009, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | Java | src/Globs.java | maxsatula/ocp | gpl-2.0 | 8,234 | 218 | codeparrot/github-code |
2a996e55a1d868ad889e8bf5a755fa76f14c46dc822d62a5a5f938e64bb54c60 | ///////////////////////////////////////////////////////////////////////////////
// For information as to what this class does, see the Javadoc, below. //
// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, //
// 2007, 2008, 2009, 2010, 2014, 2015 by Peter Spirtes, Richard Scheines, Joseph... | Java | tetrad-lib/src/test/java/edu/cmu/tetrad/test/TestGeneralizedSem.java | lizziesilver/tetrad | gpl-2.0 | 44,511 | 1,241 | codeparrot/github-code |
93e367f2210a5bc3798130ad1aba1c2a67a22738a6555f2d46f11f4c05a861a6 | /*
* Synaptics TouchPad PS/2 mouse driver
*
* 2003 Dmitry Torokhov <dtor@mail.ru>
* Added support for pass-through port. Special thanks to Peter Berg Larsen
* for explaining various Synaptics quirks.
*
* 2003 Peter Osterlund <petero2@telia.com>
* Ported to 2.5 input device infrastructure.
*
* ... | C | drivers/input/mouse/synaptics.c | robcore/machinex-Note3 | gpl-2.0 | 47,318 | 1,707 | codeparrot/github-code |
5560afb85a22f51fa60adb7e6a11e04b36a7a1297c776c88b87352b4530a6b0b | /**
* OWASP Benchmark Project v1.2beta
*
* 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 OWASP Benchmark is free software: you can redistribu... | Java | src/main/java/org/owasp/benchmark/testcode/BenchmarkTest00577.java | thc202/Benchmark | gpl-2.0 | 4,183 | 119 | codeparrot/github-code |
0b99b633c23b2b22f95310d09865239cb718e60da74fc8e9bf415623b80998e1 | /****************************************************************************
*
* This file is part of the ViSP software.
* Copyright (C) 2005 - 2015 by Inria. All rights reserved.
*
* This software is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* (... | C | modules/core/include/visp3/core/vpMoment.h | jokla/visp | gpl-2.0 | 4,537 | 157 | codeparrot/github-code |
5164501e278ee5e3d6487e533966b702b86728aef69c440ba3fcdea2918a3dd7 | import React, { Component } from 'react';
import PropTypes from 'prop-types';
import { connect } from 'react-redux';
import { enterData, selectDataset, filterTable, enterWildcards } from '../actions';
import styles from '../styles/enterData.module.scss';
const { backToDemo, enterContainer, dataInput, linkButton } = st... | JavaScript | demo-app/src/containers/EnterData.js | nol13/fuzzball.js | gpl-2.0 | 2,605 | 81 | codeparrot/github-code |
4834ff5764ae4c3ce93f71c5a4e0991d839f3d493876129d910457d8f538e0e3 | /* ScummVM - Graphic Adventure Engine
*
* ScummVM is the legal property of its developers, whose names
* are too numerous to list here. Please refer to the COPYRIGHT
* file distributed with this source distribution.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of ... | C++ | engines/drascula/palette.cpp | tramboi/scummvm-test | gpl-2.0 | 4,348 | 168 | codeparrot/github-code |
cc8ed86867346cffe767e0bb7966e211e59544c609e5794e5c004f58d180676e | #!/usr/bin/env python
# -*- coding: utf-8 -*-
###############################################################################
# $Id: ogr_sxf.py 26513 2013-10-02 11:59:50Z bishop $
#
# Project: GDAL/OGR Test Suite
# Purpose: Test OGR SXF driver functionality.
# Author: Dmitry Baryshnikov <polimax@mail.ru>
#
########... | Python | lib_gdal/ogr/ogr_sxf.py | nextgis-extra/tests | gpl-2.0 | 2,553 | 93 | codeparrot/github-code |
4ca3f8587752da14b8e60c341fff9063a86516c3a68caa38dc052722064cb5fd | <html>
<head>
<meta charset="utf-8">
<style>
html, body {padding:0; margin:0;}
html {
width:100%;
height:100%;
min-height:800px;
font-family:arial;
font-size:15px;
line-height:18px;
}
* {
font-family:inherit;
}
body {
width:100%;
height:100%;
display:flex;
justify-content:center... | HTML | pinky/index.html | butuzov/http2-html-templates | gpl-2.0 | 5,510 | 236 | codeparrot/github-code |
a07ab1e33a73db3a5fd0e936c5cf681c2d6367cf2b678adecfa312caa7d9b347 | /*
* MathGame - a competitive math game
* Copyright (C) 2015 saber2014
*
* 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 ... | C++ | MathGame/keyboard.cpp | saber2014/MathGame | gpl-2.0 | 2,450 | 96 | codeparrot/github-code |
5c1742eed76f2091365326dddc401c1840c05bf5855bd2b87fc48b2bfda461c8 | """
Model based on CONMIN test.
"""
from openmdao.main.api import Assembly, Component, set_as_top
from openmdao.lib.casehandlers.api import ListCaseRecorder
from openmdao.main.datatypes.api import Array, Float
from openmdao.lib.drivers.conmindriver import CONMINdriver
from openmdao.lib.drivers.slsqpdriver import SLSQP... | Python | lib/python2.7/site-packages/openmdao.test-0.13.0-py2.7.egg/openmdao/test/rosen_suzuki.py | HyperloopTeam/FullOpenMDAO | gpl-2.0 | 3,349 | 108 | codeparrot/github-code |
a79a480991df651f192e8a683fe285e8775e4f74e94889988988ee86af03dc25 | <?php
/**
* Model file for functions related to favourites
* @copyright 2009, 2010 The Open University. See CREDITS.txt
* @license http://gnu.org/licenses/gpl-2.0.html GNU GPL v2
* @package Favourites
*/
class Favourite_model extends Model {
function __construct() {
parent::Model();
}
/**
... | PHP | system/application/models/favourite_model.php | IET-OU/cloudengine | gpl-2.0 | 12,649 | 319 | codeparrot/github-code |
9e15d47a796ef372f93045c094f58646402acee2ddede198b424311586052873 | (function (global) {
// Set up a namespace for our utility
var ajaxUtils = {};
// Returns an HTTP request object
function getRequestObject() {
if (window.XMLHttpRequest) {
return (new XMLHttpRequest());
}
else if (window.ActiveXObject) {
// For very old IE browsers (optional)
return (... | JavaScript | js/ajax-utils.js | rokasdata/web_Kjell | gpl-2.0 | 1,579 | 68 | codeparrot/github-code |
7a427d165c84ec4f70e88f435c391c629bfb617e86d7d5c632704e3d91502b69 | # Please do not change this hardware control module for Quisk.
# It provides USB control of SoftRock hardware.
import struct, threading, time, traceback, math
from quisk_hardware_model import Hardware as BaseHardware
import _quisk as QS
# All USB access is through control transfers using pyusb.
# byte_array = ... | Python | src/softrock/hardware_usb.py | JeremyGrosser/quisk | gpl-2.0 | 8,270 | 221 | codeparrot/github-code |
f5a1b667b814d118b8fcccd7de2ad1c7037c2ed6b11c2d55366edc80b05459dd | /*
* HID driver for Logitech Unifying receivers
*
* Copyright (c) 2011 Logitech
*/
/*
* 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 th... | C | drivers/hid/hid-logitech-dj.c | ngxson/SXDNickiLolly | gpl-2.0 | 28,753 | 924 | codeparrot/github-code |
613d33b1b4b5ffb4244b89793601f44c98464c44a71f07ca30e6394b99d86f21 | /* Implementation of the MINVAL intrinsic
Copyright 2002 Free Software Foundation, Inc.
Contributed by Paul Brook <paul@nowt.org>
This file is part of the GNU Fortran 95 runtime library (libgfor).
Libgfortran is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Pu... | C | libgfortran/generated/minval_r4.c | aosm/gcc_40 | gpl-2.0 | 7,212 | 272 | codeparrot/github-code |
b370dbf6ead7ca27afe8f6dbe669b3869ba56edb539766ab49cb2ca2ea3f7457 |
function convertDateTimeToDate(d, t) {
// assumes date in local timezone (but actually it is GMT)
var m = moment(d+" "+t+" +0000", "YYYY-MM-DD HH:mm Z");
m.lang(navigator.language);
return m.format("L");
}
function convertDateTimeToTime(d, t) {
// assumes date in local timezone (but actually it is GMT)
var... | JavaScript | wp-content/themes/eddiemachado-bones-4e37f08/library/js/game.js | Race2Fundriase/gaming | gpl-2.0 | 1,195 | 57 | codeparrot/github-code |
809b9312b0cae1c1c70fc91aeaf563073374d1b94b7bf02a37a865aaad040380 | /*
* Minion http://minion.sourceforge.net
* Copyright (C) 2006-09
*
* 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.
*
* ... | C | minion/search/variable_orderings.h | ozgurakgun/minion | gpl-2.0 | 16,234 | 520 | codeparrot/github-code |
52f4c3b9b0ae608e9276af8903eea32400734fc3e3f6f1c4116da5dfb4b2a0a6 | <?php
////////// USER META FIELD : UI //////////
add_action( 'show_user_profile', 'pw_user_meta_field_input' );
add_action( 'edit_user_profile', 'pw_user_meta_field_input' );
function pw_user_meta_field_input( $user ) {
// Get the settings
$fields = pw_config('wp_admin.user_meta.fields');
if( $fields == false )
... | PHP | admin/usermeta/fields/usermeta_fields.php | phongmedia/postworld | gpl-2.0 | 1,588 | 65 | codeparrot/github-code |
7600f2111398a69e919d82f9ad06a2e32df852db496a2503ed22903e4084e1b6 | using System;
using System.Threading.Tasks;
using Windows.Web.Http;
using Windows.Web.Http.Headers;
using Newtonsoft.Json;
namespace JoetzPhoneApp.Requests
{
public class PostRequest<TResponse> : AbstractRequest<TResponse> where TResponse : class
{
public override async Task<Response<TResponse>> Execu... | C# | ProjectenIII/JoetzPhoneApp/Requests/PostRequest.cs | ProjectGroep1/Joetz-Windows | gpl-2.0 | 2,670 | 68 | codeparrot/github-code |
15369d5f1ea431cd713bae984138711e459a95a73880a2110b1ef40829ab97dc | define([], function () {
function renderItems(page, item) {
var sections = [];
if (item.MovieCount) {
sections.push({
name: Globalize.translate('TabMovies'),
type: 'Movie'
});
}
if (item.SeriesCount) {
section... | JavaScript | MediaBrowser.WebDashboard/dashboard-ui/scripts/itembynamedetailpage.js | neagix/Emby | gpl-2.0 | 9,812 | 339 | codeparrot/github-code |
70a265966272960a54a6abee234e916fe5a82e97b1f9532b8d9f3cec28e9260b | <?php
/**
*
* @package garage
* @version $Id$
* @copyright (c) 2005 phpBB Garage
* Based totally on @version Id: functions_profile_fields.php,v 1.48 2006/12/03 18:03:33 naderman Exp -(c) 2005 phpBB Group
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
/**
* phpBB Garage Custom Field... | PHP | root/includes/mods/class_garage_custom_fields.php | poyntesm/phpbbgarage | gpl-2.0 | 32,684 | 1,063 | codeparrot/github-code |
445db18b19dfdba3a938002894f6d44beb6f499d4820c0082360c9f360d5fc56 | <?php
class Bavotasan_Tooltips {
public function __construct() {
add_action( 'admin_enqueue_scripts', array( $this, 'mp_pointers_header' ) );
}
/**
* Setting up the pointers array
*
* @since 1.0.0
*
* @return array
*/
public function mp_pointers() {
$dismissed = explode( ',', (string) get_user_meta... | PHP | wp-content/themes/magazine-premium/library/pointers.php | sgegan/EPICPeople | gpl-2.0 | 4,252 | 131 | codeparrot/github-code |
55dcb6839b1be51027b573c4a2634859b726ed3b038268d1e1c7c5d5230e5ba6 | /*
* This file is part of the KDE project
* Copyright (C) 2002 Ian Reinhart Geiser <geiseri@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 version 2.0 as published by the Free Software Foundation.
*
* This ... | C | kweather/weatherbar.h | iegor/kdetoys | gpl-2.0 | 2,002 | 69 | codeparrot/github-code |
74e063697de2d5b8543fdf48d65469f5821e83812b954807dec21416e03be508 | require_relative '../Queries/equity_queries'
require_relative '../Calculators/relative_strength_analyzer'
require_relative '../Calculators/movement_calculator'
require_relative '../Queries/day_movement_query'
require_relative '../Queries/company_instrument_query'
require 'time_diff'
class MyTransactionsReport
def i... | Ruby | StockReporter/Reports/my_transaction_report.rb | tbohnen/EquityTrader | gpl-2.0 | 5,991 | 165 | codeparrot/github-code |
e522c69b6f4ba978f11363b7e2924acede971bb20540cc0200136e6d20323993 | /*
* kernel/power/main.c - PM subsystem core functionality.
*
* Copyright (c) 2003 Patrick Mochel
* Copyright (c) 2003 Open Source Development Lab
*
* This file is released under the GPLv2
*
*/
#include <linux/export.h>
#include <linux/kobject.h>
#include <linux/string.h>
#include <linux/resume-trace.h>
#inclu... | C | kernel/power/main.c | Team-Blackout/Blackout-M7 | gpl-2.0 | 20,910 | 899 | codeparrot/github-code |
ea4f6ac0a71f0eec031dd7279586f56ea207a167836accb930dddc3be6ffcdfd | /*
* Copyright (C) 2002-2013 The DOSBox Team
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This p... | C++ | Libraries/DOSBox/Source/src/gui/sdl_mapper.cpp | matthewvilim/DOSKit | gpl-2.0 | 77,448 | 2,533 | codeparrot/github-code |
4d28c3d054c0653425429d731f371f577151d21286eee162a1978a2241f729a0 | #include <../../nrnconf.h>
/*
Copyright (C) 1988 Free Software Foundation
written by Dirk Grunwald (grunwald@cs.uiuc.edu)
This file is part of the GNU C++ Library. 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... | C++ | src/gnu/Erlang.cpp | neurodebian/pkg-neuron | gpl-2.0 | 1,127 | 34 | codeparrot/github-code |
2e6adf73b4bffa4654c653551c91900131a31aa43ba87144b4dcbf5cabf27e6a | // Copyright 2008 Dolphin Emulator Project
// Licensed under GPLv2+
// Refer to the license.txt file included.
#include <cinttypes>
#include <memory>
#include "Common/CDUtils.h"
#include "Common/CommonPaths.h"
#include "Common/CommonTypes.h"
#include "Common/FileUtil.h"
#include "Common/StringUtil.h"
#include "Core/... | C++ | Source/Core/Core/CoreParameter.cpp | Buddybenj/dolphin | gpl-2.0 | 13,597 | 451 | codeparrot/github-code |
5c81e6e07191cc4e3edc24b1aaa79e10c8f077b02b70b4a2466402b7c4e42be4 | /***************************************************************************
qgsmaptool.h - base class for map canvas tools
----------------------
begin : January 2006
copyright : (C) 2006 by Martin Dobias
email : wonder.sk at gmail dot com
***************... | C | src/gui/qgsmaptool.h | borysiasty/QGIS | gpl-2.0 | 10,574 | 310 | codeparrot/github-code |
0fa6d33dfe6d3d64af69662645cdeb6cc452788cf95f89d39f5b6eb392ffb4aa | /* Core dump and executable file functions above target vector, for GDB.
Copyright (C) 1986-2013 Free Software Foundation, Inc.
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 Public License as published by
the Free S... | C | gdb/corefile.c | jlebar/gdb | gpl-2.0 | 13,292 | 496 | codeparrot/github-code |
7ff84c1530e8b902c5bae0638f2f7f3994aa900b3a47887975f19c0e190e6b41 | /*+
* File: ElementEnumerator.h
*
* Contains: Interface for element enumerator
*
* Written by: David C. Salmon
*
* Copyright: COPYRIGHT (C) 2000 By David C. Salmon. *WORLDWIDE RIGHTS RESERVED*
*
* See: Enumerator.h containing the enumerator interface.
*
* To Do:
-*/
/*
This program is free software; you ... | C | StructLib/Interface/ElementEnumerator.h | davesalmon/projects | gpl-2.0 | 1,345 | 47 | codeparrot/github-code |
ba3bc9a8ae4f753a1a8581fb4b863f0b7e8643ddb6914d2f89161731c3030950 | /*
* 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 visualinfo;
import general.Point;
import java.awt.Color;
import java.util.List;
import junit.framework.TestCase;
... | Java | WifiPositioning/BaseLibrary/src/test/java/visualinfo/DisplayRouteTest.java | s-papanastasiou/wireless-positioning | gpl-2.0 | 1,934 | 66 | codeparrot/github-code |
03f95488b1b93033f49e759e91d6202f33de898e02d320a64cc6b134fc12a75e | using UnityEngine;
using System;
using LuaInterface;
using SLua;
using System.Collections.Generic;
public class Lua_UnityEngine_JointMotor2D : LuaObject {
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static public int constructor(IntPtr l) {
try {
UnityEngine.JointMotor2D o;
o=new UnityEngine.JointMo... | C# | Assets/Slua/LuaObject/Unity/Lua_UnityEngine_JointMotor2D.cs | xclouder/godbattle | gpl-2.0 | 2,071 | 85 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.