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 |
|---|---|---|---|---|---|---|---|---|
518738d0a4fcfc83b787d4f39a2bc3ae92ce7bdbb77fef1439a8f7a6f652c3b5 | <?php
namespace WPGraphQL\Type\Enum;
use WPGraphQL\Type\WPEnumType;
class TaxonomyEnum {
public static function register_type() {
$allowed_taxonomies = \WPGraphQL::get_allowed_taxonomies();
$values = [];
/**
* Loop through the taxonomies and create an array
* of values for use in the enum type.
*/
... | PHP | src/Type/Enum/TaxonomyEnum.php | jasonbahl/wp-graphql | gpl-3.0 | 901 | 37 | codeparrot/github-code |
54b5d7ee03362a830b86035f2690311b61c89c52c2650d5aa0b208b3a32ae9f4 | <?php
namespace Erp;
use Application\Bundle;
use Silex\Application;
use \Symfony\Component\HttpKernel\KernelEvents;
class ErpBundle extends Bundle
{
/*
-- Erp Routing
*/
public function connect(Application $app)
{
$controllers = $app['controllers_factory'];
$controllers->get('... | PHP | src/Erp/ErpBundle.php | ilanfreoua/pluginbaby | gpl-3.0 | 4,023 | 168 | codeparrot/github-code |
7b5b62522295a10f28d4c233dd26b5f57f4c589091068586faceb694d5fb558c | /*
* Copyright (C) 2010, 2011, 2012 by Arne Kesting, Martin Treiber, Ralph Germ, Martin Budden
* <movsim.org@gmail.com>
* -----------------------------------------------------------------------------------------
*
* This file is part of
*
* MovSim - the multi-model open-source vehicular-traffic simulator.
*
... | Java | core/src/main/java/org/movsim/simulator/roadnetwork/controller/RoadObject.java | movsim/movsim | gpl-3.0 | 2,137 | 72 | codeparrot/github-code |
1ad6dbd510d2db9452298ae6932092b5e11d7759dc150e79d2f809b0c87b5035 | #!/usr/bin/python
#
# test/filemanagertest.py unit test suite for snap.filemanager
#
# (C) Copyright 2011 Mo Morsi (mo@morsi.org)
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License, Version 3,
# as published by the Free Software Foundation
#
#... | Python | test/filemanagertest.py | movitto/snap | gpl-3.0 | 4,521 | 113 | codeparrot/github-code |
b9f25e3ac7947778d17c6335bab9cf9a1ca6b37a038e8a7b339dfc483fcb6c74 | var NotesEditTagsListController = Composer.Controller.extend({
events: {
'click ul.tags li': 'toggle_tag'
},
model: null,
collection: null,
init: function()
{
if(!this.collection || !this.model) return this.release();
this.render();
this.with_bind(this.collection, ['add', 'remove', 'change', 'reset'],... | JavaScript | controllers/notes/edit/tags/list.js | turtl/js | gpl-3.0 | 1,108 | 51 | codeparrot/github-code |
5cd82d0b62f6f735ab6fbd16200387abb60071c19d1529251146c18509c9fa5f | /*=============================================================================
| Copyright 2012 Matthew D. Steele <mdsteele@alum.mit.edu> |
| |
| This file is part of Azimuth. |
... | C | src/azimuth/state/sound.h | mdsteele/azimuth | gpl-3.0 | 7,277 | 212 | codeparrot/github-code |
093d829b95224810149a40fc978db822cf190d2572c401c7bc15d84dea58ca8a | <?php
namespace Panopto\SessionManagement;
class SetExternalCourseAccessResponse
{
/**
* @var ArrayOfFolder $SetExternalCourseAccessResult
*/
protected $SetExternalCourseAccessResult = null;
/**
* @param ArrayOfFolder $SetExternalCourseAccessResult
*/
public function __construct(... | PHP | lib/Panopto/PublicAPI/4.6/SessionManagement/SetExternalCourseAccessResponse.php | lucisgit/php-panopto-api | gpl-3.0 | 952 | 40 | codeparrot/github-code |
767ed91e5a947c6b13c0e4ed5dd9a1b401b6b0d8478127fd7a82e88ce1f323e2 | http://yule.sohu.com/20140221/n395439151.shtml
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script type="text/javascript">
var pvinsight_page_ancestors = '204635152;220049438;227749922;395439151';
</script>
<html>
<head>
<meta http-equiv... | HTML | TopicalCrawl/TopicalCrawl/classifier/sample-data/page/neg/191.html | actlea/TopicalCrawler | gpl-3.0 | 76,673 | 1,729 | codeparrot/github-code |
8a99bbb45aad5070bd5d36cb6bf942a8d1f6ac7c8ecd6aac428856c81d023e62 | import xml.sax
import string
class cDep(object):
def __init__(self):
self.srcId = None
self.nTriggerPkt = None
class cTarget(object):
def __init__(self):
self.destId = None
self.nPkt = None
self.nDependant = 0
self.Dep = list() # this will contain a list o... | Python | QtForms/tgxmlParser.py | indarsugiarto/Graceful_TG_SDP | gpl-3.0 | 2,868 | 81 | codeparrot/github-code |
afc1eb7184cd04ce5273300aaf79da15168565982e1f362aece2615210eb36b9 | <?php
namespace App\Providers;
use Illuminate\Database\Eloquent\Relations\Relation;
use Illuminate\Support\Facades\Blade;
use Illuminate\Support\Facades\Log;
use Illuminate\Support\ServiceProvider;
use LibreNMS\Config;
use LibreNMS\Permissions;
use LibreNMS\Util\IP;
use LibreNMS\Util\Validate;
use Validator;
class A... | PHP | app/Providers/AppServiceProvider.php | RobsanInc/librenms | gpl-3.0 | 4,712 | 142 | codeparrot/github-code |
87237ca1d62ae331feedf78fb2a01fb6332e9c1ffa68b4386a3d37b5349beef1 | /* Definitions file for GNU Emacs running on Silicon Graphics Irix system 6.5.
Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
2008, 2009, 2010 Free Software Foundation, Inc.
This file is part of GNU Emacs.
GNU Emacs is free software: you can redistribute it and/or modify
it under the terms of... | C | src/s/irix6-5.h | lstoll/emacs | gpl-3.0 | 3,274 | 116 | codeparrot/github-code |
d689991426e9a5d35a9da7d4d1298e6d14e46a2560484e026c888f976cc3d87f | /**
* \file HdlcdClientDeviceNewStatus.h
* \brief
* \author Florian Evers, florian-evers@gmx.de
* \copyright GNU Public License version 3.
*
* The HDLC Deamon implements the HDLC protocol to easily talk to devices connected via serial communications.
* Copyright (C) 2016 Florian Evers, florian-ever... | C | src/shared/ConfigFrames/HdlcdClientNewStatus.h | Strunzdesign/satellite-gateway | gpl-3.0 | 4,386 | 129 | codeparrot/github-code |
ddd02077afbb27990c39a0915c05ebba16d45c85fdd3b8c334c841ee689cea29 | package ru.hts.springwebdoclet.annotation.parameter;
import com.sun.javadoc.AnnotationDesc;
import com.sun.javadoc.Parameter;
import org.springframework.web.bind.annotation.PathVariable;
import ru.hts.springwebdoclet.annotation.AnnotationHandler;
import ru.hts.springwebdoclet.render.RenderContext;
/**
* Processes <c... | Java | src/main/java/ru/hts/springwebdoclet/annotation/parameter/PathVariableAnnotationHandler.java | kliniki-online/spring-web-doclet | gpl-3.0 | 1,144 | 37 | codeparrot/github-code |
89ec6871e81c43f1a794892058d71313298ca6b806480d7720c411a4dca65bcb | package com.baeldung.concurrent.evenandodd;
public class PrintEvenOddWaitNotify {
public static void main(String... args) {
Printer print = new Printer();
Thread t1 = new Thread(new TaskEvenOdd(print, 10, false), "Odd");
Thread t2 = new Thread(new TaskEvenOdd(print, 10, true), "Even");
... | Java | projects/tutorials-master/tutorials-master/core-java-modules/core-java-concurrency-advanced/src/main/java/com/baeldung/concurrent/evenandodd/PrintEvenOddWaitNotify.java | Niky4000/UsefulUtils | gpl-3.0 | 1,751 | 69 | codeparrot/github-code |
69ed4532a0ae7cb43601d58ea70939c1998013c6b87a8f75c5dea721d3087af4 | /**
*
*/
package com.github.distanteye.ep_utils.ui;
import java.awt.ComponentOrientation;
import java.awt.GridBagConstraints;
import java.awt.LayoutManager;
import java.util.ArrayList;
import java.util.HashMap;
import javax.swing.JButton;
import javax.swing.JComponent;
import javax.swing.JPanel;
impo... | Java | EclipsePhaseLifePath/src/com/github/distanteye/ep_utils/ui/ExtJPanel.java | DistantEye/EP_Utilities | gpl-3.0 | 12,098 | 449 | codeparrot/github-code |
5d10305eaa236f4b46cb4333ccdcbf23a532205c6e45b6933008321abcc12149 | var Document = (function () {
var _self = {};
_self.$element = $(document);
_self.$body = $(document.body);
_self.$head = $(document.head);
_self.find = function (selector, callback) {
callback(ElementManager.find(selector));
};
_self.html = function (html, callback) {
if ... | JavaScript | src/client/document.js | martin-grand/Angel.js | gpl-3.0 | 2,039 | 87 | codeparrot/github-code |
b10f0be2c9a0955a185602267adbf8b37aed3b9baeb4192f4348b53d1b4dae65 | #include "CommonInclude.h" /* 共通インクルード */
#include "CalcModel.h"
static void CalcModelStm_BgnTrans( CALC_MODEL *pCalcModel, CALC_MODEL_STM* pStm, UINT32 targetState );
static void CalcModelStm_EndTrans( CALC_MODEL *pCalcModel, CALC_MODEL_STM* pStm, BOOL isFinished );
static void Oper... | C | samples/CalcSub/c/Main/CalcModel.c | ducyen/ClasHStamP | gpl-3.0 | 40,283 | 1,008 | codeparrot/github-code |
003ec8ee21dc0a3fd3a3e060d48e41b42243ce699d13960401bc8d198404a13d | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<meta name="description" content="Staying Module for CCH">
<meta name="author" content=... | HTML | assets/www/cch/modules/poc/daysbtwn3.html | GrameenGhana/cch-mobile-chnonthego-android | gpl-3.0 | 3,088 | 88 | codeparrot/github-code |
587dec1497ef2decd90da12e107ee21ca99dd05ef158e27955a437bb4f0f591f | package com.alipay.api.response;
import com.alipay.api.internal.mapping.ApiField;
import com.alipay.api.AlipayResponse;
/**
* ALIPAY API: alipay.mobile.beacon.device.add response.
*
* @author auto create
* @since 1.0, 2017-02-28 11:14:28
*/
public class AlipayMobileBeaconDeviceAddResponse extends AlipayRespons... | Java | e-commerce/e-commerce-ecom-pay-service/src/main/java/com/alipay/api/response/AlipayMobileBeaconDeviceAddResponse.java | zeatul/poc | gpl-3.0 | 748 | 44 | codeparrot/github-code |
dfaa27e3d0851efe30a0f979e4ded029083f8635ab2422aa31394fb2df93d058 | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using Adxstudio.Xrm.Cms;
using Adxstudio.Xrm.Collections.Generic;
using Adxstudio.Xrm.Commerce;
using Adxstudio.Xrm.Core;
using Adxstudio.Xrm.Web.Mvc.Html;
using Adxstudio.Xrm.Web.UI.WebControls;
using AuthorizeNet;
using Mi... | C# | Adxstudio/MasterPortal/Areas/Commerce/Controls/WebFormPayment.ascx.cs | nzkelvin/mrxrm | gpl-3.0 | 18,157 | 613 | codeparrot/github-code |
4c3877c9450fd9366ae68728bd92495e1e8d25cf9f9307ede43ff38c280e7817 | #!/usr/bin/python
# -*- coding: utf-8 -*-
# Copyright: (c) 2019, Ansible Project
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
from __future__ import absolute_import, division, print_function
__metaclass__ = type
ANSIBLE_METADATA = {'metadata_version': '1.1',
... | Python | lib/ansible/modules/cloud/kubevirt/kubevirt_rs.py | dagwieers/ansible | gpl-3.0 | 6,766 | 228 | codeparrot/github-code |
7d856a60076c41b3bfb65a0c6e2d4de4ae72c2c9c9a9262f547ffc03807053bd | \documentclass[final]{beamer} % beamer 3.10: do NOT use option hyperref={pdfpagelabels=false} !
%\documentclass[final,hyperref={pdfpagelabels=false}]{beamer} % beamer 3.07: get rid of beamer warnings
\mode<presentation> { %% check http://www-i6.informatik.rwth-aachen.de/~dreuw/latexbeamerposter.php for examples
... | TeX | Posters/mathematical-models-beamer-poster-18x24.tex | bvancil/modphys-diagrams | gpl-3.0 | 4,966 | 104 | codeparrot/github-code |
fdcc0d05c8f06ca415975cee055b323edb310f2a78149e619427b37111c998fa | package com.provence.web.util;
import java.text.MessageFormat;
import java.util.HashMap;
import java.util.Locale;
import java.util.Map;
import java.util.MissingResourceException;
import java.util.ResourceBundle;
import javax.servlet.http.Cookie;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.... | Java | src/com/provence/web/util/LocalizationUtil.java | lhebj/provence | gpl-3.0 | 5,996 | 197 | codeparrot/github-code |
2f270bbc347b12a19eff0ca02477bf4f32a62416b713a914b777871acf63d502 | /**
* \file path_reader_writer.cpp
* \brief Read and write paths.
*
* Copyright 2007-2017 IMP Inventors. All rights reserved.
*
*/
#include <IMP/multifit/path_reader_writer.h>
#include <IMP/multifit/internal/reader_writer_utility.h>
#include <boost/bind.hpp>
#include <boost/lexical_cast.hpp>
#include <boost/f... | C++ | modules/multifit/src/path_reader_writer.cpp | shanot/imp | gpl-3.0 | 2,140 | 77 | codeparrot/github-code |
931b4df7a647f121b295cddec4a160446e379e41a74a533feb2b582d37cf1335 | #include "puzzle.h"
#include <QDebug>
Puzzle::Puzzle(QMainWindow *parent, uint size) : QWidget(parent)
{
QWidget::setGeometry(
parent->width()/3,
parent->height()/10,
uint(float(parent->width())*0.6f),
uint(float(parent->height())*0.8f));
puzzleSize = size;
grid = new QGri... | C++ | puzzle.cpp | tabithajarvis/PuzzleSlider | gpl-3.0 | 5,261 | 224 | codeparrot/github-code |
dfc779573a4671d59adc000bf757bc3af396d0f41d431c4fb27bebb1fe2f1141 | ##
## Biskit, a toolkit for the manipulation of macromolecular structures
## Copyright (C) 2004-2012 Raik Gruenberg & Johan Leckner
##
## This program is free software; you can redistribute it and/or
## modify it under the terms of the GNU General Public License as
## published by the Free Software Foundation; either v... | Python | Biskit/Model.py | ostrokach/biskit | gpl-3.0 | 10,389 | 336 | codeparrot/github-code |
d236b910ee40597de936af4c652c4cdc76e68bb38ac519e1bd17cc2b45dd46e2 | /******************************************************************************
This file is part of XUnzip, which is part of UserLib.
Copyright (C) 1995-2014 Oliver Kreis (okdev10@arcor.de)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General P... | C++ | XUnzip/XUnzipFunctions.cpp | okdevdo/UserLib | gpl-3.0 | 23,939 | 834 | codeparrot/github-code |
d7a37e860394975810aefef362fce4949105d2657a7788c57b35eec8e59ff622 | package net.sf.servomaster.device.model;
import java.io.IOException;
import java.util.HashSet;
import java.util.Iterator;
import java.util.Set;
import java.util.concurrent.BlockingQueue;
import java.util.concurrent.LinkedBlockingQueue;
import java.util.concurrent.ThreadPoolExecutor;
import java.util.concurrent.TimeUni... | Java | servomaster-common/src/main/java/net/sf/servomaster/device/model/AbstractServo.java | marcass/dz | gpl-3.0 | 12,464 | 460 | codeparrot/github-code |
e23280fd32293f8d62aa3c472811e6bfd8d0ca8dcbe8a9c01a8f415c60fc709c | using MaterialSkin.Controls;
using System;
using System.Windows.Forms;
using WinFormsTranslator;
/// <summary>
/// SA:MP launcher .NET namespace
/// </summary>
namespace SAMPLauncherNET
{
/// <summary>
/// RCON password form class
/// </summary>
public partial class RCONPasswordForm : MaterialForm
... | C# | SAMPLauncherNET/Source/SAMPLauncherNET/UI/Forms/RCONPasswordForm.cs | BigETI/SAMPLauncherNET | gpl-3.0 | 1,943 | 76 | codeparrot/github-code |
1d081658406f2813e062320fc8a6c0b9f88c3376e57d0b25b3ea02a942b9d6e2 | // *****************************************************************************
// normalize.cpp Tao3D project
// *****************************************************************************
//
// File description:
//
// Put the XL program in 'normal' form, i.e. o... | C++ | app/normalize.cpp | c3d/tao-3D | gpl-3.0 | 5,244 | 147 | codeparrot/github-code |
f24071f6129e3a3f5660c73063204ae1d07b0591706ec26fd8accd3900a65cc5 | /**
******************************************************************************
* @file DigitalActuator.cpp
* @authors Thomas Trageser
* @version V0.1
* @date 2015-03-27
* @brief Oink Brew Spark Core Firmware
******************************************************************************
Copyright (c)... | C++ | oinkbrew/devices/DigitalActuator.cpp | thomast74/oinkbrew_firmware | gpl-3.0 | 1,875 | 66 | codeparrot/github-code |
f778ef4c2e5ee57590351ca66ce90e7de73fb3e6891c2a9133d6d0ec50469009 | /*
* This file is part of EverAPI.
*
* EverAPI 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.
*
* EverAPI is distribut... | Java | src/main/java/fr/evercraft/everapi/event/ToggleEvent.java | EverCraft/EverAPI | gpl-3.0 | 1,694 | 68 | codeparrot/github-code |
478efa0fbd7ce176e8f515f5a102b344193913f3a952ef93b60a85b8d968c9f7 | /*
* Copyright (C) 2010 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | C | frameworks/base/libs/hwui/FontRenderer.h | s20121035/rk3288_android5.1_repo | gpl-3.0 | 7,263 | 228 | codeparrot/github-code |
c33e1c238959df8f1497c985be54700e4e8e7d1209cb120823d868a38f8faea9 | /**
* Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later... | Java | docroot/WEB-INF/src/it/gebhard/qa/service/persistence/AnswerPersistenceImpl.java | p-gebhard/QuickAnswer | gpl-3.0 | 68,481 | 2,184 | codeparrot/github-code |
0338b4f1b11f23fa57a0d014ad7f89287c4bf4f8137c68138265743754c3e2a0 | package negocio;
/**
* Created by lucas on 11/04/16.
*/
public class Empregado {
private int matricula;
private String nomeInicial;
private String nomeMeio;
private String nomeFinal;
private double salario;
private String sexo;
private int numSupervisor;
private int numDepartamento;
... | Java | Projeto Arquitetura em Tres Camadas/src/negocio/Empregado.java | lucasgueiros/variados | gpl-3.0 | 4,578 | 154 | codeparrot/github-code |
f87dd7a06ef949f93f45a7a81ce00b96caa8b76bf62a5a5aff569ea7af69dcd9 | <?php
namespace SMW\Query\ResultPrinters;
use Sanitizer;
use SMW\ApplicationFactory;
use SMWQueryResult as QueryResult;
/**
* Exports data as file in a format that is defined by its invoked templates.
* Custom specifications and requirements can be specified freely by relying on
* the available template system.
... | PHP | wiki/extensions/SemanticMediaWiki/src/Query/ResultPrinters/TemplateFileExportPrinter.php | kylethayer/bioladder | gpl-3.0 | 5,609 | 253 | codeparrot/github-code |
43a3f515d4d4348f16306e62c07e9c02cffde7a2bda0270fa8446e8323e63bdb | // -*- mode: csharp; encoding: utf-8; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil; -*-
// vim:set ft=cs fenc=utf-8 ts=4 sw=4 sts=4 et:
// $Id$
/* MetaTweet
* Hub system for micro-blog communication services
* MetaTweetHostService
* Windows Service which hosts MetaTweetServer
* Part of MetaTweet
*... | C# | MetaTweetHostService/ServerHost.cs | takeshik/metatweet-old | gpl-3.0 | 3,170 | 95 | codeparrot/github-code |
db80ce1b9866118a3d6291d2980276dab51572c8ce6b7ea415ab66d53bfe7a03 | /*
Storybook: Scene-based software for novelists and authors.
Copyright (C) 2008 - 2011 Martin Mustun
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 opti... | Java | src/ch/intertec/storybook/view/modify/scene/SceneDialog.java | tmhorne/storybook | gpl-3.0 | 29,280 | 1,013 | codeparrot/github-code |
7172ba9c96ae1305351bfeec1f2e25d8de2b51550c0e93bc840ec078dcdb715b | #
# This file is part of postpic.
#
# postpic 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.
#
# postpic is distributed in the hope th... | Python | postpic/datahandling.py | skuschel/postpic | gpl-3.0 | 89,742 | 2,338 | codeparrot/github-code |
678d799d2ddd546584a57e24980932976d0b2e886b95b896aea295bed0a95d0d | package know.how.core.jrunner.jdbc.test;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.Arrays;
import java.util.List;
public class JdbcTutor {
/**
* Please rena... | Java | src/main/java/know/how/core/jrunner/jdbc/test/JdbcTutor.java | skurski/know-how | gpl-3.0 | 6,008 | 204 | codeparrot/github-code |
1b6413aae155e9e183446d5cd64ff5d5b8b8e7d22f90b0533d60e37c38f94012 | package com.baeldung.solrjava;
import org.apache.solr.client.solrj.beans.Field;
public class ProductBean {
String id;
String name;
String price;
public ProductBean(String id, String name, String price) {
super();
this.id = id;
this.name = name;
this.price = price;
... | Java | projects/tutorials-master/tutorials-master/apache-solrj/src/main/java/com/baeldung/solrjava/ProductBean.java | Niky4000/UsefulUtils | gpl-3.0 | 774 | 45 | codeparrot/github-code |
3751c27aefde7c6227fd9a28300491606e01c7d82b043a4185f4d2f8342db2f2 | // YouTube Helper
// require utils.js
// require yt-parser
import {ytparser} from './yt-parser';
import * as _ from 'underscore';
export class yth {
/**
* @param options cf options Youtube
*/
static getSrc(vid, origin, options) {
origin = origin || (location.protocol + '//' + location.host + location.pa... | TypeScript | src/yt-helper.ts | Bludwarf/cuetube | gpl-3.0 | 2,205 | 75 | codeparrot/github-code |
9dcca9a26011b466aeea27fb80ed3ac439ccce69bffa366da34b8c8d86cefb3a | <?php
App::missing(function ($exception) {
return Response::view('error.404', [], 404);
});
/*
|--------------------------------------------------------------------------
| Register The Laravel Class Loader
|--------------------------------------------------------------------------
|
| In addition to using Compos... | PHP | app/start/global.php | mxabierto/madison | gpl-3.0 | 2,798 | 93 | codeparrot/github-code |
c3ac30f056a67f0fff75df4680c6d598ccc5d2edde7354f068dfb5258d85de65 | // Copyright 2016 The SwiftShader Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required b... | C++ | oss/qt/qt-everywhere-opensource-src-5.9.0/qtwebengine/src/3rdparty/chromium/third_party/swiftshader/src/D3D8/Direct3DPixelShader8.cpp | geminy/aidear | gpl-3.0 | 1,835 | 83 | codeparrot/github-code |
27698cd18b2981cee96cfb6424fda0b587f53b6fbd557f241d86110598cfa184 | /* Simple Chat
* Copyright (c) 2008-2016 Alexander Sedov <imp@schat.me>
*
* 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... | C | src/schatd2/DataBase.h | impomezia/schat | gpl-3.0 | 3,519 | 136 | codeparrot/github-code |
0ea6263c28d7f1f8c094399f22be8e4b246008da6fbeac2beea08b274ebc9176 | /*
* Copyright (C) 2007 Michael Brown <mbrown@fensystems.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 any later version.
*
* This progr... | C | grub-core/ipxe/src/core/monojob.c | a1ive/grub2-mod | gpl-3.0 | 4,118 | 157 | codeparrot/github-code |
58da4283ecc3f1703e7086e21b6a2d4cdaa8af515689246bc7cb65c6e954f0a1 | Rails.application.configure do
# Settings specified here will take precedence over those in config/application.rb.
# Code is not reloaded between requests.
config.cache_classes = true
# Eager load code on boot. This eager loads most of Rails and
# your application in memory, allowing both threaded web serve... | Ruby | config/environments/production.rb | kinders/hope | gpl-3.0 | 3,083 | 75 | codeparrot/github-code |
ac815ef040d1d81d72084c954e153c1edb47984b702629e26b272ec43466b5db | /*
* TACO: Translation of Annotated COde
* Copyright (c) 2010 Universidad de Buenos Aires
*
* 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 ... | Java | unittest/icse/binomialheap/set3/StrykerBinomialHeapExtractMin1Bug20ITest.java | zeminlu/comitaco | gpl-3.0 | 2,156 | 55 | codeparrot/github-code |
347ef5a4e49efb3ec31f5e6ed3d731a1a394a18caa4cf3e4b653ea8ba4a45a7d | /*
* 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++ | src/lib/filesystem/FileSMB.cpp | Red-F/xbmc-addon-fortherecord | gpl-3.0 | 11,131 | 432 | codeparrot/github-code |
9e14197acab649136914f98164717187035f670ed3d4da0d19cd60d5929c8ee4 | jQuery.fn.swap = function(b) {
b = jQuery(b)[0];
var a = this[0];
var t = a.parentNode.insertBefore(document.createTextNode(''), a);
b.parentNode.insertBefore(a, b);
t.parentNode.insertBefore(b, t);
t.parentNode.removeChild(t);
return this;
};
$(function() {
$('.new').slideDown();
$('.delete-link').click(f... | JavaScript | music_server/site_media/local.js | lamby/public-music-server | gpl-3.0 | 1,946 | 103 | codeparrot/github-code |
e6a87b81d0409ed68699c5f99afd0589fb9cefd407804237984441305f87b6ee | /*
Simple DirectMedia Layer
Copyright (C) 1997-2018 Sam Lantinga <slouken@libsdl.org>
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 ... | C | source/theater_resources/windows_deps/windows10/SDL/include/SDL_syswm.h | MediaKraken/MediaKraken_Deployment | gpl-3.0 | 9,252 | 328 | codeparrot/github-code |
dd03f31d1beae28d4ec5044c791be9f6261f5a9d1fe48d0118cdc1ad7a1ef296 | /*
Theme Name: Awesome Co
Theme URI: https://github.com/melissacabral/awesomeco
Description: A theme for learning!
Author: melissa cabral
Author URI: http://melissacabral.com
Version: 1.0
License: GPLv2
License URI: license.txt
Tags:gray, two-columns
------------------------------
Table of Contents
------------------... | CSS | style.css | melissacabral/awesome-co-1215 | gpl-3.0 | 29,338 | 1,531 | codeparrot/github-code |
79a8b9acc8cf0caf07866c89377ed56305e22d0f3dd5db095f6665104f4b1879 | package metadata;
import java.math.BigDecimal;
import java.util.Arrays;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;
import org.apache.poi.ss.usermodel.Cell;
import org.apache.poi.ss.usermodel.Row;
import org.apache.poi.ss.usermodel.Sheet;
import org.threeten.bp.LocalDate;
impo... | Java | de.bund.bfr.knime.fsklab.metadata.model/src/metadata/SwaggerDataModelSheetImporter.java | SiLeBAT/FSK-Lab | gpl-3.0 | 41,601 | 1,171 | codeparrot/github-code |
156c5101070861c80b755c9bec10c414cc18b2764d50836f1dccbf95380687b0 | package de.naju.adebar.model.newsletter;
import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import org.springframework.util.Assert;
import de.naju.adebar.util.Validation;
/**
* Abstraction of person that... | Java | src/main/java/de/naju/adebar/model/newsletter/Subscriber.java | portux/NAJU-Adebar | gpl-3.0 | 6,154 | 244 | codeparrot/github-code |
0303be99068771ced21fa0041b2d5f61792b53e8a9ba03aa3eaba3745cfabda7 | package nubisave.component.graph.splitteradaption;
import edu.uci.ics.jung.algorithms.filters.VertexPredicateFilter;
import edu.uci.ics.jung.algorithms.layout.Layout;
import edu.uci.ics.jung.graph.Graph;
import edu.uci.ics.jung.visualization.VisualizationViewer;
import edu.uci.ics.jung.visualization.picking.PickedStat... | Java | gui/Nubisave/src/nubisave/component/graph/splitteradaption/JNotifyConfigUpdater.java | joe42/nubisave | gpl-3.0 | 5,231 | 104 | codeparrot/github-code |
8359cbf5913b6ee808e1bad9ea59f1d2f4fcb40e2f35fd87805459f3181cc7e7 | /*
* Logical Structural Diff (LSDiff)
* Copyright (C) <2015> <Dr. Miryung Kim miryung@cs.ucla.edu>
*
* 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 Li... | Java | code/src/lsd/rule/LSDRule.java | SEAL-UCLA/lsdiff | gpl-3.0 | 15,706 | 525 | codeparrot/github-code |
56bb6f635defde741e3a3e8eb4802798abbbdaa198b4808b1f7426ef6f7474b2 | /* Formatierung wissenschaftlicher Publikationen mit HTML und CSS, Formatierungsskript
Copyright (C) 2009 Daniel Bertram (daniel.bertram@stud.ifi.lmu.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 S... | JavaScript | Scripts/paperLayout.js | myossinc/ConferencePaperTemplates | gpl-3.0 | 79,055 | 1,926 | codeparrot/github-code |
83bb6950a1f79734c7b69ad4d78e081f896390dd272182623422d030058ff19b | #ifndef IES_ENKF_STATE_H
#define IES_ENKF_STATE_H
#include <ert/util/rng.hpp>
#include <ert/res_util/matrix.hpp>
#include <ert/util/bool_vector.hpp>
#include <ert/util/type_macros.hpp>
#include <ert/analysis/ies/ies_enkf_config.hpp>
#ifdef __cplusplus
extern "C" {
#endif
typedef struct ies_enkf_state_struct ies_enk... | C++ | libres/lib/include/ert/analysis/ies/ies_enkf_state.hpp | joakim-hove/ert | gpl-3.0 | 2,543 | 67 | codeparrot/github-code |
62b1af7c6f8857541f67fbe8e88c3bce6ef7b30cddeee9fea994dc44dbb874de | # -*- coding: utf-8 -*-
#!/usr/bin/env python
#
# Electrum - lightweight Bitcoin client
# Copyright (C) 2011 thomasv@gitorious
#
# 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 ... | Python | lib/bitcoin.py | valesi/electrum | gpl-3.0 | 24,923 | 794 | codeparrot/github-code |
8b6bbcd2a7b7f9150024e5d6b48425f986f752a142f636e5dd280d31b807566c | /*****************************************************************************
* threadpool.c: thread pooling
*****************************************************************************
* Copyright (C) 2010-2016 x264 project
*
* Authors: Steven Walters <kemuri9@gmail.com>
*
* This program is free softwa... | C | trunk/references/last_x264/x264-c75749/common/threadpool.c | YuxuanLing/trunk | gpl-3.0 | 5,771 | 165 | codeparrot/github-code |
7855ff23e08b34a5d88f832454cce018e2791e20dbea435325f0e8b61026501c | /*
avr_uart.c
Handles UART access
Right now just handle "write" to the serial port at any speed
and printf to the console when '\n' is written.
Copyright 2008, 2009 Michel Pollet <buserror@gmail.com>
This file is part of simavr.
simavr is free software: you can redistribute it and/or modify it under t... | C | simavr/source/avr_uart.c | FabriceSalvaire/simavr | gpl-3.0 | 10,206 | 328 | codeparrot/github-code |
0d353de0cbaf2cecb0f6685bf74a1f5a16442270f4c8838f5ec2f4b6c351369f | /*
* --------- BEGIN COPYRIGHT NOTICE ---------
* Copyright 2002-2012 Extentech Inc.
* Copyright 2013 Infoteria America Corp.
*
* This file is part of OpenXLS.
*
* OpenXLS is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by t... | Java | src/main/java/org/openxls/toolkit/SpecialArrayList.java | Maxels88/openxls | gpl-3.0 | 21,419 | 716 | codeparrot/github-code |
33051b2356814ada04e93ae2b4bafc4d7cfe35500369339ca074aca6020a2731 | package com.binaryelysium.mp3tunes.api.results;
/**
* In some instances, it may be desirable to limit the size of a result set due to
* limited availble memory and/or large locker sizes. It is now possible to retrieve
* lockerData results in multiple sets of a defined size.
*
* @param <E> The Data type (Artist... | Java | src/com/binaryelysium/mp3tunes/api/results/SetResult.java | Ramblurr/libmp3tunes-java | gpl-3.0 | 1,429 | 78 | codeparrot/github-code |
362093040bc2f3b1bbfdfd013babc0847300c6edf4601df261d1ca03c0b9bc6f | const Joi = require('joi');
const path = require('path');
const escapeStringRegexp = require('escape-string-regexp');
const vpath = require('../util/vpath');
const dbQueue = require('../db/task-queue');
const db = require('../db/manager');
const { joiValidate } = require('../util/validation');
const WebError = require(... | JavaScript | src/api/db.js | IrosTheBeggar/mStream | gpl-3.0 | 14,936 | 476 | codeparrot/github-code |
6474054b2b2175c0bee137fd9650e5a74c2602547a92891d63e6545a0e8e2302 | declare module 'vue-analytics' {
import Vue, { PluginFunction } from 'vue'
import VueRouter, { Route } from 'vue-router'
export default VueAnalytics
class VueAnalytics {
public static install: PluginFunction<VueAnalytics.Options>
/**
* @param category
* Typically the object that was interacted with... | TypeScript | projects/vue/src/typings/vue-analytics/index.d.ts | MsDacia/msdacia | gpl-3.0 | 2,312 | 114 | codeparrot/github-code |
326ff67e86c9b731b51ed0a864cfaafef8587824c1ca09f182c6aa54aeec4f27 | package btools.server.request;
import btools.router.OsmNodeNamed;
import btools.router.OsmTrack;
import btools.router.RoutingContext;
import btools.server.ServiceContext;
import java.io.BufferedWriter;
import java.io.File;
import java.io.StringWriter;
import java.util.ArrayList;
import java.util.HashMap;
im... | Java | brouter-server/src/main/java/btools/server/request/ServerHandler.java | Zahnstocher/brouter | gpl-3.0 | 6,724 | 233 | codeparrot/github-code |
0da0896ce5251229e29aeec432dbd76403c3c3ece71c0eef9cf9b69865d91f07 | using System;
using System.Collections.Generic;
using System.Reflection;
using System.Text;
using MissionPlanner.Comms;
using System.Threading;
using log4net;
// Written by Michael Oborne
namespace MissionPlanner.Arduino
{
public class ArduinoSTKv2 : SerialPort, IArduinoComms
{
private ... | C# | Arduino/ArduinoSTKv2.cs | haripradhan/MissionPlanner | gpl-3.0 | 12,399 | 443 | codeparrot/github-code |
818e6152a33ab3b7195d670260de728fb9fde4e530e191648788ed4467763f23 | package io.github.notsyncing.cowherd.server;
import io.github.notsyncing.cowherd.commons.CowherdConfiguration;
import org.apache.logging.log4j.Level;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.apache.logging.log4j.core.LoggerContext;
import org.apache.logging.log4j.c... | Java | cowherd-core/src/main/java/io/github/notsyncing/cowherd/server/CowherdLogger.java | notsyncing/cowherd | gpl-3.0 | 8,018 | 243 | codeparrot/github-code |
2d001ee6d5de20dc732135f0dcbbdae5b416a7da95d860e8575a1f3cc532a9fa | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qopenglcontext.cpp -->
<title>List of All Members for QOpenGLContextGroup | Qt GUI 5.7</title>
<link rel="stylesheet" type="text/css" href="style/offline-simple... | HTML | Doc/qtgui/qopenglcontextgroup-members.html | angeloprudentino/QtNets | gpl-3.0 | 10,549 | 108 | codeparrot/github-code |
4d0d07b9e5f05047137863c3ffe42f4728d0355caa24118f3d92744d26df4aaa | /**************************************************************************
Lightspark, a free flash player implementation
Copyright (C) 2009-2011 Alessandro Pignotti (a.pignotti@sssup.it)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser Genera... | C++ | src/backends/config.cpp | leighman/lightspark | gpl-3.0 | 6,278 | 220 | codeparrot/github-code |
03affee3018ff88fb684d6d1f8e269acfd4802ee4af255d25c1135192fdfbcd5 | /**
* Contest : COMPFEST 2016 Qualification
* Team : hehehe
* Author : Ahmad Zaky
* Problem : F - Friend-Score
*/
/* DELAPAN.3gp */
#include <vector>
#include <map>
#include <set>
#include <queue>
#include <deque>
#include <stack>
#include <algorithm>
#include <utility>
#include <numeric>
#include <sstream>
#... | C++ | COMPFEST2016/qualification/F-hehehe.cpp | competitive-programming-itb/contests | gpl-3.0 | 3,497 | 187 | codeparrot/github-code |
14e0a40a60d4d9c0d909212449c286edd0b42fe5a2e44b961d47cde51a87fcc5 | /**
* Mandelbulber v2, a 3D fractal generator ,=#MKNmMMKmmßMNWy,
* ,B" ]L,,p%%%,,,§;, "K
* Copyright (C) 2015-18 Mandelbulber Team §R-==%w["'~5]m%=L.=~5N
* ,=mm=§M ]=4 yJKA"/-Nsaj "Bw,==,,
* This file is part of Mandelbul... | C++ | mandelbulber2/src/netrender.hpp | rikardfalkeborn/mandelbulber2 | gpl-3.0 | 9,140 | 280 | codeparrot/github-code |
06987bd3a947556cfebdad4acef4207edf831e776b53d37b6dd7c80a69c82d3e | package appliance51.admin.event;
import org.springframework.stereotype.Component;
import java.lang.reflect.Method;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentMap;
/**
* 事件管理器
* Created by yuananyun on 2016/10/23.
*/
@Component
public class EventManager {
private Concu... | Java | appliance51-admin/src/main/java/appliance51/admin/event/EventManager.java | liushuishang/appliance51 | gpl-3.0 | 1,410 | 52 | codeparrot/github-code |
081f1b1755a118e58c56dc2c3a0bb2d579fb728b5556274ac63c584abb0afd20 | #ifndef SPLITGROUPSCOMMAND_H
#define SPLITGROUPSCOMMAND_H
/*
* splitgroupscommand.h
* Mothur
*
* Created by westcott on 9/20/10.
* Copyright 2010 Schloss Lab. All rights reserved.
*
*/
/* split.groups - given a group file, split sequences and names files in to separate files *.group1.fasta and .group1.nam... | C | source/commands/splitgroupscommand.h | NikNakk/mothur | gpl-3.0 | 1,366 | 60 | codeparrot/github-code |
eb5d8b4b6111e5217c166d2b2500257df3dfadf5b0dded7ffb8c36bab46eff22 | /*
* Copyright (C) 2013 - 2014 Alexander "Evisceration" Martinz
*
* 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.... | Java | app/src/main/java/org/namelessrom/devicecontrol/objects/BootupItem.java | TeamBliss-LP/android_packages_apps_DeviceControl | gpl-3.0 | 2,420 | 65 | codeparrot/github-code |
3fefc7d0cca653f4704cfa84b6ae1fda4ebd869e545b66e539bb5464140fdc39 | using System;
namespace CommuneHub.Items
{
public class GenericItemHandler : IItemHandler
{
public bool CreateDefault { get; protected set; }
public GenericItemHandler(bool createDefault = false)
{
CreateDefault = createDefault;
}
#region IItemHandler implementation
public virtual IItem Create (... | C# | CommuneHub/Items/GenericItemHandler.cs | robajz/commune | gpl-3.0 | 1,673 | 60 | codeparrot/github-code |
a93bd5edb540c0e8f13d6024893111fdd66cd75f3e42c4e64897cdeaf01b8e65 | /*
* This file is part of Cleanflight and Betaflight.
*
* Cleanflight and Betaflight are free software. You can redistribute
* this software and/or modify this software 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 ... | C | src/main/telemetry/telemetry.h | brycedjohnson/betaflight | gpl-3.0 | 2,347 | 84 | codeparrot/github-code |
13e48f69674e8b990a1e17abf8bc3fb6deb8150ce222c7c408c318e5a5739d20 |
package pl.lodz.p.pracowniaproblemowa.acodis.wiki;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.List;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.faces.event.ActionEvent;
/**
*
* @author lukkot
*/
public class WikiCategor... | Java | src/main/java/pl/lodz/p/pracowniaproblemowa/acodis/wiki/WikiCategoryManagerBean.java | unoduetre/ACoDIS | gpl-3.0 | 2,630 | 80 | codeparrot/github-code |
25d6635708b286805f30024184808850ad1900c3d5b266960db721bf59157911 | #include<cstdio>
#include<cstring>
#include<cstdlib>
#include<map>
#include<set>
#define F first
#define S second
#define pici
using namespace std;
int n,m,ans;
map<int,pair<char ,int > > Map;
map<int,pair<char ,int > >::iterator it;
char c[20];
inline int abs(int a) {return a>0?a:-a;}
int main()
{
int i,x,y;
scanf(... | C++ | fengxiao/lib/contest10/E.cpp | xjoi/contests_for_noip | gpl-3.0 | 612 | 33 | codeparrot/github-code |
b8027738a59aff2edbdb82b2cfaddf631ad0fdb2966b90fc7ccc51477f2e3619 | /* Lips of Suna
* Copyright© 2007-2012 Lips of Suna development team.
*
* Lips of Suna 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 3 of the
* License, or (at your option) any la... | C | src/lipsofsuna/extension/noise/ext-script.c | bsmr-games/lipsofsuna | gpl-3.0 | 6,040 | 199 | codeparrot/github-code |
2bd1292cf81b7996a4d48d83adb061c5430534bc43e432e85fd39f873350e43d | var async = require('async');
var forEach = require('async-foreach').forEach;
var url = require('url');
var normUrl = function(goog, bing, blek){
async.parallel([
function(callback){
if(goog.length != undefined){
forEach(goog,
function(item, index, arr){
item.URL = item.link... | JavaScript | my_modules/normalizeUrls.js | peaderhanily/nodejs-metasearch-api | gpl-3.0 | 3,250 | 98 | codeparrot/github-code |
75af56cbcae56078ef37585e5d4834541f1ace0900a7fc32d571aa3182a17993 | /*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
\\... | C++ | src/lagrangian/parcel/submodels/CloudFunctionObjects/VoidFraction/VoidFraction.H | OpenFOAM/OpenFOAM-dev | gpl-3.0 | 3,713 | 144 | codeparrot/github-code |
3ad8091902778e002541e3b4c57163ec3d17c71681cc5ac2f07fafc0a4aba7d2 | <!DOCTYPE html>
<html lang="en" class="no-js">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Unity - Scripting API: TextureImporterSettings.Equal</title>
<meta ... | HTML | ScriptReference/TextureImporterSettings.Equal.html | rakuten/Uinty3D-Docs-zhcn | gpl-3.0 | 10,795 | 227 | codeparrot/github-code |
8e828077c5f58793f9f0b0f9ec94025f8a1aefd461e784b64cf861f671ae1d7b | package com.ticklergtd.android.model.table;
/**
* Created by IntelliJ IDEA.
* User: yeradis
* Date: 30/03/11
* Time: 13:34
*
* Modifications by ERL:
* Date: 14/04/2011
*/
public class ContextsTasks {
/*
Union table: ContextsTasks
ID integer primary key first field in every tab
task_id integer forei... | Java | src/com/ticklergtd/android/model/table/ContextsTasks.java | frandavid100/Tickler | gpl-3.0 | 1,196 | 35 | codeparrot/github-code |
44a3200ceba0203cbdf58c72c3423ca285a2de97bcb3aed1e72ea5a20a2b04ec | # Author: Monnappa K A
# Email : monnappa22@gmail.com
# Twitter: @monnappa22
# Description: Volatility plugin to detect different types of Process Hollowing
import os
import volatility.obj as obj
import volatility.utils as utils
from volatility.plugins.taskmods import PSList
import volatility.plugins.vadinfo as vadin... | Python | vol_plugins/hollowfind.py | etz69/irhelper | gpl-3.0 | 18,182 | 333 | codeparrot/github-code |
09ba64189d6a833e7235ea7918b93234fbdcaee585778a4c3416b53e99e27bda | #!/usr/bin/python
# -*- coding: utf-8 -*-
"""
Miguel Suez Xve
"""
import sys
from PyQt4 import QtGui
"""=================================================================="""
""" CLASSE QUE DESENHA A JANELA """
"""===============================================================... | Python | 6/6.py | miguel7penteado/python-qt4 | gpl-3.0 | 1,622 | 62 | codeparrot/github-code |
ff3513bdbc352281fef54f4a3b255c08d67295cd0e0d8109cea3ca81f2f0b879 | /*
Nayeem - A UCI chess engine Based on Stockfish. Copyright (C) 2013-2021 Mohamed Nayeem
Family - Stockfish
Author - Mohamed Nayeem
License - GPL-3.0
*/
#ifndef PAWNS_H_INCLUDED
#define PAWNS_H_INCLUDED
#include "misc.h"
#include "position.h"
#include "types.h"
namespace Stockfish::Pawns {
/// Pawns::En... | C | Srcs/pawns.h | MohamedNayeem/Nayeem | gpl-3.0 | 1,723 | 60 | codeparrot/github-code |
8bb8601478be3726704973d1a431280c4a5a4750138227adfa0ad128ff494e78 | <?php
/**
* A Compatibility library with PHP 5.5's simplified password hashing API.
*
* @author Anthony Ferrara <ircmaxell@php.net>
* @license http://www.opensource.org/licenses/mit-license.html MIT License
* @copyright 2012 The Authors
*/
namespace {
if (!defined('PASSWORD_BCRYPT')) {
/**
... | PHP | comments/system/helper/password_compat.php | commentics/commentics | gpl-3.0 | 12,494 | 322 | codeparrot/github-code |
79377e5d44e77d4246c0f296480628e61ec7ce63a2bb667dcf05c4af3440d7fd | <?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle 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.
//
// Moodle ... | PHP | mod/hvp/lib.php | universityofglasgow/moodle | gpl-3.0 | 12,510 | 393 | codeparrot/github-code |
e5c6e341c29b9718f79c2f1b33d7e49d88fc0fbeff14447e2b737410071708b1 | /*
* Geeqie
* (C) 2004 John Ellis
* Copyright (C) 2008 - 2012 The Geeqie Team
*
* Author: John Ellis
*
* This software is released under the GNU General Public License (GNU GPL).
* Please read the included file COPYING for more information.
* This software comes with no warranty of any kind, use at your own ri... | C | QMOLEDEV/geeqie-1.1/src/menu.c | chriskmanx/qmole | gpl-3.0 | 7,443 | 289 | codeparrot/github-code |
9b6d53b09bee8384b3c9d31964ad64d4dbf3534acee3c220b657e911afcfe5c9 |
// Generated on 05/16/2016 23:27:25
using System;
using System.Collections.Generic;
using System.Linq;
using Arcane.Protocol.Types;
using Dofus.IO;
namespace Arcane.Protocol.Messages
{
public class MoodSmileyResultMessage : AbstractMessage
{
public const uint Id = 6196;
public override uint Messag... | C# | Arcane_v2/Arcane.Protocol/Messages/game/chat/smiley/MoodSmileyResultMessage.cs | Chuckame/Arcane_v2 | gpl-3.0 | 1,113 | 78 | codeparrot/github-code |
71ad00783cac2589218363452977577f15c7db9a0d71bdab264f14c0ba26f707 | package bio.singa.mathematics.vectors;
import bio.singa.mathematics.concepts.MultiDimensional;
import bio.singa.mathematics.metrics.model.Metrizable;
import java.lang.reflect.InvocationTargetException;
import java.util.StringJoiner;
import java.util.regex.Pattern;
/**
* A {@link BitVector} is a {@link MultiDimensio... | Java | singa-mathematics/src/main/java/bio/singa/mathematics/vectors/BitVector.java | cleberecht/singa | gpl-3.0 | 4,732 | 138 | codeparrot/github-code |
52f917a24f3bc505375d0c6168c2ddc00d022d694c133e5aadaf7de7e7bb5314 |
# from gimpfu import * # for assertions
from arraymap import ArrayMap
from pixmapMask import PixmapMask
from bounds import Bounds
'''
Design note:
Pixmap subclasses ArrayMap to separate GIMP from ArrayMap's implementation of a pixmap.
ArrayMap can be doctested without GIMP.
Use of a Python array instead of GIMP i... | Python | pixmap/pixmap.py | bootchk/pixmap | gpl-3.0 | 6,404 | 185 | codeparrot/github-code |
cabff559cb4a2b8791752b38d3cd465ce7681445fd3c2dd6c824fe895858eaaa | /*
This file is part of solidity.
solidity 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.
solidity is distributed in the hope that i... | C++ | libsmtutil/CHCSmtLib2Interface.cpp | ethereum/solidity | gpl-3.0 | 5,520 | 215 | codeparrot/github-code |
b808881b170e73d6d18aee5b5898c61913c9237210ca8127129c80f9b91c8e31 | // CANAPE Network Testing Tool
// Copyright (C) 2014 Context Information Security
//
// 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
// (... | C# | CANAPE.Controls/Controls/DocumentEditors/NetGraphDocumentControl.cs | ctxis/canape | gpl-3.0 | 34,341 | 911 | codeparrot/github-code |
0c80119ab61e6eacce28a05541089a136a23b5398e04482b9677b6756e5fb9c3 | /*
* JasperReports - Free Java Reporting Library.
* Copyright (C) 2001 - 2014 TIBCO Software Inc. All rights reserved.
* http://www.jaspersoft.com
*
* Unless you have purchased a commercial license agreement from Jaspersoft,
* the following license terms apply:
*
* This program is part of JasperReports.
*
* J... | Java | jasperreports-6.2.1-project/jasperreports-6.2.1/src/net/sf/jasperreports/components/headertoolbar/actions/MoveElementCommand.java | aleatorio12/ProVentasConnector | gpl-3.0 | 1,627 | 58 | codeparrot/github-code |
aae63467d4378e7bb5a1fb2f24c792842805716be874457c1e4e430bd1d358c7 | <?php
/*
* Copyright (c) 2018, Robert B. Watson
*
* This file is part of the piClinic Console.
*
* piClinic Console 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... | PHP | web/addComment.php | MercerU-TCO/CTS | gpl-3.0 | 4,869 | 150 | codeparrot/github-code |
e5ad6d9f079d798193abcb639f047e094527c0786630af07eaf6de32fea62b05 | using System;
using System.Collections.Generic;
using System.Linq;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using AGaugeApp;
using System.IO.Ports;
using System.Threading;
using MissionPlanner.Attributes;
using GMap.NET;
using GMap.NET.Windows... | C# | MissionPlanner-master/Common.cs | jlnaudin/x-drone | gpl-3.0 | 24,311 | 665 | codeparrot/github-code |
f9268005cff274f8fe64e04f91513d4acc155b7bb7a80633cc00668aee04fcee | #include "soarkernel.h"
#include "debugutil.h"
extern void detailed_print_wme(wme * w);
extern void detailed_print_preference(preference * p);
void examine_memory_pool(memory_pool * p)
{
print("Examine Memory Pool:\n");
print("Free List Head: %p\n", p->free_list);
#ifdef MEMORY_POOL_STATS
print("Used ... | C | kernel/debugutil.c | Sonophoto/sioo | gpl-3.0 | 5,579 | 228 | codeparrot/github-code |
c7ebe553c2575078284b7b8f7117a82bca15bf281741eed15dafbf779321725a | <?php
require_once("../../globals.php");
include_once ("functions.php");
include_once("../../calendar.inc");
formHeader("Form: medication_profile");
?>
<html>
<head>
<title>Medication Profile</title>
<style type="text/css">
.bold {
font-weight: bold;
}
</style>
<style type="text/css">
@import url(<?php echo $GLOBALS[... | PHP | interface/forms/medication_profile/new.php | tmccormi/openemr-homehealth | gpl-3.0 | 29,325 | 517 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.