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 |
|---|---|---|---|---|---|---|---|---|
d2345498aefc3dfa0b76af1ae22f9de2673f40e5f6bc6e6718584cb9bfbcb18f | /** \file decentral_module_management.cpp
* Contains the class functions of the decentral module managemener in
* the \link voraus::Voraus Voraus \endlink framework.
* Author : Martin Seidel
*
* This file depends on decentral_module_management.hpp
**/
#include "decentral_module_management.hpp"
namespace module... | C++ | src/module_management/decentral_module_management.cpp | ein57ein/voraus | gpl-2.0 | 4,314 | 133 | codeparrot/github-code |
5bee25c9997a11d697638e8b704b8521d72015e988c2bba5458ae37910bd8fce | /*
* 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 Software Foundation.
*
* This code is distributed in the hope that it will be ... | Java | test/java/util/concurrent/locks/Lock/Mutex.java | FauxFaux/jdk9-jdk | gpl-2.0 | 3,212 | 85 | codeparrot/github-code |
7b45c3ff36a9de6169594441becbe56c5f3313937ab897f6c60b9ff3bd3420e3 | /*
* Copyright (c) 2007, 2008, 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 ... | C++ | jdk/src/windows/native/sun/java2d/d3d/D3DSurfaceData.cpp | shchiu/openjdk | gpl-2.0 | 19,882 | 634 | codeparrot/github-code |
38b33a263ac50c0adabe2a7b28d13edd3f4cd3dc06adee842f63f5370db2be83 |
////////////////////////////////////////////////////////////////////////
// This file is part of the SndObj library
//
// 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++ | src/IADSR.cpp | johnglover/sndobj | gpl-2.0 | 2,946 | 114 | codeparrot/github-code |
6b9d2421ce761b79563552c7b24a0e778830a2a655623990f6b8b1286a2f3676 | <?php
if ( ! defined( 'ABSPATH' ) ) exit;
/*---------------------------------------------------------------------------------*/
/* Adspace Widget */
/*---------------------------------------------------------------------------------*/
class Woo_AdWidget extends WP_Widget {
var $settings = array( 'title', 'adco... | PHP | wp-content/themes/justshop/includes/widgets/widget-woo-adspace.php | awadnajilp/delivour | gpl-2.0 | 3,894 | 85 | codeparrot/github-code |
e8839cd57d6548c69fd6c448b3f53399cda121fa738ee73fae48514fc4ef052f | <?php
/**
* File Name PBWebToProspectOptionsPage.php
* @package WordPress
* @subpackage ParentTheme
* @license GPL v2 - http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
* @version 1.0
* @updated 00.00.00
**/
####################################################################################################... | PHP | PBWebToProspectOptionsPage.php | Metacakery/pbase-webtoprospect-wp | gpl-2.0 | 15,339 | 575 | codeparrot/github-code |
0b7caeaa0c9937c9c79dc8811d318b3782871c8626333de090f533cefa772ad3 | /**
* 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/BenchmarkTest16926.java | iammyr/Benchmark | gpl-2.0 | 2,641 | 86 | codeparrot/github-code |
576fded0a4326ff7a1f48ae8d3939b56374bd78a8f719d38161de6021d71347f |
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include "framebuffer/fb_draw.h"
#include "image2screen.h"
static int fb0;
static void *fbdata_buf = NULL;
static int fbdata_bufsize = 0;
extern void image2screen_init(char *fb_file)
{
fb_open(fb_file);
fbdata_bufsize = fb_bufsize();
printf("The buf... | C | lib/image2screen.c | shawn-peng/net-screen-demo | gpl-2.0 | 1,989 | 119 | codeparrot/github-code |
7f447107e095ff37aebce45f402f2f876b4bc0fd736fb0124b5964b8e7027ca9 | <?php
(!defined('IN_PowerBB')) ? die() : '';
$CALL_SYSTEM = array();
$CALL_SYSTEM['PM'] = true;
$CALL_SYSTEM['ICONS'] = true;
$CALL_SYSTEM['TOOLBOX'] = true;
$CALL_SYSTEM['FILESEXTENSION'] = true;
$CALL_SYSTEM['ATTACH'] = true;
$CALL_SYSTEM['MODERATORS'] = true;
$CALL_SYSTEM['USERRATING'] = ... | PHP | modules/pm_show.module.php | pbboard/pbboard_3.0.2 | gpl-2.0 | 14,429 | 387 | codeparrot/github-code |
997f19aec7b2e0089ef5cf5e7738eff1069b6ba57a396aa3039c4bff6617c02d | <?php
// Make sure no one attempts to run this script "directly"
if (!defined('PUN')) {
exit;
}
// Tell admin_loader.php that this is indeed a plugin and that it is loaded
define('PUN_PLUGIN_LOADED', 1);
define('PLUGIN_VERSION', 1.3);
if (isset($_POST['prune'])) {
// Make sure something something was entered
... | PHP | plugins/AP_User_management.php | tipsun91/punbb-mod | gpl-2.0 | 14,439 | 276 | codeparrot/github-code |
a3cb80a1efeaa021921b2fd484ab2eb40ca2bb8c7b8626ce9b6c0f98afc4f5e7 | <?php
namespace Core\Bundle\BlogBundle\Model;
use Symfony\Component\Validator\Constraints as Assert;
class CommentFront
{
/**
* @Assert\NotBlank()
*/
protected $name;
/**
* @Assert\NotBlank()
*/
protected $email;
/**
* @Assert\NotBlank()
*/
protected $comme... | PHP | Model/CommentFront.php | sastu/BlogBundle | gpl-2.0 | 811 | 55 | codeparrot/github-code |
9b16049148577e38aa30df9e52939a56cc90c33924a4f7ec5a77c1700e7541b8 | /***************************************************************************
ADM_muxerUtils.cpp - description
-------------------
copyright : (C) 2008 by mean
email : fixounet@free.fr
********************************************... | C++ | avidemux/ADM_coreMuxer/src/ADM_muxerUtils.cpp | BackupTheBerlios/avidemux | gpl-2.0 | 2,064 | 64 | codeparrot/github-code |
d4378a61f43642d6f08920140968ee97dce5b1666d15aaa4f2f8306716384906 | /*
* Copyright (C) 2005-2008 Team XBMC
* http://www.xbmc.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, or (at your option)
* any later version.
*
... | C++ | xbmc/video/windows/GUIWindowVideoBase.cpp | xbmc/android | gpl-2.0 | 62,643 | 2,058 | codeparrot/github-code |
06ebd767ee0feb1961c3984c3b8bf3935a03109cabba8021cf80c3a2be53f211 | {% macro lang( label, lang ) %}
{% if lang %}
{% if lang != contentLang %}
<a href="{{ rootUrl }}/{{ lang }}{{ pagePath }}">{{ label }}</a>
{% else %}
<span>{{ label }}</span>
{% endif %}
{% endif %}
{% endmacro %}
{% macro text( label, link, target ) %}
{% if link %}
<a href="{% if link starts with '... | HTML | htdocs/justcms/defaults/themes/default/twig/util/link.html | team-aries/justcms | gpl-2.0 | 771 | 31 | codeparrot/github-code |
b8d8bb75b1dcb33f08a20096798007a6a45dfa87869bc547f8bbd030d2f3d838 | using UnityEngine;
using UnityEditor;
using System.Collections;
namespace M8.Editor {
public class ProjectObjectPlacer : EditorWindow {
const string prefKey = "projectobjplace";
static int mDupCounter = 0;
private int mAxisInd = 0;
private string[] mAxisNames = { "X", "Y", "Z" };... | C# | Assets/M8/Editor/Tools/ProjectObjectPlacer.cs | ddionisio/WreckingWhore | gpl-2.0 | 10,261 | 285 | codeparrot/github-code |
ca2606b2461b8a865150183b49b06a4b7b79a6c150ab6f0cd824d15f722c9f15 | /*!
* smooth-scroll v16.1.0
* Animate scrolling to anchor links
* (c) 2019 Chris Ferdinandi
* MIT License
* http://github.com/cferdinandi/smooth-scroll
*/
(function (root, factory) {
if (typeof define === 'function' && define.amd) {
define([], (function () {
return factory(root);
... | JavaScript | assets/js/plugins/SmoothScroll/SmoothScroll.js | MattTavares/MattTavares.github.io | gpl-2.0 | 23,200 | 645 | codeparrot/github-code |
e58ef46ba651a7aff7ca0702a8b1f5d6f70fcf06646284972189fa5dd6ad2f06 | package C4::Members;
# Copyright 2000-2003 Katipo Communications
# Copyright 2010 BibLibre
#
# This file is part of Koha.
#
# Koha 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 Licen... | Perl | C4/Members.pm | MagnusEnger/kohanor32 | gpl-2.0 | 66,773 | 2,192 | codeparrot/github-code |
adb36fdf5f15b0b5d792397d2156e1eaa7805ac641ce77d6dc80c72374a158ab | package com.mbpr.gengjian.playface;
import java.util.List;
import android.content.Context;
import android.support.v4.view.PagerAdapter;
import android.support.v4.view.ViewPager;
import android.view.View;
/**
* Created by gengjian on 15/12/23.
*/
public class ViewPagerAdapter extends PagerAdapter {
private Lis... | Java | app/src/main/java/com/mbpr/gengjian/playface/ViewPagerAdapter.java | gengjian1203/PlayFace | gpl-2.0 | 1,100 | 49 | codeparrot/github-code |
df404c84a6526ba47e66e0b8a6d46f5171153d585ef45603780e85f037e1f1f1 | <?php
if ( PHP_SAPI !== 'cli' ) {
die( "CLI-only test script\n" );
}
/**
* Testing integration with MediaWiki OAuth Extension
*
* The current extension follows OAuth 1.0a spec and while the
* extension works, you have to be aware of a few quirks.
*
* This sample is there to help you work your mind through the ... | PHP | examples/testClient.php | wikimedia/mediawiki-extensions-OAuth | gpl-2.0 | 6,074 | 229 | codeparrot/github-code |
0ac188f168ab9e12e6e20f379c619522c039bb961923b0e153d8e6bb0c89e8d0 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="ru">
<head>
<title>PropertyFetcher (POI API Documentation)</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
</head>
<body>
<script... | HTML | lib/docs/apidocs/org/apache/poi/xslf/model/PropertyFetcher.html | setu9760/Jade_project_repo | gpl-2.0 | 11,391 | 297 | codeparrot/github-code |
633a53ff6a3cf743c8db13f584c1dcd5104637c7e7a0682ed05f9416814102c7 | <?php
/**
* ------------------------------------------------------------------------
* JUDownload for Joomla 2.5, 3.x
* ------------------------------------------------------------------------
*
* @copyright Copyright (C) 2010-2015 JoomUltra Co., Ltd. All Rights Reserved.
* @license GNU General... | PHP | components/com_judownload/helpers/judlview.php | kosmosby/medicine-prof | gpl-2.0 | 9,073 | 299 | codeparrot/github-code |
586f79007a7876d5ca02b877e9712643ec3091d2dcc9d08bf44869b192626443 | <aside id="sidebar" class="cf">
<?php if (function_exists('dynamic_sidebar') && dynamic_sidebar('Sidebar Top')); ?>
<section class="sidebar_section wrapper social_section">
<div class="follow_button facebook">
<div class="fb-like" data-href="https://facebook.com/ldnfashion" data-width="250" data-layout="standard... | PHP | parts/_sidebar.php | jonheslop/LDNfashion | gpl-2.0 | 3,728 | 56 | codeparrot/github-code |
c883f4dd07b6599a7ed5dbd7ea99d2dedba272b2f7ab5c49a1f7b88e62614233 | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using Autodesk.Max;
using ExplodeScript.UI;
using ManagedServices;
using MaxCustomControls;
using CustomControls;
using Test_ExplodeScript.UI;
namespace... | C# | ExplodeView.cs | VinCal/Explode | gpl-2.0 | 9,141 | 287 | codeparrot/github-code |
5eecc3fb8380dab72b80b2576f316d5ac0727c020a5a9240e3932738c289b3b0 | <?php
/**
* Ajax Controller Module
*
* PHP version 5
*
* Copyright (C) Villanova University 2010.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2,
* as published by the Free Software Foundation.
*
* This program is dist... | PHP | module/VuFind/src/VuFind/Controller/AjaxController.php | no-reply/cbpl-vufind | gpl-2.0 | 44,602 | 1,279 | codeparrot/github-code |
dbfa7dab877f6ae894d9439ca32aa1589b1819951836fad0e50cc886f32a1568 | /*
* STMicrolectronics STiG125 SoC audio glue driver
*
* Copyright (c) 2012-2013 STMicroelectronics Limited
*
* Authors: John Boddie <john.boddie@st.com>
* Japneet Chhatwal <Japneet.chhatwal@st.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the ter... | C | sound/stm/stig125.c | suzuke/pdk7105-stm-kernel | gpl-2.0 | 4,478 | 183 | codeparrot/github-code |
22752169b480988db9d4ef19c2a0a24cdff0b35fc8439bd9d064699e61dc6d99 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package delay.model;
/**
*
* @author M3 New
*/
public class Pesawat {
private String namaPesawat;
private String idPesawat;
private String idMaskapai;
public Pesawat(){
}
public... | Java | src/delay/model/Pesawat.java | 6306120058/Delay-Plane-Display-App | gpl-2.0 | 1,027 | 53 | codeparrot/github-code |
49a94a2ec031bf04fba266fcf5ff23e0e2d3dfe8c3ba6041dd12a6efc0797cca | <?php
/**
* The template for displaying Comments.
*
* The area of the page that contains both current comments
* and the comment form. The actual display of comments is
* handled by a callback to gp_comment() which is
* located in the functions.php file.
*
* @package GeoProjects
*/
?>
<?php
/*
* If the cu... | PHP | comments.php | Labomedia/geoprojects | gpl-2.0 | 4,461 | 90 | codeparrot/github-code |
666691103588f58938a62820a93ad542f450b766438bda6a2db1aa9b2996812d | package com.mediatek.gallery3d.ext;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import java.util.ArrayList;
/**
* The composite pattern class.
* It will deliver every action to its leaf hookers.
*/
public class Activ... | Java | packages/apps/Gallery2/ext/src/com/mediatek/gallery3d/ext/ActivityHookerGroup.java | rex-xxx/mt6572_x201 | gpl-2.0 | 3,654 | 145 | codeparrot/github-code |
91fc607a365d2f6acf62039d6aee01b530804efe0038d5d404e8396a806fb017 | /*
* lib/reed_solomon/encode_rs.c
*
* Overview:
* Generic Reed Solomon encoder / decoder library
*
* Copyright 2002, Phil Karn, KA9Q
* May be used under the terms of the GNU General Public License (GPL)
*
* Adaption to the kernel by Thomas Gleixner (tglx@linutronix.de)
*
* $Id: encode_rs.c 2 2007-04-05 08:... | C | linux/kernel_2.6/linux/lib/reed_solomon/encode_rs.c | odit/rv042 | gpl-2.0 | 1,317 | 55 | codeparrot/github-code |
f15ad5aef10030a4814a2fa20f4d2f9296d24e21731b087b414b0b98693f0481 | /***********************************************************************
DiskExtractor - Helper class to extract the 3D center points of disks
from depth images.
Copyright (c) 2015-2017 Oliver Kreylos
This file is part of the Kinect 3D Video Capture Project (Kinect).
The Kinect 3D Video Capture Project is free softwa... | C | Kinect/DiskExtractor.h | KeckCAVES/Kinect | gpl-2.0 | 7,414 | 168 | codeparrot/github-code |
9c2e35d0f449b558ad49151436b2ca83d7edc77dee3e528049f49e4b7a66172d | /*____________________________________________________________________________
ExifPro Image Viewer
Copyright (C) 2000-2015 Michael Kowalski
____________________________________________________________________________*/
// ImgBatchModeDlg.cpp : implementation file
//
#include "stdafx.h"
#include "r... | C++ | src/ImgBatchModeDlg.cpp | mikekov/ExifPro | gpl-2.0 | 4,565 | 202 | codeparrot/github-code |
ef2dcca795f2041c45fd8933fc2a1dfbcc1f3ab2770731f07ced2a0de96da527 | var State = Backbone.State = function(options) {
options || (options = {});
};
_.extend(State.prototype, Backbone.Events, {
classes: [],
before: null,
on: null,
after: null,
events: {},
triggers: [],
multistate: [],
_isStateDescribedInSet: function( set, state ) {
var ... | JavaScript | backbone.states.js | jonathanrevell/tokamak | gpl-2.0 | 2,952 | 125 | codeparrot/github-code |
47ba20c96ede14bdd629f7d0984672cfa2e6ced12b101c626f5d60af59c751df | /*
* High-level sync()-related operations
*/
#include <linux/kernel.h>
#include <linux/file.h>
#include <linux/fs.h>
#include <linux/slab.h>
#include <linux/export.h>
#include <linux/namei.h>
#include <linux/sched.h>
#include <linux/writeback.h>
#include <linux/syscalls.h>
#include <linux/linkage.h>
#include <linux/... | C | fs/sync.c | LiquidSmokeX64/android_kernel_oneplus_msm8974-UR3.6 | gpl-2.0 | 10,123 | 387 | codeparrot/github-code |
0fe4cb0ee767d41d048d35cb550fddfb62399b695634d366fd7e07159839b8c7 | /*
Copyright (C) 2004 Michael Liebscher <wolf3d.redux@gmail.com>
Copyright (c) 1998 Todd C. Miller <Todd.Miller@courtesan.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
... | C | wolf3dredux/env/com_string.h | MichaelLiebscher/Wolfenstein3D_Redux | gpl-2.0 | 2,701 | 87 | codeparrot/github-code |
79bd1ec82f6ba1e4e9a51d0c853b6487b7d1703dae7a32ea8080011996ea0a2d | <?php
require_once 'View/ViewHelper.php';
/**
* Description of View
*
* @author Jessica
*/
class View extends ViewHelper
{
/**
* WordPress Screen name, ex. post.php, edit.php. Can
* be an array for multiple screens
*
* @var string|array
*/
protected $_hook = array();
... | PHP | wp-content/plugins/mangapress/framework/View.php | gbish/bernard | gpl-2.0 | 6,134 | 252 | codeparrot/github-code |
3656538b83d16eff53881bf073e0857a1435cd2b75550f7ca46b43763cb1e2a2 | using System;
using System.Linq;
using LeagueSharp;
using LeagueSharp.Common;
using SharpDX;
using SharpDX.Direct3D9;
using Color = System.Drawing.Color;
namespace TAC_Kalista
{
class DrawingHandler
{
public static Device DxDevice = Drawing.Direct3DDevice;
public static Line DxLine;
pub... | C# | TAC_Kalista/TAC Kalista/DrawingHandler.cs | thanhdongsl1990/Twightlight_Y2Knight | gpl-2.0 | 7,695 | 197 | codeparrot/github-code |
724589616ab7c7300ae00c0ef051c81c41803ffab425e87451db74b493111f7e | /* $Id: UIGraphicsRotatorButton.cpp $ */
/** @file
* VBox Qt GUI - UIGraphicsRotatorButton class definition.
*/
/*
* Copyright (C) 2012 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
* you can redistrib... | C++ | src/VBox/Frontends/VirtualBox/src/widgets/graphics/UIGraphicsRotatorButton.cpp | miguelinux/vbox | gpl-2.0 | 8,544 | 240 | codeparrot/github-code |
0b92efafc1ba0758075483897c39ff6814fbec040f66522cff8f9f46890ab14e | #include <iostream>
#include <cstdlib>
#include <vector>
#include <fstream>
#include "strings.cpp"
#define NAMEFILE "./names.txt"
#define JOBFILE "./jobs.txt"
#define TRIM (after(buffer,':'))
//Define global variables
vector<string> femaleNames;
vector<string> maleNames;
vector<string> lastNames;
/*
//!Return number ... | C++ | func.cpp | SexualLobster/ActualEntity | gpl-2.0 | 1,463 | 69 | codeparrot/github-code |
f4097b0d27dd82a22de100f0c547244640c5f57d0735135a99bbbc5644d303d4 | // $Id$
/* Copyright (C) 2004-2006 John B. Shumway, Jr.
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.
T... | C++ | src/sampler/RandomPermutationChooser.cc | ShaningSoul/pi-qmc | gpl-2.0 | 1,389 | 39 | codeparrot/github-code |
aa1473e5411db26304ec4f4529ff8a2691f03922b7f7404d92fe0cb03656d7f3 | /*
Copyright 2004-2015 Manuel Baptista
This file is part of GODESS
GODESS 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.
GODESS is distr... | C++ | src/runge_kutta_4.C | mbaptist/godess | gpl-2.0 | 1,440 | 59 | codeparrot/github-code |
8de3e0d73dc1b15696d99bebcbf6452626e964bbd18265c8b752f566bcda17b6 | #!/usr/bin/env python
'''# shufflez.py '''
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following ... | Python | shuffelz.py | Logic-gate/shuffelz | gpl-2.0 | 4,742 | 149 | codeparrot/github-code |
ef5e2212288a67443ea010143663cabbff21431512942161dfa87e59fdbb4839 | /* Copyright_License {
XCSoar Glide Computer - http://www.xcsoar.org/
Copyright (C) 2000-2011 The XCSoar Project
A detailed list of copyright holders can be found in the file "AUTHORS".
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
... | C++ | src/Engine/Util/AircraftStateFilter.cpp | smurry/XCSoar | gpl-2.0 | 3,293 | 118 | codeparrot/github-code |
e2044aaa069ce25e886605690476da5e41a14bf1e6825086fd1f261a8c2878e7 | /*
* Copyright (c) 2015 High Tech Kids. All rights reserved
* HighTechKids is on the web at: http://www.hightechkids.org
* This code is released under GPL; see LICENSE.txt for details.
*/
package fll.web.report;
import java.io.IOException;
import java.sql.Connection;
import java.sql.SQLException;
import java.uti... | Java | src/main/java/fll/web/report/PromptSummarizeScores.java | jpschewe/fll-sw | gpl-2.0 | 4,759 | 135 | codeparrot/github-code |
af70880610103b20037a2947a0e4a5069c558b944faa054860eb1cc383f58f14 | package exec
import (
"bytes"
"fmt"
"io"
"os"
osexec "os/exec"
"strings"
"github.com/zimmski/backup"
)
// Combined executes a command with given arguments and returns the combined output
func Combined(name string, args ...string) (string, error) {
if backup.Verbose {
fmt.Fprintln(os.Stderr, "Execute: ", na... | GO | exec/exec.go | zimmski/backup | gpl-2.0 | 1,171 | 55 | codeparrot/github-code |
beec30b829ac66681cb0abaacb97768c45bdae588fc8331c97c33277724686b6 | package io.github.phantamanta44.botah.core.context;
import io.github.phantamanta44.botah.core.rate.RateLimitedChannel;
import io.github.phantamanta44.botah.util.MessageUtils;
import sx.blah.discord.api.Event;
import sx.blah.discord.handle.obj.IChannel;
import sx.blah.discord.handle.obj.IGuild;
import sx.blah.discord.h... | Java | src/main/java/io/github/phantamanta44/botah/core/context/GenericEventContext.java | phantamanta44/BotAgainstHumanity | gpl-2.0 | 2,047 | 90 | codeparrot/github-code |
28b015d3a0f29557d6770859773c64ea0bd9e2e5c080e22bb9a15016be8b4850 | <?php
/**
* File containing the eZTSTranslator class.
*
* @copyright Copyright (C) 1999-2011 eZ Systems AS. All rights reserved.
* @license http://ez.no/licenses/gnu_gpl GNU General Public License v2.0
* @version 4.2011
* @package lib
* @subpackage i18n
*/
/**
* Provides internationalization using XML (.ts) f... | PHP | lib/ezi18n/classes/eztstranslator.php | imadkaf/lsdoEZ4 | gpl-2.0 | 27,009 | 766 | codeparrot/github-code |
bb3dcc4917783251854056029d768989c4576d393996e0970b92d16b59063859 | /*
High Adventure 3D Game Engine
Copyright (C) 2002 Rodney Degracia
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... | C | engine/Distance.h | rdegraci/high-adventure-engine | gpl-2.0 | 4,802 | 167 | codeparrot/github-code |
f2857bf329dcc1fc3ac44761c1125969d759246a2d5b8ab0e38048cbdb2d1a30 | /*
$port: miscsettings_menu.cpp,v 1.3 2010/12/05 22:32:12 tuxbox-cvs Exp $
miscsettings_menu implementation - Neutrino-GUI
Copyright (C) 2010 T. Graf 'dbt'
Homepage: http://www.dbox2-tuning.net/
License: GPL
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU G... | C++ | src/gui/miscsettings_menu.cpp | lexandr0s/nmp-sdl | gpl-2.0 | 26,742 | 648 | codeparrot/github-code |
4fe2c4ca28c2bae7e86fe280cffda5b18c2bb622d47b1c7aef2589bf8644e2c7 | # Copyright (C) 2009 Jeremy S. Sanders
# Email: Jeremy Sanders <jeremy@jeremysanders.net>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# ... | Python | veusz/document/emf_export.py | veusz/veusz | gpl-2.0 | 14,778 | 431 | codeparrot/github-code |
c2f0e3d924a647ede041aec64f358e809fab734fe3857b5a41a7560a84504826 | // Query.h: interface for the CQuery class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_QUERY_H__8A3116E5_E735_4FF9_A61D_5566130C3610__INCLUDED_)
#define AFX_QUERY_H__8A3116E5_E735_4FF9_A61D_5566130C3610__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 10... | C | SCFDS/Source/DB/Query.h | TitansTech/TitanLinkServer | gpl-2.0 | 1,746 | 73 | codeparrot/github-code |
d6417be170657cc0757c6d742fba142bf62f4bbb8283176a06a2e96d301b3c15 | /*
Copyright 2005-2010 Intel Corporation. All Rights Reserved.
This file is part of Threading Building Blocks.
Threading Building Blocks 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 Foundat... | C++ | src/perf/time_hash_map_fill.cpp | dusek/tbb | gpl-2.0 | 6,610 | 171 | codeparrot/github-code |
b83a59d387c888b4373d2c025862e1b221d759b9d8de236a9b8a23e68e722d5b | /*
Syntax highlighting with language autodetection.
http://softwaremaniacs.org/soft/highlight/
*/
var DEFAULT_LANGUAGES = ['python', 'ruby', 'perl', 'php', 'css', 'xml', 'html', 'django', 'javascript', 'java', 'cpp', 'sql', 'smalltalk'];
var ALL_LANGUAGES = (DEFAULT_LANGUAGES.join(',') + ',' + ['1c', 'ada', 'elisp', '... | JavaScript | external_libraries/highlight/highlight.js | enzbang/diouzhtu | gpl-2.0 | 13,554 | 429 | codeparrot/github-code |
fd0bc096219645a8e0dc3b878091fc4aae72d7821dac432abd849fe7ca0abbac | subroutine evcx(xsize,hsize,yb,sb,xi,rhs,ocx1,ocx2,err)
implicit none
double precision yb,sb,xi,rhs,ocx1,ocx2
integer xsize,hsize,err
integer i,j
double precision t11,t12,t21,t22,d1
double precision mb1,mb2,cx1,cx2
dimension rhs(xsize+hsize,3),yb(xsize),sb(xsize)
... | FORTRAN | algorithm/evdir.f | Ichabod/rstool | gpl-2.0 | 3,813 | 183 | codeparrot/github-code |
4ff19741ec8fea8e103d318ed06eb8d3516cd53127a410b31c5b73262115ac40 | <?php
namespace rocket_font;
/**
* ClassLoader Class
*
* 아래 폴더에 있는 php 파일을 검색해 자동으로 include
* * features/core - 항상 로드할 파일들
* * features/admin - 관리자에서만 사용할 파일들
* * features/client - 프론트엔드(유저화면)에서만 사용할 파일들
*/
class ClassLoader {
public function load_plugin_classes() {
$load_list = array();
$load_l... | PHP | features/class-loader.php | wp-plugins/rocket-font | gpl-2.0 | 1,305 | 61 | codeparrot/github-code |
5551e2fd61c9d748c028570e56f733876ddf0d029b98fc6c9ba9b20b1d820419 | <?php
/*=================================================
Disable Wordpress Autoformatting
==================================================*/
function convax_formatter($content) {
$new_content = '';
//Matches the contents and the open and closing tags
$pattern_full = '{(\[raw\].*?\[/raw\])}is';
//Matches ju... | PHP | inc/fn-common.php | pruthu/Horizon-wp-theme | gpl-2.0 | 1,794 | 59 | codeparrot/github-code |
0df0f18484d68129812919c381d535b341191e4c3f2fe45d5e30f71f5b0cb350 | --YZ-キャタピラー・ドラゴン
function c25119460.initial_effect(c)
--fusion material
c:EnableReviveLimit()
aux.AddFusionProcCode2(c,65622692,64500000,true,true)
aux.AddContactFusionProcedure(c,Card.IsAbleToRemoveAsCost,LOCATION_ONFIELD,0,Duel.Remove,POS_FACEUP,REASON_COST)
--spsummon condition
local e1=Effect.CreateEffect(c)
... | Lua | c25119460.lua | Fluorohydride/ygopro-scripts | gpl-2.0 | 1,907 | 49 | codeparrot/github-code |
3e91cdd330774dd249d778bb8e072ee4c207ed86df35840cb938e1c3305ddcf3 | #
# The Python Imaging Library.
# $Id$
#
# TIFF file handling
#
# TIFF is a flexible, if somewhat aged, image file format originally
# defined by Aldus. Although TIFF supports a wide variety of pixel
# layouts and compression methods, the name doesn't really stand for
# "thousands of incompatible file formats," it jus... | Python | bin/external/pil/TiffImagePlugin.py | ppizarror/Ned-For-Spod | gpl-2.0 | 27,979 | 860 | codeparrot/github-code |
f525e19db7276c1adc2d79489220d8ff4bb4eb7e8e82175f80c24d9a672e7776 | /*
Copyright (c) 2009 Michael Leupold <lemma@confuego.org>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This pr... | C | mailcommon/filter/mdnadvicedialog.h | kolab-groupware/kdepim | gpl-2.0 | 2,584 | 99 | codeparrot/github-code |
22847ab5dfd029436c561efe2e7a69e65ebaceab10c1bc4cec97c0c11b043784 | // This is generic code that is included in all Android apps that use the
// Native framework by Henrik Rydgård (https://github.com/hrydgard/native).
// It calls a set of methods defined in NativeApp.h. These should be implemented
// by your game or app.
#include <jni.h>
#include <android/log.h>
#include <stdlib.h>
... | C++ | native/android/app-android.cpp | glaubitz/ppsspp-debian | gpl-2.0 | 12,069 | 382 | codeparrot/github-code |
34541759e5660dd2f89755de3156ad8073d38e5a072bcd07196b50672904f7d5 | /*
*
* Copyright (C) 2011-2013 ArkCORE <http://www.arkania.net/>
*
* Copyright (C) 2008-2013 TrinityCore <http://www.trinitycore.org/>
*
* Copyright (C) 2006-2009 ScriptDev2 <https://scriptdev2.svn.sourceforge.net/>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms o... | C++ | src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_skeram.cpp | planee/SoDCORE | gpl-2.0 | 7,827 | 246 | codeparrot/github-code |
1e9ac5e236cd12bc18bc757cf1d93d37a17c0c509186a788a0db2502299802e9 | /* Handle SOM shared libraries.
Copyright (C) 2004, 2005, 2007, 2008, 2009, 2010
Free Software Foundation, Inc.
This file is part of GDB.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Found... | C | gdb/solib-som.c | legumbre/gdb-z80 | gpl-2.0 | 26,506 | 871 | codeparrot/github-code |
439b0e83b4fc926c95213fec0b9946794e1dedb7323127f38db43fb194830f98 | /***
This file is part of systemd.
Copyright 2012 Lennart Poettering
systemd is free software; you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 2.1 of the License, or
(at your option) any later ve... | C | src/basic/calendarspec.c | mohan43u/systemd | gpl-2.0 | 34,101 | 1,240 | codeparrot/github-code |
2a89df3d098a90b4499ee1407c703c18b11cde3c17f3ca0c7af5e50324b0f02e | /*
* =====================================================================================
*
* Filename: hello.c
*
* Description:
*
* Version: 1.0
* Created: 2012年09月04日 11时47分44秒
* Revision: none
* Compiler: gcc
*
* Author: James Lee (Jsl), pighacker@gmail... | C | platform/kernel_module/block_device/jsl_mod.c | princeofdream/debug_src_full | gpl-2.0 | 4,522 | 235 | codeparrot/github-code |
4751af7ca78c57932f4c09f5fc45e041700a017e7e2f6b168979d9220c368161 | #!/usr/local/bin/python3
class TestClass(object):
def foo():
doc = "The foo property."
def fget(self):
return self._foo
def fset(self, value):
self._foo = value
def fdel(self):
del self._foo
return locals()
foo = property(**foo())
... | Python | pythonjournal/proptest.py | Etzeitet/pythonjournal | gpl-2.0 | 953 | 51 | codeparrot/github-code |
c500742a4af2ada2b33110f7921404e47f978701749f6cf9206ec11c5bb56d4f | /*
* Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
*
* 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 License, or (at your option) any ... | C++ | modules/javafx.web/src/main/native/Source/WebCore/html/HTMLProgressElement.cpp | teamfx/openjfx-9-dev-rt | gpl-2.0 | 5,133 | 170 | codeparrot/github-code |
85423a752d0beb8f34dcff62aa90eed8e03c9f8e20f1eca2f51e7017306105a4 | /*
* Copyright 2016-2020 Ping Identity Corporation
* All Rights Reserved.
*/
/*
* Copyright 2016-2020 Ping Identity Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* ... | Java | src/com/unboundid/ldap/sdk/unboundidds/tools/SplitLDIFFilterTranslator.java | UnboundID/ldapsdk | gpl-2.0 | 11,362 | 310 | codeparrot/github-code |
671fdb5e680abf1f84c57428bef533b114770e6a69e3c68fea71b54efdb5376c | #include <stdlib.h>
#include <string.h>
#include <QStringList>
#include <QDir>
#include <QDebug>
#include "acpiutils.h"
//==================================================================================
#define ACPI_PATH_PROC "/proc/acpi/"
#define ACPI_PATH_SYS "/sys/class/"
struct AcpiDevice
{
int ... | C++ | src.panel/applet-acpi/acpiutils.cpp | yede/yepanel | gpl-2.0 | 2,149 | 79 | codeparrot/github-code |
50051085f6130af20e3deaa5001f17aaf70033a1624b9ef04530d67b65e231cc | #!/usr/bin/python
import sys, os, urllib, argparse, base64, time, threading, re
from gi.repository import Gtk, WebKit, Notify
webView = None
def refresh(widget, event):
global webView
webView.reload()
window_title = ''
def HandleTitleChanged(webview, title):
global window_title
window_title = title
... | Python | simple_browse.py | DavidMulder/simple_browse | gpl-2.0 | 8,391 | 210 | codeparrot/github-code |
ede66fe429f383cdfbb18ca760adcc5b9103cdeeaa6028fb804230f16c1d0d93 | /****************************************************************************
**
** Copyright (C) 1992-2008 Trolltech ASA. All rights reserved.
**
** This file is part of the tools applications of the Qt Toolkit.
**
** This file may be used under the terms of the GNU General Public
** License versions 2.0 or 3.0 as pub... | C++ | qtopiacore/qt/tools/qdoc3/qscodemarker.cpp | muromec/qtopia-ezx | gpl-2.0 | 11,397 | 384 | codeparrot/github-code |
d0c5fb448ce5de497b22cd3eba8c981f4c4607e19189693d951e0245958adb46 | <?php defined('_JEXEC') or die('Restricted access'); ?>
<?php
$itemid = JoomdleHelperContent::getMenuItem();
?>
<div class="joomdle-userlist<?php echo $this->pageclass_sfx;?>">
<?php if ($this->params->get('show_page_heading', 1)) : ?>
<h1>
<?php echo $this->escape($this->params->get('page_heading')); ?>
... | PHP | components/com_joomdle/views/teachersabc/tmpl/default.php | alons182/uninpe | gpl-2.0 | 1,444 | 37 | codeparrot/github-code |
d100a11436fc9f7dc1462467bc8b8b1c9dd82a913d7bbe1e8a8822a1365cad39 | /*
* poll_windows: poll compatibility wrapper for Windows
* Copyright (C) 2009-2010 Pete Batard <pbatard@gmail.com>
* With contributions from Michael Plante, Orin Eman et al.
* Parts of poll implementation from libusb-win32, by Stephan Meyer et al.
*
* This library is free software; you can redistribute it and/or... | C | external/libusb_aah/libusb/os/poll_windows.c | qtekfun/htcDesire820Kernel | gpl-2.0 | 15,953 | 672 | codeparrot/github-code |
8a07d0329e15f7828ec6d85fd2e1ed2abb41bacebeeae76777020636d338e903 |
<!DOCTYPE html>
<html lang="en-US">
<!-- Mirrored from www.w3schools.com/jquerymobile/tryit.asp?filename=tryjqmob_icons_delete by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 23 Jan 2015 07:40:33 GMT -->
<head>
<title>Tryit Editor v2.3</title>
<meta id="viewport" name='viewport'>
<script>
(function() {
if ( navigat... | HTML | Coding/W3School/W3Schools_Offline_2015/www.w3schools.com/jquerymobile/tryitb21d.html | platinhom/ManualHom | gpl-2.0 | 5,843 | 156 | codeparrot/github-code |
c50d6a00a5419d0b76313587de6a85b0af8cffcda8ee329c5fcd74559fdfd3ef |
<!DOCTYPE html>
<html lang="en-US">
<!-- Mirrored from www.w3schools.com/tags/tryit.asp?filename=tryhtml5_keygen_name by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 23 Jan 2015 08:23:54 GMT -->
<head>
<title>Tryit Editor v2.3</title>
<meta id="viewport" name='viewport'>
<script>
(function() {
if ( navigator.userAg... | HTML | Coding/W3School/W3Schools_Offline_2015/www.w3schools.com/tags/tryit630d.html | platinhom/ManualHom | gpl-2.0 | 5,243 | 147 | codeparrot/github-code |
b506e14182314704bab9c52083e0fa44e0b432958240ccd23c61d90b5f787f08 | /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
/* (c) Johannes Schmid 2003
* 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 | plugins/message-view/message-view.c | abderrahim/anjuta | gpl-2.0 | 38,175 | 1,382 | codeparrot/github-code |
170fe6e563790b2578ff96e83b3eee9a589d67f7e6ab33ff5dcce5f3c33eb1af | /**
* @file
* @brief shared alias model loading code (md2, md3)
*/
/*
Copyright (C) 1997-2001 Id Software, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or... | C++ | src/client/renderer/r_model_alias.cpp | Qazzian/ufoai_suspend | gpl-2.0 | 23,883 | 695 | codeparrot/github-code |
b72545e6398047e63c30f67ffb8550e4571c88f3d244ad0de155960e30a83d02 | <?php
/*
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
*
* == BEGIN LICENSE ==
*
* Licensed under the terms of any of the following licenses at your
* choice:
*
* - GNU General Public License Version 2 or later (the "GPL")
* ... | PHP | javascript/scribite_editors/fckeditor/editor/filemanager/browser/default/connectors/php/commands.php | grlf/eyedock | gpl-2.0 | 5,598 | 226 | codeparrot/github-code |
a3e91758b5b2c5538ad7ab2ee6bb3cb982f237687b23c03a2e06076670e3c5c1 | /*
NEshare is a peer-to-peer file sharing toolkit.
Copyright (C) 2001, 2002 Neill Miller
This file is part of NEshare.
NEshare is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the... | C | ne_client/neshareclientthreads.h | thecodefactory/neshare | gpl-2.0 | 4,779 | 107 | codeparrot/github-code |
30e92e91dde166636c358bfee1589e875244d23da1ed5e2fd6c31b19b65c4be8 | /*
*
* Copyright (C) 2007 Google, Inc.
* Copyright (c) 2007-2011, Code Aurora Forum. All rights reserved.
*
* 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 ... | C | arch/arm/mach-msm/acpuclock-7x30.c | StarKissed/starkissed-kernel-mecha | gpl-2.0 | 15,651 | 586 | codeparrot/github-code |
b6b1757e690a2313dd11699f46d441780c6bf06381f94b08e4d123e0005b108b | <?php
if(!empty($_POST['email']))
{
$data['firstname'] = $_POST['firstname'];
$data['surname'] = $_POST['surname'];
$data['email'] = $_POST['email'];
$data['phone'] = sha1($_POST['phone']);
$data['ipinterests'] = $_POST['ipinterests'];
$data['displayvillage'] = $_POST['displayvillage'];
$dat... | PHP | wp-content/themes/realestate/tpl-contact.php | nguyenthai2010/realestate | gpl-2.0 | 6,562 | 167 | codeparrot/github-code |
abc95116523cbaaf2c2b2ae2ed10c5f2200692f153d2ef8ed325c5d59ec36f39 | package com.xebia.googlevrpanorama;
import android.app.Activity;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.os.AsyncTask;
import android.support.annotation.UiThread;
import android.util.Log;
import android.util.Pair;
import android.util.LruCach... | Java | android/src/main/java/com/xebia/googlevrpanorama/RNGoogleVRPanoramaView.java | Apacio/react-native-google-vr-panorama | gpl-2.0 | 9,255 | 308 | codeparrot/github-code |
23e975348c9e38b9fa910af0b7460f013db6c6174cae23d4aa311e857f4acc42 | package com.holdit.feedthemax;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.ImageButton;
import android.widget.RelativeLayout;
import android.widget.TextView;
import static com.holdit.feedthemax.MainActivity.rbt1qu;
import static ... | Java | RobotsActivity.java | GreenGas48/Feed-The-Max | gpl-2.0 | 3,148 | 93 | codeparrot/github-code |
dd927646983ff1ae20180053fbe6547ddbc643cae65e053886fb51d2311eeded | /* ksim - a system monitor for kde
*
* Copyright (C) 2001 Robbie Ward <linuxphreak@gmx.co.uk>
*
* 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 | ksim/ksimpref.h | Fat-Zer/tdeutils | gpl-2.0 | 3,350 | 114 | codeparrot/github-code |
d4898224805fc73ed0516935d1e4baaeb51964b0e542f1ac6efae18946107d90 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright 2007 Zuza Software Foundation
#
# This file is part of translate.
#
# translate 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... | Python | storage/wordfast.py | lehmannro/translate | gpl-2.0 | 16,125 | 417 | codeparrot/github-code |
6c29a89cb94ce2f6388c8dbe2eb0b290b2b8180a5443794a11a19fbbb19a94cb | <?php
/**
* @package EasySocial
* @copyright Copyright (C) 2010 - 2014 Stack Ideas Sdn Bhd. All rights reserved.
* @license GNU/GPL, see LICENSE.php
* EasySocial is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is deriva... | PHP | administrator/components/com_easysocial/includes/cluster/cluster.php | Creativetech-Solutions/joomla-easysocial-network | gpl-2.0 | 37,890 | 1,466 | codeparrot/github-code |
412f3fd5a315e28c8b9881408a38c253e76da3e4546626c70874e619fd7a81da | <?php
// security check - must be included in all scripts
if (!$GLOBALS['kewl_entry_point_run']) {
die("You cannot view this page directly");
}
/**
*
* Controller class for Chisimba for the phpinfo
*
* @author Derek Keats
* @package timeline
*
*/
class phpinfo extends controller
{
/**
* @var $objLog Strin... | PHP | phpinfo/controller.php | chisimba/modules | gpl-2.0 | 1,322 | 62 | codeparrot/github-code |
4dd547de260e65b0ac311f4cfbd52bb76d2b870b16eef6ac9f1b7b694a569a48 | import logging
import struct
from memory import Memory
from network import Mac, IpAddress
from gbe import Gbe
LOGGER = logging.getLogger(__name__)
# Offsets for fields in the memory map, in bytes
OFFSET_CORE_TYPE = 0x0
OFFSET_BUFFER_SIZE = 0x4
OFFSET_WORD_LEN = 0x8
OFFSET_MAC_ADDR = 0xc
OFFSET_IP_ADDR = ... | Python | src/onegbe.py | ska-sa/casperfpga | gpl-2.0 | 26,401 | 621 | codeparrot/github-code |
97952b51584a8e00203d2d1a0ef1c2af4bf1972f53bd17420af79c6fa90e6c7a | <?php include('../functions.php');?>
<?php include('../login/auth.php');?>
<?php include('../helpers/class.phpmailer.php');?>
<?php
//POST variables
$campaign_id = mysqli_real_escape_string($mysqli, $_POST['campaign_id']);
$test_email = mysqli_real_escape_string($mysqli, $_POST['test_email']);
$test_email = str_replac... | PHP | sendy/includes/create/test-send.php | oniiru/html | gpl-2.0 | 5,991 | 146 | codeparrot/github-code |
58b167d881085cf177deb0ba9323e90f4072a2aee745121eedb07e6e5975c814 | /*
* This file is part of the CMaNGOS Project. See AUTHORS file for Copyright information
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at ... | C++ | src/realmd/RealmList.cpp | natedahl32/portalclassic | gpl-2.0 | 6,721 | 179 | codeparrot/github-code |
59cb48d8f0d31ce06ac50c6edd0d6c0708088b2b0e6632657e8913b4a4c925d1 | #include "stdlib.h"
#include "interrupts.h"
#include "tty.h"
typedef struct {
uint16 address_0_15;
uint16 selector;
uint8 reserved;
uint8 type;
uint16 address_16_31;
} __attribute__((packed)) IntDesc;
typedef struct {
uint16 limit;
void *base;
} __attribute__((packed)) IDTR;
IntDesc *idt = (void*)0xFFFFC000;
... | C | src/kernel/interrupts.c | AnarbekB/FunOS | gpl-2.0 | 1,171 | 54 | codeparrot/github-code |
a132865a9f4d07d1ab83df623c8952ddb32fc862ed3ba1cb7ed4298449b7fc16 | /*
* cifs_unicode: Unicode kernel case support
*
* Function:
* Convert a unicode character to upper or lower case using
* compressed tables.
*
* Copyright (c) International Business Machines Corp., 2000,2009
*
* This program is free software; you can redistribute it and/or modify
* it under t... | C | fs/cifs/cifs_unicode.h | evolver56k/xpenology | gpl-2.0 | 9,790 | 396 | codeparrot/github-code |
2a285d1e5e2103446a6203001ae77b8fc3a5d24434c1ffa99ef930efdc655f63 | #include "precomp.h"
#include "jheaderarea.h"
#include "private/jheaderarea_p.h"
// - JSortFilterProxyModelData -
class JSortFilterProxyModelData
{
public:
QMap<int/*column*/, QRegExp> mapRegExp;
};
// - class JSortFilterProxyModel -
JSortFilterProxyModel::JSortFilterProxyModel(QObject *parent)
: QSortFilte... | C++ | src/jwidgets/src/jheaderarea.cpp | iclosure/jsmartkits | gpl-2.0 | 8,104 | 397 | codeparrot/github-code |
9889646a3e647a940a9607183846eeb87ea6a0d4c495add1c8fd6c61985000bf | "use strict"
var merge = require('merge');
var HttpError = require('http-errors');
var Path = require('path');
module.exports = BaseController.extend({
view: {
file: '',
partials: {},
params: {}
},
before: function(next) {
this.view.file = this.req.route;
next();
... | JavaScript | controller/_abstract/WebController.js | ehmPlankje/express-mvc-boilerplate | gpl-2.0 | 1,593 | 51 | codeparrot/github-code |
de9626a87b31d16f98a238fd3318c397ebe661edbb3456ccd3624b30eb9559b1 | /*
* CCastleInterface.cpp, part of VCMI engine
*
* Authors: listed in file AUTHORS in main folder
*
* License: GNU General Public License v2.0 or later
* Full text of license available in license.txt file, in main folder
*
*/
#include "StdInc.h"
#include "CCastleInterface.h"
#include "CAdvmapInterf... | C++ | client/windows/CCastleInterface.cpp | Fayth/vcmi | gpl-2.0 | 53,353 | 1,769 | codeparrot/github-code |
f71e81806d768ba13afd50dadae4c5670b0b231ff177337d538c68fa0443166b | /*
* Copyright (C) 2011 Intel Corporation.
* Copyright (C) 2016 Red Hat
* Copyright (C) 2018 DisplayLink (UK) Ltd.
* Copyright (C) 2018 Canonical Ltd.
*
* 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 | src/backends/native/meta-drm-buffer-dumb.c | GNOME/mutter | gpl-2.0 | 10,339 | 383 | codeparrot/github-code |
d62e05d11ac78997d8a0ccfed32a9b70888302688f5944faf7b373b2c7a2b367 | /*
* PPC System library functions
*
* Maintainer: Kumar Gala <galak@kernel.crashing.org>
*
* Copyright 2005 Freescale Semiconductor Inc.
* Copyright 2005 MontaVista, Inc. by Vitaly Bordug <vbordug@ru.mvista.com>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of ... | C | arch/ppc/syslib/ppc_sys.c | ska-sa/borph_linux_devel | gpl-2.0 | 8,141 | 334 | codeparrot/github-code |
96f55ae125ecb16ddf5855ee0b5454990bdc2765cdeb6c3feeeda67760e0c8f4 | /*
* This program is copyright © 2008-2012 Eric Bishop and is distributed under the terms of the GNU GPL
* version 2.0 with a special clarification/exception that permits adapting the program to
* configure proprietary "back end" software provided that all modifications to the web interface
* itself remain cover... | JavaScript | package/plugin-gargoyle-usb-storage/files/www/js/usb_storage.js | ivyswen/m4530r | gpl-2.0 | 45,628 | 1,445 | codeparrot/github-code |
a2fe30a7f299b84bc655676dd53c52b9aba934fe39459bacbbe0bf4c733be4cf | package org.anddev.andengine.entity.layer.tiled.tmx;
import static junit.framework.Assert.assertEquals;
import java.io.File;
import org.junit.Test;
/**
* @author Nicolas Gramlich
* @since 21:21:51 - 28.07.2010
*/
public class TMXTiledMapArtifactFixerTest {
// ====================================================... | Java | libs/android_application_2d_adventure_game-master/andenginetmxtiledmapartifactfixer-6410e89ad5e3/test/org/anddev/andengine/entity/layer/tiled/tmx/TMXTiledMapArtifactFixerTest.java | ricardobaumann/android | gpl-2.0 | 1,740 | 53 | codeparrot/github-code |
ef95fdb2b51106f59009d8708d2dbf229d48b0634305756cb7911e4098829d5b | <?php
/**
* A ReCaptchaResponse is returned from recaptcha_check_answer()
* @author TE
* @todo clone etc...
* @see http://code.google.com/p/recaptcha/
*/
class ReCaptchaResponse {
protected $isValid;
protected $error;
/**
*
* Enter description here ...
*/
public function __construct() {
$this->is... | PHP | net/recaptcha/lib/recaptcharesponse.php | donaldinou/recaptcha-php-poo | gpl-2.0 | 1,028 | 62 | codeparrot/github-code |
ac5d614a00839474eaffdfda99828b31cd05de4e53336f95ecd0eebe3b3d0248 | <?php
/**
* @package Author
* @author
* @website
* @email
* @copyright
* @license
**/
// no direct access
defined('_JEXEC') or die('Restricted access');
class OperacionModelFacturaciones extends JModelList{
public function __construct($config = array()){
if (empty($config['filter_fields'])) {
$config[... | PHP | components/com_operacion/models/facturaciones.php | andresgcortes/Concan | gpl-2.0 | 5,080 | 147 | codeparrot/github-code |
e1c6f1edd65683e8fefdc6bc1e2ee044758e4253910b1b26e507e87aeacc38f0 | <!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">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>VeraCrypt - Free Open source disk encrypti... | HTML | srm/06_veracrypt/contents/usr/share/veracrypt/doc/HTML/Creating New Volumes.html | ademol/custom-systemrescuecd | gpl-2.0 | 10,187 | 112 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.