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
a92a2cbe59cf0aae7c381440afbe73f6153af74edb8fa7884960bbe69500c1b0
/// <summary> /// Diff.cs /// Andrea Tino - 2015 /// </summary> namespace Rosetta.ThirdParty.Google.DiffMatchPatch { using System; using System.Collections.Generic; using GoogleDMP = global::DiffMatchPatch; /// <summary> /// Entry point for using the tool. /// </summary> public static cl...
C#
test/3rd-party/Google.DiffMatchPatch/Diff.cs
andry-tino/Rosetta
gpl-3.0
1,176
39
codeparrot/github-code
bf243d54da8f8d8c0eede47320e898a8a080d5e7b891be6d5edeace0199d9c1e
\hypertarget{classwebsocketpp_1_1transport_1_1stub_1_1endpoint}{}\section{websocketpp\+:\+:transport\+:\+:stub\+:\+:endpoint$<$ config $>$ Class Template Reference} \label{classwebsocketpp_1_1transport_1_1stub_1_1endpoint}\index{websocketpp\+::transport\+::stub\+::endpoint$<$ config $>$@{websocketpp\+::transport\+::stu...
TeX
docs/icens/latex/classwebsocketpp_1_1transport_1_1stub_1_1endpoint.tex
nsol-nmsu/ndnSIM
gpl-3.0
15,051
199
codeparrot/github-code
cf90a4129c2f12e459b20f22c6d437f297cef923bdfb537fd70fd19c1d547b18
package je.visual; import java.awt.Color; import java.awt.Font; import java.io.Serializable; import javax.swing.JTextPane; import javax.swing.text.SimpleAttributeSet; import javax.swing.text.Style; import javax.swing.text.StyleConstants; /** Used for adding different styles to a JTextPane. Available styles are Bol...
Java
JExtras/src/je/visual/TextStyle.java
Authman2/JExtras
gpl-3.0
11,250
355
codeparrot/github-code
fa360da3123f29faddf8f630cf5957673a7113aa1477d6390075e24e128e6112
/* =========================================================================== Doom 3 GPL Source Code Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company. This file is part of the Doom 3 GPL Source Code (?Doom 3 Source Code?). Doom 3 Source Code is free software: you can redistribute it and/or modify it...
C
neo/d3xp/Game.h
RobertBeckebans/Sikkpin-Feedback
gpl-3.0
15,491
366
codeparrot/github-code
297f45484da7ef4e2e8abae5632f353893836041a4f240a2d8ca513c01df5fc7
#-- # Copyright(C) 2015 Giovanni Capuano <webmaster@giovannicapuano.net> # # This file is part of Dumper. # # Dumper 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 yo...
Ruby
lib/dumper/dumper.rb
RoxasShadow/Dumper
gpl-3.0
4,189
151
codeparrot/github-code
d6a8d1b3421daf11aa2f6b7c3f1d24ed0af6ab7b6035140014500e10fe9796f2
<HTML > <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252" /> <TITLE>onstart</TITLE> <LINK REL="stylesheet" TYPE="text/css" HREF="../common/ie4.css" /> <LINK REL="stylesheet" TYPE="text/css" HREF="../common/ie5.css" /> <style> BODY { font-family:verdana,arial,helvetica; margin:0; } </styl...
HTML
dhtml/DHTML/DHTMLref/events/onstart.html
gucong3000/handbook
gpl-3.0
9,403
112
codeparrot/github-code
349af5fe3119b8923fc0959a0ce1fb9a36c26cf4d8392bf0d92e8dd570dec135
/* BiasCorrection.h * * * Copyright (C) 2016 UTHealth MRI Research * * This file is part of the GRAPE Diagram Editor. * * GRAPE 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...
C
src/Nodes/biascorrection.h
rgabr/grape
gpl-3.0
1,911
87
codeparrot/github-code
2f4b50a5033d189047b0e83a8d4e93fbc71e412e5034349feda56147c5a64684
<?php /* Copyright (C) 2006-2012 Laurent Destailleur <eldy@users.sourceforge.net> * Copyright (C) 2009-2012 Regis Houssin <regis.houssin@capnetworks.com> * Copyright (C) 2012 Christophe Battarel <christophe.battarel@altairis.fr> * Copyright (C) 2012 Juanjo Menent <jmenent@2byte.es> * * This program i...
PHP
htdocs/core/modules/import/import_csv.modules.php
ozit/dolibarr
gpl-3.0
25,079
677
codeparrot/github-code
39a7adf481c4d97fcab7199142784d109db65ea2a32a08236c9569cc4adda47c
# -*- coding: utf-8 -*- from __future__ import unicode_literals from colour import Color from django.contrib.auth.decorators import user_passes_test from django.urls import reverse from django.db.models import Sum from django.http import HttpResponse, HttpResponseRedirect, StreamingHttpResponse from django.shortcuts ...
Python
redblue/viewsenators/views.py
artoonie/RedStatesBlueStates
gpl-3.0
6,895
176
codeparrot/github-code
3d4e892c359e21ef5408bfc9d4d3b967e4f7cd67403d7abc089b22ce8a191640
/* ============================================================================== This file is part of the JUCE library. Copyright (c) 2017 - ROLI Ltd. JUCE is an open source library subject to commercial or open-source licensing. By using JUCE, you agree to the terms of both the JUCE 5 End-User Lic...
C++
2018/JUCE/modules/juce_gui_basics/widgets/juce_Slider.cpp
COx2/JUCE_JAPAN_DEMO
gpl-3.0
60,667
1,688
codeparrot/github-code
332fdeecfbf8b09ed7fa6002205bc24bd83fab643d91ceaae752185e8fb65a9b
<?php /** * The core function library for The State Decoded. * * PHP version 5 * * @author Waldo Jaquith <waldo at jaquith.org> * @copyright 2010-2013 Waldo Jaquith * @license http://www.gnu.org/licenses/gpl.html GPL 3 * @version 0.6 * @link http://www.statedecoded.com/ * @since 0.1 */ /** * Autoload ...
PHP
includes/functions.inc.php
jasonlally/sanfranciscocode
gpl-3.0
25,761
894
codeparrot/github-code
93d8eeaef1c33e0f29544e6270e8bab24f6cc33135b843e1324429a802fe4b77
// myboxes.cpp // Copyright (c) 2010 by The VoxBo Development Team // This file is part of VoxBo // // VoxBo 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 ...
C++
vbwidgets/myboxes.cpp
kimberg/voxbo
gpl-3.0
1,698
58
codeparrot/github-code
3f8293cb1fd964a7c95a8aff516b5f13d7cc1249bf5530a6394f6599b3e2de23
/* Directory hashing for GNU Make. Copyright (C) 1988-2020 Free Software Foundation, Inc. This file is part of GNU Make. GNU Make 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, o...
C
src/dir.c
mirror/make
gpl-3.0
36,488
1,385
codeparrot/github-code
f3cd3853f0acefb7da6b138059e762f79bcc027f3823437c89997b229176bbc0
<?php class AddLDAPSubMenuItems extends Hook { var $name = 'AddLDAPSubMenuItems'; var $description = 'Add sub menu items for LDAP server Management'; var $author = 'Fernando Gietz'; var $active = true; var $node = 'ldap'; public function SubMenuData($arguments) ...
PHP
packages/web/lib/plugins/ldap/hooks/AddLDAPSubMenuItems.hook.php
acklinr/fog
gpl-3.0
2,511
46
codeparrot/github-code
b69bac9e9c05da0328f098c4cbf0b5e8e8ef3e587adb41a284b1c76b13865f9a
package org.thoughtcrime.securesms.profiles.manage; import android.content.Context; import android.content.Intent; import android.os.Bundle; import androidx.annotation.NonNull; import androidx.fragment.app.Fragment; import androidx.navigation.NavDirections; import androidx.navigation.NavGraph; import androidx.navigat...
Java
app/src/main/java/org/thoughtcrime/securesms/profiles/manage/ManageProfileActivity.java
stinsonga/Signal-Android
gpl-3.0
2,913
86
codeparrot/github-code
a142633b7268c926f3dd2cf814cc7d6317b102161316436e597f7b8419399bd2
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>PangoRenderer</title> <meta name="generator" content="DocBook XSL Stylesheets V1.74.3"> <link rel="home" href="index.html" title="Pango Reference Manual"> <link rel="u...
HTML
Gtk+/share/gtk-doc/html/pango/PangoRenderer.html
akasfei/EstateMgrGTK
gpl-3.0
53,582
1,063
codeparrot/github-code
f5681c82185a3804605ad71719a656cd7bd2247e25cc63cc7a1cc044913c060b
<?php /** * MyBB 1.8 English Language Pack * Copyright 2014 MyBB Group, All Rights Reserved * */ $l['nav_usercp'] = "User Control Panel"; $l['nav_profile'] = "Edit Profile"; $l['nav_options'] = "Edit Options"; $l['nav_email'] = "Change Email Address"; $l['nav_password'] = "Change Password"; $l['nav_changename'] = ...
PHP
mybb-source/inc/languages/english/usercp.lang.php
agubagu/mybb_task
gpl-3.0
28,825
421
codeparrot/github-code
a769e6a6e9a2c1721486ecba96cdc376d17fa853806d6bdaf1617dffec19d6fa
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation \\...
C++
src/fvOptions/sources/interRegion/interRegionHeatTransfer/tabulatedHeatTransfer/tabulatedHeatTransfer.C
will-bainbridge/OpenFOAM-dev
gpl-3.0
3,922
150
codeparrot/github-code
6ccba7767ea41a0c8fb8c78d63adef51a9d603e58b619a4833a36494b4c805c6
###################### TREE###################### class node(): __parent = None __left = None __right = None __data = None def __init__(self, value): self.__data = value self.__parent = None self.__left = None self.__right = None def get_parent(self...
Python
Code/tree.py
junaart/Structure_data
gpl-3.0
9,097
236
codeparrot/github-code
8acaf3e2e589bdfb2bc1d1d89918f35328bdded5752e50c698593a01dc3119b9
// // Copyleft RIME Developers // License: GPLv3 // // 2011-12-12 GONG Chen <chen.sst@gmail.com> // #include <rime/candidate.h> #include <rime/common.h> #include <rime/gear/uniquifier.h> namespace rime { // Uniquifier Uniquifier::Uniquifier(const Ticket& ticket) : Filter(ticket) { } void Uniquifier::Apply(Candidate...
C++
src/gear/uniquifier.cc
jinntrance/librime
gpl-3.0
940
44
codeparrot/github-code
857f4322510b636e320af0c7a7df244b03708cca5bc6bad560ba30d22d1da428
package sk.libco.bestiaryfive.ui; import android.os.Bundle; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.LinearLayout; import android.widget.TextView; import androidx.fragment.app.Fragment; import androidx.recyclerview.widg...
Java
app/src/main/java/sk/libco/bestiaryfive/ui/MainActivityFragment.java
Libco/bestiary5thedition
gpl-3.0
9,460
249
codeparrot/github-code
2d72638a5dd313924ffdf4c8d690dd21a926586e507eeffdae7c9621dd9b1397
/* * Copyright appNativa Inc. All Rights Reserved. * * This file is part of the Real-time Application Rendering Engine (RARE). * * RARE 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 o...
Java
source/rare/swingx/com/appnativa/rare/platform/swing/ui/view/JPanelEx.java
appnativa/rare
gpl-3.0
8,716
333
codeparrot/github-code
62426754bf4e058cab3266f0ee7db5acfd7f5450473be0bee790a663ad50b06e
/* Simple built-in editing commands. Copyright (C) 1985, 1993-1998, 2001-2014 Free Software Foundation, Inc. This file is part of GNU Emacs. GNU Emacs 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 vers...
C
src/cmds.c
jockej/guile-emacs
gpl-3.0
17,023
560
codeparrot/github-code
f6478a5ea7c37056abac0a72ce0517a4854b7a10ef8ca718eee56b5ac1821b1c
package C4::Auth_with_ldap; # Copyright 2000-2002 Katipo Communications # # This file is part of Koha. # # Koha 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 o...
Perl
C4/Auth_with_ldap.pm
colinsc/koha
gpl-3.0
29,216
647
codeparrot/github-code
52e709eba42fd4a1f2fa86107067e3e4560d8cd1814ec6aaa39094549e73eecb
<?php /** * @copyright Ilch 2 * @package ilch */ namespace Modules\Gallery\Boxes; use Modules\Gallery\Mappers\Image as ImageMapper; class Pictureofx extends \Ilch\Box { public function render() { $imageMapper = new ImageMapper(); $galleries = explode(',', $this->getConfig()->get('gallery_p...
PHP
application/modules/gallery/boxes/Pictureofx.php
IlchCMS/Ilch-2.0
gpl-3.0
2,315
76
codeparrot/github-code
a1876d9359b37945820f573ff9713ff7dca2d8723f979584f3f3046b158e35a4
/*****************************************************************************/ /* Copyright (C) 2016 NORMAN MEGILL nm at alum.mit.edu */ /* License terms: GNU General Public License */ /*****************************************************************************/ ...
C
metamath/mmcmds.h
dmitry-vlasov/russell
gpl-3.0
5,507
133
codeparrot/github-code
145c5420ab42b22a351f6752b1c5588014dfd0816a2a721a197f65d9921dee14
define(['text!templates/home_page_nsidc.html', 'text!templates/home_page_ade.html', 'lib/objectFactory', 'lib/mediator_mixin'], function (nsidcHomeTemplate, adeHomeTemplate, objectFactory, mediatorMixin) { var HomePageView; HomePageView...
JavaScript
src/scripts/views/HomePageView.js
nsidc/search-interface
gpl-3.0
2,105
84
codeparrot/github-code
2ccec04bddc9c5b7e860dcf192b626f46e3652339dd620759ac7a1c2b29aca95
<?php /** * Zikula Application Framework * * Weblinks * * @license GNU/GPL - http://www.gnu.org/copyleft/gpl.html */ use \Weblinks_Entity_Link as Link; class Weblinks_Controller_User extends Zikula_AbstractController { /** * function main */ public function main() { $this->redirec...
PHP
intranet/modules/Weblinks/lib/Weblinks/Controller/User.php
projectestac/intraweb
gpl-3.0
23,253
625
codeparrot/github-code
43a5c0cd350073e92b7b48ef785cc926d69a09ef44097061125f20900a8b8a68
#include <bits/stdc++.h> #include <math.h> #include <unistd.h> #include <sys/mman.h> #include <sys/syscall.h> #include <sys/stat.h> using namespace std; class FIO { char *p; public : FIO() { struct stat rstat; this->p = NULL ; if ( fstat(0, &rstat) == 0 && rstat.st_size > 0...
C++
UVA-Online/Volume_123/12372/src/src.cpp
Gaolious/algorithm
gpl-3.0
2,194
92
codeparrot/github-code
654aea016777576579cceafa4e213b9bb951547271288f36235b95349fa5a917
-- Host: localhost Database: weskate -- ------------------------------------------------------ /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES ut...
SQL
structure.sql
vladvelici/weskate
gpl-3.0
26,772
655
codeparrot/github-code
2aa47be548511f5eb68b61dadd24cafe0560665b3ff3e1a3f1598fd7b4d60cc8
package fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses; public class R_get_characters_character_id_online { /** * Timestamp of the last login */ public String last_login; /** * Timestamp of the last logout */ public String last_logout; /** * Total number ...
Java
model/esi/JCESI/src/generated/java/fr/guiguilechat/jcelechat/model/jcesi/compiler/compiled/responses/R_get_characters_character_id_online.java
guiguilechat/EveOnline
gpl-3.0
1,480
49
codeparrot/github-code
02616f692b48b7a92ed7cc1fc8e4f3dcad8eb2b18b8e06c1a1215df6c1f58fa1
/***************************************************************************** * * PROJECT: Multi Theft Auto v1.0 * LICENSE: See LICENSE in the top level directory * FILE: game_sa/CAudioContainerSA.h * PURPOSE: Audio container reader * DEVELOPERS: Jusonex <jusonex96@gmail.com> * NOTE: ...
C
MTA10/game_sa/CAudioContainerSA.h
Jusonex/mtasa-awesomium
gpl-3.0
2,265
77
codeparrot/github-code
cdf63cf8368ed5311b8ee2baa0330c5ab41d230900f1dc22dafb2cdbbf3d5c4a
/* Copyright (C) 2015 Statoil ASA This file is part of the Open Porous Media project (OPM). OPM 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) an...
C++
src/opm/parser/eclipse/EclipseState/Tables/Regdims.cpp
atgeirr/opm-common
gpl-3.0
1,785
51
codeparrot/github-code
44c4543808ed851c88a5925696c1883d9be9f8657e96da8eeca506b07aa561e5
// Copyright (c) Athena Dev Teams - Licensed under GNU GPL // For more information, see LICENCE in the main folder #include "../common/mmo.h" #include "../common/db.h" #include "../common/malloc.h" #include "../common/strlib.h" #include "../common/showmsg.h" #include "../common/socket.h" #include "../common/t...
C
src/char_sql/inter.c
DiscoverCZY/15-3athena
gpl-3.0
21,444
749
codeparrot/github-code
afc541d5d59eafb1e7e5ea714f780fe2e491cf61f6e58fc93f76bea2adc7f5b0
using UnityEngine; using System.Collections; public class InflateFish : MonoBehaviour { public float InflationAcceleration = 100; public float InflationFriction = 5; public float Inflation; public float InflationVelocity; public float InflationVelocityThreshold = 2; private InflateScaler Sca...
C#
Assets/Scripts/InflateFish.cs
Fumaloko92/NGJ-TMJLPS
gpl-3.0
2,422
105
codeparrot/github-code
88811dcd8711710fc404d711f9d4885e4f99fa5696a3030df9aa7ab7d07e52f2
/* * Copyright (c) 2016. * Modified by Neurophobic Animal on 27/05/2016. */ package cm.aptoide.pt.view.recycler.widget; import android.content.res.Resources; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.view.WindowManager; import androidx.annotation.La...
Java
app/src/main/java/cm/aptoide/pt/view/recycler/widget/WidgetFactory.java
Aptoide/aptoide-client-v8
gpl-3.0
2,347
76
codeparrot/github-code
eb6a22850225849807d7c56a9bf573afec255f3071aa1ed81f90143e4644ad18
/* © Copyright 2008 Randal A. Koene <randalk@netmorph.org> With design assistance from J. van Pelt & A. van Ooyen, and support from the Netherlands Organization for Scientific Research (NWO) Program Computational Life Sciences grant CLS2003 (635.100.005) and from the EC Marie Curie Research and Training Ne...
C++
Fig_Object.hh
kanzure/netmorph
gpl-3.0
8,517
213
codeparrot/github-code
a856cd126b59a2075050f5fa6cb832bb48ba71a48571ffe91cc1647ddbb4efbd
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Firebird database editor * * Copyright (C) 2016 Łukasz "Kuszki" Dróżdż lukasz.kuszki@gmail.com * * ...
C++
mainwindow.cpp
Kuszki/EW-Database
gpl-3.0
52,727
1,449
codeparrot/github-code
44fb3a6480451f735a03caad8f74e4d4e2d8f8480b02b6ae732656d51d7530c1
# -*- coding: utf-8 -*- # Copyright (C) Duncan Macleod (2018) # # This file is part of GWSumm. # # GWSumm 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) ...
Python
gwsumm/plot/guardian/__main__.py
gwpy/gwsumm
gpl-3.0
6,353
220
codeparrot/github-code
a11ce659363a9578ac18b4c380d4c676f6bf53a5375df1865a66cfca5bfad5ea
--[[ ######################################################################################################### # @mod: CoxisShop - A money-based item and skill shop # # @author: Dr_Cox1911 # # @notes: Many t...
Lua
media/lua/client/ISUI/ISCoxisShopPanel.lua
DrCox1911/coxisshop
gpl-3.0
8,492
253
codeparrot/github-code
874ae7e4be4084b4bae360cba84de4d253751d90f5aa252599a7dd73b356be2a
'use strict'; // before deploy to heroku, I'll have to deal with deploying JS to cdn or use // python manage.py runserver --insecure // https://docs.djangoproject.com/en/1.7/howto/static-files/deployment/#serving-static-files-from-a-cloud-service-or-cdn var app = angular.module('app', ['ui.router', 'ui.bootstrap', 'a...
JavaScript
listings/static/javascript/app.js
AlJohri/nucraigslist
gpl-3.0
9,723
263
codeparrot/github-code
1d94b69dca735fc2ff4e2a36e38d711e628afe23139ba695ca27cb064768d9a8
<?php /** * PHPCompatibility_Sniffs_PHP_ForbiddenFunctionParametersWithSameName. * * PHP version 7.0 * * @category PHP * @package PHPCompatibility * @author Wim Godden <wim@cu.be> */ /** * PHPCompatibility_Sniffs_PHP_ForbiddenFunctionParametersWithSameName. * * Functions can not have multiple paramete...
PHP
local/codechecker/PHPCompatibility/Sniffs/PHP/ForbiddenFunctionParametersWithSameNameSniff.php
AmrataRamchandani/moodle
gpl-3.0
2,225
85
codeparrot/github-code
c79f51b5dd98521df4ad7a44b019811fa5de21bf2dae0027e139c126ddb81305
/** * Este arquivo é parte do Biblivre3. * * Biblivre3 é um software livre; você pode redistribuí-lo e/ou * modificá-lo dentro dos termos da Licença Pública Geral GNU como * publicada pela Fundação do Software Livre (FSF); na versão 3 da * Licença, ou (caso queira) qualquer versão posterior. * * Es...
Java
src/java/mercury/DigitalMediaDTO.java
Biblivre/Biblivre-3
gpl-3.0
1,601
65
codeparrot/github-code
944247871a2c7841f90156a4169eabc0e34592fee64709e2a8850c7f243730ca
/*************************************************************************** * Copyright (C) 2009 - 2010 by Simon Qian <SimonQian@SimonQian.com> * * * * This program is free software; you can redistribute it and/or modify * * it unde...
C
component/mal/vsfscsi.h
chentyjpm/oled_ui_module
gpl-3.0
5,379
176
codeparrot/github-code
dcd1cfe1ab169a2fd7561590b9b8c36e32a3fdcb52da6f8093755f74837a1fe6
/* * ============================================================================ * GNU General Public License * ============================================================================ * * Copyright (C) 2015 Infinite Automation Software. All rights reserved. * * This program is free software: you can redist...
Java
src/main/java/com/serotonin/bacnet4j/type/constructed/DeviceObjectPropertyValue.java
infiniteautomation/BACnet4J
gpl-3.0
5,859
145
codeparrot/github-code
e297a9801f9dc05d10f6ea82583e52de13c827f617cda5de6f43120dda90a221
import LocalForage from './index'; import { createBlob, idb } from './util'; import { Deferred } from '../utils'; interface EncodedBlob { __local_forage_encoded_blob: boolean; data: string; type: string; } interface DBContext { // Running localForages sharing a database. forages: LocalForage[]; // Shared dat...
TypeScript
src/js/localforage/indexed-db.ts
alexlur/umatrix
gpl-3.0
6,861
251
codeparrot/github-code
0f3c9f9ad04889d3071e97d260a7e558b54831d603f1abcff056300f2e0cd5c8
<?php /** * SelectController.php * * Controller class for select2 ajax controllers. * * 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 optio...
PHP
app/Http/Controllers/Select/SelectController.php
vitalisator/librenms
gpl-3.0
2,844
91
codeparrot/github-code
6e4f834b22dd5cd8ac4af5592aba0490d255c26eb265552728420d52e5c655b6
'use strict'; (function (angular) { function signUpCtrl($scope, Auth, $state, $window) { /** * controller varibles */ var SignUp = this; SignUp.user = {}; SignUp.errors = {}; /** * Signup user * @param form */ SignUp.register = function (form) { SignUp.submit...
JavaScript
account/signUp/signUp.controller.js
nndesignstudio/neo_nbc
gpl-3.0
734
41
codeparrot/github-code
fbd6f442bafba099d7edf8848b2a5b77274e725359c274c1da1ebfeef978599c
package de.tudresden.inf.tcs.ontocomp.ui; import javax.swing.JTable; import javax.swing.table.AbstractTableModel; import de.tudresden.inf.tcs.oclib.IndividualContext; /* * OntoComP: a Protégé plugin for completing OWL ontologies. * Copyright (C) 2009 Baris Sertkaya * * This file is part of OntoComP. * OntoC...
Java
ontocomp/src/main/java/de/tudresden/inf/tcs/ontocomp/ui/ContextTable.java
julianmendez/ontocomp
gpl-3.0
3,367
111
codeparrot/github-code
b770ab6a56de1d959940e95d88f1d8c890d735d44c3a9bb715968a0b892a8b7f
/** * Copyright (C) 2016 apollo-opensource * * 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 i...
C
deps/c4pkg_hash/src/c4pkg_hash_sha1.c
zt515/c4pkg
gpl-3.0
1,852
87
codeparrot/github-code
f182f68bc192ed2597a5683b681b164381b096a00ee36b1a38743eafe76cf921
package com.xxl.job.admin.core.route.strategy; import com.xxl.job.admin.core.model.XxlJobLog; import com.xxl.job.admin.core.route.ExecutorRouter; import com.xxl.job.core.biz.model.ReturnT; import com.xxl.job.core.biz.model.TriggerParam; import java.util.ArrayList; /** * Created by xuxueli on 17/3/10. */ public cla...
Java
xxl-job-admin/src/main/java/com/xxl/job/admin/core/route/strategy/ExecutorRouteLast.java
lijie2713977/xxl-job
gpl-3.0
970
32
codeparrot/github-code
9e1c5f19c12f60831862cdeb9b251b5e7c86c2ded93ff0c51f1d0b9cfa850b99
/** * Read View * read-view.js * * See Also: ../sections/read-view.html, * ../sections/chapter-entry.html, * ../sections/page.html, * ./comic-parser.js */ let fs = require('fs'); /** * Variable Defintion */ // HTML DOM Template const chapter_entry_template_str = fs.readFile...
JavaScript
renderer-process/viewcontrollers/read-viewcontroller.js
yjlintw/comic-reader
gpl-3.0
14,064
515
codeparrot/github-code
f5ddd4479a6fd92e9c6544abbfd82e345efa4aa66cb3d23b2bd59c9e5055ebc5
<?php $table = $modx->getFullTableName('site_tmplvar_contentvalues'); $s_value_col = $_GET['value_col']; $x = 1; if ($s_value_col > 1) { while ($s_value_col > $x) { $valueN = $_GET['value' . $x]; $sID = $_GET['value_' . $x]; $output_notice = ''; $output_error = ''; if ($mod...
PHP
assets/snippets/tsvshop/addons/prices/includes/price.inc.php
Serg28/tsvshop
gpl-3.0
5,986
192
codeparrot/github-code
19133173aeb401235c1e1144532b1030a4d6d2ac8108df040e7fb160140abe4c
#ifndef _GUIOBJ_H_ #define _GUIOBJ_H_ struct about_obj { guiLabel_t label[3]; }; struct splash_obj { guiLabel_t version; guiImage_t splash_image; }; #define NUM_BARS_PER_ROW 2 struct chantest_obj { guiLabel_t title; guiRect_t rect; guiLabel_t chan[8]; guiLabel_t value[8]; guiBarGra...
C
src/pages/128x64x1/guiobj.h
cctsao1008/deviation
gpl-3.0
8,113
384
codeparrot/github-code
4e860adc329310d3f95cc0af9695569f729ed402c893858e2ddf71b77bb92121
package com.github.dozzatq.phoenix.notification; import com.github.dozzatq.phoenix.activity.CallbackSupplier; import com.github.dozzatq.phoenix.activity.StreetPolice; import java.util.ArrayDeque; import java.util.concurrent.Executor; /** * Created by Rodion Bartoshik on 13.06.2017. */ class ExceptionThrower { ...
Java
mylibrary/src/main/java/com/github/dozzatq/phoenix/notification/ExceptionThrower.java
dozzatq/Phoenix
gpl-3.0
1,838
62
codeparrot/github-code
aaf5dc6adb934feb68ee0e5162f96da6ca7e1f1b6677b14bfe40e2d50015d0ab
using System; using System.Configuration.Provider; using System.Text; using System.Threading; using IPP.ECommerceMgmt.ServiceJob.Properties; namespace IPP.ECommerceMgmt.ServiceJob.Providers { public abstract class ServiceJobProvider : ProviderBase { private Thread m_JobThread; public Thread Jo...
C#
02_ECCentral/06_Job_Move/03_MKT/IPP.MKT.DCJob/DCJob/Providers/ServiceJobBase/ServiceJobProvider.cs
ZeroOne71/ql
gpl-3.0
3,620
128
codeparrot/github-code
46ad693210f242c910e3ccd115e146a40bd2c41aacd3a962a4834e118e11a0e6
/* kpass-tools, a command line tool for munging KeePass 1.x format files Copyright (C) 2013 Brian De Wolf 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 L...
C
src/copy.c
bldewolf/kpass-tools
gpl-3.0
4,684
203
codeparrot/github-code
49403a496593fdede5b6f70461c55d73eed304a64b3ca5e861c0be6120908b35
using Lib.AD.Model; using System; using System.Collections.Generic; using System.DirectoryServices.AccountManagement; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Lib.AD { public class UserPrincipalService { private string strContextName; private string strCont...
C#
UserPrincipalService.cs
urtidig/AD_PrincipalExtensions
gpl-3.0
3,109
91
codeparrot/github-code
3b8197e9e4cbdce8c46b98518e4b1f3507f0fae99a38b7c18f6a5581017f2f77
/******************************************************************************* ** ** Copyright (C) 1998-2020 Greg McGarragh <greg.mcgarragh@colostate.edu> ** ** This source code is licensed under the GNU General Public License (GPL), ** Version 3. See the file COPYING for more details. ** ******************...
C
misc/gstruct_aatree.h
gmcgarragh/xrtm
gpl-3.0
20,050
847
codeparrot/github-code
a86d738152473eba2c4a1a758d10a387389f3a87ddfd8aa4ece01cad213077e8
package org.hage.util; import java.util.*; import static java.util.Collections.*; import static java.util.Optional.ofNullable; public class CollectionUtils { public static <T> Collection<T> nullSafe(Collection<T> original) { return ofNullable(original).orElse(emptyList()); } public static <T> L...
Java
platform/common-utils/src/main/java/org/hage/util/CollectionUtils.java
ymachkivskiy/hage
gpl-3.0
1,355
43
codeparrot/github-code
1bc1bc37ee3aedf552de8714a0d58571885621a85864fe8ca9b65476ee76d111
package com.gint.app.bisis4.client.circ.commands.reports; import java.util.Date; import java.util.List; import org.hibernate.Hibernate; import org.hibernate.Query; import org.hibernate.Transaction; import com.gint.app.bisis4.client.circ.commands.HibernateCommand; import com.gint.app.bisis4.client.circ.model.Locatio...
Java
src/com/gint/app/bisis4/client/circ/commands/reports/LendReturnLanguageReportCommand.java
unsftn/bisis-v4
gpl-3.0
1,954
68
codeparrot/github-code
e1ff5a429efb08f366b126d0acbdb81075e70dfa9ce399aef1cf41068d5c693a
/* * Copyright (C) 2010-2016 José Luis Risco Martín <jlrisco@ucm.es> * * 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 vers...
Java
src/main/java/hero/core/algorithm/metaheuristic/es/EvolutionaryStrategy.java
jlrisco/hero
gpl-3.0
5,934
147
codeparrot/github-code
e5bf74c3bedb303a9110393ebfcde4d7637a70beb2f4cbf747bcf9fe0a8b4c53
## # This module requires Metasploit: http://metasploit.com/download # Current source: https://github.com/rapid7/metasploit-framework ## require 'msf/core' class Metasploit3 < Msf::Exploit::Remote Rank = NormalRanking include Msf::Exploit::Remote::HttpServer::HTML def initialize(info = {}) super(update_in...
Ruby
modules/exploits/windows/browser/ms10_026_avi_nsamplespersec.rb
cSploit/android.MSF
gpl-3.0
6,475
222
codeparrot/github-code
d3883769b5321976e7c8c6b0a317e7c55732a39417191cdf15033627a2348e0c
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML ><HEAD ><TITLE >Chapter 56</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK REL="HOME" TITLE="The Scriptures" HREF="index.html"><LINK REL="UP" TITLE="The Book of Alma" HREF="c2687.html"><LINK REL="PREVIOUS" T...
HTML
scriptures.nephi.org/docbook/bom/x4501.html
hyperdriveguy/OpenGospel
gpl-3.0
14,113
258
codeparrot/github-code
c965a25092e33ffd8a6d556028823d344f2c64a6ac115152e475e055e239f0a5
# this example aims at showing ability of ESMF to regrid on ROMS grid import os import ESMF from brushcutter import fill_msg_grid as fill import matplotlib.pylab as plt import numpy as np # This call enables debug logging ESMF.Manager(debug=True) # Use example provided with ESMPy srcdir = '/Users/raphael/tmp_install...
Python
examples/dev/example_interp_to_roms.py
raphaeldussin/brushcutter
gpl-3.0
3,077
96
codeparrot/github-code
942053a658873576cf8b06f342ac1133bc9f6d81fd49dfe83dcf3e7b059c1594
<?php // This file is part of Moodle - http://moodle.org/ // // Moodle is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // Moodle ...
PHP
lib/completion/completion_completion.php
thepurpleblob/gumoodle
gpl-3.0
5,913
208
codeparrot/github-code
0af204ee6d6b22252e517e466686bd5159f6b5b413e1eeca8efd9fef9a748b4d
/******************************************************** * Computational Photometry Analyzer for Small Satellites * Copyright ©, 2017 Embry-Riddle Aeronautical University * * File: main.cpp * * @author Henry Valentine * @version 8/11/2017 * * Contains the implementation of main * **************************************...
C++
src/main.cpp
henry-valentine/COMPASS
gpl-3.0
632
34
codeparrot/github-code
175094d91a60e507a84b337606ed062e8f0ec0dc0c6fe6fc59a4a5c9a96152e3
using System; using Viki.LoadRunner.Engine.Analytics.Interfaces; namespace Viki.LoadRunner.Engine.Analytics.Metrics { public class MaxMetric<T> : IMetric<T> { private readonly LongSelectorDelegate<T> _selector; private readonly long _initialValue; private long _max; public Max...
C#
src/Viki.LoadRunner.Engine/Analytics/Metrics/MaxMetric.cs
Vycka/LoadRunner
gpl-3.0
1,054
38
codeparrot/github-code
bde8d099b4e58accee0acb2aeb37b155308bed637e9c003d639476dbb23852fc
<?php $list = array( 'epm_oss' => _('About OSS Endpoint Manager'), 'epm_advanced' => _('Settings'), 'epm_devices' => _('Extension Mapping'), 'epm_config' => _('Package Manager'), 'epm_templates' => _('Template Manager'), 'epm_placeholders' => _('Config File Placeholders') ); $li = array(); ...
PHP
views/rnav.php
FreePBX-ContributedModules/endpointman
gpl-3.0
1,973
68
codeparrot/github-code
719d5fbdceb92107de3ad31f79db11319cbd9371a7f524fe3ceabc75eda8d5bd
$(document) .ready(function() { generateTagsChart(); generateRecordsChart(); }); function generateRecordsChart(){ $.ajax({ url: "http://192.168.33.10:8000/api/v1/channel/" + channelID + "/time/", headers: { 'Authorization':'Token ' + api_token, 'X_CSRF_TOKEN': csrftoke...
JavaScript
evoca_v2/web_client/static/js/charts.js
jovencoda/evoca-v2
gpl-3.0
2,413
113
codeparrot/github-code
025fdb2879f7005ed67f09467e4b2e4194bd7f4eb6db0bc726aebe21f31b554d
package everlife.client.gui; import net.minecraft.client.Minecraft; import net.minecraft.client.gui.GuiScreen; import net.minecraftforge.fml.client.IModGuiFactory; import java.util.Set; public class EverlifeGuiFactory implements IModGuiFactory { @Override public void initialize(Minecraft minecraftInstance) ...
Java
src/main/java/everlife/client/gui/EverlifeGuiFactory.java
CoderAtParadise/EverLife
gpl-3.0
696
31
codeparrot/github-code
f5e193d38609d55dd0961f478f387ffcf399d45921009cae47638d06140b5fda
GO.tasks.TaskListsGrid = function(config){ if(!config) { config = {}; } config.layout='fit'; config.autoScroll=true; config.split=true; config.ddGroup='TasklistsDD'; config.enableDD=true; Ext.apply(config, { allowNoSelection:true, bbar: new GO.SmallPagingToolbar({ store:config.store, pageSiz...
JavaScript
files/rootdir/usr/local/src/groupoffice-6.3/modules/tasks/TaskListsGrid.js
deependhulla/powermail-debian9
gpl-3.0
2,053
101
codeparrot/github-code
b7d0c3dbd1400cbdaa477f1ed43d258058d0dcb0d4793b8c0815c56c869e6deb
<?php // This file is part of Moodle - http://moodle.org/ // // Moodle is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // Moodle ...
PHP
mod/coursework/classes/moderation_set_rule/minimum_range_grade_raw.php
universityofglasgow/moodle
gpl-3.0
5,019
155
codeparrot/github-code
1c339c88c72c257094ed86ac96676857a10f45f305e9c1f43e4832341a6e6236
/* ChibiOS/RT - Copyright (C) 2006-2013 Giovanni Di Sirio Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by ...
C
boards/OLIMEX_STM32_H407/board.h
JustRob83/virulent
gpl-3.0
82,729
1,302
codeparrot/github-code
f2a5de5671d3e6a14f84d64d7b3135af503c76682cbb6163cf5ed0da6f883073
#include "PAD.h" #include "dynamic_bitset.h" namespace whiteice { namespace crypto { bool PAD::encrypt(dynamic_bitset& data, const Keyschedule<dynamic_bitset>& k) throw() { try{ if(k.size() <= 0) return false; if(k.keybits() != data.size()) return false; data ^= k[0]; return tru...
C++
src/crypto/PAD.cpp
cslr/dinrhiw2
gpl-3.0
2,224
110
codeparrot/github-code
ac12b6274453db038767d18a646b9b1db50d5d838dde51213af19c2641587c55
/* * client_example_files.c * * This example demonstrates the usage of the file services * * - How to browse the file system of the server * - How to download a file from the server * * Note: intended to be used with server_example3 * */ #include "iec61850_client.h" #include <stdlib.h> #include <stdio.h> #...
C
examples/iec61850_client_example_files/client_example_files.c
tuvsmartgrid/libiec61850
gpl-3.0
2,550
109
codeparrot/github-code
22d53339669577227ce3235cf1f66e94a8d55b839c6b1bafcf70c7474f765a1c
/*------------------------------------------------------------------------- * pg_regress.h --- regression test driver * * Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * * $PostgreSQL: pgsql/src/test/regress/pg_regress....
C
thirdparty/postgresql-9.0.1/src/test/regress/pg_regress.h
TextusData/Mover
gpl-3.0
1,636
61
codeparrot/github-code
4f39559dd6a2ebda152a4aed7ca57b9ef1722bcbe46a5c959a181b5ce191bd24
/* * Copyright (C) 2016 Canonical, Ltd. * * 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 published * by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY...
C++
src/indicator/connectivity-service/dbus-sim.cpp
unity8-team/indicator-network
gpl-3.0
3,908
184
codeparrot/github-code
3ea87cd4ab3b0ebe4dfe825fe1985f7bdc221ddaede9569743669b77c4217764
<p>In the last post <a href="index.php/c-core-guidelines-type-erasure">C++ Core Guidelines: Type Erasure</a>, I presented two ways to implement type erasure: void pointers and object-orientation. In this post, I bridge dynamic polymorphism (object-orientation) with static polymorphism (templates) to get type erasure wi...
HTML
ModernesCpp/CppCoreGuidelinesTypeErasureWithTemplates/article.html
RainerGrimm/ModernesCpp
gpl-3.0
27,715
351
codeparrot/github-code
4f5cdba7ee6989761b3f0f5f053e5d4225da2b95e3adcbbfb3ef8a41de824b7f
<!DOCTYPE html> <!--[if lt IE 7 ]><html class="ie ie6" lang="en"> <![endif]--> <!--[if IE 7 ]><html class="ie ie7" lang="en"> <![endif]--> <!--[if IE 8 ]><html class="ie ie8" lang="en"> <![endif]--> <!--[if (gte IE 9)|!(IE)]><!--> <html lang="en" xmlns="http://www.w3.org/1999/html"> <!--<![endif]--> <head> <!-- Basic P...
HTML
admin/view/javascript/font-awesome/docs/index.html
maddes/madcart
gpl-3.0
64,715
1,776
codeparrot/github-code
1db9ad01c36e99e01862e5472b85e0b2714b0440fb09e87a4e99b2897a6ad0f1
# Copyright (C) 2003-2014 Yann Leboulanger <asterix AT lagaule.org> # Copyright (C) 2005-2007 Nikos Kouremenos <kourem AT gmail.com> # Copyright (C) 2006 Dimitur Kirov <dkirov AT gmail.com> # Copyright (C) 2008-2009 Julien Pivotto <roidelapluie AT gmail.com> # # This file is part of Gajim. # # Gajim is free software; y...
Python
gajim/gtk/message_input.py
gajim/gajim
gpl-3.0
10,219
285
codeparrot/github-code
f38a49529c560323855d24d7f72e5598bcae3533f7e89000aded0e5a62b19661
#include "stm32f10x.h" #include "LED.h" #include "delay.h" #include "sys.h" #include "usart.h" #include "TFT.h" #include "touch.h" void Load_Drow_Dialog(void) { LCD_Clear(WHITE);//ÇåÆÁ POINT_COLOR=BLUE;//ÉèÖÃ×ÖÌåΪÀ¶É« LCD_ShowString(216,0,"RST");//ÏÔʾÇåÆÁÇøÓò POINT_COLOR=RED;//ÉèÖû­±ÊÀ¶É« } int main(...
C
5.1触摸屏/USER/main.c
chempin/stm32f107-
gpl-3.0
1,281
71
codeparrot/github-code
539cded3ba499da683099e17662d9641ec81e8138f658b572ef0cfeee24837b3
/* Copyright (c) 2008-2011 TrueCrypt Developers Association. All rights reserved. Governed by the TrueCrypt License 3.0 the full text of which is contained in the file License.txt included in TrueCrypt binary and source code distribution packages. */ #ifndef STRIBOG_H #define STRIBOG_H typedef u...
C
Crypto/Stribog.h
Rafiot/GostCrypt-Win7
gpl-3.0
936
44
codeparrot/github-code
77bc97bcab78f2f442300a125f64ab569f72b1420a8690c67211577e746e74e9
var uistate = require('./uistate') var store = require('../utl/store') var gaga = require('../utl/gaga') var colorize = require('mscgenjs/dist/cjs/render/astmassage/colorize') var generalActions = require('./general-actions') function _applyColorScheme (pSchemeName, pForce) { uistate.manipulateSource(function (pAST)...
JavaScript
src/script/interpreter/input-actions.js
sverweij/mscgen_js
gpl-3.0
3,440
88
codeparrot/github-code
ec966b1b23a859fc01d4e4233d39c1088be506c2c4e1f459ec68bb91581d9331
/* * Copyright (C) 2011 True Blood <http://www.trueblood-servers.com/> * By Asardial */ #include "ScriptPCH.h" #include "ruby_sanctum.h" enum eScriptTexts { SAY_AGGRO = -1752022, SAY_SLAY1 = -1752023, SAY_SLAY2 = -1752024, SAY_DEATH = -1752025 }; enum eSpells {...
C++
src/server/scripts/Northrend/ChamberOfAspects/RubySanctum/boss_ragefire.cpp
Bootz/TrueBlood-Dev-Server
gpl-3.0
6,044
173
codeparrot/github-code
f901a9ce022925dc243f9a9d3d1c3c75a1c5ca4e94b8ec230018cf6377aba35d
/* * @Author: Arpan Jati * @Description: MainWindow / UI Stuff */ using Grapevine; using Grapevine.Server; using Microsoft.Win32; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Collections.Concurrent; using System.Diagnostics; using System.IO; using System.Linq...
C#
tnetd/UI/MainWindow2.xaml.cs
Trestor/trestor-core
gpl-3.0
5,772
217
codeparrot/github-code
9899cfd1cf1111d57b55fae6196ea758c59d19ce3dd77f1c1f15aa67a05dae61
<?php /* Gibbon, Flexible & Open School System Copyright (C) 2010, Ross Parker 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. ...
PHP
IB Diploma/cas_student_interview3.php
GibbonEdu/module-IBDiploma
gpl-3.0
10,884
158
codeparrot/github-code
6f83fba70d602ce35693f6933242ed9e5ef9bf414375793627574737ed41a960
import NoModel from 'jscommons/dist/errors/NoModel'; import Signature, { Opts } from './Signature'; import matchesClientOption from '../utils/mongoModels/matchesClientOption'; import FacadeConfig from '../utils/mongoModels/FacadeConfig'; import { STATEMENTS_COLLECTION_NAME } from '../utils/mongoModels//constants'; int...
TypeScript
src/repo/modelsRepo/getDownRefId/mongo.ts
LearningLocker/xapi-statements
gpl-3.0
1,026
39
codeparrot/github-code
19acf2e0ca2f450ea923142c7963ab9bcfd3046346c4ce559160268d5621d1c5
<?php /** * This file is part of Admin Tools 2. * * Admin Tools 2 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. * *...
PHP
files/lib/system/cache/CacheBuilderAdminToolsFunction.class.php
TacHawkes/net.hawkes.admintools
gpl-3.0
2,511
76
codeparrot/github-code
347857b54c7990deda63de2ed7197712e812dd19c1b7bce8ce6252c977dc21fa
package Mojo::Server::Hypnotoad; use Mojo::Base -base; # "Bender: I was God once. # God: Yes, I saw. You were doing well, until everyone died." use Config; use Mojo::File 'path'; use Mojo::Server::Prefork; use Mojo::Util 'steady_time'; use Scalar::Util 'weaken'; has prefork => sub { Mojo::Server::Prefork-...
Perl
local/lib/perl5/Mojo/Server/Hypnotoad.pm
skyter10086/sites
gpl-3.0
12,330
410
codeparrot/github-code
bc0e8fca368e9fb1960d2075856cbf3864e2a4d0bfffd0e47e2ed41b66e69a0e
<?php /** Copyright 2012-2017 Nick Korbel This file is part of Booked Scheduler. Booked Scheduler is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any...
PHP
booked/WebServices/Responses/GroupsResponse.php
rafaelperazzo/ufca-web
gpl-3.0
1,438
55
codeparrot/github-code
cd56a4bfcfd0d4f20fbf750aec3f63ce04dfc2f5f87319af60eb1b2e4e7f64b0
/* * (C) Copyright 2003 * Texas Instruments <www.ti.com> * * (C) Copyright 2002 * Sysgo Real-Time Solutions, GmbH <www.elinos.com> * Marius Groeger <mgroeger@sysgo.de> * * (C) Copyright 2002 * Sysgo Real-Time Solutions, GmbH <www.elinos.com> * Alex Zuepke <azu@sysgo.de> * * (C) Copyright 2002-2004 * Gary J...
C
PJ/uboot_kernel/u-boot-sunxi/arch/arm/lib/interrupts.c
estei-master/segment_SOL
gpl-3.0
4,008
183
codeparrot/github-code
e3ed76957d2926f9f4ea54c691fb699868f68b64ebdaff23f8a68ee6c2fd2aa1
# -*- coding: utf-8 -*- # Author: Mikhail Polyanskiy # Last modified: 2017-04-02 # Original data: Rakić et al. 1998, https://doi.org/10.1364/AO.37.005271 import numpy as np import matplotlib.pyplot as plt # Lorentz-Drude (LD) model parameters ωp = 9.03 #eV f0 = 0.760 Γ0 = 0.053 #eV f1 = 0.024 Γ1 = 0.241 #eV ω1 = 0....
Python
scripts/Rakic 1998 - Au (LD model).py
polyanskiy/refractiveindex.info-scripts
gpl-3.0
2,033
90
codeparrot/github-code
6fadce4675448a594932b131d885b9256298625cd87a9dd700500b801f172f55
<?php namespace Brenodouglasaraujosouza\Brcommerce\Models; use Model; /** * Return Model */ class Return extends Model { /** * @var string The database table used by the model. */ public $table = 'brenodouglasaraujosouza_brcommerce_returns'; /** * @var array Guarded fields */ p...
PHP
brcommerce/models/Return.php
brenodouglas/oc-brcommerce
gpl-3.0
724
39
codeparrot/github-code
e549bc53ed3db32f09b8bb2cc226d1131005216de86cc36a44f20646327e4bcc
#!/usr/bin/python # # lcd_i2c.py # lcd1602 class for character display initialization and usage via micropython # Supports 16x2 and 20x4 screens. # # Author : gr4vion # Date : 28-10-2016 # # On the base of: Matt Hawkins # http://www.raspberrypi-spy.co.uk/ # and 2013-2015 Danilo Bargen RPILCD # # Copyright 2015 Mat...
Python
spine/dd/spine/lcd_i2c.py
gr4viton/gr4Dalek
gpl-3.0
7,727
285
codeparrot/github-code
8671d284fce579af75e3c0e0767f75d664775739364718c042b2ebdff983bf9a
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd"> <html> <head> <title>fabula.core.server.Server : API documentation</title> <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> <link href="apidocs.css" type="text/css" rel="stylesheet" /> </h...
HTML
doc/fabula.core.server.Server.html
flberger/fabula
gpl-3.0
25,752
774
codeparrot/github-code
3027e58b059e51081287c025fe9ef582144a531707d1f6d20470f0a63acc0be8
using System; using System.Collections.Generic; using System.Linq; using System.Web; using Quartz; using Quartz.Impl; namespace mmria.server.model { public class remove_deleted_job : IJob { string couch_db_url = null; string user_name = null; string password = null; public remove_deleted_...
C#
source-code/scratch/owin/owin/model/remove_deleted_job.cs
icuseven/MMRDS
gpl-3.0
10,877
314
codeparrot/github-code
c33b7578b1b2d4c3db5583421c328a44a9c6d6a871ec53b1fa7fa2b76639b413
# -*- coding: utf-8 -*- from tespy.networks import network from tespy.components import sink, source, solar_collector from tespy.connections import connection import numpy as np from matplotlib import pyplot as plt import pandas as pd from mpl_toolkits.mplot3d import Axes3D # %% network fluid_list = ['H2O'] nw = net...
Python
oemof_examples/tespy/solar_collector/solar_collector.py
oemof/examples
gpl-3.0
2,857
114
codeparrot/github-code
32c5d731a4877ac4fe78f473fa3fad36fe94ccf698a79af0e48847c75732282b
/* * Copyright 2008-2013, ETH Zürich, Samuel Welten, Michael Kuhn, Tobias Langner, * Sandro Affentranger, Lukas Bossard, Michael Grob, Rahul Jain, * Dominic Langenegger, Sonia Mayor Alonso, Roger Odermatt, Tobias Schlueter, * Yannick Stucki, Sebastian Wendland, Samuel Zehnder, Samuel Zihlmann, * Samuel Zw...
Java
JukefoxAndroid/src/ch/ethz/dcg/pancho3/model/collection/ParcelableGenre.java
kuhnmi/jukefox
gpl-3.0
2,974
135
codeparrot/github-code
36f7cf0eda42bec1bf3006a999b6a9ea0a27497f9a165516d50bec3b30d172b0
<?php /** * A two factor authentication module that protects both the admin and customer logins * Copyright (C) 2017 Ross Mitchell * * This file is part of Rossmitchell/Twofactor. * * Rossmitchell/Twofactor is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public Li...
PHP
Block/Adminhtml/System/Account/QRCode.php
rossmitchell/module-twofactor
gpl-3.0
3,059
106
codeparrot/github-code