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 |
|---|---|---|---|---|---|---|---|---|
bde784464ba7f90477753b402a9d7d6b2cec2c4f54edf2ba9ced3c63e53a56b8 | /* Copyright (C) 2010-2014 The RetroArch team
*
* ---------------------------------------------------------------------------------------
* The following license statement only applies to this file (dir_list.c).
* ---------------------------------------------------------------------------------------
*
* Permiss... | C | libretro-sdk/file/dir_list.c | SuperrSonic/RA-SS | gpl-3.0 | 8,106 | 276 | codeparrot/github-code |
f2ae3e909f9171ab3d452160adc913a94a4f72f321e1bcd841f117addad13caa | package bio.singa.sequence.algorithms.alignment;
import bio.singa.mathematics.algorithms.graphs.ShortestPathFinder;
import bio.singa.mathematics.graphs.model.GraphPath;
import bio.singa.mathematics.matrices.LabeledSymmetricMatrix;
import bio.singa.sequence.model.ProteinSequence;
import bio.singa.structure.algorithms.s... | Java | singa-sequence/src/main/java/bio/singa/sequence/algorithms/alignment/NeedlemanWunschAlignment.java | cleberecht/singa | gpl-3.0 | 9,774 | 185 | codeparrot/github-code |
8cd65905c9d60d934148f898ba1eef46b2e01692f21c083b2a6cb067cee19600 | package org.safehaus.penrose.federation;
import org.safehaus.penrose.ldap.SearchResult;
import org.safehaus.penrose.ldap.DN;
import java.util.Collection;
import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.Map;
import java.io.Serializable;
/**
* @author Endi Sukma Dewata
*/
public class Id... | Java | common/src/main/java/org/safehaus/penrose/federation/IdentityLinkingResult.java | rgorosito/penrose | gpl-3.0 | 3,046 | 131 | codeparrot/github-code |
43af17b9c109f230452833a3f16acc1bd4b0aa40a0ce6bc1a33f5c254bcac22a | # encoding: utf-8
# Copyright (c) 2010-2011 Eugene Brazwick
# qtruby version of charmap mainwindow example widget
# Based on Nokia example http://doc.qt.nokia.com/4.6/widgets-charactermap.html
=begin
****************************************************************************
**
** Copyright (C) 2010 Nokia Corpor... | Ruby | lib/reform_OLD/contrib/widgets/charmap_main.rb | EugeneBrazwick/Midibox | gpl-3.0 | 7,050 | 182 | codeparrot/github-code |
aa0e291c1c8a1349d20179b9165d25f027a73d20afb84900c5f48295af9a4405 | // Copyright 2015, Alfred Klomp <git@alfredklomp.com>
//
// This file is part of akview.
//
// Akview is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) a... | C | src/gui.c | aklomp/akview | gpl-3.0 | 16,918 | 753 | codeparrot/github-code |
22c381d8ba3d5d76204a738bfbcfe211612d840f1f91b7f05a6246ab6e7a461e | /*
* This file is part of the LibreOffice project.
*
* 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/.
*
* This file incorporates work covered by the following lice... | Java | qadevOOo/runner/util/utils.java | beppec56/core | gpl-3.0 | 31,037 | 843 | codeparrot/github-code |
fb7698596025f2490d32838ff1c05263307f657865f798305c81aba2f9cb67cc | package de.felixzett.eventbot.keyboard;
import org.junit.Test;
import org.telegram.telegrambots.api.objects.replykeyboard.buttons.InlineKeyboardButton;
import java.util.List;
import static org.junit.Assert.assertEquals;
/**
* Test for {@link InlineKeyboard}
*
* @author FelixZett
*/
public class InlineKeyboardT... | Java | src/test/java/de/felixzett/eventbot/keyboard/InlineKeyboardTest.java | FelixZett/telegram-eventbot | gpl-3.0 | 1,616 | 48 | codeparrot/github-code |
36a52e73bad7bf344cf83f414c3cb6a84e19e47b437736761bf9cf2066f68765 | #!/usr/bin/python
"""
NaivePlot - A very naive plotting library for the console
"""
COLORS = True
try:
from colorama import init
from termcolor import colored
init()
except ImportError:
COLORS = False
class Point(object):
"""Just a point
You can create it and check the value
>>> p1 ... | Python | src/naiveplot.py | per9000/naiveplot | gpl-3.0 | 17,753 | 589 | codeparrot/github-code |
4d339b8f8b2ab2fe7ad22b62c9035db2aed20e570b270582a37c87af0ca28a87 | package io.andrewohara.tinkertech.loaders;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.StandardCopyOption;
import java.util.Arrays;
import java.util.List;
import java.util.concurrent.Executor;
import c... | Java | src/main/io/andrewohara/tinkertech/loaders/Downloader.java | oharaandrew314/TinkerTech | gpl-3.0 | 3,961 | 145 | codeparrot/github-code |
f13614e4168318a569984b81d914310b1b4ce5ba0b1c88c8c58f3c0d0c6642ea | # -*- coding: UTF-8 -*-
"""
Name: generic_task.py
Porpose: Execute a generic task with FFmpeg
Compatibility: Python3 (Unix, Windows)
Author: Gianluca Pernigotto <jeanlucperni@gmail.com>
Copyright: (c) 2018/2022 Gianluca Pernigotto <jeanlucperni@gmail.com>
license: GPL3
Rev: Feb.14.2022
Code checker:
flake8: --ignor... | Python | videomass/vdms_threads/generic_task.py | jeanslack/Videomass | gpl-3.0 | 3,294 | 107 | codeparrot/github-code |
6c63eb58ef7c38a99f365a81c9cbd9a5e9cd28031bb2efbbc818da1b7cbdf2ae | package net.sf.gazpachoquest.questionnaires.components.question.type;
import javax.inject.Inject;
import net.sf.gazpachoquest.dto.answers.Answer;
import net.sf.gazpachoquest.dto.answers.NoAnswer;
import net.sf.gazpachoquest.dto.answers.TextAnswer;
import net.sf.gazpachoquest.questionnaires.components.question.Abstrac... | Java | questionnaires-ui/src/main/java/net/sf/gazpachoquest/questionnaires/components/question/type/ShortFreeTextQuestion.java | antoniomaria/gazpachoquest | gpl-3.0 | 2,442 | 68 | codeparrot/github-code |
7b2d9f904ad27b7154d3a423d43cef69a648820b06ae8f073775ba2cebeca9a4 | 'use strict';
var appConfig = require('./config.json');
var async = require('async');
var checkIpInList = require('./helpers/checkIpInList.js');
var extend = require('extend');
var fs = require('fs');
var genesisblock = require('./genesisBlock.json');
var https = require('https');
var Logger = require('./logger.js');
... | JavaScript | app.js | mikegi/shift | gpl-3.0 | 12,641 | 461 | codeparrot/github-code |
996d5cc840423129392408a36fcf1fa90930fce58a9e51d3917ce613b52555b5 | {-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE TemplateHaskell #-}
{-|
Copyright : (c) 2016 Dominik Schoop
License : GPL v3 (see LICENSE)
Maintainer : Dominik Schoop dominik.schoop@hs-esslingen.de
Portability : GHC only
Conversion of the graph part of a sequent (constraint system) to a JSON gr... | Haskell | lib/theory/src/Theory/Constraint/System/JSON.hs | samscott89/tamarin-prover | gpl-3.0 | 17,300 | 422 | codeparrot/github-code |
c92d47e8d83366f0b5a992139a021f7a7a5372190bd8e0d8c278a8f43de1146d | <!DOCTYPE html >
<html>
<head>
<title>BindingIncludes - ScalaFX API 8.0.0-R4 - scalafx.beans.binding.BindingIncludes</title>
<meta name="description" content="BindingIncludes - ScalaFX API 8.0.0 - R4 - scalafx.beans.binding.BindingIncludes" />
<meta name="keywords" content="Binding... | HTML | Documents/ohjelmointistuff/ProjectAsteroid/docs/scalafx/beans/binding/BindingIncludes$.html | TarmoA/ProjectAsteroid | gpl-3.0 | 58,658 | 760 | codeparrot/github-code |
3bd8b30e8ae9bdb87053551a04d110d6359dc8917ea8c88519efda492dd379fe | from django.db import models
from django.db.models import Q
class FriendshipManager(models.Manager):
"""
Provides an interface to friends
"""
def friends_for_user(self, user):
"""
Returns friends for specific user
"""
friends = []
qs = self.filter(Q(from_user=... | Python | friends/managers.py | chrisfranklin/dinnertime | gpl-3.0 | 2,411 | 83 | codeparrot/github-code |
4d33de9f3479c14a586c9773d1bd0c9e3ea425428b05e07409fbfbf75b701c4e | import kivy
kivy.require('1.9.1')
from kivy.uix.anchorlayout import AnchorLayout
from kivy.uix.relativelayout import RelativeLayout
from kivy.uix.floatlayout import FloatLayout
from kivy.uix.boxlayout import BoxLayout
from kivy.uix.stencilview import StencilView
from fieldlabel import FieldLabel
from kivy.properties im... | Python | autosportlabs/uix/gauge/bargraphgauge.py | ryandoherty/RaceCapture_App | gpl-3.0 | 1,453 | 44 | codeparrot/github-code |
e2eef2989aa71085358860c880ede9cb547cabb58b370abb85532f832264ab0d | /*
* a ReactJS program to create tic-tac-toe game.
* https://reactjs.org/tutorial/tutorial.html
*
* NOTE: this showcases: communication b/w parent/child componants (props down; function up); function component, etc.
*
* Date: 11/07/21
*
* */
import React from 'react';
import ReactDOM from 'react-dom';
import '... | JavaScript | front.end/react/tic_tac_toe/src/index.js | entrepidea/projects | gpl-3.0 | 3,176 | 146 | codeparrot/github-code |
98c7f94a2e4e22c03c12e735035adc3349c1f5138561b697fd84d2e5979f5bb4 | package main.webapp;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import javax.ws.rs.FormParam;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;
@Path("/register")
public class Register {
private Security sec... | Java | GK9.3/Cloud-Datenmanagement/src/main/webapp/Register.java | mertl-tgm/SYT_5BHIT | gpl-3.0 | 4,878 | 157 | codeparrot/github-code |
c7420fc0572dee5fa77db28b5eee0699830f5399d4db8542be5a5d99426f53bb | /* -*- c++ -*- */
/*
* Copyright 2012 Free Software Foundation, Inc.
*
* This file is part of GNU Radio
*
* GNU Radio 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 opti... | C++ | gnuradio-runtime/lib/controlport/rpcserver_ice.cc | Gabotero/GNURadioNext | gpl-3.0 | 4,796 | 166 | codeparrot/github-code |
6e2aa292151ff41b4eb5052abf1ec792d841302fcad851d52014c50f499852d0 | /**************************************************************************
Copyright 2010-2012 Kevin M. Huffenberger & Benjamin D. Wandelt
This file is part of spinsfast.
Spinsfast is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as publis... | C | code/spinsfast_backward_Gmm.c | moble/spinsfast | gpl-3.0 | 6,141 | 214 | codeparrot/github-code |
44b80a55f1fb42d81136341f352ae56292336ba1818b631a2641d0e52253209a | """ The SystemTap engine implementation.
"""
import time
import os
from subprocess import PIPE, STDOUT, DEVNULL, TimeoutExpired
import perun.collect.trace.systemtap.parse_compact as parse_compact
import perun.collect.trace.collect_engine as engine
import perun.collect.trace.systemtap.script_compact as stap_script_com... | Python | perun/collect/trace/systemtap/engine.py | tfiedor/perun | gpl-3.0 | 30,849 | 668 | codeparrot/github-code |
b806765512d4f45eb2e95d7a98e3ccacc50497000dd1a6fdfe767c32bd73cd57 | <html>
<head>
<title>wifisetup</title>
<style>
.Nettitle {
font-size: 15px;
font-weight: bolder;
padding-bottom: 5px;
}
.hostname {
font-size: 15px;
padding-bottom: 2.5px;
padding-left: 5px;
}
.SSID {
font-size: 15px;
padding-bottom: 2.5px;
padding-left: 5px;
... | HTML | host/resourcesnew/printflow/wifisettings.html | cerincabraham/Xtreme-D | gpl-3.0 | 5,237 | 188 | codeparrot/github-code |
9ab21c81b9a115906cce8d53f7c0444bc84a710b80996d7de7f3866f5d905eba | /*
* @(#)ActionSupportForJDK5.java 7/14/2010
*
* Copyright 2002 - 2010 JIDE Software Inc. All rights reserved.
*/
package com.jidesoft.utils;
import javax.swing.*;
import java.awt.event.ItemEvent;
import java.awt.event.ItemListener;
import java.beans.PropertyChangeEvent;
import java.beans.PropertyChangeListener;
... | Java | src/com/jidesoft/utils/ActionSupportForJDK5.java | clementvillanueva/SimpleHDR | gpl-3.0 | 8,529 | 214 | codeparrot/github-code |
665ca28f8df93919b4bbdbd76bc7d7adc8a3f7d7bc6f94e0643e32386dca7035 | # -*- coding: utf-8 -*-
#
# Copyright (C) 2012-2013 Vinay M. Sajip. See LICENSE for licensing information.
#
# Enhancements in shlex to tokenize closer to the way real shells do
#
from collections import deque
import shlex
import sys
# We need to behave differently on 2,x and 3,x, because on 2.x
# shlex barfs on Unico... | Python | explainshell/shlext.py | sinesiobittencourt/explainshell | gpl-3.0 | 8,869 | 209 | codeparrot/github-code |
f86873c8c936cc6f3cb5104c129a1c6b03767f3d22fed561d5237aead25d2678 | /**
* This file is part of alf.io.
*
* alf.io 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.
*
* alf.io is distributed in the ... | Java | src/main/java/alfio/model/metadata/ConditionsLink.java | exteso/alf.io | gpl-3.0 | 1,432 | 44 | codeparrot/github-code |
32fdd6799afe8ee881e8bdd51bacf3029fed703d3c60a389ac664561dedd208a | 'use strict';
import React from 'react';
import * as mui from 'material-ui';
import base from '../base/index';
import icons from '../icons';
const styles = {
icon: {
margin: 16,
},
button: {
height: '56px',
width: '56px',
overflow: 'inherit'
}
};
const Toolbar = ({ vpanelProjectNames, onNewIm... | JavaScript | public/app/components/ui-project-tab/toolbar.js | vincent-tr/mylife-home-studio | gpl-3.0 | 2,804 | 81 | codeparrot/github-code |
a8093dd7bf2941294027886df698f140829ffed4199e1544eeee6e825969ea06 | /*
* Copyright (C) 2014, 2016 Valerio Bozzolan & James Dearing (TheOpenSourceNinja)
*
* 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)... | Java | app/src/main/java/anupam/acrylic/EasyPaint.java | valerio-bozzolan/AcrylicPaint | gpl-3.0 | 27,726 | 674 | codeparrot/github-code |
3bee9f41329505fdaed465e2a34e9e2fa4e7cd79cd3dc9e3871a58cc7366a53f | <?php
class ControllerPaymentAmazonLoginPay extends Controller {
public function address() {
$this->load->language('payment/amazon_login_pay');
$this->document->setTitle($this->language->get('heading_title'));
$this->load->model('payment/amazon_login_pay');
// capital L in Amazon cookie name is required, do ... | PHP | upload/catalog/controller/payment/amazon_login_pay.php | pedrocones/opencart | gpl-3.0 | 34,667 | 890 | codeparrot/github-code |
f543606aa416b40fa3ad6a34c28bd5a0802a50322f0b5373ae91b835981b5c56 | /*********************************************************************
CombLayer : MCNP(X) Input builder
* File: speciesInc/TankMonoVesselGenerator.h
*
* Copyright (c) 2004-2021 by Stuart Ansell
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General... | C | Model/MaxIV/commonGeneratorInc/TankMonoVesselGenerator.h | SAnsell/CombLayer | gpl-3.0 | 2,000 | 68 | codeparrot/github-code |
9627b1e2e542f0a8ba820533eeb54288a13ad5716f954d32e0f6b5e5717d3070 | /*
* Sepheroth - destructible.hpp
* Copyright (C) 2014 Dave Moore
*
* This file is part of Sepheroth.
*
* Sepheroth 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++ | include/destructible.hpp | davemoore22/sepheroth | gpl-3.0 | 3,624 | 101 | codeparrot/github-code |
d7015706a9838857301709348a48dfaed0f4b0533d9741407a4ecb54db9c9de1 | /**
* Created on Sep 23, 2009
*
* Copyright 2003-09 by Primeleaf Consulting (P) Ltd.,
* #29,784/785 Hendre Castle,
* D.S.Babrekar Marg,
* Gokhale Road(North),
* Dadar,Mumbai 400 028
* India
*
* All rights reserved.
*
* This software is the confidential and proprietary information
* of Primele... | Java | src/kreidos/diamond/model/vo/HitList.java | Kreidos/diamond | gpl-3.0 | 4,375 | 136 | codeparrot/github-code |
70bafd069fcd13664cfd0de6e1e7412ffce39729dbc80823be4eb1d3605999a1 | /*
* LibrePCB - Professional EDA for everyone!
* Copyright (C) 2013 LibrePCB Developers, see AUTHORS.md for contributors.
* https://librepcb.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 Fou... | C | libs/librepcb/library/librarybaseelement.h | rnestler/LibrePCB | gpl-3.0 | 6,709 | 166 | codeparrot/github-code |
ef9f4e955fb15644174af6fe43b0bbed639aa1a8f1a999639b74fb0b434a4190 | // -----------------------------------------------------------------------
// <copyright company="Fireasy"
// email="faib920@126.com"
// qq="55570729">
// (c) Copyright Fireasy. All rights reserved.
// </copyright>
// -----------------------------------------------------------------------
using System;
us... | C# | Fireasy.Data/Configuration/InstanceConfigurationSection.cs | faib920/fireasy | gpl-3.0 | 2,187 | 67 | codeparrot/github-code |
c5ca1337348aa7d2e4262181f7230e813190b571531a8201b37dee2b078ec7c7 | package lesson5_executors.client_server_with_cancel.util.impl;/**
* @author Sergey Zhernovoy
* create on 19.12.2017.
*/
import lesson5_executors.client_server.util.logger.Logger;
import lesson5_executors.client_server_with_cancel.server.Server;
import lesson5_executors.client_server_with_cancel.util.AbstractCommand... | Java | concurrent/src/main/java/lesson5_executors/client_server_with_cancel/util/impl/StatusCommand.java | SergeyZhernovoy/any_themes | gpl-3.0 | 2,059 | 59 | codeparrot/github-code |
3bce90c2896c078f2af52ebd08d3131c291548ac188237ee8bcca61f917c332e | ////////////////////////////////////////////////////////////////////
// Copyright Oliver J. Rosten 2021. //
// Distributed under the GNU GENERAL PUBLIC LICENSE, Version 3.0. //
// (See accompanying file LICENSE.md or copy at //
// https://www.gnu.org/licenses/gpl... | C++ | Source/sequoia/TestFramework/TestFamilySelector.cpp | ojrosten/sequoia | gpl-3.0 | 9,243 | 307 | codeparrot/github-code |
8c30bde5931eb221ac084105e77a847d686d5607b9d64889628059f267af1ab7 |
/*copyright 2010 Simon Graeser*/
/*
This file is part of Pina.
Pina 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 License, or
(at your option) any later version.
Pina is distri... | C | FX/Code.h | kaiserlicious/Pina | gpl-3.0 | 1,223 | 65 | codeparrot/github-code |
1c522d2e92f0e0f3a0202fca703e742f5171adc8fb6087f41b730ff47e3920c3 | // ==UserScript==
// @name MafiaBattle Auto-Collector
// @namespace https://www.mafiabattle.com
// @icon https://www.mafiabattle.com/images/favicon/default.png
// @version 1.9.9
// @description Try to take over the world in MafiaBattle!
// @author DTeCH
// @match https://www.mafiab... | JavaScript | DTMB199.user.js | DTeCH-X/stuff | gpl-3.0 | 4,514 | 107 | codeparrot/github-code |
fcdf1e0dc2edc6b3920518a4a21291b67f44e9de0dd3aec05ad60b55732700e2 | class SquareGrid:
N = (0, 1)
E = (1, 0)
S = (0, -1)
W = (-1, 0)
PRINCIPAL_DIRECTIONS = (N, E, S, W)
def __init__(self, length, height, wraparound=True):
self.length = length
self.height = height
self.wraparound = wraparound
def get_circle(self, center, radius, *, p):... | Python | sim/grids.py | teatimesoft/sugarscape | gpl-3.0 | 2,389 | 72 | codeparrot/github-code |
ad364491454d80724457b7475c7d070cb8cb9e339699acafb418c490fc2ad98f | /***************************************************************************
* touch_event.cpp
*
* Copyright © 2012-2020 The TSC Contributors
***************************************************************************
*
* This program is free software; you can redistribute it and/or modify
* it under the terms o... | C++ | tsc/src/scripting/events/touch_event.cpp | Secretchronicles/TSC | gpl-3.0 | 1,653 | 51 | codeparrot/github-code |
8c35404f4fafc3ab87bf6ecbe5929c3d2c463bacfec495cf4d774510e541de50 | /*
* turtlegraphics.c - Cartridge handling, HES Turtle Graphics II cart.
*
* Written by
* groepaz <groepaz@gmx.net>
*
* This file is part of VICE, the Versatile Commodore Emulator.
* See README for copyright notice.
*
* This program is free software; you can redistribute it and/or modify
* it under the ter... | C | C64.emu/src/vice/c64/cart/turtlegraphics.c | Rakashazi/emu-ex-plus-alpha | gpl-3.0 | 7,073 | 249 | codeparrot/github-code |
fb831e2d4c26e402b6efacaeb54ba068d5f1b1bf4846d60fb65544d564baef5d | package com.dnlegge.notes.web.rest.controller;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation... | Java | notes-rest-web/src/main/java/com/dnlegge/notes/web/rest/controller/HomeRestController.java | dnlegge/notes-rest | gpl-3.0 | 867 | 35 | codeparrot/github-code |
2865b4b6d13fe4b117d6c3bc6c148310440eeec63e2947b21605b4913a39298a | #!/bin/bash
#
# p.m.campbell
#
# 2017-09-24
# create multiple repos in an organization on github.com
#
# see https://developer.github.com/v3/repos/#create
# api for user: https://api.github.com/user/repos
# 2017-10-20
# Change: use password properly instead of each time
# not excactly secure but quick
# Change: mo... | Shell | 518/github/create-mult-remote-repos.sh | campbe13/useful-scripts | gpl-3.0 | 1,282 | 51 | codeparrot/github-code |
a5ce0eedbc19a314a54844ad1e901a0c7d825bb289c30885dda3c3d78837c32a | /*
* SSLsplit - transparent and scalable SSL/TLS interception
* Copyright (c) 2009-2014, Daniel Roethlisberger <daniel@roe.ch>
* All rights reserved.
* http://www.roe.ch/SSLsplit
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following condi... | C | software/sslsplit/src/thrqueue.c | ShaPOC/ProjectGhost | gpl-3.0 | 5,905 | 218 | codeparrot/github-code |
0f712696c77978722cb6c50190ad429883a23625eb5c69d74c6c9faad7a3e0ff | // ***********************************************************************************************
//
// Steca: stress and texture calculator
//
//! @file gui/panels/controls_detector.cpp
//! @brief Implements class ControlsDetector, and local classes
//!
//! @homepage https://github.com/scgmlz/Steca
//! @l... | C++ | gui/panels/controls_detector.cpp | scgmlz/STeCa2 | gpl-3.0 | 6,940 | 184 | codeparrot/github-code |
c5748dae385ed1a98e6a11c76d9791e0c9070a66d695dd37bc1361ff3613013a | <?php
/**
* Update for cached special pages.
* Run this script periodically if you have miser mode enabled.
*
* 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 Licens... | PHP | wiki/maintenance/updateSpecialPages.php | kylethayer/bioladder | gpl-3.0 | 5,492 | 180 | codeparrot/github-code |
b79fff096288ec417cf4078d7d18f9fdf005bb28b8d08a34cba26c8d5416e3cf | namespace HoverTreeWindowsFormsDemo
{
partial class Form_Main
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
/// <param name="disposing">如果应释放... | C# | HoverTreeWindowsFormsDemo/Form_Main.Designer.cs | hovertree/HoverTreeSCJ | gpl-3.0 | 6,163 | 120 | codeparrot/github-code |
824bf2c84a5fc074ae41acd4a92249736302d146761ba2784e530c9d50ec55c2 | <?php
require('../../bootstrap.php');
include("../../menu.php");
include("menu.php");
if (isset($_POST['id'])) {
$id = $_POST['id'];
}
elseif (isset($_GET['id'])) {
$id = $_GET['id'];
}
else
{
$id="";
}
?>
<div class="container">
<div class="page-header">
<h2>Informes de Tutoría <small> Informe de un alumno<... | PHP | admin/infotutoria/infocompleto.php | iesportada/intranet | gpl-3.0 | 5,699 | 191 | codeparrot/github-code |
cd2a788e2b9310dc2df4367da95b2fb574953d8d8fbeaec8b0d5f98bb0476e01 | /********************************************************************
* Copyright (C) 2008-2014 Jakob Skou Pedersen - All Rights Reserved.
*
* See README_license.txt for license agreement.
*******************************************************************/
#include <boost/numeric/ublas/io.hpp>
#include "phy/RateM... | C++ | phy/RateMatrix.cpp | jakob-skou-pedersen/phy | gpl-3.0 | 9,651 | 329 | codeparrot/github-code |
57c6ab8d8012fcb8e257ce367d4944f34cc0b1adc8befacf7d741a3073ee8f66 | package org.michelcity2000.gui;
/*
* ImgLibrary.java
* Copyright (C) Remi Even 2014-2016
*
* This file is part of MichelCity2000.
*
* MichelCity2000 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,... | Java | src/org/michelcity2000/gui/ImgLibrary.java | RemiEven/MichelCity2000 | gpl-3.0 | 3,230 | 100 | codeparrot/github-code |
8ec86e5b487bd8e73ab9fa357aa88471842573e30aa21d901431100e3547810b | package meta.bookstore;
import java.util.List;
import org.springframework.orm.hibernate3.support.HibernateDaoSupport;
public class BookStoreDAOHibernateImpl extends HibernateDaoSupport
implements BookStoreAdminDAO {
public void addNewBook(Book book) {
getHibernateTemplate().persist(book);
}
public List<Book... | Java | projects/SpringWEB/src/meta/bookstore/BookStoreDAOHibernateImpl.java | veltzer/demos-java | gpl-3.0 | 1,150 | 46 | codeparrot/github-code |
33ead122d0453a4cf6d412a2a4c04324452c8322bb5302f78b14181f22d4fe22 | package de.minestar.cok.game;
import io.netty.buffer.ByteBuf;
import java.util.Collection;
import java.util.HashMap;
import java.util.HashSet;
import java.util.UUID;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.nbt.NBTTagList;
import net.minecraftforge.common.util.Constants.NBT;
public class CoKPla... | Java | src/main/java/de/minestar/cok/game/CoKPlayerRegistry.java | DerGeras/CoK | gpl-3.0 | 3,700 | 160 | codeparrot/github-code |
5a903a558fe3cbea8907c93448d11681cef2eba23ada3a46a019fd1f533f2e30 | <?php
/*********************************************************************************
* This file is part of Sentrifugo.
* Copyright (C) 2015 Sapplica
*
* Sentrifugo 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 S... | PHP | application/modules/default/controllers/EmpscreeningController.php | jvianney/SwiftHR | gpl-3.0 | 61,177 | 1,289 | codeparrot/github-code |
70606c1c30224f344cf20f296b2fcb4873b6f45e5a6cc4a333a68fca8ccbd4a9 | package org.bgi.flexlab.gaea.tools.vcfqualitycontrol2.report;
import java.util.Arrays;
import java.util.Collection;
import org.apache.commons.lang.NumberUtils;
public final class ReportColumn {
private final String columnName;
private final String format;
private final ReportDataType dataType;
private ... | Java | src/main/java/org/bgi/flexlab/gaea/tools/vcfqualitycontrol2/report/ReportColumn.java | BGI-flexlab/SOAPgaeaDevelopment4.0 | gpl-3.0 | 3,921 | 120 | codeparrot/github-code |
3f6b7a43a3d28e7162cc520808dc929e50476a7435adb9b357165f890835ddc5 | // --------------------------------------------------------------------------------------------
// <copyright file="SfmToUsxTest.cs" from='2009' to='2014' company='SIL International'>
// Copyright ( c ) 2014, SIL International. All Rights Reserved.
//
// Distributable under the terms of either the Common Pub... | C# | src/Test/ParatextSupport/SfmToUsxTest.cs | sillsdev/pathway | gpl-3.0 | 3,439 | 111 | codeparrot/github-code |
6df41371e5cbe0cd8fcb39290a5fcdbe98078b76e6faf95896831e9a6bebd678 | <?php
class ControllerShippingFlat extends Controller {
private $error = array();
public function index() {
$this->load->language('shipping/flat');
$this->document->setTitle($this->language->get('heading_title'));
$this->load->model('setting/setting');
$this->load->model('setting/sellersetting');
if ... | PHP | upload/admin/controller/shipping/flat.php | Evgenii-v/clerkscart | gpl-3.0 | 4,321 | 121 | codeparrot/github-code |
4bcead22809d3db049293b9b2ac986c29771c0fee28cb0cda51eda7a0d61826c | /***********************************************************************
This file is part of KEEL-software, the Data Mining tool for regression,
classification, clustering, pattern mining and so on.
Copyright (C) 2004-2010
F. Herrera (herrera@decsai.ugr.es)
L. Sánchez (luciano@uniovi.es)
J. Alcalá-Fde... | Java | src/keel/Algorithms/RE_SL_Postprocess/Mam2TSK/Est_evol.java | adofsauron/KEEL | gpl-3.0 | 14,943 | 453 | codeparrot/github-code |
52a6c3cea6127399858de2abac3ed8d3360326872c83fb6c0e4542de05391cda | #include <cstdio>
#include <cstring>
using namespace std;
int seq[81],N;
bool ok;
bool is_promising(int p) {
if(p < 1) return true;
int iter = (p+1)/2,l,r;
for(int i=1; i<=iter; i++) {
r = p;
l = r - i;
bool all_same = true;
for(int j=0; j<i; j++)
if(seq[l-j] != ... | C++ | problem/2661/2661.cpp | Yoon-jae/Algorithm_BOJ | gpl-3.0 | 853 | 41 | codeparrot/github-code |
a41075946255f4fc179b688280731de9570d0d95e00961df5a5d4b6f1012ce46 | #ifndef BANLIST_H
#define BANLIST_H
#include <QObject>
#include <QMap>
#include <QSet>
class Database;
class NameDatabase;
class MessageProcessor;
class Permission;
class BanList : public QObject
{
Q_OBJECT
private:
Database *database;
NameDatabase *nameDatabase;
MessageProcessor *messageProcessor;
... | C | banlist.h | shervinkh/telegram-bot | gpl-3.0 | 914 | 41 | codeparrot/github-code |
4f7bdb20768af8b2e6013adf86f2ee0876a9725d18462b6965b0194adac9b12b | package main
import (
"flag"
"log"
"net/http"
"os"
"time"
"github.com/coreos/pkg/flagutil"
"github.com/garyburd/redigo/redis"
"github.com/rascalking/linkerss"
)
var (
flags = flag.NewFlagSet("linkerss", flag.ExitOnError)
accessToken = flags.String("app-access-token", "",
"Twitter application access token... | GO | linkerss/linkerss.go | rascalking/linkerss | gpl-3.0 | 2,119 | 83 | codeparrot/github-code |
66cff8334600d67874aee98917e045623cda318f023521a3d554a2f88d7b4a40 | import datetime
import lib.anidb as anidb
from anorak import model
def newAnime(anime, subber, location, quality):
model.new_anime(anime.id, anime.titles['x-jat'][0].title, subber, location, quality)
for i in xrange(anime.episodecount):
if anime.episodes.has_key(str(i+1)):
# Prevent None t... | Python | anorak/metadata.py | Radiotechniman/Anorak | gpl-3.0 | 3,294 | 67 | codeparrot/github-code |
14450e7e92403d343180631a71ba6a58e06c995b8c8e4fc93aa672a0edf93ee8 | /*
This file is part of ESPResSo++.
ESPResSo++ 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.
ESPResSo++ is distributed in the... | C++ | src/checks.hpp | espressopp/espressopp | gpl-3.0 | 31,860 | 572 | codeparrot/github-code |
5bb63bc803ea704b5ba6fbc04b8d4180109588cb212b3830bc94985a20048c3c | -----------------------------------------
-- ID: 4598
-- Item: wild_pineapple
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Agility -5
-- Intelligence 3
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
... | Lua | scripts/globals/items/wild_pineapple.lua | kidaa/FFXIOrgins | gpl-3.0 | 1,153 | 49 | codeparrot/github-code |
af0cf7940f43f08bd2d7eacbe00ad0110660ba59762ed4829fcbafc860a2bdc2 | #!/usr/bin/env python
'''
access satellite map tile database
some functions are based on code from mapUtils.py in gmapcatcher
Andrew Tridgell
May 2012
released under GNU GPL v3 or later
'''
import collections
import errno
import hashlib
import sys
import math
import threading
import os
import string
import time
impo... | Python | MAVProxy/modules/mavproxy_map/mp_tile.py | monkeypants/MAVProxy | gpl-3.0 | 23,042 | 616 | codeparrot/github-code |
8c26e41cdc35282f12ae6d72fa30df4e7e3802dfe3d098580e50b73af000c112 | #include "Hash.h"
#include "string.h"
#define HMAC_BLOCKSIZE 64
char *EncodeBase64(char *Return, char *Text, int len)
{
char *RetStr;
RetStr=SetStrLen(Return,len *2);
to64frombits(RetStr,Text,len);
return(RetStr);
}
char *DecodeBase64(char *Return, int *len, char *Text)
{
char *RetStr;
RetStr=SetStrLen(Return,Str... | C | libUseful-2.0/Hash.c | ColumPaget/FileFerry | gpl-3.0 | 8,069 | 429 | codeparrot/github-code |
95a9f849e1117491457923278d9adec84b1999fa86b30ef2aa4109c5d0fe201a | import copy
import sys
import random
import itertools
def rotate_matrix(A):
for i in range(len(A) // 2):
for j in range(i, len(A) - i - 1):
temp = A[i][j]
A[i][j] = A[-1 - j][i]
A[-1 - j][i] = A[-1 - i][-1 - j]
A[-1 - i][-1 - j] = A[j][-1 - i]
A[... | Python | Programming/MPI — AMath 483 583, Spring 2013 1.0 documentation_files/matrix_rotation_constant.py | meisamhe/GPLshared | gpl-3.0 | 1,490 | 63 | codeparrot/github-code |
573c1977cb927bb1c78ff623370855f0582cece0a0f65e3040ce9e57f29dca19 | using System.Web.Mvc;
using CRUD_Operations.Repositories;
using CRUD_Operations.Models;
namespace CRUD_Operations.Controllers
{
public class EmployeeController : Controller
{
EmployeeRepository CRUDEmployee;
// GET: Employee/SearchEmployee
[HttpGet()]
public ActionResult Searc... | C# | CRUD_Operations_ASP.NET_MVC5_SP/CRUD_Operations_ASP.NET_MVC5_SP/Controllers/EmployeeController.cs | LuisFMG/CRUD_Operations_ASP.NET_MVC5_SP | gpl-3.0 | 2,997 | 115 | codeparrot/github-code |
18e9d82742fbb22e5b3526b7a0bddb6f343c47ee54340fabdbb59b31a0adb0cd | /**
* BxSlider v4.1.2 - Fully loaded, responsive content slider
* http://bxslider.com
*
* Copyright 2014, Steven Wanderski - http://stevenwanderski.com - http://bxcreative.com
* Written while drinking Belgian ales and listening to jazz
*
* Released under the MIT license - http://opensource.org/licenses/MIT
*/
... | JavaScript | StarMedica/js/lib/jquery.bxslider.js | lokiteitor/ProyectosUPSLP | gpl-3.0 | 50,573 | 1,344 | codeparrot/github-code |
309827bbbfa3380fbd58a9a2ca0ec467d08299a3b67788f488254a081f701d8f | #! /usr/bin/env python
# Copyright (C) 2005
# ASTRON (Netherlands Institute for Radio Astronomy)
# P.O.Box 2, 7990 AA Dwingeloo, The Netherlands
#
# This file is part of the LOFAR software suite.
# The LOFAR software suite is free software: you can redistribute it and/or
# modify it under the terms of the GNU General ... | Python | LCS/Tools/src/makeClass.py | jjdmol/LOFAR | gpl-3.0 | 17,838 | 495 | codeparrot/github-code |
19bd9f9f70b371cd80c28da76fc3a4b9e8b94494fff481ecd5afb01e58b689a6 | /*
ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless requi... | C | os/hal/ports/STM32/LLD/USARTv2/hal_uart_lld.c | bhimebau/ChibiOS | gpl-3.0 | 35,851 | 1,120 | codeparrot/github-code |
494416e1caff6d794ea9f5ea187b03bc4434d2bda4fe36aeee6478566e75d7fd | <?php
/* Dixie - Free and Simple CMS
* Created by Luthfie a.k.a. 9r3i
* luthfie@y7mail.com
*/
function __locale($string=null,$print=false){
global $__locale;
$string = isset($string)?$string:'';
if(isset($__locale[$string])&&$__locale[$string]!==''){
$result = $__locale[$string];
}else{
$result = $s... | PHP | engine/language.php | 9r3i/dixie | gpl-3.0 | 2,838 | 114 | codeparrot/github-code |
6afe04490362ce61d4c934656d9822d09a0828b55b6e10469d03dbca5a8bb76a | /*
* Copyright 2015 KANG Yuxuan
*
* MainWindow.h by KANG Yuxuan <stonekyx@gmail.com>
*
* This file is part of Binary.
*
* Binary 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... | C | plugin/reloc/MainWindow.h | stonekyx/binary | gpl-3.0 | 1,661 | 60 | codeparrot/github-code |
c874495e7af8ddc67abc3e7c66b32a0ea23eb0a33cc8d6d5e2a13309e6b2d4e8 | # -*- encoding: utf-8 -*-
from abjad.tools import durationtools
from abjad.tools.datastructuretools.TypedList import TypedList
class CompoundInequality(TypedList):
'''A compound time-relation inequality.
::
>>> compound_inequality = timespantools.CompoundInequality([
... timespantools.Com... | Python | abjad/tools/timespantools/CompoundInequality.py | andrewyoung1991/abjad | gpl-3.0 | 7,680 | 215 | codeparrot/github-code |
e991f80c8f364e077a454592c2dfab248cae2930f462b97a10bfd1aeba5aa7c5 | package cn.sxt.vo;
public class User {
private int id;
private String name;
private String pwd;
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getPwd() {
... | Java | SpringMVC/12springmvc_loginInterceptor/src/cn/sxt/vo/User.java | yangweijun213/Java | gpl-3.0 | 647 | 43 | codeparrot/github-code |
bcbcd07f879a18973538083a4c7179ea5691709dfd13a6b70b859ba436443d33 | /////////////////////////////////////////////////////////////////////////////
//
// Project ProjectForge Community Edition
// www.projectforge.org
//
// Copyright (C) 2001-2014 Kai Reinhard (k.reinhard@micromata.de)
//
// ProjectForge is dual-licensed.
//
// This community edition is free software; you can redi... | Java | projectforge-wicket/src/main/java/org/projectforge/web/teamcal/dialog/TeamCalChoiceProvider.java | FlowsenAusMonotown/projectforge | gpl-3.0 | 4,479 | 148 | codeparrot/github-code |
84a2bb243f8ea626f2bd8888627af71f76ebae0a357d775f84827d7c35df34f9 | """
Import identifiers mapping
"""
import sys
import opal.core
def add_arguments(parser):
"""
Add import_idsmap command specific options
"""
parser.add_argument('--type', '-t', required=True, help='Entity type (e.g. Participant).')
parser.add_argument('--map', '-m', required=True, help='Mapping n... | Python | opal-python-client/src/main/python/opal/import_idsmap.py | apruden/opal | gpl-3.0 | 1,394 | 45 | codeparrot/github-code |
bf38fcb6bd87cbdf98f06e7e4c4eeb498355f9324a7548665a055431cf6730e1 | package org.obiba.opal.web.gwt.app.client.support;
import com.github.gwtbootstrap.client.ui.TabLink;
import com.github.gwtbootstrap.client.ui.TabPanel;
import com.github.gwtbootstrap.client.ui.base.ListItem;
import com.github.gwtbootstrap.client.ui.base.UnorderedList;
public class TabPanelHelper {
private TabPanel... | Java | opal-gwt-client/src/main/java/org/obiba/opal/web/gwt/app/client/support/TabPanelHelper.java | apruden/opal | gpl-3.0 | 1,356 | 58 | codeparrot/github-code |
b51d463bb629abbe9c27af4f086d1b9446f4dfcf77f3b534f0cfde6a0dc940da | <?php
/**
* SimDAL - Simple Domain Abstraction Library.
* This library will help you to separate your domain logic from
* your persistence logic and makes the persistence of your domain
* objects transparent.
*
* Copyright (C) 2011 Andho
*
* This program is free software: you can redistribute it and/or modif... | PHP | Persistence/PDO/SqLite3Adapter.php | andho/simdal | gpl-3.0 | 12,971 | 482 | codeparrot/github-code |
f321fd6e2d28950514f120d05b6cb90b3f1e010ae1af3e57919974f7da4fb003 | "use strict";
// Set web root url
var baseURL = window.location.protocol + "//" + window.location.host + "/webapp/"; // production
var proxyURL = 'http://climateviewer.net/netj1/proxy'; // production
//var proxyURL = 'http://nostradamiq.org/webapp/proxy:8888/proxy/';
//var proxyURL = 'http://localhost:8080/proxy/'... | JavaScript | nostradamIQ-webapp/lib/js/ooo_nostradamiq-menu.js | passiweinberger/nostradamIQ | gpl-3.0 | 40,239 | 1,096 | codeparrot/github-code |
c49ca31430461458074da2b64428c99c2ed8f46e8d2aabbac49ae71c0bfbca10 | #pragma once
#include <stack>
#include "../xlGraphicsContext.h"
#include "xlMetalCanvas.h"
#include "Shaders/MetalShaderTypes.h"
class xlMetalGraphicsContext : public xlGraphicsContext {
public:
xlMetalGraphicsContext(xlMetalCanvas *c, id<MTLTexture> target);
virtual ~xlMetalGraphicsContext();
void Com... | C | xLights/graphics/metal/xlMetalGraphicsContext.h | smeighan/xLights | gpl-3.0 | 6,690 | 115 | codeparrot/github-code |
b946b8dc3e52e1fff4be55f2054ee1cfc3a7cfd75d16b68d5f50b732ca80a7bb | /*
* Copyright (C) 2017 GedMarc
*
* 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 distribute... | Java | src/main/java/com/jwebmp/core/utilities/GUIDGenerator.java | GedMarc/JWebSwing | gpl-3.0 | 2,239 | 104 | codeparrot/github-code |
8e3bd36a15bb5a8f119460fb036a1541ec42711930fa5fffde82c7fb52637696 | import {
ChangeDetectionStrategy,
ChangeDetectorRef,
Component,
ViewEncapsulation
} from '@angular/core'
import {
AdminService,
Auth
} from '@tangential/authorization-service'
import {MessageBus} from '@tangential/core'
import {Observable} from 'rxjs/Observable'
@Component({
selector: 'tanj-admin-... | TypeScript | src/lib/admin-console/pages/_parent/admin-console-parent.page.ts | ggranum/tangential | gpl-3.0 | 858 | 37 | codeparrot/github-code |
d475a28f0df4d7d25e1d4e37f73e074a09db5adc77e9fa691f969e708104accf | '''
Django settings for sugarcub project.
For more information on this file, see
https://docs.djangoproject.com/en/1.7/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/1.7/ref/settings/
'''
from django.conf.global_settings import AUTHENTICATION_BACKENDS, STATICFI... | Python | sugarcub/settings.py | bronycub/sugarcub | gpl-3.0 | 7,848 | 292 | codeparrot/github-code |
74e3c35b95020784a0a82b4150934eef7cb29660eba223e8a6048b7e551e2afa | /*
* Copyright (C) 2013 4th Line GmbH, Switzerland
*
* The contents of this file are subject to the terms of either the GNU
* Lesser General Public License Version 2 or later ("LGPL") or the
* Common Development and Distribution License Version 1 or later
* ("CDDL") (collectively, the "License"). You may not use ... | Java | app/src/main/java/org/fourthline/cling/model/types/UDN.java | Saudamini-Jagtap/DLNA-SnapBizz | gpl-3.0 | 5,957 | 160 | codeparrot/github-code |
c409fe57649a1458b03852b4c28b274aa4092ed87735b02380fed0c2cb29d78f | import constants from '../constants';
const {
ADD_CONVERSES,
ADD_MSG,
UPDATE_MSG,
REMOVE_MSG,
GET_CONVERSES_REQUEST,
GET_CONVERSES_SUCCESS,
GET_USER_CONVERSES_SUCCESS,
CREATE_CONVERSES_SUCCESS,
CREATE_CONVERSES_FAILED,
REMOVE_CONVERSES_SUCCESS,
REMOVE_USER_CONVERSE,
UPDATE_CONVERSES_INFO_SUCCESS... | TypeScript | src/shared/redux/actions/chat.ts | TRPGEngine/Client | gpl-3.0 | 21,193 | 832 | codeparrot/github-code |
9ed84134bb2e43a1f227350de4e3974065b379035a72037f5a7d867e9c1f2d48 | #!/usr/bin/perl
#
## $Id: check_nmis_code.pl,v 8.2 2012/05/24 13:24:37 keiths Exp $
#
# Copyright (C) Opmantek Limited (www.opmantek.com)
#
# ALL CODE MODIFICATIONS MUST BE SENT TO CODE@OPMANTEK.COM
#
# This file is part of Network Management Information System ("NMIS").
#
# NMIS is free software: you can redistrib... | Perl | admin/check_nmis_code.pl | Opmantek/nmis | gpl-3.0 | 4,300 | 184 | codeparrot/github-code |
d97d5356cea131c2f93febabcece66bac174d685d4ad2e2a92734227f529e540 | /*
* Copyright (C) Pootle contributors.
*
* This file is a part of the Pootle project. It is distributed under the GPL3
* or later license. See the LICENSE file for a copy of the license and the
* AUTHORS file for copyright and authorship information.
*/
const HTML_PAT = /<[/]?\w+.*?>/g;
// The printf regex base... | JavaScript | pootle/static/js/editor/mt/PlaceholderCleaner.js | evernote/zing | gpl-3.0 | 2,500 | 83 | codeparrot/github-code |
b5acac9d1fb0e3491ea79019e9d1f3f1e9e04e612ed3a28d18a21d60b852493f | /*
libskry - astronomical image stacking
Copyright (C) 2016 Filip Szczerek <ga.software@yahoo.com>
This file is part of libskry.
Libskry 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 Li... | C | include/skry/img_align.h | GreatAttractor/libskry | gpl-3.0 | 4,306 | 109 | codeparrot/github-code |
63fabc4fd08bfc1bc6fe61c53fc7ed8a73578ec8f019df72057d134d6a8e768e | /* ============================================================
*
* This file is a part of the rekonq project
*
* Copyright (C) 2010 by Matthieu Gicquel <matgic78 at gmail dot com>
* Copyright (C) 2010-2011 by Andrea Diamantini <adjam7 at gmail dot com>
*
*
* This program is free software; you can redistribute it and/o... | C | src/previewselectorbar.h | wyuka/rekonq | gpl-3.0 | 1,805 | 68 | codeparrot/github-code |
0a7ef1b0d520aaaffb6fd42c8026d05bb5edb5405aa5ab91325078d196279c58 | // Modified for Tendermint
// Originally Copyright (c) 2013-2014 Conformal Systems LLC.
// https://github.com/conformal/btcd/blob/master/LICENSE
package p2p
import (
"fmt"
"net"
"strconv"
"time"
. "github.com/tendermint/tendermint/common"
)
type NetAddress struct {
IP net.IP
Port uint16
str string
}
// ... | GO | p2p/netaddress.go | jsp282/tendermint | gpl-3.0 | 6,066 | 214 | codeparrot/github-code |
199e179a72487726bbffb33dfd72547d5433997d64bfaefc96a7a802ebab92b6 | package com.angelo.gpxparser;
import java.io.FileReader;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.List;
import java.util.TimeZone;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import javax.xml.parsers.SAXParser;
import javax.xml.parsers.SAXParserFactory;
import org.xm... | Java | src/SearchGPSPathV2/src/com/angelo/gpxparser/GPXParser.java | chemickypes/searchgpspath | gpl-3.0 | 14,636 | 430 | codeparrot/github-code |
d9d66d5c5464b38ed6366b1c3fb888ab00007dfff30a08587ee8538415cea627 | package cz.geokuk.plugins.mrizky;
import cz.geokuk.core.coord.JSingleSlide0;
public class JMrizkaDd extends JMrizkaWgs {
/**
*
*/
private static final long serialVersionUID = -4045265652174560904L;
/*
* (non-Javadoc)
*
* @see cz.geokuk.core.coord.JSingleSlide0#createRenderableSlide()
*/
@Override
p... | Java | src/main/java/cz/geokuk/plugins/mrizky/JMrizkaDd.java | marvertin/geokuk | gpl-3.0 | 1,041 | 56 | codeparrot/github-code |
fbf4f0c46ab12a9061e1de3f484bb6c689dc03357680da4fd3f570d1e075b79b | # Copyright 2019-2020 by Christopher C. Little.
# This file is part of Abydos.
#
# Abydos is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later versio... | Python | abydos/distance/_henderson_heron.py | chrislit/abydos | gpl-3.0 | 2,964 | 116 | codeparrot/github-code |
2a6e97c4e7b5e2af5c76624911c8480caec5db494be52b04ec20ac558ee4d3a8 | from sqlalchemy import Column, String, Integer, Float, ForeignKey, PrimaryKeyConstraint
from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy.orm import relationship, validates, backref
import time, json
DecBase = declarative_base()
class Server(DecBase):
__tablename__ = 'ezdonate_servers'
id = ... | Python | EasyDonate/ORM.py | EasyDonate/EasyDonate | gpl-3.0 | 7,304 | 205 | codeparrot/github-code |
84bb7853cade149180a01e69da83afff289d27de45044384f5d56873149681fe | /*
* Thickbox 3.1 - One Box To Rule Them All.
* By Cody Lindley (http://www.codylindley.com)
* Copyright (c) 2007 cody lindley
* Licensed under the MIT License: http://www.opensource.org/licenses/mit-license.php
*/
var tb_pathToImage = "images/loadingAnimation.gif";
/*!!!!!!!!!!!!!!!!! edit below this line at y... | JavaScript | modules/revsliderprestashop/js/--thickbox.js | desarrollosimagos/puroextremo.com.ve | gpl-3.0 | 12,280 | 320 | codeparrot/github-code |
7549bcf8c029e2d03eac01ac061b3a0c15463def289a7b877cf67c21380a9107 |
/*
* 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 | coreapi/help/examples/C/realtimetext_receiver.c | BelledonneCommunications/linphone | gpl-3.0 | 3,374 | 113 | codeparrot/github-code |
70c3edbb2b04e01e4c3c8b7c12c0edf00507a5846d2bf30cf8392d48342cb12c | /**
* falogd - Log system wide file access events.
*
* Copyright (C) 2015 Mentor Graphics
* Mikhail Durnev <mikhail_durnev@mentor.com>
*
* This file is based on fatrace.c by Martin Pitt <martin.pitt@ubuntu.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the... | C | fa.c | mdurnev/falogd | gpl-3.0 | 18,961 | 589 | codeparrot/github-code |
28c89cc3c9dab3fd8e4e224ac7957692159afa75bf91790ad20627d0c6bbf155 | using System;
using System.Collections.Generic;
using System.Linq;
using FalconSoft.Data.Management.Common;
using FalconSoft.Data.Management.Common.Metadata;
using FalconSoft.Data.Management.Common.Security;
using FalconSoft.Data.Server.Persistence.MongoCollections;
using MongoDB.Bson;
using MongoDB.Driver;
using Mong... | C# | Src/Data-Server/Persistence/Security/SecurityPersistence.cs | FalconSoft/Data-Management-Suite | gpl-3.0 | 5,905 | 151 | codeparrot/github-code |
e204f6c421ce8c99eab8c09cca5719043dd89c493c60cb562a7fb121f23135b5 | package cn.domob.android.offerwall;
import android.app.Activity;
import android.content.Context;
import android.os.Handler;
import android.util.Log;
import android.widget.RelativeLayout;
import android.widget.RelativeLayout.LayoutParams;
import java.net.URI;
import java.util.List;
import org.apache.http.NameValuePair;... | Java | src/cn/domob/android/offerwall/DomobOfferWallView.java | zhangjianying/12306-android-Decompile | gpl-3.0 | 7,050 | 229 | codeparrot/github-code |
07ba345abf511eb663e5ed21f943efef7a0d5d707c3270f1117f8c06340c5aed | /**
* @file WaveMotion.hpp
* @version 1.0.0
* @author BlueRobotics
* @date September, 2017
* @brief Class to calculate waves height and speed using IMU and GPS data
*
*/
#ifndef WAVEMOTION_HPP
#define WAVEMOTION_HPP
/**
* @class WaveMotion
*/
class WaveMotion
{
public:
... | C++ | NavigationSystem/WorldState/WeatherHelpers/WaveMotion.hpp | grcasanova/SeaWalker | gpl-3.0 | 1,582 | 58 | codeparrot/github-code |
cb2ab40a8eef1d8f87b0336f94b8e2b69b4915c605c75fbd59a94f541abe2f83 | /*
Authors:
Jakub Hrozek <jhrozek@redhat.com>
Copyright (C) 2009 Red Hat
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/python/pysss.c | akamensky/sssd | gpl-3.0 | 32,234 | 1,175 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.