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
1ca07c7c5f77fbf8dbd03fea9f8de8968fed18f39df5c32d85b6902b735fe894
// Aseprite // Copyright (C) 2001-2017 David Capello // // This program is distributed under the terms of // the End-User License Agreement for Aseprite. #ifdef HAVE_CONFIG_H #include "config.h" #endif #include "app/ui/color_wheel.h" #include "app/color_utils.h" #include "app/pref/preferences.h" #include "app/ui/sk...
C++
src/app/ui/color_wheel.cpp
winterheart/aseprite
gpl-2.0
11,128
379
codeparrot/github-code
72273bd767bb8b4442581da97270028ee62d71a3c59374250daf32f9821a936f
# -*- coding: utf-8 -*- """ Created on Sun Sep 3 17:20:04 2017 @author: Michy @name: AutoCAD drawing printer BOT. @description: This program is a BOT that prints to pdf all the .dwg files in a given folder. Given a folder (data_wd) the program will try to print every .dwg file in that folder. ...
Python
print_autocad_drawings.py
mick001/utility-scripts
gpl-2.0
8,162
227
codeparrot/github-code
19f275bc3aa9948ca7791525dd50cec0844df282e5cdbc7416666daa5d313336
package eaglesextras; import cpw.mods.fml.common.Mod; import cpw.mods.fml.common.Mod.EventHandler; import cpw.mods.fml.common.SidedProxy; import cpw.mods.fml.common.event.FMLInitializationEvent; import cpw.mods.fml.common.event.FMLPostInitializationEvent; import cpw.mods.fml.common.event.FMLPreInitializationEvent; imp...
Java
eaglesextras/EaglesExtras.java
GustoniaEagle/Eagle-s-Extras
gpl-2.0
1,447
49
codeparrot/github-code
a9ac5d27c05952461f23dcb85cdf246b234be49fea7d23bb9ebb5796dd168274
/* Copyright (C) 2011 by Ivan Safrin 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, distribute, ...
C
Core/tempinclude/PolyEvent.h
jwilander/disker
gpl-2.0
3,531
103
codeparrot/github-code
33f0d9522dc1471380fe84461e79f1c2dc7cf5cdb0746987c87a5c4abe673762
namespace kulerIslands { partial class Form1 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param...
C#
kulerIslands/Form1.Designer.cs
peca3d/KulerIslands
gpl-2.0
15,500
317
codeparrot/github-code
cd9024f48a97cf8c20526dad2f0ade65c34d3fa873d328d52b57b6d03e107d17
# -*- coding: utf-8 -*- # # Gramps - a GTK+/GNOME based genealogy program # # Copyright (C) 2000-2002 Bruce J. DeGrasse # Copyright (C) 2000-2007 Donald N. Allingham # Copyright (C) 2007-2012 Brian G. Matherly # Copyright (C) 2008 James Friedmann <jfriedmannj@gmail.com> # Copyright (C) 2009 Benny Malengier <b...
Python
gramps/plugins/textreport/detancestralreport.py
beernarrd/gramps
gpl-2.0
41,492
1,025
codeparrot/github-code
3f24c60c1b1020565f7fe7f6f04a4538d7e6bc25380d16483f2564bb98e2cf9b
using CmsWeb.Areas.Reports.Models; using CmsWeb.Areas.Search.Models; using CmsWeb.Lifecycle; using CmsWeb.Models; using Dapper; using MoreLinq; using OfficeOpenXml; using System; using System.Collections.Generic; using System.Data; using System.Data.SqlClient; using System.Linq; using System.Web.Mvc; using UtilityExten...
C#
CmsWeb/Areas/Reports/Controllers/ExportController.cs
bvcms/bvcms
gpl-2.0
8,090
224
codeparrot/github-code
607167701331d8f3bf09d2792423a6515281bb0e280eb6c1f64b6890bcece5ba
/************************************************************************************* Extended WPF Toolkit Copyright (C) 2007-2013 Nequeo Software Inc. This program is provided to you under the terms of the Microsoft Public License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license For...
C#
Source/Components/Wpf/Nequeo.Wpf.Toolkit/Nequeo.Wpf.Toolkit/CollectionControl/Implementation/CollectionControlDialog.xaml.cs
drazenzadravec/nequeo
gpl-2.0
3,474
132
codeparrot/github-code
4331518382aeab3331e3859b80a5382078b30680859ca82e81416cab1962022d
<?php /*-------------------------------------------------------------------------------------*/ /* Load Translation Text Domain /*-------------------------------------------------------------------------------------*/ if (function_exists('load_theme_textdomain')) { load_theme_textdomain('si_theme', get_tem...
PHP
wp-content/themes/elastico/functions.php
vidor/imaged
gpl-2.0
34,359
896
codeparrot/github-code
bf5d5eefa9a1d89d746db13e03c6033f4cbe5e847954c4fabeef49f3f083fcfd
/* Copyright (C) 2013-2014 Michal Brzozowski (rusolis@poczta.fm) This file is part of KeeperRL. KeeperRL 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...
C
creature_name.h
akien-mga/keeperrl
gpl-2.0
1,610
53
codeparrot/github-code
d05b146f9f218386722ee55c9df4531b2b24850dee845b5b1dbf46e48981112c
from django.core.urlresolvers import reverse from django.db import models # Stores information about what h5p uses what libraries class h5p_contents_libraries(models.Model): content_id = models.PositiveIntegerField(null=False) library_id = models.PositiveIntegerField(null=False) dependency_type = models....
Python
h5pp/models.py
DrClockwork/H5PP
gpl-2.0
9,008
216
codeparrot/github-code
97ccdcc007eefebd1fcfa87a704b609ccca5adaf34f7bdd88036e0ade49bcd74
package net.lodoma.lime.util; import java.io.File; import java.io.IOException; import java.net.URISyntaxException; public class OsHelper { public static final String JARPATH; static { String path = null; try { path = ClassLoader.getSystemClassLoader().getResource("...
Java
src/net/lodoma/lime/util/OsHelper.java
LoDoMa/Lime
gpl-2.0
1,539
63
codeparrot/github-code
82d82e961df9de5a3ed0ba5b8c06ab0aa11970e99e183695b10bdcc6e4f7c0ea
function initialize() { var darkMapStyles = [ { featureType: "landscape.man_made", stylers: [ { hue: "#ff0000" }, { visibility: "on" }, { saturation: -99 }, { lightness: -86 } ] },{ featureType: "road.local", stylers: [ { lightness: -70 }, { saturation: ...
JavaScript
sites/all/themes/baseline/js/google-map.js
tchopshop/second-line
gpl-2.0
3,184
146
codeparrot/github-code
50d9283b75d8a08d60edff9598a5dceaeb98b9866fc0a77df5e613c70f06071e
package test.it.unibas.freesbee.ge.comunicazione.g; import test.it.unibas.freesbee.ge.comunicazione.f.*; import it.unibas.freesbee.ge.messaggi.XmlJDomUtil; import it.unibas.freesbee.ge.modello.CategoriaEventiEsterna; import it.unibas.freesbee.ge.modello.FiltroData; import it.unibas.freesbee.ge.modello.GestoreEventi; i...
Java
freesbeeGE/test/test/it/unibas/freesbee/ge/comunicazione/g/Conferma24.java
donatellosantoro/freESBee
gpl-2.0
15,640
249
codeparrot/github-code
d5b8156da88683b402af396b186ce7586dd4dd70067a45f8a09f4b4a138f517d
/* Copyright (c) 2014, 2017, Oracle and/or its affiliates. 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; version 2 of the License. This program is distributed in t...
C
sql/dd/impl/types/collation_impl.h
gunnarku/mysql-8.0
gpl-2.0
4,892
162
codeparrot/github-code
f31ee2a0e642231bd1eb9a8183b59365e0b0df7c7a65b0274865241bae461e8a
/* Copyright_License { XCSoar Glide Computer - http://www.xcsoar.org/ Copyright (C) 2000-2021 The XCSoar Project A detailed list of copyright holders can be found in the file "AUTHORS". This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License ...
C++
src/ui/canvas/Font.hpp
sandrinr/XCSoar
gpl-2.0
3,710
159
codeparrot/github-code
e030edac79fd6c5577b08564d23f475b832d1a0394ed0efd02d965674281eacd
<?php /** * Common Template - tpl_tabular_display.php * * This file is used for generating tabular output where needed, based on the supplied array of table-cell contents. * * @package templateSystem * @copyright Copyright 2003-2021 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @li...
PHP
includes/templates/responsive_classic/common/tpl_tabular_display.php
zencart/zencart
gpl-2.0
1,654
53
codeparrot/github-code
1d7acdd48fdc0bf31db7c6d96c6be7328970b1deb624f7556e9dc87117f1bf88
/* * This file is part of Gnome Subtitles. * Copyright (C) 2018 Pedro Castro * * Gnome Subtitles 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) a...
C#
src/GnomeSubtitles/Ui/WidgetStyles.cs
GNOME/gnome-subtitles
gpl-2.0
1,591
55
codeparrot/github-code
cdb64d4ee276ab9adbbfd717c129c0067d8e3612cdccaeefa0ffabb13193f87a
<?php /** * @copyright Copyright (C) eZ Systems AS. All rights reserved. * @license For full copyright and license information view LICENSE file distributed with this source code. */ namespace eZ\Publish\Core\REST\Common\FieldTypeProcessor; use eZ\Publish\Core\REST\Common\FieldTypeProcessor; abstract class Binary...
PHP
eZ/Publish/Core/REST/Common/FieldTypeProcessor/BinaryInputProcessor.php
ezsystems/ezpublish-kernel
gpl-2.0
1,189
46
codeparrot/github-code
38c8a00bdbece5e6152b5ef506d5bfa630100393ea73ce053616b51ce424acc2
/* * Copyright (C) 2005-2017 Paul Davis <paul@linuxaudiosystems.com> * Copyright (C) 2005 Taybin Rutkin <taybin@taybin.com> * Copyright (C) 2006-2010 David Robillard <d@drobilla.net> * Copyright (C) 2009-2012 Carl Hetherington <carl@carlh.net> * Copyright (C) 2013-2017 Tim Mayberry <mojofunk@gmail.com> * Copyrigh...
C++
gtk2_ardour/editor_rulers.cc
tartina/ardour
gpl-2.0
54,844
1,711
codeparrot/github-code
5db9964cdb0045507b6c7cfe50d45ba17c4568e978ee5c2746ece424137b86b8
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- * * Copyright 2009-2010 Red Hat, 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 ...
C
unused-panels/user-accounts/um-account-dialog.c
chitwanix/sagarmatha-control-center
gpl-2.0
43,418
1,212
codeparrot/github-code
6ac22321ec775c6508a3c23494c470366720219461fa108bddcf0ff43a8930c3
<?php /** * @package Joomla.Administrator * @subpackage com_banners * * @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; /** * View class for a list o...
PHP
administrator/components/com_banners/views/tracks/view.raw.php
proizprojetos/popstil
gpl-2.0
1,134
44
codeparrot/github-code
dbbf9d677157a0b984ed3a7153155712afb9b96933bbd89c45543d298de5d819
/* Copyright (C) 2006 - 2011 ScriptDev2 <http://www.scriptdev2.com/> * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version....
C++
scripts/kalimdor/temple_of_ahnqiraj/boss_ouro.cpp
yad/easy-scriptdev2
gpl-2.0
5,367
178
codeparrot/github-code
dfb483b2e5710bcff58f06ac581d9a6360510baf67945be1e5fa9c591b2999f5
package co.com.codesoftware.entities; import java.io.Serializable; public class ClienteEntity implements Serializable { private static final long serialVersionUID = 1L; private Long cedula; private String nombre; private String apellido; private String correo; private String telefono; private String direccion...
Java
SAFC/src/main/java/co/com/codesoftware/entities/ClienteEntity.java
codesoftware/SAF
gpl-2.0
1,179
73
codeparrot/github-code
d8e1449c90f688ad5335d6a64ce794a3e7572d1a251b869f6f537d98d1e8eff8
/////////////////////////////////////////////////////////////////////////////////////// // Copyright (C) 2006-2019 Esper Team. All rights reserved. / // http://esper.codehaus.org / // --------------------------------------------------...
C#
src/NEsper.Common/common/client/soda/ContextDescriptorCategoryItem.cs
espertechinc/nesper
gpl-2.0
2,104
60
codeparrot/github-code
7ebbda9d2e5174049ec03c65a38715a28c576d368bfb47e77cb0c46ace35057c
/* 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 the ...
C
src/baseq2/g_target.c
luaman/qforge-2
gpl-2.0
20,260
736
codeparrot/github-code
002dae483800ba4b79d863e9611b4f57a104c4e06896410c61b8c43504bd921e
<?php /** * */ class TribeEventsTicketsPro { /** * Singleton instance of this class * @var TribeEventsTicketsPro * @static */ protected static $instance; /** * Path to this plugin * @var string */ protected $path; /** * Post Meta key for the ticket header * @var string */ protected $image_...
PHP
wp-content/plugins/the-events-calendar/lib/tickets/tribe-tickets-pro.php
usmanasif/Taiche
gpl-2.0
14,013
455
codeparrot/github-code
9dc462cd5fe2b5f4b1597d6b15fe74d52a321f2808ef2482e86c919a37cfadf0
/************************************************************************************************** * * * Project: NextGIS Formbuilder * * Authors: Mikh...
C++
src/gui/dialogs/newvoidprojectdialog.cpp
nextgis/formbuilder
gpl-2.0
2,671
62
codeparrot/github-code
357bef57d374c106cf43e1499537d028a3772b79ad17dc72452c55d4cbe39272
/* * This file is part of the OpenKinect Project. http://www.openkinect.org * * Copyright (c) 2011 individual OpenKinect contributors. See the CONTRIB file * for details. * * This code is licensed to you under the terms of the Apache License, version * 2.0, or, at your option, the terms of the GNU General Public...
C++
kinectv2/src/kinectv2.cpp
spiralray/ros_kinectv2
gpl-2.0
4,913
161
codeparrot/github-code
c5abe6b720b432fdc64b2cf43ccbf0d55b960343ad482de1f4a5766fab097bca
/*************************************************** ** Filename: switchobject.h ** Class: SwitchObject ** Created: 3/27/2014 ** Author: mitchellge ** Use Case #XX ** Use Case Description: Lorem ipsum dolor sit amet ****************************************************/ #ifndef SWITCHOBJECT_H #define SWITCHOBJECT_H #i...
C
switchobject.h
gMitchell09/Point_Of_Divergence
gpl-2.0
2,520
103
codeparrot/github-code
0307cc184e5226a9f282873f30e4a35055ebf15b2b6d134cbcae4a4e1df4c370
// Copyright (c) 2004 INRIA Sophia-Antipolis (France). // All rights reserved. // // This file is part of CGAL (www.cgal.org); you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public License as // published by the Free Software Foundation; either version 3 of the License, // or (at...
C
cgal/include/CGAL/Kernel_profiler.h
wschreyer/PENTrack
gpl-2.0
3,949
137
codeparrot/github-code
ff1443a537ec325ae7305aa3620f6d6209743818b981ae4c87dc9b10e136d399
/* * cfcore.h * Channel filter - filter method (core C-code). * Shared by MATLAB C-MEX function, SIMULINK C-MEX S-Function, and TLC. * * Copyright 1996-2006 The MathWorks, Inc. * $Revision: 1.1.6.4 $ $Date: 2009/03/09 19:25:31 $ */ #ifndef __CFCORE_H__ #define __CFCORE_H__ #include "complexops.h" #inc...
C
ivireons/server_ivireon_test/cgi-bin/Bioperl/toolbox/rtw/comm/c/include/cfcore.h
heqiaoliu/Viral-Dark-Matter
gpl-2.0
1,279
42
codeparrot/github-code
afb78e986a0a12ac32798a89b7f3d5538f6830ad573afe9dcebf27bfdfb87265
<?php /** * * phpBB Media Embed PlugIn extension for the phpBB Forum Software package. * * @copyright (c) 2016 phpBB Limited <https://www.phpbb.com> * @license GNU General Public License, version 2 (GPL-2.0) * */ /** * DO NOT CHANGE */ if (!defined('IN_PHPBB')) { exit; } if (empty($lang) || !is_array($lang)...
PHP
language/da/help.php
phpbb-extensions/mediaembed
gpl-2.0
2,075
56
codeparrot/github-code
72d1df5f905727c154cf2c84f82dea55fd14dc2332976926628a304f33a82a45
from hachoir_core.field import ( RawBits, Bit, Bits, PaddingBits, RawBytes, Bytes, PaddingBytes, GenericString, Character, isInteger, isString) from field import FakeField class EditableField(FakeField): """ Pure virtual class used to write editable field class. """ _is_altered = Fals...
Python
libmat/hachoir_editor/typed_field.py
jubalh/MAT
gpl-2.0
8,361
269
codeparrot/github-code
bed60c5db0a3ae2cb156fc4ddac2a7a405ee292eb9674e4fd8c3c9b0f1ec370e
using System; using System.IO.Ports; namespace _FirstWindowsFormsApplication { partial class Form1 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up...
C#
RXSwitchController/Form1.Designer.cs
sirsnork/RXSwitchController
gpl-2.0
23,878
491
codeparrot/github-code
e7fde690d7a167979f75e45cd661b452ad0d58c9f5d7384f755a1407e24c0460
<!DOCTYPE html> <html lang="en"> <head> <?php ////////////////////////////////////////////////////// ///Copyright 2015 Luna Claudio,Rebolloso Leandro./// //////////////////////////////////////////////////// // //This file is part of ARSoftware. //ARSoftware is free software; you can redistribute it and/or //modify it...
PHP
modulos/back-end/alumnosSNetbook/verMasDatosAlumnoSinNetbook.php
claudioLuna/arsoftware
gpl-2.0
11,087
316
codeparrot/github-code
116ec2396b1c5d8b160c8129dae9a4663e60910fbd4f0a1f6d52f796c8997018
<?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>gluon.validators.IS_IPV6</title> <link rel="stylesheet" href="epydoc.css" type="text/css" /...
HTML
applications/examples/static/epydoc/gluon.validators.IS_IPV6-class.html
chugle/myapp
gpl-2.0
15,577
372
codeparrot/github-code
d49a2c74a688c637a242be46b512ecd03a60549f321078d8cad379784c83fbe8
// license:BSD-3-Clause // copyright-holders:Jonathan Gevaryahu /*************************************************************************** Final Chess Card by TASC TODO: - skeleton, just boots the CPU ***************************************************************************/ #include "emu.h" #includ...
C++
src/devices/bus/isa/finalchs.cpp
h0tw1r3/mame
gpl-2.0
3,883
128
codeparrot/github-code
ab2891fc1a35570163228b0a198a2a057f6afe8a6587eb585eaa07c6452b7da3
<?php while (have_posts()) : the_post(); ?> <div <?php post_class('container'); ?>> <div class="page-header"> <div class="row"> <div class="col-md-12"> <h1 class="entry-title"><?php the_field('title'); ?> <?php the_title(); ?></h1> <?php $leadership = get_field('leaders...
PHP
wp-content/themes/ednc-2016/templates/layouts/content-single-legislator.php
EducationNC/EdNC
gpl-2.0
4,230
113
codeparrot/github-code
893b12daad72acacd5c859a68ba08cbb3390c70947bae833922ff216f4cc5fbc
/* Kvalobs - Free Quality Control Software for Meteorological Observations $Id: delaycontrol.cc,v 1.3.6.3 2007/09/27 09:02:23 paule Exp $ Copyright (C) 2007 met.no Contact information: Norwegian Meteorological Institute Box 43 Blindern 0313 OSLO ...
C++
src/delaycontrol.cc
metno/kvsynopd
gpl-2.0
3,708
140
codeparrot/github-code
3eeed36ac67b18ecfc08b988d4713c3fe62f2ce88f45296f888b9dd49230e049
# Copyright (C) 2012, Ansgar Burchardt <ansgar@debian.org> # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This pr...
Python
daklib/upload.py
Debian/dak
gpl-2.0
20,230
646
codeparrot/github-code
89d683fa6212c3dac111c8a4a76fc4ddad68a2186d3cc699211f7fa01ed8b828
/* Copyright (C) 2001 Tensilica, Inc. All Rights Reserved. Revised to support Tensilica processors and to improve overall performance */ /* Copyright (C) 2000 Silicon Graphics, Inc. All Rights Reserved. This program is free software; you can redistribute it and/or modify it under the term...
C
libu/ffio/sysopen.c
qiyao/xcc
gpl-2.0
10,127
410
codeparrot/github-code
af9e1801fbe32bf5c38f3f39856a4729d5723e76244ce4c30ebda00f77eba3e0
############################################################################### #PPAM is a pulseaudio interface. #Copyright (C) 2013 Denis Doria (Thuck) # #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 Found...
Python
ui/tabs.py
thuck/ppam
gpl-2.0
13,310
410
codeparrot/github-code
04a40cfc492aa15c6b776c63db52a8204fe4c31d973ac202fc2d864da6251270
/* *** String Commands *** src/command/string.cpp Copyright T. Youngs 2007-2018 This file is part of Aten. Aten 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 you...
C++
src/command/string.cpp
trisyoungs/aten
gpl-2.0
4,802
165
codeparrot/github-code
4f18ae95ccdebdda7224bca21ccfa69fb3870753a7846f446cb78f0cd4ecc8ad
/* * Copyright 2011-2013 Blender Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
C++
2.74/scripts/addons/cycles/kernel/kernel_sse3.cpp
PLyczkowski/Sticky-Keymap
gpl-2.0
2,755
85
codeparrot/github-code
c27fd1b2d9a1febe3fd1a6403557c6994fc5475359705039f332beeb8dbff6d9
<div class="wrap"> <div id="icon-options-general" class="icon32"></div><h2>HTTP Authentication Private Users</h2> <?php if ( defined('LD_WP_ADMIN') && LD_WP_ADMIN == TRUE ) { ?> <div class="updated fade"><p>Updated!</p></div> <?php } // Error message? if ( defined('LD_ERROR') && LD_ERROR == 'delete-self') {...
PHP
wp-content/plugins/lockdown-wp-admin/admin-private-users.php
davidchase/wordpress
gpl-2.0
2,327
73
codeparrot/github-code
308c5b0cecf4d85b94597002ab46f8c98d9927ebccf79ebea211bdcd624b5335
<?php /** *------------------------------------------------------------------------------ * iCagenda v3 by Jooml!C - Events Management Extension for Joomla! 2.5 / 3.x *------------------------------------------------------------------------------ * @package iCagenda * @subpackage utilities * @copyright Co...
PHP
administrator/components/com_icagenda/utilities/customfields/customfields.php
esorone/efcpw
gpl-2.0
16,645
609
codeparrot/github-code
86fb633cc0d80a395b2b446145342f71a8e5bd5c493c12de9d68e3527ff4fb9e
/* * * Support for a cx23417 mpeg encoder via cx231xx host port. * * (c) 2004 Jelle Foks <jelle@foks.us> * (c) 2004 Gerd Knorr <kraxel@bytesex.org> * (c) 2008 Steven Toth <stoth@linuxtv.org> * - CX23885/7/8 support * * Includes parts from the ivtv driver( http://ivtv.sourceforge.net/),...
C
drivers/media/video/cx231xx/cx231xx-417.c
Jackeagle/android_kernel_sony_c2305
gpl-2.0
60,164
2,192
codeparrot/github-code
56219cb1dbfb8c13493da5a9ba36bf34fa5e38ea1aa0ccca38416a261e520bc9
<?php /** * The template for displaying archive pages * * @link https://codex.wordpress.org/Template_Hierarchy * * @package wp.theme.sample */ get_header(); ?> <?php if ( have_posts() ) : ?> <header class="page-header"> <?php the_archive_title( '<h1 class="page-title">', '</h1>' ); the_archive...
PHP
archive.php
bini1988/wp-theme-sample
gpl-2.0
1,485
68
codeparrot/github-code
42ac689399d9feb11b0a4cc01aa24b7916674b53b57f1f3f59097c985870b03c
/* * Copyright 2008-2020 Ping Identity Corporation * All Rights Reserved. */ /* * Copyright 2008-2020 Ping Identity Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * ...
Java
src/com/unboundid/ldap/sdk/unboundidds/tasks/LeaveLockdownModeTask.java
UnboundID/ldapsdk
gpl-2.0
16,794
470
codeparrot/github-code
788e8c37583e64bb391121190ce404165475841a634de07cf2c1ae0851bf05ec
#include "infof.h" #include <stdarg.h> /* LICENSE: This code (info.h and info.c) is placed in the public domain by its author, Tom Schouten. The code is based on original research on embedded software patterns in C and other languages, performed throughout the period 2002 - 2015 */ void info_decima...
C
arm/qemu-system/infof.c
zwizwa/staapl
gpl-2.0
1,836
66
codeparrot/github-code
a57401b708c2ffd735d5b6b08b5f3b56610ea29f5d04131e12d0c8140c3972b1
package com.jaspersoft.jasperserver.search.filter; import com.jaspersoft.jasperserver.api.common.domain.ExecutionContext; import com.jaspersoft.jasperserver.api.metadata.common.service.ResourceFactory; import com.jaspersoft.jasperserver.api.metadata.common.service.impl.hibernate.persistent.RepoResource; import com.jas...
Java
jasperserver-search/src/test/java/com/jaspersoft/jasperserver/search/filter/ResourceTypeFilterTest.java
leocockroach/JasperServer5.6
gpl-2.0
7,430
183
codeparrot/github-code
bea7604d49014b251a605749426dfea66bb36fa006e5e4ef93b40012fb1c799a
<?php /** * GAuthx * * DESCRIPTION * * This snippet creates a random Auth Token for the logged in user and provides it to them as both a String * and as a QR CODE that can be scanned with your phone using Google Authenticator (or similar apps). * It will also display a input box so that you can confirm you have ...
PHP
core/components/gauthx/elements/snippets/gauthx.snippet.php
nick2687/GAuthx
gpl-2.0
3,476
89
codeparrot/github-code
566205d5040eaf437a2b0b80fa99357b6b92fc63d07588e8a848538a30a87aec
#ifndef XEN_OPS_H #define XEN_OPS_H #include <linux/init.h> #include <linux/clocksource.h> #include <linux/irqreturn.h> #include <xen/xen-ops.h> /* These are code, but not functions. Defined in entry.S */ extern const char xen_hypervisor_callback[]; extern const char xen_failsafe_callback[]; extern void *xen_initia...
C
arch/x86/xen/xen-ops.h
funky81/android_kernel_n7000
gpl-2.0
3,764
146
codeparrot/github-code
1d4b3449219a5d1e089322e6558e6775802a1a56530a1dd429ab28930e17a21e
<?php /* +---------------------------------------------------------------------------+ | Revive Adserver | | http://www.revive-adserver.com | | ...
PHP
lib/OA/Admin/Statistics/Delivery/Controller/CampaignAffiliateHistory.php
sgreiner/revive-adserver
gpl-2.0
4,829
135
codeparrot/github-code
9ed3b77f35b793992c84f62fa9824f6a98de70e03109666a2dfa49c0720214de
/******************************************************************************* * This file is part of OpenNMS(R). * * Copyright (C) 2010-2012 The OpenNMS Group, Inc. * OpenNMS(R) is Copyright (C) 1999-2012 The OpenNMS Group, Inc. * * OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc. * * OpenNMS(...
Java
features/instrumentationLogReader/src/main/java/org/opennms/util/ilr/ServiceCollector.java
rfdrake/opennms
gpl-2.0
7,379
235
codeparrot/github-code
b1eec6f6723f7320d40b1de0ac0dd48d080d96302aa6d90a584c09c501027ca7
# -*- coding: utf-8 -*- # __author__: Yixuan LI # __email__: yl2363@cornell.edu import numpy as np import os from sklearn import svm import matplotlib.pyplot as plt import pickle from sklearn import preprocessing from sklearn.preprocessing import StandardScaler from sklearn.feature_selection import SelectKBest from sk...
Python
LIWC-train/LIWC_classify.py
YixuanLi/geo-tweet
gpl-2.0
10,894
293
codeparrot/github-code
98bd7029c4e9d1fde1f4105b47d23616789ee5c7f3898cb927944a34f2f59556
<?php require_once __DIR__."/lib/RTCRoom.php"; require_once __DIR__."/lib/RTCUser.php"; require_once __DIR__."/lib/RTCConnection.php"; class StudipRTC extends StudIPPlugin implements SystemPlugin { public function __construct() { parent::__construct(); PageLayout::addScript($this->getPluginUR...
PHP
StudipRTC.class.php
Krassmus/StudipRTC
gpl-2.0
1,850
44
codeparrot/github-code
1785a7aeef457b1e03be02db40d977fcaed528d104b42549f7838f279d6f1dbc
/***************************************** Emitting Generated Code *******************************************/ class Snippet extends ((Int)=>(Int)) { def apply(x0:Int): Int = { var x5 = null.asInstanceOf[scala.Function1[Int, Int]] var x1 = null.asInstanceOf[scala.Function1[Int, Int]] val x9 = {x10: (Int)...
Scala
src/out/ackm2.check.scala
RomanTsegelskyi/lms-truffle
gpl-2.0
1,041
48
codeparrot/github-code
b97446f482e8e366a81ea7b0ae35a4f615eef91c3aafd31f2713f029522154b5
#!/usr/bin/env python # coding: utf-8 """ Created On Jul 2, 2014 @author: jwang """ import logging # from pymongo import DESCENDING from weibonews.utils.decorators import perf_logging from weibonews.db.utils import cursor_to_array _LOGGER = logging.getLogger('weibonews.wechat') DB = None IDS = None INDEXES = { ...
Python
wechat/wechat/db/wechatdb.py
vispeal/VoteHelper
gpl-2.0
2,009
92
codeparrot/github-code
780bdc1a3d38197e38ff84607462f3785b152d5407959ae907d2e90594356985
<?php require_once 'termcontroller.php'; class ClassController extends TermController { function show_form() { if (!$this->session->userdata('logged_in')) { redirect('login'); exit; } $this->load->helper(array('form', 'url', 'local_link', 'utility')); $this->load->model('Term', 'term');...
PHP
application/controllers/classcontroller.php
iand/openvocab
gpl-2.0
5,984
177
codeparrot/github-code
6f41b761dfaa761a49466fd16c88c171d65308c647c46ec8a9be0f122c4c66e9
/* * linux/fs/nfs/nfs3xdr.c * * XDR functions to encode/decode NFSv3 RPC arguments and results. * * Copyright (C) 1996, 1997 Olaf Kirch */ #include <linux/param.h> #include <linux/time.h> #include <linux/mm.h> #include <linux/errno.h> #include <linux/string.h> #include <linux/in.h> #include <linux/...
C
fs/nfs/nfs3xdr.c
jeffegg/beaglebone
gpl-2.0
56,671
2,499
codeparrot/github-code
121b6f4bc207beda4c156b5b997ca5af06ecbc82311cb2f1504b572644b8d09b
/* * Copyright (C) 2013 DiamonEMU <http://diamondemu.freeforums.org/> * Copyright (C) 2008-2013 TrinityCore <http://www.trinitycore.org/> * Copyright (C) 2005-2009 MaNGOS <http://getmangos.com/> * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General ...
C++
src/server/game/Entities/Transport/Transport.cpp
Yamatoo/DiamondCore
gpl-2.0
26,178
727
codeparrot/github-code
6645f7b541d6d90ff434444ac895e57f87e2fc840497a45cc407d4a826ec3231
(function($) { $(function() { function update_order() { $('.fields .field').removeClass('even'); $('.fields .field:even').addClass('even'); } update_order(); $('ul.fields').sortable({ items: 'ul, li', connectWith: 'ul.fields', ...
JavaScript
wp-content/plugins/custom-field-suite/js/fields.js
jornhenkes/CG-wp-install
gpl-2.0
3,172
82
codeparrot/github-code
f35347c3d6b98b95d68ee26280e35226f3eeae26624527beb7e33ad908dae462
/* * Copyright 2014-2015 Niklas Kyster Rasmussen * * This file is part of jWarframe. * * jWarframe 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...
Java
src/main/java/net/nikr/warframe/gui/shared/table/InvertMatcher.java
GoldenGnu/jwarframe
gpl-2.0
1,186
41
codeparrot/github-code
35a67e22c581d11839a9d1235fee6b10a34b6eb26a0a7f57334d4d12da30b5e4
using System; using System.Text; using System.Collections; using System.Diagnostics; using System.IO; public class NewAiPlayer : Player { private static void printBoard(int[,] board) { Console.WriteLine("Board:"); for (int y = 0; y < board.GetLength(0); ++y) { for (int x = 0; x < board.GetLength(1); ++x) { ...
C#
src/newaiplayer/NewAiPlayer.cs
gomoku/Stahlfaust---Gomoku-AI-player
gpl-2.0
22,985
806
codeparrot/github-code
6e9330a6c2cf2b3b79a386517182d1b78751aef1503d119e4fa9c48d9706935e
/* Copyright (c) 2011-2013, 2018 Ronald de Man This file is distributed under the terms of the GNU GPL, version 2. */ #define REDUCE_PLY 121 // checked #define REDUCE_PLY_RED 119 // checked #define STAT_DRAW (MAX_STATS/2) #define STAT_PAWN_WIN (STAT_DRAW - 3) #define STAT_CAPT_CWIN (STAT_DRAW - 2) #define STAT_C...
C
src/atbgenp.c
syzygy1/tb
gpl-2.0
37,672
1,416
codeparrot/github-code
aaa2b4ed088361740bca9eb4cb7e38ca818871735508304365a2cbd83a2b1765
/** * $Id: editor_plugin_src.js 425 2007-11-21 15:17:39Z spocke $ * * @author Moxiecode * @copyright Copyright © 2004-2008, Moxiecode Systems AB, All rights reserved. */ (function() { var JSONRequest = tinymce.util.JSONRequest, each = tinymce.each, DOM = tinymce.DOM; tinymce.create('tinymce.plugins.S...
JavaScript
lib/editor/tinymce/jscripts/tiny_mce/plugins/spellchecker/editor_plugin_src.js
sproutlabs/moodle-mitms
gpl-2.0
8,715
338
codeparrot/github-code
754b9b249856ce15de026c910c49f6b0998ae3065de78678c6c30a1a3916a6ec
<?php namespace Elementor; if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly. } /** * Elementor counter widget. * * Elementor widget that displays stats and numbers in an escalating manner. * * @since 1.0.0 */ class Widget_Counter extends Widget_Base { /** * Get widget name. * * Retrie...
PHP
modules/contrib/elementor/elementor/includes/widgets/counter.php
dekisha/dartlamp
gpl-2.0
7,831
328
codeparrot/github-code
afd49f6c8adff6fd491db57945960cc572b6b6724881d34353cfd3990f35f5ef
<!DOCTYPE html> <html> <head> <title>Drag-and-drop - events</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=edge"/> <link rel="stylesheet" type="text/css" href="../../../codebase/fonts/font_roboto/roboto.css"/> <link rel="stylesheet" type=...
HTML
samples/dhtmlxTreeView/05_dnd/04_events.html
casser/dhx
gpl-2.0
3,242
106
codeparrot/github-code
2d399a5bc1eb42a77547009fc22a1b7a173bd704aca8398546044551889331a5
#ifndef _WLAN_PS_WOW_DIAG_H_ #define _WLAN_PS_WOW_DIAG_H_ #include "vos_diag_core_event.h" #include "vos_diag_core_log.h" #ifdef FEATURE_WLAN_DIAG_SUPPORT typedef enum { WLAN_BMPS_ENTER_REQ =0, WLAN_UAPSD_START_REQ =1, WLAN_UAPSD_STOP_REQ =2, WLAN_ENTER_STANDBY_REQ =3, WLAN_ENTER_DEEP_SLEEP_REQ =4, ...
C
drivers/staging/prima/CORE/SME/inc/wlan_ps_wow_diag.h
zhhwin/MiCore_kernel_aries
gpl-2.0
3,588
120
codeparrot/github-code
36190f33c9187b0495a293fe3633bef823e39b5e82869ed6a12fc4186e0f42c5
<?php /** * @package Joomla.Administrator * @subpackage com_languages * * @copyright Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; JHtml::addIncludePath(JPATH_COMPONENT . ...
PHP
administrator/components/com_languages/views/languages/tmpl/default.php
subtext/joomla-cms
gpl-2.0
9,396
222
codeparrot/github-code
93972357d5d0de127beb64f932e400f6e619817c58255cba8dc377b033e7d96d
/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/ /*** This file is part of systemd. Copyright 2011 Lennart Poettering systemd is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either...
C
src/journal/journald-server.c
vbatts/systemd
gpl-2.0
57,534
1,696
codeparrot/github-code
310d5ec45a94786baa35a9327ddced4e22861faff8d723b252029f16e0d94d33
// Package coremain contains the functions for starting CoreDNS. package coremain import ( "flag" "fmt" "io/ioutil" "log" "os" "runtime" "strings" "github.com/coredns/caddy" "github.com/coreos/go-systemd/daemon" "github.com/inverse-inc/packetfence/go/coredns/core/dnsserver" ) func init() { caddy.DefaultCo...
GO
go/coredns/coremain/run.go
inverse-inc/packetfence
gpl-2.0
5,800
219
codeparrot/github-code
3e64938213293d6b6e016a75ea5a65d6b42cedad066dd39fd4f828396b0b6a08
/* * remove.c * * Copyright (c) 2006-2014 Pacman Development Team <pacman-dev@archlinux.org> * Copyright (c) 2002-2006 by Judd Vinet <jvinet@zeroflux.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 F...
C
src/pacman/remove.c
h4ck3rm1k3/pacman
gpl-2.0
4,854
184
codeparrot/github-code
c03dbfd79c3c5ff8e60ce8dc2d6f55c556226c5bea9a380487f3862973b83d51
<?php /** * Helper functions for displaying a list of items in an ajaxified HTML table. * * @package WordPress * @subpackage List_Table * @since 3.1.0 */ /** * Fetch an instance of a WP_List_Table class. * * @access private * @since 3.1.0 * * @param string $class The type of the list table, ...
PHP
eshop-admin/includes/list-table.php
mayur-karwa/eshopbox
gpl-2.0
3,310
114
codeparrot/github-code
7ebbcf25ac42ca9c2864460456771084d976bfe8a3c6f758b6179b6e11877136
/***************************************************************************** * AudioSongsListAdapter.java ***************************************************************************** * Copyright © 2011-2012 VLC authors and VideoLAN * * This program is free software; you can redistribute it and/or modify * it u...
Java
vlc-android/src/org/videolan/vlc/gui/audio/AudioPlaylistAdapter.java
lazydroid/vlc-android
gpl-2.0
7,131
194
codeparrot/github-code
f3f7383acdce9771f7751f7069cae47fb61998cc43670878aacf5f8e57ae5c0a
/****************************************************************************** * * Copyright(c) 2009-2012 Realtek Corporation. * * 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 Foundati...
C
drivers/net/wireless/rtlwifi/base.c
jfdsmabalot/kernel_mako
gpl-2.0
44,367
1,620
codeparrot/github-code
7455e1066e14c3ee3f2929b8e3cc682c3c17081b38af25bcabde623f0665fb0a
<?php /** * Akeeba Engine * The modular PHP5 site backup engine * @copyright Copyright (c)2009-2011 Nicholas K. Dionysopoulos * @license GNU GPL version 3 or, at your option, any later version * @package akeebaengine * @version $Id: dateconditional.php 596 2011-05-12 08:26:18Z nikosdion $ */ // Protection again...
PHP
administrator/components/com_akeeba/akeeba/filters/stack/dateconditional.php
MA-Ponyvriedjes/ponyvriendjes
gpl-2.0
1,651
61
codeparrot/github-code
1c2a907c5beacd9c2ba9a7b17a13bb1e18977ea7d1c2789885877d818ea6b78c
/* Copyright (c) 2007 Sven Langkamp <sven.langkamp@gmail.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 of the License, or (at your option) any later...
C
libs/resources/KoStopGradient.h
JeremiasE/KFormula
gpl-2.0
2,132
75
codeparrot/github-code
666b4746082d96255e4ebe66aba364cd98f74bdaf88909bf988fbc137d74e4e0
<!doctype html> <html> <head> <meta charset="utf-8"> <title>Welcome To AtmosFI</title> <link rel="shortcut icon" href="image/shortcut.png" type="image/x-icon" /> <link rel="stylesheet" href="css/mystyle.css" type="text/css" /> <link rel="stylesheet" href="css/bootstrap.min.css" type="text/css" /> <link rel="styleshee...
HTML
_html_/OLD/aboutOLD.html
moutushi82/atmosfi
gpl-2.0
22,270
643
codeparrot/github-code
2875539c319d61e449777ac9d84d15ac8d0172e6b68be7d1f58538d0fd220d91
/* * ProfileManager.cpp * * Copyright (C) 2010 Petr Mrázek <peterix@gmail.com> * Copyright (C) 2015 Jiří Holomek <jiri.holomek@gmail.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License versin 2 as * published by the Free Software...
C++
src/ProfileManager.cpp
mafrez/KioskTool
gpl-2.0
13,078
453
codeparrot/github-code
87f18a5d8e48e379aae0916e2d78fc204013ce3f5c03539d5997db28eee1f38c
C C $Id: isosrf.f,v 1.8 2008-07-27 00:17:16 haley Exp $ C C Copyright (C) 2000 C University Corporation for Atmospheric Research C All Rights Reserved C C The use of this Software is governed by a License Agreement. C SUBROUTINE ISOSRF (T,LU,MU,LV,MV,MW,EYE,MUVWP2,SLAB,TISO,I...
FORTRAN
ncl_ncarg_src/ncarg2d/src/libncarg/isosrf/isosrf.f
likev/ncl
gpl-2.0
11,449
436
codeparrot/github-code
b56babf95cca0bcd1b54efc1b98a9c1d93c42475a425cf2049f8041990fe439e
/* $Id$ * * stuff for the serial modem on ELSA cards * * This software may be used and distributed according to the terms * of the GNU General Public License, incorporated herein by reference. * */ #include <linux/serial.h> #include <linux/serial_reg.h> #define MAX_MODEM_BUF 256 #define WAKEUP_CHARS (MAX_MODEM...
C
drivers/isdn/hisax/elsa_ser.c
hackndev/linux-hnd
gpl-2.0
16,921
657
codeparrot/github-code
cb6c9648fae2b01331645ae811ab91a264ff7cff7790495c23ff30d7f82dc60a
<!DOCTYPE html> <html lang="en"> <!-- Head tag --> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="google-site-verification" content="xBT4GhYoi5qRD5tr338pgPM5OWHHIDR6mNg1a3euekI" /> <meta name="viewport" content="width=device-width, initial-scale=1"> ...
HTML
tags/ReverseApp/index.html
MakeZL/makezl.github.io
gpl-2.0
9,104
287
codeparrot/github-code
1265cccdde512aeb496e26af4eb511a1ea8719172470058b1738b243749c4056
/* ///////////////////////////////////////////////////////////////////////// */ /* This file is a part of the BSTools package */ /* written by Przemyslaw Kiciak */ /* ///////////////////////////////////////////////////////////////////////// */...
C
src/g2blending/g2mblmlopt06d.c
radek-p/BSTools
gpl-2.0
6,660
223
codeparrot/github-code
ddb627ee9b987fb99fee7c0231ed0e474323d9adb560ce7a769bf28cd7af877e
#!/usr/bin/perl use Term::ANSIColor; # Clean screen if ($^O eq 'MSWin32') { system 'cls'; } else { system 'clear'; } # Get dictionary output $_ = `sdcv -n @ARGV`; s/(\d[.)])/\n$1/g; s/\n\n\n\n/\n\n/g; s/\&apos;/\`/g; s/\&quot/\"/g; s/\&gt/\>/g; s/\&lt/\</g; s/\&amp/ \& /g; my @strings = split ( '\n', $_ ); ...
Perl
dictionary.pl
zais/sdcv-colorized
gpl-2.0
1,220
74
codeparrot/github-code
ca22780f7cc520e9d58dec4c0728ad198f797d3607d4ec5cfc734041ef1047e5
# # Gramps - a GTK+/GNOME based genealogy program # # Copyright (C) 2015- Serge Noiraud # # 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...
Python
gramps/gen/utils/symbols.py
gramps-project/gramps
gpl-2.0
7,831
203
codeparrot/github-code
003361c9407bb5770b956b44ccefa4eaca24330aa3882ad412ebe438fb4d5dd2
<?php /** * @package Joomla.Platform * @subpackage Registry * * @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE */ defined('JPATH_PLATFORM') or die; /** * XML format handler for JRegistry. * *...
PHP
libraries/joomla/registry/format/xml.php
vothequang113/Joomla
gpl-2.0
3,717
157
codeparrot/github-code
eba92e1c2857a8687154598c17e4f1de02b4e5a02a9c794ea83647439c029fb6
/** * 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; under version 2 * of the License (non-upgradable). * * This program is distributed in the hope that it will be useful, * but WITHOUT AN...
JavaScript
taoQtiItem/views/js/runtime/qtiBootstrap.js
swapnilaptara/tao-aptara-assess
gpl-2.0
3,484
85
codeparrot/github-code
d0311b440e66efcf7e691f6ebabb3c775d623a1f121e1dc54bd6313bfc1d61f8
/* * Network device driver for Cell Processor-Based Blade and Celleb platform * * (C) Copyright IBM Corp. 2005 * (C) Copyright 2006 TOSHIBA CORPORATION * * Authors : Utz Bacher <utz.bacher@de.ibm.com> * Jens Osterkamp <Jens.Osterkamp@de.ibm.com> * * This program is free software; you can red...
C
drivers/net/ethernet/toshiba/spider_net.h
Jackeagle/android_kernel_sony_c2305
gpl-2.0
15,683
490
codeparrot/github-code
cb7f58252e7198c2d5bf5d8f348f6c991346681305b580257a32cce2b28d1857
/****************************************************************************** $Id$ TextMMS: an ncurses audio player for Linux Copyright (C) 2003 Ben Hoskings <benhoskings@users.sourceforge.net> Based on 'Dynamic String Manipulation Nano-Library', <http://www.triptico.com/software/dsmnl.html> This program is free s...
C
include/str.h
benhoskings/textmms
gpl-2.0
2,791
102
codeparrot/github-code
ee73d9630f468b68644a90c84a9a9755ae4c5e2d2f6501399848e6b208594380
using System; using System.Collections.Generic; using System.Drawing; using System.Drawing.Drawing2D; using System.Text; using System.Text.RegularExpressions; using EnClass.DiagramEditor; using PdfSharp.Drawing; namespace PDFExport { /// <summary> /// Implements the IGraphics interface for the PDF-Sharp output. ...
C#
src/PDFExport/PDFGraphics.cs
carlcnx/EnClass
gpl-2.0
33,120
975
codeparrot/github-code
c0393026d2cb5cda5c9e16bae2045efbf72526f04a294d372ca9f353a39acf62
/* This file is part of eGorilla. eGorilla 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. eGorilla is distri...
Java
Cliente/src/gestorDeFicheros/MD5Sum.java
salcedonia/egorilla-software-engineering-2008-2009
gpl-2.0
4,863
164
codeparrot/github-code
d505b68677eaef11656874f28a8f5e0d26e23055e1e2cda428e035a980d8cb00
/********************************************************************\ Name: adccalib.c Created by: Stefan Ritt Contents: Example analyzer module for ADC calibration. Looks for ADC0 bank, subtracts pedestals and applies gain calibration. The resulting values are app...
C
examples/experiment/adccalib.c
cjpl/midas
gpl-2.0
3,803
141
codeparrot/github-code
70c10ad073854ed8ffaebe5e7cdf07c49a8a5477c3a3d4752d01e4f0f5eeb498
<?php // $Id$ /** * CLAROLINE * * @version 1.8 $Revision$ * * @copyright (c) 2001-2014, Universite catholique de Louvain (UCL) * * @license http://www.gnu.org/copyleft/gpl.html (GPL) GENERAL PUBLIC LICENSE * * @package CLSTAT * * @author Claro Team <cvs@claroline.net> * */ require '../inc/claro_init_gl...
PHP
claroline/tracking/learnPath_detailsAllPath.php
zefredz/claroline
gpl-2.0
4,479
136
codeparrot/github-code
527b40314d2d4f9d4f847f76fb6ed36a91ded0589faa997423258ad5c494709a
require 'api_error' class UnregisteredUser < User class ErrRegisterSave < APIError end # Raises an exception if registration is disabled for a user # Returns true if a user can register def self.can_register? # No registering if LDAP is on if CONFIG['ldap_mode'] == :on && !User.admin_session? ...
Ruby
src/api/app/models/unregistered_user.rb
andreas-schwab/open-build-service
gpl-2.0
3,664
97
codeparrot/github-code
e949204cce5b315ecc2d871bb85416a614f347d64b18c0695b4441cbe7ff6844
#include "LangSettings.h" #include <iostream> using namespace std; LangSettings::aux_struct LangSettings::data[LS_COUNT]; bool LangSettings::init_done=false; void LangSettings::init() { data[LS_FORCE_DEFINE_VARS ].Set("force_define_vars", false, "Obligar a definir los tipos de variables", "Si esta opción...
C++
pseint/LangSettings.cpp
ifigueroap/pse-spy
gpl-2.0
9,223
182
codeparrot/github-code
02dd6f53eb3b014f7d14034cc054321b25e476a63e5cad0196f14991ea788efe
''' This program uses Scarab_IBM to implement Simulation 1. Copyright (C) 2015 Fabio Soares Frazao 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 L...
Python
sim2.py
fsfrazao/Scarab-IBM
gpl-2.0
9,111
285
codeparrot/github-code
5228c0c57e6992340eeef2d456050149b806f74f56afa396a430f06c9f0c658e
// qtractor.cpp // /**************************************************************************** Copyright (C) 2005-2021, rncbc aka Rui Nuno Capela. 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...
C++
src/qtractor.cpp
davidpucheta/qtractor
gpl-2.0
13,764
539
codeparrot/github-code