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
f4c0c746c787babf3aa187e4dbf5882b2feb2286084ad48b2ad4f635e77d6032
from __future__ import absolute_import import tempfile from django.utils.translation import ugettext_lazy as _ from acls.api import class_permissions from common.utils import validate_path, encapsulate from dynamic_search.classes import SearchModel from history.api import register_history_type from history.permissio...
Python
apps/documents/__init__.py
rosarior/mayan
gpl-3.0
8,594
151
codeparrot/github-code
93f5b20385845ae69b03e712f7741876736240800e36cc5c049a3baff80806b2
/*** * * ASMEX by RiskCare Ltd. * * This source is copyright (C) 2002 RiskCare Ltd. All rights reserved. * * Disclaimer: * This code is provided 'as is', with absolutely no warranty expressed or * implied. Any use of this code is at your own risk. * * You are hereby granted the right to redistribute t...
C#
CodePerspective-master/Library/Meta/Headers.cs
justkarli/ShareX
gpl-3.0
22,456
840
codeparrot/github-code
a410e243586ce213886d255bce12025fa767b54b3a6fe15f94efa0b72ee31a8d
/* * Event.cpp * * Created on: Apr 8, 2012 * Author: lion */ #include "object.h" #include "Fiber.h" #include "Trigger.h" #include "ifs/coroutine.h" #include "ifs/events.h" #include "QuickArray.h" #include <vector> namespace fibjs { class RootModule_events : public RootModule { public: RootModule_event...
C++
fibjs/src/coroutine/Trigger.cpp
ngot/nightly-test
gpl-3.0
4,521
179
codeparrot/github-code
a25dba1a64fbe167628b8f8eaff94b9d118f41d01639479f8aea7ec6a8683269
package com.hartwig.hmftools.serve; import java.io.File; import java.nio.file.Files; import java.util.Set; import com.google.common.collect.Sets; import com.hartwig.hmftools.vicc.datamodel.ViccSource; import org.apache.commons.cli.CommandLine; import org.apache.commons.cli.Options; import org.apache.commons.cli.Pars...
Java
serve/src/main/java/com/hartwig/hmftools/serve/ServeConfig.java
hartwigmedical/hmftools
gpl-3.0
11,993
299
codeparrot/github-code
e83df45534ae99921ee3c294146db01c8fb8acaab45eec050bbee22c58b7b918
//Created by KVClassFactory on Mon Jan 23 14:29:32 2017 //Author: Diego Gruyer #ifndef __KVPIDINTERVALPAINTER_H #define __KVPIDINTERVALPAINTER_H #include "RQ_OBJECT.h" #include "TH1.h" #include "TLine.h" #include "TMarker.h" #include "TLatex.h" #include "KVCanvas.h" #include "KVList.h" #include "KVIDZAFromZGrid.h" ...
C
KVMultiDet/gui/KVPIDIntervalPainter.h
kaliveda-dev/kaliveda
gpl-3.0
1,532
89
codeparrot/github-code
91060783670782932620bab6cc6fac54a1abc000905221c2fead1a040b722775
package org.uncertweb.et.xml; import java.io.IOException; import java.io.Reader; import java.util.ArrayList; import java.util.List; import org.apache.commons.lang.ArrayUtils; import org.apache.xmlbeans.XmlException; import org.uncertweb.et.design.Design; import org.uncertweb.et.design.NormalisedDesign; import org.unc...
Java
src/main/java/org/uncertweb/et/xml/XML.java
itszootime/emulatorization-api
gpl-3.0
7,031
200
codeparrot/github-code
7be24105bb903989949d042a901211fff247bdc370ca6899c01a21d041c0c46a
package lumaceon.mods.clockworkphase2.tile.machine.lifeform; import lumaceon.mods.clockworkphase2.inventory.slot.SlotNonFullEntityContainer; import lumaceon.mods.clockworkphase2.inventory.slot.SlotNever; import lumaceon.mods.clockworkphase2.recipe.EntityConstructionRecipes; import lumaceon.mods.clockworkphase2.tile.ma...
Java
src/main/java/lumaceon/mods/clockworkphase2/tile/machine/lifeform/TileLifeformConstructor.java
Lumaceon/ClockworkPhase2
gpl-3.0
1,594
47
codeparrot/github-code
d185e30754a2d76c31b03157acb434a1602b3b64e02de8f1eae59ccd241fae5a
/* * Copyright (C) 2007 Eric Seidel <eric@webkit.org> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. *...
C
WebKit/Source/WebCore/svg/SVGFontFaceUriElement.h
cs-au-dk/Artemis
gpl-3.0
1,808
58
codeparrot/github-code
7cbd7f63d91e25b44ebbacc106f65aec8ff7b64ad8cbf5070f87a03f47fc1ac3
using System.Threading.Tasks; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.EntityFramework; using Microsoft.AspNet.Identity.Owin; using Microsoft.Owin; using Nsk.OnlineStore.Web.Services.Models; namespace Nsk.OnlineStore.Web.Services { // Configure the application user manager used in this appl...
C#
netfx/src/Nsk.OnlineStore.Web.Services/App_Start/IdentityConfig.cs
andysal/NSK
gpl-3.0
1,651
34
codeparrot/github-code
19468c6318c6fb0cadb846c08ede3beb10a9267142b26e5b643134b7f07a1cb2
#include "StudioGLWidget.h" #include "OpenBlox.h" #include <QtGui> #include <DataModel.h> #ifndef GL_MULTISAMPLE #define GL_MULTISAMPLE 0x809D #endif namespace ob_studio{ StudioGLWidget::StudioGLWidget(QWidget* parent) : QGLWidget(makeFormat(), parent){ setAutoFillBackground(false); setAttribute(Qt::WA_NoSys...
C++
src/StudioGLWidget.cpp
Myzilla-Web-Resources/OpenBlox-Studio
gpl-3.0
3,451
157
codeparrot/github-code
f380b86da583ce79bf7b52596a2caa48820b8b94de99258a41f9a0a0fba2b342
/* AGS - Advanced GTK Sequencer * Copyright (C) 2005-2011 Joël Krähemann * * 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 ...
C
src/ags/X/ags_property_editor.h
weedlight/gsequencer
gpl-3.0
2,151
62
codeparrot/github-code
d841cbcaebef524c3f27ab06cbb52ca45de2e70b0869ea9c58855fbd440cf395
package main; import template.numbers.IntUtils; import java.util.List; //? public class SquareFree { public int getNumber(int n) { List<Integer> primes = IntUtils.primes((int) 1e5); while (Math.pow(primes.get(primes.size() - 1), 2) > 1e7) primes.remove(primes.size() - 1); long...
Java
archive/unsorted/2018.06/2018.06.18 - TopCoder SRM #190/SquareFree.java
hack1nt0/AC
gpl-3.0
1,240
41
codeparrot/github-code
34be8ab93f5a3baf1dea0a6ca4c1a51bcfda8e10c74d1919b52a23e80896ce9a
// LinkStyle.cpp : ʵÏÖÎļþ // #include "stdafx.h" #include "zaozhuang.h" #include "LinkStyle.h" #include "afxdialogex.h" #include"iniRwApi.h" #pragma comment( lib,"iniRwApi.lib") // CLinkStyle ¶Ô»°¿ò extern CString listname; IMPLEMENT_DYNAMIC(CLinkStyle, CDialog) CLinkStyle::CLinkStyle(CWnd* pParent /*=NULL*/) :...
C++
LinkStyle.cpp
zhangbo7364/term-mng
gpl-3.0
1,127
63
codeparrot/github-code
a7fe6f167fed69160162dd0a324da02ac38ca393dde0a3b1fc4c315bec9f7a3b
/* Copyright (C) 2011 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz> This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. ...
C
src/zscanner/error.h
jkadlec/knot-dns-zoneapi
gpl-3.0
2,511
115
codeparrot/github-code
b2e9eb2ab8195b709461cc96201161fb1f49fdcf7396b895a6249b4851b2780f
package me.desht.sensibletoolbox.items.itemroutermodules; import me.desht.dhutils.Debugger; import org.bukkit.DyeColor; import org.bukkit.Location; import org.bukkit.Material; import org.bukkit.block.BlockFace; import org.bukkit.configuration.ConfigurationSection; import org.bukkit.entity.Item; import org.bukkit.inven...
Java
src/main/java/me/desht/sensibletoolbox/items/itemroutermodules/DropperModule.java
desht/sensibletoolbox
gpl-3.0
2,290
70
codeparrot/github-code
dbeac0c8a48452bbe92078a63067383983c019b254132782240b3cb8024286f6
<?php /** * This file is part of the Nette Framework (http://nette.org) * * Copyright (c) 2004 David Grudl (http://davidgrudl.com) * * For the full copyright and license information, please view * the file license.txt that was distributed with this source code. */ namespace Nette\Forms; use Nette; /** * C...
PHP
libs/Nette/Forms/Form.php
dogbig/Interni-sprava
gpl-3.0
12,351
645
codeparrot/github-code
99df321b26369a163233b7c49fee8b9eb3a50606327f787317e33f57d77031fd
/* * Copyright (C) 2005-2014 Team XBMC * http://xbmc.org * * This Program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) * any later version. * * ...
C++
src/template/ADSPAddonHandler.cpp
AchimTuran/old__adsp.biquad.filters
gpl-3.0
13,128
442
codeparrot/github-code
69ee0597e2474eb080d1ece1ff8ad5e8bc80b090adf213e594c29b06d39b785c
/* * WANDORA * Knowledge Extraction, Management, and Publishing Application * http://wandora.org * * Copyright (C) 2004-2015 Wandora 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 Free Softwar...
Java
encode/src/org/wandora/application/tools/fng/ImageTypeProcessor.java
Anisorf/ENCODE
gpl-3.0
8,962
200
codeparrot/github-code
32b3ef34e836e158a147581aaa10fa9f769acdc0523f4cf0c951dc4a6b5623a6
#!/usr/bin/env sh install_packages="" if [[ "$RUN_TESTS" == "true" ]]; then echo "Install tools for testing" install_packages="${install_packages}xgboost,cartpole,pytest," pip install codecov else echo "Skip installing tools for testing" fi if [[ "$RUN_CODESTYLE" == "true" ]]; then echo "Install ...
Shell
ci_scripts/install.sh
automl/HPOlib2
gpl-3.0
2,033
73
codeparrot/github-code
c65f7b1cde7fa81c7503071b70ec99880e0b1efd9bb6343c6f2ab91bcbc53241
package sacloud import ( "fmt" "github.com/sacloud/sackerel/job/core" ) // AddAgentTagJob エージェントタグ追加ジョブ func AddAgentTagJob(payload interface{}) core.JobAPI { return core.NewJob("AddAgentTag", addAgentTag, payload) } func addAgentTag(queue *core.Queue, option *core.Option, job core.JobAPI) { var payload = job.G...
GO
job/worker/sacloud/add_agent_tag.go
sacloud/sackerel
gpl-3.0
1,187
55
codeparrot/github-code
a62e6ad2ffd4903f66ca6e6655543df4049961d938b0ce88cd7f3d47af848a6d
# # Copyright 2016 Christopher MacMackin <cmacmackin@gmail.com> # # 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...
Makefile
Makefile
cmacmackin/isoft
gpl-3.0
7,597
301
codeparrot/github-code
7aa5df89fdf969bebfa62bdced898cf41736ffb70f310765fce112c1674c54f6
#include <iostream> #include <thread> #include <mutex> struct Compleja { std::recursive_mutex mutex; int i; Compleja() : i(0) {} void mul(int x){ std::lock_guard<std::recursive_mutex> cerrojo(mutex); i *= x; } void div(int x){ std::lock_guard<std::recu...
C++
C++/Ejemplos/recursivemutex.cpp
zerokullneo/PCTR
gpl-3.0
603
34
codeparrot/github-code
937d86ac9bad65be0926c636b340acc07aaeb809e7546ae741d05264ec1847b8
import org.junit.*; import static org.junit.Assert.*; public class Tests { @Test public void test1() { Zoo zoo = new Zoo(); Animal animal = new Animal(); Food food = new Food(); String output = zoo.feed(animal, food); assertEquals("Feeding Food to an Animal:", "animal eats food", output); ...
Java
cw1/test/Tests.java
2dor/COMS10001
gpl-3.0
1,733
62
codeparrot/github-code
787cd7dda9eecf97aaab11c719da6548262360235c6910cf628f5f776e4ee6ce
# -*- coding: utf-8 -*- # EDIS - a simple cross-platform IDE for C # # This file is part of Edis # Copyright 2014-2015 - Gabriel Acosta <acostadariogabriel at gmail> # License: GPLv3 (see http://www.gnu.org/licenses/gpl.html) import re import os from datetime import datetime from PyQt4.QtGui import ( QDialog, ...
Python
src/ui/dialogs/file_properties.py
centaurialpha/edis
gpl-3.0
3,219
96
codeparrot/github-code
40130983d3e59188c8d2075b8dc5269e5702b4aef79c822e0d9896b68e59e887
var nsCanvasVideo = { ctx1: null, ctx2: null, canvas1: null, canvas2: null, inter: 0, video: null, doIt: function () { var id = 'nsCanvasVideo'; var html = '<video id="video" width="640" height="360" >' html += '<source src="vid/VID_20130927_164911.mp4" type="video/m...
JavaScript
js/Study.js
PoG72/CanvasStudy
gpl-3.0
36,677
1,055
codeparrot/github-code
f22a2a8814b429b939fdb179907d7e0fffc5ac511df70f756f19075c829f95cf
#include <stddef.h> #include <map> #include <utility> #include <vector> #include "SSE_ODE.h" #include "RateGenerator.h" #include "TimeInterval.h" using namespace RevBayesCore; SSE_ODE::SSE_ODE( const std::vector<double> &m, const RateGenerator* q, double r, bool backward_time, bool extinction_only, bool allow_shift...
C++
src/core/distributions/phylogenetics/tree/birthdeath/SSE_ODE.cpp
revbayes/revbayes
gpl-3.0
6,152
211
codeparrot/github-code
6d8b2d5e65888bb9b6432cde89bd222ba018533827814fb03205dfc636f40308
/** * Error handling * * Handle form errors * * Angular JS version 1.4.7 * * LICENSE: This source file is subject to the MIT license * that is available through the world-wide-web at the following URI: * http://www.opensource.org/licenses/mit-license.html MIT License. * If you did not receive a c...
JavaScript
scripts/showErrors.js
cschaake/urenregistratie
gpl-3.0
6,256
158
codeparrot/github-code
bb8f5bb9baa0940b75620359df1175b32a015ba592a4c9647e622956be34ae17
/* * $Id: kadmin.h 16 2008-01-22 08:14:45Z Iosif69 $ * * Copyright 2001 by the Massachusetts Institute of Technology. * All Rights Reserved. * * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and * distribute this software and its documentation for any purpose and * without fee is hereby granted,...
C
doc/pykadm5/kadmin.h
redondomarco/useradm
gpl-3.0
16,121
411
codeparrot/github-code
1ee7b1e123b9d3cdafff474b9bfe2a9bae27bb31a98b7fa3deae1754ab02bdb5
#!/usr/bin/env python2 ################################################## # GNU Radio Python Flow Graph # Title: bladeRF_transceiver # Author: Renzo Chan Rios # Generated: Sun Mar 13 00:27:54 2016 ################################################## from gnuradio import analog from gnuradio import blocks from gnuradio i...
Python
bladeRF_transceiver1.py
IronSlayer/bladeRF-Rpi2
gpl-3.0
12,438
308
codeparrot/github-code
0aab0779be7861566c39408afd1f9e2280e0c3a2f15a62d26532c70cd722c3d3
#include "SlaveSocket.h" #include <SFML/System.hpp> #include <iostream> SlaveSocket::SlaveSocket(const sf::IpAddress &server, unsigned short port): masterAddress(server), masterPort(port), socket(0) { } SlaveSocket::~SlaveSocket() { if(socket != 0) delete socket; } bool SlaveSocket::Initialize(void) { if(soc...
C++
network/SlaveSocket.cpp
gberthou/Fractalou
gpl-3.0
2,383
122
codeparrot/github-code
888748793f192ea4083c0062c918b1b97ab742a06854c1b6dc215f8af7e06de8
@section('scripts') <script> $(function () { //Cambiar de formato los objetos de la clase .fecha var formatClassFecha = function(){ $('.fecha').each(function( index ) { var fecha = $( this ); var fechaStr = formatDate(fecha.data('fecha')); fecha.html(fechaStr); }); } //Formato de f...
PHP
resources/views/datatableExport.blade.php
hgonzalezgaviria/diheke
gpl-3.0
4,398
140
codeparrot/github-code
93bbbe66a72b592ec1362d2696be6e5314b1a9c1ea1d913dd28a2f94ec2bade7
package com.qwertyness.portalcommands.utils; import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.u...
Java
src/main/java/com/qwertyness/portalcommands/utils/VersionConvertUtil.java
Qwertyness/PortalCommands
gpl-3.0
6,749
213
codeparrot/github-code
c03ee40f0d3bfa5ddf6f22eed5d90fa636119c88100e5d8482c8e6736ff54d7f
/* * PID.c * * Created on: ١٣‏/٠٢‏/٢٠١٧ * Author: El-safi */ #include "lcdEKE.h" #include "PWM1_EKE.h" #include "Timer0.h" #include "External_Enterrupt.h" #include <util/delay.h> volatile U16_t revolution=0,revolution_overFlow=0; // make compiler not optimize revolution and save it volatile U16_t Minutes=...
C
PID.c
elsafikhaled/Motor_Encoder
gpl-3.0
2,253
83
codeparrot/github-code
bcdfe45e8100c3e78d00c5b47769e4bd16b3b08526258a077e054a99f3ae855a
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package robot; import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; import java.util.List; import commons.Direction; import commons.Move; import commons.Position; import commons.Toolkit; im...
Java
src/main/java/robot/Robot.java
Necrosis00/ic2014sim
gpl-3.0
7,025
274
codeparrot/github-code
b2c2dd4984a489cae03eefcef2b7ec5c3b9dfb93ac8ef08af1314a497afdd5a7
<!-- BEGIN FOOTER --> <div class="footer"> <?php echo date('Y');?> &copy;EnterpriseAMS <div class="span pull-right"> <span class="go-top"><i class="icon-angle-up"></i></span> </div> </div> <!-- END FOOTER --> <!-- BEGIN JAVASCRIPTS --> <!-- Load javascripts at bottom, this will reduce page load time --...
PHP
Footer.php
ufairiya/eams
gpl-3.0
9,431
347
codeparrot/github-code
df349928d089be3a7e2384ef059acd622629d056ed79d1fc6f4eaba04b57b809
PROGRAM Post_processing ! ! This is the main program for post-processing HOS-NWT computations ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! ! Copyright (C) 2014 - LHEEA Lab., Ecole Centrale de Nantes, UMR CNRS 6598 ! ! This program is part of HOS-NWT ! ! HOS-NWT...
FORTRAN
sources/PostProcessing/Post_processing.f90
LHEEA/HOS-NWT
gpl-3.0
7,124
202
codeparrot/github-code
5a340a32d03d23f3038a291ad2810f500e3ea395e5ce2ce1f804a96bbf215313
/** * ***************************************************************************** * Copyright 2013 SEMOSS.ORG * * This file is part of SEMOSS. * * SEMOSS 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 * F...
Java
gui/src/main/java/com/ostrichemulators/semtool/ui/components/playsheets/graphsupport/RingsButtonListener.java
Ostrich-Emulators/semtool
gpl-3.0
4,166
135
codeparrot/github-code
24ae6d25560afab4cbbe4101aef5248a5552352a7d244d4b509308b5b1f663e4
#include "image.h" int image_load (struct _vm * vm, const char * filename) { int filesize; int read; FILE * fh; fh = fopen(filename, "rb"); if (fh == NULL) return ERROR_IMAGE_FILE_IO; fseek(fh, 0, SEEK_END); filesize = (int) ftell(fh); fseek(fh, 0, SEEK_SET); ...
C
src/image.c
endeav0r/ravm
gpl-3.0
859
45
codeparrot/github-code
352bde2973c4b40eeefea2e13b70eb85c0d996a51bd780f4ef5b11af3125d4f6
/* * * DiskCryptor - open source partition encryption tool * Copyright (c) 2007-2008 * ntldr <ntldr@diskcryptor.net> PGP key ID - 0xC48251EB4F8E4E6E * This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License version 3 as ...
C
dcapi/mbrinst.c
dwalkes/RDXEncryption
gpl-3.0
27,392
1,141
codeparrot/github-code
583955a4ec08e77bc3be4318f4da527a1dcc1abe040eaff90e00bc392a5adf25
#!/usr/bin/python # # You should have received a copy of the GNU General Public License # along with comm module. If not, see <http://www.gnu.org/licenses/>. # # # Playing custom datafiles (.lpd) to remote submodules. # The .lpd entries shall be sorted according to their 1st field (time). # import sys import time im...
Python
experiments/play-human/human_player.py
Dfred/concept-robot
gpl-3.0
3,524
137
codeparrot/github-code
bea34b2cb6e1469aceba8f0ac42c9273c1c6766b2ea4f6083ef444d93900cb66
/* * tracker/ScopesControl.cpp * * Copyright 2009 Peter Barth * * This file is part of Milkytracker. * * Milkytracker 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 Lice...
C++
src/tracker/ScopesControl.cpp
STRd6/Milky-Tracker
gpl-3.0
17,683
737
codeparrot/github-code
58b55c9ba77aebe513b346834fba8b11a6b51475389b13a71a891c46a0b70533
dojo.provide("dojox.sketch.SingleArrowAnnotation"); dojo.require("dojox.sketch.Annotation"); dojo.require("dojox.sketch.Anchor"); (function(){ var ta=dojox.sketch; ta.SingleArrowAnnotation=function(figure, id){ ta.Annotation.call(this, figure, id); this.transform={ dx:0, dy:0 }; this.start={x:0, y:0}; this.c...
JavaScript
src/nox/apps/coreui/base_www/dojo-release-1.2.1/dojox/sketch/SingleArrowAnnotation.js
bigswitch/snac-nox
gpl-3.0
6,828
215
codeparrot/github-code
468945e433b20b5e691231c860b34156f5113ab9d6ab9a085a8f1a01ed9538d1
/* * * Copyright (C) 2010 Todd Merritt <redsox38@gmail.com> * * 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 ...
C
packet.c
redsox38/panoptes
gpl-3.0
7,793
279
codeparrot/github-code
b86799f24123abf4af1b5e27cb47eb2189e35fa56665571b15aa90b3aae901f5
<?php namespace App\Http\Controllers; use Laravel\Lumen\Routing\Controller as BaseController; use Illuminate\Http\Request; use Illuminate\Support\Facades\DB; class ChartsController extends BaseController { /** * Display a the chart for projects. * GET /projects/chart/data * * @return Respon...
PHP
app/Http/Controllers/ChartsController.php
ood9842/lumenBookstore
gpl-3.0
657
32
codeparrot/github-code
0809325ea673826e4daf9f2521aca7d8b517f36dc696a8b166cccd04918f3cb2
// Copyright 2009 Will Thomas // // This file is part of MetaGeta. // // MetaGeta 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. ...
C#
MetaGeta/MetaGeta.DataStore/Model/TagCollection.cs
anyoun/metageta
gpl-3.0
6,279
139
codeparrot/github-code
4b4ebc9d9d06efde9074b21122a00fe5c5219e65a1d9798b8200189333bae577
/* * Copyright (C) 2014 Tobias Ramforth * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is d...
Java
src/main/java/com/ramforth/webserver/http/parsers/HttpRequestLineParser.java
irgsmirx/WebServer
gpl-3.0
5,961
167
codeparrot/github-code
f9a91a959ddd968c46f1e0d135ff58d7f5d234c49682141680e001dcf4504dbd
/* Copyright 2016 Valeriy Kireev This file is part of HSVed. HSVed 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 opt...
C++
brushstore.cpp
ValeriyKr/HSVed
gpl-3.0
2,077
84
codeparrot/github-code
7762536cdd5494f836a4b6cdf57a96779c1b669131ccbadf767116574b4d0d06
/* * Copyright (C) 2018 AlternaCraft * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distr...
Java
src/main/java/com/alternacraft/randomtps/API/Errors/DBErrors.java
AlternaCraft/RandomTPs
gpl-3.0
1,634
56
codeparrot/github-code
f956dced9e6ca88fa44606b93a96b15e461c3548423f609555f3ea550bdeace7
<html lang="en"> <head> <title>Dired Enter - GNU Emacs Manual</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta name="description" content="GNU Emacs Manual"> <meta name="generator" content="makeinfo 4.13"> <link title="Top" rel="start" href="index.html#Top"> <link rel="up" href="Dired.h...
HTML
aquamacs/doc/Aquamacs Help/Emacs Manual/Dired-Enter.html
xfq/aquamacs-emacs
gpl-3.0
5,560
93
codeparrot/github-code
153a460baf6fda175143493ce50cd1a86534e9d1aa2e99a840e7855b5e8bea74
package cwe.scala.library.math.bignumbers import cwe.scala.library.list.ListService import cwe.scala.library.math.Rational /** * A real number which wraps an existing real number */ abstract class RealWrapper protected (_r: Real) extends Real { // Accessors def r = _r def isNegative: Boolean = r.isNegative def ...
Scala
cwe-scala-library/src/cwe/scala/library/math/bignumbers/RealWrapper.scala
wwwigii-system/research
gpl-3.0
2,034
51
codeparrot/github-code
247fe159d4cfa35813656a81c27df06c3023acec24cd46e9d9ea65e190d8880c
""" 30 Oct 2013 """ import sys from warnings import catch_warnings, simplefilter from itertools import combinations from math import pi, sqrt, cos, sin, acos from copy import deepcopy import numpy as np from numpy.random import shuffle as np_shuffle from scipy.stats import skew, kurtosis, norm as sc_no...
Python
_pytadbit/utils/three_dim_stats.py
3DGenomes/tadbit
gpl-3.0
28,455
796
codeparrot/github-code
86bc8cbe40a9b426ed3d453dbc22c9894335a0b18c70566aa45ccc9df59b1f17
package com.jitlogic.zorka.core.spy; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; public class SpyStateShelf { private static Logger log = LoggerFactory.getLogger(SpyStateShelf.class); private Map<Object,SpyStateShelfData> obj...
Java
zorka-core/src/main/java/com/jitlogic/zorka/core/spy/SpyStateShelf.java
jitlogic/zorka
gpl-3.0
1,277
44
codeparrot/github-code
065e9a72fdc52418c3a7e954b0dfb1780b49b212baa1c02d1df3d8bd00c00a36
<?php /** * Helper class for Bitcoin Pricing Joomla Module * * @package Joomla * @link http://www.grnlight.net/index.php/bitcoin-prices-module * @license GPL v3, see LICENSE.php * mod_helloworld is free software. This version may have been modified pursuant * to the GNU General Public License, and as...
PHP
helper.php
grnlightdotnet/joomla.bitcoin.prices
gpl-3.0
1,951
65
codeparrot/github-code
83f2bacf37f908db2dae25dfd8ba104abcce83b5d4b6388f06a8b2ce266e4f80
/** * This file is part of Touhou Music Player. * * Touhou Music Player 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. * * Tou...
C
include/musicfile_wav.h
ibmibmibm/touhou-musicplayer
gpl-3.0
1,919
66
codeparrot/github-code
70e810b4ebadb548d798fc5ec58573e8a9b5d3230062933dd11dd9d1824f55ee
Template = function(options) { if(!options) throw new Error('Template options must be specified'); this.options = options; }; Template.prototype = { _domInstantiation: null, instantiate: function(dataItem, parent) { var controlType = this.options.type || 'container'...
JavaScript
apps/comfy_web/static/scripts/core/ui/template.js
mefcorvi/Comfy
gpl-3.0
842
30
codeparrot/github-code
d11dfa15e6308429764ff9ad57c03ee68a0f8a07012a89ba0b9510a04e84185e
import React, { PureComponent } from "react"; import PropTypes from "prop-types"; import classNames from "classnames"; import { Draggable } from "react-beautiful-dnd"; import TextInner from "./TextInner"; export default class CategoryListTexts extends PureComponent { static displayName = "Category.List.Texts"; st...
JavaScript
client/src/backend/components/category/List/TextsInner.js
ManifoldScholar/manifold
gpl-3.0
2,081
90
codeparrot/github-code
3d7fbde100c69256be652f3904c03a2b6254b1a1657a517cb29fda0e53e210af
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using System.IO; using System.IO.Compression; using System.Linq; using System.Text; using System.Windows; using System.Xml.Serialization; using Bcfier.Bcf.Bcf2; using Bcfier.Data.Utils; using ...
C#
Bcfier/Bcf/BcfContainer.cs
teocomi/BCFier
gpl-3.0
17,563
551
codeparrot/github-code
40e1b389982f16240ff6cd713a88fb5ce390241c400e56cf4e8d61d6b7290f9a
#include "opencv2/objdetect.hpp" #include "opencv2/videoio.hpp" #include "opencv2/highgui.hpp" #include "opencv2/imgproc.hpp" #include "NoduleDetectionPipeline.hpp" #include "CSVReader.hpp" #include <iostream> #include <cstdlib> #include <cmath> #include <ostream> #include <fstream> NoduleDetectionPipeline::NoduleDe...
C++
src/cpp/NoduleDetectionPipeline.cpp
bjvanov/radiology-cv
gpl-3.0
7,915
250
codeparrot/github-code
3f670551ea09a3a36fa30a9f62d6e32de502fde456ed0744a25632e345f3e017
<?php /********************************************************************************* * Zurmo is a customer relationship management program developed by * Zurmo, Inc. Copyright (C) 2012 Zurmo Inc. * * Zurmo is free software; you can redistribute it and/or modify it under * the terms of t...
PHP
app/protected/modules/zurmo/views/security/GroupsTreeListView.php
deep9/zurmo
gpl-3.0
3,242
73
codeparrot/github-code
4372d811bffd1248189f421b7f8899e9a7b2bba5d5de9f7f9e0b37465f218ab2
jQuery.fn.exists = function( ) { return jQuery(this).length > 0; } $(document).ready( function( ) { var target = "network-data"; var urlInfo = decodeURI(window.location.href); var offset = urlInfo.indexOf("?"); var strKeyValue = decodeURIComponent(urlInfo.substr(offset)); // HPO=HP%3A0000286&DS=614080 //alert("...
JavaScript
assets/templates/default/js/cytoscape/network-data2.js
SJTUYale/GPS
gpl-3.0
789
34
codeparrot/github-code
bedca945033db8d89e5373299cf59ce793e2376cd6309aefeb8d4efd33545e56
/** * * This file is part of Tulip (www.tulip-software.org) * * Authors: David Auber and the Tulip development Team * from LaBRI, University of Bordeaux 1 and Inria Bordeaux - Sud Ouest * * Tulip is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public Licens...
C++
tulip-3.8.0-src/plugins/glyph/triangle.cpp
kdbanman/browseRDF
gpl-3.0
2,998
99
codeparrot/github-code
3570846d72620226822cd0afc77a5f0c2f6b2001026513ef48264017f50e65f3
function array_replace_recursive(arr) { // discuss at: http://phpjs.org/functions/array_replace_recursive/ // original by: Brett Zamir (http://brett-zamir.me) // example 1: array_replace_recursive({'citrus' : ["orange"], 'berries' : ["blackberry", "raspberry"]}, {'citrus' : ['pineapple'], 'berries' : ['b...
JavaScript
html/commun/src/js/phpjs/functions/array/array_replace_recursive.js
legagneur-matthieu/DevWebFramework
gpl-3.0
1,241
32
codeparrot/github-code
60e3975725ae479e5e9055ae8fd12498fe53f94b3e669b9996facddc4f4a696c
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>VALERA - Responsiv HTML Template based on Bootstrap, from Twitter</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="description" content=""> <meta name="author" content=""> <!--...
HTML
roxy/static/2columns_portfolio.html
audaciouscode/Roxy-Proxy
gpl-3.0
19,922
362
codeparrot/github-code
5acb1cf482f974fd8d0d7ba494a3efe6112550cff3fe305c917778da19797939
package model.voting; public class Election_Tournement extends Election { //points protected int iVictoryPoints = +1; protected int iTiePoints = 0; protected int iDefeatPoints = 0; @Override public void setDefaultName() { strName = "Tournement"; } public static ResultList calcElectionResult(C...
Java
src/model/voting/Election_Tournement.java
fsperotto/iterative_voting
gpl-3.0
2,897
150
codeparrot/github-code
079b1c1347c8a6c8db1cf6d36a94ce7c0c6e8d615ad1c2eb69f3a33a625bbdbe
using Genome; using OptimizedCore; using VariantAnnotation.Interface.SA; using VariantAnnotation.IO; namespace SAUtils.SpliceAi { public sealed class SpliceAiItem:ISupplementaryDataItem { public IChromosome Chromosome { get; } public int Position { get; set; } public string RefAllele {...
C#
SAUtils/SpliceAi/SpliceAiItem.cs
Illumina/Nirvana
gpl-3.0
4,203
102
codeparrot/github-code
13d3fbbf477c1b0040b7f5fec3128d44159db69e9bb9a78ca7e185b9a6a0b160
package net.malariagen.gatk.math; import java.util.Arrays; import org.broadinstitute.sting.utils.collections.Pair; import net.malariagen.gatk.coverage.AbstractCoverageDistribution; import com.google.gson.JsonArray; import com.google.gson.JsonElement; import com.google.gson.JsonObject; import com.google.gson.JsonPri...
Java
src/java/main/net/malariagen/gatk/math/ValueFrequencyArrayIntegerDistribution.java
vruano/maltools
gpl-3.0
13,258
427
codeparrot/github-code
0dc4fce818d7cb417074b342bf63e601f1e269f71335a3b9d061649bc6102597
namespace UniTimetable.ViewControllers { partial class FormSettings { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summa...
C#
UniTimetable/ViewControllers/FormSettings.Designer.cs
mrkno/CanterburyTimetableManager
gpl-3.0
18,905
373
codeparrot/github-code
6f70aed3bdfe15ba2587d66ec99f2bb5ded89ef28b1e820377f862f2b37c5558
#ifndef RANDOMMODEL_H #define RANDOMMODEL_H #include <QObject> #include <QSize> #include <QPoint> #include <QAbstractTableModel> inline uint qHash (const QPoint & key) { return qHash (static_cast <qint64> (key.x () ) << 32 | key.y () ); } class RandomModel : public QAbstractTableModel { Q_OBJECT public: ...
C
cpp014_subclass_model/randommodel.h
Combitech/qt-course
gpl-3.0
842
39
codeparrot/github-code
ead5bccee85961a8164ea7e47a5823070253e65956df343a5db8dfb68d49ae90
/* * Hyperbox - Virtual Infrastructure Manager * Copyright (C) 2013 Maxime Dor * * http://kamax.io/hbox/ * * 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 Licen...
Java
src/server/core/src/io/kamax/vbox4_3/setting/cpu/SyntheticCPUSettingAction.java
hyperbox/vbox-4.3
gpl-3.0
1,846
56
codeparrot/github-code
b56e4669f94ea49b1b3375e18bbac5c99e0023822e005301d270245f931d4cf5
/* * Copyright (C) 2014 Institute for Bioinformatics and Systems Biology, University Giessen, Germany * * 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 ...
Java
readxplorer-tools-rnafolder/src/main/java/de/cebitec/readxplorer/tools/rnafolder/RNAFoldCaller.java
rhilker/ReadXplorer
gpl-3.0
6,439
143
codeparrot/github-code
f9b10595a7124ebf628faafbefdf1dbed4e073a32f33ef7b40f06994df96c451
/* * Copyright (C) 2014 Alfons Wirtz * website www.freerouting.net * * 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) a...
Java
src/main/java/net/freerouting/freeroute/designformats/specctra/Keyword.java
rbuj/FreeRouting
gpl-3.0
3,746
137
codeparrot/github-code
81539a3a8390712b11665e1aaa77a2cf98576140d9c1ed326c444afc0bb612b6
import urllib.request import json import webbrowser ___author___ = 'D4rkC00d3r' bssid = input('Enter a BSSID: ') # Mac address of AP you want to locate api_uri = 'https://api.mylnikov.org/geolocation/wifi?v=1.1&data=open&bssid=' # Api endpoint for database. map_url = 'http://find-wifi.mylnikov.org/#' # Map provide...
Python
locatebssid.py
D4rkC00d3r/locatebssid
gpl-3.0
1,239
41
codeparrot/github-code
36a0aafbdd35765120f5a1f18f1c9501fb92fbb85010d01522b525c574c7596f
#!/usr/bin/python # -*- coding: utf-8 -*- # kate: space-indent on; indent-width 4; mixedindent off; indent-mode python; import re import copy import os from trac.resource import Resource, ResourceNotFound from trac.util.translation import _ from trac.util.datefmt import from_utimestamp, to_utimestamp, utc, utcmax from...
Python
app/crashdump/model.py
aroth-arsoft/arsoft-web-crashupload
gpl-3.0
24,814
665
codeparrot/github-code
d328d3e30f764f53a46c8cdf2d29eed1a3817e0dde6ec7b121ddd7d69edff5e5
package Bio::VertRes::Config::CommandLine::VirusMapping; # ABSTRACT: Create config scripts to map viruses use Moose; use Bio::VertRes::Config::Recipes::VirusMappingUsingBwa; use Bio::VertRes::Config::Recipes::VirusMappingUsingSmalt; use Bio::VertRes::Config::Recipes::VirusMappingUsingSsaha2; use Bio::VertRes::Config...
Perl
lib/Bio/VertRes/Config/CommandLine/VirusMapping.pm
gitpan/Bio-VertRes-Config
gpl-3.0
4,522
142
codeparrot/github-code
f16e2463b3c389279823eb292f294fb6ae4bc93569761c948dc6df2250dc313b
#!/usr/bin/env python # testing/runner.py # Copyright (C) 2005-2014 the SQLAlchemy authors and contributors # <see AUTHORS file> # # This module is part of SQLAlchemy and is released under # the MIT License: http://www.opensource.org/licenses/mit-license.php """ Nose test runner module. This script is a front-end to "...
Python
env/lib/python2.7/site-packages/sqlalchemy/testing/runner.py
ncdesouza/bookworm
gpl-3.0
1,626
51
codeparrot/github-code
f524ee971cf7594f32eabce040d0ed7eed34dcb7e2e9a3364e7192f3444c3db4
#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright (C) 2009 Timoth?Lecomte # This file is part of Friture. # # Friture is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License version 3 as published by # the Free Software Foundation. # # Friture is distribu...
Python
friture/octavefilters.py
tlecomte/friture
gpl-3.0
4,411
108
codeparrot/github-code
0c5837f92020dbbb342067d9a89b4c542d6dd29f40c95a22b0663cbbf717b514
/** * Genji Scrum Tool and Issue Tracker * Copyright (C) 2015 Steinbeis GmbH & Co. KG Task Management Solutions * <a href="http://www.trackplus.com">Genji Scrum Tool</a> * * 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...
Java
src/main/java/com/aurel/track/admin/customize/lists/customList/CustomListBL.java
trackplus/Genji
gpl-3.0
18,475
539
codeparrot/github-code
dc33bf88f2889831aced3db9b1c30cf81cfd80cb2f8cfd2865479a62efcd7359
package org.repwatch.repositories import org.repwatch.models.ContactInformation import org.repwatch.models.EmailAddress import org.repwatch.models.Name import org.repwatch.models.PhoneNumber import org.repwatch.models.Representative import org.repwatch.models.Senator import org.repwatch.models.ZipCode import org.repwa...
Scala
providers/src/main/scala/org/repwatch/repositories/GoogleLegislatorRepository.scala
csunwold/repwatch
gpl-3.0
1,751
51
codeparrot/github-code
d360ff6f77ef3e8e1f1af468dd2871bb9c3b79db6b3f505b8d53d4249d0c9144
local cbox local function btnPress( btn ) if not cbox:GetSelected() or not cbox:GetSelected().ply:IsValid() then return end -- No one has been selected. local dummy, dummy, command, args = string.find( btn.data, "(%a+)%s*(.*)" ) if not args:find( "#T" ) then args = args .. " #T" end -- If they didn't specif...
Lua
ulx/lua/ulx/modules/cl/clientmenu.lua
resistor58/deaths-gmod-server
gpl-3.0
1,775
56
codeparrot/github-code
b6e6493b3eba5d40467facfff13ca2b15db7a01a0ca4933ccebf29b86421daf6
//===================================================================== // OpenGLCppWrapper: A C++11 OpenGL 'Core' wrapper. // Copyright 2018-2019 Quentin Quadrat <lecrapouille@gmail.com> // // This file is part of OpenGLCppWrapper. // // OpenGLCppWrapper is free software: you can redistribute it and/or modify it // un...
C++
src/common/graphics/OpenGL/examples/02_DynamicTriangle.cpp
Lecrapouille/SimTaDyn
gpl-3.0
5,385
141
codeparrot/github-code
4fddee892a6b8c577daea20398537703b0100c1c7157f72e01bb8f3bdbcf9e29
package it.niedermann.easypdf.merge.itemdetails; import java.io.IOException; import java.util.ArrayList; import java.util.List; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import it.niedermann.easypdf.merge.PDFPart; import javafx.application.Platform; import javafx.collections....
Java
src/main/it/niedermann/easypdf/merge/itemdetails/ItemDetails.java
stefan-niedermann/easypdf
gpl-3.0
2,337
83
codeparrot/github-code
6ed11a19c03d0a88ccfd35b951d41bfbd1a9c3ee2fe5c270d1e2da0eb8f6ddff
/* * Pixel Dungeon * Copyright (C) 2012-2014 Oleg Dolya * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * ...
Java
src/com/watabou/legacy/actors/hero/HeroAction.java
sloanr333/opd-legacy
gpl-3.0
2,009
89
codeparrot/github-code
b7667b48b3562dd96e678ec998520f54b34d8621ac16441a434a04c9c2886f25
#!/usr/bin/python # -*- coding: utf-8 -*- """ ZetCode PyQt4 tutorial This example shows a QtGui.QSlider widget. author: Jan Bodnar website: zetcode.com last edited: September 2011 """ import sys from PyQt4 import QtGui, QtCore class Example(QtGui.QWidget): def __init__(self): super(Example, self...
Python
tutorial/gui/pyqt4/widget/slider.py
justasabc/python_tutorials
gpl-3.0
1,427
61
codeparrot/github-code
3fb6d839016e72d6867fbb0d367765162bd3e19fcac411bc386757bfb05e3b6b
/* * This file is part of the L2J Global project. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This p...
Java
java/com/l2jglobal/gameserver/network/clientpackets/mentoring/ConfirmMenteeAdd.java
rubenswagner/L2J-Global
gpl-3.0
6,154
175
codeparrot/github-code
afa1ce67d3ae7e716f3a849d51faf301a44d80b4ef7ac1b7d81e3d46e09f735a
<?php /** * This file is part of XNova:Legacies * * @license http://www.gnu.org/licenses/gpl-3.0.txt * */ function walka ($CurrentSet, $TargetSet, $CurrentTechno, $TargetTechno) { global $pricelist, $CombatCaps, $game_config; $runda = array(); $atakujacy_n = array(); $wrog_n = array(); ...
PHP
includes/ataki.php
xcosmos/xcosmos
gpl-3.0
10,954
252
codeparrot/github-code
ebdd4986185f5eb697d7e77278749ed808bbfcd4056dc91a79b7c8853a805532
/******************************************************************************** ** Form generated from reading UI file 'add_user.ui' ** ** Created by: Qt User Interface Compiler version 4.8.6 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ************************************...
C
ui_add_user.h
Necromoshka/Journal
gpl-3.0
4,339
137
codeparrot/github-code
a3051792a1864347f66102ba41945474fa65a1adfa610473b008730f83a5f79c
/* Copyright (C) 2011 Michael Goffioul. This file is part of QtHandles. Foobar 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. QtHandles ...
C++
src/__init_qt__.cpp
goffioul/QtHandles
gpl-3.0
9,005
340
codeparrot/github-code
465fec986320d09fb404230a37b41e1e2009500357a4a3189dab9859c0ee79cd
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | \\ / A nd | Copyright (C) 1991-2010 OpenCFD Ltd. \\/ M anipulation | ---------------...
C++
src/OpenFOAM/meshes/primitiveShapes/plane/plane.C
themiwi/freefoam-debian
gpl-3.0
11,395
473
codeparrot/github-code
25ab07631170c5bb6fe50e1027956c23707bc140b5734232c72d33ff6362f4b5
/* Copyright (c) Christian Krippendorf * * This file is part of UMounter. * * UMounter 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 v...
C
src/string.c
CerebrosuS/UMounter
gpl-3.0
2,529
88
codeparrot/github-code
433c15169b29b026ecf90b3c869b3f409add9e07a10b43d953294693425615d2
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ /* */ /* This file is part of the program and library */ /* SCIP --- Solving Constraint Integer Programs */ ...
C
3rd_scip/scip/retcode.c
LiangliangNan/PolyFit
gpl-3.0
6,496
168
codeparrot/github-code
c0b216260aa0232b15a9c4403e2339e9b1e5a511d6e522b4f6974bc63e725aeb
package org.jnbt; /* * JNBT License * * Copyright (c) 2010 Graham Edgecombe * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must re...
Java
src/org/jnbt/NBTInputStream.java
drunkripper/APOC-RPG
gpl-3.0
6,115
199
codeparrot/github-code
2f2b95c795f40a4cc9f492684acebde743b9c310906bde3993bb6b183786d201
<?php namespace TelegramBot\Telegram\Types; /** * Class InlineQueryResultCachedPhoto * @package TelegramBot\Telegram\Types */ class InlineQueryResultCachedPhoto extends InlineQueryResult { /** * @var */ public $photo_file_id; /** * @var */ public $title; ...
PHP
src/Telegram/Types/InlineQueryResultCachedPhoto.php
sys-001/Sysbot
gpl-3.0
3,464
121
codeparrot/github-code
6f30623f917b081157172a6fcb4604cb01b62b655eaaff0c36263f5b99b627cb
/* * Copyright (C) 2016-2019 the original author or authors. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. ...
Java
src/main/java/com/viglet/turing/persistence/model/storage/TurDataGroup.java
openviglet/turing
gpl-3.0
4,079
135
codeparrot/github-code
705232322d65422d22386fe13539a49552fe74022ca39012c84ddfd4491b3dbd
package content.source.linkedin; import content.source.linkedin.page_objects.UserPageObject; import org.jsoup.Jsoup; import org.jsoup.nodes.Document; import org.jsoup.nodes.Element; import org.jsoup.select.Elements; import util.net.CookieManager; import util.net.Headers; import util.net.HttpResponse; import java.uti...
Java
src/main/java/content/source/linkedin/Parser.java
tech-team/personalizer
gpl-3.0
2,896
76
codeparrot/github-code
f161811c7b7e1db62608980427e25929cb01120d6a500e00d9f9c837fa625ab3
<?php /** * This file is part of the nspyke/ehive library. * * Copyright (c) 2017. Nik Spijkerman. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * * * Copyright (C) 2012 Vernon Systems Limited * * Permission is hereby granted, f...
PHP
src/Dao/Comments.php
nspyke/ehive
gpl-3.0
2,564
69
codeparrot/github-code
f5fe78e895a61e5d3f0256e3804d762f50bda7cc36ad444373311e8dc2bac43d
import React, { PureComponent } from 'react'; import PropTypes from 'prop-types'; import AltContainer from 'alt-container'; import ConfirmAccount from '../components/ConfirmAccount'; import Auth from 'controllers/auth'; import ConfirmAccountActions from 'actions/ConfirmAccountActions'; import ConfirmAccountStore from '...
JavaScript
information/blendle-frontend-react-source/app/modules/item/containers/ConfirmAccountContainer.js
BramscoChill/BlendleParser
gpl-3.0
1,603
57
codeparrot/github-code
3f794db0bd933b6fd862c942dee01e344406f88a716d7ff40d8d7b4624a4aea6
/* * Copyright (C) 2013-2016 RelentlessZero * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program...
C#
src/RelentlessZero/Entities/Attributes/ScrollAttribute.cs
Rawaho/RelentlessZero
gpl-3.0
1,147
35
codeparrot/github-code
95b6f3b21d155b717f1a1401fea76179642e601c213e87a305bb6b8c08bf7950
'use strict'; var async = require('async'); var winston = require('winston'); var S = require('string'); var db = require('../database'); var meta = require('../meta'); var notifications = require('../notifications'); var privileges = require('../privileges'); (function (UserNotifications) { UserNotifications.get ...
JavaScript
src/user/notifications.js
emit86/NodeBB
gpl-3.0
7,853
291
codeparrot/github-code
924c4f0603020dfa7d03fcae49ab6e8e14e7c35bc32428ff20a19288c4884f14
/***************************************************************************** * Copyright (C) 2004-2013 The PaGMO development team, * * Advanced Concepts Team (ACT), European Space Agency (ESA) * * http://apps.sourceforge.net/mediawiki/pagmo * * ...
C++
src/algorithm/sga.cpp
enikulenkov/PaGMO
gpl-3.0
14,278
415
codeparrot/github-code
15e6a3b741e80934aaad16ee0e366fa29ad63b644cdd785821f2fc93f6d64a80
package org.zarroboogs.weibo.loader; import android.content.Context; import org.zarroboogs.util.net.WeiboException; import org.zarroboogs.weibo.bean.CommentListBean; import org.zarroboogs.weibo.dao.MentionsCommentTimeLineDao; import java.util.concurrent.locks.Lock; import java.util.concurrent.locks.ReentrantLock; ...
Java
app/src/main/java/org/zarroboogs/weibo/loader/MentionsCommentMsgLoader.java
MehmetNuri/Beebo
gpl-3.0
1,305
50
codeparrot/github-code