code stringlengths 3 1.01M | repo_name stringlengths 5 116 | path stringlengths 3 311 | language stringclasses 30
values | license stringclasses 15
values | size int64 3 1.01M |
|---|---|---|---|---|---|
return {
name = "Dynamo",
inputs = {
{ name = "Rotation", type = "rotation" }
},
outputs = {
{ name = "Electricity", type = "electricity" }
}
}
| Reisz/OuterRim | res/nodes/dynamo.lua | Lua | gpl-2.0 | 162 |
#!/usr/bin/python
# Ubuntu Tweak - PyGTK based desktop configure tool
#
# Copyright (C) 2007-2008 TualatriX <tualatrix@gmail.com>
#
# Ubuntu Tweak 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 versio... | tualatrix/ubuntu-tweak-old | src/common/config.py | Python | gpl-2.0 | 6,864 |
<?php
/** Literary Chinese (文言)
*
* See MessagesQqq.php for message documentation incl. usage of parameters
* To improve a translation please visit http://translatewiki.net
*
* @ingroup Language
* @file
*
* @author Itsmine
* @author Omnipaedista
*/
/**
* A list of date format preference keys which can be se... | dantman/mwjs | languages/messages/MessagesLzh.php | PHP | gpl-2.0 | 113,867 |
/* ---------------------------------------------------------------------- *
* old_ldsvguts.c
* This file is part of lincity-ng.
* ---------------------------------------------------------------------- */
/* This file is for loading old games (before NG 1.91)
* and convert them to new format + data structure
*/
... | javiercantero/lincity-ng | src/lincity/old_ldsvguts.cpp | C++ | gpl-2.0 | 22,887 |
<?php
/* -----------------------------------------------------------------
* $Id: cross_selling.php 571 2013-08-21 16:02:17Z akausch $
* Copyright (c) 2011-2021 commerce:SEO by Webdesign Erfurt
* http://www.commerce-seo.de
* ------------------------------------------------------------------
* based on:... | commerceseo/v2next | includes/modules/cross_selling.php | PHP | gpl-2.0 | 2,428 |
<?php if ($teaser): ?>
<!-- teaser template HTML here -->
<div class="object-teaser">
<div class="object-teaser-image"><a href="/<?php echo $node->path;?>"><?php echo $node->node_images;?></a></div>
<div class="object-teaser-text">
<h2><?php echo l($node->title, 'node/'. $node->nid, ... | batigolix/drupal6_a2h | sites/all/themes/mokumegatwee/node-object.tpl.php | PHP | gpl-2.0 | 2,935 |
/*********************************************************************
*
* Abstracts generic network device operation, and provide dummy
* stub here if required. Each driver implementation hooks to
* this interface
*
*********************************************************************/
#include "net_dev... | zhelezyaka/stm23f105-vcp | net/driver/net_dev.c | C | gpl-2.0 | 4,687 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_75) on Sun Aug 23 10:55:35 SGT 2015 -->
<title>Class Hierarchy</title>
<meta name="date" content="2015-08-23">
<link rel="stylesheet" t... | beegee-tokyo/WeatherStation | docs/overview-tree.html | HTML | gpl-2.0 | 8,206 |
/*
* @(#) IIRHighpassFilter.java
*
* Created on 09.01.2012 by Daniel Becker
*
*-----------------------------------------------------------------------
* 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 Soft... | jtrfp/javamod | src/main/java/de/quippy/javamod/mixer/dsp/iir/filter/IIRHighpassFilter.java | Java | gpl-2.0 | 4,625 |
/*
* Copyright (c) 2010 Sven Langkamp <sven.langkamp@gmail.com>
* Copyright (c) 2011 Jan Hambrecht <jaham@gmx.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 o... | yxl/emscripten-calligra-mobile | krita/ui/flake/kis_shape_selection.cpp | C++ | gpl-2.0 | 14,572 |
/**
Native Code Examples
Copyright (C) 2014 Bassel Bakr
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 any later version.
This program i... | Bassel-Bakr/Native-Code-Samples | shuffle.c | C | gpl-2.0 | 2,480 |
/*
* display_gen.c
* Pi4U
*
* Created by Panagiotis Hadjidoukas on 1/1/14.
* Copyright 2014 ETH Zurich. All rights reserved.
*
*/
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include "gnuplot_i.h"
int display = 1;
gnuplot_ctrl * g = NULL;
char *BASENAME;
// "curgen"
// "samples"
// "seeds"... | cselab/pi4u | inference/ABC_SubSim/display_gen.c | C | gpl-2.0 | 5,832 |
<?php
/**
* PESCMS for PHP 5.4+
*
* Copyright (c) 2014 PESCMS (http://www.pescms.com)
*
* For the full copyright and license information, please view
* the file LICENSE.md that was distributed with this source code.
*/
namespace Core\Slice;
/**
* 切片接口
* 定义规则,所有切片实现需要继承
* Interface interfaceSlice
* @packag... | lazyphp/PESCMS-TEAM | Core/Slice/interfaceSlice.php | PHP | gpl-2.0 | 457 |
cmd_sound/drivers/built-in.o := /home/flint/android/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-ld -EL -r -o sound/drivers/built-in.o sound/drivers/opl3/built-in.o sound/drivers/opl4/built-in.o sound/drivers/mpu401/built-in.o sound/drivers/vx/built-in.o sound/drivers/pcsp/built-i... | lindsaytheflint/stone | sound/drivers/.built-in.o.cmd | Batchfile | gpl-2.0 | 371 |
SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0;
SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0;
SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='TRADITIONAL,ALLOW_INVALID_DATES';
DROP SCHEMA IF EXISTS `cunxiaoo_houtai` ;
CREATE SCHEMA IF NOT EXISTS `cunxiaoo_houtai` DEFAULT CHARACTER SET utf8 ;... | huming0618/OneSchool | src/Setup/Create.sql | SQL | gpl-2.0 | 12,665 |
package es.uniovi.asw.persistence;
import java.util.List;
import java.util.SortedMap;
import java.util.TreeMap;
import com.mongodb.MongoTimeoutException;
import es.uniovi.asw.infraestructura.model.User;
public class UserDb {
private SortedMap<String, User> table = new TreeMap<String, User>();
privat... | Arquisoft/Trivial1b | trivial1bWeb/app/es/uniovi/asw/persistence/UserDb.java | Java | gpl-2.0 | 1,698 |
showWord(["n. ","son moun fè lè li ap wonfle.<br>"]) | georgejhunt/HaitiDictionary.activity | data/words/wonf.js | JavaScript | gpl-2.0 | 54 |
# MobileStreamer
| seok0721/MobileStreamer | README.md | Markdown | gpl-2.0 | 17 |
<div>
<div>
<!--This doesn't properly select the active config-->
Active Config:
<select ng-init="vm.selectedConfig = vm.config_profiles[0]"
ng-model="vm.selectedConfig"
ng-options="x for x in vm.config_profiles"
ng-change="vm.load_fields()"
... | donour/racepi | python/racepi_config_webapp/static/views/settings/settings.template.html | HTML | gpl-2.0 | 993 |
#include <FuegoHeatpumpIR.h>
FuegoHeatpumpIR::FuegoHeatpumpIR()
{
static const char PROGMEM model[] PROGMEM = "fuego";
static const char PROGMEM info[] PROGMEM = "{\"mdl\":\"fuego\",\"dn\":\"Fuego\",\"mT\":18,\"xT\":31,\"fs\":3}";
_model = model;
_info = info;
}
void FuegoHeatpumpIR::send(IRSender& IR, ui... | cosmopaco/arduino-heatpumpir | FuegoHeatpumpIR.cpp | C++ | gpl-2.0 | 3,528 |
#include<bits/stdc++.h>
#define REP(i,s,n) for(int i=s;i<n;i++)
#define rep(i,n) REP(i,0,n)
using namespace std;
typedef long long ll;
inline void calc(ll &N,ll &ret,ll zero,ll two,ll four){
ret -= min(zero,N) * 0LL;
N -= min(zero,N);
ret -= min(two,N) * 2LL;
N -= min(two,N);
ret -= min(four,N) * 4LL;
N... | EndlessCheng/acm-icpc | UVa/12520.cpp | C++ | gpl-2.0 | 1,326 |
package com.jeecms.common.web.freemarker;
import freemarker.template.TemplateModelException;
/**
* 非布尔参数异常
*/
@SuppressWarnings("serial")
public class MustDateException extends TemplateModelException {
public MustDateException(String paramName) {
super("The \"" + paramName + "\" parameter must be a dat... | caipiao/Lottery | src/com/jeecms/common/web/freemarker/MustDateException.java | Java | gpl-2.0 | 348 |
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
... | jwam/bill | bill/maintenance.html | HTML | gpl-2.0 | 13,680 |
/*****************************************************************************\
halftoner.cpp : Implimentation for the Halftoner class
Copyright (c) 1996 - 2001, Hewlett-Packard Co.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided t... | matrumz/RPi_Custom_Files | Printing/hplip-3.15.2/prnt/hpijs/halftoner.cpp | C++ | gpl-2.0 | 11,709 |
/* Copyright (c) 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 hope... | Hacker432-Y550/android_kernel_huawei_msm8916 | drivers/clk/qcom/clock-gcc-8936.c | C | gpl-2.0 | 98,279 |
#ifndef __CONFIGURE_H__
#define __CONFIGURE_H__
#include <string>
#include <libconfig.h++>
using namespace libconfig;
std::map<std::string,std::string> getConfiguration();
#endif
| orges/pgnosql | config/configure.h | C | gpl-2.0 | 182 |
<?php
/**
* Add body classes if certain regions have content.
*/
function bartik_preprocess_html(&$variables) {
if (!empty($variables['page']['featured'])) {
$variables['classes_array'][] = 'featured';
}
if (!empty($variables['page']['triptych_first'])
|| !empty($variables['page']['tript... | lukeberry99/infonow | themes/bartik/template.php | PHP | gpl-2.0 | 6,197 |
package mx.edukweb.tortuaak;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.util.ArrayList;
import java.util.List;
import org.apache.http.NameValuePair;
import org.apache.http.message.BasicNameValuePair;
import org.json.JSONException;
import org.json.JSONObject;
import... | leonelpacheco/TortuAak | app/src/main/java/mx/edukweb/tortuaak/Login.java | Java | gpl-2.0 | 8,273 |
#!/usr/bin/perl -w
#
# used to test all mysql test suite cases.
#
my $test_log = "test_log";
if( -e $test_log){
print " $test_log exists, neednot make it again\n";
}else{
mkdir $test_log;
}
my @suites = ('main','innodb','binlog','engines','funcs_1','funcs_2','federated','jp','rpl','sys_vars','stress','parts'... | H0bby/GCS-SQL | mysql-test/test_mysql_suite.pl | Perl | gpl-2.0 | 1,462 |
# arduino-2009-projects
At the top level, this is a repo for projects I worked on in 2009 which used the Arduino.
| ams0026/arduino-2009-projects | README.md | Markdown | gpl-2.0 | 116 |
<div class="wrap">
<h2><?php _e('Easy Wizard settings','wdeb'); ?></h2>
<?php if (defined('WP_NETWORK_ADMIN') && WP_NETWORK_ADMIN) { ?>
<form action="settings.php" method="post" enctype="multipart/form-data">
<?php } else { ?>
<form action="options.php" method="post" enctype="multipart/form-data">
<?php } ?>
<?ph... | olenk915/bersity | wp-content/plugins/easyblogging/lib/forms/wizard_settings.php | PHP | gpl-2.0 | 2,994 |
<!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/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" con... | kainagel/teach-oop | html/d9/dd7/classff__collections_1_1zz___change_key_1_1_cmp.html | HTML | gpl-2.0 | 9,296 |
<?php
// Generated by ZF2's ./bin/classmap_generator.php
return array(
'SwebSocialAuth\Module' => __DIR__ . '/Module.php',
'SwebSocialAuth\Controller\SocialController' => __DIR__ . '/src/SwebSocialAuth/Controller/SocialController.php',
'SocialAuther\Adapter\AbstractA... | stanislav-web/Social-Mobile | vendor/SwebSocialAuth/autoload_classmap.php | PHP | gpl-2.0 | 2,118 |
<?php
add_filter( 'manage_' . APPTHEMES_ORDER_PTYPE . '_posts_columns', 'appthemes_order_manage_columns' );
add_filter( 'manage_edit-' . APPTHEMES_ORDER_PTYPE . '_sortable_columns', 'appthemes_order_manage_sortable_columns' );
add_action( 'manage_' . APPTHEMES_ORDER_PTYPE . '_posts_custom_column', 'appthemes_order_add... | dakshatechnologies/renovize | wp-content/themes/renovizenew/includes/payments/admin/order-list.php | PHP | gpl-2.0 | 4,583 |
/* Copyright (C) 2001-2004 Kenichi Suto
*
* 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... | fujii/ebview | src/pref_font.c | C | gpl-2.0 | 6,696 |
# Copyright (C) 2013-2021 Roland Lutz
#
# 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 ... | rlutz/xorn | tests/cpython/storage/ob_equality.py | Python | gpl-2.0 | 1,119 |
<?php
class PoP_UserCommunities_ModuleProcessor_AuthorSectionBlocks extends PoP_Module_Processor_AuthorTabPanelSectionBlocksBase
{
public const MODULE_BLOCK_TABPANEL_AUTHORCOMMUNITYMEMBERS = 'block-tabpanel-authorcommunitymembers';
public function getModulesToProcess(): array
{
return array(
... | leoloso/PoP | layers/Legacy/Schema/packages/migrate-everythingelse/migrate/plugins/pop-usercommunities-processors/plugins/pop-application-processors/plugins/pop-bootstrap-processors/library/processors/blocks/tabpanels-authorsections.php | PHP | gpl-2.0 | 1,332 |
/**
* External dependencies
*/
import Dispatcher from 'dispatcher';
const wpcom = require( 'lib/wp' ).undocumented();
/**
* Internal dependencies
*/
import { actionTypes } from './constants';
import { toApi } from './common';
export function cancelImport( importerId ) {
Dispatcher.handleViewAction( {
type: act... | ironmanLee/my_calypso | client/lib/importer/actions.js | JavaScript | gpl-2.0 | 2,728 |
<?php
/**
* Widget Wrangler Sidebar Widget class.
* This class handles everything that needs to be handled with the widget:
* the settings, form, display, and update. Nice!
*
* @since 0.1
*/
class WidgetWrangler_Widget_Widget extends WP_Widget {
/**
* Widget setup.
*/
function __construct... | truedaz/rockvegas | wp-content/plugins/widget-wrangler/common/wp-widget-ww-widget.php | PHP | gpl-2.0 | 2,943 |
// printf関数、及びscanf関数を使用するために必要
#include <stdio.h>
// int型を返すmain関数の宣言
int main() {
// 変数の宣言
// 配列の宣言は name[size] で行う。添字は0〜(size-1)まで占有している。
int i;
int a[11];
float tmp;
// 入力
for (i = 0; i <= 10; i++) {
// scanf関数。標準入力から入力を取得する。
// scanfには変数のアドレスを渡すため、& を語頭に付与する。
... | conao/develop | c/pj/6/kadai6-3.c | C | gpl-2.0 | 939 |
/****************************************************************************
** $Id: qt/canvas.cpp 3.3.8 edited Jan 11 14:37 $
**
** Copyright (C) 1992-2007 Trolltech ASA. All rights reserved.
**
** This file is part of an example program for Qt. This example
** program may be used, distributed and modified with... | epatel/qt-mac-free-3.3.8 | examples/tablet/canvas.cpp | C++ | gpl-2.0 | 5,117 |
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN'
'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
<html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en' lang='en'>
<head>
<meta http-equiv='Content-Type' content='text/html; charset=utf-8'/>
<title>row</title>
<link href='reno.css' type='text/css' rel='s... | FFMG/myoddweb.piger | myodd/boost/libs/qvm/doc/row.html | HTML | gpl-2.0 | 2,680 |
package pt.c02oo.s12interface.s01pessoa;
public interface Alguem
{
public String getNome();
}
| santanche/java2learn | src/java/src/pt/c02oo/s12interface/s01pessoa/Alguem.java | Java | gpl-2.0 | 105 |
<?php
// autoload_psr4.php @generated by Composer
$vendorDir = dirname(dirname(__FILE__));
$baseDir = dirname($vendorDir);
return array(
'cweagans\\Composer\\' => array($vendorDir . '/cweagans/composer-patches/src'),
'Zumba\\Mink\\Driver\\' => array($vendorDir . '/jcalderonzumba/mink-phantomjs-driver/src'),
... | jeromewiley/supermag | vendor/composer/autoload_psr4.php | PHP | gpl-2.0 | 6,618 |
//
// Copyright (C) 2006-2017 Christoph Sommer <sommer@ccs-labs.org>
//
// Documentation for these modules is at http://veins.car2x.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; eit... | namnatulco/veins | subprojects/veins_inet/src/veins_inet/VeinsInetMobility.cc | C++ | gpl-2.0 | 4,227 |
<?php
/*
* Copyright (C) Vulcan Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program... | ontoprise/HaloSMWExtension | deployment/tools/webadmin/index.php | PHP | gpl-2.0 | 14,114 |
#include <iostream>
using namespace std;
int v,n,m,w[31];
void dfs(int c, int w1)
{
if(w1>v) return;
if(v-w1<m) m=v-w1;
if(m==0) return;
for(w1+=w[c];c<n;c++)
dfs(c+1,w1);
}
int main()
{
cin>>v>>n;m=v;
for(int i = 0; i < n; i++) cin>>w[i];
dfs(0,0);
cout<<m<<endl;
... | iwtwiioi/OnlineJudge | wikioi/Run_176606_Score_80_Date_2013-08-10.cpp | C++ | gpl-2.0 | 334 |
OVERVIEW
========
General instructions for installing, building and running
the PebblePointer apps.
These directions are written with an Linux-as-dev-system perspective.
This code was developed and tested on a Nexus-7 2nd Gen.
It is assumed that you have installed --
the Pebble SDK, and
the Android SDK with ... | foldedtoad/PebblePointer | README.md | Markdown | gpl-2.0 | 2,381 |
/*
* linux/fs/super.c
*
* Copyright (C) 1991, 1992 Linus Torvalds
*
* super.c contains code to handle: - mount structures
* - super-block tables
* - filesystem drivers list
* - mount system call
* ... | RomanHargrave/pf-kernel | fs/super.c | C | gpl-2.0 | 36,201 |
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'c:/steganography/main.ui'
#
# Created by: PyQt4 UI code generator 4.11.4
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore, QtGui
try:
_fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
def _... | nklose/Steganography | gui_main.py | Python | gpl-2.0 | 15,883 |
<article id="post-0" class="<?php hybrid_entry_class(); ?>">
<header class="entry-header">
<h1 class="entry-title"><?php _e( 'Nothing found', 'socially-awkward' ); ?></h1>
</header>
<div class="entry-content">
<p><?php _e( 'Apologies, but no entries were found.', 'socially-awkward' ); ?></p>
</... | katidid/greffdesign_old | wp-content/themes/socially-awkward/loop-error.php | PHP | gpl-2.0 | 385 |
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// ***************************************************... | sbesson/zeroc-ice | java/demo/Ice/serialize/Demo/MyGreeting.java | Java | gpl-2.0 | 440 |
<div class="search-job-string">
<?php
$view = '<div class="row row-' . $job_string['number'] . '">';
$view .= '<div class="title title-' . $job_string['number'] . '">' . $job_string['title'] . '</div>';
$view .= '<div class="price price-' . $job_string['number'] . '">' . $job_string['price'] . '</div>';
$view .= '... | arrides/cassowary | sites/all/modules/custom/cassowary_search/cassowary-search-job-string.tpl.php | PHP | gpl-2.0 | 582 |
/* 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... | poondog/kangaroo-m7-mkII | sound/soc/msm/msm-pcm-voip.c | C | gpl-2.0 | 34,678 |
/*
* Created by SharpDevelop.
* User: Administrator
* Date: 12/16/2006
* Time: 12:32 PM
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
using System;
using System.Collections;
namespace Metaverse.Common
{
/// <summary>
/// Description of IMetaverseControll... | hughperkins/osmp-cs | Source/Metaverse.Common/IMetaverseController.cs | C# | gpl-2.0 | 578 |
<?php
/**
* Elgg 1.8.3 upgrade 2012012000
* ip_in_syslog
*
* Adds a field for an IP address in the system log table
*/
$db_prefix = elgg_get_config ( 'dbprefix' );
$q = "ALTER TABLE {$db_prefix}system_log ADD ip_address VARCHAR(15) NOT NULL AFTER time_created";
update_data ( $q ); | MikkelSandbag/seElgg | engine/lib/upgrades/2012012000-1.8.3-ip_in_syslog-87fe0f068cf62428.php | PHP | gpl-2.0 | 287 |
/***************************************************************************
qgsfiledownloader.cpp
--------------------------------------
Date : November 2016
Copyright : (C) 2016 by Alessandro Pasotti
Email : apasotti at boundlessgeo dot com
************************... | drnextgis/QGIS | src/gui/qgsfiledownloader.cpp | C++ | gpl-2.0 | 5,804 |
SB Breadcrumbs
===================================
SB Breadcrums is a plugin for Wordpress
SB Breadcrums will add a breadcrumbs for your website. Easy to use and custom style.
## How to use
Add the code `<?php sb_breadcrumbs(); ?>` in position you want display a breadcrumbs
You can go to *WP-Admin -> Settings -> S... | trangsihung/sb-breadcrumbs | README.md | Markdown | gpl-2.0 | 558 |
/*****************************************************************************
* ctrl_resize.cpp
*****************************************************************************
* Copyright (C) 2003 the VideoLAN team
* $Id: ctrl_resize.cpp 16767 2006-09-21 14:32:45Z hartman $
*
* Authors: Cyril Deguet <asmax@via... | scs/uclinux | user/blkfin-apps/vlc/vlc-0.8.6b/modules/gui/skins2/controls/ctrl_resize.cpp | C++ | gpl-2.0 | 6,346 |
<?php
/**
* @version 0.0.6
* @package com_jazz_mastering
* @copyright Copyright (C) 2012. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
* @author Artur Pañach Bargalló <arturictus@gmail.com> - http://
*/
// no direct access
defined('_JEXEC') or... | lion01/weprob | components/com_jazz_mastering/views/compinglicks/tmpl/default.php | PHP | gpl-2.0 | 1,208 |
//
// Created by 欧阳建华 on 2017/8/11.
//
#ifndef SE_THREAD_POOL_H
#define SE_THREAD_POOL_H
#include <se/thread/thread.h>
#include <se/thread/mutex.h>
#include <se/thread/condition.h>
#include <vector>
#include <queue>
#include <functional>
namespace se {
namespace thread {
typedef std::function<void()> Task;... | GitOyoung/SE | include/se/thread/thread_pool.h | C | gpl-2.0 | 917 |
using System;
using System.Collections.Generic;
using Server.Commands;
using Server.Network;
using Server.Targeting;
namespace Server.Items
{
public abstract class BaseDoor : Item, ILockable, ITelekinesisable
{
private bool m_Open, m_Locked;
private int m_OpenedID, m_OpenedSound;
private int m_Clos... | alucardxlx/kaltar | Scripts/Items/Construction/Doors/BaseDoor.cs | C# | gpl-2.0 | 14,062 |
/*
* Copyright (C) 2012-2013 Team XBMC
* http://xbmc.org
*
* This Program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* ... | NaeiKinDus/xbmc | xbmc/pvr/PVRDatabase.cpp | C++ | gpl-2.0 | 26,260 |
/*
* Product specific probe and attach routines for:
* 3940, 2940, aic7895, aic7890, aic7880,
* aic7870, aic7860 and aic7850 SCSI controllers
*
* Copyright (c) 1994-2001 Justin T. Gibbs.
* Copyright (c) 2000-2001 Adaptec Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, wi... | evolver56k/xpenology | drivers/scsi/aic7xxx/aic7xxx_pci.c | C | gpl-2.0 | 61,833 |
/*
* Copyright (C) 2011-2014 Project SkyFire <http://www.projectskyfire.org/>
* Copyright (C) 2008-2014 TrinityCore <http://www.trinitycore.org/>
* Copyright (C) 2005-2014 MaNGOS <http://getmangos.com/>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU Genera... | devastates/SkyFire_5xx | src/server/game/Spells/Spell.cpp | C++ | gpl-2.0 | 315,517 |
/*********************************************************************************
Copyright MCQ TECH GmbH 2012
$Autor:$ Dipl.-Ing. Steffen Kutsche
$Id:$
$Date:$ 15.02.2012
Description: MODBUS-Configuration for mct_spi_aio-Driver
Tracen der MODBUS-Kommandos erfolgt mit:
#define/#undef CONFIG_MODBUS_CMD... | mbrugg/MC-EWIO-KERNEL-ORG | drivers/mct/spi_aio/mct_spi_aio_modbus_cfg.h | C | gpl-2.0 | 1,277 |
package com.ezee.web.common.ui.grid.leasecategory;
import com.ezee.model.entity.lease.EzeeLeaseCategory;
import com.ezee.web.common.ui.grid.EzeeFinancialEntityGridModel;
public class EzeeLeaseCategoryGridModel extends EzeeFinancialEntityGridModel<EzeeLeaseCategory> {
} | simehanley/eZee | ezeeparent/ezeewebcommon/src/main/java/com/ezee/web/common/ui/grid/leasecategory/EzeeLeaseCategoryGridModel.java | Java | gpl-2.0 | 271 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_13) on Thu Jul 09 06:46:48 PDT 2009 -->
<TITLE>
CpuInfo (Sigar API)
</TITLE>
<META NAME="date" CONTENT="2009-07-09">
<LINK REL ="stylesheet" TYPE="... | gitpan/hyperic-sigar | docs/javadoc/org/hyperic/sigar/CpuInfo.html | HTML | gpl-2.0 | 17,848 |
package com.rugie.chat;
/**
* Created with IntelliJ IDEA.
* User: adamchlupacek
* Date: 18/10/14
* Time: 22:22
*/
public class Tuple2<T1,T2> {
private T1 first;
private T2 second;
public Tuple2(T1 first, T2 second) {
this.first = first;
this.second = second;
}
public T1 getFirst() {
retur... | AdamChlupacek/RugieChat | src/com/rugie/chat/Tuple2.java | Java | gpl-2.0 | 385 |
/**
* OWASP Benchmark Project v1.2beta
*
* This file is part of the Open Web Application Security Project (OWASP)
* Benchmark Project. For details, please see
* <a href="https://www.owasp.org/index.php/Benchmark">https://www.owasp.org/index.php/Benchmark</a>.
*
* The OWASP Benchmark is free software: you can redistribu... | andresriancho/Benchmark | src/main/java/org/owasp/benchmark/testcode/BenchmarkTest01184.java | Java | gpl-2.0 | 3,186 |
package com.javarush.task.task10.task1020;
import java.io.BufferedReader;
import java.io.InputStreamReader;
/*
Задача по алгоритмам
*/
public class Solution {
public static void main(String[] args) throws Exception {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
i... | biblelamp/JavaExercises | JavaRushTasks/1.JavaSyntax/src/com/javarush/task/task10/task1020/Solution.java | Java | gpl-2.0 | 916 |
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<table BORDER COLS=16 WIDTH="100%" >
<pre>
# fileName = xPeriment-P.lopT-10-tableau-1901/xPer-P.lopT-1901-pal-11-35-10-1903-sample.html
#... | fbrglez/gitBed | xProj/P.lop/xWork/xPeriment-P.lopT-10-tableau-1901-20150910/xPer-P.lopT-1901-pal-11-35-10-1903-sample.html | HTML | gpl-2.0 | 3,617 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using MvcContrib.UI.Grid;
using ViniSandbox.Models;
using WebViniSandbox.Helpers;
namespace WebViniSandbox.Models
{
public class FileGridModel : GridModel<file>
{
public FileGridModel()
{
... | mviniciusleal/vinisandbox | WebViniSandbox/Models/GridModel/FileGridModel.cs | C# | gpl-2.0 | 1,879 |
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <paths.h>
#include <signal.h>
#include <stdarg.h>
#include <string.h>
#include <termios.h>
#include <unistd.h>
#include <limits.h>
#include <sys/fcntl.h>
#include <sys/ioctl.h>
#include <sys/mount.h>
#include <sys/reboot.h>
#include <sys/types.h>
#inclu... | xiyanxiyan10/MisakaServer | misaka/lib/common.c | C | gpl-2.0 | 14,031 |
Kenney
http://opengameart.org/content/space-shooter-redux
http://opengameart.org/content/onscreen-controls-8-styles
| ShadowBlip/Neteria | examples/pygame/CREDITS.md | Markdown | gpl-2.0 | 116 |
{{template "header" "applications"}}
<div class="breadcrumb">
<a href="/">All applications</a> > <a href="/application/show/{{ .application.Name }}">{{ .application.Name }}</a> > Deploy #{{ .deployment.Id.Hex }}
</div>
</header>
<main>
<div class="box">
<h2 class="box-title"><span class="state s... | KarhuTeam/Karhu | views/deployment_show.html | HTML | gpl-2.0 | 1,180 |
<?php
require_once 'wpml-admin-text-functionality.class.php';
class WPML_Admin_Texts extends WPML_Admin_Text_Functionality{
private $icl_st_cache = array();
/** @var TranslationManagement $tm_instance */
private $tm_instance;
/** @var WPML_String_Translation $st_instance */
private $st_instance;
/**
* @p... | alvarpoon/evie | wp-content/plugins/wpml-string-translation/inc/admin-texts/wpml-admin-texts.class.php | PHP | gpl-2.0 | 8,755 |
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Bootstrap 附加导航(Affix)插件</title>
<link href="css/bootstrap.min.css" rel="stylesheet">
<script src="jsjquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<style type="text/css">
/* Custom Styles */
ul.nav-tabs{
width: 140px;
... | youlangu/Study | Bootstrap/附加导航.html | HTML | gpl-2.0 | 11,894 |
/*
* 2.5 block I/O model
*
* Copyright (C) 2001 Jens Axboe <axboe@suse.de>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that i... | decly/kernel-2.6.32 | include/linux/bio.h | C | gpl-2.0 | 18,364 |
/*
* 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.
*/
package session;
import entity.LitigeDbi;
import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence... | gdevsign/pfrc | AppWebGBIE/src/java/session/LitigeDbiFacade.java | Java | gpl-2.0 | 693 |
# Quick Start
List all available gate tasks:
```
mx gate --summary --dry-run
```
Run the gate tasks of interest:
```
mx gate --tags sulongBasic,llvm,nwcc
```
The example above runs a basic collection of sulong tests and tests from the LLVM and the NWCC test suites:
# Sulong Gate
Most of the continuous integration... | smarr/Truffle | sulong/docs/contributor/TESTS.md | Markdown | gpl-2.0 | 10,243 |
<?php
/**
* Tea TO backend functions and definitions
*
* @package TakeaTea
* @subpackage Tea Networks
* @since Tea Theme Options 1.4.8
*
*/
if (!defined('ABSPATH')) {
die('You are not authorized to directly access to this page');
}
//-----------------------------------------------------------------------... | dnnsldr/qchs_booster | wp-content/plugins/tea-theme-options/classes/class-tea-networks.php | PHP | gpl-2.0 | 2,769 |
#include <unistd.h>
#include <stdio.h>
#include <arpa/inet.h>
#include <pthread.h>
#include <semaphore.h>
#include <stdlib.h>
#define ADAPT_FLAG(x) (x[7] & 0x20)
#define ADAPT_LEN_OK(x) (x[8] >= 7)
#define PCR_FLAG(x) (x[9] & 0x10)
struct meta {
int num;
uint64_t diff, pcr;
};
#define BACKLOG_SIZE 64
#define PACKE... | tonttu/ps3ize | convert/ts_to_m2ts.c | C | gpl-2.0 | 2,960 |
using UnityEngine;
using System.Collections;
namespace AISystem{
[Category("Animator")]
[System.Serializable]
public class GetFloat : BaseCondition {
[AnimatorParameter(AnimatorParameter.Float)]
public string parameterName;
public FloatComparer comparer;
public float value;
private Animator animator;
... | NusantaraBeta/BrawlerRumble | Assets/ThirdParty/AI System/Scripts/Conditions/Animator/GetFloat.cs | C# | gpl-2.0 | 776 |
<?php
require_once "DB.php";
require_once "MDB2.php";
require "conf.php";
require "constants.php";
$VERSANDKOSTEN = 0;
$GESCHENKVERPACKUNG = 0;
$dsnP = array( 'phptype' => 'pgsql',
'username' => $ERPuser,
'password' => $ERPpass,
'hostspec' => $ERPhost,
'database' => $ERPdbname,
'port' => $ER... | mark-sch/Finance5 | io/erpfunctions.php | PHP | gpl-2.0 | 25,369 |
// your answer would go here
$(function (){
var container = $('#rating-container');
$('#max-value').val('');
var update_circles =function (){
for (var i = 0; i < container.attr('max-value'); i++){
container.append('<div class="rating-circle"></div>');
}
}
$('#save... | mikedanylov/jQuery-practise | lab3/main.js | JavaScript | gpl-2.0 | 1,812 |
<div class="wrap kamn-easy-twitter-feed-widget-settings">
<?php
/** Get the plugin data. */
$kamn_easy_twitter_feed_widget_plugin_data = kamn_easy_twitter_feed_widget_plugin_data();
screen_icon();
?>
<h2><?php echo sprintf( __( '%1$s Settings', 'kamn-easy-twitter-feed-widget' ), $kamn_easy_twitter_fe... | delfintrinidadIV/firstproject | wp-content/plugins/easy-twitter-feed-widget/lib/admin/page.php | PHP | gpl-2.0 | 2,851 |
/*
* Copyright (C) 2016 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | profosure/porogram | TMessagesProj/src/main/java/com/porogram/profosure1/messenger/exoplayer2/upstream/HttpDataSource.java | Java | gpl-2.0 | 5,274 |
/*
* Copyright (C) 2011 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | rex-xxx/mt6572_x201 | cts/tests/src/android/renderscript/cts/RenderscriptGLStubActivity.java | Java | gpl-2.0 | 4,399 |
using Jarvis.Server.Data;
using Newtonsoft.Json;
using System;
namespace Jarvis.Server.Common
{
/// <summary>
/// Converter telling JSON.Net how to handle <see cref="DateTime"/> type
/// </summary>
internal class TimeSpanJsonConverter : JsonConverter
{
public override bool CanRead
... | npag/JarVIs-Server | Jarvis/Jarvis/Server/Common/TimeSpanJsonConverter.cs | C# | gpl-2.0 | 1,038 |
/*
* YABIM
* Version: 0.1
*
* Yet Another Basic Image Manipulator
*
* Authors :
* A.Chazot <alban.chazot@insa-cvl.fr>
* A.Gourd <auxidevelopper@auxisuite.fr>
*
* 2016
*/
#include "mainwindow.h"
#include <QApplication>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
MainWindow w;
... | achazot/YABIM | main.cpp | C++ | gpl-2.0 | 355 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_29) on Tue Feb 14 12:32:37 EET 2012 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
Uses of Class org.primefaces.even... | UnaCloud/unacloudIaaS1.0 | UnaCloudWebPortal/lib/primefaces/apidocs/org/primefaces/event/map/class-use/PointSelectEvent.html | HTML | gpl-2.0 | 6,129 |
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\ImportExport\Test\Unit\Model\Import\Config;
class SchemaLocatorTest extends \PHPUnit\Framework\TestCase
{
/**
* @var \PHPUnit_Framework_MockObject_MockObject
*/
protected $_module... | kunj1988/Magento2 | app/code/Magento/ImportExport/Test/Unit/Model/Import/Config/SchemaLocatorTest.php | PHP | gpl-2.0 | 1,239 |
<!DOCTYPE html>
<meta charset='utf-8'>
<style>
body {
font: 12px Arial Narrow;
}
text {
font: 12px Arial Narrow;
}
.lighten {
opacity: 0.3;
}
/* Histogram styling*/
.histPlot .title text {
fill: #000;
font: bold 16px Arial Narrow;
}
.histPlot .axis .axisLabel {
fill: #000;
font: 14px Arial Narrow;... | nextgis/metro4all | utils/index.html | HTML | gpl-2.0 | 28,216 |
terracotta-cache-utils
======================
Operations tool set for Terracotta via ehcache.
This package contains handy tools to help operate teams to answer typical queries like
1. How many objects are in my cache?
2. Print all keys(strings) and possible values (strings)
3. Can you check if this business key exis... | lanimall/terracotta-cache-utils | README.md | Markdown | gpl-2.0 | 1,615 |
__author__ = 'george'
from baseclass import Plugin
import time
from apscheduler.scheduler import Scheduler
class AreWeDone(Plugin):
def __init__(self, skype):
super(AreWeDone, self).__init__(skype)
self.command = "arewedoneyet"
self.sched = Scheduler()
self.sched.start()
sel... | jvlomax/Beaker-bot | plugins/arewedone.py | Python | gpl-2.0 | 1,837 |
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*-
*
* Copyright (C) 2007-2008 Richard Hughes <richard@hughsie.com>
*
* Licensed under the GNU Lesser General Public License Version 2.1
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU L... | lots0logs/PackageKit | lib/packagekit-glib2/pk-common.c | C | gpl-2.0 | 7,353 |
exports.config = {
seleniumServerJar: '../node_modules/protractor/selenium/selenium-server-standalone-2.45.0.jar',
// seleniumAddress: 'http://127.0.0.1:4444/wd/hub',
chromeDriver: '../node_modules/protractor/selenium/chromedriver',
specs: [
'./spec/*_spec.js',
],
// Patterns to exclude.
exclude:... | peterhendrick/meane2e | test/conf.js | JavaScript | gpl-2.0 | 619 |
<?php
/**
* @package AcySMS for Joomla!
* @version 3.1.0
* @author acyba.com
* @copyright (C) 2009-2016 ACYBA S.A.R.L. All rights reserved.
* @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
*/
defined('_JEXEC') or die('Restricted access');
?><?php
class ACYSMSIntegration_virtuemart_1_integration exte... | sajithaliyanage/CMS | administrator/components/com_acysms/integration/virtuemart_1/integration.php | PHP | gpl-2.0 | 8,621 |
#region License
// Copyright (c) 2007 James Newton-King
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this software and associated documentation
// files (the "Software"), to deal in the Software without
// restriction, including without limitation the rights to use,
//... | wfpcoslv/maps-examples | desktop_clients/Visual Studio/Crear beneficiarios/Json100r3/Source/Src/Newtonsoft.Json/JsonException.cs | C# | gpl-2.0 | 3,981 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.