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
74bfc64b666913f6c56dc314a8e6c6778904b4ee93d6fced110d6ced74c5f590
package com.beltranfebrer.germanprepositions.ui.menu; import android.content.Intent; import android.view.Menu; import android.widget.Button; import com.beltranfebrer.germanprepositions.BuildConfig; import com.beltranfebrer.germanprepositions.R; import com.beltranfebrer.germanprepositions.ui.learningsession.LearnActiv...
Java
app/src/test/java/com/beltranfebrer/germanprepositions/ui/menu/MenuActivityTest.java
miquelbeltran/android-german-prepositions
gpl-3.0
2,262
62
codeparrot/github-code
2bce88d329343d1e6c307c06e83b7e5829e9b8fdf671ab30d1d5e5759a0e9612
<?php /** * @copyright Lutz Selke/TuTech Innovation GmbH * @author Lutz Selke <selke@tutech.de> * @since 2008-11-05 * @license GNU General Public License 3 */ /** * @package Bambus * @subpackage Request */ class RFiles extends BRequest { //read data from server path //merge data with $_POST privat...
PHP
System/Components/InputSupport.lib/RFiles.php
TuTech/DasCMS
gpl-3.0
2,176
103
codeparrot/github-code
bd0e2df30954834b059571b791c677baebf07351e03e8096bae17f2f27c52295
/* This file is part of Oakland-Scheduler. Oakland-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 later version. Oakland-Sch...
Java
src/Scheduler.java
garrickbrazil/Oakland-Scheduler
gpl-3.0
16,657
490
codeparrot/github-code
1f81dfc1f8d1426cc615109c731119b8568512c774f52711f0a110b84acbdfb1
#include<sys/types.h> #include<unistd.h> #include<fcntl.h> #include<linux/rtc.h> #include<linux/ioctl.h> #include<stdio.h> #include<stdlib.h> void main() { int fd; char data[256]; int retval; fd=open("/dev/fgj",O_RDWR); if(fd==-1) { perror("error open\n"); exit(-1); } printf("open /dev/fgj successfully\...
C
books/fengguojin/src/2synchronous/2-3rcu/test/test.c
gatieme/LDD-LinuxDeviceDrivers
gpl-3.0
575
42
codeparrot/github-code
6fb6fe275b3de0208e3831e22e054bd50a6d3548748879cfb3e7dc30f416093b
<!DOCTYPE html> <html lang="es"> <head> <meta charset="utf-8"> <!-- =========================================================================================== Instituto Municipal de Planeación y Competitividad de Torreón. Al usar, estudiar y copiar está aceptando los términos de uso de la informaci...
HTML
indicadores-gomez-palacio/sustentabilidad-indice-de-gestion-de-calidad-del-aire.html
TRCIMPLAN/beta
gpl-3.0
21,640
378
codeparrot/github-code
fec934cde11c02cb8524d80637b0b2e1c9101a74101be33223e77d3bc67fe9d5
// // THIS FILE IS AUTOMATICALLY GENERATED!! // // Generated at Wed 05-Nov-97 by the VDM++toC++ Code Generator // (v6.0e - Tue 04-Nov-97) // // Supported compilers: // g++ version 2.7.2 on SunOS4, SunOS5, Linux, HP-UX10 // Dec cxx version 5.5 on Alpha OSF1 // VC++ version 5.0 on Windows95, Windows NT // #ifndef _CG...
C
examples/pp/msaw/msaw-code/CGBase.h
vdmtools/vdmtools
gpl-3.0
5,580
176
codeparrot/github-code
9ad41796c5a3abf2dcb60ac798e343f4fcbf407e1185c876e125f7dbc3aa00ec
<?php PHPWS_Core::initModClass('sdr', 'Member.php'); class MemberProfileView extends sdr\View { protected $member; public function __construct(Member $m) { $this->member = $m; } public function show() { if(!UserStatus::isAdmin()) { PHPWS_Core::initModClass('sdr', 'exception/Permissio...
PHP
class/MemberProfileView.php
AppStateESS/clubconnect
gpl-3.0
5,087
147
codeparrot/github-code
9a2e6b410db77fe6a53cceb46d96009437d4e3617e8be37c432ce5f1d457f2b6
# -*- coding: utf-8 -*- import datetime from kivy.app import App from kivy.uix.widget import Widget import random from kivy.clock import Clock from kivy.properties import StringProperty, NumericProperty from webScrape import webScraper class MirrorWindow(Widget): dayPrint = ['Sön', 'Mån', 'Tis', 'Ons', 'Tors', ...
Python
main.py
jwesstrom/cleverMirror
gpl-3.0
1,861
54
codeparrot/github-code
71abdb6d115e596e4efce32a72822a5773b7638c62ea0c01c8a577ab9636a9eb
package com.quaap.primary.base.component; import android.content.Context; import android.graphics.Color; import android.graphics.Point; import android.graphics.Typeface; import android.os.Build; import android.util.TypedValue; import android.view.Display; import android.view.Gravity; import android.view.KeyEvent; impo...
Java
app/src/main/java/com/quaap/primary/base/component/Keyboard.java
quaap/Primary
gpl-3.0
7,466
209
codeparrot/github-code
e4cb7894a9f8ef302cc11eed95658b367c442fc78c49b5942d428370c238440b
/* * MobileDataFragment * Copyright (C) 2016 Lynn * * 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
app/src/main/java/com/lynn9388/datamonitor/fragment/MobileDataFragment.java
lynn9388/data-monitor
gpl-3.0
13,132
329
codeparrot/github-code
cd583d22457b19fbc5e8195572c56ec16a7bc1974e2b68f78b3c8ac3d1014900
/* -*- Mode: JavaScript; coding: utf-8; tab-width: 3; indent-tabs-mode: tab; c-basic-offset: 3 -*- ******************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright create3000, Scheffelstraße 31a, Leipzig, Germany 2011. ...
JavaScript
src/cobweb/Components/Rendering/IndexedTriangleStripSet.js
create3000/cobweb
gpl-3.0
5,598
173
codeparrot/github-code
1d9f04b04bf46da34bcc22b5866cfe6da020ae004d17f0aa8f85e798a5d9e9d4
package org.openpnp.machine.reference.driver; import java.awt.event.ActionEvent; import java.io.IOException; import java.util.ArrayList; import java.util.Arrays; import java.util.HashSet; import java.util.List; import java.util.Locale; import java.util.Set; import java.util.concurrent.LinkedBlockingQueue; import java....
Java
src/main/java/org/openpnp/machine/reference/driver/GcodeDriver.java
sp-apertus/openpnp
gpl-3.0
49,165
1,344
codeparrot/github-code
11a0022c8a9657e5754a67ca92dfe038331e6bc2e564c5f58804815a646b67b5
#ifndef CANA_INTEGRATE_H #define CANA_INTEGRATE_H #include <cmath> #include <vector> #include <cstddef> // limit of bins for simpson integration by precision #define MAX_SIMPSON_BINS 50000 // limit of bin size for simpson method (relative diff. b/a - 1.) #define MIN_SIMPSON_SIZE 1e-15 namespace cana { // weight ...
C
lib/cana/include/cana_integrate.h
asymmetry/PRadAnalyzer
gpl-3.0
4,687
143
codeparrot/github-code
5fb156438da6949e542d75bfaaee8850f81c54f789d88f4947c08e32c2b51dce
#include "dialogcharapicker.h" #include "ui_dialogcharapicker.h" #include <QDir> #include <QPushButton> #include "core.h" DialogCharaPicker::DialogCharaPicker(QWidget *parent, bool tile_pick) : QDialog(parent), ui(new Ui::DialogCharaPicker) { ui->setupUi(this); ui->stackedStatic->setCurrentWidget(tile_...
C++
src/dialogcharapicker.cpp
Zegeri/Editor-Qt
gpl-3.0
5,949
225
codeparrot/github-code
3195958a44e39da7895111f09149e5cd92c284c77b7ad2a3ebd045d63ffd5a46
/* * * Developed by Alexander Hart * Plant Computational Genomics Lab * University of Connecticut * * For information, contact Alexander Hart at: * entap.dev@gmail.com * * Copyright 2017-2021, Alexander Hart, Dr. Jill Wegrzyn * * This file is part of EnTAP. * * EnTAP is free software: you can redistrib...
C++
src/GraphingManager.cpp
harta55/EnTAP
gpl-3.0
15,288
443
codeparrot/github-code
93445365233e6d1fedeb9f2a784130a498546786e52d1539b6a4e22c2866c3ba
$(document).ready(function () { $(window).on('load', function() { let pathname = window.location.pathname.split('/') // console.log(pathname) if(pathname[1]==='operador') { $('#home').addClass('active') let action = pathname[2].split('-') if (action[0]==='update' || action[0]==='perfi...
JavaScript
src/public/scripts/script.js
jonilsondeveloper/repositorio-qms
gpl-3.0
7,555
216
codeparrot/github-code
f4bea036e825af1dd15a872dc7c785a2a85baca337c650deb12121f0d3853260
<html lang="en"> <head> <title>Highlighting Difference Regions - Ediff User's Manual</title> <meta http-equiv="Content-Type" content="text/html"> <meta name="description" content="Ediff User's Manual"> <meta name="generator" content="makeinfo 4.13"> <link title="Top" rel="start" href="index.html#Top"> <link rel="up" hr...
HTML
aquamacs/doc/Aquamacs Help/ediff/Highlighting-Difference-Regions.html
xfq/aquamacs-emacs
gpl-3.0
8,880
140
codeparrot/github-code
d5de43c8e19668b68bf6c8e384d60815ab023743c82c41fd5297ab1b2d4e993f
(function(){ function isValid($, eventName){ var valid = true; $.each(function(i, el){ valid = valid && el.dispatchEvent(new Event(eventName)); }); return valid; } function setHandler(els){ els.each(function(i, el){ if(!(el instanceof HT...
JavaScript
web/app/login.js
TrigenSoftware/OpenSayThank
gpl-3.0
3,081
94
codeparrot/github-code
00565d85cdff1815c04753ba2619a61eaab990c572b3d7a4500dcffc27933893
#pragma once #include <iostream> #include <opencv2/opencv.hpp> #include <opencv2/highgui/highgui.hpp> #include <opencv2/video/background_segm.hpp> #include "IBGS.h" #include "QDir" class MixtureOfGaussianV1BGS : public IBGS { private: bool firstTime; cv::BackgroundSubtractorMOG mog; cv::Mat img_foreground; do...
C
BgsubtractorPlugin/package_bgs/MixtureOfGaussianV1BGS.h
noobavss/nooba-plugin-bgsubtractor
gpl-3.0
674
33
codeparrot/github-code
110da351d8b5d1ef3244d76ed17b7c605ad2c94e291894fdab158fba542d8a8c
#include "intrinsics.h" #include "swihook.h" #include "core.h" #include "remap.h" #include "string.h" unsigned int *__swihook_lib = 0; void __swihook_bxlr(){}; void __swihook_abort(unsigned short swinum, unsigned int swi_call_lr_address) { __core_lprintf("*** swihandler: no function %d (%03X) LR = ...
C
Platform/loaders/ToPorting/swihook.c
DemonSinusa/SiemanC
gpl-3.0
2,639
101
codeparrot/github-code
550e937da6849d05068614430ed5a5c3375913caf3b1d88ee0e4f4dd1074d541
/* fonts from jay */ @import url(https://fonts.googleapis.com/css?family=Open+Sans:400,300); @import url(https://fonts.googleapis.com/css?family=Bitter); /* font-family: 'Open Sans', sans-serif; font-family: 'Bitter', serif; */ h1, h2, h3, h4, h5, h6 { font-family: 'Open Sans', sans-serif; } input[type="text"], inp...
CSS
core/dslmcode/profiles/cis-7.x-1.x/themes/cis-theme/css/cis_theme.css
bigwhirled/elmsln
gpl-3.0
23,924
1,278
codeparrot/github-code
fc6b605ea2965150759042940a093899e9e280af5be455da6f6626397255c53b
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. import errno import logging import os import...
Python
pootle/apps/pootle_app/project_tree.py
pavels/pootle
gpl-3.0
16,304
459
codeparrot/github-code
f2abe6672270b387b2eeafaf63f9d9a84a58e9a3dd79a8374a335e53452e1a77
# # BitBox02 Electrum plugin code. # import hid from typing import TYPE_CHECKING, Dict, Tuple, Optional, List, Any, Callable from electrum_grs import bip32, constants from electrum_grs.i18n import _ from electrum_grs.keystore import Hardware_KeyStore from electrum_grs.transaction import PartialTransaction from electr...
Python
electrum_grs/plugins/bitbox02/bitbox02.py
GroestlCoin/electrum-grs
gpl-3.0
27,314
717
codeparrot/github-code
daa5d0749d9c030a4b2c71b676c182d1f7f1c0174b9c5df278e9865b8cff4563
// {{{ Header /*** * * WHAT * * Implementation of module CPAT * * COPYRIGHT * * (C) Kyushu University * * SPECIFICATION VERSION * * cpat.cc: Implementation of cpat.vdm 1.8 ***/ // }}} // {{{ includes #include "compile.h" #include "INSTRTP.h" #include "astaux.h" #include "asquotes.h" #include "pattern.h...
C++
code/eval/cpat.cc
vdmtools/vdmtools
gpl-3.0
36,352
1,003
codeparrot/github-code
e1da11980fdd699389ba83b28c2133c055592f37630bbaecd42876450ff4f788
// Copyright (C) Explorer++ Project // SPDX-License-Identifier: GPL-3.0-only // See LICENSE in the top level directory #pragma once #include "Plugins/LuaPlugin.h" #include "PluginInterface.h" namespace std { namespace filesystem { class path; } } namespace Plugins { class PluginManager { ...
C
Explorer++/Explorer++/Plugins/PluginManager.h
derceg/explorerplusplus
gpl-3.0
789
39
codeparrot/github-code
5e3f2209b1c66e96fc0bd08d19930d2da43e669efa74e953e5d3db429a8b0d90
<?php require_once('milestone_services.php'); class block_milestone extends block_base { /**#@+ * Modes */ const MODE_OPERATIONS_MENU = 1; const MODE_MILESTONE_TARGET_NEXT = 2; /**#@-*/ /** * @return void */ public function init() { $this->title = get_string...
PHP
blocks/milestone/block_milestone.php
ket-ed/ket-moodle
gpl-3.0
2,775
113
codeparrot/github-code
e597bad8368a06c19157847edac9556156c29f4042f97d10a980e3f791324d16
/*An integer x is said to be Noble given an array if the number of integers greater than x are equal to x. If there are many Noble integers, any of them is returned. If there is no noble integer, then return -1.*/ #include<bits/stdc++.h> using namespace std; int Noble(vector<int> &A) { int n = A.size(); if...
C++
Nobel_Integer/Noble_Integer.cpp
jainaman224/Algo_Ds_Notes
gpl-3.0
1,043
57
codeparrot/github-code
8685aeaf69c50de77d4fba0f8da28cc8543022eae94ff8b639b82d7799f06f8f
# BSD 3-Clause License # # Copyright (c) 2016-19, University of Liverpool # 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 retain the above copyright notic...
Python
conkit/io/_parser.py
fsimkovic/cptbx
gpl-3.0
3,072
93
codeparrot/github-code
cbcacb2ec2154852a30b7e79b78725c810438ba0fabceff780ae3bd05976696d
#-*- coding: utf- -*- import os import sys import random import time import json import wikiquote import tuitear from threading import Thread CONGIG_JSON = 'bots.json' # Variable local, para modificar el intervalo real cambiar la configuración INTERVALO = 1 stop = False def start_bot(bot): """ Hilo que inicia ...
Python
bot.py
sh4r3m4n/twitter-wikiquote-bot
gpl-3.0
1,878
68
codeparrot/github-code
dea0875c94af253c428fc1660820a623a94f6e3168b07c08ec90925549c4e95e
/* */ package othello.algoritmo; import othello.Utils.Casilla; import othello.Utils.Heuristica; import othello.Utils.Tablero; import java.util.ArrayList; /** * * @author gusamasan */ public class AlgoritmoPodaAlfaBeta extends Algoritmo{ // ---------------------------------------------------------------------- /...
Java
Othello/src/othello/algoritmo/AlgoritmoPodaAlfaBeta.java
nicomda/AI
gpl-3.0
4,156
142
codeparrot/github-code
069f2dc62dcdcece5291c866f5fd96edb2f69e5300ac17e4d86dd8db731ecc64
/* * pmlinuxalsa.c -- system specific definitions * * written by: * Roger Dannenberg (port to Alsa 0.9.x) * Clemens Ladisch (provided code examples and invaluable consulting) * Jason Cohen, Rico Colon, Matt Filippone (Alsa 0.5.x implementation) */ #include "stdlib.h" #include "portmidi.h" #ifdef...
C
vendors/pd-extended-0.43.4/pd/portmidi/pm_linux/pmlinuxalsa.c
rvega/morphasynth
gpl-3.0
28,357
783
codeparrot/github-code
1da488d3eaae051934d6da342b15084ee61398911482001d368f851aa4cd6322
// <osiris_sps_source_header> // This file is part of Osiris Serverless Portal System. // Copyright (C)2005-2012 Osiris Team (info@osiris-sps.org) / http://www.osiris-sps.org ) // // Osiris Serverless Portal System is free software: you can redistribute it and/or modify // it under the terms of the GNU General Pub...
C++
client/src/http/httprequest.cpp
OsirisSPS/osiris-sps
gpl-3.0
15,088
480
codeparrot/github-code
8dbcb1697b2bbe7e713d070c0bb464ea3f28eec185fe57ab1e43c9ea235173bb
/** * Copyright (c) 2012 Todoroo Inc * * See the file "LICENSE" for the full license governing this code. */ package com.todoroo.andlib.data; import android.content.ContentValues; import android.os.Parcel; import android.os.Parcelable; import com.todoroo.andlib.data.Property.IntegerProperty; import com.todoroo.an...
Java
api/src/main/java/com/todoroo/andlib/data/AbstractModel.java
cinash/tasks
gpl-3.0
16,528
541
codeparrot/github-code
0a5067a1f0c3490236932f38cfc0ceb1b8be09a409e8109072075ce7a23e909a
var DI = require('../'); function A(options) { this.name = 'A'; this.options = options; } function B(options) { if (! (this instanceof B)) { return new B(options); } this.name = 'B'; this.options = options; } var di = new DI(); function S(msg) { console.log(msg); } di.addConfig({ A: A, B: B, ...
JavaScript
example/ex1.js
zerkalica/micro-di
gpl-3.0
832
61
codeparrot/github-code
6367f1cfcaf8f56ece4ad8de05625a669a5822e646d1d0643e0887e5697df019
/** * jash - Just another shell * * Copyright (C) 2012 Mattias Andrée (maandree@kth.se) * * jash 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...
Java
src/se/kth/maandree/jash/lineread/LineHistory.java
maandree/jash
gpl-3.0
2,823
148
codeparrot/github-code
7c1daacf344547a7cab5fe932541643db6e53d318b601ba212e2b98dbae7d019
/* Copyright © 2014-2015 by The qTox Project This file is part of qTox, a Qt-based graphical interface for Tox. qTox is libre 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/audio/audio.h
minj/qTox
gpl-3.0
3,968
138
codeparrot/github-code
1c7a656c781b508bd426a2558819656932849a6e68db274200c718153e163cba
/** * Author: Andrew Deren * Date: July, 2004 * http://www.adersoftware.com * * StringTokenizer class. You can use this class in any way you want * as long as this header remains in this file. */ using System; namespace GKCommon { public enum TokenKind { Unknown, Word...
C#
projects/GKCommon/GKCommon/StringTokenizer.cs
g10101k/GEDKeeper
gpl-3.0
9,908
361
codeparrot/github-code
30b77c043b16f56c4ba0c5ab4823b8e8cd800a68970d986bce6a9cf2150a8c97
/* * catregexpnoderepeater.h * * Created on: Jun 24, 2010 */ #ifndef CATREGEXPNODEREPEATER_H_ #define CATREGEXPNODEREPEATER_H_ #include "catregexpnode.h" G_BEGIN_DECLS #define CAT_TYPE_REGEXP_NODE_REPEATER (cat_regexp_node_repeater_get_type()) #define CAT_REGEXP_NODE_REPEATER(obj) (G_TYPE...
C
caterpillar/src/regexp/catregexpnoderepeater.h
douwevos/natpad
gpl-3.0
1,363
41
codeparrot/github-code
ab00a4a8bba6985aa52f9b99b35abced1e1ba603d4d4fb2f19a1f8b677beda47
using UnityEngine; namespace UnityStandardAssets.Characters.ThirdPerson { [RequireComponent(typeof(Rigidbody))] [RequireComponent(typeof(CapsuleCollider))] [RequireComponent(typeof(Animator))] public class ThirdPersonCharacter : MonoBehaviour { [SerializeField] float m_MovingTurnSpeed = 360...
C#
MagicBowlProject/Assets/Scripts/ThirdPersonCharacter.cs
diegoob11/MagicBowl
gpl-3.0
8,855
226
codeparrot/github-code
d7bd76298191432348d82940687078f1644016709f1fdb54cb9a5e493bb7109a
import os import logging import tornado.options as opt from motherbrain.base import conf from motherbrain.base.conf import get_config SITE_CONF = conf.site_conf(os.getcwd()) DATADIR = SITE_CONF.get('env.motherbrain_data', '/tmp') API_URL = SITE_CONF.get('env.api_url') WEBCLIENT_URL = SITE_CONF.get('env.webclient_url...
Python
motherbrain/api_server/conf.py
urlist/urlist
gpl-3.0
2,842
89
codeparrot/github-code
2030b4d4c71714e8eccc9e3e21804d5834e635e9bafc8be5173527b5c013eb77
package edu.tcfsh.arrivinglaterecordapp; import java.io.File; import java.io.IOException; import java.util.ArrayList; import edu.tcfsh.arrivinglaterecordapp.R; import jxl.Cell; import jxl.CellType; import jxl.LabelCell; import jxl.NumberCell; import jxl.Sheet; import jxl.Workbook; import jxl.read.biff.BiffException;...
Java
src/edu/tcfsh/arrivinglaterecordapp/SearchingStudentFragment.java
kizax/ArrivingLateRecordApp
gpl-3.0
5,648
208
codeparrot/github-code
37ed20b0c7e969d93187f2e28759d6149e0017756949e3c127cfe6313c173be1
// This file is part of the PATH PLANNING PLUGIN for V-REP // // Copyright 2006-2014 Coppelia Robotics GmbH. All rights reserved. // marc@coppeliarobotics.com // www.coppeliarobotics.com // // The PATH PLANNING PLUGIN is licensed under the terms of EITHER: // 1. PATH PLANNING PLUGIN commercial license (contact...
C++
sourceCode/pathPlanning/HolonomicBiRRT.cpp
aidyk/SGMP
gpl-3.0
51,465
1,285
codeparrot/github-code
87d29d48249757d8ac14ecceabeafbbc443ab387c9ccc5aa3fccd725e9a05694
/*************************************************************** * Name: CompilerDlg.h * Purpose: Defines Compiler Dialog Class * Author: kushagra gour a.k.a chin chang (chinchang457@gmail.com) * Created: 2010-11-21 Copyright 2010 Kushagra Gour (http://kushagragour.in) This file is p...
C
src/CompilerDlg.h
chinchang/JIDE
gpl-3.0
2,007
76
codeparrot/github-code
c820bbc6ee92d69864ace32199af352c593fb4b6b9b0cfbf273fc82f326028d3
/* RetroArch - A frontend for libretro. * Copyright (C) 2010-2012 - Hans-Kristian Arntzen * * RetroArch 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 Found- * ation, either version 3 of the License, or (at your...
C
audio/ext_audio.c
palfrey/RetroArch
gpl-3.0
4,468
165
codeparrot/github-code
a0f9fb90a571068b5f5dbebe2adf7a716414ca5b6a70bc84e9eb6b6ff4db08d0
/*---------------------------------------------------------*/ /*! * This file is part of Humbug, the strangest game ever. * License details can be found in the file COPYING. * Copyright (c) 2013, EvePanix. All rights reserved. * * \brief This file contains the definition of * the SubmenuB.cpp cla...
C++
projects/Humbug/src/Screens/MenuScreen/SubmenuB.cpp
Jedzia/Humbug
gpl-3.0
5,997
185
codeparrot/github-code
05a63a4cce6ee599953e03a3b03d47a0e6ba628d8cd0f4833253bf47f5f34c78
/**************************************************************************** **************************************************************************** *** *** This header was automatically generated from a Linux kernel header *** of the same name, to make information necessary for userspace to *** call i...
C
cross/android-toolchain/sysroot/usr/include/linux/iio/types.h
javilonas/NCam
gpl-3.0
2,679
112
codeparrot/github-code
d93d48d14ac20ed632b29694a18c5440da1493e54937146279c87694047b1b4b
<?PHP require_once("website.php"); $adminModuleUtils->checkAdminModule(MODULE_ELEARNING); $mlText = $languageUtils->getMlText(__FILE__); $warnings = array(); $formSubmitted = LibEnv::getEnvHttpPOST("formSubmitted"); if ($formSubmitted) { $elearningCourseId = LibEnv::getEnvHttpPOST("elearningCourseId"); $name...
PHP
modules/elearning/course/edit.php
stephaneeybert/learnintouch
gpl-3.0
16,124
381
codeparrot/github-code
0c521e2b9828b03acbe7e812f245709f1d661a4bafd023f67d60ed0b4545f29c
#This file is part of Tryton & Nereid. The COPYRIGHT file at the top level of #this repository contains the full copyright notices and license terms. import imp from flask.config import ConfigAttribute, Config as ConfigBase # noqa class Config(ConfigBase): "Configuration without the root_path" def __init__...
Python
nereid/config.py
NaN-tic/nereid
gpl-3.0
1,087
32
codeparrot/github-code
9c36ee697b4afda941255ddbde730ceb1d4be09bfabae22a471f265ba8b66ad3
// Kyle Bull // RPG Project 2016 // Item System using UnityEngine; using System.Collections; using UnityEditor; namespace KyleBull.ItemSystem.Editor { public partial class ISObjectEditor { enum DisplyState { NONE, WEAPONDETAILS }; ISWeapon tempWeapon =...
C#
RPG_Project_2016/Assets/KyleEditor/Item System/Scripts/Editor/ISObject/ISObjectDetails.cs
TeamTriGurren/RPG_Project_2016
gpl-3.0
3,167
109
codeparrot/github-code
a82495d3d318aeea333c178f3f6363d16b21d537acbce32b3257b1d7c7a17e5d
// Base class window for all the different types of transmission lines #include <math.h> #include <QStringList> #include <QPixmap> #include "tline.h" #include "mainwindow.h" // fixme take a new parameter with enum singleended or differential. draw // appropriately. we won't be changing this on the fly. TlineWindow::...
C++
application/tline.cpp
bkuschak/cipcb
gpl-3.0
20,566
585
codeparrot/github-code
56658ba87350e9d77d785c401c31e8f7775e772264f693b6ceeda3d783ff82f8
package net.kodehawa.mantarobot.commands.anime; public class CharacterData { public Boolean favourite = null; public Integer id = null; public String image_url_lge = null; public String image_url_med = null; public String info = null; public String name_alt = null; public String name_first = null; public Strin...
Java
src/main/java/net/kodehawa/mantarobot/commands/anime/CharacterData.java
RagingFury200/MantaroSox
gpl-3.0
828
46
codeparrot/github-code
adb6dd474b213874da0a71030d604d5acdaa63e3171274c97ec1d14cac7386c6
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | \\ / A nd | Copyright (C) 2008-2010 OpenCFD Ltd. \\/ M anipulation | ---------------...
C++
src/lagrangian/intermediate/submodels/Kinematic/PostProcessingModel/PostProcessingModel/PostProcessingModelI.H
themiwi/freefoam-debian
gpl-3.0
1,719
55
codeparrot/github-code
1e89a09e15ac9602a8dee668198a45568f3f8d8a42bfa73d569f07d6758ae5e4
/* * Copyright (C) 2018 The "MysteriumNetwork/node" 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. * ...
GO
core/node/options_directory.go
MysteriumNetwork/node
gpl-3.0
2,195
82
codeparrot/github-code
eebc4dcfa1abad2736a80f46622aa66f95c60c1da7e3517daa86f645e635476e
/* * This file is part of the Artenus 2D Framework. * Copyright (C) 2015 Hessan Feghhi * * 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 y...
Java
src/main/java/com/annahid/libs/artenus/Artenus.java
hessan/artenus
gpl-3.0
9,599
300
codeparrot/github-code
967aef5a2e47803eb295e73e80f201bf7a219ff8e33d6c0768a4b5d208cb65dd
//****************************************************************************************** // Boxoban: A retro pixel-art puzzle 2D game made with Unity 4.5 // Copyright (C) 2015 Gorka Suárez García // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General P...
C#
Assets/Scripts/Game/LevelData.cs
gorkinovich/Boxoban
gpl-3.0
8,426
245
codeparrot/github-code
07a6fab1bb1fc3ebae4920f733279708a05650d35f75b3ab5a9d308466a7bd6a
/** * @file problem.c * @brief Example problem: Radiation forces * @author Hanno Rein <hanno@hanno-rein.de> * @detail This example provides an implementation of the * Poynting-Robertson effect. The code is using the IAS15 integrator * which is ideally suited for this velocity dependent force. * * @section ...
C
examples/prdrag/problem.c
quasars100/Resonance_testing_scripts
gpl-3.0
4,184
129
codeparrot/github-code
2966aaf449ba4117065717360caae7f4b3e218daa3286b3332f96548d662813b
<?php /** * @package Joomla.Site * @subpackage Templates.protostar * * @copyright Copyright (C) 2005 - 2016 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt * Line added to test how sync works */ defined('_JEXEC') or die; $app ...
PHP
index.php
ujas123/icd_roffing
gpl-3.0
8,172
281
codeparrot/github-code
09774b5a58062a313eb10628c8c2d708250f3907153f807c4e74c4d860377123
<?php namespace App\Forms; use App\Facades\FormTool; use Kris\LaravelFormBuilder\Form; class BaseForm extends Form { public const XML = ''; public function buildForm(): void { $result = FormTool::parseXML(app_path(static::XML)); $this->setFormOptions( [ 'clas...
PHP
app/Forms/BaseForm.php
jooservices/XGallery
gpl-3.0
1,437
67
codeparrot/github-code
eacac9ef9e93f17ba9785c4a3fbac2a8ab5f7c88d502ea353ee504a7d60c742b
<?php require_once 'config.php'; if (getBearerToken() != $config["token"]) { $text = "I've been told not to talk to strangers."; } else { try { $context = stream_context_create( array( 'http' => array( 'timeout' => 1 ) ) ); $digit_values = filter_input_array(INPUT...
PHP
alexa/endpoint/index.php
theapi/multi7segs
gpl-3.0
2,319
85
codeparrot/github-code
4af7bc8f8d82bc42cc170a07f4c21345647f4d586627c3d87809c13521325973
/* dzl-shortcut-theme.c * * Copyright (C) 2016 Christian Hergert <chergert@redhat.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 2 of the License, or * (at your opt...
C
src/shortcuts/dzl-shortcut-theme.c
chergert/libdazzle
gpl-3.0
31,155
984
codeparrot/github-code
fe82a6a6d456fc5e27f2e0c807000abd072116308ece54ac17049767c78ee4c8
<?php if(session_status()!=2) { session_start(); } if(isset($_SERVER["HTTPS"]) == false) { header("Location: https://" . $_SERVER["HTTP_HOST"] . $_SERVER["REQUEST_URI"]); die(); } //set debug? if(isset($_REQUEST['debug'])) { if($_REQUEST['debug']=="true") { $_SESSION['debug'] = true; $debug = true; $debugAr...
PHP
html/login.php
3RaGaming/Web_Control
gpl-3.0
11,150
316
codeparrot/github-code
6a19a82a43937e7eed0f3a20465660845cfef427d507b6d9e58652b3d2213da1
/* ----------------------------------------------------------------------------- This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info, see http://www.ogre3d.org Copyright (c) 2000-2009 Torus Knot Software Ltd Permission is hereby granted, free of charge, to any person obtain...
C++
dependencies/Ogre/Components/RTShaderSystem/src/OgreShaderExNormalMapLighting.cpp
gorkinovich/DefendersOfMankind
gpl-3.0
56,266
1,473
codeparrot/github-code
8968989eb6bf206e8e57f43392d4dd495bc1ee9bc0eb02a54797a25102ebb825
package com.ab.concurrent.samples; import java.util.concurrent.*; import java.util.logging.Logger; /** * Created by Abey on 1/12/2017. */ public class ScheduledExecutorSample { private static Logger log = Logger.getLogger(ScheduledExecutorSample.class.getName()); public static void main(String... args) ...
Java
Trials/java8-concurrency/src/com/ab/concurrent/samples/ScheduledExecutorSample.java
abeym/incubator
gpl-3.0
2,146
60
codeparrot/github-code
b82e83ec64701543fd58f092256e1d4d2b7adf695d38da1237bbd08270960bdb
// $Id$ //============================================================================== //! //! \file Vec3.h //! //! \date Dec 10 2008 //! //! \author Knut Morten Okstad / SINTEF //! //! \brief Representation of a point in 3D space with some basic operations. //! //=====================================================...
C
src/Utility/Vec3.h
VikingScientist/IFEM
gpl-3.0
6,845
238
codeparrot/github-code
f66accca4fe8b84ddcc26ed2e906790599ab51bdcd337f388545ecdadb165e59
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using Windows.Data.Xml.Dom; using Windows.UI.Notifications; namespace SmokSmog.Tiles { using Diagnostics; using Notification; using ViewMode...
C#
Core/SmokSmog.Core.Shared/Tiles/TilesUpdater.cs
SmokSmog/smoksmog-windows
gpl-3.0
9,066
231
codeparrot/github-code
00552b3aa779b58ae0a72deaadd9c20bb6547de57b2181a87f13d60dc83b8239
/** * Marlin 3D Printer Firmware * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] * * Based on Sprinter and grbl. * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General...
C++
Marlin/src/lcd/dogm/u8g_dev_ssd1309_12864.cpp
1stsetup/Marlin
gpl-3.0
4,688
129
codeparrot/github-code
2cf38da99c20156898d0bf2244bc762ed89dd50e1f791bc5e9f352fb6234c469
/* * NMRFx Processor : A Program for Processing NMR Data * Copyright (C) 2004-2017 One Moon Scientific, Inc., Westfield, N.J., USA * * 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...
Java
src/main/java/org/renjin/studiofx/console/ConsoleFx.java
brucejohnson/studiofx
gpl-3.0
19,434
597
codeparrot/github-code
2dde630ed44eacc43fa369a3de2136faf6a629a012e063d5c8daac7425926ac5
/* * Grakn - A Distributed Semantic Database * Copyright (C) 2016 Grakn Labs Limited * * Grakn 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...
Java
grakn-factory/titan-factory/src/test/java/ai/grakn/factory/TitanInternalFactoryTest.java
sklarman/grakn
gpl-3.0
8,366
205
codeparrot/github-code
e7f346983aee9c0285de4c7345155aa5dd019862c3ef658b5eecc695931b4f69
/* AGS - Advanced GTK Sequencer * Copyright (C) 2015 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 versi...
C
src/ags/X/machine/ags_replicator_bridge.c
weedlight/gsequencer
gpl-3.0
16,818
574
codeparrot/github-code
c118a60723f904ee6aca93d228b47559d67e5e8a38943acf31c90ca216a931a9
### # Copyright 2016 - 2022 Green River Data Analysis, LLC # # License detail: https://github.com/greenriver/hmis-warehouse/blob/production/LICENSE.md ### module Cas class NonHmisClient < CasBase include ArelHelper self.inheritance_column = :_type_disabled # disable STI belongs_to :client, class_name: '...
Ruby
app/models/cas/non_hmis_client.rb
greenriver/hmis-warehouse
gpl-3.0
5,522
151
codeparrot/github-code
032a70edbd0ad0c52ca055ca72648c9b4284e854d7d10907c6068d80ac220eb0
// $Id$ # ifndef CPPAD_LOAD_OP_HPP # define CPPAD_LOAD_OP_HPP /* -------------------------------------------------------------------------- CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-15 Bradley M. Bell CppAD is distributed under multiple licenses. This distribution is under the terms of the ...
C++
3rd_scip/cppad/local/load_op.hpp
LiangliangNan/PolyFit
gpl-3.0
19,676
689
codeparrot/github-code
1ded38e7a717e3c9413c4445cda45b0bfc99e7c3837291d194780786f151b182
""" Here, we need some documentation... """ from __future__ import absolute_import from __future__ import division from __future__ import print_function import sys import os import types import threading import time import six from DIRAC import gLogger from DIRAC.Core.Utilities.DIRACSingleton import DIRACSingleton @...
Python
src/DIRAC/Core/Utilities/Devloader.py
yujikato/DIRAC
gpl-3.0
2,365
94
codeparrot/github-code
456e078a6c47006c58bdd0b80e02b8b49b28f0d1700fd71959df213dc5cfcb59
#!/usr/bin/env python #-*- coding: utf-8 -*- # # Copyright (c) 2010 Jean-Baptiste Denis. # # This is free software; you can redistribute it and/or modify it under the # terms of the GNU General Public License version 3 and superior as published by the Free # Software Foundation. # # A copy of the license has been inclu...
Python
examples/monitor-threaded.py
jbd/treewatcher
gpl-3.0
4,149
125
codeparrot/github-code
4b67f1519e66006167e9db89583fe9c493295ee549633f79bbf74473e600a03c
/** * ElementwiseMutationFunctionTester.java * * Copyright 2009, 2010 Jeffrey Finkelstein * * This file is part of jmona. * * jmona 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 ...
Java
jmona-model/src/test/java/jmona/impl/mutation/ElementwiseMutationFunctionTester.java
jfinkels/jmona
gpl-3.0
2,667
80
codeparrot/github-code
fa5b3815c2660020747c08a14dc1c837a76928e76a6c7be4773ccebd0b9bfd9b
<?php if (!defined('IDIR')) { die; } /*======================================================================*\ || #################################################################### || || # vBulletin - Licence Number VBF98A5CB5 || # ---------------------------------------------------------------- # || || # All PHP c...
PHP
otmfaq.com/htdocs/forums/impex/systems/vb3/001.php
chrisplough/otmfaq
gpl-3.0
6,213
134
codeparrot/github-code
3b22d4f88bd801dd214e550af0e7d025b44dcb9fc9153de8c3219c802488b5d2
package know.how.core.jrunner.multithreading.test; import org.junit.Test; public class ThreadTutor2 { static StringBuffer buf = new StringBuffer(); static void log(String s) { buf.append(s+"\n"); } static class TestThread implements Runnable { String threadName; public TestThread(String t...
Java
src/main/java/know/how/core/jrunner/multithreading/test/ThreadTutor2.java
skurski/know-how
gpl-3.0
983
49
codeparrot/github-code
c1e34ce07672cf485546e7a1fc95657eaf0da84457914296d92d87742a3fd244
#!/usr/bin/env python3 import sys import os import argparse import zipfile import tarfile def make_zipfile(outname, filenames, prefix): with zipfile.ZipFile(outname, "w", zipfile.ZIP_DEFLATED) as z: for filename in filenames: z.write(filename, prefix+filename) def make_tarfile(outname, filenam...
Python
tools/zipup.py
pinobatch/thwaite-nes
gpl-3.0
2,608
81
codeparrot/github-code
6ab9e33478fe672ca6b340bb5da28f3f877a3984feed96727ff9d2b517ea3d51
#include "presence.h" #define SHC_PRESENCE "/presence" Presence::Presence(IXmppStream *AXmppStream, IStanzaProcessor *AStanzaProcessor) : QObject(AXmppStream->instance()) { FXmppStream = AXmppStream; FStanzaProcessor = AStanzaProcessor; FOpened = false; FShow = Offline; FPriority = 0; IStanzaHan...
C++
src/plugins/presence/presence.cpp
Rambler-ru/Contacts
gpl-3.0
8,719
377
codeparrot/github-code
964e236624484b59dee621842ab6363acc2a9b63e71fa92c02dbc6d18d3678e4
/** * @file PhysioSignalModel.java * @author clecoued <clement.lecouedic@aura.healthcare> * @version 1.0 * * * @section LICENSE * * Aura Mobile Application * Copyright (C) 2017 Aura Healthcare * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General P...
Java
app/src/main/java/com/wearablesensor/aura/data_repository/models/PhysioSignalModel.java
clecoued/Aura_mobile_app
gpl-3.0
3,875
130
codeparrot/github-code
50e783b9f7b89cdbc70b1587d8f961c3f6dfe60baecacdd3f408e29bdc6c1eff
/* * This file is part of the Colobot: Gold Edition source code * Copyright (C) 2001-2016, Daniel Roux, EPSITEC SA & TerranovaTeam * http://epsitec.ch; http://colobot.info; http://github.com/colobot * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Pu...
C++
src/object/implementation/programmable_impl.cpp
piotrwalkusz1/colobot
gpl-3.0
10,560
417
codeparrot/github-code
99ce1f9da9f1a909d9474a84338d4845ba8506d8870230eb362ffbc29577ef85
//---------------------------------------------------------------------------- /** @file RlFuegoPlayout.h Policy wrapper for Fuego playouts */ //---------------------------------------------------------------------------- #ifndef RLFUEGOPLAYOUT_H #define RLFUEGOPLAYOUT_H #include "RlUtils.h" #include "GoUctPlayou...
C
rlgo/RlFuegoPlayout.h
svn2github/rlgo
gpl-3.0
1,037
44
codeparrot/github-code
4735598d4b26e516619415a2654358fe32cb1a22e936910499bacfee585bf8bb
/* $XFree86: xc/programs/Xserver/hw/xfree86/xaa/xaaCpyPlane.c,v 1.13 2001/10/01 13:44:15 eich Exp $ */ /* A CopyPlane function that handles bitmap->screen copies and sends anything else to the Fallback. Also, a PushPixels for solid fill styles. Written by Mark Vojkovich (markv@valinux.com) */ #include ...
C
QMOLEDEV/vnc-4_1_3-unixsrc/unix/xc/programs/Xserver/hw/xfree86/xaa/xaaCpyPlane.c
chriskmanx/qmole
gpl-3.0
5,226
207
codeparrot/github-code
3f78a5faf6bc86163effa7180b0a5fa0767589ecb94324cb22e35af07d1ecb5d
#include <Rcpp.h> using namespace Rcpp; // [[Rcpp::export]] LogicalVector fastMove(const NumericVector& time, const NumericVector& value, double nsec = 60, double nval = 5) { int n = time.size(); LogicalVector fast_move(n); int i, j; do...
C++
rcpp-groupby.cpp
privefl/mySO
gpl-3.0
676
36
codeparrot/github-code
8f872d8c10f86c1b319415e58b33d5a49473a543fef39f6b477104fe0e1d9727
<?php /** * Formats Discourse comments. * * @package WPDiscourse */ namespace WPDiscourse\DiscourseCommentFormatter; use WPDiscourse\Templates\HTMLTemplates as Templates; use WPDiscourse\Shared\TemplateFunctions; use WPDiscourse\Shared\PluginUtilities; /** * Class DiscourseCommentFormatter */ class DiscourseCo...
PHP
lib/discourse-comment-formatter.php
pjv/wp-discourse
gpl-3.0
8,512
190
codeparrot/github-code
ede9ad923c02e997e7bf2000a300e580ee0902bbba62f66fd529b5697813b660
/* REFERENCE data.. Do not INCLUDE in the main file.... This program is designed to work with Rocrail, as a Rocnode. All rights etc in Rocrail are owned by Rocrail.. Visit the excellent Rocrail site to explore more: http://wiki.rocrail.net/doku.php?id=rocnet:rocnet-prot-en ##AUDIO The code now supports audio ...
C
Notes.h
dagnall53/ESPWIFIROCNET
gpl-3.0
9,422
131
codeparrot/github-code
6982adcfed706d9812b32ba58b55550d1cb5012011536498812fcfe7a30e6816
const _ = require('lodash'); const utils = require('./utils'); /* * Default key object settings for lando.keys cache */ const keyDefaults = { host: 'lagoon.amazeeio.cloud', port: '32222', user: 'lagoon-pending', date: _.toInteger(_.now() / 1000), }; /* * Generates a new lagoon-pending key. */ exports.gene...
JavaScript
integrations/lando-lagoon/lib/keys.js
kalabox/lando
gpl-3.0
1,637
64
codeparrot/github-code
8e7dc8e71453ecebcd560d6aae7296be6fc62cc1317d5568a4f242901178d46d
<?php require_once("app.php"); $auth = new Authenticator(); $auth->requireBoardUser(); // setup mapping from sanitized name to real name $board_members = getBoardList(); $board_mapping = array(); foreach ($board_members as $board_member) { $board_mapping[sanitizeName($board_member)] = $board_member; } // XXX validat...
PHP
new_member_vote_end_submit.php
opticron/makerbaker
gpl-3.0
2,760
97
codeparrot/github-code
9ca095f7b23121df5fa841d25be4abfe1382b6b95939cbc0e838f65738b56187
/* PSPP - a program for statistical analysis. Copyright (C) 2009, 2010, 2011 Free Software Foundation, Inc. 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...
C
src/language/stats/correlations.c
lemenkov/pspp
gpl-3.0
12,833
448
codeparrot/github-code
b65d133f3ec26ed96c3bba0695e50f11b5914e8f9ad331f3c4e2ace06982337b
# This file is part of the "upq" program used on springfiles.com to manage file # uploads, mirror distribution etc. It is published under the GPLv3. # #Copyright (C) 2011 Daniel Troeder (daniel #at# admin-box #dot# com) # #You should have received a copy of the GNU General Public License #along with this program. If n...
Python
jobs/download.py
springfiles/upq
gpl-3.0
1,078
41
codeparrot/github-code
afcd7bffa504209eefc621bb787b705bda669813739225a2a4bad5c3b1259f81
/* * Copyright (C) 2015 PÂRIS Quentin * * 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 of the License, or * (at your option) any later version. * * This program is dist...
Java
src/main/java/com/playonlinux/ui/impl/javafx/setupwindow/StepRepresentationMenu.java
seijikun/POL-POM-5
gpl-3.0
2,119
62
codeparrot/github-code
3d8153144369b039d2af7fa07bab47bf5112b918414af9a5c098ff104a4acf79
/* * Languages for annotation Javascript */ /* * Fetch a localized string * This is a function so that it can be replaced with another source of strings if desired * (e.g. in a database). The application uses short English-language strings as keys, so * that if the language source is lacking the key can be ret...
JavaScript
releases/marginalia-m-1.0/moodle/blocks/marginalia/marginalia-strings.js
GeofG/marginalia-m
gpl-3.0
1,860
60
codeparrot/github-code
2fbcce24c5fbb544e8f8b0bb41d4010df18a44562e598565e3dc7b8fb9fc009a
# -*- coding: utf-8 -*- from bdchecker.api import NewDatabaseTaskChecker from bdcheckerapp.autograding.zaj5.unit5.utils import Zaj5TaskChecker, UserList class TaskChecker(NewDatabaseTaskChecker): display_stdout = True class TestSuite(Zaj5TaskChecker): def test_has_procedure(self): self....
Python
bdcheckerapp/autograding/zaj5/unit5/task3.py
jbzdak/data-base-checker
gpl-3.0
1,447
34
codeparrot/github-code
a614011ef52de6dc3a78faabc6118c39d4a8228631ae2c9f40aea23c87ee5398
<!DOCTYPE html> <html lang="es"> <head> <meta charset="utf-8"> <!-- =================================================================================================== Instituto Municipal de Planeación y Competitividad (IMPLAN) de Torreón. 3er. generación de la Plataforma del Conocimiento De...
HTML
ibc-colonias-torreon/ampliacion-zaragoza-sur.html
TRCIMPLAN/trcimplan.github.io
gpl-3.0
42,487
809
codeparrot/github-code
63f99d8d62a2a979a1b1cd46b11f74a99b644ab0dbff734404303e3664800fad
<?php /** * ELIS(TM): Enterprise Learning Intelligence Suite * Copyright (C) 2008-2011 Remote-Learner.net Inc (http://www.remote-learner.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 Foundati...
PHP
elis/program/form/customfieldform.class.php
msoni11/elismoodle
gpl-3.0
35,874
703
codeparrot/github-code
084f36d5420642169f38d94beabebd034ca262d76e0b1efe41e7a0fd8afb8734
<?php /** * @package SyDES * * @copyright 2011-2015, ArtyGrand <artygrand.ru> * @license http://opensource.org/licenses/gpl-license.php GNU Public License */ function pre($array){ echo '<pre>'; print_r($array); echo '</pre>'; } function t($text, $dl = array()){ static $l = array(); if (!empty($dl)){ $l = ...
PHP
system/functions.php
artygrand/SyDES
gpl-3.0
8,770
244
codeparrot/github-code
946d258d8ebdeb0ad981b35249b2773e73e7b3a9a519b8a18910c5843903fd8d
<?php /** LibApps class */ namespace smtech\StMarksSearch\LibApps; use Battis\Educoder\PestJSON; /** * LibApps API wrapper object * * @author Seth Battis <SethBattis@stmarksschool.org> */ class LibAppsPest extends PestJSON { /** * LibApps site ID * @var string|integer */ private $site_id; ...
PHP
src/LibApps/LibAppsPest.php
smtech/stmarks-search
gpl-3.0
1,023
53
codeparrot/github-code
c7c668f0a103beb1d1ca19257460a81a36241fe353f976217dd77ed7fef5befb
<?php /** * @package bootstrapped_gallery * @version 0.01 */ /* Plugin Name: Bootstrapped gallery Plugin URI: https://github.com/humanific/bootstrapped-gallery Description: Shortcode for displaying bootstrap blueimp-gallery galleries Author: Francois Richir Version: 0.01 Author URI: http://humanific.com */ funct...
PHP
index.php
humanific/bootstrapped-gallery
gpl-3.0
4,412
120
codeparrot/github-code
976f45594d206ad706b81ccec2f6d8b1393d8eb05ee56bcd023f0cd1ec01f0b3
#! /usr/bin/python3 import os import requests canary = 'mwtask111' serverlist = ['mw101', 'mw102', 'mw111', 'mw112', 'mw121', 'mw122'] def check_up(server: str) -> bool: headers = {'X-Miraheze-Debug': f'{server}.miraheze.org'} req = requests.get('https://meta.miraheze.org/w/api.php?action=query&meta=siteinfo...
Python
modules/mediawiki/files/bin/mwupgradetool.py
miraheze/puppet
gpl-3.0
2,456
64
codeparrot/github-code
c3e92c07785d8ce0d8b550805403b07ef91fadbe6291b834545698088876ef56
package net.sblit.configuration; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Paths; import net.sblit.crypto.SymmetricEncryption; public class KeyConfiguration { public static final String KEY_CONFIGURATION_FILE = "/s...
Java
src/net/sblit/configuration/KeyConfiguration.java
sblit/sblit
gpl-3.0
1,427
60
codeparrot/github-code
55c9d33ab2128e3c87db79551ebb42cc9aee6f909892e2d43ff2daebef059197
#include <stdbool.h> #include <math.h> #include <SDL2/SDL.h> #include <GL/glew.h> #include "shader.h" #include "deps/lodepng.h" #include "deps/linmath.h" #define SCREEN_HEIGHT 480 #define SCREEN_WIDTH 640 #define SCREEN_BPP 32 #define DEGREES_PER_SECOND 180 static bool init_gl(void); static bool init(void); static vo...
C
03/main.c
HarveyHunt/modern-opengl
gpl-3.0
7,346
290
codeparrot/github-code