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
d039cb5fd0c4db1811cc0fd4ea805c734f3335fb224cc4d664a759f8077cb0e2
/* * 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 ma...
Java
projects/ssh/apache_mina/apache-sshd-1.2.0/sshd-core/src/main/java/org/apache/sshd/common/SyspropsMapWrapper.java
Niky4000/UsefulUtils
gpl-3.0
6,908
222
codeparrot/github-code
eca1a60e719bac7c5c7cdb567cb90f17eca70260584825fbcec6a706e91e1cca
package com.baeldung.jhipster5.web.rest; import com.baeldung.jhipster5.BookstoreApp; import com.baeldung.jhipster5.config.Constants; import com.baeldung.jhipster5.domain.Authority; import com.baeldung.jhipster5.domain.User; import com.baeldung.jhipster5.repository.AuthorityRepository; import com.baeldung.jhipster5.rep...
Java
projects/tutorials-master/tutorials-master/jhipster-5/bookstore-monolith/src/test/java/com/baeldung/jhipster5/web/rest/AccountResourceIntTest.java
Niky4000/UsefulUtils
gpl-3.0
34,406
819
codeparrot/github-code
d6fed8941a226e239dc1b76d1de8235adae1c7eb3f77b722cb6ba345075178ce
package CGRB::BLASTDB; # $Id: BLASTDB.pm,v 1.4 2004/11/16 21:38:43 givans Exp $ use warnings; use strict; use Carp; use CGRB::CGRBDB; use vars qw/ @ISA /; @ISA = qw/ CGRBDB /; 1; sub new { my $pkg = shift; my $user = shift; my $psswd = shift; $user = 'gcg' unless ($user); $psswd = 'sequences' unless ($pss...
Perl
BLASTDB.pm
sgivan/jobQ
gpl-3.0
3,365
169
codeparrot/github-code
66a459770068cb667e218557c53cca1c13b86d48e38c645e95bf0de217c2fb05
<!DOCTYPE html > <html> <head> <title>BigDecimalStringConverter - ScalaFX API 8.0.0-R4 - scalafx.util.converter.BigDecimalStringConverter</title> <meta name="description" content="BigDecimalStringConverter - ScalaFX API 8.0.0 - R4 - scalafx.util.converter.BigDecimalStringConverter" /> ...
HTML
Documents/ohjelmointistuff/ProjectAsteroid/docs/scalafx/util/converter/BigDecimalStringConverter.html
TarmoA/ProjectAsteroid
gpl-3.0
29,206
471
codeparrot/github-code
2326678932480fdb90b10abdb2f6f4573935221faa52e5e09bdc2f29f7affc45
/* * 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 xmv.solutions.IT2JZ.Jira; /** * * @author David Koller XMV Solutions GmbH */ public class JiraTestcaseStep { /** * Name...
Java
src/main/java/xmv/solutions/IT2JZ/Jira/JiraTestcaseStep.java
XMV-Solutions/ImportTestcases2JiraZephyr
gpl-3.0
1,034
53
codeparrot/github-code
bd6875d9ccecc056a727dc9b0ad65326556f4acda7bbd1b1a7b70510c3b3bfcf
/* package de.elxala.langutil (c) Copyright 2006 Alejandro Xalabarder Aulet 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. Th...
Java
pc/src/de/elxala/Eva/layout/EvaLayout.java
wakeupthecat/gastona
gpl-3.0
36,813
1,060
codeparrot/github-code
704256fe6043ad5d3b7425fda05616b61f543b51e0845758f83d24dfb5e2f320
#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright (C) 2008-2013 by # Erwin Marsi and Tilburg University # This file is part of the Pycornetto package. # Pycornetto 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 Softw...
Python
bin/cornetto-client.py
emsrc/pycornetto
gpl-3.0
6,264
199
codeparrot/github-code
b504e8fb2726a97d041bac746138622e404600718a9970687f7e6b00ce8111e0
package yio.tro.antiyoy.menu.customizable_list; import com.badlogic.gdx.graphics.g2d.BitmapFont; import yio.tro.antiyoy.gameplay.diplomacy.DiplomaticEntity; import yio.tro.antiyoy.menu.render.AbstractRenderCustomListItem; import yio.tro.antiyoy.menu.render.MenuRender; import yio.tro.antiyoy.menu.scenes.Scenes; import ...
Java
core/src/yio/tro/antiyoy/menu/customizable_list/SimpleDipEntityItem.java
yiotro/Antiyoy
gpl-3.0
1,380
48
codeparrot/github-code
c58320f69d3efeb4d708ada5bfdbfba12291d788861757a511eb452cd2cf0b07
package standalone_tools; import java.io.File; import java.util.HashMap; import java.util.Map; import java.util.Set; import framework.DataQuery; import framework.DiffComplexDetector; import framework.DiffComplexDetector.SPEnrichment; import framework.DiffSeedCombDetector; import framework.QuantDACOResultSet; import f...
Java
jdaco_dev/src/standalone_tools/CompleXChange.java
edeltoaster/jdaco_dev
gpl-3.0
12,876
367
codeparrot/github-code
38e518255422143a29383ff76f3ca1d84b50a8ff407dbae6ce53145a1a50c810
/* * Geopaparazzi - Digital field mapping on Android based devices * Copyright (C) 2016 HydroloGIS (www.hydrologis.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 ...
Java
geopaparazzi_library/src/main/java/eu/geopaparazzi/library/profiles/objects/ProfileOtherfiles.java
geopaparazzi/geopaparazzi
gpl-3.0
2,473
90
codeparrot/github-code
c2a6937a6fb8e1500b5ce259175a5b9c4746f6a1c7dbda0375829c987b7c717a
document.addEventListener("DOMContentLoaded", function(event) { if (/android|blackberry|iPhone|iPad|iPod|webOS/i.test(navigator.userAgent) === false) { var linkDescrs = document.querySelectorAll('.link-descr'); Array.prototype.forEach.call(linkDescrs, function(el, i) { el.parentNode.addEventListener('mouseenter...
JavaScript
js/gray.js
thedanielgray/thedanielgray.github.io
gpl-3.0
2,070
57
codeparrot/github-code
6054a36351340535645c55cf9f970e1f6b073e209cb78afc8887489a305ed87c
package de.turnierverwaltung.control.settingsdialog; import java.awt.Dialog; import java.awt.Font; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.File; import java.sql.SQLException; import javax.swing.JDialog; import javax.swing.JFileChooser; import javax.swing.JOptionPane; im...
Java
src/de/turnierverwaltung/control/settingsdialog/ActionListenerSettingsControl.java
mars7105/JKLubTV
gpl-3.0
18,976
451
codeparrot/github-code
b75a72ac347679210dd28590b30051c721b4adcf55e0c8b974c26206fcd37496
namespace Ribbonizer.Ribbon { using System.Collections.Generic; using System.Linq; using Ribbonizer.Ribbon.DefinitionValidation; using Ribbonizer.Ribbon.Tabs; internal class RibbonInitializer : IRibbonInitializer { private readonly IEnumerable<IRibbonDefinitionValidator> definitionVal...
C#
Ribbonizer/Ribbon/RibbonInitializer.cs
BrunoJuchli/RibbonizerSample
gpl-3.0
1,150
34
codeparrot/github-code
d61f3685b4056f4f771f8ff2d10ebc9a9de2f5a28fde9b01ebf8055709ce49ea
#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2015 Satpy developers # # This file is part of satpy. # # satpy 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...
Python
utils/fetch_avhrr_calcoeffs.py
pytroll/satpy
gpl-3.0
4,773
149
codeparrot/github-code
5864ad8d13496bf495b3531587829ce9de7f73b723c2cb1c4af7428386a95868
<?php /** * Belgian Scouting Web Platform * Copyright (C) 2014 Julien Dupuis * * This code is licensed under the GNU General Public License. * * This is free software, and you are welcome to redistribute it * under under the terms of the GNU General Public License. * * It is distributed without any warrant...
PHP
app/models/Privilege.php
juldup/scouting-web-platform
gpl-3.0
11,137
341
codeparrot/github-code
f5b222dc39300c2fed03a64c21b879030aed6f3d1753a41f88238fa1b18facb5
#define TYPEDEPARGS 0, 1, 2, 3 #define SINGLEARGS #define REALARGS #define OCTFILENAME comp_ufilterbankheapint // change to filename #define OCTFILEHELP "This function calls the C-library\n\ phase=comp_ufilterbankheapint(s,tgrad,fgrad,cfreq,a,do_real,tol,phasetype)\n Yeah." #include "ltfat_oct_temp...
C++
oct/comp_ufilterbankheapint.cc
ltfat/ltfat
gpl-3.0
2,458
67
codeparrot/github-code
fbd2d9782d24c4a9eced4e2e445fa3726e0908fc804cdee7b509dbd5946e17bd
// OpenCppCoverage is an open source code coverage for C++. // Copyright (C) 2014 OpenCppCoverage // // 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 // an...
C#
VSPackage/OutputWindowWriter.cs
OpenCppCoverage/OpenCppCoveragePlugin
gpl-3.0
2,515
62
codeparrot/github-code
0ff407f45bc91d7d37ae60ad40e1211e1659fe0470b1fd49dcdc670f0c65b361
#!/usr/bin/python # -*- coding: utf-8 -*- # (c) 2012, Michael DeHaan <michael.dehaan@gmail.com> # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type DOCUMENTATION = ''' --- module: git autho...
Python
lib/ansible/modules/git.py
dmsimard/ansible
gpl-3.0
53,677
1,368
codeparrot/github-code
0a4489bb5f36c657449ed8b1fa17c4952632a23b9a8c625bd65d29fbc31132b0
#include "main/SimpleCardProtocol.hh" #include "bridge/BridgeConstants.hh" #include "bridge/CardShuffle.hh" #include "bridge/CardType.hh" #include "bridge/Position.hh" #include "engine/SimpleCardManager.hh" #include "main/Commands.hh" #include "main/PeerCommandSender.hh" #include "messaging/CardTypeJsonSerializer.hh" ...
C++
src/main/SimpleCardProtocol.cc
jasujm/bridge
gpl-3.0
4,231
157
codeparrot/github-code
4f13700c0a433bc2c5c93be953799603ca6869acafa520d109d5047ea45f6b96
// Mantid Repository : https://github.com/mantidproject/mantid // // Copyright &copy; 2018 ISIS Rutherford Appleton Laboratory UKRI, // NScD Oak Ridge National Laboratory, European Spallation Source // & Institut Laue - Langevin // SPDX - License - Identifier: GPL - 3.0 + //-------------------------------------...
C++
Framework/DataHandling/src/RemoveLogs.cpp
mganeva/mantid
gpl-3.0
2,988
87
codeparrot/github-code
8b5fac8c02bb82626845bf9e79dc5aa636a442d0e2a3f7e4ff22719297e2aefd
import React from 'react'; import { connect } from 'react-redux'; import { View, Text, FlatList } from 'react-native'; import sb from 'react-native-style-block'; import dateHelper from '@shared/utils/date-helper'; import appConfig from '../config.app'; import ConvItem from '../components/ConvItem'; import { reloadConve...
TypeScript
src/app/src/screens/HomeScreen.tsx
TRPGEngine/Client
gpl-3.0
4,743
170
codeparrot/github-code
19aa57bcb5b62a3a0f3595a50e2e533351cb1d3f1854972025336cb6a80c5ff9
/************************************************************************** * Karlyriceditor - a lyrics editor and CD+G / video export for Karaoke * * songs. * * Copyright (C) 2009-2013 George Yunaev, support@ulduzsoft.com * * ...
C
src/background.h
martin-steghoefer/debian-karlyriceditor
gpl-3.0
2,808
76
codeparrot/github-code
cd067f3add01ac223f641b60cfd721697cad68375a7d6b0746fc53e50a7b169e
class ApplicationController < ActionController::Base class ForbiddenException < StandardError; end protect_from_forgery before_filter :set_locale before_filter :authenticate_user! layout :get_layout def set_locale I18n.locale = params[:locale] || I18n.default_locale end def get_layout if !use...
Ruby
app/controllers/application_controller.rb
autohome/autohome-web
gpl-3.0
650
31
codeparrot/github-code
56d85cbf7f0a89a340f39d7779f70e38a0804f0dcd5ed14cb879227bef8cbb95
using System; using System.Diagnostics; using System.Text; using System.Windows.Forms; using OpenDentBusiness; namespace OpenDental.Eclaims { /// <summary> /// Summary description for BCBSGA. /// </summary> public class BCBSGA{ /// <summary></summary> public static string ErrorMessage=""; public BCBSGA() ...
C#
OpenDental/Eclaims/BCBSGA.cs
eae/opendental
gpl-3.0
5,973
188
codeparrot/github-code
9bb7720039ddec7d2be025044f52da956df8521f739a8c9f9d2613725006ac24
#include "inventorypage.h" #include "ui_inventorypage.h" #include "fak.h" #include "inventorypage.h" #include <QtDebug> #include "QtDebug" #include <QSqlQuery> #include <QSqlError> #include <QSqlRecord> static const QString path = "C:/Sr.GUI/FAKKIT/db/fakdb4.db"; InventoryPage::InventoryPage(QWidget *parent) : QD...
C++
FAKKITpics/inventorypage.cpp
r0ug3-Mary/Sr.GUI
gpl-3.0
1,227
61
codeparrot/github-code
e868eec929f59501c6c9740403bdffdd8f107cd1f60871e578a9c7217c7ff1d6
var gulp = require('gulp'); var browserSync = require('browser-sync'); var jshint = require('gulp-jshint'); var concat = require('gulp-concat'); var uglify = require('gulp-uglify'); var rename = require('gulp-rename'); // 静态服务器 gulp.task('browser-sync', function() { browserSync.init({ files: "src/**", ...
JavaScript
26/gulpfile.js
bdSpring/zhou-task02
gpl-3.0
906
41
codeparrot/github-code
c68fc5b910227f1b96e7ac1a7d7932bbcaf9ff595e29c86b5d03a84c8a1db43f
/* Copyright (C) 2010 Erik Hjortsberg <erik.hjortsberg@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 2 of the License, or (at your option) any later version. This p...
C
src/framework/tasks/SerialTask.h
junrw/ember-gsoc2012
gpl-3.0
1,988
69
codeparrot/github-code
ab47fc70a674717e95bf4a1ba98ec24c6a0802848cbd47a85d736e8e752c4357
using UnityEngine; using System.Collections; public class TimeScaleManager : MonoBehaviour { public static TimeScaleManager instance; public delegate void OnTimeScaleChangeCallback(); public event OnTimeScaleChangeCallback TimeScaleChange; public bool isPlaying; public bool IsPaused { get { return...
C#
Assets/Scripts/Services/TimeScaleManager.cs
Michael-Dawkins/GeometricDefense
gpl-3.0
1,549
69
codeparrot/github-code
b54e578cbd5c0d12c0c6f65aa212cbfe032282243140e1ce0a10cd7522a4c8be
/* SPDX-FileCopyrightText: 2007 Jean-Baptiste Mardelle <jb@kdenlive.org> SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL */ #include "definitions.h" #include <klocalizedstring.h> #include <QColor> #include <utility> #ifdef CRASH_AUTO_TEST #pragma GCC diagnostic push #pragma GCC diagnostic i...
C++
src/definitions.cpp
KDE/kdenlive
gpl-3.0
5,551
238
codeparrot/github-code
80f1ecf3fbcc840cf8349c25daa0f24ef6e7a405ba567ad5c2358ec5a3160c3e
// ------------------------------------------------------------------------------------------ // Licensed by Interprise Solutions. // http://www.InterpriseSolutions.com // For details on this license please visit the product homepage at the URL above. // THE ABOVE NOTICE MUST REMAIN INTACT. // -------------------...
C#
tableorder_process.aspx.cs
bhassett/Expressions-CB13
gpl-3.0
5,729
125
codeparrot/github-code
701817dc2298a4571652c88b1e3fed29c3d7f492594ebd99d020b1b437cd378e
<?php /** * WooCommerce Admin Webhooks Class * * @author WooThemes * @category Admin * @package WooCommerce/Admin * @version 2.4.0 */ if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly } /** * WC_Admin_Webhooks. */ class WC_Admin_Webhooks { /** * Initialize the webhooks admin actions...
PHP
includes/admin/class-wc-admin-webhooks.php
bryceadams/woocommerce
gpl-3.0
14,839
522
codeparrot/github-code
aaba7c3c88e1d4bdb94ae6c0602dd085f921eff96a86bf94474b6d79b7a5e250
/** * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. * * 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; either version 2.1 of the License, or (at your option) * any later...
Java
docroot/WEB-INF/service/net/sareweb/emg/service/DrawServiceUtil.java
aritzg/EuroMillionGame-portlet
gpl-3.0
3,192
101
codeparrot/github-code
da7d473bde59ecac04ac43ba1ef101a8d3b6f0aba7a1e2fc9bc189a3b0a9cf55
#define ICON_SIZE QSize(48,48) #define EXPANDED_HEIGHT 413 #define UNEXPANDED_HEIGHT 137 #include "mainpage.h" #include "ui_options.h" #include <QWidget> #include <QComboBox> #include <QHBoxLayout> #include <QVBoxLayout> #include <QGroupBox> #include <QCheckBox> #include <QLineEdit> #include <QMimeData> #in...
C++
SApplications/ImageBurner/mainpage.cpp
realbardia/silicon
gpl-3.0
8,814
345
codeparrot/github-code
972037d51b0093b014737187590f1af470f3ed02b5b173517f49bab6e87eee45
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ package org.mozilla.javascript.optimizer; import org.mozilla.javascript.ArrowFunction; import org.mozilla.javasc...
Java
LoboParser/src/main/java/org/mozilla/javascript/optimizer/OptRuntime.java
oswetto/LoboEvolution
gpl-3.0
18,041
483
codeparrot/github-code
c420d543440cd8560722406e61cd2f915072a53b7e532477534a59a5008999cd
#include "relativelayout.h" #include <QDebug> RelativeLayout::RelativeLayout(View *parent) : View(parent) { // By default, QQuickItem does not draw anything. If you subclass // QQuickItem to create a visual item, you will need to uncomment the // following line and re-implement updatePaintNode() /...
C++
2_OutQross.Android_components/relativelayout.cpp
achipa/outqross_blog
gpl-3.0
1,257
39
codeparrot/github-code
3569ff6ad4ff0cc1efc26530819b0eb3713ed1571a90939132644f875de4b787
/* Copyright 2012 SINTEF ICT, Applied Mathematics. This file is part of the Open Porous Media project (OPM). OPM is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (a...
C++
opm/core/pressure/IncompTpfa.hpp
jokva/opm-core
gpl-3.0
8,431
189
codeparrot/github-code
e78888c22bcb29ff5d6974793526447d11b4c36e33d16a1afecb7820d5df977d
// This file is part of zinc64. // Copyright (c) 2016-2019 Sebastian Jastrzebski. All rights reserved. // Licensed under the GPLv3. See LICENSE file in the project root for full license text. use zinc64_core::{Ram, Rom, Shared, SharedCell}; pub struct VicMemory { base_address: SharedCell<u16>, charset: Shared...
Rust
zinc64-emu/src/video/vic_memory.rs
digitalstreamio/zinc64
gpl-3.0
953
32
codeparrot/github-code
540e00b1285af7b8e584e1d274050526a7d8b616217964fbd8c4572244e6dd32
<html> <head> <title>Document Browser</title> <link rel='stylesheet' href='./scdoc.css' type='text/css' /> <meta http-equiv='Content-Type' content='text/html; charset=UTF-8' /> <script src="docmap.js" type="text/javascript"></script> <script src="scdoc.js" type="text/javascript"></script> <style> ....
HTML
HelpSource/Browse.html
wdkk/iSuperColliderKit
gpl-3.0
7,242
303
codeparrot/github-code
1f74bb4b4ffa894112165096772d4630b30d0474b76aedd7b8c67fb722206364
<?php /** * Functions for building the page content for each codex page * * @since 1.0.0 * @package Codex_Creator */ /** * Get and format content output for summary section of the codex page. * * @since 1.0.0 * @package Codex_Creator * @param int $post_id Post ID of the post content required. * @param strin...
PHP
lib/content_output_functions.php
NomadDevs/codex_creator
gpl-3.0
41,482
1,345
codeparrot/github-code
cfabb0f3136394df9c035a4338908b9f151789f01cc7882dc864c4fefdb6267b
/* * sound/oss/ad1848.c * * The low level driver for the AD1848/CS4248 codec chip which * is used for example in the MS Sound System. * * The CS4231 which is used in the GUS MAX and some other cards is * upwards compatible with AD1848 and this driver is able to drive it. * * CS4231A and AD1845 are upward compa...
C
sound/oss/ad1848.c
williamfdevine/PrettyLinux
gpl-3.0
77,160
3,631
codeparrot/github-code
cf06190dee64b1aca2b1c74db01b0896ceeb878c3ce9316b80513687c057865c
/* * SPDX-License-Identifier: GPL-3.0 * * * (J)ava (M)iscellaneous (U)tilities (L)ibrary * * JMUL is a central repository for utilities which are used in my * other public and private repositories. * * Copyright (C) 2016 Kristian Kutin * * This program is free software: you can redistribute it and/or modi...
Java
Utilities/Web/src/jmul/web/page/PageLoader.java
gammalgris/jmul
gpl-3.0
5,731
246
codeparrot/github-code
c864abe357086e4aa3d2808032cc6c11729fc720834f4f491c76a72888f7cdbc
/** * @file gensvm_debug.c * @author G.J.J. van den Burg * @date 2016-05-01 * @brief Functions facilitating debugging * * @details * Defines functions useful for debugging matrices. * * @copyright Copyright 2016, G.J.J. van den Burg. This file is part of GenSVM. GenSVM is free software: you can redistribu...
C
src/gensvm_debug.c
GjjvdBurg/GenSVM
gpl-3.0
2,141
99
codeparrot/github-code
2343ecba979e97078126fe707c43c8ed0130e119f5356152fac5af4a118fddb1
/******************************************************************************* * Australian National University Data Commons * Copyright (C) 2013 The Australian National University * * This file is part of Australian National University Data Commons. * * Australian National University Data Commons is free so...
Java
DataCommons/src/test/java/au/edu/anu/datacommons/doi/DoiClientTest.java
anu-doi/anudc
gpl-3.0
6,942
246
codeparrot/github-code
4e698b77f745491568e4925a2f28ad0b5281c88df52925d03863d7e574bca2c8
// Copyright 2016, Durachenko Aleksey V. <durachenko.aleksey@gmail.com> // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later ve...
C++
src/version.cpp
AlekseyDurachenko/vkOAuth
gpl-3.0
1,812
98
codeparrot/github-code
0440d845fb847556f37b70b5d40ddda9989213bbfe638f7c77b47c8f536a01fd
import { Model } from "chomex"; import catalog from "./catalog"; export interface DeckCaptureLike { _id: any; title: string; row: number; col: number; page: number; cell: { x: number; y: number; w: number, h: number; }; protected?: boolean; } /** * 編成キャプチャの設定を保存する用のモデル。 * ふつうの1艦隊編成もあれば、連合艦隊、航空基地編成などもある。 ...
TypeScript
src/js/Applications/Models/DeckCapture/index.ts
otiai10/kanColleWidget
gpl-3.0
1,517
74
codeparrot/github-code
fed92f38bcba519c340857dc2d53de13d7eb5485a9409e30a5aa2018976874ae
/******************************************************************************* MPhoto - Photo viewer for multi-touch devices Copyright (C) 2010 Mihai Paslariu 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 F...
C++
dev/ImageLoadQueue.cpp
miabrahams/MPhoto
gpl-3.0
2,610
109
codeparrot/github-code
5f5e38c4b43bf32dd330c904e3b8b2c8adc8df3b6821b4cb256318b94965f841
package co.edu.udea.ingenieriaweb.admitravel.bl; import java.util.List; import co.edu.udea.ingenieriaweb.admitravel.dto.PaqueteDeViaje; import co.edu.udea.ingenieriaweb.admitravel.util.exception.IWBLException; import co.edu.udea.ingenieriaweb.admitravel.util.exception.IWDaoException; /** * Clase DestinoBL define la...
Java
AdmiTravelSpring/src/co/edu/udea/ingenieriaweb/admitravel/bl/PaqueteDeViajeBL.java
yefry/AdmiTravelSpring
gpl-3.0
1,439
36
codeparrot/github-code
9bd7c8b39eb1e2b597abbe31f407560b012e24b775cd1741b25be8968da6d313
// mailer.js var nodemailer = require('nodemailer'); var smtpTransport = nodemailer.createTransport("SMTP", { service: "Mandrill", debug: true, auth: { user: "evanroman1@gmail.com", pass: "k-AdDVcsNJ9oj8QYATVNGQ" } }); exports.sendEmailConfirmation = function(emailaddress, username, firs...
JavaScript
local_modules/mailer.js
evrom/ativinos---deprecated
gpl-3.0
1,602
48
codeparrot/github-code
7337b87c8e140e1514b4b130de4b48525d4ba11bc3fa941310ff2e78db568e9a
$(function(){ $('#telefone').mask('(99)9999-9999'); $('.editar').on({ click : function(){ var url = URI+"sistema/editar/"+$(this).attr('data-item'); window.location.href = url; } }); $('.deletar').on({ click : function(){ ...
JavaScript
js/sistema.js
Carlos-Claro/admin2_0
gpl-3.0
1,437
56
codeparrot/github-code
6648aa40efade5f42e4083d0d643d9413c3436a1efa42a367d56af943ea89662
/* Copyright (C) 2013 Edwin Velds This file is part of Polka 2. Polka 2 is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version...
C
src/objects/BitmapCanvas.h
edwin-v/polka2
gpl-3.0
2,003
75
codeparrot/github-code
630d6b988f9cfdabcaac0a049020a72450b903486b945e70d7711b5b0724e9b3
#ifndef VIDDEF_H #define VIDDEF_H #include <QObject> // FFmpeg is a pure C project, so to use the libraries within your C++ application you need // to explicitly state that you are using a C library by using extern "C"." extern "C" { #include <libavcodec/avcodec.h> #include <libavformat/avformat.h> #include <libavfor...
C
gui/SpiNNvidStreamer/SpiNNvidStreamer/viddef.h
indarsugiarto/Graceful_ImagePro
gpl-3.0
2,123
81
codeparrot/github-code
c854592454eb4e99aa3c94c872882f3ffe0788e0ef436e1717253352eb3daa6c
// ADOBE SYSTEMS INCORPORATED // Copyright 1993 - 2002 Adobe Systems Incorporated // All Rights Reserved // // NOTICE: Adobe permits you to use, modify, and distribute this // file in accordance with the terms of the Adobe license agreement // accompanying it. If you have received this file from a source // other t...
C++
external/Adobe Photoshop CS6 SDK/samplecode/colorpicker/nearestbase/win/NearestBaseUIWin.cpp
wholegroup/vector
gpl-3.0
2,478
104
codeparrot/github-code
3a4aeb7f67ba502ab463431954f7b3746546967becf5593ddf1935a3c784416d
# Author: Nic Wolfe <nic@wolfeden.ca> # URL: http://code.google.com/p/lazylibrarian/ # # This file is part of Sick Beard. # # Sick Beard 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 ...
Python
lazylibrarian/notifiers/tweet.py
theguardian/LazyLibrarian_Old
gpl-3.0
5,477
135
codeparrot/github-code
e7084757c80aad7472e25efbf502d4b0b24884e978458d50c12764076bc6e66b
/* * This file is part of Cleanflight. * * Cleanflight 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. * * Cleanflight is distr...
C
src/main/telemetry/hott.c
rb1205/inav
gpl-3.0
16,523
503
codeparrot/github-code
3a86c39a1bf50bb386a283532d3b168541fe9815611d719757ad0df1eae7954b
<?php class ControllerCommonLanguage extends Controller { public function index() { $this->load->language('common/language'); $data['action'] = $this->url->link('common/language/language', '', $this->request->server['HTTPS']); $data['code'] = $this->session->data['language']; $this->load->model('localisati...
PHP
www/catalog/controller/common/language.php
vocxod/cintez
gpl-3.0
1,477
57
codeparrot/github-code
6d5c48d3f7d840a79cb8cd2a20dde078a65c78feba9a5f3f1e67d072e2247fb9
using System; using System.Collections; using System.IO; namespace Server.Engines.Reports { public class StaffHistory : PersistableObject { #region Type Identification public static readonly PersistableType ThisTypeID = new PersistableType("stfhst", new ConstructCallback(Construct)); p...
C#
Scripts/Systems/Management/Services/Web/Reports/Objects/Staffing/StaffHistory.cs
GenerationOfWorlds/GOW
gpl-3.0
14,679
456
codeparrot/github-code
f46d7ea7397096dc140a805d8dca12003ac19bdd49d305dace22d18ad4133798
import numpy as np import laspy as las # Determine if a point is inside a given polygon or not # Polygon is a list of (x,y) pairs. This function # returns True or False. The algorithm is called # the "Ray Casting Method". # the point_in_poly algorithm was found here: # http://geospatialpython.com/2011/01/point-in-pol...
Python
src/LiDAR_tools.py
DTMilodowski/LiDAR_canopy
gpl-3.0
3,971
89
codeparrot/github-code
b2a40c3927bd11fae7c6e2fc3ba1621b0b57dfd2a0da9c2aa6a8ae85c173fc06
/* File: deref.h ** Author(s): Jiyang Xu, Terrance Swift, Kostis Sagonas ** Contact: xsb-contact@cs.sunysb.edu ** ** Copyright (C) The Research Foundation of SUNY, 1986, 1993-1998 ** Copyright (C) ECRC, Germany, 1990 ** ** XSB is free software; you can redistribute it and/or modify it under the ** terms of the...
C
lib/XSB/emu/deref.h
KULeuven-KRR/IDP
gpl-3.0
2,786
85
codeparrot/github-code
7f6da361e962a8d1b8df2f9178e84f42f7b971b017690cc7338b6bd9e77a7e3f
// 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 is dis...
JavaScript
enrol/attributes/js/jquery.booleanEditor.js
nitro2010/moodle
gpl-3.0
12,493
361
codeparrot/github-code
e81348b9aa0b18dc7f7ad16214b3d7831ad226d707e99ddee0bc92a23b27e543
/* Camera Functionality Library OpenMoco MoCoBus Core Libraries See www.dynamicperception.com for more information (c) 2008-2012 C.A. Church / Dynamic Perception LLC This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as publi...
C
OMCamera/OMCamera.h
DynamicPerception/OMLibraries
gpl-3.0
6,324
245
codeparrot/github-code
7c7f1fbbde50a8c5afa7202485153d9c3716ef55999fcfb101ec03d3ee3ac87f
/* Copyright (C) 2014-2019 de4dot@gmail.com This file is part of dnSpy dnSpy is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later...
C#
Extensions/dnSpy.Debugger/dnSpy.Debugger/Breakpoints/Code/DbgCodeBreakpointsServiceImpl.cs
manojdjoshi/dnSpy
gpl-3.0
13,268
326
codeparrot/github-code
b0cce66dbcfbba3222d8ac2699a0ef32c86c2c5fd24549c67e62f2f0d9be3212
#-*- coding:utf-8 -*- from findbilibili import * #funtion name [checkinfo] #判断要输出的回答 #param array 抓取的文字 #return string 回答 def checkinfo2(content): content[1] = content[1].decode('gbk') key = content[1].encode('utf-8') if key == '节操': return '这种东西早就没有了' result = animation(key) #搜动漫 ret...
Python
tom/check.py
cwdtom/qqbot
gpl-3.0
593
30
codeparrot/github-code
7419c5e1ee44981fd21406d13e82f08b507755e5fbb47aabbdf7180d5b6ae178
/** * */ package qa.AnswerFormation; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Queue; import qa.IQuestion; import qa.Utility; /** * @author Deepak * */ public class AnswerGenerator implements IAnswerGenerator { /** * * @param proce...
Java
src/qa/AnswerFormation/AnswerGenerator.java
ddeeps2610/NLP_PA2_QA
gpl-3.0
3,904
137
codeparrot/github-code
c5dd05c25cbaf338b6b7a5e85eb389c31ef61292cb38bbb9949fbbdf2edda8ad
/* bricks.h -- bricks module; Copyright (C) 2015, 2016 Bruno Félix Rezende Ribeiro <oitofelix@gnu.org> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option)...
C
src/bricks.h
allisson128/mininim
gpl-3.0
1,595
45
codeparrot/github-code
73d212cb0c8700559429924c0ee5b743886b8f75ec6117f629e4022fb30d9176
// File__Duplicate - Duplication of some formats // Copyright (C) 2007-2012 MediaArea.net SARL, Info@MediaArea.net // // This library is free software: you can redistribute it and/or modify it // under the terms of the GNU Library General Public License as published by // the Free Software Foundation, either versi...
C++
src/thirdparty/MediaInfo/MediaInfo/Video/File_Avc_Duplicate.cpp
MikeSouza/mpc-hc
gpl-3.0
9,917
275
codeparrot/github-code
eb2e46ad96cf49543e06a4ab21d7a4a3b671dac0998474c4032d8c5fe47d4adb
package com.wisecityllc.cookedapp.fragments; import android.app.Activity; import android.support.v4.app.Fragment; import android.net.Uri; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ListView; import android.widget.Progress...
Java
app/src/main/java/com/wisecityllc/cookedapp/fragments/AlertsFragment.java
dexterlohnes/cooked-android
gpl-3.0
4,689
154
codeparrot/github-code
9378add7759924deee438124ab3e671dd2c65da657098bb291c5eda9f9882644
/* * Copyright (C) 2014 - Center of Excellence in Information Assurance * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version...
C++
CoEIAKeysGenerator/keysgeneratorwidget.cpp
CoEIA/hajeb
gpl-3.0
4,671
159
codeparrot/github-code
d476c494bd46a198fb520f30c42fa4ccebb11e0a0376cafccb8c1ffabd90058f
$(function() { $("#childGrid").jqGrid( { url : "TBCcnsizePrm.html?getGridData",datatype : "json",mtype : "GET",colNames : [ 'Conn Id',getLocalMessage('water.connsize.frmDt'), getLocalMessage('water.connsize.toDt'), getLocalMessage('water.connsize.frm'),getLocalMessage('water.connsize.to'), getLocalMessage('e...
JavaScript
Mainet1.1/MainetServiceParent/MainetServiceWeb/src/main/webapp/js/masters/connectionsize/connectionSizeScript.js
abmindiarepomanager/ABMOpenMainet
gpl-3.0
5,451
151
codeparrot/github-code
19150416b74dc1fa78360ba3076d0b6ff2273874e2f746d13891a2aed5b36c8c
// Copyleft 2005 Chris Korda // 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 any later version. /* chris korda revision history: rev date co...
C++
trunk/PotterDraw/PersistDlg.cpp
victimofleisure/PotterDraw
gpl-3.0
3,742
130
codeparrot/github-code
2ed7dfb15740afcebfae8b9cdcba1aa1f17073c8a8e206eaf2138cf574420890
package net.ballmerlabs.scatterbrain.network.wifidirect; import android.os.Handler; import android.os.Looper; import android.os.Message; import net.ballmerlabs.scatterbrain.network.GlobalNet; /** * Created by user on 5/29/16. */ @SuppressWarnings({"FieldCanBeLocal", "DefaultFileTemplate"}) class WifiDirectLooper e...
Java
app/src/main/java/net/ballmerlabs/scatterbrain/network/wifidirect/WifiDirectLooper.java
gnu3ra/Scatterbrain
gpl-3.0
938
44
codeparrot/github-code
081381303f1597cd482154e88a6a6a43cd37f7a10791de426524ec3cbb31adec
/* * LazyListView * Copyright (C) 2015 Romeo Calota <kicsyromy@gmail.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any late...
C
lazylistview.h
kicsyromy/LazyListView
gpl-3.0
2,083
71
codeparrot/github-code
3d84c85d174d62ad0f6018a0f561c80d201ce908fc90d7eea4f340a260a9c1d1
/* xoreos-tools - Tools to help with xoreos development * * xoreos-tools is the legal property of its developers, whose names * can be found in the AUTHORS file distributed with this source * distribution. * * xoreos-tools is free software; you can redistribute it and/or * modify it under the terms of the GNU Ge...
C++
src/common/base64.cpp
xoreos/xoreos-tools
gpl-3.0
7,266
243
codeparrot/github-code
4e5dbe9f188ef4ce3a7b4d24d2ee669217779160d23d55f0acc842aa543d4986
package org.jlinda.nest.gpf; import com.bc.ceres.core.ProgressMonitor; import org.apache.commons.math3.util.FastMath; import org.esa.beam.framework.datamodel.Band; import org.esa.beam.framework.datamodel.MetadataElement; import org.esa.beam.framework.datamodel.Product; import org.esa.beam.framework.datamodel.ProductDa...
Java
jlinda/jlinda-nest/src/main/java/org/jlinda/nest/gpf/InterferogramOp.java
kristotammeoja/ks
gpl-3.0
20,085
489
codeparrot/github-code
66347a43671933fe7cea68820e1a7b02ee9fb8a484872d26279fb8542bff7852
<?php namespace Volantus\FlightBase\Src\General\MSP; use Volantus\MSPProtocol\Src\Protocol\Response\Response; /** * Class MSPResponseMessage * * @package Volantus\FlightBase\Src\General\MSP */ class MSPResponseMessage { /** * @var string */ private $id; /** * @var Response */ ...
PHP
src/General/MSP/MSPResponseMessage.php
Volantus/flight-base
gpl-3.0
864
50
codeparrot/github-code
ae4112a8121977a001040027aed1982a3edee2e9c84adb5e90b94d5cdedf9465
#include "if_expression.h" #include <glog/logging.h> #include "../internal/compilation.h" #include "../public/value.h" namespace afc { namespace vm { namespace { class IfExpression : public Expression { public: IfExpression(std::shared_ptr<Expression> cond, std::shared_ptr<Expression> true_case, ...
C++
src/vm/internal/if_expression.cc
alefore/edge
gpl-3.0
3,919
116
codeparrot/github-code
cf198f1a4f89db7a0c43a75bb96db4739f74cb172c99ad03583de1d722417fdf
# Copyright (c) 2013-2014 SUSE LLC # # This program is free software; you can redistribute it and/or # modify it under the terms of version 3 of the GNU General Public License as # published by the Free Software Foundation. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; ...
Ruby
lib/pennyworth/commands/command.rb
SUSE/pennyworth
gpl-3.0
1,250
44
codeparrot/github-code
84be620e7c48a84f0922c45e23f813fd322d2dd7a6db93b5db8d9532325aaf20
import net.sf.javabdd.*; /** * @author John Whaley */ public class NQueens { static BDDFactory B; static boolean TRACE; static int N; /* Size of the chess board */ static BDD[][] X; /* BDD variable array */ static BDD queen; /* N-queen problem expressed as a BDD */ static BDD solution; /* On...
Java
JavaBDD/NQueens.java
aindilis/sandbox-gamer
gpl-3.0
4,650
159
codeparrot/github-code
651908ab69055106fc39f0ec7c23266b611bc71c7c773f1a24b28472db5e5723
<?php namespace controllers\bases; abstract class HttpBase extends UriMethodBase { /** * @var array */ protected $params; function __construct() { $uriSections = \Request::getInstance()->getUriSections(); $paramsUri = array_slice($uriSections, DEFAULT_PARAMS_START_POSITION); ...
PHP
controllers/extends/HttpBase.php
franciscomaestre/mvcd-framework
gpl-3.0
1,246
46
codeparrot/github-code
fc3bc8f09715ea22225849d13bdf0583a933cd29c356df01cd366a2d8f25d748
# coding: utf-8 """ mistune ~~~~~~~ The fastest markdown parser in pure Python with renderer feature. :copyright: (c) 2014 - 2016 by Hsiaoming Yang. """ import re import inspect __version__ = '0.7.3' __author__ = 'Hsiaoming Yang <me@lepture.com>' __all__ = [ 'BlockGrammar', 'BlockLexer', 'In...
Python
SiteFab/parser/mistune.py
ebursztein/SiteFab
gpl-3.0
35,424
1,158
codeparrot/github-code
2100b2f7b1c553fd048ba02b1b33013c206d60201d272bd0c6bed05700d51f9b
package it.unimi.di.big.mg4j.query; /* * MG4J: Managing Gigabytes for Java (big) * * Copyright (C) 2005-2015 Sebastiano Vigna * * 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; eit...
Java
src/it/unimi/di/big/mg4j/query/GenericItem.java
JC-R/mg4j
gpl-3.0
3,657
86
codeparrot/github-code
22af4e6e80311ac4d9496b8fe55bff7f8982846a18f038924bd7516fbe7473aa
# noinspection PyPackageRequirements import wx import gui.globalEvents as GE import gui.mainFrame from gui.contextMenu import ContextMenuSingle from service.fit import Fit class AmmoToDmgPattern(ContextMenuSingle): visibilitySetting = 'ammoPattern' def __init__(self): self.mainFrame = gui.mainFrame...
Python
gui/builtinContextMenus/ammoToDmgPattern.py
DarkFenX/Pyfa
gpl-3.0
1,296
43
codeparrot/github-code
99cf3d48907de4de956e261b14a459ed67cd9df1cf3a26dde9b29716a71f0213
package net.adanicx.cyancraft.client.model; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; import net.minecraft.client.model.ModelRenderer; import net.minecraft.entity.Entity; import net.adanicx.cyancraft.client.OpenGLHelper; import net.adanicx.cyancraft.entities.EntityArmorStand;...
Java
src/main/java/net/adanicx/cyancraft/client/model/ModelArmorStand.java
Cyancraft/Cyancraft
gpl-3.0
4,767
111
codeparrot/github-code
6b40f4bd3b4151cd651b4aebb384e786a2f3cfba242d04442722286b0a934a52
package ctlmc.bddgraph import ctlmc.spec._ import ctlmc._ class GraphFactorySpec extends UnitSpec { test("Creation") { val factory = new GraphFactory() } } class GraphSpec extends UnitSpec { val factory = new GraphFactory() factory.setParameters(Array( ("v1", (Array("F", "T").zipWithIndex.toMap, 0)), ("v2",...
Scala
src/test/scala/bddgraph/GraphSpec.scala
fpoli/ctlmc
gpl-3.0
3,242
109
codeparrot/github-code
a73d8dee0c1c9bfcb8ef1f803b3a57f9761279b8df51aa8428df2aa009100a50
# This module is for compatibility only. All functions are defined elsewhere. __all__ = ['rand', 'tril', 'trapz', 'hanning', 'rot90', 'triu', 'diff', 'angle', 'roots', 'ptp', 'kaiser', 'randn', 'cumprod', 'diag', 'msort', 'LinearAlgebra', 'RandomArray', 'prod', 'std', 'hamming', 'flipud', ...
Python
bin/Lib/site-packages/numpy/oldnumeric/mlab.py
beiko-lab/gengis
gpl-3.0
3,566
126
codeparrot/github-code
9ba40d3c84557f0320b20587bf6fc9d9087e8ecce21eb6df8eb6a16ffa8231f2
#include "config.h" #include "hardware.h" #include "data.h" #include "instruction.h" #include "rung.h" #include "plclib.h" #include "project.h" int project_task(plc_t p) { // /**************start editing here***************************/ BYTE one, two, three; one = resolve(p, BOOL_DI, 1); two = fe(p, BOOL_DI, 2...
C
src/project.c
kalamara/plcemu
gpl-3.0
768
33
codeparrot/github-code
7b10859f2e23407fecceb43e05f83158112e29ac08c7137128364f304c0e1d26
#include <vgStableHeaders.h> #include "vgentry/vgSound3DEntry.h" #include <vgUIController/vgPropertyPage.h> #include <vgUIController/vgUIController.h> #include <vgKernel/vgkVec3.h> #include <vgMesh/vgmMeshManager.h> //#include <vgMath/vgfVector3.h> #include <vgKernel/vgkSelectManager.h> PropertiesParam vg...
C++
SAMPLE_CODE/src/vgEntry/vgSound3DEntry.cpp
xzy0008/sample_code
gpl-3.0
4,971
178
codeparrot/github-code
72654a856e6639d06c3a336083d241a1353c82869bd215d592e4046282782377
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Natural Europe Pathways <?php echo isset($title) ? ' | ' . strip_formatting($title) : ''; ?></title> <!-- Meta --> <meta http-equiv="Co...
PHP
application/views/scripts/common/header.php
agroknow/PAT
gpl-3.0
6,482
126
codeparrot/github-code
7652fe5d2acdfef6c88f3a1d4b6d111caa0cd01f22e30421dcb91271d23e32bd
!function(namespace) { 'use strict'; function Modal(elem, params) { this.$element = jQuery(elem); this.params = params || {}; this.cssReadyElement = this.params.cssReadyElement || 'JS-Modal-ready'; this.cssActiveElement = this.params.cssActiveElement || 'JS-Modal-active'; this.__construct(); ...
JavaScript
front/scripts/modal.js
subuk/bakapy
gpl-3.0
2,698
103
codeparrot/github-code
6283e16a48bfda96ed9b28a0db991c238350c97c81b9a3b7b9e1e364030855ca
# Copyright (C) 2015 SensorLab, Jozef Stefan Institute http://sensorlab.ijs.si # # Written by Tomaz Solc, tomaz.solc@ijs.si # # This work has been partially funded by the European Community through the # 7th Framework Programme project CREW (FP7-ICT-2009-258301). # # This program is free software: you can redistribute ...
Python
controller/spectrumwars/testbed/simulation.py
avian2/spectrumwars
gpl-3.0
3,927
146
codeparrot/github-code
df8b5aa0d9406a007f3bf4bb22f60889ed0818fc1dd29f51705030272c5a4d13
#include <stdio.h> #include <string.h> #include <stdlib.h> #include <dirent.h> #include <fcntl.h> #include <assert.h> #include <unistd.h> #include <sys/mman.h> #include <sys/types.h> #include <sys/stat.h> #include <sys/time.h> #include <bcm2835.h> #include <unistd.h> #include <iostream> //#define BCM2708_PERI_BASE ...
C++
extra/dht22.cpp
FreshXOpenSource/wallyd
gpl-3.0
6,241
240
codeparrot/github-code
2f8e410812663e98128e44233a449e00afc7a7717e5a3a24e516ae2104fcd82a
// This file is part of BOINC. // http://boinc.berkeley.edu // Copyright (C) 2008 University of California // // BOINC 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, // either version 3 of the Licens...
C++
api/boinc_api.cpp
hanxue/Boinc
gpl-3.0
44,618
1,525
codeparrot/github-code
60e43b3cdd19a7531acecdcbc30aa487510ca36564b7f9ec3ed65a5511f1d455
"""add graphql ACL to users Revision ID: 2d4882d39dbb Revises: c4d0e9ec46a9 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '2d4882d39dbb' down_revision = 'dc2848563b53' POLICY_NAME = 'wazo_default_user_policy' ACL_TEMPLATES = ['dird.graphql.me'] policy_tabl...
Python
alembic/versions/2d4882d39dbb_add_graphql_acl_to_users.py
wazo-pbx/xivo-auth
gpl-3.0
3,250
113
codeparrot/github-code
a08cdafe88a86159011ab621d72802601935ce75c4de085dc032687f5eaaf165
#include "VCL.h" #include "Unit1.h" #include "GridMap.h" #include "defines.h" #include "matrix_utils.h" #include "bat_run.h" #include "LoadData.h" #include <cstdio> #include <ctime> #include <cstring> #include <cmath> // special LSM mode with "-1 distance" = no aggregation of spots, just statistics per unit bool LSM_m...
C++
zig4/core/LSIdent.cpp
cbig/zonation-core
gpl-3.0
27,025
1,066
codeparrot/github-code
17a0deb9cdcdf06cd0bee12018e8f6850ebe8d97011ecbfeb7d56b06fd023d85
/* vim: set ts=8 sw=4 sts=4 et: */ /*====================================================================== Copyright (C) 2008,2009,2014 OSSO B.V. <walter+rtpsniff@osso.nl> This file is part of RTPSniff. RTPSniff is free software: you can redistribute it and/or modify it under the terms of the GNU General Public Licen...
C
timer_interval.c
ossobv/rtpsniff
gpl-3.0
9,457
267
codeparrot/github-code
71e2c58cd5553247fb8596157ad5b4a2c6b7eb2cb3c3bcbd459283ec832503b1
/** * OpenKM, Open Document Management System (http://www.openkm.com) * Copyright (c) 2006-2015 Paco Avila & Josep Llort * * No bytes were intentionally harmed during the development of this application. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Ge...
Java
src/main/java/com/openkm/servlet/DownloadServlet.java
papamas/DMS-KANGREG-XI-MANADO
gpl-3.0
4,131
108
codeparrot/github-code
58e513fc7abb64bcf3c0f00588ea00df5233a9e704da8364090df173ba4cac64
<?php /** * Zend Framework * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://framework.zend.com/license/new-bsd * If you did not receive a copy of the license a...
PHP
library/Zend/View/Helper/HeadScript.php
abueldahab/medalyser
gpl-3.0
15,547
458
codeparrot/github-code
c96fdc02c7ed0bc0fa817c713ca8ea34bdbe3f63905ef3206734fd58cd945e30
/* Copyright (C) 2012-2014 Carlos Pais * * 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 dis...
C++
editor/actions/get_user_input.cpp
fr33mind/Belle
gpl-3.0
2,974
123
codeparrot/github-code
737a0ae82556004aefaabfd984f316e370480c1031491b65ac7548f31de10e1f
#include<stdio.h> #include<big_integer.h> #include<string.h> #include<time.h> #include"gen_lib.h" int main(int argc,char** argv) { if(argc<3) { printf("usage %s <length> <num> \n",argv[0]); exit(-1); } FILE* bash=fopen("bash.dat","w+"); FILE* python=fopen("py.dat","w+"); int length=atoi(argv[1]); int num=a...
C
src/rtype_v3.0/debug/gen_cmp2.c
NosicLin/Codger
gpl-3.0
504
34
codeparrot/github-code
f4d86c5207736e8b3dcbecff365a00a1728cdd3ac423a7881b0e110d30336eb5
/**************************************************************************** ** ** Copyright (C) 2016 The Qt Company Ltd. ** Contact: https://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 w...
C++
src/plugins/projectexplorer/buildconfiguration.cpp
sailfish-sdk/sailfish-qtcreator
gpl-3.0
15,163
471
codeparrot/github-code
1921945f60b7677f69513855a082bc4d34ac898c2b595eaaefe6e24bb7bddc23
## # This module requires Metasploit: http://metasploit.com/download # Current source: https://github.com/rapid7/metasploit-framework ## require 'msf/core' require 'zlib' class Metasploit3 < Msf::Exploit::Remote Rank = GoodRanking include Msf::Exploit::FILEFORMAT def initialize(info = {}) super(update_inf...
Ruby
modules/exploits/windows/fileformat/adobe_libtiff.rb
cSploit/android.MSF
gpl-3.0
12,227
387
codeparrot/github-code