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 |
|---|---|---|---|---|---|---|---|---|
84167e4560c98aa72439c050ffa9dadd218965e5575fecca3b8f606fdd8b2980 | /*******************************************************************************
* This file contains iSCSI extentions for RDMA (iSER) Verbs
*
* (c) Copyright 2013 RisingTide Systems LLC.
*
* Nicholas A. Bellinger <nab@linux-iscsi.org>
*
* This program is free software; you can redistribute it and/or modify
* i... | C | drivers/infiniband/ulp/isert/ib_isert.c | crimsonthunder/kernel_samsung_trlte_5.1.1 | gpl-2.0 | 67,213 | 2,411 | codeparrot/github-code |
4d56c9637e0f4e6695fa04b15349f5efb8267ce50325ff466b878850bbf4bba3 | //
// Microsoft.VisualBasic.* Test Cases
//
// Authors:
// Gert Driesen (drieseng@users.sourceforge.net)
//
// (c) 2006 Novell
//
using System;
using System.CodeDom;
using System.CodeDom.Compiler;
using System.Globalization;
using System.IO;
using System.Text;
using NUnit.Framework;
namespace MonoTests.Microsoft.Visu... | C# | class/System/Test/Microsoft.VisualBasic/CodeGeneratorFromNamespaceTest.cs | hardvain/mono-compiler | gpl-2.0 | 14,626 | 482 | codeparrot/github-code |
2210bcbcfa85ef62ef455b1fcb5678300f946ebcfb20aae452801019ca4ff597 | /* $Id: tstCAPIGlue.c 109358 2016-07-31 17:11:31Z bird $ */
/** @file tstCAPIGlue.c
* Demonstrator program to illustrate use of C bindings of Main API.
*
* It has sample code showing how to retrieve all available error information,
* and how to handle active (event delivery through callbacks) or passive
* (event d... | C | workshop-manager/bin/VirtualBoxSDK-5.1.20-114628/sdk/bindings/c/samples/tstCAPIGlue.c | ARL-UTEP-OC/emubox | gpl-2.0 | 39,034 | 1,127 | codeparrot/github-code |
5e7ad200a879fe69e34264343fcbb98bccf5aad7d3a04b5b7dad4f3bed2351f1 | <?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>schrodinger.graphics3d.polyhedron.MaestroIcosahedron</title>
<link rel="stylesheet" href="e... | HTML | Schrodinger/Schrodinger_2015-2_docs/python_api/api/schrodinger.graphics3d.polyhedron.MaestroIcosahedron-class.html | platinhom/ManualHom | gpl-2.0 | 25,072 | 510 | codeparrot/github-code |
4abd3490beb985993b63bc681333b4b81fa5a90d69270564861340f96b8e07a5 | #!/usr/bin/env python
"""
Grid time
=============
"""
from datetime import timedelta
import numpy as np
from opendrift.readers import reader_global_landmask
from opendrift.readers import reader_netCDF_CF_generic
from opendrift.models.oceandrift import OceanDrift
# Seeding at a grid at regular interval
o = OceanDrift(... | Python | examples/example_grid_time.py | OpenDrift/opendrift | gpl-2.0 | 1,348 | 54 | codeparrot/github-code |
a894076eef0b3f22020b73e164870673b9b0bb4509c1138e1647b29838a57b87 | #
######
# CONFIG
ROOTPWD="1234"
USERNAME="cubie"
USERPASS="1234"
###########################
#Main Section
###########################
if [[ $EUID -ne 0 ]]; then
echo "You must be a root user" 2>&1
exit 1
fi
useradd -m -U -d /home/$USERNAME -s /bin/bash $USERNAME
# set User password to 1234
(echo $USERPASS;ec... | Shell | jessieCarousel.sh | gargamel007/SimpleCarousel | gpl-2.0 | 6,004 | 174 | codeparrot/github-code |
07e101a291ee44461016183d411db4095cee53fe1e333b587f230a7e3c5cc2d1 | //
// C++ Implementation: Audio::OggStream
//
#include "config.h"
#ifdef HAVE_OGG
#include "OggStream.h"
#include "OggData.h"
#include "config.h"
#include <utility>
#include <limits>
#include <stdlib.h>
#include <vorbis/vorbisfile.h>
#include "vsfilesystem.h"
#ifndef OGG_BUFFER_SIZE
#define OGG_BUFFER_SIZE 4096*2... | C++ | vegastrike/src/audio/codecs/OggStream.cpp | vinni-au/vega-strike | gpl-2.0 | 2,896 | 106 | codeparrot/github-code |
025f90c3088d349e426cd4375e2de11d0a69bb17340bf72cabbdf2b6a62ba492 | /* SPDX-License-Identifier: GPL-2.0-or-later */
/*
* Universal Flash Storage Host controller driver
* Copyright (C) 2011-2013 Samsung India Software Operations
* Copyright (c) 2013-2016, The Linux Foundation. All rights reserved.
*
* Authors:
* Santosh Yaraganavi <santosh.sy@samsung.com>
* Vinayak Holikatti <h.v... | C | drivers/scsi/ufs/ufshcd.h | mpe/powerpc | gpl-2.0 | 42,972 | 1,416 | codeparrot/github-code |
ab5674d1980a58f8bec696b077a48dc90ed6a6ac0e14e815b607c7a08ff1fdb9 | //
// begin license header
//
// This file is part of Pixy CMUcam5 or "Pixy" for short
//
// All Pixy source code is provided under the terms of the
// GNU General Public License v2 (http://www.gnu.org/licenses/gpl-2.0.html).
// Those wishing to use Pixy source code, software and/or
// technologies under different lice... | C++ | Pixy/gcc/pixy_m4/src/power.cpp | Pravuz/AimBot | gpl-2.0 | 1,975 | 102 | codeparrot/github-code |
a2ee4765096fea615765cd2580ce6b0bc7a9f5e4aa55e1977f97c4cbf10c6a2e | // Copyright 2014 Dolphin Emulator Project
// Licensed under GPLv2+
// Refer to the license.txt file included.
#include "VideoCommon/GeometryShaderGen.h"
#include <cmath>
#include <cstring>
#include "Common/CommonTypes.h"
#include "VideoCommon/DriverDetails.h"
#include "VideoCommon/LightingShaderGen.h"
#include "Vid... | C++ | Source/Core/VideoCommon/GeometryShaderGen.cpp | CarlKenner/dolphin | gpl-2.0 | 27,459 | 715 | codeparrot/github-code |
c620629754e31efdb350fe5c91414f1e6a88d4a562ebe5dc931442c980b6af14 | --[[
#
# @hunter18k
# @Dragon_Born
#
]]
local access_token = "3084249803.280d5d7.999310365c8248f8948ee0f6929c2f02" -- your api key
local function instagramUser(msg, query)
local receiver = get_receiver(msg)
local url = "https://api.instagram.com/v1/users/search?q="..URL.escape(query).."&access_token=... | Lua | plugins/insta.lua | ahmed112a/smart | gpl-2.0 | 3,909 | 106 | codeparrot/github-code |
de0c856f9a30915572901474d2e9f7157719327a13555dcde9ea56f254ddaa44 | /*
* Copyright (c) 2013, 2017, 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 | jdk/test/java/util/Spliterator/SpliteratorTraversingAndSplittingTest.java | dmlloyd/openjdk-modules | gpl-2.0 | 44,814 | 1,200 | codeparrot/github-code |
eca7b346c4e32542bccc10ea7aa4b800fe191c8506bed14202fbed939e0f7ed9 | /*
* The ManaPlus Client
* Copyright (C) 2004-2009 The Mana World Development Team
* Copyright (C) 2009-2010 The Mana Developers
* Copyright (C) 2011-2018 The ManaPlus Developers
*
* This file is part of The ManaPlus Client.
*
* This program is free software; you can redistribute it and/or modify
* i... | C++ | src/net/eathena/itemrecv.cpp | mekolat/ManaPlus | gpl-2.0 | 5,784 | 188 | codeparrot/github-code |
ac120ec0baa344de8d4aa745e4186e5d650877d4d0fdb15feaf611a5d061eda7 | /**
* ownCloud Android client application
*
* @author Mario Danic
* Copyright (C) 2017 Mario Danic
* Copyright (C) 2012 Bartek Przybylski
* Copyright (C) 2012-2016 ownCloud Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License versi... | Java | src/main/java/com/owncloud/android/ui/fragment/ExtendedListFragment.java | aleister09/android | gpl-2.0 | 31,646 | 801 | codeparrot/github-code |
4f10f1743f8992ab19e60e31b084d5f1d1fea77d5eebcdbfd88ed9dce6ece619 | /*
* Copyright (C) 2001-2006 Jacek Sieka, arnetheduck on gmail point 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 ... | C++ | client/ZUtils.cpp | NareshPS/FBLinuxDCPP | gpl-2.0 | 3,708 | 128 | codeparrot/github-code |
080933885390e93033c04af2e66ca2d56c559f197cc5a1b3c49b572c614b978a | /* Copyright (C) 2007 The SpringLobby Team. All rights reserved. */
//
#ifndef NO_TORRENT_SYSTEM
#ifdef _MSC_VER
#ifndef NOMINMAX
#define NOMINMAX
#endif // NOMINMAX
#include <winsock2.h>
#endif // _MSC_VER
#include <wx/stattext.h>
#include <wx/sizer.h>
#include <wx/textctrl.h>
#include <wx/intl.h>
#include <wx/... | C++ | src/filelister/filelistfilter.cpp | N2maniac/springlobby-join-fork | gpl-2.0 | 5,177 | 152 | codeparrot/github-code |
7ef84e045c0a4de9e65f6cb20539d1f34dd16bd5cf9482c1a8b26acbfaa132eb | /*
* Copyright (c) 2013, 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 Softwa... | Java | hotspot/test/compiler/whitebox/SetDontInlineMethodTest.java | karianna/jdk8_tl | gpl-2.0 | 2,613 | 60 | codeparrot/github-code |
041ac6fa0c93650af879dacfaeb2eaa6e6ac535d8306379fe20fbba15e57f297 | /*
Copyright (C) 2013 Stephen Robinson
This file is part of HDMI-Light
HDMI-Light 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 l... | C | firmware/config_hdmi.h | esar/hdmilight-v2 | gpl-2.0 | 3,439 | 96 | codeparrot/github-code |
2e714053baa8a32a7a947eba3fc92dac3db237ff6e2ca1afee75797e572af1ea | /*
* UAE - The Un*x Amiga Emulator
*
* Sound emulation stuff
*
* Copyright 1995, 1996, 1997 Bernd Schmidt
*/
#ifndef UAE_AUDIO_H
#define UAE_AUDIO_H
#define PERIOD_MAX ULONG_MAX
extern void aud0_handler (void);
extern void aud1_handler (void);
extern void aud2_handler (void);
extern void aud3_handler (void);
... | C | src/include/audio.h | cstefansen/PUAE | gpl-2.0 | 2,294 | 91 | codeparrot/github-code |
772180713463e4943b4eb050e6612dbd4450fc95df42d5d1ecab882552223b59 | /*
* Copyright (C) 2005-2011 MaNGOS <http://getmangos.com/>
* Copyright (C) 2009-2011 MaNGOSZero <https://github.com/mangos/zero>
*
* 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... | C++ | src/game/GridMap.cpp | vanilla-wow/MaNGOSZero | gpl-2.0 | 35,544 | 1,182 | codeparrot/github-code |
6bfa9d1965fc484aca92ad113206b191e4ef92ba11a84fd52ef82dec02d17aa7 | <!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
<meta name="HandheldFriendly" content="true"/>
<!--<meta name="MobileOptimized" content="320"/>-->
<title>Hello H5+</title>
<script type="text/javascript" src="../j... | HTML | XlvrenProject_Html/XlvrenCharge/plus/oauth.html | NSStringDong/XlvrenCharge | gpl-2.0 | 3,618 | 131 | codeparrot/github-code |
423db8fd63caa750f3238ce2517948890693b5ba133916cf200ac94e05c20854 | /*
* $Id$
*/
package edu.jas.gbufd;
import java.io.IOException;
import java.io.Reader;
import java.io.StringReader;
import java.math.BigInteger;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
//import junit.framework.Test;
//import junit.framework.TestCase;
//import junit.framework.... | Java | src/edu/jas/gbufd/GroebnerBaseFGLMExamples.java | breandan/java-algebra-system | gpl-2.0 | 44,050 | 1,065 | codeparrot/github-code |
d73172d631c95c930b52c72c210d14b8fa4009f082cf3e6ec97c5c1c88cfb775 | /*
* Animation plugin for compiz/beryl
*
* animation.c
*
* Copyright : (C) 2006 Erkin Bahceci
* E-mail : erkinbah@gmail.com
*
* Based on Wobbly and Minimize plugins by
* : David Reveman
* E-mail : davidr@novell.com>
*
* Particle system added by : (C) 2006 Dennis Kasprzyk
* E-mail ... | C++ | animationaddon/src/leafspread.cpp | hedmo/compiz-plugins-extra | gpl-2.0 | 3,316 | 108 | codeparrot/github-code |
338de394ee8b860402be4126a6fe421f0fb64c47ffa44d4caf004bb173c58f58 | <?php
/**
* Sets the body-tag class attribute.
*
* Adds 'sidebar-left', 'sidebar-right' or 'sidebars' classes as needed.
*/
function phptemplate_body_class($left, $right) {
if ($left != '' && $right != '') {
$class = 'sidebars';
}
else {
if ($left != '') {
$class = 'sidebar-left';
}
if ... | PHP | themes/tiki/template.php | Onenix/360kpop-shop | gpl-2.0 | 2,550 | 105 | codeparrot/github-code |
5661cc4a70456be21e1779b6330f7306851c74b2f09b6457eab00618f34d3345 | // Copyright 2013 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 CONTENT_BROWSER_FRAME_HOST_NAVIGATION_CONTROLLER_DELEGATE_H_
#define CONTENT_BROWSER_FRAME_HOST_NAVIGATION_CONTROLLER_DELEGATE_H_
#include <strin... | C | external/chromium_org/content/browser/frame_host/navigation_controller_delegate.h | qtekfun/htcDesire820Kernel | gpl-2.0 | 2,570 | 76 | codeparrot/github-code |
4245f81b67701e349e5524d023984742ace3a9731b36cfed46570b4415ee3da1 | /*
* TrxFormController.java
*
* Created on Jan 9, 2010 8:22:32 PM
*
* Copyright (c) 2002 - 2010 : Swayam Inc.
*
* P R O P R I E T A R Y & C O N F I D E N T I A L
*
* The copyright of this document is vested in Swayam Inc. without
* whose prior written permission its contents must not be published,
* adapted ... | Java | code/SpringMVCWithFlex/ims-web/src/main/java/com/swayam/ims/webapp/controller/trx/TrxFormController.java | paawak/blog | gpl-2.0 | 1,332 | 54 | codeparrot/github-code |
c5095d22e50bf9e8a52de15d2bd06946e7730fcc05756fb810e0bf6c3304577e | <?php
if ( !defined( 'ABSPATH' ) ) {
exit;
}
$rowWidth = 0;
foreach ( $cells as $cell ) {
$rowWidth += (int)$cell['width'];
}
if ( $rows ) { ?>
<table class="mscrm-listview table">
<thead>
<tr>
<?php foreach ( current( $rows ) as $cellName => $cell ) {
$cellWidth... | PHP | templates/view/view.php | AlexaCRM/integration-dynamics | gpl-2.0 | 2,942 | 70 | codeparrot/github-code |
3c67bed9e1ff751bf302ed22837ed86ab516cbc68fd3770d586f8f5486c9e3f8 | /*
This file is part of ffmpeg-php
Copyright (C) 2004-2008 Todd Kirby (ffmpeg.php AT gmail.com)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
... | C | ffmpeg_tools.c | lord2800/ffmpeg-php | gpl-2.0 | 5,212 | 150 | codeparrot/github-code |
1e6b0662d4130ee067fe92bcd0744e7ddbc93d85be876c145aa78a542f1c93e5 | // clang-format off
/* ----------------------------------------------------------------------
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
https://www.lammps.org/, Sandia National Laboratories
Steve Plimpton, sjplimp@sandia.gov
Copyright (2003) Sandia Corporation. Under the terms of ... | C++ | src/KSPACE/fft3d.cpp | jeremiahyan/lammps | gpl-2.0 | 26,711 | 817 | codeparrot/github-code |
08321aab89206cece16a5103eab5764712b968224ca44354309c27e4751fd45e | /*
Copyright (C) 2007 Volker Berlin
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial app... | C# | awt/robot.cs | mdavid/IKVM.NET-cvs-clone | gpl-2.0 | 14,656 | 408 | codeparrot/github-code |
95602761317c4149c225a1ecee5da3d55abd717411f73da6b338436a990c3089 | <?php
class WCML_sensei{
function __construct(){
global $sitepress;
add_action( 'manage_edit-lesson_columns', array( $sitepress, 'add_posts_management_column' ) );
add_action( 'manage_edit-course_columns', array( $sitepress, 'add_posts_management_column' ) );
add_action( 'save_pos... | PHP | wp-content/plugins/woocommerce-multilingual/compatibility/wc_sensei.class.php | SasaKlepikov/Syberg.eu | gpl-2.0 | 7,952 | 218 | codeparrot/github-code |
6fdc7ef34c2ce57f89ede64eae29c35f224540fd59199654b619d829dbd45aa1 | <?php namespace Iiigel\Controller;
class Iiigel extends \Iiigel\Controller\StaticPage {
const DEFAULT_ACTION = 'show';
protected $sRawOutput = NULL;
protected $oCloud = NULL;
protected $oInterpreter = NULL;
protected $oChapter = NULL;
protected $oModule = NULL;
public function __c... | PHP | src/Controller/Iiigel.php | MarHai/iiigel | gpl-2.0 | 16,286 | 437 | codeparrot/github-code |
bfea122eecc164c78bbfc2ae53275942a459284c4ac32fc610d0af25dde5c2a6 | // CHDK palette colors for the s90
// Define color values as needed in this file.
#include "palette.h"
#include "platform_palette.h"
// Playback mode colors
unsigned char ply_colors[] =
{
COLOR_TRANSPARENT, // Placeholder for script colors
COLOR_BLACK, // Placeholder for script... | C | platform/s90/platform_palette.c | c10ud/CHDK | gpl-2.0 | 2,303 | 57 | codeparrot/github-code |
455c5d32e0a97e2c8e10b4b0999c4f8c09e3506a742c089d8f270a8ac0f1cb3b | define(['jquery', 'util.tooltips', 'helper.boxes', 'modules/panel'], function($, tooltips, panel) {
/* Grid */
tourStepsGrid = [
{
beginning: true,
title: 'Welcome to the Blox Visual Editor!',
content: '<p>If this is your first time in the Blox Visual Editor, <strong>we recommend following this tour so yo... | JavaScript | bloxtheme/library/visual-editor/scripts-src/util.tour.js | bloxtheme/BloxTheme | gpl-2.0 | 13,717 | 419 | codeparrot/github-code |
57be51f44ab7e19e29067ba412a8ce1e71a1380e2016279568c4280f5c1bd158 | /*
* keybindings.c - this file is part of Geany, a fast and lightweight IDE
*
* Copyright 2006-2012 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* Copyright 2006-2012 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
*
* This program is free software; you can redistribute it and/... | C | src/keybindings.c | ktuan89/geany-1.22 | gpl-2.0 | 79,265 | 2,489 | codeparrot/github-code |
41f22ff7c758b8d85f25c58ca2247d28abafbf70fbf163d0f80a433f8ae99766 | /*++
*
* Kafka Message Queue
*
* DESCRIPTION:
* AUTHOR: NickeyWoo
* DATE: 2014/8/15
*
--*/
#ifndef __KAFKA_PRODUCER_HH__
#define __KAFKA_PRODUCER_HH__
#include <boost/nocopyable.hpp>
#include <google/protobuf/message_lite.h>
#include <google/protobuf/message.h>
#include <google/protobuf/descriptor.h>
cla... | C++ | Kafka/Kafka/Producer.hh | NickeyWoo/SimpleRPC | gpl-2.0 | 545 | 35 | codeparrot/github-code |
be938bf7294221539e500f6cc6704816da18bb83dfffba685056a9d9d6ae281a | # vim: ts=2 sw=2 expandtab
package Data::Transform::Identity;
use strict;
use Data::Transform;
use vars qw($VERSION @ISA);
$VERSION = '0.01';
@ISA = qw(Data::Transform);
sub new {
my $type = shift;
my $self = bless [ [] ], $type;
return $self;
}
sub clone {
my $self = shift;
my $clone = bless [ [] ], ... | Perl | lib/Data/Transform/Identity.pm | gitpan/Data-Transform | gpl-2.0 | 1,663 | 100 | codeparrot/github-code |
bf02cb87adf1620eb9016787061743ff6e8452a5bb7f4a8e2fb1c79357fd593a | /*
* Synopsys DesignWare 8250 driver.
*
* Copyright 2011 Picochip, Jamie Iles.
* Copyright 2013 Intel Corporation
*
* 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 th... | C | drivers/tty/serial/8250/8250_dw.c | fredericgermain/linux-sunxi | gpl-2.0 | 12,111 | 485 | codeparrot/github-code |
b9185bd7f69905c0ccd9128732818442547805f252ad5e88f658b3cfe180c3c4 | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>numpy.polynomial.laguerre.lagint — NumPy v1.10 Manual</title>
<link rel="stylesheet" type="text/css" href="../../static_/css/spc-bootstrap.css">
<link rel="stylesheet" type="text/css" href="../../static_/css/spc-extend.css">
... | HTML | Coding/Python/numpy-html-1.10.1/reference/generated/numpy.polynomial.laguerre.lagint.html | platinhom/ManualHom | gpl-2.0 | 13,462 | 234 | codeparrot/github-code |
84cc945efbf499e5fffcb80933f771b07557cf774a68a3c72a26c42f03e53d0e | <?php
/*
* This file is part of the Eventum (Issue Tracking System) package.
*
* @copyright (c) Eventum Team
* @license GNU General Public License, version 2 or later (GPL-2+)
*
* For the full copyright and license information,
* please see the COPYING and AUTHORS files
* that were distributed with this source... | PHP | src/Controller/SignupController.php | mariadb-corporation/eventum | gpl-2.0 | 2,410 | 91 | codeparrot/github-code |
2a532aeaac11edec70cf5cf99905811c8bcd0ed9183d47cd4a0fcdd62f87db49 | # simpleSound.py
# Plays audio files on Linux and Windows.
# Written Jan-2008 by Timothy Weber.
# Based on (reconstituted) code posted by Bill Dandreta at <http://www.velocityreviews.com/forums/t337346-how-to-play-sound-in-python.html>.
import platform
if platform.system().startswith('Win'):
from winsound import ... | Python | simpleSound.py | teejaydub/khet | gpl-2.0 | 1,290 | 40 | codeparrot/github-code |
c05dcfc2c3c7abd4a2c887a64158cec8a8e8f14663cf1d6ae3223bb043139bd5 | # -*- coding: utf-8 -*-
# Copyright 2011 Christoph Reiter <reiter.christoph@gmail.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) an... | Python | quodlibet/quodlibet/ext/events/inhibit.py | elbeardmorez/quodlibet | gpl-2.0 | 2,526 | 89 | codeparrot/github-code |
985d09ef1c64c9ed96b39286552697c1c2e74cb4f02a41864730c2ec5dac89f1 | #include "../ProtocolCommand.h"
//#include <sqlite3.h>
using namespace org::esb::net;
using namespace org::esb::hive;
using namespace std;
class CreateHive:public ProtocolCommand {
private:
Socket * socket;
public:
~CreateHive () {
} CreateHive (TcpSocket * socket) {
this->socket = socket;
this->is = s... | C++ | src/org/esb/hive/protocol/CreateHive.cpp | psychobob666/MediaEncodingCluster | gpl-2.0 | 1,553 | 68 | codeparrot/github-code |
a4d2d227c8869f615963fbd987a4ca1639f3592714190055213146ec8d20ebfa | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Linq;
using System.Net.Http.Headers;
using System.Web.Http;
using System.Web.Http.Description;
using Sudoku.Areas.HelpPage.Models;
namespace Sudoku.Areas... | C# | Sudoku/Areas/HelpPage/HelpPageConfigurationExtensions.cs | swilson96/sudoku-web-solver | gpl-2.0 | 13,692 | 248 | codeparrot/github-code |
1ce3c7dc81cc145e0527c9831c3ff759005b28ba0d71dfffea4ed3cab76e6bab | /* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will... | C++ | src/shogun/lib/slep/overlapping/overlapping.cpp | ratschlab/ASP | gpl-2.0 | 26,209 | 1,237 | codeparrot/github-code |
6b5d94a49b69288cb00dc2cef769e2f2f0e7f2f62660e6b0e054793ab81d98be | /*****************************************************************************
* slider_manager.cpp : Manage an input slider
*****************************************************************************
* Copyright (C) 2000-2005 the VideoLAN team
* $Id: input_manager.cpp 14556 2006-03-01 19:56:34Z fkuehne $
*
* A... | C++ | user/blkfin-apps/vlc/vlc-0.8.6b/modules/gui/wxwidgets/input_manager.cpp | scs/uclinux | gpl-2.0 | 13,722 | 454 | codeparrot/github-code |
41114d9ee9101ebc092cdb9392de2ed046c42f213df205da535efaed6d97f86d | /*****************************************************************************
* m3u.c : M3U playlist format import
*****************************************************************************
* Copyright (C) 2004 VLC authors and VideoLAN
* $Id: 02a95984d5fe1968163cb435268a9874f0c65eb9 $
*
* Authors: Clément Ste... | C | modules/demux/playlist/m3u.c | sunqueen/vlc-2.2.0-rc2.32-2013 | gpl-2.0 | 11,909 | 368 | codeparrot/github-code |
06ef8cd418725ce5b99d23b638375f3433da90eb32000ff255327bd6a5f9adbf | #!/usr/bin/env python
#
# testlibbind_ns_msg.py - Unit tests for the libbind ns_msg wrapper
#
# This file is part of Strangle.
#
# Strangle 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 t... | Python | test/testlibbind_ns_msg.py | jhs/strangle | gpl-2.0 | 2,294 | 70 | codeparrot/github-code |
08a4f1654cf7a5655970669c9875a81a452ec3d896c82fc0585ddc91babad5c3 | /*
* Copyright (c) 2013, 2017, 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 | com.oracle.truffle.r.nodes.builtin/src/com/oracle/truffle/r/nodes/builtin/base/UpdateAttr.java | akunft/fastr | gpl-2.0 | 12,281 | 261 | codeparrot/github-code |
9e0c5421039d8c49dc0769d7c42914438302d690b9d865c1c8d1a6092fedce78 | #! /usr/bin/env python3
'''
given a list of stock price ticks for the day, can you tell me what
trades I should make to maximize my gain within the constraints of the
market? Remember - buy low, sell high, and you can't sell before you
buy.
Sample Input
19.35 19.30 18.88 18.93 18.95 19.03 19.00 18.97 18.97 18.98
'''... | Python | easy-249.py | benosment/daily-exercises | gpl-2.0 | 1,302 | 44 | codeparrot/github-code |
b78cb8d0dc841890a53177c6582841d804d7a057653931f91306c92cc24c1fbb | <?php
/*******************************************************************************
Copyright 2005,2009 Whole Foods Community Co-op
This file is part of Fannie.
Fannie is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
t... | PHP | fannie/item/scaleDelete.php | joelbrock/ELFCO_CORE | gpl-2.0 | 3,895 | 105 | codeparrot/github-code |
e0eaece71f025b9dd5903d93459cbd2fd0cd60afa00a57b34befbf1a62984a0c | package com.yao.app.java.nio.pipe;
import java.io.IOException;
import java.nio.ByteBuffer;
import java.nio.channels.Pipe;
public class Test {
public static void main(String[] args) {
try {
Pipe pipe = Pipe.open();
Thread t1 = new Thread(new MessageOutput(pipe));
Thread... | Java | utils/src/main/java/com/yao/app/java/nio/pipe/Test.java | yaolei313/hello-world | gpl-2.0 | 2,204 | 84 | codeparrot/github-code |
757a32fec50a5b1bd438a51775bc0a4440dc1abc84b4fadc290683fe8375dcc2 | ################################################################
# LiveQ - An interactive volunteering computing batch system
# Copyright (C) 2013 Ioannis Charalampidis
#
# 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 ... | Python | liveq-jobmanager/jobmanager/io/teamqueue.py | wavesoft/LiveQ | gpl-2.0 | 1,361 | 42 | codeparrot/github-code |
2db71ebff7b4990aa8a280cc095a88a45e0012d131fede3cf047e4f99a496e33 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.SessionState;
using System.Data;
namespace Schoolxm.html
{
/// <summary>
/// Home 的摘要说明
/// </summary>
public class Home : IHttpHandler, IRequiresSessionState
{
public void ProcessRequest... | C# | SchoolAll/SchoolxmWeb/Schoolxm/Home.ashx.cs | zhouchm/School | gpl-2.0 | 1,687 | 47 | codeparrot/github-code |
9086fbede859cd9494d484c8d6747bd5064c6bce5d73e8fa6a5cae8a608489ba | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <CL/cl.h>
unsigned char *read_buffer(char *file_name, size_t *size_ptr)
{
FILE *f;
unsigned char *buf;
size_t size;
/* Open file */
f = fopen(file_name, "rb");
if (!f)
return NULL;
/* ... | C | test/integer/sub_sat_char2char2/sub_sat_char2char2_src.c | xianggong/m2c_unit_test | gpl-2.0 | 10,934 | 338 | codeparrot/github-code |
9a79d692b67320ab78b38c904345f411974fe7850c5fedc64d3e8336260d3abd | /*
* arch/i386/mm/ioremap.c
*
* Re-map IO memory to kernel address space so that we can access it.
* This is needed for high PCI addresses that aren't mapped in the
* 640k-1MB IO memory area on PC's
*
* (C) Copyright 1995 1996 Linus Torvalds
*/
#include <linux/vmalloc.h>
#include <asm/io.h>
#include <asm/pgall... | C | arch/i386/mm/ioremap.c | dduval/kernel-rhel3 | gpl-2.0 | 5,360 | 229 | codeparrot/github-code |
99e35346b314b4b17775299555ad75d12d1c98fcb6a583cc84eecc6164ea64b9 | /*
* linux/kernel/fork.c
*
* Copyright (C) 1991, 1992 Linus Torvalds
*/
/*
* 'fork.c' contains the help-routines for the 'fork' system call
* (see also entry.S and others).
* Fork is rather simple, once you get the hang of it, but the memory
* management can be a bitch. See 'mm/memory.c': 'copy_page_range(... | C | kernel/fork.c | j0n3lson/linux-2.6.22.19-cs370 | gpl-2.0 | 41,833 | 1,685 | codeparrot/github-code |
b20939f682ef183e726583763a7e23bd263793689ed88eb22a279c8a227051e0 | import random
import time
from flask import (
request,
session,
flash,
redirect,
url_for,
Response,
render_template,
)
from NossiPack.Cards import Cards
from NossiPack.User import Userlist
from NossiPack.VampireCharacter import VampireCharacter
from NossiPack.krypta import DescriptiveError... | Python | NossiSite/extra.py | x4dr/NossiNet | gpl-2.0 | 9,041 | 259 | codeparrot/github-code |
c2a110be2c3c018021ba7a6f57d6ada62e010a2a2b013f853e71ef95337b1344 | /*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright held by original author
\\/ M anipulation |
------------------... | C++ | src/OpenFOAM/primitives/Scalar/floatScalar/floatScalar.C | Unofficial-Extend-Project-Mirror/openfoam-extend-Core-OpenFOAM-1.5-dev | gpl-2.0 | 1,619 | 43 | codeparrot/github-code |
8dfa5601cf8c823055ae2268729712eef7d2955c17445c840defbf1cea56dd8f | /* Company : Nequeo Pty Ltd, http://www.nequeo.com.au/
* Copyright : Copyright © Nequeo Pty Ltd 2016 http://www.nequeo.com.au/
*
* File : EndpointInterface.h
* Purpose : SIP Endpoint Interface class.
*
*/
/*
Permission is hereby granted, free of charge, to any person
obtaining a copy of thi... | C | Source/Android/Components/Net/NequeoAndroidPjSip/NequeoAndroidPjSip/EndpointInterface.h | drazenzadravec/nequeo | gpl-2.0 | 2,157 | 67 | codeparrot/github-code |
00d533763556fb504df0f05358b3db1749d57842fce13d3a7d970368a6aa270a | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright 2008-2010 Zuza Software Foundation
#
# This file is part of Virtaal.
#
# 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 ... | Python | virtaal/plugins/autocompletor.py | elric/virtaal-debian-snapshots | gpl-2.0 | 10,937 | 282 | codeparrot/github-code |
39f8ec9ef47d875dc973ffd1007392283fef9343d452b243fabd5c9c5dc57c53 | <?php
/**
* Authentication library
*
* Including this file will automatically try to login
* a user by calling auth_login()
*
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
* @author Andreas Gohr <andi@splitbrain.org>
*/
if(!defined('DOKU_INC')) die('meh.');
// some ACL level defines
define('A... | PHP | inc/auth.php | brontosaurusrex/dokuwiki-preconfigured | gpl-2.0 | 42,215 | 1,385 | codeparrot/github-code |
79dd4a8e9ff041eb68f4245cdd2e19675e350265750f7f48a4ad110213942aa1 | <?php
/**
* This file contains all functions for creating a database for teachpress
*
* @package teachpress\core\installation
* @license http://www.gnu.org/licenses/gpl-2.0.html GPLv2 or later
* @since 5.0.0
*/
/**
* This class contains all functions for creating a database for teachpress
* @package teachpres... | PHP | core/class-tables.php | winkm89/teachPress | gpl-2.0 | 31,096 | 820 | codeparrot/github-code |
5a461b20128f809b67d8451862e88644eb9b41a5234b3a98f336f31ed8884d6b | (function ($) {
function getCsrfTokenForFullShotImage(callback) {
$
.get(Drupal.url('rest/session/token'))
.done(function (data) {
var csrfToken = data;
callback(csrfToken);
});
}
function patchImageFullShot(csrfToken, file, fid) ... | JavaScript | modules/custom/studiobridge_store_images/js/studio-bridge-fullshot-image.js | asharnb/dawn | gpl-2.0 | 3,011 | 105 | codeparrot/github-code |
986f06cb36602aaef12596eec2f2b4a1416ad3ad4122c90ff5d642d2420bc8ff |
#ifndef __DGAPROC_H
#define __DGAPROC_H
#include <X11/Xproto.h>
#include "pixmap.h"
#define DGA_CONCURRENT_ACCESS 0x00000001
#define DGA_FILL_RECT 0x00000002
#define DGA_BLIT_RECT 0x00000004
#define DGA_BLIT_RECT_TRANS 0x00000008
#define DGA_PIXMAP_AVAILABLE 0x00000010
#define DGA_INTERLACED 0x00010000
#define D... | C | user/xorg-xserver/xorg-server-1.12.4/hw/xfree86/dixmods/extmod/dgaproc.h | atmark-techno/atmark-dist | gpl-2.0 | 3,934 | 115 | codeparrot/github-code |
9085157b604858112564e3ca8704e269e5661412e10db913e663041d1f0081e4 | #
# Copyright (C) 2006-2012 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/image.mk
define Build/Clean
$(MAKE) -C lzma-loader clean
endef
define Image/Prepare
cat $(KDIR)/vmlinux | $(ST... | Makefile | target/linux/brcm47xx/image/Makefile | geog-opensource/geog-linino | gpl-2.0 | 6,299 | 139 | codeparrot/github-code |
1857388295f52f94cfe76e86bdf860670a5c7fc8a88b925e44c5623b8c8d3943 | /*=============================================================================
Copyright (c) 2002-2003 Joel de Guzman
http://spirit.sourceforge.net/
Use, modification and distribution is subject to the Boost Software
License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
htt... | C++ | old/Launchy_VC7/Plugins/Calcy/Main.cpp | Slesa/launchy | gpl-2.0 | 3,793 | 120 | codeparrot/github-code |
8c3f5769bffbadfcee357879ac6d7e099876c0eb3ca10caa0ab689997a42b152 | /*
* linux/fs/read_write.c
*
* Copyright (C) 1991, 1992 Linus Torvalds
*/
#include <linux/slab.h>
#include <linux/stat.h>
#include <linux/fcntl.h>
#include <linux/file.h>
#include <linux/uio.h>
#include <linux/smp_lock.h>
#include <linux/fsnotify.h>
#include <linux/security.h>
#include <linux/module.h>
#includ... | C | go12/linux-2.6.28.10/fs/read_write.c | kzlin129/tt-gpl | gpl-2.0 | 19,284 | 869 | codeparrot/github-code |
e3e34bd95f6577b6b7727c9496c62af2574fecc4b8b73ccdd0eb92121ae92c05 | #
# The Qubes OS Project, http://www.qubes-os.org
#
# Copyright (C) 2014-2016 Wojtek Porczyk <woju@invisiblethingslab.com>
# Copyright (C) 2016 Marek Marczykowski <marmarek@invisiblethingslab.com>)
# Copyright (C) 2016 Bahtiar `kalkin-` Gadimov <bahtiar@gadimov.de>
#
# This library is free software; you ca... | Python | qubes/vm/templatevm.py | nrgaway/qubes-core-admin | gpl-2.0 | 4,118 | 112 | codeparrot/github-code |
6211e42de80d20e089de509b3af6ea5980b416cec8506d344a16ec035c1bbf95 | /**
* Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmobile.com/)
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the Lice... | C++ | external/webkit/WebCore/wml/WMLInputElement.cpp | cattleprod/samsung-kernel-gt-i9100 | gpl-2.0 | 16,920 | 559 | codeparrot/github-code |
4b337877bd2b6329114565cb3475310c7ffef2465b4b66452f59e42dfdd93eb3 | //
// Created by David Seery on 10/08/2015.
// --@@ // Copyright (c) 2017 University of Sussex. All rights reserved.
//
// This file is part of the Sussex Effective Field Theory for
// Large-Scale Structure platform (LSSEFT).
//
// LSSEFT is free software: you can redistribute it and/or modify
// it under the terms of ... | C | controller/master_controller.h | ds283/LSSEFT | gpl-2.0 | 8,832 | 272 | codeparrot/github-code |
2441d7527411379e573a17b4e6d4cb34fae23248126d2e592df0849b42488ea6 | /* 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... | C | bootable/bootloader/legacy/arch_msm7k/gpio.c | luckasfb/OT_903D-kernel-2.6.35.7 | gpl-2.0 | 6,641 | 214 | codeparrot/github-code |
2281523f3d701e3e043e106f078a72e200939860db3b7ba683d3a14b3f4b461b | /*************************************************************************
*
* FILE NAME : ifxmips_pci.c
* PROJECT : IFX UEIP
* MODULES : PCI
*
* DATE : 29 June 2009
* AUTHOR : Lei Chuanhua
*
* DESCRIPTION : PCI Host Controller Driver
* COPYRIGHT : Copyright (c) 2009
* ... | C | target/linux/ltqcpe/files-2.6.32/arch/mips/pci/ifxmips_pci.c | kbridgers/VOLTE4GFAX | gpl-2.0 | 21,354 | 682 | codeparrot/github-code |
f20dd1975253251bc3cb00ac1e15e73c6baebd8229c9db0dd5fce98417d03f8e | <?php
/**
* The header template file.
* @package PaperCuts
* @since PaperCuts 1.0.0
*/
?><!DOCTYPE html>
<!--[if IE 7]>
<html class="ie ie7" <?php language_attributes(); ?>>
<![endif]-->
<!--[if IE 8]>
<html class="ie ie8" <?php language_attributes(); ?>>
<![endif]-->
<!--[if !(IE 7) | !(IE 8) ]><!-->
<html <?php l... | PHP | wp-content/themes/papercuts/header.php | udhayarajselvan/matrix | gpl-2.0 | 4,753 | 92 | codeparrot/github-code |
c1c0586f16738c281c3dc144597e4f1f1d17ceadd36ff80983e0083c41981ded | <?php
/**
* Validate form
*
* @param array $form definition
* @param array $data filtered
* @return boolean | array ('fildname'=>'error message')
*/
function validateForm($form, $datafiltered)
{
$validatedata = null;
foreach ($form as $key => $form_field) {
// if ($form[$key]['validation'] != nul... | PHP | modules/core/src/core/validateForm.php | bermartinv/php2015 | gpl-2.0 | 2,401 | 58 | codeparrot/github-code |
cc63a1c17e81f0fd749ebc1e4e9c168d414131e6512b783d8a5ee2ad9a572756 | /*
* Copyright (c) 2010, Google, Inc.
*
* This file is part of Libav.
*
* Libav is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later... | C | vlc/contrib/android/ffmpeg/libavcodec/libvpxdec.c | DDTChen/CookieVLC | gpl-2.0 | 4,941 | 150 | codeparrot/github-code |
3f532cbf6d8c0064c9816c1d187614494f6a2d608150b78a189fa3e25615b93c | #!/usr/bin/python3
# @begin:license
#
# Copyright (c) 2015-2019, Benjamin Niemann <pink@odahoda.de>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at y... | Python | noisicaa/core/ipc_perftest.py | odahoda/noisicaa | gpl-2.0 | 1,459 | 43 | codeparrot/github-code |
f73400fc683fa850e5071cc65cb5ad2b4c9ebc16d1778e724650ea556a990d0e | #ifndef INC_FMTLexer_hpp_
#define INC_FMTLexer_hpp_
#include <antlr/config.hpp>
/* $ANTLR 2.7.7 (20130428): "format.g" -> "FMTLexer.hpp"$ */
#include <antlr/CommonToken.hpp>
#include <antlr/InputBuffer.hpp>
#include <antlr/BitSet.hpp>
#include "FMTTokenTypes.hpp"
#include <antlr/CharScanner.hpp>
#include <fstream>
#... | C++ | src/FMTLexer.hpp | olebole/gnudatalanguage | gpl-2.0 | 3,373 | 114 | codeparrot/github-code |
3cf14a665710af3b82577daf243b3f38aecb056fb6b0806a49a30616c62fddd5 | import glob
import fnmatch
import itertools
import logging
import os
import re
import six
import sys
import yaml
from .dockerfile import Dockerfile
from .image import ImageBuilder
from .config import Config
class Builder(object) :
def __init__(self, config=None, **kwds) :
self.logger = logging.getLogger... | Python | dynker/builder.py | tjamet/dynker | gpl-2.0 | 6,135 | 177 | codeparrot/github-code |
3d96645319ec1589d9e5a4f074dbb93a0f5957b2b50cd4671971f9b53428b39a | // Copyright (c) 2009 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_FRAME_EXTRA_SYSTEM_APIS_H_
#define CHROME_FRAME_EXTRA_SYSTEM_APIS_H_
#include <mshtml.h>
#include <shdeprecated.h>
class __declspec(u... | C | external/chromium_org/chrome_frame/extra_system_apis.h | qtekfun/htcDesire820Kernel | gpl-2.0 | 4,312 | 106 | codeparrot/github-code |
b1ed17fbfabd040baa571a31d410c9899583f668b3e1ceaf532d7ee1ddbfc3e5 | <?php
/**
* @package Expose
* @version 3.0.1
* @author ThemeXpert http://www.themexpert.com
* @copyright Copyright (C) 2010 - 2011 ThemeXpert
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU/GPLv3
* @file layout.php
**/
//prevent direct access
defined ('EXPOSE_VERSION') or die (... | PHP | libraries/expose/core/layout.php | jbelborja/deportivo | gpl-2.0 | 12,235 | 431 | codeparrot/github-code |
baacba09236dd8506cffeb6b95c7610f94d203123fee473490b8d3b867fd0089 | <!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>首页-灰绿色主题</title>
<link href="../css/style.css" rel="stylesheet" type="text/css">
<script src="../js/jQuery.js" type="text/javascript"></script>
<script src="../js/common.js" type="text/javascript"></script>
<... | HTML | WebContent/web/financeDetail.html | lxqfirst/mySchool | gpl-2.0 | 10,309 | 249 | codeparrot/github-code |
016341721c85b7e0acacc793ec348ce7defadd0a8aa968f653d8a6f69d0e48fe | <?php
/*
Plugin Name: Social Likes
Description: Wordpress plugin for Social Likes library by Artem Sapegin (http://sapegin.me/projects/social-likes)
Version: 5.5.7
Author: TS Soft
Author URI: http://ts-soft.ru/en/
License: MIT
Copyright 2014 TS Soft LLC (email: dev@ts-soft.ru )
Permission is hereby granted, free of c... | PHP | wp-content/plugins/wp-social-likes/wp-social-likes.php | tienthai0511/talk | gpl-2.0 | 33,776 | 830 | codeparrot/github-code |
6853ba17af5da20b6a5d24198f530e7d4a2a6b97ccf63095a939f859ba8254ff | <?php
/**
* VuFind Statistics Class for Record Views
*
* PHP version 5
*
* Copyright (C) Villanova University 2009.
*
* 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.
*
* Th... | PHP | module/VuFind/src/VuFind/Statistics/Record.php | no-reply/cbpl-vufind | gpl-2.0 | 4,569 | 123 | codeparrot/github-code |
9b10e726354b53605acd7f71fce495b6d76a7358ea1fad771c5f4d12d3327113 | <?php
/**
* @copyright Copyright (C) eZ Systems AS. All rights reserved.
* @license For full copyright and license information view LICENSE file distributed with this source code.
*/
namespace eZ\Publish\Core\Base\Container\Compiler\Search\Legacy;
use Symfony\Component\DependencyInjection\Compiler\CompilerPassInte... | PHP | eZ/Publish/Core/Base/Container/Compiler/Search/Legacy/CriteriaConverterPass.php | gggeek/ezpublish-kernel | gpl-2.0 | 3,289 | 71 | codeparrot/github-code |
9a13944d82a57ad5c8f72a6dfb0e62d3dc7504d3b2e7e0b93d401e65e331856a | <?php
global $post;
if( tie_get_option( 'archives_socail' ) ):?>
<div class="mini-share-post">
<ul>
<li><a href="https://twitter.com/share" class="twitter-share-button" data-url="<?php the_permalink(); ?>" data-text="<?php the_title(); ?>" data-via="<?php echo tie_get_option( 'share_twitter_username' ) ?>" d... | PHP | wp-content/themes/sahifa/includes/post-share.php | axsauze/HackaSoton | gpl-2.0 | 1,973 | 30 | codeparrot/github-code |
aed9e5a8d6d63178b2bb3992d556db36756c1776974dbd6b0876aa87081d6b77 | /*
* Driver for the SGS-Thomson M48T35 Timekeeper RAM chip
*
* Real Time Clock interface for Linux
*
* TODO: Implement periodic interrupts.
*
* Copyright (C) 2000 Silicon Graphics, Inc.
* Written by Ulf Carlsson (ulfc@engr.sgi.com)
*
* Based on code written by Paul Gortmaker.
*
* This driver allows use of t... | C | drivers/char/ip27-rtc.c | mpalmer/linux-2.6 | gpl-2.0 | 7,743 | 330 | codeparrot/github-code |
cf9a55c691314967bb8c532d74827dbdcf4844ccb6c25999ba7274cab85a3ba1 | <!DOCTYPE html>
<html>
<head>
<title>Asterisk Project : Asterisk Standard Channel Variables</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-defau... | HTML | doc/Asterisk-Admin-Guide/Asterisk-Standard-Channel-Variables_4620398.html | truongduy134/asterisk | gpl-2.0 | 6,529 | 107 | codeparrot/github-code |
9895cafc6a8128030295c3881d6ec8d8ed07c62359dc1f8b1860ea559985a1c4 | /* sane - Scanner Access Now Easy.
Copyright (C) 2002 Frank Zago (sane at zago dot net)
This file is part of the SANE package.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
published by the Free Software Foundation; either ... | C | backend/leo.h | dwery/sane-evolution | gpl-2.0 | 19,478 | 635 | codeparrot/github-code |
660bd69a89008d42faca46007a83cd54d534a5b192592b08b0ca852c4ed63694 | package com.oa.bean;
public class FeedBackInfo {
private Long id;
private String feedbackinfo;
private String userid;
private String date;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getFeedbackinfo() {
return feedbackinfo;
}
public void setFeedb... | Java | src/com/oa/bean/FeedBackInfo.java | yiyuweier/OA-project | gpl-2.0 | 617 | 39 | codeparrot/github-code |
37bc8aced35ecfed3a9324fbb6e9096f3ebab933bd7e8250b087ea51b2db0e07 | <?php
/**
* Vanillicon plugin.
*
* @author Todd Burry <todd@vanillaforums.com>
* @copyright 2009-2017 Vanilla Forums Inc.
* @license http://www.opensource.org/licenses/gpl-2.0.php GNU GPL v2
* @package vanillicon
*/
/**
* Class VanilliconPlugin
*/
class VanilliconPlugin extends Gdn_Plugin {
/**
* Se... | PHP | plugins/vanillicon/class.vanillicon.plugin.php | adrianspeyer/vanilla | gpl-2.0 | 4,131 | 132 | codeparrot/github-code |
c24492dd2153399db0960a15ec22a3f02454306e33b4f8ce7796bbe07a4cc590 | /**
* OWASP Benchmark Project v1.1
*
* This file is part of the Open Web Application Security Project (OWASP)
* Benchmark Project. For details, please see
* <a href="https://www.owasp.org/index.php/Benchmark">https://www.owasp.org/index.php/Benchmark</a>.
*
* The Benchmark is free software: you can redistribute it and/... | Java | src/main/java/org/owasp/benchmark/testcode/BenchmarkTest17998.java | iammyr/Benchmark | gpl-2.0 | 2,474 | 66 | codeparrot/github-code |
eddbb0ec9ff7aab0a5108384bd379c88efc4ada726c856dcbbae660eeff29b4e | package adamros.mods.transducers.item;
import java.util.List;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import adamros.mods.transducers.Transducers;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemBlock;
import net.minecraft.item.ItemStack;
import net... | Java | adamros/mods/transducers/item/ItemElectricEngine.java | adamros/Transducers | gpl-2.0 | 2,146 | 95 | codeparrot/github-code |
58482d910baaa17d01711603009e657eee2840dfe8803dfdd91de2544f78f67a | /* 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/glk/detection.h | alexbevi/scummvm | gpl-2.0 | 3,263 | 108 | codeparrot/github-code |
f1dc0d97e3b08c3a8a8c69ec74e2a377a8c090c9be5dfdf79216b95ceafd106b | ##
## Copyright 2007, Red Hat, Inc
## see AUTHORS
##
## This software may be freely redistributed under the terms of the GNU
## general public license.
##
## You should have received a copy of the GNU General Public License
## along with this program; if not, write to the Free Software
## Foundation, Inc., 675 Mass Ave... | Python | func/minion/modules/func_module.py | pombredanne/func | gpl-2.0 | 4,487 | 135 | codeparrot/github-code |
cd16b338f40ed7b5ad67ce2cadd9fefd04583036b55c86b2a8292fe68881cb8e | package lambda;
import java.awt.BorderLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JButton;
import javax.swing.JFrame;
public class Esempio extends JFrame {
public Esempio()
{
init();
}
private void init() {
BorderLayout b=new BorderLayout();
thi... | Java | java8/java8_lambda/src/main/java/lambda/Esempio.java | manuelgentile/MAP | gpl-2.0 | 663 | 43 | codeparrot/github-code |
27aeb22d21d918ff86ffcdfe57513bcbca36dd8e10c4378c7ec121c731dcc406 | <?php
require "tableinitiateclass.php";
require "../queryinitiateclass.php";
$tbl = new AddTable;
?>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Table index</title>
</head>
<style>
table
{
width:100%;
}
</style>
<body>
<?php
// just the headers
$array... | PHP | htmlwrapper/table/tableindex.php | cominteract/htmlwrapper_v1 | gpl-2.0 | 3,108 | 131 | codeparrot/github-code |
b94de007e2532c608cc1a20ec618e1349449f519d8179becd30b71fca1dd0825 | /*
You may freely copy, distribute, modify and use this class as long
as the original author attribution remains intact. See message
below.
Copyright (C) 1998-2006 Christian Pesch. All Rights Reserved.
*/
package slash.carcosts;
import slash.gui.model.AbstractModel;
/**
* An CurrencyModel holds a Currency... | Java | car-costs/src/main/java/slash/carcosts/CurrencyModel.java | cpesch/CarCosts | gpl-2.0 | 1,184 | 60 | codeparrot/github-code |
f3af2fd4ac2e06258142d7457d4834f4e12d73dd6c292c2f7b1efbb6d36430d9 | /**
@copyright
Copyright (c) 2008 - 2010, AuthenTec Oy. All rights reserved.
wince_wan_interface.h
This file contains the type definitions and function declarations
for Windows CE WAN Interfaces (i.e. dial-up interfaces).
*/
#ifndef SSH_WINCE_WAN_INTERFACE_H
#define SSH_WINCE_WAN_INTER... | C | drivers/net/eip93_drivers/quickSec/src/interceptor/windows/winim/wince_wan_interface.h | invisiblek/kernel_808l | gpl-2.0 | 4,932 | 123 | codeparrot/github-code |
6e0ca8c0b50be56b2176a58b5536c0a9601abb50dcb25e6b1f2e621d2d26a800 | package de.superioz.moo.network.client;
import de.superioz.moo.network.server.NetworkServer;
import lombok.Getter;
import de.superioz.moo.api.collection.UnmodifiableList;
import java.net.InetSocketAddress;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.u... | Java | network/src/main/java/de/superioz/moo/network/client/ClientManager.java | Superioz/MooProject | gpl-2.0 | 5,716 | 194 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.