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 |
|---|---|---|---|---|---|---|---|---|
6fea9148d0e98b8e3a39cd87446cea27baa2bbeba10b6bac99a783242281a432 | /* linux/drivers/video/samsung/s3cfb_extdsp.h
*
* Copyright (c) 2010 Samsung Electronics Co., Ltd.
* http://www.samsung.com/
*
* Header file for Samsung Display Driver (FIMD) driver
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License v... | C | drivers/video/samsung_extdisp/s3cfb_extdsp.h | harunjo/galaxsih-kernel-JB-S3 | gpl-2.0 | 5,898 | 195 | codeparrot/github-code |
d0b1b70e880b8b13f9bd779f89dd5b919aec08cf3c7ba05a62d05ea6513d2ee0 | from django.contrib.auth import get_user_model
from django.db import transaction
from django.db.models.signals import pre_delete
from django.dispatch import Signal, receiver
from misago.categories.models import Category
from misago.categories.signals import delete_category_content, move_category_content
from misago.co... | Python | misago/threads/signals.py | 1905410/Misago | gpl-2.0 | 4,750 | 146 | codeparrot/github-code |
4ad39dfde951ff189e253bd53996dc80cde3aa1db5c846d27efd76a583bb4dbc | /**
* @file mlan_cmdevt.c
*
* @brief This file contains the handling of CMD/EVENT in MLAN
*
*
* Copyright (C) 2009-2011, Marvell International Ltd.
* All Rights Reserved
*
*/
/*************************************************************
Change Log:
05/12/2009: initial version
*********************... | C | drivers/parrot/net/wireless/88w8787/wlan/mlan/mlan_cmdevt.c | CunningLogic/asteroid_smart_kernel | gpl-2.0 | 78,435 | 2,240 | codeparrot/github-code |
a340d5de0fa518a84008bcdca57fc90df3131ae2ea108504bc04915126cf956a | package com.lunagameserve.decarbonator.statistics;
import android.content.Context;
import android.graphics.Canvas;
import org.jetbrains.annotations.NotNull;
import java.util.ArrayList;
import java.util.List;
/**
* Created by sixstring982 on 2/23/15.
*/
public class StatisticSet {
@NotNull
private List<Pol... | Java | src/com/lunagameserve/decarbonator/statistics/StatisticSet.java | Sixstring982/gastastic | gpl-2.0 | 2,009 | 78 | codeparrot/github-code |
76b3257d627af85f4ae8b46f01b62db5e72b76c1b245c98afde2c8f83eee4096 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
namespace MIPSI.UnPipelined
{
public class Cpu
{
public Program Program { get; set; }
public int Branch { get; set; }
public bool Skip { get; set; }
public uint Status ... | C# | MIPSI/UnPipelined/Cpu.cs | bngreen/Plasma-Emulator | gpl-2.0 | 2,348 | 85 | codeparrot/github-code |
d84a1e32b797336e04119540f207b3ae9bfb9ed73ec860d2fcb8c27449f40756 | <!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>抛光砖十大品牌排行中哈德逊瓷砖异军突起引人注目</title>
<meta name="keywords" content... | HTML | xwzx/qyxw/2014-10-10/913.html | 306076197/hudson | gpl-2.0 | 22,137 | 367 | codeparrot/github-code |
0ff75184e8a903b3da08874cda9eec8c737fedf9f4a73dab40f6fbbedc53ea0e | /*
* Copyright 2007,2009 Freescale Semiconductor, Inc.
*
* See file CREDITS for list of people who contributed to this
* 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... | C | board/freescale/mpc8544ds/mpc8544ds.c | buglabs/u-boot-ti-bug | gpl-2.0 | 9,372 | 381 | codeparrot/github-code |
98204dbbd29908361f75e8a883835f401979de3122a38027f7370c8cb8f6d9c5 | /*
* V4L2 sub-device
*
* Copyright (C) 2010 Nokia Corporation
*
* Contact: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
* Sakari Ailus <sakari.ailus@iki.fi>
*
* 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
... | C | drivers/media/video/v4l2-subdev.c | kozmikkick/tripndroid-endeavoru-3.4 | gpl-2.0 | 8,701 | 352 | codeparrot/github-code |
bc0ab0a8581e38675b6ef826b28d9270e32f4c955b763442c504b41d74abe3ea | /*
* Copyright (C) 2008-2017 TrinityCore <http://www.trinitycore.org/>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later ve... | C++ | src/server/scripts/Spells/spell_warrior.cpp | Keldo/TrinityCore | gpl-2.0 | 41,244 | 1,093 | codeparrot/github-code |
0029aeb44507c870cf1ca0a4a4dac9e73de8c060a9cf8f5bddca2b6fac8d393f | /*
* FeatureManager.h - header for the FeatureManager class
*
* Copyright (c) 2017-2022 Tobias Junghans <tobydox@veyon.io>
*
* This file is part of Veyon - https://veyon.io
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public
* License as publi... | C | core/src/FeatureManager.h | veyon/veyon | gpl-2.0 | 2,927 | 91 | codeparrot/github-code |
efa1c23edc408061b45d7284aa6ac61a6b4402d032d851f5b93f30e683106770 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<?xml version="1.0" encoding="UTF-8"?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>FFRend Issues</title>
<meta content="text/html; charset=windows-1252" http-equiv=Content-Type>
<link href="./style.css" rel=stylesheet title=default type=text/c... | HTML | docs/issues.html | victimofleisure/FFRend | gpl-2.0 | 96,950 | 4,113 | codeparrot/github-code |
9509b99baa8e988169f3cfdd4b43a013ff7803bdd8294996b679c755a74617ba | <?php
class topics_box extends dashter_base {
var $box_slug;
var $box_title;
var $box_location;
var $ajax_callback = 'dashter_topics_box';
function __construct( $title = 'Hot Topics', $location = 'dashter_column1', $slug = 'topics_box' ) {
$this->box_slug = $slug;
$this->box_title = $title;
$this->box_... | PHP | core/boxes/topics_box.php | heydavecole/Dashter | gpl-2.0 | 11,087 | 350 | codeparrot/github-code |
3d07376d66db6ebf18c8940ec3b2cae23539470f200bf0da5d7231a5e9d5e53d | <?php
/* core/themes/classy/templates/form/textarea.html.twig */
class __TwigTemplate_daddb8c128daf610d149e459973ff14dde45ba09225f260043a5f458fbb064fb extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->... | PHP | sites/default/files/php/twig/97d91d73_textarea.html.twig_56f8c9a2a4f1c5e6ad1cfe15cfb1d9a13f879df8b3897af4626094353dba54ab/d9e05645ad9c6e87dc24e21287e7203bcd585549759eabb53bd44970367d3f8d.php | xPh3n0m/NFC_Project_Drupal | gpl-2.0 | 3,978 | 101 | codeparrot/github-code |
9b85f235b6ba6bce5a7d7f56557afff042dcdf20e9878e2cf81bdb716c2d6a9c | <?php
// No direct access
defined('_JEXEC') or die;
class RentalModelBroker_Profile extends JModel
{
/**
* Function to get broker info
* @return Object Broker Info
*/
public function getItem()
{
$db = JFactory::getDbo();
$query = $db->getQuery(true);
$id = JRequest::getInt('id');
... | PHP | components/com_rental/models/broker_profile.php | salomalo/nbs-01 | gpl-2.0 | 879 | 45 | codeparrot/github-code |
db77f895532247a3672fe9449c2415f2f43d78e43d23cc398f40b4439fc29bdd | /****************************************************************************
*
* This file is part of the ViSP software.
* Copyright (C) 2005 - 2015 by Inria. All rights reserved.
*
* This software is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* (... | C | modules/robot/include/visp3/robot/vpRobotViper650.h | jokla/visp | gpl-2.0 | 15,729 | 498 | codeparrot/github-code |
7ca2e4202f4bd7ff4eef72a601d21572db02a10a3e05ebbd13df85729b2d608f | /*
* Copyright (c) 1998-2011 Caucho Technology -- all rights reserved
*
* This file is part of Resin(R) Open Source
*
* Each copy or derived work must preserve the copyright notice and this
* notice unmodified.
*
* Resin Open Source is free software; you can redistribute it and/or modify
* it under the terms o... | Java | modules/quercus/src/com/caucho/quercus/program/JavaClassDef.java | dlitz/resin | gpl-2.0 | 44,069 | 1,756 | codeparrot/github-code |
c74b049e14806d34cea2bc3b5fe41b6379aa4b8dc1e428e3a6a0a2a060c8e67a | from model import Model
from helpers.candidate import Candidate
from helpers.decision import Decision
class Osyczka2(Model):
def __init__(self):
Model.__init__(self)
self.initialize_decs()
def initialize_decs(self):
dec = Decision('x1', 0, 10)
self.decs.append(dec)
de... | Python | hw/code/6/model/osyczka2.py | rchakra3/x9115rc3 | gpl-2.0 | 2,597 | 102 | codeparrot/github-code |
63daf1b6bf1acc0872e591981d576f3488bddb39cb983a5ce83692922f8f3504 | #include "MainWindow.h"
MainWindow::MainWindow(QWidget *parent):
QWidget(parent){
this->core = new gurgle();
this->LoginW = new LoginWindow();
this->MessageList = new packageList();
this->SubscribeDialog = new LinkcSubscribeDialog(NULL,this->core);
this->MsgRecei... | C++ | LinkC-Qt-Cpp/MainWindow.cpp | Trickness/LinkC-qt | gpl-2.0 | 12,662 | 329 | codeparrot/github-code |
63e6194e63991b2206a6d1c81a2a43c00a136fa82e90f9b3cb1e62e7e794c03b | ~function (global) {
// status
var PENDING = 0,
FULFILLED = 1,
REJECTED = 2;
var Promise = function (fun) {
var me = this,
resolve = function (val) {
me.resolve(val);
},
reject = function (val) {
... | JavaScript | Js/promise/promise.js | Urinx/SomeCodes | gpl-2.0 | 2,941 | 122 | codeparrot/github-code |
2549689030172ac6a813e2d5229eb5088e3516f809e17285da46f8b5ae083395 | /*-
* APT - Analysis of Petri Nets and labeled Transition systems
* Copyright (C) 2014 Uli Schlachter
*
* 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... | Java | src/lib/uniol/apt/util/equations/EquationSystem.java | CvO-Theory/apt | gpl-2.0 | 10,250 | 331 | codeparrot/github-code |
b389300e6b603bd6e1cd00fbc07fe65105607b261bf023a9fe510f8d3edb00c7 | <?xml version="1.0" encoding="iso-8859-1" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<me... | HTML | doc/capgains.html | mgax/beancount | gpl-2.0 | 11,296 | 199 | codeparrot/github-code |
f44eed859eab58c6de51d14cd60271a0234e6e87c74d40ae2057dffc5f219055 | # gazetteer.fields
# Copyright 2016, James Humphry
# 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 progr... | Python | gazetteer/fields.py | jhumphry/gazetteer_etl | gpl-2.0 | 3,587 | 116 | codeparrot/github-code |
30e79e3c63756bf3cd6a7da103547f9bc090d3e7a0f308b8e7b67d4b99f56f16 | //
// Network.cpp for super_zappy in /home/aracthor/programs/projects/hub/super_zappy/server
//
// Made by
// Login <aracthor@epitech.net>
//
// Started on Sun Oct 12 06:55:13 2014
// Last Update Thu Dec 11 17:48:28 2014
//
#include "debug/LogManager.hh"
#include "network/Network.hh"
#include "network/Protocol... | C++ | server/srcs/network/Network.cpp | Aracthor/super_zappy | gpl-2.0 | 1,735 | 78 | codeparrot/github-code |
4e5f3a5e8c01f5e2a052cbbe5c5fcab661112811eb76df1c77ccdb959e59c9a2 | /*
* PowerPC version
* Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org)
*
* Derived from "arch/i386/mm/fault.c"
* Copyright (C) 1991, 1992, 1993, 1994 Linus Torvalds
*
* Modified by Cort Dougan and Paul Mackerras.
*
* Modified for PPC64 by Dave Engebretsen (engebret@ibm.com)
*
* This progra... | C | arch/powerpc/mm/fault.c | linux-scraping/linux-grsecurity | gpl-2.0 | 16,466 | 601 | codeparrot/github-code |
c88b1a959d989bff9f15619e29ae1a03c4b58235268bf994a776f14de0154dbd |
using System;
using System.Collections.Generic;
using System.Text;
using System.Collections.ObjectModel;
namespace ScrewTurn.Wiki.SearchEngine {
/// <summary>
/// Represents a search result.
/// </summary>
/// <remarks>Instance and static members are <b>not thread-safe</b>.</remarks>
public class Se... | C# | SearchEngine/SearchResult.cs | mono/ScrewTurnWiki | gpl-2.0 | 1,984 | 74 | codeparrot/github-code |
1a8c29fe1e2a00094bb0a7ba28716a1362f75bb63382525652cbe025c46d094f | <?php
/*
* Conditional display embedded code.
*/
/*
* Post page filters
*/
add_filter( 'wpcf_post_edit_field', 'wpcf_cd_post_edit_field_filter', 10, 4 );
add_filter( 'wpcf_post_groups', 'wpcf_cd_post_groups_filter', 10, 3 );
/*
*
* These hooks check if conditional failed
* but form allowed to be ... | PHP | wp-content/plugins/types/embedded/includes/conditional-display.php | mmiodek/wp-project | gpl-2.0 | 10,167 | 354 | codeparrot/github-code |
ebe5a03618b50fda042ca3becbe4da3b2269fcbfe6ce97ee595566543bde4180 | ###############################################################################
## Copyright 2005-2016 OCSInventory-NG/OCSInventory-Server contributors.
## See the Contributors file for more details about them.
##
## This file is part of OCSInventory-NG/OCSInventory-ocsreports.
##
## OCSInventory-NG/OCSInventory-Serve... | Perl | Apache/Ocsinventory/Server/Inventory/Update.pm | OCSInventory-NG/OCSInventory-Server | gpl-2.0 | 6,857 | 197 | codeparrot/github-code |
33ac34e984cf8ad337ce04f4762ec98f3bd01bc09707a90b7aab19c1d45a85df | <?php
/**
* Class for creating File Archives
*/
class BackWPup_Create_Archive {
/**
* Achieve file with full path
*
* @var string
*/
private $file = '';
/**
* Compression method
*
* @var string Method off compression Methods are ZipArchive, PclZip, Tar, TarGz, TarBz2, gz, bz2
*/
... | PHP | wp-content/plugins/backwpup/inc/class-create-archive.php | elropero/ethnographiccase_wp | gpl-2.0 | 21,739 | 664 | codeparrot/github-code |
09fe0a07ee32a70384c46ff9c0bd21dc0821376fec9cc5040e2333d9629e2045 | /* Copyright (C) 2007-2017 Open Information Security Foundation
*
* You can copy, redistribute or modify this Program 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 WITHOUT ANY... | C | src/alert-prelude.c | sh19871122/suricata | gpl-2.0 | 38,219 | 1,302 | codeparrot/github-code |
17cfb2bbe3239118e9ccda7155904438563ab70731c560a5061187081583606d | // Copyright (c) 2012 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 CHROME_BROWSER_EXTENSIONS_API_IDENTITY_WEB_AUTH_FLOW_H_
#define CHROME_BROWSER_EXTENSIONS_API_IDENTITY_WEB_AUTH_FLOW_H_
#include <string>
#i... | C | external/chromium_org/chrome/browser/extensions/api/identity/web_auth_flow.h | qtekfun/htcDesire820Kernel | gpl-2.0 | 3,532 | 132 | codeparrot/github-code |
32d067cb2e2384f4dd034465cb34d3f182687ea8d64de94b095844aabbe6aa12 | /*
* linux/include/linux/cpufreq.h
*
* Copyright (C) 2001 Russell King
* (C) 2002 - 2003 Dominik Brodowski <linux@brodo.de>
*
* 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 Foun... | C | include/linux/cpufreq.h | javilonas/Enki-SM-G901F_OLD-5.X | gpl-2.0 | 17,303 | 537 | codeparrot/github-code |
d74a26fe0667a63c17cab2e51cda5616b9525171a4cc66423e1d5e28d4e128ba | /*
* Copyright (C) 2008-2011 TrinityCore <http://www.trinitycore.org/>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later ve... | C++ | src/server/scripts/Custom/cs_vip.cpp | mynew/FunCore | gpl-2.0 | 10,550 | 294 | codeparrot/github-code |
57bd564617ce985d940b7165114336db23e9c0e9cb5d8015dbad4e8573300752 | /* ieee-utils/print.c
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000 Brian Gough
*
* 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)... | C | 3rdparty/gsl/ieee-utils/print.c | JohannesBuchner/nfft | gpl-2.0 | 2,706 | 100 | codeparrot/github-code |
cfa2f0072d40642fe1fb9ee98d483e3d0d6c3ebc776ba6986db124412947681d | /*
* Copyright (c) 2011, 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 ... | C | modules/graphics/src/main/native-glass/win/GlassApplication.h | maiklos-mirrors/jfx78 | gpl-2.0 | 4,430 | 129 | codeparrot/github-code |
461f3b7fecf53db2a936edc81a67bfc41070fbd525d6476b9541895eb7ca3696 | package com.christopherfebles.magic.controller;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.anno... | Java | src/main/java/com/christopherfebles/magic/controller/MagicController.java | christopherfebles/magicdbwebapp | gpl-2.0 | 7,809 | 205 | codeparrot/github-code |
590f93e19bcbbb3deee3f5deb7825e3f95f6aa6b5b82e3695bf18d4303071a32 | /* Copyright (c) 2008-2009, Code Aurora Forum. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* notice, this list o... | C | drivers/video/msm/tvenc.c | thornbirdblue/8064_kernel | gpl-2.0 | 9,329 | 329 | codeparrot/github-code |
eb8b7ddb22468826be027c8aa3aeffaa0e3b8fc1f25089db22c9931c18e2e950 | <?php
/**
* @package Joomla Bamboo Zen Grid Framework
* @Type Core Framework Files
* @version v1.0
* @author Joomal Bamboo http://www.joomlabamboo.com
* @copyright Copyright (C) 2007 - 2010 Joomla Bamboo
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
*/
// no direct access
define... | PHP | templates/zengridframework/index.php | jcorrego/graduarte | gpl-2.0 | 34,441 | 967 | codeparrot/github-code |
df9d5b5f037eba0ddbd12ec5d67c1f8012bda6e08b6c0a88c1069b4fabc8ae1c | /*
* Copyright (C) 1999 Lars Knoll (knoll@kde.org)
* (C) 1999 Antti Koivisto (koivisto@kde.org)
* (C) 2000 Dirk Mueller (mueller@kde.org)
* Copyright (C) 2004, 2005, 2006, 2007, 2010 Apple Inc. All rights reserved.
* Copyright (C) 2012 Samsung Electronics. All rights reserved.
*
* This librar... | C | modules/javafx.web/src/main/native/Source/WebCore/html/HTMLInputElement.h | teamfx/openjfx-9-dev-rt | gpl-2.0 | 17,585 | 461 | codeparrot/github-code |
89a079e3395e3ec3d8f400bc30530a92fce9266ab928dd3eb699b5198aa83c5e | import time
from PyQt4 import QtGui, QtCore, QtOpenGL
from PyQt4.QtOpenGL import QGLWidget
import OpenGL.GL as gl
import OpenGL.arrays.vbo as glvbo
import numpy as np
import raster
import slider
import draw_texture
import qt_helpers
raster_width = 1024
raster_height = 64
raster_n_neurons = 64
spikes_per_frame = 5
c... | Python | sparkle/main_raster.py | tcstewar/opengl_texture_rendering | gpl-2.0 | 3,315 | 110 | codeparrot/github-code |
904749965862ce890797c3b074c82d4fa9c774e459ba11505c15b43a5637fc21 | //=================================================================
// trackbarts.cs
//=================================================================
// This file implements a thread-safe TrackBar control based on the
// System.Windows.Forms.TrackBar class.
// Copyright (C) 2005 Eric Wachsmann
//
// This pro... | C# | Source/Console/Invoke/trackbarts.cs | tebrown/powersdr-if | gpl-2.0 | 25,639 | 1,020 | codeparrot/github-code |
749b7310d36e745c5ef9b49ed9269c57118b37ac01b4908f5db785fee2667a18 | <?php
/**
* The template for displaying Author Archive pages
*
* Please see /external/starkers-utilities.php for info on Starkers_Utilities::get_template_parts()
*
* @package WordPress
* @subpackage Starkers
* @since Starkers 4.0
*/
?>
<?php Starkers_Utilities::get_template_parts( array( 'parts/shared/html-... | PHP | wp-content/themes/HolmesTemplate/author.php | madeloa/holmesdev | gpl-2.0 | 1,671 | 62 | codeparrot/github-code |
2f25772c85f171338c203072c41864a0016f1199df47ddd5542b87d985bbafae | //
// Draws the player object if he is mongoman
//
var createPlayerMongoman = function() {
return {
id:"mongoman",
group:"player",
tileset:"mongoman",
killed:false,
scorecombo:1,
time:-1,
initialize: function() {
// Sets up the objects, properties on our 2D map
toys.topview.initi... | JavaScript | public/playermongoman.js | christkv/mongoman | gpl-2.0 | 6,085 | 145 | codeparrot/github-code |
ba368caed5e4acd1eac399d85bc28aeef512cd50083c97aef0df15ee793733d0 | /* vi: set sw=4 ts=4: */
/*
* Busybox main internal header file
*
* Based in part on code from sash, Copyright (c) 1999 by David I. Bell
* Permission has been granted to redistribute this code under GPL.
*
* Licensed under GPLv2, see file LICENSE in this source tree.
*/
#ifndef LIBBB_H
#define LIBBB_H 1
#includ... | C | include/libbb.h | thperret/busybox | gpl-2.0 | 83,900 | 2,220 | codeparrot/github-code |
db8e52f336bceaa37c8bca03050f4311ded1b527111956baa6bb0ab9172771e4 | --バブル・シャッフル
function c61968753.initial_effect(c)
aux.AddSetNameMonsterList(c,0x3008)
--pos
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_POSITION+CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetTarget(c61968753.postg)... | Lua | c61968753.lua | Fluorohydride/ygopro-scripts | gpl-2.0 | 2,373 | 57 | codeparrot/github-code |
8ce353914b80d854005bfa88732e78796305c7f59c4d51167fe291486c76e463 | /* Sieve of Eratosthenes
*
* A method to calculate prime numbers
*/
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
int main (int argc, char *argv[])
{
/* limit = the amount of numbers to check are prime or not */
int limit, i, j;
if (argc != 2 || ((limit = atoi(argv[1]))) <= 0) ... | C | sieve.c | superjamie/snippets | gpl-2.0 | 1,678 | 62 | codeparrot/github-code |
cabc31f37994f487c1c08ea566df00b14b797638655dda86a843e01edaddb8fe | <?php
/**
*
* @package phpbbmodders_lib
* @version $Id: functions_cute_url.php 1 2008-05-06 22:58:49Z evil3 $
* @copyright (c) 2007 phpbbmodders
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
/**
*/
if (!defined('IN_PHPBB'))
{
exit;
}
/**
* class used for the nice urls
*/
class c... | PHP | functions_cute_url/functions_cute_url.php | phpbbmodders-30x-mods/modders-libs | gpl-2.0 | 3,379 | 169 | codeparrot/github-code |
be57cdcc9b2f63ffc119700cb459e76fa0a6004d764095bae014b411d19e933f | /*
USB Driver for GSM modems
Copyright (C) 2005 Matthias Urlichs <smurf@smurf.noris.de>
This driver is free software; you can redistribute it and/or modify
it under the terms of Version 2 of the GNU General Public License as
published by the Free Software Foundation.
Portions copied from the Keyspan dri... | C | drivers/usb/serial/option.c | RIP95/android_kernel_zte_msm8960 | gpl-2.0 | 69,896 | 1,344 | codeparrot/github-code |
d0a6b8d129ab2b81016cfa746253f5d077088d659a3c10ff53ebc722401dc4a8 | package com.marginallyclever.convenience;
import java.util.ArrayList;
public class LineCollection extends ArrayList<LineSegment2D> {
private static final long serialVersionUID = 1L;
private boolean[] usePt;
public LineCollection() {
super();
}
public LineCollection(ArrayList<LineSegment2D> list) {
super()... | Java | src/main/java/com/marginallyclever/convenience/LineCollection.java | MarginallyClever/Makelangelo-software | gpl-2.0 | 2,897 | 121 | codeparrot/github-code |
84d9c41d43d91513a86ab8b4ac835b300abc1dae74b233cba47f7c68860bb7f8 | <?php
/*
* bfi_thumb - WP Image Resizer v1.2.1
*
* (c) 2013 Benjamin F. Intal / Gambit
*
* 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 op... | PHP | wp-content/themes/architekten/BFI_Thumb.php | 3cham/bv-cms | gpl-2.0 | 21,413 | 626 | codeparrot/github-code |
62875ea5ce255239e09daa21653ca26e5521954eeb0431ff8d13405a64e628c9 | #include <std.h>
/*
* ======== unit headers ========
*/
#ifndef test42_TestMod__M
#define test42_TestMod__M
#include "../../test42/TestMod/TestMod.h"
#endif
#ifndef test42_TestProg__M
#define test42_TestProg__M
#include "../../test42/TestProg/TestProg.h"
#endif
/*
* ======== target data definitions (unit TestM... | C | test42_out/test42/TestProg/TestProg-prog.c | amaret/pollen.test | gpl-2.0 | 1,644 | 92 | codeparrot/github-code |
3ea56a97cadd19f4b9e2c6ada5836d31b1d30315b87786c2b69f2cdaa586934e | /*
** $Id: propsheet_impl.h 7338 2007-08-16 03:46:09Z xgwang $
**
** propsheet.h: the head file of PropSheet control.
**
** Copyright (C) 2003 ~ 2007 Feynman Software.
** Copyright (C) 2001 ~ 2002 Wei Yongming and others.
**
** NOTE: Originally by Wang Jian and Jiang Jun.
**
** Create date: 2001/11/19
*/
#ifndef GUI_P... | C | src/include/control/propsheet_impl.h | sergei/minigui | gpl-2.0 | 1,567 | 57 | codeparrot/github-code |
b17bdc2ae74facb53088f5b050c15898f27ddfb4b5ab8cd9e9c3fa59a489e06b | <?php
/**
* Generates links of Amazon products just coming out today. You just pick categories and they appear even in JavaScript disabled browsers.
*
* @package Amazon Auto Links
* @copyright Copyright (c) 2013-2015, Michael Uno
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public Lic... | PHP | wp-content/plugins/amazon-auto-links/include/class/post_type/auto_insert/AmazonAutoLinks_PostType_AutoInsert_Action.php | ashik968/digiplot | gpl-2.0 | 4,095 | 122 | codeparrot/github-code |
c90ddaa5b97068ebf76a735c4527e3b5fbdf1777d58d2ac3e305b9a8371b2adc | // Copyright 2009 Alexander Kraskov, Harald Stoegbauer, Peter Grassberger
//-----------------------------------------------------------------------------------------
// 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... | C++ | src/mutual_information/miutils_5_old.cpp | juangpc/FastFC | gpl-2.0 | 67,246 | 2,199 | codeparrot/github-code |
29b761f69241091bd8ed8dbd32eab94cbb956371bbdd0df0378ca90ffd8a8f2d | #include "keyboard_input.h"
#include <string>
#include <cstdlib> // For exit().
#include <ncurses.h> // Here for getch().
#include "game.h"
#include "field.h"
#include "player.h"
#include "log.h"
#include "output.h"
static bool KeyCheck = false;
static int pressedKey;
void MainScreenKeys()
{
switch (pressedKey... | C++ | keyboard_input.cpp | 001100/turbo-meme | gpl-2.0 | 1,977 | 75 | codeparrot/github-code |
0ceb896b9c5c4ac00a49d89dd37e4a300206449ea6c631d5db52a3805247ce44 |
/** RoadModule class implementation.
@file RoadModule.cpp
This file belongs to the SYNTHESE project (public transportation specialized software)
Copyright (C) 2002 Hugues Romain - RCSmobility <contact@rcsmobility.com>
This program is free software; you can redistribute it and/or
modify it under the terms of the... | C++ | server/src/34_road/RoadModule.cpp | Open-Transport/synthese | gpl-2.0 | 9,776 | 345 | codeparrot/github-code |
8ded1827fbdbcbc3d93bf88737f31a1113bd60278348cc9764b2797fdc443bd9 |
/** SettingsFunction class implementation.
@file SettingsFunction.cpp
This file belongs to the SYNTHESE project (public transportation specialized software)
Copyright (C) 2002 Hugues Romain - RCSmobility <contact@rcsmobility.com>
This program is free software; you can redistribute it and/or
modify it under the ... | C++ | server/src/63_settings/SettingsFunction.cpp | Open-Transport/synthese | gpl-2.0 | 4,235 | 149 | codeparrot/github-code |
eefcc5896c7368e02e6c48f0fdc18d3b172345d36e2f4de8876b5c00aaf4e798 | <?php get_header();
?>
<?php global $pmc_data, $sitepress;
wp_enqueue_script('pmc_any');
?>
<script type="text/javascript">
jQuery(document).ready(function($){
$('.slider').anythingSlider({
hashTags : false,
expand : true,
autoPlay : true,
resizeContents : false,
pauseOnHover : true,
buildArr... | PHP | wp-content/themes/munditia/category.php | Rainlonely/strasburgo | gpl-2.0 | 6,412 | 214 | codeparrot/github-code |
1822835a2dd37fa747c611c1f67223ee61972da1a5e22efe51e2d5b106d60ea7 |
// default includes
#include "Global/Macros.h"
CLANG_DIAG_OFF(mismatched-tags)
GCC_DIAG_OFF(unused-parameter)
GCC_DIAG_OFF(missing-field-initializers)
#include <shiboken.h> // produces many warnings
#include <pysidesignal.h>
#include <pysideproperty.h>
#include <pyside.h>
#include <typeresolver.h>
#include <typeinfo>
... | C++ | Engine/NatronEngine/stringparam_wrapper.cpp | AxelAF/Natron | gpl-2.0 | 10,384 | 263 | codeparrot/github-code |
2f8e1d8f86afc3809c9e76cde5f8766f2a06197844602f21ffcbbe38350ae833 | <?
/**
* @package Simple Groupware
* @link http://www.simple-groupware.de
* @copyright Simple Groupware Solutions Thomas Bley 2002-2012
* @license GPLv2
*/
?>
<form onsubmit="ajax('folder_create',[val('cmultiple')?val('fmultiple'):tfolder,val('ftitle'),val('ftype_new'),val('fdescription_new'),val('ficon_new'),val(... | PHP | templates/ajax_folder_create.php | simplegroupware/Simple-Groupware | gpl-2.0 | 2,664 | 67 | codeparrot/github-code |
23978c198bbec93791b1afa9f7f5c62d0b8bfcf7ed1fb687a18b35770e53ebe8 | /* kernel/drivers/input/misc/apds9702.c
*
* Copyright (C) 2010 Sony Ericsson Mobile Communications AB.
* Copyright (C) 2012 Sony Mobile Communications AB.
*
* Author: Aleksej Makarov <aleksej.makarov@sonymobile.com>
* Takashi Shiina <Takashi.Shiina@sonymobile.com>
* Chikaharu Gonnokami <Chikaharu... | C | drivers/input/misc/apds9702.c | Blefish/android_kernel_qcom_msm7x30 | gpl-2.0 | 13,966 | 518 | codeparrot/github-code |
fab387554bec4edfb7297c70bc3e7645d245394723d11de7b1ecc2953b90086c | <?php
/*
** Zabbix
** Copyright (C) 2001-2014 Zabbix SIA
**
** 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.
**
** Th... | PHP | frontends/php/include/db.inc.php | 0000-bigtree/zabbix | gpl-2.0 | 32,156 | 1,293 | codeparrot/github-code |
8b1086c4b1054a4da0a26429e988012a9212b5fed01d6fe9e380e91f49f37434 | /*
* DVB subtitle decoding for ffmpeg
* Copyright (c) 2005 Ian Caulfield.
*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the... | C | ext/ffmpeg/libavcodec/dvbsubdec.c | paulcbetts/yikes | gpl-2.0 | 38,908 | 1,433 | codeparrot/github-code |
c4db4fbfa1f5958ae2cf2a03f99c85102a2c32ce5d3585c0c72bedda0bb3f0b9 | #include "elementpainter.h"
#include "board.h"
#include "command.h"
#include "constants.h"
#include "piece.h"
#include "score.h"
#include <iomanip>
#include <sstream>
#include <boost/make_unique.hpp>
namespace tetris
{
class ElementPainter::PiecePaint :
public tetris::Command
{
public:
... | C++ | elementpainter.cpp | dagon666/tetris | gpl-2.0 | 3,761 | 152 | codeparrot/github-code |
aadd2c746f654333c8eb85087fb0714691ccaebb9d5712ad08fc950bc9097e44 | /*-------------------------------------------------------------------
Copyright 2012 Ravishankar Sundararaman
This file is part of JDFTx.
JDFTx 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... | C | jdftx/electronic/SpeciesInfo_internal.h | yalcinozhabes/pythonJDFTx | gpl-2.0 | 14,933 | 316 | codeparrot/github-code |
ada031534f7d35128ad193cae1789f7791045e9e56138dc0ec9a2b6afdb241ce | /* $Id: textClient.java,v 1.34 2013/04/22 21:51:39 kiheru Exp $ */
/***************************************************************************
* (C) Copyright 2003 - Marauroa *
***************************************************************************
*********************... | Java | src/games/stendhal/client/textClient.java | sourceress-project/archestica | gpl-2.0 | 7,772 | 289 | codeparrot/github-code |
f9ac7cfd315979dc2327dc67563973b07cd568559947550f1f044635e1aa57af | package co.petsland.model.control;
import co.petsland.model.Sucursales;
import co.petsland.model.dto.SucursalesDTO;
import java.math.BigDecimal;
import java.util.*;
import java.util.Date;
import java.util.List;
import java.util.Set;
/**
* @author Zathura Code Generator http://code.google.com/p/zathura
* www.zathur... | Java | src/main/java/co/petsland/model/control/ISucursalesLogic.java | cesarvarela04/R_Pets_Land | gpl-2.0 | 1,458 | 57 | codeparrot/github-code |
6448893daae453770ce90f4db13e8c274a7070c8f747c93bcade54c8bc257fb5 | /*
* Copyright (C) 2005-2013 Team XBMC
* http://xbmc.org
*
* This Program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* ... | C++ | xbmc/settings/AdvancedSettings.cpp | davilla/mrmc | gpl-2.0 | 55,817 | 1,347 | codeparrot/github-code |
00b052a7afd82503d39284aa8cc67b1c4c2abe46285c1022bf2005803670d2fb | from flask.ext.wtf import Form
from wtforms import StringField, BooleanField, TextAreaField, SelectField, FileField, IntegerField
from wtforms.validators import DataRequired, regexp, NumberRange
from wtforms.ext.sqlalchemy.fields import QuerySelectField
from picture_hunt.models import Team, Task
class TeamForm(Form):... | Python | picture_hunt/forms.py | jkelley05/picture-scavenger-hunt | gpl-2.0 | 1,679 | 43 | codeparrot/github-code |
0c0daaf360aff01fae255f35bff7472dc301ffe58e781bffc2b8e785f4ea5a42 | #include <linux/io.h>
#include <linux/rtc.h>
#include <linux/time.h>
#include <linux/tick.h>
#include <linux/sched.h>
#include <linux/timer.h>
#include <linux/string.h>
#include <linux/module.h>
#include <linux/vmalloc.h>
#include <linux/pm_wakeup.h>
#include <linux/kernel_stat.h>
#include <mach/devices_dtb.h>
#include... | C | arch/arm/mach-msm/htc_util.c | faux123/htc_m8 | gpl-2.0 | 24,027 | 767 | codeparrot/github-code |
c34266f25279d0139c3a792a5a38f7021af1d351a0173b1b5ee316c6126c5853 | /*
* Copyright (c) 2014, 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 | test/java/sql/test/sql/DateTests.java | isaacl/openjdk-jdk | gpl-2.0 | 16,424 | 543 | codeparrot/github-code |
6cb2b85f012d3e7df8940791353823f702d27ebec06e151fee682848b612a1d1 | /*
Ghost File System, or simply GhostFS
Copyright (C) 2016 Péricles Lopes Machado
This program can be distributed under the terms of the GNU GPL.
See the file COPYING.
*/
#ifndef BASE_PROTOCOL_H
#define BASE_PROTOCOL_H
#include <stdint.h>
#include <unordered_map>
struct base_protocol {
virtual ~base_pro... | C | protocol/base_protocol.h | raphaelsc/ghostfs | gpl-2.0 | 1,228 | 42 | codeparrot/github-code |
446c373ef3c80397958fd79d430a0fa5c3bae5daf4edb01b3a0dd2731302d44d | /* jshint eqeqeq: false */
/* global $ */
"use strict";
function Solr(model, config) {
this.model = null;
this.config = null;
this.link = null;
this.result = null;
this._config = null;
$.core.Store.apply(this, arguments);
}
$.Util.inherits(Solr, $.core.Store);
module.exports = exports = Solr;... | JavaScript | lib/core/Solr.js | lay595715148/imagine | gpl-2.0 | 15,379 | 483 | codeparrot/github-code |
5a3e0cfe7de0cb36537c62e5448113f0102413751fa1f0306f1af81792ccfc73 | /*
* Digital Audio (PCM) abstract layer
* Copyright (c) by Jaroslav Kysela <perex@perex.cz>
*
*
* 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... | C | sound/core/pcm_native.c | evolver56k/xpenology | gpl-2.0 | 97,038 | 3,508 | codeparrot/github-code |
1d1d88b9df8e404dea274d0b2caa7ba4fd6327b687669c9199b340e7f1970245 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="author" content="Dominik Reichl" ... | HTML | Docs/Chm/help/base/index.html | FSteitz/KeePass | gpl-2.0 | 4,968 | 129 | codeparrot/github-code |
4fddf67c9eede5fe16575ff1abc59ef64556480073bbae5d5f238eff5602a109 | /* K&R2 1-23: Write a program to remove all comments from a C program.
Don't forget to handle quoted strings and character constants
properly. C comments do not nest.
This solution does not deal with other special cases, such as
trigraphs, line continuation with \, or <> quoting on #include,
since thes... | C | example/C Programming Code/krx12301.c | mikephp/basic_data_struct | gpl-2.0 | 3,109 | 113 | codeparrot/github-code |
bd63045c480928639baef023a4880956e80a822b313a921edb53c5263645ff62 | #define _CRT_SECURE_NO_DEPRECATE
#include <stdio.h>
#include <deque>
#include <set>
#include <cstdlib>
#ifdef _WIN32
#include "direct.h"
#else
#include <sys/stat.h>
#endif
#include "dbcfile.h"
#include "mpq_libmpq04.h"
#include "adt.h"
#include "wdt.h"
#include <fcntl.h>
#if defined( __GNUC__ )
#define _open ... | C++ | src/tools/map_extractor/System.cpp | Rvpro/EmeraldDreamv3 | gpl-2.0 | 33,556 | 1,127 | codeparrot/github-code |
fbb4248f74c8e158dab7bc2d49cd316373b4386da1e42d996f76e4a39cd1be6f | /*
* Copyright (C) 2002-2022 by the Widelands Development Team
*
* 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++ | src/network/netclient.cc | widelands/widelands | gpl-2.0 | 2,109 | 82 | codeparrot/github-code |
716ac17c26b0900f1d2e13a225d412b6a5a905a3db0f8fc59c11ffa4a0e2fe87 | <?php
/**
* Summon Controller
*
* PHP version 5
*
* Copyright (C) Villanova University 2010.
*
* 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 distribut... | PHP | module/VuFind/src/VuFind/Controller/SummonController.php | olli-gold/vufind | gpl-2.0 | 7,847 | 238 | codeparrot/github-code |
843c86e2a10efffdfba298ccead268a1bc027d87bfd718de0a3ee9d9b98c66fc | #! /bin/sh
# Copyright (C) 2011-2017 Free Software Foundation, Inc.
#
# 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 ... | Shell | t/python-virtualenv.sh | pylam/automake | gpl-2.0 | 5,642 | 202 | codeparrot/github-code |
231675767e4607210a32670505a86ea8227d7c54647822dafcf57d66a807b2d5 | /*
* Copyright (C) 2010 Georg Martius <georg.martius@web.de>
* Copyright (C) 2010 Daniel G. Taylor <dan@programmer-art.org>
*
* This file is part of FFmpeg.
*
* FFmpeg 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... | C | src/lib/libffmpeg/libavfilter/vf_deshake.c | AreaScout/vice-gles2 | gpl-2.0 | 23,928 | 621 | codeparrot/github-code |
5c65b68eb2be5efc51e570de75e9482fb562463f62464dbeb11ec0d690a2a791 | '''
from https://docs.djangoproject.com/en/1.7/topics/auth/customizing/#specifying-a-custom-user-model
'''
from django import forms
from django.contrib import admin
from django.contrib.auth.admin import UserAdmin
from django.contrib.auth.forms import ReadOnlyPasswordHashField
from django.utils.translation import gette... | Python | custom_user/admin.py | JustinWingChungHui/okKindred | gpl-2.0 | 3,150 | 92 | codeparrot/github-code |
4f954e9b1cff28bc4c971f51fdb392b5da30ed8c8fdddb831151142b9667e515 | /***************************************************************************
sidendian.h - Improtant endian functions
-------------------
begin : Mon Jul 3 2000
copyright : (C) 2000 by Simon White
email : s_a_w... | C | include/sidplay/sidendian.h | hermansr/psid64 | gpl-2.0 | 12,254 | 425 | codeparrot/github-code |
3d5ace1359cf32429596c673cabfbd6b844cb439e7f84508b110f7ccdc6d41dd | (function ($, scope, undefined) {
function NextendSmartSlider() {
this.sliders = {};
this.readys = {};
this._resetCounters = [];
}
NextendSmartSlider.prototype.makeReady = function (id, slider) {
this.sliders[id] = slider;
if (typeof this.readys[id] !== 'u... | JavaScript | wp-content/plugins/smart-slider-3/library/media/js/Slider.js | darespaco/parlaproject | gpl-2.0 | 2,037 | 59 | codeparrot/github-code |
86931cff8516e2fc76917a83aad6f260aa1d2a2d04aa3150af0736f255d563e7 | /*
* Copyright 2014 vincent Sanders <vince@netsurf-browser.org>
*
* This file is part of NetSurf, http://www.netsurf-browser.org/
*
* NetSurf 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 of... | C | netsurf/gtk/fetch.c | ashmew2/nskolibrios | gpl-2.0 | 5,927 | 257 | codeparrot/github-code |
2312c506387a9647bd20677c4def78a25b4dbbc1e8937d20a3f87785a44c24f6 | <?php
/**
* Template part for displaying posts.
*
* @link https://codex.wordpress.org/Template_Hierarchy
*
* @package DHN
*/
?>
<?php if ( is_archive() ) { ?>
<div class="grid-item">
<?php } ?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<?php
if (is_archive()) {
echo '<a href="' . esc_... | PHP | wp-content/themes/dhn/template-parts/content.php | CDH-DevTeam/DHN-WP | gpl-2.0 | 1,967 | 83 | codeparrot/github-code |
66475b8182b16af3f55d8817af260867f527b1f237a7c8e75535161517f897c0 | /*-
* #%L
* Fiji distribution of ImageJ for the life sciences.
* %%
* Copyright (C) 2007 - 2021 Fiji developers.
* %%
* 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 ... | Java | src/main/java/mpicbg/spim/registration/detection/AbstractDetection.java | fiji/SPIM_Registration | gpl-2.0 | 3,550 | 143 | codeparrot/github-code |
200046b62569ec8310f2c405dc9a22b0782b4065da928445dc9b1d29451b751c | #include "CSGTreeEvaluator.h"
#include "visitor.h"
#include "state.h"
#include "csgops.h"
#include "module.h"
#include "csgnode.h"
#include "transformnode.h"
#include "colornode.h"
#include "rendernode.h"
#include "cgaladvnode.h"
#include "printutils.h"
#include "GeometryEvaluator.h"
#include "polyset.h"
#include "poly... | C++ | src/CSGTreeEvaluator.cc | clothbot/openscad | gpl-2.0 | 8,459 | 295 | codeparrot/github-code |
78640bb73a6374debccf5c1137fcfb99f09d77640cc15df4222a6e72e8f9b916 | package com.enjoyor.hospitallink.custom;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.graphics.RectF;
import android.util.AttributeSet;
public class CircularImage extends MaskedImage {
public CircularImage(Context paramC... | Java | app/src/main/java/com/enjoyor/hospitallink/custom/CircularImage.java | degandroid/HospitalLink | gpl-2.0 | 1,117 | 38 | codeparrot/github-code |
200ac8eba3f259dee31f6b610daa2f533b18edc1b3f635916ddbd45bc173ee30 | /*
client_prvmsg.c
Author: Pekka Riikonen <priikone@silcnet.org>
Copyright (C) 1997 - 2014 Pekka Riikonen
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 of the License.
T... | C | lib/silcclient/client_prvmsg.c | silc/silc | gpl-2.0 | 42,957 | 1,359 | codeparrot/github-code |
57084857d6a7540c4c2ed6d6e57ff409c4bf4e2b33e4007329d1e4f927e4309a | /* 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 Foundation; either version 2 of the License, or
* (at your option) any l... | C++ | src/bindings/scripts/scripts/zone/alterac_valley/boss_balinda.cpp | tizbac/ldcore | gpl-2.0 | 3,609 | 130 | codeparrot/github-code |
ad5aeca5c34f5bc74c41443e1660cf888052f925b72bc11b6ed85889b77bb5b5 | /****************************************************************
* *
* Copyright 2001, 2004 Sanchez Computer Associates, Inc. *
* *
* This source code contains the intellectual property *
* of its copyright holder(s), and is made available *
* under a license. If you do not know the terms of *
* ... | C | sr_unix/lke.c | h4ck3rm1k3/FIS-GT.M | gpl-2.0 | 3,843 | 172 | codeparrot/github-code |
009cb9bf9ad2476e5c7e760eda79442fecc11e7a7285963ffe563f53ae289657 | #!/bin/sh
#
# git-submodule.sh: add, init, update or list git submodules
#
# Copyright (c) 2007 Lars Hjemli
dashless=$(basename "$0" | sed -e 's/-/ /')
USAGE="[--quiet] add [-b <branch>] [-f|--force] [--name <name>] [--reference <repository>] [--] <repository> [<path>]
or: $dashless [--quiet] status [--cached] [--r... | Shell | git-submodule.sh | AaronDP/git | gpl-2.0 | 27,526 | 1,208 | codeparrot/github-code |
d7205edc50cfb389a5f074e0ed73609b903a66ee69f3d0c8a9cb97d626a37082 | // created on 29/11/2007
// Npgsql.NpgsqlConnectionStringBuilder.cs
//
// Author:
// Glen Parker (glenebob@nwlink.com)
// Ben Sagal (bensagal@gmail.com)
// Tao Wang (dancefire@gmail.com)
//
// Copyright (C) 2007 The Npgsql Development Team
// npgsql-general@gborg.postgresql.org
// http:/... | C# | Cross/Tools/Mono/PostgreSQL/Npgsql/Npgsql/Npgsql/NpgsqlConnectionStringBuilder.cs | drazenzadravec/nequeo | gpl-2.0 | 22,179 | 1,133 | codeparrot/github-code |
f0a75b840d2fb7b8f3d4915277ba55530c86e5fc699cb615fccedca4f0caeb2a | --[[
-- base class for all OO class
--
-- author: wxm71(weixing.mei@aispeech.com)
--]]
local _M = {}
function _M:define(ins)
local ins = ins or {}
return setmetatable(ins, {__index=self})
end
-- call a function defined in super class
--
-- ARGUMENTS:
-- name: name of function to be call
--
-- TIPS:
-- th... | Lua | programming/lua/oo/object.lua | wxm71/todo | gpl-2.0 | 1,019 | 49 | codeparrot/github-code |
5363d1fa269971bf15cefaa6d18c15fc038009a21cb66aec26804acb3439e626 | // Copyright (C) 2003 Dolphin 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.
// This program is distributed in the hope that it will be useful,
// but WITHOUT ... | C | Source/Core/Common/Src/Atomic_Win32.h | Zombiebest/Dolphin | gpl-2.0 | 2,936 | 86 | codeparrot/github-code |
707499227b96675079ab0e34d7f2bb066c8241038e49ba4f2668117c4c5a4ade | from PyQRNative import *
from PIL.Image import BILINEAR, BICUBIC, ANTIALIAS, NEAREST
from reportlab.pdfgen import canvas
from reportlab.lib.pagesizes import portrait, A4
from reportlab.lib.units import cm, mm
from StringIO import StringIO
from plant.tag import create_tag
import time
from datetime import datetime
QR_TY... | Python | qr/functions.py | andbof/plantdb | gpl-2.0 | 4,614 | 116 | codeparrot/github-code |
609c6c0c632285eb04ddec8f3c5a2bffc6bad70e2dabf20164bcc14a1db721a0 | <?php
/**
* @version SEBLOD 3.x Core ~ $Id: new.php sebastienheraud $
* @package SEBLOD (App Builder & CCK) // SEBLOD nano (Form Builder)
* @url http://www.seblod.com
* @editor Octopoos - www.octopoos.com
* @copyright Copyright (C) 2009 - 2016 SEBLOD. All Rights Reserved.
* @license GNU General Public Lic... | PHP | administrator/components/com_cck/views/search/tmpl/new.php | Silasfelipegarcia/pdvoluntario | gpl-2.0 | 3,114 | 75 | codeparrot/github-code |
5f3bc9481bbcdbf66be0fcb23fa9073f1c605c067a46782c75ae273d60f9549c | /*
* Copyright (c) 2012, 2021, 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 ... | Java | compiler/src/org.graalvm.compiler.core.common/src/org/graalvm/compiler/core/common/type/AbstractObjectStamp.java | smarr/Truffle | gpl-2.0 | 15,167 | 388 | codeparrot/github-code |
d33283d284e73c0c0b1dcdfec5d58b3ccb47b67a0a66b74edb650ad87dcbee65 | package wusc.edu.pay.web.notify.receive.mail.biz;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.mail.SimpleMailMessage;
import org.springframework.mail.javamail.JavaMailSender;
import org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor;
import org.springfr... | Java | dubbo/pay/pay-web-notify-receive/src/main/java/wusc/edu/pay/web/notify/receive/mail/biz/MailBiz.java | piaolinzhi/fight | gpl-2.0 | 1,333 | 50 | codeparrot/github-code |
b94cba1282f10826c1f3a49d3cdd55c725b2ce49fac792e737a98c20627f520b | /* arch/arm/mach-msm/rpc_server_handset.c
*
* Copyright (c) 2008-2010, Code Aurora Forum. 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... | C | arch/arm/mach-msm/rpc_server_handset.c | mifl/android_kernel_pantech_ef34k | gpl-2.0 | 68,255 | 2,115 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.