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 |
|---|---|---|---|---|---|---|---|---|
883597b235ffd51a63add73bbf970d1a6a672cc015aada4a596c5dc86682d1ca | # Copyright 2018-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/_upholt.py | chrislit/abydos | gpl-3.0 | 4,479 | 155 | codeparrot/github-code |
0341fb672a0a7216c11895c82f5ce8e18a8239bf4e9d12ceef7092e3c2525aa2 | <?php
namespace PuertoUDES\CommonBundle\Controller;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Sensio\Bundle\FrameworkExtraBundle\Co... | PHP | src/PuertoUDES/CommonBundle/Controller/MonedaController.php | HenderOrlando/DianFormat | gpl-3.0 | 13,557 | 416 | codeparrot/github-code |
58344ce7ea5031eedd68dc04d551960a566c65f18817151fb7bce520a82f94bd | --TB2-069 Son Goku & Uub, Seeds of the Future
local ds=require "expansions.utility_dbscg"
local scard,sid=ds.GetID()
function scard.initial_effect(c)
ds.EnableBattleAttribute(c)
ds.AddSetcode(c,CHARACTER_SON_GOKU,SPECIAL_TRAIT_SAIYAN,CHARACTER_INCLUDES_SON_GOKU,SPECIAL_TRAIT_WORLD_TOURNAMENT,CHARACTER_UUB,SPECIAL_TRA... | Lua | expansions/script/c27004274.lua | Hello23-Ygopro/ygopro-ds | gpl-3.0 | 1,560 | 38 | codeparrot/github-code |
c5eecf07a702ed84b6a778cc972541501fb00b0e74e096ce14e583789b12e5b3 | # -*- coding: utf-8 -*-
# Copyright (C) 2010-2015 Avencall
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This p... | Python | plugins/xivo-snom/common/common.py | docteurmicro50/xivo-provd-plugins | gpl-3.0 | 15,004 | 363 | codeparrot/github-code |
e3b925fd1695ae2fec976bc3222cff4486a0f47c3e44cc5488208a68ba4ebc7a | /*
* sock_stat.c
* Copyright (C) 2012 Crs Chin <crs.chin@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 ve... | C | cactus/sock_stat.c | crs-chin/lavender | gpl-3.0 | 17,099 | 632 | codeparrot/github-code |
5cd7b6470e93f1769231def9b0ad2fbc12f1bda17bd020926cc16188bc07139b | <?php
/*
* This file is the main class of Jail.
* Copyright (C) 2017 hoyinm14mc
*
* Jail 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 ... | PHP | src/hoyinm14mc/jail/Jail.php | hoyinm14mc/Jail | gpl-3.0 | 28,901 | 781 | codeparrot/github-code |
daa019455ab2ced221c1f5d0e87d4606d854a206cb39a09fc90b7b3235452092 | <?php
if ( ! defined( 'ABSPATH' ) ) {
exit;
} // Exit if accessed directly
abstract class WC_Gateway_Mondido_Abstract extends WC_Payment_Gateway {
protected $transaction;
public function add_dependencies(WC_Mondido_Transaction $transaction) {
$this->transaction = $transaction;
}
/**
* Debug Log
*
* @pa... | PHP | includes/abstracts/class-wc-gateway-mondido-abstract.php | Mondido/MondidoWooCommerce | gpl-3.0 | 20,466 | 706 | codeparrot/github-code |
c317c6acfe3a4a651331c3f5b2f9d51a048802e787c64dbe0a9d68b4804eb411 |
get_usart_count() {
USARTS=$(( $(echo "#include <avr/io.h>" | avr-gcc -mmcu=$MCU -C -E -dD - | sed -n 's/.* UDR\([0-9]\+\).*/\1/p' | sort -n -r | sed -n 1p) + 1 ))
}
usart_choice() {
i=0
while [ $i -lt $USARTS ]; do
echo "$i $1_USART_$i"
i=$(( $i + 1))
done
}
usart_process_choice() {
i=0
while [... | Shell | scripts/usart-config.sh | stettberger/IR77 | gpl-3.0 | 1,232 | 57 | codeparrot/github-code |
077e3283ea9c6977b331bcb170daa9d1c141c1dd64f05208ce9bfa86637e265d | """
Python library to control an UR robot through its TCP/IP interface
Documentation from universal robots:
http://support.universal-robots.com/URRobot/RemoteAccess
"""
import logging
from urx import urrtmon
from urx import ursecmon
__author__ = "Olivier Roulet-Dubonnet"
__copyright__ = "Copyright 2011-2015, Sintef ... | Python | urx/urrobot.py | auneri/python-urx | gpl-3.0 | 15,381 | 442 | codeparrot/github-code |
848a3cbc73c4f82abe87302d3cb424ddbe2a19daeaf9d2f399f6e0aa4817cd2e | import { connect } from "react-redux"
import rootWrapper from "../../wrappers/rootWrapper"
import { StateProps, ActionProps, View } from "../../views/stats/statFeedbackView"
import { fetchSessionStats, fetchSessionByName } from "../../api/fetchs"
import { fetchStatsSuccess } from "../../store/stats/actions"
functio... | TypeScript | src-hmi/src/containers/class/statFeedbackContainer.ts | projet-aaa/platform | gpl-3.0 | 1,055 | 39 | codeparrot/github-code |
76945cc34a1187a6998101b2b02fd6cf7f7d711857aeb9d3c79bdc88fb1848d4 | /*
* 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/editor/project/cmd/cmdreplacedevice.cpp | LibrePCB/LibrePCB | gpl-3.0 | 4,874 | 122 | codeparrot/github-code |
639d01cc3814922d41444c2d7a82ad60082c73edb8d6679f8512058f37f8feac | # -*- coding: utf-8 -*-
# Form implementation generated from reading ui file '/home/gugu/w/calibre/src/calibre/gui2/convert/azw3_output.ui'
#
# Created: Thu Jul 19 23:32:30 2012
# by: PyQt4 UI code generator 4.9.1
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore, QtGui
try:
... | Python | src/calibre/gui2/convert/azw3_output_ui.py | Eksmo/calibre | gpl-3.0 | 2,960 | 60 | codeparrot/github-code |
20a5f735fff071c5818ecb0c19931dbd725ddb4d81b9eaacaf7ab83b5d5213f3 | /*
This file is part of Free WP-Membership.
Free WP-Membership 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.
Free WP-... | PHP | plugins/test.php | Foran/free-wp-membership | gpl-3.0 | 4,282 | 189 | codeparrot/github-code |
8fcdee9708f73805799b877c6450574ca6526852d6e33c852ca7ebdcced8d635 | var openerChildformMgr;
var parentWindowLocation;
if(window.opener) {
openerChildformMgr = window.opener.CStudioAuthoring.ChildFormManager;
parentWindowLocation = window.opener.location.href;
}
else {
openerChildformMgr = window.CStudioAuthoring.ChildFormManager;
parentWindowLocation = window.location.... | JavaScript | cstudio-share-war/src/main/webapp/components/cstudio-forms/forms-engine.js | hlim/studio | gpl-3.0 | 89,425 | 2,176 | codeparrot/github-code |
fc7dbb21156c6a6440ecc108cca498828be6fc8218a38dbc47588290994f9f18 | /*******************************************************************************
*
* Copyright (c) 2016 Fujitsu Services Ltd.
*
* Author: Nick Battle
*
* This file is part of VDMJ.
*
* VDMJ is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License a... | Java | vdmj/src/main/java/com/fujitsu/vdmj/pog/POType.java | nickbattle/vdmj | gpl-3.0 | 2,626 | 82 | codeparrot/github-code |
688d47a7d5f1e8f0206ddc5f5f46b144f6e9363c63afffe80c7c0ac41e736858 | /*
* This file is part of FBI.
*
* Copyright (C) 2010-2012 Megax <http://www.megaxx.info/>
*
* FBI is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your optio... | C# | Core/FBI.Framework/Timer.cs | yeahunterteam/FBI-server | gpl-3.0 | 2,646 | 88 | codeparrot/github-code |
f5db0d552c5c9c050eab07a2af6fcb364860e20622f59d2ec1ed0c018db92d1b | from Tkinter import *
import tkFileDialog
import os
#from ttk import Frame, Button, Style, Entry, Radiobutton
class gui(Frame):
def __init__(self, parent):
Frame.__init__(self, parent)
self.parent = parent
self.createUI()
def select_container(self):
filename = tkFileDialog.askopenfilename()
if os.pat... | Python | examples/image-gui.py | 4144414D/pytruecrypt | gpl-3.0 | 11,107 | 267 | codeparrot/github-code |
3aede6f99c5f8637e4f74eae435b46f2eceeb1bc7fe8f96a1533e9ca38c89a48 | <?php
/**
*
* @copyright Patrick Hausmann
* @author Patrick Hausmann <privat@patrck-designs.de>
*/
namespace WpKeywordMonitor\Page;
use WpKeywordMonitor\KeywordQuery;
use WpKeywordMonitor\Model\KeywordResult;
use WpKeywordMonitor\Query\KeywordResultQuery;
use WpKeywordMonitor\RankChecker;
use WpKeywordMonitor\WpK... | PHP | page/statisticspage.php | blackus3r/wp-keyword-monitor | gpl-3.0 | 11,196 | 300 | codeparrot/github-code |
93308d80f0e67719dcddc9f7dbb39f68f923f694b2134fd909a1cded344b0f86 | // *****************************************************************************
// license_download.cpp Tao3D project
// *****************************************************************************
//
// File description:
//
// Request and download one or several Tao lic... | C++ | app/license_download.cpp | c3d/tao-3D | gpl-3.0 | 25,518 | 789 | codeparrot/github-code |
d00aea6ebbaef3acb276749a054b1d68745726179e6513d91677fefca86e4b66 | /*
* 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 distributed in the hope tha... | JavaScript | Unsorted/StandingRobot.js | PratikDhanave/toki.burn3r.de | gpl-3.0 | 7,762 | 183 | codeparrot/github-code |
70467dbaebcc4470d688e6ed0193b57a392ba9bc6eef8a098e2c2d702e1b7e9e | // Video Bios Extensions handlers
//
// Copyright (C) 2012 Kevin O'Connor <kevin@koconnor.net>
// Copyright (C) 2011 Julian Pidancet <julian.pidancet@citrix.com>
// Copyright (C) 2001-2008 the LGPL VGABios developers Team
//
// This file may be distributed under the terms of the GNU LGPLv3 license.
#include "vgabios... | C | vgasrc/vbe.c | miurahr/seabios | gpl-3.0 | 12,914 | 450 | codeparrot/github-code |
474f1839e8d032ddb7cc5c14add202a5b92c2d823078657e738be68e563dc2a1 | #region Copyright & License Information
/*
* Copyright 2007-2017 The OpenRA Developers (see AUTHORS)
* This file is part of OpenRA, which is free software. It is made
* available to you under the terms of the GNU General Public License
* as published by the Free Software Foundation, either version 3 of
* the Licen... | C# | OpenRA.Mods.Common/Orders/PlaceBuildingOrderGenerator.cs | cjshmyr/OpenRA | gpl-3.0 | 9,414 | 279 | codeparrot/github-code |
ad8f29cea181cb0745a680ba4793c5340b1f9fee3de4ede00e7cb4a130a9f269 | /* jshint expr:true */
"use strict";
describe("getting query parameters", function() {
it("returns null if no query parameter found", function() {
var utils = RiseVision.Common.Utilities,
value;
value = utils.getQueryParameter("param");
expect(value).to.be.null;
});
it("returns query paramet... | JavaScript | test/unit/common-spec.js | Rise-Vision/widget-common | gpl-3.0 | 13,591 | 468 | codeparrot/github-code |
32369131ed739e89bdd1d73cd6fe4c3f734cf8da76dc1f893471f82b5e502937 | Ext.define('TheaterTool.view.tabPanel.repertoire.RepertoireDetailsPanel', {
extend: 'Ext.panel.Panel',
xtype: 'layout-border',
requires:[ 'Ext.layout.container.Border'],
layout: 'border',
flex: 1,
bodyBorder: false,
border: false,
defaults: {
autoScroll: true,
split:... | JavaScript | app/view/tabPanel/repertoire/RepertoireDetailsPanel.js | Detmolder-Hoftheater/TheaterTool | gpl-3.0 | 3,127 | 64 | codeparrot/github-code |
5a9df59a99a358b23d08d8a8a201d8d1c81a98448240704a42d474b19216c4ed | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Telegram.Api.Aggregator;
using Telegram.Api.Services;
using Telegram.Api.Services.Cache;
using Telegram.Api.TL;
using Template10.Utils;
using Unigram.Common;
u... | C# | Unigram/Unigram/ViewModels/CallsViewModel.cs | dmnmsc/Unigram | gpl-3.0 | 8,461 | 244 | codeparrot/github-code |
02110337c2465c263b5ca34b78218ec3838eb6632ca20e635e3d5984b7b8b040 | // nVLC
//
// Author: Roman Ginzburg
//
// nVLC 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.
//
// nVL... | C# | LibVlcWrapper/Implementation/PixelData.cs | sibvic/watchitonce | gpl-3.0 | 1,708 | 69 | codeparrot/github-code |
319bc469193dbcc838509c6078920f995dc14ea60e946a938b5b0113591d051c |
#include <switch.h>
#include <stdlib.h>
#include <pthread.h>
#include <stdio.h>
#include <time.h>
#include <math.h>
#include <errno.h>
#include <string.h>
extern SWITCH_MODULE_LOAD_FUNCTION(mod_posix_timer_load);
extern SWITCH_MODULE_SHUTDOWN_FUNCTION(mod_posix_timer_shutdown);
extern SWITCH_MODULE_RUNTIME_FUNCTION(m... | C | freeswitch_git/mod/timers/mod_posix_timer/test/main.c | satishagrwal/Assignment | gpl-3.0 | 12,599 | 466 | codeparrot/github-code |
2fbac3e71e9e48026ce2a05aff10a510b5411ccf1d20fd742d87c7ae0f29bb94 | /*
Copyright © Roman Zechmeister, 2020
Diese Datei ist Teil von GPG Keychain.
GPG Keychain ist freie Software. Sie können es unter den Bedingungen
der GNU General Public License, wie von der Free Software Foundation
veröffentlicht, weitergeben und/oder modifizieren, entweder gemäß
Version 3 der Lizenz oder... | C | Source/AppDelegate.h | GPGTools/GPGKeychainAccess | gpl-3.0 | 1,888 | 53 | codeparrot/github-code |
81907fe0f8fb241aa4b2d70af3dac82098c9fe6eb93adbe8a85f7cc9e5c0d85b | #!/usr/bin/python
#
#####################################################################################
# Scriptname : sat6-register.py
# Scriptauthor : Frank Reimer
# Creation date : 2016-01-05
# License : GPL v. 3
#
# This script was inspired by https://github.com/sideangleside/sat6-bootstrap
#
####################... | Python | sat6-register.py | hambuergaer/sat6_client_configuration | gpl-3.0 | 20,789 | 498 | codeparrot/github-code |
3c10c8ec7098415ef6f21f931eef4ca6eb11bf9f4cfa8da0171685c418ef54a4 | /**
* eGov suite of products aim to improve the internal efficiency,transparency,
accountability and the service delivery of the government organizations.
Copyright (C) <2015> eGovernments Foundation
The updated version of eGov suite of products as by eGovernments Foundation
is available at http://w... | Java | eGov/egov/egov-eis/src/test/java/org/egov/eis/entity/DesignationBuilder.java | egovernments/egov-playground | gpl-3.0 | 3,215 | 102 | codeparrot/github-code |
56602e14e3bb76f4d4330d2ba7985c1b177438db905a20ce8e473ce80da0a86c | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package webcamstudio.mixers;
import java.awt.image.BufferedImage;
import java.util.ArrayList;
import java.util.concurrent.ExecutorService;
import static java.util.concurrent.Executors.newCachedThreadPool;
import javax.s... | Java | src/webcamstudio/mixers/PrePlayer.java | WebcamStudio/webcamstudio | gpl-3.0 | 2,976 | 101 | codeparrot/github-code |
15589f4702d4dd3a54ff6817f6ae75562628e3475e466c0ddff697f03f99ec8d | import { Component, OnInit, Input } from '@angular/core';
import { Events } from 'ionic-angular';
import { Guimo } from './../../providers/guimo';
/*
Generated class for the HomeTips component.
See https://angular.io/docs/ts/latest/api/core/index/ComponentMetadata-class.html
for more info on Angular 2 Componen... | TypeScript | src/components/home-tips/home-tips.ts | guimotoys/guimo_app_v3 | gpl-3.0 | 980 | 43 | codeparrot/github-code |
a4ab5b4638f70a0a2d00d33e28f907d1a6eb2136bb8a65d7708a958c1b75113f | # Flexlay - A Generic 2D Game Editor
# Copyright (C) 2014 Ingo Ruhnke <grumbel@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)... | Python | flexlay/color.py | SuperTux/flexlay | gpl-3.0 | 2,408 | 91 | codeparrot/github-code |
3b31697347cae016d280ba08c163cd6181729eb3ef92cf66d1d4841d8064bf70 | /*
===========================================================================
Doom 3 BFG Edition GPL Source Code
Copyright (C) 1993-2012 id Software LLC, a ZeniMax Media company.
This file is part of the Doom 3 BFG Edition GPL Source Code ("Doom 3 BFG Edition Source Code").
Doom 3 BFG Edition Source Code is free so... | C++ | neo/d3xp/menus/MenuWidget_Help.cpp | raynorpat/RBDOOM-3-BFG | gpl-3.0 | 4,786 | 159 | codeparrot/github-code |
2ecf4c8fd824b3bd0d6571668b6a3d06479c6df7776b13d31f2f3ab8a7225759 | package br.jus.tse.educacional.exercicio02;
import java.util.ArrayList;
public class Empresa {
private String nomeEmpresa;
private String cnpj;
private ArrayList<Departamento> departamento = new ArrayList<Departamento>();
public String getNomeEmpresa() {
return nomeEmpresa;
}
public void setNomeEmpresa(Str... | Java | soares/Aula04/src/br/jus/tse/educacional/exercicio02/Empresa.java | eduardopaula/aprendizado | gpl-3.0 | 1,266 | 58 | codeparrot/github-code |
4c6163496dd063481e76198681d017862f962fc1fb7cb27fb07a2c873b520f9a | package at.wrk.coceso.controller.pdf;
import at.wrk.coceso.entity.Concern;
import at.wrk.coceso.exceptions.ConcernException;
import at.wrk.coceso.service.ConcernService;
import at.wrk.coceso.service.PdfService;
import at.wrk.coceso.utils.AuthenicatedUserProvider;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory... | Java | main/view/src/main/java/at/wrk/coceso/controller/pdf/PdfController.java | wrk-fmd/CoCeSo | gpl-3.0 | 4,360 | 106 | codeparrot/github-code |
8e9a96205fbfee808beceb7a11bdf19eece7d22e3513978fbbacec1281511fac | package com.needsreal.social.activities;
import java.util.List;
import java.util.Vector;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentActivity;
import android.support.v4.view.ViewPager;
import android.view.Window;
import android.view.WindowManager;
import co... | Java | src/com/needsreal/social/activities/ProfileActivity.java | matttbe/Pretexto | gpl-3.0 | 1,954 | 55 | codeparrot/github-code |
5a47716600f36367325d107d68b13d70cfca85c0ede1303e5dc178d55734bfbc | /*compile with : gcc -Wall -O2 -D_GNU_SOURCE tty0tty.c -o tty0tty */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
int
ptym_open(char *pts_name, char *pts_name_s , int pts_namesz)
{
char *ptr;
int fdm;
strncpy(pts_name, "/dev/ptmx", pts_namesz);
pts_name[pts_names... | C | Android/tty0tty.c | cgart/OpenBM | gpl-3.0 | 1,074 | 76 | codeparrot/github-code |
4c22abb7764c15222d811e70f529f5fc27eff614bcbb2864487afef505dcac68 | <!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" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" /><title>OutputFormat xref</title>
<link type="text... | HTML | dom4j-1.6.1/docs/xref/org/dom4j/io/OutputFormat.html | AndreasMaring/text2epc | gpl-3.0 | 49,083 | 605 | codeparrot/github-code |
a6b26b7d02172f0b9a7705dba4241fbdfb2a7b40d4eb7a98eadf6bf6cba29103 | /*
Copyright 2012 VU Medical Center Amsterdam
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed ... | Java | radplanbio-core/src/main/java/de/dktk/dd/rpb/core/ocsoap/odm/NSContext.java | ddRPB/rpb | gpl-3.0 | 2,480 | 99 | codeparrot/github-code |
7a4868026cf4ae447326be7fa5c68764112f1fc350d4ad08636a6b006ef50c38 | <?php
/**
* Namespace for all DataMapper of PicVid.
*/
namespace PicVid\Domain\DataMapper;
use PicVid\Domain\Entity\Entity;
use PicVid\Domain\Entity\IEntity;
/**
* Class DataMapper
*
* @author Sebastian Brosch <coding@sebastianbrosch.de>
* @license GNU General Public License, version 3
* @package PicVid\Domain... | PHP | src/Domain/DataMapper/DataMapper.php | PicVid/picvid-core | gpl-3.0 | 2,463 | 89 | codeparrot/github-code |
045319f30e97f91d008e31253c820c912c55f4b8fabb3a0c215298542d0bb5b3 | # -*- coding: utf-8 -*-
#
# This file is part of INSPIRE.
# Copyright (C) 2014-2018 CERN.
#
# INSPIRE 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 ... | Python | inspirehep/modules/authors/forms.py | inspirehep/inspire-next | gpl-3.0 | 17,814 | 581 | codeparrot/github-code |
d571f4d4285aa313699b0ad4670a2eca9a2a2ac82fd5f74fa404e4beec4994d7 | /*
* This file is part of the demos-linux package.
* Copyright (C) 2011-2022 Mark Veltzer <mark.veltzer@gmail.com>
*
* demos-linux 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++ | src/examples/debugging/debug_threads.cc | veltzer/demos-linux | gpl-3.0 | 2,337 | 71 | codeparrot/github-code |
c24e44435baad6d63f3d6752a1f2a5fe929b81808601f299dd16a1e1fa9c6aba | <?php
/**
* This file contains a form creator for player invitations to Conversations
*
* @license https://github.com/allejo/bzion/blob/master/LICENSE.md GNU General Public License Version 3
*/
namespace BZIon\Form\Creator;
use BZIon\Form\Type\AdvancedModelType;
use Symfony\Component\Validator\Constraints\NotB... | PHP | src/Form/Creator/ConversationInviteFormCreator.php | allejo/bzion | gpl-3.0 | 946 | 40 | codeparrot/github-code |
ee0a3ed7cc00f3333f5b1e8aebb5e1fb5ecf68de8cab2cf4d745f5928b61b893 | /***
*
* Copyright (c) 1999, Valve LLC. All rights reserved.
*
* This product contains software technology licensed from Id
* Software, Inc. ("Id Technology"). Id Technology (c) 1996 Id Software, Inc.
* All Rights Reserved.
*
* Use, distribution, and modification of this source code and/or resulting
* object co... | C | root/public/cdll_int.h | RaisingTheDerp/raisingthebar | gpl-3.0 | 17,134 | 445 | codeparrot/github-code |
8a4bb43719ced4bdbf57345d063dee43461c2c0374d7aa902f6d61bc03e1dacf | #include <linux/spinlock.h>
#include <linux/errno.h>
#include <linux/init.h>
#include <asm/pgtable.h>
#if defined(CONFIG_X86_32) && defined(CONFIG_X86_PAE)
int nx_enabled;
#ifndef CONFIG_PAX_PAGEEXEC
/*
* noexec = on|off
*
* Control non-executable mappings for processes.
*
* on Enable
* off Disable
*... | C | linux-2.6.32-hardened-r22/arch/x86/mm/setup_nx.c | Siosm/contextd-capture | gpl-3.0 | 1,003 | 63 | codeparrot/github-code |
4309426ce425d9b2ba509f49300cf15939dc185704fc4c0f515e02e8f41fc307 | /**
* Copyright (c) 2014 mlanoe
* Some rights reserved. See COPYING, AUTHORS.
*
* Contributors:
* mlanoe - initial API and implementation
*/
package net.mlanoe.language.vhdl.provider;
import java.util.Collection;
import java.util.List;
import net.mlanoe.language.vhdl.PackageBody;
import net.mlanoe.langu... | Java | plugins/net.mlanoe.language.vhdl.edit/src-gen/net/mlanoe/language/vhdl/provider/PackageBodyItemProvider.java | mlanoe/x-vhdl | gpl-3.0 | 6,154 | 208 | codeparrot/github-code |
a7bd673a2a062e6995fdf9503903c3e9ca39231f15d8758e3eb25e4915092edb | /*
*************************************************************************************************
* OrganicSmartHome [Version 2.0] is a framework for energy management in intelligent buildings
* Copyright (C) 2014 Florian Allerding (florian.allerding@kit.edu) and Kaibin Bao and
* Ingo Mause... | Java | osh_loader/src/osh/runsimulation/runSimulationPackage.java | organicsmarthome/OSHv2 | gpl-3.0 | 6,699 | 225 | codeparrot/github-code |
c19902cf9d4880026602e90af72d359261510548c892ece60ee68e8d7f052e1e | import React from 'react'
import PropTypes from 'prop-types'
export const formatRange = (record, source) => {
const nameCapitalized = source.charAt(0).toUpperCase() + source.slice(1)
const min = record[`min${nameCapitalized}`]
const max = record[`max${nameCapitalized}`]
let range = []
if (min) {
range.pu... | JavaScript | ui/src/common/RangeField.js | cloudsonic/sonic-server | gpl-3.0 | 727 | 31 | codeparrot/github-code |
87be344c3c99d0fdeaa5e98e403d2d8fd3fa6ed4b33b2be6b7d17d6c1a26fdd9 | /*
* 09/24/2004
*
* UnicodeWriter.java - Writes Unicode output with the proper BOM.
*
* This library is distributed under a modified BSD license. See the included
* RSyntaxTextArea.License.txt file for details.
*/
package org.fife.io;
import java.io.File;
import java.io.FileOutputStream;
import ja... | Java | RSyntaxTextArea/src/main/java/org/fife/io/UnicodeWriter.java | curiosag/ftc | gpl-3.0 | 7,741 | 274 | codeparrot/github-code |
d4f3c08a34877efb1e2de07e1e41384922ac27b8c2a438c26cc2f5c43745b2d0 | <?php
/* Module which handles ajax requests for the updates page */
// Deny direct access to this file
if ( ! defined('ABSPATH') ) {
die('Access denied!');
}
function seravo_change_php_version() {
$php_version = sanitize_text_field($_REQUEST['version']);
$php_version_array = array(
'5.6' => '5',
'7.0' ... | PHP | lib/upkeep-ajax.php | Seravo/wp-palvelu-plugin | gpl-3.0 | 6,018 | 208 | codeparrot/github-code |
015e0ea4b02b297e8dfecd1ecf58e8cca1ac5b0a7611a9b9425bbd10b9f0cf28 | package com.umanteam.dadakar.back.full.entities;
import java.time.Duration;
import java.time.LocalDate;
import java.time.LocalTime;
import java.util.List;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
@Document(collection="subRuns")
public class SubRun ... | Java | dadakar-back-full/src/main/java/com/umanteam/dadakar/back/full/entities/SubRun.java | FranckDemeyer/projet_stage_cdi_java | gpl-3.0 | 3,999 | 170 | codeparrot/github-code |
85b7f74d141436572e24238887aa23efe6e24d3f4a4aacbf22aa0df02074222b | #
# Copyright © 2012 - 2021 Michal Čihař <michal@cihar.com>
#
# This file is part of Weblate <https://weblate.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 of the Lice... | Python | weblate/machinery/googlev3.py | phw/weblate | gpl-3.0 | 2,726 | 80 | codeparrot/github-code |
1bd8435d42cc411c16e489b93f071aa77d7b0e7eb5fe252fb2ff679ced63877e | /**
* Prepares for hiding of the Site Key setting since you cannot modify attributes and such in Moodle.
*/
(function ($) {
$(document).ready(function () {
if (!window.HVPSettingsHideKey) {
return;
}
var $input = $('#' + HVPSettingsHideKey.input);
if (!$input.length) {
return... | JavaScript | mod/hvp/settings-hide-key.js | ansaner/avemoodle | gpl-3.0 | 862 | 32 | codeparrot/github-code |
96939be478f252e8da873a761a221cdcbf84d31267e192f14572f92738c0715b | /*
* Red Bull Media Player
* Copyright (C) 2011, Red Bull
*
* 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 v... | C++ | RedBullPlayer/Modules/MediaLibrary/SystemMetaDataRepository.cpp | baoping/Red-Bull-Media-Player | gpl-3.0 | 4,699 | 134 | codeparrot/github-code |
44964fafa0e2b52b71330a209e8991ed7180cf211ef96018dca78ac542dc7b43 | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using Balloons.Messaging;
using Balloons.Messaging.Model;
namespace Balloons.Serialization
{
public class BinaryMessageSerializer : IMessageSerializer
{
private delegate Message MessageDecoder(BinaryReader reade... | C# | BubblesClient/BalloonMessaging/Serialization/BinaryMessageSerializer.cs | andrewdodd13/kinect-balloons | gpl-3.0 | 10,757 | 266 | codeparrot/github-code |
391710e4229141f19cdae4f9181a3f5f7266045e4822b96ded71c435b60232cf | /// <reference path="Common.ts" />
/// <reference path="Model.ts" />
/// <reference path="Directives.ts" />
/// <reference path="Controllers.ts" />
/// <reference path="dir/Bind.ts" />
/// <reference path="dir/Component.ts" />
/// <reference path="dir/Controller.ts" />
/// <reference path="dir/For.ts" />
/// <reference... | TypeScript | src/Compiler.ts | 71104/mvc.js | gpl-3.0 | 1,570 | 62 | codeparrot/github-code |
29b883511bad4f8db2632f6ace564153a2459ab32e088c4014633ba70e678012 | /*!
* \file volk_gnsssdr_8i_x2_add_8i.h
* \brief Volk protokernel: adds pairs of 8 bits (char) scalars
* \authors <ul>
* <li> Andres Cecilia, 2014. a.cecilia.luque(at)gmail.com
* </ul>
*
* Volk protokernel that adds pairs of 8 bits (char) scalars
*
* ------------------------------------------... | C | src/algorithms/libs/volk_gnsssdr_module/volk_gnsssdr/kernels/volk_gnsssdr/volk_gnsssdr_8i_x2_add_8i.h | odrisci/gnss-sdr | gpl-3.0 | 6,472 | 190 | codeparrot/github-code |
61a207475cc5c63ad1f06f302ebc2af2cac340ef1ba8f54fe5fbf0e62653f92e | Facter.add(:macaddress) do
confine :operatingsystem => %w{Solaris Linux Fedora RedHat CentOS SuSE SLES Debian Gentoo Ubuntu}
setcode do
ether = []
output = %x{/sbin/ifconfig -a}
output.each do |s|
ether.push($1) if s =~ /(?:ether|HWaddr) (\w{1,2}:\w{1,2}:\w{1,2}:\w{1,2}:\w{1,... | Ruby | lib/facter/macaddress.rb | lak/facter | gpl-3.0 | 2,126 | 80 | codeparrot/github-code |
25ae20afa85c9d2bca4cbf67cc3f14213a4ccc8c39245b2930cfa33394f23607 | /*
* Gearsystem - Sega Master System / Game Gear Emulator
* Copyright (C) 2013 Ignacio Sanchez
* 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
* any ... | C | platforms/ios/Gearsystem/MasterViewController.h | drhelius/Gearsystem | gpl-3.0 | 1,304 | 38 | codeparrot/github-code |
2830d603859af434ddde2bca032ec61de890abe6be5eb9e7f3ae8f12ddf133db | #include <iostream>
class Point {
protected:
double x;
double y;
public:
static constexpr double POSITIVE_EPSILON = 0.001;
static constexpr double NEGATIVE_EPSILON = -POSITIVE_EPSILON;
Point(const double X = 0, const double Y = 0)
: x{X}, y{Y} {}
double getX() const {
return x;
}
double getY() const {
retu... | C++ | exam_preparation/star.cc | NoHomey/FMI-introduction-to-programming-course | gpl-3.0 | 4,186 | 143 | codeparrot/github-code |
5077ac38af83ccf186e2d3e3adb1fe626d2130bb63d7f1bacdf9f484493eedfe | /// Copyright 2010-2012 4kdownload.com (developers@4kdownload.com)
/**
This file is part of 4k Download.
4k Download is free software; you can redistribute it and/or modify
it under the terms of the one of two licenses as you choose:
1. GNU GENERAL PUBLIC LICENSE Version 3
(See file COPYIN... | C++ | sdk/src/DTCodecExtraData.cpp | stefansundin/four-k-download | gpl-3.0 | 1,644 | 70 | codeparrot/github-code |
02fc0fe0f60ce3c4b35b88c54f6cce45dcdf1f2a6d16125b60a857e8808df1ef | # -*- coding: utf-8 -*-
"""
/***************************************************************************
essToolkit
Space Syntax Toolkit
Set of tools for essential space syntax network analysis and results exploration
-------------------
begin ... | Python | esstoolkit/explorer/AttributeSymbology.py | DougFirErickson/qgisSpaceSyntaxToolkit | gpl-3.0 | 10,530 | 191 | codeparrot/github-code |
c9b03c27bac4efabd8c14b9b105b15f60e552bc26c83393d033d6c1c78c9bbed | /*
* This file is part of mplayer2.
*
* mplayer2 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.
*
* mplayer2 is distributed in... | C | libao2/ao_portaudio.c | Kovensky/mplayer2 | gpl-3.0 | 12,168 | 432 | codeparrot/github-code |
3bd6a39190e436167b2665877ea1293521e05cd033f52d55142c01bc6ab12cf6 | // Copyright (C) 2011 Garth N. Wells
//
// This file is part of DOLFIN.
//
// DOLFIN 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 v... | C++ | dolfin/la/CoordinateMatrix.cpp | maciekswat/dolfin_1.3.0 | gpl-3.0 | 3,301 | 115 | codeparrot/github-code |
f409eccc8005192136c69f9e41e2a03e4897219ae83dff0fdc94b4ca3c2c13bf |
package com.billooms.indexerfiletype;
import com.billooms.indexwheel.api.IndexChildren;
import com.billooms.indexwheel.api.IndexWheel;
import com.billooms.indexwheel.api.IndexWheelMgr;
import java.beans.PropertyChangeEvent;
import java.beans.PropertyChangeListener;
import java.io.IOException;
import org.openide.cooki... | Java | IndexerFileType/src/com/billooms/indexerfiletype/IndexerFileDataObject.java | billooms/Indexer | gpl-3.0 | 5,203 | 169 | codeparrot/github-code |
fd602a838b95f12c70174f59b362042bb41cb4dbe939b87c2e69de1527e9ce55 | #include <quan/uav/position.hpp>
#include <quan/out/length.hpp>
#include <quan/out/angle.hpp>
#include <quan/fixed_quantity/literal.hpp>
#include <cstdio>
#include <curl/curl.h>
namespace {
QUAN_QUANTITY_LITERAL(angle,deg)
QUAN_QUANTITY_LITERAL(length,m)
using gps_location = quan::uav::position<quan::angle:... | C++ | quan_matters/examples/gps_coord.cpp | kwikius/quan-trunk | gpl-3.0 | 781 | 33 | codeparrot/github-code |
03ff92eaf6cc00ce8ad042801b1924c47094172c258e38b77ae1e46c310a08ee | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>Tlen.pl: Lista składowych</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<... | HTML | sdk/documentation/classTlenNotificationMethod-members.html | kklimek/Tlen7Plugins | gpl-3.0 | 5,485 | 41 | codeparrot/github-code |
ab1a0b755ffa9e2ba90858b4f27219136489a19d7fab4b86fbd55e9ed0a9bd0f | package net.coasterman10.rangers.boss;
import java.lang.reflect.Field;
import java.util.Collection;
import java.util.HashSet;
import java.util.Random;
import me.confuser.barapi.BarAPI;
import net.minecraft.server.v1_7_R3.DamageSource;
import net.minecraft.server.v1_7_R3.Entity;
import net.minecraft.server.v1_7_R3.Ent... | Java | src/main/java/net/coasterman10/rangers/boss/EntityGolemBoss.java | 0x277F/Rangers | gpl-3.0 | 7,163 | 182 | codeparrot/github-code |
6913863ae2e6184cb00930a0aa145d25f4987cf045f68a49c954a04967c29f68 | /*
This file is part of Helio Workstation.
Helio 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.
Helio is distribut... | C++ | Source/UI/Common/ColourSwatches.cpp | peterrudenko/helio-workstation | gpl-3.0 | 2,205 | 85 | codeparrot/github-code |
e213ded88803073355e5533936760298ada8f0ad7f760e45f4eb2ab59c8f1acf | /**
* 用户管理
* @author fuyun
* @version 3.3.5
* @since 1.0.0(2017/05/23)
*/
const xss = require('sanitizer');
const appConfig = require('../config/core');
const {sysLog: logger, formatOpLog} = require('../helper/logger');
const util = require('../helper/util');
const optionService = require('../services/option');
co... | JavaScript | controllers/user.js | ifuyun/iFuyun | gpl-3.0 | 4,375 | 131 | codeparrot/github-code |
800a515bdb62fe131cfda2f98e4ebc68efceabdb243ef5dedccc6cf0174a2bde | package com.axlecho.jtsviewer.network;
import io.reactivex.Observable;
import okhttp3.ResponseBody;
import retrofit2.Response;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.Path;
import retrofit2.http.Query;
im... | Java | app/src/main/java/com/axlecho/jtsviewer/network/JtsServerApi.java | axlecho/JtsViewer | gpl-3.0 | 3,472 | 77 | codeparrot/github-code |
0b4164d415576ec2595bf5cf3a1b63716924db4259d2295da4d3ae66a19cef8c | /**
* BasePreferenceFragment.java
* Nov 25, 2011 10:05:19 PM
*/
package mobi.cyann.deviltools;
import java.util.ArrayList;
import java.util.List;
import mobi.cyann.deviltools.PreferenceListFragment.OnPreferenceAttachedListener;
import mobi.cyann.deviltools.preference.BasePreference;
import mobi.cyann.deviltools.pr... | Java | src/mobi/cyann/deviltools/BasePreferenceFragment.java | DerTeufel/DevilTools | gpl-3.0 | 3,044 | 102 | codeparrot/github-code |
08f22ee43d7d551280181e3b15694b40864b7b7114ca32306a2283164cc70afe | package com.engines.ShallowParser;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.io.Reader;
import java.io.Writer;
import java.util.HashMap;
import java.util.Stack;
import java.util.Vector;
import java.util.regex.Matcher;
import java.util.regex.... | Java | src/com/engines/ShallowParser/ShallowParser.java | pln-fing-udelar/lavinia | gpl-3.0 | 14,674 | 413 | codeparrot/github-code |
7bcc55b680f7507ed20f4f5d1654d5a2ca054cf00e58917300bb076eb8ac6a1d | # -*- coding: utf-8 -*-
import os
from math import factorial
import functools
def memoize(func):
cache = {}
def memoized(key):
# Returned, new, memoized version of decorated function
if key not in cache:
cache[key] = func(key)
return cache[key]
return functools.updat... | Python | Algorithmique/Mathématiques discrètes/Combinatoire/Nombre de Catalan/nb_catalan_3methods.py | NicovincX2/Python-3.5 | gpl-3.0 | 1,091 | 55 | codeparrot/github-code |
1a8ffc933cab0ff5a222519a0eea6a2cd3f7e4324b5d7f52e0df63cca37335ef | #!/usr/bin/env python3
import urllib
import codecs
from bs4 import BeautifulSoup
from sys import argv
import re,time
class Translate:
def start(self):
self._get_html_sourse()
self._get_content("enc")
self._remove_tag()
self.print_result()
def _get_html_sourse(self):
wo... | Python | lean_python3/dive_into_p3/tanslate.py | yonglong009/pycharmNoteBook | gpl-3.0 | 1,160 | 37 | codeparrot/github-code |
9888cd167369e3e273331515cc318698e2436ee0a06a67b18ca7e37edf2e6851 | /*
Copyright (c) 1993-2008, Cognitive Technologies
All rights reserved.
Разрешается повторное распространение и использование как в виде исходного кода,
так и в двоичной форме, с изменениями или без, при соблюдении следующих условий:
* При повторном распространении исходного кода должны оставаться указанное
выш... | C++ | src/rselstr/sestring.cpp | uliss/quneiform | gpl-3.0 | 15,032 | 501 | codeparrot/github-code |
2e62dd15427455d44e4329dc09db5dda7f1e41d635d46ef78d5cee22b519a351 | #!/usr/bin/env perl
# PODNAME: 72.pl
# ABSTRACT: Counting fractions
## Author : ian.sealy@sanger.ac.uk
## Maintainer : ian.sealy@sanger.ac.uk
## Created : 2015-09-22
use warnings;
use strict;
use autodie;
use Getopt::Long;
use Pod::Usage;
use Carp;
use version; our $VERSION = qv('v0.1.0');
# Default options
... | Perl | optimal/72.pl | iansealy/projecteuler | gpl-3.0 | 3,029 | 171 | codeparrot/github-code |
39ed5e279a27e19ea74ee900bacdb7b67414c5a261173475701cb0a7e6e37b71 | from kivy.uix.label import Label
from kivy.uix.behaviors import ButtonBehavior
from widgets.layoutint import GridLayoutInt
from kivy.uix.image import Image
from kivy.properties import StringProperty, ListProperty, ObjectProperty, NumericProperty, BooleanProperty
from kivy.compat import string_types
from kivy.factory im... | Python | app/widgets/bar.py | insiderr/insiderr-app | gpl-3.0 | 1,558 | 55 | codeparrot/github-code |
eeda8289d79854a1cac474743b4dac3475f8adda19a28441f123a3425b7c108f | //register.c
#include <pthread.h>
#include <stdio.h>
#include <string.h>
#include <sys/types.h>
#include <fcntl.h>
#include <stdlib.h>
#include <libconfig.h>
#include <unistd.h>
#include <ctype.h>
#include <semaphore.h>
#include "register.h"
#include "defs.h"
#include "client.h"
#include "util.h"
#define DSP_CMD_BUF... | C | trunk/src/dspserver/register.c | w3sz/ghpsdr3-w3sz | gpl-3.0 | 15,804 | 407 | codeparrot/github-code |
e2211c511c1167827ee940636e6738ab8a03b772623c510f730a2df5283f2a8f | local rotationName = "None" -- Change to name of profile listed in options drop down
---------------
--- Toggles ---
---------------
local function createToggles() -- Define custom toggles
-- Rotation Button
RotationModes = {
[1] = { mode = "Auto", value = 1 , overlay = "Automatic Rotation", tip = "Swaps b... | Lua | Rotations/Shaman/Elemental/Blank.lua | bizkut/BudakJahat | gpl-3.0 | 8,784 | 175 | codeparrot/github-code |
88c53a10b2b2face8f6aaaecb0bdaebf0e84b9a56425dce8cfc79fcbada3f2d5 | import { NgModule } from '@angular/core'
import { RouterModule, Routes } from '@angular/router'
import { DocBaidumapComponent } from '@/app/components/apidoc/docBaidumap.component'
import { DocCenterAndZoomComponent } from '@/app/components/apidoc/docCenterAndZoom.component'
import { DocControlComponent } from '@/app/... | TypeScript | demo/app/components/apidoc/route.module.ts | leftstick/angular2-baidu-map | gpl-3.0 | 7,433 | 244 | codeparrot/github-code |
d3f1a341865aa93c167a8629a728a824bd9d8ca34a1438a42f0488649047f387 | package com.xiaotuitui.capricornus.domain.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import java... | Java | src/main/java/com/xiaotuitui/capricornus/domain/model/Project.java | xtuitui/Capricornus | gpl-3.0 | 2,280 | 92 | codeparrot/github-code |
e3bb84442e093be3bffacae08f0e1d898d8f342a09859831e563340de309e8d2 | //*****************************************************************************
#define WEAK __attribute__ ((weak))
#define ALIAS(f) __attribute__ ((weak, alias (#f)))
#define __CRP __attribute__ ((section(".crp")))
//*****************************************************************************
#if defined (__cplusplu... | C++ | os/baremetal/lpc17xx/startup_lpc176x.cpp | sygi1982/smartcan | gpl-3.0 | 15,250 | 389 | codeparrot/github-code |
e7edbdf2d66de816dcb91fbd51d544a0bc7887437a950d024ce844a3dfcfe06b | # PyAnimation - Animation, in a terminal.
# Copyright (C) 2015 Nathaniel Olsen
#
# 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 ... | Python | PyAnimationEngine.py | UltimateNate/TURPG | gpl-3.0 | 2,064 | 109 | codeparrot/github-code |
3575bee4311436c2575a9938bf9c4ae18fb7e3a8dc3b47683cde5507b5000db6 | /*
* Pixel Dungeon
* Copyright (C) 2012-2015 Oleg Dolya
*
* 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.
*
* T... | Java | java/com/github/mdsimmo/pixeldungeon/windows/WndCatalogus.java | mdsimmo/cake-dungeon | gpl-3.0 | 6,463 | 203 | codeparrot/github-code |
791fd69bacb454f95166a4311541ac5ef871c22c630c2b2a6a2a0cbd6b845bac |
/* Copyright (C) 2017 Omri Abend, The Rachel and Selim Benin School of Computer Science and Engineering, The Hebrew University. */
(function () {
'use strict';
angular.module('zAdmin.pages.form')
.directive('switch', switchDirective);
/** @ngInject */
function switchDirective($timeout) {
return {
... | JavaScript | Client/src/app/pages/form/inputs/widgets/switch/switch.directive.js | omriabnd/UCCA-App | gpl-3.0 | 994 | 37 | codeparrot/github-code |
648f1f20475dfe0c1a73a4ef8be366dda058c954fa02753ed386a99336f89c06 | package org.bel.kachok;
import android.Manifest;
import android.app.AlarmManager;
import android.app.DatePickerDialog;
import android.app.PendingIntent;
import android.app.TimePickerDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.Sha... | Java | app/src/main/java/org/bel/kachok/AudioNoteActivity.java | Andrewel/Kachok2.0 | gpl-3.0 | 30,589 | 728 | codeparrot/github-code |
c8fe0cce3263efbe6259fe63dec8768baa27c0b7cce499c44a2486c17d0b0979 | #!/bin/bash
CONFIG_FILE=$(dirname $0)/upload-b2.config
. "$CONFIG_FILE"
if [ ! -r "$CONFIG_FILE" ] ; then
echo "Where is my config file? Looked in $CONFIG_FILE."
echo "If you have none, copy the template and enter your information."
echo "If it is somewhere else, change the second line of this script."
exit 1... | Shell | vzdump-b2-verify.sh | padelt/vzdump-plugin-b2 | gpl-3.0 | 3,325 | 103 | codeparrot/github-code |
9dadb978011c77560ee375f56ba412365f13e7183c66957aec306b665e2e9d9b | <?php
namespace _64FF00\PurePerms\cmd;
use _64FF00\PurePerms\PurePerms;
use pocketmine\command\Command;
use pocketmine\command\CommandSender;
use pocketmine\command\ConsoleCommandSender;
use pocketmine\command\PluginIdentifiableCommand;
use pocketmine\plugin\Plugin;
use pocketmine\utils\TextFormat;
class PPInfo ex... | PHP | src/_64FF00/PurePerms/cmd/PPInfo.php | PurePlugins/PurePerms | gpl-3.0 | 2,442 | 77 | codeparrot/github-code |
22b643f25efee246e6fc1a2e6f3df1dbaefa924e3bf3f2a911690a33d8804d70 | /*
Copyright 2009-2022 Lianqi Wang <lianqiw-at-tmt-dot-org>
This file is part of Multithreaded Adaptive Optics Simulator (MAOS).
MAOS 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 ... | C | tools/drawres.c | lianqiw/maos | gpl-3.0 | 13,359 | 535 | codeparrot/github-code |
edee9204613d58d528e5810909902e65793c437c3c06af2a171795540b39f29b | -----------------------------------
-- Ability: Building Flourish
-- Enhances potency of your next weapon skill. Requires at least one Finishing Move.
-- Obtained: Dancer Level 50
-- Finishing Moves Used: 1-3
-- Recast Time: 00:10
-- Duration: 01:00
--
-- Using one Finishing Move boosts the Accuracy of your next weapon... | Lua | scripts/globals/abilities/ternary_flourish.lua | Vadavim/jsr-darkstar | gpl-3.0 | 2,315 | 69 | codeparrot/github-code |
d84af35b99657fb2f98ca19d0b8b1407dc16f3eed4294b883f98dcadd3a548f2 | /*
Copyright 2014 Franc[e]sco (lolisamurai@tfwno.gf)
This file is part of llsif_utils.
llsif_utils 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 | llsif_utils/llsif_utils/llsif_utils.c | Francesco149/llsif_launcher | gpl-3.0 | 2,812 | 86 | codeparrot/github-code |
e68293f79c1a722c53e6f2d16c8a12457a6a6f55b05af0d9ab8fc9ebf9ebc9d7 | /**
* This file is part of Xena.
*
* Xena 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.
*
* Xena is distributed in the hope that ... | Java | xena/src/au/gov/naa/digipres/xena/util/logging/LogFrameHandler.java | srnsw/xena | gpl-3.0 | 1,947 | 73 | codeparrot/github-code |
45a59ceb2830908ba1a7078f41d975c67645f7a3cc02f50b2049ac1bcc769414 | // Copyright (c) 2005-2010 Settlers Freaks (sf-team at siedler25.org)
//
// This file is part of Siedler II.5 RTTR.
//
// Siedler II.5 RTTR 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... | C++ | src/ingameWindows/iwMerchandiseStatistics.cpp | frin/s25client | gpl-3.0 | 17,101 | 390 | codeparrot/github-code |
76b6c8d6c93beec59ca7146089ef5eec36d323cbe93607b5fff32220a8785351 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Valve.VR.InteractionSystem.Sample
{
public class LockToPoint : MonoBehaviour
{
public Transform snapTo;
private Rigidbody body;
public float snapTime = 2;
private float dropTimer;
... | C# | Assets/SteamVR/InteractionSystem/Samples/BuggyBuddy/LockToPoint.cs | Kaffse/VR_Fishing | gpl-3.0 | 1,792 | 60 | codeparrot/github-code |
0481141deecbb990bee087d929b846ec625996e0eb32237f08d49c3bae4fff3a | package ch.cyberduck.core.worker;
import ch.cyberduck.core.AttributedList;
import ch.cyberduck.core.DisabledListProgressListener;
import ch.cyberduck.core.Host;
import ch.cyberduck.core.ListProgressListener;
import ch.cyberduck.core.NullSession;
import ch.cyberduck.core.Path;
import ch.cyberduck.core.PathCache;
import... | Java | core/src/test/java/ch/cyberduck/core/worker/MountWorkerTest.java | iterate-ch/cyberduck | gpl-3.0 | 1,694 | 44 | codeparrot/github-code |
90153162ead21e4b06ab510e4c12e9a18146d72b9d0cc3ad43696a5fcf61033d | /*
* JasperReports - Free Java Reporting Library.
* Copyright (C) 2001 - 2014 TIBCO Software Inc. All rights reserved.
* http://www.jaspersoft.com
*
* Unless you have purchased a commercial license agreement from Jaspersoft,
* the following license terms apply:
*
* This program is part of JasperReports.
*
* J... | Java | jasperreports-6.2.1-project/jasperreports-6.2.1/src/net/sf/jasperreports/components/headertoolbar/HeaderToolbarParameterContributor.java | aleatorio12/ProVentasConnector | gpl-3.0 | 2,828 | 82 | codeparrot/github-code |
652cdf626155d0e222c661abc6dfeabd8867662df2ffc1ce9f70011b87f15ed5 |
package com.travelport.schema.common_v29_0;
import javax.annotation.Generated;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for typeElement.
*
* <p>The following schema fragment specifies the expected conte... | Java | src/com/travelport/schema/common_v29_0/TypeElement.java | angecab10/travelport-uapi-tutorial | gpl-3.0 | 7,431 | 199 | codeparrot/github-code |
ef3dd0921cd749f7d2f1d0e061a9f55fad2462a020328835761f7f2bc21914c9 | <!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="chrome=1" />
<title>Participants Editor</title>
<meta name="robots" content="all" />
<meta name="author" content="" />
<meta name="description" content="" />
<me... | HTML | templates/editpartners.html | Simpsonpt/Participants-Editor | gpl-3.0 | 4,745 | 135 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.