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 |
|---|---|---|---|---|---|---|---|---|
dc5ce958bbbebe1c458c675d6f0352655e549a6c8ce96d7a48cc0be73f7e2d36 | <?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>schrodinger.application.matsci.builderwidgets.ItemRowWithTemplates</title>
<link rel="style... | HTML | Schrodinger/Schrodinger_2015-2_docs/python_api/api/schrodinger.application.matsci.builderwidgets.ItemRowWithTemplates-class.html | platinhom/ManualHom | gpl-2.0 | 46,371 | 1,189 | codeparrot/github-code |
8adb403800aae1a3eaa5f75f64d8b1ba056efb98c25fddda1dc895f4d64f0eaa | /**
* LinkedLists Data Structure
**/
/*future feature to include
* Passing a function as an argument.
* Passing a function which takes input templates
* */
#ifndef __LINKEDLISTS__
#define __LINKEDLISTS__
#include<iostream>
struct Nodel
{
Nodel(int keyv):key(keyv){Nodel();}
Nodel():next(NULL),key(-1){}
... | C | DS_Practice/Data_Structures/LinkedLists.h | ahmedosman/Random_Data_Structures | gpl-2.0 | 524 | 43 | codeparrot/github-code |
fc60a6240b341c2a154ae705d3596a09f767d34e3db29a23d8d78588b9526871 | <?php
/* * *************************************************************************************************** */
// Generate option tabs content
/* * *************************************************************************************************** */
function nimbus_field_engine() {
global $allowedtags, $NIM... | PHP | wp-content/themes/wp-opulus/nimbus/options_engine.php | aliuwahab/saveghana | gpl-2.0 | 17,082 | 311 | codeparrot/github-code |
c3c091112eb776dc9aba064e2236e3c01c5477fd7f6c7093b29b4bde17e772f0 | <?php
/**
* @package HikaMarket for Joomla!
* @version 4.0.0
* @author Obsidev S.A.R.L.
* @copyright (C) 2011-2021 OBSIDEV. All rights reserved.
* @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
*/
defined('_JEXEC') or die('Restricted access');
?><?php
class market_order_status_notificat... | PHP | media/com_hikamarket/mail/order_status_notification.preview.php | emundus/v6 | gpl-2.0 | 2,333 | 88 | codeparrot/github-code |
4356f6384c8f81dc3c0e0da402bbdba87a9e2d9f45789d90842b579cccef8be0 | # -*- coding: utf-8 -*-
"""
Emotiv acquisition :
Reverse engineering and original crack code written by
Cody Brocious (http://github.com/daeken)
Kyle Machulis (http://github.com/qdot)
Many thanks for their contribution.
Need python-crypto.
"""
import multiprocessing as mp
import numpy as np
import msgpack... | Python | Telemir-EEG/pyacq/pyacq/core/devices/emotiv.py | Hemisphere-Project/Telemir-DatabitMe | gpl-2.0 | 12,623 | 375 | codeparrot/github-code |
f5965fd22f86742832992378c9d225718c55405cfda07c5096c694210bb207e2 | // $Id: ahah.js,v 1.1.2.1 2009/03/21 19:43:51 mfer Exp $
/**
* Provides AJAX-like page updating via AHAH (Asynchronous HTML and HTTP).
*
* AHAH is a method of making a request via Javascript while viewing an HTML
* page. The request returns a small chunk of HTML, which is then directly
* injected into the ... | JavaScript | profiles/uberdrupal/modules/jquery_update/replace/ahah.js | punithagk/mpm | gpl-2.0 | 7,824 | 222 | codeparrot/github-code |
dc4defa2feccddc50469d6c38791bd0e0d0ad33425ddab7e3030f8dacc31f942 | /*
CVSNT Generic API
Copyright (C) 2004 Tony Hoyle and March-Hare Software Ltd
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License version 2.1 as published by the Free Software Foundation.
This library is distributed in ... | C | cvsapi/FileAccess.h | yath/cvsnt | gpl-2.0 | 3,355 | 134 | codeparrot/github-code |
b0f6827011f79ebd3cc8789fe48a28f7df1e3a6c1b9ee3daa1db028311aafbfe | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;
namespace SenseNet.ContentRepository.Schema
{
public static class DynamicContentTools
{
public static IDictionary<string, FieldMetadata> GetFieldMetadata(Type type)
{
... | C# | src/ContentRepository/Schema/DynamicContentTools.cs | SenseNet/sensenet | gpl-2.0 | 4,313 | 106 | codeparrot/github-code |
352da11c081cb20426f35645475831d1081f4558442817f6e055a7e49fb4fb24 | //-----------------------------------------------------------------------------
// File: DesignInstantiationEditor.h
//-----------------------------------------------------------------------------
// Project: Kactus2
// Author: Esko Pekkarinen
// Date: 26.01.2016
//
// Description:
// Editor for design configur... | C | editors/ComponentEditor/instantiations/DesignInstantiationEditor.h | kactus2/kactus2dev | gpl-2.0 | 3,427 | 102 | codeparrot/github-code |
78fe23404e9e25dd3fcd0832ffe5fa1d489831673e4d5623fa63da41d670aa1f | /* Copyright (c) 2013 Dropbox, Inc.
*
* 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, merge, publish,... | C++ | json11/json11.cpp | aholler/snetmanmon | gpl-2.0 | 24,950 | 789 | codeparrot/github-code |
1d116a292f6e708191e7abbe459130e2313b5cd2902ec56cd5532589f189c509 | /*
This file is part of KOrganizer.
Copyright (c) 2008 Thomas Thrainer <tom_t@gmx.at>
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++ | calendarviews/todo/todoviewview.cpp | kolab-groupware/kdepim | gpl-2.0 | 6,944 | 239 | codeparrot/github-code |
efe6cee01eb651af9badcdde687ecc7cac189e5b4e982b75b33d3a10069c4201 | /*
* variables.h:
* Gtkdialog - A small utility for fast and easy GUI building.
* Copyright (C) 2003-2007 László Pere <pipas@linux.pte.hu>
* Copyright (C) 2011-2012 Thunor <thunorsif@hotmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General P... | C | src/variables.h | alexis-82/gtkdialog | gpl-2.0 | 3,242 | 78 | codeparrot/github-code |
3a01f92cce1ea7c5aaa94af4f33365f043f89c19f82ac66238737a80089f3958 | <?php
/**
* @package ZOO Component
* @file _menu.php
* @version 2.0.1 May 2010
* @author YOOtheme http://www.yootheme.com
* @copyright Copyright (C) 2007 - 2010 YOOtheme GmbH
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
*/
// no direct access
defined('_JEXEC') or die('Restricted acc... | PHP | administrator/components/com_zoo/partials/_menu.php | alecerosiete/webBancaria | gpl-2.0 | 2,104 | 87 | codeparrot/github-code |
bae8706906508d6d1021ab128470878ad1dc13e05cf250f6afeb558dc6e4c86f | /*
===========================================================================
Copyright (C) 1999-2005 Id Software, Inc.
This file is part of Quake III Arena source code.
Quake III Arena source code is free software; you can redistribute it
and/or modify it under the terms of the GNU General Public License as
publish... | C | source/code/q3_ui/ui_credits.c | everettcaleb/openarena | gpl-2.0 | 2,278 | 90 | codeparrot/github-code |
3af91e3ff95c63af0f2aeee0dea997ead33c4f7d3eb939062a732268878a873c | /* Bongo Project licensing applies to this file, see COPYING
* (C) 2007 Alex Hudson
*/
/** \file
* Implementation of XPL hash API: access to gcrypt's MD5 and SHA1 algorithms
*/
#include <config.h>
#include <libintl.h>
#include <xplhash.h>
#include <memmgr.h>
#include <gcrypt.h>
#include <libintl.h>
#include <loc... | C | src/libs/xpl/hash.c | bongo-project/bongo | gpl-2.0 | 3,881 | 150 | codeparrot/github-code |
eee27eeaa07875b1ff3b5cd83de7221876789bcf230dbf6854b5e1c736b328be | #ifndef CONTROLLER_H
#define CONTROLLER_H
#include <opencv2/core/core.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include <opencv2/highgui/highgui.hpp>
/*
* TODO
* Exception management
* Correggere single channel
* Add dithering
* Custom Filter Tool
*/
class ImageProcessor
{
public:
static i... | C | ImageProcessor.h | Daguerreo/Azul | gpl-2.0 | 1,963 | 45 | codeparrot/github-code |
7c7071e6761437c87ede0af51114d9f146402a1695d65b56b3ca8923200dac93 | /**
* ownCloud Android client application
*
* @author Bartek Przybylski
* @author Tobias Kaminsky
* @author David A. Velasco
* @author masensio
* Copyright (C) 2011 Bartek Przybylski
* Copyright (C) 2016 ownCloud Inc.
* <p>
* This program is free software: you can redistribute it and/or modify
* ... | Java | src/main/java/com/owncloud/android/ui/adapter/FileListListAdapter.java | aleister09/android | gpl-2.0 | 25,342 | 646 | codeparrot/github-code |
daacf50bf46ef5816fd4a07f3ccaeafa888961a7848584b2b4700a03d039c6ca | /*
* Copyright (c) 2010 Mark Liversedge (liversedge@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++ | src/CalDAV.cpp | chet0xhenry/GoldenCheetah | gpl-2.0 | 13,932 | 392 | codeparrot/github-code |
206dabd0eefbc38238c1b1ad0c3872e4d91f2fca836e9412569abdc2e0f85e17 | /**
* JHylaFax - A java client for HylaFAX.
*
* Copyright (C) 2005 by Steffen Pingel <steffenp@gmx.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 the License, o... | Java | src/java/net/sf/jhylafax/PollDialog.java | Distrotech/jhylafax | gpl-2.0 | 2,766 | 107 | codeparrot/github-code |
5153e27406ae13cb4ae1d0be04d93f901b11679dbb3832103f70d3a673c6d7d3 | <?php
/**
* ---------------------------------------------------------------------
* GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2015-2017 Teclib' and contributors.
*
* http://glpi-project.org
*
* based on GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2003-2014 by the INDEPNET... | PHP | inc/phone.class.php | eltharin/glpi | gpl-2.0 | 20,642 | 610 | codeparrot/github-code |
0c0ccdcb3b248fb2e27ed00306c5296b34104ec25f93f5c1ee9f57c5131d359e | /**
*
*/
package com.airnoise.services;
import java.sql.SQLException;
import com.airnoise.core.exception.PersistenceException;
import com.airnoise.dao.DataBaseManager;
/**
* @author tomio
*
*/
public class DataBaseManagementService {
private DataBaseManager manager;
public DataBaseManagementServi... | Java | airnoise/dao/src/main/java/com/airnoise/services/DataBaseManagementService.java | mio-to/airnoise | gpl-2.0 | 947 | 39 | codeparrot/github-code |
cf81d341919cc9e54ae0e2db41035ad948bfae2f4cfe3c23798fc809c2bf7fc7 | <?php
/**
* @package Joomla.Component.Builder
*
* @created 30th April, 2015
* @author Llewellyn van der Merwe <http://www.joomlacomponentbuilder.com>
* @gitea Joomla Component Builder <https://git.vdm.dev/joomla/Component-Builder>
* @github Joomla Component Builder <https://github.com/vdm-io/Jo... | PHP | admin/views/templates/tmpl/default_body.php | vdm-io/Joomla-Component-Builder | gpl-2.0 | 4,232 | 111 | codeparrot/github-code |
08792259504dbcf00e9b54c1f8d7cdc376daf2d009199e8f378b17e4ee06df03 | /*
* motion_comp_altivec.c
* Copyright (C) 2000-2003 Michel Lespinasse <walken@zoy.org>
* Copyright (C) 1999-2000 Aaron Holtzman <aholtzma@ess.engr.uvic.ca>
*
* This file is part of mpeg2dec, a free MPEG-2 video stream decoder.
* See http://libmpeg2.sourceforge.net/ for updates.
*
* mpeg2dec is free software; y... | C | libs/mpeg2dec/libmpeg2/motion_comp_altivec.c | muravjov/bombono-dvd | gpl-2.0 | 29,445 | 1,011 | codeparrot/github-code |
c029f7a1e3f7c9ba08aa007908cea0b204baefe05e18015a1bbeab9dd842b85d | <HTML>
<HEAD>
<TITLE>
Standalone Executables
</TITLE>
</HEAD>
<BODY>
<FONT FACE="Helvetica"><TABLE CELLPADDING=5 CELLSPACING=5>
<TR ALIGN="center">
<TD COLSPAN=2><IMG SRC="me_inc.gif" HEIGHT=36 WIDTH=480><HR></TD>
</TR>
<TR>
<TD VALIGN="top" NOWRAP BGCOLOR="#D8D0F0"><H4>Sitemap</H4><... | HTML | builder/Installer/doc/standalones.html | lebauce/artub | gpl-2.0 | 4,633 | 61 | codeparrot/github-code |
1b71a106e447a2db97298a25db696f7248a0e44928e17b3df2c005816c0a75e0 | /*
一:基本信息:
开源协议:https://github.com/xucongli1989/XCLNetTools/blob/master/LICENSE
项目地址:https://github.com/xucongli1989/XCLNetTools
Create By: XCL @ 2012
*/
using System.Web.Security;
namespace XCLNetTools.Encrypt
{
/// <summary>
/// md5相关
/// </summary>
public static class MD5
{
/// <summ... | C# | XCLNetTools/Encrypt/MD5.cs | xucongli1989/XCLNetTools | gpl-2.0 | 1,436 | 50 | codeparrot/github-code |
7cfcd950f07368be0f13a8be864da4188a3e3379d269505d24d8b0016b272d4e | <!DOCTYPE html>
<!--[if IE 7]><html lang="pt" class="no-js ie7"><![endif]-->
<!--[if IE 8]><html lang="pt" class="no-js ie8"><![endif]-->
<!--[if gt IE 8]><!-->
<html lang="pt" class="no-js">
<!--<![endif]-->
<head>
<meta charset="utf-8" />
<!-- Web Experience Toolkit (WET) / Boîte à outils de l'expérience Web (BOEW)
w... | HTML | sites/all/libraries/wet-boew/demos/theme-gcwu-intranet/pt/cont-secnav1-pt.html | ccatalina/modulemonday | gpl-2.0 | 12,691 | 303 | codeparrot/github-code |
c99e6d62af6208e1c8e28a7477bdbbd4ae4dc6493b1f8d6d9757f66f66139d14 | # -*- coding: utf-8 -*-
#
# Nitrate is copyright 2010 Red Hat, Inc.
#
# Nitrate 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 pr... | Python | nitratexmlrpc/api/user.py | tkdchen/nitrate-xmlrpc | gpl-2.0 | 5,535 | 147 | codeparrot/github-code |
d6dd72d6069d5134c4b51e15020627675651dc0d289bcd23200c95530a1b3ee1 | /* 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.
*
* Parts of this code are heavily based on:
* icoutils - A set of programs dealing with MS Windo... | C | engines/scumm/he/resource_he.h | tramboi/scummvm-test | gpl-2.0 | 12,044 | 437 | codeparrot/github-code |
c4673a28551866a570feb35274ab3e23c177864e53d3caa938eb07a6e41661be | <?php
// Copyright 2011 Toby Zerner, Simon Zerner
// This file is part of esoTalk. Please see the included license file for usage information.
if (!defined("IN_ESOTALK")) {
exit;
}
/**
* A model which provides functions to perform searches for conversations. Handles the implementation
* of gambits, and does sea... | PHP | core/models/ETSearchModel.class.php | Felli/fireside | gpl-2.0 | 34,554 | 986 | codeparrot/github-code |
243e8e436016992f62333a6c718eff97105334ab34d8d5dd2108eebf7b92012f | package org.iatoki.judgels.michael.controllers;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.Lists;
import org.apache.commons.lang3.EnumUtils;
import org.iatoki.judgels.play.InternalLink;
import org.iatoki.judgels.play.LazyHtml;
import org.iatoki.judgels.play.controllers.AbstractJud... | Java | app/org/iatoki/judgels/michael/controllers/MachineWatcherController.java | ia-toki/judgels-michael | gpl-2.0 | 13,764 | 226 | codeparrot/github-code |
48604ec9b539f94e255724144b129d6911370b7998701734ced40a433013865d | /* SPDX-License-Identifier: GPL-2.0+ */
/*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is dis... | C | src/udev/udevadm-control.c | pszewczyk/systemd | gpl-2.0 | 6,585 | 165 | codeparrot/github-code |
43160118e23c87a6f051fede6efa57eadab08da67c55e5637f200ebb1d542785 | /*
* Copyright 2006 John-Mark Bell <jmb202@ecs.soton.ac.uk>
*
* This file is part of NetSurf, http://www.netsurf-browser.org/
*
* NetSurf 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... | C | netsurf/riscos/textarea.c | ashmew2/nskolibrios | gpl-2.0 | 29,072 | 1,161 | codeparrot/github-code |
415ea057bb5626dbfbee9a8726d6e327c213fb47a691a7492623c9ea149dc75b | //: generics/FactoryConstraint.java
interface FactoryI<T> {
T create();
}
class Foo2<T> {
private T x;
public <F extends FactoryI<T>> Foo2(F factory) {
x = factory.create();
}
// ...
}
class IntegerFactory implements FactoryI<Integer> {
public Integer create() {
return new Integer(0);
}
}
cla... | Java | java-base/sourceCodeBak/Thinking in Java/generics/FactoryConstraint.java | NorthFacing/step-by-Java | gpl-2.0 | 638 | 36 | codeparrot/github-code |
664d473be8400c94ea781adaec9c5c49fb6ffed607d037d77e6acb330ca91abb | /***************************************************************************
UndoModifyAction.h - UndoAction for modifications on samples
-------------------
begin : May 25 2001
copyright : (C) 2001 by Thomas Eschenbacher
email : Thomas Eschenbacher <t... | C | libkwave/undo/UndoModifyAction.h | KDE/kwave | gpl-2.0 | 2,843 | 93 | codeparrot/github-code |
d35291404034648cad79f910734255d0e25afa0681ee87e3905998eea1ccdc1a | /* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */
/*
* Mu Qiao <qiaomuf@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 Licens... | C | src/settings/plugins/ifnet/connection_parser.c | Xeralux/NetworkManager | gpl-2.0 | 88,724 | 3,111 | codeparrot/github-code |
6ed0bfe2c81b92dab36692044675650fb3a0e118ed9f7f8df392065cbe6ceb55 | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <getopt.h>
#include <fcntl.h>
#include <unistd.h>
#include <errno.h>
#include <malloc.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <sys/time.h>
#include <sys/mman.h>
#include <sys/ioctl.h>
#inc... | C | gc6500/captureForGc6500.c | xinpengliu/xinpengliu.github.io | gpl-2.0 | 7,384 | 308 | codeparrot/github-code |
493f470fbf7a5ca748a1862ce29a0d8bcf3bac960c49f6df8ebb9683c4d1fd07 | <?php
/*
* Copyright 2005-2015 Centreon
* Centreon is developped by : Julien Mathis and Romain Le Merlus under
* GPL Licence 2.0.
*
* 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 versio... | PHP | www/include/views/graphs/graph-split.php | jben94/centreon | gpl-2.0 | 5,434 | 187 | codeparrot/github-code |
0ab37d2cc355f437bd60145e1c4f1216a602b42e4f044eb94ab478b9730faebc | <?php
// URI: design/admin/templates/navigator/google.tpl
// Filename: design/admin/templates/navigator/google.tpl
// Timestamp: 1416144920 (Sun Nov 16 14:35:20 CET 2014)
$oldSetArray_99a3cecd353295a13123c0e522f2c6fe = isset( $setArray ) ? $setArray : array();
$setArray = array();
$tpl->Level++;
if ( $tpl->Level... | PHP | ezpublish_legacy/var/ezdemo_site/cache/template/compiled/google-1c07b127ceff2e661bfb8ff17cd42902.php | imadkaf/aYaville | gpl-2.0 | 66,608 | 1,666 | codeparrot/github-code |
03eabe08e48ec4ab9212d14ad4c8c335ed5052e508243b6dbddc599dfb740c15 | /*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
* All rights reserved
* The authentication agent program.
*
* As far as I am concerned, the code I have written for this software
* can be used freely for any purpose. Any derived version... | C | user/openssh/openssh-4.3p2/ssh-agent.c | atmark-techno/atmark-dist | gpl-2.0 | 29,835 | 1,229 | codeparrot/github-code |
47487647c78ab227b889b76c9e5b4b211685fc873f4ff33a05b5037dd5e9900f | #pragma once
/*
* Copyright (C) 2005-2008 Team XBMC
* http://www.xbmc.org
*
* This Program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later... | C | xbmc/filesystem/MythSession.h | chris-magic/xbmc_dualaudio_pvr | gpl-2.0 | 2,957 | 99 | codeparrot/github-code |
10261489c2900acc70e5b284a5d4cd5e696a15782a70c4d9cc3cd0bc47874a91 | 'use strict';
const { expect } = require('chai');
const { getParsedSql } = require('./util');
describe('common table expressions', () => {
it('should support single CTE', () => {
const sql = `
WITH cte AS (SELECT 1)
SELECT * FROM cte
`.trim();
expect(getParsedSql(s... | JavaScript | test/ast2sql/cte.js | godmodelabs/flora-sql-parser | gpl-2.0 | 1,628 | 59 | codeparrot/github-code |
5dda8668ef62d17447ef7f4534317dfc05a3f72c4418fb8da00185ba3211f04c | "use strict";
/***
* critical element webgl demo by Silke Rohn and Benedikt Klotz
* Source is the Basis applikation.
* Added and changed functionalities:
* @Benedikt: Objects, Lighting, particle systems, shader, blending and face culling
* @Silke: particle system, changes to particle systems (Elements)
*/
var webgl ... | JavaScript | js/webgl.js | Streamstormer/webGL-project | gpl-2.0 | 37,180 | 1,068 | codeparrot/github-code |
1482f617c8b2d81d9c01ef0e50ae5dc3038bbc6727dee1e8d92f4e5ef5ba5cc7 | /*
* Qt Authentication Library
* Copyright (C) 2013 Martin Bříza <mbriza@redhat.com>
*
* This library 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 License, or (at y... | C++ | src/auth/Auth.cpp | l10n-tw/sddm | gpl-2.0 | 12,191 | 394 | codeparrot/github-code |
78fe21a0e8c45c0431c2d86d23259a53c7e39371e9146371089ee853bb0977ee | <?php
//
// ZoneMinder web frame view file, $Date$, $Revision$
// Copyright (C) 2001-2008 Philip Coombes
//
// 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,... | PHP | web/skins/classic/views/frame.php | connortechnology/ZoneMinder | gpl-2.0 | 7,597 | 175 | codeparrot/github-code |
b37b1b120ff021ebde56bdd8ff6a2a7f7d8eb09c7540710683197a0f85d174ac | # #
# Copyright 2013-2014 Ghent University
#
# This file is part of EasyBuild,
# originally created by the HPC team of Ghent University (http://ugent.be/hpc/en),
# with support of Ghent University (http://ugent.be/hpc),
# the Flemish Supercomputer Centre (VSC) (https://vscentrum.be/nl/en),
# the Hercules foundation (ht... | Python | test/framework/toy_build.py | geimer/easybuild-framework | gpl-2.0 | 33,739 | 707 | codeparrot/github-code |
6964fa9b54cbe86f5056fa4afd2b453167d3bf2207964b4a603d7b2a2eb5c4d5 | /*
* \brief UART LOG component
* \author Christian Helmuth
* \date 2011-05-30
*/
/*
* Copyright (C) 2011-2013 Genode Labs GmbH
*
* This file is part of the Genode OS framework, which is distributed
* under the terms of the GNU General Public License version 2.
*/
#ifndef _UART_COMPONENT_H_
#define _UART_C... | C | os/src/drivers/uart/uart_component.h | m-stein/genode | gpl-2.0 | 6,030 | 264 | codeparrot/github-code |
1bf21a37ac7107180a0f16dc292b5436abc59b0137e8aff5f0248fe4760a8cf3 | import React from "react";
import PropTypes from "prop-types";
import styled from "styled-components";
const StyledTag = styled.span`
color: ${props => props.color};
background: ${props => props.bgcolor};
padding: ${props => props.padding};
margin: ${props => props.margin};
border-radius: 3px;
border: ${pr... | JavaScript | ui/cap-react/src/components/partials/Tag.js | pamfilos/data.cern.ch | gpl-2.0 | 1,314 | 64 | codeparrot/github-code |
cc0cbe779a493adfa20922a824e66af3bc48cf0af26b1c583eca9f0f436d5c48 | <?php
/**
* The switch customize control extends the WP_Customize_Control class. This class allows
* developers to create switch settings within the WordPress theme customizer.
*
* @package Bulan
* @author Theme Junkie, Kirki
* @copyright Copyright (c) 2015, Theme Junkie
* @license http://www.gnu.or... | PHP | wp-content/themes/bulan/admin/controls/switch.php | rkarpeles/taylorkarpeles | gpl-2.0 | 2,026 | 66 | codeparrot/github-code |
15a59517bb804a2bf9c7b23f8c20123412556dc5ee490559c0a17cd8df23752a | package e.scm;
import java.awt.*;
import javax.swing.*;
public class AnnotatedLineRenderer extends e.gui.EListCellRenderer<AnnotatedLine> {
/** Used to draw the dashed line between adjacent lines from different revisions. */
private static final Stroke DASHED_STROKE = new BasicStroke(1.0f,
BasicSt... | Java | src/e/scm/AnnotatedLineRenderer.java | software-jessies-org/scm | gpl-2.0 | 1,792 | 51 | codeparrot/github-code |
b01ec4c23256ef36fb84e1eb2ce2dcdf876fceabbc0a14abf1df4b8c98e79867 | from utils import textAppend, textPrepend, textCut, textEditLastChar, error, textCursorPos
class File:
""" Represents a file (A separated class allow to open several files at a time.
The class also holds the whole file content. (The vim buffers only store either the
accepted chunks, or the editing statement) """
... | Python | plugin/file.py | QuanticPotato/vcoq | gpl-2.0 | 4,084 | 116 | codeparrot/github-code |
d6da93ff04201192daf962032c23e9fa65c8fac55fb4cad0aa6b2a18fefc3629 | // SPDX-License-Identifier: GPL-2.0-or-later
// Copyright (C) 2019 The MMapper Authors
#include "abstractparser.h"
#include <map>
#include <memory>
#include <optional>
#include <ostream>
#include <sstream>
#include <vector>
#include "../configuration/configuration.h"
#include "../display/InfoMarkSelection.h"
#includ... | C++ | src/parser/AbstractParser-Mark.cpp | MUME/MMapper | gpl-2.0 | 12,204 | 336 | codeparrot/github-code |
abf49e7e10df2bf219dd531aa923e625c90f2fe500c47106ecffd6d365d028b3 | /*
Copyright (C) 2004 Benoît Dejean <TazForEver at dlfp dot org
LibGTop 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.
L... | C | libdesklets/system/gtop.c | RaumZeit/gdesklets-core | gpl-2.0 | 38,987 | 1,343 | codeparrot/github-code |
6c98a440b20d49a1a38fb98eb93b193a975f3f04bd3113e61cf7a68ba99fa6df | /*
KeePass Password Safe - The Open-Source Password Manager
Copyright (C) 2003-2017 Dominik Reichl <dominik.reichl@t-online.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 ... | C# | KeePass/Forms/ImportMethodForm.cs | FSteitz/KeePass | gpl-2.0 | 3,187 | 101 | codeparrot/github-code |
c4fd90761dc7cb03ee5d3e6641219a55ab60f6512e20e7bc7c3476ecef6fb1b1 | /*
* Copyright (c) 2010 Mark Liversedge (liversedge@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++ | src/ICalendar.cpp | g3rg/GoldenCheetah | gpl-2.0 | 11,408 | 288 | codeparrot/github-code |
a83986d65776247c985636ffe26becbf85cf1d1d0474c2b5472db30fa4365972 | /***************************************************************************
AQSGroupBox_p.h
-------------------
begin : 30/01/2011
copyright : (C) 2003-2011 by InfoSiAL S.L.
email : mail@infosial.com
************************************************************************... | C | src/flbase/aqsobjects/AQSGroupBox_p.h | gestiweb/eneboo | gpl-2.0 | 6,817 | 151 | codeparrot/github-code |
7c069aacfb9cddcaf71f8c0505e4c32154fb98340c1ddec0964d105e9b0c03b6 | /*
* Copyright (C) 2005-2010 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 2 of the License, or
* (at your option) any later version.
*
... | C++ | src/game/PetitionsHandler.cpp | MiLk/mangos | gpl-2.0 | 34,581 | 971 | codeparrot/github-code |
6430b13e317250510d8e3b4fbe684600438ac7553ece7b7159aa459201d73cb5 | <?php
/*
Template Name:aboutus
*/
?>
<?php get_header(); ?>
<div class="about_bt">
<div class="about_bt_ka">
<div class="about_bt_left">
<h1>ABOUT US</h1>
<p>关于我们</p>
</div>
<div class="about_bt_right">
<a href="<?php echo get_option('mytheme_news_title'); ... | PHP | wp-content/themes/wood-themes/aboutus.php | xiaofanmeirong/weizhen | gpl-2.0 | 2,567 | 108 | codeparrot/github-code |
55859999bf4c544898aa02762ac1fc2fde252092de800b1dfcf3f5cd257d77f6 | /*
* Asterisk -- An open source telephony toolkit.
*
* Copyright (C) 2007-2008, Digium, Inc.
*
* Dwayne M. Hubbard <dhubbard@digium.com>
*
* See http://www.asterisk.org for more information about
* the Asterisk project. Please do not directly contact
* any of the maintainers of this project for assistance;
* ... | C | main/taskprocessor.c | Distrotech/asterisk | gpl-2.0 | 15,172 | 522 | codeparrot/github-code |
34bfb795fc84db782ce4b70e1686aba2b7ead29b386cf0fd0f0fd57f88aef05a | /*
* Copyright (c) Bull S.A. 2007 All Rights Reserved.
*
* 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 would be useful, but
* ... | C | testcases/network/rpc/rpc-tirpc-full-test-suite/tests_pack/tirpc_svc_7/tirpc_svc_7.c | anthony-kolesov/arc_ltp | gpl-2.0 | 5,606 | 226 | codeparrot/github-code |
f5faeea26700681f923c3829d77d27e576da42927a4f94a3060d1a653ae98074 | {% extends "../../base-foto.html" %}
<!-- XXXXXXXXXXXXXXXXXXXXXXXXXXXXX -->
<!-- PAINEL DE CONTROLE DO USUÁRIO -->
<!-- XXXXXXXXXXXXXXXXXXXXXXXXXXXXX -->
{% block head %}
<!-- código para produzir popup com notícias -->
<script type="text/javascript" src="/static/noticia.js"></script>
<!-- código para produ... | HTML | main/templates/modules/member/control-panel-original.html | labase/activnce | gpl-2.0 | 11,793 | 366 | codeparrot/github-code |
ffc506dfdaa51f5d504f2dc804bfa9b1dbee06148941eb4a917313e88cefdf68 | /*
Copyright (C) 1997-2001 Id Software, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in th... | C | src/monsters/quake1/m_demon.c | decino/Infighter | gpl-2.0 | 8,074 | 358 | codeparrot/github-code |
3e51035f827a881d608e0d06eccea082a76f68a4a796a98dd61dc2739d8d7558 | <?php
/**
* Created by PhpStorm.
* User: ROGER
* Date: 16.03.14
* Time: 04:08
*/
add_action('admin_notices', 'my_admin_notice');
function my_admin_notice() {
$set_errors = get_settings_errors();
if (!isset($_SESSION['page_for_posts']) || !isset($_SESSION['page_on_front'])) {
$_SESSION['page_for_posts'] = ... | PHP | library/inc/angular/admin/reading-settings.php | HRoger/angularpresstheme | gpl-2.0 | 1,450 | 57 | codeparrot/github-code |
48eeedc93d14049d9cfbe0d25d62f3f562ffd93f9351a1ce0513d1f561e5524a | <?php
namespace Shippingpickup;
use Sumo;
use App;
class ModelSetup extends App\Model
{
public function install()
{
Sumo\Database::query("
CREATE TABLE IF NOT EXISTS PREFIX_app_shippingpickup (
`setting_id` int(11) NOT NULL AUTO_INCREMENT,
`store_id` int(11) ... | PHP | upload/apps/shippingpickup/model/setup.php | wardvanderput/SumoStore | gpl-2.0 | 975 | 41 | codeparrot/github-code |
4e9d5421d034a83b00524eb4985b5678591de13af75058534fc9609a1711cb63 | <!DOCTYPE html>
<html lang="zh-cn">
<!-- Mirrored from www.w3school.com.cn/tiy/t.asp?f=jseg_exp by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 02 Dec 2015 07:20:07 GMT -->
<!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=GB2312" /><!-- /Added by HTTrack -->
<head>
<meta charset="ut... | HTML | Coding/W3School/W3CN/www.w3school.com.cn/tiy/t7683.html | platinhom/ManualHom | gpl-2.0 | 2,493 | 108 | codeparrot/github-code |
bfb6881a53a954f25c44d6b7b0bbc1cf515164176df3b4690c3d79c0532168b4 | <?php
namespace qtismtest\common\datatypes;
use qtism\common\datatypes\Utils;
use qtismtest\QtiSmTestCase;
/**
* Class DatatypeUtilsTest
*/
class DatatypeUtilsTest extends QtiSmTestCase
{
/**
* @dataProvider isQtiIntegerValidProvider
* @param int $value
*/
public function testIsQtiIntegerVal... | PHP | test/qtismtest/common/datatypes/DatatypeUtilsTest.php | oat-sa/qti-sdk | gpl-2.0 | 1,146 | 62 | codeparrot/github-code |
96304a92d4b714998974338f5da821a57ec3504b1ef9a30d1c5eb5308da63c12 | //
// System.Security.Permissions.DataProtectionPermission class
//
// Author:
// Sebastien Pouliot <sebastien@ximian.com>
//
// Copyright (C) 2004-2005 Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentatio... | C# | class/System.Security/System.Security.Permissions/DataProtectionPermission.cs | hardvain/mono-compiler | gpl-2.0 | 4,520 | 152 | codeparrot/github-code |
d1e9d5d956a790fba37b38ad341ee97cc07682764ec6312e05403d2e0bca6b1f | <?php
class wpmlHistoriesList extends wpMailPlugin {
var $model = 'HistoriesList';
var $controller = 'historieslists';
var $table = '';
var $errors = array();
var $data = array();
var $fields = array(
'id' => "INT(11) NOT NULL AUTO_INCREMENT",
'history_id' => "INT(11) NOT NULL DEFAULT '... | PHP | wp-content/plugins/newsletters-lite/models/histories_list.php | GaMaker/web-wordpress | gpl-2.0 | 2,033 | 70 | codeparrot/github-code |
9188ad5f52c985e4b745f78d1344b8ed0309d78b728a9af9b8ba639d9dc757c3 | package com.example.jmtransfers.jmtransfer; import android.content.SharedPreferences; import android.support.v7.app.ActionBar; import android.widget.TextView;
import android.app.ProgressDialog;
import android.content.Intent;
import android.os.Bundle;
import android.os.CountDownTimer;
import android.support.design.widg... | Java | app/src/main/java/com/example/jmtransfers/jmtransfer/MainActivity.java | unifieddigitalmedia/Just-Money-Transfers-Android | gpl-2.0 | 2,118 | 90 | codeparrot/github-code |
0efab60526a22416cfee636e07a3e84a2e68968a1e90e490917c6204b945ac42 | /*
* Extended AGI test application
*
* This code is released into the public domain
* with no warranty of any kind
*/
#include "asterisk.h"
#define AUDIO_FILENO (STDERR_FILENO + 1)
/*! \file
* Extended AGI test application
*
* This code is released into the public domain
* with no warranty of any kind
*
*... | C | agi/eagi-test.c | bklang/asterisk | gpl-2.0 | 3,734 | 170 | codeparrot/github-code |
b51f5a6dbbc17400ea2b8e74b2fbcf24796a417b45606220b9f5d4a80ece2275 | <?php
/**
* @class FLPostGridModule
*/
class FLPostGridModule extends FLBuilderModule {
/**
* @method __construct
*/
public function __construct()
{
parent::__construct(array(
'name' => __('Posts', 'fl-builder'),
'description' => __('Display a grid of your WordPress posts.', 'fl-builder'),... | PHP | modules/post-grid/post-grid.php | faithmade/beaver-builder | gpl-2.0 | 10,603 | 333 | codeparrot/github-code |
122b77b8a17bd9a22d690927a73550992e80550cc0454758a775df4184851af5 | package me.giantcrack.gs;
import me.giantcrack.eco.BalanceCmd;
import me.giantcrack.eco.BuyCmd;
import me.giantcrack.eco.EcoFile;
import me.giantcrack.eco.EconomyCmd;
import me.giantcrack.eco.SellCmd;
import me.giantcrack.eco.ValueCmd;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukki... | Java | Shops/src/me/giantcrack/gs/Main.java | markgiant/Minecraft | gpl-2.0 | 2,167 | 77 | codeparrot/github-code |
9e6e79464c94561352fdc2b1afdd16d1b7c71ba02e1813719ddc3a580000e6a8 | /*
* Internal NT APIs and data structures
*
* Copyright (C) the Wine project
*
* This library 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 License, or (at your opt... | C | winternl_mod.h | isseki/metacryst | gpl-2.0 | 9,503 | 235 | codeparrot/github-code |
1a94c0aa41549f30ef3473fa0189b53d074962c3c1e3acc81d2ed1ef36436321 | package me.yugy.app.common.utils;
import android.annotation.TargetApi;
import android.content.Context;
import android.content.pm.PackageManager;
import android.os.Build;
import android.os.Environment;
import android.os.StatFs;
import java.io.File;
import java.io.IOException;
import static android.os.Envi... | Java | mylibrary/src/main/java/me/yugy/app/common/utils/StorageUtils.java | jj-io/jj-android | gpl-2.0 | 3,221 | 89 | codeparrot/github-code |
bac0e1de08f4c0dc93ad6f6cefbaa1cad5ce8d2e83a7f24d04f93036e68d845a | /* This file is part of the KDE project
Copyright (C) 2005-2014 Jarosław Staniek <staniek@kde.org>
Copyright (C) 2014 Roman Shtemberko <shtemberko@gmail.com>
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 ... | C++ | kexi/widget/kexidbconnectionwidget.cpp | donniexyz/calligra | gpl-2.0 | 17,167 | 479 | codeparrot/github-code |
7daa7403db5af1f20392370289fbddef0f8a1ad055283a6400b593e1d7fe98ba | /* -*- OpenSAF -*-
*
* (C) Copyright 2010 The OpenSAF Foundation
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
* or FITNESS FOR A PARTICULAR PURPOSE. This file and program are licensed
* under the GNU Les... | C | osaf/services/infrastructure/dtms/dtm/dtm_intra.c | indonexia2004/opensaf-indo | gpl-2.0 | 30,559 | 955 | codeparrot/github-code |
f5f06933945d17d3c91a43ef397f184dc2a8df56a652b0bd627a57579f40f0f9 | package de.tum.bgu.msm.utils;
import cern.colt.matrix.tdouble.DoubleMatrix2D;
import org.matsim.core.utils.collections.Tuple;
import java.util.*;
public class DeferredAcceptanceMatching {
public static Map<Integer, Integer> match(Collection<Integer> set1, Collection<Integer> set2, DoubleMatrix2D preferences) {
... | Java | siloCore/src/main/java/de/tum/bgu/msm/utils/DeferredAcceptanceMatching.java | msmobility/silo | gpl-2.0 | 2,026 | 51 | codeparrot/github-code |
28bae161fd4caaed789bb9e4a1838b9e5a6b1ba0e0b593934381955572c33a5f | /*
* Copyright 2012 Cisco Systems, Inc. All rights reserved.
*
* This program is free software; you may 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.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WAR... | C | drivers/scsi/fnic/fnic_fip.h | u9621071/kernel-uek-UEK3 | gpl-2.0 | 1,843 | 70 | codeparrot/github-code |
25d55484c3def2e2450b40f848a443f791475089faf3e587944c2bd32a639690 | /*
* Copyright (C) 2010 Michael Buesch <m@bues.ch>
*
* 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++ | tray/util.cpp | mbuesch/pwrtray | gpl-2.0 | 1,046 | 44 | codeparrot/github-code |
198e15f6f2003dbc1dc828d015c7c610ac52312aa40bf99620370b17dd8f5867 | <?php
/* __
* _| |_
* ____ _ _ __ __ _ __ __ ____ |_ _|
* | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \... | PHP | src/pocketmine/entity/Human.php | PocketMinePlusPlus/PocketMinePlusPlus | gpl-2.0 | 9,941 | 299 | codeparrot/github-code |
1f0d3524104125dde0af105a8a9be7f648429c5ae65c319f09e2a3ab600e23c3 | <?php
/**
* @file
* Contains \Drupal\lingotek\LingotekTranslatableEntity.
*/
namespace Drupal\lingotek;
use Drupal\lingotek\LingotekInterface;
use Drupal\Core\Entity\ContentEntityInterface;
use Drupal\Core\Entity\ContentEntityTypeInterface;
use Symfony\Component\DependencyInjection\ContainerInterface;
/**
* Cla... | PHP | drupal/modules/contrib/lingotek/src/LingotekTranslatableEntity.php | M1r1k/d8intranet | gpl-2.0 | 12,705 | 418 | codeparrot/github-code |
f241e63a959b7d1442a12fef44dafbb5871108d536dac4f47c9d2645ce7335c7 | <?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Redland RDF Language Bindings - Ruby RDoc - Class: Redland::Parser</title>
<link rel=... | HTML | docs/rdoc/Redland/Parser.html | detrout/redland-bindings | gpl-2.0 | 43,783 | 458 | codeparrot/github-code |
69eea09adb482ed4f8c3dc4ae2002200a15a4da787322b4e6885c337f4cc8f2e | //Pyjama compiler version:v1.5.3
package PyjamaCode.TestingDirectives.Sections;
import pj.Pyjama;
import pj.pr.*;
import pj.PjRuntime;
import pj.Pyjama;
import pi.*;
import java.util.concurrent.*;
import java.util.concurrent.atomic.AtomicBoolean;
import java.util.concurrent.atomic.AtomicInteger;
import java.util.conc... | Java | test/PyjamaCode/TestingDirectives/Sections/section_positive_test1.java | ParallelAndReconfigurableComputing/Pyjama | gpl-2.0 | 10,076 | 190 | codeparrot/github-code |
303f93bf99430b4b9fe917c0450dbcde9f721722915d851f156b8d60a9e24d1f | # -*- coding:utf-8 -*-
import tradeStrategy as tds
import sendEmail as se
import tradeTime as tt
import tushare as ts
import pdSql_common as pds
from pdSql import StockSQL
import numpy as np
import sys,datetime
from pydoc import describe
from multiprocessing import Pool
import os, time
import file_config ... | Python | low_high33_backtest.py | allisnone/pytrade | gpl-2.0 | 40,798 | 722 | codeparrot/github-code |
a8fb567742180d4a608bc0dc8a9fe4e2615f4447bbddd7a4b93a5a25ba7556c9 | <?php
/**
* @package Prism
* @subpackage Constants
* @author Todor Iliev
* @copyright Copyright (C) 2016 Todor Iliev <todor@itprism.com>. All rights reserved.
* @license GNU General Public License version 3 or later; see LICENSE.txt
*/
namespace Prism;
defined('JPATH_PLATFORM') or die;
/**... | PHP | libraries/Prism/Constants.php | ITPrism/GamificationDistribution | gpl-2.0 | 2,208 | 96 | codeparrot/github-code |
805be1c32a2c8aafa73dd059324a994fd1e181f2eb2549c3ead74b6b24bc5c94 | /*
Copyright (C) 2002 Richard Henderson
Copyright (C) 2001 Rusty Russell, 2002, 2010 Rusty Russell IBM.
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... | C | kernel/module.c | F4uzan/skernel_u0 | gpl-2.0 | 92,124 | 3,545 | codeparrot/github-code |
8bf7d8d962883505382b36c074fcc0b06769f0472be1f98cb2eb3a5082eb3f0c | /**
* Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
*
* This library 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 License, or (at your option)
* any later... | Java | portlets/iucn-dbservice-portlet/docroot/WEB-INF/service/com/iucn/whp/dbservice/NoSuch_sites_countryException.java | iucn-whp/world-heritage-outlook | gpl-2.0 | 1,074 | 40 | codeparrot/github-code |
908864055c2ae87b7584405887b3ec3bc4ff8fedb103b95fba0a4b90b3ab0332 | /*
** Copyright (C) 2013 Vladimir Zahradnik <vladimir.zahradnik@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 or version 3 of the
** License.
**
** This progr... | C | src/dsp.c | vladimir-zahradnik/AudioTools | gpl-2.0 | 12,955 | 379 | codeparrot/github-code |
fa40f9cd1e9e097c538a5a338f1e4f3e8cef4cde612551fe7af04be815618e50 | /**
* @author Marc Moerig
* @version 3.0
*/
#include <iostream>
#include <fstream>
#include "../../algorithm/nb_iter/iterate.hpp"
#include "../../lisa/ctrlpara.hpp"
#include "travel_graph.hpp"
#include "travel_neighbourhood.hpp"
using namespace std;
//**********************************************************... | C++ | src/sample/travel/travel.cpp | hojsimpson/LiSA | gpl-2.0 | 3,906 | 151 | codeparrot/github-code |
7d80f81a0372fbb7f8c86a6b96f68306b97dfafb9c60020a9e03c233b90f012c | /******************************************************************************
* Icinga 2 *
* Copyright (C) 2012-2015 Icinga Development Team (http://www.icinga.org) *
* *
... | C++ | lib/cli/pkirequestcommand.cpp | daniilyar/icinga2 | gpl-2.0 | 4,399 | 112 | codeparrot/github-code |
dbc215b0c3abbd5fc0f93c0e6621a8996c9bef4c4dccc34962d09d81f238c251 | /***************************************************************************
gmainwindow.cpp
(c) 2004-2006 - Daniel Campos Fernández <dcamposf@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 Softwa... | C++ | gb.gtk/src/gmainwindow.cpp | justlostintime/gambas | gpl-2.0 | 32,345 | 1,638 | codeparrot/github-code |
50784ee89c8d184dc6f8d4b3209816563d66cca8e0792780ffa7429a54acee6e | /*
* RTC subsystem, sysfs interface
*
* Copyright (C) 2005 Tower Technologies
* Author: Alessandro Zummo <a.zummo@towertech.it>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation... | C | drivers/rtc/rtc-sysfs.c | cyox93/s3c-linux-2.6.21 | gpl-2.0 | 6,196 | 242 | codeparrot/github-code |
6d73766e13873ac58bd23f4bb92deeea1ba1831d306762ef444b3a3219ce903c | package sicxe.model.simulator.assembler.command.bits;
/**
* Created by maciek on 14/01/16.
*/
public class FormatFourBits extends Bits{
private final int e = 1 << 20;
private final int b = 0;
private final int p = 0;
private int x = 0;
public int getX() {
return x;
}
public void... | Java | src/main/java/sicxe/model/simulator/assembler/command/bits/FormatFourBits.java | mwalercz/sicxe-sim-mvn | gpl-2.0 | 563 | 36 | codeparrot/github-code |
0e10ea7dae667c2b95a2cd52ea07955bd4345e6dd3290c22c3b53bf887a5b734 | <?php
/**
* duena functions and definitions
*
* @package duena
*/
/**
* Set the content width based on the theme's design and stylesheet.
*/
if ( ! isset( $content_width ) )
$content_width = 900; /* pixels */
// The excerpt based on words
if ( !function_exists('duena_string_limit_words') ) {
fu... | PHP | wp-content/themes/duena/functions.php | werner/78publicity | gpl-2.0 | 23,364 | 632 | codeparrot/github-code |
4ede8f54d7043f6670acf4c03a8722b2a9f05f326518a3513b1df15049314331 | <?php
/*
+--------------------------------------------------------------------+
| CiviCRM version 4.1 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2011 |
+--------------------... | PHP | sites/all/modules/civicrm/CRM/Logging/Reverter.php | jblanford/Uber-Web-Site | gpl-2.0 | 8,295 | 180 | codeparrot/github-code |
ed7e97f4dab2519f5e957ee31d63f2f31cdfbb2dde5b3af20065cd2d1c38e818 | ///////////////////////////////////////////////////////////////////////////////
//
// wxFormBuilder - A Visual Dialog Editor for wxWidgets.
// Copyright (C) 2005 José Antonio Hurtado
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as ... | C++ | plugins/layout/layout.cpp | wxFormBuilder/wxFormBuilder | gpl-2.0 | 24,751 | 773 | codeparrot/github-code |
86fefb97572ac0368c7af26375c0b41cb2f2f558b716c95127818352e074fb33 | /* global FullCalendar, FullCalendarLocales, FullCalendarInteraction */
var GLPIPlanning = {
calendar: null,
dom_id: "",
all_resources: [],
visible_res: [],
drag_object: null,
last_view: null,
display: function(params) {
// get passed options and merge it with default on... | JavaScript | js/planning.js | smartcitiescommunity/Civikmind | gpl-2.0 | 34,622 | 946 | codeparrot/github-code |
3ded995c129a43015da709b7dc01ed5e181ef15dcb8f3740b712161d6b7608fd | package controllers;
import static akka.pattern.Patterns.ask;
import static play.libs.Json.toJson;
import java.time.LocalDateTime;
import java.time.ZoneOffset;
import java.util.Date;
import java.util.UUID;
import java.util.concurrent.TimeUnit;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import ja... | Java | app/controllers/AtualizacaoController.java | nazareno/diferentonas-server | gpl-2.0 | 4,852 | 133 | codeparrot/github-code |
4d3ed32b51088025da6b8d1b8c10759813e6fbf8ce4902986b60f77134f7b9b5 | if GetLocale() ~= "ptBR" then return end
local L
-----------------
-- Beth'tilac --
-----------------
L= DBM:GetModLocalization(192)
L:SetOptionLocalization({
RangeFrame = "Exibir medidor de distância (10)"
})
L:SetMiscLocalization({
EmoteSpiderlings = "Spiderlings have been roused from their nest!"
})
-----... | Lua | Interface/AddOns/DBM-Firelands/localization.br.lua | davymai/CN-QulightUI | gpl-2.0 | 7,055 | 212 | codeparrot/github-code |
a2e10ed7df4b56e67a8c86626a6974eca85328f7fb0865d2cea31cd8fe19607a | class Solution {
public:
int minCut(string s) {
if (s.size() < 2) {
return 0;
}
int len = s.size();
vector<int> cut(len + 1, 0); // cut[i] : s[0..i-1] min cut
for (int i = 0; i <= len; i++) {
cut[i] = i - 1;
}
for (int i = 0; i < len; i++) {
// odd len
for (int l ... | C++ | leetcode/Palindrome Partitioning II/main1.cpp | gyang/Algo | gpl-2.0 | 711 | 31 | codeparrot/github-code |
07caa967e6885cb4375d54e7347310c128eedd7f440274bdd972d97b132b1855 | <?php
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
/**
*
* @version $Id: checkout_bar.php 617 2007-01-04 19:43:08Z soeren_nb $
* @package VirtueMart
* @subpackage html
* @copyright Copyright (C) 2004-2005 Soeren Eberhardt. All rights reserved.
* @license http://www.gnu.org/copyle... | PHP | administrator/components/com_virtuemart/html/checkout_bar.php | foresitegroup/sherwin | gpl-2.0 | 3,126 | 96 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.