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
add1b64de532514201bf00e6e8ff69afd1a371ed79739132ea7d8c8efbe06011
/* Jaro Mail gnome keyring handler Originally from some Gnome example code, slightly modified Copyright (C) 2012 Denis Roio <jaromil@dyne.org> * This source code is free software; you can redistribute it and/or * modify it under the terms of the GNU Public License as published * by the Free Software ...
C
src/gnome-keyring/jaro-gnome-keyring.c
vcgato29/JaroMail
gpl-3.0
5,762
228
codeparrot/github-code
61edb6a7d4cdd697b8537199cc4faecf39062496fc3110418102f912e95360d8
#ifndef __MC_MAC_PLATFORM__ #define __MC_MAC_PLATFORM__ #import <AppKit/NSColorPanel.h> //////////////////////////////////////////////////////////////////////////////// class MCMacPlatformWindow; class MCMacPlatformSurface; //////////////////////////////////////////////////////////////////////////////// @interface...
C
engine/src/mac-internal.h
LiveCodeSteven/livecode
gpl-3.0
21,913
667
codeparrot/github-code
247724f0ba39587e287707ff4030ff1b3efc2994a9e57dcd5db183d0123070ef
#ifndef LIBA7_INCLUDED #define LIBA7_INCLUDED typedef int bool ; struct gpsStruct {//GPRMC int timeZone; bool flagRead; // flag used by the parser, when a valid sentence has begun bool flagDataReady; // valid GPS fix and data available, user can call reader functions bool flagDa...
C
sim808_A7/A7_lib.h
sanjeeviisl/A7_gps_tracker
gpl-3.0
2,419
71
codeparrot/github-code
783f51c9c29b774674a574e5eb91737707abb80f784c62e4ba47f4942469cc3b
/** * Copyright (C) 2010-2016 Structr GmbH * * This file is part of Structr <http://structr.org>. * * Structr 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 y...
Java
structr-core/src/main/java/org/structr/schema/parser/NotionPropertyParser.java
joansmith/structr
gpl-3.0
5,739
213
codeparrot/github-code
debbee718023ae88dfbac1429793a81c54345312df09d327b01c38b0104a84c3
package com.yrek.ifstd.blorb; import java.io.File; import java.io.IOException; import java.io.OutputStream; import java.io.RandomAccessFile; public class FileBlorb extends Blorb { private final RandomAccessFile file; public FileBlorb(File file) throws IOException { this.file = new RandomAccessFile(fi...
Java
storyfinding/src/main/java/com/yrek/ifstd/blorb/FileBlorb.java
WakeRealityDev/incant
gpl-3.0
1,451
58
codeparrot/github-code
1273a8051df9f54b24b75559fe9458f46430af9fa61277d45aa47286ab25af46
# -*- coding: utf-8 -*- # This file is part of emesene. # # emesene 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. # #...
Python
emesene/gui/qt4ui/widgets/ChatOutput.py
tiancj/emesene
gpl-3.0
3,318
95
codeparrot/github-code
5f90155b5ed1566415da9ad1805dcaf8de79a4f90521d0ca92dd93c88bc56d28
/** Careful developers will not make any assumptions about whether or not foreign keys are enabled by default but will instead enable or disable them as necessary. http://www.sqlite.org/foreignkeys.html#fk_enable http://www.sqlite.org/pragma.html */ PRAGMA encoding = "UTF-8"; PRAGMA foreign_keys = OFF; -- 'Group...
SQL
etc/ado-sqlite-schema.sql
kberov/Ado
gpl-3.0
3,750
114
codeparrot/github-code
da33d6cc3032c167da3ba398995d8b1a01b4d522e61deae8ba09b89c65362f26
/* * This file is part of Transitime.org * * Transitime.org is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License (GPL) as published by * the Free Software Foundation, either version 3 of the License, or * any later version. * * Transitime.org i...
Java
transitime/src/main/java/org/transitime/core/AvlProcessor.java
scrudden/core
gpl-3.0
62,470
1,548
codeparrot/github-code
5261e33f4d3a04a7090b039a8ea36a7277b73596cd500991f32a7fdedf817403
/** * Template Name: Daily Shop * Version: 1.1 * Template Scripts * Author: MarkUps * Author URI: http://www.markups.io/ Custom JS 1. CARTBOX 2. TOOLTIP 3. PRODUCT VIEW SLIDER 4. POPULAR PRODUCT SLIDER (SLICK SLIDER) 5. FEATURED PRODUCT SLIDER (SLICK SLIDER) 6. LATEST PRODUCT SLIDER (S...
JavaScript
public/js/d-shop/custom.js
aquinotgr00/lc-app
gpl-3.0
10,027
375
codeparrot/github-code
03876d6cb3ee5663ac62928662a30fdc00987a2a1126fed413c08328b20adc1d
using System.Text; using System.Web; using System.Web.Http; using BaiRong.Core; using SiteServer.CMS.Controllers.Stl; using SiteServer.CMS.Core; using SiteServer.CMS.StlParser.StlElement; namespace SiteServer.API.Controllers.Stl { [RoutePrefix("api")] public class StlActionsLoadingChannelsController : ApiCont...
C#
source/SiteServer.Web/Controllers/Stl/StlActionsLoadingChannelsController.cs
kk141242/siteserver
gpl-3.0
2,115
52
codeparrot/github-code
a936daec5702de6f397f98a76fc83a30de4a57abfa6b17cbb9869ae2f54a7ad9
###################################################################### # # EPrints::XML::EPC # ###################################################################### # # ###################################################################### =pod =head1 NAME B<EPrints::XML> - EPrints Control =head1 DESCRIPTION Me...
Perl
perl_lib/EPrints/XML/EPC.pm
QUTlib/eprints
gpl-3.0
16,548
617
codeparrot/github-code
fc9c4d797081faaaeee85f3b48d3f9396ca36620d6c094e4eebe0513d6c17d19
<?php declare(strict_types=1); /* * (c) 2021 Michael Joyce <mjoyce@sfu.ca> * This source file is subject to the GPL v2, bundled * with this source code in the file LICENSE. */ namespace App\Entity; use App\Repository\CurrencyRepository; use Doctrine\Common\Collections\ArrayCollection; use Doctrine\Common\Collec...
PHP
src/Entity/Currency.php
sfu-dhil/wphp
gpl-3.0
3,516
153
codeparrot/github-code
d956fc4cc3a3294d522a6cca3201bdae028596889d7b26d7da7caf741b7bff0a
// // File = con_hamm.cpp // #include <iostream> #include <math.h> #include "typedefs.h" #include "con_hamm.h" #include "misdefs.h" #include "sinc.h" using namespace std; ContHammingMagResp::ContHammingMagResp(istream& uin, ostream& uout) : ContinWindowResponse(uin, uout) { double x, amp0, tau, freq, freq_exp, ...
C++
libs/dsp/con_hamm.cpp
francis-ortega/rtxi-francis
gpl-3.0
817
34
codeparrot/github-code
73968695264e75508598fb1a6536c70691a356e1c898e91376b3180b30c526de
using System; using System.Text; namespace Nikse.SubtitleEdit.Core.Common { /// <summary> /// Encoding and decoding bytes to/from text. /// Used for attachments in Advanced Sub Station alpha files. /// It originated for use between users of UNIX systems (it's name stood for "UNIX-to-UNIX encoding"). ...
C#
src/libse/Common/UUEncoding.cs
SubtitleEdit/subtitleedit
gpl-3.0
3,406
109
codeparrot/github-code
f104d43be0f0eba25ee288b81640ba4d7142e29771c54077500521e45e0458f0
/* * Add a text array for the codes of all code classes */ ALTER TABLE paper ADD COLUMN IF NOT EXISTS codes text[] NOT NULL DEFAULT '{}'; CREATE INDEX gin_idx_codes ON paper USING GIN (codes); UPDATE paper SET codes = '{1F,2N,3C,4G,5H,5S,6M,7L,8O}' WHERE id = 1; UPDATE paper SET codes = '{1F,1V,2N,3C,4D,4H,5H,6M,7...
SQL
public/public-persistence-jooq/src/main/resources/db/migration/V171124061600__code_classes.sql
ursjoss/sipamato
gpl-3.0
22,383
300
codeparrot/github-code
994513051d544cc40f7284b9e31e1a33f5c32f8bc797e757a83e6a14de1c86e2
#include <linux/init.h> #include <linux/ip.h> #include <linux/kernel.h> #include <linux/module.h> #include <linux/netfilter.h> #include <linux/netfilter_ipv4.h> #include <linux/proc_fs.h> #include <linux/seq_file.h> #include <linux/skbuff.h> #include <linux/udp.h> #define PORT 3615 static unsigned short int portnum =...
C
src/minitel.c
letaron/krnlmdl_minitel
gpl-3.0
2,253
89
codeparrot/github-code
384036f8e94a1eeaea2d91f4bec6d5e683bd59843800ecd49000ad9a79ec8fbf
AddCSLuaFile( ) ENT.Type = "anim" ENT.PrintName = "pap_weapon_trigger" ENT.Author = "Zet0r" ENT.Contact = "Don't" ENT.Purpose = "" ENT.Instructions = "" function ENT:SetupDataTables() self:NetworkVar( "String", 0, "WepClass" ) self:NetworkVar( "Entity", 0, "PaPOwner" ) end function ENT:Initialize() self...
Lua
gamemodes/nzombies/entities/entities/pap_weapon_trigger/shared.lua
minin43/nzombies
gpl-3.0
1,717
71
codeparrot/github-code
f7a8f579d5bc692708348d44b4d1ab3057de58111063f0cef44d5a24763c3d68
#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) ''' Created on 29 Jun 2012 @author: charles ''' import socket, select, json, os, traceback, time, sys, random import posixpath from coll...
Python
src/calibre/devices/smart_device_app/driver.py
hazrpg/calibre
gpl-3.0
89,254
1,989
codeparrot/github-code
f575e10cef1c8fe5db9cfa854301d9cb266d45516a19f2eb75981f9f7f74e5d8
// ** I18N // Calendar pt-BR language // Author: Fernando Dourado, <fernando.dourado@ig.com.br> // Encoding: any // Distributed under the same terms as the calendar itself. // For translators: please use UTF-8 if possible. We strongly believe that // Unicode is the answer to a real internationalized world. Also pl...
JavaScript
intranet/javascript/jscalendar/lang/calendar-pt_BR.utf8.js
projectestac/intraweb
gpl-3.0
3,808
113
codeparrot/github-code
f2f68960160940cdc5986730eea769187b03c14c9fa988189afa725b1e4af5e8
<?php /** * Cuisine Admin * * Handles the simple view UI * * @author Chef du Web * @category Admin * @package Cuisine */ /** * Get the simple view UI: * * @access public * @return html */ function cuisine_simple_ui_init(){ // first get the cuisine settings: $settings = get_cuisine_setting( ...
PHP
admin/cuisine-admin-ui.php
chefduweb/Cuisine-old
gpl-3.0
7,578
338
codeparrot/github-code
3f3f6ebce100a6ca5d46bdfe4c3e189461627d6f0bf3b4df348e4bd94d206213
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ // // File = stepresp.cpp // // #include <math.h> #include <stdlib.h> #include <iostream> #include "complex.h" #include "stepresp.h" using namespace std; #ifdef _DEBUG extern std::ofstream DebugFile; #endif //===================================...
C++
libs/dsp/stepresp.cpp
francis-ortega/rtxi-francis
gpl-3.0
1,317
58
codeparrot/github-code
bea99fe42447ea8e452aadc480fa8d31bdde20cb1be5fc573a7a1e3913675635
package net.minecraft.server; // CraftBukkit start import org.bukkit.block.BlockState; import org.bukkit.craftbukkit.block.CraftBlockState; import org.bukkit.craftbukkit.event.CraftEventFactory; import org.bukkit.event.block.BlockPlaceEvent; // CraftBukkit end public class ItemHoe extends Item { public ItemHoe(i...
Java
src/main/java/net/minecraft/server/ItemHoe.java
dested/CraftbukkitMaps
gpl-3.0
1,827
50
codeparrot/github-code
d60321089403e0c2337ee81a5463eb0f28851a65b51fdf09bf40579d8d9411fd
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | \\ / A nd | Copyright (C) 2011 OpenFOAM Foundation \\/ M anipulation | -------------...
C++
src/thermophysicalModels/reactionThermo/mixtures/basicMultiComponentMixture/basicMultiComponentMixtureI.H
flameletFoam/flameletFoam-2.3.x
gpl-3.0
2,665
107
codeparrot/github-code
64856e4fcce3fa120bfd5b4a4f517fb89936baea9f3acaa98600985a7a53160b
using System; using System.Reflection; using System.Threading; namespace iLynx.Common.Threading.Unmanaged { /// <summary> /// This class can be used to run an asynchronous operation while also providing progress updates to users /// </summary> /// <typeparam name="TArgs">The type of arguments this ...
C#
iLynx.Threading/ProgressResultWorker.cs
Melamew/iLynx.Common
gpl-3.0
13,536
360
codeparrot/github-code
1b04a7223d8cd9c2191c26303385b30a656823c19c7f49abf40ca3a4230ab648
<?php /** * 前台 报纸客户端基类 生成类 * @category iCMS * @package iCMS_FrameWork1_RuleClass_Gen_Newspaper * @author zhangchi */ class NewspaperBaseClientGen extends BaseClientGen { //检查当前版面是否属于免费内容 function IsFreeReadByNewspaperArticleId($newspaperArticleId) { $result = false; $newspaperArticleP...
PHP
FrameWork1/RuleClass/Gen/Newspaper/NewspaperBaseClientGen.php
unique525/gb_0
gpl-3.0
4,221
93
codeparrot/github-code
b13b686548ce5d7e1214ee0c88e63ce2c27317ed6a0d67702059ebf8e563a509
/* -*- Mode: C++; coding: utf-8; tab-width: 3; indent-tabs-mode: tab; c-basic-offset: 3 -*- ******************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright create3000, Scheffelstraße 31a, Leipzig, Germany 2011. * * Al...
C++
libtitania-x3d/Titania/X3D/Components/Followers/OrientationChaser.cpp
create3000/titania
gpl-3.0
6,471
225
codeparrot/github-code
acedba71d089c86fe1ed21634d00b4b40a30575bca490563669b62e1d83a3c6e
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "content/browser/compositor/browser_compositor_output_surface.h" #include <utility> #include "base/bind.h" #include "base/command_line.h" #incl...
C++
oss/qt/qt-everywhere-opensource-src-5.9.0/qtwebengine/src/3rdparty/chromium/content/browser/compositor/browser_compositor_output_surface.cc
geminy/aidear
gpl-3.0
3,583
97
codeparrot/github-code
896d20b6b716a56838640e4c2f15fefc14a5bcb2fca9e42b0c11294c652937a8
# -*- coding: utf-8 -*- import logging import re import salt.client from netaddr import IPNetwork, IPAddress log = logging.getLogger(__name__) def ping(cluster = None, exclude = None, **kwargs): """ Ping all addresses from all addresses on all minions. If cluster is passed, restrict addresses to public...
Python
srv/modules/runners/net.py
supriti/DeepSea
gpl-3.0
8,475
220
codeparrot/github-code
e490621b78e825852aef87429dab4b10ef8af9da4fac01bc8b89d76954663b20
package org.oldo.ui.text; import javax.swing.text.AttributeSet; import javax.swing.text.MutableAttributeSet; import javax.swing.text.SimpleAttributeSet; import java.awt.Color; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentMap; import static javax.swing.text.StyleConstants.setFor...
Java
tippotle-impl/src/main/java/org/oldo/ui/text/StyleAttributes.java
odoepner/tippotle
gpl-3.0
907
32
codeparrot/github-code
aa8845a0a1b816fcab2fed18f776a22348a489a66b02e65b79949c7661e922ac
#region License Information (GPL v3) /* ShareX - A program that allows you to take screenshots and share any file type Copyright (c) 2007-2016 ShareX Team 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 ...
C#
ShareX.HelpersLib/UpdateChecker/GitHubUpdateChecker.cs
ElectronicWar/ShareX
gpl-3.0
6,969
208
codeparrot/github-code
db8b31222a8e0cf9e0b4e46ba450316aeb8ada3e7a001612fa3cbdae27144c72
// Copyright © 2014 Terry Mao, LiuDing All rights reserved. // This file is part of gopush-cluster. // gopush-cluster 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 // (...
GO
perf/perf.go
lauly/gopush_customization
gpl-3.0
1,412
41
codeparrot/github-code
7fc5e70f5dc46d60c146839a93c0d45866a9862230a84845d49d326828a17f6e
<?php // This file is part of Moodle - http://moodle.org/ // // Moodle is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // Moodle ...
PHP
mod/assign/lang/en/assign.php
saylordotorg/Moodle_Saylor
gpl-3.0
47,915
648
codeparrot/github-code
88a41448659b7814949297136ae04aae6ded7aa33246c335df8f4ecc1cb8bedf
"DiskCache: disk and file backed cache." from .core import Cache, Disk, UnknownFileWarning, EmptyDirWarning, Timeout from .core import DEFAULT_SETTINGS, EVICTION_POLICY from .fanout import FanoutCache from .persistent import Deque, Index __all__ = [ 'Cache', 'Disk', 'UnknownFileWarning', 'EmptyDirWarn...
Python
ext/diskcache/__init__.py
pymedusa/SickRage
gpl-3.0
835
35
codeparrot/github-code
5c52e80496878529d58ff1063bee72d466aff79a76fced3ede5a71cca283ee40
// in development // getsimple tree expansion // written for editpages, but can probably be expanded to support any // list of elements with depth data in proper parent child order // var treeprefix = 'tree-'; var treeparentclass = treeprefix + 'parent'; // class for expander handles ...
JavaScript
admin/template/js/jquery-gstree.js
dgleba/getsimplecms1
gpl-3.0
9,301
249
codeparrot/github-code
d36e848f7e41ae2c1e97fc9f8074aed91283b29de4f958b1aa36cd975720ba2c
/* The Real-Time eXperiment Interface (RTXI) Copyright (C) 2011 Georgia Institute of Technology, University of Utah, Weill Cornell Medical College 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 ...
C++
src/rt_os-posix.cpp
francis-ortega/rtxi-francis
gpl-3.0
4,079
171
codeparrot/github-code
e6b8fc06bfc4d56a3a22b73ca2920a65cc68b9391676ae828a53e38ce9396c3c
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="robots" content="index, follow, all" /> <title>Symfony\Bundle\TwigBundle\Extension\ActionsExtension | </title> <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css"> ...
HTML
symfony2/api/2.5/Symfony/Bundle/TwigBundle/Extension/ActionsExtension.html
rafaelgou/the-phpjs-local-docs-collection
gpl-3.0
6,878
214
codeparrot/github-code
5ed43546165c9680cdbdcf6b4cf3206b997fe512e6c5023e65686de8a69498ff
/* * Copyright (C) 1999 Lars Knoll (knoll@kde.org) * (C) 1999 Antti Koivisto (koivisto@kde.org) * (C) 2001 Dirk Mueller (mueller@kde.org) * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved. * (C) 2006 Alexey Proskuryakov (ap@nypop.com) * Cop...
C++
webkit/Source/WebCore/html/HTMLInputElement.cpp
danialbehzadi/Nokia-RM-1013-2.0.0.11
gpl-3.0
50,357
1,613
codeparrot/github-code
0c6287f4d05b903924a005d25781700ecff0723c042c310501de29d8059101ae
package nl.ipo.cds.validation.logical; import java.util.List; import nl.ipo.cds.validation.Expression; import nl.ipo.cds.validation.ValidationMessage; import nl.ipo.cds.validation.ValidatorContext; public class OrExpression<K extends Enum<K> & ValidationMessage<K, C>, C extends ValidatorContext<K, C>> extend...
Java
validation/src/main/java/nl/ipo/cds/validation/logical/OrExpression.java
CDS-INSPIRE/InSpider
gpl-3.0
1,031
43
codeparrot/github-code
90710aa4f0872dc4391f726b68c5edcc199b52dba8255223d2051e3fc90645a7
from .models import * from django.contrib import admin from django.db import models from website.base.form import TinyMCEAdminMixin from django.utils.translation import ugettext_lazy as _ from mediastore.admin import ModelAdmin class SessionAdmin(TinyMCEAdminMixin, ModelAdmin): list_display = ('title','day_of_wee...
Python
src/website/clubsessions/admin.py
samsath/skeleton
gpl-3.0
1,156
45
codeparrot/github-code
f0dcbed879b5c9657e77047fef0c668a1038f67aa65bb2486dccd5b05a4bc702
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation \\...
C++
src/sampling/meshToMesh0/meshToMesh0Templates.C
OpenFOAM/OpenFOAM-dev
gpl-3.0
11,780
449
codeparrot/github-code
7dbd6945fdde95e9ae207ed2c0993b504ba35c6894e7d0625eb7f4f4f590158a
/* * Copyright (c) 2010, * Gavriloaie Eugen-Andrei (shiretu@gmail.com) * * This file is part of crtmpserver. * crtmpserver 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 L...
C++
sources/thelib/src/configuration/configfile.cpp
j0sh/crtmpserver
gpl-3.0
17,966
601
codeparrot/github-code
5f96930442f3ce201fdda806333f391b68e8b36aa88a2b70194593bcb857a6fd
/* * File: ximatga.h * Purpose: TARGA Image Class Loader and Writer */ /* ========================================================== * CxImageTGA (c) 05/Jan/2002 Davide Pizzolato - www.xdp.it * For conditions of distribution and use, see copyright notice in ximage.h * * Parts of the code come from Paintl...
C
smelt/sdl/CxImage/ximatga.h
chirs241097/bullet-lab-remix
gpl-3.0
2,178
62
codeparrot/github-code
fb384445973cf8d3b7a32012e8c774d60fb21e84607fb54ddf820861b72a51a5
// Copyright 2019-2020 CERN and copyright holders of ALICE O2. // See https://alice-o2.web.cern.ch/copyright for details of the copyright holders. // All rights not expressly granted are reserved. // // This software is distributed under the terms of the GNU General Public // License v3 (GPL Version 3), copied verbatim...
C
Detectors/FIT/FV0/workflow/include/FV0Workflow/EntropyDecoderSpec.h
sawenzel/AliceO2
gpl-3.0
1,385
49
codeparrot/github-code
34fc599ae499f1bee28ff08d407f1d2488525679dc72098d88c3bc6dacedcd97
{% extends "global/Page.html" %} {% load otree static %} {% block title %} {% endblock %} {% block content %} <p> <table> <tr> <td colspan="4"> {{ form.idealgroup_sameenvironment_iagree.label }} </td> </tr> <tr> ...
HTML
EPHEMER/groupes_minimaux_project/groupes_minimaux_labo/templates/groupes_minimaux_labo/RepresentationsPage2.html
anthropo-lab/XP
gpl-3.0
2,050
61
codeparrot/github-code
f19d7af8fef49bb7c948d47b63bf15075676d81ba7d69971fdebd520d7366778
<!DOCTYPE html> <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]--> <!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]--> <!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]--> <html lang="fr"> <head> <m...
PHP
application/views/comparer/index.blade.php
jameslafa/a-qui-profite-la-perequation
gpl-3.0
4,937
92
codeparrot/github-code
6ecfbe13f8049007a11b37e5da23ce3667cb516014dd146022f0c2d560536e06
package kredis import ( "context" "fmt" "net" "time" "github.com/garyburd/redigo/redis" "github.com/go-kit/kit/log" ) // ManagerState represents a state for the manager. type ManagerState string const ( // ManagerStateDNSResolution indicates that the manager is waiting for all // its master groups addresses...
GO
pkg/kredis/manager.go
ereOn/kredis
gpl-3.0
9,111
355
codeparrot/github-code
122aa664791cc244b32a8dab7475f6b74f52fcac2ec6dc1bfd30085eb2d024ac
/* This file is part of HSPlasma. * * HSPlasma 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. * * HSPlasma is distributed in th...
C++
Python/PRP/Animation/pyScaleKey.cpp
NadnerbD/libhsplasma
gpl-3.0
6,741
180
codeparrot/github-code
10bfe043a892047b205308377d956c2f863ad0da9a2cb56da0c003444f74c893
// Functor // Source: ./examples/functor.cpp #include <qpp.h> using namespace qpp; using std::cout; using std::endl; // test function used by qpp::cwise() cplx pow3(const cplx& z) { return std::pow(z, 3); } int main() { // functor test cout << ">> Functor z^3 acting component-wise on:" << endl; cmat A...
C++
examples/functor.cpp
tempbottle/qpp
gpl-3.0
776
33
codeparrot/github-code
7d6be5532467cd5c787f20f33d52a5938d7cd136382aded04286a9c1b9487958
/* * Copyright (C) 2012-2015 Dominik Schürmann <dominik@dominikschuermann.de> * Copyright (C) 2010-2014 Thialfihar <thi@thialfihar.org> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, ei...
Java
OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/DisplayTextActivity.java
bresalio/open-keychain
gpl-3.0
3,373
97
codeparrot/github-code
b3cec163ef88ebea96d86922c1dbda9486ac2b09f82028cd991cbf0903ad3440
/* Base.js, version 1.1a Copyright 2006-2010, Dean Edwards License: http://www.opensource.org/licenses/mit-license.php */ var Base = function() { // dummy }; Base.extend = function(_instance, _static) { // subclass "use strict"; var extend = Base.prototype.extend; // build the prototype Base._prototypin...
JavaScript
interface/clock/flipclock2.js
manuelsousa7/ipm-site
gpl-3.0
55,476
2,782
codeparrot/github-code
93de498a6d09124001aab921288d3720442b7905a8dd672af0e4643fb1585fbd
/* Copyright 2015 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
C++
src/tunefish4/JuceLibraryCode/modules/juce_audio_devices/native/oboe/src/opensles/AudioStreamOpenSLES.cpp
paynebc/tunefish
gpl-3.0
14,708
397
codeparrot/github-code
9d81b90ce77c94da9906d5348a4ec5ad9e42a6b014c2ed3c127ece8d825c425a
/**************************************************************************** ** ** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of Qt Creator. ** ** Commercial License Usage ** Licensees holding valid commercial Qt licenses may use this f...
C++
ThirdParty/GUI/qt-manhattan-style/qtcolorbutton.cpp
waltervh/BornAgain
gpl-3.0
7,974
278
codeparrot/github-code
f232d58bad54ff97bee5894a9404d56dd581e93cd871ed32b4daeb1cadee3c18
/* * * * ****************************************************************************** * * Copyright (C) 2014-2019 Dennis Sheirer * * * * 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 Foun...
Java
src/main/java/io/github/dsheirer/audio/convert/thumbdv/message/request/InitializeCodecRequest.java
ImagoTrigger/sdrtrunk
gpl-3.0
1,739
55
codeparrot/github-code
fb25a71ab1168e57e245c6b4859a8ec8c1c65034eddffab5879fd66e639d441b
package org.bukkit; import java.awt.image.BufferedImage; import java.io.File; import java.util.Collection; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Set; import java.util.UUID; import java.util.logging.Logger; import org.bukkit.Warning.WarningState; import org.bukkit.com...
Java
eclipse/cauldron/src/main/java/org/bukkit/Bukkit.java
Scrik/Cauldron-1
gpl-3.0
17,720
751
codeparrot/github-code
6134fe54cbb64d3d15c52ef8b8f459bbce075658244c7e19f7dcb7e593b41c4c
// Copyright (C) 2005, 2006 International Business Machines and others. // All Rights Reserved. // This code is published under the Eclipse Public License. // // $Id: MittelmannBndryCntrlDiri.cpp 2005 2011-06-06 12:55:16Z stefan $ // // Authors: Andreas Waechter IBM 2005-10-18 // based ...
C++
ThirdParty/Coin-Bonmin/Ipopt/examples/ScalableProblems/MittelmannBndryCntrlDiri.cpp
phines/acsimsep
gpl-3.0
12,042
504
codeparrot/github-code
b9947defc13220aca6b72d1ca020293e51d696f1a003f2574c7593c299b3f255
import {Component, EventEmitter, OnInit, TemplateRef, ViewEncapsulation} from '@angular/core'; import {routerTransition} from '../../router.animations'; import { CalendarService } from '../calendar.service'; import { Eventdate, Windy } from '../eventdate'; import 'rxjs/Rx'; import {environment} from "../../../environm...
TypeScript
frontend/src/app/events/eventlist/eventlist.component.ts
samsath/skeleton
gpl-3.0
1,622
55
codeparrot/github-code
9d41b9a5e667a893d38ff4d4d912c5b4f90102de58f2969be35996bbc1509698
/******************************************************************************* * Copyright (c) 2011-2014 SirSengir. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Lesser Public License v3 * which accompanies this distribution, and is available at...
Java
forestry_common/core/forestry/core/utils/Utils.java
covers1624/ForestryLegacy
gpl-3.0
6,274
186
codeparrot/github-code
a9d08cf0a82126c59d8443b4082ff2185ae59446039156d2453f17b5f21caf9c
package ${package}.rest; import ${package}.adapter.Adapter; import ${package}.service.SpringService; import com.jsmartframework.web.annotation.RequestPath; import com.jsmartframework.web.manager.WebContext; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controlle...
Java
src/main/resources/archetype-resources/src/main/java/rest/RestController.java
jefalbino/jsmart-rest-archetype
gpl-3.0
1,576
46
codeparrot/github-code
2c7c61ac11919c77740a28b40c96b331d22478c2d903606068603350902f31ed
package com.horstmann.corejava; // the classes in this file are part of this package import java.util.*; // import statements come after the package statement /** * @version 1.10 1999-12-18 * @author Cay Horstmann */ public class Employee { private String name; private double salary; private Date hireDa...
Java
Java/corejava9/v1ch04/PackageTest/com/horstmann/corejava/Employee.java
seapub/SourceCode
gpl-3.0
906
49
codeparrot/github-code
f670a3ade1a9c671b22386e0a12fe3e201f1243687c1532aae8673b1f7024c1f
/* This file is part of Telegram Desktop, the official desktop version of Telegram messaging app, see https://telegram.org Telegram Desktop 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 ...
C
Telegram/SourceFiles/profile/profile_widget.h
felfert/tdesktop
gpl-3.0
2,243
81
codeparrot/github-code
68acee55d0f8a1f6f796a05eb2115d14d897785cb6c1bd48ec917d2884da3d9c
/// \file output.h /// \brief Classes for output to geomview, maple, text-files, etc. /// \author LNM RWTH Aachen: Joerg Grande, Sven Gross, Volker Reichelt; SC RWTH Aachen: /* * This file is part of DROPS. * * DROPS is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser Gen...
C
out/output.h
liangzhangleon/fallingfilm
gpl-3.0
18,317
575
codeparrot/github-code
9e7814c566578160b983289e472c172d258fd605eaa512128e414825fa90ddb6
# -*- coding: utf-8 -*- ##Copyright (C) [2003] [Jürgen Hamel, D-32584 Löhne] ##This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as ##published by the Free Software Foundation; either version 3 of the License, or (at your option) any later versio...
Python
cuon_client/cuon/Proposal/SingleProposalMisc.py
BackupTheBerlios/cuon-svn
gpl-3.0
1,875
56
codeparrot/github-code
4993b7afb13973a6a3cfc1382b835ffb5fa9295addaf07befa0ddc3dda94f116
/** * MouseRun. A programming game to practice building intelligent things. * Copyright (C) 2013 Muhammad Mustaqim * * This file is part of MouseRun. * * MouseRun 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 ...
Java
Practica2/src/mouserun/game/Maze.java
nicomda/AI
gpl-3.0
5,333
205
codeparrot/github-code
0d1e15b9de13658a3fc4004ccb648ff4137daf723fb538a8ee1ebf3002370162
import wx import eos.db import gui.mainFrame from gui import globalEvents as GE from gui.fitCommands.calc.module.projectedAdd import CalcAddProjectedModuleCommand from gui.fitCommands.helpers import InternalCommandHistory, ModuleInfo from service.fit import Fit class GuiAddProjectedModuleCommand(wx.Command): de...
Python
gui/fitCommands/gui/projectedModule/add.py
pyfa-org/Pyfa
gpl-3.0
1,334
40
codeparrot/github-code
9dd6f2503530bbfe2722c1bfa7b89dbbf021956994dbe2cd0b7358e939278270
package com.alvazan.orm.layer9z.spi.db.inmemory; import java.util.Comparator; import java.util.HashMap; import java.util.Map; import java.util.Set; import java.util.TreeMap; import com.alvazan.orm.api.z8spi.Row; import com.alvazan.orm.api.z8spi.action.Column; import com.alvazan.orm.api.z8spi.action.IndexColumn; impor...
Java
src/main/java/com/alvazan/orm/layer9z/spi/db/inmemory/Table.java
guci314/playorm
mpl-2.0
3,363
115
codeparrot/github-code
1012b2654ce739b1abe50fd656836dddef217222e4a5ae1e96ec77eca828e0e3
package com.servinglynk.hmis.warehouse.core.model; import java.util.UUID; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonRootName; @JsonRootName("role") public class Role extends ClientModel { private UUID id; private String roleName; private String roleDescr...
Java
hmis-base-serialize/src/main/java/com/servinglynk/hmis/warehouse/core/model/Role.java
servinglynk/hmis-lynk-open-source
mpl-2.0
911
43
codeparrot/github-code
f4050824c21c37cbb1880fe0280a6ffc40dc29386fbe6659caae422006941c8d
module.exports = { domain:"messages", locale_data:{ messages:{ "":{ domain:"messages", plural_forms:"nplurals=2; plural=(n!=1);", lang:"mk" }, "%(addonName)s %(startSpan)sby %(authorList)s%(endSpan)s":[ "" ], "Extension Metadata":[ "" ], Screenshots:[ "" ], "About this extensio...
JavaScript
src/locale/mk/amo.js
jasonthomas/addons-frontend
mpl-2.0
5,248
155
codeparrot/github-code
91bc02e0e367aa055e92da8017ced295284f4b83ed269d2203c07c7b47028c16
import { run } from '@ember/runloop'; import Helper from '@ember/component/helper'; export default Helper.extend({ disableInterval: false, compute(value, { interval }) { if (this.disableInterval) { return; } this.clearTimer(); if (interval) { /* * NOTE: intentionally a setTime...
JavaScript
ui/app/helpers/-date-base.js
hashicorp/vault
mpl-2.0
738
35
codeparrot/github-code
955f2d6cdd63be7c83eb0e7a282cf69405a3e7494aa8488940fd8c19e8a956c6
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* vim: set ts=8 sts=2 et sw=2 tw=80: */ /* 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...
C
xpcom/string/nsCharTraits.h
Yukarumya/Yukarum-Redfoxes
mpl-2.0
14,725
588
codeparrot/github-code
91017498259eaba9bd668689dd96d525090a94a9f75776eb3eb276695789295b
// ======================================================================== // // Copyright 2009-2015 Intel Corporation // // // // Licensed under the Apache License, Version 2.0 (the "License"); // // y...
C
external/embree/kernels/xeon/geometry/quad_intersector_moeller.h
KIKI007/ReusedPrinter
mpl-2.0
25,915
586
codeparrot/github-code
d0e6940b6f5645af6f10a272dbde13e1d6112c0912534c789a5510020cef2699
/* -*- Mode: Java; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: nil; -*- * 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/. */ package org.mozilla.gecko.mozglue; ...
Java
base/mozglue/NativeZip.java
jrconlin/mc_backup
mpl-2.0
2,619
87
codeparrot/github-code
5951264b173ed1efd6cd69e2e2f7447819945e77f4fcdf1f9fd7718e7ec96837
/* * Copyright (C) 2010 Behdad Esfahbod * Copyright (C) 2011 Google, Inc. * * This is part of HarfBuzz, a text shaping library. * * Permission is hereby granted, without written agreement and without * license or royalty fees, to use, copy, modify, and distribute this * software and its documentation for any...
C
deps/harfbuzz/hb-view.c
UIKit0/nui3
mpl-2.0
12,318
542
codeparrot/github-code
f410a3ee4b09241dbc0c1ffbe04bd2b9e19f6e778d6bcf376a3fd9d570b56603
var Quest = require('../quest'), Messages = require('../../../../../../network/messages'), Packets = require('../../../../../../network/packets'), Utils = require('../../../../../../util/utils'); module.exports = Introduction = Quest.extend({ init: function(player, data) { var self = this; ...
JavaScript
server/js/game/entity/character/player/quest/misc/introduction.js
udeva/Kaetram
mpl-2.0
4,001
190
codeparrot/github-code
7a60b3468492a0ee6e33c7fe575adb6771433736d0a304dec7f62e282f478f93
/* 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/>. */ // @flow const { applyMiddleware, createStore, compose } = require("redux"); const { thunk } = require("../share...
JavaScript
packages/devtools-reps/src/object-inspector/store.js
jasonLaster/debugger.html
mpl-2.0
1,789
67
codeparrot/github-code
e2e6a5cc2b92d1db6eab530d184b2d5c523abae0ec551661b4b012d5d6c8745a
<?php /*********************************************** * File : sync.php * Project : Z-Push * Descr : Provides the SYNC command * * Created : 16.02.2012 * * Copyright 2007 - 2012 Zarafa Deutschland GmbH * * This program is free software: you can redistribute it and/or modify * it under the terms of...
PHP
lib/request/sync.php
cisiqo/calsync
agpl-3.0
62,726
1,170
codeparrot/github-code
bdea8f86cbc066b4a7a6a38e069d03a382fc13b36a9f0e0a3b04c42093173613
/** * Created by leow on 2/12/17. */ "use strict"; // Stdlib const util = require("util") // Constants const NON_FATAL_INCONSISTENT = "Inconsistent state - retry!" const FATAL_CONTENT = "Page does not exist!" const FATAL_UNKNOWN = "Unknown Error!" // Libs const cheerio = require('cheerio') const tableParser = req...
JavaScript
NATIVE_ES6_TAP/libs/recognize-page-type.js
leowmjw/playground-es6
agpl-3.0
4,125
142
codeparrot/github-code
711c30bba399f8010792a5b81698aeb32cf213fc79487c2252631b38caa3996e
'''u413 - an open-source BBS/transmit/PI-themed forum Copyright (C) 2012 PiMaster Copyright (C) 2012 EnKrypt 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 Licens...
Python
newmessage.py
mwgamera/u413
agpl-3.0
2,828
91
codeparrot/github-code
2385286a50f4d304c0920ce5593802fbf79f6e5cc7eea19d1d60fa6dfa9ea36f
# ############################################################################ # OSIS stands for Open Student Information System. It's an application # designed to manage the core business of higher education institutions, # such as universities, faculties, institutes and professional schools. # The core business i...
Python
features/steps/utils/pages.py
uclouvain/OSIS-Louvain
agpl-3.0
3,064
86
codeparrot/github-code
7bde46ab2d78fa768948abe9712e950b4449b64e87bb04fa08d5d83e6c7fdf7a
/* * 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/gui/new_plotter/engine/jfreechart/renderer/FormattedStackedBarRenderer.java
rapidminer/rapidminer-5
agpl-3.0
2,572
85
codeparrot/github-code
720ad71dfafdff31295c0b323b28d028b7041fd8a59133ab7a479099c590b5f5
Ext.namespace('Ext.ux.plugin'); Ext.onReady(function(){ /* This important rule solves many of the <object/iframe>.reInit issues encountered * when setting display:none on an upstream(parent) element (on all Browsers except IE). * This default rule enables the new Panel:hideMode 'nosize'. T...
JavaScript
Zone/Ui/uxvismode.js
Eric-Brison/dynacase-core
agpl-3.0
9,949
262
codeparrot/github-code
9f7e787f24d0bef0ac22956ea4969797ae1e8cd38a6403ad8ec193b4f29a8554
package info.nightscout.androidaps.plugins.pump.omnipod.driver.communication.message.response; import org.joda.time.Duration; import java.io.ByteArrayOutputStream; import java.io.IOException; import info.nightscout.androidaps.plugins.pump.common.utils.ByteUtil; import info.nightscout.androidaps.plugins.pump.omnipod....
Java
omnipod/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/driver/communication/message/response/StatusResponse.java
jotomo/AndroidAPS
agpl-3.0
5,063
127
codeparrot/github-code
f51c3b6a89227ea35d2b80db82cbf968396352dda8f3cdb8b3f6a4db3654a942
from rest_framework import serializers from models import SurveyDraft from taggit.models import Tag class WritableJSONField(serializers.Field): """ Serializer for JSONField -- required to make field writable""" """ ALSO REQUIRED because the default JSONField serialization includes the `u` prefix on string...
Python
dkobo/koboform/serializers.py
onaio/dkobo
agpl-3.0
2,038
61
codeparrot/github-code
6546d690a3b4f2743d825798332e0c6695abaef8920e3d2ceb4797a4b3b3b020
'use strict'; /* jshint node: true */ var logger = require('nlogger').logger(module); var express = require('express'); var _ = require('underscore'); var config = require('./config'); var poller = require('./poller'); var app = module.exports = express.createServer(); var reports = {}; function reapOldReports() {...
JavaScript
app.js
stainsby/redflare
agpl-3.0
1,636
56
codeparrot/github-code
9b116e827822bd4fa2752d659e9a3219ca6c2b1bedca0548b51d7633b57d4e6c
//############################################################################# //# # //# Copyright (C) <2015> <IMS MAXIMS> # //# ...
Java
Source Library/openmaxims_workspace/ValueObjects/src/ims/generalmedical/vo/domain/OPDSpasticityAssessTreatVoAssembler.java
FreudianNM/openMAXIMS
agpl-3.0
26,598
623
codeparrot/github-code
4c0bc7e314968cf21d54778ac3e37b25646c4f512310445e18468256c64ad672
#include "tinyxml.h" #include <iostream> #include "xmlWriter.h" #include "treeWriter.h" #include <cstdlib> #include "debugMacros.h" xmlWriter::xmlWriter(const char * filename){ debug("XMLWriter - Creating New Object from Filename") currentDoc = new TiXmlDocument(filename); docAllocated = true; } xmlWrit...
C++
Case 12/WorkingClient/libraries/xmlWriter.cpp
SarahVictoria/IOConnection
agpl-3.0
2,262
90
codeparrot/github-code
3ea38d04709515e8aacf00d80dd7934bc61fd861a4babd10bf2c145e68894cee
<?php namespace SPHERE\Application\Contact\Phone; use SPHERE\Application\Contact\Phone\Service\Data; use SPHERE\Application\Contact\Phone\Service\Entity\TblPhone; use SPHERE\Application\Contact\Phone\Service\Entity\TblToCompany; use SPHERE\Application\Contact\Phone\Service\Entity\TblToPerson; use SPHERE\Application\Co...
PHP
Application/Contact/Phone/Service.php
BozzaCoon/SPHERE-Framework
agpl-3.0
11,871
465
codeparrot/github-code
1855575f5b2b9a793311738d3a0c1e1b75c5a504c17674f24597db5a1fb1cc4e
<?php /** * Class XmlFormFieldHours * */ class XmlFormFieldHours extends XmlFormFieldSimpleText { public $size = 15; public $maxLength = 64; public $validate = 'Any'; public $mask = ''; public $defaultValue = ''; public $required = false; public $dependentFields = ''; public $linkFie...
PHP
workflow/engine/classes/XmlFormFieldHours.php
tomolimo/processmaker-server
agpl-3.0
6,653
126
codeparrot/github-code
2f1024d40b548e189e3d89f775459e128ae861a7ad953506beb2681bc4b78240
<?php if(!defined('IN_CB'))die('You are not allowed to access to this page.'); /** * ean8.php *-------------------------------------------------------------------- * * Sub-Class - EAN-8 * * EAN-8 contains * - 4 digits * - 3 digits * - 1 checksum * *-----------------------------------------------------------...
PHP
include/codebar/class/ean8.barcode.php
cejebuto/OrfeoWind
agpl-3.0
4,820
167
codeparrot/github-code
30cb96b1b165da8ac2a94d88875219518eddffe6ac1edb87305717d6dec2f2f5
############################################################################## # # Copyright (C) 2019-2020 Compassion CH (http://www.compassion.ch) # @author: Christopher Meier <dev@c-meier.ch> # # The licence is in the file __manifest__.py # ####################################################################...
Python
website_compassion/controllers/cms_form.py
CompassionCH/compassion-switzerland
agpl-3.0
1,098
38
codeparrot/github-code
918ec74f37ec77ba62cc261670036cc5a63070d6f3230e134b76c598f25281a0
// Copyright 2014 Canonical Ltd. // Licensed under the AGPLv3, see LICENCE file for details. package upgrades import ( "fmt" "path" "launchpad.net/juju-core/utils/exec" ) var ubuntuHome = "/home/ubuntu" // Previously the lock directory was created when the uniter started. This // allows serialization of all of ...
GO
upgrades/lockdirectory.go
cloudbase/juju-core
agpl-3.0
1,418
42
codeparrot/github-code
d340e76fbba7ddb08bfb19187c57ed457f37170d49e2a28dfda1055e8798561d
//############################################################################# //# # //# Copyright (C) <2015> <IMS MAXIMS> # //# ...
Java
Source Library/openmaxims_workspace/ValueObjects/src/ims/refman/vo/domain/OutcomeAcceptedDetailsVoAssembler.java
FreudianNM/openMAXIMS
agpl-3.0
20,586
479
codeparrot/github-code
ff1ae640e5eabe1612b2706d27311d3864fbbda81fe0c9b6ec77bf5a16351e83
package io.rapidpro.mage.task; import com.google.common.collect.ImmutableMultimap; import io.dropwizard.servlets.tasks.Task; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.io.PrintWriter; /** * Task to test Sentry */ public class SentryTestTask extends Task { protected static final Logge...
Java
src/main/java/io/rapidpro/mage/task/SentryTestTask.java
xkmato/mage
agpl-3.0
957
37
codeparrot/github-code
396de033f74583e038d3d99369ed3e6a45a7dcdddcee86080f36272c7cd3c5ac
<?php namespace SPHERE\Application\Setting\Authorization\Token; use SPHERE\Application\Platform\Gatekeeper\Authorization\Account\Service\Entity\TblAccount; use SPHERE\Application\Platform\Gatekeeper\Authorization\Consumer\Consumer; use SPHERE\Common\Frontend\Form\Repository\Button\Primary; use SPHERE\Common\Frontend\F...
PHP
Application/Setting/Authorization/Token/Frontend.php
BozzaCoon/SPHERE-Framework
agpl-3.0
10,063
248
codeparrot/github-code
6e0ebcfe88d4469c86303198d705cecfd641beb81750e9a53eb073ac5e57f867
/********************************************************************************************* * * 'GamaNavigatorNewMenu.java, in plugin ummisco.gama.ui.navigator, is part of the source code of the GAMA modeling and * simulation platform. (c) 2007-2016 UMI 209 UMMISCO IRD/UPMC & Partners * * Visit https://github.c...
Java
ummisco.gama.ui.navigator_web/src/ummisco/gama/ui/navigator/GamaNavigatorNewMenu.java
gama-platform/gama.cloud
agpl-3.0
3,034
101
codeparrot/github-code
df9ea4b28f53d828de6ca2abfa1303295c6e5c335a8ca151373c4b60ad458523
require_relative 'config' require_relative 'module' require_relative 'modules' module Revok class Framework def initialize self.load_error_modules = Array.new self.modules_loaded = Array.new if (Dir.exist?(Revok::Config::MODULES_DIR)) @modules_path = Revok::Config::MODULES_DIR end @modules = Has...
Ruby
caroline/core/framework.rb
Revok-scanner/revok
agpl-3.0
2,458
94
codeparrot/github-code
12bab59c1c824102f80eb854bcde8e5689457111455283fa154528c6d57b7943
OC.L10N.register( "settings", { "Enabled" : "Włączone", "Not enabled" : "Nie włączone", "Wrong password" : "Złe hasło", "Saved" : "Zapisano", "No user supplied" : "Niedostarczony użytkownik", "Unable to change password" : "Nie można zmienić hasła", "Authentication error" : "Błąd uwie...
JavaScript
settings/l10n/pl.js
jbicha/server
agpl-3.0
23,460
344
codeparrot/github-code
57457366dd47c0833321d0a7468aebf5acda24b85146f98479e9286de6a0e59f
require 'forwardable' # GeoDiver Namespace module GeoDiver # Define Config class. Capture our configuration system. class Config extend Forwardable def_delegators GeoDiver, :logger def initialize(data = {}) @data = symbolise data @config_file = @data.delete(:config_file) || default...
Ruby
lib/geodiver/config.rb
GeoDiver/GEODiver
agpl-3.0
1,891
87
codeparrot/github-code
c3a4353a174177453d4bf3d41b92082d265b70185500e29c8f96172500f0e868
/* * Copyright (C) 2012 - present 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 distribut...
JavaScript
app/coffeescripts/calendar/EditAssignmentDetails.js
djbender/canvas-lms
agpl-3.0
10,456
331
codeparrot/github-code
80a072edec5731f0e8e7aceaa55dbbe8d8b5a2924fd79a7fcb3f1531ab0dc055
/* * This file is part of Bisq. * * Bisq 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. * * Bisq is distributed in the ...
Java
core/src/main/java/bisq/core/offer/OfferRestrictions.java
bitsquare/bitsquare
agpl-3.0
2,124
54
codeparrot/github-code
68568f0ea168734edf1b9a190fd2a4107a9db4a84fc389d81322d843c6826878
/* * Copyright (C) 2011-2012 DarkCore <http://www.darkpeninsula.eu/> * Copyright (C) 2011-2012 Project SkyFire <http://www.projectskyfire.org/> * Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/> * Copyright (C) 2005-2012 MaNGOS <http://getmangos.com/> * This program is free software; you can redis...
C
src/server/game/Battlegrounds/BattlegroundQueue.h
Darkpeninsula/Darkcore
agpl-3.0
8,560
178
codeparrot/github-code