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
0833b756a279d6686ae62590bf298445bfdde1d588a823522cc9d7453472c521
/** * @class PrettyJSON.view.Leaf * @extends Backbone.View * * @author #rbarriga * @version 0.1 * */ PrettyJSON.view.Leaf = Backbone.View.extend({ tagName:'span', data:null, level:0, path:'', type:'string', isLast: true, events: { "mouseover .leaf-container": "mouseover", "m...
JavaScript
Event_Billboard-portlet/docroot/js/pretty-json-master/src/leaf.js
SmartSearch/Mashups
mpl-2.0
2,216
85
codeparrot/github-code
8ca16bcdb3610a2e08aae8a6f8d5c32034ca38502be2b2409ac5b2c0f9dbf089
/* * 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/. */ /* * Copyright (c) 2015, Joyent, Inc. */ /* * CollectorStream: transform that collects all input and makes...
JavaScript
test/CollectorStream.js
davepacheco/sdc-manta
mpl-2.0
799
39
codeparrot/github-code
014595251a8b64933ad4f3459c9a0b0f858db2d3298f385a4fe716d81171933c
/* 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/SmrtStar/dac/SSDAC1.C
digidotcom/DCRabbit_9
mpl-2.0
3,624
109
codeparrot/github-code
e5d4277cfbc6241af7b48f8c08d54f96f6c05ac332c46ba5b909d4cee83fb25e
/* 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 scaps.webservice.ui import scala.scalajs.js.annotation.JSExport import org.scalajs.dom import org.scalajs...
Scala
webserviceUI/src/main/scala/scaps/webservice/ui/Main.scala
scala-search/scaps
mpl-2.0
2,534
87
codeparrot/github-code
fe43f6c11f4cd2a41d17aa8a22a7bb82cec979025acc3a35940f517232dbc7fc
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import os,re,sys,pprint,shutil from pathlib import Path PACKAGES_DIR = "../packages" def errorExit(msg): print(msg) sys.exit(1) def isPathDisabled(path): for part in path.parts: if part.lower().startswith("_disabled"): return True return False depsFolder = P...
Python
tools/split.py
DeadSix27/python_cross_compile_script
mpl-2.0
1,806
72
codeparrot/github-code
b632cc8c258f08480030293d0f29f9907a495ec3285a7158f66a180a10eba66c
/* 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 import * as React from 'react'; import { Provider } from 'react-redux'; import copy from 'copy-to-clipboa...
JavaScript
src/test/components/CallNodeContextMenu.test.js
mstange/cleopatra
mpl-2.0
6,012
168
codeparrot/github-code
bad0e9b20c4abe3bc1c2734a54cf7d4783b8adef9beec573fcaa088118dba10e
// // Copyright (c) 2011-2017, UDI Contributors // All rights 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/. // #![deny(warnings)] #![allow(unused_varia...
Rust
libudi/src/thread.rs
mcnulty/udi
mpl-2.0
3,825
144
codeparrot/github-code
1f7e403ed5ae3af66b6901ebd16adfc5021707ca6eabef96009b93ec2aaebad6
/* @flow */ /* global Navigator, navigator */ import config from 'config'; import * as React from 'react'; import { Helmet } from 'react-helmet'; import { connect } from 'react-redux'; import { withRouter } from 'react-router-dom'; import NestedStatus from 'react-nested-status'; import { compose } from 'redux'; // We ...
JavaScript
src/amo/components/App/index.js
mozilla/addons-frontend
mpl-2.0
6,313
205
codeparrot/github-code
937b64f8ffa29ab6b95c08ec0db1334af525f3f0af13d1b941513c8b2045b698
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html data-context="Build Apps" xmlns="http://www.w3.org/1999/xhtml"> <head> <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> <title>le_riPin_interface.h File Reference - Legato ...
HTML
18_03/le__ri_pin__interface_8h.html
legatoproject/legato-docs
mpl-2.0
15,758
307
codeparrot/github-code
3d2aa7f71b5a89647fb54dc0b465b309e4d8ca07b3c9917b68455e907d4c3cd7
/* 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/. */ use app_units::Au; use devtools_traits::{ScriptToDevtoolsControlMsg, TimelineMarker, TimelineMarkerType}; use dom:...
Rust
components/script/dom/window.rs
vectorijk/servo
mpl-2.0
52,772
1,393
codeparrot/github-code
b6f298c5dc21b3e83652add65cbd2fcee86c29fed39cf530e3a61f429379e386
using System; using System.Collections.Generic; using System.Text; using System.IO; namespace KISS { /// <summary> /// A manifest file is a file that has a version and references a bunch of patch files. /// </summary> public class ManifestFile { public string Version = ""; public L...
C#
src/C#/KISS.net/KISS.net/ManifestFile.cs
Afr0/KISS
mpl-2.0
2,018
66
codeparrot/github-code
de339bc8f1dbc2d7a1a0a2fdc47034ab14c437ed43983397f7f992bc82f7495b
package hs.minion; import hs.CardClass; import hs.CardSet; public class RaidLeader extends Minion { static final String Name = "Raid Leader"; static final int Cost = 3; static final CardClass Class = CardClass.NEUTRAL; static final String Text = "Your other minions have +1 Attack."; static final MinionRace Race...
Java
src/main/java/hs/minion/RaidLeader.java
jmmaloney4/hs2
mpl-2.0
870
52
codeparrot/github-code
c4d4ae08eeb607683c1ed9c9df78175adb57ba06c50be4fb00ec7112c5482c8c
/** * Copyright (c) 2016, All partners of the iTesla project (http://www.itesla-project.eu/consortium) * 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 co...
Java
iidm/iidm-impl/src/main/java/com/powsybl/iidm/network/impl/GeneratorAdderImpl.java
powsybl/powsybl-core
mpl-2.0
4,274
136
codeparrot/github-code
1bdcab27b6e88fdf6bdf65492762d7bc17241e45230d38df1aebb9868d98071a
package com.gaiagps.iburn; import android.content.Context; import android.content.SharedPreferences; /** * Created by davidbrodsky on 7/1/15. */ public class PrefsHelper { private static final String SHOWED_WELCOME = "welcomed_2018"; // boolean private static final String POPULATED_DB_VERSION = "...
Java
iBurn/src/main/java/com/gaiagps/iburn/PrefsHelper.java
Burning-Man-Earth/iBurn-Android
mpl-2.0
2,742
79
codeparrot/github-code
d3704854b4f171f6288e714182e4d6d1296ee05e0198bbce470796253027689a
<?php namespace ICT\Core\Application; /* * *************************************************************** * Copyright © 2015 ICT Innovations Pakistan All Rights Reserved * * Developed By: Nasir Iqbal * * Website : http://www.ictinnovations.com/ * * M...
PHP
core/Application/Originate.php
ictinnovations/ictcore
mpl-2.0
2,672
101
codeparrot/github-code
28bb3a9803a2e7795953ac7709e823380ebba3e98ddb829c5bc7d3ae029d5042
package handler import ( "errors" "fmt" "html" "net/http" "strings" "github.com/HouzuoGuo/laitos/daemon/httpd/middleware" "github.com/HouzuoGuo/laitos/lalog" "github.com/HouzuoGuo/laitos/toolbox" ) const HandleCommandFormPage = `<html> <head> <title>Command Form</title> </head> <body> <form action="%...
GO
daemon/httpd/handler/cmd_form.go
HouzuoGuo/laitos
mpl-2.0
2,391
76
codeparrot/github-code
7d808a085ab8e118fc2f8ef862567349156b4958b357581275e52382fecf5f60
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Security.Cryptography; using System.Text; using System.Threading.Tasks; using System.Xml.Linq; using Umbraco.Core.Logging; namespace Jumoo.uSync.Core.Extensions { public static class XElementTrackerExtension { ...
C#
Jumoo.uSync.Core/Extensions/XElementTrackerExtension.cs
lucasch/uSync
mpl-2.0
2,872
100
codeparrot/github-code
27f1fc71b3466070bca66e2b51237c430a52c75bfc02c1cccdc70ca9c6d541f2
/* 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/. */ "use strict"; // The panel module currently supports only Firefox. // See: https://bugzilla.mozilla.org/show_bug...
JavaScript
phase2/addon/lib/panel.js
raymak/contextualfeaturerecommender
mpl-2.0
10,892
356
codeparrot/github-code
22e2f9e66d5f24ac577d37451cf44cf0695320726b6e49c8760e557a9d9dbd89
{-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE RecordWildCards #-} {-# LANGUAGE ScopedTypeVariables #-} {-# LANGUAGE TemplateHaskell #-} -- | -- Module : Main -- Copyright : (c) 2013 Brendan Hay <brendan.g.hay@gmail.com> -- License : This Source Code Form is subject to the terms of -- ...
Haskell
czar-graphite/Main.hs
brendanhay/czar
mpl-2.0
3,811
115
codeparrot/github-code
df531a3d7be6475b63e9d175f77bd31bd327ac4361c3e8f61c79f57b44000109
/***************************** BEGIN LICENSE BLOCK *************************** The contents of this file are subject to the Mozilla Public License Version 1.1 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.mozilla.org/MPL/MPL-1....
Java
ogc-services-sps/src/main/java/org/vast/ows/sps/ConfirmRequestWriterV20.java
sensiasoft/lib-ows
mpl-2.0
2,147
72
codeparrot/github-code
1c6c0b94c9872b94e864bd9c697442b89bf8911005598b0e4cbd23f38e53e095
namespace WindowsFormsFlashControlLibrary { partial class UserControl1 { /// <summary> /// 必需的设计器变量。 /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// 清理所有正在使用的资源。 /// </summary> /// <param name="disposi...
C#
1.22WPF嵌入FlashPlayer(VS2010)/WindowsFormsFlashControlLibrary/UserControl1.Designer.cs
liangsenzhi/WPF
mpl-2.0
2,259
62
codeparrot/github-code
09c7c6855fbd6c235cead663ee9a4e9cf777a9eb32004619f47e734859055d97
package fyp.hkust.facet.util; /** * Created by ClementNg on 2/4/2017. */ import android.graphics.Paint; import android.graphics.Typeface; import android.text.TextPaint; import android.text.style.TypefaceSpan; public class CustomTypeFaceSpan extends TypefaceSpan { private final Typeface newType; public Cus...
Java
app/src/main/java/fyp/hkust/facet/util/CustomTypeFaceSpan.java
clementf2b/FaceT
mpl-2.0
1,186
50
codeparrot/github-code
5f3f62064a711c7c82ab3824d5ba0d2faf8473b148076bbb0b720719f6b7ca11
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Text; using Web.Units; using Models; namespace Web.Areas.BusinessManger.Controllers { public class FrameSetController : BusinessAreaBaseController { public ActionResult Login() ...
C#
Web/Areas/BusinessManger/Controllers/FrameSetController.cs
tst20170901/test2
mpl-2.0
3,331
83
codeparrot/github-code
9c21c4d6ff8bdd9bfbf7401f30db403c350e91aaa5a56b8f37eceabbc184bcf1
/* 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 output import "reflect" // S3Grantee ... type S3Grantee struct { ID string `json:"id"` Type ...
GO
output/s3.go
ernestio/aws-definition-mapper
mpl-2.0
1,797
61
codeparrot/github-code
94323efc8a1d2170e4c3bd740b9db86fd94f8bf4a31eae1c4dbe329167e8426e
(function (badges, $, undefined) { "use strict"; var options = {}, geocoder, map, marker; badges.options = function (o) { $.extend(options, o); }; badges.init = function () { initializeTypeahead(); initializeImagePreview(); $(".datepicker").datepicker(...
JavaScript
Badges/Scripts/public/modifyexperience.js
ucdavis/Badges
mpl-2.0
2,849
86
codeparrot/github-code
784a4cda4f77cc721008a75980dc6e860c188008d0749fa759f6f07a4d27fbaf
/* * Copyright © 2013-2021, The SeedStack authors <http://seedstack.org> * * 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.seedstack.business.domain...
Java
core/src/main/java/org/seedstack/business/domain/BaseRepository.java
seedstack/business
mpl-2.0
2,660
75
codeparrot/github-code
0740ee122e70ce4d97086440f26f6a8eb97d918b569e298646ba70657f126494
class Attendance < ActiveRecord::Base belongs_to :student belongs_to :event validates_uniqueness_of :student_id, scope: :event_id validates_presence_of :student_id, :event_id YES = "Yes" NO = "No" MAYBE = "Maybe" def message case self.commitment_status when YES then "You signed up for #{event...
Ruby
app/models/attendance.rb
MozillaHive/HiveCHI-rwm
mpl-2.0
824
35
codeparrot/github-code
ff6518f8964e9440a3c8611d0b548f6d5fa6d1afa3490e71f925e40ad372b36d
#[macro_use] extern crate failure; #[macro_use] extern crate lazy_static; extern crate chrono; extern crate mp3_duration; extern crate rayon; extern crate regex; extern crate reqwest; extern crate rss; extern crate select; extern crate url; mod diecast; mod spodcast; mod util; mod vortex_theatre; use std::collection...
Rust
src/lib.rs
bwinton/podcasts
mpl-2.0
4,755
158
codeparrot/github-code
45e7758fa184da6a4c1b34376aff419b9ca98fe24dd021fdbccab7479a5c3d01
<?php /** * Insert Class * * @author Mahsum UREBE <mahsumurebe@outlook.com> <github:mahsumurebe> * @file Insert.php * @copyright ©2017 Mahsum UREBE **/ namespace System\DB\QueryBuilder; use System\DB\QueryBuilder\Abstracts\TableAbstract; /** ...
PHP
QueryBuilder/Insert.php
mahsumurebe/QueryBuilder
mpl-2.0
5,237
198
codeparrot/github-code
c00dfac1f04ab791c0fa6f777316311fc5a4014abc2856bc825fba016298ac4b
#!/usr/bin/env python3 # # Copyright (C) 2017-2020 EOS di Manlio Morini. # # 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/ # # A python program that helps to set up ...
Python
src/setversion.py
morinim/vita
mpl-2.0
2,950
100
codeparrot/github-code
f6dfb0f5041fe1c341e98a7a76bae585dff6321274a54141f48099fcc7a094cb
"use strict"; var myTable = require("../data/myTables.json"); // Dictionaries to modify/extend the original dictionaries var devanagari_dict_mod = {}; var telugu_dict_mod = {}; var kannada_dict_mod = {}; var gujarati_dict_mod = {}; var tamil_dict_mod = {}; var bengali_dict_mod = {}; var gurmukhi_dict...
JavaScript
src/lib/myModule.js
mohancloudworld/Parivartan
mpl-2.0
18,881
532
codeparrot/github-code
443d6744a696abf5cd0c4ce579f6da7e188bcc5863d7d631a700a4f22de84bf0
#include "plastiqmethod.h" #include "plastiqqcolormap.h" #include <QColormap> #include <QColor> QHash<QByteArray, PlastiQMethod> PlastiQQColormap::plastiqConstructors = { { "QColormap(QColormap&)", { "QColormap", "QColormap&", "QColormap*", 0, PlastiQMethod::Public, PlastiQMethod::Constructor } }, }; QHash<QBy...
C++
Builder/plastiq/include/widgets/PlastiQQColormap/plastiqqcolormap.cpp
ArtMares/PQStudio
mpl-2.0
5,448
141
codeparrot/github-code
348f688208abd75d346274a4ebaeb3eda5d7fc57a253a6f9015cca8dd087a911
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html data-context="Build Apps" xmlns="http://www.w3.org/1999/xhtml"> <head> <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> <title>uartMode - Legato Docs</title> <meta content...
HTML
19_01/toolsTarget_uartMode.html
legatoproject/legato-docs
mpl-2.0
4,763
115
codeparrot/github-code
3e90210e2039f29ec1d4cb93baed2fa5b1bf471713c41d7fb84ebeda38c36877
/* * Copyright (c) 1998-2014 by Richard A. Wilkes. All rights reserved. * * This Source Code Form is subject to the terms of the Mozilla Public License, * version 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/. * * This Source Code Form is "Incom...
Java
src/com/trollworks/gcs/character/Page.java
smithkm/gcs
mpl-2.0
1,978
58
codeparrot/github-code
00480cb7792364d2b097dea8f75b7ddcbceb65e6d3b1243a88c782a6a3f1f72f
package eindberetning.it_minds.dk.eindberetningmobil_android.views; import android.widget.TextView; import org.junit.Test; import eindberetning.it_minds.dk.eindberetningmobil_android.BaseTest; import eindberetning.it_minds.dk.eindberetningmobil_android.data.StaticData; import it_minds.dk.eindberetningmobil_android.R...
Java
app/src/androidTest/java/eindberetning/it_minds/dk/eindberetningmobil_android/views/UploadingViewTest.java
os2indberetning/OS2_Android
mpl-2.0
1,086
36
codeparrot/github-code
36326e67145d1ae9bc1650b15c464d1990bd8db6ab0989e36f708ddf2ca6545d
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html data-context="Build Apps" xmlns="http://www.w3.org/1999/xhtml"> <head> <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> <title>Install the Toolchain - Legato Docs</title> ...
HTML
18_01/basicBuildToolchain.html
legatoproject/legato-docs
mpl-2.0
10,027
139
codeparrot/github-code
2dafd149d323521635f69383616af602224a1907f5636186eedbc87290f03ba9
import json import mock from django.test import TestCase from django.core.urlresolvers import reverse class TestAPI(TestCase): @mock.patch('ldap.initialize') def test_exists(self, mocked_initialize): connection = mock.MagicMock() mocked_initialize.return_value = connection url = re...
Python
medlem/api/tests.py
mozilla/medlem
mpl-2.0
5,529
149
codeparrot/github-code
8aafedac7c4f64ce4fa2c8630cff650bbc5789364453c322410273967b153ad8
# 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/. # # Copyright (c) 2016 Digi International Inc. All Rights Reserved. """ Monitor the WR31 door enclosure """ i...
Python
WR31/doormon.py
digidotcom/transport_examples
mpl-2.0
3,979
140
codeparrot/github-code
840ca468144a18a4735342c0e5294e15f6320f3d2043d201a995eca9cc5e8705
// 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 biglog import ( "errors" "fmt" "io" "sync" "sync/atomic" "time" ) // ErrInvalidIndexReader is returne...
GO
biglog/index_reader.go
ninibe/netlog
mpl-2.0
6,459
276
codeparrot/github-code
5a194ade9e556445c2d93e7b1155a4fff2554119ab00df63ce5ecc118a50c395
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html data-context="" xmlns="http://www.w3.org/1999/xhtml"> <head> <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> <title>le_pm_interface.h File Reference - Legato Docs</title> ...
HTML
19_11_3/le__pm__interface_8h.html
legatoproject/legato-docs
mpl-2.0
18,244
343
codeparrot/github-code
2ecfa3d6f9eda0def72b48a87111717db0e12037cc275a73cc47bb3deafde626
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* vim:set ts=2 sw=2 sts=2 et cindent: */ /* 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....
C
dom/media/platforms/omx/OmxDataDecoder.h
Yukarumya/Yukarum-Redfoxes
mpl-2.0
5,914
215
codeparrot/github-code
ee755187543124ea0dcb0034c71f5a172423ce1000b82c4150e248f32464f6fb
/* 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 etomica.data.history; /** * History that records a data from a simulation. When existing space * is i...
Java
etomica-core/src/main/java/etomica/data/history/HistoryComplete.java
etomica/etomica
mpl-2.0
3,360
127
codeparrot/github-code
abe1c8c0522aab747eae0c2cb2f1d26ce46ac9db0dd435e59740adfa87eafe51
/* 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/. */ //! A partial implementation of CORS //! For now this library is XHR-specific. //! For stuff involving `<img>`, `<...
Rust
components/script/cors.rs
connorimes/servo
mpl-2.0
17,999
487
codeparrot/github-code
659eed5c8dc5ed7c5b15d9a5afd5ff875bc1b3179c69ae9850bb606fb99c8f7f
import copy import logging import os import time from datetime import datetime from hashlib import sha1 import newrelic.agent from django.core.exceptions import ObjectDoesNotExist from django.db.utils import IntegrityError from past.builtins import long from treeherder.etl.artifact import (serialize_artifact_json_blo...
Python
treeherder/etl/jobs.py
KWierso/treeherder
mpl-2.0
18,563
490
codeparrot/github-code
87e58fa2be447eca442835b6b1698b517c970b390fb23b4871907e34730cfad9
package logmon import ( "context" "github.com/hashicorp/nomad/client/logmon/proto" ) type logmonClient struct { client proto.LogMonClient } func (c *logmonClient) Start(cfg *LogConfig) error { req := &proto.StartRequest{ LogDir: cfg.LogDir, StdoutFileName: cfg.StdoutLogFile, StderrFileName: cfg.St...
GO
client/logmon/client.go
nak3/nomad
mpl-2.0
690
32
codeparrot/github-code
54c875d4c02929d0d00344da874c81737c0a41ce1e320395bc13735c003edc42
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html data-context="Build Apps" xmlns="http://www.w3.org/1999/xhtml"> <head> <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> <title>Configure the Application Framework - Legato...
HTML
18_09/basicBuildMake.html
legatoproject/legato-docs
mpl-2.0
10,154
139
codeparrot/github-code
3683d94cd83475c0b7e94d66f49e90f084579a824286cd7102cdb5855cc727ce
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="generator" content="rustdoc"> <meta name="description" content="API documentation for the Rust `RSplitN` struct in crate `std`."> <meta name="keywords" co...
HTML
std/slice/struct.RSplitN.html
susaing/doc.servo.org
mpl-2.0
30,743
161
codeparrot/github-code
2ad5f3c009051b4d863c371e896afbc9a28a0cff8a72a8b90faeb41072a08822
import React from 'react'; import cn from 'classnames'; import keyboardJS from 'keyboardjs'; import ReactTooltip from 'react-tooltip'; import sendToAddon from '../client-lib/send-to-addon'; export default class PrevButton extends React.Component { constructor(props) { super(props); this.state = {historyIndex...
JavaScript
frontend/components/prev-button.js
meandavejustice/min-vid
mpl-2.0
1,552
54
codeparrot/github-code
408625466befc84665403a5cf82597237cedf0ee29be238a48688b3cb104c514
package google import ( "fmt" "github.com/hashicorp/terraform-plugin-sdk/helper/schema" ) func dataSourceGoogleComputeSslPolicy() *schema.Resource { // Generate datasource schema from resource dsSchema := datasourceSchemaFromResourceSchema(resourceComputeSslPolicy().Schema) // Set 'Required' schema elements a...
GO
google/data_source_google_compute_ssl_policy.go
terraform-providers/terraform-provider-google
mpl-2.0
895
38
codeparrot/github-code
41cd2792cc9a116c32e26b6a86efb00ae30d223448312a0d6f1432b48a583343
/* 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/. */ use dom::bindings::cell::DOMRefCell; use dom::bindings::codegen::Bindings::EventHandlerBinding::EventHandlerNonNul...
Rust
components/script/dom/xmlhttprequest.rs
indykish/servo
mpl-2.0
44,035
1,083
codeparrot/github-code
00944e7a22e8ba1b7d5d1c65f5fc5bd027c0b620b0bb2809cb8fab52b11ceba9
<?php /** * Copyright 2006 - 2018 TubePress LLC (http://tubepress.com) * * This file is part of TubePress (http://tubepress.com) * * 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://mozil...
PHP
src/php/classes/internal/tubepress/internal/boot/helper/uncached/UncachedContainerSupplier.php
tubepress/tubepress
mpl-2.0
11,179
366
codeparrot/github-code
db211e4f5891cc887d2b6116b928b39e52e9964ffc921dd11b9985e655bd3cfa
package tsp; public class Ciudad { private String nombre; private int id; private CiudadesDistancias[] distanciasC = new CiudadesDistancias[22]; private boolean visitado = false; private boolean inicial = false; Ciudad(int idd, String nom){ nombre = nom; id = idd; } public String getNomb...
Java
Ejercicio-03/src/tsp/Ciudad.java
arian-22/AlgoritmosGeneticos-UTN
mpl-2.0
1,265
70
codeparrot/github-code
a47e85632b46bb549c89a4166181c0202a87703fc19952f74f2b1bfe85c7e2c6
/******************************************************************************* * Copyright (c) 2007, 2018 Stefaan Van Cauwenberge * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0 (the "License"). If a copy of the MPL was not distributed with this * file, You can obtain on...
Java
shim/src/main/java/info/vancauwenberge/filedriver/filereader/csv/CSVFileReader.java
scauwe/Generic-File-Driver-for-IDM
mpl-2.0
7,573
227
codeparrot/github-code
f471524688561a006cdbd503d43a118bf83e4f211deb0441d9b7ce67bb572c0b
namespace Reader_UI { partial class TereziDummy { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <pa...
C#
Reader UI/TereziDummy.Designer.cs
cybnetsurfe3011/MSPA-Reader
mpl-2.0
3,224
82
codeparrot/github-code
99966ae06e5e726e70cf069c1d38c0fc89e3d366eab4f5d0532806062c7ad7d3
package aws import ( "fmt" "log" "strings" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/service/rds" "github.com/hashicorp/aws-sdk-go-base/tfawserr" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/terraform-providers/terraform-provider-aws/aws/internal/service/rds/finder...
GO
aws/resource_aws_db_proxy_target.go
terraform-providers/terraform-provider-aws
mpl-2.0
5,998
212
codeparrot/github-code
8ccdc9b8c69f2114066f2c54d0c06639871186459d335903d8a0e51e344b33b9
--- --- Created by slanska. --- DateTime: 2017-11-02 9:07 PM --- local json = cjson or require('cjson') ---@param self DBContext ---@param sOptions string | nil @comment ---@param sSchema string | nil @comment list of classes local function Configure(self, sOptions, sSchema) -- Get SQL script to execute local...
Lua
src_lua/flexi_Configure.lua
slanska/flexilite
mpl-2.0
1,008
42
codeparrot/github-code
fa98adff4a9bf1c096f62aa83d4508b32ef6ced54ec9ceb870194ee12ce37240
//go:build darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris // +build darwin dragonfly freebsd linux netbsd openbsd solaris package executor import ( "fmt" "os" "syscall" ) // configure new process group for child process func (e *UniversalExecutor) setNewProcessGroup() error { if e.childC...
GO
drivers/shared/executor/executor_unix.go
hashicorp/nomad
mpl-2.0
1,293
47
codeparrot/github-code
5031cba8264bac2843dca58ba2a9ed653fc4353477a0a119962935d1c553884d
<?php namespace Devlabs\SportifyBundle\Form; use FOS\UserBundle\Util\LegacyFormHelper; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\OptionsResolver\OptionsResolver; use Symfony\Component\OptionsResolver\OptionsResolverInterface; class ResettingFormTy...
PHP
src/Devlabs/SportifyBundle/Form/ResettingFormType.php
dev-labs-bg/sportify
agpl-3.0
1,394
44
codeparrot/github-code
8f5f21c9c4a8a9a92079b8a3859944ddb8b06d4576d7e69006c266fa7bb6de0a
# -*- coding: utf-8 -*- # Copyright: Damien Elmes <anki@ichi2.net> # Copyright © 2014 Roland Sieker <ospalh@gmail.com> # # License: GNU AGPL, version 3 or later; # http://www.gnu.org/licenses/agpl.html import os import re import shutil import zipfile from . import Collection from .hooks import runHook from .lang impo...
Python
libanki3/exporting.py
ospalh/libanki3
agpl-3.0
9,790
319
codeparrot/github-code
e0db3794174453fc40a55fe5c96b29a2950ac518f8ef9de935d24c762f98d236
import './FilteredListSection.css'; import * as React from 'react'; import * as c from 'classnames'; interface Props { className?: string; title?: string; } export class FilteredListSection extends React.Component<Props, {}> { public render() { const { children, title, ...
TypeScript
app/packages/partup-client-react/react/src/components/FilteredList/FilteredListSection.tsx
part-up/part-up
agpl-3.0
881
37
codeparrot/github-code
7742ee822f4409b92cf419bea43aff03739cf2f3b31873eb19cadb068768e3ee
<?php // The source code packaged with this file is Free Software, Copyright (C) 2005 by // Ricardo Galli <gallir at uib dot es>. // It's licensed under the AFFERO GENERAL PUBLIC LICENSE unless stated otherwise. // You can get copies of the licenses here: // http://www.affero.org/oagpl.html // AFFERO GENERAL PUBLI...
PHP
www/libs/mafia.php
gallir/Meneame
agpl-3.0
4,682
181
codeparrot/github-code
c0a52bfd68c8e5d44e75070243494b244418aea8b0523b5fefff0a7d80a8674c
MetaclicUtils.Templates = {}; MetaclicUtils.Templates.datasets = [ ' {{#ifCond sort "!=" false}}', ' <div class="result-sort"><label>Trier par</label>', ' <select name="sort" class="form-control">', ' {{#each sortTypes}}', ' {{#ifCond id "==" ../sort}}', ' ...
JavaScript
js/templates.js
datakode/metaclic
agpl-3.0
22,446
550
codeparrot/github-code
2e116b02ed2ecb408485362e3e64900158f3beaa20130bb8369938d547cb5dba
package storage /* An implementation of a 2-dimentional R*-Tree used for storing <lat,long> coordinates of boats. See references [0] and [9] for description of the datastructure (haven't followed the instructions 100%) Notes: - MBR - Minimum Bounding Rectangle - The FindWithin() & FindAll() function returns t...
GO
storage/rStarTree.go
tormol/AIS
agpl-3.0
21,957
602
codeparrot/github-code
4c3f2581df10866e63b12d2ff223d4f53a4a9171be37e4d71d31feeab862112e
import { VariableSupportType } from '@grafana/data'; import { getVariableQueryEditor, StandardVariableQueryEditor } from './getVariableQueryEditor'; import { LegacyVariableQueryEditor } from './LegacyVariableQueryEditor'; describe('getVariableQueryEditor', () => { describe('happy cases', () => { describe('when c...
TypeScript
public/app/features/variables/editor/getVariableQueryEditor.test.tsx
grafana/grafana
agpl-3.0
4,480
104
codeparrot/github-code
503726c07830c19dbc96c927ee6034b17b4894ae00b1293a455483779e629df2
<?php /** * This file is part of the login-cidadao project or it's bundles. * * (c) Guilherme Donato <guilhermednt on github> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace LoginCidadao\OpenIDBundle\Constraints; use Sy...
PHP
src/LoginCidadao/OpenIDBundle/Constraints/SectorIdentifierValidator.php
PROCERGS/login-cidadao
agpl-3.0
1,699
57
codeparrot/github-code
80b8a316f617d7d520adb8570007cc7acfdb425ad86687b2747fa92943009ee3
/* * ISABEL: A group collaboration tool for the Internet * Copyright (C) 2011 Agora System S.A. * * This file is part of Isabel. * * Isabel is free software: you can redistribute it and/or modify * it under the terms of the Affero GNU General Public License as published by * the Free Software Foundation, eith...
Java
components/vnc/navegador/isabel/argonauta/Argonauta.java
ging/isabel
agpl-3.0
3,156
132
codeparrot/github-code
51fb5e4381530a65d368283e904cf433797bc6124379c1437e4502e389f6ba8c
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Documents</title> <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no"> <meta name="description" content=""> <meta name="author" content=""> <!-- splash --> <style type="text/css"> ...
HTML
OfficeWeb/apps/spreadsheeteditor/embed/index.html
devsarr/ONLYOFFICE-OnlineEditors
agpl-3.0
17,808
273
codeparrot/github-code
037aa3b3b52f261bc84cf6ba83f7d6ba9225964ccfec8e95df7a71d621bb83ad
/* * Copyright (C) 2013 OpenJST Project * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This progra...
Java
server/commons/webui-maven-plugin/src/test/java/org/openjst/server/commons/maven/CompileMojoTest.java
devmix/openjst
agpl-3.0
1,569
46
codeparrot/github-code
8277b062502f7e12aeb227b697c2495fbb43aa1f302fa070bff177e6e3d2ac5e
/* * Copyright (C) 2013 OpenJST Project * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This progra...
Java
server/mobile/war/src/main/java/org/openjst/server/mobile/web/rest/Accounts.java
devmix/openjst
agpl-3.0
1,540
44
codeparrot/github-code
f47dad67b6d5f15854b0fd0bd229aa9d4a9e67b5c96e291c352a4b29fe64af9e
/* * DesktopSessionLauncher.cpp * * Copyright (C) 2009-11 by RStudio, Inc. * * This program is licensed to you under the terms of version 3 of the * GNU Affero General Public License. This program is distributed WITHOUT * ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING THOSE OF NON-INFRINGEMENT, * MERCHANTABILITY OR...
C++
src/cpp/desktop/DesktopSessionLauncher.cpp
Sage-Bionetworks/rstudio
agpl-3.0
8,278
287
codeparrot/github-code
1c6686e93baf9c926638ad3880cc4ac538fe00ad2ea763a3b7eca0e9c32d7358
# -*- coding: utf-8 -*- __license__ = "GNU Affero General Public License, Ver.3" __author__ = "Pablo Alvarez de Sotomayor Posadillo" # This file is part of Kirinki. # # Kirinki 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 ...
Python
kirinki/videos.py
i02sopop/Kirinki
agpl-3.0
16,841
326
codeparrot/github-code
66f27eb992c37ebc50296ca1c80c2859de882248f80d073bf9ced266297aee0f
#!/usr/bin/env python # -*- coding: utf8 -*- # ***************************************************************** # ** PTS -- Python Toolkit for working with SKIRT ** # ** © Astronomical Observatory, Ghent University ** # ***************************************************************** # ...
Python
modeling/config/adapt_fit.py
SKIRT/PTS
agpl-3.0
2,494
54
codeparrot/github-code
dd39c68e782172f44804ab2325da553651a98782f82521a8c4fd7c313a496908
import os from importlib import import_module from django.core.management.base import BaseCommand from django.utils import translation from django.conf import settings def get_modules(): path = os.path.join(settings.BASE_DIR, 'utils', 'upgrade') root, dirs, files = next(os.walk(path)) return files clas...
Python
src/utils/management/commands/run_upgrade.py
BirkbeckCTP/janeway
agpl-3.0
1,613
49
codeparrot/github-code
39ee39bb7f0e0b849566931bd7a9964a34fd7f70efeaadb34e91143117979907
# -*- coding: utf-8 -*- # Copyright (C) 2014-present Taiga Agile LLC # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as # published by the Free Software Foundation, either version 3 of the # License, or (at your option) any later ver...
Python
taiga/webhooks/signal_handlers.py
taigaio/taiga-back
agpl-3.0
2,526
83
codeparrot/github-code
082c14c9ba48d732338794311e6ef6ce2b89c2a36c5d9d70464657b8ce749017
"use strict"; var types = require('./types'); var Tree = require('./tree'); var Rule = require('./rule'); var Principle = require('./principle'); var Lexicon = require('./lexicon'); var Nothing = types.Nothing; var eq = types.eq; var normalize = types.normalize; function Parser ( grammar ) { return { bor...
JavaScript
src/parser.js
agarsev/borjes
agpl-3.0
2,855
118
codeparrot/github-code
8a6faea62bcb68cf6caea012bf8311eb6986710b843db38d2123ea2cd220fdb1
<?php namespace Scuola247\Bundle\CoreBundle\Form; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\OptionsResolver\OptionsResolverInterface; class PersonefisicheType extends AbstractType { /** * @param FormBuilderInterface $builder * @param...
PHP
Symfony/src/Scuola247/Bundle/CoreBundle/Form/PersonefisicheType.php
marcoalbarelli/PostgreSQL
agpl-3.0
1,283
51
codeparrot/github-code
d40d45020db6a904a0a6f3beba9cde326966ede59fe4d65956f1dee8c9e06597
<?php declare(strict_types=1); /* * This file is part of the Superdesk Web Publisher Core Bundle. * * Copyright 2020 Sourcefabric z.ú. and contributors. * * For the full copyright and license information, please see the * AUTHORS and LICENSE files distributed with this source code. * * @copyright 2020 Sourcef...
PHP
src/SWP/Bundle/CoreBundle/Form/Type/ExportAnalyticsRouteType.php
superdesk/web-publisher
agpl-3.0
1,101
46
codeparrot/github-code
86432980bcf2fa4b2c86bcbe16d16b97944055547bb51ace9c52f48b7d7752ba
import React from 'react'; export function MessagePanel(props, context) { let message = context.messenger.getMessage(); let messagePanel; if (message !== undefined) { messagePanel = ( <div className={ 'alert alert-' + message.type }> { message.text } </div> ); context.mess...
JavaScript
src/client/app/panels/message.panel.js
mapkiwiz/sectorisation
agpl-3.0
534
33
codeparrot/github-code
29af52e639d29bc21b109b78d42a0b4b564f548af42023f239b1020d10d297d0
<?php $data_on['CONNEXION']=$l->g(1255); $data_on['BAD CONNEXION']=$l->g(1256); if (!isset($protectedPost['onglet'])) $protectedPost['onglet']='CONNEXION'; if ($protectedPost['onglet'] == 'CONNEXION' or $protectedPost['onglet'] == 'BAD CONNEXION') { $ms_cfg_file=$_SESSION['OCS']['LOG_DIR']."log.csv"; $fd = @fope...
PHP
serversetup/modules/ocsinventory/OCSNG_UNIX_SERVER/ocsreports/plugins/main_sections/ms_stats/ms_stats_connexion.php
the-linux-schools-project/karoshi-server
agpl-3.0
2,929
120
codeparrot/github-code
85cdc1eac6c1b0db002fede321e1411be5ededa531918d1c2ffe6ecdbde02532
// // // Description: This file is part of FET // // // Author: Lalescu Liviu <Please see http://lalescu.ro/liviu/ for details about contacting Liviu Lalescu (in particular, you can find here the e-mail address)> // Copyright (C) 2003 Liviu Lalescu <http://lalescu.ro/liviu/> // /****************************************...
C++
src/interface/spreadmindaysconstraintsfivedaysform.cpp
janLo/FET
agpl-3.0
14,004
463
codeparrot/github-code
a72b131082eefa9d6b13743875ab39982aabdf328a2f2f8238a7d5bf33139bf5
/* Blackboard WebServices Serializable Objects Copyright (C) 2011-2013 Andrew Martin, Newcastle University 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 ...
Java
src/bbws/resource/gradecentre/column/BBLineitem.java
andmar8/Blackboard-Java-WebservicesBBSerializableObjects
agpl-3.0
6,229
233
codeparrot/github-code
789aed9efce4e94db728bac7c93515b719f92566cecf480e9d24c10c01b20c4a
<?php /** * @author Thomas Müller <thomas.mueller@tmit.eu> * * @copyright Copyright (c) 2018, ownCloud GmbH * @license AGPL-3.0 * * This code is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License, version 3, * as published by the Free Software Foun...
PHP
apps/dav/lib/Avatars/AvatarNode.php
pollopolea/core
agpl-3.0
2,057
99
codeparrot/github-code
ac43f8b0078e4c498f2423928283e79f31d86d076383866547572f5509831bab
/* * AceEditorPreview.java * * Copyright (C) 2009-11 by RStudio, Inc. * * This program is licensed to you under the terms of version 3 of the * GNU Affero General Public License. This program is distributed WITHOUT * ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING THOSE OF NON-INFRINGEMENT, * MERCHANTABILITY OR FITN...
Java
src/gwt/src/org/rstudio/studio/client/workbench/prefs/views/AceEditorPreview.java
Sage-Bionetworks/rstudio
agpl-3.0
4,967
150
codeparrot/github-code
6e552e538fc280b07c5558d29dcacb4099ccfa5eda71db0f903db1c8018cc5ae
# -*- 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 import os i...
Python
server/superdesk/media/media_operations.py
vied12/superdesk
agpl-3.0
3,953
137
codeparrot/github-code
e9ce02b5e209409748fb21bcc7c65ae65936cfdf0ecb737ad645b29e78c2d066
package org.showgregator.service.model.test import org.showgregator.service.model.{CalendarPermissions, Calendar, CalendarRecord, Connector} import com.websudos.phantom.testing.CassandraTest import org.scalatest.{ConfigMap, FlatSpec} import com.twitter.util.Await import com.twitter.util.Duration import java.util.UUID ...
Scala
showgregator-service/src/test/scala/org/showgregator/service/model/test/CalendarSpec.scala
csm/showgregator
agpl-3.0
1,553
40
codeparrot/github-code
cebf2c04c757a952c22685d607e3826d2ab6d0e9ec7abda54ffe87143224e02d
/*! jQuery UI - v1.10.3 - 2014-01-12 * http://jqueryui.com * Includes: jquery.ui.core.js, jquery.ui.widget.js, jquery.ui.mouse.js, jquery.ui.position.js, jquery.ui.accordion.js, jquery.ui.progressbar.js, jquery.ui.slider.js * Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ (function( $, undefi...
JavaScript
TypoMagic/js/jquery-ui-1.10.3.custom.js
nccgroup/typofinder
agpl-3.0
78,447
2,816
codeparrot/github-code
cef21bedffd4cae85630b17a34c1e5d112c86d18c0c1fc39039eec14215b88fe
/* * matrix-appservice-email - Matrix Bridge to E-mail * Copyright (C) 2017 Kamax Sarl * * https://www.kamax.io/ * * 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...
Java
src/main/java/io/kamax/matrix/bridge/email/controller/ApplicationServiceController.java
kamax-io/matrix-appservice-email
agpl-3.0
5,750
152
codeparrot/github-code
06e09677d5544861f05f8c2d1bcce442477cfead9b9a3fe97ea002ed4422b156
/* * RapidMiner * * Copyright (C) 2001-2011 by Rapid-I and the contributors * * Complete list of developers available at our web site: * * http://rapid-i.com * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public Lice...
Java
src/com/rapidminer/test/RapidMinerTestCase.java
aborg0/rapidminer-vega
agpl-3.0
1,838
63
codeparrot/github-code
091e5ed33285fb04bc9410f9d8532747f030ded6f8c65d6a3edae6cae460d44d
package query import ( "Yearning-go/src/handler/commom" "Yearning-go/src/lib" "Yearning-go/src/model" "github.com/cookieY/yee" "net/http" "time" ) func FetchQueryRecord(c yee.Context) (err error) { u := new(commom.PageInfo) if err = c.Bind(u); err != nil { c.Logger().Error(err.Error()) return } order :=...
GO
src/handler/order/query/query.go
cookieY/Yearning
agpl-3.0
3,583
112
codeparrot/github-code
e030d0c447d3f4018a8ca5b96e0b095bcf9c0953d2a0c031c1f57eccc2c3130b
OC.L10N.register( "encryption", { "Missing recovery key password" : "Palautusavaimen salasana puuttuu", "Please repeat the recovery key password" : "Toista palautusavaimen salasana", "Repeated recovery key password does not match the provided recovery key password" : "Toistamiseen annettu palautusav...
JavaScript
apps/encryption/l10n/fi_FI.js
jacklicn/owncloud
agpl-3.0
6,077
59
codeparrot/github-code
0275a7e7abcd3df4e999c1cc229e238daa24d04bdceee3947fff044036638eb5
'use strict'; import Flickity from 'flickity-imagesloaded' export default function LessonHeader() { console.log("-- LessonHeader initialized") let photosSelector = '.LessonHeader__photos' let $photos = $(photosSelector) if ($photos.length > 0) { let photoSelector = '.LessonHeader__photo' let $status = $(...
JavaScript
assets/javascripts/components/LessonHeader.js
fablabbcn/SCOPESdf
agpl-3.0
973
47
codeparrot/github-code
5d9b8c72dd612557ccace6735632c3a4b0b999d32eb39022e9b28e9dbc52c356
/* * Ascent MMORPG Server * Copyright (C) 2005-2008 Ascent Team <http://www.ascentemu.com/> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
C++
src/ascent-world/Master.cpp
SummitCore/Summit
agpl-3.0
16,621
656
codeparrot/github-code
7e73a685d8d3b52fdac79aba5482d6b8d0d63fe5a034ac7a6ef2d759a9581e0f
/* * The Kuali Financial System, a comprehensive financial management system for higher education. * * Copyright 2005-2014 The Kuali Foundation * * 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 Fre...
Java
work/src/org/kuali/kfs/module/tem/document/web/struts/CloseQuestionHandler.java
ua-eas/ua-kfs-5.3
agpl-3.0
5,866
130
codeparrot/github-code
058567538e12af854325078383fcdecfc0b287192956261730f524e695b31032
/* JDBCAddressDAO.java * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * Copyright Ⓒ 2014-2015 Universiteit Gent * * This file is part of the Degage Web Application * * Corresponding author (see also AUTHORS.txt) * * Kris Coolsaet * Department of Applied Mathematics, Computer Science and St...
Java
db/src/main/java/be/ugent/degage/db/jdbc/JDBCAddressDAO.java
kcoolsae/Degage
agpl-3.0
8,224
209
codeparrot/github-code
2774db8bf46d3b38e40c9dc1f6bc01bcfa0b0636718206bd4b70382edf553084
package alice.util; import java.net.URL; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; /** * * @author Alessio Mercurio * * Custom abstract classloader used to addAt/remove dynamically URLs from it * needed by JavaLibrary. * */ public abstract class AbstractDynamicClassLoade...
Java
logic/src/main/java/alice/util/AbstractDynamicClassLoader.java
automenta/narchy
agpl-3.0
2,091
108
codeparrot/github-code
d161d794a040e2d68ddecc37f06dd74a3e39eb8511df62c4cabaad4a9d4ae62d
#include <iostream> #include <stdexcept> using namespace std; #include "CppUnit/TestCaller.h" #include "CppUnit/TestSuite.h" #include "ISO-8583/DTT/Numeric.h" #include "NumericTest.h" #include <limits.h> namespace ISO_8583 { namespace DTT { NumericTest::NumericTest(const std::string& name) : CppUnit::TestCase(nam...
C++
cpp/test/ISO-8583/DTT/NumericTest.cpp
Kampbell/ISO-8583
agpl-3.0
2,629
125
codeparrot/github-code
b378acad6747604e045bb2e157ed9f967278e77675ae6276d71a46cce5729755
/* * Asqatasun - Automated webpage assessment * Copyright (C) 2008-2020 Asqatasun.org * * This file is part of Asqatasun. * * Asqatasun 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, e...
Java
rules/rules-commons/src/main/java/org/asqatasun/rules/elementchecker/lang/LangDeclarationValidityChecker.java
Asqatasun/Asqatasun
agpl-3.0
3,622
100
codeparrot/github-code
f5850ddd8a4bcfe82cc4610062a43c73f38bd08eaa0ad735c41483eae46802e2
<?php /** * AvailableBudgetController.php * Copyright (c) 2019 james@firefly-iii.org * * This file is part of Firefly III (https://github.com/firefly-iii). * * 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...
PHP
app/Http/Controllers/Budget/AvailableBudgetController.php
firefly-iii/firefly-iii
agpl-3.0
9,393
266
codeparrot/github-code
0968eb626838e32dc0b1e028cdbd759f71c787e77b9f67661872e2ec4be69707
/* * MkDoubleVector.scala * (FScape) * * Copyright (c) 2001-2022 Hanns Holger Rutz. All rights reserved. * * This software is published under the GNU Affero General Public License v3+ * * * For further information, please contact Hanns Holger Rutz at * contact@sciss.de */ package de.sciss.fscape packa...
Scala
lucre/shared/src/main/scala/de/sciss/fscape/lucre/stream/MkDoubleVector.scala
Sciss/FScape-next
agpl-3.0
2,431
94
codeparrot/github-code
c0063b65b115e23f6b6f3691500762c6f5b08316dfccbd386dee37d9b784393b
define([], function () { return function (distributor) { var container = document.createElement("ul") container.classList.add("filters") var div = document.createElement("div") function render(el) { el.appendChild(div) } function filtersChanged(filters) { while (container.firstCh...
JavaScript
lib/filters/filtergui.js
srauscher/hopglass
agpl-3.0
1,002
39
codeparrot/github-code