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
363f9463b25aefe034df0983cf98f403019d4c5c99915b14e3bbfe2eb1592721
#include "outputs/internal.hpp" #include "outputs/argexpand.hpp" #include <cstdio> #include <stdexcept> #include <string> #include <sstream> #include <fcntl.h> namespace { class output_driver_flac : public output_driver { public: output_driver_flac(const std::string& _filename, const std::string& _options) { ...
C++
streamtools/outputs/flac.cpp
ekaltman/citetool-jpcrr
gpl-2.0
1,979
78
codeparrot/github-code
fd17177a1f594f7667b13b11c73feaede680b28626975b829bcc0e239c1fa4b6
package edu.stanford.nlp.trees.treebank; import java.io.*; import java.util.List; import java.util.ArrayList; import edu.stanford.nlp.io.FileSystem; import edu.stanford.nlp.util.RuntimeInterruptedException; /** * Adds data files to a tar'd / gzip'd distribution package. Data sets marked with the DISTRIB parameter ...
Java
src/edu/stanford/nlp/trees/treebank/DistributionPackage.java
dinoboy197/CoreNLP
gpl-2.0
3,093
99
codeparrot/github-code
1691137d902dcf24010420b1f95716d60d2f446a815634378992b3b8b6b78732
// // System.Data.Common.SqlParameterCollection // // Authors: // Konstantin Triger <kostat@mainsoft.com> // Boris Kirzner <borisk@mainsoft.com> // // (C) 2005 Mainsoft Corporation (http://www.mainsoft.com) // // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and a...
C#
class/System.Data/System.Data.SqlClient.jvm/SqlParameterCollection.cs
xen2/mcs
gpl-2.0
3,842
142
codeparrot/github-code
352d2a6bbad1eb24d19f87d86175627124277d2ed2fc4407f369ee4a903334fc
<?php /** * Description of TFUSE_WP_IMPORT * */ class TFUSE_WP_IMPORT extends TF_WP_Import { var $old_site_url = ''; var $new_site_url = ''; var $upload_url_old = ''; var $install_url = ''; var $tfuse_options = array(); function __construct() { parent::__construct(); ...
PHP
wp-content/themes/qlassik-parent/framework/extensions/import/TFUSE_WP_IMPORT.php
mogwaipr/APD2
gpl-2.0
25,628
596
codeparrot/github-code
3c3fab383f176d84052721c7ada6134ee03dac3e99dcfb7f18cac0fc94ab2d3a
/* Copyright © 2007 Apple Inc. All Rights Reserved. Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple Inc. ("Apple") in consideration of your agreement to the following terms, and your use, installation, modification or redistribution of this Apple software constitutes acceptance of t...
C++
mac/SooperLooperAU/OtherSource/AUPublic/OtherBases/AUMIDIBase.cpp
kasbah/sooperlooper
gpl-2.0
13,328
452
codeparrot/github-code
61f4326d887d8ac6861a304a0ab9afb6aa519176cdd9d52597a38eaf8dba5140
/* * $Id: Dock.cs 5540 2008-06-09 00:52:49Z sik0fewl $ * * Copyright (C) 2004 Todd Berman <tberman@off.net> * Copyright (C) 2004 Jeroen Zwartepoorte <jeroen@xs4all.nl> * Copyright (C) 2005 John Luke <john.luke@gmail.com> * * based on work by: * Copyright (C) 2002 Gustavo Giráldez <gustavo.giraldez@gmx.net> * ...
C#
tux_level_editor/Dock/Dock.cs
slackstone/tuxjunior
gpl-2.0
14,661
619
codeparrot/github-code
fc3746ec54c6924530fea15bdd18b4b2baf06cd9be735bf05a9abeb4942d34cf
<?php /*adding header options panel*/ $wp_customize->add_panel( 'supermag-header-panel', array( 'priority' => 160, 'capability' => 'edit_theme_options', 'theme_supports' => '', 'title' => __( 'Header Options', 'supermag' ), 'description' => __( 'Customize your awesome site head...
PHP
wp-content/themes/supermag/acmethemes/customizer/header-options/header-panel.php
idea-lab/Spectrum
gpl-2.0
1,659
49
codeparrot/github-code
5e424b4e58ddec091a80e2b28cdaa010f42a26b592e8d3e261ef32258e8bdd92
<?php /** * cactus functions and definitions * * @package cactus */ if(!defined('PARENT_THEME')){ define('PARENT_THEME','theblog'); } global $_theme_required_plugins; $_theme_required_plugins = array( array( 'name' => 'OptionTree', 'slug' => 'option-tree',...
PHP
wp-content/themes/theblog/functions.php
openfoodfoundation/openfoodnetwork-wp
gpl-2.0
47,543
1,077
codeparrot/github-code
9a621c83d6bff05698eb4fb0df0eecf9c7d48daeb4e9911587dcf45a2e01f1af
namespace SyncthingTray.UI.Dialogs { partial class PendingActivityDialog { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// <...
C#
SyncthingTray/UI/Dialogs/PendingActivityDialog.designer.cs
iss0/SyncthingTray
gpl-2.0
4,397
98
codeparrot/github-code
3dd7a85a53d65fdd542ef437f762cede7eea943dbd96ef79a57f671e6a71f448
<?php /* Copyright 2013 Michael Cannon (email: mc@aihr.us) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2, as published by the Free Software Foundation. This program is distributed in the hope that it will be useful, but WITHO...
PHP
includes/libraries/aihrus-framework/class-aihrus-common.php
wp-plugins/custom-bulkquick-edit
gpl-2.0
12,419
463
codeparrot/github-code
052be95d8c323676d983099b664ad96ea7292a2493ce3e9cacf8b70f57821272
<?php /* Plugin Name: Display Categories Widget Description: Display Categories Widget to display on your sidebar, this will get the title and category id Plugin URI: http://www.iteamweb.com/ Version: 1.1 Author: Suresh Baskaran License: GPL */ class DisplayCategoriesWidget extends WP_Widget { function DisplayCat...
PHP
wp-content/plugins/display-categories-widget/display_categories_widget.php
zettadeveloper/importadora
gpl-2.0
7,238
139
codeparrot/github-code
bd9ca757f2d2216e9cd7a2aba0861918b514e90dfd8afba8def82ff5f8efbe8a
#!/home/executor/Ice/python2.4/bin/python # Copyright (C) 2012 CEDIANT <info@cediant.es> # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License v2 # as published by the Free Software Foundation. # # This program is distributed in the hope that it...
Python
CLIENT/client.py
cediant/hpcservergridscheduler
gpl-2.0
7,365
296
codeparrot/github-code
f129bbe1dc5cda3d2a3466b13b26a3fbd38adc1b07310da3dac7df32f08f12c3
/* * Copyright (c) 2008 The Khronos Group Inc. * * 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, m...
C
omxil/OMX_Component.h
ajeet17181/mplayer-android
gpl-2.0
23,893
580
codeparrot/github-code
1f37da8eaa27a6b4c412c3d3965b3e9a00c9058809d73baa1440a5e372777690
/*-*- mode: Java; tab-width:8 -*-*/ package php.java.script; /* * Copyright (C) 2003-2007 Jost Boekemeier * * 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, includin...
Java
server/php/java/script/InvocablePhpScriptEngineFactory.java
micw/php-java-bridge
gpl-2.0
2,579
84
codeparrot/github-code
b6db00a856f3594a0ad6d6cb61ae299e1976f31378d08ebc656834ebc6945acf
/* * Copyright (C) 2008-2011 TrinityCore <http://www.trinitycore.org/> * Copyright (C) 2006-2009 ScriptDev2 <https://scriptdev2.svn.sourceforge.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 ...
C++
src/server/scripts/EasternKingdoms/ZulGurub/boss_renataki.cpp
Bootz/MyCore4Kata
gpl-2.0
5,190
164
codeparrot/github-code
64100127bcf55f6ad8839832ca813e9e3d888f516380e7211d9f6f083042cdaf
/* * DFF -- An Open Source Digital Forensics Framework * Copyright (C) 2009-2010 ArxSys * This program is free software, distributed under the terms of * the GNU General Public License Version 2. See the LICENSE file * at the top of the source tree. * * See http: *www.digital-forensic.org for more information ...
C++
modules/fs/carver/DEventHandler.hpp
elthariel/dff
gpl-2.0
1,250
52
codeparrot/github-code
c9710294c888cb2a0705c4867f5ddeb5ec1b5f9aa28fd5a96a66c15fc6e1479e
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <head> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible"content="IE=9; IE=8; IE=7; IE=EDGE"> <meta http-equiv="Content-Type...
HTML
logs/po/q6551211.html
ForAEdesWeb/AEW25
gpl-2.0
18,865
446
codeparrot/github-code
06a7bb0bb43def41b1bfbc3f0a67b2c55a76725074c5a1dad4ada500a8022b3f
<?php // // +---------------------------------------------------------------------+ // | phpOpenTracker - The Website Traffic and Visitor Analysis Solution | // +---------------------------------------------------------------------+ // | Copyright (c) 2000-2003 Sebastian Bergmann. All rights reserved. | // +-...
PHP
cms/modules/stats/phpOpenTracker/API/Plugin.php
sweih/nxr
gpl-2.0
4,940
195
codeparrot/github-code
c564221ab17e5361dd21f3352d5a38d99d1865c4d3569e2cd1c4d82bda63fff8
/** * @author Joseph DeLong * */ package dataTypes; import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.Iterator; import javax.xml.parsers.ParserConfigurationException; import org.xml.sax.SAXException; import exceptions.ASCException; import exceptions.Dat...
Java
asc_java/src/dataTypes/Unit.java
josephdelong/asc_java
gpl-2.0
12,354
498
codeparrot/github-code
d714fe7a57ed2e13b27bb5c4a36e4c7124cf6d5c7c43edc4190c1d85d8fc4cbb
------------------------------------------------------------------------------ -- v_usage.lua: -- -- Usage functions. Manipulates our internal feature grid. ------------------------------------------------------------------------------ hyper.usage = {} function hyper.usage.new_usage(width, height, initialiser) usag...
Lua
source/dat/dlua/layout/hyper_usage.lua
xFleury/crawl-0.13.0-fairplay
gpl-2.0
8,959
208
codeparrot/github-code
1792246fd1d9aa8384b2972fdc5c2f8372816f92439d3e9b3bb2ecd7337c7bef
<?php // Ensure, that nobody, other than the Admin, can come here. ob_start(); //$powza = htmlentities($_SESSION['username']['group'], ENT_QUOTES, 'UTF-8'); if ($powza <= 0) { header('Location: index.php'); exit(); } ob_end_clean(); $pidgy = (int) $_GET['id']; echo "<h1>$loc_add_lang_post</h1>"; // I...
PHP
mode/postlangadd.php
ArmyOfCoders/YamiBoard
gpl-2.0
4,064
110
codeparrot/github-code
7b512e91abd5d28fd95dc65c08eb9b53b043b0e8d91706dbe1e8db0246e149e4
<html lang="en"> <head> <title>Number Conversion - Gforth Manual</title> <meta http-equiv="Content-Type" content="text/html"> <meta name="description" content="Gforth Manual"> <meta name="generator" content="makeinfo 4.8"> <link title="Top" rel="start" href="index.html#Top"> <link rel="up" href="The-Text-Interpreter.ht...
HTML
S1_AEO/TP6_7/gforth/doc/gforth/Number-Conversion.html
edgd1er/M1S1_INFO
gpl-2.0
11,570
205
codeparrot/github-code
4b5bff5d705d943afb5a2587481006d6e616a6bf54b83d8d751b96c79646e66c
///////////////////////////////////////////////////////////////////////////// // Name: src/dfb/fontenum.cpp // Purpose: wxFontEnumerator class // Author: Vaclav Slavik // Created: 2006-08-10 // RCS-ID: $Id: fontenum.cpp 43727 2006-12-01 10:14:28Z VS $ // Copyright: (c) 2006 REA Elektronik Gmb...
C++
ap/gpl/amule/wxWidgets-2.8.12/src/dfb/fontenum.cpp
hajuuk/R7000
gpl-2.0
1,647
52
codeparrot/github-code
4df21e900b4dfd6ba1fc4053369dbf7c806e93314a27d91bdd3c7c4c3b41d5d3
/**********************************************************/ /* File name: KMP.cpp */ /* */ /* Author: Lamzin Oleh */ /* olehtomas@gmail.com */ /* ...
C++
String/KMP.cpp
Lamzin/Algorithm
gpl-2.0
1,266
44
codeparrot/github-code
b9588780f8b3ec1efb4d570618a30174798d05c9b6731b2d2ea72747a2777a6d
var TableManaged = function () { return { //main function to initiate the module init: function () { if (!jQuery().dataTable) { return; } // begin first table $('#sample_1').dataTable({ "aoColumns": [ ...
JavaScript
assets/admin/scripts/custom/table-managed.js
dyarfi/dentsu.digital.ml
gpl-2.0
5,947
147
codeparrot/github-code
b77290b8d85ab8ead4f6d35aca37ffb042b0b7e74b63a8f478756c9b0d8c843b
expect = chai.expect; describe('curried functions are useful', function () { it('when you have some input available before others', () => { const first = 12; const curriedFun = aa => (bb, cc, dd) => multiParam(aa, bb, cc, dd); const partiallyApplied = curriedFun(first); expect(t...
JavaScript
currying/js/currying_tests.js
Muzietto/funzionale-alla-statale
gpl-2.0
3,352
107
codeparrot/github-code
370469507dd6a556d4556ee6eed704f4e218611a7dcd6b71b0e83b8f760fd252
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title>New design for mobifreaks</title> <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0" /> <link rel="stylesheet" href="style.css" type="text/css"/> </head> <body > <div class="wrap"> <header class=...
HTML
Pomegranate/index.html
munawarahmed/Business-Mobi-Colors
gpl-2.0
2,773
70
codeparrot/github-code
a86e65c8cf17da82720c6f5f3aa3b827095a07dbb1b475db216f3cf33f637753
<?php /* * Template Name: Home */ function custom_css() { wp_enqueue_style('home-style', get_template_directory_uri() . '/css/home.css'); } add_action('wp_head', 'custom_css', 1); //function custom_js(){ // wp_enqueue_script('head-js', get_template_directory_uri() . '/js/head.min.js'); //} //add_action('wp_h...
PHP
wp-content/themes/miedema/home.php
stsn/miedema
gpl-2.0
4,658
112
codeparrot/github-code
d87c1ed6f38f2aa09cfe4a8c7b48d61bb9d6037ec8650f211a49921bf4584957
/* * Creado por SharpDevelop. * Usuario: Luly * Fecha: 29/10/2013 * Hora: 03:27 p.m. * * Para cambiar esta plantilla use Herramientas | Opciones | Codificación | Editar Encabezados Estándar */ namespace ConvertirPesosaDolares { partial class MainForm { /// <summary> /// Designer variable used to keep tra...
C#
ConvertirPesosaDolares/ConvertirPesosaDolares/MainForm.Designer.cs
lsanchezgudino/ConvertirPesosaDolares
gpl-2.0
5,257
157
codeparrot/github-code
6da2caa27ca60bcc53fce46b6540139c6fbafa814dc26e3d58ffdcf747233fb5
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script> <script>window.jQuery || document.write('<script src="{{ site.url }}/assets/js/vendor/jquery-1.9.1.min.js"><\/script>')</script> <script src="{{ site.url }}/assets/js/scripts.min.js"></script> {% if site.google_analytics %} <!-- Asynchro...
HTML
_includes/scripts.html
milesgrimshaw/milesgrimshaw.github.io
gpl-2.0
3,455
49
codeparrot/github-code
06a15c1534fe372a0365ee73c3c8e48f0a78ad12b2c56fd202a858839623f9a3
/* * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Softwa...
Java
graal/com.oracle.graal.lir.sparc/src/com/oracle/graal/lir/sparc/SPARCCompare.java
lewurm/graal
gpl-2.0
5,280
129
codeparrot/github-code
d209d80357eb655bede127c2a243a876e6931f1a3627db0943350539e6e8301e
/*************************************************************************** * qgsgeometrycheckersetuptab.cpp * * ------------------- * * begin : Jun 10, 2014 * * copyrigh...
C++
src/plugins/geometry_checker/ui/qgsgeometrycheckersetuptab.cpp
alexbruy/QGIS
gpl-2.0
13,203
346
codeparrot/github-code
56acc83584bb447589e9904c54e703ba6c0e0ce7bc85cf3fa91a54df4c6dd72c
/* Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ /** * @fileOverview Defines the {@link CKEDITOR.lang} object, for the * Chinese Traditional language. */ /**#@+ @type String @example */ /** * Constains the dict...
JavaScript
js/ckeditor/_source/lang/zh.js
teiman/qualidoc
gpl-2.0
17,373
749
codeparrot/github-code
55d98aedae04e9e4d53e9b283dbd2a10562e5ddfe8ddcae7ef14013cc57d1827
namespace ifme { partial class frmInputBox { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param name="disposing">true if managed resources should be di...
C#
ifme/frmInputBox.Designer.cs
kyborek/IFME
gpl-2.0
4,219
111
codeparrot/github-code
01315ec1e1ff96aa05605a934dae11ee8c378cf7668b5def6d6f048eec4e4362
#ifndef _lens_h_ #define _lens_h_ /** \file * Lens and camera control * * These are Magic Lantern specific structures that control the camera's * shutter speed, ISO and lens aperture. It also records the focal length, * distance and other parameters by hooking the different lens related * properties. */ /* * C...
C
src/lens.h
WilJoey/magic-lantern
gpl-2.0
20,883
513
codeparrot/github-code
861f4fb12c018f82f8bd9b409678b5643283465082475c5d2d4dd4abdfefc1b3
/* * This file is part of the TrinityCore Project. See AUTHORS file for Copyright information * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2 of the License, or (at your ...
C++
src/server/game/Handlers/SpellHandler.cpp
Declipe/TrinityCore
gpl-2.0
25,993
760
codeparrot/github-code
726c1e4a462d8bce1f904d5dabae5afdad49fe6f9d374e7e2ed90a4134dff2e9
/* * This file is part of oFono - Open Source Telephony * * Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * version 2 as published by the Free Software Foundation. ...
C
isi/opcodes/info.h
freesmartphone/libisi
gpl-2.0
1,780
75
codeparrot/github-code
73cfb4a96dab48b990664218f694cc5be2cc557c6ec359b40843642240ca56d0
package ee.esutoniagodesu.domain.jmen.view; import org.hibernate.annotations.Immutable; import javax.persistence.*; import java.io.Serializable; @Entity @Immutable @Table(name = "vt_misc", schema = "jmen") public final class EN_VtMisc implements Serializable { private static final long serialVersionUID = 356227...
Java
src/main/java/ee/esutoniagodesu/domain/jmen/view/EN_VtMisc.java
esutoniagodesu/egd-web
gpl-2.0
1,845
69
codeparrot/github-code
216982e236ac6d66b912a217ead05714c62c92ea4fde22390d03ac83523d8b07
/******************************************************************************** Copyright (C) MixERP Inc. (http://mixof.org). This file is part of MixERP. MixERP 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#
src/Libraries/Entities/Core/TaxAuthority.cs
ThiagoScar/mixerp
gpl-2.0
3,474
102
codeparrot/github-code
af0252d80a3a49d882f7293e73177cf13f66e3700a9f0138540df1a320902782
/** * OWASP Benchmark Project v1.1 * * 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 Benchmark is free software: you can redistribute it and/...
Java
src/main/java/org/owasp/benchmark/testcode/BenchmarkTest09128.java
iammyr/Benchmark
gpl-2.0
2,485
74
codeparrot/github-code
04643639dd0d119c33d636acdea9edb29c01fd6f58b92cf6a1343085cc67be5c
<?php /** * Template Loader * * @class SP_Template_Loader * @version 1.5 * @package ProSports/Classes * @category Class * @author ProSports */ class SP_Template_Loader { /** * Constructor */ public function __construct() { add_filter( 'template_include', array( $this, 'template_loader' ) ); add...
PHP
sm-manager-setup/includes/prosports/includes/class-sp-template-loader.php
parpaitas1987/ProSports
gpl-2.0
5,198
191
codeparrot/github-code
85f264dedb843fce8f9272fc26b905e9d2a3c3da637f08a87a90df4621e647a5
<%namespace name="util" module="bodhi.server.util"/> <%inherit file="master.html"/> <div class="row"> <div id='js-warning' class="col-md-6 col-md-offset-3"> <div class=" panel panel-warning"> <div class="panel-heading clearfix"> <span class="pull-left">New Buildroot Override Form Requires JavaScrip...
HTML
bodhi/server/templates/override.html
AdamWill/bodhi
gpl-2.0
7,769
199
codeparrot/github-code
f66ca3d9e465960f42e33018c02ee26ab8f8eef071640a5d9d8e8a3fec9e6022
// // resident_thread.h // // Created by Jinglei Ren on 2/22/15 // Copyright (c) 2015 Jinglei Ren <jinglei@ren.systems> // #ifndef RESIDENT_THREAD_H_ #define RESIDENT_THREAD_H_ #include <thread> #include <future> #include <functional> #include <vector> #include <mutex> #include <cassert> namespace slib { class Resi...
C
slib/resident_thread.h
basicthinker/vm-persistence
gpl-2.0
2,020
96
codeparrot/github-code
f5a961c7e1211be2e5d6ebd15f8acae9cddb58692c36da38505b0cf396f36031
<?php /** * The template for displaying Comments. * * The area of the page that contains both current comments * and the comment form. The actual display of comments is * handled by a callback to wedrink_comment() which is * located in the functions.php file. * * @package WordPress * @subpackage Twenty_Twelve ...
PHP
wp-content/themes/wedrink/comments.php
sontv1003/wedrink
gpl-2.0
2,132
60
codeparrot/github-code
775b8c0ee2f21cdfbe4eaeafcb047716753ae25c3a07ff90523d97dca0288952
local function tosticker(msg, success, result) local receiver = get_receiver(msg) if success then local file = 'data/stickers/'..msg.from.id..'.jpg' print('File downloaded to:', result) os.rename(result, file) print('File moved to:', file) send_photo(get_receiver(msg), file, ok_cb, false) re...
Lua
plugins/tosticker.lua
arman-hc/bot
gpl-2.0
1,075
37
codeparrot/github-code
be05d273c7de5c256ac96d75a3ed86a997aea817595b067a8d1f5fe3bb28cbf7
/* * linux/kernel/printk.c * * Copyright (C) 1991, 1992 Linus Torvalds * Copyright (C) 2012 Sony Mobile Communications AB. * * Modified to make sys_syslog() more flexible: added commands to * return the last 4k of kernel messages, regardless of whether * they've been read or not. Added option to suppress k...
C
kernel/printk.c
BrateloSlava/test-sez-cm-kernel
gpl-2.0
47,951
1,918
codeparrot/github-code
9068bdeb019e0b90928d605270ed4822ed23de8e885f2497b574d6553e0fc279
<?php /** * A Twitter library in PHP. * * @package codebird * @version 2.3.3-dev * @author J.M. <me@mynetx.net> * @copyright 2010-2013 J.M. <me@mynetx.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 Fre...
PHP
core/libs/external/twitter/codebird.php
gundambison/si-ksc
gpl-2.0
29,192
910
codeparrot/github-code
1434b9c5bdc5c4d099697e0aaa031525e5188c3c08f130ecee6f881e75691b96
/* * Copyright 2010-2011 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
Java
src/main/java/cn/lhfei/identity/service/impl/RoleServiceImpl.java
lhfei/forestry-university-app
gpl-2.0
1,915
77
codeparrot/github-code
ade6ddc638308d6761a40aee600b2afe2a6ed580916659b24299ffe757ef602a
#include <linux/module.h> #include <linux/vermagic.h> #include <linux/compiler.h> MODULE_INFO(vermagic, VERMAGIC_STRING); struct module __this_module __attribute__((section(".gnu.linkonce.this_module"))) = { .name = KBUILD_MODNAME, .arch = MODULE_ARCH_INIT, }; MODULE_INFO(intree, "Y"); static const struct modvers...
C
drivers/input/misc/gpio_input.mod.c
livlogik/Evil_Yummy_Gumdrop--Tmo-V10-Kernel
gpl-2.0
1,984
52
codeparrot/github-code
961b91cb36521d78d7f8003d7b02704530b89152864094b77146332d519944f9
package com.oracle.truffle.sl.tracer; import java.util.HashMap; import java.util.Map; import java.util.Stack; import com.oracle.truffle.api.frame.FrameSlot; import com.oracle.truffle.api.frame.FrameSlotTypeException; import com.oracle.truffle.api.frame.VirtualFrame; import com.oracle.truffle.api.object.DynamicObject;...
Java
truffle/com.oracle.truffle.sl/src/com/oracle/truffle/sl/tracer/ReadPropertyShadowInstrument.java
azadmanesh/sl-tracer
gpl-2.0
2,932
62
codeparrot/github-code
554787a96404a2a245862936ad3f1c7d97c32df6c95cab00ccd1b70bbd6d2599
/* * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2 of the License, or (at your * option) any later version. * * This program is distributed in the hope that it will be use...
C
arch/arm/mach-s5pv210/herring-panel.c
eugene373/Nexus_S_ICS
gpl-2.0
17,418
1,013
codeparrot/github-code
8a52f1b17bf6abbf7e82a3eb80199bb339df325e88b8e0d70d7f3b46b802a866
#region License /* * Copyright (C) 1999-2017 John Källén. * * 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, or (at your option) * any later version. * * This program i...
C#
src/Gui/CommandGroup.cs
Lukas-Dresel/reko
gpl-2.0
1,177
40
codeparrot/github-code
d9018a09689b1c71b371d228d1622f3ee94abbb7aa02534d2a159af9b267b2b0
<?php namespace Drupal\facets\Plugin\facets\facet_source; use Drupal\Component\Plugin\Exception\PluginNotFoundException; use Drupal\Component\Plugin\PluginBase; use Drupal\facets\FacetSource\FacetSourceDeriverBase; /** * Derives a facet source plugin definition for every Search API view. * * This facet source onl...
PHP
modules/facets/src/Plugin/facets/facet_source/SearchApiViewsDeriver.php
maitray-addweb/demo-commerce
gpl-2.0
2,934
80
codeparrot/github-code
a0f760fb48be5b8da123cd62ad8160cb46ed39cc6e5e54cac60987b16717d43a
// Copyright (c) 2010 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. #ifndef NET_PROXY_PROXY_CONFIG_SERVICE_ANDROID_H_ #define NET_PROXY_PROXY_CONFIG_SERVICE_ANDROID_H_ #pragma once #include "net/base/net_export.h" #in...
C
external/chromium/net/proxy/proxy_config_service_android.h
qtekfun/htcDesire820Kernel
gpl-2.0
883
37
codeparrot/github-code
66a3ca1f59d987edd2a7f64649b7902cd6e212a928e89035db8fcb08af0e89b0
package presentation.managerui; import javax.swing.JButton; import javax.swing.JLabel; import javax.swing.JOptionPane; import javax.swing.JPanel; import javax.swing.JTextField; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import vo.BasicSalaryVO; import type.ProfessionType; import busines...
Java
12.09DDL/ELS_CLIENT/src/main/java/presentation/managerui/ModifyBasicSalaryPanel.java
Disguiser-w/SE2
gpl-2.0
5,015
174
codeparrot/github-code
ca84cc08554d1856a22f7ecf650cc4b393cda09372d4a008b140382b580a98df
<?php class NamasteLMSHomeworkController { public static $current_homework_id; static function submit_solution($in_shortcode = false) { global $wpdb, $user_ID, $post; $_course = new NamasteLMSCourseModel(); list($homework, $course, $lesson) = NamasteLMSHomeworkModel::full_select($_GET['id']); if(!self...
PHP
controllers/homeworks.php
pimteam/Namaste-LMS
gpl-2.0
19,261
436
codeparrot/github-code
433601f2a53296dad5376381e81ecfe098fdbecb7346be0c3a0872cbb5583b41
<?php /* Plugin Name: Formidable Math Captcha Description: Extends Captcha by BestWebSoft to work with Formidable Version: 1.02 Plugin URI: http://formidablepro.com/ Author URI: http://strategy11.com Author: Strategy11 */ add_action('init', 'frm_load_cptch_hooks'); function frm_load_cptch_hooks(){ global $wpmu; ...
PHP
wp-content/plugins/formidable-math-captcha/formidable-math-captcha.php
paoloalbera/renew
gpl-2.0
3,640
107
codeparrot/github-code
fde93be94186273cf3ff6ac5066ee10a2d754b8b8babf47c8a2cddaf4b7d418a
/** * OWASP Benchmark Project v1.1 * * 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 Benchmark is free software: you can redistribute it and/...
Java
src/main/java/org/owasp/benchmark/testcode/BenchmarkTest18285.java
iammyr/Benchmark
gpl-2.0
2,944
101
codeparrot/github-code
4a9735658da643f544b43a2928d057681f733a8f529c451747fd74497172a319
using UnityEngine; using System.Collections; public class FxmReplayDemo : MonoBehaviour { public GameObject m_TargetPrefab; public GameObject m_InstanceObj; void Start() { CreateEffect(); } // Update is called once per frame void Update() { } void CreateEffect() { if (m_TargetPrefab == null) ...
C#
Assets/Plugins/IGSoft_Tools/FXMakerReplayScene/FxmReplayDemo.cs
lienze/Project_ARPG
gpl-2.0
1,445
59
codeparrot/github-code
d2e187a0bd7c2fc4cc1f5ffd0319a6f663050caa5ce88da36982d9a4d417a58d
#pragma once #include <Graphics/Shader.h> #include <Graphics/OpenGL/TextureOpenGL.h> #include <Math/Matrix.h> #include <Core/Types.h> #include <unordered_map> #include <vector> namespace Columbus { class ShaderProgramOpenGL : public ShaderProgram { private: struct Attribute { std::string Name; uint32 Sl...
C
Graphics/OpenGL/ShaderOpenGL.h
ColumbusTech/ColumbusEngine
gpl-2.0
3,287
111
codeparrot/github-code
3d5be35468d4f6025a259ee1794ea0dce1c47d06ef1d7a64d8f1c751ab5ddbfe
package swt6.orm.dao; import java.util.Collection; import swt6.orm.domain.Employee; import swt6.orm.domain.Module; import swt6.orm.domain.Project; public class ProjectDaoImpl extends AbstractDao implements ProjectDao { @Override public Project findById(Long id) { checkSessionAvailable(); return session.get(Pr...
Java
worklog-orm/src/main/java/swt6/orm/dao/ProjectDaoImpl.java
N520/ORMapping
gpl-2.0
1,499
81
codeparrot/github-code
66c1cab12f6c37c2647475aaef69244004bfe62e614a0e170a808926a6b6e217
/* ************************************************************************* noise.cpp - description ------------------- begin : Die Jul 15 2003 copyright : (C) 2003 by Micha Riser email : micha@povworld.org ...
C++
src/noise.cpp
iquadrat/raytracer
gpl-2.0
4,520
140
codeparrot/github-code
d4cd026bb7fe36b0cb34c38b6673531040b045900fd6dde6cdb7e31f6cc61961
package com.land.test; import static org.junit.Assert.*; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java.util.Set; import org.hibernate.Session; import org.hibernate.SessionFactory; import org.hibernate.cfg.Configuration; import org.hibernate.tool.hbm2ddl.SchemaExport; import or...
Java
Hibernate_003_CRUD/test/com/land/test/MapTest.java
land012/TestJavaMyEcli
gpl-2.0
1,681
94
codeparrot/github-code
b84680fffbf6fadbb976b49e4f9aa3e0030433a97eced2e911c7deb987bb8511
import com.rabbitmq.client.*; import java.io.IOException; public class Recv { private final static String EXCHANGE_NAME = "test-topic"; private final static String QUEUE_NAME = "test-queue"; private final static String BINDING_KEY = "outTopic"; public static void main(String[] argv) throws Exception { C...
Java
esp8266-mqtt-rabbitmq/rabbitmq-java-client-mvn/src/main/java/Recv.java
iproduct/course-social-robotics
gpl-2.0
1,213
33
codeparrot/github-code
3b99878784d82025237e1f54818a7642ec7359a7949640fb1139314bf9a816d4
/* eslint-disable no-param-reassign */ import React, { PropTypes } from 'react'; import Radium from 'radium'; import { Link } from 'react-router'; import MDReactComponent from './ReactMarkdownMD'; import sub from 'markdown-it-sub'; import sup from 'markdown-it-sup'; import mk from 'markdown-it-katex'; import katex from...
JavaScript
app/components/RenderFile/RenderFileMarkdown.js
hassanshaikley/pubpub
gpl-2.0
10,034
334
codeparrot/github-code
2655a8625c44edeccdb6e574fcf0d94901048a2680dacb55a9e32939a44c9ba9
<?php /* Start and settings page */ /* Add Scripts */ add_action('admin_enqueue_scripts', 'wck_sas_print_scripts' ); function wck_sas_print_scripts($hook){ if( 'wck_page_sas-page' == $hook ){ wp_register_style('wck-sas-css', plugins_url('/css/wck-sas.css', __FILE__)); wp_enqueue_style('wck-sas-css'); } } /* ...
PHP
wp-content/plugins/wck-custom-fields-and-custom-post-types-creator/wck-sas.php
raheenbabul/flaming-lana
gpl-2.0
12,688
217
codeparrot/github-code
39ce79f96d5c5fecfee62c19cb85bb08239cd15c5d504f78340c1c2f25bfddc6
#include <stddef.h> #include <stdint.h> #include "isr.h" #if defined(__linux__) #error "You are not using a cross-compiler, you will most certainly run into trouble" #endif void disable_interrupt(); void enable_interrupt(); extern void gdt_install(); extern void idt_install(); extern void isr_install(); extern void...
C
system.h
hitmoon/dummy-os
gpl-2.0
922
32
codeparrot/github-code
4d01b3f87f37453d82e70f983d73232084f6d38ede481665cc089c7c85af0703
#define CT_STATIC 0 #define CT_BUTTON 1 #define CT_EDIT 2 #define CT_SLIDER 3 #define CT_COMBO 4 #define CT_LISTBOX 5 #define CT_TOOLBOX 6 #define CT_CHECKBOXES 7 #define CT_PROGRESS 8 #define CT_HTML 9 #define CT_STATIC_SKEW 10 #define CT_ACTIVETEXT 11 #define CT_TREE 12 #define CT_STRUCTURED_TEXT 13 ...
C++
JWC_CASFS/casDefine.hpp
MaDmaX1337/GamersCentral.de-AW-Invade-Annex
gpl-2.0
14,310
572
codeparrot/github-code
1a481280eaad6cb730e6b403823c7ee1f69e1d5255f0e4a52fccb4378acbf86c
/*************************************************************************** * Copyright (C) 2008 by Joris Guisson and Ivan Vasic * * joris.guisson@gmail.com * * ivasic@gmail.com * * ...
C
plugins/syndication/syndicationplugin.h
zidel/ktorrent
gpl-2.0
2,412
66
codeparrot/github-code
001e072c094e6b8c9a137053debcac8b61968d450b4b62c375427a6ee9b4f3de
<?php /** * Custom template tags for this theme. * * Eventually, some of the functionality here could be replaced by core features. * * @package luna */ if ( ! function_exists( 'luna_posted_on' ) ) : /** * Prints HTML with meta information for the current post-date/time and author. */ function luna_posted_on()...
PHP
wp-content/themes/luna/inc/template-tags.php
ilzo/wordpress_portfolio
gpl-2.0
3,765
116
codeparrot/github-code
8b8ef6caa0f4d7810679995feaff3ddd688ab5a8e5d6c8f1d1124bbee09c5ba1
#ifndef __MTK_HIBERNATE_DPM_H #define __MTK_HIBERNATE_DPM_H /* -------------other configure-------------------------// */ #define MAX_CB_FUNCS (10) /* -------------error code define-----------------------// */ #define E_NO_EXIST (-1) #define E_PARAM (-2) typedef enum { ID_M_BEGIN = 0, ID_M_DEVAPC = 0, I...
C
include/mach/mtk_hibernate_dpm.h
jmztaylor/android_kernel_amazon_ariel
gpl-2.0
982
38
codeparrot/github-code
0b36ca7ad45b3349730c69773e9a4f609e40e3a8304115dcfde336560626c4db
/**************************************************************** Siano Mobile Silicon, Inc. MDTV receiver kernel modules. Copyright (C) 2006-2010, Erez Cohen 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
drivers/misc/mediatek/cmmbdrv/mt8135/siano/smsspidrv.c
jmztaylor/android_kernel_amazon_ariel
gpl-2.0
15,579
579
codeparrot/github-code
87e62129c4a638305c3fb2536c86f2e8a3e7ab6b30da095229358a76cfdd5f48
local function get_variables_hash(msg) if msg.to.type == 'chat' or msg.to.type == 'channel' then return 'chat:'..msg.to.id..':variables' end end local function get_value(msg, var_name) local hash = get_variables_hash(msg) if hash then local value = redis:hget(hash, var_name) if not value then ...
Lua
plugins/get.lua
njrat/BREKEBOT
gpl-2.0
794
38
codeparrot/github-code
8a1ea32025cf67e98678ae46a5eeff514dece934f958f39ec06de579f2f46125
/* packet-usb-audio.c * * usb audio dissector * Tomasz Mon 2012 * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version...
C
epan/dissectors/packet-usb-audio.c
weizhenwei/wireshark
gpl-2.0
23,468
666
codeparrot/github-code
6d9c8de43ba0bfa033711cb3ea134e68cb8dc986169f8e91e3019ec69ad6d4d0
local assets= { Asset("ANIM", "anim/swap_bedroll_furry.zip"), } local function onsleep(inst, sleeper) local br = nil if inst.components.stackable then br = inst.components.stackable:Get() else br = inst end if br and br.components.finiteuses then if br.components.finiteuses:GetUses() <= 1 then br:Remov...
Lua
data/scripts/prefabs/bedroll_furry.lua
czfshine/Don-t-Starve
gpl-2.0
2,180
87
codeparrot/github-code
9b68745e8ba8632dd0c59a2e8b4782add968ce78f3a630e2a433b6c7ca2c7c2c
/* htop - UptimeMeter.c (C) 2004-2011 Hisham H. Muhammad Released under the GNU GPL, see the COPYING file in the source distribution for its full text. */ #include "UptimeMeter.h" #include "ProcessList.h" #include "CRT.h" #include "htop-sysdeps.h" #include <math.h> /*{ #include "Meter.h" }*/ int UptimeMeter_attri...
C
UptimeMeter.c
ip1981/htop
gpl-2.0
1,377
62
codeparrot/github-code
a882821a9b75c4510c163f95eaf4655a4f29f5cab968b638c4b0ecfafabcd04b
#include <linux/sched.h> #include <linux/delay.h> #include <linux/bio.h> #include <linux/dma-mapping.h> #include <linux/crc7.h> #include <linux/crc-itu-t.h> #include <linux/scatterlist.h> #include <linux/mmc/host.h> #include <linux/mmc/mmc.h> #include <linux/spi/spi.h> #include <linux/spi/mmc_spi.h> #include <asm...
C
drivers/mmc/host/mmc_spi.c
leemgs/OptimusOneKernel-KandroidCommunity
gpl-2.0
24,997
1,242
codeparrot/github-code
33809867573f0e2677c9a19196cd6f6f72526c27938566e00341cc803dac061a
/*GL Widget Set - simple, portable OpenGL/GLUT widget set Copyright (C) 1999-2001 Timothy B. Terriberry (mailto:tterribe@users.sourceforge.net) 2011 Janne Blomqvist 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++
src/glwtabpn.cc
jabl/vaspview
gpl-2.0
33,417
1,105
codeparrot/github-code
676d472cf47afb00ef8558c085c43265e2820e46993105f2ed23c7ea55415849
<?php /** * base include file for SimpleTest * @package SimpleTest * @subpackage UnitTester * @version $Id: reporter.php,v 1.1 2009-04-28 17:58:29 ssigwart Exp $ */ /**#@+ * include other SimpleTest class files */ require_once(dirname(__FILE__) . '/scorer.php'); /**#@-*/ /** * Sample minimal tes...
PHP
unitTesting/simpletest/reporter.php
mtwstudios/comtor
gpl-2.0
14,714
447
codeparrot/github-code
225c1e7e81737b360ad117497ed843650d62369e92d6bca62124177f39d18965
# handleTorrent.py # function to manipulate all the torrent part import requests from requests.auth import HTTPBasicAuth import ClassUsers # file used to store sensible data, like API key def hash2magnet(hashlink): magnet = "magnet:?xt=urn:btih:" + hashlink[2:-2] return magnet def addmagnet(torrent, chat_i...
Python
handleTorrent.py
pazpi/ruTorrent-bot
gpl-2.0
1,580
41
codeparrot/github-code
470881ac7056b10607b7bc43e926a561604fd938683417d2f766c10626775b43
# copies.py - copy detection for Mercurial # # Copyright 2008 Matt Mackall <mpm@selenic.com> # # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. from __future__ import absolute_import import heapq from . import ( node, pathu...
Python
mercurial/copies.py
dscho/hg
gpl-2.0
19,523
554
codeparrot/github-code
3ffecc7b95848a14cc55eab719c2aa73439f578aefb0d4279b27990a19a53655
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>36.2. imp — Access the import internals &mdash; Pyt...
HTML
Coding/Python/python-3.5.1rc1-docs-html/library/imp.html
platinhom/ManualHom
gpl-2.0
43,775
560
codeparrot/github-code
cfb78cd8255d7a2860d632e6e43942dc47fa393372abf56604f6e6de48405f57
<!DOCTYPE html> <html lang="en-US"> <!-- Mirrored from www.w3schools.com/cssref/tryit.asp?filename=trycss3_attr_begin2 by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 23 Jan 2015 08:14:17 GMT --> <head> <title>Tryit Editor v2.3</title> <meta id="viewport" name='viewport'> <script> (function() { if ( navigator.userA...
HTML
Coding/W3School/W3Schools_Offline_2015/www.w3schools.com/cssref/tryit2ca7.html
platinhom/ManualHom
gpl-2.0
5,248
151
codeparrot/github-code
63829f89a908a186abe293a5dc43b17b150370b42899a4e452450f0f4e60eccf
package org.iatoki.judgels.jerahmeel.chapter; import com.google.common.collect.ImmutableList; import org.iatoki.judgels.play.InternalLink; import org.iatoki.judgels.play.LazyHtml; import org.iatoki.judgels.play.views.html.layouts.headingLayout; import org.iatoki.judgels.play.views.html.layouts.subtabLayout; import pla...
Java
app/org/iatoki/judgels/jerahmeel/chapter/ChapterControllerUtils.java
judgels/jerahmeel
gpl-2.0
1,852
36
codeparrot/github-code
06841be12b021ed07cc671b58dbc9d97bdf2782b71b02340c0013e807640e77d
/* File produced by Kranc */ #define KRANC_C #include <algorithm> #include <assert.h> #include <math.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "cctk.h" #include "cctk_Arguments.h" #include "cctk_Parameters.h" #include "Kranc.hh" #include "Differencing.h" #include "loopcontrol.h" namespa...
C++
Examples/Euler/src/euler_rhs_1.cc
ianhinder/Kranc
gpl-2.0
8,483
198
codeparrot/github-code
3eb875c480f07f0290691e793d106d65929f33c9cc5cfb3574ceaf998402973e
/******************************************************************************* * Copyright (C) 2014 Álvaro Carrera Barroso * Grupo de Sistemas Inteligentes - Universidad Politecnica de Madrid * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General ...
Java
shanks-core/src/main/java/es/upm/dit/gsi/shanks/model/scenario/portrayal/ScenarioPortrayal.java
gsi-upm/Shanks
gpl-2.0
17,478
493
codeparrot/github-code
a6bd18d494b566eb9de55676d02a4f327b7905b7cce94ff04ae3c3b32d094066
class Connection < ActiveRecord::Base belongs_to :user belongs_to :group # as folder for messages belongs_to :connection has_many :connections, dependent: :destroy has_many :messages, dependent: :destroy before_create :gen_unique_token validate :unique_request, on: :create scope :invites, -> { wher...
Ruby
app/models/connection.rb
ethanwilkins/simplr
gpl-2.0
2,310
82
codeparrot/github-code
546b78bce1fa9c48652793d537ae8ceb933cd44f66eaa64947156db9c628a294
/* * Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * The Universal Permissive License (UPL), Version 1.0 * * Subject to the condition set forth below, permission is hereby granted to any * person obtaining a copy of this s...
Java
wasm/src/org.graalvm.wasm/src/org/graalvm/wasm/collection/BooleanArrayList.java
smarr/Truffle
gpl-2.0
3,230
93
codeparrot/github-code
d278bf4d29df713da8e1c8bb1f819b2bd925927fe5c8278e7b35c50e07f33e1c
// KicadSymbolToGEDA - a utility for turning kicad modules to gEDA PCB footprints // KicadSymbolToGEDA.java v1.0 // Copyright (C) 2015 Erich S. Heinzle, a1039181@gmail.com // see LICENSE-gpl-v2.txt for software license // see README.txt // // This program is free software; you can redistribute it and/or /...
Java
KicadSymbolToGEDA.java
erichVK5/KicadSymbolToGEDA
gpl-2.0
22,818
551
codeparrot/github-code
a5f279384470b288e2382d69c16b8dbf0c4eb75a2209a7ce7ea30be11999ce35
// ReplaceDlg.cpp : implementation file // #include "stdafx.h" #include "Contact.h" #include "ReplaceDlg.h" #include "Person.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CReplaceDlg ...
C++
Contact/ReplaceDlg.cpp
Tecyle/MFCContact
gpl-2.0
3,812
164
codeparrot/github-code
a9ca9c4f49ed267effc2451c4479ec33b841ccbfcc061f2ff33d6da620e9dc62
/* GemRB - Infinity Engine Emulator * Copyright (C) 2003 The GemRB 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; either version 2 * of the License, or (at your option) any late...
C++
gemrb/core/GUI/TextEdit.cpp
gemrb/gemrb
gpl-2.0
3,551
144
codeparrot/github-code
4df8423d7e60f666063fe88913068a819653d4d66af788bd392fbb0a4e196d0e
/* Copyright (C) 2004 - 2009 Versant Inc. http://www.db4o.com */ using Db4objects.Db4o.CS.Internal; using Db4objects.Db4o.CS.Internal.Messages; using Db4objects.Db4o.Foundation; using Db4objects.Db4o.Internal; using Db4objects.Db4o.Internal.Ids; using Db4objects.Db4o.Internal.References; namespace Db4objects...
C#
lib/db4o-net/Db4objects.Db4o.CS/Db4objects.Db4o.CS/CS/Internal/ClientTransaction.cs
meebey/smuxi-head-mirror
gpl-2.0
3,714
150
codeparrot/github-code
ba86b173de983782dfc272f30192080b29afb0f6746215866f170e3e5fcc358e
# Base class for text window screens. # # This file is part of Simpleline Text UI library. # # Copyright (C) 2020 Red Hat, Inc. # # Simpleline 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 ver...
Python
simpleline/render/screen/__init__.py
rhinstaller/python-simpleline
gpl-2.0
10,460
322
codeparrot/github-code
8633d910fe7ea8d70140535598d48bab8667d7a76719a2fe593f323f2ce2f329
/*************************************************************************** qgsmaptoolmovefeature.cpp - map tool for translating features by mouse drag --------------------- begin : Juli 2007 copyright : (C) 2007 by Marco Hugentobler email : marco dot huge...
C++
src/app/qgsmaptoolmovefeature.cpp
wonder-sk/QGIS
gpl-2.0
5,622
176
codeparrot/github-code
caa92b1148df4f7630415294f449383f2ced9b4d4edc1f6b01071f1931677bd4
/* * Copyright (C) 1996-2015 The Squid Software Foundation and contributors * * Squid software is distributed under GPLv2+ license and includes * contributions from numerous individuals and organizations. * Please see the COPYING and CONTRIBUTORS files for details. */ /* DEBUG: section 75 WHOIS protocol */ #...
C++
squid-proxy/squid-3.5.3/src/whois.cc
hieuit7/freewifi
gpl-2.0
5,228
180
codeparrot/github-code
f10186b76d12a31c0140454107817f5533e291c9fd844a14c7237873498e6fac
# -*- coding: utf-8 -*- """ *************************************************************************** hugeFileNormalize.py --------------------- Date : May 2014 Copyright : (C) 2014 by Martin Isenburg Email : martin near rapidlasso point com *************...
Python
python/plugins/processing/algs/lidar/lastools/hugeFileNormalize.py
luca76/QGIS
gpl-2.0
5,671
124
codeparrot/github-code
5f935986c5e35daeb6adc469738cc1428f076a0b95a4be5eacd2d6b9d55e0b40
<?php /* Template Name: Home */ get_header(); ?> <div class="container-fluid"> <div class="row"> <?php $img1 = get_field( "banner_top1" ); $img2 = get_field( "banner_top2" ); $img3 = get_field( "banner_top3" ); $img4 = get_field( "banner_top4" ); $img5 = get_field( "banner_top5" ); ...
PHP
wp-content/themes/tinbox/tpl_inicio.php
estrategasdigitales/venone
gpl-2.0
13,447
414
codeparrot/github-code
b895758aaa2ae266aa11c78409b89cca98be81d43fa44653dd0d0a074862fdda
<?php /** * Plugin Name: VOGroup Recruiting * Description: Allows manage VOGroup Recruiting * Version: 1.0 * Author: Sergiy Glibey */ include(__DIR__ . '/includes/employee-maps.php'); $upload_dir = wp_upload_dir(); define ('VOGROUP_EMPLOYEES_URL', plugin_dir_url(__FILE__)); define ('UPLOAD_DIR_URL', $upload_d...
PHP
wp-content/plugins/vogroup-employees/vogroup-employees.php
glibey/vogroup.com
gpl-2.0
12,097
315
codeparrot/github-code
5f516552e5a71f42c50116bfecc6bb5368e4810fafc4bdd5224d76e3421b6f79
/* * MD218A voice coil motor driver * * */ #include <linux/i2c.h> #include <linux/delay.h> #include <linux/platform_device.h> #include <linux/cdev.h> #include <linux/uaccess.h> #include <linux/fs.h> #include <asm/atomic.h> #include "BU6424AF.h" #include "../camera/kd_camera_hw.h" #define LENS_I2C_BUSNUM 1 static ...
C
drivers/misc/mediatek/lens/bu6424af/BU6424AF.c
kelvinbui31/android_mediatek_muse72
gpl-2.0
12,880
485
codeparrot/github-code
d2b09e62d86c4ad80ffd1b1c9355fd5ccbaa8dc94051d4804ff6b7a9d7047667
<?php // only logged in users can add predictions gatekeeper(); elgg_set_ignore_access(TRUE); // get the form input $title = get_input('title'); $body = get_input('body'); $option1 = get_input('option1'); $value1 = get_input('value1'); $option2 = get_input('option2'); $value2 = get_input('value2'); $settlement = get_i...
PHP
mod/predictions2/actions/save.php
laczoka/news-guru
gpl-2.0
2,118
93
codeparrot/github-code