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 |
|---|---|---|---|---|---|---|---|---|
d13f7777188fd63eb1c1fed4b5cb01dea91b5d1c487ba722a29cb60a39dfdb54 | package org.jboss.windup.rules.apps.javaee.model;
import org.jboss.windup.graph.model.WindupVertexFrame;
import org.jboss.windup.rules.apps.java.model.JavaClassModel;
import com.tinkerpop.blueprints.Direction;
import com.tinkerpop.frames.Adjacency;
import com.tinkerpop.frames.Property;
import com.tinkerpop.frames.mod... | Java | rules-java-ee/src/main/java/org/jboss/windup/rules/apps/javaee/model/EjbBeanBaseModel.java | bradsdavis/windup | epl-1.0 | 3,319 | 114 | codeparrot/github-code |
06bb84cf7e2760b0f954cc9cf9ee5dfff27e44f876e410d91b15c58beb79761a | import sys
import sqlite3
import os
import os.path
def main(dbname):
con = sqlite3.connect(dbname)
con.execute("CREATE TABLE IF NOT EXISTS rooms(id INTEGER PRIMARY KEY, name TEXT NOT NULL,"
" description TEXT NOT NULL)")
con.commit()
path = "./rooms"
for f in os.listdir(path):
... | Python | todb.py | L0st1nC0d3/TextAdventure | epl-1.0 | 1,112 | 41 | codeparrot/github-code |
3e383f508f5ae04f85ff7b4dde45d8100c9b324b5647119279215b9c575db1c7 | /*
* Odyssey Financial Technologies
*/
package com.odcgroup.process.diagram.edit.commands;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.gmf.runtime.emf.type.core.requests.CreateElementRequest;
import org.eclipse.gmf.runtime.notation.View;
import com.odcgroup.process.... | Java | designstudio/components/process/ui/com.odcgroup.process.editor.diagram/src/generated/java/com/odcgroup/process/diagram/edit/commands/ParallelMergeCreateCommand.java | debabratahazra/DS | epl-1.0 | 996 | 44 | codeparrot/github-code |
a96c28a82689defec2d3b34c0c61bfb8dccafc42002c5ea956c0e309feab07ff | /*******************************************************************************
* Copyright (c) [2012] - [2017] Red Hat, Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is avai... | Java | plugins/plugin-bitbucket/codenvy-plugin-bitbucket-ext-bitbucket-server/src/main/java/org/eclipse/che/ide/ext/bitbucket/server/BitbucketServerConnectionImpl.java | R-Brain/codenvy | epl-1.0 | 12,020 | 197 | codeparrot/github-code |
a8102dc54a20bca0187cd7969b914c2fd0aac86888decfe23670574697fcd344 | /*
* Copyright (c) 2010-2012 Research In Motion Limited. All rights reserved.
*
* This program and the accompanying materials are made available
* under the terms of the Eclipse Public License, Version 1.0,
* which accompanies this distribution and is available at
*
* http://www.eclipse.org/legal/epl-v10.html
*... | Java | net.rim.ejde/src/net/rim/ejde/internal/model/BlackBerryProject.java | blackberry/Eclipse-JDE | epl-1.0 | 31,012 | 983 | codeparrot/github-code |
bc8539cff06be1baf666cebf94b4898006b2a92b26e28cddaf10c6c73cd1907c | <div id='page_suggest'>
<link rel='stylesheet' type='text/css' href='css/suggest.css'>
<div class="top">
<div>请输入你的反馈内容</div>
<textarea class='content' maxlength='140'></textarea>
</div>
<div class='bottom'>
<div class='last'>还可以输入:<span class='number'>140</span></div>
<div class='button' onclick="page_su... | HTML | WebRoot/pages/suggest.html | schacker/ywhw | epl-1.0 | 2,457 | 89 | codeparrot/github-code |
d6328e0745b1a27212969175827cb5b1bd3144e0cb199dc80c4731411ed55f2b | package net.trajano.mojo.cleanpom.test;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
import java.io.File;
import java.io.FileInputStream;
import ja... | Java | src/test/java/net/trajano/mojo/cleanpom/test/CleanMojoTest.java | trajano/cleanpom-maven-plugin | epl-1.0 | 14,521 | 361 | codeparrot/github-code |
5373d14cf350376605082cc2bd33c03a4700ac6c3408731b960395fb4c617243 | /**
*/
package org.framed.orm.geometry.presentation;
import java.util.ArrayList;
import java.util.Collection;
import org.eclipse.emf.common.ui.viewer.IViewerProvider;
import org.eclipse.emf.edit.domain.EditingDomain;
import org.eclipse.emf.edit.domain.IEditingDomainProvider;
import org.eclipse.emf.edit.ui.action.C... | Java | ORM/org.framed.orm.model.editor/src/org/framed/orm/geometry/presentation/GeometryActionBarContributor.java | leondart/FRaMED | epl-1.0 | 14,101 | 446 | codeparrot/github-code |
2c3c30027fe193e7cd4d16b9090c62121c7386872d4840f2556cbdcb95e556c2 | <?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 lang="en" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="copyright" content="(C) Copyrigh... | HTML | sdk/GUID-4F004877-DFDD-5282-B8B6-7F36D892B122.html | warlordh/fork_Symbian | epl-1.0 | 8,796 | 186 | codeparrot/github-code |
2c9c27c80dbf59ece0fe80331c7a1a014022f401acf7493674230bcb3487bd00 | /*******************************************************************************
* Copyright (c) 2014 Nikolas Herbst, http://descartes.tools/wcf
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distrib... | Java | src/tools/descartes/wcf/wibClassification/ClassificationUtility.java | NikolasHerbst/WCF | epl-1.0 | 17,880 | 471 | codeparrot/github-code |
d63bfd706509a73e9e9bd84a0d948bae0527aac11ceaec513970fe60ed9fee92 | /*
* Copyright Siemens AG, 2017. Part of the SW360 Portal Project.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*/... | Java | subprojects/resource-server/src/main/java/org/eclipse/sw360/rest/resourceserver/attachment/AttachmentResourceProcessor.java | sw360/sw360rest | epl-1.0 | 1,273 | 34 | codeparrot/github-code |
843b23160dc08b36e96f1950604573bda42b69a779bd683f6c0d398047357c1a | <?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 lang="en-us" xml:lang="en-us">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="copyright" content="(C) Co... | HTML | sdk/GUID-A47A1540-8807-33A3-9F6A-EB67F2D52AF8.html | warlordh/fork_Symbian | epl-1.0 | 17,938 | 739 | codeparrot/github-code |
60a620056931591f5d8c339ccfb867b6d514a38e9688a472cf9427533398f044 | /*
* Sonatype Nexus (TM) Open Source Version
* Copyright (c) 2008-present Sonatype, Inc.
* All rights reserved. Includes the third-party code listed at http://links.sonatype.com/products/nexus/oss/attributions.
*
* This program and the accompanying materials are made available under the terms of the Eclipse Public... | Java | components/nexus-core/src/main/java/org/sonatype/nexus/internal/httpclient/SharedHttpClientConnectionManager.java | sonatype/nexus-public | epl-1.0 | 5,402 | 135 | codeparrot/github-code |
cb2bb0b39063ce1d65ed684a9593a47ca86380358f38ed6a484f6be1f9567aab | package de.prob2.ui.history;
import java.util.Arrays;
import com.google.inject.Inject;
import com.google.inject.Injector;
import com.google.inject.Singleton;
import de.prob.check.tracereplay.PersistentTrace;
import de.prob.statespace.Trace;
import de.prob2.ui.animation.tracereplay.TraceFileHandler;
import de.prob2.u... | Java | src/main/java/de/prob2/ui/history/HistoryView.java | bendisposto/prob2-ui | epl-1.0 | 4,562 | 135 | codeparrot/github-code |
ea8850d86393fb386892ff9cfc0e940a7409ade6437d7100ec3bcbaf9ff4a471 | package chadamine.com.databaselist.Cultivation.Biologicals;
/**
* Created by chadamine on 4/30/2015.
*/
public class Taxonomy {
private int mID;
private String mKingdom;
private String mPhylum;
private String mClass;
private String mOrder;
private String mFamily;
private String mGenus;
... | Java | DatabaseList/app/src/main/java/chadamine/com/databaselist/Cultivation/Biologicals/Taxonomy.java | chadamine/android | epl-1.0 | 1,532 | 84 | codeparrot/github-code |
829c936830943cea98e6b858a7ae42da57b315dacc7b2eadab0ec4011e58bd26 | // -----BEGIN DISCLAIMER-----
/*******************************************************************************
* Copyright (c) 2011, 2021 JCrypTool Team and Contributors
*
* All rights reserved. This program and the accompanying materials are made available
* under the terms of the Eclipse Public License v1.0 which... | Java | org.jcryptool.crypto.flexiprovider.integrator/src/org/jcryptool/crypto/flexiprovider/integrator/asymmetric/elgamal/ElGamal.java | jcryptool/core | epl-1.0 | 1,223 | 40 | codeparrot/github-code |
0f3d8f7a74dbe2748329593ac8e5b1f5ad2a80e774e041f794db948d1dfa1bab | /*******************************************************************************
* Copyright (c) 2012-2017 Codenvy, S.A.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available ... | Java | ide/commons-gwt/src/main/java/org/eclipse/che/ide/jsonrpc/RequestTransmitter.java | sunix/che | epl-1.0 | 13,715 | 384 | codeparrot/github-code |
238da2dc402382d575cae785d0987cd8c7d18f6345757817a2559daaf6092559 | /*
* Sonatype Nexus (TM) Open Source Version
* Copyright (c) 2008-present Sonatype, Inc.
* All rights reserved. Includes the third-party code listed at http://links.sonatype.com/products/nexus/oss/attributions.
*
* This program and the accompanying materials are made available under the terms of the Eclipse Public... | Java | plugins/yum/nexus-yum-repository-client/src/main/java/org/sonatype/nexus/yum/client/internal/JerseyRepodata.java | scmod/nexus-public | epl-1.0 | 7,150 | 211 | codeparrot/github-code |
8d86cebd10257a2c90ac34cd44785ef94df512ce9965dd51cc79aeab4c5efb33 | /*******************************************************************************
* Copyright (c) 1998, 2012 Oracle and/or its affiliates. All rights reserved.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. ... | Java | foundation/eclipselink.extension.nosql.test/src/org/eclipse/persistence/testing/oxm/mappings/onetomany/keyonsource/eis/nogroupingelement/arraylist/NoGroupingElementArrayListProject.java | bfg-repo-cleaner-demos/eclipselink.runtime-bfg-strip-big-blobs | epl-1.0 | 7,376 | 168 | codeparrot/github-code |
339836dcc6f50f876995270a5333c5cdac9c52f7cc7bb13f7758fe78def2aeac | package pers.zylo117.spotspotter.gui.textbox;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.PrintStream;
import javax.swing.JFrame;
import javax.swing.JOptionPane;
import javax.swing.JScrollPane;
import javax.swing.JTextArea;
im... | Java | src/pers/zylo117/spotspotter/gui/textbox/ConsoleTextArea.java | zylo117/SpotSpotter | epl-1.0 | 3,174 | 100 | codeparrot/github-code |
6782ab028b48c33daa127cddb21128f381177f2348d3b3606c6b5bd6547fb075 | /*
* LCALIFLateralProbe.cpp
*
* Created on: Oct 30, 2012
* Author: slundquist
*/
#include "LCALIFLateralProbe.hpp"
namespace PV {
LCALIFLateralProbe::LCALIFLateralProbe() {
initialize_base();
}
LCALIFLateralProbe::LCALIFLateralProbe(const char * probename, HyPerCol * hc)
{
initialize_base();
ini... | C++ | pv-core/src/obsolete/io/LCALIFLateralProbe.cpp | dpaiton/OpenPV | epl-1.0 | 6,429 | 207 | codeparrot/github-code |
126af469cbd53bb851c6c35e5d3f915969f7e64979ffb39652046669ee78a4fe | <?php
/**
* @file
* Definition of Drupal\taxonomy\Plugin\views\field\LinkEdit.
*/
namespace Drupal\taxonomy\Plugin\views\field;
use Drupal\views\Plugin\views\field\FieldPluginBase;
use Drupal\views\Plugin\views\display\DisplayPluginBase;
use Drupal\views\ViewExecutable;
use Drupal\Component\Annotation\Plugin;
/*... | PHP | core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/field/LinkEdit.php | nullzer/dr8 | gpl-2.0 | 2,117 | 76 | codeparrot/github-code |
9e8e40e72193f6d4374d74b4edb8f41b745ba3800a0ee08421f8e58a39047c5d | <?php
/**
* @Copyright Freestyle Joomla (C) 2010
* @license GNU/GPL http://www.gnu.org/copyleft/gpl.html
*
* This file is part of Freestyle Support Portal
* 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... | PHP | administrator/components/com_fss/views/field/view.html.php | Aks-1357/akhildhanuka-connectupmyhome | gpl-2.0 | 9,017 | 274 | codeparrot/github-code |
77d8f07545acf29063f9e6d2f341352c2753067028d75852e810f448ba0b26d4 | package de.mixedfx.assets;
import de.mixedfx.file.FileObject;
import de.mixedfx.gui.*;
import de.mixedfx.gui.panes.SuperPane;
import de.mixedfx.inspector.Inspector;
import javafx.application.Platform;
import javafx.concurrent.Task;
import javafx.event.EventHandler;
import javafx.scene.Parent;
import javafx.scene.contr... | Java | mixedfx-gui/src/main/java/de/mixedfx/assets/Layouter.java | Jerry0022/MixedFX | gpl-2.0 | 6,374 | 148 | codeparrot/github-code |
68382b45455ceeaaff1f6fee60990b22bf7666873d87003eabd0d876d8bbbde2 |
#ifdef TESTING
#define STANDALONE
#define HAVE_STDLIB_H
#define HAVE_UNISTD_H
#define HAVE_SYS_SOCKET_H
#define HAVE_NETINET_IN_H
#define HAVE_NETDB_H
#define HAVE_SYS_TIME_H
#else
#define NEED_SOCKETS
#endif
#define IN_LIBXML
#include "libxml.h"
#ifdef LIBXML_FTP_ENABLED
#include <string.h>
#ifdef HAVE_STDLIB_H
... | C | external/chromium_org/third_party/libxml/src/nanoftp.c | qtekfun/htcDesire820Kernel | gpl-2.0 | 41,408 | 1,751 | codeparrot/github-code |
e2820f3bde5de86b5a6ee7d4c7c90ebd02c4f76cc711ca40cfd93ce16d9ba424 | $( document ).ready(function() {
$(".play-btn").height($("#tile1").width());
$(".tile").height($("#tile1").width());
$(".carousel").height($("#tile1").width());
$(".item").height($("#tile1").width());
$(window).resize(function() {
if(this.resizeTO) clearTimeout(this.resizeTO);
this.resizeTO = ... | JavaScript | js/go.js | happy-ali/GameForKing | gpl-2.0 | 2,408 | 61 | codeparrot/github-code |
444c66b5e2b7f5bd59826cb5376b7fd05fbe4dd87e93b4c145f9b0e7eee2e846 | /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
/* memos-control.c
*
* Copyright (C) 2000, 2001, 2002, 2003 Ximian, Inc.
*
* This program 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 F... | C | calendar/gui/memos-control.c | johnnyjacob/evolution | gpl-2.0 | 10,610 | 375 | codeparrot/github-code |
7d320b4ca1c8b14b599792c7116ed0aba1756b72a0dae9b19ca36a17ccd49fe9 | /* Copyright (c) 2012-2014, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the... | C | drivers/video/msm/mdss/mdss_mdp_pipe.c | XPerience-AOSP-Lollipop/android_kernel_xiaomi_cancro | gpl-2.0 | 35,280 | 1,295 | codeparrot/github-code |
8ab92c0aa63fc6f57ff6e7bbd56f5c6ab7ef39e6247d185f4253fd7b90b4da9b | /*
*************************************************************************
* Ralink Tech Inc.
* 5F., No.36, Taiyuan St., Jhubei City,
* Hsinchu County 302,
* Taiwan, R.O.C.
*
* (c) Copyright 2002-2007, Ralink Technology, Inc.
*
* This program is free software; you can redistribute it and/or modify *
* it ... | C | applications/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/usb_main_dev.c | chuncky/nuc970kernel | gpl-2.0 | 20,692 | 771 | codeparrot/github-code |
9e50fc4bd9d73ca16cc776928c7388cf2845c0ab60d9f42bf2b6990b331bc4fb | /*
* Copyright © 2009,2010 Red Hat, Inc.
* Copyright © 2010,2011,2012,2013 Google, Inc.
*
* This is part of HarfBuzz, a text shaping library.
*
* Permission is hereby granted, without written agreement and without
* license or royalty fees, to use, copy, modify, and distribute this
* software and its documen... | C++ | source/libs/harfbuzz/harfbuzz-src/src/hb-ot-map.hh | live-clones/luatex | gpl-2.0 | 8,984 | 285 | codeparrot/github-code |
567094378528143e498dfec9721042c9994115fa5704d26846f5489652768b23 | /*********************************************************************
*
* Copyright (C) 2002-2004 Nathan Fiedler
*
* 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
*... | Java | classes/com/bluemarsh/jswat/expr/RightShiftOperatorNode.java | mbertacca/JSwat2 | gpl-2.0 | 3,179 | 96 | codeparrot/github-code |
c5c0880a2c1855c5ba956e2a62866fcea0e86f117139a2add9cb134ee4b73376 | <!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
<meta charset="utf-8"/>
<title> » Compilation errors
</title>
<meta name="author" content=""/>
<meta name="description" content=""/>
<lin... | HTML | documnet/reports/errors.html | seifzadeh/img2db_pdo | gpl-2.0 | 14,377 | 273 | codeparrot/github-code |
7f8db6f0830bdd59047a52b8cc229d092f34119cb069d88428c7dc04fea798eb | #ifndef _SIMPLEMD_CPP
#define _SIMPLEMD_CPP
#include <cstdlib>
#include <ctime>
template<unsigned NSD>
simpleMD<NSD>::simpleMD() {
particles.clear();
srand48(clock());
setup();
}
template<unsigned NSD>
void simpleMD<NSD>::setup() {
nsd = NSD;
L = 100;
nParticles = 20000;
vo = 10;
R = 0.1;
coef... | C++ | simpleMD_implementation.hpp | tjolsen/simpleMD | gpl-2.0 | 7,822 | 350 | codeparrot/github-code |
2123f36dc5efb1fb0c4487d5131d2a53382cf6b5fa1766ecef9f4f5b79a0723d | /* ========================================================================
* PlantUML : a free UML diagram generator
* ========================================================================
*
* (C) Copyright 2009-2014, Arnaud Roques
*
* Project Info: http://plantuml.sourceforge.net
*
* This file is... | Java | src/net/sourceforge/plantuml/activitydiagram3/command/CommandArrowLong3.java | jensnerche/plantuml | gpl-2.0 | 3,573 | 99 | codeparrot/github-code |
2f770b614bd7858ead109fe9fcacd4614279d40570cedb779c2c8932ed6462de | /**
* responsive_mobile.css
*
* @package templateSystem
* @copyright Copyright 2003-2007 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* Added by rbarbour (ZCAdditions.com), Responsive DIY Template Defau... | CSS | winchester_black/files/includes/templates/winchester_black/css/responsive_mobile.css | picaflor-azul/winchester_black | gpl-2.0 | 19,432 | 357 | codeparrot/github-code |
25253f4dceeb820ce55a4c94daae59b0b22093f71988c674a4ebb711b6c7babf | // $Id$
//
// Copyright (C) 2009 The OpenNX Team
// Author: Fritz Elfert
//
// This program 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 Foundation; either version 2 of the
// License, or (at your option) any... | C | opennx/LibUSB.h | robdyke/opennx-code | gpl-2.0 | 2,473 | 88 | codeparrot/github-code |
a41f7cc04a8aa05338f8d1e1714991e3f8a9c9216434f24aa251f034e1f291f6 | addEvent("onPlayerInteriorChange", true)
intTable = {}
safeTable = {}
mysql = exports.mysql
-- to check:
-- wyplata
-- to test
-- /sell
--[[
Interior types:
TYPE 0: House
TYPE 1: Business
TYPE 2: Government (Unbuyable)
TYPE 3: Rentable
--]]
-- Small hack
function setElementDataEx(source, field, parameter, streamto... | Lua | resources/system-domow/s_interior_system.lua | Daniex0r/project-roleplay-rp | gpl-2.0 | 32,837 | 826 | codeparrot/github-code |
22d72587c90255d4e4b57228c17c0ad888e91a66c5cccb008484c6356b75c70a | /*
* GIT - The information manager from hell
*
* Copyright (C) Linus Torvalds, 2005
*/
#include "cache.h"
#include "diff.h"
#include "commit.h"
#include "revision.h"
#include "builtin.h"
static const char diff_files_usage[] =
"git diff-files [-q] [-0/-1/2/3 |-c|--cc] [<common diff options>] [<path>...]"
COMMON_DIF... | C | builtin-diff-files.c | certik/git | gpl-2.0 | 1,879 | 69 | codeparrot/github-code |
880d82e88d7320be597342864c8d3e2b49ff01f90f0044abd9f972af7c1090d9 | /*
This program is part of BruNet, a library for the creation of efficient overlay
networks.
Copyright (C) 2005 University of California
Copyright (C) 2007 P. Oscar Boykin <boykin@pobox.com>, University of Florida
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU Gener... | C# | src/Brunet/Symphony/PacketForwarder.cs | twchoi/brunet | gpl-2.0 | 7,140 | 199 | codeparrot/github-code |
ac579bd18bb48c4353ff1e73ef5cf25443b6ecc13e402e374d3b19045697f165 | <?php
/**
* Review Comments Template
*
* Closing li is left out on purpose!
*
* @author WooThemes
* @package WooCommerce/Templates
* @version 2.1.0
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
$rating = intval( get_comment_meta( $comment->comment_ID, 'rating', true ) );
?>
<li it... | PHP | wp-content/themes/nantes/woocommerce/single-product/review.php | tittee/pornpan | gpl-2.0 | 2,423 | 69 | codeparrot/github-code |
07ba21ca6217cdeddb1208f663d929066f658cfee31adced331f3764a49ef6b2 | <?php
/**
*
* Show the product prices
*
* @package VirtueMart
* @subpackage
* @author Max Milbers, Valerie Isaksen
* @link http://www.virtuemart.net
* @copyright Copyright (c) 2004 - 2014 VirtueMart Team. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
* Virtue... | PHP | components/com_virtuemart/sublayouts/prices.php | lenard112/cms | gpl-2.0 | 3,637 | 62 | codeparrot/github-code |
306b6a040187554f45a7d9b043cd32571e6fcebae1a9ebea18859e45796f0315 | <?php
/**
* @package CMS Manager
* @author COLT Engine S.R.L.
* @authorUrl https://www.joomlahost.it
*
* @copyright Copyright (C) 2015 COLT Engine s.r.l
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
/**
* Display the CMS Manager operat... | PHP | src/site/views/response/view.json.php | dnshosting/com_cmsmanager | gpl-2.0 | 2,418 | 91 | codeparrot/github-code |
14a3334647baf2847d532939216dce87a35621b87560c1e16b1871d9c991bdef | /**
* \file GuiCharacter.cpp
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author Angus Leeming
* \author Edwin Leuven
* \author John Levon
*
* Full author contact details are available in file CREDITS.
*/
#include <config.h>
#include "GuiCharac... | C++ | src/frontends/qt4/GuiCharacter.cpp | syntheticpp/lyx | gpl-2.0 | 12,871 | 485 | codeparrot/github-code |
67b6b47f4c2ef9a452d968aee98b961f3703468a0b5fa6a4b765b61f43530f4a | <?PHP
/*
* LimeSurvey
* Copyright (C) 2007 The LimeSurvey Project Team / Carsten Schmitz
* All rights reserved.
* License: http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
* LimeSurvey is free software. This version may have been modified pursuant
* to the GNU General Public License, and as di... | PHP | _surveys/admin/update/upgrade-mssql.php | nordita-stockholm/norweb-hvzm | gpl-2.0 | 41,043 | 712 | codeparrot/github-code |
585554ec27558910e67c6845643e836ca40e19ec50a3141dd10d01245ffdba55 | /**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
define([
'Magento_Ui/js/form/element/abstract',
'underscore',
'uiRegistry'
], function (Abstract, _, registry) {
'use strict';
return Abstract.extend({
defaults: {
allowImport: tru... | JavaScript | app/code/Magento/Catalog/view/adminhtml/web/js/components/import-handler.js | kunj1988/Magento2 | gpl-2.0 | 3,476 | 123 | codeparrot/github-code |
d13210c2d0758a4430d23a97cee0d20ad7e1c7d09067a5f6a54a552416fc7b57 | <?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Sales\Block\Status\Grid\Column;
/**
* @api
* @since 100.0.2
*/
class State extends \Magento\Backend\Block\Widget\Grid\Column
{
/**
* @var \Magento\Sales\Model\Order\Config
*/
p... | PHP | app/code/Magento/Sales/Block/Status/Grid/Column/State.php | kunj1988/Magento2 | gpl-2.0 | 1,572 | 65 | codeparrot/github-code |
271272d190c9b22d1cf3ab210eaff87fc047e494b1e32424d331933a53e849e5 | // @HEADER
// ***********************************************************************
//
// Teuchos: Common Tools Package
// Copyright (2004) Sandia Corporation
//
// Under terms of Contract DE-AC04-94AL85000, there is a non-exclusive
// license for use of this work by or on behalf of... | C++ | benchmark/trilinos-11.12.1-Source/packages/teuchos/numerics/src/Teuchos_SerialDenseMatrix.hpp | mingpz2010/DMAT | gpl-2.0 | 39,112 | 1,014 | codeparrot/github-code |
d1a8360fe4f9129f95b111d2bfe731afd340f88c812b515a218f5a10c3b4e319 | (function ($, createModule, undefined) {
'use strict';
var mod = createModule({
id: 'Quotes',
name: 'Notificador de citas y menciones',
author: 'xusoO',
version: '0.2',
description: 'Avisará al usuario cada vez que alguien le cite en un post, mostrando alertas y un listado de las ultimas citas no leídas.',... | JavaScript | modules/Quotes.js | igtroop/shurscript | gpl-2.0 | 24,054 | 635 | codeparrot/github-code |
085d015ce8beb407a91ca550f6b8549148d796b3c13f5f139aab82440691e018 | /*
* Copyright (C) 2005-2011 MaNGOS <http://getmangos.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 License, or
* (at your option) any later version.
*
... | C | src/game/DBCfmt.h | kero99/mangos | gpl-2.0 | 7,124 | 124 | codeparrot/github-code |
da12f3f2b94e662a1767ae869dbf31df01fbdfc477c04d7b5afaa8c38c63754a | /* Copyright (c) 2008-2013, 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 | drivers/gpu/msm/kgsl.h | cr1exe/android_kernel_sony_taoshan | gpl-2.0 | 9,161 | 337 | codeparrot/github-code |
ad285e0f8b2658996194d003f1c504e563894dcd90fe18eeeeb98c5f54ea38ec | // *************************************************************************
//
// Copyright 2004-2010 Bruno PAGES .
//
// This file is part of the BOUML Uml Toolkit.
//
// 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
// th... | C++ | src/lib/dialog/HelpDialog.cpp | kralf/bouml | gpl-2.0 | 5,012 | 232 | codeparrot/github-code |
a7e63ef7441c0a3775348aead10ad18a7f1c295a3be24074736b52c7888d1518 | "use strict";
const Models = require("../models");
const handle = require("../handlers");
const baseUrl = "/api/user/";
const user = {
list: function *(next) {
try {
this.body = yield Models.models.User.orderBy({index: Models.r.desc("firstName")});
this.set("Location", baseUrl);
this.s... | JavaScript | api/user/controller.js | tortillaj/Koa-Blog | gpl-2.0 | 1,463 | 60 | codeparrot/github-code |
5b8b43db6980f92f8611facbc372bb3658e2ff10aa0e4c98310a837c61677d48 | /*
* This file is part of the KDE libraries
* Copyright (c) 2001 Michael Goffioul <kdeprint@swing.be>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License version 2 as published by the Free Software Foundation.
*
* This l... | C++ | kdeprint/kmuimanager.cpp | iegor/kdelibs | gpl-2.0 | 5,255 | 202 | codeparrot/github-code |
63b9434b5ad3ae08300976711a54f936cd30df3c0da1bdb38a2c8cdaad04ffa9 | #ifndef __GSM_H__
#define __GSM_H__
#define LPM3_Open_Send_Time 5
#define PWRON BIT0
#define SECD_1 1024
#define SECD_2 2048
#define SECD_3 3072
#define SECD_5 5120
#define SECD_10 10240
#define SECD_20 20480
#define SECD_30 30720
#define SECD_50 51200
#define MSP_A0_Min_1 ... | C | Source/GSM/GSM.h | sdlylshl/gprs_m72d | gpl-2.0 | 15,334 | 251 | codeparrot/github-code |
a66a7c2c106707e3cc0f8553439a47e4536de53d42bc324dc42a9f6a74824f0f | /***************************************************************************
qgs3dmapsettings.cpp
--------------------------------------
Date : July 2017
Copyright : (C) 2017 by Martin Dobias
Email : wonder dot sk at gmail dot com
************************************... | C++ | src/3d/qgs3dmapsettings.cpp | olivierdalang/QGIS | gpl-2.0 | 22,871 | 651 | codeparrot/github-code |
4e656ffaf9ba5b6403d7d1c342d1626c014c64e83104bf08b433dc6880819dca | package com.chinazmob.unlockearn;
/**
* Created by 晓宇 on 2015/1/13.
*/
import android.app.Activity;
import android.app.ActivityManager;
import android.content.Context;
import java.util.Stack;
/**
* 应用程序Activity管理类:用于Activity管理和应用程序退出
*/
public class AppManager {
private static Stack<Activity> activityStack... | Java | src/app/src/main/java/com/chinazmob/unlockearn/AppManager.java | lixiaoyu0123/UnlockEarn | gpl-2.0 | 2,352 | 107 | codeparrot/github-code |
ece9344499bdfe1c50e819ba659c674c340db8a527789f281c662ef0c03cb26f | #include <cerrno>
#include <bitset> // to help find the distinct vertices
#include <algorithm>
#include <set>
#include <fcntl.h>
#include <string.h>
#include <sys/mman.h> // for mmap(2)
#include <sys/stat.h> // for fstat64(2)
#include <signal.h>
#include "graph_loading.hpp"
#include "options.hpp"
#include <boost/mul... | C++ | Algorithms/2011-MOSES/src-original/graph_loading.cpp | GraphProcessor/CommunityDetectionCodes | gpl-2.0 | 22,431 | 578 | codeparrot/github-code |
3421caae769810f394e2b62ff59e446b3faa6105fb40a3de19665cbde05441cf | /*
* Copyright (c) 2015, NeumimTo https://github.com/NeumimTo
*
* 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) a... | Java | Plugin/src/main/java/cz/neumimto/rpg/persistance/GroupDao.java | NeumimTo/NT-RPG | gpl-2.0 | 17,200 | 510 | codeparrot/github-code |
2c631467d3284aefd319b2414ce782013ef5e103b3849727094a8ca13e9dddf3 | # Copyright (C) 2005-2007 Warp Networks S.L.
# Copyright (C) 2008-2014 Zentyal S.L.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License, version 2, as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that... | Perl | main/core/src/EBox/Logs.pm | allanjhonne/zentyal | gpl-2.0 | 20,349 | 815 | codeparrot/github-code |
e2acc925ba2c2dcd0e6dd8a0c5a74acf9c313d6741a6e127210d4c77c8b7a64f | package icaro.aplicaciones.agentes.agenteAplicacionAgteRecolectorCognitivo.informacion;
import icaro.infraestructura.entidadesBasicas.comunicacion.MensajeSimple;
public class RespuestaRecoleccion extends MensajeSimple{
/**
*
*/
private static final long serialVersionUID = 1L;
private String emisor;
... | Java | ICAROMalmo/src/icaro/aplicaciones/agentes/agenteAplicacionAgteRecolectorCognitivo/informacion/RespuestaRecoleccion.java | Yarichi/Proyecto-DASI | gpl-2.0 | 1,139 | 56 | codeparrot/github-code |
7fa7eb5d34e0e0f490cbaf8103440cde7cbcd8557423274144dce3f257f3f61f | <?php
/**
* Name: wfp_Tlist.php
* Description:
*
* @package Xoosla CMS
* @subpackage
* @since v1.0.0
* @author John Neill <catzwolf@users.sourceforge.net>
* @copyright Copyright (C) 2009 Xoosla. All rights reserved.
* @license GNU/LGPL, see docs/license.php
*/
defined('XOOPS_ROOT_PATH') || exit('Re... | PHP | class/class.tlist.php | mambax7/wfresource | gpl-2.0 | 10,524 | 373 | codeparrot/github-code |
450cedff0330a5b5f74e99da5d9f9772646487bb8c9baaac01cfdbe4a0a5f022 | /******************************************************************************
Copyright (C) 2014 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/obs-service.c | kc5nra/obs-studio | gpl-2.0 | 6,686 | 250 | codeparrot/github-code |
1cfc2db43ba0d6c81a9eb70d0da8c43420931550b44e8c45ab61a6e9a2ec8a17 | /*
* This file is part of the coreboot project.
*
* Copyright (C) 2014 Edward O'Callaghan <eocallaghan@alterapraxis.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... | C | src/superio/ite/it8728f/superio.c | wolflee/coreboot | gpl-2.0 | 2,456 | 81 | codeparrot/github-code |
34e7f9ad07a265b3b6e6e25fe89e269b02a3a51f246422132d875a77ef0c3f17 | <?php
/*
You may not change or alter any portion of this comment or credits
of supporting developers from this source code or any supporting source code
which is considered copyrighted (c) material of the original comment or credit authors.
This program is distributed in the hope that it will be useful,
but WITHO... | PHP | admin/topic.php | mambax7/vnews | gpl-2.0 | 4,567 | 129 | codeparrot/github-code |
bfc8606149544e3092770e34e6141be61752fc0648b748c5af2459afe386c619 |
#define LOG_TAG "IRQ"
#include "ddp_log.h"
#include "ddp_debug.h"
#include <linux/interrupt.h>
#include <linux/wait.h>
#include <linux/spinlock.h>
#include <linux/kthread.h>
#include <linux/timer.h>
#include <mach/mt_irq.h>
#include "ddp_reg.h"
#include "ddp_irq.h"
#include "ddp_aal.h"
// IRQ log print kthread
sta... | C | drivers/misc/mediatek/dispsys/mt6735/ddp_irq.c | kishpatel1998/HeatWave-CP8676_I02 | gpl-2.0 | 27,469 | 713 | codeparrot/github-code |
49373cc542f92be11ea5b238da4cb11346e024016ee58bba0c25ef5e81f0f710 | <?php
function xtc_show_category($counter, $oldlevel=1) {
global $foo, $categoryArray, $categories_string, $id, $cPath;
function generate_subcategories($children = array(), $level = 1) {
$level_init = $level;
$info = '';
if($level == 2)
{
... | PHP | templates/bootstrap4-hor/source/inc/xtc_show_category.inc.php | shophelfer/shophelfer.com-shop | gpl-2.0 | 3,756 | 102 | codeparrot/github-code |
02ede68525b968f42211c628d07bdb48ba6c3e953abf2d20df02c23c5d91b1b6 | <?php
/*
* @version $Id: HEADER 15930 2011-10-30 15:47:55Z tsmr $
-------------------------------------------------------------------------
resources plugin for GLPI
Copyright (C) 2009-2022 by the resources Development Team.
https://github.com/InfotelGLPI/resources
-----------------------------------------------... | PHP | inc/resourcepdf.class.php | InfotelGLPI/resources | gpl-2.0 | 4,319 | 128 | codeparrot/github-code |
9f03b49669a2cc3107671f67602110975515f0ed90f5a47841aa57166b04869f | #region Header
// Vorspire _,-'/-'/ MenuGumpOptions.cs
// . __,-; ,'( '/
// \. `-.__`-._`:_,-._ _ , . ``
// `:-._,------' ` _,`--` -: `_ , ` ,' :
// `---..__,,--' (C) 2018 ` -'. -'
// # Vita-Nex [http://core.vita-nex.com] #
// {o)xxx|===============- # -==============... | C# | Scripts/Custom/VitaNex Core/SuperGumps/UI/Lists/Menu/MenuGumpOptions.cs | A2152225/ServUO | gpl-2.0 | 6,075 | 270 | codeparrot/github-code |
e49c14fe813ad10206a5d5774b4f281dc6fbba7b4c3ab035e017481143c5c38b | /*
* linux/init/main.c
*
* Copyright (C) 1991, 1992 Linus Torvalds
*
* GK 2/5/95 - Changed to support mounting root fs via NFS
* Added initrd & change_root: Werner Almesberger & Hans Lermen, Feb '96
* Moan early if gcc is old, avoiding bogus kernels - Paul Gortmaker, May '96
* Simplified starting of in... | C | init/main.c | muromec/linux-ezxdev | gpl-2.0 | 16,372 | 718 | codeparrot/github-code |
cf20e97596d64423562b4ea32a37dafd161f657557db106f20f4d62a4d327412 | class Admin::TransporterRulesController < Admin::BaseController
before_filter :new_transporter, :only => [:new, :create]
before_filter :get_transporter, :only => [ :show, :edit, :update, :destroy, :duplicate, :activate ]
before_filter :get_rules, :only => [ :show, :edit ]
before_filter :get_product_types, :onl... | Ruby | app/controllers/admin/transporter_rules_controller.rb | webpulser/forgeos_commerce | gpl-2.0 | 9,464 | 303 | codeparrot/github-code |
a9de041a1aed335ef64d22ee2d0a5dc16b707d87efd6ee94c05a12fa6c26a80e | <?php
/**
* Job queue runner utility methods
*
* 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 ... | PHP | includes/jobqueue/JobRunner.php | muwiki/wiki | gpl-2.0 | 17,690 | 534 | codeparrot/github-code |
17dddc26dd5ffe1714af1fb30610fd5f30c6529f02bd395ff83deb8763fdb495 | /* Copyright_License {
XCSoar Glide Computer - http://www.xcsoar.org/
Copyright (C) 2000-2011 The XCSoar Project
A detailed list of copyright holders can be found in the file "AUTHORS".
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
... | Java | android/src/InternalGPS.java | smurry/XCSoar | gpl-2.0 | 7,447 | 217 | codeparrot/github-code |
408b84362cf78dcf76617505e28692857a51b364e7f3e983237edfebb1589dad | /*
* Using BFS and Queue to serialize and recover the tree.
*/
class Solution {
public String serialize(TreeNode root) {
// write your code here
if (root == null) {
return "";
}
Queue<TreeNode> q = new LinkedList<TreeNode>();
StringBuilder sb = new StringBuilder... | Java | Serialization of Binary Search Tree.java | liujixincd/myLeetCode | gpl-2.0 | 3,528 | 122 | codeparrot/github-code |
040c02949b67e5756fc619124b344d88fe6e267dba56e65523c46202adf47156 | #include "wsock.h"
#include "err.h"
#include "util.h"
#include "io.h"
#include "mail.h"
#include "common.h"
#include <syslog.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <sqlite3.h>
#include <errno.h>
#include <limits.h>
/* TODO: test the snprintf return valu... | C | src/mail.c | orfix/sms | gpl-2.0 | 13,311 | 468 | codeparrot/github-code |
f903af26f94c2a0fec55df12067bfcdc9921dead24038d4bcdcd84f925efc30b | /*******************************************************************************
* Agere Systems Inc.
* Wireless device driver for Linux (wlags49).
*
* Copyright (c) 1998-2003 Agere Systems Inc.
* All rights reserved.
* http://www.agere.com
*
* Initially developed by TriplePoint, Inc.
* http://www.triplepo... | C | drivers/staging/wlags49_h2/wl_priv.c | javelinanddart/android_kernel_3.10_ville | gpl-2.0 | 63,865 | 2,087 | codeparrot/github-code |
d8e193875d5e852066440799f8507a2c9e4290a1f99860ec17130ecd044f4ef9 | /*
* 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 information, please read the
* LICENSE.txt file ... | JavaScript | typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/HTMLArea.js | michaelklapper/TYPO3.CMS | gpl-2.0 | 5,123 | 127 | codeparrot/github-code |
8b2864455c231e5c2e6eefa14099bd7798dde25043dbfe2fffdd07c23bc13f0e | <?php global $blog_class, $blog_post_class, $counter, $number_of_columns; ?>
<?php $post = get_post(get_the_ID()); ?>
<?php $post_category = get_the_category(get_the_ID()); ?>
<?php $proceed = true; ?>
<?php if (isset($post_category[0]->category_parent) && $post_category[0]->category_parent != 0): ?>
... | PHP | wp-content/themes/constructo/content-single.php | allankirsten/local.allankirsten | gpl-2.0 | 4,838 | 104 | codeparrot/github-code |
a0227eb9b52eff093b638061632559d8a83698e072fc848d923cbd8923ac9c96 | /*! UIkit 2.27.3 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
(function(addon) {
var component;
if (window.UIkit2cw) {
component = addon(UIkit2cw);
}
if (typeof define == 'function' && define.amd) {
define('uikit-slideshow', ['uikit'], function() {
return... | JavaScript | sites/ranjeesh/media/coalaweb/plugins/system/gears/uikit/js/components/coalaweb.slideshow.js | vyelamanchili/v4ecc | gpl-2.0 | 20,148 | 597 | codeparrot/github-code |
eb903932aa350ad99094c5d44c5560abbad2efa3f49c4892920793de0ebf7634 | /*
* This file is part of the CaracalDB distributed storage system.
*
* Copyright (C) 2009 Swedish Institute of Computer Science (SICS)
* Copyright (C) 2009 Royal Institute of Technology (KTH)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Publi... | Java | core/src/main/java/se/sics/caracaldb/datatransfer/DataSender.java | CaracalDB/CaracalDB | gpl-2.0 | 6,231 | 168 | codeparrot/github-code |
08410e2e61dc2ec88b7ee70fd999b29764367893c55bd7c5f59bd27a5d0bc7f3 | <?php
/**
* @version $Id: default_item.php 11873 2012-03-23 08:54:33Z tuyetvt $
* @package Joomla.Site
* @subpackage com_content
* @copyright Copyright (C) 2005 - 2010 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
// no dir... | PHP | templates/jsn_time_free/html/com_content/featured/default_item.php | dwarkeshsoni/jsn_time_free_j3x | gpl-2.0 | 17,233 | 376 | codeparrot/github-code |
963ba30ceefa4ef4611dbf4b385779c3ea907468e58d3d09b4b23e27ffd558ce | /*
* Bricks-OS, Operating System for Game Consoles
* Copyright (C) 2008 Maximus32 <Maximus32@bricks-os.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 Lic... | C | kernel/arch/mips/ps2-ee/debugScreen.h | rickgaiser/bricks-os | gpl-2.0 | 2,036 | 77 | codeparrot/github-code |
98ae93075e62a659b940a0a93f63eb2106a2ff07e7fb13e42090b58c769946ca | <?php
/**
* Implements styles set in the theme customizer
*
* @package Customizer Library Vogue
*/
if ( ! function_exists( 'customizer_library_vogue_build_styles' ) && class_exists( 'Customizer_Library_Styles' ) ) :
/**
* Process user options to generate CSS needed to implement the choices.
*
* @since 1.0.0.
... | PHP | wp-content/themes/vogue/customizer/styles.php | Yose216/Ebullition_Wordpress | gpl-2.0 | 10,190 | 296 | codeparrot/github-code |
d696f8b20a955c729bede90fe5a3799f833fdce49a159a0faf454ce7d5cf8c51 | <div class="<?php print $classes; ?> search-grid">
<?php print render($title_prefix); ?>
<?php if ($title): ?>
<?php print $title; ?>
<?php endif; ?>
<?php print render($title_suffix); ?>
<?php if ($header): ?>
<div class="view-header">
<?php print $header; ?>
<div class="barel-map"> </div... | PHP | sites/all/themes/barel/templates/views-view--barel-property-search.tpl.php | Reasonat1/barel | gpl-2.0 | 1,388 | 63 | codeparrot/github-code |
91b4474991cc9f09fc92ebe74a98ce26a5b92aa30811f31578fd64971dc96beb | <html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Release Notes</title>
<link rel="stylesheet" href="../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="../index.html" title="The Boost C++ Lib... | HTML | coflo-0.0.4/third_party/boost_1_48_0/doc/html/boost_units/ReleaseNotes.html | charlesDGY/coflo | gpl-2.0 | 21,112 | 381 | codeparrot/github-code |
cb2f5aa35acdec97eb6c7152450045cd3c2e9e6da55140472d88262c6e417e3a | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/* This file is part of the GtkHTML library
Copyright (C) 2000 Jonas Borgström <jonas_b@bitsmart.com>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
L... | C | gtkhtml/htmltextinput.h | 0lvin/ghtml | gpl-2.0 | 2,152 | 65 | codeparrot/github-code |
bde52ac0e260584ef8f8a7906e0ce57744831d7f0e225e0814ea88194453691a | package com.salesmanager.core.business.catalog.product.dao.manufacturer;
import java.util.List;
import com.salesmanager.core.business.catalog.product.model.manufacturer.Manufacturer;
import com.salesmanager.core.business.generic.dao.SalesManagerEntityDao;
import com.salesmanager.core.business.merchant.model.MerchantS... | Java | sm-core/src/main/java/com/salesmanager/core/business/catalog/product/dao/manufacturer/ManufacturerDao.java | authconnect/shop | gpl-2.0 | 1,155 | 36 | codeparrot/github-code |
a71a54967bdeed2f61d8f5e84569ecf65bd57cdb407e0a93f1431b8bffb20b33 | <?php
require_once 'Lib/ScriptFunctions.php';
// Some vars
$sqlRootPath = dirname ( dirname(__FILE__) );
$projectRootPath = dirname ( $sqlRootPath );
$projectName = end(explode("/", $projectRootPath)); // The project's root folder as a possible project name
$configFilePath = $sqlRootPath . "/App/config.ini.default";
... | PHP | .sql/scripts/configurator.php | ojoven/mirendbclient | gpl-2.0 | 13,072 | 250 | codeparrot/github-code |
171c44beed5f046e9c41e408d0a48d44118fa0ff959deba942f710bc6fba6003 | """"
Meaningful Scales Detection: an Unsupervised Noise Detection Algorithm for \
Digital Contours
Demo Editor: B. Kerautret
"""
from lib import base_app, build, http, image, config
from lib.misc import app_expose, ctime
from lib.base_app import init_app
import cherrypy
from cherrypy import TimeoutError
import os.path... | Python | ipol_demo-light-1025b85/app_available/75/app.py | juan-cardelino/matlab_demos | gpl-2.0 | 17,698 | 440 | codeparrot/github-code |
d5d49b3367681716ad0fa8185e09c60f665519979871b063d9e7636e3c35d294 | /**
* @file
*
* @brief Removes a Thread from a Thread Queue
*
* @ingroup ScoreThreadQ
*/
/*
* COPYRIGHT (c) 1989-2008.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rte... | C | cpukit/score/src/threadqextractfifo.c | zhongweiy/rtems | gpl-2.0 | 1,369 | 62 | codeparrot/github-code |
65272c31e1dac1973c36637a2d397cf07d3b64a610f3df339eab3e9fc066cd95 | <?php
namespace yimaJquery\View\Helper;
use ArrayObject;
use yimaJquery\Decorator\DefaultDecorator;
use yimaJquery\Decorator\AbstractDecorator;
use yimaJquery\Deliveries\InterfaceDelivery;
use Zend\View\Helper\AbstractHelper;
/**
* Class jQuery
*
* @method appendFile($pathToLocalFileOrHttp)
* @method prependFile(... | PHP | src/yimaJquery/View/Helper/jQuery.php | YiMAproject/yimaJquery | gpl-2.0 | 9,386 | 426 | codeparrot/github-code |
0edb52010ba4b24ed63a6ebbe1be5592baf52a392a9d3e0958e031ad231f7302 | /*
* linux/fs/jbd2/transaction.c
*
* Written by Stephen C. Tweedie <sct@redhat.com>, 1998
*
* Copyright 1998 Red Hat corp --- All Rights Reserved
*
* This file is part of the Linux kernel and is made available under
* the terms of the GNU General Public License, version 2, or at your
* option, any later versio... | C | fs/jbd2/transaction.c | ISTweak/android_kernel_sharp_msm8960 | gpl-2.0 | 70,559 | 2,309 | codeparrot/github-code |
60e1940bdb5a7c91fb0ae8d6c30ae6c2c425d7fbc04067aad15a66df2b3defa9 | /**
* @private
*/
Ext.define('Ext.event.publisher.ComponentPaint', {
extend: 'Ext.event.publisher.Publisher',
targetType: 'component',
handledEvents: ['painted', 'erased'],
eventNames: {
painted: 'painted',
erased: 'erased'
},
constructor: function() {
... | JavaScript | src/event/publisher/ComponentPaint.js | AlessandroCipolletti/ChuckNorrisFacts | gpl-2.0 | 6,457 | 221 | codeparrot/github-code |
fa08c30bc99e6c3e9d45be503a36fccf89f5e01979e0777da4dde860d51adc22 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# ------------------------------------------------------------------------
# File Name: utils.py
# Author: Zhao Yanbai
# Thu Oct 30 06:33:24 2014
# Description: none
# ------------------------------------------------------------------------
import loggi... | Python | utils.py | acevest/monitor | gpl-2.0 | 6,840 | 252 | codeparrot/github-code |
94d2024c0714b72fade98a2d991f98863784023f8509cb8bed1962ffa3f3ec33 | #region License
/*
* Copyright (C) 1999-2015 John Källén.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program ... | C# | src/Arch/Arm/ThumbDisassembler.cs | chubbymaggie/reko | gpl-2.0 | 4,142 | 156 | codeparrot/github-code |
0bbdb5871965b8ee31cabbdcefe3609959d3b59903f0233e227b62210eab7902 | /*
Copyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved.
The MySQL Connector/C++ is licensed under the terms of the GPLv2
<http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>, like most
MySQL Connectors. There are special exceptions to the terms and
conditions of the GPLv2 as it is applied to... | C++ | driver/mysql_ps_resultset.cpp | hjiawei/mysql-connector-cpp | gpl-2.0 | 48,272 | 1,467 | codeparrot/github-code |
e76bc3b76b96f47f06ff2ee204febc934af24ac1df630f1a42e361a329bdfb21 | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | Java | com.ipv.sensetrace.RDFDatamanager/jena-2.11.0/jena-arq/src/main/java/com/hp/hpl/jena/query/BIOInput.java | hdadler/sensetrace-src | gpl-2.0 | 2,304 | 60 | codeparrot/github-code |
a3e4ced6a3e0cde476aa76391de6be6fdf841d0b6bd17f55c3ab0b47cbce04a2 | /*
* drivers/usb/host/ohci-pnx4008.c
*
* driver for Philips PNX4008 USB Host
*
* Authors: Dmitry Chigirev <source@mvista.com>
* Vitaly Wool <vitalywool@gmail.com>
*
* register initialization is based on code examples provided by Philips
* Copyright (c) 2005 Koninklijke Philips Electronics N.V.
*
* NOTE: ... | C | drivers/usb/host/ohci-pnx4008.c | diverger/linux-2.6.34-lpc32xx | gpl-2.0 | 14,252 | 519 | codeparrot/github-code |
c997ffcfe4870ae7e80f6dda0ae3164c3a09372c0383b32ac3a636c747bd60c5 | window.addEventListener("load", init, false);
// Variables du jeu
var NB_BRIQUES_PAR_LIGNE = 13;
var NB_LIGNES = 8;
var BRIQUE_WIDTH = 28.92;
var BRIQUE_HEIGHT = 24;
var BRIQUE_ESPACE = 2;
var BARRE_WIDTH = 65;
var BARRE_HEIGHT = 8;
var barreY;
var barreX;
var dirBalleX = Math.random()*2-1;
var dirBalleY = -1;
var b... | JavaScript | extensions/openlab/Casse-brique-master/casse_brique.js | tuxun/smw-funwiki | gpl-2.0 | 6,381 | 265 | codeparrot/github-code |
a7238d765d80aafee910db73694c130a73dd41fc9c541381e095d2575650d62e | /***************************************************************************
qgsdataitem.h - Items representing data
-------------------
begin : 2011-04-01
copyright : (C) 2011 Radim Blazek
email : radim dot blazek at gm... | C | src/core/qgsdataitem.h | lbartoletti/QGIS | gpl-2.0 | 37,789 | 1,173 | codeparrot/github-code |
8094bd6d240a391a825d441d8e38dc07b4c34fcd0051637c9cc5f5174d1ee098 | package net.milkycraft;
import java.awt.BasicStroke;
import java.awt.Color;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
import java.awt.event.MouseMotionListener;
import javax.swing.JPanel;
import net... | Java | src/net/milkycraft/CanvasPanel.java | nsporillo/MapMaker | gpl-2.0 | 3,896 | 170 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.