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
84b861f9b427571def47e239f83875751a13ee4ab6373e6c17275f2ba7d3636d
<?php if ( ! defined( 'ABSPATH' ) ) exit; class TanSync_Admin_API { /** * Constructor function */ public function __construct () { add_action( 'save_post', array( $this, 'save_meta_boxes' ), 10, 1 ); } /** * Generate HTML for displaying fields * @param array $field Field data * @param boolean $e...
PHP
includes/lib/class-tansync-admin-api.php
derwentx/TanSync
gpl-2.0
9,846
315
codeparrot/github-code
69b7723bbde0d63ea344677767b5d806ce41c5c0d825af6a2960e7b3bd2ca216
package IO::Uncompress::Base ; use strict ; use warnings; use bytes; our (@ISA, $VERSION, @EXPORT_OK, %EXPORT_TAGS); @ISA = qw(Exporter IO::File); $VERSION = '2.022'; use constant G_EOF => 0 ; use constant G_ERR => -1 ; use IO::Compress::Base::Common 2.021 ; #use Parse::Parameters ; use IO::File ; use Symbol...
Perl
kzadeadatallereselectricos_v1.0.0_linux32_installer/linux/lampp/lib/perl5/5.10.1/i686-linux/IO/Uncompress/Base.pm
Esleelkartea/kz-adeada-talleres-electricos-
gpl-2.0
35,577
1,475
codeparrot/github-code
247ef03e0c853d61d07aff1df7a60398e9ab2aefff3ad4ea7240127a3819cb0d
#include "linklist.h" #include <stdlib.h> /* * No need to customize the capacity of list, and no need to move element while insertion and deletion * data element must save the address info for successor, need the element before sequence access for getelem operation */ typedef struct { linklistnode header; int le...
C
tree/btree/traversal/linklist.c
doc-cloud/ds
gpl-2.0
1,998
92
codeparrot/github-code
72d88f69b4e7c62caacf7e1b316d96e128a24444770bd99cf025b3f1cd93c55b
// // MPF Platform // OpenGL SwapChain // ×÷ÕߣºSunnyCase // ´´½¨Ê±¼ä£º2016-07-31 // #include "stdafx.h" #include "glewUtil.h" #include <GL/wglew.h> #include "GLSwapChain.h" using namespace WRL; using namespace NS_PLATFORM; namespace { HWND GetNativeHandle(INativeWindow* nativeWindow) { INT_PTR handle; ThrowIfFa...
C++
src/MPF.Platform/Media/Platform/GL/GLSwapChain.cpp
sunnycase/MPF
gpl-2.0
3,336
127
codeparrot/github-code
f7af37a60b24840cea290f9d2ed9b6604bc38943d66a1c591f466c7fe8012fc9
/* * ruby-gsl - using GSL from Ruby * * 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 library is distributed in...
C
ext/MultiFunction.c
codahale/ruby-gsl
gpl-2.0
4,019
128
codeparrot/github-code
cf2b64463c4b6046a449a772e3e4936009a721b309d221e8e7002294a7d19529
--- layout: post title: 'Catalyst 6: QA Testing (Overlooked)' date: 2010-04-22 19:29:30.000000000 -07:00 categories: - beginners tags: - series_overlooked_to_center series: "From Overlooked to Center Stage" jtype: notes_overlooked_to_center_stage weight: 1.8 --- {% include series/seriesTagFromOverlookedToCenterStage.ht...
HTML
_posts/2010/2010-04-22-catalyst-6-qa-testing-overlooked.html
tomjohnson1492/tomjohnson1492.github.io
gpl-2.0
7,920
35
codeparrot/github-code
6ab1abb00a0bd27fd8368cf218911ac20550145af4d315bb6db1d8a6c8ea12b2
using QuantSys.Analytics.Timeseries.Indicators.Abstraction; using QuantSys.Analytics.Timeseries.Indicators.Averages; using QuantSys.MarketData; namespace QuantSys.Analytics.Timeseries.Indicators.Oscillators { /// <summary> /// AC = AO-SMA(AO, 5) /// </summary> public class AC : AbstractIndicator...
C#
DotNet/QuantSys/Analytics/Timeseries/Indicators/Oscillators/AC.cs
exl3/QuantSys
gpl-2.0
992
43
codeparrot/github-code
9a88bd8f54612f8ab9f8565ab1993e73ce99008cf2a519cf0b1d221f474b3e69
package src.ddpsc.database.tile; import java.sql.ResultSet; import java.sql.SQLException; import java.util.List; import org.springframework.jdbc.core.RowMapper; import src.ddpsc.database.snapshot.Snapshot; import src.ddpsc.database.snapshot.SnapshotDaoImpl; /** * This class creates a mapping from the database to o...
Java
src/main/java/src/ddpsc/database/tile/TileRowMapper.java
hillst/PhenoFront
gpl-2.0
1,823
67
codeparrot/github-code
24496834b78abdcffa673751446671b997307af30e577877691adc253a356c2d
jQuery( function($) { function wc_restrictions_getEnhancedSelectFormatString() { var formatString = { formatMatches: function( matches ) { if ( 1 === matches ) { return wc_restrictions_admin_params.i18n_matches_1; } return wc_restrictions_admin_params.i18n_matches_n.replace( '%qty%', matches );...
JavaScript
wp-content/plugins/woocommerce-conditional-shipping-and-payments/assets/js/wc-restrictions-write-panels.js
SayenkoDesign/selectahead
gpl-2.0
10,781
357
codeparrot/github-code
66a3909f580e0892ef63874435132d22ad82f22c4be2419799b5b51debc6bc92
/*************************************************************************** qgsquerybuilder.cpp - Query Builder -------------------------------------- Date : 2004-11-19 Copyright : (C) 2004 by Gary E.Sherman Em...
C++
src/gui/qgsquerybuilder.cpp
dgoedkoop/QGIS
gpl-2.0
13,969
431
codeparrot/github-code
8830e1f0dca5e79d3506ad9842d1daac6406c4f53d497bd2c39b226a55f96b90
/* RunTime Type Identification Copyright (C) 1995-2017 Free Software Foundation, Inc. Mostly written by Jason Merrill (jason@cygnus.com). This file is part of GCC. GCC 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 F...
C
gcc/cp/rtti.c
itsimbal/gcc.cet
gpl-2.0
48,480
1,641
codeparrot/github-code
7dbdeb360fcd97e03d40d508b7f1b94479c555f3cfe95cb4f1d6d64f9e8db89d
/* CSS for iPad Landscape =====================================================================*/ @media screen and (max-width: 1024px) { } /* CSS for iPad Portrait =====================================================================*/ @media screen and (max-width: 800px) { img, img[class*="align"], img[clas...
CSS
wp-content/themes/schoolfun/stylemobile.css
prox-git-admin/zioninduction.com
gpl-2.0
22,302
977
codeparrot/github-code
d3aff3f6286e00416097ba4cf122c863a9b1e5fa7e76d1235abfa6462e60ec61
/* ScriptData SDName: boss_ultraxion SD%Complete: ~90% SDComment: SDCategory: Boss Ultraxion EndScriptData */ #include "ScriptPCH.h" #include "dragon_soul.h" #define H_TARGETS_10 1 #define H_TARGETS_25 3 #define H_TARGETS_10_HEROIC 2 #define H_TARGETS_25_HEROIC 5 #define F_TARGETS_10 1 #define F_TARGETS_25 3 #define...
C++
src/server/scripts/Kalimdor/dragonsoul/boss_ultraxion.cpp
Spade17/4.3.4-Core
gpl-2.0
42,495
1,421
codeparrot/github-code
db30a9e65c73c74ec3a28313bf70ef3849d5a014213a17cf86c58802075c3003
#include "common.h" /** * ipinfo_compare * * compares the items in the ipinfo list * * @param _a * @param _b * @return */ bool ipinfo_compare(const void * _a, const void * _b) { const ipinfo *a = (const ipinfo *) _a; const ipinfo *b = (const ipinfo *) _b; if (a->src_sd == b->src_sd) ret...
C
src/llist.c
jotsb/COMP8005-Port-Forwarding
gpl-2.0
4,020
227
codeparrot/github-code
e4afa64add3d7b5e8d9d5a0a1658eb4c9394b770365c89b17a5f24f621ff1b8d
<?php /** * This file is part of the TYPO3 CMS Extension "Nagios" * Author: Michael Schams - http://schams.net * * It is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License, either version 2 * of the License, or any later version. * * For the full copyrigh...
PHP
classes/class.tx_nagios_eid.php
WebentwicklerAt/nagios
gpl-2.0
10,156
292
codeparrot/github-code
c8bfa68a1980f6d3f7efb40649576a752f04b09162b5298bf22176564108ba5d
/* * Copyright (c) 1998-2011 Caucho Technology -- all rights reserved * * This file is part of Resin(R) Open Source * * Each copy or derived work must preserve the copyright notice and this * notice unmodified. * * Resin Open Source is free software; you can redistribute it and/or modify * it under the terms o...
Java
modules/kernel/src/com/caucho/xml/parsers/LooseXmlDocumentBuilderFactory.java
dlitz/resin
gpl-2.0
2,111
82
codeparrot/github-code
f7df19cd84c42804d0cc6f1c41828bcea45a57096519817dc978d70218150cfb
// This figle is part of Chaotic Rage (c) 2010 Josh Heidenreich // // kate: tab-width 4; indent-width 4; space-indent off; word-wrap off; #include <iostream> #include <algorithm> #include <SDL.h> #include "../game_state.h" #include "../game_engine.h" #include "../map/zone.h" #include "../map/map.h" #include "../entity...
C++
src/script/gamelogic.cpp
TheJosh/chaotic-rage
gpl-2.0
10,579
537
codeparrot/github-code
af51ff9d9af2a2563d8d2362c96fab032d91a64faf8455cc6a548d1c590bb465
using System; using System.IO; using System.Linq; using System.Net.FtpClient; using System.Threading; using TAS.Server.Media; namespace TAS.Server.XDCAM { public class XdcamStream: Stream { private readonly bool _isEditList; private int _smilIndex; private readonly XdcamMedia _media; ...
C#
TAS.Server/XDCAM/XdcamStream.cs
jstarpl/PlayoutAutomation
gpl-2.0
5,697
169
codeparrot/github-code
a78f3ff441c7959fd8d6677a32a2bc4b7df46380ab0793c9e1cfeb3deab19337
/********************************************\ * * Sire - Molecular Simulation Framework * * Copyright (C) 2017 Christopher Woods * * 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 Foun...
C
corelib/src/libs/SireIO/amberformat.h
michellab/Sire
gpl-2.0
6,627
249
codeparrot/github-code
f1c4d5b1a4f71ee6b23a0f4f5ff4aa286ae5833fd764c5266a064ac2f9cdaf7b
<?php // $Id: post.php 542 2011-04-20 16:55:45Z dlandau $ // Edit and save a new post to a discussion require_once('../../config.php'); require_once('lib.php'); $reply = optional_param('reply', 0, PARAM_INT); $forum = optional_param('forum', 0, PARAM_INT); $edit = optional_param('edit', 0...
PHP
mod/forum/post.php
bobpuffer/1.9.12-LAE1.3
gpl-2.0
33,804
806
codeparrot/github-code
2eee44cd76b8742e3aa8d80c2166127a216cf67c78c5edb5ccc4053b0f2be1aa
/* * dvb_demux.c - DVB kernel demux API * * Copyright (C) 2000-2001 Ralph Metzler <ralph@convergence.de> * & Marcus Metzler <marcus@convergence.de> * for convergence integrated media GmbH * * Copyright (c) 2012, Code Aurora Forum. All rights reserved. * * This program is free software; you can redi...
C
drivers/media/dvb/dvb-core/dvb_demux.c
samarthp/sam-tenderloin-kernel-3.4
gpl-2.0
43,121
1,781
codeparrot/github-code
f9d75bc8735e6dde6c73b6306be953605b31366b89920cd812e9c75af55fe9f7
#include <ResourceBox.h> #include <auxiliary.h> #include <FileScanner.h> #include <FolderScanner.h> #include <math.h> #include <FeaturesHandler.h> #include <LRE.h> #include <LREAuxBuffer.h> #include <LREThreadBuffer.h> #include <DataFuncs.h> #include <PairClassifier.h> using namespace std; //_________________________...
C++
Verification/src/appl/RandomClassifier.cpp
mikekestemont/Apuleius
gpl-2.0
4,156
100
codeparrot/github-code
dc4a006b2b89dd311c5e1ca5b0c030adf4e244831c005a4cf8305fd504768252
/* * (C) Copyright 2010-2015 * Reuuimlla Technology Co., Ltd. <www.reuuimllatech.com> * * Pan Nan <pannan@Reuuimllatech.com> * Tom Cubie <tanglaing@Reuuimllatech.com> * Victor Wei <weiziheng@Reuuimllatech.com> * * SUNXI I2C Platform Driver * * This program is free software; you can redistribute it and/or * ...
C
drivers/i2c/busses/i2c-sunxi.c
mthous72/a13_kernel_3.0.8
gpl-2.0
33,411
1,317
codeparrot/github-code
8cb9f768dd2ee25b0a270d4a1c1ba972e427f81dd5049cb9c1c78744e830d3a8
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>read_until (2 of 8 overloads)</title> <link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> <link rel="home" href="../../../boost_as...
HTML
coflo-0.0.4/third_party/boost_1_48_0/doc/html/boost_asio/reference/read_until/overload2.html
charlesDGY/coflo
gpl-2.0
7,199
120
codeparrot/github-code
2d5b1680f5b8dee1f22a57d3c1c29d80f68c86eee0ab79c4cabdd30aad82ae68
/* * linux/arch/arm/kernel/setup.c * * Copyright (C) 1995-2001 Russell King * * 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. */ #include <linux/export.h> #include <linux/ker...
C
arch/arm/kernel/setup.c
mostafa-z/Gabriel_MM
gpl-2.0
26,525
1,100
codeparrot/github-code
25a2d199e8f280e3df65f3045c4cc818ea2b9d6ef9d91d146acfe6a47d08eddc
package net.sf.openrocket.file.iterator; import java.io.IOException; import java.io.InputStream; import java.util.Iterator; import java.util.NoSuchElementException; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import net.sf.openrocket.util.Pair; /** * An abstract class for iterating over files fulfilli...
Java
openrocket-release-15.03/core/src/net/sf/openrocket/file/iterator/FileIterator.java
joebowen/landing_zone_project
gpl-2.0
2,250
96
codeparrot/github-code
1b3ce56fc8ce442ab21a8bf1b0be162852580d23cebbcc89b2b6765d01393fc9
<?php class A3_PVC_Settings { public static function install_settings_default() { $pvc_settings = get_option('pvc_settings', array() ); if ( count( $pvc_settings ) < 1 ) { $pvc_settings = array(); $pvc_settings['post_types'] = array('post', 'page'); update_option('pvc_settings', $pvc_settings); } ...
PHP
wp-content/plugins/page-views-count/pvc_settings.php
jessey90/topgameandroid
gpl-2.0
11,207
167
codeparrot/github-code
163d94758549d23071a86b2ac8fc28b34fbfeb7c8acc4b6290d02df1e5a26e2e
#include <string.h> void *memcpy(void *dest, const void *src, size_t size) { while (size--) *((char *)dest++) = *((char *)src++); return dest; } void *memset(void *ptr, int value, size_t size) { while (size--) *((char *)ptr++) = value; return ptr; } size_t strlen(const char *str) { ...
C
kernel/core/string.c
Nakrez/zOS
gpl-2.0
2,159
152
codeparrot/github-code
df41e0efb244d0057c26d3195b245d12caac4d12401fcd14af34d6378e75a9bd
/* OpenVAS Manager * $Id$ * Description: Manage library: Ranges for IANA TCP and UDP 2012. * * Authors: * Matthew Mundell <matthew.mundell@greenbone.net> * * Copyright: * Copyright (C) 2009,2010 Greenbone Networks GmbH * * This program is free software; you can redistribute it and/or modify * it under the te...
C
src/manage_ranges_iana_tcp_udp_2012.c
xavise/ubuntu-pkg-openvas6-openvas-manager
gpl-2.0
57,921
1,407
codeparrot/github-code
9d754152f4a161cd077d8649d803177659c3cf3c0680dde613a85091c053a6c4
/* * Template for Game Manager's */ package ua.naiksoftware.waronline; import android.graphics.Rect; import android.util.SparseIntArray; import java.io.IOException; import java.util.ArrayList; import ua.naiksoftware.waronline.unit.Unit; import ua.naiksoftware.waronline.unit.UnitCode; import java.util.Random; import ...
Java
src/ua/naiksoftware/waronline/GameManager.java
NaikSoftware/WarOnline
gpl-2.0
4,527
154
codeparrot/github-code
df5a7077b46758c7751ecf7918a287bd4a0ecd5338730c62a271b3f3c714da69
/* MacResponse: Incident Response Toolkit for Mac OS X Copyright (C) 2011 - Assured Information Security, Inc. All rights reserved. Authors: Christopher Patterson <pattersonc _at_ ainfosec.com> Jason Nashold <nasholdj _at_ ainfosec.com> This program is free software: you can redistribute it and/or modify i...
C
MacResponse_Live/MacResponse_Live/AppController.h
ainfosec/MacResponse-Forensics
gpl-2.0
2,399
78
codeparrot/github-code
32cc050299008cbfe3e41600f871f432c2618e5f50c94707d5d4464ff84b548d
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <!-- Copyright (c) 2012 Stijn van Dongen --> <head> <meta name="keywords" content="manual"> <style type="text/css"> /* START aephea.base.css */ body { text-align: justify; margin-left: 0%; margin-right: 0%; } a...
HTML
clustering/mcl-12-135/doc/mcl.html
koadman/proxigenomics
gpl-2.0
91,569
1,508
codeparrot/github-code
a9fffe4caa5434b735dd6f00f36c0d325c8e1eebf06e9be24b90dab8a2e5cf14
##################################################################### # # core.py # # Copyright (c) 2015, Eran Egozy # # Released under the MIT License (http://opensource.org/licenses/MIT) # ##################################################################### import kivy from kivy.app import App from kivy.core.window...
Python
pygamelan/core.py
eflynch/pygamelan
gpl-2.0
2,581
93
codeparrot/github-code
436293bb0d5660bce57c68ea6af2483a8300173a99ddad26c0011db492f9db31
#include "replay_mode.h" #include "duelclient.h" #include "game.h" #include "single_mode.h" #include "../ocgcore/common.h" #include "../ocgcore/mtrandom.h" namespace ygo { long ReplayMode::pduel = 0; Replay ReplayMode::cur_replay; bool ReplayMode::is_continuing = true; bool ReplayMode::is_closing = false; bool Replay...
C++
gframe/replay_mode.cpp
nekrozar/ygopro
gpl-2.0
27,987
940
codeparrot/github-code
6f988ad4c8e245d8c9b1776ce8160e0da8d7c265cd1a557e065a6ccfcb4c017b
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.IO; using System.Linq; using System.Net.Http; using System.Net.Http.Formatting; using System.Net.Http.Headers; using System.W...
C#
LuckyMe.CMS/LuckyMe.CMS.WebAPI/Areas/HelpPage/SampleGeneration/HelpPageSampleGenerator.cs
pobeirne/LuckyMe.CMS_2015
gpl-2.0
20,968
444
codeparrot/github-code
efe47a713376a8ea92f192a0b8f1a2e58cb4d793ba5c734c348b3f2d80584e11
/* * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * Copyright (C) 2003, 2004 Ralf Baechle */ #ifndef _ASM_HAZARDS_H #define _ASM_HAZARDS_H #include <linux/config.h> #ifdef __ASSEMBLY__ ...
C
include/asm-mips/hazards.h
xtreamerdev/linux-xtr
gpl-2.0
5,783
264
codeparrot/github-code
1f7a446881603ad3648d763ef6b0ba37631a3ac5451336b4ac9872283bdb3506
# vim:set encoding=utf8: # (C) 2010-2012 Frank-Rene Schäfer from quex.engine.analyzer.mega_state.target import TargetByStateKey from quex.engine.analyzer.transition_map import TransitionMap from itertools import chain def do(ATm, AStateN, ASchemeN, BTm, BStateN, BSchemeN): """*Tm -- transitio...
Python
third-party/quex-0.65.2/quex/engine/analyzer/mega_state/template/gain_transition_map.py
dkopecek/amplify
gpl-2.0
4,058
106
codeparrot/github-code
a6ac1ffe3f0e2b6c9f88f6a59cc1eacb8b91716884944fd87c4cdede278ada72
package com.dogmalabs.android.foregroundcardviews.view; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Canvas; import android.graphics.Rect; import android.graphics.drawable.Drawable; import android.graphics.drawable.NinePatchDrawable; import android.util.AttributeSet; i...
Java
ForegroundCardViews/src/main/java/com/dogmalabs/android/foregroundcardviews/view/ForegroundRelativeLayout.java
cesards/SandBox
gpl-2.0
3,609
119
codeparrot/github-code
aa23ab598490c3b7de4bf8d2ea12ead0cae69316a0064b30949e0e929a6ed15d
// // thread safe logger // // This code is based on article by John Torjo // published on: // http://articles.techrepublic.com.com/5100-10878_11-5072104.html# // #ifndef __TS_DECORATOR__ #define __TS_DECORATOR__ #include <iostream> #include <sstream> #include <ostream> /*********************************************...
C
src/ts_log/decorator.h
tonytheodore/tora
gpl-2.0
7,706
273
codeparrot/github-code
7401d9095f96e8d032a19904f09129686a6104a99dcbe72d9912b68383e59b55
/* $Id: statemachine.h,v 1.25 2006/06/11 16:39:11 deller Exp $ G N O K I I A Linux/Unix toolset and driver for the mobile phones. This file is part of gnokii. Gnokii is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free S...
C
gnokiigsm/statemachine.h
jvesely/qemu-neo1973
gpl-2.0
3,753
115
codeparrot/github-code
9cc29f24ed12d5346f1f6c5276cbc282cc546ee492586550d062f9b64675812b
/* * Copyright (c) 2006-2014, Ivan "Joker" * All rights reserved. * * This software is open-source under GNU General Public License, version 2 * see LICENSE file */ package odog.editor.ArtifactEditors.Composite; import odog.editor.ArtifactEditors.CompositeComponentEditor; import odog.editor.ArtifactEditors.Nod...
Java
odog/src/odog/editor/ArtifactEditors/Composite/exportedPortPanel.java
ivanjokerbr/odog
gpl-2.0
8,122
214
codeparrot/github-code
058d871d2b4e11a03708adb9abef38eaf58f421b84d5c6d5f570a42efebf6629
/*************************************************************************** * __________ __ ___. * Open \______ \ ____ ____ | | _\_ |__ _______ ___ * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / * Jukebox | | ( <_> ) \___| < | \_\ ( <_> ...
C
Player/apps/iap/iap-lingo2.c
renolui/RenoStudio
gpl-2.0
8,432
279
codeparrot/github-code
e5c2205ee5296c4bd28cadc4b66378e6939b67b1d462b1a4e62537771db8a8a1
# Copyright 2013 The Distro Tracker Developers # See the COPYRIGHT file at the top-level directory of this distribution and # at http://deb.li/DTAuthors # # This file is part of Distro Tracker. It is subject to the license terms # in the LICENSE file found in the top-level directory of this # distribution and at http:/...
Python
pts/mail/management/commands/pts_dispatch.py
sa2ajj/DistroTracker
gpl-2.0
2,039
64
codeparrot/github-code
3f9798db3f9cf11ba72bcfd645a3b81c3342f6df868de2e0f141d597d409ac58
# -*- coding: utf-8 -*- # Copyright: (c) 2018, SylvainCecchetto # GNU General Public License v2.0+ (see LICENSE.txt or https://www.gnu.org/licenses/gpl-2.0.txt) # This file is part of Catch-up TV & More from __future__ import unicode_literals import re from codequick import Resolver import urlquick from resources.l...
Python
resources/lib/channels/it/paramountchannel_it.py
Catch-up-TV-and-More/plugin.video.catchuptvandmore
gpl-2.0
775
32
codeparrot/github-code
9a07f8d38884458d17b605e3df2c224b09cefecc01621898d8b4f73b15b317e3
#if defined(_MSC_VER) /* MSVC Compiler */ #pragma warning ( disable : 4305 ) #endif #include "qwt3d_colorlegend.h" using namespace Qwt3D; /** Contructs a legend object with an axis at the left side. The legend resides in the top-right area and has no caption. Scale numbering is shown. */ ColorLegend::ColorLegend() ...
C++
3rdparty/qwtplot3d/src/qwt3d_colorlegend.cpp
kuzavas/qtiplot
gpl-2.0
4,934
221
codeparrot/github-code
8716e94f7784de87c8dee73e5c6b493c6b9726af2460881e84af94aa30332a7d
//////////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2008 The Regents of the University of California // // This file is part of Qbox // // Qbox is distributed under the terms of the GNU General Public License // as published by the Free Software Foundation, either versio...
C++
src/testXMLGFPreprocessor.C
yaoyi92/qbox_libxc
gpl-2.0
1,890
73
codeparrot/github-code
7c8c561f1c41afacda71c217cf83c99c09ad3039eecc7e004f6c4e3740583fbd
/* * linux/drivers/video/fbmem.c * * Copyright (C) 1994 Martin Schaller * * 2001 - Documented with DocBook * - Brad Douglas <brad@neruo.com> * * This file is subject to the terms and conditions of the GNU General Public * License. See the file COPYING in the main directory of this archive * for more detail...
C
drivers/video/fbmem.c
novic/AniDroid-Hardened-Kernel
gpl-2.0
45,960
1,953
codeparrot/github-code
71b1cfa4f1fc1bee30d054170df7816a2a60f8864bb3a180caec10a50e122b8c
/* * Copyrights * * Portions created by or assigned to Jabber.com, Inc. are * Copyright (c) 1999-2002 Jabber.com, Inc. All Rights Reserved. Contact * information for Jabber.com, Inc. is available at http://www.jabber.com/. * * Portions Copyright (c) 1998-1999 Jeremie Miller. * * Portions Copyright (c) 2006...
C++
jabberd/lib/str.cc
smokku/jabberd14
gpl-2.0
10,188
448
codeparrot/github-code
ae83dd48fca09c16efad6c6a8a09dab836d993eda28bcfdd2703276671051435
/* * print.cc * * */ #include "print-gui.h" #include "options.h" #include "config.h" #include "version.h" #include "osutils.h" #include "stock.h" #include <sstream> #include <iomanip> #include <unistd.h> #include <stdio.h> static const char *id = "@(#) $Id: print-gui.cc 2433 2012-01-10 22:01:30Z lyonel $"; stati...
C++
src/gui/print-gui.cc
freegeek-pdx/lshw-static-udeb
gpl-2.0
7,860
258
codeparrot/github-code
a0fc6c415b5b7e8e294041662bdbc70598036527f26acfd32a6eac560711809b
/* * Copyright (C) 2006 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
Java
app/src/main/java/de/dreier/mytargets/models/RectD.java
dralagen/MyTargets
gpl-2.0
4,249
140
codeparrot/github-code
4b03d6dd6606a6d911d7b38baefe8bfbda2027111a92a47e27f3ef8260f8088c
#ifndef SCSI_TRANSPORT_ISCSI_H #define SCSI_TRANSPORT_ISCSI_H #include <linux/device.h> #include <linux/list.h> #include <linux/mutex.h> #include <scsi/iscsi_if.h> struct scsi_transport_template; struct iscsi_transport; struct iscsi_endpoint; struct Scsi_Host; struct iscsi_cls_conn; struct iscsi_conn; struct iscsi_t...
C
kernel/include/scsi/scsi_transport_iscsi.h
luckasfb/OT_903D-kernel-2.6.35.7
gpl-2.0
6,570
188
codeparrot/github-code
8bc807fb9c96c287ecd1cc64dc26a3a837c12ac7b0bd2b87462a956c3d663a20
#!/usr/bin/python import urllib2 import json, csv import subprocess import sys import platform import getopt all_flag = False download_flag = False filename=None offcore_events=[] try: opts, args = getopt.getopt(sys.argv[1:],'a,f:,d',['all','file=','download']) for o, a in opts: if o i...
Python
utilities/intel_pcm/pmu-query.py
jcmcclurg/serverpower
gpl-2.0
3,641
95
codeparrot/github-code
f4616796f89fc4ab6b149d04bce5f5e7563924daec66c5c53c020fe5700498ec
# 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 hope that it will be useful, # but...
Python
sos/plugins/nis.py
pierg75/pier-sosreport
gpl-2.0
1,203
37
codeparrot/github-code
5becbb47b2c23f27c7344e1d6f564f6f62d4638bb0d74545368aefb294f72dd5
#include "config.h" #include "common.h" #include "locations.h" #include "cgiutils.h" #include "getcgi.h" #ifdef HAVE_GETOPT_H #include <getopt.h> #endif #include <stdarg.h> #define CHARLEN 256 #define max(a,b) ((a)>(b))?(a):(b) static void document_header(void); //static void document_footer(void); static int process...
C
contrib/daemonchk.c
a3linux/nagios-amq-perf
gpl-2.0
6,655
278
codeparrot/github-code
6e05f0da9fdf6da66a7588bdc84d9aec25735f8b6d391b73a3f0c7689e6e9f37
/* * MoonCake v1.3.1 - Form Validation Demo JS * * This file is part of MoonCake, an Admin template build for sale at ThemeForest. * For questions, suggestions or support request, please mail me at maimairel@yahoo.com * * Development Started: * July 28, 2012 * Last Update: * December 07, 2012 * */ ;(functio...
JavaScript
src/Orchard.Web/Themes/Mooncake/Scripts/js/demo/form_validation.js
lfurzewaddock/Coevery-Orchard
gpl-2.0
3,161
170
codeparrot/github-code
4253b5c36d84850e2a6a741ba579da0eb26816cce02668c2b1919c9cf4d0e93a
/* Source for x86 emulator IdaPro plugin File: emuheap.h Copyright (c) 2004, Chris Eagle This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, o...
C
ida-x86emu/emuheap.h
nihilus/idastruct
gpl-2.0
2,703
91
codeparrot/github-code
1d3880a13b4097da852188397aa9359fa4e94fe676fd13c0bd456df35326c887
#include<stdio.h> #define MAX 10 int q [MAX][MAX]; int main () { int i, j, n; int s, p; scanf (" %d", &n); for (i = 0; i < n; i++) for (j = 0; j < n; j++) scanf (" %d", &q[i][j]); s = 0; for (i = 0; i < n; i++) s += q[0][i]; for (i = 1; i < n && s != -1; i++) { p = 0; for (j = 0...
C++
Ad-hoc/2327/sol.cpp
bergolho1337/URI-Online-Judge
gpl-2.0
730
44
codeparrot/github-code
feab4b14abc8d7dffd874aa68791660e9701d56049a33a2f64147cbafe468a8b
/* * Copyright (C) 2005-2010 MaNGOS <http://getmangos.com/> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * ...
C++
src/game/WorldSession.cpp
3raZar3/Dark-Ice
gpl-2.0
34,711
940
codeparrot/github-code
cd9e7394393ea72099fc077a0e786db3d3f353c047cb5157e5f79b1dfe66fe32
<?php /** * JSON API * * PHP version 5 * * @category JSON_API * @package RO2Database * @author Adriano Teodoro <adrianopteodoro@gmail.com> * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License * @link https://github.com/adrianopteodoro/ro2database */ require "./include/main.inc....
PHP
json.php
snaity/ro2database
gpl-2.0
1,105
46
codeparrot/github-code
2449e42a9e2b442cab115468a5c6977fd0c0ec8abca3cca1e7a83cfd737e04b1
/* $Id: Treelex.C 1657 2006-06-04 03:03:05Z turian $ * Copyright (c) 2004-2006, New York University. All rights reserved. */ /*! * \file Treelex.C * \brief Definition of Tree::lex(). * * $LastChangedDate: 2006-06-03 23:03:05 -0400 (Sat, 03 Jun 2006) $ * $Revision: 1657 $ */ #include "learn/decision-trees...
C++
code/src/learn/decision-trees/Treelex.C
arne-cl/turian-parser
gpl-2.0
4,376
165
codeparrot/github-code
6ebdaea28cfd80a136c54c8d9ef509e142a1ac34502788b7d78bc1701eb2cabd
<?php /** * dbCitations class extends dbTable * @package etd * @filesource */ /** * Class for accessing the table containing the list of citations for a resource * @author Megan Watson * @copyright (c) 2007 University of the Western Cape * @version 0.1 */ class dbCitations extends dbTable { /** * Constructor ...
PHP
etd/classes/dbcitations_class_inc.php
chisimba/modules
gpl-2.0
2,049
86
codeparrot/github-code
221076fce14c8ead05cef7dbe48222c8d03d06c916c7b49aad50c62a3cd9f755
package book01.ex01.pyrmont; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.net.InetAddress; import java.net.ServerSocket; import java.net.Socket; /** * 本范例中,可以了解后端服务器是如何跟浏览器交互的 */ public class HttpServer { /** * WEB_ROOT is the directory ...
Java
fra-tomcat/fra-tomcat-analysis/src/main/java/book01/ex01/pyrmont/HttpServer.java
NorthFacing/step-by-Java
gpl-2.0
2,114
78
codeparrot/github-code
b5b9fc838857d82bf38c90f9806a9df1845942d673619efdfb3ff115a880084f
// Copyright (c) 2006,2007,2008,2009,2010,2011 Tel-Aviv University (Israel). // 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 // General Public License as published by the Free Software Foundation, // either version 3 of the L...
C
cgal/include/CGAL/Arr_topology_traits/Arr_spherical_topology_traits_2_impl.h
wschreyer/PENTrack
gpl-2.0
33,404
897
codeparrot/github-code
9ea629f1c8cdc37d5dc3dd08843e83541cc5f917cd2eb4c88f4ce352ad70dacc
<?php add_filter('wp_title', 'vp_filter_wp_title', 9, 3); function vp_filter_wp_title( $old_title, $sep, $sep_location ) { $ssep = ' ' . $sep . ' '; if (is_home() ) { return get_bloginfo('name'); } elseif(is_single() || is_page() ) { return get_the_title(); } elseif( is_category() ) $output = $ssep . 'Categ...
PHP
wp-content/themes/SCRN/teoPanel/custom-functions.php
alice-guzman/RoyalKingPalace
gpl-2.0
5,952
198
codeparrot/github-code
5e581520215a02eada747e7d7270aa64189aad4a32924fe6b90ce2b8d3e6a9ff
/* =========================================================================== Unkknow Engine Source Code Copyright (C) 2014 BraXi. All rights reserved. This file is part of the Unkknow Engine Source Code ("Unkknow Engine Source Code"). Contact email: thebraxi@o2.pl Contact website: http://www.braxi.org =====...
C++
src/CGame/Game.cpp
BraXi/FartyBear
gpl-2.0
9,438
349
codeparrot/github-code
19d740bf9ab34101b68ebe9af55bd43678fbfac50b3c4b40d7077d288061a097
#include <linux/kernel.h> #include <linux/module.h> #include <linux/sched.h> #include <linux/smp.h> #include <linux/cpufreq.h> #include <linux/threads.h> #include <linux/slab.h> #include <linux/delay.h> #include <linux/init.h> #include <asm/asi.h> #include <asm/timer.h> static struct cpufreq_driver *cpufreq_us2e_dr...
C
kernel/arch/sparc/kernel/us2e_cpufreq.c
luckasfb/OT_903D-kernel-2.6.35.7
gpl-2.0
9,441
405
codeparrot/github-code
a045e59497de4c1edf4410d33385807469d2b0fcbde6c76c3b399112b1dc4730
/* * SamDiagrams - diagram component for .NET * Copyright (C) 2011 Lucian Voinescu * * This file is part of SamDiagrams * * SamDiagrams 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 Foundati...
C#
SamDiagrams/Drawings/BaseDrawing.cs
lvoinescu/samDiagrams
gpl-2.0
2,122
112
codeparrot/github-code
3729b9196db02301e100826d1d0e117cd6c02e8af72555c57341748c57900373
package com.harishkamath.befit.services; import java.net.InetSocketAddress; import java.net.Proxy; import com.harishkamath.befit.models.AccessToken; import com.squareup.okhttp.OkHttpClient; import retrofit.RequestInterceptor; import retrofit.RestAdapter; import retrofit.client.OkClient; public final class ServiceG...
Java
BeFit/src/com/harishkamath/befit/services/ServiceGenerator.java
harishkamathuk/befit
gpl-2.0
1,492
47
codeparrot/github-code
05eb0f5a2fcb390d3bc50ce7748d978bd57ccd6f9209fe3f0725591c8c3a1250
package pf::vlan; =head1 NAME pf::vlan - Object oriented module for VLAN isolation oriented functions =head1 SYNOPSIS The pf::vlan module contains the functions necessary for the VLAN isolation. All the behavior contained here can be overridden in lib/pf/vlan/custom.pm. =cut # When adding a "use", remember to kee...
Perl
lib/pf/vlan.pm
louismunro/packetfence
gpl-2.0
33,164
789
codeparrot/github-code
ec6eceb61e3db90831cf808bd7182fc1ebb501ca0707d91aa5b92c02b5ca20bd
function itemService($log, $http, $q) { var basePath = 'items'; var service = { items : [], itemsMap : {} }; function addOrUpdateCache(itemx) { var item = service.itemsMap[itemx.id] if (item) { _.assign(item, itemx); } else { service.items.push(itemx); service.itemsMap[itemx.id] =...
JavaScript
src/main/webapp/modules/item/itemService.js
vteial/seetu
gpl-2.0
776
38
codeparrot/github-code
06ff0ccab6b38a57942d4954dea9f76865a57dc000acab70e4f8f4dfc7a049e0
<?php /** * @component Pay per Download component * @author Ratmil Torres * @copyright (C) Ratmil Torres * @license GNU/GPL http://www.gnu.org/copyleft/gpl.html **/ // no direct access defined ( '_JEXEC' ) or die; define("DATE_FORMAT_YMD", 1); define("DATE_FORMAT_DMY", 2); define("DATE_FORMAT_MDY", 3...
PHP
admin/html/vcalendar.html.php
Ratmil/payperdownload
gpl-2.0
3,969
136
codeparrot/github-code
644505bcb8328ffabf9d854190aa3de6f0628beb67e3ccfe114d63c4ed7bf110
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <TITLE> com.google.web.bindery.requestfactory.gwt.client.testing (Google Web Toolkit Javadoc) </TITLE> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../../../stylesheet.cs...
HTML
web/WEB-INF/classes/gwt-2.6.0/doc/javadoc/com/google/web/bindery/requestfactory/gwt/client/testing/package-summary.html
JakaCikac/dScrum
gpl-2.0
7,532
174
codeparrot/github-code
32aeb43e75642e18ad2e772cea011d449a7a6822c24412180780d062280d95f3
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using HawaiiDBEDT.Data.ViewModels; using HawaiiDBEDT.Domain; namespace HawaiiDBEDT.Web.Controls { public partial class permit_set : BaseControl { protected int permitSetID; ...
C#
Web/include/controls/permit_set.ascx.cs
DBEDT/renewable-energy-permitting-wizard
gpl-2.0
1,181
47
codeparrot/github-code
47b1b36fbf4c2368f58b97dc61f7f2d1575f85b795033cfc89841d149c686fc0
<?php /* +--------------------------------------------------------------------+ | CiviCRM version 4.2 | +--------------------------------------------------------------------+ | Copyright CiviCRM LLC (c) 2004-2012 | +---------------------...
PHP
sites/all/modules/civicrm/CRM/Member/Form/MembershipType.php
GreeneHillFoodCoop/members
gpl-2.0
24,981
661
codeparrot/github-code
c39ba1b41b5de1a45c2a1c228ea1b49f037e2b2abdc465fec904de6122fa6508
<?php /** * Implements hook_form_system_theme_settings_alter(). * * @param $form * Nested array of form elements that comprise the form. * @param $form_state * A keyed array containing the current state of the form. */ function heuresis_form_system_theme_settings_alter(&$form, &$form_state, $form_id = NULL) ...
PHP
sites/all/themes/heuresis/theme-settings.php
cqbent/heuresis
gpl-2.0
1,149
34
codeparrot/github-code
2a062c7e527dc00a8cb02a4e0a6b653b90a547217993a3b74db769c6c13956e4
/* * $Id: alias.c 9752 2012-10-14 03:33:16Z andijahja $ */ /* * SixAPI Project source code: * * Copyright 2010 Andi Jahja <xharbour@telkom.net.id> * * 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...
C
contrib/sixapi/source/alias.c
xharbour/core
gpl-2.0
2,005
82
codeparrot/github-code
cda1ce59e61cf9d308a2900e7024989a818f660823d596d083fb9a404c9dd399
<?php if (!defined('ABSPATH')) die('No direct access allowed'); ?> <?php class TMM_HelperFonts { public static function get_google_fonts() { $google_fonts = TMM_OptionsHelper::$google_fonts; $saved_google_fonts = self::get_saved_google_fonts(); if (!empty($saved_google_fonts) AND is_array($saved_google_font...
PHP
wp-content/themes/axioma/helper/helper_fonts.php
bourroush/kaycom
gpl-2.0
2,203
91
codeparrot/github-code
82f013484446ed025150a275ee4f925ada47d11e2e887fdea684bdd5dcd070d7
// -*- C++ -*- //////////////////////////////////////////////////////////////////////////////// /// /// \file src/exception.cc /// /// \author Walter Dehnen /// /// \date 2000-14 /// //////////////////////////////////////////////////////////////////////////////// // // Copyright (C) 2000-14 Walter Dehnen // // ...
C++
usr/dehnen/utils/src/exception.cc
jobovy/nemo
gpl-2.0
15,951
626
codeparrot/github-code
d89a32d328a5a9a1aafde4bdaa1c8508b6d8da3d5eca56685dca4ecb344eb921
/* CallController.cpp Copyright (C) 2015 Belledonne Communications, Grenoble, France 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 lat...
C++
Core/CallController.cpp
BelledonneCommunications/linphone-wp
gpl-2.0
8,983
251
codeparrot/github-code
9d0f2e27a5c73bcfe0ebd5affbb98e8dcab526f6f04153c85dd44dab0467b93c
bits 16 ; boot sector loads main program (rest of track 1) into address 0000:0600 org 0x0600 jmp start align 2, db 0 keystrokes dw 0 message1 db 'Main Program loaded', 13, 10, 10, 0 message2 db 'Type your name and press <Enter>: ', 0 message3 db 'Hello, ', 0 message4 db '. Welcome to Step 4!...
Assembly
step-4/baltrack2.asm
imacki/simple-os
gpl-2.0
3,276
160
codeparrot/github-code
f986e0060e99eb2a14f6bbd5f40a431076acbb69815a7b034ee93d51f292b1f3
# Makefile for an IPSec VPN client compatible with Cisco equipment. # Copyright (C) 2002 Geoffrey Keating # Copyright (C) 2003-2004 Maurice Massar # Copyright (C) 2006-2007 Dan Villiom Podlaski Christiansen # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General...
Makefile
Makefile
thillux/vpnc
gpl-2.0
5,698
168
codeparrot/github-code
f82251c5727a6d2785d027316de785960453d984bba81bf85c8eadc44f6117db
/* Copyright (c) 2011-2012, Code Aurora Forum. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the ho...
C
arch/arm/mach-msm/board-qrd7627a.c
F4uzan/f4kernel-u0
gpl-2.0
27,316
1,070
codeparrot/github-code
ab0d019e68971ee47fb9be14403da630991b9dcd2c7c5a6ebad5b6baa16b355b
<?php /** * @version $Id: helper.php 18650 2010-08-26 13:28:49Z ian $ * @package Joomla.Site * @subpackage mod_articles_category * @copyright Copyright (C) 2005 - 2010 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ // no direct acces...
PHP
modules/mod_articles_category/helper.php
dbxdnl/GitHub
gpl-2.0
9,393
273
codeparrot/github-code
5d839f61333bf2f23aa92552eb6251cccfbf64ef495b6a582705f32407c749d4
<?php /** * Implements hook_form_system_theme_settings_alter(). * * @param $form * Nested array of form elements that comprise the form. * @param $form_state * A keyed array containing the current state of the form. */ function ledger_form_system_theme_settings_alter(&$form, &$form_state, $form_id = NULL) {...
PHP
sites/all/themes/ledger/theme-settings.php
radeus/2P
gpl-2.0
1,141
34
codeparrot/github-code
c0204d514b0e5d7c8266a2802cd1aafe2a9764a3c4a99f29909416ed3e11990f
#include "precomp.h" #include "jnumericchart.h" #include "qwt/qwt_plot.h" #include "qwt/qwt_plot_curve.h" #include "qwt/qwt_scale_draw.h" #include "jnumericseries.h" #include "private/jtimescaledraw.h" #include "private/jabstract_seriesdata.h" #include "private/jplotzoomer.h" #include "private/JYNumericScaleDraw.h" #i...
C++
src/3rdpart/jchart/src/jnumericchart.cpp
iclosure/jframework
gpl-2.0
8,800
304
codeparrot/github-code
033cca40dbe1b5d69da27078f024651f15e309121358825d6a28f08238db4226
#include <stdlib.h> #include <stdio.h> #include <string.h> #include "Prelude__Any.h" void Prelude__Any__init(void) { Object__set(t_Any, "name", Object__nFunction(Prelude__Any__name)); Object__set(t_Any, "type", Object__nFunction(Prelude__Any__type)); Object__set(t_Any, "parent", Object__nFunction(Prelude_...
C
src/Prelude__Any.c
rrdelaney/Juby
gpl-2.0
2,093
75
codeparrot/github-code
51d86014939c089b40525fc1454aa9af6fd44a63b3a6e37971a1229c237f01b6
#!/usr/bin/perl -w #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # pCool CLI based Perl IRC Client is released under the terms and license # of GNU General Public License (GPLv2) # # I'd like to personally thank Robey Pointer (http://www.lag.net/say2/) # for his excellent work in writing T...
Perl
pcoolirc.pl
em3rg3/pcoolirc
gpl-2.0
4,490
198
codeparrot/github-code
2b1b0b1b56b48422a16afa4a3971d51ce5bba22a7de8e80b0145341fddbc9096
/*************************************************************************** * Copyright (C) 2004 by Michael Reithinger * * mreithinger@web.de * * * * This fi...
C
src/connection.h
github-ivan/fex
gpl-2.0
8,125
337
codeparrot/github-code
2623b9951af957a90a5da9e01a47af3242a65b7f5a2f44df5333d7c6976a2a6c
<?php /** * * * Created on Jul 2, 2007 * * Copyright © 2007 Roan Kattouw "<Firstname>.<Lastname>@gmail.com" * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the Lic...
PHP
includes/api/ApiQueryDeletedrevs.php
legoktm/wikihow-src
gpl-2.0
18,126
545
codeparrot/github-code
339cffa8fd365e7cdde1293a7ab70d68ab7d1ebf496d29bb3eea39c001fbe08f
#ifndef __ENUMS_H__ #define __ENUMS_H__ //memory offsets for storing data typedef enum _offsets { OFFSET_MNOTE = 0, OFFSET_COMMANDS = 4, OFFSET_DH = 8, OFFSET_SYS = 12 } offsets; //schedule types typedef enum _schedules { SCH_NO, SCH_ONCE, SCH_ED, SCH_REP, SCH_PER_WD, SCH_AFTER, ...
C
enums.h
mju-oss-13-a/team5-NoteMaster
gpl-2.0
4,307
236
codeparrot/github-code
5b3390b301cfaea373c106791e4ff2bd99f551848fb75e2605ec6374b85d87bb
--[[ Copyright (C) 2010-2011 <reyalp (at) gmail dot 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 Foundation. This program is distributed in the hope that it will be useful, but WITH...
Lua
lua/prefs.lua
simonswine/chdkptp
gpl-2.0
3,368
167
codeparrot/github-code
a32273ed53b8a9f02f415936cc1d1a13c99f5e4434fb1a9b208a78a326c4680f
<?php /** * @package RSForm!Pro * @copyright (C) 2007-2014 www.rsjoomla.com * @license GPL, http://www.gnu.org/copyleft/gpl.html */ // no direct access defined('_JEXEC') or die('Restricted access'); class plgSystemRSFPMailChimpInstallerScript { public function preflight($type, $parent) { if ($type == 'uninstall') ...
PHP
plugins/system/rsfpmailchimp/script.php
quanghung0404/it2tech
gpl-2.0
1,584
57
codeparrot/github-code
1bf1cf0ee2209393cd8e513021b916b04510308cc2e1e38467dfceb4267498dc
/* ------------------------------------------------------------------------ Class: prettyPhoto Use: Lightbox clone for jQuery Author: Stephane Caron (http://www.no-margin-for-errors.com) Version: 3.1.5 ------------------------------------------------------------------------- */ (function($) { $.prettyPhoto ...
JavaScript
wp-content/themes/amada/js/prettyPhoto.js
leominov/artup
gpl-2.0
36,655
934
codeparrot/github-code
94d1d4f2d861c840f1e5ecc5cd96981d5b437c17b001e6491c2418fda4a99598
/**************************************************************************** ** ** Jreen ** ** Copyright © 2012 Ruslan Nigmatullin <euroelessar@yandex.ru> ** ***************************************************************************** ** ** $JREEN_BEGIN_LICENSE$ ** This program is free software: you can redistribute ...
C
src/registrationqueryfactory_p.h
norrs/debian-libjreen
gpl-2.0
2,106
64
codeparrot/github-code
eb14f381637b0365bef49357d8b443a2ab313d5315ee5ca877ab50fc1351fa7d
__author__ = 'Bram + Frank + Ricardo + Kevin + Jouke-bouwe' import csv from tkinter import * from MiniprojectProgrammerenWeek3 import FilmsOphalen, Aankoop #Verwijst naar de csv bestanden die gebruikt worden. Moet worden aangepast als deze op een andere pc wordt uitgevoerd csvKlantBestand = 'C:/Users/Rica/PycharmProje...
Python
MiniprojectProgrammerenWeek3/buttons.py
zothor/software
gpl-2.0
17,539
406
codeparrot/github-code
c86fb7f6e2ca13728e02bde484b614905130c1f5fabaafb62ba6a976d8acbb9f
#!/usr/bin/env python3 """ monitor -- connection monitoring process This process is spawned as a child of the daemon, and is responsible for monitoring connection status and initiating autoreconnection when appropriate. """ # # Copyright (C) 2007 - 2009 Adam Blackburn # Copyright (C) 2007 - 2009 Dan O'Reilly # #...
Python
wicd/monitor.py
JulienPalard/wicd
gpl-2.0
14,528
398
codeparrot/github-code
e4a960cdb656f5b57f5e018a8f3a7cb1b687502f58591282e05f56ab25ce1a2e
// Copyright (c) 1999,2007 // Utrecht University (The Netherlands), // ETH Zurich (Switzerland), // INRIA Sophia-Antipolis (France), // Max-Planck-Institute Saarbruecken (Germany), // and Tel-Aviv University (Israel). All rights reserved. // // This file is part of CGAL (www.cgal.org); you can redistribute it and/o...
C
cgal/include/CGAL/double.h
wschreyer/PENTrack
gpl-2.0
5,646
228
codeparrot/github-code
2ceeb5c53954920d80be2e55e8dea35411873bacb1248c1019ec6cde606d3f6f
# Copyright (C) 2001-2006 Python Software Foundation # Author: Barry Warsaw # Contact: email-sig@python.org """Basic message object for the email package object model.""" __all__ = ['Message'] import re from cStringIO import StringIO # Intrapackage imports import bongo.external.email.charset from bongo.external.ema...
Python
src/libs/python/bongo/external/email/message.py
bongo-project/bongo
gpl-2.0
32,690
857
codeparrot/github-code
53b8ee15031fa5d32c17a2e13065c2e8902f3803493f58c67a2e6f22111e717a
#pragma once #include "Utilities/VirtualMemory.h" #include "Utilities/hash.h" #include "Emu/Memory/vm.h" #include "gcm_enums.h" #include "Common/ProgramStateCache.h" #include "Emu/Cell/Modules/cellMsgDialog.h" #include "Emu/System.h" namespace rsx { struct blit_src_info { blit_engine::transfer_source_format format...
C
rpcs3/Emu/RSX/rsx_cache.h
danilaml/rpcs3
gpl-2.0
17,151
614
codeparrot/github-code
eb3cb5c1dbfa41fcfb4eb92936d8af7f606eb2e8408889404f9b9d3df24ad2ff
/*---------------------------------------------------------------------------*\ ## #### ###### | ## ## ## | Copyright: ICE Stroemungsfoschungs GmbH ## ## #### | ## ## ## | http://www.ice-sf.at ## #### ###### | ------------------------------------------------------...
C++
Libraries/functionPlugins/lagrangianCloudAdaptors/coalCloudAdaptor/coalCloudRhoEffPluginFunction.H
Unofficial-Extend-Project-Mirror/openfoam-extend-Breeder2.0-libraries-swak4Foam
gpl-2.0
3,073
95
codeparrot/github-code