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
1f2604dab57b411d65c8680dd81b3c398c417cc75c71a493222c7fb41071ba27
<?php /* -------------------------------------------------------------- GMSitemapXML.php 2014-06-21 gm Gambio GmbH http://www.gambio.de Copyright (c) 2014 Gambio GmbH Released under the GNU General Public License (Version 2) [http://www.gnu.org/licenses/gpl-2.0.html] IMPORTANT! THIS FILE IS DEPRECATED ...
PHP
admin/gm/classes/GMSitemapXML.php
carlosway89/testshop
gpl-2.0
11,359
492
codeparrot/github-code
f0053d703e4c75acbcf83e6684ba989f703b0b8799a16bb3fab8fb6c3dacfdc5
/* * include/linux/omap_ion.h * * Copyright (C) 2011 Google, Inc. * * This software is licensed under the terms of the GNU General Public * License version 2, as published by the Free Software Foundation, and * may be copied, distributed, and modified under those terms. * * This program is distributed in the h...
C
include/linux/omap_ion.h
zlatinski/omap-android-drm-kms
gpl-2.0
2,697
100
codeparrot/github-code
9ac753d417adfe85aabb38a9fa45decb2c892ad1f83e79bd96331a04cc605b0e
/*Hercules emulation*/ #include <stdlib.h> #include "ibm.h" #include "device.h" #include "mem.h" #include "timer.h" #include "video.h" #include "vid_hercules.h" typedef struct hercules_t { mem_mapping_t mapping; uint8_t crtc[32]; int crtcreg; uint8_t ctrl, ctrl...
C
src/vid_hercules.c
schumann2k/pcem-custom
gpl-2.0
16,282
367
codeparrot/github-code
6054cd809be8595ff61895d20f4eb69d59b24aadc6e7b2bdeef1dc6d5592a9ea
using System; using System.IO; using Microsoft.Win32; namespace Server.Misc { public class DataPath { /* If you have not installed Ultima Online, * or wish the server to use a separate set of datafiles, * change the 'CustomPath' value. * Example: * private static string CustomPath = @"C:\Program Fi...
C#
Scripts/Misc/DataPath.cs
felladrin/last-wish
gpl-2.0
2,666
106
codeparrot/github-code
918fed380ef16d00392ede52add91aa8106dd89982d2cb5b1e03c40de3c9440d
/* Copyright (C) 2000 The PARI group. This file is part of the PARI/GP package. PARI/GP 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. It is distributed in the hope that it will be useful, but WITHOUT ANY WARR...
C
src/basemath/elltors.c
jpflori/pari
gpl-2.0
19,347
710
codeparrot/github-code
cf0a4cd464cfe36afdb6407725fb81df84a72eb3579a888af362aae5d9a451fb
/* * tegra_asoc_utils.c - Harmony machine ASoC driver * * Author: Stephen Warren <swarren@nvidia.com> * Copyright (C) 2010 - NVIDIA, Inc. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * version 2 as published by the Free S...
C
sound/soc/tegra/tegra_asoc_utils.c
jeffegg/beaglebone
gpl-2.0
3,787
157
codeparrot/github-code
34086d06e5531d90a89a249a8bfee79a4b921ed2124447f557f0d2417c898345
/* * ESTE COMPONENTE SE ENCUENTRA PROTEGIDO POR LAS LEYES DE DERECHOS DE AUTOR. * @author Carlos Godoy * 2016 */ package sv.com.fm.web.ui.recursohumano; import java.util.ArrayList; import java.util.Date; import java.util.List; import java.util.logging.Level; import java.util.logging.Logger; import org.apache.commo...
Java
FunerariaEAR/FunerariaWAR/src/java/sv/com/fm/web/ui/recursohumano/PreparacionesEmpleadoMttoCtrl.java
jorgegalvez/funeralesmodernos
gpl-2.0
10,459
227
codeparrot/github-code
177dbd5de9341bd290229a21c9d0b10b8b86730ee00efcb9a0991377017fc279
function loadCashier(){ var data = 'action=loadCashier'; data += '&' + $('#osForm').serialize(); $.ajax({ url: 'OverShortCashierPage.php', data: data, success: function(response){ $('#display').html(response); $('#countSCA').focus(); } }); $('#date').val(''); $('#empno').val(''); } function re...
JavaScript
fannie/modules/plugins2.0/OverShortTools/js/cashier.js
GeorgeStreetCoop/CORE-POS
gpl-2.0
2,531
124
codeparrot/github-code
95394a03d9e15ea23c6af3acfaf93bae5feefa01f053911a70ec4579e448e603
/********************************************\ * * 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/SireBase/range.cpp
chryswoods/Sire
gpl-2.0
2,721
104
codeparrot/github-code
6c9648e7c574a92bf370476c4c79617291775b2d5d13b98c2bb0fe9d7df6d56f
<?php include 'JoomlaFramework.php'; $db =& JFactory::getDBO(); $params = JComponentHelper::getParams('com_languages'); $lang = $params->get('site', 'en-GB');//use default joomla $lang = strtolower(strtr($lang,'-','_')); $vm_category_id = $_POST["category_id"]; // Need a query that will get the full cate...
PHP
administrator/components/com_vproductfeed/assets/ajax/LinkStatus.php
alesconti/FF_2015
gpl-2.0
2,279
94
codeparrot/github-code
e8a94131c1908b75c0479bc2780d79687ac7e9abe1b7bc97e479ef280d2be676
<? require_once('server.conf.php'); require_once('function.php'); $Cmd = $_GET['cmd']; CheckLogin(); ?> <!DOCTYPE html> <html> <head> <meta http-equiv="content-language" content="en" /> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <meta name="viewport" content="width=device-width, initial-s...
PHP
Web/settings.php
ccwillsu/SmartHomeAIR
gpl-2.0
3,207
86
codeparrot/github-code
f019b359cba070d212cc3a29842be81848be6144539dadc2906156cec3ad4312
/* * 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/Group.h
Kishii/Dev
gpl-2.0
18,778
453
codeparrot/github-code
6e98c6d57c38e1a95685065f6ba3a593c6fc3240fb127946c2e079b7a3bc29aa
# # x86_64/Makefile # # This file is included by the global makefile so that you can add your own # architecture-specific flags and dependencies. Remember to do have actions # for "archclean" and "archdep" for cleaning up and making dependencies for # this architecture # # This file is subject to the terms and conditio...
Makefile
arch/x86_64/Makefile
spacex/kernel-centos5
gpl-2.0
4,420
141
codeparrot/github-code
f8420eaf28230aab61a19b3628c90afaf86bf57ae69ec28c874d44bb7ad2e805
<?php /** * @package Kinoarhiv.Administrator * @subpackage com_kinoarhiv * * @copyright Copyright (C) 2010 Libra.ms. All rights reserved. * @license GNU General Public License version 2 or later * @url http://киноархив.com/ */ defined('_JEXEC') or die; /** * Class KinoarhivModelPremiere ...
PHP
administrator/components/com_kinoarhiv/models/premiere.php
Globulopolis/kinoarhiv
gpl-2.0
6,982
289
codeparrot/github-code
2f7b101a8b8a8e795c6988c2bf100c0ecf6213955338f25803930f7ae44fd69a
<?php /** * @version 2.6.x * @package K2 * @author JoomlaWorks http://www.joomlaworks.net * @copyright Copyright (c) 2006 - 2014 JoomlaWorks Ltd. All rights reserved. * @license GNU/GPL license: http://www.gnu.org/copyleft/gpl.html */ // no direct access defined('_JEXEC') or die ; require_once (JPATH_SITE.D...
PHP
modules/mod_k2_tools/helper.php
educakanchay/educared
gpl-2.0
33,683
1,188
codeparrot/github-code
09f87c4704831d4b950e81cb81543237cd233f324f597d5cd6b97b3f144e291e
/* ScummVM - Graphic Adventure Engine * * ScummVM is the legal property of its developers, whose names * are too numerous to list here. Please refer to the COPYRIGHT * file distributed with this source distribution. * * This program is free software; you can redistribute it and/or * modify it under the terms of ...
C++
engines/lastexpress/game/state.cpp
tramboi/scummvm-test
gpl-2.0
2,268
83
codeparrot/github-code
187913b7b0f8bcb0f54cb3f5fadddf677f8691bed11a68bb88032e3f7fd118a6
/* -*- mode: c; c-basic-offset: 8; -*- * vim: noexpandtab sw=8 ts=8 sts=0: * * inode.c * * vfs' aops, fops, dops and iops * * Copyright (C) 2002, 2004 Oracle. All rights reserved. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public * Licens...
C
fs/ocfs2/inode.c
kylon/Buzz-kernel
gpl-2.0
40,487
1,461
codeparrot/github-code
2cd003106409708d96ebaa9326865db3a8a80c6c041641d07ade1e0fe4cc741d
### Copyright (C) 2002-2006 Stephen Kennedy <stevek@gnome.org> ### Copyright (C) 2010-2012 Kai Willadsen <kai.willadsen@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 v...
Python
meld/vcview.py
pedrox/meld
gpl-2.0
35,046
832
codeparrot/github-code
34659fb3545f60d7de479ed7a5cc6e42fb93de0d689622b2e6924e96d4574fb9
<?php /** * The theme administration page * * @package WordPress * @subpackage Yawn * @author Cristian Radulescu */ $title = __('Yawn Dashboard'); $parent_file = 'themes.php'; // handle form submit if (isset($_POST['submit'])) { // header update_option('yawn-show-header', isset($_POST['yawn-show-header']) ?...
PHP
yawn-admin.php
cristianradulescu/wp-theme-yawn
gpl-2.0
4,145
111
codeparrot/github-code
7b93c543c74d2aeb235ddacbecaf2d262c60544486f8ffb751418395d2f2e1db
<!DOCTYPE html> <html lang="en-US"> <!-- Mirrored from www.w3schools.com/jsref/tryit.asp?filename=tryjsref_tolocaledatestring by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 23 Jan 2015 08:27:13 GMT --> <head> <title>Tryit Editor v2.3</title> <meta id="viewport" name='viewport'> <script> (function() { if ( navigato...
HTML
Coding/W3School/W3Schools_Offline_2015/www.w3schools.com/jsref/tryit7b1d-2.html
platinhom/ManualHom
gpl-2.0
5,267
153
codeparrot/github-code
5b9034f8a31e9f3caf8719401ffb3967234ec49db3a3ea81a30ace36a308eb99
/* * Copyright (c) 2013 Samsung Electronics Co., Ltd. * http://www.samsung.com * * EXYNOS - MP CPU frequency scaling support for EXYNOS big.Little series * * 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 t...
C
drivers/cpufreq/exynos-mp-cpufreq.c
cypresskr/linux
gpl-2.0
55,344
2,029
codeparrot/github-code
928e5b7bc6c7896a761888a01e39273f7b8f7baffdff48e380d9ad92295a44a5
#pragma once /* * This file provides a macro to terminate the program in case of fatal * errors, that can not be handled by throwing an exception. Most importantly * if a thrown exception might (to easily) cause undefined behavior. */ #include "up_insight.hpp" #include "up_source.hpp" namespace up_terminate { ...
C++
up0/up_terminate.hpp
nosid/lib-up
gpl-2.0
721
35
codeparrot/github-code
27d8c671f9fdb1b167461a4299c986b739e2b57774c0b59f86ec92f8e13c88df
/* Copyright Statement: * * This software/firmware and related documentation ("MediaTek Software") are * protected under relevant copyright laws. The information contained herein * is confidential and proprietary to MediaTek Inc. and/or its licensors. * Without the prior written permission of MediaTek inc. and/or ...
C
bootable/bootloader/uboot/board/pcippc2/fpga_serial.c
luckasfb/OT_903D-kernel-2.6.35.7
gpl-2.0
4,953
168
codeparrot/github-code
6b3699412b6dec8c753f6ae7db2483b854177beaab7e9dc1627478b8d1916607
package br.com.blogdofornias.rest; import java.util.List; import javax.ejb.EJB; import javax.ejb.LocalBean; import javax.ejb.Stateless; import javax.ws.rs.FormParam; import javax.ws.rs.GET; import javax.ws.rs.POST; import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax.ws.rs.QueryParam; import javax.ws.rs...
Java
src/br/com/blogdofornias/rest/ListarProdutosREST.java
vfmunhoz/MateriaRest
gpl-2.0
1,355
55
codeparrot/github-code
28f0b7b4b0738c13938a2ffc36c5020c91a7a008de7943fb2dfb71cc27c6faf6
package com.yh.hr.worktop.facade.impl; import org.apache.commons.lang.StringUtils; import com.yh.hr.component.task.service.TaskNextService; import com.yh.hr.res.bt.dto.LinkDTO; import com.yh.hr.worktop.factory.TaskRecheckFactory; import com.yh.hr.worktop.util.TaskWorkTopConstants; import com.yh.platform.core.exceptio...
Java
freelance-hr-worktop/src/java/com/yh/hr/worktop/facade/impl/TaskRecheckDisAgreeFlowFacade.java
meijmOrg/Repo-test
gpl-2.0
1,024
38
codeparrot/github-code
3a0ff10e7e79aacba69dce04a52794e569d32b1ae7bcd90c08f0d396f9579e60
/* ** FamiTracker - NES/Famicom sound tracker ** Copyright (C) 2005-2014 Jonathan Liss ** ** 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 yo...
C++
Source/APU/APU.cpp
HertzDevil/SnevenTracker
gpl-2.0
7,047
322
codeparrot/github-code
0c83e15fd931d73d0a77a2403b77f12a8cb94b3a51f9224c8a20c4dc189b1539
/* * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2014, 2015, Red Hat Inc. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU Gene...
C++
src/cpu/aarch64/vm/macroAssembler_aarch64.hpp
gaoxiaojun/dync
gpl-2.0
48,315
1,270
codeparrot/github-code
2bff57d73be6cf120b9aa5616589ab9afabffe9c8b330ce63c076c2c77408adf
#include <linux/kernel.h> #include <linux/module.h> #include <linux/device.h> #include <linux/types.h> #include <linux/platform_device.h> #include <linux/mutex.h> #include <linux/idr.h> #include "../w1.h" #include "../w1_int.h" #include "../w1_family.h" #include "w1_ds2760.h" static int w1_ds2760_io(struct device *...
C
drivers/w1/slaves/w1_ds2760.c
leemgs/OptimusOneKernel-KandroidCommunity
gpl-2.0
4,748
231
codeparrot/github-code
d870c27c8e19134714725cf89d19ff7ab7297dfc14f3c79ade72ba5602cf3760
/* * Copyright (C) 2014 Valery Kholodkov */ #ifndef _FLEET_WAYPOINTS_WIDGET_H_ #define _FLEET_WAYPOINTS_WIDGET_H_ #include <QWidget> #include <QListWidget> #include "folding_widget.h" #include "cargo_widget.h" #include "FSServer.h" namespace FreeStars { class FleetWaypointsWidget : public FoldingWidget { Q_...
C
QtClient/fleet_waypoints_widget.h
vkholodkov/freestars
gpl-2.0
929
51
codeparrot/github-code
56699d49b1a98197ed55f1770be445ad81d5073a4c8e00cfcb66d06a669173bb
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!-- BEGIN TEMPLATE: WHOPOSTED --> <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en"> <!-- Mirrored from www.hobartwelders.com/weldtalk/misc.php?do=whoposted&t=117869 by HTTrack Websi...
HTML
boerweld/weldtalk/miscf4ad.html
budiperkasa/tukangbagus
gpl-2.0
9,185
218
codeparrot/github-code
7f6abbc44599cf5a1e4d95824786f855f938323943a294bcb5357a7478f5c5fd
package ca.theshrine.dmclient.activity; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.TextView; import ca.theshrine.dmclient.R; public class WelcomeActivity extends Activity { @Override protected void onCreate(Bundle sav...
Java
android/app/src/main/java/ca/theshrine/dmclient/activity/WelcomeActivity.java
tsdotca/dmclient
gpl-2.0
875
33
codeparrot/github-code
8ab2fabed5b2ff5c6b569f320633c444b3448fa105de6ea557e41ef0b33face6
<?php /*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** Class to work with AJAM in Asterisk using PHP 5.x Details: You need to edit your Asterisk configuration files to enable the following In http.conf: [general] enabled = yes prefix=asterisk enablestatic = yes In manager.conf [general] enab...
PHP
possa/Ajam.php
POSSA/iAddressBook
gpl-2.0
11,264
472
codeparrot/github-code
4c6df60c92edab3574ff735a054c9a029286647f19c72d237652d3150ad4abd3
/* PoL - The polyhedral card game simulator Copyright (C) 2011 Andrea Biagini 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 ver...
C#
RibbonStyle/Form1.cs
calvinkwong/pol-the-game
gpl-2.0
9,837
320
codeparrot/github-code
50d8cbb24e6781b9dfb07f2486062b7f2fc4d35e56a60465e6c13dc6fdf37163
// WinDjView // Copyright (C) 2004-2009 Andrew Zhezherun // // 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
MyEdit.h
kysko/windjview-subpix
gpl-2.0
1,991
74
codeparrot/github-code
c83209cec135a8db91fc8da3abdd2db6ef4f30b717b00b34c44c45e0b6f4a8eb
<?php /** * Project: * Contenido Content Management System * * Description: * Edit form for layout * * @package Contenido Backend includes * @version $Rev$ * @author Olaf Niemann * @author Ortwin Pinke * @copyright four for business AG <www.4fb.de> * @license http://www.contenido.org/li...
PHP
drugcms/includes/include.lay_edit_form.php
Spider-IT-Deutschland/drugCMS
gpl-2.0
7,467
260
codeparrot/github-code
268d0219dbfc574379143b762e85ae3ec9ac51c9275160da7a57d2b56804fdc4
// vim:set noet cinoptions= sw=4 ts=4: // This file is part of the eix project and distributed under the // terms of the GNU General Public License v2. // // Copyright (c) // Wolfgang Frisch <xororand@users.sourceforge.net> // Emil Beinroth <emilbeinroth@gmx.net> // Martin Väth <martin@mvath.de> #include <config...
C++
src/eix-diff.cc
BackupTheBerlios/eix
gpl-2.0
13,983
424
codeparrot/github-code
4f032718b943675cfb14d11198d2a8caef8eebfa960536fffe9ffbad114b01b5
<?php /** * Plugin Helper File * * @package NoNumber Framework * @version 15.9.13613 * * @author Peter van Westen <peter@nonumber.nl> * @link http://www.nonumber.nl * @copyright Copyright © 2015 NoNumber All Rights Reserved * @license http://www.gnu.org/license...
PHP
plugins/system/nnframework/helper.php
knigherrant/decopatio
gpl-2.0
4,972
180
codeparrot/github-code
59a27977f3551a444b10d7aea0f33e9997ed3dac8854312a7f8c5c110d2b053d
<div id="<?php echo esc_attr($fancybox_id); ?>" class="cshero-fancybox-wrap clearfix <?php echo esc_attr($fancy_wrap.' '.$custom_class.' '.$animate_class); ?>" <?php echo $box_style;?>> <style type="text/css" scoped> #<?php echo esc_attr($fancybox_id); ?>.<?php echo esc_attr($fancy_wrap);?>:hover .fancy-ic...
PHP
wp-content/plugins/cmssuperheroes/framework/shortcodes/fancybox/layouts/fancybox.layout3.php
lieison/Dalponte
gpl-2.0
4,898
98
codeparrot/github-code
de88a6d6ff3aaba28e97a9e3590ca47f03c2fdc4f440f0464917cfa2bd9bc6a5
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Style-Type" ...
HTML
wiki-oar/index.php?title=File:Note.png&limit=250&printable=yes.html
oar-team/website-archive
gpl-2.0
15,407
216
codeparrot/github-code
d90c99f3af272c51d05d897f1bd4ce4759bd05671f9307507f8450ba14ed66a3
{- This module was generated from data in the Kate syntax highlighting file vhdl.xml, version 1.12, by Rocky Scaletta (rocky@purdue.edu), Stefan Endrullis (stefan@endrullis.de), Florent Ouchet (outchy@users.sourceforge.net), Chris Higgs (chiggs.99@gmail.com), Jan Michel (jan@mueschelsoft.de) -} module Text.Highligh...
Haskell
Text/Highlighting/Kate/Syntax/Vhdl.hs
ambiata/highlighting-kate
gpl-2.0
32,109
609
codeparrot/github-code
dd11af133750b6c3064643ad57016c8b1414afb9b63c78e2648ee2a9c98e9ac6
<?php /** * 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 WIT...
PHP
test/integration/QtiPackageParsingTest.php
oat-sa/extension-tao-itemqti
gpl-2.0
3,756
115
codeparrot/github-code
a096a4c197ec2463e1a5a31660c9dd8e42baf84669c5b661db10a54604dd4bb7
require 'tins/xt' require 'term/ansicolor' class String include Term::ANSIColor end module Utils class ProbeServer class Job def initialize(probe_server, args) @id = probe_server.next_job_id @args = Array(args) end attr_reader :id attr_reader :args ...
Ruby
lib/utils/probe_server.rb
flori/utils
gpl-2.0
5,547
235
codeparrot/github-code
0e84fe05e7d122c5763cc2d8fd2acd51a79d157e4b84721f0570ac863ec7442d
#region License /* * Copyright (C) 1999-2017 John Källén. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) * any later version. * * This program ...
C#
src/Environments/SysV/GccMangledNameParser.cs
Lukas-Dresel/reko
gpl-2.0
18,648
627
codeparrot/github-code
5dc21c7d359b548d9abd9e7ee5c024005e2c1e2d650cdbfd9bbe01829f69b3f3
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="robots" content="index, follow, all" /> <title>Illuminate\Session\Middleware | </title> <link rel="stylesheet" type="text/css" href="../../stylesheet.css"> </head> ...
HTML
public/laravel.com/api/4.1/Illuminate/Session/Middleware.html
xwiz/laravel-docs
gpl-2.0
8,864
260
codeparrot/github-code
bfbdee4b4aae78148bdbb690ba65be141b092e6f2421383db8dbc390bfe4c17c
/* Eegl.cpp - C++ random number generator Version 1.0.0 */ /* Copyright (C) 2016 aquila62 at github.com */ /* This program is free software; you can redistribute it and/or */ /* modify it under the terms of the GNU General Public License as */ /* published by the Free Softwa...
C++
cplusplus/Eegl.cpp
aquila62/eegl
gpl-2.0
3,637
119
codeparrot/github-code
c15576ec16f3009a2763e0005ef1910e665257cadc76da77d81ba971139cb69d
<?php /** * Functions of Tinection WordPress Theme * * @package Tinection * @version 1.1.2 * @date 2015.1.1 * @author Zhiyan <chinash2010@gmail.com> * @site Zhiyanblog <www.zhiyanblog.com> * @copyright Copyright (c) 2014, Zhiyan * @license http://opensource.org/licenses/gpl-2.0.php GPL v2 or...
PHP
wp-content/themes/tinection1.2/functions/no_category_base.php
Osub/lpy
gpl-2.0
3,901
100
codeparrot/github-code
176f6fbb539f23c8e5ebf7b45ceefd15964592084ef32ab924db870636db6361
# vim: expandtab sw=4 ts=4 sts=4: # # Copyright © 2003 - 2018 Michal Čihař <michal@cihar.com> # # This file is part of python-gammu <https://wammu.eu/python-gammu/> # # 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 ...
Python
gammu/worker.py
gammu/python-gammu
gpl-2.0
10,341
359
codeparrot/github-code
e707794e83a95ecc996ed8799879a56fa0b208307e664c2e33978ab84acd83d5
/** * Copyright (C) 2002-2022 The FreeCol Team * * This file is part of FreeCol. * * FreeCol 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 optio...
Java
src/net/sf/freecol/common/networking/ScoutIndianSettlementMessage.java
FreeCol/freecol
gpl-2.0
4,316
132
codeparrot/github-code
3e2b964a85610d8c130b78ec5d8181488ceb156c8528fe336fe581c6aa63c12c
<?php // $Id: rate.php,v 1.16 2009/05/06 10:22:17 stronk7 Exp $ require_once('../../config.php'); require_once('lib.php'); $dataid = required_param('dataid', PARAM_INT); // The forum the rated posts are from if (!$data = $DB->get_record('data', array('id'=>$dataid))) { print_error('invalidid'...
PHP
mod/data/rate.php
nicolasconnault/moodle2.0
gpl-2.0
3,506
109
codeparrot/github-code
245b1a8c899174f755c096d6e28fb87cc959e434f9d4318f971fe1597261146d
/* ** Copyright 2003-2010, VisualOn, Inc. ** ** 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...
C
projects/stagefright/jni/src/codec/decoder/video/sw_opencore/OEM/jni/media/frameworks/base/media/libstagefright/codecs/aacenc/src/pre_echo_control.c
luquanhong/MyCodec
gpl-2.0
3,510
114
codeparrot/github-code
afff99ba0a409da0a75a7b9283a72d64b7e5cdc1f1ada3d97567f05f0d915b0d
package com.harry9137.api.scenes.Objects.logic; import org.newdawn.slick.TrueTypeFont; import org.newdawn.slick.UnicodeFont; public class TextObject extends GenericObject { private UnicodeFont font; String string; String objName; int x; int y; public TextObject(String string){ this.s...
Java
src/com/harry9137/api/scenes/Objects/logic/TextObject.java
SomeRandomPerson9/3DT
gpl-2.0
1,929
99
codeparrot/github-code
f0b221024b162467aced37f3d8e2ccf068b252ea10b7d259d903d524e36b74db
/***************************************************************************** * virtual_segment.cpp : virtual segment implementation in the MKV demuxer ***************************************************************************** * Copyright © 2003-2011 VideoLAN and VLC authors * $Id$ * * Authors: Laurent Aimar ...
C++
modules/demux/mkv/virtual_segment.cpp
mati865/vlc
gpl-2.0
27,329
748
codeparrot/github-code
e3a98a4aa2027fc17762529819faf2af89145cb08ba796667242c1268745f33e
/* * Copyright (c) 2002 Patrick Julien <freak@codepimps.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...
C++
krita/image/kis_transaction.cc
JeremiasE/KFormula
gpl-2.0
3,869
134
codeparrot/github-code
aba7fa036899ec5fd871152460a68da70b7dd5fee45f3c7844c7b00241c54424
/*************************************************************************** dpti.c - description ------------------- begin : Thu Sep 7 2000 copyright : (C) 2000 by Adaptec July 30, 2001 First version being submitted ...
C
drivers/scsi/dpt_i2o.c
xiandaicxsj/copyKvm
gpl-2.0
88,184
3,368
codeparrot/github-code
148403f72c6d02c229d5232d7ca36773c530b4a19c0a64ceb41203c064430838
#!/usr/bin/python3 import os import sys from merge_utils import * xml_out = etree.Element("packages") funtoo_staging_w = GitTree("funtoo-staging", "master", "repos@localhost:ports/funtoo-staging.git", root="/var/git/dest-trees/funtoo-staging", pull=False, xml_out=xml_out) #funtoo_staging_w = GitTree("funtoo-staging-u...
Python
funtoo/scripts/merge-funtoo-staging.py
apinsard/funtoo-overlay
gpl-2.0
14,296
250
codeparrot/github-code
2fbf0efffa95b80c78a78eba71e0bb63b86ebae1d540ade442d3952a8c9e28e8
<?php namespace Tabulate\Commands; use \Tabulate\Config; use \Tabulate\DB\Tables\Groups; use \Tabulate\DB\Tables\Users; use \Tabulate\DB\Reports; class UpgradeCommand extends \Tabulate\Commands\CommandBase { public function run() { $db = new \Tabulate\DB\Database(); $this->installStructure($...
PHP
src/Commands/UpgradeCommand.php
tabulate/tabulate3
gpl-2.0
10,139
199
codeparrot/github-code
a8782907c033de9ecfd03168c081665571590fc7f26935faacca36addb0d6177
#include "ns3/core-module.h" #include "ns3/network-module.h" #include "ns3/ndnSIM-module.h" #define Strategy "MBP-FR-CH" #define CS_Capacity "40" #define Capacity "50000" #define Alpha "1.0" #define Rate "200" #define suffix Strategy"-"Capacity"-"CS_Capacity"-"Rate"-"Alpha".txt" #define aggregate_trace "result/...
C++
scenario/Cache Policy Extended/tree/ndn-cache-MBP-FR-CH.cc
moonbeamxp/ns-3
gpl-2.0
6,611
147
codeparrot/github-code
bf62b022c0a51a89d69a86068fa37178e457a6a1bae4759892e587fd1dd12d45
var mdf_range_update = false; jQuery(function() { if (!jQuery('#pn_html_buffer').length) { jQuery('body').append('<div id="pn_html_buffer" class="mdf_info_popup" style="display: none;"></div>'); jQuery('body').append('<div id="pn_html_buffer2" style="display: none;"></div>'); } //+++ md...
JavaScript
wp-content/plugins/wp-meta-data-filter-and-taxonomy-filter/js/front.js
NeverWithout/Fragrance-Bar
gpl-2.0
21,044
570
codeparrot/github-code
bb3667ffcabcc430b8510b27f1f564ea950e866324316d57a1e2b2658f1c0520
<div id="page"> <div class="header-wrapper"> <header class="header grid-container" id="header" role="banner"> <div class="branding-wrapper"> <div class="region region-branding"> <?php if ($logo): ?> <a href="<?php print $front_page; ?>" title="<?php print t('Home'); ?>" rel="home" c...
PHP
sites/all/themes/atlas/templates/page.tpl.php
friendlymachine/prometheus
gpl-2.0
2,606
75
codeparrot/github-code
baa739335310a30f73b0d38b2a54c1a949870ecfa695e28e1b56693543e94c5e
<?php //add NID attribute to button $nid = $form['nid']['#value']; $node = $form['#entity']; $form['actions']['custom-submit-'.$nid]['#attributes']['data-nid'] = $nid; $form['actions']['custom-submit-'.$nid]['#attributes']['class'][] = 'save-form-btn'; //add CHOSEN placeholder to lesson plan field $form['fie...
PHP
sites/all/themes/uportal_backend_theme/templates/edit-forms/content-node-form.tpl.php
unicef/uPortal
gpl-2.0
6,946
159
codeparrot/github-code
53226f7f46aed488d11873939f81e291bad63d6ca2e3286dc17827e7e74e84fc
<?php /** * @package JMAP::SITEMAP::components::com_jmap * @subpackage views * @subpackage sitemap * @subpackage tmpl * @author Joomla! Extensions Store * @copyright (C) 2014 - Joomla! Extensions Store * @license GNU/GPLv2 http://www.gnu.org/licenses/gpl-2.0.html */ defined ( '_JEXEC' ) or die ( 'Restricted ac...
PHP
components/com_jmap/views/sitemap/tmpl/default_html_user.php
neoandrew1000/crao_journal
gpl-2.0
6,817
169
codeparrot/github-code
26e914d0534ddc479ed4b9a95c89b2cf84fc0393c19f9c428edf8c56bf36385c
from abc import ABCMeta,abstractmethod from my_hue import * # Would dynamically choose a trigger based on trigger type def trigger_factory(trigger_type): return None class Trigger(object): __metaclass__ = ABCMeta def __init__(self): self.action() @abstractmethod def action(self): ...
Python
trigger.py
Caveat4U/home_automation
gpl-2.0
793
30
codeparrot/github-code
84cee9b7d1d041ec4ecbf7db7b8e565a81dc7b0653828b759b0dc9482cb99b3b
/* Copyright Statement: * * This software/firmware and related documentation ("MediaTek Software") are * protected under relevant copyright laws. The information contained herein is * confidential and proprietary to MediaTek Inc. and/or its licensors. Without * the prior written permission of MediaTek inc. and/or ...
Java
mediatek/frameworks/opt/ngin3d/java/com/mediatek/ngin3d/animation/PropertyAnimation.java
rex-xxx/mt6572_x201
gpl-2.0
14,888
360
codeparrot/github-code
235ee81eba05d231001502d4b9fed36f1f0590f61d723bfcf7f04dcba81d9d25
/* * linux/fs/ext2/file.c * * Copyright (C) 1992, 1993, 1994, 1995 * Remy Card (card@masi.ibp.fr) * Laboratoire MASI - Institut Blaise Pascal * Universite Pierre et Marie Curie (Paris VI) * * from * * linux/fs/minix/file.c * * Copyright (C) 1991, 1992 Linus Torvalds * * ext2 fs regular file handling...
C
fs/ext2/file.c
necsst-nms/PMAL_NOTRACE
gpl-2.0
2,924
115
codeparrot/github-code
3d1d1eb84c0d29fba9841253e2d3d3e72bd5d925d57dada0eb33cfdea2e8add5
/* * Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
Java
graal/com.oracle.graal.word/src/com/oracle/graal/word/phases/WordTypeRewriterPhase.java
smarr/graal
gpl-2.0
20,461
448
codeparrot/github-code
ec23fc6036c86d14da6080824bd961e913358f0ea594473cfa0289c81df3c46d
/* Copyright Statement: * * (C) 2005-2016 MediaTek Inc. All rights reserved. * * This software/firmware and related documentation ("MediaTek Software") are * protected under relevant copyright laws. The information contained herein * is confidential and proprietary to MediaTek Inc. ("MediaTek") and/or its licens...
C
bsp/mtk_iot/Libraries/driver/chip/mt2523/src/hal_trng_internal.c
flyingcys/rtthread-mtk_iot
gpl-2.0
4,335
149
codeparrot/github-code
e5a822cdf36d572a9d1263a8fa4e6c7a6c37e4a5f2cdae650a2f6fcf6b92caac
<?php /** * @package NoNumber Framework * @version 16.3.12531 * * @author Peter van Westen <peter@nonumber.nl> * @link http://www.nonumber.nl * @copyright Copyright © 2016 NoNumber All Rights Reserved * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL ...
PHP
plugins/system/nnframework/helpers/assignments/urls.php
nicolas67/joomla_pih
gpl-2.0
1,606
83
codeparrot/github-code
1ab8cd02da1d337a8df32fd00df4c30cd0c9a29fa0d2bd4cf35a33598c833d15
/*! * CC Slider by Chop-chop * http://shop.chop-chop.org */ (function($){ 'use strict'; var defaults = { // basic mode: 'fade', autoPlay: 3000, pauseOnHover: true, animationSpeed: 1000, pagination: true, arrows: true, loop: false, keyboard: true, mousewheel: true, touch: true, lockDuringA...
JavaScript
wp-content/plugins/slider-cc/public/templates/js/slidercc.core.js
mayomm/YKB
gpl-2.0
11,980
417
codeparrot/github-code
6903eaa6664a33f7ca686f0eae09d88c264af4e458547117bddf194d032be5d4
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <title>REA...
HTML
README.html
mrwastl/VSSDCP
gpl-2.0
5,982
167
codeparrot/github-code
cb03193ff9823232807c08e07dec7ed61a147ff60071999db2e6a83b343fc8ff
#include <iostream> #include <cmath> #ifndef GSL_INTERP_H #include <gsl/gsl_interp.h> #endif #include "nuFlux.h" #ifndef DETECTORSTRUCT_H #include "detectorStruct.h" #endif #ifndef PARAMETERSTRUCT_H #include "parameterStruct.h" #endif const double GFERMI = 1.1664e-5; //GeV^-2 const double HBAR = 6.5821e-25; //GeV*...
C++
source/nuRate.cpp
jaydenn/Conudl
gpl-2.0
3,515
94
codeparrot/github-code
8e830745ca2d87f4b879b2919a4fcb5b3c954cc605a6c554b087ba735f971225
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_IMPORTER_EXTERNAL_PROCESS_IMPORTER_CLIENT_H_ #define CHROME_BROWSER_IMPORTER_EXTERNAL_PROCESS_IMPORTER_CLIENT_H_ #include <str...
C
external/chromium_org/chrome/browser/importer/external_process_importer_client.h
qtekfun/htcDesire820Kernel
gpl-2.0
3,900
150
codeparrot/github-code
a85b55b0cf5d2f84af4f724e96a96cae16ea6ef7ed4b77ed6489581753671a17
#ifndef _LINUX_BLKDEV_H #define _LINUX_BLKDEV_H #ifdef CONFIG_BLOCK #include <linux/sched.h> #include <linux/major.h> #include <linux/genhd.h> #include <linux/list.h> #include <linux/timer.h> #include <linux/workqueue.h> #include <linux/pagemap.h> #include <linux/backing-dev.h> #include <linux/wait.h> #include <linux...
C
include/linux/blkdev.h
kofemann/linux-redpatch
gpl-2.0
42,505
1,420
codeparrot/github-code
3ed95f293d164934472eb47b3a953d8e08fb5c1e93dfab67ca826c22ca2cd1e6
#include <QPainter> #include "icon.h" #include "config.h" FloatingIcon::FloatingIcon( const QString &icon, QMenu *popup, QWidget *parent, const char *name) : QDialog( parent ), icon(icon) { this->setObjectName(name); setAttribute(Qt::WA_QuitOnClose); setAttribute(Qt::WA_TranslucentBackground); ...
C++
src/icon.cpp
panzi/qjoypad
gpl-2.0
964
35
codeparrot/github-code
9f183bba2035d73b845e762c27dff24dbdac6272040f55ccbed68561cdc68946
import sqlite3 import os.path import sys import random def makeDatabase(databaseName): if databaseName[-3:] != ".db": databaseName = databaseName + ".db" conn = sqlite3.connect(databaseName) conn.commit() conn.close() def listToString(list): string = "" for i in list: string += str(i)+"\t" return string[:-...
Python
sqlite1.py
scott-s-douglas/SWAPR
gpl-2.0
12,933
323
codeparrot/github-code
ac498e3a812a461d717f55bd419174d68a7c260b5df65bc08b56d1fc319a465b
<?php /** * @package Ultimate TinyMCE * @version 4.0.7 */ /* Plugin Name: Ultimate TinyMCE Plugin URI: http://www.plugins.joshlobe.com/ Description: Beef up your visual tinymce editor with a plethora of advanced options. Author: Josh Lobe Version: 4.0.7 Author URI: http://joshlobe.com */ /* Copyright 2011 Josh L...
PHP
wp-content/plugins/ultimate-tinymce/main.php
bfay/peanut
gpl-2.0
63,343
1,000
codeparrot/github-code
662237da6828807e18c5bec40fecea84f2f0d91eca1d804354c35460b66ed56e
#region using System.Windows; using System.Windows.Controls; using System.Windows.Input; #endregion namespace Hearthstone_Deck_Tracker.Controls.Stats.Arena { /// <summary> /// Interaction logic for ArenaStatsSummary.xaml /// </summary> public partial class ArenaStatsSummary { public ArenaStatsSummary() { ...
C#
Hearthstone Deck Tracker/Controls/Stats/Arena/ArenaStatsSummary.xaml.cs
Epix37/Hearthstone-Deck-Tracker
gpl-2.0
787
33
codeparrot/github-code
9747bf103a7d6b82b21f2cba13a7eb108020c040e81ca454754c22f32d91849b
<?php /** * @package FOF * @copyright 2010-2015 Nicholas K. Dionysopoulos / Akeeba Ltd * @license GNU GPL version 2 or later */ namespace FOF30\Form\Header; defined('_JEXEC') or die; /** * Language field header */ class Language extends Selectable { /** * Method to get the filter options. * * ...
PHP
libraries/fof30/Form/Header/Language.php
zanderkyle/zandergraphics
gpl-2.0
840
42
codeparrot/github-code
248375fd48d32cf9fbae17c1bf61bf3e3161be43462eaaa3db9c29f73bb6b13a
package com.zdc.action; import java.text.SimpleDateFormat; import java.util.Date; import javax.annotation.Resource; import org.springframework.context.annotation.Scope; import org.springframework.stereotype.Component; import com.opensymphony.xwork2.ActionSupport; import com.opensymphony.xwork2.ModelDrive...
Java
src/com/zdc/action/NewsAction.java
ZDChuang/Info_Release_System
gpl-2.0
1,726
73
codeparrot/github-code
145295dcbe30617fda48e12191911ecf23cf2c4d774a5be88d4bc8b19b7b7339
/*************************************************************************** ---------------------------------------------------- date : 27.12.2014 copyright : (C) 2014 by Matthias Kuhn email : matthias (at) opengis.ch ...
C++
src/featurelistextentcontroller.cpp
ryfx/QField
gpl-2.0
2,199
63
codeparrot/github-code
ccb4a357e19eb8f6f950640d80fe274036d1e778032caec2484e3cd018e36483
<?php /** * phpTreeGraph * * * PHP version 5 * @copyright Mathias Herrmann 2007 * @author Mathias Herrmann <mathias_herrmann@arcor.de> * @author Alex Fomenko <alex.fomenko@gmail.com> * @license LGPL * * ...
PHP
lib/php/core/contrib/Node.php
feliipebarbosa/sgalivre
gpl-2.0
3,519
137
codeparrot/github-code
3cf8cb4c74ac38731bfd18753ddbaaa6f5c2d3bbc4676012ac523e2675f4f7d7
<!DOCTYPE html> <html> <head> <title>Asterisk Project : Asterisk 12 Application_BridgeWait</title> <link rel="stylesheet" href="styles/site.css" type="text/css" /> <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> </head> <body class="theme-default aui-theme-defaul...
HTML
doc/Asterisk-Admin-Guide/Asterisk-12-Application_BridgeWait_26476803.html
truongduy134/asterisk
gpl-2.0
5,444
123
codeparrot/github-code
e52753b3b626a4fea95e329dc39de3de3de5effad6de79806b6d334b67da9f61
/* * Copyright (c) 1998-2010 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/resin/src/com/caucho/jsf/taglib/HtmlCommandButtonTag.java
christianchristensen/resin
gpl-2.0
3,268
144
codeparrot/github-code
aa3814a18572ad8500344f043fc2d43a47ea53214fc8cbbd055958d9e4eeea44
from Tools.Profile import profile profile("LOAD:ElementTree") import xml.etree.cElementTree import os profile("LOAD:enigma_skin") from enigma import eSize, ePoint, eRect, gFont, eWindow, eLabel, ePixmap, eWindowStyleManager, addFont, gRGB, eWindowStyleSkinned, getDesktop from Components.config import ConfigSubsection,...
Python
skin.py
isslayne/enigma2
gpl-2.0
35,736
1,033
codeparrot/github-code
9ad76d8f2a863322870a7a4aa0531f78e8a1351acdf6fd4d350aae94c38c59e0
/* * Copyright (C) 2008-2010 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 Public License as published by the * Free Software Foundation; either ver...
C
src/server/game/World/World.h
sanysan/ChaosCore-1
gpl-2.0
34,161
843
codeparrot/github-code
0fda719804b97d5e0da8eed01a229c68551267250c305597f93bf72837ab8c58
<?php /** * This file includes the initialization data for: * - Theme options * - Custom pages (mosly used for sliders) * - Menus * - Post Data * - Locales and translation * - Update notifier */ global $pexeto; require_once 'options/theme-customizer-options.php'; /*****************************...
PHP
wp-content/themes/thestory/functions/init-data.php
baxterross/one400
gpl-2.0
21,632
522
codeparrot/github-code
0ebac96aed1e86b8a08fe15552180aa62a793a8545418695f18fcf2439f49a0e
package com.artech.base.metadata.expressions; import java.math.BigDecimal; import java.util.Date; import java.util.UUID; import com.artech.base.metadata.DataItem; import com.artech.base.metadata.theme.ThemeClassDefinition; import com.artech.base.model.Entity; import com.artech.base.model.EntityList; import ...
Java
Android/FlexibleClient/src/com/artech/base/metadata/expressions/Expression.java
pablanco/taskManager
gpl-2.0
4,540
214
codeparrot/github-code
88f6982c4b9cc0850513c88264636c01075d2598650254a85ef3abf116bfb185
package ru.alastar.game.systems.gui; import com.badlogic.gdx.math.Vector2; import com.esotericsoftware.kryonet.Connection; import ru.alastar.game.Entity; import ru.alastar.game.systems.gui.hadlers.TileButtonGUIHandler; import ru.alastar.main.Main; import ru.alastar.main.net.ConnectedClient; import ru.alastar.main.net...
Java
The_Erder_Dedicated_New/src/ru/alastar/game/systems/gui/NetGUISystem.java
MosaicOwl/the-erder
gpl-2.0
3,579
110
codeparrot/github-code
20b1b0a9b9f84b31706bcfb5a712f23fe3fee6a9afad733847c18c972742d80f
/*************************************************************************** plugin.cpp Import tool for various worldmap analysis output files Functions: ------------------- begin : Jan 21, 2004 copyright : (C) 2004 by Tim Sutton email : tim@linfiniti.com ****************...
C++
src/app/qgsdecorationnortharrow.cpp
GeoCat/QGIS
gpl-2.0
8,356
215
codeparrot/github-code
dc3e56db229fbf943308ca705fb10c9563c5c1c7b78abab9b9f52c7b84b45bd3
#include <unistd.h> #include <stdio.h> #include <stdlib.h> #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <string.h> #include <sys/epoll.h> #include <sys/fcntl.h> int createSocketAndListen(bool nonBlocking) { struct sockaddr_in srvaddr; int listenfd; socklen_t len = sizeof(srvaddr);...
C++
C/CPlusPlus/base/v0.02/main.cc
zhangzewen/Network_Lib
gpl-2.0
2,307
97
codeparrot/github-code
8c3bf028581bd14e3463de1155d11b2c2aaabda06062d02753a182115a3137bf
<?php class request{ static function get($arr=array()){ $arr2=array(); foreach($arr as $k => $v){ /* * gestisce le variabili in ordine di importanza (POST, GET, REQUEST, default) * */ if(array_key_exists($k, $_POST)){ $_REQUEST[$k] = $_POST[$k]; } elseif(array_key_exists($k, $_GET)){ $_REQUEST[$k] ...
PHP
library/classes/request.php
alandomio/sole
gpl-2.0
3,791
115
codeparrot/github-code
20fb372889e7566e25bd29ce1aae6609167ab0b7ccbe09c00984f88de553b4c5
/** @file Quhwa HS1527. Copyright (C) 2016 Ask Jakobsen 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/devices/quhwa.c
merbanan/rtl_433
gpl-2.0
1,990
76
codeparrot/github-code
41c08f3397e01a06e0fb7e04eb7b6f2f198d199c138e2fc106de4ac837012306
/* copied from linux wireless-2.6/net/mac80211/util.c */ /* * Copyright 2002-2005, Instant802 Networks, Inc. * Copyright 2005-2006, Devicescape Software, Inc. * Copyright 2006-2007 Jiri Benc <jbenc@suse.cz> * Copyright 2007 Johannes Berg <johannes@sipsolutions.net> * Copyright 2014-2015 Bruno Randolf (br1@einfac...
C
ieee80211_util.c
wi-fi-analyzer/horst
gpl-2.0
4,898
170
codeparrot/github-code
2648adc56b9d28f50d24d793747514a9d395c58867f69fcb524717643c06ec61
#!/bin/bash # This is for the Original (Marvell based) NOT the Cubox-i (Freescale based) if [[ $# -eq 0 ]] ; then echo "Please pass version number, e.g. $0 2.0" exit 0 fi basedir=`pwd`/cubox-$1 # Make sure that the cross compiler can be found in the path before we do # anything else, that way the builds don...
Shell
cubox.sh
HugoDL/kali-arm-build-scripts
gpl-2.0
9,978
277
codeparrot/github-code
dca07e3b98f088d6893616656cebddc6bcf37fd451eea6c1542b1f8f7f92b600
// // CannotProceed.java (exception) // // File generated: Wed Jun 23 11:46:46 CEST 2010 // by TIDorb idl2java 1.3.11 // package es.tid.corba.TIDNamingAdmin.AgentPackage; final public class CannotProceed extends org.omg.CORBA.UserException { public java.lang.String why; public CannotProceed() { super(C...
Java
idl/.java/es/tid/corba/TIDNamingAdmin/AgentPackage/CannotProceed.java
AlvaroVega/TIDNamingJ
gpl-2.0
603
32
codeparrot/github-code
476cb70e2756c17b30c7c27cff4d2b2f1c2c0a9c2c0906a44347dd3525692900
#include "IntakeWheel.h" IntakeWheel::IntakeWheel(GamePad* joystick) { //Requires(elevator); //Requires(drivetrain); joyObj = joystick; rightFeedWheel = new CANTalon(RIGHT_FEED_MOTOR); leftFeedWheel = new CANTalon(LEFT_FEED_MOTOR); } // Called just before this Command runs the first time void IntakeWheel::Initia...
C++
src/Commands/IntakeWheel.cpp
Chantilly612Code/612-2015
gpl-2.0
1,631
90
codeparrot/github-code
a0fda4d97e18c98d682d54d64c2ff7e9a6887ba4f11b4d1d39cfcea9dc5b8c12
<?php /** * Types-field: Checkboxes * * Description: Displays a checkbox to the user. Checkboxes can be * used to get binary, yes/no responses from a user. * * Rendering: The "Value to stored" for the checkbox the front end * if the checkbox is checked or 'Selected'|'Not selected' HTML * will be rendered. If 'S...
PHP
wp-content/plugins/types/includes/fields/checkboxes.php
zoran180/wp_szf
gpl-2.0
11,835
266
codeparrot/github-code
4aebc5203831be7aaa4dcacb1d2adc0a8a8b3371a01510c0fb5f64a99d859d1e
/* * * centerim yahoo! protocol handling class * $Id: yahoohook.cc,v 1.112 2004/12/20 00:54:02 konst Exp $ * * Copyright (C) 2003-2004 by Konstantin Klyagin <k@thekonst.net> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * ...
C++
src/hooks/yahoohook.cc
transacid/CenterIM
gpl-2.0
37,092
1,397
codeparrot/github-code
04d88cfa619173895f91bb065db72881c60c1696c395767221df31d8f98d4915
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title>FreeGuide : Roles </title> <meta http-equiv='Content-Style-Type' content='text/css' /> <link rel='stylesheet' href='../pub/skins/plain-freeguide/plain1.css' type='text/...
HTML
doc-bin/Developers/Roles.html
andybalaam/freeguide
gpl-2.0
10,245
135
codeparrot/github-code
c9e2721a3a583ee2eb6cd451f854985c90358ee837a90602cd2c074335ba5193
/* * Bluetooth Broadcom GPIO and Low Power Mode control * * Copyright (C) 2011 Samsung Electronics Co., Ltd. * Copyright (C) 2011 Google, 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 ...
C
arch/arm/mach-exynos/board-bluetooth-bcm4334w.c
Biktorgj/Android_b2_Kernel
gpl-2.0
13,456
525
codeparrot/github-code
a038c6ce490ab626c80280ddeb895669b80d646378ba1acf8a4fa978bcd881ca
#!/usr/bin/env python # -*- coding: utf-8 -*- # # PROJETO LAVAGEM A SECO # # MAIN # # Felipe Bandeira da Silva # 26 jul 15 # import logging import tornado.escape import tornado.ioloop import tornado.web import tornado.options import tornado.websocket import tornado.httpserver import os.path from tornado.concurrent im...
Python
src/main.py
lamotriz/lavagem-a-seco
gpl-2.0
8,856
284
codeparrot/github-code