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
d37a5fa7cb64fa6e0e1e1aad3dfe021fed45ebb7fe639144316177eb899e5628
/*************************************************************************** scalebardlg.h - description ------------------- begin : Tue Dec 31 2002 copyright : (C) 2002 by email : mmdigitizer@gmail.com ****...
C
src/scalebardlg.h
crayxt/digitizer
gpl-2.0
1,715
55
codeparrot/github-code
e5176fe99c87012efa6c0649529b101074f43dccc6f07654956cf77d57df3cc6
<?php /** * Example of use of HTML to docx converter */ // Load the files we need: require_once '../phpword/PHPWord.php'; require_once '../simplehtmldom/simple_html_dom.php'; require_once '../htmltodocx_converter/h2d_htmlconverter.php'; require_once 'docs_styles.inc'; // Functions to support this example....
PHP
profiles/erpal/libraries/htmltodocx/documentation/documentation_download_word.php
btribulski/paintingcompany
gpl-2.0
3,957
85
codeparrot/github-code
0909f77c0cf44a25e36b1a529f3ece7030dc611392ff4ba273d2cace0b1ddee9
#!/usr/bin/perl # script to find a guarantor # Copyright 2008-2009 BibLibre SARL # # This file is part of Koha. # # Koha 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 (a...
Perl
admin/aqbudget_owner_search.pl
MASmedios/koha
gpl-2.0
3,853
115
codeparrot/github-code
145d1e67654a976c66cdd0ac1c43623b7f4315a71257a40979d866c9ce420f52
/*--------------------------------------------------------------------*/ /*--- Reading of syms & debug info from ELF .so/executable files. ---*/ /*--- readelf.c ---*/ /*--------------------------------------------------------------------*/ /* This file is part of...
C
6.1.1.B.1.54/external/valgrind/main/coregrind/m_debuginfo/readelf.c
percy-g2/Novathor_xperia_u8500
gpl-2.0
87,287
2,266
codeparrot/github-code
7c513a987fe974c860372529c0c94eff06f6f2db0708db60a3b11846f62aef1e
#ifndef _SL_LIST__H #define _SL_LIST__H #include "slconfig.h" template <class T> class list { public: class node { public: node(const T& e):prev(0),next(0),element(e){} node():prev(0),next(0){} virtual ~node(){} public: node* prev; node* next; T element; }; list():m_size(0){ head = new node(); t...
C
list.h
ABR-SDK/Amusement-Machine-Software
gpl-2.0
1,870
121
codeparrot/github-code
99cb706f8facab432d4f7e10a29d7933bf134093abad7b631292baa9621bddf1
<?php namespace App\KoraFields; use Illuminate\Http\Request; class GalleryField extends FileTypeField { /* |-------------------------------------------------------------------------- | Gallery Field |-------------------------------------------------------------------------- | | This model rep...
PHP
app/KoraFields/GalleryField.php
matrix-msu/kora
gpl-2.0
2,754
100
codeparrot/github-code
0b098d232f1dbc9656308339e0e060ab73bc45b184095fce8db98ddb3f0b4958
/** Copyright (C) SYSTAP, LLC DBA Blazegraph 2006-2016. All rights reserved. Contact: SYSTAP, LLC DBA Blazegraph 2501 Calvert ST NW #106 Washington, DC 20008 licenses@blazegraph.com This program is free software; you can redistribute it and/or modify it under the terms of the GNU Gener...
Java
bigdata-core/bigdata-rdf/src/java/com/bigdata/rdf/internal/constraints/IriBOp.java
wikimedia/wikidata-query-blazegraph
gpl-2.0
3,770
124
codeparrot/github-code
b4580fd6974f74268f3dc12aac96d0bef1c7c96540040df6f606cb7f137f5567
-- MT. EREBUS ----------------------------------------------------------- register_level "mt_erebus" { name = "Mt. Erebus", entry = "On level @1 he arrived at Mt. Erebus.", welcome = "You arrive at Mt. Erebus. You shiver before the mountain of eternal fire!", level = 22, OnRegister = function () register_item...
Lua
bin/lua/levels/mterebus.lua
tung/doomrl
gpl-2.0
5,389
143
codeparrot/github-code
b2104f53a3bc021bb15be0d198f137325b6f4595ab868833f2483587cd8c5f32
-- ------------------------------------ -- Quest :: 12644, Quest :: 12645 texts -- ------------------------------------ DELETE FROM script_texts WHERE entry BETWEEN -1999791 AND -1999783; INSERT INTO script_texts VALUES ('-1999791','Aye, I\'ll try it.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'0','0','0','423','Hemet N...
SQL
sql_FULL_DB/Development/scriptdev2/X_Scriptdev2_Quest_Script_Stuff.sql
Kreegoth/Darkportalwow
gpl-2.0
6,204
113
codeparrot/github-code
5c045e2f7101ec6cc0e5302aa64e866897eb6f196011cf5b78c34f303a71f2cc
-- -- Upgrade script from 5.0d to 5.0d2 -- -- @author Simon Carstensen (simon@collaboraid.biz) -- -- @cvs-id $Id$ -- -- Adds column timezone to table user_preferences alter table user_preferences add column timezone varchar(100); -- Don Baccus new update trigger that's much much faster than the old -- one. drop tr...
SQL
packages/acs-kernel/sql/postgresql/upgrade/upgrade-5.0d-5.0d2.sql
jwlynch/openacs.core
gpl-2.0
2,805
89
codeparrot/github-code
b894360380012920aa6d30944deabd97ba75f0c625223c29e66e2e6419bb2a5e
/* * Scatterlist Cryptographic API. * * Copyright (c) 2002 James Morris <jmorris@intercode.com.au> * Copyright (c) 2002 David S. Miller (davem@redhat.com) * Copyright (c) 2005 Herbert Xu <herbert@gondor.apana.org.au> * * Portions derived from Cryptoapi, by Alexander Kjeldaas <astor@fast.no> * and Nettle, by Nie...
C
crypto/api.c
SyNtheticNightmar3/android_kernel_asus_flo
gpl-2.0
13,696
607
codeparrot/github-code
1fa6cf14ff9924e1e670397019888128841fcd0efe59722f8faafb275e34b903
// Copyright (C) 2009-2011, Romain Goffe <romain.goffe@gmail.com> // Copyright (C) 2009-2011, Alexandre Dupas <alexandre.dupas@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; ei...
C++
src/songbook.hh
LaTruelle/patagui
gpl-2.0
6,409
257
codeparrot/github-code
c5fd6f671b6d3d4bb2776ff6be3defb99206e21a26a3b2f67c2a4b99545f1f22
// Copyright 2008 Dolphin Emulator Project // Licensed under GPLv2+ // Refer to the license.txt file included. #include "VideoCommon/VertexLoader.h" #include "Common/Assert.h" #include "Common/CommonTypes.h" #include "VideoCommon/DataReader.h" #include "VideoCommon/VertexLoaderManager.h" #include "VideoCommon/Vertex...
C++
Source/Core/VideoCommon/VertexLoader.cpp
JMC47/dolphin
gpl-2.0
12,831
419
codeparrot/github-code
2abb8d4f5ebf0c4f13b367d884a094f7519f4d8d8dc9a5aa3d8b39986abb3810
/* Copyright (c) 2011-2014, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the...
C
net/ipc_router/ipc_router_core.c
idprophecy/android_kernel_oneplus_msm8974-3.10
gpl-2.0
98,119
3,504
codeparrot/github-code
5e92c5b22e567a0b660cd1ffb8bf2e904048ad6aa1b24c6d7cdc9e02890ea37e
/** @file archive.cpp * * Archiving of GiNaC expressions. */ /* * GiNaC Copyright (C) 1999-2008 Johannes Gutenberg University Mainz, Germany * * 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 Fo...
C++
ginac/archive.cpp
pynac/pynac
gpl-2.0
17,807
665
codeparrot/github-code
63630e5961060fd7a56291210b0b89ec2048b09fef2a5c7e08e8a84fc77df875
/* * * Copyright (C) 2011-2013 ArkCORE <http://www.arkania.net/> * * Copyright (C) 2008-2013 TrinityCore <http://www.trinitycore.org/> * * Copyright (C) 2005-2009 MaNGOS <http://getmangos.com/> * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Publ...
C++
src/server/game/Handlers/LootHandler.cpp
blitztech/rev4
gpl-2.0
16,918
499
codeparrot/github-code
1cd6d349f739325908dfccf5dd56b0d2e14734608f242cdc8fd00a6adb22121c
// apt.cc // // Copyright 1999-2008 Daniel Burrows // Copyright (C) 2009 Daniel Nicoletti <dantti85-pk@yahoo.com.br> // // 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 o...
C++
backends/aptcc/matcher.cpp
JoliOS/packagekit
gpl-2.0
5,487
244
codeparrot/github-code
28d34cace54460434f5e371e89732d28d7ff1e4420ff6471e39c6973eb0de528
<?php /** * Element: K2 * * @package NoNumber Framework * @version 15.3.6 * * @author Peter van Westen <peter@nonumber.nl> * @link http://www.nonumber.nl * @copyright Copyright © 2015 NoNumber All Rights Reserved * @license http://www.gnu.org/licenses/gpl-2.0.h...
PHP
plugins/system/nnframework/fields/k2.php
bundocba/Lexus
gpl-2.0
2,227
96
codeparrot/github-code
3fc3a8231f24006f0cd9e96f0f0b02c85ed2f3781c84c0a3667e8545875eb40e
/* * Copyright (C) 2011-2016 ArkCORE <http://www.arkania.net/> * * Script 80% done. TODO: * shadowblaze spark, heroic mode, platform. * * This file is NOT free software. Third-party users can NOT redistribute * it or modify it. If you find it, you are either hacking something, or very * lucky (presuming someo...
C++
src/server/scripts/EasternKingdoms/BlackrockMountain/BlackwingDescent/boss_bd_nefarian.cpp
xIchigox/ArkCORE-NG
gpl-2.0
35,989
1,078
codeparrot/github-code
c7ffd657f43a1f87df95c5c47ba085df89680d48c6602c1cddb7df9772db3491
var express = require('express'); var path = require('path'); var favicon = require('serve-favicon'); var logger = require('morgan'); var cookieParser = require('cookie-parser'); var bodyParser = require('body-parser'); var routes = require('./routes/index'); var tools = require('./routes/tools'); var about = require(...
JavaScript
app.js
jolahde/structpro
gpl-2.0
1,512
63
codeparrot/github-code
0686d7ec5f454ad787ce685e85431bc9db99f4b191992253539d61a12f9b0e2e
/* CPU data header for iq2000. THIS FILE IS MACHINE GENERATED WITH CGEN. Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. This file is part of the GNU Binutils and/or GDB, the GNU debugger. This program is free software; you can redistribute it and/or modify it under the terms...
C
user/gdb/opcodes/iq2000-desc.h
kidmaple/CoolWall
gpl-2.0
12,045
303
codeparrot/github-code
e770bf74b1ba888fc1fd36956384a0afda8838f301ee387429468b3ff9eaaea9
<?php /* Load Modules List */ require_once TEMPLATEPATH . '/functions/modules/metaboxes-list.php'; class SGP_GlobalSettings_Module { const moduleName = 'GlobalSettings'; protected static $instance; protected static $_params = array( 'show_global_options' => TRUE, 'show_entity_options' => TRUE, ); pri...
PHP
wp-content/themes/felis/functions/sgpanel/modules/sgp-settings.php
hanxianlong/exwordpress.tk
gpl-2.0
5,138
156
codeparrot/github-code
5acc49bf6404a858b6dc134fa814eaa08263d1d9bd425dfe4c8c8f0991e8807d
package sp.phone.ui.adapter.beta; import android.content.Context; import androidx.recyclerview.widget.RecyclerView; import java.util.List; import sp.phone.view.RecyclerViewEx; /** * Created by Justwen on 2018/6/10. */ public abstract class BaseAppendableAdapterEx<E, T extends RecyclerView.ViewHolder> extends Base...
Java
nga_phone_base_3.0/src/main/java/sp/phone/ui/adapter/beta/BaseAppendableAdapterEx.java
Justwen/NGA-CLIENT-VER-OPEN-SOURCE
gpl-2.0
1,193
55
codeparrot/github-code
759ae06fe66b2fa035db767c108e7f185a768180ae95ec6debe479db1d758357
function DoomRL.loadnpcs() register_being "former" { name = "former human", ascii = "h", color = LIGHTGRAY, sprite = SPRITE_FORMER, todam = -1, tohit = -4, speed = 90, min_lev = 0, max_lev = 12, corpse = true, danger = 1, ...
Lua
bin/lua/beings.lua
tung/doomrl
gpl-2.0
38,427
1,557
codeparrot/github-code
cdb5bf4db37aa864b4eb7ecc37069edff8bf4320595f9702704c4be5085677fe
/* Object file "section" support for the BFD library. Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. Written by Cygnus Support. This file is part of BFD, the Binary File Descriptor library. ...
C
openlibs/binutils-2.19.51.0.12/bfd/section.c
wanghao-xznu/vte
gpl-2.0
46,602
1,544
codeparrot/github-code
43e2977f6f52c46b490e92361e9d3a7188fb7563ee0011addd747ad77e605e8b
/* -*- OpenSAF -*- * * (C) Copyright 2008 The OpenSAF Foundation * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY * or FITNESS FOR A PARTICULAR PURPOSE. This file and program are licensed * under the GNU Les...
C
osaf/libs/agents/saf/lga/lga.h
indonexia2004/opensaf-indo
gpl-2.0
4,360
111
codeparrot/github-code
4b2c05dbf0825ffc055199d78e10fd03d2795e0d2f3db2ab444ae7f9fb2436f1
# # Gramps - a GTK+/GNOME based genealogy program # # Copyright (C) 2003-2006 Donald N. Allingham # 2009 Gary Burton # # 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...
Python
gramps/gui/selectors/selectobject.py
pmghalvorsen/gramps_branch
gpl-2.0
3,463
100
codeparrot/github-code
0889627768786736183b14bb8f0d69259e04e95c2ffca99b712257cb8fb71759
#! /usr/bin/env python ############################################################################### # # simulavr - A simulator for the Atmel AVR family of microcontrollers. # Copyright (C) 2001, 2002 Theodore A. Roth # # This program is free software; you can redistribute it and/or modify # it under the terms of th...
Python
regress/modules/gdb_rsp.py
zouppen/simulavr
gpl-2.0
7,633
317
codeparrot/github-code
e1e168d818ac5e36b9a4bbf300579cb39151b55c0fd3c0ce77037faea5f18574
#ifndef SDPRINT_H #define SDPRINT_H // SD -- square dance caller's helper. // // Copyright (C) 1990-2004 William B. Ackerman. // Copyright (C) 1996 Charles Petzold. // // This file is part of "Sd". // // Sd is free software; you can redistribute it and/or modify it // under the terms of the ...
C
sdprint.h
tech-squares/sd
gpl-2.0
2,388
75
codeparrot/github-code
3b2b090c8c256c7b89333b48ca315d62dc51682b017c8b0909af7a2afa384fc4
/** * OWASP Benchmark v1.2beta * * This file is part of the Open Web Application Security Project (OWASP) * Benchmark Project. For details, please see * <a href="https://www.owasp.org/index.php/Benchmark">https://www.owasp.org/index.php/Benchmark</a>. * * The OWASP Benchmark is free software: you can redistribute it an...
Java
src/main/java/org/owasp/benchmark/testcode/BenchmarkTest00011.java
marylinh/Benchmark
gpl-2.0
3,672
103
codeparrot/github-code
d7c9cd6a6ef57b54b477404d846e6348dd4c484f7cba00ae71e1c2d663c802dc
<?php class UM_Rewrite { function __construct() { add_filter('query_vars', array(&$this, 'query_vars'), 10, 1 ); add_action('init', array(&$this, 'rewrite_rules'), 100000000 ); add_action('template_redirect', array(&$this, 'redirect_author_page'), 9999 ); add_action('template_redirect...
PHP
wp-content/plugins/ultimate-member/core/um-rewrite.php
samuelshih/daily-gazette
gpl-2.0
4,483
174
codeparrot/github-code
d43d51cdb586da21ea06d99bdd4766bcec7774c6dfabfdc9ee35e124f092ffb4
if not WeakAuras.IsCorrectVersion() then return end local AddonName, Private = ... local SharedMedia = LibStub("LibSharedMedia-3.0"); local L = WeakAuras.L; local screenWidth, screenHeight = math.ceil(GetScreenWidth() / 20) * 20, math.ceil(GetScreenHeight() / 20) * 20 local defaultFont = WeakAuras.defaultFont local ...
Lua
WeakAuras/SubRegionTypes/SubText.lua
WeakAuras/WeakAuras2
gpl-2.0
14,821
522
codeparrot/github-code
e5032b32aecea3f2227a61a494a8a8cbea638f250fd737c9765764e234801b8b
using System; using System.Collections.Generic; using System.ComponentModel; using System.Windows.Forms; using mRemoteNG.Config.Connections; using mRemoteNG.Connection; using mRemoteNG.Container; using mRemoteNG.Themes; using mRemoteNG.Resources.Language; namespace mRemoteNG.UI.Forms { public partial class FrmExp...
C#
mRemoteNG/UI/Forms/FrmExport.cs
mRemoteNG/mRemoteNG
gpl-2.0
9,316
310
codeparrot/github-code
d38a4e49e3c8e39ae4dc5d3912bed1529e197d6875bae8686016ecdd95c642af
// Copyright (c) 2012- PPSSPP Project. // 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 2.0 or later versions. // This program is distributed in the hope that it will be useful, // b...
C
Core/Debugger/SymbolMap.h
VOID001/ppsspp
gpl-2.0
4,939
178
codeparrot/github-code
a32f16e5f61e88adb6fdf1ce11eaddfac222d35240c0cdfb4180ff0f94fb0d8e
/* vi: set sw=4 ts=4: */ /* * cksum - calculate the CRC32 checksum of a file * * Copyright (C) 2006 by Rob Sullivan, with ideas from code by Walter Harms * * Licensed under GPLv2 or later, see file LICENSE in this source tree. */ //config:config CKSUM //config: bool "cksum (4.2 kb)" //config: default y //config: ...
C
coreutils/cksum.c
evaautomation/busybox
gpl-2.0
2,209
84
codeparrot/github-code
d292ef60b97d5b935983aad2cb327d64bb06e41fa7c7d8e38ef56e76bb3e4907
<?php if ( ! defined( 'ABSPATH' ) ) { exit; } /** * WPML: display correct flags on the overview screens */ class AC_ThirdParty_WPMLColumn { const COLUMN_NAME = 'icl_translations'; private $column; function __construct( $post_type ) { add_filter( "manage_{$post_type}_posts_columns", array( $this, 'store_wpm...
PHP
wp-content/plugins/codepress-admin-columns/classes/ThirdParty/WPMLColumn.php
thebykov/trufit
gpl-3.0
933
37
codeparrot/github-code
cd3488f6053d2b1c81e3de35464682e45d6eb4ee585ec2608c6bec9df7ab298e
// RUN: %clang_cc1 -fenable-matrix -triple x86_64-apple-darwin %s -emit-llvm -disable-llvm-passes -o - | FileCheck %s // Also check we do not crash when running some middle-end passes. Most // importantly this includes the IR verifier, to ensure we emit valid IR. // RUN: %clang_cc1 -fenable-matrix -emit-llvm -triple x...
C
3rd/templight/clang/test/CodeGen/matrix-type-builtins.c
sabel83/metashell
gpl-3.0
13,930
264
codeparrot/github-code
c0bf0264d299c2e125ea1197d7c62765b18ba4942527550843fe031fbc5f2858
//*************************************************************************** // // Copyright (c) 2000 - 2006 Intel Corporation // // 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 // // ...
C++
src/external/u3d/src/RTL/Component/BitStream/IFXHistogramDynamic.cpp
cnr-isti-vclab/meshlab
gpl-3.0
20,412
703
codeparrot/github-code
e5ea9f9a2bd7316b11c27ee4ee7b81d4ccc47593d1faa8fe9f434bb019f692e5
/** * This file is part of Todo.txt Touch, an Android app for managing your todo.txt file (http://todotxt.com). * * Copyright (c) 2009-2013 Todo.txt contributors (http://todotxt.com) * * LICENSE: * * Todo.txt Touch is free software: you can redistribute it and/or modify it under the terms of the GNU General Publ...
Java
src/com/todotxt/todotxttouch/task/ByProjectFilter.java
bigbadhacker/jdotxt
gpl-3.0
1,932
66
codeparrot/github-code
20f906db4f8d0a172cebd813356f85e52e4cf341e230afe9324c5bd2d0bc6562
/* * @author Valentin Simonov / http://va.lent.in/ */ using System; using TouchScript.Core; using TouchScript.Pointers; using UnityEngine; namespace TouchScript.InputSources { #region Consts public delegate void PointerDelegate(Pointer pointer); #endregion /// <summary> /// Base class for al...
C#
Assets/TouchScript/Scripts/InputSources/InputSource.cs
Sycmasters/RentGameClone
gpl-3.0
5,407
188
codeparrot/github-code
943965eab9cd6b94078e7f9777d8fc8659195a77d3abcbf4691a88151cdfde3d
/* * iff.c - read/write IFF files (DjVu files are IFF) */ #include "../base/mdjvucfg.h" #include <minidjvu/minidjvu.h> #include <stdlib.h> #include <stdio.h> static void read_align(FILE *f) { long pos = ftell(f); if (pos & 1) fgetc(f); } static void write_align(FILE *f) { long pos = ftell(f); if (...
C
src/djvu/iff.c
barak/minidjvu
gpl-3.0
1,903
91
codeparrot/github-code
878de079977a361921e6d918396e02a62a138172213e5121271694a9ab23d4d3
#include <sdsl/int_vector_buffer.hpp> #include <string> #include <iostream> using namespace sdsl; using namespace std; int main(int argc, char* argv[]) { if (argc < 1) { cout << "Usage: " << argv[0] << endl; cout << "(1) Writes an int_vector sequentially to a file" << endl; cout << "(2) St...
C++
sdsl-lite/lib/src/sdsl-lite/examples/int-vector-buffer.cpp
andmaj/rrr-size
gpl-3.0
2,220
62
codeparrot/github-code
564569f90919e74d978c79567ec9bb0fa48fd40efddc360c466b851e5918cdbe
module Knitkit module Extensions module Railties module ActionView module Helpers module ContentHelper def setup_inline_editing if can_inline_edit? raw "<script type='text/javascript'> jQuery(document).ready(function() { ...
Ruby
knitkit/lib/knitkit/extensions/railties/action_view/helpers/content_helper.rb
xuewenfei/compass_agile_enterprise
gpl-3.0
3,811
86
codeparrot/github-code
eb22fdcfd5128b699aeb65f5737fec84d7101b8c008fda3b6f2afff8d79b262b
# -*- coding: utf-8 -*- # # This file is part of Zenodo. # Copyright (C) 2012, 2013, 2014, 2015 CERN. # # Zenodo 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 o...
Python
zenodo/shell.py
otron/zenodo
gpl-3.0
3,274
96
codeparrot/github-code
bd8429a9e099878c6e62c6f5b61399a532f4559d0bdea960741d1d96069e91af
#ifndef METASHELL_DATA_TOKEN__HPP #define METASHELL_DATA_TOKEN__HPP // Metashell - Interactive C++ template metaprogramming shell // Copyright (C) 2019, 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/data/include/metashell/data/token_.hpp
sabel83/metashell
gpl-3.0
2,681
94
codeparrot/github-code
8e412175ddc8b549c9e8809b714640f6afc388ab52460e2794dcdb5736cac810
var World = AS.World var Model = AS.Model var util = AS.util class DiffuseModel extends Model { population = 2 speed = 0.5 wiggleAngle = 10 radius = 6 diffuseRate = 0.05 seedDelta = 0.1 seedMax = 0.8 // ====================== constructor(worldOptions = World.defaultOptions(200, 10...
JavaScript
models/scripts/DiffuseModel.js
backspaces/CoreAS
gpl-3.0
1,030
45
codeparrot/github-code
1f51894466d8a7d6e59cfbf805d8af210306c65369315f1907b4289774907da6
/* * This file is part of TBO, a gnome comic editor * Copyright (C) 2010 Daniel Garcia Moreno <dani@danigm.net> * * 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 L...
C
src/tbo-object-base.c
danigm/TBO
gpl-3.0
4,349
202
codeparrot/github-code
19d9ef19ef9b863f7c7192c6a772c9d77d52a05f843d3c1dcd27e62ea3ce9c29
/* * The MIT License (MIT) * * Copyright (c) 2014-2017 abel533@gmail.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 ...
Java
PageHelper/src/main/java/com/github/pagehelper/util/PageObjectUtil.java
LittleLazyCat/TXEY
gpl-3.0
5,437
157
codeparrot/github-code
75af2d784cbf086feb17887d3ff6e860675bf59a5c5a0270a327d2785d6d0b44
# (c) 2013-2014, Michael DeHaan <michael.dehaan@gmail.com> # Stephen Fromm <sfromm@gmail.com> # Brian Coca <briancoca+dev@gmail.com> # # This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as publish...
Python
lib/ansible/runner/action_plugins/assemble.py
himyouten/ansible
gpl-3.0
5,733
147
codeparrot/github-code
88aca0ec343f89b9de3d718afb01a386bd14c6d713b4b41e859980df6f69abc2
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "platform/scheduler/renderer/renderer_web_scheduler_impl.h" #include <memory> #include "base/memory/ptr_util.h" #include "public/platform/sched...
C++
oss/qt/qt-everywhere-opensource-src-5.9.0/qtwebengine/src/3rdparty/chromium/third_party/WebKit/Source/platform/scheduler/renderer/renderer_web_scheduler_impl.cc
geminy/aidear
gpl-3.0
1,758
52
codeparrot/github-code
7a036ed439102c436e50a992975dfdb1fc20ea6b4d67931e23d61b231b84c141
package bms.player.beatoraja.select; import bms.player.beatoraja.Resolution; import bms.player.beatoraja.skin.*; import com.badlogic.gdx.math.Rectangle; /** * 選曲スキン * * @author exch */ public class MusicSelectSkin extends Skin { /** * カーソルが合っているBarのindex */ private int centerBar; /** * クリック可能なBarのindex ...
Java
src/bms/player/beatoraja/select/MusicSelectSkin.java
LNTakeshi/beatoraja
gpl-3.0
920
55
codeparrot/github-code
1c3216089acfa808f241d04d0ac8182b828d1cf920c29c8347cc1ede94bbfa9e
package ai.grakn.test.engine.factory; import ai.grakn.Grakn; import ai.grakn.GraknGraph; import ai.grakn.GraknTxType; import ai.grakn.test.EngineContext; import org.junit.ClassRule; import org.junit.Test; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit....
Java
grakn-test/src/test/java/ai/grakn/test/engine/factory/EngineGraknSessionTest.java
alexandraorth/grakn
gpl-3.0
1,350
44
codeparrot/github-code
c59ab692c00a841fab418284feab2c253bcc4bbb4704c8104e165c53775bd59c
// $Id: ArgoFigInk.java 40 2010-04-03 19:25:46Z marcusvnac $ // Copyright (c) 2007 The Regents of the University of California. All // Rights Reserved. Permission to use, copy, modify, and distribute this // software and its documentation without fee, and without a written // agreement is hereby granted, provided t...
Java
workspace/argouml_critics/argouml-app/src/org/argouml/gefext/ArgoFigInk.java
ckaestne/LEADT
gpl-3.0
4,115
100
codeparrot/github-code
e3245bfc30a5b640fca65687483cdb8d092468a0c4d7e12c568092263bd08eaf
<?php /*Displays a webpage showing a list of notes and option for new task Shows striked text if the task has been marked as done, normal otherwise.*/ include_once 'includes/db_connect.php'; include_once 'includes/functions.php'; include_once 'includes/psl-config.php'; sec_session_start(); if(login_check($mysqli) =...
PHP
userNotes.php
codingquark/notes
gpl-3.0
6,130
182
codeparrot/github-code
3532a5bf0eabe513476ce90603c31fc3b8bd445d58bae88136c196a555f5f064
----------------------------------- -- Area: Northern Sand Oria -- NPC: Chapal-Afal, W.W. -- Type: Conquest NPC -- @zone 231 -- @pos -59.555, -2.000, 28.178 -- X Grant Signet -- X Recharge Emperor Band, Empress Band, or Chariot Band -- X Accepts traded Crystals to fill up the Rank bar to open new Missions. ...
Lua
scripts/zones/Northern_San_dOria/npcs/Chapal-Afal_WW.lua
salamader/ffxi-a
gpl-3.0
5,312
157
codeparrot/github-code
4f18532f6add0cfc6533e4a025fbdd393fa35238b9ee7ea553a08ed941f76d32
namespace FalloutSnip.Framework.Persistence { using System; /// <summary> /// The Persistable attribute is similar to Serializable as it tags classes, fields or properties /// as persistable. It is used in conjunction with . /// </summary> /// <remarks> /// This class is used with Persi...
C#
Framework/Persistence/PersistableAttribute.cs
Emilgardis/falloutsnip
gpl-3.0
2,617
83
codeparrot/github-code
39af04e8fc8df1b7b6d75fd210fd7401ba8d1b5ef239c33a350269491fe57938
/* * alias-info.c - info and infolist hooks for alias plugin * * Copyright (C) 2003-2016 Sébastien Helleu <flashcode@flashtux.org> * * This file is part of WeeChat, the extensible chat client. * * WeeChat is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public Lice...
C
src/plugins/alias/alias-info.c
recurrence/weechat
gpl-3.0
2,668
97
codeparrot/github-code
57b449896d06b66838f9860ad405ec8531e6ba07b34a64f09354f167b8bc0d6d
# # Turn off logging in extensions (too loud!) import vb2py.extensions vb2py.extensions.disableLogging() from vb2py.vbparser import buildParseTree, VBParserError # # Set some config options which are appropriate for testing import vb2py.config Config = vb2py.config.VB2PYConfig() Config.setLocalOveride("General", "Rep...
Python
vb2py/test/testparser.py
reingart/vb2py
gpl-3.0
41,051
2,347
codeparrot/github-code
bc387f30e93f49d36cdc71f6dbd02501489980ae0a9c28093ccbef11202f95da
/* * CPAchecker is a tool for configurable software verification. * This file is part of CPAchecker. * * Copyright (C) 2007-2014 Dirk Beyer * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You...
Java
cpachecker/src/org/sosy_lab/cpachecker/cpa/smgfork/objects/sll/TestHelpers.java
nishanttotla/predator
gpl-3.0
2,520
67
codeparrot/github-code
466aba734aa5c2c44f62d397b8aaaff14f5e1f3b170de767d63ad60b999ac23c
<?php /* * Copyright (C) 2005-2013 University of Sydney * * Licensed under the GNU License, Version 3.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.gnu.org/licenses/gpl-3.0.txt * * Unless required by applicable law or agreed...
PHP
hapi/php/retrievePersistentJS.php
beoutsports/heurist-v3-1
gpl-3.0
4,257
129
codeparrot/github-code
75b590240acda0c946c030b8902011806a6bae6bbeb240285fd25c90d5186f80
package com.mftvanak.web.portal.domain.entity.educational; import java.util.List; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence.ManyToOne; import javax.persistence.One...
Java
new-dept-website/src/src/main/java/com/mftvanak/web/portal/domain/entity/educational/Group.java
ckpp/edusys
gpl-3.0
1,182
56
codeparrot/github-code
4d13f6c4301ad01ae065e9055f9cb7b0aaa5aa76c97a6c89da73a746f94f0013
/* Copyright (C) 2013 CurlyMo This file is part of pilight. pilight 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. pilight i...
C
libs/protocols/generic_dimmer.c
jack-ma/pilight
gpl-3.0
4,917
159
codeparrot/github-code
832e394751936443f3210480e77d0d118be66b43a88d61f2528fd153b629b495
#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement __license__ = 'GPL v3' __copyright__ = '2009, Kovid Goyal <kovid@kovidgoyal.net>' __docformat__ = 'restructuredtext en' import os, cPickle, re, shutil, marshal, zipfile, glob, time, subprocess, sys from zl...
Python
setup/resources.py
yeyanchao/calibre
gpl-3.0
12,158
323
codeparrot/github-code
cdce38a73c61f661544d6dc110422dfcea00c9cf64c6aa8c97aca458724ec3ac
/* * (C) 2003-2006 Gabest * (C) 2006-2016 see Authors.txt * * This file is part of MPC-HC. * * MPC-HC 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...
C++
src/DSUtil/DSUtil.cpp
zengweitotty/mpc-hc
gpl-3.0
57,575
1,881
codeparrot/github-code
40648dc4d3e0d97396c0ff7bf58eeadf6bb15bf7ae0d00cccd9aad3420e6cb3f
/* * * Copyright 2008,2009 Newcastle University * * This file is part of Workcraft. * * Workcraft 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 lat...
Java
BooleanFormulae/src/main/java/org/workcraft/plugins/cpog/optimisation/Literal.java
tuura/workcraft-2.2
gpl-3.0
2,432
99
codeparrot/github-code
cee1708ec8016d66b9306673a4e513a30475df7fb27acf530f45b751207eb20d
<!DOCTYPE html> <html> <head> <title>Separator manipulation</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=edge"/> <link rel="stylesheet" type="text/css" href="../../../codebase/fonts/font_roboto/roboto.css"/> <link rel="stylesheet" t...
HTML
public/plugins/dhtmlxSuite_v50_std/samples/dhtmlxToolbar/10_item_separator/02_manipulation.html
vijaysebastian/bill
gpl-3.0
1,625
57
codeparrot/github-code
c3e3fc943fca3eac4106fb7d6ccfc74e7139709bd8e03a763559cc8947ea183d
package com.referendum.voting.election; import java.util.Collections; import java.util.List; import com.referendum.voting.election.ElectionRoundItem.ElectionRoundItemComparator; public class ElectionRound { private List<ElectionRoundItem> electionRoundItems; private Integer threshold; public ElectionRound(List...
Java
src/main/java/com/referendum/voting/election/ElectionRound.java
tchoulihan/referendum
gpl-3.0
704
34
codeparrot/github-code
3fe0e4227279245508a2063becaf5925e28b5960b84f9f95d2a7e81f20bedd9b
const byte lipo1[8] PROGMEM = { B00111100, B01000010, B01000010, B01000010, B01000010, B01000010, B01000010, B01111110 }; const byte lipo2[8] PROGMEM = { B00111100, B01000010, B01000010, B01000010, B01000010, B01111110, B01111110, }; co...
C
software/batterij/lipo.h
IJHack/ijduino
gpl-3.0
1,142
76
codeparrot/github-code
58fc4b88871b44e764e98c63a9aaf4b57a552fc136ffa14906cc1990021af2d0
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may n...
Java
hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app/src/main/java/org/apache/hadoop/mapreduce/jobhistory/JobHistoryEventHandler.java
jaypatil/hadoop
gpl-3.0
67,683
1,674
codeparrot/github-code
c84c4b3df27f61d2e0af2734f5d95fea6b7d5f136fad98d673f70b2b43d410d2
package com.encens.khipus.service.employees; import com.encens.khipus.exception.employees.JobContractException; import com.encens.khipus.exception.employees.TaxPayrollException; import com.encens.khipus.framework.service.GenericServiceBean; import com.encens.khipus.model.employees.*; import com.encens.khipus.model.fin...
Java
src/main/com/encens/khipus/service/employees/TributaryPayrollGeneratorServiceBean.java
borboton13/sisk13
gpl-3.0
5,191
123
codeparrot/github-code
48bc402ddfefaa403bf97b56a58fd2ee70d9a73172f0202366d31bc9702c3f98
<?php /** * @copyright Ilch 2.0 * @package ilch */ namespace Ilch\DebugBar\DataCollector; use DebugBar\DataCollector\AssetProvider; use DebugBar\DataCollector\DataCollector; use DebugBar\DataCollector\PDO\TracedStatement; use DebugBar\DataCollector\Renderable; use DebugBar\DataCollector\TimeDataCollector; use Ilch...
PHP
application/libraries/Ilch/DebugBar/DataCollector/MysqlCollector.php
dastiii/Ilch-2.0
gpl-3.0
3,565
102
codeparrot/github-code
006be1c12eacccd7d02b1d861477131b9eebb3e0329a913c57a7b5df1683b2fc
#include <cstdlib> #include <cstdio> #include <cstdint> #include <sqlite3.h> #include <string> #include <iostream> #include <set> #include "ZlibDecompressor.h" #include "map.h" using namespace std; void print_help(char *exec) { printf("Usage: %s [/path/to/map]\n", exec); printf("e.g. %s ~/minetest/worlds/map\n", ex...
C++
utils/mapedit/src/list.cpp
Black-Kot/bk_game
gpl-3.0
2,886
104
codeparrot/github-code
41590fef76fe12d5cc562382e9642ffd4bef63118a8f0c74321dcf4d5b9d1b13
package at.stefl.svm.tosvg.action; import java.io.IOException; import java.util.List; import at.stefl.commons.math.vector.Vector2d; import at.stefl.commons.math.vector.Vector2i; import at.stefl.svm.object.action.PolyPolygonAction; import at.stefl.svm.tosvg.SVGStateWriter; import at.stefl.svm.tosvg.SVGUtil; import at....
Java
src/at/stefl/svm/tosvg/action/PolyPolygonActionTranslator.java
andiwand/svm
gpl-3.0
1,160
34
codeparrot/github-code
d9d106513e805e3d3c4f8553c999b94c81fddd63384bc13b319b749ffd92e197
/******************************************************************************** * Copyright (c) 2002, 2013 IBM Corp. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * and Eclipse Distribution License v1.0 which accompany...
Java
src/opt/boilercontrol/libs/org.eclipse.paho.sample.utility/src/main/java/org/eclipse/paho/sample/utility/MQTTHist.java
gulliverrr/hestia-engine-dev
gpl-3.0
6,559
196
codeparrot/github-code
447c9fedcf94b8c9fbe2924fb30eca02f2b722c9fc74e2b5a9e42330cb1da810
----------------------------------- -- Area: The Celestial Nexus -- MOB: Eald'Narche - Phase 1 -- Zilart Mission 16 BCNM Fight ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- function onMobI...
Lua
scripts/zones/The_Celestial_Nexus/mobs/Ealdnarche.lua
waterlgndx/darkstar
gpl-3.0
2,258
67
codeparrot/github-code
5096c0c6bef1489e35f6ccfd32243f27243000c13c143df0c2f0930f05480f69
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <!-- Created by GNU Texinfo 5.2, http://www.gnu.org/software/texinfo/ --> <head> <title>GNU Octave: Commands</title> <meta name="description" content="GNU Octave: Commands"> <meta name="keywords" content="GNU ...
HTML
doc/interpreter/octave.html/Commands.html
anooprh/GNU-Octave
gpl-3.0
4,475
115
codeparrot/github-code
c18961962187e597ec06e46588af3cc833cd5c8434c20c79b812768dd2ec9134
/* Copyright 2009-2016 EPFL, Lausanne */ package leon.utils object GraphOps { /** * Takes an graph in form of a map (vertex -> out neighbors). * Returns a topological sorting of the vertices (Right value) if there is one. * If there is none, it returns the set of vertices that belong to a cycle * or...
Scala
src/main/scala/leon/utils/GraphOps.scala
regb/leon
gpl-3.0
2,422
79
codeparrot/github-code
37ee8a388999e3ef57a1c4202d7972b9939e8731735656855183f8fc74b6965d
<?php namespace Chamilo\Core\Repository\ContentObject\Survey\Page\Question\DateTime\Integration\Chamilo\Core\Reporting\Block; use Chamilo\Core\Reporting\ReportingBlock; use Chamilo\Core\Reporting\ReportingData; use Chamilo\Libraries\Platform\Translation; class PercentageGraphBlock extends ReportingBlock { const C...
PHP
src/Chamilo/Core/Repository/ContentObject/Survey/Page/Question/DateTime/Integration/Chamilo/Core/Reporting/Block/PercentageGraphBlock.php
vanpouckesven/cosnics
gpl-3.0
3,036
87
codeparrot/github-code
013eb56e27327e95a55d66312dca04455fd09c456ec0921d89c35330eefe4e7a
/* This file is part of the db4o object database http://www.db4o.com Copyright (C) 2004 - 2011 Versant Corporation http://www.versant.com db4o is free software; you can redistribute it and/or modify it under the terms of version 3 of the GNU General Public License as published by the Free Software Foundation. db4o ...
C#
Db4objects.Db4o/Db4objects.Db4o/Foundation/SingleValueIterator.cs
masroore/db4o
gpl-3.0
1,620
60
codeparrot/github-code
63fd696df48fa45572c8b841179f69060032932f1ad548a56a9d496b173525ab
/* * Copyright (c) 2004 - 2007 Kungliga Tekniska Högskolan * (Royal Institute of Technology, Stockholm, Sweden). * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions o...
C
source4/heimdal/lib/hx509/keyset.c
endisd/samba
gpl-3.0
18,013
752
codeparrot/github-code
635b3499f8daa77ca2bd400cc63b9539fea10e141e693f255bd2e7b97e859a83
/* ImpressiveCode Depress Framework Copyright (C) 2013 ImpressiveCode contributors 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 vers...
Java
org.depress.knime.nodes/src/org/impressivecode/depress/matcher/sematicanalysis/SimilarityMatcher.java
majchmar/ic-depress
gpl-3.0
3,478
84
codeparrot/github-code
7b83a9b0d034da8bb509486cbc674736bbb0fba86ea348b50ee9afc303729d86
/* ============================================================================== This file is part of the JUCE library. Copyright (c) 2020 - Raw Material Software Limited JUCE is an open source library subject to commercial or open-source licensing. By using JUCE, you agree to the terms of...
C++
JuceLibraryCode/modules/juce_audio_processors/format/juce_AudioPluginFormatManager.cpp
danielrothmann/Roth-AIR
gpl-3.0
5,378
152
codeparrot/github-code
e136904023854805ad34182416262b777cf2a68cc8b4aa07477264f76de1ef9d
// // BAGEL - Parallel electron correlation program. // Filename: shellpair.cc // Copyright (C) 2016 Toru Shiozaki // // Author: Hai-Anh Le <anh@u.northwestern.edu> // Maintainer: Shiozaki group // // This file is part of the BAGEL package. // // The BAGEL package is free software; you can redistribute it and/or modify...
C++
src/molecule/shellpair.cc
nubakery/bagel
gpl-3.0
6,732
186
codeparrot/github-code
79e30289898648f4b36a6e03e9199c931f1932e30e82df459cc04da311a60526
package games.strategy.engine.chat; import games.strategy.triplea.settings.ClientSetting; import java.awt.BorderLayout; import java.awt.Container; import java.awt.Insets; import java.awt.event.KeyEvent; import java.awt.event.MouseEvent; import java.awt.event.MouseListener; import javax.swing.Action; import javax.swing...
Java
game-app/game-core/src/main/java/games/strategy/engine/chat/ChatMessagePanel.java
triplea-game/triplea
gpl-3.0
11,101
347
codeparrot/github-code
b022d941a8cf1c4b2d35df68f1f320cd873a48aafb5b4228fe080d492bb45085
<?php namespace sylma\modules\formater; use sylma\core, sylma\dom; class Controler extends core\module\Domed { const NS = 'http://www.sylma.org/modules/formater'; public function __construct() { $this->setDirectory(__file__); $this->setNamespace(self::NS); $this->loadDefaultArguments(); } prot...
PHP
modules/formater/Controler.php
TheProjecter/sylma
gpl-3.0
7,924
352
codeparrot/github-code
9f979070ae4fd9f318eac5c978c3f45070be9285e49e64e705607a12306aef64
#include "MantidGeometry/Objects/Object.h" #include "MantidGeometry/IObjComponent.h" #include "MantidGeometry/Rendering/GeometryHandler.h" #include "MantidGeometry/Rendering/OCGeometryHandler.h" #include "MantidGeometry/Rendering/OCGeometryGenerator.h" #include "MantidGeometry/Rendering/OCGeometryRenderer.h" #include ...
C++
Framework/Geometry/src/Rendering/OCGeometryHandler.cpp
dymkowsk/mantid
gpl-3.0
3,194
126
codeparrot/github-code
59534a54d51d0363c5507149b975baef3a12ec54e377bb293458d16975699eeb
/* This source file is part of Rigs of Rods Copyright 2005-2012 Pierre-Michel Ricordel Copyright 2007-2012 Thomas Fischer Copyright 2013-2016 Petr Ohlidal For more information, see http://www.rigsofrods.org/ Rigs of Rods is free software: you can redistribute it and/or modify it under th...
C
source/main/gameplay/VehicleAI.h
ulteq/rigs-of-rods
gpl-3.0
4,008
143
codeparrot/github-code
2060db2c7a39d027de310ba406faca2f648b78043a2c438e482688de7c3b1b58
/* * Auteur : BUGE Pascal * * Définition de la librairie MultiLangue * Référence : https://github.com/dakk/jquery-multilang * Permet de charger les textes affichés dans l'IHM en fonction de la langue * et en fonction de l'état d'un sous système */ // variable globale var ml_langCode = "fr"; /** * Remplace to...
JavaScript
Ressources/Sources2015/Elysium_v1.0/web/js/LMultiLangue.js
jpdms/ElysiumIHM
gpl-3.0
2,871
77
codeparrot/github-code
60508c2873286873034049a9083a706a20669b637bcc622fac77efed1390cbb1
<?php /** * WooCommerce Formatting * * Functions for formatting data. * * @author WooThemes * @category Core * @package WooCommerce/Functions * @version 2.1.0 */ if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly } /** * Sanitize taxonomy names. Slug format (no spaces, lowercase). ...
PHP
includes/wc-formatting-functions.php
rchq/woocommerce
gpl-3.0
14,628
623
codeparrot/github-code
7f335e28e53d65c1562c7f951594fd8849d4ed7fb7ff1001097930ac97b68f3b
/////////////////////////////////////////////////////////////////////////////////// /// OpenGL Image (gli.g-truc.net) /// /// Copyright (c) 2008 - 2013 G-Truc Creation (www.g-truc.net) /// Permission is hereby granted, free of charge, to any person obtaining a copy /// of this software and associated documentation file...
C++
include/gli/core/view.hpp
Ryp/GLShaderDev
gpl-3.0
3,228
92
codeparrot/github-code
6c91aa1c9edea0870851c524bb1dba3c2b160c4633382cb0ba831b8d8e34bedf
----------------------------------- -- -- -- ----------------------------------- require("scripts/globals/status"); ----------------------------------- function onEffectGain(target,effect) if (effect:getSubType() == dsp.mod.DMG) then target:addMod(dsp.mod.DMG, effect:getPower()); else if (effec...
Lua
scripts/globals/effects/bust.lua
waterlgndx/darkstar
gpl-3.0
1,545
43
codeparrot/github-code
ab2ae2aff3a4e4973ce6232219d035f3877ae4591280800f8b47aeec54420a90
/* * Copyright (C) 2017 Chan Chung Kwong <1m02math@126.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * ...
Java
editor.zip/src/main/java/cc/fooledit/editor/zip/ZipEditor.java
chungkwong/jtk
gpl-3.0
1,458
43
codeparrot/github-code
477de032c6578533bb399d247a24cb98844f01b2f4c17bba4e1e6f13fe39bee6
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta http-equiv="Content-Style-Type" content="text/css"> <link rel="up" title="FatFs" href="../00index_e.html"> <link rel="al...
HTML
stm32_cube/STM32/FatFs/doc/en/forward.html
St3dPrinter/Marlin4ST
gpl-3.0
5,400
139
codeparrot/github-code
8c780e86a45ef39ac5f342ee3a26b64ee620e303d192d3dd1ba32fafc4e56136
/* Copyright (C) 2013 University of Southern California and * Egor Dolzhenko * Andrew D Smith * * Authors: Andrew D. Smith and Egor Dolzhenko * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Pu...
C++
src/wand/regression.hpp
smithlabcode/radmeth
gpl-3.0
2,291
62
codeparrot/github-code
10a3f78f9e394344181af574bfaef3f2e84c13fd129640d67e270256fe781ba4
----------------------------------- -- Area: Western Adoulin -- NPC: Sylvie -- Location: I-5 ----------------------------------- package.loaded["scripts/zones/Western_Adoulin/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Western_Adoulin/TextIDs"); ----------------------...
Lua
scripts/zones/Western_Adoulin/npcs/Sylvie.lua
AlexandreCA/darkstar
gpl-3.0
1,182
46
codeparrot/github-code
62467932afb2dcc4503151f239df6009e4fea8dba69d608a4ef342c1ae0950d2
/* This file is part of EXT_sqlite3, part of quicky build tool that allow to use sqlite3 library Copyright (C) 2012 Julien Thevenon ( julien_thevenon at yahoo.fr ) This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the ...
C
repository/EXT_sqlite3/include/my_sqlite3.h
quicky2000/soda
gpl-3.0
2,749
72
codeparrot/github-code
633bae9384a59b1e6f0a2a67eb535eb230f3a1081532fa33ffa8af150488c143
/* * AbstractStreamFilter.java * Copyright (C) 2007 University of Waikato, Hamilton, New Zealand * @author Richard Kirkby (rkirkby@cs.waikato.ac.nz) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * ...
Java
moa/src/moa-2013.08-sources/moa-src/src/main/java/moa/streams/filters/AbstractStreamFilter.java
gditzler/MassiveOnlineAnalysis
gpl-3.0
2,374
79
codeparrot/github-code
7912eda3ebf92e21ceaf84b61e88485badbb5f405b6af3ed8d9ce98f6b2d1234
<?php /** * * @file admin.settings_categories.php * @author Nils Laumaillé * @version 2.1.26 * @copyright (c) 2009-2016 Nils Laumaillé * @licensing GNU AFFERO GPL 3.0 * @link http://www.teampass.net * * This library is distributed in the hope that it will be use...
PHP
admin/admin.settings_categories.php
x2Ident/x2Ident
gpl-3.0
9,411
240
codeparrot/github-code
0b5a20e228f7ee944ff746e332938515fb83f2c71db02a3ae9172bb5c9a21773
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="SalesOrderItemInvoiceStates.cs" company="Allors bvba"> // Copyright 2002-2012 Allors bvba. // Dual Licensed under // a) the General Public Licence v3 (GPL) // b) the Allors L...
C#
Domains/Apps/Database/Domain/Export/Apps/Order/SalesOrderItemInvoiceStates.cs
Allors/apps
gpl-3.0
2,142
48
codeparrot/github-code
ef801b7ad541de74ee00e18f804265eea3c03901f12896cf22de84992a49ba87
import os print "Tic Tac Toe".center(50,'-') l = [['_','_','_'],['_','_','_'],['_','_','_']] def show(l) : os.system("clear") for i in range(0,3) : for j in range(0,3) : print l[i][j]," ", print "\n" def base() : print "provided numbers for provided positions" num = 0 for i in range (0,3) : for j in ...
Python
python_program/day_3/tic_tac_toe.py
avinash-n/work-1
gpl-3.0
2,433
129
codeparrot/github-code