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 |
|---|---|---|---|---|---|---|---|---|
e613237bb03e057b5dff1ad791e01c2d341d98e3407e068382169ac63a354139 | using UnityEngine;
using System.Collections;
public class Vitoria : MonoBehaviour {
public Texture2D creditos;
public float velocidade = 0.02f;
private float tempo;
public void Start() {
tempo = Time.time;
if (MotorJogo.estado == MotorJogo.Estado.Desligado) MotorJogo.estado = MotorJogo.Estado.Em... | C# | src/Assets/Codigos/Interface/Vitoria.cs | marinello/jackietony | gpl-2.0 | 797 | 35 | codeparrot/github-code |
5a7f6642195431c0ecd612da7cbc5a36b3f981659d9616670323e0e14e0bfa41 | <?php
/*
* @version $Id: doublons.config.php 246 2013-05-02 13:03:33Z yllen $
-------------------------------------------------------------------------
reports - Additional reports plugin for GLPI
Copyright (C) 2003-2013 by the reports Development Team.
https://forge.indepnet.net/projects/reports
---------------... | PHP | php/plugins/reports/report/doublons/doublons.config.php | elitelinux/hack-space | gpl-2.0 | 5,779 | 146 | codeparrot/github-code |
e4010c24e5b3faa9dbd7003ffc03f00b834bc23cdf7a8c90a7464617c05e357b | <?php // coding: latin1
/**
* Fanzub - RSS
*
* Copyright 2009-2011 Fanzub.com. All rights reserved.
* Do not distribute this file whole or in part without permission.
*
* $Id$
* @package Fanzub
*/
require_once('../lib/class.fanzub.php');
require_once('../lib/class.render.php');
class RSSController extends Cont... | PHP | www.fanzub.com/www/rss.php | fanzub/fanzub | gpl-2.0 | 1,253 | 44 | codeparrot/github-code |
80681312798c399e55a5772e1674e946b935b96c324ef996e7885b7ecbd0b8a2 | #!/usr/bin/env python
# encoding: utf-8
'A simple client for accessing api.ly.g0v.tw.'
import json
import unittest
try:
import urllib.request as request
import urllib.parse as urlparse
except:
import urllib2 as request
import urllib as urlparse
def assert_args(func, *args):
def inner(*args):
required_arg = ar... | Python | lyg0vtw_client/lyg0vtw_client.py | zonble/lyg0vtw_client.py | gpl-2.0 | 5,779 | 191 | codeparrot/github-code |
ebb4ca75b9caf23c6b7c708bf11986de4bb426c3444c63350b76edd46ffef940 | /**
* TileEntity class of the statue
*/
package info.jbcs.minecraft.statues;
import net.minecraft.block.Block;
import net.minecraft.client.Minecraft;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.init.Blocks;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
impor... | Java | src/main/java/info/jbcs/minecraft/statues/TileEntityStatue.java | asiekierka/Statues | gpl-2.0 | 3,891 | 157 | codeparrot/github-code |
682059f3a4e47b25a7105cd4642d8daf1efbe201cbc5bbd70c89383bf8baf48b | <?php
/**
* Created by PhpStorm.
* User: kuibo
* Date: 2017/8/30
* Time: 9:17
*/
abstract class GP_Entity {
protected function _save( $table, $data, $data_format ) {
$retval = false;
global $wpdb;
// Update.
if ( ! empty( $this->id ) ) {
$result = $wpdb->update( $... | PHP | wp-content/plugins/gampress/includes/core/classes/class-gp-entity.php | kuibobo/GamPress | gpl-2.0 | 977 | 36 | codeparrot/github-code |
2cce0b83c61b3bf8ac3289a71686c4891ad8d3ad04fde411a944c602c9b9b355 | <?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Catalog\Test\Unit\Block\Product\Compare;
use \Magento\Catalog\Block\Product\Compare\ListCompare;
/**
* Class ListCompareTest
*/
class ListCompareTest extends \PHPUnit\Framework\TestCase
{
/*... | PHP | app/code/Magento/Catalog/Test/Unit/Block/Product/Compare/ListCompareTest.php | kunj1988/Magento2 | gpl-2.0 | 2,525 | 81 | codeparrot/github-code |
2f607c8121d1b364444a67006caff4c4954987940dd5223e4e69449e2b60b510 | /*****************************************************************************
Copyright (c) 1995, 2013, Oracle and/or its affiliates. All Rights Reserved.
Copyright (c) 2008, 2009 Google Inc.
Copyright (c) 2009, Percona Inc.
Portions of this file contain modifications contributed and copyrighted by
Google, Inc. Thos... | C++ | storage/innobase/srv/srv0srv.cc | mmplayer/MySQL | gpl-2.0 | 83,571 | 2,871 | codeparrot/github-code |
6bca2b857174dc46fc235ee617358639c1f71f097f28296bb2cd6adc5560e72c | # -*- coding: utf-8 -*-
# Inforevealer
# Copyright (C) 2010 Francois Boulogne <fboulogne at april dot org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or... | Python | src/action.py | sciunto/inforevealer | gpl-2.0 | 5,161 | 168 | codeparrot/github-code |
67eada8789109656c697c628bf1563e160a75bb9c687fad6c5c60de5a0f5c6ab | /*
bbs100 3.3 WJ107
Copyright (C) 1997-2015 Walter de Jong <walter@heiho.net>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your opt... | C | src/include/Telnet.h | walterdejong/bbs100 | gpl-2.0 | 1,394 | 55 | codeparrot/github-code |
8a7b0db1ffa6a077f0cee1f74f985a175294e0f8c6546d107cccd831d68ef66b | /**
* Copyright (c) 2001-2002. Department of Family Medicine, McMaster University. All Rights Reserved.
* This software is published under the GPL GNU General Public License.
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published... | Java | src/main/java/oscar/oscarDemographic/data/DemographicRelationship.java | hexbinary/landing | gpl-2.0 | 7,383 | 187 | codeparrot/github-code |
89b4c4324510b9a230a862e4e3596513dcb234f1d9e403d3635e07ae4f6cb0a4 | /*
This file is part of Warzone 2100.
Copyright (C) 1999-2004 Eidos Interactive
Copyright (C) 2005-2011 Warzone 2100 Project
Warzone 2100 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 o... | C++ | lib/ivis_opengl/bitimage.cpp | Zarel/warzone2100 | gpl-2.0 | 3,617 | 121 | codeparrot/github-code |
2e45d86d6113f8731d901b8498188c2b8c3cd91cdb50433499a3f1cc22642806 | package components.diagram.edit.parts;
import org.eclipse.draw2d.Connection;
import org.eclipse.gef.EditPart;
import org.eclipse.gmf.runtime.diagram.ui.editparts.ConnectionNodeEditPart;
import org.eclipse.gmf.runtime.diagram.ui.editparts.ITreeBranchEditPart;
import org.eclipse.gmf.runtime.diagram.ui.editpolicies.EditP... | Java | edu.bme.vik.iit.j2eecm.diagram/src/components/diagram/edit/parts/DataReleationshipEditPart.java | peterbartha/j2eecm | gpl-2.0 | 3,130 | 145 | codeparrot/github-code |
b03b2aaddc8939b9f43185fb9c053f1767099d2a2186262234ce855e61c44eca | using Server.Properties;
using Server.WindowsUtils;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
namespace Server.UserSettings
{
class LdpUserSettings
{
private string userPassword;
public LdpUserSetti... | C# | Server/Server/UserSettings/LdpUserSettings.cs | tdmitriy/LightDesktopPresenter | gpl-2.0 | 873 | 41 | codeparrot/github-code |
43eae725dece9367e8c9eb95d9151f12fc0d8b32f5d83f2e48eb1c4bc36686f0 | /*
* Copyright (C) Azureus Software, Inc, 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 later version.
... | Java | uis/src/com/biglybt/ui/swt/views/tableitems/peers/ColumnPeerNetwork.java | BiglySoftware/BiglyBT | gpl-2.0 | 2,088 | 70 | codeparrot/github-code |
a3307db403f7667de179e29c79b347a1800c2a84a8351e3ad05171ad20d248f6 | <?php
# written by: Nicolas MARCHE <nico.marche@free.fr>
# project: eBrigade
# homepage: http://sourceforge.net/projects/ebrigade/
# version: 2.6
# Copyright (C) 2004, 2011 Nicolas MARCHE
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Publi... | PHP | dps.php | vanessakovalsky/esecouristes | gpl-2.0 | 12,945 | 293 | codeparrot/github-code |
f61dd7ca2fb41f48834d606425356200c4ebaae04423f96088e6063dc67403bc |
/** DBLog class header.
@file DBLog.h
This file belongs to the SYNTHESE project (public transportation specialized software)
Copyright (C) 2002 Hugues Romain - RCSmobility <contact@rcsmobility.com>
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public ... | C | server/src/13_dblog/DBLog.h | Open-Transport/synthese | gpl-2.0 | 5,537 | 183 | codeparrot/github-code |
f49e4894328ac1ab76061560b62ed791722565cbab9b2f56406000cdea14c5f9 | #include "Panel.h"
#include "Button.h"
#include "Label.h"
#include "FieldStatus.h"
#include "Field.h"
#include <string>
ShipPanels::Panel::Panel(int dimension, int x, int y) {
this->client = new ClientProcedures();
this->dimension = dimension;
this->warning = new Label();
this->rowLabels = new Label[this->dim... | C++ | ShipGame/Panel.cpp | SooLiD/MovieExplorer | gpl-2.0 | 5,051 | 173 | codeparrot/github-code |
2cc40e313c15c8d89132a39eb93edaede1ab3c14cd42f88c58668686a7cb9cbc |
/********************
* HTML CSS
*/
.chartWrap {
margin: 0;
padding: 0;
overflow: hidden;
}
/********************
Box shadow and border radius styling
*/
.nvtooltip.with-3d-shadow, .with-3d-shadow .nvtooltip {
-moz-box-shadow: 0 5px 10px rgba(0,0,0,.2);
-webkit-box-shadow: 0 5px 10px rgba(0,0,0,.2);
... | CSS | HomeDashboard.Web/css/nv.d3.css | Ekus/HomeDashboard | gpl-2.0 | 12,912 | 772 | codeparrot/github-code |
45299257d7f21da19423031a2df82f07a1c298236cba46bb5fe80b68236d7fb9 | // *****************************************************************************
// <ProjectName> ENigMA </ProjectName>
// <Description> Extended Numerical Multiphysics Analysis </Description>
// <HeadURL> $HeadURL$ </HeadURL>
// <LastChangedDate> $LastChangedDate$ </LastChangedDate>
// <LastChangedRevision> $Last... | C++ | trunk/examples/tetrahedronintersection/TetrahedronIntersection.cpp | bjaraujo/ENigMA | gpl-2.0 | 14,797 | 552 | codeparrot/github-code |
020162ee7bddb419412e2e8b77947ac0254ff3fc6ef0161884475d400dc0e076 | {% extends 'base.html' %}
{% block content %}
<!--ERROR SECTION-->
{% if form.non_field_errors %}
{% for error in form.non_field_errors %}
<div class="ui error message">
<div class="header">Error message</div>
</div>
{% endfor %}
{% endif %}
{% if form.errors and not form.non_field_errors %}
<div class="ui error ... | HTML | templates/projects/new.html | MasterGowen/moonrain | gpl-2.0 | 1,566 | 58 | codeparrot/github-code |
283c4eeb6fe4dfd898469f9c17064825cfb5c82c26a27fe891ffaf706daf438a | package com.example.piasy.startup;
import com.example.piasy.startup.location.PaintBoardFragment;
import com.example.piasy.startup.sensors.LogBoardFragment;
import android.content.Context;
import android.hardware.Sensor;
import android.hardware.SensorEvent;
import android.hardware.SensorEventListener;
import android.h... | Java | src/GpsEvaluate/Android-client/Gps-Demo/app/src/main/java/com/example/piasy/startup/MyActivity.java | Piasy/Graduate | gpl-2.0 | 7,171 | 215 | codeparrot/github-code |
e2dfe3d49d1c3296adf3094fd474ecdd3a02199d8213917523184701fb153147 | /* thePlatform Video Manager Wordpress Plugin
Copyright (C) 2013-2014 thePlatform for Media 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 opt... | JavaScript | js/theplatform.tinymce.plugin.js | uw-it-aca/MediaAMP-video-manager | gpl-2.0 | 2,087 | 61 | codeparrot/github-code |
55991e81bf11213bf8686f4a996e8fa071681b0f76b5dd3bc21cf6918211c198 | /*
Copyright 2007 MySQL AB, 2008 Sun Microsystems
All rights reserved. Use is subject to license terms.
The MySQL Connector/J is licensed under the terms of the GPL,
like most MySQL Connectors. There are special exceptions to the
terms and conditions of the GPL as it is applied to this software,
see t... | Java | src/com/mysql/jdbc/ResultSetRow.java | yyuu/libmysql-java | gpl-2.0 | 42,739 | 1,420 | codeparrot/github-code |
4c8b377999d0430789ecedff675a046c3ddc7b57947f3b8256716ce8ea4b8309 | /*
* This is the source code of Hermes for Android v. 1.3.x.
* It is licensed under GNU GPL v. 2 or later.
* You should have received a copy of the license in this archive (see LICENSE).
*
* Copyright Nikolai Kudashov, 2013-2014.
*/
package org.hermes.ui.Components;
import android.graphics.Canvas;
import androi... | Java | TMessagesProj/src/main/java/org/hermes/ui/Components/ProgressView.java | ur0/hermes | gpl-2.0 | 1,427 | 50 | codeparrot/github-code |
323f708976fa261e8623ddf1a408fcf7b18de5fc9d3ee83c4ac7a853bbc53efa | /**************************************************************************/
/* */
/* Copyright (c) 2001, 2011 NoMachine, http://www.nomachine.com/. */
/* */
/* NXAGENT, ... | C | nx-X11/programs/Xserver/hw/nxagent/Clipboard.c | theqvd/qvd-nx-libs-3.5.0-32 | gpl-2.0 | 46,706 | 1,645 | codeparrot/github-code |
172ccef57defd856e2695f48e40c8688c785faf78ffe1f61b5ffe0fee0461a3b | /*
* linux/include/linux/mmc/host.h
*
* 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.
*
* Host driver specific definitions.
*/
#ifndef LINUX_MMC_HOST_H
#define LINUX_MMC_HOST... | C | include/linux/mmc/host.h | hoalamha/android_kernel_lge_apq8084 | gpl-2.0 | 20,657 | 634 | codeparrot/github-code |
47f093c2c45754a950be48302dc19daa575685daf59bcfb632c5891a3f1d5bcc | package s03;
public class AmStramGram {
public static void main(String[] args) {
int n=7, k=5;
if (args.length == 2) {
n = Integer.parseInt(args[0]);
k = Integer.parseInt(args[1]);
}
System.out.println("Winner is " + winnerAmStramGram(n, k));
}
// --------------------------------------... | Java | src/s03/AmStramGram.java | liTTleSiG/Algorithmique | gpl-2.0 | 1,360 | 54 | codeparrot/github-code |
74a0ffd4e68506a60dcdf9ed4f124803780a284e296db1c8fee9fd0c9432e216 | /*!
\file main.cpp
\author Standa Kubín
\date 31.03.2016
\brief server aplikace pro řízení okenních rolet
*/
#include <QCoreApplication>
#include <QSharedPointer>
#include <QThread>
#include <QFile>
#include <QUdpSocket>
#include <QDebug>
#include <QSemaphore>
class GPIO_CONTROL : public QObject
{
Q_... | C++ | WindowBlindsServer/main.cpp | kubins/WindowBlindsServer | gpl-2.0 | 17,405 | 517 | codeparrot/github-code |
f8c010cb621a29a7c0139d1ef4b510fe722019e9a04c95486c71466864c48e54 | /*
* This source code is part of
*
* G R O M A C S
*
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
* Copyright (c) 2001-2009, The GROMACS Development Team
*
* Gromacs is a library for molecular simulation and trajectory analysis,
* written by Er... | C | src/gmxlib/nonbonded/nb_kernel_f77_double/nb_kernel223_f77_double.c | aar2163/GROMACS | gpl-2.0 | 5,924 | 141 | codeparrot/github-code |
a69408e40724c768a025fc35525b4308c06512c544a0c29555b43d5eb0c85346 | <?php
/*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
* OWNER OR CONTRIBUTORS B... | PHP | libraries/Doctrine/DBAL/Tools/Console/Command/ReservedWordsCommand.php | jeanlopes7/mostra-ifrs-poa | gpl-2.0 | 4,931 | 134 | codeparrot/github-code |
67526028f337ff92a5d0ca4e90338634e41cf67b18433d1c7abf70286425005f | /*
* Copyright (C) 2016-2022 ActionTech.
* License: http://www.gnu.org/licenses/gpl.html GPL version 2 or higher.
*/
package com.actiontech.dble.services.manager.response;
import com.actiontech.dble.config.Fields;
import com.actiontech.dble.config.model.SystemConfig;
import com.actiontech.dble.net.mysql.*;
import ... | Java | src/main/java/com/actiontech/dble/services/manager/response/ShowLoadDataErrorFile.java | actiontech/dble | gpl-2.0 | 2,876 | 86 | codeparrot/github-code |
d4fe63bf68af3f6e5c0aa2e6d66dd59a28814487f29d831f34c5a664d03f63a2 | // -*- c++ -*-
//*****************************************************************************
/** @file: CErrorInfo.cc
*
* @author Alexander Dreyer
* @date 2006-03-06
*
* This file defines the class CErrorInfo, which to conver error coedes to
* meaningful text.
*
* @par Copyright:
* (c) 2006 by The PolyBoR... | C++ | libbrial/src/CErrorInfo.cc | BRiAl/BRiAl | gpl-2.0 | 1,958 | 60 | codeparrot/github-code |
91c013c922d384ab94defb40ad4e21280b89d7e293b2098504d728180bfda339 | for /f "tokens=* delims= " %%a in ('dir /b /a-d "%GBE%\%EMUZ%\%MEDN%\pcfx*.bin"') do SET PCFXBIOS=%%~a
for /f "tokens=* delims= " %%a in ('dir /b /a-d "%GBE%\%EMUZ%\%MEDN%\pcfx*.rom"') do SET PCFXBIOS=%%~a
for /f "tokens=* delims= " %%a in ('dir /b /a-d "%GBE%\%EMUZ%\%MEDN%\pcfxbios.bin"') do SET PCFXBIOS=%%~a
for /... | Batchfile | extinjPCFX1.bat | HoodlumDTX/rom-jacket | gpl-2.0 | 1,303 | 46 | codeparrot/github-code |
28427e86b013a39592780726db2088c6625ef2254e2b72ed62d37477781f8ff6 | {% extends 'admin/base.html' %}
{% block stage %}
<div class="row marl top-row">
<div class="row marl">
<div class="container">
<div class="row marl prof-table site-table">
<div class="table-responsive">
<form name="create_post" id="form" method="post" action="/portal/blog/{{blog_list.id}}/edi... | HTML | templates/admin/blog/edit.html | nikhila05/MicroSite | gpl-2.0 | 1,635 | 52 | codeparrot/github-code |
142cd0a53378fe4401b5466f07054ce684fd01d09a5b6415b3f1387b9088c22f | /**
* (C) 2007-2010 Taobao Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* Version: $Id$
*
* Authors:
* ruohai <ruohai@taobao.com>
*/
#ifndef OCEANBASE_ROOTSER... | C | src/rootserver/ob_root_log_replay.h | wenshao/oceanbase | gpl-2.0 | 1,089 | 43 | codeparrot/github-code |
cff300fa21d7b99d635f4f11fa3d9c2fd12c36308a182402cb63eae861511650 | <?php
/**
* @package AcyMailing for Joomla!
* @version 4.9.0
* @author acyba.com
* @copyright (C) 2009-2015 ACYBA S.A.R.L. All rights reserved.
* @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
*/
defined('_JEXEC') or die('Restricted access');
?><?php
class listsmailType{
var $type = 'news';
funct... | PHP | administrator/components/com_acymailing/types/listsmail.php | tpiechota/gmusicireland | gpl-2.0 | 1,402 | 42 | codeparrot/github-code |
70b43793dba3399e12cac4003eee4bd2bf1735647ee90c5b75445fd7f456b34f | //--------------------------------------------------------------------------
// Copyright (C) 2014-2015 Cisco and/or its affiliates. All rights reserved.
// Copyright (C) 2012-2013 Sourcefire, Inc.
//
// This program is free software; you can redistribute it and/or modify it
// under the terms of the GNU General Public... | C++ | src/mime/file_mime_process.cc | gavares/snort3 | gpl-2.0 | 22,083 | 733 | codeparrot/github-code |
ac62626e6f87d7ce810efaa1872d607106ecfa577d0f74525c6273930f0d0197 | package fiuba.algo3.model.map;
import fiuba.algo3.model.exceptions.CannotOccupyTileException;
import fiuba.algo3.model.exceptions.NotEnoughRoomException;
import fiuba.algo3.model.occupant.Occupant;
import fiuba.algo3.model.occupant.units.TerranTransportVessel;
import fiuba.algo3.model.occupant.units.Unit;
public clas... | Java | src/fiuba/algo3/model/map/Earth.java | algoCraftDeveloperTeam/algosIII_tpFinal | gpl-2.0 | 864 | 30 | codeparrot/github-code |
3dc81c66a987df077fcb9e90f797a7e237ba2e9cfb5bb538a216620682711222 | // This file is part of the GOfax.IP project - https://github.com/MatteoMynet/gofaxip
// Copyright (C) 2014 GONICUS GmbH, Germany - http://www.gonicus.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 Softwar... | GO | gofaxlib/logger/logger.go | MatteoMynet/gofaxip | gpl-2.0 | 1,154 | 43 | codeparrot/github-code |
25d91f14244420b45378b5f64b089fd13539ebf9e0c37eab2b1d5480f70f9c3a | /*
* BorderDetector
*
* Attempt to infer content boundaries of an image by looking for rows and
* columns of pixels whose values fall within some narrow range.
*
* Handle letterboxing, pillarboxing, and combinations of the two. Handle cases
* where letterboxing embedded inside of pillarboxing (or vice versa) use... | C | programs/mythcommflag/BorderDetector.h | neuros/neuroslink-mythtv-0.21.0-fixes18722 | gpl-2.0 | 1,602 | 55 | codeparrot/github-code |
e799276b782b156932e183da9a50742db1ec730469f8919c68730a76d669963c | // add_provider.cpp
//
// Edit a Davit Provider.
//
// (C) Copyright 2007 Fred Gleason <fredg@paravelsystems.com>
//
// $Id: add_provider.cpp,v 1.2 2007/11/19 16:53:29 fredg Exp $
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License... | C++ | davit/add_provider.cpp | ElvishArtisan/davit | gpl-2.0 | 3,329 | 130 | codeparrot/github-code |
e8116cc58f0ca57dae9e64fb7f98b047b954aa343863c655b47490d511a85cd8 | /**
* OWASP Benchmark Project v1.1
*
* This file is part of the Open Web Application Security Project (OWASP)
* Benchmark Project. For details, please see
* <a href="https://www.owasp.org/index.php/Benchmark">https://www.owasp.org/index.php/Benchmark</a>.
*
* The Benchmark is free software: you can redistribute it and/... | Java | src/main/java/org/owasp/benchmark/testcode/BenchmarkTest13497.java | iammyr/Benchmark | gpl-2.0 | 2,294 | 68 | codeparrot/github-code |
8e31ff87df3d95becdf7b472f0293aa6cbbd6dfd15e2870b15abaee374a4415a | /**
* UGENE - Integrated Bioinformatics Tools.
* Copyright (C) 2008-2017 UniPro <ugene@unipro.ru>
* http://ugene.net
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* ... | C++ | src/corelibs/U2Gui/src/util/DownloadRemoteFileDialog.cpp | ggrekhov/ugene | gpl-2.0 | 9,132 | 266 | codeparrot/github-code |
9653d086c75de1dd9cd6fd6d3075c35c4b347dd7a22dcc744920a48b74491cf1 | /*-------------------------------------------------------------------------
SDCCsymt.h - Header file for Symbols table related structures and MACRO's.
Copyright (C) 1998 Sandeep Dutta . sandeep.dutta@usa.net
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU Gen... | C | src/SDCCsymt.h | atsidaev/sdcc-z80-gas | gpl-2.0 | 34,198 | 707 | codeparrot/github-code |
959a1cfdbc68e5f0d3104f54983af44cc7d1ef6debb03389aa78ca31bcc8c1db | """
OK resolveurl XBMC Addon
Copyright (C) 2016 Seberoth
Version 0.0.2
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This p... | Python | script.module.resolveurl/lib/resolveurl/plugins/ok.py | felipenaselva/felipe.repository | gpl-2.0 | 2,491 | 69 | codeparrot/github-code |
04d46ae4d5e1fd8bc87a817dcbb5756b33749a41d661311fdc585508df5fa9db | #include <vector>
#include <fstream>
#include <logger.h>
#include <iupnpdevicedelegate.h>
#include <cupnpservice.h>
#include <crapidxmlhelper.h>
#include "cmediaserverdelegate.h"
#define XSTR(x) #x
#define STR(x) XSTR(x)
#define UPNP_MEDIA_SERVER_DEVICE_TYPE "urn:schemas-upnp-org:device:MediaServer:1"
#define UPN... | C++ | smediaserver/cmediaserverdelegate.cpp | vrbincs/storm | gpl-2.0 | 4,748 | 171 | codeparrot/github-code |
fbbc02afc057ce7c782a947631aab9da461289e5b5d6674944864d8619d9d537 | /***************************************************************************
file : axle.cpp
created : Sun Mar 19 00:05:09 CET 2000
copyright : (C) 2000 by Eric Espie
email : torcs@free.fr
version : $Id$
*************************... | C++ | src/modules/simu/simuv3/axle.cpp | jeremybennett/torcs | gpl-2.0 | 2,750 | 76 | codeparrot/github-code |
3598c18901b6e99136bb3e18b3e9c5c750d8d590d250abd2255967326c8c617b | <?php
// Translations can be filed in the /languages/ directory
load_theme_textdomain( 'covasolutions', TEMPLATEPATH . '/languages' );
$locale = get_locale();
$locale_file = TEMPLATEPATH . "/languages/$locale.php";
if ( is_readable($locale_file) )
require_once($locale_file);
... | PHP | wp-content/themes/CovaSolutions/functions.php | gilsondesign/covasolutions | gpl-2.0 | 1,598 | 48 | codeparrot/github-code |
1e0e24582ed2e3ec42fea651ce53a4f76f1803a871a1bb25fa5b40fdd2c4a288 | import F2 from '@antv/f2';
fetch('https://gw.alipayobjects.com/os/antfincdn/N81gEpw2Ef/income.json')
.then(res => res.json())
.then(data => {
const chart = new F2.Chart({
id: 'container',
pixelRatio: window.devicePixelRatio
});
chart.source(data, {
time: {
type: 'timeCat',
... | JavaScript | examples/component/guide/demo/point.js | antvis/g2-mobile | gpl-2.0 | 1,706 | 76 | codeparrot/github-code |
2dfd4fe9eee048518a3f6656cdfab54d01f2398d4edcf3ca9e99c4b464e4ce77 | /*
* otg-wakelock.c
*
* Copyright (C) 2011 Google, Inc.
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
* may be copied, distributed, and modified under those terms.
*
* This program is distributed in the hope that i... | C | drivers/usb/otg/otg-wakelock.c | sloanyang/android_kernel_zte_u950 | gpl-2.0 | 3,768 | 172 | codeparrot/github-code |
02a0998264c19adc9523bd0219c72355cfce1232640f98a3baa73ca3c6d8b82b | #
# Copyright (C) 2010 ARM Limited. All rights reserved.
#
# This program is free software and is provided to you under the terms of the GNU General Public License version 2
# as published by the Free Software Foundation, and any use by you of this program is subject to the terms of such GNU licence.
#
# A copy of th... | Makefile | drivers/media/video/samsung/mali/Makefile | chhapil/Dorimanx-SG2-I9100-Kernel | gpl-2.0 | 8,281 | 283 | codeparrot/github-code |
e26e8237859ab791a6c056183a3b8a660b8c09b743cda95282eab33d289f6311 | /*
* pommed - Apple laptops hotkeys handler daemon
*
* Copyright (C) 2006-2008 Julien BLACHE <jb@jblache.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; version 2 of the License.
... | C | pommed/pommed.c | bytbox/pommed-light | gpl-2.0 | 31,154 | 1,130 | codeparrot/github-code |
ac754714f43dfe6c3641b6d2088ce40e6d955ea20e9f28ff57197c1802738138 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
com.sun.jersey.core.util (jersey-bundle 1.19 API)
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../..... | HTML | lib/jersey1.9/apidocs/jersey/com/sun/jersey/core/util/package-summary.html | jonathanrcarter/divv-amsterdam-parkingapi | gpl-2.0 | 14,278 | 282 | codeparrot/github-code |
320e4e1e9a13e2f89e8e360b8bc991229db1e542487d6991752d32fe0bbb7262 | <?php
/**
* Smarty Internal Plugin Compile While
* Compiles the {while} tag
*
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Compile While Class
*
* @package Smarty
* @subpackage Compiler
*/
class Smarty_Internal_Compile_While extends Smarty_Internal_C... | PHP | inc/Smarty/libs/sysplugins/smarty_internal_compile_while.php | a-v-k/phpBugTracker | gpl-2.0 | 3,651 | 103 | codeparrot/github-code |
c54251a23c06734349045ccda774a08d5c3a6041c2feab6af06245d95778fb82 | /*
* Copyright (C) 2010-2012 Project SkyFire <http://www.projectskyfire.org/>
* Copyright (C) 2010-2012 Oregon <http://www.oregoncore.com/>
* Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/>
* Copyright (C) 2005-2012 MaNGOS <http://getmangos.com/>
*
* This program is free software; you can redist... | C++ | src/server/game/Server/Protocol/Handlers/NPCHandler.cpp | Bootz/SF1 | gpl-2.0 | 24,991 | 772 | codeparrot/github-code |
17b03b6f50e1c0d2529ecb0e1517311f6dc40f52b456f1161459b96747916241 | /*
¹¦ÄÜ : ÁгöÕ¾ÄÚʹÓÃÕß×ÊÁÏ
×¢ÒâÊÂÏî : ÐëҪĿǰµÄ bbs.h
Compile : gcc -o showuser showuser.c
ʹÓ÷½Ê½ : showuser i10 l5 e25
(ÁгöʹÓÃÕßµÄ ID, login ´ÎÊý, email µØÖ·)
²é¿´½á¹û £º ÔÚ ~bbs/tmp/showuser.result ÖÐ
*/
/* Modify by deardraogn 2000.10.28 */
#define FIRSTLOGIN... | C | util/local_utl/showuser.c | fbbs/fdubbs | gpl-2.0 | 4,874 | 209 | codeparrot/github-code |
a4a6532778f930c3ebed534347038351ba0a358a91d77147c56186caec5a9a40 | /* Copyright (C) 2000-2002, 2004-2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; version 2 of the License.
This program is distributed in the hope that it will be useful,
... | C | myisam/mi_static.c | pieter/mysql-server | gpl-2.0 | 2,161 | 62 | codeparrot/github-code |
dc59b65d825a3f68505b0c0fc81f4aaad0033e2a0f20fe500a424e99456ce460 | /*
* Standard Hot Plug Controller Driver
*
* Copyright (C) 1995,2001 Compaq Computer Corporation
* Copyright (C) 2001 Greg Kroah-Hartman (greg@kroah.com)
* Copyright (C) 2001 IBM
* Copyright (C) 2003-2004 Intel Corporation
*
* All rights reserved.
*
* This program is free software; you can redistribute it and... | C | drivers/pci/hotplug/shpchp.h | evolver56k/xpenology | gpl-2.0 | 11,196 | 348 | codeparrot/github-code |
ede859efe905e09e2b03d75a654471220feb8ca04bb57fa4d878b199b97e61c2 | /******************************************************************************
* File : bodyForceAdapt_tria6.c *
* Author : Carlos Rosales Fernandez (carlos@ihpc.a-star.edu.sg) *
* Date : 01-09-2006 *
... | C | src/bodyForceAdapt_tria6.c | carlosrosales/thsolver | gpl-2.0 | 11,858 | 259 | codeparrot/github-code |
6d52036a8c36f5dfbef24f6b676224cd0c02d5e495f4133183fecaf3f854e51e | /*
* Copyright (C) 2008-2019 TrinityCore <https://www.trinitycore.org/>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later v... | C++ | src/server/scripts/Commands/cs_npc.cpp | chaodhib/TrinityCore | gpl-2.0 | 60,070 | 1,660 | codeparrot/github-code |
ba75d7674dbbc73585277c3ae48a6a84b240263ba0348401b65ce9a5396aa022 | <?php
//Custom user module
class ThemexUser {
public static $data;
public static $id=__CLASS__;
//Init module
public static function init() {
//refresh module data
self::refresh();
//ajax actions
add_action('wp_ajax_nopriv_themex_register', array(__CLASS__,'registerUser'));
add_action('wp_aja... | PHP | framework/classes/themex.user.php | ibrahimcesar/makersSchool | gpl-2.0 | 26,061 | 811 | codeparrot/github-code |
7a9efc7b2591b6ab1db1590561398e2951c4eb61f49c05e8697ee9cacd2156e4 | /*
* Copyright (C) 2003-2011 The Music Player Daemon Project
* http://www.musicpd.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your opti... | C | src/song_update.c | lintweaker/mpd-dsd | gpl-2.0 | 4,548 | 204 | codeparrot/github-code |
3adb6aaadb8531efc12ca44d09fd6a5b739d611aae611268abe5d6d475a1813b | /*
Copyleft (C) 2005 Hio Perroni Filho
xperroni@yahoo.com
ICQ: 2490863
This file is part of ChatterBean.
ChatterBean 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 o... | Java | alice-src/bitoflife/chatterbean/text/Sentence.java | WonderBeat/vasilich | gpl-2.0 | 4,272 | 174 | codeparrot/github-code |
9449b866e38d0dd57847aa2fd8204210fde6892e821c1a06d7db1ef882e705ba | /*
* linux/fs/ext4/page-io.c
*
* This contains the new page_io functions for ext4
*
* Written by Theodore Ts'o, 2010.
*/
#include <linux/module.h>
#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 <linu... | C | fs/ext4/page-io.c | elixirflash/dm-keepfast | gpl-2.0 | 11,752 | 452 | codeparrot/github-code |
322f66ac904fb4cabe60418821bcd19d4dfd49588f976d7fb28e12f6898aadcd | #include <pebble.h>
#include "config.h"
BitmapLayer * bluetooth_layer;
GBitmap *bluetooth_images[4];
bool bt_connected = false;
int _bt_loaded = 0;
void bt_load(Layer * window_layer, GRect rect) {
if (!_bt_loaded) {
APP_LOG(APP_LOG_LEVEL_DEBUG, "bt_load");
for (int i = 0; i < 2; i++)
b... | C | src/plugin_bt.c | ShoobyBan/PebbleShoMaurice | gpl-2.0 | 1,721 | 61 | codeparrot/github-code |
f960bb1dde6c7fa9ef9f6abaa5648433ac7359bcb3ab57081c9dbd3c645c016e | /* $Id$ */
/*
* This file is part of OpenTTD.
* OpenTTD 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.
* OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without... | C++ | src/departures_gui.cpp | koreapyj/openttd-yapp | gpl-2.0 | 33,995 | 860 | codeparrot/github-code |
942389d7c8480d2b08539592b0ca8552f98d941d454e6c51d2af32f545d41df0 | /**
A data model representing a list of Invites
@class InviteList
@extends Discourse.Model
@namespace Discourse
@module Discourse
**/
Discourse.InviteList = Discourse.Model.extend({
empty: (function() {
return this.blank('pending') && this.blank('redeemed');
}).property('pending.@each', 'redeemed.@ea... | JavaScript | app/assets/javascripts/discourse/models/invite_list.js | SuperSonicDesignINC/FXDD | gpl-2.0 | 1,146 | 45 | codeparrot/github-code |
d7d9cffbfb9b0fd2b142e0ea40911cb6eecf73d2ab911b16c56dd7c751b6f073 | <?php
/**
* Coupon Data
*
* Functions for displaying the coupon data meta box
*
* @author WooThemes
* @category Admin Write Panels
* @package WooCommerce
*/
/**
* Coupon data meta box
*
* Displays the meta box
*/
function woocommerce_coupon_data_meta_box($post) {
global $woocommerce;
wp_nonce_fie... | PHP | wp-content/plugins/woocommerce/admin/writepanels/writepanel-coupon_data.php | buger/fotodep_fmagazine | gpl-2.0 | 4,970 | 101 | codeparrot/github-code |
8d8f3cc614df646005f654fb5c8b02a91420bd97381799e65155e692c325173e | package verbtester;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.ArrayList;
import java.util.List;
import javax.swing.Action;
import javax.swing.Icon;
import javax.swing.JCheckBox;
public class RootCheckBox extends JCheckBox {
public RootCheckBox(Action a) {
super(a);... | Java | src/verbtester/RootCheckBox.java | trombipeti/gerverbtester | gpl-2.0 | 1,867 | 99 | codeparrot/github-code |
adcf4853d8f956d0f217e3bbf6ee9fcad08a532527288158735b1bbf71e5ca53 | package ai;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;
import java.util.Vector;
public class TranspositionPlayer<M extends Move<N>, N extends Node<M, N>>
extends Player<M, N> {
private M bestFirstMove;
private int millis;
private TranspositionTable<M, N> table;
public Tr... | Java | src/ai/TranspositionPlayer.java | arwheelock/chess | gpl-2.0 | 3,005 | 125 | codeparrot/github-code |
3f8dff4626d7e8f3bcc4410af423a556d38076d6a25b8b3779ebc07a1be623b0 | require "pulpcore_client"
module Katello
module Pulp3
class Content
extend Katello::Abstract::Pulp::Content
class << self
def create_upload(size = 0, checksum = nil, content_type = nil)
content_unit_href = nil
if checksum && content_type
content_backend_service ... | Ruby | app/services/katello/pulp3/content.rb | pmoravec/katello | gpl-2.0 | 2,122 | 61 | codeparrot/github-code |
28d5143b20836f1d660a5442b788e0d639e80d76f51b88b63819986ab3946870 | /**
* Copyright (c) 2015 Digi International Inc.,
* All rights not expressly granted are reserved.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/.
*
* ... | C++ | src/XBeeLib/XBee802/XBee802.cpp | jon-whit/AtlasQuad | gpl-2.0 | 16,579 | 580 | codeparrot/github-code |
7a651ccabac249d12ecf423c1558275f0e7d7564552d1d22c31526c5135aa7d3 | /*
(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.3/src/core/input.h | ZHAW-INES/rioxo-uClinux-dist | gpl-2.0 | 5,618 | 152 | codeparrot/github-code |
acf592f86e5f7c9ef1d589b89f2ba7642b1f269576019b2ddaf2d239c90ec2bd | /**************************************************************************
* *
* Copyright (c) 2010 by Generalplus Inc. *
* *
* This sof... | C | openplatform/platform/common/driver/lcd/GPL32900/lcd_tpo_TD070WGCB2.c | go2ev-devteam/Gplus_2159_0801 | gpl-2.0 | 14,265 | 368 | codeparrot/github-code |
9848f93a6f3a24d9aeadf07e38d0bd83f9059dd16b4ee985a33cc5f1755bd7ca | //
<script>
elgg.provide('elgg.embed');
elgg.embed.init = function() {
// inserts the embed content into the textarea
$(".embed-item").live('click', elgg.embed.insert);
elgg.register_hook_handler('embed', 'editor', elgg.embed._deprecated_custom_insert_js);
// caches the current textarea id
$(".embed-control").... | PHP | mod/embed/views/default/js/embed/embed.php | MikkelSandbag/seElgg | gpl-2.0 | 5,583 | 192 | codeparrot/github-code |
15d065f03f079ced44d6d00a1da779073985b9a842e8cfed7d8125379981727d | <?php
// force UTF-8 Ø
global $_zp_themeroot;
?>
<p class="mainbutton" id="addcommentbutton"><a href="#addcomment" class="btn"><img src="<?php echo $_zp_themeroot ?>/images/btn_add_a_comment.gif" alt="" width="116" height="21" /></a></p>
<!-- BEGIN #addcomment -->
<div id="addcomment">
<script type="text/javascri... | PHP | _ASSETS/backup/old_site/v0.1/zenphoto/themes/stopdesign/comment_form/comment_form.php | christopherstock/GC_Carpentry | gpl-2.0 | 7,688 | 240 | codeparrot/github-code |
cbccf92248cf47ad2c859b72ad120c36fff72d2ccf480d2e4588054fa61f47f6 | <?php
class RoxFrontRouterModel extends RoxModelBase
{
function getPossibleUrlLanguage($urlheadercode = false)
{
// Uncomment briefly this line in case you have problem with it, save, log in BeWelcome, and add again the comment in this line
// return false ;
return false;
} // end of... | PHP | roxlauncher/roxfrontroutermodel.php | gl0bi/rox | gpl-2.0 | 1,582 | 49 | codeparrot/github-code |
f2d5b7628197d3cf0d9909b449158741054ee6e29ba23f9b6b53f793164c3b0e | /* Copyright (c) 2011-2013, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the... | C | arch/arm/mach-msm/board-8930-pmic.c | cr1exe/android_kernel_sony_taoshan | gpl-2.0 | 20,838 | 690 | codeparrot/github-code |
e60b895ae43ad0a965cd47dc5850dcf7c356f24ab05cc74db21d28faec1b27f4 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SystemModel.TO;
namespace SystemCore.TemplateEngine
{
/// <summary>
/// Klasa mapująca MessageTemplateTO na MessageTemplate
/// </summary>
public static class MessageTemplateTO2Mes... | C# | SystemCore/TemplateEngine/MessageTemplateTO2MessageTemplateMapper.cs | blisek/HomeSecuritySystem | gpl-2.0 | 1,145 | 38 | codeparrot/github-code |
3e4817eb71a12d8ab538805c240bcb7ce124f1db1b75a1e2960392c7daca01ba | // Register.cpp : implementation file
//
#include "stdafx.h"
#include "Portal.h"
#include "Register.h"
#include "afxdialogex.h"
// Register dialog
IMPLEMENT_DYNAMIC(Register, CDialogEx)
Register::Register(CWnd* pParent /*=NULL*/)
: CDialogEx(Register::IDD, pParent)
, m_ID(_T(""))
, m_Password(_T... | C++ | StudentMamagement_DBProject/sources/Register.cpp | shharn/mysources | gpl-2.0 | 4,007 | 149 | codeparrot/github-code |
add48863bb972fea19e231c9bedd308a6d35ad9969e1fe3c77549c525514db6a | <?php
/**
* nnHtml
* extra JHTML functions
*
* @package NoNumber Framework
* @version 14.1.1
*
* @author Peter van Westen <peter@nonumber.nl>
* @link http://www.nonumber.nl
* @copyright Copyright © 2014 NoNumber All Rights Reserved
* @license http://www.gnu.or... | PHP | plugins/system/nnframework/helpers/html.php | alexrah/lorenzetto2 | gpl-2.0 | 6,886 | 212 | codeparrot/github-code |
3a15bdab17b800ed82953a5d9f4338ca9a4a4ee44c00b5eb27bfbad995d55c4a | """
Builds out and synchronizes yum repo mirrors.
Initial support for rsync, perhaps reposync coming later.
Copyright 2006-2007, Red Hat, Inc
Michael DeHaan <mdehaan@redhat.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
th... | Python | cobbler/action_reposync.py | colloquium/cobbler | gpl-2.0 | 22,241 | 572 | codeparrot/github-code |
4c42f03c4bc75f359d0f2629ca3384a4f63ee7a0cf04d050e7495f01bf882cdd | #include <stdio.h>
#include <math.h>
#include <stdlib.h>
#include <at89lp51rd2.h>
#define LWP P3_2
#define LWN P3_3
#define RWP P3_4
#define RWN p3_5
#define CLK 22118400L
#define BAUD 115200L
#define BRG_VAL (0x100L-(CLK/(32L*BAUD)))
#define FREQ 100L
#define TIMER0_RELOAD_VALUE (65536L-(CLK/(12L*FREQ)))
#define MO... | C | Main Code.c | loriter/EECE281Project2 | gpl-2.0 | 12,575 | 514 | codeparrot/github-code |
fc81b4d2308608a42ed21be7bc72222a8cfdcca1c3ecc15368700ab46d828dcb | <?php
/*--------------------------------------------------------------------------
Setup Page Metaboxes
/*------------------------------------------------------------------------*/
class APageMetabox extends AMetabox {
static function getMenuList () {
$menus = array('');
foreach (wp_get_nav_menus() as $... | PHP | wp-content/themes/anthe/theme/metabox.page.php | Phumbert/ZAKE | gpl-2.0 | 16,727 | 602 | codeparrot/github-code |
8448aaa93eabaf06820895421e7e59dc026918f2753810aa925c0803240f960a | /*
mediastreamer2 library - modular sound and video processing and streaming
Copyright (C) 2006 Simon MORLAT (simon.morlat@linphone.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 versio... | C | src/alsa.c | xoox/mediastreamer2 | gpl-2.0 | 29,282 | 1,078 | codeparrot/github-code |
73721e6c8fc7393fb14567a0d1d32a7a27ac5bbe3ed613578210882cb5a1769e | <?php
include "inc/class_paging.php";
?>
<div align="left" style="float: left; margin: 5px 0 0 10px;">
<!-- post content block -->
<div id="post">
<?php
include "inc/breadcrumbs.php";
?>
<div style="margin-top: 20px;">
<h3>List Data Komentar</h3>
<table width="100%" border="0">
<tr>
<td width... | PHP | user/data_komentar.php | umamscarlet/prakerin-smk | gpl-2.0 | 3,212 | 126 | codeparrot/github-code |
fd556f18e8f5772aa7c2729a4005066d46dd108739e407dbe70e18f922eda6e2 | /*
Copyright (c) 2009-10 Qtrac Ltd. All rights reserved.
This program or module is free software: you can redistribute it
and/or modify it under the terms of the GNU General Public License
as published by the Free Software Foundation, either version 3 of
the License, or (at your option) any l... | C++ | CPP/full_examples/aqp-qt5/timelog1/standarditem.cpp | paradiseOffice/Bash_and_Cplus-plus | gpl-2.0 | 2,620 | 76 | codeparrot/github-code |
b926c89b15d5cd10af324a64fc5559ac9e0c5e299e364af811a6a0820480bad0 | <?php
/**
* InsertFile extension for BlueSpice
*
* Dialogbox to upload files and enter a file link.
*
* 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
... | PHP | extensions/BlueSpiceExtensions/InsertFile/InsertFile.class.php | scolladogsp/wiki | gpl-2.0 | 4,265 | 130 | codeparrot/github-code |
bb6415376d59895851a4423588777d8cf9d2ef4ed24bac9b53c68e545d298c17 | // The LaTeX documenter.
//
// Copyright (C) 2002 Thong Nguyen (tum_public@veridicus.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 ... | C# | src/Documenter/Latex/LatexDocumenter.cs | palfrey/ndoc | gpl-2.0 | 8,444 | 355 | codeparrot/github-code |
192b7c492deb1dd7b71df1357ad3351c268a5911e1c1e93b8b0e65a05be7643b | /* Copyright (c) 2006
Colin Dewey (University of Wisconsin-Madison)
cdewey@biostat.wisc.edu
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
(a... | C++ | lib/bio/alignment/PairwiseAlignment.cc | hyphaltip/cndtools | gpl-2.0 | 1,648 | 52 | codeparrot/github-code |
7c2d36661b3104818f990674ab0e498988043761b7fa38e46ff1cb00d73bda18 | package com.mediatek.engineermode.hqanfc;
import android.app.Activity;
import android.app.AlertDialog;
import android.app.Dialog;
import android.app.ProgressDialog;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import andro... | Java | mediatek/packages/apps/EngineerMode/src/com/mediatek/engineermode/hqanfc/PeerToPeerMode.java | rex-xxx/mt6572_x201 | gpl-2.0 | 14,964 | 323 | codeparrot/github-code |
2461ae8c62ef9c9d9f7d44d785a9dee15978813ddb047d144ee230dde38930e1 | /*
* This file is part of wl1271
*
* Copyright (C) 2009 Nokia Corporation
*
* Contact: Luciano Coelho <luciano.coelho@nokia.com>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* version 2 as published by the Free Software Foundati... | C | drivers/net/wireless/wl12xx/debugfs.c | TripNRaVeR/tripndroid-endeavoru-3.1.10 | gpl-2.0 | 36,862 | 1,359 | codeparrot/github-code |
0acdfdc2f4d8b993aa4e7d9aa3d2c16ce1c6fad0409df9d4083b4a7095ec485c | {% extends 'base.html' %}
{% block content %}
<div class="pure-g-r" id="layout">
{% include 'sidebar.html' %}
<div class="pure-u-3-4">
<div class="content">
<!-- A wrapper for all the blog posts -->
<div class="posts">
<h1 class="content-subhead">
... | HTML | theme/templates/index.html | glide007/ownspace.in | gpl-2.0 | 1,090 | 32 | codeparrot/github-code |
0569b1a1d56d677e6d0166e384e1588592ad50a77f8127692d94e4680999ef2d | /*
* This code is part of MaNGOS. Contributor & Copyright details are in AUTHORS/THANKS.
*
* 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 op... | C | src/game/vmap/ModelInstance.h | adrimat007/Beta-Mop-ADrimat | gpl-2.0 | 2,770 | 87 | codeparrot/github-code |
0a5cd6f5b2b9907615f10b411874388759e4633a5f4e980b69096a4863524ade | // license:BSD-3-Clause
// copyright-holders:Ryan Holtz
//============================================================
//
// slider.h - BGFX shader parameter slider
//
//============================================================
#pragma once
#ifndef __DRAWBGFX_SLIDER__
#define __DRAWBGFX_SLIDER__
#include <bgfx/b... | C | src/osd/modules/render/bgfx/slider.h | ppriest/mame | gpl-2.0 | 2,339 | 83 | codeparrot/github-code |
c0ffc07c381c470d090f7685963b277e0e6e0bfe842cf1cb0447f14eeef1bce8 | <?php
/**
* Copyright (c) by the ACP3 Developers.
* See the LICENSE file at the top-level module directory for licensing details.
*/
namespace ACP3\Core\Test\View\Renderer\Smarty\Filters;
use ACP3\Core\Controller\AreaEnum;
use ACP3\Core\Http\Request;
use ACP3\Core\Test\View\Renderer\Smarty\AbstractPluginTest;
use... | PHP | Test/View/Renderer/Smarty/Filters/PageCssClassesTest.php | ACP3/core | gpl-2.0 | 4,465 | 187 | codeparrot/github-code |
5c3cddcac416b5cca3a26978fc9a61ac9c680bcf336f75c17be54b25d1576145 | /* AbiWord
* Copyright (C) 2003 Dom Lachowicz <cinamod@hotmail.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 versi... | C++ | src/af/gr/xp/gr_Painter.cpp | tanya-guza/abiword | gpl-2.0 | 4,306 | 191 | codeparrot/github-code |
c6f770f22b424267dd58f4d03683dfc5e0c6e52c353271451a19ae5fe03e5a6d | """Copyright (c) 2017 abhishek-sehgal954
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This prog... | Python | SVG_to_SVG/svg_to_svg_ordered_dithering.py | abhishek-sehgal954/Inkscape_extensions_for_halftone_filters | gpl-2.0 | 7,450 | 181 | codeparrot/github-code |
b6e1b245aa608f2e89512a668984527e94c2533ba639dcb11ac8f2d98a0cfd86 | <?php session_start();?>
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnP... | PHP | wp-content/themes/bolora/header.php | redmustachedesign/boloradistribuidora | gpl-2.0 | 3,127 | 76 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.