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
f04698304118e51ca367e142bbe147db6908a00a7056c2aa065d973595f21d0f
/* * Twidere - Twitter client for Android * * Copyright (C) 2012 Mariotaku Lee <mariotaku.lee@gmail.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the Lice...
Java
src/com/pahans/kichibichiya/model/ListAction.java
pahans/Kichibichiya
gpl-3.0
1,111
45
codeparrot/github-code
153ad98724efda3895434cc91953650f235e620cd561d38010bf9e6ef816bb38
package com.st0ck53y.testsudokuapplication.classes; public class GridArea { private int value; public GridArea(int v) { this(); if (v != 0) { setValue(v); } } public GridArea() { value = 8185; // 4 bit for remaining possible (9), 9 bit for flag...
Java
app/src/main/java/com/st0ck53y/testsudokuapplication/classes/GridArea.java
st0ck53y/Sudoku_Solver
gpl-3.0
1,644
62
codeparrot/github-code
49c417b5aa7dee37a11866f059498d7b20194a9edbee97afe3b0f1b29b5f3fec
/** * Genji Scrum Tool and Issue Tracker * Copyright (C) 2015 Steinbeis GmbH & Co. KG Task Management Solutions * <a href="http://www.trackplus.com">Genji Scrum Tool</a> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by...
Java
src/main/java/com/aurel/track/persist/BaseTCardGroupingFieldPeer.java
trackplus/Genji
gpl-3.0
42,159
1,226
codeparrot/github-code
de90523d9379e65f6c3b1ee38580a831094bc4cc4902c95e5a4ab80ac984fcb7
#include "archiveviewwindow.h" #include <QLocale> #include <QCursor> #include <QPrinter> #include <QMessageBox> #include <QFileDialog> #include <QPrintDialog> #include <QItemSelectionModel> #include <QNetworkAccessManager> #include <definitions/menuicons.h> #include <definitions/resources.h> #include <defi...
C++
src/plugins/messagearchiver/archiveviewwindow.cpp
Nikoli/vacuum-im
gpl-3.0
55,709
1,617
codeparrot/github-code
f9013784d495fe85099fe1b891f02e9750bb37ef2a1d72d06d65197d9262e0cf
/**************************************************************************** ** ** Copyright (C) 2015 The Qt Company Ltd. ** Contact: http://www.qt.io/licensing ** ** This file is part of Qt Creator. ** ** Commercial License Usage ** Licensees holding valid commercial Qt licenses may use this file in ** accordance wit...
C++
src/plugins/qmakeprojectmanager/wizards/guiappwizarddialog.cpp
frostasm/qt-creator
gpl-3.0
4,473
124
codeparrot/github-code
f3aa1c36ece247683972f6b706b995a2d4b98e3f1b011f4242db82becd6ce9be
/* * @Author: LIU CHENG * @Date: 2017-02-22 18:39:38 * @Last Modified by: LIU CHENG * @Last Modified time: 2017-03-05 11:39:18 */ import React, { PropTypes } from 'react'; import { Text, View, Image, TouchableHighlight, ActivityIndicator, StyleSheet } from 'react-native'; /** * Dashboard * props: ...
JavaScript
src/components/Dashboard.js
kimochg/react-native-githubnote-app
gpl-3.0
1,787
84
codeparrot/github-code
ccd0783f3dbcb3195e7519c29029b38a396321ebfe24f2ff6add294f967bd88d
////////////////////////////////////////////////////////////////////////// // This file is part of openPSTD. // // // // openPSTD is free software: you can redistribute it and/or modify // // it under the term...
C++
test/Kernel/Scene.cpp
openPSTD/openPSTD
gpl-3.0
4,711
126
codeparrot/github-code
e46d23ad2be3ddd78bbb4c98fc1aff1f2d4dd1d52d767d416051d02794f08ca6
package plainsimple.space; import java.awt.*; import java.awt.image.BufferedImage; import java.util.Random; /** * Renders an image of a starry sky based on several parameters. * Copyright(C) Plain Simple Apps 2015 * See github.com/Plain-Simple/GalaxyDraw for more information. * Licensed under GPL GNU Version 3 (s...
Java
java/src/plainsimple/galaxydraw/DrawSpace.java
Plain-Simple/GalaxyDraw
gpl-3.0
4,687
159
codeparrot/github-code
9271764ddfc36893073384d59c2e6efe910833008d469c18f9d790301915f690
using System; using System.Collections.Generic; using System.Globalization; using System.Text; using System.Threading; using System.Windows.Forms; using FastColoredTextBoxNS.Enums; using KEYS = System.Windows.Forms.Keys; namespace FastColoredTextBoxNS { /// <summary> /// Dictionary of shortcuts for FCTB /...
C#
FastColoredTextBox/HotkeysMapping.cs
JannikArndt/Canal
gpl-3.0
6,650
132
codeparrot/github-code
34bcfb2cbf9d55073514e2ab95bbce8f090a12180b8a92d39e66aa9fe08f905d
/* * DexPatcher - Copyright 2015-2020 Rodrigo Balerdi * (GNU General Public License version 3 or later) * * DexPatcher 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, * ...
Java
tool/src/main/java/lanchon/dexpatcher/transform/util/wrapper/WrapperAnnotationElement.java
Lanchon/DexPatcher-tool
gpl-3.0
1,021
35
codeparrot/github-code
411d913fe05911c160a69f42655337886f292ff20da8492b713579ab9df2052f
package org.trypticon.haqua; import com.apple.laf.AquaMenuItemUI; import org.jetbrains.annotations.NotNull; import javax.accessibility.Accessible; import javax.swing.JComponent; import javax.swing.plaf.ComponentUI; import javax.swing.plaf.MenuItemUI; import java.awt.Component; import java.awt.Dimension; import java.a...
Java
src/org/trypticon/haqua/HaquaMenuItemUI.java
trejkaz/haqua
gpl-3.0
3,093
109
codeparrot/github-code
1c42a8b6a2b4455e5776549a2df1a4fceb126341977f1e278cf5a08a2fb1afec
from django.shortcuts import render from django.contrib.auth.decorators import login_required from django.utils.decorators import method_decorator from django.views.generic import View from .models import \ Course, Registration, Task, TaskSubmission, ScoreProfile from .forms import TaskSubmissionForm class Course...
Python
backend/wsgi/courses/views.py
iver56/trondheim.kodeklubben.no
gpl-3.0
4,033
114
codeparrot/github-code
75374eec2c4e518b0ef53f6038b6017cdcbb882356af5dbb2f808bb9a3d8f30e
/** * \file region.c * \author Christian Eder ( ederc@mathematik.uni-kl.de ) * \date August 2012 * \brief General source file for non-inline region handling functions. * This file is part of XMALLOC, licensed under the GNU General * Public License version 3. See COPYING for more information....
C
src/region.c
ederc/xmalloc
gpl-3.0
3,745
125
codeparrot/github-code
aa9c249efc6d1d54ce603fa0b5a9953dc8e01f0b3c444d9db5f96e2daa492399
#include "InspectorAtemCutWidget.h" #include "Global.h" #include "DatabaseManager.h" #include "EventManager.h" #include "Models/Atem/AtemStepModel.h" #include <QtGui/QApplication> InspectorAtemCutWidget::InspectorAtemCutWidget(QWidget* parent) : QWidget(parent), model(NULL), command(NULL) { ...
C++
src/Widgets/Inspector/Atem/InspectorAtemCutWidget.cpp
CasparPlay/CasparPlay
gpl-3.0
2,391
82
codeparrot/github-code
60eb9b8c15e32e724a8208977ff026055bb3d96cf1679cc48f13527134a767e9
import { commitMutation, graphql } from 'react-relay' import { ConnectionHandler } from 'relay-runtime' const mutation = graphql` mutation CreateSpeciesMutation($input: CreateSpeciesInput!) { createSpecies(input: $input) { clientMutationId speciesEdge { node { authorId id ...
JavaScript
web/src/mutations/CreateSpeciesMutation.js
doeg/plantly-graphql
gpl-3.0
1,851
74
codeparrot/github-code
f8127e47a10668c8c48c75ac4557791a50e39ea6e509e5f8bd740ec60586f19a
/* * Copyright (c) 2010-2019 Belledonne Communications SARL. * * This file is part of Liblinphone. * * 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 *...
C
src/chat/cpim/header/cpim-generic-header.h
BelledonneCommunications/linphone
gpl-3.0
1,890
66
codeparrot/github-code
6853f090bb3ae92f8d8c3047b5d234837d1a3c3ed08b664cad556a7920768a99
var fs = require('fs') // Script directories var settings = require('./settings.json'); // The settings file var scriptDir = settings.scriptDir + '/'; // The directory where dota scripts are placed var scriptDirOut = settings.scriptDirOut; ...
JavaScript
script_generator/app.js
LegendsOfDota/LegendsOfDota
gpl-3.0
20,039
628
codeparrot/github-code
3585a534fa3a12f29533860a1349cae1f0488e4250285d1dd5fdf7ba4384c603
/******************************************************************************* * Copyright (C) 2006-2013 AITIA International, 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, eithe...
Java
src/ai/aitia/meme/paramsweep/gui/Page_EMILPrefs.java
lgulyas/MEME
gpl-3.0
4,536
121
codeparrot/github-code
7756da0ce5740e6512b62b72e1b17db9832f432f23f981b0726c66b96f9fa504
import hashlib import re import os import pickle from functools import partial from externals.lib.misc import file_scan, update_dict import logging log = logging.getLogger(__name__) VERSION = "0.0" # Constants -------------------------------------------------------------------- DEFAULT_DESTINATION = './files/' DEF...
Python
website/karakara/scripts/hash_matcher.py
richlanc/KaraKara
gpl-3.0
3,469
108
codeparrot/github-code
d43f3b0613709e8eaec55dd0233f6d647134e2096bc8972813a52aed7fb3b4c3
/* * Copyright © 2002 Keith Packard * * Permission to use, copy, modify, distribute, and sell this software and its * documentation for any purpose is hereby granted without fee, provided that * the above copyright notice appear in all copies and that both that * copyright notice and this permission notice appear...
C
xfixes/saveset.c
Elecon-rou/tinyxserver
gpl-3.0
2,636
78
codeparrot/github-code
9cf74575d005ab3d8dd64e51bba474ce532aecc6e9d9e90984cfa4c78ec6d735
/* * jQuery File Upload User Interface Plugin * https://github.com/blueimp/jQuery-File-Upload * * Copyright 2010, Sebastian Tschan * https://blueimp.net * * Licensed under the MIT license: * http://www.opensource.org/licenses/MIT */ /* jshint nomen:false */ /* global define, require, window */ ;(function (fa...
JavaScript
inc/lib/jqupload/js/jquery.fileupload-ui.js
sea75300/fanpresscm3
gpl-3.0
28,144
711
codeparrot/github-code
a298386e868b1d8624924b2d63ad532560430e3d91a90506d7326f0fb70ce390
#ifndef C_JSON_WRITE_IMPL_INCLUDED #define C_JSON_WRITE_IMPL_INCLUDED #include "c_json_write.h" #ifdef __cplusplus extern "C" { #endif struct c_json_write_options_t { /* Print each item on a new line. */ c_bool_t array_multiline; /* Vertically align array square brackets on own line. */ c_uint8_t bra...
C
src/c_json_write_impl.h
rsmz/c_
gpl-3.0
1,676
60
codeparrot/github-code
e9813f30bd12957b48bca6477055752292f4b433a9a39c3a45bfdb28c2be5229
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | \\ / A nd | Copyright (C) 1991-2010 OpenCFD Ltd. \\/ M anipulation | ---------------...
C++
src/OpenFOAM/db/Callback/Callback.C
themiwi/freefoam-debian
gpl-3.0
2,528
98
codeparrot/github-code
7acdbf3d41cce5db8b2dc1a9b2cb9f9afece0557348d1666fccd7a976f538e0f
<?php namespace Fox\Controllers; use \Fox\Core\Exceptions\BadRequest; use \Fox\Core\Exceptions\Forbidden; use \Fox\Core\Exceptions\Error; class EntityManager extends \Fox\Core\Controllers\Base { protected function checkControllerAccess() { if (!$this->getUser()->isAdmin()) { throw new Forb...
PHP
application/Fox/Controllers/EntityManager.php
ilovefox8/zhcrm
gpl-3.0
5,645
217
codeparrot/github-code
3342b8ba3e7b0a10e79fef815ecb3a81e9b732f2d490da38969e239b576f755b
/* -*- Mode: c; c-basic-offset: 2 -*- * * Storage.cpp - Redland C++ Storage class interface * * Copyright (C) 2008, David Beckett http://www.dajobe.org/ * * This package is Free Software and part of Redland http://librdf.org/ * * It is licensed under the following three licenses as alternatives: * 1. GNU L...
C++
redlandpp/Storage.hpp
dajobe/redlandpp
gpl-3.0
2,188
79
codeparrot/github-code
b8cd1bac9c47967d187b1ad8ebf9ab9869a63409f7353bae98184ced7b68239f
<!DOCTYPE html> <html> <head> <title>Using Page Devices</title> <link rel="stylesheet" type="text/css" href="../format.css" /> </head> <body> <h2>6.1 Using Page Devices</h2> <p>Many output devices have special hardware features, such as multiple paper trays with different sizes of paper, duplex (two-sided) printi...
HTML
de.tfritsch.psdt.help/html/Reference/6/1.html
thomas-fritsch/psdt
gpl-3.0
3,292
63
codeparrot/github-code
c415968a20bed0c0f9e65bcc6150881a91e1b08bb83c9698ce92b7612f1e59b9
/* * Runtime CPU detection * (C) 2009,2010,2013,2017 Jack Lloyd * * Botan is released under the Simplified BSD License (see license.txt) */ #ifndef BOTAN_CPUID_H_ #define BOTAN_CPUID_H_ #include <botan/types.h> #include <vector> #include <string> #include <iosfwd> namespace Botan { /** * A class handling runtime CP...
C
src/3rd_part/include/botan-2/botan/cpuid.h
PikachuHy/shadowsocks-client
gpl-3.0
8,642
321
codeparrot/github-code
bfeb8cb12397e6671e1c76bbe543fc931304486bee575eec18eee2ba6a20796f
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package se.kth.kandy.ejb.restservice; import java.util.Set; import javax.ws.rs.core.Application; /** * * @author Hossein */ @javax...
Java
CloudServiceRecommender/src/main/java/se/kth/kandy/ejb/restservice/ApplicationConfig.java
karamelchef/kandy
gpl-3.0
1,020
36
codeparrot/github-code
303d98b90661cf3143c9a56f5d0d2afe4983b69f42cdae9b4064de6596f4b59d
package com.capgemini.playingwithsqlite; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.TextView; public class ShowListAdapter extends ArrayAdapter<Show> { public ShowLi...
Java
Lecture 08/src/com/capgemini/playingwithsqlite/ShowListAdapter.java
larseknu/android_programmering_2014
gpl-3.0
1,116
42
codeparrot/github-code
48fe5b9be3a4e9e6542c281423122f7a59d6ec825e043e5e6b18dd8575c3f7d0
/* * Copyright (C) 2016-2022 Yaroslav Pronin <proninyaroslav@mail.ru> * * This file is part of LibreTorrent. * * LibreTorrent is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the Lice...
Java
app/src/main/java/org/proninyaroslav/libretorrent/core/model/session/TorrentSessionImpl.java
proninyaroslav/libretorrent
gpl-3.0
53,404
1,627
codeparrot/github-code
8d26786f1f3447070ba064697e078cfb751a6a54b142f3f791fdb4e493c793e6
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Created on Fri Jul 3 13:38:36 2015 @author: madengr """ from gnuradio import gr import osmosdr from gnuradio import filter as grfilter # Don't redefine Python's filter() from gnuradio import blocks from gnuradio import fft from gnuradio.fft import window from gnuradi...
Python
apps/receiver.py
kaback/ham2mon
gpl-3.0
25,151
616
codeparrot/github-code
b3038258eb6d0bf865bd242342fc1e8d4ae27ccd4a52b6d1cd3d0c0bb9f55520
// Copyright 2009 Devrin Talen // This file is part of ADBUSB. // // ADBUSB is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // ...
C
code/usb.c
devrintalen/adbusb
gpl-3.0
4,855
150
codeparrot/github-code
3187189ef9de88cb1221e9e295cf3cedf7c3686e109a87ebf9fe2cfa22ae2a18
/* * This file is part of NanoUI * * Copyright (C) 2016-2018 Guerra24 * * 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 ...
Java
nanoui-core/src/main/java/net/luxvacuos/nanoui/rendering/shaders/data/Attribute.java
Guerra24/NanoUI
gpl-3.0
1,020
42
codeparrot/github-code
4f9b7c42fa41ce5d9ccab4fc8615b5b793088e178b2a1e4b172f61f3b6d8e4d9
<?php $usuario=$_SESSION['usuario']; //Indico la ruta de almacenamiento del usuario $directorio='uploads/'.$usuario.'/'; //Compruebo los ficheros que hay en el directorio excluyendo el propio directorio y el directorio padre $ficheros=array_diff(scandir($directorio),array('..','.')); echo " <div class='contenido'>"; if...
PHP
cryptoshare/php/scanners/scanner.php
gavesc7/CryptoShare
gpl-3.0
1,746
58
codeparrot/github-code
a8a930f2cae2c31e6b5c10dae44074e5b538ac6ffe10a10612bb49920ed7bcf4
/* graph.h */ /* This software library implements the maxflow algorithm described in An Experimental Comparison of Min-Cut/Max-Flow Algorithms for Energy Minimization in Vision. Yuri Boykov and Vladimir Kolmogorov. In IEEE Transactions on Pattern Analysis and Machine Intelligence (PAMI), September 2004 ...
C
PhotoCompositing/src/graph/graph.h
tykus160/photo_compositing
gpl-3.0
6,057
194
codeparrot/github-code
7125ed737194a9ec907118a1bb5efdc3fd199af97849967e89d4d50c161878cc
package net.thevpc.upa.impl.persistence.connection; /** * Created by vpc on 8/7/15. */ public class DefaultConnectionProfileData { private String databaseProductName ; private String databaseProductVersion ; private String connectionDriverName ; private String connectionDriverVersion ; private St...
Java
upa-impl-core/src/main/java/net/thevpc/upa/impl/persistence/connection/DefaultConnectionProfileData.java
thevpc/upa
gpl-3.0
4,695
129
codeparrot/github-code
e87ece76fad5ef3ac3815a957b15ff19d6921dd2ee8d27fa8f727ffcb68d2b3f
// TestApp.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include <stdio.h> #include <iostream> #include <algorithm> #include "sqlite3.h" #include <time.h> #include <sstream> using namespace std; int _tmain(int argc, _TCHAR* argv[]) { sqlite3* db; sqlite3_open("testdb.db", &d...
C++
fs/Windows/TestApp/TestApp.cpp
IDWMaster/OpenNet
gpl-3.0
1,222
50
codeparrot/github-code
e983990a8a4eaa239721297923a7a47537e7ca7f49b66bff924d7d15750ba3b3
package org.isatools.macros.utils; import org.apache.commons.collections15.map.ListOrderedMap; import org.isatools.macros.motiffinder.Motif; import java.util.*; import java.util.regex.Matcher; import java.util.regex.Pattern; /** * Created by the ISA team * * @author Eamonn Maguire (eamonnmag@gmail.com) * ...
Java
src/main/java/org/isatools/macros/utils/MotifProcessingUtils.java
ISA-tools/Automacron
gpl-3.0
8,126
218
codeparrot/github-code
13c4253697e823f8d1cf5bc4f67c2c8851623dc840d2f32e7a03a1264819a3c9
/* * Copyright (C) 2007-2022 Crafter Software Corporation. All Rights Reserved. * * 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 tha...
Java
src/main/java/org/craftercms/studio/impl/v2/upgrade/operations/site/ConfigEncryptionUpgradeOperation.java
craftercms/studio
gpl-3.0
3,108
85
codeparrot/github-code
b4e2c9f4d9119c441f4e036b35531184cd7241a66f2cb1204a3d8707c0a7c150
<?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
repository/user/lib.php
abhinay100/moodle_app
gpl-3.0
6,764
182
codeparrot/github-code
5dde12833252eeb4eec83218657b3b2b4f088db0dd3ff700cc71d0c77cf6726e
<!DOCTYPE html> <html lang="en"> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta charset="UTF-8"> <title>Local Colleges</title> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au...
HTML
Flask/templates/manager.html
Kevin3727/polling_module
gpl-3.0
2,548
71
codeparrot/github-code
c230157bbcaad1aee745507c209f34163047561d055bbd9c369c1e2450e29127
#ifndef KONIG_SUITRANK_HPP #define KONIG_SUITRANK_HPP #include <cstdint> #include <cassert> #include <string> #include <konig/core.hpp> namespace konig { class SuitRank { public: enum internal_enum { seven = 7, four = seven, low_pip = seven, min = seven, eight = 8, three = ...
C++
konig/suitrank.hpp
jbytheway/konig
gpl-3.0
1,317
63
codeparrot/github-code
32878a46cc7cdb71cfad5e045e6a138abcc3beec287d48f8a38c255492c630d0
package cz.clovekvtisni.coordinator.server.web.controller; import cz.clovekvtisni.coordinator.server.domain.EventEntity; import cz.clovekvtisni.coordinator.server.domain.PoiEntity; import cz.clovekvtisni.coordinator.server.domain.UserEntity; import cz.clovekvtisni.coordinator.server.filter.EventFilter; import cz.clove...
Java
coordinator-server/src/main/java/cz/clovekvtisni/coordinator/server/web/controller/EventListController.java
Tomucha/coordinator
gpl-3.0
2,011
48
codeparrot/github-code
3dd99c0e0e90ffbbc30b65eedfc80dce92c2594551ec94208a3103148a8aea47
<!DOCTYPE html> <html> <head> <meta charset="utf-8"/> <style> table.head, table.foot { width: 100%; } td.head-rtitle, td.foot-os { text-align: right; } td.head-vol { text-align: center; } table.foot td { width: 50%; } table.head td { width: 33%; } div.spacer { margin: 1em 0; } </style> <title> STARTPROC(8)</title> </he...
HTML
man/startproc.8.html
fusion809/fusion809.github.io-old
gpl-3.0
11,265
274
codeparrot/github-code
1ac691d79fbe9ba8b4ffb2377359614a85440c66edf2e412eac84595bc17e27b
package com.chat.db.provider; import android.content.ContentProvider; import android.content.ContentUris; import android.content.ContentValues; import android.content.Context; import android.content.UriMatcher; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.database.sqlit...
Java
FacewhatDroid/src/com/chat/DB/provider/ContactProvider.java
masach/FaceWhat
gpl-3.0
5,381
196
codeparrot/github-code
28f885dddbb7e3253f67003ddd67f2fc87b9f7437505891d6f850cb9b86f284d
package cn.edu.jxnu.awesome_campus.database.table.education; /** * Created by MummyDing on 16-1-26. * GitHub: https://github.com/MummyDing * Blog: http://blog.csdn.net/mummyding */ public class ExamTimeTable { /*** * 考试安排表 */ public static final String NAME = "ExamTimeTable"; /** * 考试安排...
Java
app/src/main/java/cn/edu/jxnu/awesome_campus/database/table/education/ExamTimeTable.java
MummyDing/Awesome-Campus
gpl-3.0
1,319
50
codeparrot/github-code
8320cd4cf27e878dd2b3f1b6b48f7e327ecb0b03e3461ca46bb86d54a898f1c3
#define getTreeNodeElem( node, type ) (*((type *)(node->elem))) typedeft struct { void *elem; int key; TreeNode *left; TreeNode *right; TreeNode *prev; } TreeNode; bool hasLeft(TreeNode *node) { if(node->left != NULL) return true; else return false; } bool hasRight(TreeNode *no...
C
lib/libos/ostypes/tree.c
tijuo/Silverbox-OS
gpl-3.0
1,888
86
codeparrot/github-code
410df0b8bc87f9039a078c3cb9faaaabbb1702236cf0dc381ac076642d596022
/** * * CTCForce.h * * Defines methods for Carrier to carrier interaction * force estimation. * * Written by Taylor Shin * Sep. 2nd, 2016 * **/ #ifndef __CTCForce_h__ #define __CTCForce_h__ #define _USE_MATH_DEFINES #include "fputils.h" #include "physical_constants.h" #include "typedefs.h" #include "materia...
C
src/physics/CTCForce.h
kshin264381/pdelay
gpl-3.0
1,378
61
codeparrot/github-code
2da14fd18d15ca74856be05a840d246f2cbca0fd75dda27413d7497f9bae3498
using TuBS; using System; using Gtk; using System.IO; using System.Text; using System.Text.RegularExpressions; using System.Linq; using System.Runtime.InteropServices; using System.Collections; using System.Collections.Generic; public partial class MainWindow : Gtk.Window { protected List<string> DumpText (FileInfo ...
C#
TuBS/TuBS/ExportScript.cs
Lightgazer/Berwick-Saga-translation
gpl-3.0
5,959
207
codeparrot/github-code
94f3bb1735972b769ab732397282566fd03c1e752efaac329f93135b8ea45c59
/* * skyplot.h - skyplot header * * Copyright (C) 2012 Michael Rieder <mr@student.ethz.ch> * * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the ...
C
skyplot.h
wombat23/skystat
gpl-3.0
5,272
200
codeparrot/github-code
1108e37f4bdc32e3b17669cc0b801473ec5f8372c8477758731c412154d948f0
-- quvi -- Copyright (C) 2010 Toni Gundogdu <legatvs@gmail.com> -- -- This file is part of quvi <http://quvi.sourceforge.net/>. -- -- This library is free software; you can redistribute it and/or -- modify it under the terms of the GNU Lesser General Public -- License as published by the Free Software Foundation; eit...
Lua
i386-squashfs-root/usr/share/quvi/lua/website/google.lua
Alberto-Beralix/Beralix
gpl-3.0
1,851
57
codeparrot/github-code
f64a6c96b437c9ec18e304bdcadfa31544a5a1e66b699a29155aa7ee9577424d
package org.trusst.utils; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.ResultSetMetaData; import java.sql.SQLException; import java.sql.Statement; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Calendar; import java.util.Collecti...
Java
TrReviewScraper/src/main/java/org/trusst/utils/DBUtils.java
sandakith/TRRuSST
gpl-3.0
8,980
227
codeparrot/github-code
4904a635d0309875c728dfb383d05c446c4ff063769cca22b5385b673b4c7113
<script type="text/javascript"> function verif(){ var patroi_hutsik = /^\s*$/; var pasahitza = $("#pasahitza").val(); var pasahitza2 = $("#pasahitza2").val(); <?php if ($edit_id) { // Ikaslea editatzen ari bagara pasahitzak hautazkoak dira... ?> // Erabiltzaileak pas...
PHP
admin/inc/bistak/ikasleak/ikaslea.php
iametza/ikuslang
gpl-3.0
3,337
83
codeparrot/github-code
a7bd3dc80790b3c20d57b6d70f6c3c9471237914e7710121fab7de2f862e72c6
/** * \file command.h * \author Johan Boris Iantila * \version 0.1 * \date 21/01/2016 * * */ #ifndef COMMAND_H #define COMMAND_H #define BUFFER_SIZE 2048 #include <sys/time.h> #include "enum.h" typedef struct smscommand t_smscommand; typedef struct ussdcommand t_ussdcommand; typedef struct device t_device; t...
C
jni/command.h
daloji/UsbDongle
gpl-3.0
2,324
83
codeparrot/github-code
6672c1d0145c31b5808ba57ade8156da5e0803bf55a8b6d238692447f7b9c44a
#!/usr/bin/php <? if (!function_exists('file_put_contents')) { function file_put_contents($filename, $data, $lockflag) { $f = @fopen($filename, 'w'); if (!$f) { return false; } else { $bytes = fwrite($f, $data); fclose($f); return $bytes; ...
PHP
libs/WDL/swell/mac_resgen.php
austensatterlee/VOSIMSynth
gpl-3.0
8,328
302
codeparrot/github-code
ef8a58a8e64858351915ddc06d9a84fe5d6117ba1c729bbb2a7e95a599b38dcb
#!/usr/bin/env python3 # -*- coding: utf-8 -*- from PyQt5 import QtWidgets from view.analysis_widget import AnalysisWidget # noinspection PyPep8Naming class TemporalAnalysisWidget(AnalysisWidget): # noinspection PyArgumentList def __init__(self, mplCanvas): """ Construct the Temporal Analys...
Python
src/view/temporal_analysis_widget.py
yuwen41200/biodiversity-analysis
gpl-3.0
1,068
38
codeparrot/github-code
a7c07258ad7aff52ea76df33ad7b3111bd60f33baa23f1d9e5799310db51d406
// MyWebApi - ASP.NET Web API Fluent Testing Framework // Copyright (C) 2015 Ivaylo Kenov. // // 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...
C#
src/MyWebApi/Builders/ControllerBuilder.cs
codedecay/MyWebApi
gpl-3.0
12,734
323
codeparrot/github-code
7ebe156a5bb598a1844094a3fdbb192864b79751d3b2f5a2404560c1fcaccf25
import sys, os sys.path.append(os.path.join(os.path.dirname(__file__), '..', '','')) import numpy as np #from skgraph import datasets from sklearn import svm #from skgraph.ioskgraph import * from math import sqrt import sys from sklearn.metrics import roc_auc_score #"sys.path.append('..\\..\\Multiple Kernel Learning\\...
Python
scripts/cross_validation_from_matrix_AUC_norm.py
nickgentoo/scikit-learn-graph
gpl-3.0
3,283
94
codeparrot/github-code
4234e108eb429a2196514377f56af97a18b3e2bd534d71731018aaa3f3d7457d
# Copyright 2008 Dan Smith <dsmith@danplanet.com> # Copyright 2012 Tom Hayward <tom@tomh.us> # # 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 opti...
Python
chirpui/mainapp.py
cl4u2/chirp
gpl-3.0
67,000
1,767
codeparrot/github-code
5bb8e5ba7bcbe960d0e2c3b51411425a4dc1d2dcb5d0c5d39732a706e773aefa
<? /** * This file is a part of LibWebta, PHP class library. * * LICENSE * * This program is protected by international copyright laws. Any * use of this program is subject to the terms of the license * agreement included as part of this distribution archive. ...
PHP
app/src/LibWebta/library/IO/PCNTL/class.ProcessManager.php
DicsyDel/epp-drs
gpl-3.0
7,372
254
codeparrot/github-code
c7c6e522f936d198d8ab8db6072226da83c49813c4fd93714c2ab4cec7c032a2
<?php require(dirname(__FILE__, 3) . '/framework/loader.php'); BeaconTemplate::SetTitle('Item Spawn Codes'); BeaconTemplate::AddScript(BeaconCommon::AssetURI('clipboard-polyfill.js')); BeaconTemplate::AddScript(BeaconCommon::AssetURI('spawncodes.js')); BeaconTemplate::AddStylesheet(BeaconCommon::AssetURI('spawncodes.sc...
PHP
Website/www/spawn/index.php
thommcgrath/Beacon
gpl-3.0
5,071
136
codeparrot/github-code
952874e482c2917e6e557f45e28883e60f4ef27480e11d5fdb19559356e67090
# the problem described below was fixed in 9758! # keep_htpsit=False fails since 9473, # on some installations (?) with: # case A (see below in the code): # RuntimeError: Could not locate the Fermi level! # or the energies from the 2nd one behave strange, no convergence: # iter: 1 18:21:49 +1.7 -3608....
Python
gpaw/test/big/scf/b256H2O/b256H2O.py
robwarm/gpaw-symm
gpl-3.0
4,905
119
codeparrot/github-code
ce1637cdafe439f38449198e954a7cfb2bfeb67e7d07c4d4c38282e30204ea52
#!/usr/bin/python3 # Copyright (C) 2014-2016, 2018 Rafael Senties Martinelli # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License 3 as published by # the Free Software Foundation. # # This program is distributed in the hope that it will...
Python
usr/lib/python3/AKBL/CCParser.py
rsm-gh/alienware-kbl
gpl-3.0
12,434
406
codeparrot/github-code
f576e6a5f8e088d676676a8bd1a5ef18c3d3b33ef7ad62ebcfb2771cd40f76b0
#include <vigir_footstep_planning_default_plugins/step_cost_estimators/travel_time_step_cost_estimator.h> namespace vigir_footstep_planning { TravelTimeStepCostEstimator::TravelTimeStepCostEstimator() : StepCostEstimatorPlugin("travel_time_cost_estimator") { } bool TravelTimeStepCostEstimator::loadParams(const vi...
C++
vigir_footstep_planning_default_plugins/src/step_cost_estimators/travel_time_step_cost_estimator.cpp
team-vigir/vigir_footstep_planning_core
gpl-3.0
2,173
55
codeparrot/github-code
8871be5a0290c174312058827e9f078c0a6a4c59cb2dce83fb01e7c39cfb7ef4
#ifndef _TirDebouchechiote_ #define _TirDebouchechiote_ //----------------------------------------------------------------------------- // Headers //----------------------------------------------------------------------------- #include "tir.h" //----------------------------------------------------------------------...
C
jni/src/tir_debouche_chiote.h
smartties/Blip-Blop-for-Android
gpl-3.0
786
41
codeparrot/github-code
950584a76974488a2d977ad03940226e6019f4fac7d3ce0dcadd245fe7b75900
<?php /* <<<<<<< HEAD V5.16 26 Mar 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved. ======= V5.17 17 May 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved. >>>>>>> 230e37bfd87f00e0d010ed2ffd68ca84a53308d0 Released under both BSD license and Lesser GPL library license. ...
PHP
lib/adodb/adodb-pager.inc.php
khan0407/FinalArcade
gpl-3.0
8,269
294
codeparrot/github-code
f5d1d5f1da73da463945735d0d71c44291d2c8e27406267e2b27244c74d8c6f0
/* * Copyright (C) 2009-2016 by the geOrchestra PSC * * This file is part of geOrchestra. * * geOrchestra is free software: you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free * Software Foundation, either version 3 of the License, or (at your opt...
Java
ldapadmin/src/main/java/org/georchestra/ldapadmin/mailservice/MailService.java
jusabatier/georchestra
gpl-3.0
4,258
150
codeparrot/github-code
9142b4319e9699e8719ea2c3d5319f41db832e56398699aa9b1d29061c093b22
<? session_start(); /** * Modificacion Variables Globales Fabian losada 2009-07 * Licencia GNU/GPL */ foreach ($_GET as $key => $valor) ${$key} = $valor; foreach ($_POST as $key => $valor) ${$key} = $valor; $krd = $_SESSION["krd"]; //var_dump($_POST); $dependencia = $_SESSION["dependencia"]; $u...
PHP
archivo/ingEdificio.php
tapion/orfeotmp
gpl-3.0
9,354
264
codeparrot/github-code
5c98c6775bf3351556296658aadcc25186d0239fee7f5f0cd171ed25ed855a5a
package br.ufpe.ines.decode.observer.control; import java.io.File; import java.util.HashSet; import java.util.LinkedList; import java.util.List; import java.util.Set; import org.apache.log4j.Logger; import org.eclipse.emf.common.util.URI; import org.eclipse.emf.ecore.EObject; import org.eclipse.emf.ecore.resource.Res...
Java
br.ufpe.ines.decode/bundles/br.ufpe.ines.decode.observer/src/br/ufpe/ines/decode/observer/control/ExperimentManager.java
netuh/DecodePlatformPlugin
gpl-3.0
2,240
72
codeparrot/github-code
ff72e19d76418c8f1944e285a17e01d709112fd05f387b3f628a98d1e5b6980b
/* * This file is part of Log4Jdbc. * * Log4Jdbc 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. * * Log4Jdbc is distributed in...
Java
core/log4jdbc-utils/log4jdbc-commons/src/main/java/fr/ms/log4jdbc/util/logging/impl/DefaultLogger.java
marcosemiao/log4jdbc
gpl-3.0
5,408
230
codeparrot/github-code
c6cf7a06a69e8809669f898d91fbbed12e0edd1805a5e5791b53149257532e80
/* DMCS -- Distributed Nonmonotonic Multi-Context Systems. * Copyright (C) 2009, 2010 Minh Dao-Tran, Thomas Krennwallner * * This file is part of DMCS. * * DMCS is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software F...
C++
testsuite/testReturnPlanParser.cpp
DistributedMCS/dmcs
gpl-3.0
2,307
81
codeparrot/github-code
9d2aef3c219653c9bfdb7981e6b448268a24e85cac20eb2ecdfe4d3c3ac48bf6
using OMInsurance.DataAccess.Core; using OMInsurance.Entities; using System.Collections.Generic; using System.Linq; namespace OMInsurance.DataAccess.Materializers { public class NomernikClientSTOPMaterializer : IMaterializer<NomernikForClient> { private static readonly NomernikClientSTOPMater...
C#
OMInsurance.DataAccess/Materializers/Nomernik/NomernikClientSTOPMaterializer.cs
openzones/OMI
gpl-3.0
2,301
63
codeparrot/github-code
fbc5ae75fd900fd813020aa3ccbb6108be82227dfd65f1531daae0235f01d17d
/* Copyright © 2012 Clint Bellanger Copyright © 2012 Stefan Beller Copyright © 2013 Ryan Dansie Copyright © 2012-2021 Justin Jacobs This file is part of FLARE. FLARE 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 Foundatio...
C
src/EntityBehavior.h
dorkster/flare-engine
gpl-3.0
2,042
86
codeparrot/github-code
bb9f0a1b007a427245fe712dbc8372a237a745c88566ae97b2f021eadc4d3c28
/* Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not...
C
spievatko/espievatko/prtbl/srv/new/httpd-2.0.63/server/mpm/experimental/leader/leader.c
tukusejssirs/eSpievatko
gpl-3.0
69,373
1,977
codeparrot/github-code
f7caab2f43ab03af59b964d9ef7ac8b63c9b493da281e45bcff1c95cec75f98e
from node import models from django.forms import ModelForm from . import cdmsportalfunc as cpf from django.core.exceptions import ValidationError from django import forms class MoleculeForm(ModelForm): class Meta: model = models.Molecules fields = '__all__' class SpecieForm(ModelForm): datea...
Python
nodes/cdms/node/forms.py
cpe/VAMDC-VALD
gpl-3.0
1,963
70
codeparrot/github-code
ae8e028098611730fd62d2eeff7f4b4ba294212df9697dd0e7e444c6fabe6d42
package harvesterUI.client.panels.forms.dataSources; import com.extjs.gxt.ui.client.Style; import com.extjs.gxt.ui.client.event.ButtonEvent; import com.extjs.gxt.ui.client.event.SelectionChangedEvent; import com.extjs.gxt.ui.client.event.SelectionChangedListener; import com.extjs.gxt.ui.client.event.SelectionListener;...
Java
repox-gui/src/main/java/harvesterUI/client/panels/forms/dataSources/DataSourceTagContainer.java
repoxIST/repoxEuropeana
gpl-3.0
7,296
174
codeparrot/github-code
2b8cf14ccb298bf0f33f448c0cd65e8fe29de23736b46c4928e877d027f3965f
package org.openurp.edu.eams.teach.grade.course.service.impl import java.util.Date import org.beangle.commons.dao.impl.BaseServiceImpl import org.beangle.data.jpa.dao.OqlBuilder import org.openurp.base.Semester import org.openurp.edu.base.Project import org.openurp.edu.eams.teach.grade.course.service.GradeInputSwitch...
Scala
grade/src/main/scala/org/openurp/edu/eams/teach/grade/course/service/impl/GradeInputSwithServiceImpl.scala
openurp/edu-eams-webapp
gpl-3.0
1,185
32
codeparrot/github-code
d14e53311c549aca37a22f1803b2c92a250d9280b0d8da34e88f6616e025fec1
Ext.define('Healthsurvey.view.mobileview.login.ChangePasswordScreenController', { extend : 'Ext.app.ViewController', alias : 'controller.changePasswordScreenController', onChangePasswordClick : function(btn, opts) { debugger; var form = btn.up().up(); if (form.isValid()) { var formData = form.getValues(); ...
JavaScript
healthsurvey/src/main/webapp/app/view/mobileview/login/ChangePasswordScreenController.js
applifireAlgo/appApplifire
gpl-3.0
1,301
49
codeparrot/github-code
64b0a9cfcccc989866ee8fdd7f0339c9526a0c81acb7a9558189c9b681895745
//Colour_Maps.h. #pragma once #include <optional> #include <string> struct ClampedColourRGB { double R; // within [0,1]. double G; // within [0,1]. double B; // within [0,1]. }; //These functions take a clamped input in [0,1] and map it to a colour specified in terms of R,G,B all within [0,1]. Clampe...
C
src/Colour_Maps.h
hdclark/DICOMautomaton
gpl-3.0
1,476
49
codeparrot/github-code
cdc9b284633259e8f321e37a26c2fbb892be23ac76f8d6bdcd1ac4e6aa5eaa10
<?php namespace classes; class Render { //Private properties. private $templator, $template, $data; //Set the templator. public function __construct(BaseTemplator $templator, $template, array $data = []) { $this->templator = $templator; $this->setTemplate($template); $this-...
PHP
framework/system/classes/Render.php
Tuxion/tuxion.framework
gpl-3.0
1,602
73
codeparrot/github-code
3256ddb360c1a1510582dcf4e9b4f70f221057684b714d6c3a7ad92bf29cbdbb
/** **************************************************************************************** * * @file otpc.c * * @brief eeprom driver over i2c interface header file. * * Copyright (C) 2012. Dialog Semiconductor Ltd, unpublished work. This computer * program includes Confidential, Proprietary Information and i...
C
Dialog/5.0.4/utilities/flash_programmer/src/otpc.c
haozglue/TestDemo
gpl-3.0
2,699
82
codeparrot/github-code
176f247b8917815b09b4a078fb263207f830a23f7074f6a5a3906377895c98f4
{% extends 'master/master_base.html' %} {% block title %} <title>Import Teacher</title> {% endblock %} {% block content %} <h3>请选择要导入的教师信息文件:</h3> <div class="row clearfix"> {#展示出提示消息#} <div class="col-md-4 column"> {% if messages %} <script> ...
HTML
templates/master/master_teacher_import.html
MerleLK/StudentSystem
gpl-3.0
1,806
51
codeparrot/github-code
db52ca94b3d2a34161c76d1054180de4fa5abe7e1ab189a7521200f90ea2e6d0
#ifndef INCLUDED_volk_16i_branch_4_state_8_a16_H #define INCLUDED_volk_16i_branch_4_state_8_a16_H #include<inttypes.h> #include<stdio.h> #ifdef LV_HAVE_SSSE3 #include<xmmintrin.h> #include<emmintrin.h> #include<tmmintrin.h> static inline void volk_16i_branch_4_state_8_a16_ssse3(short* target, short* src0, ch...
C
volk/include/volk/volk_16i_branch_4_state_8_a16.h
jasimpson/gnuradio-jasimpson
gpl-3.0
4,965
195
codeparrot/github-code
1d4e1fab28927d26437e69a813219c5f653998e863dc8aca1222988e27fb911b
/* KIARA - Middleware for efficient and QoS/Security-aware invocation of services and exchange of messages * * Copyright (C) 2014 German Research Center for Artificial Intelligence (DFKI) * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public ...
Java
KIARA/src/main/java/de/dfki/kiara/tcp/TcpBlockAddress.java
dmrub/kiara-java
gpl-3.0
4,424
141
codeparrot/github-code
c5a5a676caa735076f9f3bba78cdc8abd7b181b42e8fd09dcd65d65bed631fbc
/************************************************************************** * * * Grov - Google Reader offline viewer * * * * Copyright (C...
C++
grov/client/reader/task.hpp
KonishchevDmitry/grov
gpl-3.0
2,617
92
codeparrot/github-code
9bc31bb55dafd8ee4bfcbd0edb83207d81b469bab94997aef901faa90aab5bab
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation \\...
C++
src/MomentumTransportModels/momentumTransportModels/derivedFvPatchFields/porousBafflePressure/porousBafflePressureFvPatchField.C
will-bainbridge/OpenFOAM-dev
gpl-3.0
5,473
200
codeparrot/github-code
faf249549d2e27c812d0ab5a7f34f922a0c8fae56d284f54f09f5e7fc4e8fa0d
#!/usr/bin/python # -*- coding: utf-8 -*- """ Takes Google's json encoded spreadsheet and prints a python dictionary keyed by the values in the first column of the SS. ©2017 J. J. Crump, GNU general public license """ import urllib2 from pprint import pprint import re import json # This is the url of a sample googl...
Python
GSheet2Python.py
jjon/Google-Spreadsheet-python-scripts
gpl-3.0
1,621
56
codeparrot/github-code
90e358727ae77cee23c231ccaa1591ef6fe9ebf0f0a163f0655ffa1ed54ee02d
<?php /** * @package base * @version 0.4.0.0 * @author Roman Konertz <konertz@open-lims.org> * @copyright (c) 2008-2016 by Roman Konertz * @license GPLv3 * * This file is part of Open-LIMS * Available at http://www.open-lims.org * * This program is free software; * you can redistribute it and/o...
PHP
www/core/modules/base/io/admin/admin_system_message.io.php
open-lims/open-lims
gpl-3.0
8,401
355
codeparrot/github-code
ae96284db10f82b2e7d90006e5d21adfb9164f06fbf17b44067bfa37a7b5f755
#ifndef PROFESSOR_H #define PROFESSOR_H // include(s) oder #include "beschaeftigter.h" #include "beschreibbar.h" // weitere Angaben using namespace std; class Professor : public Beschaeftigter { private: // Attribute /** Der Fachbereich des Professors. */ string fachbereich; /** Studiengan des Professors.*/ ...
C
sem3_cpp/namen/professor.h
viktorianer/applied-computer-science-htw-berlin
gpl-3.0
802
33
codeparrot/github-code
78a88e2442ecb33648af7173a5953bccce88c659e9cfce2209350f8780eadea3
package net.minecraft.server; import javax.annotation.Nullable; public abstract class AttributeBase implements IAttribute { private final IAttribute a; private final String b; private final double c; private boolean d; protected AttributeBase(@Nullable IAttribute iattribute, String s, double d0)...
Java
src/main/java/net/minecraft/server/AttributeBase.java
bergerkiller/SpigotSource
gpl-3.0
1,057
51
codeparrot/github-code
f1014dd0155c11d8198af5340c8f0ef2d3cb025d9f99de079eaaa2f08959c10d
/* * Copyright (C) 2015 ikonstas * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distribu...
Java
src/pltag/parser/semantics/discriminative/Feature.java
sinantie/PLTAG
gpl-3.0
2,104
92
codeparrot/github-code
c0f961383af9f465db72f9bbdc719026d564ef71db43ee41821613a36541b7ef
<?php /** * @package Arastta eCommerce * @copyright Copyright (C) 2015-2016 Arastta Association. All rights reserved. (arastta.org) * @credits See CREDITS.txt for credits and other copyright notices. * @license GNU General Public License version 3; see LICENSE.txt */ class ModelSystemEma...
PHP
admin/model/system/email_template.php
denisdulici/arastta
gpl-3.0
9,435
276
codeparrot/github-code
c9ecd6ad0f3dfe26d8279051150b35b17e6bfbe7e6f6fc7ac9a105a0ddc85684
/*global assert: false, refute: false */ var buster = require("buster"), huddle = require("../lib/huddle.js"), resources; buster.testCase('Huddle', { setUp: function () { resources = new huddle.Huddle(); }, "Empty input": function () { resources.read(''); assert.equals(reso...
JavaScript
test/huddle-test.js
robgietema/huddle
gpl-3.0
5,229
121
codeparrot/github-code
1e63bc6f3fdd4da16663f110f1aca5e7ac2f343b616982b9f4a4a4c5d2d7039d
// // // Convertahedron, convert beteen what polyptyth/poly can understand. // Please consult http://www.laidout.org about where to send any // correspondence about this software. // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public // License as pu...
C++
src/polyptych/src/convertahedron.cc
Laidout/laidout
gpl-3.0
3,355
135
codeparrot/github-code
9afaa1bd80aa8fe0ee720129c7d5e06c90d16ef2a2672205d38b1b03edd1bb8e
/* This source file is part of Rigs of Rods Copyright 2005-2012 Pierre-Michel Ricordel Copyright 2007-2012 Thomas Fischer Copyright 2013-2017 Petr Ohlidal & contributors For more information, see http://www.rigsofrods.org/ Rigs of Rods is free software: you can redistribute it and/or m...
C
source/main/terrain/TerrainManager.h
Speciesx/rigs-of-rods
gpl-3.0
4,124
104
codeparrot/github-code
670d7c032203480ccf1a001b5967d73add1a5f4336d4b4925d2bd649a696275e
#-*- encoding: utf-8 -*- from django.contrib.auth import authenticate, login, logout from django.http import HttpResponseRedirect, HttpResponse from django.shortcuts import render_to_response, RequestContext, render from membro_profile.forms import MembroForm, MembroProfileForm, EditProfileForm from django.contrib.aut...
Python
membro_profile/views.py
pixies/academic
gpl-3.0
4,640
149
codeparrot/github-code
998a4832ed186c3cecf5f7e216b3db7a52a60e0b5f3da02e103b9fb7a79dcc3a
/* Generic header info common to X backends for GNUstep Copyright (C) 2000 Free Software Foundation, Inc. Written by: Richard Frith-Macdonald <rfm@gnu.org> Date: Mar 2000 This file is part of the GNUstep project This library is free software; you can redistribute it and/or modify it under the ...
C
Headers/x11/XGGeneric.h
gnustep/back
gpl-3.0
9,398
262
codeparrot/github-code
3390ea8994deda2958dc6c5455c78085da97e9893dc8433966439685bfc60b82
<!DOCTYPE html > <html> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> <title></title> <meta name="description" content="" /> <meta name...
HTML
docs/api/org/homermultitext/edmodel/TokenAnalysis.html
homermultitext/edmodel
gpl-3.0
58,570
994
codeparrot/github-code
0cc9d6365c45211651ef45983df6d1cd995907dfffedd08ee31884caaa1d0043
/* This file is part of Lyos. Lyos 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. Lyos is distributed in the hope tha...
C
lib/uname.c
BackupGGCode/lyos
gpl-3.0
1,417
52
codeparrot/github-code
4f855a5f9c9fae8aa687fd1b122cfccb540f1a51901600a3a769ae1c39d25595
module ApplicationHelper #added helpers back after rails 3 upgrade def get_calibrator_name( calibrator_id ) Calibrator.find( calibrator_id ).a_name end def get_calibrator_name_from_item( item_id ) Calibrator.find( Event.where("item_id=#{item_id}").order("created_at DESC").limit(1).first.calibr...
Ruby
app/helpers/application_helper.rb
bserviss/railscalibrate
gpl-3.0
1,242
49
codeparrot/github-code