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 |
|---|---|---|---|---|---|---|---|---|
864c1610f641b4824a3b91e0c504df69e2f7ddc63bf6e31b31766d0966d8f456 | <?php
namespace LeHibouc\EBookLibraryBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\Security\Core\Exception\AccessDeniedException;
class DefaultController extends Controlle... | PHP | src/LeHibouc/EBookLibraryBundle/Controller/DefaultController.php | Avzgui/LeHibouc | gpl-2.0 | 3,804 | 131 | codeparrot/github-code |
ed2c9ada17531bd9242cca7bb9e07430b566746a71f27c016e3a4907e82fdfd5 | /*
cxNES - NES/Famicom Emulator
Copyright (C) 2011-2016 Ryan Jackson
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 versio... | C | boards/btl_smb2b.c | perilsensitive/cxnes | gpl-2.0 | 2,780 | 94 | codeparrot/github-code |
835e8c36a40e422330d2e6c2a5716e25412dfe7794670f94e2fabb8ea0c31bd2 | using System;
using System.Collections.Generic;
using System.Text;
namespace MediaPoint.Subtitles.Logic.TransportStream
{
/// <summary>
/// MPEG transport stream packet
/// </summary>
public class Packet
{
/// <summary>
/// ID byte of TS Packet
/// </summary>
publi... | C# | MediaPoint_Common/Subtitles/TransportStream/Packet.cs | msimic/MediaPoint | gpl-2.0 | 5,546 | 133 | codeparrot/github-code |
b89af41f19718a3555319f154298dfe14e7ffa4548359bd6cdd66a2a8c3c7292 | /****************************************************************************
* Render Radiance Scaling *
* Meshlab's plugin *
* *
* Copyri... | C | src/plugins/render_radiance_scaling/shaderDialog.h | guerrerocarlos/meshlab | gpl-2.0 | 3,520 | 97 | codeparrot/github-code |
4da1749d8ba90e9a028696d81a4924e63d62d81529ac9789eaaa5e6ab9033a44 | <!doctype html>
<html class="theme-next use-motion ">
<head>
<meta charset="UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
<meta http-equiv="Cache-Control" content="no-transform" />
<meta http-equiv=... | HTML | 2016/03/01/第27轮阿森纳客场挑战曼联/index.html | liuasliy/liuasliy.github.io | gpl-2.0 | 17,713 | 671 | codeparrot/github-code |
de2c54aa4472434c9e876d855109082a1a891be413b3a53595e1c95062e6fc69 | package tokensearch
import (
"unicode"
)
type RuneReader interface {
ReadRune() (rune, int, error)
}
type TokenNodeVisitorPool struct {
root *TokenNode
inactiveVisitors map[int]*TokenNodeVisitor
activeVisitors map[int]*TokenNodeVisitor
currPos int
lastPos int
currRune rune
lastRune run... | GO | tokennodevisitorpool.go | palmergs/tokensearch | gpl-2.0 | 2,746 | 110 | codeparrot/github-code |
da022fa78ac8b10f38125997786bc86ff8d47f697dd6431e32cf7049e79595f8 | /******************************************************************************
Copyright (C) 2013 by Hugh Bailey <obs.jim@gmail.com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, e... | C | libobs-opengl/gl-helpers.h | fryshorts/obs-studio | gpl-2.0 | 4,572 | 162 | codeparrot/github-code |
feaf42d21ab25f94d40509213df60695090eeff379796eb2daaf139d0c187f25 | /* Target-dependent code for the NEC V850 for GDB, the GNU debugger.
Copyright (C) 1996-2013 Free Software Foundation, Inc.
This file is part of GDB.
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 Softw... | C | gdb/v850-tdep.c | jlebar/gdb | gpl-2.0 | 34,790 | 1,190 | codeparrot/github-code |
3a5079a8eae8ef7bd220cccb4c2abe7a0c56129c2c3c2689c432268910df48a3 | # To change this license header, choose License Headers in Project Properties.
# To change this template file, choose Tools | Templates
# and open the template in the editor.
__author__ = "alex"
__date__ = "$Jun 1, 2015 10:46:55 PM$"
from math import radians, sin, cos, sqrt, asin
from bs4 import BeautifulSoup
from ty... | Python | Python3/restraunt_finder.py | Dr762/PythonExamples3.4 | gpl-2.0 | 6,651 | 209 | codeparrot/github-code |
2003a981d2bc03464e9485e1056fb48e9faa31a6462104fbab7d387798c6f98b | <?php
namespace TYPO3\CMS\Frontend\Http;
/*
* This file is part of the TYPO3 CMS project.
*
* It is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License, either version 2
* of the License, or any later version.
*
* For the full copyright and license informa... | PHP | typo3/sysext/frontend/Classes/Http/RequestHandler.php | liayn/TYPO3.CMS | gpl-2.0 | 14,635 | 368 | codeparrot/github-code |
c738808008f1834d79b282f6f81a181545432a250c7c0487f4e96567318db5be | /*******************************************************************************
* Filename: target_core_rd.c
*
* This file contains the Storage Engine <-> Ramdisk transport
* specific functions.
*
* (c) Copyright 2003-2013 Datera, Inc.
*
* Nicholas A. Bellinger <nab@kernel.org>
*
* This program is free soft... | C | drivers/target/target_core_rd.c | freedesktop-unofficial-mirror/tegra__linux | gpl-2.0 | 16,840 | 676 | codeparrot/github-code |
4fedd10ef13180148fd68b8373dc698621351e967c6f83d936bc25fea0a574b1 | <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* Handles Database Search
*
* @package PhpMyAdmin
*/
namespace PhpMyAdmin;
use PhpMyAdmin\Sanitize;
use PMA\libraries\URL;
use PMA\libraries\Util;
/**
* Class to handle database search
*
* @package PhpMyAdmin
*/
class DbSearch
{
/**
* Database name
... | PHP | libraries/classes/DbSearch.php | Achilles-96/phpmyadmin | gpl-2.0 | 17,612 | 493 | codeparrot/github-code |
a5d76f498e4532f9114eb90824d69349e5ab1a8593827af33683253763970390 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% __________ __ ___.
% Open \______ \ ____ ____ | | _\_ |__ _______ ___
% Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
% Jukebox | | ( <_> ) \___| < | \_\ ( <_> > <... | TeX | Player/manual/preamble.tex | renolui/RenoStudio | gpl-2.0 | 14,903 | 411 | codeparrot/github-code |
23826f83fb93d054369acc12181ec465dcdd3df2337d07f7eaf15aa81a524a11 | package by.toggi.rxbsuir.fragment;
import android.appwidget.AppWidgetManager;
import android.content.Context;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.preference.Preference;
import android.widget.Toast;
import by.toggi.rxbsuir.PreferenceHelper;
import by.toggi.rxb... | Java | app/src/main/java/by/toggi/rxbsuir/fragment/AppWidgetConfigFragment.java | drymarev/rxbsuir | gpl-2.0 | 6,070 | 169 | codeparrot/github-code |
6f664fb975fe45b226046dc71b30260dc00d4fd3190cd37c632352e6e55ac4e5 | /*
* drivers/gpu/ion/ion_system_heap.c
*
* Copyright (C) 2011 Google, Inc.
* Copyright (c) 2011-2014, The Linux Foundation. All rights reserved.
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
* may be copied, distrib... | C | drivers/staging/android/ion/ion_system_heap.c | thestealth131205/HTC_Desire_510_64bit | gpl-2.0 | 13,442 | 531 | codeparrot/github-code |
6ecbd98522ae84b85fa7d6b3da1b7446d1c7a712365de86af58cd6454afbb08d | /**
* This file is a part of ncxmms2, an XMMS2 Client.
*
* Copyright (C) 2011-2018 Pavel Kunavin <tusk.kun@gmail.com>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version... | C++ | src/lib/Object.cpp | pkunavin/ncxmms2 | gpl-2.0 | 2,067 | 85 | codeparrot/github-code |
130c47e5468780b7e3c471808d9682a059bbfc2a92ee7bbd47dd78540eb991ee | /*
* Copyright © 2010 Christian Persch
*
* 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 is distributed ... | C | src/terminal-info-bar.h | mikelward/gnome-terminal | gpl-2.0 | 2,282 | 63 | codeparrot/github-code |
760682d575805f6a8a52600c8cea7dc5fea10b9e9f7df04b2e5c92b0f3bfc1af | <?php
/**
* ItStream.
*
* @package ItStream
* @author it-marketing <info@itmsolution.it>
* @license GPL-2.0+
* @link http://www.itmarketingsrl.it/
* @copyright 2014 it-marketing
*/
/**
* Official ItStream Wordpres plugin
*
* @package ItStream
* @author itMarketing <info@itmarketingsrl.it>
*/
... | PHP | public/class-itstream.php | wp-plugins/itstream | gpl-2.0 | 8,387 | 358 | codeparrot/github-code |
c897468eaaa1702e17f605beefc47c8c08f3e8cd92f6281134bd61ef3fc5b707 | /* Floating point routines for GDB, the GNU debugger.
Copyright (C) 1986, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996,
1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2007, 2008, 2009, 2010,
2011 Free Software Foundation, Inc.
This file is part of GDB.
This program is free software; you can r... | C | gdb/doublest.c | ptriller/dcpu-binutils | gpl-2.0 | 28,785 | 933 | codeparrot/github-code |
9cdc7dfb4c5538c69ee3a073e125210bb5e60e51a18bb470e8a03f3b17873f39 | /*
* PANDA -- a simple transaction monitor
* Copyright (C) 2001-2008 Ogochan & JMA (Japan Medical Association).
*
* 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 Li... | C | aps/handler.c | montsuqi/panda | gpl-2.0 | 15,433 | 575 | codeparrot/github-code |
930279f23af2ec9eb22de2e38abdb4cbbeb76c9e723fa9403b038d87b837c9ba | /*
* This file is part of Dune Legacy.
*
* Dune Legacy 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.
*
* Dune Legacy is... | C++ | src/FileClasses/FontManager.cpp | thebohemian/dunelegacy-richiesbranch | gpl-2.0 | 3,937 | 131 | codeparrot/github-code |
16a91f36555091653f3cda91f9c7c9eb2bc1a4532bf1b0343929e75763d2621a | //
// hash ÇÔ¼ö¸¦ ¸¸µê. by hyypucs 2005.4.14.
// dangling ¸¦ record ¸Þ¸ð¸®·Î »ç¿ëÇØ¼ ó¸®
//
#include <pthread.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <sys/types.h>
#include <unistd.h>
#include <fcntl.h>
#include <time.h>
#include <sys/stat.h>
#include "dwtype.h"
#include "dwhash.h"
#in... | C | dwhash.c | hyypucs/NTWOAD | gpl-2.0 | 12,780 | 480 | codeparrot/github-code |
6bc2372ef49fe335b05b122a6a7198a87e56145f8b829d91d2727dd4bebbfe7c | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="../../../feed.xml" />
<title>The Stanford Review - March 1... | HTML | old_archives/Archive/Volume_XXXVIII/Issue_3/index.html | stanfordreview/site | gpl-2.0 | 25,415 | 405 | codeparrot/github-code |
561d75769bf4b181d88cd336fe16b2cf14912f41a40d6aa636b5af61e20c5bb2 | /* Copyright (c) 2011-2012, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the... | C | arch/arm/mach-msm/devices-9615.c | tkymgr/KTG_kernel-3.0_msm7x30 | gpl-2.0 | 36,472 | 1,473 | codeparrot/github-code |
85449f4f553a40a53a99114034175573c87eb2b52309405bfb628973f0f1535e | <?php
/**
* WP Advanced Search
*
* A PHP framework for building advanced search forms in WordPress
*
* @author Sean Butze
* @link https://github.com/growthspark/wp-advanced-search
* @version 1.1.2
* @license MIT
*/
require_once('wpas-field.php');
if (!class_exists('WP_Advanced_Search')) {
class WP_Advan... | PHP | directory/wp-content/themes/atlas/framework/functions/wpas.php | scorpioinfotech/mariasplace2 | gpl-2.0 | 38,062 | 1,051 | codeparrot/github-code |
3b67d3822ac0d0028bae1666ea0c0f32a3d39cab7ea7488c26f5b2c0ddf61cf4 | /**
* Book: Data Structures and Algorithms in Java, by Robert LaFore
* Chapter 2:
* classDataArray.java
* data items as class objects
* to compile this code: javac classDataArray.java
* to run this program: java ClassDataApp
*/
class Person {
private String lastName;
private String firstName;
pr... | Java | Algorithms/array/classDataArray.java | biblelamp/JavaExercises | gpl-2.0 | 3,987 | 115 | codeparrot/github-code |
24c2158474da629e42dc566ea0bf513d1973937e8aad8dc6a3108edb6147d300 | /* ypkg2
*
* Copyright (c) 2013 StartOS
*
* Written by: 0o0<0o0zzyz@gmail.com> ChenYu_Xiao<yunsn0303@gmail.com>
* Date: 2013.3.11
*/
#include <stdio.h>
#include <getopt.h>
#include <time.h>
#include "ypackage.h"
#include "util.h"
#define COLOR_RED "\e[31;49m"
#define COLOR_GREEN "\e[32;49m"
#define COLOR_YELLO "... | C | ypkg.c | wkt/ypkg2 | gpl-2.0 | 50,134 | 1,313 | codeparrot/github-code |
a556e820951f4c82fca1e83a5a50bf278cce69416c827997c81ce2ac2bdb6c8a | VERSION = 3
PATCHLEVEL = 12
SUBLEVEL = 8
EXTRAVERSION =
NAME = One Giant Leap for Frogkind
# *DOCUMENTATION*
# To see a list of typical targets execute "make help"
# More info can be located in ./README
# Comments in this file are targeted only to the developer, do not
# expect to learn how to build the kernel reading... | Makefile | Makefile | DeltaResero/GC-Wii-Linux-Kernel-3.12.y | gpl-2.0 | 49,234 | 1,458 | codeparrot/github-code |
99d1ffd323c212b664d28e9fd1c3ece52296fc66515ad996e6782685c4b94f33 | /* packet-zbee-zcl-ha.c
* Dissector routines for the ZigBee ZCL SE clusters like
* Messaging
* By Fabio Tarabelloni <fabio.tarabelloni@reloc.it>
* Copyright 2013 RELOC s.r.l.
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <gerald@wireshark.org>
* Copyright 1998 Gerald Combs
*
* This program is fre... | C | epan/dissectors/packet-zbee-zcl-se.c | weizhenwei/wireshark | gpl-2.0 | 20,855 | 563 | codeparrot/github-code |
ac151f9577133ca32adfe679aa00e4a4319a49388b05840c82445c8130a53996 | <?php
/**
* Discount Codes Table Class
*
* @package EDD
* @subpackage Admin/Discounts
* @copyright Copyright (c) 2015, Pippin Williamson
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
* @since 1.4
*/
// Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) exit;
/... | PHP | includes/admin/discounts/class-discount-codes-table.php | gelther/eed2 | gpl-2.0 | 13,494 | 475 | codeparrot/github-code |
6c5bee2b9c3de51ed549388b6000e608410b8ad1c8f1e1807bd6f288224cc45a | /*
* Copyright (C) 2007 Novell, Inc.
*
* Inspired by various other pieces of code including GsmClient (C)
* 2001 Havoc Pennington, GnomeClient (C) 1998 Carsten Schaar, and twm
* session code (C) 1998 The Open Group.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of... | C | src/smclient/eggsmclient-xsmp.c | emillon/gmpc | gpl-2.0 | 38,721 | 1,376 | codeparrot/github-code |
6b23c24ea445308cb6838903f615a03366b0cef057b0143670a92a5d9e45506c | /*
* Copyright (C) 2013 DiamonEMU <http://diamondemu.freeforums.org/>
* Copyright (C) 2008-2013 TrinityCore <http://www.trinitycore.org/>
* Copyright (C) 2005-2009 MaNGOS <http://getmangos.com/>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General ... | C++ | src/server/game/Handlers/MiscHandler.cpp | Yamatoo/DiamondCore | gpl-2.0 | 76,530 | 2,124 | codeparrot/github-code |
2775158cbb4e1456b620f733b53fba9b2f67750709ab307fe0c918d53922e6cc | /* adau1761_pdata.h
*
* Control driver for adau1761 .
*
* Copyright (C) 2009 TomTom BV <http://www.tomtom.com/>
* Authors: Niels Langendorff <niels.langendorff@tomtom.com>
*
* 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 | go12/linux-2.6.28.10/arch/arm/plat-tomtom/mendoza/include/plat/adau1761_pdata.h | kzlin129/tt-gpl | gpl-2.0 | 1,123 | 50 | codeparrot/github-code |
20817e0091e5ff33bd7e6109f577d1018e8261170dd7a042180fbccaba14a169 | <?php
# Lifter002: TEST
# Lifter007: TODO
# Lifter003: TODO
# Lifter010: TODO
// +--------------------------------------------------------------------------+
// This file is part of Stud.IP
// Copyright (C) 2001-2004 Stud.IP
// +--------------------------------------------------------------------------+
// This program... | PHP | lib/evaluation/classes/EvaluationExportManager.class.php | ratbird/hope | gpl-2.0 | 8,797 | 276 | codeparrot/github-code |
2959612a4f84a9026682706c261a4697f6e456cf1c782c87302ca189e95d32ee | /*
* Copyright (c) 1996-1998 Stefan Taferner <taferner@kde.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 version.
... | C++ | mailcommon/filter/filteractionwithurl.cpp | chusopr/kdepim-ktimetracker-akonadi | gpl-2.0 | 2,358 | 87 | codeparrot/github-code |
590b8bcade3e0b949e84fb617d128bf3d5c8eef6c07bec81bfc27f7afed0e9df | <?php
/**
* @package redSocialstream
* @subpackage Models
*
* @copyright Copyright (C) 2012 - 2013 redCOMPONENT.com. All rights reserved.
* @license GNU General Public License version 2 or later, see LICENSE.
*/
defined('_JEXEC') or die;
class RedSocialStreamModelPosts extends JModelLegacy
{
var $_da... | PHP | component/admin/models/posts.php | nharedweb/redSOCIALSTREAM2 | gpl-2.0 | 3,032 | 110 | codeparrot/github-code |
c8be003b3bfd0f92ff8bf029204a5377d0c98e04fd06ca45ab010988d74e73e4 | #!/usr/bin/python3
# -*- coding: utf-8 -*-
"""Programa que actua como proxy-registrar en UDP."""
import socketserver
import socket
import sys
import json
import hashlib as HL
from xml.sax import make_parser
from xml.sax.handler import ContentHandler
from time import time, gmtime, strftime
from random import choice, ran... | Python | proxy_registrar.py | robernom/ptavi-pfinal | gpl-2.0 | 9,375 | 246 | codeparrot/github-code |
a5d1075c5d7d42838c67eabe2b1ad32270f9750cfffa9245d85cde5f6cc7aa1b | <?php
/*
$Id$
*/
class GoogleSitemapGeneratorUI {
/**
* The Sitemap Generator Object
*
* @var GoogleSitemapGenerator
*/
private $sg = null;
public function __construct(GoogleSitemapGenerator $sitemapBuilder) {
$this->sg = $sitemapBuilder;
}
private function HtmlPrintBoxHeader... | PHP | sitemap-ui.php | wp-plugins/google-sitemap-generator | gpl-2.0 | 58,827 | 1,323 | codeparrot/github-code |
5d4675038d789a419f8c82163e54079ffb779514062778718889228b41bcd0da | <?php
class Illdy_Widget_Counter extends WP_Widget {
/**
* Register widget with WordPress.
*/
function __construct() {
parent::__construct( 'illdy_counter', __( '[Illdy] - Counter', 'illdy' ), array( 'description' => __( 'Add this widget in "Front page - Counter Sidebar".', 'illdy' ), ) );
... | PHP | wp-content/themes/illdy/widgets/class-widget-counter.php | pedrohff/lavajatoeco | gpl-2.0 | 5,999 | 109 | codeparrot/github-code |
c23031e88d98c96108d4bd8ef460859fa5e37431164a47a55475c3ee661cc57e | #pragma once
#ifndef __Y_HASHGRID_H
#define __Y_HASHGRID_H
#include <yafray_constants.h>
#include <core_api/bound.h>
#include <list>
#include <vector>
__BEGIN_YAFRAY
class photon_t;
struct foundPhoton_t;
class bound_t;
class point3d_t;
class YAFRAYCORE_EXPORT hashGrid_t
{
public:
hashGrid_t(){hashGrid = nullptr;... | C | include/yafraycore/hashgrid.h | YafaRay/Core | gpl-2.0 | 1,023 | 52 | codeparrot/github-code |
59634d8868eeaa679fff847f2747aa56af75aeb53e83487b039ca0dd25155f5f | /**
* OWASP Benchmark v1.2
*
* This file is part of the Open Web Application Security Project (OWASP)
* Benchmark Project. For details, please see
* <a href="https://owasp.org/www-project-benchmark/">https://owasp.org/www-project-benchmark/</a>.
*
* The OWASP Benchmark is free software: you can redistribute it and/or m... | Java | src/main/java/org/owasp/benchmark/testcode/BenchmarkTest00007.java | h3xstream/Benchmark | gpl-2.0 | 2,374 | 73 | codeparrot/github-code |
abe99bea9cc0589687fa908e02229eb8a65166f64515edf8758b06542b39ad7c | <?php
/**
* The template for displaying posts in the Gallery post format
* @package Arunachala
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<?php if ( is_home () && has_post_thumbnail()) : ?>
<a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>" >
<?php the_post_thu... | PHP | content-gallery.php | cvanidev/Arunachala | gpl-2.0 | 2,878 | 78 | codeparrot/github-code |
5e4d31a5eba4167ad51f88482dcf8b227ca64f42945b2d2ea9bca9de7f9dcb03 | /*
* GPL HEADER START
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This program 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 Software Foundation.
*
* This program is distributed... | C | lustre/mdt/mdt_hsm_cdt_requests.c | walgenbach/lustre-release | gpl-2.0 | 14,585 | 594 | codeparrot/github-code |
ebf946354fb5edc730ef3b2d609ffaef8dd2a467528af88b299a0040ad611d7c | /**
* @package Joomla.Site
* @subpackage Templates.caro
* @copyright Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
* @since 3.2
*/
(function($)
{
$(document).ready(function()
{
$(... | JavaScript | templates/marg/js/template.js | yogenyogen/margbillini | gpl-2.0 | 1,379 | 45 | codeparrot/github-code |
06794663aa41bca88536aac981ac806071ce35d42c8df73f33e104db9f277a7e | package net.synergisticfantasy.wol.network;
import java.io.*;
import java.net.*;
public class WakeNet {
public static final int[] PORTS = new int[] {7, 9};
private InetAddress broadcastIPAddress;
private byte[] magicPacket;
public WakeNet(String mac) throws UnknownHostException {
this.broadcastIPAddress = s... | Java | src/main/java/net/synergisticfantasy/wol/network/WakeNet.java | synergistic-fantasy/wakeonlan-java | gpl-2.0 | 2,129 | 79 | codeparrot/github-code |
0c13344a744f5f37db324f2b4c4e4c85a880586be6a40e5f9d4bc70d5d06c507 | #ifndef CPU_SPARC_H
#define CPU_SPARC_H
#include "config.h"
#if !defined(TARGET_SPARC64)
#define TARGET_LONG_BITS 32
#define TARGET_FPREGS 32
#define TARGET_PAGE_BITS 12 /* 4k */
#define TARGET_PHYS_ADDR_SPACE_BITS 36
#define TARGET_VIRT_ADDR_SPACE_BITS 32
#else
#define TARGET_LONG_BITS 64
#define TARGET_FPREGS 64
#d... | C | hqemu/target-sparc/cpu.h | ComputerSystemLab/hqemu | gpl-2.0 | 19,029 | 648 | codeparrot/github-code |
faf5c3e703035d475eb0112c64ab9f1729363da76877533940aebf306ccd7b27 | /**********************************************************************************
*
* S5TECH(c) NETWORK APPLICATION DOCUMENTATION AND LICENSE
* Version 1.6, September 2014
* http://www.s5tech.com/
*
* Permission to copy, modify, and distribute this softw... | Java | jena2/src/com/s5tech/net/serial/SocketSerialPortProxy.java | hammertong/s5tech | gpl-2.0 | 5,110 | 205 | codeparrot/github-code |
5dedaeb8c32eaa4041da80e56e126b9c8be51aea920b6e7e24c2564f2f0f7c08 | /*
* 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 | src/id3.c | andygrundman/Audio-Scan | gpl-2.0 | 49,246 | 1,730 | codeparrot/github-code |
6e7b152b9f9f87055b7ead960dd029ec5c3c7b6f56720560b5a5edadeffd3bf6 | /*
* Copyright (C) 1999 Antti Koivisto (koivisto@kde.org)
* Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundat... | C++ | modules/javafx.web/src/main/native/Source/WebCore/platform/graphics/transforms/TransformOperations.cpp | teamfx/openjfx-9-dev-rt | gpl-2.0 | 4,521 | 130 | codeparrot/github-code |
af448e16ad71bf69d15274671a806f042691760a1df42b4be3a291ce8069a1da | <?php
/**
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be us... | PHP | public_html/apps/public_service/modules/article/article_views/dsp_single_article.php | masterit92/c-par | gpl-2.0 | 4,093 | 124 | codeparrot/github-code |
d423404f0436c7c7927c1dc515624c30d01be38b2dbb2675a430580116d883c3 | """
#header
"""
import base64
import datetime
import logging
from joj.crowd.models import UserRequest
import urllib2
import simplejson
from simplejson import JSONDecodeError
log = logging.getLogger(__name__)
class ClientException(Exception):
""" Base exception for Crowd-based errors """
def __init__(self):
... | Python | majic/joj/crowd/client.py | NERC-CEH/jules-jasmin | gpl-2.0 | 12,041 | 359 | codeparrot/github-code |
b6c9b1aacf8531145c5dc134a31a4b18e749e0ea1b1c2ae3006780938d2532b4 | /* Copyright (c) 2011-2012, 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.
*
* This program is distributed in the ho... | C | drivers/media/video/msm/msm_mctl.c | jameskdev/lge-kernel-d1l_kr | gpl-2.0 | 44,667 | 1,680 | codeparrot/github-code |
12f1d3e2f661116c2d84f1cc35cdbf641cbd4422fd3f664db4315b1c7690ce2a | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package at.punkt.lodms.web.event;
import at.punkt.lodms.spi.extract.ExtractCompletedEvent;
import at.punkt.lodms.spi.transform.TransformCompletedEvent;
import at.punkt.lodms.spi.transform.TransformEvent;
import at.punkt... | Java | lodms-web/src/main/java/at/punkt/lodms/web/event/Log4jTransformListener.java | lodms/lodms-core | gpl-2.0 | 1,204 | 33 | codeparrot/github-code |
0399c9a8faa07bb43ca8061eee0dfb520eb3769da31991013295b85004230c21 | /*
Copyright (C) 2012 Carl Hetherington <cth@carlh.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 later version.
... | C | src/wx/audio_plot.h | cth103/dcpomatic1 | gpl-2.0 | 1,717 | 60 | codeparrot/github-code |
4d4940b91dfa7e3302da56b4cf08d11dfa5fe473f35edebac26f3de0fb3ae76b | /* Copyright Statement:
*
* This software/firmware and related documentation ("MediaTek Software") are
* protected under relevant copyright laws. The information contained herein
* is confidential and proprietary to MediaTek Inc. and/or its licensors.
* Without the prior written permission of MediaTek inc. and/or ... | Java | packages/apps/Browser/src/com/android/browser/sitenavigation/SiteNavigationAddDialog.java | rex-xxx/mt6572_x201 | gpl-2.0 | 14,525 | 367 | codeparrot/github-code |
c9cb36ea1cd3b5b1b6b4ebbaad3d86279678f1df619e9beae664cf32213de980 | /***************************************************************************
Argus (Early NMK driver 1986-1987)
-------------------------------------
driver by Yochizo
Special thanks to :
=====================
- Gerardo Oporto Jorrin for dipswitch informations.
- Suzuki2go for screenshots of Argus and Valtric.
- ... | C | src/drivers/argus.c | amadvance/advancemame | gpl-2.0 | 35,958 | 964 | codeparrot/github-code |
82f3b6345bd07049e31ae0abf754a295624c76db544c4025ed7b8b6eb7ec8507 | <!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>8. Top-level components — Python 2.7.10rc0 do... | HTML | live-build-config/config/includes.chroot/usr/share/documentation/python/2.7.1/reference/toplevel_components.html | cybint-io/cybint-linux | gpl-2.0 | 13,254 | 228 | codeparrot/github-code |
dc76a36e550fccc929abe82bcaad21ac1f32d15529d37d9b5aa46a4efac8185f | /*
* Copyright (c) Microsoft Corporation.
*
* Author:
* Jake Oshins <jakeo@microsoft.com>
*
* This driver acts as a paravirtual front-end for PCI Express root buses.
* When a PCI Express function (either an entire device or an SR-IOV
* Virtual Function) is being passed through to the VM, this driver exposes
... | C | hv-rhel6.x/hv/pci-hyperv.c | haiyangz/lis-next | gpl-2.0 | 66,530 | 2,349 | codeparrot/github-code |
fb3b6ffc8d3bf82f16a2edee53f9cdfd759b58d4fd2a3c4eb81ede89d4d2a2c4 | /*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright held by original author
\\/ M anipulation |
------------------... | C++ | src/lagrangian/dieselSpray/spraySubModels/breakupModel/reitzDiwakar/reitzDiwakar.C | Unofficial-Extend-Project-Mirror/openfoam-extend-Core-OpenFOAM-1.5-dev | gpl-2.0 | 5,301 | 182 | codeparrot/github-code |
7ad8b626f7854e6c51da6f68bd09cef4bf3e8651416d9305f49688074432454a | (function ($) {
Drupal.viewsSlideshow = Drupal.viewsSlideshow || {};
/**
* Views Slideshow Controls
*/
Drupal.viewsSlideshowControls = Drupal.viewsSlideshowControls || {};
/**
* Implement the play hook for controls.
*/
Drupal.viewsSlideshowControls.play = function (options) {
// Route the co... | JavaScript | performance_coaching/js/js_eti2JveFTmxR2m9ovQnO9L8-hlFBbZMF9JaIB0QyRUo.js | mikeusry/Polaris-Performance | gpl-2.0 | 51,125 | 1,380 | codeparrot/github-code |
b474764fc883cd182fd3e68d73ea712db99941b323edd9b377f7dd0b62b2ef93 | /*
* This file is part of the am644-disp project.
*
* Copyright (C) 2010,2014 Urja Rannikko <urjaman@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the L... | C | main.c | urjaman/am644-disp-st7565 | gpl-2.0 | 1,395 | 53 | codeparrot/github-code |
eff35968e2515ad3672f83edc50bd780fa5569c78602a9ac232715e5337f2144 | <?php get_header(); ?>
<?php if (is_page(105)) { ?>
<div id="random">
<a href="<?php bloginfo('url'); ?>/2012-season/outfoxed/" />
<img src="<?php bloginfo('url'); ?>/images/glow_button_new.gif" />
</a>
</div>
<?php } else { ?>
<?php get_sidebar(); ?>
<!--[if lt IE 9]>
<style>
#conten... | PHP | wp-content/themes/whiteboard/page.php | shlomsky/fs | gpl-2.0 | 1,699 | 75 | codeparrot/github-code |
27148cf28ca96c008183cc17dd8e1d57dd2d3333125f66043580e3715097b953 | <?php
## Shelf List Get
## Copyright 2008 Darrell Ulm
## This file is part of koha-extras.
## koha-extras 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
## (... | PHP | shelf_get.php | drulm/Koha-PHP-Extras | gpl-2.0 | 13,742 | 414 | codeparrot/github-code |
49e5638b429aba8b29b9e1486a788dc293831f3374cbc565566ef6e4652514f0 | /*=========================================================================
Program: Visualization Toolkit
Module: $RCSfile: vtkTypedArray.h.in,v $
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
T... | C | deps/include/vtk-5.2/vtkTypeUInt8Array.h | erik132/MolekelCUDA | gpl-2.0 | 1,444 | 43 | codeparrot/github-code |
21818801f25e8d879f928f9f0d6ac701bd1fd5bbe358a21065ab4cca1e22450b | from django import forms
from django.contrib.auth.forms import AuthenticationForm, PasswordChangeForm
from crispy_forms.bootstrap import FormActions, AppendedText, StrictButton, InlineField
from crispy_forms.helper import FormHelper
from crispy_forms.layout import Layout, Submit, Button, Field, Hidden, HTML, Div
clas... | Python | alastair_cookie/forms.py | blacksph3re/alastair | gpl-2.0 | 1,349 | 39 | codeparrot/github-code |
b5eb645c9b8ab412a706dcbde83ead8509fff069a76a9aa331c3244cbd5e5c15 | <?php
/**
* Health Report for Joomla! 1.5
* @author Alexander Barannikov
* @copyright 2010 Seanetix Company
*/
defined('_JEXEC') or die('Access denied.');
jimport('joomla.application.component.model');
require_once(JPATH_COMPONENT.DS.'..'.DS.'com_jforce'.DS.'models'.DS.'phase.php');
class HReportModelReport exte... | PHP | components/com_hreport/models/report.php | intelogen/organica | gpl-2.0 | 8,856 | 255 | codeparrot/github-code |
9653fda1dd27f5ff0d1ac1fcc3a753f99b55a2b1a0feb1c1490e6927b9ed6406 | <?php
/**
* Sets the column width options to be provided to each lablab builder module.
*
* @link https://github.com/team-ok
* @since 1.0.0
* @author Timo Klemm
*
* @package Lablab_Builder
* @subpackage Lablab_Builder/includes
*/
class Lablab_Column_Width_Options {
/**
* The selectabl... | PHP | includes/class-lablab-column-width-options.php | team-ok/lablab-builder | gpl-2.0 | 4,355 | 165 | codeparrot/github-code |
7fa0363b57f59ebc69800bf935b3095a2c3ee3e602163eba7ca6048b8ded5def | // WPtouch Basic Client-side Ajax Routines
function WPtouchAjax( actionName, actionParams, callback ) {
var ajaxData = {
action: "wptouch_client_ajax",
wptouch_action: actionName,
wptouch_nonce: wptouchMain.security_nonce
};
for ( name in actionParams ) { ajaxData[name] = actionParams[name]; }
jQuery.post( ... | JavaScript | wp-content/plugins/wptouch/include/js/wptouch.js | novichok2/jg | gpl-2.0 | 1,500 | 54 | codeparrot/github-code |
068429fde07942aa94cdb9be86976874be701ca3b2ec27561aca3747b0d8669b | /* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */
/* NetworkManager Applet -- allow user control over networking
*
* Dan Williams <dcbw@redhat.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published ... | C | src/mobile-helpers.c | pavlix/nm-applet | gpl-2.0 | 22,039 | 700 | codeparrot/github-code |
d63173ab44f2b4cd04b1437860b5628b84031ebce2dc65e878330fb00fb1b21f | #ifndef OPIE_PIM_CACHE_H
#define OPIE_PIM_CACHE_H
#include <qintcache.h>
#include "opimrecord.h"
class OPimCacheItemPrivate;
template <class T = OPimRecord>
class OPimCacheItem {
public:
OPimCacheItem( const T& t = T() );
OPimCacheItem( const OPimCacheItem& );
~OPimCacheItem();
OPimCacheItem &opera... | C | noncore/unsupported/libopie/pim/opimcache.h | opieproject/opie | gpl-2.0 | 2,508 | 132 | codeparrot/github-code |
49c8d584c0e4fdceabba40b070114f011034ee6fa0cb881238954fb333e8ff11 |
// LoraBBS Version 2.99 Free Edition
// Copyright (C) 1987-98 Marco Maccaferri
//
// 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 ... | C++ | modem.cpp | maccasoft/lora3 | gpl-2.0 | 11,680 | 419 | codeparrot/github-code |
0ba239ef550178e4151ae780ff1e3612e9fc56d246d7be29fa65d0fd5c7f1d52 | /**
* Copyright (c) 2001-2002. Department of Family Medicine, McMaster University. All Rights Reserved.
* This software is published under the GPL GNU General Public License.
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published... | Java | src/main/java/org/oscarehr/eyeform/web/SpecsHistoryAction.java | hexbinary/landing | gpl-2.0 | 6,671 | 166 | codeparrot/github-code |
ec278aa04ea82cb477c06a0016f021c61d1bdce01833ec7f1066c5295a84bc18 | /************************************************************************
*
* MAME - Discrete sound system emulation library
*
* Written by Keith Wilkins (mame@dysfunction.demon.co.uk)
*
* (c) K.Wilkins 2000
* (c) D.Renaud 2003-2004
*
***********************************************************************
... | C | user/games/xmame/xmame-0.106/src/sound/disc_dev.c | scs/uclinux | gpl-2.0 | 37,150 | 1,141 | codeparrot/github-code |
7970ff256cf3bb6d01a611eb043195f15590a12b4ecedb0568068e05c35cd759 | <!DOCTYPE html>
<html lang="zh-cn">
<!-- Mirrored from www.w3school.com.cn/tiy/t.asp?f=html_caption_align by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 02 Dec 2015 06:18:18 GMT -->
<!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=GB2312" /><!-- /Added by HTTrack -->
<head>
<meta c... | HTML | Coding/W3School/W3CN/www.w3school.com.cn/tiy/te63f.html | platinhom/ManualHom | gpl-2.0 | 3,161 | 151 | codeparrot/github-code |
40381e327bbb2426a5b6845ace3a71c6b5043acb969d1ab39c5034cc9ad142a7 | /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */
/*
Rosegarden
A MIDI and audio sequencer and musical notation editor.
Copyright 2000-2021 the Rosegarden development team.
Other copyrights also apply to some parts of this work. Please
see the AUTHORS file and individu... | C | src/sound/MappedEventInserter.h | tedfelix/rosegarden | gpl-2.0 | 1,578 | 54 | codeparrot/github-code |
05a1ff45e1426f5039b347b7a7c51c2d61aa08c609997f1d0e69ed36b40fe85c | using LaunchLaterOM;
using System.ComponentModel;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Windows.Media.Imaging;
using System;
namespace LaunchLaterManager.ViewModels
{
public class AppViewModel : INotifyPropertyChanged
{
private LLApplication ap... | C# | LaunchLaterManager/ViewModels/AppViewModel.cs | jeffcox111/LaunchLater | gpl-2.0 | 4,011 | 159 | codeparrot/github-code |
fc2f873fddd379713b7d761c9384e500fe5f161fca3c39bef38b7dd4506be66a | using System;
using UnityEngine;
namespace ES3Types
{
[ES3PropertiesAttribute("hideFlags")]
public class ES3Type_Flare : ES3Type
{
public static ES3Type Instance = null;
public ES3Type_Flare() : base(typeof(UnityEngine.Flare))
{
Instance = this;
}
public override void Write(object obj, ES3Writer writ... | C# | Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Flare.cs | temdisponivel/TheKingdomOfTheBouncingDudes | gpl-2.0 | 1,206 | 59 | codeparrot/github-code |
fa4f0dda0237aaad9b1d7b77526a1edb4c4f086913b2d5e6a1c2817824c39635 | <?php
/**
* This template is used to print a single field in a view. It is not
* actually used in default Views, as this is registered as a theme
* function which has better performance. For single overrides, the
* template is perfectly okay.
*
* Variables available:
* - $view: The view object
* - $fie... | PHP | sites/all/modules/france/fr_ecoupon/modules/fr_ecoupon_ui/templates/views/views-view-field--mes-coupon--page--nothing-2.tpl.php | singhneeraj/fr-portal | gpl-2.0 | 3,704 | 78 | codeparrot/github-code |
734ce5ac68e16d7eb6ca4156fda21465c166d05af7894e0e6c2ec87accb303a7 | //
// $Id$
//
//
// Copyright (c) 2011-2013, Andrew Aksyonoff
// Copyright (c) 2011-2013, Sphinx Technologies Inc
// 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. You should have
// received a copy of the GPL lice... | C | src/sphinxudf.h | nzinfo/csft5 | gpl-2.0 | 11,539 | 339 | codeparrot/github-code |
de04fa4e1b0f2bedc5b8603b3ae686ec0e37d260b65d8089cb557fa3b468e19f | /*****************************************************************
Engine-Shell: This is an engine for the scheduler, but it spawns
another process for doing the work. (Consider this to be a generic
wrapper.)
Copyright (C) 2007 Hewlett-Packard Development Company, L.P.
This program is free software; you can re... | C | agents/Shell/engine-shell.c | richardfontana/fossology | gpl-2.0 | 12,476 | 507 | codeparrot/github-code |
bff389b14098da6928d5f8087de22925ed5c7588c18b97fe0020bf9c46bc3b19 | #pragma once
/*
* Copyright (C) 2007-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 ve... | C | xbmc/cores/VideoRenderers/VideoShaders/WinVideoFilter.h | lizj3624/xbmc | gpl-2.0 | 6,626 | 206 | codeparrot/github-code |
0716cc80423855d79066d42b53fa8df52f3c0274a4cb1cad3e73e703fabe2baa | #include "WriteBlocks.h"
#include <iostream>
#include <sstream>
#include <string>
using namespace std;
WriteBlocks::WriteBlocks(string rules_str, int start, SimParameters& _sp, StateManager& _sm) : sp(_sp), sm(_sm)
{
// parse rules fills in the number of blocks and the rules
parseRules(rules_str, nBlocks, rules);
... | C++ | ssdsimWA/WriteBlocks.cpp | MochanShrestha/ssdsimwa | gpl-2.0 | 3,782 | 179 | codeparrot/github-code |
bea632a2c250c129b2dd4d0afb60e6cd113cac540035a2ae8ed0840f610cad88 | <!DOCTYPE html>
<!--[if IE 8]> <html class="ie ie8"> <![endif]-->
<!--[if IE 9]> <html class="ie ie9"> <![endif]-->
<!--[if gt IE 9]><!--> <html> <!--<![endif]-->
<head>
<!-- Page Title -->
<title>Travelo | Responsive HTML5 Travel Template</title>
<!-- Meta Tags -->
<meta charset... | HTML | html/car-grid-view.html | despotCymatics/sun_travel | gpl-2.0 | 93,878 | 1,303 | codeparrot/github-code |
b21ccea6b9a279e505762880035121dda822feeb472c34aad05bc8a1bb32781c | <!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=iso-8859-1" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />... | HTML | readme.html | lat9/common_email_styling | gpl-2.0 | 6,710 | 97 | codeparrot/github-code |
e9622b69f3796037745d821b5a4a5c0ad4fe4343b922326f67b1e3f5a32e83da | /******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 Adempiere, Inc. All Rights Reserved. *
* This program is free software; you can redistribute it and/or modify it ... | Java | zkwebui/WEB-INF/src/org/compiere/pos/WQueryProduct.java | erpcya/adempierePOS | gpl-2.0 | 11,090 | 340 | codeparrot/github-code |
a117d7693abfa309cfdc2fc53f52155cdd5cd433717ba0d3cadf64eadd44986e | <?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>gluon.utf8</title>
<link rel="stylesheet" href="epydoc.css" type="text/css" />
<script ty... | HTML | applications/examples/static/epydoc/gluon.utf8-module.html | eddiel/Play | gpl-2.0 | 23,202 | 524 | codeparrot/github-code |
b75cbee841ec225b6201d3db953f5658edfbb5416cbaaaff8a5c4b6932faf26b | <?php
require_once ('import/headimportviews.php');
?>
<form data-ajax='false' id='account-creation-form'
action='controllers/AccountCreationController.php' method='POST'
enctype="multipart/form-data" onsubmit="return doCheck('phoneNumber');">
<div id="account-creation-view" class='simple-padding-small'>
<div ... | PHP | SLMT/public_html/views/AccountCreationView.php | msoesl/SL-ManagementTool | gpl-2.0 | 8,924 | 313 | codeparrot/github-code |
09a4bb783e46683416403a4acd7f5bd6fa39c2a695abcf6cfcaf097cae6ba076 | /*
* Copyright (c) 2013, 2017, 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 | modules/web/src/main/native/Source/WebCore/bindings/java/dom3/java/com/sun/webkit/dom/XPathExpressionImpl.java | teamfx/openjfx-8u-dev-rt | gpl-2.0 | 3,302 | 103 | codeparrot/github-code |
189a003e988d90d41287e6fe4a38900c98d3a609fa5b0b299cb5b72806929760 | /*
* x86 TSC related functions
*/
#ifndef ASM_X86__TSC_H
#define ASM_X86__TSC_H
#include <asm/processor.h>
#define NS_SCALE 10 /* 2^10, carefully chosen */
#define US_SCALE 32 /* 2^32, arbitralrily chosen */
/*
* Standard way to access the cycle counter.
*/
typedef unsigned long long cycles_t;
extern unsigned i... | C | include/asm-x86/tsc.h | mpalmer/linux-2.6 | gpl-2.0 | 1,207 | 63 | codeparrot/github-code |
2f3b92362adbcc6981410a958bdd535120f1983e817998ea9371335be2392f05 | package org.gimnechiske.jRM;
import java.io.*;
import java.text.*;
import java.util.*;
import java.util.concurrent.*;
/**
*
* @author Aun Johnsen
*
* Ticker invokes every second and on programmed intervals trigger
* actions in game, gamemaster and players through local doTick
* functions. The game ... | Java | src/org/gimnechiske/jRM/Ticker.java | Skippern/jRM | gpl-2.0 | 3,078 | 107 | codeparrot/github-code |
93669d193f10edd11bc0d5dcc2c01695ec360d986b50200ed303c03665fe6e1f | /*
* XMPP Module
* This file is part of opensips, a free SIP server.
*
* Copyright (C) 2006 Voice Sistem S.R.L.
*
* opensips 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 Lice... | C | modules/xmpp/xmpp_api.h | chiforbogdan/opensips | gpl-2.0 | 3,087 | 109 | codeparrot/github-code |
d1afdf8e3867157915a6c2ed8aa6c9b0a58a0037699865549a34ddb348b93383 | /*
* This program developed in Java contains three versions of the class Connect4 board game:
* - Connect4
* - PopOut
* - Gravity
* Further information about the rules and features can be found here:
* http://en.wikipedia.org/wiki/Connect_Four
*
* Likewise, it allows users to play again... | Java | src/gui/game/GUIGameInterface.java | salcedonia/Connect4 | gpl-2.0 | 3,051 | 103 | codeparrot/github-code |
7e3a3383adb1e2d8c7d8116c982571042c2e7dfe5c004a38dba028122afd0e31 | <?php
/**
* The default template for displaying content
*
* @package WordPress
* @subpackage MediaOnMars
* @since Living Smart Theme 1.0
*/
?>
<h2 class="blog-post-title"><?php echo get_topcat_name(); ?></h2>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<header class="entry-header">
<?php... | PHP | wp-content/themes/livingsmart/content-blog.php | swebtechno/livingsm | gpl-2.0 | 2,156 | 63 | codeparrot/github-code |
eacf50b559439f11501a11510ad3b1140190d940791c90292ce5beb024ed9c61 | /**
* Created by boot on 11/19/15.
*/
Date.prototype.formatTime = function() {
return '' + (this.getHours() >= 10 ? this.getHours() : ('0' + this.getHours())) +
':' + (this.getMinutes() >= 10 ? this.getMinutes() : ('0' + this.getMinutes()));
};
cookie = process.argv[2];
var fetcher = require('./end_ru... | JavaScript | cron.js | LaMaldicionDeMandos/investment-manager | gpl-2.0 | 1,121 | 40 | codeparrot/github-code |
3d66ea64402bdbb2ee11db63e29429ae6c6e0b48d5540035311b30a8bca6fe7b | <?php
/**
* @package DOCman
* @copyright Copyright (C) 2011 - 2014 Timble CVBA (http://www.timble.net)
* @license GNU GPLv3 <http://www.gnu.org/licenses/gpl.html>
* @link http://www.joomlatools.com
*/
class ModDocman_categoriesHtml extends ModKoowaHtml
{
protected function _initialize(KObjectC... | PHP | tmp/install_54aedafb6ee76/extensions/mod_docman_categories/html.php | kosmosby/medicine-prof | gpl-2.0 | 4,932 | 175 | codeparrot/github-code |
f8011ec382924b879c6a7aac1ee2f5b3382896a9715ba30d06326d1504a04ba9 | /**
* $RCSfile$
* $Revision: 11608 $
* $Date: 2010-02-07 21:03:12 +0000 (Sun, 07 Feb 2010) $
*
* Copyright (C) 2004-2008 Jive Software. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a ... | Java | src/java/org/jivesoftware/util/ConcurrentHashSet.java | surevine/openfire-bespoke | gpl-2.0 | 4,970 | 166 | codeparrot/github-code |
d3f2e9720cb1eec89c166d1545ae7937102481a810b83aebe12c0c986aaa8c08 | /* Copyright (c) 2011-2012, 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.
*
* This program is distributed in the ho... | C | sound/soc/msm/msm-multi-ch-pcm-q6.c | TripNRaVeR/tripndroid-m7-unleashed-3.4 | gpl-2.0 | 22,737 | 811 | codeparrot/github-code |
d3e2b755e6b7cff99ee89459af727665b20faa4a8a962109fe70ff10b4ac55ec | import logging
logger = logging.getLogger('upkg')
from blessings import Terminal
from cmds.base import BaseCmd
from upkg.lib import Repo
class Cmd(BaseCmd):
"""Docstring for Search """
name = 'status'
help_text = ("Get the status of what's installed")
aliases = ['st', 'stat']
def build(self):
... | Python | upkg/cmds/status.py | jeffbuttars/upkg | gpl-2.0 | 1,988 | 87 | codeparrot/github-code |
c0abcc512455830327e455e7c7c0b229104d3481b1964fa1445cacc84ebb60ec | /* ----------------------------------------------------------------------
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
http://lammps.sandia.gov, Sandia National Laboratories
Steve Plimpton, sjplimp@sandia.gov
Copyright (2003) Sandia Corporation. Under the terms of Contract
DE-AC04... | C++ | src/neigh_full.cpp | browndeer/lammps-ocl | gpl-2.0 | 17,885 | 668 | codeparrot/github-code |
a4f1d861a0fd917ce4be0442af253970d8a48e63f12f1cd9142b5b759d6a1a78 | <?xml version="1.0" encoding="UTF-8"?>
<!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" lang="en" xml:lang="en">
<head>
<title>KParts.BrowserExtension</title>
<meta http-equiv="Content-Type" content=... | HTML | docs/html/kparts/KParts.BrowserExtension.html | KDE/pykde4 | gpl-2.0 | 45,155 | 1,208 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.