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 |
|---|---|---|---|---|---|---|---|---|
c1571cf7bfd44c5fcfdaf7d4f494df7a9d4a01247d1b8a6a8f39ffd1f5722b85 | /*
* Copyright 2013 Anton Tananaev (anton.tananaev@gmail.com)
*
* 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... | Java | src/main/java/pl/datamatica/traccar/model/Device.java | datamatica-pl/traccar-orm | agpl-3.0 | 23,210 | 871 | codeparrot/github-code |
e520f5d88bc0b213004b6ddcc0c250757ed14eff65a7649beeb93cd64e76478b | /* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (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.mozilla.org/MPL/
*
... | JavaScript | public/javascripts/ace/ace/search.js | reidab/icecondor-server-rails | agpl-3.0 | 9,844 | 322 | codeparrot/github-code |
6a2fa7eb3add692016cbe836cf26bd994f7d475c5479a40a5e914c32c9493e49 | /**
* Copyright (C) 2000 - 2013 Silverpeas
*
* This program is free software: you can redistribute it and/or modify it under the terms of the
* GNU Affero General Public License as published by the Free Software Foundation, either version 3
* of the License, or (at your option) any later version.
*
* As a specia... | Java | ejb-core/node/src/main/java/com/stratelia/webactiv/util/node/model/NodeSelection.java | CecileBONIN/Silverpeas-Core | agpl-3.0 | 3,220 | 91 | codeparrot/github-code |
e9d6a43a682d37f07e5db82e7084dfac7305dfa5d4ab74781a322de084ba0854 | import React, { useState } from 'react';
import { connect, ConnectedProps } from 'react-redux';
import { TimeZone } from '@grafana/data';
import { CollapsableSection, Field, Input, RadioButtonGroup, TagsInput } from '@grafana/ui';
import { selectors } from '@grafana/e2e-selectors';
import { FolderPicker } from 'app/cor... | TypeScript | public/app/features/dashboard/components/DashboardSettings/GeneralSettings.tsx | grafana/grafana | agpl-3.0 | 5,865 | 168 | codeparrot/github-code |
6382f4e609c72b556c85f1338008e9df34df2187519a93b5e231868125c39ace | # Copyright (c) 2016 Sebastian Kanis
# This file is part of pi-led-control.
# pi-led-control 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 ve... | Python | src/server/programs/scheduledprogram.py | s0riak/pi-led-control | agpl-3.0 | 1,953 | 53 | codeparrot/github-code |
43db5d260e9c8b5f5a67487a7b4e4c6d05b0db44ed36f616ce3fcb7c05a349d6 | /**
* Based conceptually on the _.extend() function in underscore.js ( see http://documentcloud.github.com/underscore/#extend for more details )
* Copyright (C) 2012 Kurt Milam - http://xioup.com | Source: https://gist.github.com/1868955
*
* This program is free software: you can redistribute it and/or mo... | JavaScript | app/lib/deep_extend_underscore_mixin.js | 4poc/anpaste | agpl-3.0 | 2,385 | 52 | codeparrot/github-code |
4cf0adc204c60ec625e29357b4d26c87d97671ba8846703156a56f15e1a3db43 | package output;
import java.io.FileWriter;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.Collections;
import javax.swing.JOptionPane;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import org.w3c.dom.Document;
import org.w3c.dom.Eleme... | Java | master/pdf-tools/src/main/java/output/XmlParserJhove.java | YvonneTunnat/File-Format-Utilities | agpl-3.0 | 6,325 | 164 | codeparrot/github-code |
be49a57cb8a1c3e55968a93c7b70ec34551a1efd007e9c0a9fbae8089e19098e | {-# LANGUAGE FunctionalDependencies #-}
{-# LANGUAGE OverloadedStrings #-}
{-# OPTIONS_GHC -fno-warn-incomplete-patterns #-}
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE UndecidableInstances #-}
{-# LANGUAGE DeriveDataTypeable #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE GeneralizedNewty... | Haskell | source/PontariusService/Types.hs | pontarius/pontarius-service | agpl-3.0 | 6,475 | 189 | codeparrot/github-code |
023f035c8232be863d42cb134b17d8fffa631624a22334ec90d87aca89f2ed23 | <?php
/*-------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright (C) PHP-Fusion Inc
| https://www.php-fusion.co.uk/
+--------------------------------------------------------+
| Filename: gallery_settings.php
| Author: PHP-Fusion Development Team
+----------------------... | PHP | infusions/gallery/admin/gallery_settings.php | Talocha/PHP-Fusion | agpl-3.0 | 11,482 | 261 | codeparrot/github-code |
9e4fa34f5b3330792dcc5077defb2d2ac0c3139400422531cd8938bb4044ad33 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program 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 of the License,
--or (at your option) any later versio... | Lua | MMOCoreORB/bin/scripts/object/weapon/melee/polearm/crafted_saber/sword_lightsaber_polearm_gen3.lua | Tatwi/legend-of-hondo | agpl-3.0 | 6,203 | 142 | codeparrot/github-code |
6c49b5f75cb4cc92977d476dd6400eebe7aaeb8af1ca4428fdea68cdff591cd6 | <?php
/*
* This file is part of Kelinux-php.
* Copyright (C) 2012 Carlos Garcia Gomez neorazorx@gmail.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the... | PHP | core/ke_model.php | NeoRazorX/kelinux-php | agpl-3.0 | 1,886 | 68 | codeparrot/github-code |
e042af5a61bd36413e38e53f253007d59570f14bf56f30c70be724c3bdddfe75 | // ----------> GENERATED FILE - DON'T TOUCH! <----------
// generator: ilarkesto.mda.legacy.generator.EntityGenerator
package scrum.server.collaboration;
import java.util.*;
import ilarkesto.persistence.*;
import ilarkesto.core.logging.Log;
import ilarkesto.base.*;
import ilarkesto.base.time.*;
import ilark... | Java | src/generated/java/scrum/server/collaboration/GComment.java | hogi/kunagi | agpl-3.0 | 13,504 | 418 | codeparrot/github-code |
18c4f88154f0d8629758b77e427e532f77a7d0065e157ce173ad879f8da44da9 | const { Array } = require.main.require('./Tag/Classes');
class GetTag extends Array {
constructor(client) {
super(client, {
name: 'get',
args: [
{
name: 'array'
}, {
name: 'index'
}
],
minArgs: 2, maxArgs: 2
});
}
async execute(ctx, arg... | JavaScript | Production/Tags/Array/Get.js | Ratismal/blargbot | agpl-3.0 | 619 | 30 | codeparrot/github-code |
6f6aac67943860a6e8fb8f7c1c1b3c6d4efae3491e5473568e8bb443984dffbc | /*
===========================================================================
Return to Castle Wolfenstein multiplayer GPL Source Code
Copyright (C) 1999-2010 id Software LLC, a ZeniMax Media company.
This file is part of the Return to Castle Wolfenstein multiplayer GPL Source Code (RTCW MP Source Code).
RTCW ... | C | src/g_cmds.c | D4edalus/CoD4x1.8_Server_Pub | agpl-3.0 | 23,981 | 962 | codeparrot/github-code |
176d62b6d4eee73a31e22aa57a75cd7b267fd8810aa642a8e48bb188c8743d52 | import React, { useMemo } from 'react';
import { cx, css } from '@emotion/css';
import { MenuItem, WithContextMenu, MenuGroup, useTheme2 } from '@grafana/ui';
import { SelectableValue, GrafanaTheme2 } from '@grafana/data';
import { Seg } from './Seg';
import { unwrap } from './unwrap';
import { toSelectableValue } from... | TypeScript | public/app/plugins/datasource/influxdb/components/VisualInfluxQLEditor/PartListSection.tsx | grafana/grafana | agpl-3.0 | 3,719 | 141 | codeparrot/github-code |
b6083d008435c505ea365a86c96c9fd40e32e8aad5a910da400ccb504da86d37 | /*
* Asqatasun - Automated webpage assessment
* Copyright (C) 2008-2019 Asqatasun.org
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at y... | Java | rules/rules-rgaa2.2/src/test/java/org/asqatasun/rules/rgaa22/Rgaa22Rule01021Test.java | dzc34/Asqatasun | agpl-3.0 | 23,539 | 411 | codeparrot/github-code |
0c301e1ddfbd94b0af99025a6eb6094a389f1b5fe3887df3e904a89506d6ba8a | public class Generic{
public static void main(String[] args){
Car <String> car1 = new Car <String> ();
car1.setName("Buick");
car1.setPrice("100");
System.out.printf("name=%s,price=%s\n",car1.getName(),car1.getPrice());
Car <Integer> car2 = new Car <Integer> ();
car2.setName(001);
car2.setPrice(100);
... | Java | src/Generic.java | 314942468GitHub/JavaLearnning | agpl-3.0 | 963 | 54 | codeparrot/github-code |
4e8ed9d250307fd59506ff83bde1ce235852f61d48db06e082d2b6a138e47a06 | import * as React from 'react';
import renderOrder from '../renderOrder';
import { RenderLayer } from '../browser_utils/Utils';
import { SharedState } from '../citybound';
import { shadersForLandUses } from './stripedShaders';
import colors from '../colors';
export const LAND_USES = [
"Residential",
"Commercia... | TypeScript | cb_browser_ui/src/planning_browser/ZonePlanningLayers.tsx | citybound/citybound | agpl-3.0 | 2,016 | 43 | codeparrot/github-code |
bbae6e6a34c136aca4317c969256e74a2a358c9830de3cec7645ff7c5f10aaf3 | <?php
App::uses('AppController', 'Controller');
App::uses('Folder', 'Utility');
App::uses('File', 'Utility');
/**
* Attributes Controller
*
* @property Attribute $Attribute
*/
class AttributesController extends AppController {
public $components = array('Security', 'RequestHandler', 'Cidr');
public $paginate =... | PHP | app/Controller/AttributesController.php | 0x0mar/MISP | agpl-3.0 | 85,681 | 2,004 | codeparrot/github-code |
57df5fd45ca3335e90d2e0de3b3f6ff43353f54b004eacd0bf04a8d3e5c10526 | -- | This module provides the data type and parser for a trait file
module Trait (
Trait(..)
, defaultTrait
, trait
) where
import Maker
import Modifier
import Scoped(Label)
data Trait = Trait {
trait_name :: Label
, agnatic :: Bool
, birth :: Double -- ^ Chance of being assigned on birth. Default 0
... | Haskell | Trait.hs | joelwilliamson/validator | agpl-3.0 | 3,591 | 102 | codeparrot/github-code |
162c719eef397f1ba51c6d9bde368402837b76861d2ec93944fef720fd712c88 | // Copyright (c) 2016 Mattermost, Inc. All Rights Reserved.
// See License.txt for license information.
package api
import (
"bufio"
"io"
"io/ioutil"
"net/http"
"os"
"strconv"
"strings"
"time"
l4g "github.com/alecthomas/log4go"
"github.com/gorilla/mux"
"github.com/mattermost/platform/einterfaces"
"github... | GO | api/admin.go | daizenberg/platform | agpl-3.0 | 21,623 | 738 | codeparrot/github-code |
b8722c214938f5f10a4a5cf69e6ced05fefcfe1ef17e38d172a53f3d09c2f273 | // (c) Copyright Fernando Luis Cacciola Carballal 2000-2004
// Use, modification, and distribution is subject to the Boost Software
// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
// See library home page at http://www.boost.org/libs/numeric/conv... | C++ | tiny_boost/boost/numeric/conversion/cast.hpp | jbruestle/aggregate_btree | agpl-3.0 | 2,229 | 61 | codeparrot/github-code |
07f5064e5def1d74d4d5dd4783e869d46693eb09529b5eec77a8067675352bd0 | /*
Copyright 2011-2012 Frederic Menou and others referred in AUTHORS file.
This file is part of Magrit.
Magrit is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of
the License, or (at your ... | Java | server/sshd/src/main/java/org/kercoin/magrit/sshd/Server.java | ptitfred/magrit | agpl-3.0 | 4,603 | 145 | codeparrot/github-code |
0c938f519f2b517957ea08052ff6b0afd639a26536d0e4c81ccada7aede8b637 | /**
* BLOCK: blocks
*
* Registering a basic block with Gutenberg.
* Simple block, renders and saves the same content without any interactivity.
*/
import "./editor.scss";
import "./style.scss";
import React from "react";
import Select from "react-select";
const {
PanelBody,
PanelRow,
ServerSideRender,
TextCon... | JavaScript | includes/blocks/src/evidence-block/block.js | opencredit/badgeos | agpl-3.0 | 6,636 | 255 | codeparrot/github-code |
0ac218ad4616ae6cecf7ea92ea16225d2384ced16b48d7859e3d857287eb5f39 | # -*- coding: utf-8 -*-
# Etalage -- Open Data POIs portal
# By: Emmanuel Raviart <eraviart@easter-eggs.com>
#
# Copyright (C) 2011, 2012 Easter-eggs
# http://gitorious.org/infos-pratiques/etalage
#
# This file is part of Etalage.
#
# Etalage is free software; you can redistribute it and/or modify
# it under the term... | Python | etalage/contexts.py | Gentux/etalage | agpl-3.0 | 7,875 | 220 | codeparrot/github-code |
5b2895e599b7b5e6df29f07b76c18d50132190b759122d27ec324fd46fe8b5d3 | <?php
/**
* StatusNet, the distributed open-source microblogging tool
*
* Subscribe to a peopletag
*
* PHP version 5
*
* LICENCE: This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, ei... | PHP | actions/subscribepeopletag.php | ZealIndustries/white-glint | agpl-3.0 | 5,342 | 152 | codeparrot/github-code |
260ab6d663446e5b8b0f3a7d5a6d9711f4f4e2cf6ea27d513cb5ef95a131ccda | /*
* Copyright (C) 2013 OpenJST Project
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This progra... | Java | protocol/basic/commons/src/main/java/org/openjst/protocols/basic/encoder/ProtocolEncoder.java | devmix/openjst | agpl-3.0 | 2,229 | 59 | codeparrot/github-code |
743016b961684dfdb47f161146a8c02a6163c5c8a3754dfb131b7305f0b2cb37 | package com.thegame.server.presentation.exceptions;
import com.thegame.server.common.exceptions.TypifiedException;
/**
* @author e103880
*/
public class PresentationException extends TypifiedException{
private final PresentationExceptionType exceptionType;
private final Object[] arguments;
pu... | Java | server/server-presentation/src/main/java/com/thegame/server/presentation/exceptions/PresentationException.java | bernatmv/thegame | agpl-3.0 | 1,333 | 47 | codeparrot/github-code |
200e92f9ee94728b8dd939a2ef9823f98a6c14c92da8a1d6db36ca657ca91598 | /**
* @ngdoc service
* @name ftepApp.SubscriptionService
* @description
* # SubscriptionService
* Service for subscriptions.
*/
'use strict';
define(['../ftepmodules', 'traversonHal'], function (ftepmodules, TraversonJsonHalAdapter) {
ftepmodules.service('SubscriptionService', [ 'ftepProperties', '$q', 'tra... | JavaScript | f-tep-portal/src/main/resources/app/scripts/services/subscriptionservice.js | cgi-eoss/ftep | agpl-3.0 | 4,930 | 129 | codeparrot/github-code |
947a890e8a1fb10c76480dc7a093d450827113f2719bb8c8ec5a51ea612b96c2 |
var request = require("request");
var yaml = require("js-yaml");
var jsonfile = require("jsonfile");
request("https://raw.githubusercontent.com/unitedstates/congress-legislators/master/legislators-current.yaml", function(error, response, body) {
if (!error && response.statusCode == 200) {
var legislators = yaml... | JavaScript | bin/update-congress.js | EdenSG/democracy.io | agpl-3.0 | 1,161 | 31 | codeparrot/github-code |
f2239216d7c86016ad1454f4a69566d7af22139a70bf7662c564537e091c266c | /**
* Nooku Framework - http://www.nooku.org
*
* @copyright Copyright (C) 2011 - 2017 Johan Janssens and Timble CVBA. (http://www.timble.net)
* @license GNU AGPLv3 <https://www.gnu.org/licenses/agpl.html>
* @link https://github.com/timble/openpolice-platform
*/
if(!Ckeditor) var Ckeditor = {};
Ckeditor.Files ... | JavaScript | component/ckeditor/resources/assets/js/ckeditor.files.js | timble/openpolice-platform | agpl-3.0 | 2,785 | 94 | codeparrot/github-code |
3fdb16b20d801a2d31edd224838f1f17c01be1f7d9ea7e4c5dcb313e57f2dce4 | var articles = null;
function restore_all_articles_view() {
$("#allbtn").button('toggle');
$('#articleslist').empty();
$('#articleslist').append(articles);
$('#filterwarning').hide();
}
function switch_category(category) {
if (typeof category != "undefined") {
$("#articleslist").empty();
var filtere... | JavaScript | webapp/static/js/country.js | gfidente/opinoid | agpl-3.0 | 1,017 | 39 | codeparrot/github-code |
4dc48aacb27a98201fc80f540d79e80d82b6ee153c824c1f287e951893040443 | /*
Copyright (c) 2014-2022 AscEmu Team <http://www.ascemu.org>
This file is released under the MIT license. See README-MIT for more information.
*/
#include "WowCrypt.hpp"
#include <algorithm>
#include <openssl/hmac.h>
WowCrypt::WowCrypt()
{
m_isInitialized = false;
m_clientWotlkDecryptKey.x = 0;
m_clie... | C++ | src/shared/Auth/WowCrypt.cpp | AscEmu/AscEmu | agpl-3.0 | 5,007 | 183 | codeparrot/github-code |
7d5a7a3e969bd9d364df1b7b6c22991d1eaf12bc7b443afa5e89494257566141 | from django.contrib.auth.decorators import login_required
from django.shortcuts import get_object_or_404
from django.http import HttpResponseRedirect, Http404
from django.db.models import Q
from django.contrib import messages
from cc.general.util import render
import cc.ripple.api as ripple
from cc.profile.models impo... | Python | cc/relate/views.py | rfugger/villagescc | agpl-3.0 | 5,122 | 136 | codeparrot/github-code |
650e3735b867b5c2b94ba542c12e93e85fb5075484bd0a172f45bf9c59c0e75f | /**
* Copyright (C) 2013 The Language Archive, Max Planck Institute for
* Psycholinguistics
*
* 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 o... | Java | common/src/main/java/nl/mpi/yams/common/data/DataNodeHighlight.java | TheLanguageArchive/YAMS | agpl-3.0 | 1,663 | 54 | codeparrot/github-code |
2c6ef642cd5e30da53e75142f471b116c46e0252118e6aefde6e2b57fd8f98bb | // Copyright Dan Schatzberg, 2015. This file is part of Genesis.
// Genesis is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
... | Rust | src/arch/x86/serial.rs | dschatzberg/genesis | agpl-3.0 | 2,110 | 69 | codeparrot/github-code |
fba7f8c9fb4ca1e7eaeb67271b1d42b3b0c517b21e4d53085e8cb946e524036e | /*
* JBILLING CONFIDENTIAL
* _____________________
*
* [2003] - [2012] Enterprise jBilling Software Ltd.
* All Rights Reserved.
*
* NOTICE: All information contained herein is, and remains
* the property of Enterprise jBilling Software.
* The intellectual and technical concepts contained
* herein a... | Java | src/java/com/sapienter/jbilling/server/pluggableTask/admin/PluggableTaskBL.java | rahith/ComtalkA-S | agpl-3.0 | 10,431 | 257 | codeparrot/github-code |
75b445ba7b3e16a6918b6126013f90cca0dd0b9a2e8e8aba01046f1e23ee7139 | # == Schema Information
#
# Table name: terms
#
# id :integer not null, primary key
# sourced_id :string
# title :string
# start_at :datetime
# end_at :datetime
# created_at :datetime not null
# updated_at :datetime not null
#
class Term < ApplicationRecord
has_many... | Ruby | app/models/term.rb | lepo-project/lepo | agpl-3.0 | 2,652 | 97 | codeparrot/github-code |
adc2289058a519a1e40760647ae14611b7cd925d7cc1607c7930450753965fc3 | /*
* StatusBarWidget.java
*
* Copyright (C) 2009-11 by RStudio, Inc.
*
* This program is licensed to you under the terms of version 3 of the
* GNU Affero General Public License. This program is distributed WITHOUT
* ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING THOSE OF NON-INFRINGEMENT,
* MERCHANTABILITY OR FITNE... | Java | src/gwt/src/org/rstudio/studio/client/workbench/views/source/editors/text/status/StatusBarWidget.java | Sage-Bionetworks/rstudio | agpl-3.0 | 1,945 | 83 | codeparrot/github-code |
92dcbc57778aac32ee1daca4be8e653ee81ba416d40fada95e5c725b551df422 | # --
# Kernel/Modules/AgentFAQAdd.pm - agent frontend to add faq articles
# Copyright (C) 2001-2014 OTRS AG, http://otrs.com/
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (AGPL). If you
# did not receive this file, see http://www.gnu.org/li... | Perl | Kernel/Modules/AgentFAQAdd.pm | NeverMin/wuxiapptec | agpl-3.0 | 19,297 | 611 | codeparrot/github-code |
be70391be71139bca114f6e34bc88fa1719032601ece0b80965583d725ab203b | <div class="row">
<div class="span9">
<span id="long_description_text_1"></span>
</div>
</div>
<div class="row">
<div class="span9">
<span id="long_description_text_2"></span>
</div>
</div>
<script type="text/javascript" src="/static/js/pybossa/pybossa.js"></script>
<script type="text/j... | HTML | long_description.html | Ibercivis/app-cellspotting | agpl-3.0 | 1,674 | 57 | codeparrot/github-code |
601bef8cc0328ba277f711230dae01cdd7fc864430072a11abc461a53001a3c4 | /*
* Copyright 2011 Witoslaw Koczewsi <wi@koczewski.de>, Artjom Kochtchi
*
* This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero
* General Public License as published by the Free Software Foundation, either version 3 of the License, or
* (at your option) any l... | Java | WEB-INF/classes/scrum/client/communication/Pinger.java | MiguelSMendoza/Kunagi | agpl-3.0 | 4,177 | 147 | codeparrot/github-code |
a04e12109dde3475b430dc6ef675166001b92a0852d01098140bd9e85a6b83eb | <?php
/**
* Nooku Framework - http://www.nooku.org
*
* @copyright Copyright (C) 2007 - 2017 Johan Janssens and Timble CVBA. (http://www.timble.net)
* @license GNU AGPLv3 <https://www.gnu.org/licenses/agpl.html>
* @link https://github.com/timble/openpolice-platform
*/
namespace Nooku\Library;
/**
* Callback O... | PHP | library/command/callback.php | timble/openpolice-platform | agpl-3.0 | 3,083 | 119 | codeparrot/github-code |
bdd93633e777da885b0e72c5a6ebc536e697ef17303b59f94d67ae6244fa6af2 | // ----------> GENERATED FILE - DON'T TOUCH! <----------
// generator: ilarkesto.mda.legacy.generator.DaoGenerator
package scrum.server.admin;
import java.util.*;
import ilarkesto.persistence.*;
import ilarkesto.core.logging.Log;
import ilarkesto.base.*;
import ilarkesto.base.time.*;
import ilarkesto.auth.*... | Java | src/generated/java/scrum/server/admin/GUserDao.java | hogi/kunagi | agpl-3.0 | 31,402 | 928 | codeparrot/github-code |
c661c4f05c4be3122a86ecc6df316990b6c998b8987782f7ad127c00b9e3cea4 | package info.nightscout.androidaps.plugins.SmsCommunicator;
import android.app.Activity;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.text.Html;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import com.... | Java | app/src/main/java/info/nightscout/androidaps/plugins/SmsCommunicator/SmsCommunicatorFragment.java | RoumenGeorgiev/AndroidAPS | agpl-3.0 | 3,394 | 97 | codeparrot/github-code |
b77dad8cc114451626db1b22f9ac7c34a65188388a25def5c32ffbe7a6ff1245 | /*
* ADL2-core
* Copyright (c) 2013-2014 Marand d.o.o. (www.marand.com)
*
* This file is part of ADL2-core.
*
* ADL2-core is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
... | Java | adl-parser/src/main/java/org/openehr/adl/am/mixin/AmMixinsInternal.java | lonangel/adl2-core | agpl-3.0 | 3,715 | 92 | codeparrot/github-code |
b38e622f07fee55691b23274629b2f8c1b8a6bc055aa606b16a2f06dca437413 | /**
* This file is part of mycollab-scheduler.
*
* mycollab-scheduler 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.
*
* mycol... | Scala | mycollab-scheduler/src/main/scala/com/esofthead/mycollab/schedule/email/project/service/BugRelayEmailNotificationActionImpl.scala | maduhu/mycollab | agpl-3.0 | 14,706 | 261 | codeparrot/github-code |
e186f1395ee80e4edc022d7128101e71740161a2f9ba93ba12272378d01362db | /*
* Realmedia RTSP protocol (RDT) support.
* Copyright (c) 2007 Ronald S. Bultje
*
* This file is part of FFmpeg.
*
* FFmpeg 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.... | C | lib/ffmpeg/Win32/src/ffmpeg/libavformat/rdt.c | ging/isabel | agpl-3.0 | 18,890 | 586 | codeparrot/github-code |
9756e9c983e321e9ad5924144ba2edb606f02300438636771ca3c52c4eb88ee3 | #!/usr/bin/env python
# -*- coding: utf-8; tab-width: 4; indent-tabs-mode: t -*-
#
# NetProfile: Authentication routines
# © Copyright 2013-2014 Alex 'Unik' Unigovsky
#
# This file is part of NetProfile.
# NetProfile is free software: you can redistribute it and/or
# modify it under the terms of the GNU Affero General ... | Python | netprofile/netprofile/common/auth.py | annndrey/npui-unik | agpl-3.0 | 6,264 | 216 | codeparrot/github-code |
bfde313d425f5a166466f43cbe395d24c2b906925578112fade5cbed94c544cf | <?php
namespace Drupal\effective_activism\AccessControlHandler;
use Drupal;
use Drupal\Core\Access\AccessResult;
use Drupal\Core\Entity\EntityAccessControlHandler;
use Drupal\Core\Entity\EntityInterface;
use Drupal\Core\Session\AccountInterface;
/**
* Access controller for the Event entity.
*
* @see \Drupal\effec... | PHP | src/AccessControlHandler/EventAccessControlHandler.php | EffectiveActivism/effective_activism | agpl-3.0 | 1,456 | 49 | codeparrot/github-code |
ee7f3fb34e0ccef37838e274487449fa0f51ad4c89c71cca21bb8bcb318051bc | /**
* Copyright (C) 2001-2017 by RapidMiner and the contributors
*
* Complete list of developers available at our web site:
*
* http://rapidminer.com
*
* This program is free software: you can redistribute it and/or modify it under the terms of the
* GNU Affero General Public License as published by ... | Java | src/main/java/com/rapidminer/gui/actions/AboutAction.java | cm-is-dog/rapidminer-studio-core | agpl-3.0 | 1,819 | 58 | codeparrot/github-code |
767f8aa44aee43b1f6aba67b2cec92af1598c79e27ac0371a944784ab04751a2 | /**
* Copyright (c) 2011-2018 libgroestlcoin developers (see AUTHORS)
*
* This file is part of libgroestlcoin.
*
* libgroestlcoin is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License with
* additional permissions to the one published by the Free So... | C++ | src/network/protocol.cpp | GroestlCoin/libgroestlcoin | agpl-3.0 | 19,757 | 700 | codeparrot/github-code |
74b1955f35ffc6418a008484afc5de99330030421fa75384a8116e0fb34f298f | /*
* PHEX - The pure-java Gnutella-servent.
* Copyright (C) 2001 - 2006 Arne Babenhauserheide ( arne_bab <at> web <dot> de )
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either v... | Java | src/main/java/phex/util/RSSParser.java | deepstupid/phex | agpl-3.0 | 13,551 | 406 | codeparrot/github-code |
b28eb1928ad8f933b85a71ae3d4d8d4cdc7cbd8cc87aea7c009974e73c559cad | <?php /* Smarty version 2.6.11, created on 2012-09-04 14:40:06
compiled from cache/modules/Accounts/EditView.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'sugar_include', 'cache/modules/Accounts/EditView.tpl', 39, f... | PHP | cache/smarty/templates_c/%%F7^F76^F763801C%%EditView.tpl.php | acuteventures/CRM | agpl-3.0 | 62,985 | 987 | codeparrot/github-code |
2b21fe2ef45ea9f1751319ab107b52e63af774abe9558f2a46d99f84dd09b096 | /*
Copyright (C) 2016 Anki Universal Team <ankiuniversal@outlook.com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
... | C# | AnkiU/UserControls/RichEditBoxContentDialog.xaml.cs | AnkiUniversal/Anki-Universal | agpl-3.0 | 1,958 | 61 | codeparrot/github-code |
5096a50ef2af5a07e997c5e77f6d73f490a740ce83ba054d4f347321a578d0c9 | /* This file is part of VoltDB.
* Copyright (C) 2008-2014 VoltDB Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any la... | Java | src/frontend/org/voltdb/LoadedProcedureSet.java | zheguang/voltdb | agpl-3.0 | 8,988 | 215 | codeparrot/github-code |
2c2d182b8a6140a91039fd5f82aa8c642bf5fae49bd391729ee585f3e568f948 | /*
* Copyright © Région Nord Pas de Calais-Picardie.
*
* This file is part of OPEN ENT NG. OPEN ENT NG is a versatile ENT Project based on the JVM and ENT Core Project.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* publ... | Java | src/main/java/org/entcore/cursus/controllers/CursusController.java | OPEN-ENT-NG/cursus | agpl-3.0 | 13,067 | 395 | codeparrot/github-code |
e65647299eb4717f0e0fa56b5ee31881ba36e9dbf82c8fba409bd5ce9cf69148 | // Copyright David Abrahams 2002.
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#ifndef UNWIND_TYPE_DWA200222_HPP
# define UNWIND_TYPE_DWA200222_HPP
# include <boost/python/detail/cv_category.hpp>
# include <b... | C++ | tiny_boost/boost/python/detail/unwind_type.hpp | jbruestle/aggregate_btree | agpl-3.0 | 4,739 | 171 | codeparrot/github-code |
990bacc6d84ff17eb9cb06ba45691b74e3b2e239b7e20f6bc0b8a1a62cc2d6bb | class Api::AccountsController < ApiController
def index
@accounts = current_user.accounts
respond_with(@accounts)
end
def show
find_account!
respond_with(@account)
end
def update
find_account!
@account.update(account_params)
respond_with(@account)
end
private
def find_ac... | Ruby | app/controllers/api/accounts_controller.rb | asm-helpful/helpful-web | agpl-3.0 | 555 | 31 | codeparrot/github-code |
74e807febf1243a819e72f16bc4342a230172e37cba11406540c952c8cf91853 | /*
* LICENCE : CloudUnit is available under the Affero Gnu Public License GPL V3 : https://www.gnu.org/licenses/agpl-3.0.html
* but CloudUnit is licensed too under a standard commercial license.
* Please contact our sales team if you would like to discuss the specifics of our Enterprise license.
* If you are not su... | Java | cu-manager/src/test/java/fr/treeptik/cloudunit/modules/redis/Wildfly8Redis32ModuleControllerTestIT.java | Treeptik/cloudunit | agpl-3.0 | 1,612 | 39 | codeparrot/github-code |
2a8dc580561897f4e0a1d45fe7aae2359d5ee60c9af3c4e019c1a25405a50b45 | #
# Bold - more than just blogging.
# Copyright (C) 2015-2016 Jens Krämer <jk@jkraemer.net>
#
# This file is part of Bold.
#
# Bold is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of th... | Ruby | app/controllers/frontend_controller.rb | bold-app/bold | agpl-3.0 | 4,628 | 162 | codeparrot/github-code |
ff80cf1de9fb75e81571ab3f99071d5bf87ed130a31a8b51d3cb4086c896ade9 | #include "fitz-imp.h"
#include <assert.h>
#include <string.h>
#include <stdio.h>
#include <time.h>
struct fz_style_context_s
{
int refs;
char *user_css;
int use_document_css;
};
static void fz_new_style_context(fz_context *ctx)
{
if (ctx)
{
ctx->style = fz_malloc_struct(ctx, fz_style_context);
ctx->style->r... | C | source/fitz/context.c | fluks/mupdf-x11-bookmarks | agpl-3.0 | 8,170 | 343 | codeparrot/github-code |
ac53581a6483ced3aff4dbb0bdc2fac4a4e26c80cdb8d2a9cacfa2975fbc9c77 | <?php declare(strict_types=1);
/**
* @copyright 2019 Christoph Wurst <christoph@winzerhof-wurst.at>
*
* @author 2019 Christoph Wurst <christoph@winzerhof-wurst.at>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms ... | PHP | lib/Events/MessageSentEvent.php | ChristophWurst/mail | agpl-3.0 | 2,380 | 93 | codeparrot/github-code |
b9f425932d3b3aaddc2a9414e60369a246314d72376650c5347e1c2b90a774a2 | <!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>The source code</title>
<link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="../resources/prettify/prettify.js"></script>
<style type="t... | HTML | docs/source/jslet.dbspinedit.html | jslet/jslet | agpl-3.0 | 8,843 | 342 | codeparrot/github-code |
d1b5a6ea99d0fa7319a7b3025483da72288063f96aca16a78a5adc17b8266283 | import _ from 'underscore'
import Base from '../graphs/base'
import DayBinner from '../graphs/DayBinner'
import WeekBinner from '../graphs/WeekBinner'
import MonthBinner from '../graphs/MonthBinner'
import ScaleByBins from '../graphs/ScaleByBins'
import helpers from '../helpers'
import I18n from 'i18n!page_views'
// #... | JavaScript | app/jsx/graphs/DateAlignedGraph.js | instructure/analytics | agpl-3.0 | 5,859 | 182 | codeparrot/github-code |
06726f662ec223083f8693431ca505e4ca1994bc7e1eca70096af0deedbea26f | <?php
/**
* Output functions
* Processing text for output such as pulling out URLs and extracting excerpts
*
* @package Elgg
* @subpackage Core
*/
/**
* Takes a string and turns any URLs into formatted links
*
* @param string $text The input string
*
* @return string The output string with formatted links
... | PHP | lib/output.php | Minds/engine | agpl-3.0 | 13,038 | 488 | codeparrot/github-code |
047e538725f02811ca3525aa9ea7cba01fb0c629162ac5fb9e21d1b4c0d7304c | OC.L10N.register(
"encryption",
{
"Missing recovery key password" : "Brakujące hasło klucza odzyskiwania",
"Please repeat the recovery key password" : "Proszę powtórz nowe hasło klucza odzyskiwania",
"Repeated recovery key password does not match the provided recovery key password" : "Hasła klucza o... | JavaScript | apps/encryption/l10n/pl.js | michaelletzgus/nextcloud-server | agpl-3.0 | 8,541 | 65 | codeparrot/github-code |
5a7235f9c1fbdef4da833e0e0c71530f769984a5f13a4605b0ca1beeedacfb58 | import { Ability } from "./ability";
import { search } from "./utility/pathfinding";
import { Hex } from "./utility/hex";
import * as arrayUtils from "./utility/arrayUtils";
import { Drop } from "./drops";
import { Effect } from "./effect";
/**
* Creature Class
*
* Creature contains all creatures properties and at... | JavaScript | src/creature.js | ShaneWalsh/AncientBeast | agpl-3.0 | 37,605 | 1,677 | codeparrot/github-code |
b9801065cf0466fd525b82e6d04efdf8c6cd820d05a99d7e89cae6cb4774980f | <!DOCTYPE html>
<html lang="en"
>
<head>
<title>40123226 - CDW11 網頁 (虎尾科大MDE)</title>
<!-- Using the latest rendering mode for IE -->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style type="t... | HTML | static/blog/tag/40123226.html | tsrnnash/bg8-cdw11 | agpl-3.0 | 26,127 | 504 | codeparrot/github-code |
1cf02d53774b4d7670caa8498238d2f9608b8fce874f0082f589f5e2487d2a75 | class GroupSerializer < ActiveModel::Serializer
embed :ids, include: true
attributes :id,
:organisation_id,
:cohort_id,
:key,
:name,
:created_at,
:description,
:members_can_add_members,
:members_can_create_subgro... | Ruby | app/serializers/group_serializer.rb | kimihito/loomio | agpl-3.0 | 1,358 | 57 | codeparrot/github-code |
2c9becc3a0aa6471dc8d56cbd05c49a07963342d591cfc380f9cb1be2d470948 | /*
sb0t ares chat server
Copyright (C) 2017 AresChat
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any la... | C# | core/Udp/UdpNode.cs | AresChat/sb0t | agpl-3.0 | 1,308 | 42 | codeparrot/github-code |
3f24d2d2c89ef65484ab0e3053b2a5afafacfeed24987377aa3fadeb14e0f368 | #!/usr/bin/python
#-*- coding: utf-8 -*-
###########################################################
# © 2011 Daniel 'grindhold' Brendle and Team
#
# This file is part of Skarphed.
#
# Skarphed is free software: you can redistribute it and/or
# modify it under the terms of the GNU Affero General Public License
# as ... | Python | core/lib/operation.py | skarphed/skarphed | agpl-3.0 | 16,723 | 513 | codeparrot/github-code |
d811d5887642af74f10bdf2c8270a2a8878cf8fef8de41d1f28d34d3f0bb337a | /*
Lodo is a layered to-do list (Outliner)
Copyright (C) 2015 Keith Morrow.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License v3 as
published by the Free Software Foundation.
This program is distributed in the hope that it will be useful,
... | Scala | lodo/js/src/main/scala/components/NotebookSelector.scala | k3d3/lodo | agpl-3.0 | 3,834 | 131 | codeparrot/github-code |
491494a58ede7453dbf84819d5f0c659dfa4dfdc5e65614b2f1a48a9e71cb789 | <?php
/*
This file is part of Incipio.
Incipio is an enterprise resource planning for Junior Enterprise
Copyright (C) 2012-2014 Florian Lefevre.
Incipio is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Founda... | PHP | src/mgate/PersonneBundle/Controller/PosteController.php | Emagine-JE/Incipio | agpl-3.0 | 5,756 | 189 | codeparrot/github-code |
8651c102cd6becd445a0b2d3bb212afeb94bccc16dbfa73a40c959f0da875da2 | using NetEOC.Auth.Data;
using NetEOC.Auth.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace NetEOC.Auth.Services
{
public class OrganizationService
{
public OrganizationRepository OrganizationRepository { get; set; }
public Org... | C# | Source/Services/NetEOC.Auth/Services/OrganizationService.cs | neteoc/neteoc-server | agpl-3.0 | 6,029 | 175 | codeparrot/github-code |
a5085047810a3f649441d15b99f2a614d9d2d9a1ec5a6efe4ccb6670521a5d11 | package com.wirecard.acqp.two;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import org.junit.After;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Ignore;
import org.junit.Test;
@Ignore
@SuppressWarnings("javadoc")
public class ThreadingLongrunning... | Java | src/test/java/com/wirecard/acqp/two/ThreadingLongrunningTest.java | wakantanka/get_iso_8583 | agpl-3.0 | 3,989 | 94 | codeparrot/github-code |
a289932c58cd68bb11a08520345c822cf14520604d9d7543993260e584035790 | /* gzlib.c -- zlib functions common to reading and writing gzip files
* Copyright (C) 2004-2017 Mark Adler
* For conditions of distribution and use, see copyright notice in zlib.h
*/
#include "gzguts.h"
#if defined(_WIN32) && !defined(__BORLANDC__)
# define LSEEK _lseeki64
#else
#if defined(_LARGEFILE64_SOURCE) &... | C | src/ext/zlib/gzlib.c | sagiadinos/garlic-player | agpl-3.0 | 16,709 | 640 | codeparrot/github-code |
aaee8b6c6a444e9699d3133cdb36a956a414f88881e66ae058263e237c8505b7 | #!/bin/bash
# cve <file1> [<file2> ...]
#
# Pour éditer un ou plusieurs fichier(s) existant(s) sous CVS.
# - fait un "cvs update" si besoin (status "Needs patch")
# - fait un "cvs edit" pour déclarer aux autres users qu'on édite le fichier
# (voir la commande "cvs editors")
# - utilise l'éditeur préféré déclaré dans l... | Shell | cvs-edit.sh | PixEye/PixShellScripts | agpl-3.0 | 2,106 | 80 | codeparrot/github-code |
ab5e656773c94a0c3f5d0ab9b3f032289073a9bc83bba0e819cd3a1d4d6bdcc8 | #ifndef __SEGMENTER_H__
#define __SEGMENTER_H__
// includes
#include "media_set.h"
#include "common.h"
// constants
#define INVALID_SEGMENT_COUNT UINT_MAX
#define SEGMENT_FROM_TIMESTAMP_MARGIN (100) // in case of clipping, a segment may start up to 2 frames before the segment boundary
#define MIN_SEGMENT_DURATION (5... | C | vod/segmenter.h | kaltura/nginx-vod-module | agpl-3.0 | 5,007 | 189 | codeparrot/github-code |
b22c5e7ae82e3b372758ee6ebbc95c18357d265fa264f6d45c486213be54bc7f | import React from 'react';
import { Card } from 'bm-kit';
import './_pillar.schedule.source.scss';
const friday = [
{
start: '6:00 PM',
name: '📋 Check in begins'
},
{
start: '8:00 PM',
name: '🎤 Opening Ceremonies'
},
{
start: '9:00 PM',
name: '🤝 Team assembly'
},
{
start: '... | JavaScript | src/components/Schedule/index.js | BoilerMake/frontend | agpl-3.0 | 2,769 | 153 | codeparrot/github-code |
fb03a6cbcf9fba1e566a1f1e1baa84bd35c307f95c1e9ffaef3d7ec882c98d4f | window.addEventListener("DOMContentLoaded", () => {
let watchers = {};
new DOM('@Dialog').forEach((dialog) => {
dialogPolyfill.registerDialog(dialog);
if (dialog.querySelector('Button[Data-Action="Dialog_Submit"]')) {
dialog.addEventListener("keydown", (event) => {
if (event.ctrlKey && event.keyCode == 1... | JavaScript | Dialog.js | GenbuProject/SimpleThread | agpl-3.0 | 13,060 | 348 | codeparrot/github-code |
0cea81153aad1b465a1a9d26939af7b819f8e8df292acac88f30bd587805ea2e | package com.simplyian.superplots.actions;
import static org.mockito.Matchers.contains;
import static org.mockito.Mockito.verify;
import static org.powermock.api.mockito.PowerMockito.mock;
import static org.powermock.api.mockito.PowerMockito.when;
import java.util.Arrays;
import java.util.List;
import org.bukkit.Loca... | Java | src/test/java/com/simplyian/superplots/actions/ActionWithdrawTest.java | simplyianm/SuperPlots | agpl-3.0 | 5,323 | 157 | codeparrot/github-code |
fa5e51467ef58650257a509211716086c06832bcbcd6c9ea209d60e3801c5f7b | import {login, signup} from '../../src/app/actions/authActions';
import ActionsConstants from '../../src/common/constants/actionsConstants';
describe('auth actions', () => {
describe('if we create a login action', () => {
let userId = 'TestUser';
it('should generate action with payload', () => {
... | TypeScript | client/__tests__/actions/authActions.spec.ts | bernatmv/thegame | agpl-3.0 | 1,057 | 36 | codeparrot/github-code |
e1a3bee9f43a38ce8e66ef6428f2b598c04ae475098437743f93fbfa079f11ae | <?php
/**
* Validation.
*
* @author Fabio Alessandro Locati <fabiolocati@gmail.com>
* @author Wenzel Pünter <wenzel@phelix.me>
* @author Daniel Mejta <daniel@mejta.net>
*
* @version 2.0.0
*/
namespace Isbn;
/**
* Validation.
*/
class Validation
{
/**
* Check Instance.
*
* @var Check
... | PHP | src/Isbn/Validation.php | Fale/isbn | agpl-3.0 | 2,768 | 137 | codeparrot/github-code |
b12bcbc05eb0e039bccce47741bd5503c46d8babbcc146b65e2ac1d7911c6f73 | /**
* Copyright (C) 2000 - 2011 Silverpeas
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* As a spe... | Java | lib-core/src/main/java/com/stratelia/webactiv/beans/admin/SynchroDomainScheduler.java | stephaneperry/Silverpeas-Core | agpl-3.0 | 3,969 | 106 | codeparrot/github-code |
fd982c8121e4abcf61738c57d8c3f7178382194bc5ae946d0e7c15453d4088f8 | <?xml version="1.0" encoding="iso-8859-1"?>
<!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>
<title>File: scan_rules_reader.rb</title>
<meta http-equiv="Con... | HTML | doc/files/lib/scan_rules_reader_rb.html | openlogic/ossdiscovery | agpl-3.0 | 3,939 | 163 | codeparrot/github-code |
d05991e4daca95ae41484307c7b3530803f785fb43b8578b0404556d73c8d2c7 | from django.conf.urls.defaults import *
import frontend.views as frontend_views
import codewiki.views
import codewiki.viewsuml
from django.contrib.syndication.views import feed as feed_view
from django.views.generic import date_based, list_detail
from django.views.generic.simple import direct_to_template
f... | Python | web/urls.py | rossjones/ScraperWikiX | agpl-3.0 | 3,556 | 92 | codeparrot/github-code |
a1d7e5cc643356690552a1852b31b21a88103d6ec3ff9051fcd7f3cde49f27dc | package cz.plichtanet.honza;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder;
import... | Java | src/main/java/cz/plichtanet/honza/WebSecurityConfig.java | plichjan/pdfDriveWebApp | agpl-3.0 | 2,624 | 69 | codeparrot/github-code |
56f750e13c9ce44d70e8578384acaa8ddacfae6f69a938e31ecc5e6a4d52bf00 | <?php
//Harvie's PHP HTTP-Auth script (2oo7-2o1o)
//CopyLefted4U ;)
///SETTINGS//////////////////////////////////////////////////////////////////////////////////////////////////////
//Login
/*$realm = 'music'; //This is used by browser to identify protected area and saving passwords (one_site+one_realm==one_user+one_pa... | PHP | wwwroot/inc/http_auth.php | Kyberia/Kyberia-bloodline | agpl-3.0 | 3,525 | 79 | codeparrot/github-code |
519ad7885754eab5655d40b7774a7228f3b8c4ea0e5e4e82d428ccb82abcb2da | ###############################################################################
#
# Package: NaturalDocs::Parser::Native
#
###############################################################################
#
# A package that converts comments from Natural Docs' native format into <NaturalDocs::Parser::ParsedTopic> obj... | Perl | Modules/NaturalDocs/Parser/Native.pm | prantlf/NaturalDocs | agpl-3.0 | 40,495 | 1,152 | codeparrot/github-code |
f5c537adaf2160fd6dcbed261eaae798573396cb0e993b2e40e1be60c8b9df3d | /* $OpenBSD: bcrypt_pbkdf.c,v 1.4 2013/07/29 00:55:53 tedu Exp $ */
/*
* Copyright (c) 2013 Ted Unangst <tedu@openbsd.org>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice... | C | libs-ext/libssh2/src/bcrypt_pbkdf.c | FriendSoftwareLabs/friendup | agpl-3.0 | 6,092 | 181 | codeparrot/github-code |
9ba94a61427f2be8a66d89357bc2e95c0ec495635034930b42f5af3b0393ed86 | /*
* Copyright 2019 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
* in the file LICENSE in the source distribution or at
* https://www.openssl.org/source/licens... | C | libs-ext/openssl/providers/common/provider_util.c | FriendSoftwareLabs/friendup | agpl-3.0 | 7,174 | 240 | codeparrot/github-code |
9be8d7cba862cec52fe654a4c7c1f5fb4d0682492d48a1450393d197293c9381 | /******************************************************************************
* SOFA, Simulation Open-Framework Architecture, development version *
* (c) 2006-2017 INRIA, USTL, UJF, CNRS, MGH *
* *
... | C | SofaKernel/modules/SofaBaseCollision/ContactListener.h | FabienPean/sofa | lgpl-2.1 | 6,198 | 196 | codeparrot/github-code |
804389ecc9cd48d6d865d9d37ee8da75300a450ac13bf11880ba043cd905554a | /*
Copyright 2009 Will Stephenson <wstephenson@kde.org>
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) version 3, or any
later version a... | C | libs/internals/unconfiguredinterface.h | zballina/nm-applet-qt | lgpl-2.1 | 1,300 | 41 | codeparrot/github-code |
8d84f2d4f351c7f21cb7d38500f9f3b0ab9f1c255214e046bb10c6e9d0c741e5 | #ifndef HIGHSCORE_HPP
#define HIGHSCORE_HPP
#include <cassert>
#include <sstream>
#include "framework.hpp"
#include "./config.hpp"
#include "./media.hpp"
class Highscore
{
public:
Highscore();
~Highscore();
/* Load/Save */
void load();
void s... | C++ | src/Highscore.hpp | mrzzzrm/shootet | lgpl-2.1 | 1,080 | 54 | codeparrot/github-code |
e7c53668a526b0d776e8f8f9adea80859be839e27d9efa1f3a1494f371e15ad4 | /* table.h - Iterative table interface.
* Copyright (C) 2006 g10 Code GmbH
*
* This file is part of Scute.
*
* Scute 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 L... | C | src/table.h | gpg/scute | lgpl-2.1 | 2,851 | 82 | codeparrot/github-code |
2ae4d3d49fc6e73696c2af761e4b9702fa25cd6e5f10e4453afafd50521434bd | // CC0 Public Domain: http://creativecommons.org/publicdomain/zero/1.0/
#include "bsefilter.hh"
#include <sfi/sfi.hh>
using namespace Bse;
const gchar*
bse_iir_filter_kind_string (BseIIRFilterKind fkind)
{
switch (fkind)
{
case BSE_IIR_FILTER_BUTTERWORTH: return "Butterworth";
case BSE_IIR_FILTER_BES... | C++ | bse/bsefilter.cc | GNOME/beast | lgpl-2.1 | 3,662 | 105 | codeparrot/github-code |
ea69f708fa4eb7dcf2c48ef991c158a136f2e5daa7724c990246eab093f5ef69 | package mezz.texturedump.dumpers;
import com.google.gson.stream.JsonWriter;
import net.minecraft.client.renderer.texture.TextureAtlas;
import net.minecraftforge.fml.ModList;
import net.minecraftforge.fml.StartupMessageManager;
import net.minecraftforge.forgespi.language.IModFileInfo;
import net.minecraftforge.forgespi... | Java | src/main/java/mezz/texturedump/dumpers/ModStatsDumper.java | mezz/TextureDump | lgpl-2.1 | 3,817 | 113 | codeparrot/github-code |
8863ab4178a8a7883b66ca090626cefaab7863713fec12167e980243ce1f647e | package soot.jimple.toolkits.callgraph;
/*-
* #%L
* Soot - a J*va Optimization Framework
* %%
* Copyright (C) 2003 Ondrej Lhotak
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundati... | Java | src/main/java/soot/jimple/toolkits/callgraph/VirtualCalls.java | plast-lab/soot | lgpl-2.1 | 13,477 | 373 | codeparrot/github-code |
8f8ba23c4ebbdfe57591dea22a2caed97edc939abcf2c55164be7de27b8881ec | /*
Copyright (C) 2000-2001 by Jorrit Tyberghein
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 later version.
... | C++ | plugins/mesh/spr2d/object/spr2d.cpp | baoboa/Crystal-Space | lgpl-2.1 | 21,393 | 798 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.