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
d106cdc6af0c04f0762faee85340a5326ffd7af6ab082ee94a9df3dbe877984c
# -*- coding: utf-8 -*- # from rest_framework.viewsets import ModelViewSet from rest_framework.generics import RetrieveAPIView, ListAPIView from django.shortcuts import get_object_or_404 from django.db.models import Q from common.utils import get_logger, get_object_or_none from common.mixins.api import SuggestionMixin...
Python
apps/assets/api/asset.py
jumpserver/jumpserver
gpl-3.0
10,108
295
codeparrot/github-code
c4319c268ce4f0dc75fd1fc37a98670b61dbba970f4e7e4a1aa295437068e86f
package me.pexcn.bandwagonhost.manager.arch; import android.support.design.widget.TabLayout; import android.support.v4.view.ViewPager; import me.pexcn.android.base.arch.mvp.BaseActivity; import me.pexcn.bandwagonhost.R; import me.pexcn.bandwagonhost.app.Constants; import me.pexcn.bandwagonhost.data.local.bean...
Java
app/src/main/java/me/pexcn/bandwagonhost/manager/arch/ManagerActivity.java
pexcn/BandwagonHost
gpl-3.0
1,805
58
codeparrot/github-code
e2546a4cba33fa725ec6230d7ddc35cdfdf7a518e860fd5c00ce78460b850faa
/** * @file * $Revision: 1.6 $ * $Date: 2008/09/03 16:21:02 $ * * Unless noted otherwise, the portions of Isis written by the USGS are * public domain. See individual third-party library and package descriptions * for intellectual property information, user agreements, and related * information. * * ...
C++
isis/src/base/objs/Cube/CubeBsqHandler.cpp
corburn/ISIS
gpl-3.0
4,563
148
codeparrot/github-code
23d93cfdd0a26c0e69ffb3276976e253dfc185f51cdb9917b4640a47b50b48f9
using UnityEngine; using System.Collections; using UnityEngine.UI; using System.Collections.Generic; public class Ruche : MonoBehaviour { public int _population; public bool EstAuSol; Image _image; Etat _state; Text _text; Button _button; Secours[] _secours; bool devoileMenu; Tran...
C#
Nuit de l'info 2015/Assets/Ruche.cs
TeamAieNDI/UnityProjects
gpl-3.0
5,183
252
codeparrot/github-code
b5b8d3fabc5924906723bb2de0d7648487d8225f55a6191a3a267a0c17a6975c
# encoding: UTF-8 =begin Copyright Alexander E. Fischer <aef@raxys.net>, 2011 This file is part of Lilith. Lilith is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your opti...
Ruby
app/models/event.rb
fslab/lilith
gpl-3.0
3,841
100
codeparrot/github-code
8f884186f7ac6061f989a7683189cea8a61816d20a6bd1275b05febee07ef0a6
// Copyright (c) 2010 Google Inc. // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistributions of source code must retain the above copyright // notice, this list of conditio...
C
3rdparty/sentry/external/breakpad/src/google_breakpad/processor/source_line_resolver_base.h
variar/klogg
gpl-3.0
5,312
129
codeparrot/github-code
58bb5b68fc8d675e85843c6b388107c2277d0b0fd68dafb391743a2e819b168e
// // NSObject+KCObjectInfo.h // kerkee // // Created by zihong on 15/8/25. // Copyright (c) 2015年 zihong. All rights reserved. // #import <Foundation/Foundation.h> #import <CoreGraphics/CGGeometry.h> #import <UIKit/UIKit.h> #import <objc/runtime.h> #define KC_VALUE(struct) ({ __typeof__(struct) __struct = struc...
C
kerkee/BaseClass/Base/NSObject+KCObjectInfo.h
kercer/kerkee_ios
gpl-3.0
2,530
77
codeparrot/github-code
b680e638f26bdca099b833183eba7ab650c9bbbab73eada8dc9d93a837d759b6
/* ------------------------------------------------------------------ * GEM - Graphics Environment for Multimedia * * Copyright (c) 2002-2011 IOhannes m zmölnig. forum::für::umläute. IEM. zmoelnig@iem.at * zmoelnig@iem.kug.ac.at * For information on usage and redistribution, and for a DISCLAIMER * OF AL...
C
vendors/pd-extended-0.43.4/externals/Gem/src/openGL/GEMglClearStencil.h
rvega/morphasynth
gpl-3.0
1,289
56
codeparrot/github-code
5c6a829c8b350830ae6a744e2ad60c45b8389d01ede4e82fceae715927382456
/** * * Copyright (c) 2014, Openflexo * * This file is part of Xmlconnector, a component of the software infrastructure * developed at Openflexo. * * * Openflexo is dual-licensed under the European Union Public License (EUPL, either * version 1.1 of the License, or any later version ), which is available...
Java
xmlconnector/src/main/java/org/openflexo/technologyadapter/xml/model/XMLModel.java
openflexo-team/openflexo-technology-adapters
gpl-3.0
4,930
155
codeparrot/github-code
774c0b9ce5fb04d3799da34d1866bcd80f2ae287260c27cc791dc79b8898fa42
// Mantid Repository : https://github.com/mantidproject/mantid // // Copyright &copy; 2018 ISIS Rutherford Appleton Laboratory UKRI, // NScD Oak Ridge National Laboratory, European Spallation Source // & Institut Laue - Langevin // SPDX - License - Identifier: GPL - 3.0 + #ifndef DETXMLFILE_H #define DETXMLFILE...
C
qt/widgets/instrumentview/inc/MantidQtWidgets/InstrumentView/DetXMLFile.h
mganeva/mantid
gpl-3.0
1,697
59
codeparrot/github-code
76f33a26f1e1e3249d307851ba49a6a8d0cb84047e5d26cef151e529f86cd26d
<?php /* * 第一部分,全局设置 **/ /* * 1.1 优化设置 **/ //1.1.1 去除wordpress功能 remove_action( 'wp_head', 'wp_generator' ); remove_action( 'wp_head', 'wlwmanifest_link' ); remove_action( 'wp_head', 'rsd_link' ); define( 'WP_POST_REVISIONS', 2);//只保存最近两次的版本修订 define( 'AUTOSAVE_INTERVAL', 300);//没5分钟自动保存一次 //1.1.2关闭rss remove_actio...
PHP
website-source/functions.php
Gamuxorg/bbs
gpl-3.0
7,212
260
codeparrot/github-code
dcb8ce0fe3722332fff0ac4306b19fa6f4e74ad9fdaea2cfd08db67c97ac437b
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package sarfDic.Midleware.Noun.trilateral; /** * * @author Gowzancha */ import sarf.noun.*; import sarf.verb.trilateral.unaugmented.*; import java.util.*; import sarf.*; import sarf.noun.trilateral.unaugmented.timea...
Java
IAD/src/java/sarfDic/Midleware/Noun/trilateral/TimeAndPlaceConjugator.java
oghalawinji/InteractiveArabicDictionary
gpl-3.0
3,809
115
codeparrot/github-code
04c8e9bc50e70015bf1fbc203c93c9fe00c072ed98c0080508a778cf97c7a36a
/* photo_prev: Application to assist in sorting through photographs. Copyright (C) 2008 Jeremiah LaRocco This file is part of photo_prev. photo_prev 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, e...
C++
photopreviewdlg.cpp
jl2/PhotoPreviewer
gpl-3.0
10,042
354
codeparrot/github-code
070756ac61a8a73ac504a868c104543a18943d1ab371be7d97564e769db678f8
/* * @lc app=leetcode id=33 lang=csharp * * [33] Search in Rotated Sorted Array */ public class Solution { public int Search(int[] nums, int target) { int left = 0, right = nums.Length - 1; while (left <= right - 2) { int mid = (left + right) / 2; if (target >= nums[mid])...
C#
csharp/33.search-in-rotated-sorted-array.cs
yamstudio/leetcode
gpl-3.0
899
35
codeparrot/github-code
52517a299f0eb731a7dcc7922b9d4ad375943ec0a317f3c4feeb5f7eb846c4f9
/****************************************************************************** * Copyright (c) 2015 by * * Andreas Stockmayer <stockmay@f0o.bar> and * * Mark Schmidt <schmidtm@f0o.bar> * ...
Java
src/bar/f0o/jlisp/lib/ControlPlane/MapRegister.java
jLisp/jlisp
gpl-3.0
10,354
307
codeparrot/github-code
95b6be9973c0728f810b171db7d433848f831e9e40ebe58da2a556dbfd940c4e
package band.full.test.video.encoder; import static band.full.core.Resolution.STD_1080p; import static band.full.core.Resolution.STD_2160p; import static band.full.core.Resolution.STD_720p; import static band.full.video.buffer.Framerate.FPS_23_976; import static band.full.video.itu.BT2020.BT2020_10bit; import static b...
Java
generators/src/main/java/band/full/test/video/encoder/EncoderParameters.java
testing-av/testing-video
gpl-3.0
3,811
99
codeparrot/github-code
4d7dd37668acc5b71e8ec05f3d8150fa8334e4ec5ceae5a726f229658556c8c8
import { Meteor } from 'meteor/meteor'; import '../images.js'; import { Devs } from '../../devs/devs.js'; import { Teams } from '../../teams/teams.js'; import { Visitors } from '../../visitors/visitors.js'; import { Sponsors } from '../../sponsors/sponsors.js'; Meteor.publish('profile.image', function(id){ let d = De...
JavaScript
imports/api/images/server/publications.js
NEETIIST/BreakingDev17
gpl-3.0
2,393
91
codeparrot/github-code
7c0dc41c225fcfd2fa8989c90f192e56fc65862d0947113a4715385a03b58106
#!/usr/bin/env ../jazzshell """ Perform song identification by loading up a corpus of harmonic analyses and comparing parse results to all of them, according to some distance metric. """ """ ============================== License ======================================== Copyright (C) 2008, 2010-12 University of Edin...
Python
bin/analysis/findsong.py
markgw/jazzparser
gpl-3.0
10,264
235
codeparrot/github-code
e0136fd027afdeac5e37aa3887777f868baacb0f3ac1f4a9f10fc6921a71035e
package magic.ui.widget; import java.awt.Dimension; import java.util.List; import javax.swing.JButton; import javax.swing.JPanel; import net.miginfocom.swing.MigLayout; @SuppressWarnings("serial") public class ActionButtonTitleBar extends TitleBar { private final JPanel actionsPanel = new JPanel(); public...
Java
src/magic/ui/widget/ActionButtonTitleBar.java
magarena/magarena
gpl-3.0
919
39
codeparrot/github-code
7cb6921d75859c3671c1a3c0e63aa8d9ef2a427feefe40eb2ee708cf87fb1170
//******************************************************************************************** //* //* This file is part of Egoboo. //* //* Egoboo 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...
C
egolib/src/egolib/Lua/lua_console.c
penguinflyer5234/egoboo
gpl-3.0
8,551
282
codeparrot/github-code
a16d696ee24a925a01fb7525ffaa14bd786e1d5fa14acf528982a26c176d1b4d
package org.uncertweb.ps.data; import java.net.URL; public class DataReference { private URL url; private String mimeType; private boolean compressed; public DataReference(URL url, String mimeType, boolean compressed) { this.url = url; this.mimeType = mimeType; this.compressed = compressed; } public D...
Java
src/main/java/org/uncertweb/ps/data/DataReference.java
itszootime/ps-framework
gpl-3.0
701
42
codeparrot/github-code
ab6fd6cef0f10a502132eb3acbe059266435ee3b657079211dbf2b73633885b2
/** * File ./src/main/java/de/lemo/dms/connectors/lemo_0_8/mapping/LevelCourseLMS.java * Lemo-Data-Management-Server for learning analytics. * Copyright (C) 2015 * Leonard Kappe, Andreas Pursian, Sebastian Schwarzrock, Boris Wenzlaff * * This program is free software: you can redistribute it and/or modify ...
Java
src/main/java/de/lemo/dms/connectors/lemo_0_8/mapping/LevelCourseLMS.java
LemoProject/Lemo-Data-Management-Server
gpl-3.0
2,522
102
codeparrot/github-code
4351323496d7d3184d789514a29993c9c2f1f72847a304f34f827dd4fa99193a
<?php /********************************************************************************* * Zurmo is a customer relationship management program developed by * Zurmo, Inc. Copyright (C) 2012 Zurmo Inc. * * Zurmo is free software; you can redistribute it and/or modify it under * the terms of t...
PHP
app/protected/modules/marketingLists/views/MarketingListEditView.php
deep9/zurmo
gpl-3.0
4,103
87
codeparrot/github-code
ea5b35b5dc2f10190993e97960024671bc1a17ed6f1878db508a969cfdabdfdc
<!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>You Do It</title> <meta name="author" content="Team Mates"> <link rel="stylesheet" href="./foundation-5.0.2/css/foundation.css"> <link rel="stylesheet" href="./foundation-icons/foundation-icons.css"> ...
HTML
add_chore.html
rackadone/cs465_teammates
gpl-3.0
5,264
175
codeparrot/github-code
25bcb1ed0c991064dbd328072ac28e1a05f5cd34fa307ebf65e70aa43dfcd65c
#ifndef METASHELL_PRAGMA_HELP_HPP #define METASHELL_PRAGMA_HELP_HPP // Metashell - Interactive C++ template metaprogramming shell // Copyright (C) 2014, Abel Sinkovics (abel@sinkovics.hu) // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License ...
C++
lib/pragma/include/metashell/pragma/help.hpp
r0mai/metashell
gpl-3.0
1,671
47
codeparrot/github-code
16e169626fd046cab7fd27ae51614537d33db24d01ddcbb2bc3614121abfdce6
/*------------------------------------------------------------------------- * Copyright (c) 2012,2013, Alex Athanasopoulos. All Rights Reserved. * alex@melato.org *------------------------------------------------------------------------- * This program is free software: you can redistribute it and/or modify * it ...
Java
src/org/melato/geometry/util/Sequencer.java
melato/next-bus
gpl-3.0
5,006
164
codeparrot/github-code
4eee85520ad63145b796d0cca26243d4a242dce4e21841e980ad3bfe3da174af
package num.complexwiring.world.decor; import net.minecraft.client.renderer.texture.IIconRegister; import net.minecraft.item.ItemStack; import net.minecraft.util.IIcon; import net.minecraftforge.oredict.OreDictionary; import num.complexwiring.lib.Reference; import num.complexwiring.lib.Strings; import num.complexwirin...
Java
common/num/complexwiring/world/decor/EnumDecor.java
Numerios/ComplexWiring
gpl-3.0
2,725
64
codeparrot/github-code
3060120f1b04a1330829e264a90dd34373dd7aa8e10054a8222bc3b39951830c
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <title>XSSFHeaderFooter (POI API Documentation)</title> <link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style"> </head> <body> <script typ...
HTML
resources/Apache/Apache-POI-3.16-beta2/poi-bin-3.16-beta2-20170202/poi-3.16-beta2/docs/apidocs/org/apache/poi/xssf/usermodel/extensions/XSSFHeaderFooter.html
doughtnerd/POD
gpl-3.0
24,853
585
codeparrot/github-code
4de2838596937d5b637fecb61cb54a27ef1acf75aea5d1ee7933391f79287d17
'use strict'; /** * app settings factory * stores the custom user settings and shares it app wide */ var app = angular.module('istart'); app.factory('appSettings', ['$q', '$rootScope',function ($q, $rootScope) { /** * migrate the old settings from istart 1.x to the * istartV2! * @type {{loaded: n...
JavaScript
app/service/settings.js
KaySchneider/istart-ntp
gpl-3.0
13,401
347
codeparrot/github-code
efb196e28caac40625113e72eca71f9e6e6da8029459d4ea51f473aea9cc1e62
<?php namespace Pest; require_once 'Pest.php'; /** * Small Pest addition by Egbert Teeselink (http://www.github.com/eteeselink) * * Pest is a REST client for PHP. * PestJSON adds JSON-specific functionality to Pest, automatically converting * JSON data resturned from REST services into PHP arrays and vice versa. ...
PHP
lib/Pest/PestJSON.php
MeinHAUS/HAUS-Server-PHP
gpl-3.0
1,598
46
codeparrot/github-code
f7360d57c9af3a1a2a710f336ad52b0596a052dac20ff00b216f2c3a17344751
local mod = DBM:NewMod(2396, "DBM-Party-Shadowlands", 1, 1182) local L = mod:GetLocalizedStrings() mod:SetRevision("20211125075428") mod:SetCreatureID(162693) mod:SetEncounterID(2390) mod:RegisterCombat("combat") mod:RegisterEventsInCombat( "SPELL_AURA_APPLIED 321368 321754 320788 323730 323198", "SPELL_AURA_REMO...
Lua
AddOns/DBM-Party-Shadowlands/TheNecroticWake/Nalthor.lua
qyh214/wow_addons_private_use
gpl-3.0
4,580
139
codeparrot/github-code
bbd14ce250f955f3a148a2f5bd9b7e433be608713a57806d77b93bab9631cf42
#!/usr/bin/env python # -*- coding, utf-8 -*- # FIDATA. Open-source system for analysis of financial and economic data # Copyright © 2013 Basil Peace # This file is part of FIDATA. # # FIDATA is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published ...
Python
predefined-data/import.py
FIDATA/database-draft
gpl-3.0
4,365
139
codeparrot/github-code
145f40f7fb2037800858cc7b4fab887fef225ab1ac39bb2de1a3b31f0047bdae
<!DOCTYPE html> <html lang="en" class="no-js"> <head> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>Unity - Scripting API: LensFlare.flare</title> <meta name="descript...
HTML
ScriptReference/LensFlare-flare.html
rakuten/Uinty3D-Docs-zhcn
gpl-3.0
10,375
219
codeparrot/github-code
7150478f599a3bbce8939d36de52e27eed0de4d9ac3ac3b98cb30f199f5fe127
""" SleekXMPP: The Sleek XMPP Library Copyright (C) 2011 Nathanael C. Fritz This file is part of SleekXMPP. See the file LICENSE for copying permission. """ import logging from sleekxmpp.xmlstream import JID from sleekxmpp.xmlstream.handler import Callback from sleekxmpp.xmlstream.matcher import Sta...
Python
emesene/e3/xmpp/SleekXMPP/sleekxmpp/plugins/xep_0060/pubsub.py
tiancj/emesene
gpl-3.0
25,426
576
codeparrot/github-code
6251d1315f91606553ff68699e6879dc0cad9716ab99a22e8a111a384708b7f7
#ifndef SELECT_ALIEN_HPP #define SELECT_ALIEN_HPP #include "animation.hpp" #include "game_object.hpp" #include "text.hpp" using namespace engine; class Header: public GameObject{ public: Header(double positionX, double positionY, int maxPapers, int stageNumber); ~Header(); void update(double timeElapsed)...
C++
game/include/header.hpp
joaosaliba/Conspiracy
gpl-3.0
771
32
codeparrot/github-code
8358acac184fdb6c9d73d620202fae5de8b5971bd7b59c174af5aaa904816019
/** * 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
plugins/pdf/src/au/gov/naa/digipres/xena/plugin/pdf/PdfView.java
srnsw/xena
gpl-3.0
2,869
101
codeparrot/github-code
73907492de4790e2afd4ae09af5c296f62d0516ec42f40705e43693b02fb1fcf
<?php // This file is part of Moodle - http://moodle.org/ // // Moodle is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // Moodle ...
PHP
blocks/ajax_marking/classes/nodes_builder_base.class.php
orvsd-skol/moodle25
gpl-3.0
48,650
1,066
codeparrot/github-code
61a3848398297c9454def0484e8329e458538a3e8eab6f9bbc2b1e6be633a914
/* Goblin Library Loader v1.0 - A loader for loading dynamic libraries for Windows and Linux Copyright (C) 2016 Daniel McCarthy This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundati...
C
GoblinLibraryLoader/include/GoblinLibraryLoader.h
nibblebits/craft-compiler
gpl-3.0
1,298
44
codeparrot/github-code
0e92bd406fcb00b58d2b9cdf5dc818f99f0ef635a641ac297e9aa8be4aa5b821
using Newtonsoft.Json.Serialization; using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using Newtonsoft.Json; namespace StackWarden.Core.Serialization { public class PrivateMemberContractResolver : DefaultContractResolver { protected override IList<JsonPropert...
C#
src/StackWarden.Core/Serialization/PrivateMemberContractResolver.cs
Neurosion/StackWarden
gpl-3.0
2,368
52
codeparrot/github-code
fcc173ca7f5a2926e86e8965c046f3582a9f44386f4b6422b4e3dd5ebacd5d6e
<?php /* HCSF - A multilingual CMS and Shopsystem Copyright (C) 2014 Marcus Haase - mail@marcus.haase.name 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 th...
PHP
src/Controller/Shop/Base.php
HaaseIT/HCSF
gpl-3.0
1,531
54
codeparrot/github-code
afe8b2b07090e704f4656f4eb435dedfccb61e5ed1f9730bbc6e1a9b5d25c5d5
package sk.hackcraft.artificialwars.computersim.toolchain; import java.io.DataOutputStream; import java.io.IOException; import java.io.OutputStream; import sk.epholl.artificialwars.entities.instructionsets.EPH32InstructionSet; import sk.epholl.artificialwars.entities.instructionsets.EPH32InstructionSet.EPH32MemoryAdd...
Java
src/sk/hackcraft/artificialwars/computersim/toolchain/AssemblerEPH32.java
Moergil/ArtificialWars
gpl-3.0
2,925
98
codeparrot/github-code
868655530b87300c4bfd4b7af871ea501215ae88592cc83585bdc0affac03627
/* * Copyright (C) 2014 Christophe Chapuis <chris.chapuis@gmail.com> * Copyright (C) 2013 Simon Busch <morphis@gravedo.de> * * 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 ...
C++
src/applicationdescription.cpp
webOS-ports/luna-qml-launcher
gpl-3.0
4,946
184
codeparrot/github-code
c183461da7cc91e060a90a67b2e8400deb14046c757f96b1bf1d82aa9ab9bbcf
/* jshint -W117 */ /* Copyright 2016 Herko ter Horst __________________________________________________________________________ Filename: _videoplayerApp.js __________________________________________________________________________ */ log.addSrcFile("_videoplayerApp.js", "_videoplayer"); function _videoplayerAp...
JavaScript
app/files/tweaks/config/videoplayer/jci/gui/apps/_videoplayer/js/_videoplayerApp.js
Trevelopment/MZD-AIO-TI-X
gpl-3.0
3,832
109
codeparrot/github-code
40f3aa54690db2b28969e3a8b7f5c149c6333641f829416b41c3186796674e86
import { Link, LocationProvider } from '@reach/router'; import router from '@elementor/router'; import { arrayToClassName } from 'elementor-app/utils/utils.js'; import './inline-link.scss'; export default function InlineLink( props ) { const baseClassName = 'eps-inline-link', colorClassName = `${ baseClassName }-...
JavaScript
core/app/assets/js/ui/molecules/inline-link.js
ramiy/elementor
gpl-3.0
1,644
64
codeparrot/github-code
f1bd9ef635d7eb79fe2d7d255d2d12644b9cfcaf430f348b39acd80050125889
/// <reference path="windowbutton/battlelog.windowbutton.js" /> /// <reference path="playbar/battlelog.bf3.playbar.js" /> /// <reference path="dialog/battlelog.bf3.dialog.js" /> /// <reference path="stats/battlelog.bf3.stats.js" /> var baseurl = 'http://battlelogium.github.io/Battlelogium/Battlelogium.Core/Javascript'...
JavaScript
Battlelogium.Core/Javascript/battlelog.mohw.inject.js
Battlelogium/Battlelogium
gpl-3.0
2,614
61
codeparrot/github-code
f251ee6aac8167864a0dfffa8018d07367e342817d3be18044b9746d2e849d64
package com.headbangers.epsilon.v3.model; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonProperty; import java.io.Serializable; import java.util.Date; @JsonIgnoreProperties({"class"}) public class Wish implements Serializable { @JsonProperty("id") p...
Java
epsilon/src/main/java/com/headbangers/epsilon/v3/model/Wish.java
cbrouillard/epsilon-mobile
gpl-3.0
2,798
130
codeparrot/github-code
9604ab1e7e4798c9dccb489953032cd8b3e538e30a7705ae959d8c0786c3bb67
<?php // --------------------------------------------------------- // block_cmanager is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later ve...
PHP
blocks/cmanager/cmanager_config.php
nitro2010/moodle
gpl-3.0
21,007
556
codeparrot/github-code
8260d245dc527b43e03dc704d7c33a46f6c9d44f1d69bb2f3dace4201507df13
# Copyright 2016 Sam Parkinson <sam@sam.today> # # This file is part of Something for Reddit. # # Something for Reddit 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 ...
Python
redditisgtk/main.py
samdroid-apps/something-for-reddit
gpl-3.0
14,785
408
codeparrot/github-code
9b761f7dd92b5f64255bbe7ee485d282eca90b494c4ce803794f14a9be134056
/**************************************************************************** ** ** Copyright (C) 2016 BogDan Vatra <bog_dan_ro@yahoo.com> ** Contact: https://www.qt.io/licensing/ ** ** This file is part of Qt Creator. ** ** Commercial License Usage ** Licensees holding valid commercial Qt licenses may use this file in...
C++
src/plugins/android/androidqtversionfactory.cpp
sailfish-sdk/sailfish-qtcreator
gpl-3.0
2,761
77
codeparrot/github-code
c42ed9f02e6193cb329f970706ee21f27f86fb553b424d065dae09ba2c578b80
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | foam-extend: Open Source CFD \\ / O peration | Version: 3.2 \\ / A nd | Web: http://www.foam-extend.org \\/ M anipulation | For ...
C++
src/mesh/autoMesh/autoHexMesh/meshRefinement/meshRefinementMerge.C
Unofficial-Extend-Project-Mirror/foam-extend-foam-extend-3.2
gpl-3.0
6,999
247
codeparrot/github-code
67ce557a5d69ddf2695092152b538814c5f2c3a8d4e1b67031858c1e40f62bbf
#!/usr/bin/env python """XBeeModem.py bypasses the XBee's 802.15.4 capabilities and simply uses it modem for communications You don't have to master 802.15.4 and a large set of XBee commands to make a very simple but potentially useful network. At its core, the XBee radio is a modem and you can use it directly f...
Python
Pit/RaspberryPi/daemons/xbee.py
HelloClarice/ClariceNet
gpl-3.0
4,184
154
codeparrot/github-code
49605f6f5f862705eb5124f994058e95a120e56a583228b15f7eb99709b43139
using System; using System.Collections.Generic; using System.Security; using VideoOS.Platform.DriverFramework; using VideoOS.Platform.DriverFramework.Data.Settings; using VideoOS.Platform.DriverFramework.Definitions; namespace Safecare.BeiaDeviceDriver_Light { /// <summary> /// The main entry point for the dev...
C#
projects/SAFECARE/XProtect/BeiaDeviceDriver_Light/DriverFramework/BeiaDeviceDriverDriverDefinition.cs
beia/beialand
gpl-3.0
1,389
34
codeparrot/github-code
18c71dc135bc198c841860173cc997b4c0f732357df762b739846a292f47fd62
/* * Overchan Android (Meta Imageboard Client) * Copyright (C) 2014-2016 miku-nyan <https://github.com/miku-nyan> * * 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 o...
Java
src/nya/miku/wishmaster/chans/dvach/DvachSearchReader.java
miku-nyan/Overchan-Android
gpl-3.0
4,523
125
codeparrot/github-code
571c4d0c14ea9438479f1b74eaeb2cbeb6a75fabc05c4796acafbe031a71971c
from random import random, randint from PIL import Image, ImageDraw, ImageFont import perlin def draw_background(setup) : canvas = setup['canvas'] image = Image.new('RGBA', canvas, tuple(setup['color']['back'])) background = Image.new('RGBA', canvas, (0,0,0,0)) draw = ImageDraw.Draw(background) stars = [[ int(p...
Python
sun.py
vojtatom/planets
gpl-3.0
3,499
121
codeparrot/github-code
df581b21e7cdfbc1a8024441a04e2843f3e67d445f26473953b45515587e0caa
#!/usr/bin/python import pygame import math import random import sys import PixelPerfect from pygame.locals import * from water import Water from menu import Menu from game import Game from highscores import Highscores from options import Options import util from locals import * import health import cloud impor...
Python
games/FunnyBoat/run_game.py
italomaia/turtle-linux
gpl-3.0
3,190
125
codeparrot/github-code
7f004536cccbcc85cdeba4e0d9d5e3035d7cbc1d9b862b00fa2a95633caa6333
// Copyright (C) 2013 Johan Hake // // 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 versi...
C++
dolfin/function/assign.cpp
maciekswat/dolfin_1.3.0
gpl-3.0
2,642
65
codeparrot/github-code
cf65da32fef248529cd2ebe774159d4344cfab76442b01550394cc910c5b7323
#!/usr/bin/env python2 # # Copyright 2016 Philipp Winter <phw@nymity.ch> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later versio...
Python
dns-pcap-to-csv.py
NullHypothesis/tor-dns-tools
gpl-3.0
1,724
65
codeparrot/github-code
ff325d48a4abe2ee77b1d5d76ac7a802c1c20a168404fc6b90b38b70e2a8e265
// MapAround - .NET tools for developing web and desktop mapping applications // Copyright (coffee) 2009-2012 OOO "GKR" // 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 versio...
C#
src/MapAround.Core/IO/ShapeFile.cs
gkrsu/maparound.core
gpl-3.0
43,817
1,278
codeparrot/github-code
812fa411abc248b167c0a1d7fe57b0b11bc765c45c6fb41b917f2061d42c6702
/* Copyright (c) 2012 Richard Klancer <rpk@pobox.com> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publ...
JavaScript
public/static/js/joystick.js
rascalmicro/control-freak
gpl-3.0
4,902
178
codeparrot/github-code
865c642ed20c1c9b44481080706f6a0422d9acd2e5a4e4454d6715a36dfbf0cc
/* This file is part of KUMobile. KUMobile 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. KUMobile is distributed in th...
JavaScript
www/js/news.js
garrickbrazil/kumobile
gpl-3.0
17,619
468
codeparrot/github-code
8373aa31c2785f537e9fcd540dbc7a7ff8ec7638122090a908be6f8982df7bcf
/** * This file is part of "PCPIN Chat 6". * * "PCPIN Chat 6" 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. * ...
JavaScript
js/base/confirmbox.js
Dark1revan/chat1
gpl-3.0
2,595
74
codeparrot/github-code
cfec1db3da6df949cd92378c7e6302f8da401281a49b0664e1df114046439fa6
/* * FlightIntel for Pilots * * Copyright 2012 Nadeem Hasan <nhasan@nadmm.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) an...
Java
src/main/java/com/nadmm/airports/wx/WxMapFragmentBase.java
postalservice14/Airports
gpl-3.0
8,030
238
codeparrot/github-code
469061429584d8caa5823a1e50dad701051400f22a435bc726d880a1008a1f63
/******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ // Check if module is in cache /******/ if(installedModules[moduleId]) /******/ return installedModu...
JavaScript
prototype.js
Skookum-Nightshift/who-let-the-dogs-in
gpl-3.0
37,139
1,234
codeparrot/github-code
fa80f9730cbfde7ab152cfe68f3c5d6b0297d037f68ba3abb5daaa9106076442
<?php /** * index.php用コンテナクラス * * PHP versions 5 * * LICENSE: This source file is licensed under the terms of the GNU General Public License. * * @package Magic3 Framework * @author 平田直毅(Naoki Hirata) <naoki@aplo.co.jp> * @copyright Copyright 2006-2017 Magic3 Project. * @license http://www.gnu.org/...
PHP
widgets/ec_product_random/include/container/ec_product_randomWidgetContainer.php
magic3org/magic3
gpl-3.0
11,477
364
codeparrot/github-code
90522af0e1d91f6619df5d399cb99e7e5618a23b00fabc39856924bb11fbbe50
#include <iostream> #include <boost/program_options.hpp> #include <opencv2/core.hpp> #include <opencv2/imgcodecs.hpp> #include <opencv2/imgproc.hpp> #include "rt/filesystem.hpp" #include "rt/io/ImageIO.hpp" #include "rt/io/LandmarkIO.hpp" using namespace rt; namespace po = boost::program_options; namespace fs = rt...
C++
apps/src/PlotLandmarks.cpp
viscenter/registration-toolkit
gpl-3.0
2,843
91
codeparrot/github-code
e3a943b52895156d0bd069934988cfb3d7048d7ac41285cd6d5edae3c91fb614
/* program to compute the CLRT from 3D SFS input is a global 3D sfs file and the corresponding local windows 3D sfs file */ #include <iostream> #include <fstream> #include <vector> #include <string> #include <sstream> #include <cmath> #include <iomanip> using namespace std; // parse a string line to ...
C++
source/pop3Dclrt.cpp
lpmdiaz/pop3D
gpl-3.0
5,014
146
codeparrot/github-code
2674ce36c9d6739b5892e1d6fd265c01c530e69743424201c7b37513c604ced7
#region using System; using System.Collections.Generic; using db; using db.data; using wServer.svrPackets; #endregion namespace wServer.realm.worlds { public class BattleArenaMap : World { private readonly Dictionary<string, bool> Flags = new Dictionary<string, bool>(); private readonly str...
C#
wServer/realm/worlds/BattleArena.cs
dthnider/PhoenixRealms-master
gpl-3.0
9,422
256
codeparrot/github-code
0ce7eb53127f91b20dbf0fde7f6f992d269bb8565adc1197936fab4ed98badfb
# Mantid Repository : https://github.com/mantidproject/mantid # # Copyright &copy; 2018 ISIS Rutherford Appleton Laboratory UKRI, # NScD Oak Ridge National Laboratory, European Spallation Source # & Institut Laue - Langevin # SPDX - License - Identifier: GPL - 3.0 + # pylint: disable=too-few-public-methods """...
Python
scripts/SANS/sans/state/convert_to_q.py
mganeva/mantid
gpl-3.0
10,526
213
codeparrot/github-code
e90a36b3a8de60c738c980799ab63d042cc6318d670857a309fc95e02b5e806e
// // Student.cpp // HorairesExams // // Created by Quentin Peter on 19.11.13. // Copyright (c) 2013 Quentin. All rights reserved. // #include "Student.h" #include "Examen.h" Student::Student(string name, string email, int sciper): a_name(name),a_email(email),a_sciper(sciper){} string Student::name() const{ ...
C++
src/objects/Student.cpp
impact27/QHoraires
gpl-3.0
3,372
113
codeparrot/github-code
904f07803abc2bdcd0dbb5c09aa6a02f916e3568e5659316886222a601463696
/* * Created on Nov 22, 2003 * * To change the template for this generated file go to * Window - Preferences - Java - Code Generation - Code and Comments */ package com.idega.util.logging; import java.util.logging.Level; import java.util.logging.LogManager; import java.util.logging.Logger; /** * A class which h...
Java
src/com/idega/util/logging/LoggingHelper.java
idega/platform2
gpl-3.0
4,070
126
codeparrot/github-code
0d29200492df78f368d8fce2b7c3fffa6c4c03608c6a2702f6f263e8f2b9d69f
function processData(allText) { var allTextLines = allText.split(/\r\n|\n/); var headers = allTextLines[0].split(','); var lines = []; for (var i=1; i<allTextLines.length; i++) { var data = allTextLines[i].split(','); if (data.length == headers.length) { var tarr = []; ...
JavaScript
Documents/code/GIT/self_website/scripts/showCSV.js
Aakast/self_website
gpl-3.0
905
37
codeparrot/github-code
02d8477afe4cf4a107143acddfa70657b7c8681458b8af614997526a9298a305
<?php include 'zz1.php'; ?> <title>Chat | Ballmanager.de</title> <?php if ($loggedin == 1) { ?> <script type="text/javascript" src="http://s3.amazonaws.com/ballmanager.de/js/jquery.js"></script> <script type="text/javascript"> function nachladen() { $.ajax({ url: '/chat_engine.php', data: { aktion: 'letzte_nachr...
PHP
Website/chat.php
AnwaltDesTeufels/Ballmanager
gpl-3.0
5,303
126
codeparrot/github-code
e9ac8be84009b746fe97979cec2b479d1f78e5e4e26696af8e2efbc8ce6e419d
/* DA-NRW Software Suite | ContentBroker Copyright (C) 2013 Historisch-Kulturwissenschaftliche Informationsverarbeitung Universität zu Köln 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,...
Java
ContentBroker/src/test/java/de/uzk/hki/da/cb/ArchiveReplicationActionTests.java
da-nrw/DNSCore
gpl-3.0
3,548
121
codeparrot/github-code
4463276e84caa393ead6189bd2e45bf50918a50af9d7f5a229fdaf7a3154a19c
package l2s.gameserver.skills.skillclasses; import java.util.List; import l2s.gameserver.model.Creature; import l2s.gameserver.model.Player; import l2s.gameserver.model.Skill; import l2s.gameserver.model.pledge.Clan; import l2s.gameserver.network.l2.components.IStaticPacket; import l2s.gameserver.network.l2.component...
Java
gameserver/src/main/java/l2s/gameserver/skills/skillclasses/ClanGate.java
pantelis60/L2Scripts_Underground
gpl-3.0
1,353
56
codeparrot/github-code
4400a0ef625a0c5f31f9c48e8cda92021bf324de16833e72fec55a718b50735d
#----------------------------------------------------------------------------- # Copyright (c) 2013-2020, PyInstaller Development Team. # # Distributed under the terms of the GNU General Public License (version 2 # or later) with exception for distributing the bootloader. # # The full license is in the file COPYING.txt...
Python
client/linux-arm/venv/lib/python3.6/site-packages/PyInstaller/utils/cliutils/archive_viewer.py
etherkit/OpenBeacon2
gpl-3.0
8,195
274
codeparrot/github-code
313c2f1e7d6235fa81c2e313656c0a1db0e05a7f95d1eb3dbb00cb72203ba746
/* * Tweeteria - A minimalistic tweet reader. * Copyright (C) 2017 Andreas Weis (der_ghulbus@ghulbus-inc.de) * * 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...
C++
client/ui/main_window.hpp
ComicSansMS/tweeteria
gpl-3.0
2,719
88
codeparrot/github-code
c2fe5d04dc80a445e60ecd90215d5e2a37e4b3828ce56b1d8b3ed3c51bc6744d
/** * */ package com.dotmarketing.business; import java.util.ArrayList; import java.util.List; import java.util.Map; import com.dotmarketing.common.db.DotConnect; import com.dotmarketing.db.DbConnectionFactory; import com.dotmarketing.exception.DotDataException; import com.dotmarketing.exception.DotRuntimeExceptio...
Java
src/com/dotmarketing/business/PermissionedWebAssetUtil.java
guhb/core
gpl-3.0
23,096
563
codeparrot/github-code
b725d170707b8eefc0462aedce0b8f1b087f5c2cd34bb273494c83210d72e98e
/* * Copyright (C) 2005-2012 BetaCONCEPT Limited * * This file is part of Astroboa. * * Astroboa 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 op...
Java
astroboa-engine/src/main/java/org/betaconceptframework/astroboa/engine/jcr/dao/SerializationDao.java
BetaCONCEPT/astroboa
gpl-3.0
7,722
215
codeparrot/github-code
2488dc5943fab8ae97777d82183eb41d7acb5d979089fbc7a325a97ae75d948b
package com.words.model.mysqlmodel; import com.words.controller.futurewords.FutureWord; import com.words.controller.utils.DateTimeUtils; import com.words.controller.words.Word; import com.words.controller.words.WordFactory; import com.words.controller.words.wordkinds.WordComplexity; import com.words.controller.words.w...
Java
src/com/words/model/mysqlmodel/MysqlModel.java
ferrerverck/englishwords
gpl-3.0
32,111
888
codeparrot/github-code
aa16d66965e662f5c1d52b40e089a934e28ddbd344b06e8063475027c095450b
------------------------------------------------------------------------------------------------------------- -- -- FireAdmin Version 5.x -- FireAdmin is a derivative of FireAdmin, which is a derivative of MangAdmin. -- -- Copyright (C) 2007 Free Software Foundation, Inc. -- License GPLv3+: GNU GPL version 3 or later ...
Lua
FireAdmin/Commands/Commands_NPC.lua
ProjectSkyfire/SkyFire-Community-Tools
gpl-3.0
7,991
274
codeparrot/github-code
0c7cc73ff8126b4e21746a7195fa88e6c93aaa0a6e73ac19010de81725105bc7
/** Namespace NotificationsTable */ var NotificationsTable = new function() { var ns = this; // reference to the namespace ns.oTable = null; var asInitVals = []; /** Update the table to list the notifications. */ this.update = function() { ns.oTable.fnClearTable( 0 ); ns.oTable.fnDraw(); }; ...
JavaScript
django/applications/catmaid/static/js/widgets/table-notifications.js
catsop/CATMAID
gpl-3.0
6,977
243
codeparrot/github-code
df8f9e5bf4155886f3539c2d78a3b9fb5153181ee452948b5dad27aeb0b8df8f
#pragma once #include "EventController.h" #include "InputKeyboard.h" #include "InputMouse.h" #include "InputGamepad.h" #include "DLL_DEF.h" struct SDL_Window; namespace ge { class GEDLL InputManager { public: enum InterfaceType { NoInterface = 0, Keybo...
C
GameEngine/InputManager.h
cppisfun/GameEngine
gpl-3.0
1,262
52
codeparrot/github-code
d79040d93726b0f1298ea595b20895b48849d2d0b621a89f4fc61eabcc946d70
/* SSSD nsssrv_netgroup.c Authors: Stephen Gallagher <sgallagh@redhat.com> Copyright (C) 2010 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 ver...
C
src/responder/nss/nsssrv_netgroup.c
sgallagher/sssd
gpl-3.0
35,079
1,141
codeparrot/github-code
e1f23c25af3da0e316abcd421ff3c750b5a6ad5c748a1c0cc2d528c17a4f91b6
class Solution(object): def findPaths(self, m, n, N, i, j): """ :type m: int :type n: int :type N: int :type i: int :type j: int :rtype: int """ MOD = 1000000007 paths = 0 cur = {(i, j): 1} for i in xrange(N): ...
Python
algorithms/576. Out of Boundary Paths/solution.py
zqfan/leetcode
gpl-3.0
918
33
codeparrot/github-code
2a600ec6ab16123a3501e91c817f941b075d220dd242bb150b2a491ac89b6c41
package eu.imagecode.scias.model.jpa; import java.io.Serializable; import javax.persistence.*; import java.util.List; /** * The persistent class for the station_group database table. * */ @Entity @Table(name = "station_group") @NamedQuery(name = "StationGroupEntity.findAll", query = "SELECT s FROM StationGroupEnt...
Java
water/water-server/src/main/java/eu/imagecode/scias/model/jpa/StationGroupEntity.java
vjuranek/scias-server
gpl-3.0
2,861
108
codeparrot/github-code
fea5f66e699f0e83f435703fc7ad57848a078a218ac47cd0b6dc64089cc423b6
package org.otherobjects.cms.controllers; import java.util.ArrayList; import java.util.HashMap; import java.util.Map; import javax.annotation.Resource; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.json.JSONArray; import org.json.JSONObject; import org.othero...
Java
src/main/java/org/otherobjects/cms/controllers/DesignerController.java
0x006EA1E5/oo6
gpl-3.0
5,683
164
codeparrot/github-code
d49dbb1e2508cf2079f6d6a3c539d3be82ba87f20c8478568ff5c30ad1724e80
//---------------------------------------------------------------------------- // XC program; finite element analysis code // for structural analysis and design. // // Copyright (C) Luis Claudio Pérez Tato // // This program derives from OpenSees <http://opensees.berkeley.edu> // developed by the «Pacific earthq...
C++
src/utility/actor/channel/TCP_SocketNoDelay.cpp
lcpt/xc
gpl-3.0
24,403
788
codeparrot/github-code
29d01ab76f37403429032cd94a2a7d3969ac08695f94e19c257f154d1e60001b
using pdsharp.noosa.audio; using pdsharp.utils; using sharpdungeon.actors; using sharpdungeon.actors.mobs; using sharpdungeon.effects; using sharpdungeon.items.potions; using sharpdungeon.items.scrolls; using sharpdungeon.levels; using sharpdungeon.mechanics; using sharpdungeon.scenes; using sharpdungeon.utils; namesp...
C#
items/wands/WandOfTelekinesis.cs
hazard999/SharpDungeon
gpl-3.0
4,515
136
codeparrot/github-code
d72ba6d6f676558596c7660d9b9d797a04000e40c6fcfc78ec22c7ececf71f9b
/* * Copyright (C) 2008, 2012 Gustavo Noronha Silva * Copyright (C) 2010 Collabora Ltd. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2 of the License, or ...
C++
WebKit/Source/WebKit/gtk/WebCoreSupport/InspectorClientGtk.cpp
cs-au-dk/Artemis
gpl-3.0
8,369
281
codeparrot/github-code
249dce7ff0bd2f77a46ab21b81bbc5473922e2ed90171c54ef7786195b16e368
#ifndef tourmaline_Class_h #define tourmaline_Class_h #include "tour.h" #include "messaging.h" _EXTERN_C_BEGIN #define _C_ID '@' #define _C_CLASS '#' #define _C_SEL ':' #define _C_CHR 'c' #define _C_UCHR 'C' #define _C_SHT 's' #define _C_USHT 'S' #define ...
C
include/tour/Class.h
noqisofon/libtourmaline
gpl-3.0
4,396
166
codeparrot/github-code
c1825dbfc6dd28e7d48949f39435dfcf1aa0102bb88a9451de58356df88cd826
#include <QtWidgets> #include "mdichild.h" MdiChild::MdiChild() { setAttribute(Qt::WA_DeleteOnClose); isUntitled = true; } void MdiChild::newFile() { static int sequenceNumber = 1; isUntitled = true; curFile = tr("document%1.txt").arg(sequenceNumber++); setWindowTitle(curFile + "[*]"); ...
C++
UI/NMPharmUI/mdichild.cpp
liothique/NMPharm
gpl-3.0
3,430
139
codeparrot/github-code
a7c9d1cada545687b3a53e767240cde86d80de6ece6584d8210269693e707944
# -*- coding: iso-8859-1 -*- # --------------------------------------------------------------------------- # # SPEEDMETER Control wxPython IMPLEMENTATION # Python Code By: # # Andrea Gavana, @ 25 Sep 2005 # Latest Revision: 10 Oct 2005, 22.40 CET # # # TODO List/Caveats # # 1. Combination Of The Two Styles: # # SM_D...
Python
SpeedMeter.py
jantman/python-obd
gpl-3.0
81,844
2,309
codeparrot/github-code
d7ff765acfc878de5f1b75dc19b5e32bd433469e9dbe32f7374484e0ce5b7ac7
void SetProgramOptions(); void InitializeProtein(); void DetermineTriplets(); void SetRadii(); void SetHardCore(); void SetContactDistance(); void ReadNative(); void GetResidueInfo(struct atom *, struct residue *, int, int); void GetPhiPsi(struct atom *, struct residue *, int); void GetChi(); void InitializeData(); voi...
C
src_mpi/init.h
ElwynWang/REMC
gpl-3.0
54,046
1,473
codeparrot/github-code
784f545b1037aa54ff659b98f5fc5cf1ca90f6f765cc86546b5566ced9d83a90
/* DA-NRW Software Suite | ContentBroker Copyright (C) 2015 LVRInfoKom Landschaftsverband Rheinland 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 (...
Java
ContentBroker/src/main/java/de/uzk/hki/da/event/SystemEventFactory.java
da-nrw/DNSCore
gpl-3.0
2,827
105
codeparrot/github-code
8a5172f7a88f207e491ed58d15754368b9ffc725e8a16310298ea244a15ff27c
/** * Copyright (C) 2005-2014 Rivet Logic Corporation. * * 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; version 3 of the License. * * This program is distributed in the hope that it will...
Java
webs/elasticsearch-web/docroot/WEB-INF/src/com/rivetlogic/portal/search/elasticsearch/indexer/document/ElasticsearchDocumentJSONBuilder.java
rivetlogic/liferay-elasticsearch-integration
gpl-3.0
7,524
178
codeparrot/github-code
c4be74b125a886be4f5086fc4d0d05bfc84478e981ac5df144fe666ec15d23ad
using System; using System.Collections.Generic; using System.Linq; using System.Text; using UnityEngine; namespace MuMech { public class MechJebModuleThrustController : ComputerModule { public MechJebModuleThrustController(MechJebCore core) : base(core) { p...
C#
MechJeb2/MechJebModuleThrustController.cs
r3g1str0s/MechJeb2-en-Castellano
gpl-3.0
31,598
767
codeparrot/github-code
172218b6a253b91d307d6468f878c8d63f102d0a935a296875c5cb00d3ec48b5
using HoloToolkit; using HoloToolkit.Unity; using System.Collections; using System.Collections.Generic; using UnityEngine; /// <summary> /// Keeps track of the current state of the experience. /// </summary> public class AppStateManager : Singleton<AppStateManager> { /// <summary> /// Enum to track progress t...
C#
Assets/Scripts/AppStateManager.cs
cefoot/HoloDice
gpl-3.0
1,518
53
codeparrot/github-code
f4906f8f29bff5006d9ca06ceeb2532c5dc8a2f5922c197e56d7b2e3219902f4
#!/bin/sh ## ## Nautilus ## SCRIPT: grep02_regexpMatchLines_egrep1file.sh ## ## PURPOSE: Show the lines of a file matching a user-specified ## string or regular expression, using 'egrep'. ## ## HOW TO USE: In Nautilus, navigate to a file, select it, ## right-click and choose this Nautilus script to...
Shell
gnome3-shell/nautilus-scripts/System/File Info/EXAMINEfiles/Regexp-MatchLines-Egrep-1File.sh
kernt/linuxtools
gpl-3.0
3,754
154
codeparrot/github-code
a75ffebd2579cfa931178f274a0e3e7e9f6e6f198dc3ba6368f55b74d33d4525
/* * Parser.c * * Created on: Aug 26, 2017 * Author: maanu */ #include "Main.h" #include "Lexer.h" #include "Parser.h" /* * <program> ::= <statement> * <statement> ::= <id> = <expr> * | <expr> * <expr> ::= <str> * | <func>(<expr>) * | <addtive_expr> * <multiplicative_expr> ...
C
src/Parser.c
navilera/Hexane
gpl-3.0
5,974
321
codeparrot/github-code
a63fe0a1dbef45d37983f712c01eee5a6af6f7d458d2d2b0fbdf3cf212792645
if SERVER then Damagelog:EventHook("DoPlayerDeath") else Damagelog:AddFilter("filter_show_drownings", DAMAGELOG_FILTER_BOOL, true) Damagelog:AddColor("color_drownings", Color(115, 161, 255, 255)) end local event = {} event.Type = "DRN" function event:DoPlayerDeath(ply, attacker, dmginfo) if attacker:I...
Lua
lua/damagelogs/shared/events/drownings.lua
Tommy228/TTTDamagelogs
gpl-3.0
1,782
64
codeparrot/github-code