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 |
|---|---|---|---|---|---|---|---|---|
3de59eb057d4771231af19dabeac8e742a5f54474eafbd01e3e0f16fac6c4778 | //===- llvm/lib/Target/ARM/ARMCallLowering.h - Call lowering ----*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | C | 3rd/templight/llvm/lib/Target/ARM/ARMCallLowering.h | sabel83/metashell | gpl-3.0 | 2,032 | 61 | codeparrot/github-code |
0ba48f8482b8976b26677bd7d2091aa3106d53abcfbbc11ac9bd0485498d4b1d | /*
* Copyright (C) 2015-2018 Département de l'Instruction Publique (DIP-SEM)
*
* Copyright (C) 2013 Open Education Foundation
*
* Copyright (C) 2010-2013 Groupement d'Intérêt Public pour
* l'Education Numérique en Afrique (GIP ENA)
*
* This file is part of OpenBoard.
*
* OpenBoard is free software: you can re... | C++ | src/podcast/intranet/UBIntranetPodcastPublisher.cpp | DIP-SEM/OpenBoard | gpl-3.0 | 7,233 | 229 | codeparrot/github-code |
e4d5f3f298dd1e35dfb0b3ecb218c286e5580408878e460ca90869730de676f4 | def Send_Certified_By_Automation():
import smtplib
from elan import ElanSettings
import os
from elan.ElanSettings import Script_Runner_Log
def send_email(subject,
body,
user='kennyshay123test@gmail.com',
pwd='corebrands123',
... | Python | ProgramData/SystemFiles/Python/Lib/site-packages/elan/Certified_Build.py | kenshay/ImageScript | gpl-3.0 | 2,028 | 55 | codeparrot/github-code |
1731dbced05aec0dc20ff5ef7ff6d6a563fab24fd5e346005dc2f19e28a20717 | /***************************************************************************
*cr
*cr (C) Copyright 1995-2009 The Board of Trustees of the
*cr University of Illinois
*cr All Rights Reserved
*cr
***************************************************************... | C | include/gmolmodel/format/mdtraj/fastio.h | nashmit/GMolModel | gpl-3.0 | 10,959 | 480 | codeparrot/github-code |
e695968668bf57ee8556099f8cdd0e6ccfefc3f5069b3f2d8eda0d09c16e5a68 | <?php
/**
* This file is part of
* Kimai - Open Source Time Tracking // http://www.kimai.org
* (c) 2006-2009 Kimai-Development-Team
*
* Kimai 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; Version 3, 2... | PHP | extensions/ki_timesheets/processor.php | claudegel/kimai | gpl-3.0 | 23,776 | 614 | codeparrot/github-code |
c1012b67e28c414d464daf819c815e95dbf0260c1c9281aef08a11fb1db943fb | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML
><HEAD
><TITLE
>Release 1.0</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
REV="MADE"
HREF="mailto:pgsql-docs@postgresql.org"><LINK
REL="HOME"
TITLE="PostgreSQL 9.1.9... | HTML | postgresql/release-1-0.html | P3PO/the-phpjs-local-docs-collection | gpl-3.0 | 4,261 | 231 | codeparrot/github-code |
c455bb6e49e50796efbb1ca793dc77e45d257c32126ec1bd3e785f6b2228fdf8 | using System;
using System.Linq;
using Sentry;
using Sentry.Protocol;
namespace NzbDrone.Common.Instrumentation.Sentry
{
public static class SentryCleanser
{
public static SentryEvent CleanseEvent(SentryEvent sentryEvent)
{
try
{
sentryEvent.Message.Messa... | C# | src/NzbDrone.Common/Instrumentation/Sentry/SentryCleanser.cs | Radarr/Radarr | gpl-3.0 | 2,544 | 83 | codeparrot/github-code |
5c71fe915afb69e5fe19ed0d47372e2a0490a5fca77d582051b73548b10814e5 | #!/usr/bin/env python3
import fileinput
import string
import sys
DELETE = ''
REPLACE = {'“': '``',
'”': '\'\'',
'’': '\'',
'\\': '\\textbackslash ',
'*': '\\textasteriskcentered ',
'_': '\\_',
'#': '\\#',
'$': '\\$',
'%': '\\%',
... | Python | sanitize.py | st3f4n/latex-sanitizer | gpl-3.0 | 1,698 | 63 | codeparrot/github-code |
d977f4e609454389b8f7a0d5ef90c4cb68f9c0c2ad0b80bc145519d9e9f0c4b3 | /*****************************************************************************\
* $Id: ipmi_monitoring_sensor_reading.c,v 1.94 2010-07-22 21:49:00 chu11 Exp $
*****************************************************************************
* Copyright (C) 2007-2013 Lawrence Livermore National Security, LLC.
* Copyr... | C | libipmimonitoring/ipmi_monitoring_sensor_reading.c | elitak/freeipmi | gpl-3.0 | 48,078 | 1,236 | codeparrot/github-code |
49342a7f51eeb1ed8a1f7c2fb295cdd0bc14ccb43c2fbf591cbf4831eb88e0c7 | // Copyright (C) 2015 Tuma Solutions, LLC
// Process Dashboard - Data Automation Tool for high-maturity processes
//
// 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... | Java | src/net/sourceforge/processdash/team/ui/scanner/ScanItemListBulkHandler.java | phredi/processdash | gpl-3.0 | 2,208 | 62 | codeparrot/github-code |
d3fb97a7b50a1f331d289d51992e6584802888d7527083e1dd5688dd7df212b6 | #include <stdbool.h>
#include <stdint.h>
#include <string.h>
#include "platform.h"
#include "drivers/nvic.h"
#include "io_impl.h"
#include "drivers/exti.h"
#ifdef USE_EXTI
typedef struct {
extiCallbackRec_t* handler;
} extiChannelRec_t;
extiChannelRec_t extiChannelRecs[16];
// IRQ gouping, same on 103 and 303... | C | src/main/drivers/exti.c | toastedcornflakes/betaflight | gpl-3.0 | 6,008 | 223 | codeparrot/github-code |
bbef111829dc35a5cd22e06d179368e9b8c72c1a155be1cf961bab94517b3fe1 | #!/usr/bin/python
#
# This file is part of Ansible
#
# Ansible 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.
#
# Ansible is distribut... | Python | network/eos/eos_command.py | dataxu/ansible-modules-core | gpl-3.0 | 5,314 | 183 | codeparrot/github-code |
debb7f525cc4a8c154a045c961e36e5914eb96e4917d5bf289202a934930177d | <?php
$path = '.';
$hslashcount = substr_count(__FILE__, '/');
$pslashcount = substr_count(realpath($_SERVER["SCRIPT_FILENAME"]), '/');
for ($i=0; $i < $pslashcount - $hslashcount; $i++) {
$path .= '/..';
}
?>
<nav class="site-navigation clearfix">
<div class="logo"><a href="<?php echo $path.'/index.p... | PHP | web/header.php | cqx931/RiTa | gpl-3.0 | 4,382 | 83 | codeparrot/github-code |
ad74fd69bbc8c3e1436ebef31bbcecda363896f4a871f771413fc17a9cbd09eb | #include <vector>
#include <string>
#include <utility>
#include <iostream>
#include <algorithm>
#include <limits>
using namespace std;
class Solution {
public:
string longestCommonPrefix(vector<string>& strs) {
int i, j;
if (strs.size() == 0) return "";
for (i = 0; i < s... | C++ | 014.Longest Common Prefix/coderfive/lcprefix.cc | xxg1413/leetcode | gpl-3.0 | 1,391 | 61 | codeparrot/github-code |
ce33e47f4ef66949e06cee32ee1192a808d345f68975c3c7fe154dd15377ec49 | # -*- coding: utf-8 -*-
# -----------------------------------------------------------------------------
# Getting Things GNOME! - a personal organizer for the GNOME desktop
# Copyright (c) 2008-2013 - Lionel Dricot & Bertrand Rousseau
#
# This program is free software: you can redistribute it and/or modify it under
# t... | Python | GTG/core/plugins/api.py | shtrom/gtg | gpl-3.0 | 8,572 | 251 | codeparrot/github-code |
a162aaa58d4a058f325402f3dfcc14c9629727a13b0f226e5907c9a59e49187e | /*
* The tracker package defines a set of video/image analysis tools
* built on the Open Source Physics framework by Wolfgang Christian.
*
* Copyright (c) 2019 Douglas Brown
*
* Tracker is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by... | Java | src/org/opensourcephysics/cabrillo/tracker/DerivativeAlgorithmDialog.java | OpenSourcePhysics/tracker | gpl-3.0 | 8,390 | 244 | codeparrot/github-code |
4a38f4f22e6221242da9f959c50a7a6c266d8a98b0523812bc23d5c5c0db8982 | <?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license an... | PHP | common/lib/Zend/View/Helper/HeadLink.php | sadiqdon/cycommerce | gpl-3.0 | 13,269 | 438 | codeparrot/github-code |
c1ed3bda70536247048f7484fba6a9273d7814731d2f96a9b685867f23dd65e6 | package net.avedo.seekampf.models;
public class Player extends BaseModel {
private String spielername;
private int punkte;
private int punkte_vortag;
private int platzierung;
private int platzierung_vortag;
private String allianz;
public String getSpielername() {
return spielername;
}
public void setSpiel... | Java | app/src/main/java/net/avedo/seekampf/models/Player.java | Bornageek/SeeKampf | gpl-3.0 | 1,107 | 59 | codeparrot/github-code |
46ca4d4a9507e3f6df07dd8c9250845aa21a402575af881c8392f360c78d9629 | /****************************************************************************
**
** Copyright (C) 2018 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this file in
** accordance w... | C | src/libs/languageserverprotocol/basemessage.h | qtproject/qt-creator | gpl-3.0 | 2,387 | 75 | codeparrot/github-code |
276b69df4a1c96bbb47528a6b5499acc5c9989838e4bb8e288d729aa12edc202 | <?php
/**
* @package Joomla.Administrator
* @subpackage com_helloworld
*
* @copyright Copyright (C) 2005 - 2016 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
// No direct access to this file
defined('_JEXEC') or die('Restri... | PHP | com_addressbook/site/models/addressbook.php | vilasshetkar/BARC | gpl-3.0 | 1,889 | 91 | codeparrot/github-code |
05c704ea46dbb2944b97c0e6e2a031028534403446e47aa515b87519f6b8c8e8 | package com.eveningoutpost.dexdrip.webservices;
import com.eveningoutpost.dexdrip.ImportedLibraries.usbserial.util.HexDump;
import com.eveningoutpost.dexdrip.Models.BgReading;
import com.eveningoutpost.dexdrip.Models.DateUtil;
import com.eveningoutpost.dexdrip.Models.Sensor;
import com.eveningoutpost.dexdrip.Models.Tr... | Java | app/src/test/java/com/eveningoutpost/dexdrip/webservices/RouteFinderTest.java | NightscoutFoundation/xDrip | gpl-3.0 | 16,383 | 402 | codeparrot/github-code |
52d2907300910a810d09e8f6a8fc108ace9aacd1efdac7797958e782c59c77da | /*
** $Id: loslib.c,v 1.19.1.3 2008/01/18 16:38:18 roberto Exp $
** Standard Operating System library
** See Copyright Notice in lua.h
*/
#include <errno.h>
#include <locale.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#define loslib_c
#define LUA_LIB
#include <lua/lua.h>
#include <lua/lauxlib.h>
#... | C++ | liblua/src/loslib.cpp | lilac/iASP | gpl-3.0 | 6,004 | 244 | codeparrot/github-code |
566ff66ef5792ca6b968cb3e55a9d24be60bc4bc166ae48337ce50d34dfd5727 | /* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
#ifndef _FF_PLATFORM_HPP_
#define _FF_PLATFORM_HPP_
/* ***************************************************************************
* This program is free software; you can redistribute it and/or modify
* it under the terms of the G... | C | src/fastflow/ff/platforms/platform.h | pavel-odintsov/Peafowl | gpl-3.0 | 6,371 | 229 | codeparrot/github-code |
59da44c4b71ea3b6a6f71929e06d6b096e401a5847fe074030328325eccf9c38 | // PastebinConfig.cs
//
// GNOME Do is the legal property of its developers, whose names are too
// numerous to list here. Please refer to the COPYRIGHT file distributed with
// this source distribution.
//
// This program is free software: you can redistribute it and/or modify it
// under the terms of the GNU G... | C# | Pastebin/src/Config/PastebinConfig.cs | gnome-do/core-plugins | gpl-3.0 | 4,965 | 156 | codeparrot/github-code |
9b66a37c63aa177faa8575b4d2ea0721a39a37b286b65e8467be7432b460b522 | /*
* Copyright (c) 2007 Wayne Meissner
* Copyright (C) 2005 Andy Wingo <wingo@pobox.com>
* Copyright (C) <2005> Thomas Vander Stichele <thomas at apestaart dot org>
*
* This file is part of gstreamer-java.
*
* gstreamer-java is free software: you can redistribute it and/or modify
* it under the terms of the G... | Java | test/org/gstreamer/CapsTest.java | gstreamer-java/gstreamer1.x-java | gpl-3.0 | 15,521 | 357 | codeparrot/github-code |
aeff3989a726c10986e5151a10fe6d8277a4d058e6a7a723de700afa9205bd1e | //Created by KVClassFactory on Wed Sep 9 10:54:20 2015
//Author: fable
#ifndef __ROOFIT_NOROOMINIMIZER
#ifndef __NEWROOMINIMIZER_H
#define __NEWROOMINIMIZER_H
#include "TObject.h"
#include "TStopwatch.h"
#include <fstream>
#include "TMatrixDSymfwd.h"
#include "Fit/Fitter.h"
#include "NewRooMinimizerFcn.h"
class N... | C | BackTrack/base/NewRooMinimizer.h | FableQuentin/kaliveda | gpl-3.0 | 3,888 | 167 | codeparrot/github-code |
02112143ba1133165b797ca25d06c7ad9b4de41c634435222f2e7a7b3c976c26 | /****************************************************************************/
/// @file AGHousehold.cpp
/// @author Piotr Woznica
/// @author Daniel Krajzewicz
/// @author Michael Behrisch
/// @author Walter Bamberger
/// @date July 2010
/// @version $Id: AGHousehold.cpp 13107 2012-12-02 13:57:34Z behrisch $... | C++ | src/activitygen/city/AGHousehold.cpp | rudhir-upretee/Sumo_With_Netsim | gpl-3.0 | 6,319 | 208 | codeparrot/github-code |
0b4f2d052bd1afa0af5aa60638bb818e7d44688b15d0f5151d086751120ad168 | /****************************************************************************
**
** Copyright (C) 2013 Jolla Ltd.
** Contact: Raine Makelainen <raine.makelainen@jollamobile.com>
**
****************************************************************************/
/* This Source Code Form is subject to the terms of the Mozi... | C | src/declarativewebcontainer.h | alinelena/sailfish-browser | mpl-2.0 | 8,371 | 243 | codeparrot/github-code |
71edc5f45d095c74ffbd268618a13fe3ddc759bf20b90f033b9b065118e9e57c | /*
Copyright (c) 2015, Digi International Inc.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND TH... | C++ | Samples/FFT/RUNFFTREAL.C | digidotcom/DCRabbit_9 | mpl-2.0 | 4,344 | 126 | codeparrot/github-code |
3faf124b1fe42374cbfc386877d9f76256dcccaf5bbd11853e8e6b1303e8c1c9 | var path = require('path'),
fs = require('fs');
var AXE_SOURCE;
/**
* Recursively find frames and inject a script into them
* @private
* @param {Array} parent Array of parent frames; or falsey if top level frame
* @param {String} script The script to inject
* @param {WebDriver} driver The driver to inject i... | JavaScript | lib/inject.js | arschmitz/axe-webdriverjs | mpl-2.0 | 2,215 | 88 | codeparrot/github-code |
5ab7302722c0951dca63d01230e7670f8d79442b05ba69ecbdb38f18b5ae7833 | /**
* \file
* \brief SignalInformationQueue class implementation
*
* \author Copyright (C) 2015-2017 Kamil Szczygiel http://www.distortec.com http://www.freddiechopin.info
*
* \par License
* This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not
* distr... | C++ | source/synchronization/SignalInformationQueue.cpp | jasmin-j/distortos | mpl-2.0 | 2,959 | 105 | codeparrot/github-code |
dde788c992d59142e204d18804bef2540ff2df14e38a09c501e0932474b72c7d | /*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* @Author: JB (jb@codecorsair.com)
* @Date: 2016-08-29 17:31:15
* @Last Modified by: JB (jb@codecorsair.com)
... | TypeScript | library/src/util/reduxUtils.ts | Shane7/Camelot-Unchained | mpl-2.0 | 2,412 | 88 | codeparrot/github-code |
ad1ba0466a268d42bcdc7c75824dd78229737eaf74d6c8423035380ce125a7cf | package org.mifos.selfserviceapp.ui.fragments;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import org.mifos.selfserviceapp.R;
import org.mifos.selfserviceapp.ui.activities.base.BaseActivity;
import o... | Java | app/src/main/java/org/mifos/selfserviceapp/ui/fragments/HomeFragment.java | prashanthkomuravelli/self-service-app | mpl-2.0 | 2,890 | 97 | codeparrot/github-code |
ecf44d0350aae5fcc43b3eca2cf4b4aa8b6758ed1ad5b95b70455167f0b8017d | /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
//! Data needed by the layout task.
#![deny(unsafe_code)]
use canvas_traits::CanvasMsg;
use css::matching::{Appl... | Rust | components/layout/context.rs | bjwbell/servo | mpl-2.0 | 8,358 | 220 | codeparrot/github-code |
e23b52532f48ac3fedae47c2f8116cec09c104bc6537b93c983f0d55e947f096 | /**
* Copyright (c) 2014-2015 Digi International Inc.,
* All rights not expressly granted are reserved.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/.
*
* Dig... | Java | library/src/main/java/com/digi/xbee/api/models/XBee64BitAddress.java | GUBotDev/XBeeJavaLibrary | mpl-2.0 | 8,398 | 238 | codeparrot/github-code |
c0bb750453c74e4dfced46fc9aee70e3b29b0025d48dae1b0a92cecc7f64e5cb | package org.nasa.satellite.resource;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.GregorianCalendar;
import java.util.List;
import java.util.SimpleTimeZone;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.P... | Java | server/src/main/java/org/nasa/satellite/resource/CoordinateDataOfSatellite.java | International-space-apps-bordeaux/TS5 | agpl-3.0 | 28,867 | 958 | codeparrot/github-code |
75dd0c1846ea7393bab5238f63c98ebfa09af5930fb9b2d95552ebefb6f99112 | local Event = require("ui/event")
local Generic = require("device/generic/device")
local SDL = require("ffi/SDL2_0")
local logger = require("logger")
local function yes() return true end
local function no() return false end
local function notOSX() return jit.os ~= "OSX" end
local function isUrl(s)
return type(s) ... | Lua | frontend/device/sdl/device.lua | Markismus/koreader | agpl-3.0 | 13,102 | 385 | codeparrot/github-code |
39a8add7b3c5d86c76f642d00c440c42588a0befb3e0765a6c6cf8cba8f30623 | @ECHO OFF
REM Command file for Sphinx documentation
if "%SPHINXBUILD%" == "" (
set SPHINXBUILD=sphinx-build
)
set BUILDDIR=_build
set ALLSPHINXOPTS=-d %BUILDDIR%/doctrees %SPHINXOPTS% .
set I18NSPHINXOPTS=%SPHINXOPTS% .
if NOT "%PAPER%" == "" (
set ALLSPHINXOPTS=-D latex_paper_size=%PAPER% %ALLSPHINXOPTS%
set I18N... | Batchfile | doc/make.bat | brechtm/rinohtype | agpl-3.0 | 6,465 | 243 | codeparrot/github-code |
179147265b4ba27041c2c50865063c2e933a71d2a4a4ee5f6b0f2292c26935c0 | function audioNotification(){
var yourSound = new Audio('audio/notification.mp3');
yourSound.play();
}
chrome.runtime.setUninstallURL('https://rahulkapoor90.github.io/vitacademics-enhancement-suite/uninstall/');
chrome.runtime.onInstalled.addListener(function(details){
if(details.reason == "update"){
... | JavaScript | Extension for Firefox/scripts/background/background.js | rahulkapoor90/VITacademics-Enhancement-Suite | agpl-3.0 | 2,129 | 57 | codeparrot/github-code |
bd64940be6cd5730e3922d6ce7a13c2fa0dbaf42af25aea3a221f3528bf95cde | <?php
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
* SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
*
* This ... | PHP | modules/Calendar/Calendar.php | ktmhr/SugarCE6.4.3---JapanieseFullPackWorking | agpl-3.0 | 13,506 | 368 | codeparrot/github-code |
8e8c474704b8655f1f771bf3952b877afa43868180854b4b79b50d7bf00a702d | // @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPL-v3-or-Later
app.views.ConversationsForm = app.views.Base.extend({
el: ".conversations-form-container",
events: {
"keydown .conversation-message-text": "keyDown",
"click .conversation-recipient-tag .remove": "remo... | JavaScript | app/assets/javascripts/app/views/conversations_form_view.js | KentShikama/diaspora | agpl-3.0 | 2,991 | 95 | codeparrot/github-code |
d96c1a4f57bcb3af35317a310060b1606aa9e14d2f94bf9d9ec5458913f3174f | from django.conf import settings
from django.core.exceptions import ValidationError
from django.forms import ModelForm
from django.forms.widgets import HiddenInput, TextInput, Select, CheckboxInput
from alert.userHandling.models import Alert
class CreateAlertForm(ModelForm):
def __init__(self, *args, **kwargs):
... | Python | alert/alerts/forms.py | shashi792/courtlistener | agpl-3.0 | 1,815 | 60 | codeparrot/github-code |
d8765d594be8f6ce78974def08477656570b8a7662389f67458dc7e9757fca60 | //#############################################################################
//# #
//# Copyright (C) <2015> <IMS MAXIMS> #
//# ... | Java | Source Library/openmaxims_workspace/Core/src/ims/core/forms/vitalsignsrespiration/ConfigFlags.java | FreudianNM/openMAXIMS | agpl-3.0 | 2,743 | 58 | codeparrot/github-code |
7e0bd9ae380d85d9d9e9a77f31b18c6b1d2edc1cd39a0a1790c63053c3549dfa |
/*
* Tigase Jabber/XMPP Server
* Copyright (C) 2004-2012 "Artur Hefczyc" <artur.hefczyc@tigase.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, version 3 of the License.
*
* This p... | Java | src/main/java/tigase/server/xmppserver/S2SConnectionHandlerIfc.java | zooldk/tigase-server | agpl-3.0 | 2,806 | 100 | codeparrot/github-code |
dea57dd96a7c26ac8744d3d90453b9ed2ee6624feb306287553b73f39eb7f612 | /*
* RapidMiner
*
* Copyright (C) 2001-2014 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 ... | Java | src/com/rapidminer/repository/remote/RemoteProcessEntry.java | rapidminer/rapidminer-5 | agpl-3.0 | 3,148 | 93 | codeparrot/github-code |
c415d1e8af5762529038b32fc24db57a60fd63287196d8afae6813194e63ba01 |
# The contents of this file are subject to the Mozilla Public License
# (MPL) 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/
#
# Software distributed under the License is distributed on an "AS IS"
# b... | Python | venv/lib/python2.7/site-packages/lepl/matchers/combine.py | GbalsaC/bitnamiP | agpl-3.0 | 16,464 | 460 | codeparrot/github-code |
cad0e1f9dfaf49d22bf347370b6611ae49dad920807ec436032bdd9bf6ef5025 | /*
* RESTHeart - the data REST API server
* Copyright (C) 2014 - 2015 SoftInstigate Srl
*
* 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... | Java | src/main/java/org/restheart/handlers/injectors/RequestContextInjectorHandler.java | SkydiverFL/restheart | agpl-3.0 | 11,271 | 278 | codeparrot/github-code |
4089f78bb49e2d179ffe3c3cb33239e6404069e33e645d8df44ae8fa9a5ed86f | # -*- coding: utf-8 -*-
import re
import random
from stdPlugin import stdPlugin
# Universal quantifier on a sequence.
def forall(sequence, predicate):
return reduce(lambda x, y: x and y, map(predicate, sequence), True)
class karma(stdPlugin):
u'''Chaque terme suivi de '++' ou '--' se voit attribuer un kar... | Python | plugins/karma.py | gordonzola/naobot | agpl-3.0 | 6,908 | 192 | codeparrot/github-code |
b7bab2aa46e0a4cc092d2b2e2bf24afcb4f69e5a5953d9a7e333ec9ec4d76dff | /*
* DesktopWordViewer.hpp
*
* Copyright (C) 2020 by RStudio, PBC
*
* Unless you have received this program directly from RStudio pursuant
* to the terms of a commercial license agreement with RStudio, then
* this program is licensed to you under the terms of version 3 of the
* GNU Affero General Public License... | C++ | src/cpp/desktop/DesktopWordViewer.hpp | JanMarvin/rstudio | agpl-3.0 | 1,116 | 42 | codeparrot/github-code |
19861b6b4c4aa009a681da1af74c1afcf9770c3066410d1e5d7d595f36f3c672 | <?php
/*********************************************************************************
* Zurmo is a customer relationship management program developed by
* Zurmo, Inc. Copyright (C) 2013 Zurmo Inc.
*
* Zurmo is free software; you can redistribute it and/or modify it under
* the terms of t... | PHP | app/protected/modules/missions/rules/MissionMashableInboxRules.php | sandeep1027/zurmo_ | agpl-3.0 | 8,538 | 196 | codeparrot/github-code |
d660db13e77bef1dcc50a0ef86b8c7db0cfb218485619c69c5d6ed362e443636 | module Admin
class IpbansController < BaseController
breadcrumb "IP Bans"
def self.general_permission
['misc', 'ipban', 'edit', true]
end
skip_before_filter :authenticate_admin
before_filter :find_ipban, :only => [:edit, :update, :destroy]
def index
... | Ruby | app/controllers/admin/ipbans_controller.rb | OvercastNetwork/OCN | agpl-3.0 | 1,929 | 67 | codeparrot/github-code |
ee7c49b95d4c714b7caed21c500aca15c9da41644524ae0c3b51ab10bc245cc3 | /*
* 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 are proprie... | Java | test/unit/com/sapienter/jbilling/server/pricing/strategy/PercentageStrategyTest.java | liquidJbilling/LT-Jbilling-MsgQ-3.1 | agpl-3.0 | 3,105 | 93 | codeparrot/github-code |
0df965d282424ed6fd1738dbeb3f88465f734093ef556085143ecee11a35fe29 | <?php
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
/*
$Id: class.nusoap_base.php 51516 2009-10-14 17:22:42Z jmertic $
NuSOAP - Web Services Toolkit for PHP
Copyright (c) 2002 NuSphere Corporation
This library is free software; you can redistribute it and/or
modify it under the terms of ... | PHP | include/nusoap/class.nusoap_base.php | yinhm/sugarcrm | agpl-3.0 | 25,828 | 906 | codeparrot/github-code |
37871bee893a456bf27d6b10c6222c7391db034e507eb26113b7a2dc3508fa42 | <?php
/**
* Simple class for interfacing with Donovan Schönknecht's S3 library
*
* @package platform.org.cashmusic
* @author CASH Music
* @link http://cashmusic.org/
*
* Copyright (c) 2013, CASH Music
* Licensed under the GNU Lesser General Public License version 3.
* See http://www.gnu.org/licenses/lgpl-3.0.h... | PHP | framework/classes/seeds/S3Seed.php | kidaa30/platform | agpl-3.0 | 11,474 | 315 | codeparrot/github-code |
501351287cd4c5657c7f37bff36dea90bea33ea74a1a6f1560ee6146778f684e | package qa.qcri.mm.drone.api.service.impl;
import org.json.simple.JSONArray;
import org.json.simple.JSONObject;
import org.json.simple.parser.JSONParser;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Trans... | Java | core/mm-drone-api/src/main/java/qa/qcri/mm/drone/api/service/impl/DroneTrackerServiceImpl.java | jikimlucas/micromappers | agpl-3.0 | 7,993 | 219 | codeparrot/github-code |
14371bfd9e0f2d5dbb3ba18971869811a5c3a092845ff0bcdb36f054714598f5 | # -*- coding: utf-8 -*-
import time
from openerp import api, models
import datetime
class ReportSampleReceivedvsReported(models.AbstractModel):
_name = 'report.olims.report_sample_received_vs_reported'
def _get_samples(self, samples):
datalines = {}
footlines = {}
total_received_coun... | Python | report/olims_sample_received_vs_reported.py | sciCloud/OLiMS | agpl-3.0 | 4,408 | 103 | codeparrot/github-code |
273818cd66cab49ad488bccc8b6f26c0f8d9db555854d5a58a5ec433038f1029 | {% extends "base.html" %}
<!-- Load internationalisation utils-->
{% load i18n %}
{% load l10n %}
{% load static %}
{% load rules %}
{% block title %} {% trans 'View delivery history:' %} {{ delivery_history.route.name }} - {{ delivery_history.date|date:"j F Y" }} {% endblock %}
{% block extrahead %}
{% load leaflet_... | HTML | src/member/templates/route/delivery_history_detail.html | savoirfairelinux/santropol-feast | agpl-3.0 | 5,832 | 144 | codeparrot/github-code |
013a15dcaa6a053d07b2c198bf47e1cb9288b7905bd904edbc15d304ed7d6924 | """Health Check API
Use to check system status, will report "green" or "red" for each component
plus overall for "status"::
{
"status": "green",
"celery": "green",
"elastic": "green",
"mongo": "green",
"redis": "green"
}
"""
import logging
import superdesk
from typin... | Python | superdesk/system/health.py | petrjasek/superdesk-core | agpl-3.0 | 1,753 | 82 | codeparrot/github-code |
2dba02f78cd91e8aa70494d7eeb9bbe653ac9b3e56f48ac2ee02e5f3e0472a91 | /*
* RapidMiner
*
* Copyright (C) 2001-2014 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 ... | Java | src/com/rapidminer/operator/ports/quickfix/ParameterSettingQuickFix.java | rapidminer/rapidminer-5 | agpl-3.0 | 6,203 | 144 | codeparrot/github-code |
9632bc8341d74d36eb3decfd843779fdf57696d421ed7625105752f944263b92 | import client from '../api/cbioportalClientInstance';
import LazyMobXCache from '../lib/LazyMobXCache';
import {
ClinicalData,
ClinicalAttribute,
ClinicalDataMultiStudyFilter,
} from 'cbioportal-ts-api-client';
import _ from 'lodash';
type Query = {
clinicalAttribute: ClinicalAttribute;
entityId: s... | TypeScript | src/shared/cache/ClinicalAttributeCache.ts | cBioPortal/cbioportal-frontend | agpl-3.0 | 2,553 | 85 | codeparrot/github-code |
f99f04a0fb2c100eddad709865f440b4d73697a9e0ed66e706f0500c05ed0c24 | #ifndef TCPCONNECTION_H
#define TCPCONNECTION_H
#include "System/Events/Callable.h"
#include "System/Events/Countdown.h"
#include "System/Buffers/Buffer.h"
#include "System/Containers/InQueue.h"
#include "System/IO/Socket.h"
#include "System/IO/IOOperation.h"
/*
=======================================================... | C | src/Framework/TCP/TCPConnection.h | timoc/scaliendb | agpl-3.0 | 1,879 | 66 | codeparrot/github-code |
e54021605e806098df5fcf818c9671e9e91b8b2449516af832cf91e24f010ff8 | # -*- coding: utf-8; -*-
#
# This file is part of Superdesk.
#
# Copyright 2013, 2014 Sourcefabric z.u. and contributors.
#
# For the full copyright and license information, please see the
# AUTHORS and LICENSE files distributed with this source code, or
# at https://www.sourcefabric.org/superdesk/license
from copy i... | Python | server/apps/tasks.py | amagdas/superdesk | agpl-3.0 | 11,278 | 281 | codeparrot/github-code |
244a8d1555b9813650430f40411e7ff202d3778a59e78e3c4fa27266a2bbdda8 | #
# Copyright (C) 2011 Instructure, Inc.
#
# This file is part of Canvas.
#
# Canvas 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, version 3 of the License.
#
# Canvas is distributed in the hope that ... | Ruby | lib/cc/qti/qti_items.rb | samuels410/greatlakes-lms | agpl-3.0 | 21,368 | 529 | codeparrot/github-code |
8252f96127f25c2abe1ac846d686e69b4e8828b26add04cfe8d42d097459edc9 | class Photo < ActiveRecord::Base
include Ownable
PHOTO_CAPABLE = %w(Garden Planting Harvest Seed).freeze
has_many :photographings, foreign_key: :photo_id, dependent: :destroy
# creates a relationship for each assignee type
PHOTO_CAPABLE.each do |type|
has_many type.downcase.pluralize.to_s.to_sym,
... | Ruby | app/models/photo.rb | pozorvlak/growstuff | agpl-3.0 | 1,535 | 61 | codeparrot/github-code |
a9e8b7ab26790b842d12405b9088ce4c77e32f8cff5d4994d126ec7ccd17ecef | #include "ProgressBar.h"
namespace
{
const int FULL_CIRCLE = 5760;
const int START_ANGLE = 1440;
const int FONT_SIZE = 16;
const double RECT_X_LOCATION = 10.0;
const double RECT_Y_LOCATION = 30.0;
const double RECT_HEIGHT = 100.0;
const double RECT_WIDTH = 100.0;
const int PEN_WIDTH = 7... | C++ | src/ViewLayer/DebugDisplay/BatteryPage/ProgressBar.cpp | UCSolarCarTeam/Epsilon-Dashboard | agpl-3.0 | 1,142 | 57 | codeparrot/github-code |
8781b0aa093c964a89e2dcef852f4c19e82f5229e0c84e24d78e27bd8a804ecc | //#############################################################################
//# #
//# Copyright (C) <2014> <IMS MAXIMS> #
//# ... | Java | openmaxims_workspace/ValueObjects/src/ims/ocrr/vo/domain/OrderInvestigationBookingWithStatusVoAssembler.java | open-health-hub/openmaxims-linux | agpl-3.0 | 19,375 | 442 | codeparrot/github-code |
e92335ff8614c50411a7a08a934baa17c6f2a606233fdb29bc81e9a2532c2bb6 | /*
* ExternalStyleSheetLoader.java
*
* Copyright (C) 2020 by RStudio, PBC
*
* Unless you have received this program directly from RStudio pursuant
* to the terms of a commercial license agreement with RStudio, then
* this program is licensed to you under the terms of version 3 of the
* GNU Affero General Public... | Java | src/gwt/src/org/rstudio/core/client/ExternalStyleSheetLoader.java | JanMarvin/rstudio | agpl-3.0 | 3,010 | 113 | codeparrot/github-code |
70751d25f5d3b500e2eacf5997d8a5ba7ab5fc5de711d925ee7dae3d2cf608ac | # -*- coding: utf-8 -*-
import os
import urllib2
import hashlib
from urllib2 import HTTPError
class HttpFetcher(object):
cache_dir = None
def set_cache_dir(self, dir):
self.cache_dir = dir
def _create_path_for_file(self, fname):
dirname = os.path.dirname(fname)
if not os.path.exis... | Python | web/utils/http.py | kansanmuisti/datavaalit | agpl-3.0 | 1,709 | 59 | codeparrot/github-code |
fe9e226e58a99a9fe0826744a27ce4595c99fc2fb0b53040edcd5e3a791867f3 | #
# Copyright (C) 2012 Instructure, Inc.
#
# This file is part of Canvas.
#
# Canvas 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, version 3 of the License.
#
# Canvas is distributed in the hope that ... | Ruby | app/models/page_view.rb | usmschuck/canvas | agpl-3.0 | 17,720 | 507 | codeparrot/github-code |
7ebf8bbd2d161c3d63ce624913756a2d295113681a0da4239ac6c2f7fead88bf | // drb only to fix 3072 prime
/*
* UniCrypt
*
* UniCrypt(tm) : Cryptographical framework allowing the implementation of cryptographic protocols e.g. e-voting
* Copyright (C) 2014 Bern University of Applied Sciences (BFH), Research Institute for
* Security in the Information Society (RISIS), E-Voting Group (EVG)... | Java | src/main/java/ch/bfh/unicrypt/helper/factorization/SafePrime.java | agoravoting/agora-mixnet | agpl-3.0 | 9,674 | 195 | codeparrot/github-code |
d5417341c64540f8db6ed74dd10ca91a68990e00cc9ba551c2aa5fe659116430 | <?php
/**
* ComunicadosController
* @author Desenvolvimento - XTI
* @since 25/05/2011
* @version 1.0
* @package application
* @subpackage application.controllers
* @link http://www.xti.com.br
* @copyright © 2010 - XTI - Todos os direitos reservados.
*/
class ComunicadosController extends GenericControllerNe... | PHP | application/controller/ComunicadosController.php | hackultura/novosalic | agpl-3.0 | 6,266 | 286 | codeparrot/github-code |
af47e93c572bd85a89a37672d0a9081d94579d8e0d7cff189e7273214dee0a2d | # encoding: utf-8
# Copyright (c) 2001-2014, Canal TP and/or its affiliates. All rights reserved.
#
# This file is part of Navitia,
# the software to build cool stuff with public transport.
#
# Hope you'll enjoy and contribute to this project,
# powered by Canal TP (www.canaltp.fr).
# Help us simplify mobility ... | Python | source/jormungandr/jormungandr/parking_space_availability/car/star.py | antoine-de/navitia | agpl-3.0 | 4,893 | 123 | codeparrot/github-code |
594a6845d5e070c30f99766634af8159964c1650f283a45494b5a411bd790932 | import { formatNumber } from 'common/format';
import SPELLS from 'common/SPELLS';
import RESOURCE_TYPES from 'game/RESOURCE_TYPES';
import { ResourceIcon } from 'interface';
import Analyzer, { Options, SELECTED_PLAYER } from 'parser/core/Analyzer';
import Events, { ResourceChangeEvent } from 'parser/core/Events';
impor... | TypeScript | analysis/huntermarksmanship/src/modules/items/NesingwarysTrappingApparatus.tsx | Juko8/WoWAnalyzer | agpl-3.0 | 2,721 | 87 | codeparrot/github-code |
cf5b271da498eb1b893935fdb884d03590f64fd079abcd31ca54e85e5c522749 | var UnspentOutputFinder = require('./unspent_output_finder');
var bitcoin = require('bitcoinjs-lib');
var bip39 = require("bip39");
var CryptoJS = require('crypto-js');
var blocktrail = require('./blocktrail');
var EncryptionMnemonic = require('./encryption_mnemonic');
var Encryption = require('./encryption');
var wall... | JavaScript | src/lib/blocktrail-sdk/lib/wallet_sweeper.js | blocktrail/blocktrail-wallet | agpl-3.0 | 32,718 | 741 | codeparrot/github-code |
64ba04dd5c6df5987f114af8bf727eb12d1370518cd87d1ef4500d35c91d59dc | /* DeflaterHuffman.java --
Copyright (C) 2001, 2004, 2005 Free Software Foundation, Inc.
This file is part of GNU Classpath.
GNU Classpath 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;... | Java | src/peergos/gwt/emu/java/util/zip/DeflaterHuffman.java | ianopolous/Peergos | agpl-3.0 | 26,319 | 776 | codeparrot/github-code |
7e88a1b7f7238d958f24f975c000c120e7d3d81e597eef82fcc77508457abcbc | /*-
* See the file LICENSE for redistribution information.
*
* Copyright (c) 2002, 2013 Oracle and/or its affiliates. All rights reserved.
*
*/
package com.sleepycat.collections.test;
import com.sleepycat.bind.EntryBinding;
import com.sleepycat.db.DatabaseEntry;
/**
* @author Mark Hayes
*/
class TestDataBind... | Java | test/java/compat/src/com/sleepycat/collections/test/TestDataBinding.java | hyc/BerkeleyDB | agpl-3.0 | 786 | 33 | codeparrot/github-code |
089eb2c0e75a7d353cdffb572d857442fd79f5549b626d3350ba50019ce58b58 | using System.Collections.Generic;
using System;
using System.Linq;
using Barracuda;
using MLAgents.InferenceBrain.Utils;
namespace MLAgents.InferenceBrain
{
/// <summary>
/// Reshapes a Tensor so that its first dimension becomes equal to the current batch size
/// and initializes its content to be zeros. W... | C# | UnityProject/Assets/ML-Agents/Scripts/InferenceBrain/GeneratorImpl.cs | krille90/unitystation | agpl-3.0 | 11,413 | 318 | codeparrot/github-code |
fd7a4d85f2af6674eb35ef1cdbba6e874c9cab859468c95d6ca09f7950957b14 | /* Copyright (c) 2004-2006, Sara Golemon <sarag@libssh2.org>
* Copyright (c) 2009-2019 by Daniel Stenberg
* All rights reserved.
*
* Redistribution and use in source and binary forms,
* with or without modification, are permitted provided
* that the following conditions are met:
*
* Redistributions of source ... | C | libs-ext/libssh2/src/hostkey.c | FriendSoftwareLabs/friendup | agpl-3.0 | 30,763 | 1,130 | codeparrot/github-code |
581cd6b108bec5c4ebc1ab3fd813ce631f234a569571f27c2410f13f7c7552ab | /*
* This file is part of libFirm.
* Copyright (C) 2012 University of Karlsruhe.
*/
/**
* @file
* @brief implementation of set
* @author Markus Armbruster
*/
/* This code is derived from:
From: ejp@ausmelb.oz.AU (Esmond Pitt)
Date: Tue, 7 Mar 1989 22:06:26 GMT
Subject: v06i042: dynamic... | C | ir/adt/set.c | MatzeB/libfirm | lgpl-2.1 | 10,245 | 407 | codeparrot/github-code |
720d909bbb34afb0fc63edf910f59493454468f979c306761687091b616582bd |
/*
***************************************************************************
* Copyright 2007,2008 Impinj, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://... | C | ThirdParty/LTK/LTKCPP/Library/ltkcpp_connection.h | kyle0311/oliot-llrp | lgpl-2.1 | 6,805 | 231 | codeparrot/github-code |
17f4c4c4ebc1613ccf3ba51efdd06f7dbe673256b7a6fe5e00b425f375df6699 | //===-- llvm-stress.cpp - Generate random LL files to stress-test LLVM ----===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | C++ | interpreter/llvm/src/tools/llvm-stress/llvm-stress.cpp | benni0815/root | lgpl-2.1 | 23,856 | 722 | codeparrot/github-code |
d50fa4486fdbfaebae8da282858f4b8c5d1d27bcc188d2b8191f4bf3649851d6 | /****************************************************************************
**
** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the QtDeclarative module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Li... | C++ | src/declarative/util/qdeclarativestategroup.cpp | nonrational/qt-everywhere-opensource-src-4.8.6 | lgpl-2.1 | 16,290 | 503 | codeparrot/github-code |
51b607350052b62270c9d1f26022e67b7d79b9ccdc9de243adea0b65e8d5b878 | /*
videodevicepool.cpp - Kopete Video Device Low-level Support
Copyright (c) 2005-2006 by Cláudio da Silveira Pinheiro <taupter@gmail.com>
Copyright (c) 2010 by Frank Schaefer <fschaefer.oss@googlemail.com>
Kopete (c) 2002-2003 by the Kopete developers <kopete-devel@k... | C++ | libkopete/avdevice/videodevicepool.cpp | Jtalk/kopete-fork-xep0136 | lgpl-2.1 | 28,254 | 879 | codeparrot/github-code |
f95979fd521dabfa225746eb0f64d417ed67572fcade7ee57c8d491958768eaa | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en_US" lang="en_US">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Qt 4.8: l... | HTML | doc/html/demos-mobile-quickhit-plugins-levelone-levelone-pro.html | nonrational/qt-everywhere-opensource-src-4.8.6 | lgpl-2.1 | 12,594 | 298 | codeparrot/github-code |
0bb12f93394351a421fa02bbfc44ca1eb92c9cb3ac2a78bd7c23b18bb240a149 | /*
Copyright (C) 2018 Daniel Schultz
This file is part of FLINT.
FLINT is free software: you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License (LGPL) as published
by the Free Software Foundation; either version 2.1 of the License, or
(at your option)... | C | fmpz_mpoly/test/t-derivative_integral.c | fredrik-johansson/flint2 | lgpl-2.1 | 9,654 | 298 | codeparrot/github-code |
3fae2771ee84b46e4a69b4cc08420509018a5208738c8f1f10fe96330b57fe87 | /**************************************************************************
**
** This file is part of Qt Creator
**
** Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
**
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** Commercial Usage
**
** Licensees holding valid Qt Commercial licenses may u... | C | src/plugins/snippets/snippetswindow.h | gidlbn/dlbn_02 | lgpl-2.1 | 3,290 | 121 | codeparrot/github-code |
0f01bf1249f24dd06fef3c02f1ff87c2f4fea410f2d93659eb2aa6bcfa25973f | package com.customized.tools.commands;
import java.io.IOException;
import java.sql.Connection;
import java.sql.SQLException;
import org.jboss.aesh.cl.CommandDefinition;
import org.jboss.aesh.cl.Option;
import org.jboss.aesh.console.command.Command;
import org.jboss.aesh.console.command.CommandResult;
import org.jboss... | Java | core/src/main/java/com/customized/tools/commands/SQLPlusCommand.java | CustomizedTools/CustomizedTools | lgpl-2.1 | 2,618 | 82 | codeparrot/github-code |
746f419e2599539b32d40366754cc9d25a8aeb61833e366256bb617e604adf5e | <?php
/**
* rss actions.
*
* @package trc
* @subpackage rss
* @author Julian Dumez <julianx.dumez@intel.com>
* @version SVN: $Id: actions.class.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
*/
class rssActions extends mySfActions
{
/**
* Executes product action
*
* @param sfRequest $request A... | PHP | apps/frontend/modules/rss/actions/actions.class.php | zhengcq315/TestReportCenter | lgpl-2.1 | 31,673 | 569 | codeparrot/github-code |
e0a44c972ee721a566b1fa8b0b20a7a96268360c3fff6769d241916e16f68cbc | /****************************************************************************
**
** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the QtCore module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Licensees... | C++ | src/corelib/tools/qlocale_blackberry.cpp | nonrational/qt-everywhere-opensource-src-4.8.6 | lgpl-2.1 | 12,488 | 343 | codeparrot/github-code |
bf307d9afee64cede5a50907751b49558f80e449c0b526a4ae21b3056b45907f | /*
Teem: Tools to process and visualize scientific data and images .
Copyright (C) 2010, 2009 Thomas Schultz
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public License
(LGPL) as published by the Free Software Foundation; either... | C | src/elf/glyphElf.c | JazzQ/teem-1.11.0-src-v1 | lgpl-2.1 | 15,658 | 448 | codeparrot/github-code |
c76e4c30be718214f8a6362f75f5b2e3d7301e39eefa5c018ec1751c0eba3fa3 | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en_US" lang="en_US">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Qt 4.8: i... | HTML | doc/html/widgets-imageviewer-imageviewer-h.html | eric100lin/Qt-4.8.6 | lgpl-2.1 | 15,039 | 302 | codeparrot/github-code |
f4a280dffb2496fd3e0996d0b0d208273ec8473cf6c22840bfc885e0cb07161a | /***************************************************************************
**
** Copyright (C) 2010, 2011 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (directui@nokia.com)
**
** This file is part of libmeegotouch.
**
** If you have questions regarding the use of... | C | demos/widgetsgallery/sliderpage.h | nemomobile-graveyard/libmeegotouch | lgpl-2.1 | 2,193 | 89 | codeparrot/github-code |
1905e1f727db796b400088d33a4aa6b9a5eb6c0d7c4b071cedd98905326f9cdd | /* ===========================================================
* JFreeChart : a free chart library for the Java(tm) platform
* ===========================================================
*
* (C) Copyright 2000-2016, by Object Refinery Limited and Contributors.
*
* Project Info: http://www.jfree.org/jfreechart/in... | Java | src/test/java/org/jfree/data/time/DayTest.java | simon04/jfreechart | lgpl-2.1 | 12,474 | 403 | codeparrot/github-code |
ba14d6e34409f5c91ea0b602643c1c0831e40d4bc313209c30c1e1e03f81f40a | <?php
$sub_menu = '400400';
include_once('./_common.php');
include_once('./admin.shop.lib.php');
include_once(G5_LIB_PATH.'/mailer.lib.php');
define("_ORDERMAIL_", true);
//print_r2($_POST); exit;
$sms_count = 0;
$sms_messages = array();
for ($i=0; $i<count($_POST['chk']); $i++)
{
// 실제 번호를 넘김
$k = $_PO... | PHP | youngcart/adm/shop_admin/orderlistupdate.php | davis00/youngcart | lgpl-2.1 | 7,642 | 205 | codeparrot/github-code |
1a534f9b77937e8b348671c320ef1093815857701a237a0ff384717ddd2ebace | <?php
// (c) Copyright 2002-2016 by authors of the Tiki Wiki CMS Groupware Project
//
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id: Controller.php 57970 2016-03-17 20:08:22Z jonnybradle... | PHP | lib/core/Services/Draw/Controller.php | lorddavy/TikiWiki-Improvement-Project | lgpl-2.1 | 1,399 | 55 | codeparrot/github-code |
b19b6fd5b989d35cfdd32702f0a464fa2c914db23fecfb9895a642bfca414792 | tnt = {}
-- Default to enabled when in singleplayer
local enable_tnt = minetest.setting_getbool("enable_tnt")
if enable_tnt == nil then
enable_tnt = minetest.is_singleplayer()
end
-- loss probabilities array (one in X will be lost)
local loss_prob = {}
loss_prob["default:cobble"] = 3
loss_prob["default:dirt"] = 4
... | Lua | mods/tnt/init.lua | VanessaE/minetest_game | lgpl-2.1 | 16,981 | 646 | codeparrot/github-code |
ee779b62979659445ffeebf2a2a9f18e643da10739fe659b9947beb4d9d97039 | /*
Copyright (C) 2009 William Hart
Copyright (C) 2010 Sebastian Pancratz
This file is part of FLINT.
FLINT is free software: you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License (LGPL) as published
by the Free Software Foundation; either version 2.1... | C | fmpz_poly/test/t-evaluate_horner_fmpz.c | jpflori/flint2 | lgpl-2.1 | 2,524 | 103 | codeparrot/github-code |
7c6ce9a6158f5de3ff7eb8f9b80d7dd236ee1a8993ac0f1499b470fb0e9ac6a6 | /*
* BioJava development code
*
* This code may be freely distributed and modified under the
* terms of the GNU Lesser General Public Licence. This should
* be distributed with the code. If you do not have a copy,
* see:
*
* http://www.gnu.org/copyleft/lesser.html
*
* Copyright for t... | Java | biojava3-structure-gui/src/main/java/org/biojava/bio/structure/align/gui/jmol/JmolPanel.java | sbliven/biojava | lgpl-2.1 | 12,359 | 368 | codeparrot/github-code |
c55cadeb576afa35f486a9aeb411109f8940c8bc43626cce15e8c55f037af65d | <script>
var confirm_restore_msg = '{$lang->confirm_restore}';
var no_text_comment = '{$lang->no_text_comment}';
</script>
<load target="js/trash_admin.js" usecdn="true" />
<div class="x_page-header">
<h1>{$lang->trash} <a class="x_icon-question-sign" href="./admin/help/index.html#UMAN_content_trash" target="_blank">{... | HTML | modules/trash/tpl/trash_list.html | minsa500/zbweb | lgpl-2.1 | 7,361 | 161 | codeparrot/github-code |
60238e47419018512b1893feca7165c160855188911e194f5b769e284fe92097 | """
Clio
Mnemosyne Client Library
ThreatStream 2014
"""
import pymongo
from dateutil.parser import parse as parse_date
from collections import Counter
from bson import ObjectId, son
import json
import datetime
class Clio():
"""
Main interface for Clio - Mnemosyne Client Library -
Usage:
clio = Clio... | Python | server/mhn/common/clio.py | Antelox/mhn | lgpl-2.1 | 16,259 | 517 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.